view modules/fflush @ 15187:8f6c698d0789

crc: Move AC_LIBOBJ invocations to module description. * m4/crc.m4: Remove file. * modules/crc (Files): Remove it. (configure.ac): Remove gl_CRC call. (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Mon, 23 May 2011 22:51:09 +0200
parents e45dcf244493
children bbd2679d746e
line wrap: on
line source

Description:
Discard pending data on both input and output streams.

Files:
lib/fflush.c
lib/stdio-impl.h
m4/fflush.m4

Depends-on:
stdio
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:

Include:
<stdio.h>

License:
LGPLv2+

Maintainer:
Eric Blake