Avoid unnecessary compilation units, through conditional dependencies.
[gnulib.git] / modules / fflush
index 2d5839d..e9649e0 100644 (file)
@@ -7,14 +7,14 @@ lib/stdio-impl.h
 m4/fflush.m4
 
 Depends-on:
-fclose
-fpurge
-ftello
-freading
-lseek
 stdio
-unistd
-fseeko
+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]
 
 configure.ac-early:
 AC_REQUIRE([AC_FUNC_FSEEKO])