diff options
author | midipix <writeonce@midipix.org> | 2016-06-25 15:38:58 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-10 23:35:50 -0500 |
commit | 8057902d04a2d9df13bb48974e4cebf51dc4f452 (patch) | |
tree | bf48094d3c42f8359bc69131544e39298cee2da9 /configure | |
parent | d93341a244159c59a5a077d427c43d9c5c4edeb0 (diff) | |
download | perk-8057902d04a2d9df13bb48974e4cebf51dc4f452.tar.bz2 perk-8057902d04a2d9df13bb48974e4cebf51dc4f452.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 |