diff options
author | midipix <writeonce@midipix.org> | 2016-06-25 15:38:58 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-06-25 17:31:39 -0400 |
commit | 765f1ff8a60efd9a25cd830a76d9575209b3c9cb (patch) | |
tree | 2442ba6d84940917ea9f65069d283458fcc6550f | |
parent | a96414014bb0414c012c64f45343b591a9adfa66 (diff) | |
download | sofort-765f1ff8a60efd9a25cd830a76d9575209b3c9cb.tar.bz2 sofort-765f1ff8a60efd9a25cd830a76d9575209b3c9cb.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 |