diff options
author | midipix <writeonce@midipix.org> | 2016-06-25 15:38:58 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-06-25 17:35:22 -0400 |
commit | 01b301e249fead132a30265914658cf6a6d7caa2 (patch) | |
tree | 0c74fed8cd9c080896be57094307f1fd9694055e | |
parent | 1f0e35a0a901b385e62617eab469b8920f3fc3ed (diff) | |
download | ntcon-01b301e249fead132a30265914658cf6a6d7caa2.tar.bz2 ntcon-01b301e249fead132a30265914658cf6a6d7caa2.tar.xz |
build system: add a test for legacy gcc versions.
-rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -285,6 +285,10 @@ native_defaults() fi if [ -z "$mb_compiler" ]; then + $mb_native_cc -dM -E - < /dev/null | grep "^gcc" > /dev/null && mb_compiler='gcc' + fi + + if [ -z "$mb_compiler" ]; then $mb_native_cc -dM -E - < /dev/null | grep '__CPARSER__' > /dev/null && mb_compiler='cparser' fi |