error: depend on stdio
[gnulib.git] / modules / strnlen
index e8bcda4..c781671 100644 (file)
@@ -2,24 +2,30 @@ Description:
 strnlen() function: determine the length of a size-bounded string.
 
 Files:
-lib/strnlen.h
 lib/strnlen.c
 m4/strnlen.m4
 
 Depends-on:
+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:
-EXTRA_DIST += strnlen.h strnlen.c
 
 Include:
-"strnlen.h"
+<string.h>
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 all