doc: use ASCII in .texi files where UTF-8 isn't needed
[gnulib.git] / modules / strnlen
index 627e694..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: