summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2010-07-30 20:05:25 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2010-07-30 20:05:25 (GMT)
commit8dc3f63a871d652712a0e82d71bc6d10dace9fcd (patch)
treef333de7328ee05b261a8d6d4432f8135bdd295ac
parent77b2235f8b22754fb44418fa9fbb499c245c1088 (diff)
downloadhdf5-8dc3f63a871d652712a0e82d71bc6d10dace9fcd.zip
hdf5-8dc3f63a871d652712a0e82d71bc6d10dace9fcd.tar.gz
hdf5-8dc3f63a871d652712a0e82d71bc6d10dace9fcd.tar.bz2
[svn-r19159] 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.
-rwxr-xr-xconfigure4
-rw-r--r--configure.in2
-rw-r--r--src/H5config.h.in6
-rw-r--r--src/Makefile.in4
4 files changed, 11 insertions, 5 deletions
diff --git a/configure b/configure
index aceee30..f4dd68c 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Id: configure.in 19100 2010-07-19 18:38:40Z koziol .
+# From configure.in Id: configure.in 19158 2010-07-30 18:21:54Z koziol .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.65 for HDF5 1.8.5-snap5.
#
@@ -21511,7 +21511,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 2c3a0d7..1be03cb 100644
--- a/configure.in
+++ b/configure.in
@@ -1370,7 +1370,7 @@ AC_TRY_COMPILE([#include <sys/types.h>],
[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 <sys/types.h>
#include <sys/stat.h>],
diff --git a/src/H5config.h.in b/src/H5config.h.in
index 20db6ab..f69bc7e 100644
--- a/src/H5config.h.in
+++ b/src/H5config.h.in
@@ -130,12 +130,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 1084d3f..0926574 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -118,8 +118,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 \