X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=modules%2Fstrnlen;h=c78167113d4b0ac9a3ac616ceb72e88dd8da042e;hb=ca2c85799ac5e86ba2d93a6b0628648177984e21;hp=627e6948fed40e666bd042086485e33ebc3a9d15;hpb=fadc2ed456378e2dc6545e633d0cdea5d922edf7;p=pspp diff --git a/modules/strnlen b/modules/strnlen index 627e6948fe..c78167113d 100644 --- a/modules/strnlen +++ b/modules/strnlen @@ -6,11 +6,17 @@ lib/strnlen.c m4/strnlen.m4 Depends-on: -extensions string +extensions +memchr-obsolete [test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1] configure.ac: gl_FUNC_STRNLEN +if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then + AC_LIBOBJ([strnlen]) + gl_PREREQ_STRNLEN +fi + gl_STRING_MODULE_INDICATOR([strnlen]) Makefile.am: