diff options
author | Berk Geveci <berk.geveci@kitware.com> | 2002-03-15 14:14:52 (GMT) |
---|---|---|
committer | Berk Geveci <berk.geveci@kitware.com> | 2002-03-15 14:14:52 (GMT) |
commit | 799454198b3e791b05b4a45b13056ebd92e48c40 (patch) | |
tree | 8bff938406e90132b75df88068294a592d09ce98 | |
parent | 93474efd8b706718a65713dd2841d7e1c8271c7e (diff) | |
download | CMake-799454198b3e791b05b4a45b13056ebd92e48c40.zip CMake-799454198b3e791b05b4a45b13056ebd92e48c40.tar.gz CMake-799454198b3e791b05b4a45b13056ebd92e48c40.tar.bz2 |
Added better support for HPux
-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 |