From b1f5c03c79dffa6510a3322e4c63ee77ad3be5d4 Mon Sep 17 00:00:00 2001 From: Raymond Lu Date: Thu, 1 Jun 2006 13:34:32 -0500 Subject: [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. --- configure | 10 +++++----- configure.in | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/configure b/configure index b5f1aef..f2e521e 100755 --- a/configure +++ b/configure @@ -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 ----------------------------------------------------------------------- -- cgit v0.12