X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fmemrchr.m4;h=3bcaf66889ea7b20fddcc3c9cd5407cc314f041b;hb=ba3be00a5546579e80323430a57a3aedaedc6156;hp=8070d5fece2b3368e221fbdc6deabd668d105dec;hpb=3740c324b0f14e757b73cc22d88d30c4235d1bcb;p=gnulib.git diff --git a/m4/memrchr.m4 b/m4/memrchr.m4 index 8070d5fec..3bcaf6688 100644 --- a/m4/memrchr.m4 +++ b/m4/memrchr.m4 @@ -1,5 +1,6 @@ -# memrchr.m4 serial 8 -dnl Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. +# memrchr.m4 serial 10 +dnl Copyright (C) 2002-2003, 2005-2007, 2009-2012 Free Software Foundation, +dnl 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. @@ -15,10 +16,7 @@ AC_DEFUN([gl_FUNC_MEMRCHR], 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.