Skip to content
Snippets Groups Projects
Commit d6aee2bc authored by Bill Hoffman's avatar Bill Hoffman
Browse files

BUG: fix for SGI Native compiler

parent 930ea3ef
No related branches found
No related tags found
No related merge requests found
......@@ -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 diff is collapsed.
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment