# HG changeset patch # User Bruno Haible # Date 1199489352 -3600 # Node ID 6858419c4f22fe42ac41f5ead249b4aee88d148e # Parent c5dc234b375e12564981139577e7ad150f324c45 Fix bug introduced on 2007-12-02. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-01-04 Bruno Haible + + * m4/strcase.m4 (gl_FUNC_STRCASECMP, gl_FUNC_STRNCASECMP): + Require gl_HEADER_STRINGS_H_DEFAULTS, not + gl_HEADER_STRING_H_DEFAULTS. + 2008-01-04 Eric Blake Shorten duration of memmem test. diff --git a/m4/strcase.m4 b/m4/strcase.m4 --- a/m4/strcase.m4 +++ b/m4/strcase.m4 @@ -1,5 +1,5 @@ -# strcase.m4 serial 8 -dnl Copyright (C) 2002, 2005-2007 Free Software Foundation, Inc. +# strcase.m4 serial 9 +dnl Copyright (C) 2002, 2005-2008 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. @@ -12,7 +12,7 @@ AC_DEFUN([gl_FUNC_STRCASECMP], [ - AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) + AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS]) AC_REPLACE_FUNCS(strcasecmp) if test $ac_cv_func_strcasecmp = no; then HAVE_STRCASECMP=0 @@ -22,7 +22,7 @@ AC_DEFUN([gl_FUNC_STRNCASECMP], [ - AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) + AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS]) AC_REPLACE_FUNCS(strncasecmp) if test $ac_cv_func_strncasecmp = no; then gl_PREREQ_STRNCASECMP