From: Eric Blake Date: Fri, 7 Mar 2008 02:18:38 +0000 (-0700) Subject: Likewise for ftello. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9e70e3ef802527ebecd9179ca56cd19fe9946b6;p=pspp Likewise for ftello. * modules/ftello (Dependencies): Add extensions. * m4/ftello.m4 (gl_FUNC_FTELLO): Require AC_USE_SYSTEM_EXTENSIONS. Signed-off-by: Eric Blake --- diff --git a/ChangeLog b/ChangeLog index 71d79a7473..61347900fb 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 cf986a417d..51308ef53b 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 d7ea365bba..9a0b62d023 100644 --- a/modules/ftello +++ b/modules/ftello @@ -6,6 +6,7 @@ lib/ftello.c m4/ftello.m4 Depends-on: +extensions lseek stdio