summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-08-23 17:00:14 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2002-08-23 17:00:14 -0400
commit408361af51d125d341a680921bd69a81a0428a6c (patch)
tree3d7542fb50c31a96bf250dbb5a3c9fd9f285e85d /configure
parent85d1fc14256cc090cdd2f6086d883f715aad80de (diff)
downloadcmake-408361af51d125d341a680921bd69a81a0428a6c.tar.gz
try another flag for the dec compiler...
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 050c6817cb..bd4c27debb 100755
--- a/configure
+++ b/configure
@@ -974,11 +974,11 @@ case $system in
rm -f conftest*
;;
OSF1-*)
- echo $ac_n "checking whether ${CXX} accepts -std strict_ansi""... $ac_c" 1>&6
+ echo $ac_n "checking whether ${CXX} accepts -std strict_ansi -nopure_cname""... $ac_c" 1>&6
echo 'void f(){}' > conftest.c
- if test -z "`${CXX} -std strict_ansi -c conftest.c 2>&1`"; then
+ if test -z "`${CXX} -std strict_ansi -nopure_cname -c conftest.c 2>&1`"; then
echo "$ac_t""yes" 1>&6
- CMAKE_ANSI_CXXFLAGS="-std strict_ansi"
+ CMAKE_ANSI_CXXFLAGS="-std strict_ansi -nopure_cname"
else
echo "$ac_t""no" 1>&6
fi