view modules/strcasestr-simple @ 16063:c3b6b5b6bc32

More conditional dependencies. * modules/faccessat (Depends-on): Add conditions. * modules/fchmodat (Depends-on): Likewise. * modules/fchownat (Depends-on): Likewise. * modules/fstatat (Depends-on): Likewise. * modules/mkfifoat (Depends-on): Likewise. * modules/readlinkat (Depends-on): Likewise. * modules/symlinkat (Depends-on): Likewise. * modules/unlinkat (Depends-on): Likewise. * modules/utimensat (Depends-on): Likewise. * modules/mkdirat (Depends-on): Add sys_stat. Add conditions. * modules/linkat (Depends-on): Refine the conditions. * modules/renameat (Depends-on): Likewise.
author Bruno Haible <bruno@clisp.org>
date Wed, 09 Nov 2011 02:42:45 +0100
parents f583623a374b
children
line wrap: on
line source

Description:
strcasestr() function: case-insensitive search for unibyte substring.

Files:
lib/strcasestr.c
lib/str-two-way.h
m4/strcasestr.m4

Depends-on:
string
stdbool
strcase
memchr
memcmp
extensions

configure.ac:
gl_FUNC_STRCASESTR_SIMPLE
if test $HAVE_STRCASESTR = 0 || test $REPLACE_STRCASESTR = 1; then
  AC_LIBOBJ([strcasestr])
  gl_PREREQ_STRCASESTR
fi
gl_STRING_MODULE_INDICATOR([strcasestr])

Makefile.am:

Include:
<string.h>

License:
LGPLv2+

Maintainer:
Bruno Haible