iconv: Update regarding AIX.
authorBruno Haible <bruno@clisp.org>
Fri, 30 Jul 2010 19:00:18 +0000 (21:00 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 30 Jul 2010 19:00:18 +0000 (21:00 +0200)
ChangeLog
m4/iconv.m4

index f533983..757a48a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2010-07-30  Bruno Haible  <bruno@clisp.org>
 
+       iconv: Update regarding AIX.
+       * m4/iconv.m4 (AM_ICONV_LINK): When cross-compiling, guess yes on
+       AIX 7.
+       Reported by Rainer Tammer.
+
+2010-07-30  Bruno Haible  <bruno@clisp.org>
+
        getopt: Update regarding AIX.
        * m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): When cross-compiling, guess
        no on AIX.
index e2041b9..f3c2ce8 100644 (file)
@@ -1,4 +1,4 @@
-# iconv.m4 serial 11 (gettext-0.18.1)
+# iconv.m4 serial 11a
 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,
@@ -139,10 +139,14 @@ int main ()
     return 1;
   return 0;
 }], [am_cv_func_iconv_works=yes], [am_cv_func_iconv_works=no],
-        [case "$host_os" in
-           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
-           *)            am_cv_func_iconv_works="guessing yes" ;;
-         esac])
+        [
+changequote(,)dnl
+         case "$host_os" in
+           aix | aix[3-6]* | hpux*) am_cv_func_iconv_works="guessing no" ;;
+           *)                       am_cv_func_iconv_works="guessing yes" ;;
+         esac
+changequote([,])dnl
+        ])
       LIBS="$am_save_LIBS"
     ])
     case "$am_cv_func_iconv_works" in