changeset 8080:65b4c7cab50b

* modules/stdarg (configure.ac-early): Require AC_PROG_CC_STDC.
author Paul Eggert <eggert@cs.ucla.edu>
date Mon, 05 Feb 2007 00:20:04 +0000
parents 0951beec5b89
children 8ce766348335
files ChangeLog modules/stdarg
diffstat 2 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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'.
--- a/modules/stdarg
+++ b/modules/stdarg
@@ -6,6 +6,13 @@
 
 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