euidaccess: speed up 'configure' on GNU hosts
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 17 Oct 2012 01:58:09 +0000 (18:58 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 17 Oct 2012 02:04:32 +0000 (19:04 -0700)
commitd245e6ddd6ab2624d0d83acd8f111454f984f50f
treef7c1ea8e597e6a52b9dd934b03776590b9a2d5d1
parent0aa49ea72a8764e3065ebbfc55459232ca8fb021
euidaccess: speed up 'configure' on GNU hosts

* m4/euidaccess.m4 (gl_FUNC_NONREENTRANT_EUIDACCESS):
Check for setregid here, not in gl_PREREQ_EUIDACCESS, since
it's needed only in this case.  Use AC_CHECK_DECLS, not
AC_CHECK_DECLS_ONCE.
(gl_PREREQ_EUIDACCESS): Do not use AC_CHECK_HEADERS_ONCE libgen.h
or AC_REQUIRE for AC_FUNC_GETGROUPS.
ChangeLog
m4/euidaccess.m4