From: Paul Eggert Date: Mon, 5 Feb 2007 00:20:04 +0000 (+0000) Subject: * modules/stdarg (configure.ac-early): Require AC_PROG_CC_STDC. X-Git-Tag: cvs-readonly~1138 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;ds=sidebyside;h=580f477f1e7ecc74f4ba8803f3e4e5c8ac6b0132;p=gnulib.git * modules/stdarg (configure.ac-early): Require AC_PROG_CC_STDC. --- diff --git a/ChangeLog b/ChangeLog index 454adff03..0d78b986a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-02-04 Paul Eggert + + * modules/stdarg (configure.ac-early): Require AC_PROG_CC_STDC. + 2007-02-04 Bruno Haible New module description section 'configure.ac-early'. diff --git a/modules/stdarg b/modules/stdarg index 01acff89a..48febb28d 100644 --- a/modules/stdarg +++ b/modules/stdarg @@ -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