diff options
| author | Ronald Oussoren <ronaldoussoren@mac.com> | 2010-02-11 13:26:54 +0000 |
|---|---|---|
| committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2010-02-11 13:26:54 +0000 |
| commit | bc0e83c2b9a0307cd57bf48e9d99897205a86491 (patch) | |
| tree | 35d80ebc4e8d6d68158b12078eee67d569eb2c3d /configure.in | |
| parent | 9922f178d3d34b2cd2191f21fdfc95e34da8008c (diff) | |
| download | cpython-git-bc0e83c2b9a0307cd57bf48e9d99897205a86491.tar.gz | |
Finish fix for issue 7715, after explicit search for calls to `arch`
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.in b/configure.in index 6f317c87bf..84a6d9cacc 100644 --- a/configure.in +++ b/configure.in @@ -991,7 +991,7 @@ yes) cur_target='10.5' fi else - if test `arch` = "i386"; then + if test `/usr/bin/arch` = "i386"; then # On Intel macs default to a deployment # target of 10.4, that's the first OSX # release with Intel support. @@ -1615,7 +1615,7 @@ case $ac_sys_system/$ac_sys_release in if test "${enable_universalsdk}"; then : else - LIBTOOL_CRUFT="${LIBTOOL_CRUFT} -arch_only `arch`" + LIBTOOL_CRUFT="${LIBTOOL_CRUFT} -arch_only `/usr/bin/arch`" fi LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)' LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';; @@ -1642,7 +1642,7 @@ case $ac_sys_system/$ac_sys_release in ac_osx_32bit=yes) if test "${ac_osx_32bit}" = "yes"; then - case `arch` in + case `/usr/bin/arch` in i386) MACOSX_DEFAULT_ARCH="i386" ;; @@ -1654,7 +1654,7 @@ case $ac_sys_system/$ac_sys_release in ;; esac else - case `arch` in + case `/usr/bin/arch` in i386) MACOSX_DEFAULT_ARCH="x86_64" ;; |
