NEWS.stable: log cherry-pick [e446f25]->[c092018] relocatable-shell: Update suggested...
[gnulib.git] / modules / strndup
index 93b4dd5..4cb5a90 100644 (file)
@@ -1,16 +1,29 @@
 Description:
+strndup() function: duplicate a size-bounded string.
 
 Files:
 lib/strndup.c
 m4/strndup.m4
 
 Depends-on:
-strnlen
+string
+extensions
+strnlen         [test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1]
 
 configure.ac:
 gl_FUNC_STRNDUP
+if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then
+  AC_LIBOBJ([strndup])
+fi
+gl_STRING_MODULE_INDICATOR([strndup])
 
 Makefile.am:
 
 Include:
+<string.h>
 
+License:
+LGPLv2+
+
+Maintainer:
+glibc