[Python-checkins] cpython (merge 3.2 -> 3.3): - Issue #3754: fix typo in pthread AC_CACHE_VAL.

matthias.klose python-checkins at python.org
Fri Jan 25 15:35:31 CET 2013


http://hg.python.org/cpython/rev/5464a534e7bd
changeset:   81727:5464a534e7bd
branch:      3.3
parent:      81722:de0c36b8549f
parent:      81726:e28b30e6eee6
user:        doko at python.org
date:        Fri Jan 25 15:34:34 2013 +0100
summary:
  - Issue #3754: fix typo in pthread AC_CACHE_VAL.

files:
  Misc/NEWS    |  2 ++
  configure    |  2 +-
  configure.ac |  2 +-
  3 files changed, 4 insertions(+), 2 deletions(-)


diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -536,6 +536,8 @@
 Build
 -----
 
+- Issue #3754: fix typo in pthread AC_CACHE_VAL.
+
 - Issue #15484: Fix _PYTHON_PROJECT_BASE for srcdir != builddir builds;
   use _PYTHON_PROJECT_BASE in distutils/sysconfig.py.
 
diff --git a/configure b/configure
--- a/configure
+++ b/configure
@@ -6713,7 +6713,7 @@
 # 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"
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -1439,7 +1439,7 @@
 # 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([[

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list