summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoko@python.org <doko@python.org>2013-01-25 14:35:12 (GMT)
committerdoko@python.org <doko@python.org>2013-01-25 14:35:12 (GMT)
commit454ea92a4cbae62fcf7ef836a3792294ddbdf1f5 (patch)
tree0523e17a335133fb799b88f9755ae6388744c115
parent900475f5f6dea63d8c3e09e79c5d5c3e84397787 (diff)
parent96a9f89b2d67caf622c311e567d068a24962762a (diff)
downloadcpython-454ea92a4cbae62fcf7ef836a3792294ddbdf1f5.zip
cpython-454ea92a4cbae62fcf7ef836a3792294ddbdf1f5.tar.gz
cpython-454ea92a4cbae62fcf7ef836a3792294ddbdf1f5.tar.bz2
- Issue #3754: fix typo in pthread AC_CACHE_VAL.
-rw-r--r--Misc/NEWS2
-rwxr-xr-xconfigure2
-rw-r--r--configure.ac2
3 files changed, 4 insertions, 2 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index a702c2e..502fe06 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -749,6 +749,8 @@ Tests
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
index 47c1d5e..b7d3850 100755
--- a/configure
+++ b/configure
@@ -6713,7 +6713,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"
diff --git a/configure.ac b/configure.ac
index b998b24..456d111 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1439,7 +1439,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([[