summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2017-11-06 19:06:05 +0300
committerGitHub <noreply@github.com>2017-11-06 19:06:05 +0300
commit7e666eed362f64fbf887713ec5c0f36516fec35f (patch)
treea059393eb7fec14c32e219526f386c455b732a6e /configure
parenta5293b4ff2c1b5446947b4986f98ecf5d52432d4 (diff)
downloadcpython-git-7e666eed362f64fbf887713ec5c0f36516fec35f.tar.gz
Remove outdated with_threads checks in configure.ac (GH-4294)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 1 insertions, 7 deletions
diff --git a/configure b/configure
index 30df2cee70..0edbb3e862 100755
--- a/configure
+++ b/configure
@@ -9512,9 +9512,7 @@ _ACEOF
fi
# Dynamic linking for HP-UX
-# only check for sem_init if thread support is requested
-if test "$with_threads" = "yes" -o -z "$with_threads"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sem_init" >&5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sem_init" >&5
$as_echo_n "checking for library containing sem_init... " >&6; }
if ${ac_cv_search_sem_init+:} false; then :
$as_echo_n "(cached) " >&6
@@ -9572,7 +9570,6 @@ fi
# 'Real Time' functions on Solaris
# posix4 on Solaris 2.6
# pthread (first!) on Linux
-fi
# check if we need libintl for locale functions
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for textdomain in -lintl" >&5
@@ -10150,9 +10147,6 @@ then
fi
posix_threads=yes
else
- if test ! -z "$with_threads" -a -d "$with_threads"
- then LDFLAGS="$LDFLAGS -L$with_threads"
- fi
if test ! -z "$withval" -a -d "$withval"
then LDFLAGS="$LDFLAGS -L$withval"
fi