]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Tweak for AIX 3.2.5.
authorBruno Haible <bruno@clisp.org>
Tue, 17 Apr 2001 19:39:07 +0000 (19:39 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 17 Apr 2001 19:39:07 +0000 (19:39 +0000)
m4/ChangeLog
m4/mbswidth.m4

index 1fb11f1593390426ce28dffb2d82effe9b383827..4ab016ebf515bffac61647ead5966317e1043435 100644 (file)
@@ -1,3 +1,8 @@
+2001-04-17  Bruno Haible  <haible@clisp.cons.org>
+
+       * mbswidth.m4: Also include <string.h>; this is where AIX 3.2.5
+       declares wcwidth.
+
 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
 
        * gettext.m4: Workaround an automake-1.4 bug: Don't write
index 0c6f4cb4032858537390b3d3dd40b938650fbe6c..aae79fa3a20d83578f4ab10863ff34c8bf86556c 100644 (file)
@@ -12,6 +12,10 @@ AC_DEFUN(jm_PREREQ_MBSWIDTH,
 
   AC_CACHE_CHECK([whether wcwidth is declared], ac_cv_have_decl_wcwidth,
     [AC_TRY_COMPILE([
+dnl AIX 3.2.5 declares wcwidth in <string.h>.
+#if HAVE_STRING_H
+# include <string.h>
+#endif
 #if HAVE_WCHAR_H
 # include <wchar.h>
 #endif