Mercurial > hg > octave-shane > gnulib-hg
annotate m4/lchown.m4 @ 4108:c1d472db5c30
An independent .m4 file for each module.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 31 Dec 2002 13:43:06 +0000 |
parents | 81d88e517811 |
children | 7141ea4946af |
rev | line source |
---|---|
4108
c1d472db5c30
An independent .m4 file for each module.
Bruno Haible <bruno@clisp.org>
parents:
3339
diff
changeset
|
1 #serial 3 |
1371 | 2 |
3 dnl From Jim Meyering. | |
4 dnl Provide lchown on systems that lack it. | |
5 | |
3339
81d88e517811
Quote the first argument in each use of AC_DEFUN.
Jim Meyering <jim@meyering.net>
parents:
1371
diff
changeset
|
6 AC_DEFUN([jm_FUNC_LCHOWN], |
1371 | 7 [ |
8 AC_REQUIRE([AC_TYPE_UID_T]) | |
9 AC_REPLACE_FUNCS(lchown) | |
4108
c1d472db5c30
An independent .m4 file for each module.
Bruno Haible <bruno@clisp.org>
parents:
3339
diff
changeset
|
10 if test $ac_cv_func_lchown = no; then |
c1d472db5c30
An independent .m4 file for each module.
Bruno Haible <bruno@clisp.org>
parents:
3339
diff
changeset
|
11 gl_PREREQ_LCHOWN |
c1d472db5c30
An independent .m4 file for each module.
Bruno Haible <bruno@clisp.org>
parents:
3339
diff
changeset
|
12 fi |
1371 | 13 ]) |
4108
c1d472db5c30
An independent .m4 file for each module.
Bruno Haible <bruno@clisp.org>
parents:
3339
diff
changeset
|
14 |
c1d472db5c30
An independent .m4 file for each module.
Bruno Haible <bruno@clisp.org>
parents:
3339
diff
changeset
|
15 # Prerequisites of lib/lchown.c. |
c1d472db5c30
An independent .m4 file for each module.
Bruno Haible <bruno@clisp.org>
parents:
3339
diff
changeset
|
16 AC_DEFUN([gl_PREREQ_LCHOWN], |
c1d472db5c30
An independent .m4 file for each module.
Bruno Haible <bruno@clisp.org>
parents:
3339
diff
changeset
|
17 [ |
c1d472db5c30
An independent .m4 file for each module.
Bruno Haible <bruno@clisp.org>
parents:
3339
diff
changeset
|
18 AC_REQUIRE([AC_HEADER_STAT]) |
c1d472db5c30
An independent .m4 file for each module.
Bruno Haible <bruno@clisp.org>
parents:
3339
diff
changeset
|
19 : |
c1d472db5c30
An independent .m4 file for each module.
Bruno Haible <bruno@clisp.org>
parents:
3339
diff
changeset
|
20 ]) |