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
c19c5a62
Commit
c19c5a62
authored
Nov 18, 2003
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch #836434: Use dlopen/dlsym on AIX if available. Also disable
_XOPEN_SOURCE on AIX 4.
parent
e3be8606
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
3 deletions
+23
-3
configure
configure
+12
-2
configure.in
configure.in
+11
-1
No files found.
configure
View file @
c19c5a62
#! /bin/sh
# From configure.in Revision: 1.4
39
.
# From configure.in Revision: 1.4
40
.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.57 for python 2.4.
#
...
...
@@ -1458,6 +1458,11 @@ case $ac_sys_system/$ac_sys_release in
# This should hopefully be fixed in FreeBSD 4.9
FreeBSD/4.8
*
|
Darwin/6
*
)
define_xopen_source
=
no
;;
# On AIX 4, mbstate_t is defined only when _XOPEN_SOURCE == 500 but used in
# wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined or
# has another value. By not (re)defining it, the defaults come in place.
AIX/4
)
define_xopen_source
=
no
;;
esac
if
test
$define_xopen_source
=
yes
...
...
@@ -12984,7 +12989,12 @@ echo $ECHO_N "checking DYNLOADFILE... $ECHO_C" >&6
if
test
-z
"
$DYNLOADFILE
"
then
case
$ac_sys_system
/
$ac_sys_release
in
AIX
*
)
DYNLOADFILE
=
"dynload_aix.o"
;;
AIX
*
)
# Use dynload_shlib.c and dlopen() if we have it; otherwise dynload_aix.c
if
test
"
$ac_cv_func_dlopen
"
=
yes
then
DYNLOADFILE
=
"dynload_shlib.o"
else
DYNLOADFILE
=
"dynload_aix.o"
fi
;;
BeOS
*
)
DYNLOADFILE
=
"dynload_beos.o"
;;
hp
*
|
HP
*
)
DYNLOADFILE
=
"dynload_hpux.o"
;;
Darwin/
*
)
DYNLOADFILE
=
"dynload_next.o"
;;
...
...
configure.in
View file @
c19c5a62
...
...
@@ -156,6 +156,11 @@ case $ac_sys_system/$ac_sys_release in
# This should hopefully be fixed in FreeBSD 4.9
FreeBSD/4.8* | Darwin/6* )
define_xopen_source=no;;
# On AIX 4, mbstate_t is defined only when _XOPEN_SOURCE == 500 but used in
# wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined or
# has another value. By not (re)defining it, the defaults come in place.
AIX/4)
define_xopen_source=no;;
esac
if test $define_xopen_source = yes
...
...
@@ -2036,7 +2041,12 @@ AC_MSG_CHECKING(DYNLOADFILE)
if test -z "$DYNLOADFILE"
then
case $ac_sys_system/$ac_sys_release in
AIX*) DYNLOADFILE="dynload_aix.o";;
AIX*) # Use dynload_shlib.c and dlopen() if we have it; otherwise dynload_aix.c
if test "$ac_cv_func_dlopen" = yes
then DYNLOADFILE="dynload_shlib.o"
else DYNLOADFILE="dynload_aix.o"
fi
;;
BeOS*) DYNLOADFILE="dynload_beos.o";;
hp*|HP*) DYNLOADFILE="dynload_hpux.o";;
Darwin/*) DYNLOADFILE="dynload_next.o";;
...
...
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