From f9e70e3ef802527ebecd9179ca56cd19fe9946b6 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Thu, 6 Mar 2008 19:18:38 -0700 Subject: [PATCH] Likewise for ftello. * modules/ftello (Dependencies): Add extensions. * m4/ftello.m4 (gl_FUNC_FTELLO): Require AC_USE_SYSTEM_EXTENSIONS. Signed-off-by: Eric Blake --- ChangeLog | 8 +++++++- m4/ftello.m4 | 8 ++++++-- modules/ftello | 1 + 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 71d79a747..61347900f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-03-06 Eric Blake + + Likewise for ftello. + * modules/ftello (Dependencies): Add extensions. + * m4/ftello.m4 (gl_FUNC_FTELLO): Require AC_USE_SYSTEM_EXTENSIONS. + 2008-03-06 Bruno Haible * modules/fseeko (Dependencies): Add extensions. @@ -76,7 +82,7 @@ *.m4 files in this module. 2008-03-03 John E. Malmberg (tiny change) - Bruno Haible + Bruno Haible Add support for HP C 7.1 on OpenVMS 8.3. * lib/alloca.in.h (alloca): Define as alias for DEC C on VMS. diff --git a/m4/ftello.m4 b/m4/ftello.m4 index cf986a417..51308ef53 100644 --- a/m4/ftello.m4 +++ b/m4/ftello.m4 @@ -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 to declare fseeko(). + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) + AC_CACHE_CHECK([for ftello], [gl_cv_func_ftello], [ AC_TRY_LINK([#include ], [ftello (stdin);], diff --git a/modules/ftello b/modules/ftello index d7ea365bb..9a0b62d02 100644 --- a/modules/ftello +++ b/modules/ftello @@ -6,6 +6,7 @@ lib/ftello.c m4/ftello.m4 Depends-on: +extensions lseek stdio -- 2.11.0