+2010-04-10 Bruno Haible <address@hidden>
+
+ fchownat: Fix a C++ test error on Solaris 8.
+ * m4/openat.m4 (gl_FUNC_FCHOWNAT): Don't set REPLACE_FCHOWNAT to 1 if
+ the function does not exist.
+
2010-04-10 Bruno Haible <bruno@clisp.org>
vasnprintf: Add more tests.
-# serial 27
+# serial 28
# See if we need to use our replacement for Solaris' openat et al functions.
dnl Copyright (C) 2004-2010 Free Software Foundation, Inc.
AC_CHECK_FUNC([fchownat],
[gl_FUNC_FCHOWNAT_DEREF_BUG([REPLACE_FCHOWNAT=1
AC_DEFINE([FCHOWNAT_NOFOLLOW_BUG], [1], [Define to 1 if your
- platform has fchownat, but it cannot perform lchown tasks.])])],
+ platform has fchownat, but it cannot perform lchown tasks.])
+ if test $REPLACE_CHOWN = 1; then
+ REPLACE_FCHOWNAT=1
+ fi])],
[HAVE_FCHOWNAT=0])
- if test $REPLACE_CHOWN = 1; then
- REPLACE_FCHOWNAT=1
- fi
if test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1; then
AC_LIBOBJ([fchownat])
fi