diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2017-11-06 16:06:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-06 16:06:05 (GMT) |
commit | 7e666eed362f64fbf887713ec5c0f36516fec35f (patch) | |
tree | a059393eb7fec14c32e219526f386c455b732a6e /configure.ac | |
parent | a5293b4ff2c1b5446947b4986f98ecf5d52432d4 (diff) | |
download | cpython-7e666eed362f64fbf887713ec5c0f36516fec35f.zip cpython-7e666eed362f64fbf887713ec5c0f36516fec35f.tar.gz cpython-7e666eed362f64fbf887713ec5c0f36516fec35f.tar.bz2 |
Remove outdated with_threads checks in configure.ac (GH-4294)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac index fd15868..c773806 100644 --- a/configure.ac +++ b/configure.ac @@ -2677,12 +2677,9 @@ AC_CHECK_LIB(sendfile, sendfile) AC_CHECK_LIB(dl, dlopen) # Dynamic linking for SunOS/Solaris and SYSV AC_CHECK_LIB(dld, shl_load) # 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 - AC_SEARCH_LIBS(sem_init, pthread rt posix4) # 'Real Time' functions on Solaris +AC_SEARCH_LIBS(sem_init, pthread rt posix4) # 'Real Time' functions on Solaris # posix4 on Solaris 2.6 # pthread (first!) on Linux -fi # check if we need libintl for locale functions AC_CHECK_LIB(intl, textdomain, @@ -2926,9 +2923,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 |