diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2016-02-18 18:44:04 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2016-02-18 18:44:04 (GMT) |
commit | 649616ed99fab7e6d9cbc0ba11a5bff295cc18eb (patch) | |
tree | 871a78e70a7426c929d1a0f6f75e855221b93710 /configure.ac | |
parent | 26e52066be1a09d4fb8cf041a1cfacfc09edc6d3 (diff) | |
download | hdf5-649616ed99fab7e6d9cbc0ba11a5bff295cc18eb.zip hdf5-649616ed99fab7e6d9cbc0ba11a5bff295cc18eb.tar.gz hdf5-649616ed99fab7e6d9cbc0ba11a5bff295cc18eb.tar.bz2 |
[svn-r29148] Merged autotools LFS changes (r29011) from trunk.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
autotools serial (debug w/ C++ & Fortran)
autotools parallel (MPICH 3.1.4, debug w/ Fortran)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/configure.ac b/configure.ac index 8787262..1224af7 100644 --- a/configure.ac +++ b/configure.ac @@ -1046,10 +1046,6 @@ fi ## case "$host_cpu-$host_vendor-$host_os" in *linux*) - ## Make available various LFS-related routines using the following - ## _LARGEFILE*_SOURCE macros. - AM_CPPFLAGS="-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE $AM_CPPFLAGS" - ## Add POSIX support on Linux systems, so <features.h> defines ## __USE_POSIX, which is required to get the prototype for fdopen ## defined correctly in <stdio.h>. @@ -1084,23 +1080,6 @@ esac CPPFLAGS="$H5_CPPFLAGS $AM_CPPFLAGS $CPPFLAGS" CFLAGS="$H5_CFLAGS $AM_CFLAGS $CFLAGS" -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include <sys/types.h> -]], - [[off64_t n = 0;]])], - [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_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include <sys/types.h> -#include <sys/stat.h> -]], -[[struct stat64 sb;]])], -[AC_CHECK_FUNCS([stat64 fstat64])], -[AC_MSG_RESULT([skipping test for stat64 and fstat64])]) - ## Checkpoint the cache AC_CACHE_SAVE @@ -1151,7 +1130,6 @@ cat >>confdefs.h <<\EOF #include <sys/types.h> /*for off_t definition*/ EOF AC_CHECK_SIZEOF([off_t]) -AC_CHECK_SIZEOF([off64_t]) if test "X$C9x" = "Xyes"; then cat >>confdefs.h <<\EOF |