install-reloc: Support multi-binary installation.
[gnulib.git] / modules / strndup
index 6b434ec..4cb5a90 100644 (file)
@@ -2,23 +2,28 @@ Description:
 strndup() function: duplicate a size-bounded string.
 
 Files:
-lib/strndup.h
 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:
-"strndup.h"
+<string.h>
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 glibc