summaryrefslogtreecommitdiff
path: root/m4/lchown.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-05-19 16:02:40 +0000
committerJim Meyering <jim@meyering.net>1998-05-19 16:02:40 +0000
commit231c5aec0f5ff7b34a01becd64b42cdfac7be2a0 (patch)
treeefc264d3a51a4ee73623ea8d610936ae339e8a69 /m4/lchown.m4
parente4e242e8396fb0d3770038c2be73f9d1cd108c34 (diff)
downloadcoreutils-231c5aec0f5ff7b34a01becd64b42cdfac7be2a0.tar.xz
.
Diffstat (limited to 'm4/lchown.m4')
-rw-r--r--m4/lchown.m410
1 files changed, 10 insertions, 0 deletions
diff --git a/m4/lchown.m4 b/m4/lchown.m4
new file mode 100644
index 000000000..68398ed7a
--- /dev/null
+++ b/m4/lchown.m4
@@ -0,0 +1,10 @@
+#serial 1
+
+dnl From Jim Meyering.
+dnl Provide lchown on systems that lack it.
+
+AC_DEFUN(jm_FUNC_LCHOWN,
+[
+ AC_REQUIRE([AC_TYPE_UID_T])
+ AC_REPLACE_FUNCS(lchown)
+])