md5, sha1, sha256, sha512: add gl_SET_CRYPTO_CHECK_DEFAULT
[gnulib.git] / modules / fflush
index 501431f..03b2f1d 100644 (file)
@@ -8,19 +8,23 @@ m4/fflush.m4
 
 Depends-on:
 stdio
-fclose
-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]
+snippet/unused-parameter  [test $REPLACE_FFLUSH = 1]
+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])
 
@@ -30,7 +34,7 @@ Include:
 <stdio.h>
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 Eric Blake