Mercurial > hg > octave-shane > gnulib-hg
view modules/strndup @ 15106:ed77fe40c360
strndup: Move AC_LIBOBJ invocations to module description.
* m4/strndup.m4 (gl_FUNC_STRNDUP): Set HAVE_STRNDUP. Move AC_LIBOBJ
invocations from here...
* modules/strndup (configure.ac): ... to here.
(Depends-on): Update conditions.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 22 May 2011 13:32:55 +0200 |
parents | efab6978105e |
children |
line wrap: on
line source
Description: strndup() function: duplicate a size-bounded string. Files: lib/strndup.c m4/strndup.m4 Depends-on: string extensions strnlen [test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1] configure.ac: gl_FUNC_STRNDUP if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then AC_LIBOBJ([strndup]) fi gl_STRING_MODULE_INDICATOR([strndup]) Makefile.am: Include: <string.h> License: LGPLv2+ Maintainer: glibc