diff options
author | Mike McGreevy <mamcgree@hdfgroup.org> | 2008-10-24 21:30:49 (GMT) |
---|---|---|
committer | Mike McGreevy <mamcgree@hdfgroup.org> | 2008-10-24 21:30:49 (GMT) |
commit | 1c0b6529947b12d85e328726504e2ae49fd199cd (patch) | |
tree | 4df94ae535c099383ca18ad32cc33c8969a78507 /configure | |
parent | 5f16ae281c3c72cccc731b864cea08b8056dd64f (diff) | |
download | hdf5-1c0b6529947b12d85e328726504e2ae49fd199cd.zip hdf5-1c0b6529947b12d85e328726504e2ae49fd199cd.tar.gz hdf5-1c0b6529947b12d85e328726504e2ae49fd199cd.tar.bz2 |
[svn-r15948] Purpose: Bug Fix
Description: Adding the SZIP path to LD_LIBRARY_PATH within configure was
inadvertently blowing away anything already in LD_LIBRARY_PATH. This
fixes that, which solves, among other things, the problem where
configure failed to learn how to print 'long long' on cobalt.
Tested: full make check install: kagiso, smirom
configure / make / h5ls test only : cobalt, linew
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Id: configure.in 15912 2008-10-21 04:10:17Z acheng . +# From configure.in Id: configure.in 15936 2008-10-23 19:48:45Z songyulu . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for HDF5 1.8.1-snap7. # @@ -43576,8 +43576,13 @@ if test "x$HAVE_SZLIB" = "xyes" -a "x$HAVE_SZLIB_H" = "xyes"; then { echo "$as_me:$LINENO: checking for szlib encoder" >&5 echo $ECHO_N "checking for szlib encoder... $ECHO_C" >&6; } - export LD_LIBRARY_PATH="$szlib_lib" - LL_PATH="$szlib_lib" + if test -z "$LD_LIBRARY_PATH"; then + export LD_LIBRARY_PATH="$szlib_lib" + else + export LD_LIBRARY_PATH="$szlib_lib:$LD_LIBRARY_PATH" + fi + + LL_PATH="$LD_LIBRARY_PATH" if test "${hdf5_cv_szlib_can_encode+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 |