summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-02-05 02:19:35 +0000
committerBruno Haible <bruno@clisp.org>2007-02-05 02:19:35 +0000
commita1e100f0e83289d93946cb0318d4dc7db72d225a (patch)
treeca17894ce33dbb815e77f2a36e7915caedfd9318
parent3e3363f6fe86a6b7cfe1f4a762a33eb961e0770a (diff)
downloadgnulib-a1e100f0e83289d93946cb0318d4dc7db72d225a.tar.gz
New module 'mbscasestr'.
-rw-r--r--m4/mbscasestr.m416
-rw-r--r--modules/mbscasestr28
2 files changed, 44 insertions, 0 deletions
diff --git a/m4/mbscasestr.m4 b/m4/mbscasestr.m4
new file mode 100644
index 0000000000..88f50c3ee9
--- /dev/null
+++ b/m4/mbscasestr.m4
@@ -0,0 +1,16 @@
+# mbscasestr.m4 serial 1
+dnl Copyright (C) 2007 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.
+
+AC_DEFUN([gl_FUNC_MBSCASESTR],
+[
+ gl_PREREQ_MBSCASESTR
+])
+
+# Prerequisites of lib/mbscasestr.c.
+AC_DEFUN([gl_PREREQ_MBSCASESTR], [
+ AC_REQUIRE([gl_FUNC_MBRTOWC])
+ :
+])
diff --git a/modules/mbscasestr b/modules/mbscasestr
new file mode 100644
index 0000000000..ec801a7d1c
--- /dev/null
+++ b/modules/mbscasestr
@@ -0,0 +1,28 @@
+Description:
+mbscasestr() function: case-insensitive search for a substring in a string.
+
+Files:
+lib/mbscasestr.c
+m4/mbscasestr.m4
+m4/mbrtowc.m4
+
+Depends-on:
+mbuiter
+string
+
+configure.ac:
+gl_FUNC_MBSCASESTR
+gl_STRING_MODULE_INDICATOR([mbscasestr])
+
+Makefile.am:
+lib_SOURCES += mbscasestr.c
+
+Include:
+<string.h>
+
+License:
+LGPL
+
+Maintainer:
+Bruno Haible
+