diff options
author | midipix <writeonce@midipix.org> | 2016-06-25 15:38:58 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-06-25 17:34:41 -0400 |
commit | 433e1f9187406e2ac35ae2cedae53cb0e65e5f16 (patch) | |
tree | 6589e49cf2647a46359174e33a88a78879aab0c0 /configure | |
parent | 3599307e1d32bef97ad116641b906868cfc70d0d (diff) | |
download | dalist-433e1f9187406e2ac35ae2cedae53cb0e65e5f16.tar.bz2 dalist-433e1f9187406e2ac35ae2cedae53cb0e65e5f16.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 |