X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fstrchrnul.m4;h=fec2a10d96b1d954f0694c2d02cb1ef417a9c3b9;hb=fb7fde6f658ac18b7ab7ca61dca9a290cc8c3348;hp=51edfb302856e5ce0d7b1a4f9bd0856a626a5afe;hpb=6545de6ca88cf3ef985d38cbb10d022c63b24dbe;p=gnulib.git diff --git a/m4/strchrnul.m4 b/m4/strchrnul.m4 index 51edfb302..fec2a10d9 100644 --- a/m4/strchrnul.m4 +++ b/m4/strchrnul.m4 @@ -1,18 +1,18 @@ -# strchrnul.m4 serial 2 -dnl Copyright (C) 2003 Free Software Foundation, Inc. -dnl This file is free software, distributed under the terms of the GNU -dnl General Public License. As a special exception to the GNU General -dnl Public License, this file may be distributed as part of a program -dnl that contains a configuration script generated by Autoconf, under -dnl the same distribution terms as the rest of that program. +# strchrnul.m4 serial 5 +dnl Copyright (C) 2003, 2007 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_STRCHRNUL], [ dnl Persuade glibc to declare strchrnul(). AC_REQUIRE([AC_GNU_SOURCE]) + AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) AC_REPLACE_FUNCS(strchrnul) if test $ac_cv_func_strchrnul = no; then + HAVE_STRCHRNUL=0 gl_PREREQ_STRCHRNUL fi ])