From 7981f202931ebef466464e172625a75161bb5fa0 Mon Sep 17 00:00:00 2001 From: "doko@python.org" Date: Fri, 25 Jan 2013 15:33:25 +0100 Subject: [PATCH] - Issue #3754: fix typo in pthread AC_CACHE_VAL. --- Misc/NEWS | 2 ++ configure | 2 +- configure.ac | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Misc/NEWS b/Misc/NEWS index ff40c2cd97b..da71cd610fe 100644 --- 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 diff --git a/configure b/configure index 00a10070508..f7e49b824a1 100755 --- 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" diff --git a/configure.ac b/configure.ac index 379db323d9d..19cf1ae3e89 100644 --- a/configure.ac +++ b/configure.ac @@ -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([[