summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-01-02 06:34:32 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-01-02 06:34:32 +0000
commite59703a1d682e2fee177637c8abe68caab66cea2 (patch)
tree35840c98fc79cce2e9e2d47ca533dd37d55d4cdd /m4
parent968bee81e8d356e19cddb7c74ccfe16c815ef3c5 (diff)
downloadcoreutils-e59703a1d682e2fee177637c8abe68caab66cea2.tar.xz
New file.
Diffstat (limited to 'm4')
-rw-r--r--m4/lchmod.m415
1 files changed, 15 insertions, 0 deletions
diff --git a/m4/lchmod.m4 b/m4/lchmod.m4
new file mode 100644
index 000000000..d035bba28
--- /dev/null
+++ b/m4/lchmod.m4
@@ -0,0 +1,15 @@
+#serial 1
+
+dnl Copyright (C) 2005 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Paul Eggert.
+dnl Provide a replacement for lchmod on hosts that lack it.
+
+AC_DEFUN([gl_FUNC_LCHMOD],
+[
+ AC_LIBSOURCES([lchmod.h])
+ AC_CHECK_FUNCS_ONCE([lchmod])
+])