NEWS.stable: log cherry-pick [e446f25]->[c092018] relocatable-shell: Update suggested...
[gnulib.git] / modules / strndup
index 7246e0a..4cb5a90 100644 (file)
@@ -7,10 +7,15 @@ m4/strndup.m4
 
 Depends-on:
 string
-strnlen
+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:
 
@@ -18,7 +23,7 @@ Include:
 <string.h>
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 glibc