Added better support for HPux

This commit is contained in:
Berk Geveci 2002-03-15 09:14:52 -05:00
parent 93474efd8b
commit 799454198b

View File

@ -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