mirror of
https://github.com/python/cpython.git
synced 2024-12-04 07:15:09 +08:00
regenerated configure from configure.in
This commit is contained in:
parent
8a92dd5866
commit
eef2d3b2c5
21
configure
vendored
21
configure
vendored
@ -1,5 +1,5 @@
|
||||
#! /bin/sh
|
||||
# From configure.in Revision: 1.472 .
|
||||
# From configure.in Revision: 1.474 .
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.59 for python 2.4.
|
||||
#
|
||||
@ -10164,9 +10164,8 @@ then
|
||||
fi
|
||||
case "$enable_toolbox_glue" in
|
||||
yes)
|
||||
extra_frameworks="-framework CoreServices -framework Foundation"
|
||||
extra_machdep_objs="Python/mactoolboxglue.o"
|
||||
extra_undefs="-u __dummy -u _PyMac_Error"
|
||||
extra_undefs="-u _PyMac_Error"
|
||||
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define USE_TOOLBOX_OBJECT_GLUE 1
|
||||
@ -10174,7 +10173,6 @@ _ACEOF
|
||||
|
||||
;;
|
||||
*)
|
||||
extra_frameworks=""
|
||||
extra_machdep_objs=""
|
||||
extra_undefs=""
|
||||
;;
|
||||
@ -10186,12 +10184,11 @@ echo "${ECHO_T}$enable_toolbox_glue" >&6
|
||||
case $ac_sys_system/$ac_sys_release in
|
||||
Darwin/1.3*)
|
||||
LIBTOOL_CRUFT="-lcc_dynamic -arch_only ppc"
|
||||
LIBTOOL_CRUFT="$LIBTOOL_CRUFT $extra_frameworks"
|
||||
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
|
||||
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
|
||||
Darwin/*)
|
||||
LIBTOOL_CRUFT="-lcc_dynamic -arch_only ppc"
|
||||
LIBTOOL_CRUFT="$LIBTOOL_CRUFT $extra_frameworks"
|
||||
LIBTOOL_CRUFT="$LIBTOOL_CRUFT"
|
||||
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
|
||||
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
|
||||
esac
|
||||
@ -10409,22 +10406,20 @@ then
|
||||
Linux*|GNU*) LINKFORSHARED="-Xlinker -export-dynamic";;
|
||||
# -u libsys_s pulls in all symbols in libsys
|
||||
Darwin/*)
|
||||
# -u __dummy makes the linker aware of the objc runtime
|
||||
# in System.framework; otherwise, __objcInit (referenced in
|
||||
# crt1.o) gets erroneously defined as common, which breaks dynamic
|
||||
# loading of any modules which reference it in System.framework.
|
||||
# -u _PyMac_Error is needed to pull in the mac toolbox glue, which is
|
||||
# -u _PyMac_Error is needed to pull in the mac toolbox glue,
|
||||
# which is
|
||||
# not used by the core itself but which needs to be in the core so
|
||||
# that dynamically loaded extension modules have access to it.
|
||||
# -prebind is no longer used, because it actually seems to give a
|
||||
# slowdown in stead of a speedup, maybe due to the large number of
|
||||
# dynamic loads Python does.
|
||||
LINKFORSHARED="$extra_undefs -framework System"
|
||||
|
||||
LINKFORSHARED="$extra_undefs"
|
||||
if test "$enable_framework"
|
||||
then
|
||||
LINKFORSHARED="$LINKFORSHARED -Wl,-F. -framework "'$(PYTHONFRAMEWORK)'
|
||||
fi
|
||||
LINKFORSHARED="$LINKFORSHARED $extra_frameworks";;
|
||||
LINKFORSHARED="$LINKFORSHARED";;
|
||||
OpenUNIX*|UnixWare*) LINKFORSHARED="-Wl,-Bexport";;
|
||||
SCO_SV*) LINKFORSHARED="-Wl,-Bexport";;
|
||||
ReliantUNIX*) LINKFORSHARED="-W1 -Blargedynsym";;
|
||||
|
Loading…
Reference in New Issue
Block a user