annotate m4/group-member.m4 @ 40196:e63f5d3edab5

relocatable-prog: Update documentation. * doc/relocatable-maint.texi (Supporting Relocation): Update to match the recent changes.
author Bruno Haible <bruno@clisp.org>
date Sun, 24 Feb 2019 01:49:15 +0100
parents b06060465f09
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14979
7a1b4cd6d351 group-member: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14733
diff changeset
1 # serial 14
5611
87c42e194f4a Use an all-permissive copyright notice, recommended by RMS.
Paul Eggert <eggert@cs.ucla.edu>
parents: 5016
diff changeset
2
40057
b06060465f09 maint: Run 'make update-copyright'
Paul Eggert <eggert@cs.ucla.edu>
parents: 19484
diff changeset
3 # Copyright (C) 1999-2001, 2003-2007, 2009-2019 Free Software Foundation, Inc.
7172
be9e01d008cb Avoid the need for AC_LIBSOURCES in m4 macros.
Paul Eggert <eggert@cs.ucla.edu>
parents: 6275
diff changeset
4
5611
87c42e194f4a Use an all-permissive copyright notice, recommended by RMS.
Paul Eggert <eggert@cs.ucla.edu>
parents: 5016
diff changeset
5 # This file is free software; the Free Software Foundation
87c42e194f4a Use an all-permissive copyright notice, recommended by RMS.
Paul Eggert <eggert@cs.ucla.edu>
parents: 5016
diff changeset
6 # gives unlimited permission to copy and/or distribute it,
87c42e194f4a Use an all-permissive copyright notice, recommended by RMS.
Paul Eggert <eggert@cs.ucla.edu>
parents: 5016
diff changeset
7 # with or without modifications, as long as this notice is preserved.
1707
32c634e1d190 New file -- extracted from sh-utils' configure.in.
Jim Meyering <jim@meyering.net>
parents:
diff changeset
8
32c634e1d190 New file -- extracted from sh-utils' configure.in.
Jim Meyering <jim@meyering.net>
parents:
diff changeset
9 dnl Written by Jim Meyering
32c634e1d190 New file -- extracted from sh-utils' configure.in.
Jim Meyering <jim@meyering.net>
parents:
diff changeset
10
5016
7141ea4946af Change jm_ to gl_ in AC_DEFINE'd names. Update all uses.
Jim Meyering <jim@meyering.net>
parents: 4662
diff changeset
11 AC_DEFUN([gl_FUNC_GROUP_MEMBER],
4108
c1d472db5c30 An independent .m4 file for each module.
Bruno Haible <bruno@clisp.org>
parents: 3339
diff changeset
12 [
14733
8d8a6d8151f4 group-member: Declare function in <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 14079
diff changeset
13 AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
8d8a6d8151f4 group-member: Declare function in <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 14079
diff changeset
14
4108
c1d472db5c30 An independent .m4 file for each module.
Bruno Haible <bruno@clisp.org>
parents: 3339
diff changeset
15 dnl Persuade glibc <unistd.h> to declare group_member().
9209
5a0294ce5372 Track CVS Autoconf on AC_USE_SYSTEM_EXTENSIONS.
Eric Blake <ebb9@byu.net>
parents: 7172
diff changeset
16 AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
4108
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 dnl Do this replacement check manually because I want the hyphen
c1d472db5c30 An independent .m4 file for each module.
Bruno Haible <bruno@clisp.org>
parents: 3339
diff changeset
19 dnl (not the underscore) in the filename.
11007
f6cba5a556ce many *.m4 files: improve m4 quoting
Jim Meyering <meyering@redhat.com>
parents: 9209
diff changeset
20 AC_CHECK_FUNC([group_member], , [
14733
8d8a6d8151f4 group-member: Declare function in <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 14079
diff changeset
21 HAVE_GROUP_MEMBER=0
8d8a6d8151f4 group-member: Declare function in <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 14079
diff changeset
22 ])
4108
c1d472db5c30 An independent .m4 file for each module.
Bruno Haible <bruno@clisp.org>
parents: 3339
diff changeset
23 ])
c1d472db5c30 An independent .m4 file for each module.
Bruno Haible <bruno@clisp.org>
parents: 3339
diff changeset
24
c1d472db5c30 An independent .m4 file for each module.
Bruno Haible <bruno@clisp.org>
parents: 3339
diff changeset
25 # Prerequisites of lib/group-member.c.
c1d472db5c30 An independent .m4 file for each module.
Bruno Haible <bruno@clisp.org>
parents: 3339
diff changeset
26 AC_DEFUN([gl_PREREQ_GROUP_MEMBER],
c1d472db5c30 An independent .m4 file for each module.
Bruno Haible <bruno@clisp.org>
parents: 3339
diff changeset
27 [
c1d472db5c30 An independent .m4 file for each module.
Bruno Haible <bruno@clisp.org>
parents: 3339
diff changeset
28 AC_REQUIRE([AC_FUNC_GETGROUPS])
c1d472db5c30 An independent .m4 file for each module.
Bruno Haible <bruno@clisp.org>
parents: 3339
diff changeset
29 ])