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

diff --git a/m4/mbscasecmp.m4 b/m4/mbscasecmp.m4
new file mode 100644 (file)
index 0000000..7357769
--- /dev/null
@@ -0,0 +1,16 @@
+# mbscasecmp.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_MBSCASECMP],
+[
+  gl_PREREQ_MBSCASECMP
+])
+
+# Prerequisites of lib/mbscasecmp.c.
+AC_DEFUN([gl_PREREQ_MBSCASECMP], [
+  AC_REQUIRE([gl_FUNC_MBRTOWC])
+  :
+])
diff --git a/modules/mbscasecmp b/modules/mbscasecmp
new file mode 100644 (file)
index 0000000..e89948e
--- /dev/null
@@ -0,0 +1,28 @@
+Description:
+mbscasecmp() function: case-insensitive string comparison.
+
+Files:
+lib/mbscasecmp.c
+m4/mbscasecmp.m4
+m4/mbrtowc.m4
+
+Depends-on:
+mbuiter
+string
+
+configure.ac:
+gl_FUNC_MBSCASECMP
+gl_STRING_MODULE_INDICATOR([mbscasecmp])
+
+Makefile.am:
+lib_SOURCES += mbscasecmp.c
+
+Include:
+<string.h>
+
+License:
+LGPL
+
+Maintainer:
+Bruno Haible
+