mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Hopefully fix make framework install on Mac (see 3174)
Removal of the Mac modules broke many of the Mac scripts (including BuildApplet.py) so the building of the Python launcher and IDLE.app was broken. I manually copied built versions of those apps into Mac. Everything else which used Mac modules had to die.
This commit is contained in:
parent
bbfd71d7ac
commit
de9c869fb8
75 changed files with 363 additions and 5710 deletions
28
configure
vendored
28
configure
vendored
|
@ -1,5 +1,5 @@
|
|||
#! /bin/sh
|
||||
# From configure.in Revision: 63697 .
|
||||
# From configure.in Revision: 64085 .
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.61 for python 3.0.
|
||||
#
|
||||
|
@ -1938,8 +1938,6 @@ if test "${enable_framework+set}" = set; then
|
|||
|
||||
ac_config_files="$ac_config_files Mac/PythonLauncher/Makefile"
|
||||
|
||||
ac_config_files="$ac_config_files Mac/IDLE/Makefile"
|
||||
|
||||
ac_config_files="$ac_config_files Mac/Resources/framework/Info.plist"
|
||||
|
||||
ac_config_files="$ac_config_files Mac/Resources/app/Info.plist"
|
||||
|
@ -2021,7 +2019,7 @@ case $ac_sys_system/$ac_sys_release in
|
|||
# On OpenBSD, select(2) is not available if _XOPEN_SOURCE is defined,
|
||||
# even though select is a POSIX function. Reported by J. Ribbens.
|
||||
# Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish.
|
||||
OpenBSD/2.* | OpenBSD/3.[0123456789] | OpenBSD/4.[0])
|
||||
OpenBSD/2.* | OpenBSD/3.[0123456789] | OpenBSD/4.[0123])
|
||||
define_xopen_source=no
|
||||
# OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is
|
||||
# also defined. This can be overridden by defining _BSD_SOURCE
|
||||
|
@ -2073,6 +2071,11 @@ _ACEOF
|
|||
Darwin/[789].*)
|
||||
define_xopen_source=no
|
||||
;;
|
||||
# On QNX 6.3.2, defining _XOPEN_SOURCE prevents netdb.h from
|
||||
# defining NI_NUMERICHOST.
|
||||
QNX/6.3.2)
|
||||
define_xopen_source=no
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
|
@ -3871,6 +3874,10 @@ then
|
|||
LINKCC="\$(srcdir)/Modules/makexp_aix Modules/python.exp $exp_extra \$(LIBRARY); $LINKCC";;
|
||||
Monterey64*)
|
||||
LINKCC="$LINKCC -L/usr/lib/ia64l64";;
|
||||
QNX*)
|
||||
# qcc must be used because the other compilers do not
|
||||
# support -N.
|
||||
LINKCC=qcc;;
|
||||
esac
|
||||
fi
|
||||
{ echo "$as_me:$LINENO: result: $LINKCC" >&5
|
||||
|
@ -5406,6 +5413,7 @@ done
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
for ac_header in asm/types.h conio.h curses.h direct.h dlfcn.h errno.h \
|
||||
|
@ -5416,7 +5424,7 @@ unistd.h utime.h \
|
|||
sys/audioio.h sys/bsdtty.h sys/epoll.h sys/event.h sys/file.h sys/loadavg.h \
|
||||
sys/lock.h sys/mkdev.h sys/modem.h \
|
||||
sys/param.h sys/poll.h sys/select.h sys/socket.h sys/statvfs.h sys/stat.h \
|
||||
sys/time.h \
|
||||
sys/termio.h sys/time.h \
|
||||
sys/times.h sys/types.h sys/un.h sys/utsname.h sys/wait.h pty.h libutil.h \
|
||||
sys/resource.h netpacket/packet.h sysexits.h bluetooth.h \
|
||||
bluetooth/bluetooth.h linux/tipc.h
|
||||
|
@ -12891,7 +12899,7 @@ then
|
|||
fi
|
||||
fi
|
||||
;;
|
||||
Linux*|GNU*) LDSHARED='$(CC) -shared';;
|
||||
Linux*|GNU*|QNX*) LDSHARED='$(CC) -shared';;
|
||||
BSD/OS*/4*) LDSHARED="gcc -shared";;
|
||||
FreeBSD*)
|
||||
if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
|
||||
|
@ -13019,6 +13027,13 @@ then
|
|||
then
|
||||
LINKFORSHARED='-Wl,--out-implib=$(LDLIBRARY)'
|
||||
fi;;
|
||||
QNX*)
|
||||
# -Wl,-E causes the symbols to be added to the dynamic
|
||||
# symbol table so that they can be found when a module
|
||||
# is loaded. -N 2048K causes the stack size to be set
|
||||
# to 2048 kilobytes so that the stack doesn't overflow
|
||||
# when running test_compile.py.
|
||||
LINKFORSHARED='-Wl,-E -N 2048K';;
|
||||
esac
|
||||
fi
|
||||
{ echo "$as_me:$LINENO: result: $LINKFORSHARED" >&5
|
||||
|
@ -24736,7 +24751,6 @@ do
|
|||
"pyconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS pyconfig.h" ;;
|
||||
"Mac/Makefile") CONFIG_FILES="$CONFIG_FILES Mac/Makefile" ;;
|
||||
"Mac/PythonLauncher/Makefile") CONFIG_FILES="$CONFIG_FILES Mac/PythonLauncher/Makefile" ;;
|
||||
"Mac/IDLE/Makefile") CONFIG_FILES="$CONFIG_FILES Mac/IDLE/Makefile" ;;
|
||||
"Mac/Resources/framework/Info.plist") CONFIG_FILES="$CONFIG_FILES Mac/Resources/framework/Info.plist" ;;
|
||||
"Mac/Resources/app/Info.plist") CONFIG_FILES="$CONFIG_FILES Mac/Resources/app/Info.plist" ;;
|
||||
"Makefile.pre") CONFIG_FILES="$CONFIG_FILES Makefile.pre" ;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue