fixed the default result for xopen and mimpure to work better
authorDaniel Stenberg <daniel@haxx.se>
Wed, 11 Aug 2004 07:14:34 +0000 (07:14 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 11 Aug 2004 07:14:34 +0000 (07:14 +0000)
configure.ac

index dbc59ba..00633e2 100644 (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)