summaryrefslogtreecommitdiff
path: root/m4/ftell.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-05-28 15:13:36 +0000
committerBruno Haible <bruno@clisp.org>2007-05-28 15:13:36 +0000
commitcf0e9950204657e10ec322126130fb35b1d99925 (patch)
tree4e2855a94f9b6a85c3d11bf0d6f9cb12a1340736 /m4/ftell.m4
parent8ad1cc5a9cd83e5269203bfbbf9581e93da567b7 (diff)
downloadgnulib-cf0e9950204657e10ec322126130fb35b1d99925.tar.gz
New module 'ftell'.
Diffstat (limited to 'm4/ftell.m4')
-rw-r--r--m4/ftell.m416
1 files changed, 16 insertions, 0 deletions
diff --git a/m4/ftell.m4 b/m4/ftell.m4
new file mode 100644
index 0000000000..115638af74
--- /dev/null
+++ b/m4/ftell.m4
@@ -0,0 +1,16 @@
+# ftell.m4 serial 1
+dnl Copyright (C) 2007 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+AC_DEFUN([gl_FUNC_FTELL],
+[
+ AC_REQUIRE([gl_STDIO_H_DEFAULTS])
+ AC_REQUIRE([gl_FUNC_TELLO])
+ dnl When ftello needs fixes, ftell needs them too.
+ if test $REPLACE_FTELLO != 0; then
+ AC_LIBOBJ([ftell])
+ REPLACE_FTELL=1
+ fi
+])