summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2010-08-06 19:32:23 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2010-08-06 19:32:23 (GMT)
commit36e716eda0317c475bc1be0e4065c3e61f29b451 (patch)
treebe7268081a25da0131aa3b30696b1ed9aa72ec41 /configure
parent6d22b60931821fd2d3e020f347fa44bd5e520959 (diff)
downloadhdf5-36e716eda0317c475bc1be0e4065c3e61f29b451.zip
hdf5-36e716eda0317c475bc1be0e4065c3e61f29b451.tar.gz
hdf5-36e716eda0317c475bc1be0e4065c3e61f29b451.tar.bz2
[svn-r19185] Bug fix: ID 1917
In some machine (Linux), when --disable-largefile is used, it claims it has fseeko64 but off64_t is NOT supported. Moved the test of fseeko64 and ftello64 to where fseek64 is so that they are tested only if off64_t is supported. Tested: h5committested.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure b/configure
index 2cf1e23..023f811 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Id: configure.in 19086 2010-07-18 12:33:00Z hdftest .
+# From configure.in Id: configure.in 19179 2010-08-05 23:19:01Z koziol .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.65 for HDF5 1.9.75.
#
@@ -21467,7 +21467,7 @@ off64_t n = 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- for ac_func in lseek64 fseek64 ftruncate64
+ for ac_func in lseek64 fseek64 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"
@@ -21481,11 +21481,11 @@ fi
done
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: skipping test for lseek64(), fseek64(), ftruncate64()" >&5
-$as_echo "skipping test for lseek64(), fseek64(), ftruncate64()" >&6; }
+ { $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; }
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-for ac_func in fseeko fseeko64 ftello ftello64
+for ac_func in fseeko ftello
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"