X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=m4%2Feuidaccess.m4;h=5d0d68d28bea198a9a68de84bdc28a4be62b21bc;hb=939dedd9a2fba934e5ff0313155f9f5f39cb6f6f;hp=f1a175cdca184af11e3b136a7d47a9251040b8ac;hpb=bc366ae145683ca7ec1695c69cd2b4ed8f5bc589;p=gnulib.git diff --git a/m4/euidaccess.m4 b/m4/euidaccess.m4 index f1a175cdc..5d0d68d28 100644 --- a/m4/euidaccess.m4 +++ b/m4/euidaccess.m4 @@ -1,5 +1,5 @@ -# euidaccess.m4 serial 11 -dnl Copyright (C) 2002-2009 Free Software Foundation, Inc. +# euidaccess.m4 serial 12 +dnl Copyright (C) 2002-2011 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. @@ -42,11 +42,12 @@ AC_DEFUN([gl_PREREQ_EUIDACCESS], [ # Save and restore LIBS so -lgen isn't added to it. Otherwise, *all* # programs in the package would end up linked with that potentially-shared # library, inducing unnecessary run-time overhead. + LIB_EACCESS= + AC_SUBST([LIB_EACCESS]) gl_saved_libs=$LIBS AC_SEARCH_LIBS([eaccess], [gen], [test "$ac_cv_search_eaccess" = "none required" || LIB_EACCESS=$ac_cv_search_eaccess]) - AC_SUBST([LIB_EACCESS]) AC_CHECK_FUNCS([eaccess]) LIBS=$gl_saved_libs ])