annotate modules/ftello @ 14913:7c541f65646d

ftello: Respect rules for use of AC_LIBOBJ. * m4/ftello.m4 (gl_REPLACE_FTELLO): Remove macro. (gl_FUNC_FTELLO): Inline it here. Move AC_LIBOBJ invocation from here... * modules/ftello (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Sat, 07 May 2011 13:37:56 +0200
parents efab6978105e
children 64c288a5020b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8710
9bf3bc2e7ed2 New module 'ftello'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
9bf3bc2e7ed2 New module 'ftello'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 ftello() function: Retrieve the position of a FILE stream.
9bf3bc2e7ed2 New module 'ftello'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
9bf3bc2e7ed2 New module 'ftello'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 Files:
8868
90e71310a07f Fix fseeko/ftello on cygwin 1.5.24.
Eric Blake <ebb9@byu.net>
parents: 8718
diff changeset
5 lib/ftello.c
13294
4263e09100fb ftell, ftello: Work around Solaris bug.
Bruno Haible <bruno@clisp.org>
parents: 9771
diff changeset
6 lib/stdio-impl.h
14401
b0fdfaeb0a77 stdio: simplify by moving gl_STDIN_LARGE_OFFSET to fseeko, ftello
Paul Eggert <eggert@cs.ucla.edu>
parents: 13591
diff changeset
7 m4/fseeko.m4
8710
9bf3bc2e7ed2 New module 'ftello'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 m4/ftello.m4
9bf3bc2e7ed2 New module 'ftello'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9
9bf3bc2e7ed2 New module 'ftello'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 Depends-on:
14683
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 14401
diff changeset
11 stdio
9771
4405a3880f94 Likewise for ftello.
Eric Blake <ebb9@byu.net>
parents: 8872
diff changeset
12 extensions
14683
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 14401
diff changeset
13 lseek [test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1]
8710
9bf3bc2e7ed2 New module 'ftello'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14
8718
c541fe12ef9e Ensure fseeko and ftello are declared on glibc systems.
Bruno Haible <bruno@clisp.org>
parents: 8710
diff changeset
15 configure.ac-early:
c541fe12ef9e Ensure fseeko and ftello are declared on glibc systems.
Bruno Haible <bruno@clisp.org>
parents: 8710
diff changeset
16 AC_REQUIRE([AC_FUNC_FSEEKO])
c541fe12ef9e Ensure fseeko and ftello are declared on glibc systems.
Bruno Haible <bruno@clisp.org>
parents: 8710
diff changeset
17
8710
9bf3bc2e7ed2 New module 'ftello'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 configure.ac:
9bf3bc2e7ed2 New module 'ftello'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19 gl_FUNC_FTELLO
14913
7c541f65646d ftello: Respect rules for use of AC_LIBOBJ.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
20 if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then
7c541f65646d ftello: Respect rules for use of AC_LIBOBJ.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
21 AC_LIBOBJ([ftello])
7c541f65646d ftello: Respect rules for use of AC_LIBOBJ.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
22 fi
8710
9bf3bc2e7ed2 New module 'ftello'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 gl_STDIO_MODULE_INDICATOR([ftello])
9bf3bc2e7ed2 New module 'ftello'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24
9bf3bc2e7ed2 New module 'ftello'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 Makefile.am:
9bf3bc2e7ed2 New module 'ftello'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26
9bf3bc2e7ed2 New module 'ftello'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27 Include:
9bf3bc2e7ed2 New module 'ftello'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28 <stdio.h>
9bf3bc2e7ed2 New module 'ftello'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
29
9bf3bc2e7ed2 New module 'ftello'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
30 License:
13591
e3a337bd785d ftello: Relax license.
Bruno Haible <bruno@clisp.org>
parents: 13294
diff changeset
31 LGPLv2+
8710
9bf3bc2e7ed2 New module 'ftello'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
32
9bf3bc2e7ed2 New module 'ftello'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
33 Maintainer:
9bf3bc2e7ed2 New module 'ftello'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
34 Bruno Haible
9bf3bc2e7ed2 New module 'ftello'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
35