summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-12-06 10:02:18 +0000
committerJim Meyering <jim@meyering.net>2004-12-06 10:02:18 +0000
commit3d1e6484f5185d3c3c088e16b15c69b0e6940ba7 (patch)
tree43d5efc0ca5048e0b6fd01e9369264eea86532ac
parent6cfc09f125aadfc6f40941baafc2db02f61a9a7e (diff)
downloadcoreutils-3d1e6484f5185d3c3c088e16b15c69b0e6940ba7.tar.xz
(gl_FUNC_LCHOWN): Use AC_LIBSOURCES.
-rw-r--r--m4/lchown.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/lchown.m4 b/m4/lchown.m4
index b40fe8540..1f3d22848 100644
--- a/m4/lchown.m4
+++ b/m4/lchown.m4
@@ -1,10 +1,11 @@
-#serial 4
+#serial 5
dnl From Jim Meyering.
dnl Provide lchown on systems that lack it.
AC_DEFUN([gl_FUNC_LCHOWN],
[
+ AC_LIBSOURCES([lchown.c, lchown.h])
AC_REQUIRE([AC_TYPE_UID_T])
AC_REPLACE_FUNCS(lchown)
if test $ac_cv_func_lchown = no; then