diff options
author | midipix <writeonce@midipix.org> | 2016-06-25 15:38:58 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-09-21 19:45:53 -0400 |
commit | 041f2dacf3e5438bf1e7257a6474b88f82919929 (patch) | |
tree | 56719f60a1ec6b91b2d818991306a64971b7b64c /configure | |
parent | cbab7fa0703314d378ab648a6724bb82a63f23e9 (diff) | |
download | bcparser-041f2dacf3e5438bf1e7257a6474b88f82919929.tar.bz2 bcparser-041f2dacf3e5438bf1e7257a6474b88f82919929.tar.xz |
build system: add a test for legacy gcc versions.
Diffstat (limited to 'configure')
-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 |