test-perror: check for strerror interactions
[pspp] / modules / strndup
index 6b434ec1a4bd6ae52505d79876dfaf51316aa6c3..c76e966a57061801cf5e50b56c591c0779a6474d 100644 (file)
@@ -2,23 +2,25 @@ 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 $ac_cv_func_strndup = no || test $REPLACE_STRNDUP = 1]
 
 configure.ac:
 gl_FUNC_STRNDUP
+gl_STRING_MODULE_INDICATOR([strndup])
 
 Makefile.am:
 
 Include:
-"strndup.h"
+<string.h>
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 glibc