summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-04-28 18:42:25 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-04-28 18:42:25 (GMT)
commitd992a4a387d543332c8fcc7e3cdebef5bcc47e7d (patch)
tree865d8ea1a9f1685d8fd37e4cf7a8f36da7e7e271 /configure
parent480e8d4c9cf0d4b399de7564cc15c4b372e90f51 (diff)
downloadhdf5-d992a4a387d543332c8fcc7e3cdebef5bcc47e7d.zip
hdf5-d992a4a387d543332c8fcc7e3cdebef5bcc47e7d.tar.gz
hdf5-d992a4a387d543332c8fcc7e3cdebef5bcc47e7d.tar.bz2
[svn-r8427] Purpose:
Bug fix (sorta) Description: Add hack to allow the MS Visual Studio 6 compiler to build the library. It cannot cast unsigned long long values to float or double values. So, add another configuration macro to disable this conversion in the library. Just the "hardware" conversion is disabled, so the library will still correctly convert unsigned long long to float and double values, it will just happen more slowly with the "software" conversion routine. Platforms tested: FreeBSD 4.9 (sleipnir) with "Windows" setting faked inappropriate for h5committest
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure22
1 files changed, 22 insertions, 0 deletions
diff --git a/configure b/configure
index b2efb89..b0d937a 100755
--- a/configure
+++ b/configure
@@ -33285,6 +33285,28 @@ else
echo "${ECHO_T}no" >&6
fi
+echo "$as_me:$LINENO: checking if compiling unsigned long long to floating-point typecasts work" >&5
+echo $ECHO_N "checking if compiling unsigned long long to floating-point typecasts work... $ECHO_C" >&6
+if test "${hdf5_cv_ullong_to_fp_cast_works+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ hdf5_cv_ullong_to_fp_cast_works=yes
+fi
+
+
+if test ${hdf5_cv_ullong_to_fp_cast_works} = "yes"; then
+
+cat >>confdefs.h <<\_ACEOF
+#define ULLONG_TO_FP_CAST_WORKS 1
+_ACEOF
+
+ echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
H5_VERSION="`cut -d' ' -f3 $srcdir/README.txt | head -1`"