NEWS.stable: log cherry-pick [e446f25]->[c092018] relocatable-shell: Update suggested...
[gnulib.git] / modules / stpncpy
index 65ea0a0..cfad9aa 100644 (file)
@@ -2,24 +2,28 @@ Description:
 stpncpy() function: copy a size-bounded string, returning a pointer to its end.
 
 Files:
-lib/stpncpy.h
 lib/stpncpy.c
 m4/stpncpy.m4
 
 Depends-on:
+extensions
+string
 
 configure.ac:
 gl_FUNC_STPNCPY
+if test $HAVE_STPNCPY = 0 || test $REPLACE_STPNCPY = 1; then
+  AC_LIBOBJ([stpncpy])
+  gl_PREREQ_STPNCPY
+fi
+gl_STRING_MODULE_INDICATOR([stpncpy])
 
 Makefile.am:
-EXTRA_DIST += stpncpy.h stpncpy.c
 
 Include:
-"stpncpy.h"
+<string.h>
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 Bruno Haible, glibc
-