- Issue #3754: fix typo in pthread AC_CACHE_VAL.

This commit is contained in:
doko@python.org 2013-01-25 15:34:34 +01:00
commit 96a9f89b2d
3 changed files with 4 additions and 2 deletions

View File

@ -536,6 +536,8 @@ Tests
Build Build
----- -----
- Issue #3754: fix typo in pthread AC_CACHE_VAL.
- Issue #15484: Fix _PYTHON_PROJECT_BASE for srcdir != builddir builds; - Issue #15484: Fix _PYTHON_PROJECT_BASE for srcdir != builddir builds;
use _PYTHON_PROJECT_BASE in distutils/sysconfig.py. use _PYTHON_PROJECT_BASE in distutils/sysconfig.py.

2
configure vendored
View File

@ -6713,7 +6713,7 @@ then
# function available. # function available.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -pthread" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -pthread" >&5
$as_echo_n "checking whether $CC accepts -pthread... " >&6; } $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 $as_echo_n "(cached) " >&6
else else
ac_save_cc="$CC" ac_save_cc="$CC"

View File

@ -1439,7 +1439,7 @@ then
# so we need to run a program to see whether it really made the # so we need to run a program to see whether it really made the
# function available. # function available.
AC_MSG_CHECKING(whether $CC accepts -pthread) AC_MSG_CHECKING(whether $CC accepts -pthread)
AC_CACHE_VAL(ac_cv_thread, AC_CACHE_VAL(ac_cv_pthread,
[ac_save_cc="$CC" [ac_save_cc="$CC"
CC="$CC -pthread" CC="$CC -pthread"
AC_RUN_IFELSE([AC_LANG_SOURCE([[ AC_RUN_IFELSE([AC_LANG_SOURCE([[