diff options
author | Bruno Haible <bruno@clisp.org> | 2011-11-09 02:15:01 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-11-09 02:15:01 +0100 |
commit | 471fc34ae463a72dcebf813153cbb73499c1e0a2 (patch) | |
tree | 97a9f7a0302a6eb2432992bfc89638fa249c90e8 /modules | |
parent | 7d5b0f431933f7141082fbffa8e9d2afc6d27137 (diff) | |
download | gnulib-471fc34ae463a72dcebf813153cbb73499c1e0a2.tar.gz |
faccessat: Move AC_LIBOBJ invocation to module description.
* m4/faccessat.m4 (gl_PREREQ_FACCESSAT): New macro.
(gl_FUNC_FACESSAT): Don't test for access() here. Move AC_LIBOBJ
invocation from here...
* modules/faccessat (configure.ac): ... to here. Invoke
gl_PREREQ_FACCESSAT.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/faccessat | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/faccessat b/modules/faccessat index 6fc43545e4..e73f5caa39 100644 --- a/modules/faccessat +++ b/modules/faccessat @@ -21,6 +21,10 @@ euidaccess [test $HAVE_FACCESSAT = 0] configure.ac: gl_FUNC_FACCESSAT +if test $HAVE_FACCESSAT = 0; then + AC_LIBOBJ([faccessat]) + gl_PREREQ_FACCESSAT +fi gl_MODULE_INDICATOR([faccessat]) gl_UNISTD_MODULE_INDICATOR([faccessat]) |