summaryrefslogtreecommitdiffstats
path: root/Templates
diff options
context:
space:
mode:
authorBerk Geveci <berk.geveci@kitware.com>2002-03-15 14:14:52 (GMT)
committerBerk Geveci <berk.geveci@kitware.com>2002-03-15 14:14:52 (GMT)
commit799454198b3e791b05b4a45b13056ebd92e48c40 (patch)
tree8bff938406e90132b75df88068294a592d09ce98 /Templates
parent93474efd8b706718a65713dd2841d7e1c8271c7e (diff)
downloadCMake-799454198b3e791b05b4a45b13056ebd92e48c40.zip
CMake-799454198b3e791b05b4a45b13056ebd92e48c40.tar.gz
CMake-799454198b3e791b05b4a45b13056ebd92e48c40.tar.bz2
Added better support for HPux
Diffstat (limited to 'Templates')
-rw-r--r--Templates/configure.in9
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