summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-10-06 11:48:09 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-10-06 11:48:09 (GMT)
commit82c19a74b275c540f912c8b449e6ef318f19e312 (patch)
treedf89e94a69883dff88eada2ac2156696e066d2cf /configure.in
parent638a1e2dc10a41d6413519811de51e07334ea42b (diff)
downloadcpython-82c19a74b275c540f912c8b449e6ef318f19e312.zip
cpython-82c19a74b275c540f912c8b449e6ef318f19e312.tar.gz
cpython-82c19a74b275c540f912c8b449e6ef318f19e312.tar.bz2
Also look in -lposix4 for sem_init. Fixes #618615.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index aef3c06..4ec1bed 100644
--- a/configure.in
+++ b/configure.in
@@ -1093,7 +1093,8 @@ 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_CHECK_LIB(rt, sem_init) # 'Real Time' functions on Solaris
+AC_SEARCH_LIBS(sem_init, rt posix4) # 'Real Time' functions on Solaris,
+ # posix4 on Solaris 2.6
# checks for system dependent C++ extensions support
case "$ac_sys_system" in