Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d3545ec5
Commit
d3545ec5
authored
May 03, 2003
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch #730170: Check for sem_init in -lpthread. Fixes #727051.
parent
ec31047c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
configure
configure
+5
-4
configure.in
configure.in
+3
-2
No files found.
configure
View file @
d3545ec5
#! /bin/sh
# From configure.in Revision: 1.40
2
.
# From configure.in Revision: 1.40
3
.
# 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
...
...
configure.in
View file @
d3545ec5
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment