The logs say: configure:44820: checking whether rename honors trailing slash on destination configure:44854: xlc -o conftest -g -D_THREAD_SAFE conftest.c >&5 configure:44854: $? = 0 configure:44854: ./conftest configure:44854: $? = 1 configure: program exited with status 1
gl_cv_func_rename_slash_dst_works=${gl_cv_func_rename_slash_dst_works=no} gl_cv_func_rename_slash_src_works=${gl_cv_func_rename_slash_src_works=no} 2010-07-30 Bruno Haible <br...@clisp.org> rename: Update regarding AIX. * doc/posix-functions/rename.texi: Mention bug on AIX 7.1. * m4/rename.m4 (gl_FUNC_RENAME): Update comment. Reported by Rainer Tammer. --- doc/posix-functions/rename.texi.orig Fri Jul 30 21:06:35 2010 +++ doc/posix-functions/rename.texi Fri Jul 30 12:13:23 2010 @@ -15,7 +15,7 @@ @item This function does not reject trailing slashes on the destination for non-directories on some platforms, as in @code{rename("file","new/")}: -Solaris 10, Cygwin 1.5.x, mingw. +AIX 7.1, Solaris 10, Cygwin 1.5.x, mingw. @item This function does not reject trailing slashes on symlinks to non-directories on some platforms, as in --- m4/rename.m4.orig Fri Jul 30 21:06:35 2010 +++ m4/rename.m4 Fri Jul 30 21:06:32 2010 @@ -1,4 +1,4 @@ -# serial 21 +# serial 22 # Copyright (C) 2001, 2003, 2005-2006, 2009-2010 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation @@ -19,7 +19,7 @@ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) AC_CHECK_FUNCS_ONCE([lstat]) - dnl Solaris 10 mistakenly allows rename("file","name/"). + dnl Solaris 10, AIX 7.1 mistakenly allow rename("file","name/"). dnl NetBSD 1.6 mistakenly forbids rename("dir","name/"). dnl FreeBSD 7.2 mistakenly allows rename("file","link-to-file/"). dnl The Solaris bug can be worked around without stripping