projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add module mathl.
[gnulib.git]
/
m4
/
lchown.m4
diff --git
a/m4/lchown.m4
b/m4/lchown.m4
index
9e4fb6f
..
e0875fc
100644
(file)
--- a/
m4/lchown.m4
+++ b/
m4/lchown.m4
@@
-1,4
+1,4
@@
-#serial
2
+#serial
3
dnl From Jim Meyering.
dnl Provide lchown on systems that lack it.
dnl From Jim Meyering.
dnl Provide lchown on systems that lack it.
@@
-7,4
+7,14
@@
AC_DEFUN([jm_FUNC_LCHOWN],
[
AC_REQUIRE([AC_TYPE_UID_T])
AC_REPLACE_FUNCS(lchown)
[
AC_REQUIRE([AC_TYPE_UID_T])
AC_REPLACE_FUNCS(lchown)
+ if test $ac_cv_func_lchown = no; then
+ gl_PREREQ_LCHOWN
+ fi
+])
+
+# Prerequisites of lib/lchown.c.
+AC_DEFUN([gl_PREREQ_LCHOWN],
+[
+ AC_REQUIRE([AC_HEADER_STAT])
+ :
])
])