The following commit has been merged in the master branch:
commit 942ff5d35ada01423ed52a62cc8a1f8fc8cd6428
Author: Guillem Jover <[email protected]>
Date:   Wed Oct 12 09:45:21 2011 +0200

    build: Error out if the pkg-config m4 macros are missing on autoreconf
    
    Reported-by: Cyril Brulebois <[email protected]>

diff --git a/m4/dpkg-libs.m4 b/m4/dpkg-libs.m4
index 1d9803e..8a3134b 100644
--- a/m4/dpkg-libs.m4
+++ b/m4/dpkg-libs.m4
@@ -54,6 +54,7 @@ AC_DEFUN([DPKG_LIB_BZ2], [
 # Check for selinux library.
 AC_DEFUN([DPKG_LIB_SELINUX], [
 AC_REQUIRE([PKG_PROG_PKG_CONFIG])
+m4_ifndef([PKG_PROG_PKG_CONFIG], [m4_fatal([missing pkg-config macros])])
 AC_ARG_VAR([SELINUX_LIBS], [linker flags for selinux library])dnl
 AC_ARG_WITH(selinux,
        AS_HELP_STRING([--with-selinux],

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to