diff options
author | Bruno Haible <bruno@clisp.org> | 2011-05-21 12:59:37 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-06-16 00:06:24 +0200 |
commit | b646a237da67a822f6f8ca9d17da0ad340b26f0c (patch) | |
tree | 9064d5c3d986a5a75435feffe70bb7189b6d332e /m4/lchown.m4 | |
parent | 290ebfa36c06b0615db884b0458c6db54dbf040c (diff) | |
download | gnulib-b646a237da67a822f6f8ca9d17da0ad340b26f0c.tar.gz |
lchown: Move AC_LIBOBJ invocations to module description.
* m4/lchown.m4 (gl_FUNC_EUIDACCESS): Call AC_CHECK_FUNCS instead of
AC_REPLACE_FUNCS. Move AC_LIBOBJ invocations from here...
* modules/lchown (configure.ac): ... to here.
Diffstat (limited to 'm4/lchown.m4')
-rw-r--r-- | m4/lchown.m4 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/m4/lchown.m4 b/m4/lchown.m4 index b567d81b43..21ac47f185 100644 --- a/m4/lchown.m4 +++ b/m4/lchown.m4 @@ -1,4 +1,4 @@ -# serial 15 +# serial 16 # Determine whether we need the lchown wrapper. dnl Copyright (C) 1998, 2001, 2003-2007, 2009-2011 Free Software Foundation, @@ -17,13 +17,12 @@ AC_DEFUN([gl_FUNC_LCHOWN], AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([gl_FUNC_CHOWN]) AC_CHECK_FUNCS_ONCE([lchmod]) - AC_REPLACE_FUNCS([lchown]) + AC_CHECK_FUNCS([lchown]) if test $ac_cv_func_lchown = no; then HAVE_LCHOWN=0 elif test "$gl_cv_func_chown_slash_works" != yes \ || test "$gl_cv_func_chown_ctime_works" != yes; then dnl Trailing slash and ctime bugs in chown also occur in lchown. - AC_LIBOBJ([lchown]) REPLACE_LCHOWN=1 fi ]) |