faccessat: compile replacement
authorEric Blake <ebb9@byu.net>
Fri, 4 Sep 2009 04:49:58 +0000 (22:49 -0600)
committerEric Blake <ebb9@byu.net>
Fri, 4 Sep 2009 04:49:58 +0000 (22:49 -0600)
* m4/faccessat.m4 (gl_FUNC_FACCESSAT): Build replacement when
needed.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
m4/faccessat.m4

index 07fd1fe..58a4b35 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2009-09-03  Eric Blake  <ebb9@byu.net>
 
+       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.
index f21dc13..250d97b 100644 (file)
@@ -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
 ])