Index: configure.in =================================================================== --- configure.in (revision 73305) +++ configure.in (working copy) @@ -107,7 +107,7 @@ UNIVERSAL_ARCHS="32-bit" AC_MSG_CHECKING(for --with-universal-archs) AC_ARG_WITH(universal-archs, - AC_HELP_STRING(--with-universal-archs=ARCH, select architectures for universal build ("32-bit", "64-bit" or "all")), + AC_HELP_STRING(--with-universal-archs=ARCH, select architectures for universal build ("intel", "32-bit", "64-bit" or "all")), [ AC_MSG_RESULT($withval) UNIVERSAL_ARCHS="$withval" @@ -957,6 +957,10 @@ elif test "$UNIVERSAL_ARCHS" = "64-bit" ; then UNIVERSAL_ARCH_FLAGS="-arch ppc64 -arch x86_64" + elif test "$UNIVERSAL_ARCHS" = "intel" ; then + UNIVERSAL_ARCH_FLAGS="-arch i386 -arch x86_64" + ARCH_RUN_32BIT="arch -i386" + elif test "$UNIVERSAL_ARCHS" = "all" ; then UNIVERSAL_ARCH_FLAGS="-arch i386 -arch ppc -arch ppc64 -arch x86_64" ARCH_RUN_32BIT="arch -i386 -ppc" Index: Doc/distutils/apiref.rst =================================================================== --- Doc/distutils/apiref.rst (revision 73302) +++ Doc/distutils/apiref.rst (working copy) @@ -1097,6 +1097,12 @@ for 64-bit universal binaries the architecture is ``fat64``, and for 4-way universal binaries the architecture is ``universal``. + .. versionadded: 2.7 + + As of version 2.7 there is a new architecture for MacOSX: + ``intel`` is used for a universal binary with 32-bit and 64-bit + intel code. + Examples of returned values on Mac OS X: * ``macosx-10.3-ppc`` @@ -1104,6 +1110,8 @@ * ``macosx-10.3-fat`` * ``macosx-10.5-universal`` + + * ``macosx-10.5-intel`` .. % XXX isn't this also provided by some other non-distutils module?