summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2003-05-03 11:25:43 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2003-05-03 11:25:43 (GMT)
commitd3545ec5e3508479c48c2d5828b8c9e484222778 (patch)
tree3500181bd2db664672ca9937f689924bfafb74af /configure.in
parentec31047c0ca0f8a78b0b9071f4200e3708d26b43 (diff)
downloadcpython-d3545ec5e3508479c48c2d5828b8c9e484222778.zip
cpython-d3545ec5e3508479c48c2d5828b8c9e484222778.tar.gz
cpython-d3545ec5e3508479c48c2d5828b8c9e484222778.tar.bz2
Patch #730170: Check for sem_init in -lpthread. Fixes #727051.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index f495617..6686f2b 100644
--- a/configure.in
+++ b/configure.in
@@ -1248,8 +1248,9 @@ AC_MSG_RESULT($SHLIBS)
# checks for libraries
AC_CHECK_LIB(dl, dlopen) # Dynamic linking for SunOS/Solaris and SYSV
AC_CHECK_LIB(dld, shl_load) # Dynamic linking for HP-UX
-AC_SEARCH_LIBS(sem_init, rt posix4) # 'Real Time' functions on Solaris,
- # posix4 on Solaris 2.6
+AC_SEARCH_LIBS(sem_init, pthread rt posix4) # 'Real Time' functions on Solaris
+ # posix4 on Solaris 2.6
+ # pthread (first!) on Linux
# checks for system dependent C++ extensions support
case "$ac_sys_system" in