bug-gnulib
[Top][All Lists]
Advanced

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

problem in strcase


From: Simon Josefsson
Subject: problem in strcase
Date: Fri, 04 Jan 2008 16:26:08 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)

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  <address@hidden>

        * 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

address@hidden:~/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.
address@hidden:~/t$ 




reply via email to

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