diff options
Diffstat (limited to 'Templates')
-rw-r--r-- | Templates/configure.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Templates/configure.in b/Templates/configure.in index a1eb7a5..6867560 100644 --- a/Templates/configure.in +++ b/Templates/configure.in @@ -621,7 +621,14 @@ case $system in echo 'void f(){}' > conftest.c if test -z "`${CC} -Aa -c conftest.c 2>&1`"; then echo "$ac_t""yes" 1>&6 - CMAKE_ANSI_CFLAGS="-Aa" + CMAKE_ANSI_CFLAGS="$CMAKE_ANSI_CFLAGS -Aa" + else + echo "$ac_t""no" 1>&6 + fi + echo $ac_n "checking whether ${CC} accepts -Ae""... $ac_c" 1>&6 + if test -z "`${CC} -Ae -c conftest.c 2>&1`"; then + echo "$ac_t""yes" 1>&6 + CMAKE_ANSI_CFLAGS="$CMAKE_ANSI_CFLAGS -Ae" else echo "$ac_t""no" 1>&6 fi |