summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-08-01 21:57:49 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-08-01 21:57:49 (GMT)
commitea0c3828c00de81c953e147e085d4d2b4b906850 (patch)
treeed934aa93d0daec99e7dd57a7f3bd62a2790ebf0 /configure
parentbe3e1f7a95a277cf77e27e0e365227cd8aecc90a (diff)
downloadcpython-ea0c3828c00de81c953e147e085d4d2b4b906850.zip
cpython-ea0c3828c00de81c953e147e085d4d2b4b906850.tar.gz
cpython-ea0c3828c00de81c953e147e085d4d2b4b906850.tar.bz2
- Get _environ through the NSEnviron call in a MacOSX framework. This allows
us to completely decouple the framework from the executable, so we can use a two-level namespace. - Do framework builds with a twolevel namespace. - Reorganized the code that creates the minimal framework in the build directory, to make it more robust against incomplete frameworks (from earlier aborted builds, or builds of previous Python versions).
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure16
1 files changed, 4 insertions, 12 deletions
diff --git a/configure b/configure
index 4478ede..fa14838 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 1.337 .
+# From configure.in Revision: 1.338 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53.
#
@@ -8759,14 +8759,12 @@ echo "${ECHO_T}$enable_toolbox_glue" >&6
case $ac_sys_system/$ac_sys_release in
Darwin/1.3*)
- ns_undef_sym='_environ'
- LIBTOOL_CRUFT="-lcc_dynamic -arch_only ppc -U $ns_undef_sym"
+ LIBTOOL_CRUFT="-lcc_dynamic -arch_only ppc"
LIBTOOL_CRUFT="$LIBTOOL_CRUFT $extra_frameworks"
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/Python'
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
Darwin/*)
- ns_undef_sym='_environ'
- LIBTOOL_CRUFT="-lcc_dynamic -arch_only ppc -flat_namespace -U $ns_undef_sym"
+ LIBTOOL_CRUFT="-lcc_dynamic -arch_only ppc"
LIBTOOL_CRUFT="$LIBTOOL_CRUFT $extra_frameworks"
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/Python'
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
@@ -8777,15 +8775,9 @@ echo $ECHO_N "checking for --enable-framework... $ECHO_C" >&6
if test "$enable_framework"
then
OPT="$OPT -fno-common -dynamic"
- # -U __environ is needed since bundles don't have access
- # to crt0 when built but will always be linked against it
# -F. is needed to allow linking to the framework while
# in the build location.
-
- case $ac_sys_system/$ac_sys_release in
- Darwin/1.3*)LDFLAGS="$LDFLAGS -Wl,-F. -Wl,-U,$ns_undef_sym";;
- Darwin/*)LDFLAGS="$LDFLAGS -Wl,-F. -Wl,-flat_namespace,-U,$ns_undef_sym";;
- esac
+ LDFLAGS="$LDFLAGS -Wl,-F."
cat >>confdefs.h <<\_ACEOF
#define WITH_NEXT_FRAMEWORK 1