On Dec 19, 2012, at 12:50 PM, Jakub Wilk wrote: >* Barry Warsaw <ba...@python.org>, 2012-12-14, 16:29: >>++dnl Debian multiarch support in sys.implementation._architecture >>++dnl Try `dpkg-architecture -qDEB_BUILD_MULTIARCH` first, then >>++dnl `gcc --print-multiarch`. >>++AC_SUBST(MULTIARCH_BUILD) >>++AC_CHECK_PROG(HAS_DPKG_ARCHITECTURE, dpkg-architecture, found, not-found) >>++if test $HAS_DPKG_ARCHITECTURE = found >>++then >>++ MULTIARCH_BUILD="dpkg-architecture -qDEB_BUILD_MULTIARCH" >>++else >>++ AC_CHECK_PROG(HAS_GCC_FOR_ARCH, gcc, found, not-found) >>++ if test $HAS_GCC_FOR_ARCH = found >>++ then >>++ MULTIARCH_BUILD="gcc --print-multiarch" >>++ else >>++ MULTIARCH_BUILD="" >>++ fi >>++fi > >s/DEB_BUILD_MULTIARCH/DEB_HOST_MULTIARCH/ presumably?
Yes, I think you're right. Thanks. (Does it make sense to expose the other dpkg-architecture stuff, or should we just keep it simple?)
signature.asc
Description: PGP signature