fixed the default result for xopen and mimpure to work better

This commit is contained in:
Daniel Stenberg 2004-08-11 07:14:34 +00:00
parent 6060e7ed96
commit 5ab9d72e45
1 changed files with 2 additions and 2 deletions

View File

@ -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)