wcwidth: Drop replacement on AIX 7.
authorBruno Haible <bruno@clisp.org>
Fri, 30 Jul 2010 19:40:29 +0000 (21:40 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 30 Jul 2010 19:40:29 +0000 (21:40 +0200)
ChangeLog
m4/wcwidth.m4

index 78d3b35fb4adb6a6f5f7da9cfa27f9a1edf9dfea..53cc2aed50a6ebf79a47aee1e7b06eddcd01e206 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-07-30  Bruno Haible  <bruno@clisp.org>
+
+       wcwidth: Drop replacement on AIX 7.
+       * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): When cross-compiling, guess yes on
+       AIX 7.
+       Reported by Rainer Tammer.
+
 2010-07-30  Bruno Haible  <bruno@clisp.org>
 
        strtok_r: Avoid triggering bug in AIX 7.1 xlc compiler.
index acceba5477ce7f1cb271896edade66821a36866b..ad5c6cc8e94e6a424eb6f9c17aaa2972217a8273 100644 (file)
@@ -1,4 +1,4 @@
-# wcwidth.m4 serial 16
+# wcwidth.m4 serial 17
 dnl Copyright (C) 2006-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,
@@ -70,9 +70,9 @@ int main ()
           [
 changequote(,)dnl
            case "$host_os" in
-                     # Guess yes on glibc systems.
-             *-gnu*) gl_cv_func_wcwidth_works="guessing yes";;
-             *)      gl_cv_func_wcwidth_works="guessing no";;
+                     # Guess yes on glibc and AIX 7 systems.
+             *-gnu* | aix[7-9]*) gl_cv_func_wcwidth_works="guessing yes";;
+             *)                  gl_cv_func_wcwidth_works="guessing no";;
            esac
 changequote([,])dnl
           ])