annotate m4/idpriv.m4 @ 14079:97fc9a21a8fb

maint: update almost all copyright ranges to include 2011 Run the new "make update-copyright" rule.
author Jim Meyering <meyering@redhat.com>
date Sat, 01 Jan 2011 20:17:23 +0100
parents c2cbabec01dd
children 8250f2777afc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11613
1d540dc13d74 New module 'idpriv-drop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 # idpriv.m4 serial 1
14079
97fc9a21a8fb maint: update almost all copyright ranges to include 2011
Jim Meyering <meyering@redhat.com>
parents: 12559
diff changeset
2 dnl Copyright (C) 2009-2011 Free Software Foundation, Inc.
11613
1d540dc13d74 New module 'idpriv-drop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3 dnl This file is free software; the Free Software Foundation
1d540dc13d74 New module 'idpriv-drop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 dnl gives unlimited permission to copy and/or distribute it,
1d540dc13d74 New module 'idpriv-drop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 dnl with or without modifications, as long as this notice is preserved.
1d540dc13d74 New module 'idpriv-drop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6
1d540dc13d74 New module 'idpriv-drop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 AC_DEFUN([gl_IDPRIV],
1d540dc13d74 New module 'idpriv-drop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 [
1d540dc13d74 New module 'idpriv-drop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 dnl Persuade glibc <unistd.h> to declare {get,set}res{uid,gid}.
1d540dc13d74 New module 'idpriv-drop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
1d540dc13d74 New module 'idpriv-drop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11
1d540dc13d74 New module 'idpriv-drop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 AC_CHECK_FUNCS_ONCE([getuid geteuid getresuid getgid getegid getresgid])
1d540dc13d74 New module 'idpriv-drop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 AC_CHECK_FUNCS_ONCE([setresuid setreuid seteuid setresgid setregid setegid])
1d540dc13d74 New module 'idpriv-drop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 ])