changeset 8875:736b37ab3c5b

Fix bug introduced on 2007-03-31.
author Bruno Haible <bruno@clisp.org>
date Mon, 28 May 2007 00:28:54 +0000
parents d0bb3e532814
children b80fefef40b5
files ChangeLog m4/iconv.m4
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-05-27  Bruno Haible  <bruno@clisp.org>
+
+	* m4/iconv.m4 (AM_ICONV_LINK): Fix 2007-03-31 patch.
+
 2007-05-27  Bruno Haible  <bruno@clisp.org>
 
 	* modules/openmp: New file.
--- a/m4/iconv.m4
+++ b/m4/iconv.m4
@@ -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