changeset 13485:4098b5bb6242

mbrtowc: Fix cross-compilation guess for AIX.
author Bruno Haible <bruno@clisp.org>
date Fri, 30 Jul 2010 10:56:07 +0200
parents 58e91410e794
children 8524cbf0a405
files ChangeLog m4/mbrtowc.m4
diffstat 2 files changed, 11 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-07-30  Bruno Haible  <bruno@clisp.org>
+
+	mbrtowc: Fix cross-compilation guess for AIX.
+	* m4/mbrtowc.m4 (gl_MBRTOWC_INCOMPLETE_STATE): Fix cross-compilation
+	guess. Leftover from 2008-12-21.
+
 2010-07-29  Peter O'Gorman  <pogma@thewrittenword.com>  (tiny change)
 
 	init.sh: work around trap limitation of some shells
--- a/m4/mbrtowc.m4
+++ b/m4/mbrtowc.m4
@@ -1,4 +1,4 @@
-# mbrtowc.m4 serial 17
+# mbrtowc.m4 serial 18
 dnl Copyright (C) 2001-2002, 2004-2005, 2008-2010 Free Software Foundation,
 dnl Inc.
 dnl This file is free software; the Free Software Foundation
@@ -101,10 +101,10 @@
       dnl is present.
 changequote(,)dnl
       case "$host_os" in
-              # Guess no on AIX and OSF/1.
-        osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
-              # Guess yes otherwise.
-        *)    gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
+                     # Guess no on AIX and OSF/1.
+        aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
+                     # Guess yes otherwise.
+        *)           gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
       esac
 changequote([,])dnl
       if test $LOCALE_JA != none; then