closein: correct comments
[gnulib.git] / modules / fflush
old mode 100755 (executable)
new mode 100644 (file)
index ff79fa6..16bdbb5
@@ -3,15 +3,28 @@ Discard pending data on both input and output streams.
 
 Files:
 lib/fflush.c
+lib/stdio-impl.h
 m4/fflush.m4
 
 Depends-on:
-fpurge
 stdio
-unistd
+fpurge          [test $REPLACE_FFLUSH = 1]
+ftello          [test $REPLACE_FFLUSH = 1]
+freading        [test $REPLACE_FFLUSH = 1]
+lseek           [test $REPLACE_FFLUSH = 1]
+unistd          [test $REPLACE_FFLUSH = 1]
+fseeko          [test $REPLACE_FFLUSH = 1]
+
+configure.ac-early:
+AC_REQUIRE([AC_FUNC_FSEEKO])
 
 configure.ac:
 gl_FUNC_FFLUSH
+if test $REPLACE_FFLUSH = 1; then
+  AC_LIBOBJ([fflush])
+  gl_PREREQ_FFLUSH
+fi
+gl_MODULE_INDICATOR([fflush])
 gl_STDIO_MODULE_INDICATOR([fflush])
 
 Makefile.am:
@@ -20,7 +33,7 @@ Include:
 <stdio.h>
 
 License:
-GPL
+LGPLv2+
 
 Maintainer:
 Eric Blake