Commit d6aee2bc authored by Bill Hoffman's avatar Bill Hoffman

BUG: fix for SGI Native compiler

parent 930ea3ef
......@@ -3,3 +3,7 @@
#define STRING_VAR "${STRING_VAR}"
#undef CMAKE_NO_STD_NAMESPACE
#undef CMAKE_NO_ANSI_STREAM_HEADERS
#undef CMAKE_NO_ANSI_FOR_SCOPE
......@@ -3,3 +3,7 @@
#define STRING_VAR "${STRING_VAR}"
#undef CMAKE_NO_STD_NAMESPACE
#undef CMAKE_NO_ANSI_STREAM_HEADERS
#undef CMAKE_NO_ANSI_FOR_SCOPE
......@@ -3,3 +3,7 @@
#define STRING_VAR "${STRING_VAR}"
#undef CMAKE_NO_STD_NAMESPACE
#undef CMAKE_NO_ANSI_STREAM_HEADERS
#undef CMAKE_NO_ANSI_FOR_SCOPE
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -30,7 +30,18 @@ case $system in
echo "$ac_t""no" 1>&6
fi
rm -f conftest*
;;
;;
IRIX-6* | IRIX64-6* | IRIX-64-6*)
echo $ac_n "checking whether ${CC} accepts -LANG:std""... $ac_c" 1>&6
echo 'void f(){}' > conftest.c
if test -z "`${CC} -LANG:std -c conftest.c 2>&1`"; then
echo "$ac_t""yes" 1>&6
CMAKE_ANSI_CFLAGS="-LANG:std"
else
echo "$ac_t""no" 1>&6
fi
rm -f conftest*
;;
esac
fi
AC_SUBST(CMAKE_ANSI_CFLAGS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment