The following commit has been merged in the master branch: commit c90b620cd8c2836a3f5058dfa1527f9d7b5cf46e Author: Guillem Jover <guil...@debian.org> Date: Sat Jul 30 18:14:27 2011 +0200
build: Move DPKG_ARCHITECTURE macro call to the end This puts together all build machinery checks, and will allow DPKG_ARCHITECTURE to use the detected perl interpreter w/o needing to call DPKG_PROG_PERL really early in the configure script. diff --git a/configure.ac b/configure.ac index 8079f36..c844b3b 100644 --- a/configure.ac +++ b/configure.ac @@ -7,7 +7,6 @@ AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_AUX_DIR([build-aux]) AC_USE_SYSTEM_EXTENSIONS -DPKG_ARCHITECTURE AM_INIT_AUTOMAKE([1.8 foreign nostdinc]) @@ -89,10 +88,12 @@ AC_CHECK_FUNCS([strtoul strtoimax isascii bcopy memcpy setsid getdtablesize \ DPKG_MMAP +# Checks for the build machinery. AC_DEFINE(LIBDPKG_VOLATILE_API, 1, [Acknowledge the volatility of the API.]) DPKG_COMPILER_WARNINGS DPKG_COMPILER_OPTIMISATIONS DPKG_LINKER_OPTIMISATIONS +DPKG_ARCHITECTURE AC_CONFIG_FILES([ Makefile dpkg-deb/Makefile -- dpkg's main repository -- To UNSUBSCRIBE, email to debian-dpkg-cvs-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org