view modules/memrchr @ 15042:8e387f7f0bf9

memrchr: Move AC_LIBOBJ invocations to module description. * m4/memrchr.m4 (gl_FUNC_MEMRCHR): Call AC_CHECK_FUNCS instead of AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_MEMRCHR invocations from here... * modules/memrchr (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Sat, 21 May 2011 15:25:34 +0200
parents 901b50b38fae
children
line wrap: on
line source

Description:
memrchr() function: scan memory for a byte, from the right end.

Files:
lib/memrchr.c
m4/memrchr.m4

Depends-on:
extensions
string

configure.ac:
gl_FUNC_MEMRCHR
if test $ac_cv_func_memrchr = no; then
  AC_LIBOBJ([memrchr])
  gl_PREREQ_MEMRCHR
fi
gl_STRING_MODULE_INDICATOR([memrchr])

Makefile.am:

Include:
<string.h>

License:
LGPL

Maintainer:
Jim Meyering, glibc