Ver código fonte

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.
Guillem Jover 15 anos atrás
pai
commit
c90b620cd8
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      configure.ac

+ 2 - 1
configure.ac

@@ -7,7 +7,6 @@ AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_AUX_DIR([build-aux])
 
 
 AC_USE_SYSTEM_EXTENSIONS
 AC_USE_SYSTEM_EXTENSIONS
-DPKG_ARCHITECTURE
 
 
 AM_INIT_AUTOMAKE([1.8 foreign nostdinc])
 AM_INIT_AUTOMAKE([1.8 foreign nostdinc])
 
 
@@ -89,10 +88,12 @@ AC_CHECK_FUNCS([strtoul strtoimax isascii bcopy memcpy setsid getdtablesize \
 
 
 DPKG_MMAP
 DPKG_MMAP
 
 
+# Checks for the build machinery.
 AC_DEFINE(LIBDPKG_VOLATILE_API, 1, [Acknowledge the volatility of the API.])
 AC_DEFINE(LIBDPKG_VOLATILE_API, 1, [Acknowledge the volatility of the API.])
 DPKG_COMPILER_WARNINGS
 DPKG_COMPILER_WARNINGS
 DPKG_COMPILER_OPTIMISATIONS
 DPKG_COMPILER_OPTIMISATIONS
 DPKG_LINKER_OPTIMISATIONS
 DPKG_LINKER_OPTIMISATIONS
+DPKG_ARCHITECTURE
 
 
 AC_CONFIG_FILES([ Makefile
 AC_CONFIG_FILES([ Makefile
 		  dpkg-deb/Makefile
 		  dpkg-deb/Makefile