diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2003-05-03 11:25:43 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2003-05-03 11:25:43 (GMT) |
commit | d3545ec5e3508479c48c2d5828b8c9e484222778 (patch) | |
tree | 3500181bd2db664672ca9937f689924bfafb74af /configure | |
parent | ec31047c0ca0f8a78b0b9071f4200e3708d26b43 (diff) | |
download | cpython-d3545ec5e3508479c48c2d5828b8c9e484222778.zip cpython-d3545ec5e3508479c48c2d5828b8c9e484222778.tar.gz cpython-d3545ec5e3508479c48c2d5828b8c9e484222778.tar.bz2 |
Patch #730170: Check for sem_init in -lpthread. Fixes #727051.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.402 . +# From configure.in Revision: 1.403 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.53 for python 2.3. # @@ -9715,7 +9715,7 @@ cat conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext if test "$ac_cv_search_sem_init" = no; then - for ac_lib in rt posix4; do + for ac_lib in pthread rt posix4; do LIBS="-l$ac_lib $ac_func_search_save_LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" @@ -9771,8 +9771,9 @@ if test "$ac_cv_search_sem_init" != no; then test "$ac_cv_search_sem_init" = "none required" || LIBS="$ac_cv_search_sem_init $LIBS" fi - # 'Real Time' functions on Solaris, - # posix4 on Solaris 2.6 + # '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 |