From 580f477f1e7ecc74f4ba8803f3e4e5c8ac6b0132 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 5 Feb 2007 00:20:04 +0000 Subject: [PATCH] * modules/stdarg (configure.ac-early): Require AC_PROG_CC_STDC. --- ChangeLog | 4 ++++ modules/stdarg | 7 +++++++ 2 files changed, 11 insertions(+) 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 -- 2.11.0