BUG: fix for SGI Native compiler

This commit is contained in:
Bill Hoffman 2001-08-24 15:45:46 -04:00
parent 930ea3ef58
commit d6aee2bc36
5 changed files with 2296 additions and 783 deletions

View File

@ -3,3 +3,7 @@
#define STRING_VAR "${STRING_VAR}" #define STRING_VAR "${STRING_VAR}"
#undef CMAKE_NO_STD_NAMESPACE
#undef CMAKE_NO_ANSI_STREAM_HEADERS
#undef CMAKE_NO_ANSI_FOR_SCOPE

View File

@ -3,3 +3,7 @@
#define STRING_VAR "${STRING_VAR}" #define STRING_VAR "${STRING_VAR}"
#undef CMAKE_NO_STD_NAMESPACE
#undef CMAKE_NO_ANSI_STREAM_HEADERS
#undef CMAKE_NO_ANSI_FOR_SCOPE

View File

@ -3,3 +3,7 @@
#define STRING_VAR "${STRING_VAR}" #define STRING_VAR "${STRING_VAR}"
#undef CMAKE_NO_STD_NAMESPACE
#undef CMAKE_NO_ANSI_STREAM_HEADERS
#undef CMAKE_NO_ANSI_FOR_SCOPE

3054
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -30,7 +30,18 @@ case $system in
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
rm -f conftest* 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 esac
fi fi
AC_SUBST(CMAKE_ANSI_CFLAGS) AC_SUBST(CMAKE_ANSI_CFLAGS)