Commit 5ab9d72e authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

fixed the default result for xopen and mimpure to work better

parent 6060e7ed
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -102,6 +102,7 @@ AC_MSG_RESULT($need_no_undefined)
AM_CONDITIONAL(NO_UNDEFINED, test x$need_no_undefined = xyes)

AC_MSG_CHECKING([if we need -mimpure-text])
mimpure=no
case $host in
  *-*-solaris2*)
    if test "$GCC" = "yes"; then
@@ -109,13 +110,13 @@ case $host in
    fi
    ;;
  *)
    mimpure=no
    ;;
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
@@ -124,7 +125,6 @@ case $host in
    fi
    ;;
  *)
    xopen=no
    ;;
esac
AC_MSG_RESULT($xopen)