diff options
author | midipix <writeonce@midipix.org> | 2016-06-25 15:38:58 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-11 00:22:46 -0500 |
commit | 52b8b622675876a8455f31d6fce4edd89eb488c0 (patch) | |
tree | 32d1298ef346a4c9e555264650532fc4ff7f9d75 /configure | |
parent | 7289b43cb1f8cb9cfcbc95616a4867034199b567 (diff) | |
download | mdso-52b8b622675876a8455f31d6fce4edd89eb488c0.tar.bz2 mdso-52b8b622675876a8455f31d6fce4edd89eb488c0.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 |