view modules/strsep @ 15110:990d9ce9c393

strsep: Move AC_LIBOBJ invocations to module description. * m4/strsep.m4 (gl_FUNC_STRSEP): Call AC_CHECK_FUNCS instead of AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_STRSEP invocations from here... * modules/strsep (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Sun, 22 May 2011 13:44:17 +0200
parents efab6978105e
children
line wrap: on
line source

Description:
strsep() function: extract token from string.

Files:
lib/strsep.c
m4/strsep.m4

Depends-on:
string
extensions
strpbrk         [test $HAVE_STRSEP = 0]

configure.ac:
gl_FUNC_STRSEP
if test $HAVE_STRSEP = 0; then
  AC_LIBOBJ([strsep])
  gl_PREREQ_STRSEP
fi
gl_STRING_MODULE_INDICATOR([strsep])

Makefile.am:

Include:
<string.h>

License:
LGPLv2+

Maintainer:
Yoann Vandoorselaere