Mercurial > hg > octave-lojdl > gnulib-hg
changeset 14935:f852b19fc41a
euidaccess: Respect rules for use of AC_LIBOBJ.
* m4/euidaccess.m4 (gl_FUNC_EUIDACCESS): Call AC_CHECK_FUNCS instead of
AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_EUIDACCESS invocations
from here...
* modules/euidaccess (configure.ac): ... to here.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 21 May 2011 12:40:54 +0200 |
parents | 26590ccc3b4c |
children | 0f6fba78c418 |
files | ChangeLog m4/euidaccess.m4 modules/euidaccess |
diffstat | 3 files changed, 14 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-05-21 Bruno Haible <bruno@clisp.org> + + euidaccess: Respect rules for use of AC_LIBOBJ. + * m4/euidaccess.m4 (gl_FUNC_EUIDACCESS): Call AC_CHECK_FUNCS instead of + AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_EUIDACCESS invocations + from here... + * modules/euidaccess (configure.ac): ... to here. + 2011-05-06 Bruno Haible <bruno@clisp.org> error: Move AC_LIBOBJ invocations to module description.
--- a/m4/euidaccess.m4 +++ b/m4/euidaccess.m4 @@ -1,4 +1,4 @@ -# euidaccess.m4 serial 12 +# euidaccess.m4 serial 13 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, @@ -22,10 +22,9 @@ dnl Persuade glibc <unistd.h> to declare euidaccess(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) - AC_REPLACE_FUNCS([euidaccess]) + AC_CHECK_FUNCS([euidaccess]) if test $ac_cv_func_euidaccess = no; then HAVE_EUIDACCESS=0 - gl_PREREQ_EUIDACCESS fi ])