install-reloc: Support multi-binary installation.
[gnulib.git] / modules / strchrnul
index 2f75450..98a3d8c 100644 (file)
@@ -8,12 +8,16 @@ lib/strchrnul.valgrind
 m4/strchrnul.m4
 
 Depends-on:
-extensions
 string
-rawmemchr
+extensions
+rawmemchr       [test $HAVE_STRCHRNUL = 0 || test $REPLACE_STRCHRNUL = 1]
 
 configure.ac:
 gl_FUNC_STRCHRNUL
+if test $HAVE_STRCHRNUL = 0 || test $REPLACE_STRCHRNUL = 1; then
+  AC_LIBOBJ([strchrnul])
+  gl_PREREQ_STRCHRNUL
+fi
 gl_STRING_MODULE_INDICATOR([strchrnul])
 
 Makefile.am:
@@ -22,7 +26,7 @@ Include:
 <string.h>
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 Eric Blake, glibc