view modules/memchr @ 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 030dcb1a7a38
children
line wrap: on
line source

Description:
memchr() function: scan memory for a byte.

Files:
lib/memchr.c
lib/memchr.valgrind
m4/memchr.m4
m4/mmap-anon.m4

Depends-on:
extensions
string
memchr-obsolete

configure.ac:
gl_FUNC_MEMCHR
if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
  AC_LIBOBJ([memchr])
  gl_PREREQ_MEMCHR
fi
gl_STRING_MODULE_INDICATOR([memchr])

Makefile.am:

Include:
<string.h>

License:
LGPLv2+

Maintainer:
Jim Meyering, glibc