mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
[svn-r14061] Purpose: Removing --disable-hsizet flag from configure.
Description: This flag causes problems for users and is difficult to support in the library. It has been removed. (see Bug 708). Tested: kagiso, linew
This commit is contained in:
parent
755daadd61
commit
85ae38b380
73
configure
vendored
73
configure
vendored
@ -1,5 +1,5 @@
|
||||
#! /bin/sh
|
||||
# From configure.in Id: configure.in 14027 2007-07-30 19:59:05Z epourmal .
|
||||
# From configure.in Id: configure.in 14047 2007-08-07 21:01:15Z mcgreevy .
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.61 for HDF5 1.8.0-beta3post1.
|
||||
#
|
||||
@ -1556,11 +1556,6 @@ Optional Features:
|
||||
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
||||
--enable-maintainer-mode enable make rules and dependencies not useful
|
||||
(and sometimes confusing) to the casual installer
|
||||
--disable-hsizet Datasets can normally be larger than memory and/or
|
||||
files but some compilers are unable to handle this
|
||||
(including versions of GCC before 2.8.0). Disabling
|
||||
the feature causes dataset sizes to be restricted to
|
||||
the size of core memory, or 'size_t'.
|
||||
--disable-dependency-tracking speeds up one-time build
|
||||
--enable-dependency-tracking do not reject slow dependency extractors
|
||||
--enable-fortran Compile the Fortran interface [default=no]
|
||||
@ -2807,33 +2802,17 @@ case $host_os in
|
||||
;;
|
||||
esac
|
||||
|
||||
# Check whether --enable-hsizet was given.
|
||||
if test "${enable_hsizet+set}" = set; then
|
||||
enableval=$enable_hsizet; HSIZET=$enableval
|
||||
fi
|
||||
|
||||
|
||||
{ echo "$as_me:$LINENO: checking for sizeof hsize_t and hssize_t" >&5
|
||||
echo $ECHO_N "checking for sizeof hsize_t and hssize_t... $ECHO_C" >&6; }
|
||||
|
||||
|
||||
case $HSIZET in
|
||||
no|small)
|
||||
{ echo "$as_me:$LINENO: result: small" >&5
|
||||
echo "${ECHO_T}small" >&6; }
|
||||
HSIZET=small
|
||||
;;
|
||||
*)
|
||||
{ echo "$as_me:$LINENO: result: large" >&5
|
||||
{ echo "$as_me:$LINENO: result: large" >&5
|
||||
echo "${ECHO_T}large" >&6; }
|
||||
HSIZET=large
|
||||
HSIZET=large
|
||||
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define HAVE_LARGE_HSIZET 1
|
||||
_ACEOF
|
||||
|
||||
;;
|
||||
esac
|
||||
|
||||
host_config="none"
|
||||
for f in $host_cpu-$host_vendor-$host_os \
|
||||
@ -7928,7 +7907,7 @@ ia64-*-hpux*)
|
||||
;;
|
||||
*-*-irix6*)
|
||||
# Find out which ABI we are using.
|
||||
echo '#line 7931 "configure"' > conftest.$ac_ext
|
||||
echo '#line 7910 "configure"' > conftest.$ac_ext
|
||||
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
(eval $ac_compile) 2>&5
|
||||
ac_status=$?
|
||||
@ -10202,11 +10181,11 @@ else
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
(eval echo "\"\$as_me:10205: $lt_compile\"" >&5)
|
||||
(eval echo "\"\$as_me:10184: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>conftest.err)
|
||||
ac_status=$?
|
||||
cat conftest.err >&5
|
||||
echo "$as_me:10209: \$? = $ac_status" >&5
|
||||
echo "$as_me:10188: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
# So say no if there are warnings other than the usual output.
|
||||
@ -10470,11 +10449,11 @@ else
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
(eval echo "\"\$as_me:10473: $lt_compile\"" >&5)
|
||||
(eval echo "\"\$as_me:10452: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>conftest.err)
|
||||
ac_status=$?
|
||||
cat conftest.err >&5
|
||||
echo "$as_me:10477: \$? = $ac_status" >&5
|
||||
echo "$as_me:10456: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
# So say no if there are warnings other than the usual output.
|
||||
@ -10574,11 +10553,11 @@ else
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
(eval echo "\"\$as_me:10577: $lt_compile\"" >&5)
|
||||
(eval echo "\"\$as_me:10556: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>out/conftest.err)
|
||||
ac_status=$?
|
||||
cat out/conftest.err >&5
|
||||
echo "$as_me:10581: \$? = $ac_status" >&5
|
||||
echo "$as_me:10560: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||
then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
@ -12954,7 +12933,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 12957 "configure"
|
||||
#line 12936 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -13054,7 +13033,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 13057 "configure"
|
||||
#line 13036 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -15406,11 +15385,11 @@ else
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
(eval echo "\"\$as_me:15409: $lt_compile\"" >&5)
|
||||
(eval echo "\"\$as_me:15388: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>conftest.err)
|
||||
ac_status=$?
|
||||
cat conftest.err >&5
|
||||
echo "$as_me:15413: \$? = $ac_status" >&5
|
||||
echo "$as_me:15392: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
# So say no if there are warnings other than the usual output.
|
||||
@ -15510,11 +15489,11 @@ else
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
(eval echo "\"\$as_me:15513: $lt_compile\"" >&5)
|
||||
(eval echo "\"\$as_me:15492: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>out/conftest.err)
|
||||
ac_status=$?
|
||||
cat out/conftest.err >&5
|
||||
echo "$as_me:15517: \$? = $ac_status" >&5
|
||||
echo "$as_me:15496: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||
then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
@ -17080,11 +17059,11 @@ else
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
(eval echo "\"\$as_me:17083: $lt_compile\"" >&5)
|
||||
(eval echo "\"\$as_me:17062: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>conftest.err)
|
||||
ac_status=$?
|
||||
cat conftest.err >&5
|
||||
echo "$as_me:17087: \$? = $ac_status" >&5
|
||||
echo "$as_me:17066: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
# So say no if there are warnings other than the usual output.
|
||||
@ -17184,11 +17163,11 @@ else
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
(eval echo "\"\$as_me:17187: $lt_compile\"" >&5)
|
||||
(eval echo "\"\$as_me:17166: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>out/conftest.err)
|
||||
ac_status=$?
|
||||
cat out/conftest.err >&5
|
||||
echo "$as_me:17191: \$? = $ac_status" >&5
|
||||
echo "$as_me:17170: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||
then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
@ -19382,11 +19361,11 @@ else
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
(eval echo "\"\$as_me:19385: $lt_compile\"" >&5)
|
||||
(eval echo "\"\$as_me:19364: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>conftest.err)
|
||||
ac_status=$?
|
||||
cat conftest.err >&5
|
||||
echo "$as_me:19389: \$? = $ac_status" >&5
|
||||
echo "$as_me:19368: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
# So say no if there are warnings other than the usual output.
|
||||
@ -19650,11 +19629,11 @@ else
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
(eval echo "\"\$as_me:19653: $lt_compile\"" >&5)
|
||||
(eval echo "\"\$as_me:19632: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>conftest.err)
|
||||
ac_status=$?
|
||||
cat conftest.err >&5
|
||||
echo "$as_me:19657: \$? = $ac_status" >&5
|
||||
echo "$as_me:19636: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
# So say no if there are warnings other than the usual output.
|
||||
@ -19754,11 +19733,11 @@ else
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
(eval echo "\"\$as_me:19757: $lt_compile\"" >&5)
|
||||
(eval echo "\"\$as_me:19736: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>out/conftest.err)
|
||||
ac_status=$?
|
||||
cat out/conftest.err >&5
|
||||
echo "$as_me:19761: \$? = $ac_status" >&5
|
||||
echo "$as_me:19740: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||
then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
|
28
configure.in
28
configure.in
@ -199,32 +199,12 @@ case $host_os in
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_ARG_ENABLE([hsizet],
|
||||
[AC_HELP_STRING([--disable-hsizet],
|
||||
[Datasets can normally be larger than
|
||||
memory and/or files but some compilers are
|
||||
unable to handle this (including versions
|
||||
of GCC before 2.8.0). Disabling the
|
||||
feature causes dataset sizes to be
|
||||
restricted to the size of core memory, or
|
||||
'size_t'.])],
|
||||
[HSIZET=$enableval])
|
||||
|
||||
AC_MSG_CHECKING([for sizeof hsize_t and hssize_t])
|
||||
|
||||
AC_SUBST(HSIZET)
|
||||
case $HSIZET in
|
||||
no|small)
|
||||
AC_MSG_RESULT([small])
|
||||
HSIZET=small
|
||||
;;
|
||||
*)
|
||||
AC_MSG_RESULT([large])
|
||||
HSIZET=large
|
||||
AC_DEFINE([HAVE_LARGE_HSIZET], [1],
|
||||
[Define if it's safe to use `long long' for hsize_t and hssize_t])
|
||||
;;
|
||||
esac
|
||||
AC_MSG_RESULT([large])
|
||||
HSIZET=large
|
||||
AC_DEFINE([HAVE_LARGE_HSIZET], [1],
|
||||
[Define if it's safe to use `long long' for hsize_t and hssize_t])
|
||||
|
||||
host_config="none"
|
||||
for f in $host_cpu-$host_vendor-$host_os \
|
||||
|
Loading…
Reference in New Issue
Block a user