X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Feuidaccess.m4;h=7690a14315293da5a2c65b0c443e7aa839d3404b;hb=a962fe3f59df95b60112817ca87d0ab2a9f9b5f6;hp=c113b4d3810c90d8936317c286ea5f5fb4e93dd6;hpb=44d7c1c1f004fa9bfb8ec3948de2671a7958cf5b;p=gnulib.git diff --git a/m4/euidaccess.m4 b/m4/euidaccess.m4 index c113b4d38..7690a1431 100644 --- a/m4/euidaccess.m4 +++ b/m4/euidaccess.m4 @@ -1,5 +1,5 @@ -# euidaccess.m4 serial 5 -dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. +# euidaccess.m4 serial 8 +dnl Copyright (C) 2002-2007 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -18,7 +18,7 @@ AC_DEFUN([gl_FUNC_NONREENTRANT_EUIDACCESS], AC_DEFUN([gl_FUNC_EUIDACCESS], [ dnl Persuade glibc to declare euidaccess(). - AC_REQUIRE([AC_GNU_SOURCE]) + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_CHECK_DECLS_ONCE([euidaccess]) AC_REPLACE_FUNCS(euidaccess) @@ -32,7 +32,6 @@ AC_DEFUN([gl_PREREQ_EUIDACCESS], [ AC_CHECK_HEADERS_ONCE(libgen.h) AC_CHECK_DECLS_ONCE(setregid) AC_REQUIRE([AC_FUNC_GETGROUPS]) - AC_REQUIRE([AC_HEADER_STAT]) # Solaris 9 needs -lgen to get the eaccess function. # Save and restore LIBS so -lgen isn't added to it. Otherwise, *all* @@ -42,7 +41,7 @@ AC_DEFUN([gl_PREREQ_EUIDACCESS], [ AC_SEARCH_LIBS(eaccess, [gen], [test "$ac_cv_search_eaccess" = "none required" || LIB_EACCESS=$ac_cv_search_eaccess]) - AC_SUBST(LIB_EACCESS) + AC_SUBST([LIB_EACCESS]) AC_CHECK_FUNCS(eaccess) LIBS=$gl_saved_libs ])