New module 'mbscasestr'.
authorBruno Haible <bruno@clisp.org>
Mon, 5 Feb 2007 02:19:35 +0000 (02:19 +0000)
committerBruno Haible <bruno@clisp.org>
Mon, 5 Feb 2007 02:19:35 +0000 (02:19 +0000)
m4/mbscasestr.m4 [new file with mode: 0644]
modules/mbscasestr [new file with mode: 0644]

diff --git a/m4/mbscasestr.m4 b/m4/mbscasestr.m4
new file mode 100644 (file)
index 0000000..88f50c3
--- /dev/null
@@ -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 (file)
index 0000000..ec801a7
--- /dev/null
@@ -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
+