strchrnul.m4 revision 2
2cacab200fb387e290386593d9b2fca2e7beef33csovant# strchrnul.m4 serial 7
2cacab200fb387e290386593d9b2fca2e7beef33csovantdnl Copyright (C) 2003, 2007, 2009, 2010 Free Software Foundation, Inc.
2cacab200fb387e290386593d9b2fca2e7beef33csovantdnl This file is free software; the Free Software Foundation
2cacab200fb387e290386593d9b2fca2e7beef33csovantdnl gives unlimited permission to copy and/or distribute it,
2cacab200fb387e290386593d9b2fca2e7beef33csovantdnl with or without modifications, as long as this notice is preserved.
2cacab200fb387e290386593d9b2fca2e7beef33csovant
2cacab200fb387e290386593d9b2fca2e7beef33csovantAC_DEFUN([gl_FUNC_STRCHRNUL],
2cacab200fb387e290386593d9b2fca2e7beef33csovant[
2cacab200fb387e290386593d9b2fca2e7beef33csovant dnl Persuade glibc <string.h> to declare strchrnul().
2cacab200fb387e290386593d9b2fca2e7beef33csovant AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
2cacab200fb387e290386593d9b2fca2e7beef33csovant
2cacab200fb387e290386593d9b2fca2e7beef33csovant AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
2cacab200fb387e290386593d9b2fca2e7beef33csovant AC_REPLACE_FUNCS([strchrnul])
2cacab200fb387e290386593d9b2fca2e7beef33csovant if test $ac_cv_func_strchrnul = no; then
2cacab200fb387e290386593d9b2fca2e7beef33csovant HAVE_STRCHRNUL=0
2cacab200fb387e290386593d9b2fca2e7beef33csovant gl_PREREQ_STRCHRNUL
2cacab200fb387e290386593d9b2fca2e7beef33csovant fi
2cacab200fb387e290386593d9b2fca2e7beef33csovant])
2cacab200fb387e290386593d9b2fca2e7beef33csovant
2cacab200fb387e290386593d9b2fca2e7beef33csovant# Prerequisites of lib/strchrnul.c.
2cacab200fb387e290386593d9b2fca2e7beef33csovantAC_DEFUN([gl_PREREQ_STRCHRNUL], [:])
2cacab200fb387e290386593d9b2fca2e7beef33csovant