From: Jim Meyering Date: Thu, 10 Jun 2010 13:21:09 +0000 (+0200) Subject: printf.m4: avoid autoconf's "Expanded Before Required" warning X-Git-Tag: v0.1~4083 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=ee9faa0f2ee44b45ecddbe513c4c5f206552b708;p=gnulib.git printf.m4: avoid autoconf's "Expanded Before Required" warning * m4/printf.m4 (gl_SNPRINTF_RETVAL_C99): Define using AC_DEFUN_ONCE, rather than AC_DEFUN, to avoid the classic "Expanded Before Required" autoconf warning. --- diff --git a/ChangeLog b/ChangeLog index cb3033600..0e27cc7ac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-06-11 Jim Meyering + + printf.m4: avoid autoconf's "Expanded Before Required" warning + * m4/printf.m4 (gl_SNPRINTF_RETVAL_C99): Define using AC_DEFUN_ONCE, + rather than AC_DEFUN, to avoid the classic "Expanded Before Required" + autoconf warning. + 2010-06-10 Ben Pfaff Replacement header templates are now named with ".in", not "_". diff --git a/m4/printf.m4 b/m4/printf.m4 index ebca5364c..b31efe3e7 100644 --- a/m4/printf.m4 +++ b/m4/printf.m4 @@ -1,4 +1,4 @@ -# printf.m4 serial 33 +# printf.m4 serial 34 dnl Copyright (C) 2003, 2007-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -1101,7 +1101,7 @@ dnl } dnl --------------------------------------------------------------------- dnl Result is gl_cv_func_snprintf_retval_c99. -AC_DEFUN([gl_SNPRINTF_RETVAL_C99], +AC_DEFUN_ONCE([gl_SNPRINTF_RETVAL_C99], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles