Likewise for ftello.
authorEric Blake <ebb9@byu.net>
Fri, 7 Mar 2008 02:18:38 +0000 (19:18 -0700)
committerEric Blake <ebb9@byu.net>
Fri, 7 Mar 2008 02:18:38 +0000 (19:18 -0700)
* modules/ftello (Dependencies): Add extensions.
* m4/ftello.m4 (gl_FUNC_FTELLO): Require AC_USE_SYSTEM_EXTENSIONS.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
m4/ftello.m4
modules/ftello

index 71d79a7473813bdba3b4e75a5c558b05984775ed..61347900fb7566f51907bcca701e0b2fb08b05b3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-03-06  Eric Blake  <ebb9@byu.net>
+
+       Likewise for ftello.
+       * modules/ftello (Dependencies): Add extensions.
+       * m4/ftello.m4 (gl_FUNC_FTELLO): Require AC_USE_SYSTEM_EXTENSIONS.
+
 2008-03-06  Bruno Haible  <bruno@clisp.org>
 
        * modules/fseeko (Dependencies): Add extensions.
@@ -76,7 +82,7 @@
        *.m4 files in this module.
 
 2008-03-03  John E. Malmberg  <wb8tyw@qsl.net>  (tiny change)
-            Bruno Haible  <bruno@clisp.org>
+           Bruno Haible  <bruno@clisp.org>
 
        Add support for HP C 7.1 on OpenVMS 8.3.
        * lib/alloca.in.h (alloca): Define as alias for DEC C on VMS.
index cf986a417dd7babac37b3754e574982297efef2d..51308ef53bcea2f3e418ef2e69c02d934e374787 100644 (file)
@@ -1,5 +1,5 @@
-# ftello.m4 serial 3
-dnl Copyright (C) 2007 Free Software Foundation, Inc.
+# ftello.m4 serial 4
+dnl Copyright (C) 2007, 2008 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.
@@ -9,6 +9,10 @@ AC_DEFUN([gl_FUNC_FTELLO],
   AC_REQUIRE([gl_STDIO_H_DEFAULTS])
   AC_REQUIRE([AC_PROG_CC])
   AC_REQUIRE([gl_STDIN_LARGE_OFFSET])
+
+  dnl Persuade glibc <stdio.h> to declare fseeko().
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
+
   AC_CACHE_CHECK([for ftello], [gl_cv_func_ftello],
     [
       AC_TRY_LINK([#include <stdio.h>], [ftello (stdin);],
index d7ea365bbac6cec8222237f975d47e0f7104c22f..9a0b62d023520fbad7937637a9f1eddf16739405 100644 (file)
@@ -6,6 +6,7 @@ lib/ftello.c
 m4/ftello.m4
 
 Depends-on:
+extensions
 lseek
 stdio