diff options
author | midipix <writeonce@midipix.org> | 2016-06-25 15:38:58 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-06-25 17:34:23 -0400 |
commit | 4e5d58db1f36694c1f94af826aafa41de65e52da (patch) | |
tree | 80868cb3f65dcd5dd8ecd50375840f351fb98e2d /configure | |
parent | 7e6ea333d3246873ef53d6f1003c176f1aa43c36 (diff) | |
download | pemagine-4e5d58db1f36694c1f94af826aafa41de65e52da.tar.bz2 pemagine-4e5d58db1f36694c1f94af826aafa41de65e52da.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 |