view modules/memmem-simple @ 15222:62089e9fcc47

modechange: Move AC_LIBOBJ invocations to module description. * m4/modechange.m4 (gl_MODECHANGE): Remove AC_LIBOBJ invocation. * modules/modechange (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Tue, 24 May 2011 00:57:31 +0200
parents 577ff30eb284
children
line wrap: on
line source

Description:
memmem() function: locate first substring in a buffer.

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

Depends-on:
extensions
string
stdint
memchr
memcmp

configure.ac:
gl_FUNC_MEMMEM_SIMPLE
if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then
  AC_LIBOBJ([memmem])
fi
gl_STRING_MODULE_INDICATOR([memmem])

Makefile.am:

Include:
<string.h>

License:
LGPLv2+

Maintainer:
libc, Eric Blake, Simon Josefsson