Mercurial > hg > octave-nkf > gnulib-hg
changeset 8090:a60a47069e17
New module 'mbscasecmp'.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 05 Feb 2007 01:43:15 +0000 |
parents | 6a02aa86f4b4 |
children | ebf2b19b5684 |
files | m4/mbscasecmp.m4 modules/mbscasecmp |
diffstat | 2 files changed, 44 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/m4/mbscasecmp.m4 @@ -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]) + : +])
new file mode 100644 --- /dev/null +++ b/modules/mbscasecmp @@ -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 +