Mercurial > hg > octave-lyh > gnulib-hg
changeset 13886:77796657c565
memmem: Fix autoconf test.
* m4/memmem.m4 (gl_FUNC_MEMMEM): Test HAVE_DECL_MEMMEM, not HAVE_MEMMEM.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 20 Nov 2010 19:45:34 +0100 |
parents | 87a95303747f |
children | ff73aa93842c |
files | ChangeLog m4/memmem.m4 |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-11-20 Bruno Haible <bruno@clisp.org> + + memmem: Fix autoconf test. + * m4/memmem.m4 (gl_FUNC_MEMMEM): Test HAVE_DECL_MEMMEM, not HAVE_MEMMEM. + 2010-11-20 Bruno Haible <bruno@clisp.org> Port to uClibc.
--- a/m4/memmem.m4 +++ b/m4/memmem.m4 @@ -1,4 +1,4 @@ -# memmem.m4 serial 18 +# memmem.m4 serial 19 dnl Copyright (C) 2002, 2003, 2004, 2007, 2008, 2009, 2010 Free Software dnl Foundation, Inc. dnl This file is free software; the Free Software Foundation @@ -64,7 +64,7 @@ AC_DEFUN([gl_FUNC_MEMMEM], [ AC_REQUIRE([gl_FUNC_MEMMEM_SIMPLE]) - if test $HAVE_MEMMEM = 1 && test $REPLACE_MEMMEM = 0; then + if test $HAVE_DECL_MEMMEM = 1 && test $REPLACE_MEMMEM = 0; then AC_CACHE_CHECK([whether memmem works in linear time], [gl_cv_func_memmem_works_fast], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[