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

2008-01-04  Simon Josefsson  <[EMAIL PROTECTED]>

        * modules/strcase (Depends-on): Add string, because strcase needs
        gl_HEADER_STRING_H_DEFAULTS.

diff --git a/modules/strcase b/modules/strcase
index 0023f46..01f3e5c 100644
--- a/modules/strcase
+++ b/modules/strcase
@@ -7,6 +7,7 @@ lib/strncasecmp.c
 m4/strcase.m4
 
 Depends-on:
+string
 strings
 
 configure.ac:

/Simon

[EMAIL PROTECTED]:~/t$ ~/gnulib/gnulib-tool --test strcase
Module list with included dependencies:
  include_next
  link-warning
  strcase
  strings
File list:
  build-aux/link-warning.h
  lib/dummy.c
  lib/strcasecmp.c
  lib/strings.in.h
  lib/strncasecmp.c
  m4/gnulib-common.m4
  m4/include_next.m4
  m4/onceonly_2_57.m4
  m4/strcase.m4
  m4/strings_h.m4
executing aclocal -I glm4
configure.ac:97: warning: gl_HEADER_STRING_H_DEFAULTS is m4_require'd but not 
m4_defun'd
glm4/strcase.m4:13: gl_FUNC_STRCASECMP is expanded from...
glm4/strcase.m4:7: gl_STRCASE is expanded from...
configure.ac:27: gl_INIT is expanded from...
configure.ac:97: the top level
glm4/strcase.m4:23: gl_FUNC_STRNCASECMP is expanded from...
executing autoconf
configure.ac:97: warning: gl_HEADER_STRING_H_DEFAULTS is m4_require'd but not 
m4_defun'd
glm4/strcase.m4:13: gl_FUNC_STRCASECMP is expanded from...
glm4/strcase.m4:7: gl_STRCASE is expanded from...
configure.ac:27: gl_INIT is expanded from...
configure.ac:97: the top level
glm4/strcase.m4:23: gl_FUNC_STRNCASECMP is expanded from...
configure:3650: error: possibly undefined macro: gl_HEADER_STRING_H_DEFAULTS
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
[EMAIL PROTECTED]:~/t$ 


Reply via email to