view modules/memmem-simple @ 15070:221318b8a54e

random_r: Move AC_LIBOBJ invocations to module description. * m4/random_r.m4 (gl_FUNC_RANDOM_R): Move AC_LIBOBJ and gl_PREREQ_RANDOM_R invocations from here... * modules/random_r (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Sat, 21 May 2011 17:50:27 +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