+2010-07-30 Bruno Haible <bruno@clisp.org>
+
+ strndup: Update regarding AIX.
+ * m4/strndup.m4 (gl_FUNC_STRNDUP): When cross-compiling, guess yes on
+ AIX 7.
+ Reported by Rainer Tammer.
+
2010-07-30 Bruno Haible <bruno@clisp.org>
stat: Update regarding AIX.
-# strndup.m4 serial 17
+# strndup.m4 serial 18
dnl Copyright (C) 2002-2003, 2005-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,
return s[13] != '\0';]])],
[gl_cv_func_strndup_works=yes],
[gl_cv_func_strndup_works=no],
- [case $host_os in
- aix*) gl_cv_func_strndup_works="guessing no";;
- *) gl_cv_func_strndup_works="guessing yes";;
- esac])])
+ [
+changequote(,)dnl
+ case $host_os in
+ aix | aix[3-6]*) gl_cv_func_strndup_works="guessing no";;
+ *) gl_cv_func_strndup_works="guessing yes";;
+ esac
+changequote([,])dnl
+ ])])
case $gl_cv_func_strndup_works in
*no)
REPLACE_STRNDUP=1