Mercurial > hg > octave-lojdl > gnulib-hg
changeset 8094:8fc7f1000e84
New module 'mbscasestr'.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 05 Feb 2007 02:19:35 +0000 |
parents | c3159b65e31c |
children | 6ee7aacca1e9 |
files | m4/mbscasestr.m4 modules/mbscasestr |
diffstat | 2 files changed, 44 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
new file mode 100644 --- /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]) + : +])
new file mode 100644 --- /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 +