diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-12-19 13:26:54 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-12-19 13:26:54 (GMT) |
commit | 96763a0df20302d4a9505660ceadda8b051a2b98 (patch) | |
tree | 4b52c8b22230cc96f20ae4a537ea1ec0adebb139 /Templates/configure.in | |
parent | bb4f8237fdd3d8fc1d9819cbe1a0628584e0eab0 (diff) | |
download | CMake-96763a0df20302d4a9505660ceadda8b051a2b98.zip CMake-96763a0df20302d4a9505660ceadda8b051a2b98.tar.gz CMake-96763a0df20302d4a9505660ceadda8b051a2b98.tar.bz2 |
check for LANG:std
Diffstat (limited to 'Templates/configure.in')
-rw-r--r-- | Templates/configure.in | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Templates/configure.in b/Templates/configure.in index 4497538..d576ba3 100644 --- a/Templates/configure.in +++ b/Templates/configure.in @@ -567,7 +567,15 @@ case $system in rm -f conftest* ;; IRIX-5* | IRIX-6* | IRIX64-6* | IRIX-64-6*) - CMAKE_ANSI_CXXFLAGS="-LANG:std" + echo $ac_n "checking whether ${CXX} accepts -LANG:std""... $ac_c" 1>&6 + echo 'void f(){}' > conftest.c + if test -z "`${CXX} -LANG:std -c conftest.c 2>&1`"; then + echo "$ac_t""yes" 1>&6 + CMAKE_ANSI_CXXFLAGS="-LANG:std" + else + echo "$ac_t""no" 1>&6 + fi + rm -f conftest* ;; esac fi |