diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2010-08-09 22:12:38 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2010-08-09 22:12:38 (GMT) |
commit | 9d208e402de469e578b33b5f09a1ec42301ae6b7 (patch) | |
tree | 993a236b095e9a727f21e38ec04c431b93c0038c | |
parent | 1e263eb46ccfaf6d71370764a77155e4c34e5381 (diff) | |
download | hdf5-9d208e402de469e578b33b5f09a1ec42301ae6b7.zip hdf5-9d208e402de469e578b33b5f09a1ec42301ae6b7.tar.gz hdf5-9d208e402de469e578b33b5f09a1ec42301ae6b7.tar.bz2 |
[svn-r19204] Bug 1917: post cleanup.
fseek64 was used to support large file access for the STDIO driver back in
version 1.2.2 in year 2000. Some how it was not included in version 1.4.0.
Now, fseeko64 is used to support large file. There is no more need for fseek64
which is not a standard call. Removed its presence from configure and related
files.
Tested: jam for configure only.
-rwxr-xr-x | configure | 8 | ||||
-rw-r--r-- | configure.in | 4 | ||||
-rw-r--r-- | src/H5config.h.in | 3 |
3 files changed, 6 insertions, 9 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Id: configure.in 19182 2010-08-06 17:51:53Z koziol . +# From configure.in Id: configure.in 19186 2010-08-06 19:37:50Z acheng . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.65 for HDF5 1.8.5-snap5. # @@ -21493,7 +21493,7 @@ off64_t n = 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : - for ac_func in lseek64 fseek64 fseeko64 ftello64 ftruncate64 + for ac_func in lseek64 fseeko64 ftello64 ftruncate64 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" @@ -21507,8 +21507,8 @@ fi done else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: skipping test for lseek64(), fseek64(), fseeko64 , ftello64, ftruncate64() because off64_t is not defined" >&5 -$as_echo "skipping test for lseek64(), fseek64(), fseeko64 , ftello64, ftruncate64() because off64_t is not defined" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: skipping test for lseek64(), fseeko64 , ftello64, ftruncate64() because off64_t is not defined" >&5 +$as_echo "skipping test for lseek64(), fseeko64 , ftello64, ftruncate64() because off64_t is not defined" >&6; } fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext for ac_func in fseeko ftello diff --git a/configure.in b/configure.in index a964fca..b111eba 100644 --- a/configure.in +++ b/configure.in @@ -1368,8 +1368,8 @@ CPPFLAGS="$AM_CPPFLAGS $CPPFLAGS" AC_TRY_COMPILE([#include <sys/types.h>], [off64_t n = 0;], - [AC_CHECK_FUNCS([lseek64 fseek64 fseeko64 ftello64 ftruncate64])], - [AC_MSG_RESULT([skipping test for lseek64(), fseek64(), fseeko64 , ftello64, ftruncate64() because off64_t is not defined])]) + [AC_CHECK_FUNCS([lseek64 fseeko64 ftello64 ftruncate64])], + [AC_MSG_RESULT([skipping test for lseek64(), fseeko64 , ftello64, ftruncate64() because off64_t is not defined])]) AC_CHECK_FUNCS(fseeko ftello) AC_TRY_COMPILE([ #include <sys/types.h> diff --git a/src/H5config.h.in b/src/H5config.h.in index f69bc7e..f51ad9f 100644 --- a/src/H5config.h.in +++ b/src/H5config.h.in @@ -124,9 +124,6 @@ /* Define to 1 if you have the `frexpl' function. */ #undef HAVE_FREXPL -/* Define to 1 if you have the `fseek64' function. */ -#undef HAVE_FSEEK64 - /* Define to 1 if you have the `fseeko' function. */ #undef HAVE_FSEEKO |