relocatable-shell: Update suggested usage in maintainer documentation.
[gnulib.git] / modules / strchrnul
index 8ae3ea6..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: