X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Ffflush;h=03b2f1d1d4840c3e0a7038860896c4c3b96a57cc;hb=5191b3546cfb6c163228c23f214e325ddf60d46f;hp=8cfc04661c85457e0dd948ecc8e8272ef9f7b5e1;hpb=5905a848a7f063cbc45bec7ea53f2121a3d6b91b;p=gnulib.git diff --git a/modules/fflush b/modules/fflush old mode 100755 new mode 100644 index 8cfc04661..03b2f1d1d --- a/modules/fflush +++ b/modules/fflush @@ -3,21 +3,29 @@ Discard pending data on both input and output streams. Files: lib/fflush.c -lib/fseeko.c +lib/stdio-impl.h m4/fflush.m4 -m4/fseeko.m4 Depends-on: -fpurge -ftello stdio -unistd +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]) Makefile.am: @@ -26,7 +34,7 @@ Include: License: -GPL +LGPLv2+ Maintainer: Eric Blake