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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
55cb5282dd84 symlinkat: new module
Eric Blake <ebb9@byu.net>
parents:
diff changeset
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
55cb5282dd84 symlinkat: new module
Eric Blake <ebb9@byu.net>
parents:
diff changeset
5 dnl This file is free software; the Free Software Foundation
55cb5282dd84 symlinkat: new module
Eric Blake <ebb9@byu.net>
parents:
diff changeset
6 dnl gives unlimited permission to copy and/or distribute it,
55cb5282dd84 symlinkat: new module
Eric Blake <ebb9@byu.net>
parents:
diff changeset
7 dnl with or without modifications, as long as this notice is preserved.
55cb5282dd84 symlinkat: new module
Eric Blake <ebb9@byu.net>
parents:
diff changeset
8
55cb5282dd84 symlinkat: new module
Eric Blake <ebb9@byu.net>
parents:
diff changeset
9 # Written by Eric Blake.
55cb5282dd84 symlinkat: new module
Eric Blake <ebb9@byu.net>
parents:
diff changeset
10
55cb5282dd84 symlinkat: new module
Eric Blake <ebb9@byu.net>
parents:
diff changeset
11 AC_DEFUN([gl_FUNC_SYMLINKAT],
55cb5282dd84 symlinkat: new module
Eric Blake <ebb9@byu.net>
parents:
diff changeset
12 [
55cb5282dd84 symlinkat: new module
Eric Blake <ebb9@byu.net>
parents:
diff changeset
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
55cb5282dd84 symlinkat: new module
Eric Blake <ebb9@byu.net>
parents:
diff changeset
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
55cb5282dd84 symlinkat: new module
Eric Blake <ebb9@byu.net>
parents:
diff changeset
17 if test $ac_cv_func_symlinkat = no; then
55cb5282dd84 symlinkat: new module
Eric Blake <ebb9@byu.net>
parents:
diff changeset
18 HAVE_SYMLINKAT=0
55cb5282dd84 symlinkat: new module
Eric Blake <ebb9@byu.net>
parents:
diff changeset
19 fi
55cb5282dd84 symlinkat: new module
Eric Blake <ebb9@byu.net>
parents:
diff changeset
20 ])