error: depend on stdio
[gnulib.git] / modules / readlink
index e2920e9..431e201 100644 (file)
@@ -6,16 +6,24 @@ lib/readlink.c
 m4/readlink.m4
 
 Depends-on:
+unistd
+stat            [test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1]
 
 configure.ac:
 gl_FUNC_READLINK
+if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
+  AC_LIBOBJ([readlink])
+  gl_PREREQ_READLINK
+fi
+gl_UNISTD_MODULE_INDICATOR([readlink])
 
 Makefile.am:
 
 Include:
+<unistd.h>
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 Bruno Haible