]> granicus.if.org Git - python/commitdiff
- Issue #3754: fix typo in pthread AC_CACHE_VAL.
authordoko@python.org <doko@python.org>
Fri, 25 Jan 2013 14:32:31 +0000 (15:32 +0100)
committerdoko@python.org <doko@python.org>
Fri, 25 Jan 2013 14:32:31 +0000 (15:32 +0100)
Misc/NEWS
configure
configure.ac

index 005c39db2c96fe08e46337c1415cee92332ccbfa..1f6875de42329cf9d7c1a2b1f8039677ed21c0da 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -709,6 +709,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 10d77b123087995998207a6533590a15e991a668..e22a712de04753cbe4c85f436147934d9573c400 100755 (executable)
--- a/configure
+++ b/configure
@@ -6064,7 +6064,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 0c6bba8405b9e0dfdb4a4ecd4b23c41ef72ef933..6eb01c371ef1d130438c4796600f4837a5407de3 100644 (file)
@@ -1365,7 +1365,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([[