From a928296365d738cec9094ea13378c76f83a4c89b Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Thu, 3 Sep 2009 22:49:58 -0600 Subject: [PATCH] faccessat: compile replacement * m4/faccessat.m4 (gl_FUNC_FACCESSAT): Build replacement when needed. Signed-off-by: Eric Blake --- ChangeLog | 4 ++++ m4/faccessat.m4 | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 07fd1fe1ad..58a4b35085 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2009-09-03 Eric Blake + faccessat: compile replacement + * m4/faccessat.m4 (gl_FUNC_FACCESSAT): Build replacement when + needed. + fts: fix compilation error * lib/fts.c (includes): Re-add "openat.h", for openat_needs_fchdir. diff --git a/m4/faccessat.m4 b/m4/faccessat.m4 index f21dc13eed..250d97b1ec 100644 --- a/m4/faccessat.m4 +++ b/m4/faccessat.m4 @@ -1,4 +1,4 @@ -# serial 1 +# serial 2 # See if we need to provide faccessat replacement. dnl Copyright (C) 2009 Free Software Foundation, Inc. @@ -17,5 +17,6 @@ AC_DEFUN([gl_FUNC_FACCESSAT], AC_CHECK_FUNCS_ONCE([faccessat]) if test $ac_cv_func_faccessat = no; then HAVE_FACCESSAT=0 + AC_LIBOBJ([faccessat]) fi ]) -- 2.30.2