Mercurial > hg > octave-kai > gnulib-hg
annotate m4/symlinkat.m4 @ 15123:aa9e38804c40
symlinkat: Move AC_LIBOBJ invocations to module description.
* m4/symlinkat.m4 (gl_FUNC_SYMLINKAT): Move AC_LIBOBJ invocation from
here...
* modules/symlinkat (configure.ac): ... to here.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 22 May 2011 14:53:42 +0200 |
parents | 97fc9a21a8fb |
children | 8250f2777afc |
rev | line source |
---|---|
15123
aa9e38804c40
symlinkat: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14079
diff
changeset
|
1 # serial 5 |
13539
56e31af9a41e
readlinkat: split into its own module
Eric Blake <eblake@redhat.com>
parents:
12559
diff
changeset
|
2 # See if we need to provide symlinkat replacement. |
11956 | 3 |
14079
97fc9a21a8fb
maint: update almost all copyright ranges to include 2011
Jim Meyering <meyering@redhat.com>
parents:
13539
diff
changeset
|
4 dnl Copyright (C) 2009-2011 Free Software Foundation, Inc. |
11956 | 5 dnl This file is free software; the Free Software Foundation |
6 dnl gives unlimited permission to copy and/or distribute it, | |
7 dnl with or without modifications, as long as this notice is preserved. | |
8 | |
9 # Written by Eric Blake. | |
10 | |
11 AC_DEFUN([gl_FUNC_SYMLINKAT], | |
12 [ | |
13 AC_REQUIRE([gl_FUNC_OPENAT]) | |
11967
399ddfe4310e
faccessat, symlinkat: continue cleanup of previous patch
Eric Blake <ebb9@byu.net>
parents:
11956
diff
changeset
|
14 AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) |
11956 | 15 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) |
13539
56e31af9a41e
readlinkat: split into its own module
Eric Blake <eblake@redhat.com>
parents:
12559
diff
changeset
|
16 AC_CHECK_FUNCS_ONCE([symlinkat]) |
11956 | 17 if test $ac_cv_func_symlinkat = no; then |
18 HAVE_SYMLINKAT=0 | |
19 fi | |
20 ]) |