Merge commit 'a39d4083cab589d7cd6a13e8a4b8db8875261d75'
[gnulib.git] / modules / fopen
index 5872745..b975faa 100644 (file)
@@ -7,10 +7,16 @@ m4/fopen.m4
 
 Depends-on:
 stdio
-unistd
+largefile
+unistd          [test $REPLACE_FOPEN = 1]
+fstat           [test $REPLACE_FOPEN = 1]
 
 configure.ac:
 gl_FUNC_FOPEN
+if test $REPLACE_FOPEN = 1; then
+  AC_LIBOBJ([fopen])
+  gl_PREREQ_FOPEN
+fi
 gl_STDIO_MODULE_INDICATOR([fopen])
 
 Makefile.am:
@@ -19,7 +25,7 @@ Include:
 <stdio.h>
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 Bruno Haible