view modules/memmem @ 15039:577ff30eb284

memmem*: Move AC_LIBOBJ invocations to module description. * m4/memmem.m4 (gl_FUNC_MEMMEM_SIMPLE): Call AC_CHECK_FUNCS instead of AC_REPLACE_FUNCS. Set HAVE_MEMMEM. Move AC_LIBOBJ invocations from here... (gl_FUNC_MEMMEM): ... and here... * modules/memmem-simple (configure.ac): ... to here. * modules/memmem (configure.ac): ... and here.
author Bruno Haible <bruno@clisp.org>
date Sat, 21 May 2011 15:18:46 +0200
parents 6eb1fb1fb3e8
children
line wrap: on
line source

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

Files:

Depends-on:
memmem-simple

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

Makefile.am:

Include:
<string.h>

License:
LGPLv2+

Maintainer:
libc, Eric Blake