diff options
author | Bruno Haible <bruno@clisp.org> | 2011-06-13 17:33:59 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-06-13 17:33:59 +0200 |
commit | 28b78430edd4230b709985803d942c98614caa9b (patch) | |
tree | 60286d457516c06e13f362787add36f4d1daefad /modules/ftello | |
parent | 0e789d4c672de575ec384b2059c4779de5b5c664 (diff) | |
download | gnulib-28b78430edd4230b709985803d942c98614caa9b.tar.gz |
ftello: Provide a non-inline replacement of ftell().
* lib/stdio.in.h (ftell): Don't provide if module 'ftell' is not used.
* m4/ftell.m4 (gl_FUNC_FTELL): Replace ftell also if the system does
not have ftello() (such as on mingw).
* modules/ftello (Depends-on): Add ftell.
* modules/ftell (License): Change to LGPLv2+.
Diffstat (limited to 'modules/ftello')
-rw-r--r-- | modules/ftello | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/ftello b/modules/ftello index 6cce8470e9..73aa81157e 100644 --- a/modules/ftello +++ b/modules/ftello @@ -11,6 +11,8 @@ Depends-on: stdio extensions lseek [test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1] +# Just to guarantee consistency between ftell() and ftello(). +ftell configure.ac-early: AC_REQUIRE([AC_FUNC_FSEEKO]) |