Weird bug: Depending on compiler optimization flags, a working iconv() implementation would not be recognized as working.
2007-05-27 Bruno Haible <[EMAIL PROTECTED]> * m4/iconv.m4 (AM_ICONV_LINK): Fix 2007-03-31 patch. --- m4/iconv.m4 31 Mar 2007 20:31:44 -0000 1.12 +++ m4/iconv.m4 28 May 2007 00:28:06 -0000 @@ -1,4 +1,4 @@ -# iconv.m4 serial AM5 (gettext-0.16.2) +# iconv.m4 serial AM6 (gettext-0.16.2) dnl Copyright (C) 2000-2002, 2007 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -117,6 +117,7 @@ && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) /* Try HP-UX names. */ && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) + return 1; return 0; }], [am_cv_func_iconv_works=yes], [am_cv_func_iconv_works=no], [case "$host_os" in