From 5ab9d72e45e00b7631f86d2cfa0086b87aaa9ea8 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Wed, 11 Aug 2004 07:14:34 +0000
Subject: [PATCH] fixed the default result for xopen and mimpure to work better

---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index dbc59bae0c..00633e2425 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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)
-- 
GitLab