summaryrefslogtreecommitdiff
path: root/m4/fseek.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-05-28 14:48:52 +0000
committerBruno Haible <bruno@clisp.org>2007-05-28 14:48:52 +0000
commitcab1c5a2da80863739e730225ee4c1842b05e217 (patch)
treeb6f6abe078440c78857e5b773482c3c90670dc6a /m4/fseek.m4
parent97c12f59197ed29353e1dde89db3af59bcb3e1ff (diff)
downloadgnulib-cab1c5a2da80863739e730225ee4c1842b05e217.tar.gz
New module 'fseek'.
Diffstat (limited to 'm4/fseek.m4')
-rw-r--r--m4/fseek.m416
1 files changed, 16 insertions, 0 deletions
diff --git a/m4/fseek.m4 b/m4/fseek.m4
new file mode 100644
index 0000000000..80e4501083
--- /dev/null
+++ b/m4/fseek.m4
@@ -0,0 +1,16 @@
+# fseek.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_FSEEK],
+[
+ AC_REQUIRE([gl_STDIO_H_DEFAULTS])
+ AC_REQUIRE([gl_FUNC_FSEEKO])
+ dnl When fseeko needs fixes, fseek needs them too.
+ if test $REPLACE_FSEEKO != 0; then
+ AC_LIBOBJ([fseek])
+ REPLACE_FSEEK=1
+ fi
+])