diff options
author | Bruno Haible <bruno@clisp.org> | 2010-12-19 14:53:15 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2010-12-19 14:53:15 +0100 |
commit | 7bdfdfca8d8948047946ea3aac8ca5027579f5e6 (patch) | |
tree | 3f6ddf54ea71f690fc29805c981a6d6100d4992d /m4/stdio_h.m4 | |
parent | 2fac6f35e670d13c745e152d860fc0c2cadf14ca (diff) | |
download | gnulib-7bdfdfca8d8948047946ea3aac8ca5027579f5e6.tar.gz |
fseeko: Add missing declaration on OSF/1 5.1.
* lib/stdio.in.h (fseeko): Test HAVE_DECL_FSEEKO, not HAVE_FSEEKO.
* m4/fseeko.m4 (gl_FUNC_FSEEKO): Test whether fseeko is declared.
* m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Initialize HAVE_DECL_FSEEKO.
* modules/stdio (Makefile.am): Substitute HAVE_DECL_FSEEKO.
* doc/posix-functions/fseeko.texi: Mention the OSF/1 5.1 problem.
Diffstat (limited to 'm4/stdio_h.m4')
-rw-r--r-- | m4/stdio_h.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/stdio_h.m4 b/m4/stdio_h.m4 index f5650cdeab..4d96f8b6e5 100644 --- a/m4/stdio_h.m4 +++ b/m4/stdio_h.m4 @@ -1,4 +1,4 @@ -# stdio_h.m4 serial 31 +# stdio_h.m4 serial 32 dnl Copyright (C) 2007-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -95,6 +95,7 @@ AC_DEFUN([gl_STDIO_H_DEFAULTS], GNULIB_VSPRINTF_POSIX=0; AC_SUBST([GNULIB_VSPRINTF_POSIX]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_DECL_FPURGE=1; AC_SUBST([HAVE_DECL_FPURGE]) + HAVE_DECL_FSEEKO=1; AC_SUBST([HAVE_DECL_FSEEKO]) HAVE_DECL_GETDELIM=1; AC_SUBST([HAVE_DECL_GETDELIM]) HAVE_DECL_GETLINE=1; AC_SUBST([HAVE_DECL_GETLINE]) HAVE_DECL_OBSTACK_PRINTF=1; AC_SUBST([HAVE_DECL_OBSTACK_PRINTF]) |