diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2006-06-01 18:34:32 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2006-06-01 18:34:32 (GMT) |
commit | b1f5c03c79dffa6510a3322e4c63ee77ad3be5d4 (patch) | |
tree | c8d56c6a1fffb5c3db4698438155897e2d520976 | |
parent | 30d130b7b5aaf8422e29005f566cd2caef5558f6 (diff) | |
download | hdf5-b1f5c03c79dffa6510a3322e4c63ee77ad3be5d4.zip hdf5-b1f5c03c79dffa6510a3322e4c63ee77ad3be5d4.tar.gz hdf5-b1f5c03c79dffa6510a3322e4c63ee77ad3be5d4.tar.bz2 |
[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.
-rwxr-xr-x | configure | 10 | ||||
-rw-r--r-- | configure.in | 6 |
2 files changed, 8 insertions, 8 deletions
@@ -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 diff --git a/configure.in b/configure.in index 5b77514..e1c040b 100644 --- a/configure.in +++ b/configure.in @@ -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 ----------------------------------------------------------------------- |