From 02e41acebb23cbadff89a4488329578536adef32 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Fri, 30 Jul 2010 15:06:16 -0500 Subject: [svn-r19160] Added the tests for fseeko64 and ftello64 which will be used by the STDIO VFD if they are available. Tested: jam only since it was tests for two new functions that are not used by the code yet. --- configure | 4 ++-- configure.in | 2 +- src/H5config.h.in | 6 ++++++ src/Makefile.in | 4 ++-- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/configure b/configure index 59fd9cd..2cf1e23 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Id: configure.in 19068 2010-07-14 15:56:42Z acheng . +# From configure.in Id: configure.in 19086 2010-07-18 12:33:00Z hdftest . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.65 for HDF5 1.9.75. # @@ -21485,7 +21485,7 @@ else $as_echo "skipping test for lseek64(), fseek64(), ftruncate64()" >&6; } fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -for ac_func in fseeko ftello +for ac_func in fseeko fseeko64 ftello ftello64 do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" diff --git a/configure.in b/configure.in index cd99740..2961f38 100644 --- a/configure.in +++ b/configure.in @@ -1341,7 +1341,7 @@ AC_TRY_COMPILE([#include ], [off64_t n = 0;], [AC_CHECK_FUNCS([lseek64 fseek64 ftruncate64])], [AC_MSG_RESULT([skipping test for lseek64(), fseek64(), ftruncate64()])]) -AC_CHECK_FUNCS(fseeko ftello) +AC_CHECK_FUNCS(fseeko fseeko64 ftello ftello64) AC_TRY_COMPILE([ #include #include ], diff --git a/src/H5config.h.in b/src/H5config.h.in index 5c9e1f2..2062e67 100644 --- a/src/H5config.h.in +++ b/src/H5config.h.in @@ -126,12 +126,18 @@ /* Define to 1 if you have the `fseeko' function. */ #undef HAVE_FSEEKO +/* Define to 1 if you have the `fseeko64' function. */ +#undef HAVE_FSEEKO64 + /* Define to 1 if you have the `fstat64' function. */ #undef HAVE_FSTAT64 /* Define to 1 if you have the `ftello' function. */ #undef HAVE_FTELLO +/* Define to 1 if you have the `ftello64' function. */ +#undef HAVE_FTELLO64 + /* Define to 1 if you have the `ftruncate64' function. */ #undef HAVE_FTRUNCATE64 diff --git a/src/Makefile.in b/src/Makefile.in index c7fb1b4..8191eee 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -122,8 +122,8 @@ am_libhdf5_la_OBJECTS = H5.lo H5checksum.lo H5dbg.lo H5system.lo \ H5HFdtable.lo H5HFhdr.lo H5HFhuge.lo H5HFiblock.lo H5HFiter.lo \ H5HFman.lo H5HFsection.lo H5HFspace.lo H5HFstat.lo H5HFtest.lo \ H5HFtiny.lo H5HG.lo H5HGcache.lo H5HGdbg.lo H5HL.lo \ - H5HLcache.lo H5HLdbg.lo H5HLint.lo H5HP.lo H5I.lo H5Itest.lo H5L.lo \ - H5Lexternal.lo H5lib_settings.lo H5MF.lo H5MFaggr.lo \ + H5HLcache.lo H5HLdbg.lo H5HLint.lo H5HP.lo H5I.lo H5Itest.lo \ + H5L.lo H5Lexternal.lo H5lib_settings.lo H5MF.lo H5MFaggr.lo \ H5MFdbg.lo H5MFsection.lo H5MM.lo H5MP.lo H5MPtest.lo H5O.lo \ H5Oainfo.lo H5Oalloc.lo H5Oattr.lo H5Oattribute.lo H5Obogus.lo \ H5Obtreek.lo H5Ocache.lo H5Ochunk.lo H5Ocont.lo H5Ocopy.lo \ -- cgit v0.12