The logs say: configure:53029: checking whether symlink handles trailing slash correctly configure:53051: xlc -o conftest -g -D_THREAD_SAFE conftest.c >&5 configure:53051: $? = 0 configure:53051: ./conftest configure:53051: $? = 1 configure: program exited with status 1
gl_cv_func_symlink_works=${gl_cv_func_symlink_works=no} 2010-07-30 Bruno Haible <br...@clisp.org> symlink: Update regarding AIX. * doc/posix-functions/symlink.texi: Mention bug on AIX 7.1. * m4/symlink.m4 (gl_FUNC_SYMLINK): Update comment. Reported by Rainer Tammer. --- doc/posix-functions/symlink.texi.orig Fri Jul 30 21:23:04 2010 +++ doc/posix-functions/symlink.texi Fri Jul 30 12:52:36 2010 @@ -11,7 +11,7 @@ @item On some systems, @code{symlink(value,"name/")} mistakenly creates a symlink: -FreeBSD 7.2, Solaris 9 +FreeBSD 7.2, AIX 7.1, Solaris 9. @item This function is missing on some platforms; however, the replacement always fails with @code{EPERM}: --- m4/symlink.m4.orig Fri Jul 30 21:23:04 2010 +++ m4/symlink.m4 Fri Jul 30 12:53:31 2010 @@ -1,4 +1,4 @@ -# serial 2 +# serial 3 # See if we need to provide symlink replacement. dnl Copyright (C) 2009, 2010 Free Software Foundation, Inc. @@ -13,8 +13,8 @@ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_CHECK_FUNCS_ONCE([symlink]) dnl The best we can do on mingw is provide a dummy that always fails, so - dnl that compilation can proceed with fewer ifdefs. On Solaris 9 and - dnl FreeBSD 7.2, we want to fix a bug with trailing slash handling. + dnl that compilation can proceed with fewer ifdefs. On FreeBSD 7.2, AIX 7.1, + dnl and Solaris 9, we want to fix a bug with trailing slash handling. if test $ac_cv_func_symlink = no; then HAVE_SYMLINK=0 AC_LIBOBJ([symlink])