diff options
author | midipix <writeonce@midipix.org> | 2016-06-25 15:38:58 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-06-25 17:31:45 -0400 |
commit | e15885e99a28ac2a33ceec5f9067bb0a76c3e4df (patch) | |
tree | 55551b2b39ddaf6022a170a4dcc08b7e7b9765ba /configure | |
parent | c511bd4c6cc9eb5d73314684157d1916d08c8f1a (diff) | |
download | apimagic-e15885e99a28ac2a33ceec5f9067bb0a76c3e4df.tar.bz2 apimagic-e15885e99a28ac2a33ceec5f9067bb0a76c3e4df.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 |