]> granicus.if.org Git - python/commitdiff
Move the AC_MSG_RESULT function call for checking for pthread options up into
authorBrett Cannon <bcannon@gmail.com>
Sun, 7 Nov 2004 01:24:12 +0000 (01:24 +0000)
committerBrett Cannon <bcannon@gmail.com>
Sun, 7 Nov 2004 01:24:12 +0000 (01:24 +0000)
the 'if' statement that performed the test.  Not all platforms run the test and
on those tests configure outputted a rogue 'no' line.

configure
configure.in

index a9ce40255edc945e3d53ebf4234bf60be3737fba..82af2e6af0905fc7a7dfe24aff31fdacba79791f 100755 (executable)
--- a/configure
+++ b/configure
@@ -4256,10 +4256,10 @@ then
   fi
   rm -fr conftest*
 fi
-fi
-CXX="$ac_save_cxx"
 echo "$as_me:$LINENO: result: $ac_cv_cxx_thread" >&5
 echo "${ECHO_T}$ac_cv_cxx_thread" >&6
+fi
+CXX="$ac_save_cxx"
 
 
 # checks for header files
index d563640026d6ab78cb2247d057dccb77d68c00ab..370fdf56bb34477e22c28e17b40b52864637bdaa 100644 (file)
@@ -945,9 +945,9 @@ then
   fi
   rm -fr conftest*
 fi
+AC_MSG_RESULT($ac_cv_cxx_thread)
 fi
 CXX="$ac_save_cxx"
-AC_MSG_RESULT($ac_cv_cxx_thread)
 
 dnl # check for ANSI or K&R ("traditional") preprocessor
 dnl AC_MSG_CHECKING(for C preprocessor type)