warnings: fix compilation with old autoconf
[gnulib/ericb.git] / modules / truncate
blobe141b1a6b54730a54ac9cf7991fceccae7f86dd3
1 Description:
2 truncate() function: truncate a file to a specified length.
4 Files:
5 lib/truncate.c
6 m4/truncate.m4
8 Depends-on:
9 unistd
10 sys_types
11 largefile
12 open            [test $HAVE_TRUNCATE = 0 || test $REPLACE_TRUNCATE = 1]
13 ftruncate       [test $HAVE_TRUNCATE = 0 || test $REPLACE_TRUNCATE = 1]
15 configure.ac:
16 gl_FUNC_TRUNCATE
17 if test $HAVE_TRUNCATE = 0 || test $REPLACE_TRUNCATE = 1; then
18   AC_LIBOBJ([truncate])
19   gl_PREREQ_TRUNCATE
21 gl_UNISTD_MODULE_INDICATOR([truncate])
23 Makefile.am:
25 Include:
26 <unistd.h>
28 License:
29 GPL
31 Maintainer:
32 all