(original) (raw)

diff -c -r Python-2.3.3-orig/Mac/Modules/macosmodule.c Python-2.3.3/Mac/Modules/macosmodule.c *** Python-2.3.3-orig/Mac/Modules/macosmodule.c Wed Mar 19 23:51:42 2003 --- Python-2.3.3/Mac/Modules/macosmodule.c Fri Jan 2 18:51:03 2004 *************** *** 535,541 **** if (!PyArg_ParseTuple(args, "")) return NULL; if (!rv) { ! #if TARGET_API_MAC_OSX ProcessSerialNumber psn; /* --- 535,541 ---- if (!PyArg_ParseTuple(args, "")) return NULL; if (!rv) { ! #if TARGET_API_MAC_OSX && defined(MAC_OS_X_VERSION_MAX_ALLOWED) && MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_1 ProcessSerialNumber psn; /* diff -c -r Python-2.3.3-orig/Mac/OSX/Makefile Python-2.3.3/Mac/OSX/Makefile *** Python-2.3.3-orig/Mac/OSX/Makefile Tue Nov 4 23:45:16 2003 --- Python-2.3.3/Mac/OSX/Makefile Fri Jan 2 19:00:29 2004 *************** *** 11,19 **** DESTDIR= # For 10.2: - #PBXBUILD=pbxbuild # For 10.3: PBXBUILD=xcodebuild # These are normally glimpsed from the previous set bindir=/usr/local/bin --- 11,22 ---- DESTDIR= # For 10.2: # For 10.3: + ifeq ($(shell ls /usr/bin/xcodebuild),/usr/bin/xcodebuild) PBXBUILD=xcodebuild + else + PBXBUILD=pbxbuild + endif # These are normally glimpsed from the previous set bindir=/usr/local/bin