view modules/rawmemchr @ 15071:98ec1e084801

rawmemchr: Move AC_LIBOBJ invocations to module description. * m4/rawmemchr.m4 (gl_FUNC_RAWMEMCHR): Call AC_CHECK_FUNCS instead of AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_RAWMEMCHR invocations from here... * modules/rawmemchr (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Sat, 21 May 2011 17:53:55 +0200
parents b1f37dbb89ba
children
line wrap: on
line source

Description:
rawmemchr() function: Find the first occurrence of C in S.

Files:
lib/rawmemchr.c
lib/rawmemchr.valgrind
m4/rawmemchr.m4

Depends-on:
extensions
string

configure.ac:
gl_FUNC_RAWMEMCHR
if test $HAVE_RAWMEMCHR = 0; then
  AC_LIBOBJ([rawmemchr])
  gl_PREREQ_RAWMEMCHR
fi
gl_STRING_MODULE_INDICATOR([rawmemchr])

Makefile.am:

Include:
<string.h>

License:
LGPLv2+

Maintainer:
Eric Blake, glibc