summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAnthony Baxter <anthonybaxter@gmail.com>2006-04-09 15:07:40 (GMT)
committerAnthony Baxter <anthonybaxter@gmail.com>2006-04-09 15:07:40 (GMT)
commit8220174489e3f28b874b3b45516585c30e5999da (patch)
treea5b669f41c261aedf8ef1ace07418c825956c40b /configure
parenta50794b62016e573b9f2a9e4a2a376c7360eae56 (diff)
downloadcpython-8220174489e3f28b874b3b45516585c30e5999da.zip
cpython-8220174489e3f28b874b3b45516585c30e5999da.tar.gz
cpython-8220174489e3f28b874b3b45516585c30e5999da.tar.bz2
Python on OS X 10.3 and above now uses dlopen() (via dynload_shlib.c)
to load extension modules and now provides the dl module. As a result, sys.setdlopenflags() now works correctly on these systems. (SF patch #1454844)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 4 insertions, 3 deletions
diff --git a/configure b/configure
index e65c85b..f8183f2 100755
--- a/configure
+++ b/configure
@@ -10819,7 +10819,7 @@ echo "${ECHO_T}$enable_toolbox_glue" >&6
case $ac_sys_system/$ac_sys_release in
- Darwin/[01234567].*)
+ Darwin/[01567]\..*)
OTHER_LIBTOOL_OPT="-prebind -seg1addr 0x10000000"
;;
Darwin/*)
@@ -10829,7 +10829,7 @@ esac
case $ac_sys_system/$ac_sys_release in
- Darwin/[01234567].*)
+ Darwin/[01567]\..*)
LIBTOOL_CRUFT="-framework System -lcc_dynamic -arch_only `arch`"
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
@@ -13980,7 +13980,8 @@ then
;;
BeOS*) DYNLOADFILE="dynload_beos.o";;
hp*|HP*) DYNLOADFILE="dynload_hpux.o";;
- Darwin/*) DYNLOADFILE="dynload_next.o";;
+ # Use dynload_next.c only on 10.2 and below, which don't have native dlopen()
+ Darwin/[0156]\..*) DYNLOADFILE="dynload_next.o";;
atheos*) DYNLOADFILE="dynload_atheos.o";;
*)
# use dynload_shlib.c and dlopen() if we have it; otherwise stub