]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
- Issue #3754: fix typo in pthread AC_CACHE_VAL.
authordoko@python.org <doko@python.org>
Fri, 25 Jan 2013 14:33:25 +0000 (15:33 +0100)
committerdoko@python.org <doko@python.org>
Fri, 25 Jan 2013 14:33:25 +0000 (15:33 +0100)
Misc/NEWS
configure
configure.ac

index ff40c2cd97b817c3a293ec2a94e4f3574701cd10..da71cd610fe1bb92e359b84806ea98eb33dffd3f 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -864,6 +864,8 @@ Tests
 Build
 -----
 
+- Issue #3754: fix typo in pthread AC_CACHE_VAL.
+
 - Issue #17029: Let h2py search the multiarch system include directory.
 
 - Issue #16953: Fix socket module compilation on platforms with
index 00a100705080fafbfdcd0bafdd64a7975865a540..f7e49b824a14d4875269eefbad041016e26cbea0 100755 (executable)
--- a/configure
+++ b/configure
@@ -6056,7 +6056,7 @@ then
 # function available.
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -pthread" >&5
 $as_echo_n "checking whether $CC accepts -pthread... " >&6; }
-if ${ac_cv_thread+:} false; then :
+if ${ac_cv_pthread+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_save_cc="$CC"
index 379db323d9d95880aadab2f50f0341ae0486663f..19cf1ae3e89d44e20cecd6e4d9869edbbc46a877 100644 (file)
@@ -1283,7 +1283,7 @@ then
 # so we need to run a program to see whether it really made the
 # function available.
 AC_MSG_CHECKING(whether $CC accepts -pthread)
-AC_CACHE_VAL(ac_cv_thread,
+AC_CACHE_VAL(ac_cv_pthread,
 [ac_save_cc="$CC"
 CC="$CC -pthread"
 AC_RUN_IFELSE([AC_LANG_SOURCE([[