Removed the _XOPEN_SOURCE defining again since it caused major havoc in IRIX

land with many warnings and even compiler errors due to missing structs etc
This commit is contained in:
Daniel Stenberg 2004-08-12 06:30:17 +00:00
parent 0ca1b6afcf
commit 498a0fe795
1 changed files with 0 additions and 24 deletions

View File

@ -115,30 +115,6 @@ esac
AC_MSG_RESULT($mimpure)
AM_CONDITIONAL(MIMPURE, test x$mimpure = xyes)
AC_MSG_CHECKING([if we need _XOPEN_SOURCE defined to 500])
xopen=no
case $host in
mips-sgi-irix*)
if test "$GCC" != "yes"; then
xopen="yes"
# "Applications should ensure that the feature test macro _XOPEN_SOURCE
# is defined with the value 500 before inclusion of any header. This is
# needed to enable the functionality described in this specification,
# and possibly to enable functionality defined elsewhere in the Common
# Applications Environment."
# So far, we've only detected this to be strictly necessary if not using
# gcc on SGI IRIX. And this only to avoid warnings.
AC_DEFINE(_XOPEN_SOURCE, 500, [ensure SUSV2 compatibility])
fi
;;
*)
;;
esac
AC_MSG_RESULT($xopen)
dnl The install stuff has already been taken care of by the automake stuff
dnl AC_PROG_INSTALL
AC_PROG_MAKE_SET