summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-01-27 13:17:15 +0000
committerBruno Haible <bruno@clisp.org>2007-01-27 13:17:15 +0000
commitc16199ce77b7fe5aee147446944e9ea27b431caa (patch)
treef8763f954e9d17a0f4eea34ecdd4d078dadbaad3 /modules
parent5b8ccb52403820a66953748fcc7b53986c8f0058 (diff)
downloadgnulib-c16199ce77b7fe5aee147446944e9ea27b431caa.tar.gz
Declare strcasestr() in the <string.h> replacement, rather than in
strcasestr.h.
Diffstat (limited to 'modules')
-rw-r--r--modules/strcasestr4
-rw-r--r--modules/string1
2 files changed, 3 insertions, 2 deletions
diff --git a/modules/strcasestr b/modules/strcasestr
index 016a26bfa2..ed7dea72da 100644
--- a/modules/strcasestr
+++ b/modules/strcasestr
@@ -2,13 +2,13 @@ Description:
strcasestr() function: case-insensitive search for a substring in a string.
Files:
-lib/strcasestr.h
lib/strcasestr.c
m4/strcasestr.m4
m4/mbrtowc.m4
Depends-on:
mbuiter
+string
configure.ac:
gl_FUNC_STRCASESTR
@@ -16,7 +16,7 @@ gl_FUNC_STRCASESTR
Makefile.am:
Include:
-"strcasestr.h"
+<string.h>
License:
LGPL
diff --git a/modules/string b/modules/string
index 54a5498e2c..313613f182 100644
--- a/modules/string
+++ b/modules/string
@@ -37,6 +37,7 @@ string.h: string_.h
-e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
-e 's|@''REPLACE_STRCASECMP''@|$(REPLACE_STRCASECMP)|g' \
-e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
+ -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
< $(srcdir)/string_.h; \
} > $@-t
mv $@-t $@