]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid autoconf warnings about AM_ICONV.
authorBruno Haible <bruno@clisp.org>
Sun, 16 May 2010 21:48:16 +0000 (23:48 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 16 May 2010 21:48:16 +0000 (23:48 +0200)
gettext-runtime/m4/ChangeLog
gettext-runtime/m4/iconv.m4

index 96fc18ef3cbdc8c29a32c93d8e8c5e13798eb8fe..c6628c10f3ed12dc8954a6425909b93bc9852d80 100644 (file)
@@ -1,3 +1,8 @@
+2010-05-16  Bruno Haible  <bruno@clisp.org>
+
+       Avoid autoconf warnings about AM_ICONV.
+       * iconv.m4 (AM_ICONV): Define using AM_DEFUN_ONCE for autoconf >= 2.64.
+
 2010-05-09  Bruno Haible  <bruno@clisp.org>
 
        * gettext-0.18 released.
index f46ff1421541e2a8b0bef692bc3299a902f5226d..4c68472135e3a9fc323989f252708d9c4d30118b 100644 (file)
@@ -1,4 +1,4 @@
-# iconv.m4 serial 9 (gettext-0.18)
+# iconv.m4 serial 10 (gettext-0.18.1)
 dnl Copyright (C) 2000-2002, 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,
@@ -170,7 +170,10 @@ int main ()
   AC_SUBST([LTLIBICONV])
 ])
 
-AC_DEFUN([AM_ICONV],
+dnl Define AM_ICONV using AC_DEFUN_ONCE for Autoconf >= 2.64, in order to
+dnl avoid warnings like
+dnl "warning: AC_REQUIRE: `AM_ICONV' was expanded before it was required".
+m4_version_prereq([2.64],[AC_DEFUN_ONCE],[AC_DEFUN])([AM_ICONV],
 [
   AM_ICONV_LINK
   if test "$am_cv_func_iconv" = yes; then