Mercurial > hg > octave-lyh > gnulib-hg
changeset 15042:8e387f7f0bf9
memrchr: Move AC_LIBOBJ invocations to module description.
* m4/memrchr.m4 (gl_FUNC_MEMRCHR): Call AC_CHECK_FUNCS instead of
AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_MEMRCHR invocations from
here...
* modules/memrchr (configure.ac): ... to here.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 21 May 2011 15:25:34 +0200 |
parents | 4158711b2427 |
children | 0527dd6759fc |
files | ChangeLog m4/memrchr.m4 modules/memrchr |
diffstat | 3 files changed, 14 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-05-21 Bruno Haible <bruno@clisp.org> + + memrchr: Move AC_LIBOBJ invocations to module description. + * m4/memrchr.m4 (gl_FUNC_MEMRCHR): Call AC_CHECK_FUNCS instead of + AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_MEMRCHR invocations from + here... + * modules/memrchr (configure.ac): ... to here. + 2011-05-21 Bruno Haible <bruno@clisp.org> mempcpy: Move AC_LIBOBJ invocations to module description.
--- a/m4/memrchr.m4 +++ b/m4/memrchr.m4 @@ -1,4 +1,4 @@ -# memrchr.m4 serial 9 +# memrchr.m4 serial 10 dnl Copyright (C) 2002-2003, 2005-2007, 2009-2011 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation @@ -16,10 +16,7 @@ HAVE_DECL_MEMRCHR=0 fi - AC_REPLACE_FUNCS([memrchr]) - if test $ac_cv_func_memrchr = no; then - gl_PREREQ_MEMRCHR - fi + AC_CHECK_FUNCS([memrchr]) ]) # Prerequisites of lib/memrchr.c.