diff options
author | Simon Josefsson <simon@josefsson.org> | 2012-05-31 16:36:44 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2012-05-31 16:36:44 +0200 |
commit | c9c211a91572481e554bf2d06a2120adccfe16a3 (patch) | |
tree | 2e4efde250df40809865cfe1828e727585a36cda /gl/m4/fseeko.m4 | |
parent | 0dd5f96848dc1b5b4357f9afade87fa05a3f79e5 (diff) | |
download | libtasn1-c9c211a91572481e554bf2d06a2120adccfe16a3.tar.gz libtasn1-c9c211a91572481e554bf2d06a2120adccfe16a3.tar.bz2 libtasn1-c9c211a91572481e554bf2d06a2120adccfe16a3.zip |
Update gnulib files.
Diffstat (limited to 'gl/m4/fseeko.m4')
-rw-r--r-- | gl/m4/fseeko.m4 | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/gl/m4/fseeko.m4 b/gl/m4/fseeko.m4 index be5bb35..1bb88c7 100644 --- a/gl/m4/fseeko.m4 +++ b/gl/m4/fseeko.m4 @@ -1,4 +1,4 @@ -# fseeko.m4 serial 15 +# fseeko.m4 serial 16 dnl Copyright (C) 2007-2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -8,6 +8,7 @@ AC_DEFUN([gl_FUNC_FSEEKO], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) AC_REQUIRE([gl_STDIN_LARGE_OFFSET]) + AC_REQUIRE([gl_SYS_TYPES_H]) AC_REQUIRE([AC_PROG_CC]) dnl Persuade glibc <stdio.h> to declare fseeko(). @@ -28,6 +29,9 @@ AC_DEFUN([gl_FUNC_FSEEKO], if test $gl_cv_func_fseeko = no; then HAVE_FSEEKO=0 else + if test $WINDOWS_64_BIT_OFF_T = 1; then + REPLACE_FSEEKO=1 + fi if test $gl_cv_var_stdin_large_offset = no; then REPLACE_FSEEKO=1 fi @@ -59,3 +63,11 @@ AC_DEFUN([gl_STDIN_LARGE_OFFSET], [gl_cv_var_stdin_large_offset=yes], [gl_cv_var_stdin_large_offset=no])]) ]) + +# Prerequisites of lib/fseeko.c. +AC_DEFUN([gl_PREREQ_FSEEKO], +[ + dnl Native Windows has the function _fseeki64. mingw hides it, but mingw64 + dnl makes it usable again. + AC_CHECK_FUNCS([_fseeki64]) +]) |