diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-09-15 20:20:39 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-09-15 20:20:39 (GMT) |
commit | b047710a9577cb381308f30b67e81f2974029333 (patch) | |
tree | 5888c6f563bc2946d91a590ac5f7b76f5a66812b /configure | |
parent | 24725d64aa4e944c4be4e0dcefa0880cb8ac627c (diff) | |
download | hdf5-b047710a9577cb381308f30b67e81f2974029333.zip hdf5-b047710a9577cb381308f30b67e81f2974029333.tar.gz hdf5-b047710a9577cb381308f30b67e81f2974029333.tar.bz2 |
[svn-r12669] Description:
Use a slightly less efficient method of computing the log2() on SGI IRIX64,
in order to avoid a compiler bug when optimizations are turned on.
Tested on:
SGI IRIX64 6.5 (atlantia)
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -51915,6 +51915,28 @@ else echo "${ECHO_T}no" >&6 fi +echo "$as_me:$LINENO: checking if bad code for log2 routine is generated" >&5 +echo $ECHO_N "checking if bad code for log2 routine is generated... $ECHO_C" >&6 +if test "${hdf5_cv_bad_log2_code_generated+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + hdf5_cv_bad_log2_code_generated=no +fi + + +if test ${hdf5_cv_bad_log2_code_generated} = "yes"; then + +cat >>confdefs.h <<\_ACEOF +#define BAD_LOG2_CODE_GENERATED 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`" |