* modules/stdarg (configure.ac-early): Require AC_PROG_CC_STDC.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 5 Feb 2007 00:20:04 +0000 (00:20 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 5 Feb 2007 00:20:04 +0000 (00:20 +0000)
ChangeLog
modules/stdarg

index 454adff..0d78b98 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-02-04  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/stdarg (configure.ac-early): Require AC_PROG_CC_STDC.
+
 2007-02-04  Bruno Haible  <bruno@clisp.org>
 
        New module description section 'configure.ac-early'.
index 01acff8..48febb2 100644 (file)
@@ -6,6 +6,13 @@ m4/stdarg.m4
 
 Depends-on:
 
+configure.ac-early:
+dnl Some compilers (e.g., AIX 5.3 cc) need to be in c99 mode
+dnl for the builtin va_copy to work.  With Autoconf 2.60 or later,
+dnl AC_PROG_CC_STDC arranges for this.  With older Autoconf AC_PROG_CC_STDC
+dnl shouldn't hurt, though installers are on their own to set c99 mode.
+AC_REQUIRE([AC_PROG_CC_STDC])
+
 configure.ac:
 gl_STDARG_H