test-perror: check for strerror interactions
[pspp] / modules / strndup
index fad66a18d0029ee5980aa8636127733aa2702525..c76e966a57061801cf5e50b56c591c0779a6474d 100644 (file)
@@ -7,7 +7,8 @@ m4/strndup.m4
 
 Depends-on:
 string
-strnlen
+extensions
+strnlen         [test $ac_cv_func_strndup = no || test $REPLACE_STRNDUP = 1]
 
 configure.ac:
 gl_FUNC_STRNDUP