mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
[svn-r12389] Purpose: Bug fix
Description: There was some logical confusion about the value of the macro H5_HW_FP_TO_LLONG_NOT_WORKS. It's supposed to be true for Windows, but false for Unix machines. Solution: Corrected. Platforms tested: fuss(Linux) and amazon(MacOS 10.4) - simple change.
This commit is contained in:
parent
30d130b7b5
commit
b1f5c03c79
10
configure
vendored
10
configure
vendored
@ -50865,7 +50865,7 @@ echo $ECHO_N "checking if converting floating-point values to long long is not w
|
||||
if test "${hdf5_cv_convert_float_llong_not_works+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
hdf5_cv_convert_float_llong_not_works=yes
|
||||
hdf5_cv_convert_float_llong_not_works=no
|
||||
fi
|
||||
|
||||
|
||||
@ -50875,11 +50875,11 @@ cat >>confdefs.h <<\_ACEOF
|
||||
#define HW_FP_TO_LLONG_NOT_WORKS 1
|
||||
_ACEOF
|
||||
|
||||
echo "$as_me:$LINENO: result: yes" >&5
|
||||
echo "${ECHO_T}yes" >&6
|
||||
echo "$as_me:$LINENO: result: true" >&5
|
||||
echo "${ECHO_T}true" >&6
|
||||
else
|
||||
echo "$as_me:$LINENO: result: no" >&5
|
||||
echo "${ECHO_T}no" >&6
|
||||
echo "$as_me:$LINENO: result: false" >&5
|
||||
echo "${ECHO_T}false" >&6
|
||||
fi
|
||||
|
||||
echo "$as_me:$LINENO: checking if converting from long double to integers is accurate" >&5
|
||||
|
@ -2580,14 +2580,14 @@ dnl (This flag should be _unset_ for all machines, except for Windows, where
|
||||
dnl it's set in the custom Windows H5pubconf.h file)
|
||||
dnl
|
||||
AC_MSG_CHECKING([if converting floating-point values to long long is not working])
|
||||
AC_CACHE_VAL([hdf5_cv_convert_float_llong_not_works], [hdf5_cv_convert_float_llong_not_works=yes])
|
||||
AC_CACHE_VAL([hdf5_cv_convert_float_llong_not_works], [hdf5_cv_convert_float_llong_not_works=no])
|
||||
|
||||
if test ${hdf5_cv_convert_float_llong_not_works} = "yes"; then
|
||||
AC_DEFINE([HW_FP_TO_LLONG_NOT_WORKS], [1],
|
||||
[Define if your system can't handle converting floating-point values to long long.])
|
||||
AC_MSG_RESULT([yes])
|
||||
AC_MSG_RESULT([true])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
AC_MSG_RESULT([false])
|
||||
fi
|
||||
|
||||
dnl -----------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user