The following commit has been merged in the master branch:
commit 2496b63475f9c69f42b44c0673482fc57a616283
Author: Guillem Jover <[email protected]>
Date:   Tue Sep 29 13:59:30 2009 +0200

    build: Abort if there is no support for the required C99 extensions

diff --git a/debian/changelog b/debian/changelog
index 04ef0ea..c74220b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,7 @@ dpkg (1.15.5) UNRELEASED; urgency=low
     Thanks to Jonathan Nieder <[email protected]>.
   * On ‘dpkg-trigger --help’ print the default admindir instead of the one
     passed on the command line.
+  * Abort on configure if the required C99 extensions are not supported.
 
   [ Raphaël Hertzog ]
   * Add versioned dependency on base-files (>= 5.0.0) to dpkg-dev to ensure
diff --git a/m4/compiler.m4 b/m4/compiler.m4
index 901d844..c14290f 100644
--- a/m4/compiler.m4
+++ b/m4/compiler.m4
@@ -102,6 +102,7 @@ AS_IF([test "x$dpkg_cv_c99" = "xyes"],
                 done])
         AS_IF([test "x$dpkg_cv_c99_arg" != "xnone"],
               [CC="$CC $dpkg_cv_c99_arg"
-               AC_DEFINE([HAVE_C99], 1)])])[]dnl
+               AC_DEFINE([HAVE_C99], 1)],
+              [AC_MSG_ERROR([unsupported required C99 extensions])])])[]dnl
 ])# DPKG_C_C99
 

-- 
dpkg's main repository


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

Reply via email to