bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem in strcase


From: Bruno Haible
Subject: Re: problem in strcase
Date: Sat, 5 Jan 2008 00:32:44 +0100 (MET)

Simon Josefsson wrote:

> The strcase module fails to build.  It seems to need stuff from the
> string *.m4 file.  How about this patch?

Oops, my mistake from 2007-12-02. I'm committing this fix. Thanks
for the report.

2008-01-04  Bruno Haible  <address@hidden>

        * m4/strcase.m4 (gl_FUNC_STRCASECMP, gl_FUNC_STRNCASECMP):
        Require gl_HEADER_STRINGS_H_DEFAULTS, not
        gl_HEADER_STRING_H_DEFAULTS.

diff --git a/m4/strcase.m4 b/m4/strcase.m4
index ae24215..79c525c 100644
--- 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_STRCASE],
 
 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_STRCASECMP],
 
 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

Attachment: gnulib-patch3
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]