* 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?

--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to