Mercurial > hg > octave-nkf > gnulib-hg
changeset 9771:4405a3880f94
Likewise for ftello.
* modules/ftello (Dependencies): Add extensions.
* m4/ftello.m4 (gl_FUNC_FTELLO): Require AC_USE_SYSTEM_EXTENSIONS.
Signed-off-by: Eric Blake <ebb9@byu.net>
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Thu, 06 Mar 2008 19:18:38 -0700 |
parents | 4e00098ae436 |
children | cfd020716bf2 |
files | ChangeLog m4/ftello.m4 modules/ftello |
diffstat | 3 files changed, 14 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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.
--- 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_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);],