diff options
author | midipix <writeonce@midipix.org> | 2016-06-25 15:38:58 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-06-25 15:55:26 -0400 |
commit | 6b2e0c03fe73c63e42c20b2564908c9d60f1531c (patch) | |
tree | a7364f6edd93229fb3cb151f0d87d18391085c7b /configure | |
parent | bd640fef5f83479429d231e959032841d8428bd7 (diff) | |
download | slibtool-6b2e0c03fe73c63e42c20b2564908c9d60f1531c.tar.bz2 slibtool-6b2e0c03fe73c63e42c20b2564908c9d60f1531c.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 |