From 498a0fe795078a19f81571cc6682c50a527ce10a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 12 Aug 2004 06:30:17 +0000 Subject: 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 --- configure.ac | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/configure.ac b/configure.ac index 9bd061a1e..faddfd580 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -- cgit v1.2.3