diff options
author | midipix <writeonce@midipix.org> | 2016-06-25 15:38:58 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-06-25 17:35:00 -0400 |
commit | e606ed61b74f32891f60377fd6463e54beecf079 (patch) | |
tree | f4ad8b02f52c00bdf54c674624930be2b55a4676 | |
parent | f0076891a28092b73dbd2c9e64b78efc7fdd2487 (diff) | |
download | ntapi-e606ed61b74f32891f60377fd6463e54beecf079.tar.bz2 ntapi-e606ed61b74f32891f60377fd6463e54beecf079.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 |