Mercurial > hg > octave-lyh > gnulib-hg
changeset 8097:de408ca45a04
Addendum to last patch.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 05 Feb 2007 02:27:35 +0000 |
parents | 9b93fa45937a |
children | cc3f4a2db5b0 |
files | ChangeLog m4/string_h.m4 |
diffstat | 2 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -3,8 +3,9 @@ Simplify handling of strncasecmp. * lib/string_.h (strncasecmp): Remove test for GNULIB_STRCASE. Change the conditional link warning. - * m4/string_h.m4 (gl_STRING_MODULE_INDICATOR_DEFAULTS): Don't - initialize GNULIB_STRCASE. + * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Initialize + HAVE_STRCASECMP, not REPLACE_STRCASECMP. + (gl_STRING_MODULE_INDICATOR_DEFAULTS): Don't initialize GNULIB_STRCASE. * modules/strcase (configure.ac): Don't invoke gl_STRING_MODULE_INDICATOR. * modules/string (string.h): Don't substitute GNULIB_STRCASE.
--- a/m4/string_h.m4 +++ b/m4/string_h.m4 @@ -32,6 +32,7 @@ HAVE_DECL_MEMRCHR=1; AC_SUBST([HAVE_DECL_MEMRCHR]) HAVE_STPCPY=1; AC_SUBST([HAVE_STPCPY]) HAVE_STPNCPY=1; AC_SUBST([HAVE_STPNCPY]) + HAVE_STRCASECMP=1; AC_SUBST([HAVE_STRCASECMP]) HAVE_DECL_STRNCASECMP=1; AC_SUBST([HAVE_DECL_STRNCASECMP]) HAVE_STRCHRNUL=1; AC_SUBST([HAVE_STRCHRNUL]) HAVE_DECL_STRDUP=1; AC_SUBST([HAVE_DECL_STRDUP]) @@ -41,7 +42,6 @@ HAVE_STRPBRK=1; AC_SUBST([HAVE_STRPBRK]) HAVE_STRSEP=1; AC_SUBST([HAVE_STRSEP]) HAVE_DECL_STRTOK_R=1; AC_SUBST([HAVE_DECL_STRTOK_R]) - REPLACE_STRCASECMP=0; AC_SUBST([REPLACE_STRCASECMP]) REPLACE_STRCASESTR=0; AC_SUBST([REPLACE_STRCASESTR]) ])