The following commit has been merged in the master branch:
commit e74a1a27f90e07a47bb9a42bf8d769061b7b3707
Author: Guillem Jover <[email protected]>
Date: Tue Sep 29 13:54:24 2009 +0200
build: Add more options to try to get support for C99 extensions
Taken from autoconf.
diff --git a/m4/compiler.m4 b/m4/compiler.m4
index ca32c73..901d844 100644
--- a/m4/compiler.m4
+++ b/m4/compiler.m4
@@ -91,7 +91,8 @@ AS_IF([test "x$dpkg_cv_c99" = "xyes"],
[dpkg_cv_c99_arg],
[dpkg_cv_c99_arg=none
dpkg_save_CC="$CC"
- for arg in "-std=gnu99" "-std=c99" "-c99"; do
+ for arg in "-std=gnu99" "-std=c99" "-c99" "-AC99" \
+ "-xc99=all" "-qlanglvl=extc99"; do
CC="$dpkg_save_CC $arg"
DPKG_TRY_C99([dpkg_arg_worked=yes], [dpkg_arg_worked=no])
CC="$dpkg_save_CC"
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]