diff options
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 15913 2008-10-21 05:05:50Z acheng . +# From configure.in Id: configure.in 15943 2008-10-24 19:12:21Z songyulu . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for HDF5 1.9.20. # @@ -43578,8 +43578,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 |