test-perror: check for strerror interactions
[pspp] / modules / link
index 9492950997bb31047ddb89784db6adacee80e2bd..38cf5ec9f0e027f90b2e69be5a6ea879c04d1cca 100644 (file)
@@ -6,9 +6,10 @@ lib/link.c
 m4/link.m4
 
 Depends-on:
-strdup-posix
-sys_stat
 unistd
+stat            [test $HAVE_LINK = 0 || test $REPLACE_LINK = 1]
+strdup-posix    [test $HAVE_LINK = 0 || test $REPLACE_LINK = 1]
+sys_stat        [test $HAVE_LINK = 0 || test $REPLACE_LINK = 1]
 
 configure.ac:
 gl_FUNC_LINK