bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iconv on AIX 7.1BETA


From: Bruno Haible
Subject: iconv on AIX 7.1BETA
Date: Fri, 30 Jul 2010 21:02:54 +0200
User-agent: KMail/1.9.9

The logs say:

checking for working iconv... yes

am_cv_func_iconv_works=${am_cv_func_iconv_works=yes}

But they also say

checking whether iconv supports conversion between UTF-8 and 
UTF-{16,32}{BE,LE}... no

so the iconv() being used must be the system iconv(), not GNU libiconv.


2010-07-30  Bruno Haible  <address@hidden>

        iconv: Update regarding AIX.
        * m4/iconv.m4 (AM_ICONV_LINK): When cross-compiling, guess yes on
        AIX 7.
        Reported by Rainer Tammer.

--- m4/iconv.m4.orig    Fri Jul 30 20:58:29 2010
+++ m4/iconv.m4 Fri Jul 30 20:58:27 2010
@@ -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 @@
     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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]