default-directory: Remark that it must be a directory name
[emacs.git] / m4 / group-member.m4
blobf4415dd9de9f285803aaa7ce481042b5605d0535
1 # serial 14
3 # Copyright (C) 1999-2001, 2003-2007, 2009-2017 Free Software
4 # Foundation, Inc.
6 # This file is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 dnl Written by Jim Meyering
12 AC_DEFUN([gl_FUNC_GROUP_MEMBER],
14   AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
16   dnl Persuade glibc <unistd.h> to declare group_member().
17   AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
19   dnl Do this replacement check manually because I want the hyphen
20   dnl (not the underscore) in the filename.
21   AC_CHECK_FUNC([group_member], , [
22     HAVE_GROUP_MEMBER=0
23   ])
26 # Prerequisites of lib/group-member.c.
27 AC_DEFUN([gl_PREREQ_GROUP_MEMBER],
29   AC_REQUIRE([AC_FUNC_GETGROUPS])