Mercurial > hg > octave-lyh > gnulib-hg
changeset 11947:7f6946558d8c
faccessat: compile replacement
* m4/faccessat.m4 (gl_FUNC_FACCESSAT): Build replacement when
needed.
Signed-off-by: Eric Blake <ebb9@byu.net>
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Thu, 03 Sep 2009 22:49:58 -0600 |
parents | 7604970d1a9f |
children | 325a0b28c47e |
files | ChangeLog m4/faccessat.m4 |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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.
--- 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_CHECK_FUNCS_ONCE([faccessat]) if test $ac_cv_func_faccessat = no; then HAVE_FACCESSAT=0 + AC_LIBOBJ([faccessat]) fi ])