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
7e666eed
Commit
7e666eed
authored
Nov 06, 2017
by
Berker Peksag
Committed by
GitHub
Nov 06, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove outdated with_threads checks in configure.ac (GH-4294)
parent
a5293b4f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
14 deletions
+2
-14
configure
configure
+1
-7
configure.ac
configure.ac
+1
-7
No files found.
configure
View file @
7e666eed
...
...
@@ -9512,9 +9512,7 @@ _ACEOF
fi
# 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
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for library containing sem_init"
>
&5
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for library containing sem_init"
>
&5
$as_echo_n
"checking for library containing sem_init... "
>
&6
;
}
if
${
ac_cv_search_sem_init
+
:
}
false
;
then
:
$as_echo_n
"(cached) "
>
&6
...
...
@@ -9572,7 +9570,6 @@ fi
# 'Real Time' functions on Solaris
# posix4 on Solaris 2.6
# pthread (first!) on Linux
fi
# check if we need libintl for locale functions
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for textdomain in -lintl"
>
&5
...
...
@@ -10150,9 +10147,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
...
...
configure.ac
View file @
7e666eed
...
...
@@ -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
...
...
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