X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fmemchr.m4;h=1194bac2e81dbadeb030ed946d00f2304bd000c0;hb=8a0efd04dc9583c96b4a0d3c311ff216e07dcdcd;hp=bcfe869c505892f391a21ee39a3358dcbeec140d;hpb=7cf183c33ef0c792b5c93dbb4ac5b7858ee03986;p=gnulib.git diff --git a/m4/memchr.m4 b/m4/memchr.m4 index bcfe869c5..1194bac2e 100644 --- a/m4/memchr.m4 +++ b/m4/memchr.m4 @@ -1,10 +1,10 @@ -# memchr.m4 serial 6 +# memchr.m4 serial 7 dnl Copyright (C) 2002, 2003, 2004, 2009 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. -AC_DEFUN([gl_FUNC_MEMCHR], +AC_DEFUN_ONCE([gl_FUNC_MEMCHR], [ dnl Check for prerequisites for memory fence checks. gl_FUNC_MMAP_ANON @@ -25,6 +25,7 @@ AC_DEFUN([gl_FUNC_MEMCHR], # http://bugzilla.redhat.com/499689 # memchr should not dereference overestimated length after a match # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 + # http://sourceware.org/bugzilla/show_bug.cgi?id=10162 # Assume that memchr works on platforms that lack mprotect. AC_CACHE_CHECK([whether memchr works], [gl_cv_func_memchr_works], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[