mbsrtowcs: Move AC_LIBOBJ invocations to module description.
[pspp] / modules / fflush
index 501431f9d7cfd3fda0e7adeeb19b20f6f5fbf760..16bdbb527264fef1d61185c7e0167581048a1688 100644 (file)
@@ -8,7 +8,6 @@ m4/fflush.m4
 
 Depends-on:
 stdio
-fclose
 fpurge          [test $REPLACE_FFLUSH = 1]
 ftello          [test $REPLACE_FFLUSH = 1]
 freading        [test $REPLACE_FFLUSH = 1]
@@ -21,6 +20,10 @@ 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 +33,7 @@ Include:
 <stdio.h>
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 Eric Blake