install-reloc: Support multi-binary installation.
[gnulib.git] / modules / strnlen
index 3cc0711..c781671 100644 (file)
@@ -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:
@@ -19,7 +25,7 @@ Include:
 <string.h>
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 all