diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-08-23 21:00:14 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-08-23 21:00:14 (GMT) |
commit | 408361af51d125d341a680921bd69a81a0428a6c (patch) | |
tree | 3d7542fb50c31a96bf250dbb5a3c9fd9f285e85d | |
parent | 85d1fc14256cc090cdd2f6086d883f715aad80de (diff) | |
download | CMake-408361af51d125d341a680921bd69a81a0428a6c.zip CMake-408361af51d125d341a680921bd69a81a0428a6c.tar.gz CMake-408361af51d125d341a680921bd69a81a0428a6c.tar.bz2 |
try another flag for the dec compiler...
-rwxr-xr-x | Templates/cxxconfigure | 6 | ||||
-rw-r--r-- | Templates/cxxconfigure.in | 6 | ||||
-rwxr-xr-x | configure | 6 | ||||
-rw-r--r-- | configure.in | 6 |
4 files changed, 12 insertions, 12 deletions
diff --git a/Templates/cxxconfigure b/Templates/cxxconfigure index c604556..7b23fb5 100755 --- a/Templates/cxxconfigure +++ b/Templates/cxxconfigure @@ -740,11 +740,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 diff --git a/Templates/cxxconfigure.in b/Templates/cxxconfigure.in index e23d4da..3e1f5b10 100644 --- a/Templates/cxxconfigure.in +++ b/Templates/cxxconfigure.in @@ -76,11 +76,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 @@ -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 diff --git a/configure.in b/configure.in index a464534..6961574 100644 --- a/configure.in +++ b/configure.in @@ -89,11 +89,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 |