Lines 177-183
Link Here
|
177 |
*) |
177 |
*) |
178 |
if test -n "$withval" ; then |
178 |
if test -n "$withval" ; then |
179 |
z_lib="`echo $withval |cut -f2 -d, -s`" |
179 |
z_lib="`echo $withval |cut -f2 -d, -s`" |
180 |
ZLIB=$z_lib"/libz."$LLEXT |
180 |
ZLIB="-L$z_lib -lz" |
181 |
HAVE_ZLIB="yes" |
181 |
HAVE_ZLIB="yes" |
182 |
else |
182 |
else |
183 |
ZLIB="" |
183 |
ZLIB="" |
Lines 211-217
Link Here
|
211 |
*) |
211 |
*) |
212 |
if test -n "$withval" ; then |
212 |
if test -n "$withval" ; then |
213 |
jpeg_lib="`echo $withval |cut -f2 -d, -s`" |
213 |
jpeg_lib="`echo $withval |cut -f2 -d, -s`" |
214 |
JPEGLIB=$jpeg_lib"/libjpeg."$LLEXT |
214 |
JPEGLIB="-L$jpeg_lib -ljpeg" |
215 |
dnl AC_MSG_RESULT([jpeg found: $JPEGLIB]); |
215 |
dnl AC_MSG_RESULT([jpeg found: $JPEGLIB]); |
216 |
HAVE_JPEG="yes" |
216 |
HAVE_JPEG="yes" |
217 |
else |
217 |
else |
Lines 246-252
Link Here
|
246 |
*) |
246 |
*) |
247 |
if test -n "$withval" ; then |
247 |
if test -n "$withval" ; then |
248 |
sz_lib="`echo $withval |cut -f2 -d, -s`" |
248 |
sz_lib="`echo $withval |cut -f2 -d, -s`" |
249 |
SZLIB=$sz_lib"/libsz."$LLEXT |
249 |
SZLIB="-L$sz_lib -lsz" |
250 |
dnl AC_MSG_RESULT([szlib found: $SZLIB]); |
250 |
dnl AC_MSG_RESULT([szlib found: $SZLIB]); |
251 |
HAVE_SZIP="yes" |
251 |
HAVE_SZIP="yes" |
252 |
else |
252 |
else |
Lines 302-308
Link Here
|
302 |
;; |
302 |
;; |
303 |
esac |
303 |
esac |
304 |
if test -n "$HDF4LIB"; then |
304 |
if test -n "$HDF4LIB"; then |
305 |
LIBS="$HDF4LIB/libdf.$LLEXT $HDF4LIB/libmfhdf.$LLEXT $LIBS" |
305 |
LIBS="-L$HDF4LIB -ldf -lmhdf $LIBS" |
306 |
HAVE_HDF4="yes" |
306 |
HAVE_HDF4="yes" |
307 |
fi |
307 |
fi |
308 |
AC_MSG_RESULT([$HAVE_HDF4]) |
308 |
AC_MSG_RESULT([$HAVE_HDF4]) |
Lines 363-369
Link Here
|
363 |
*) |
363 |
*) |
364 |
if test -n "$withval" ; then |
364 |
if test -n "$withval" ; then |
365 |
hdf5_lib="`echo $withval |cut -f2 -d, -s`" |
365 |
hdf5_lib="`echo $withval |cut -f2 -d, -s`" |
366 |
HDF5LIB=$hdf5_lib"/libhdf.$LLEXT" |
366 |
HDF5LIB="-L$hdf5_lib -lhdf" |
367 |
hdf5_inc="`echo $withval |cut -f1 -d,`" |
367 |
hdf5_inc="`echo $withval |cut -f1 -d,`" |
368 |
if test -n "$hdf5_inc"; then |
368 |
if test -n "$hdf5_inc"; then |
369 |
HDF5INC="$hdf5_inc" |
369 |
HDF5INC="$hdf5_inc" |
Lines 380-386
Link Here
|
380 |
;; |
380 |
;; |
381 |
esac |
381 |
esac |
382 |
if test -n "$HDF5LIB"; then |
382 |
if test -n "$HDF5LIB"; then |
383 |
LIBS="$HDF5LIB/libhdf5.$LLEXT $LIBS" |
383 |
LIBS="-L$HDF5LIB -lhdf5 $LIBS" |
384 |
HAVE_HDF5="yes" |
384 |
HAVE_HDF5="yes" |
385 |
fi |
385 |
fi |
386 |
AC_MSG_RESULT([$HAVE_HDF5]) |
386 |
AC_MSG_RESULT([$HAVE_HDF5]) |
Lines 628-637
Link Here
|
628 |
if test \( ! -d "$JH45INST" \); then |
628 |
if test \( ! -d "$JH45INST" \); then |
629 |
JH45INST_FOUND=0 |
629 |
JH45INST_FOUND=0 |
630 |
fi |
630 |
fi |
631 |
if test \( ! -w "$JH45INST" \); then |
|
|
632 |
AC_MSG_ERROR( [ $JAVINST : not writable ]) |
633 |
JH45INST_FOUND=0 |
634 |
fi |
635 |
fi |
631 |
fi |
636 |
until test $JH45INST_FOUND -eq 1; do |
632 |
until test $JH45INST_FOUND -eq 1; do |
637 |
echo "Please type the directory in which to install the JH45" |
633 |
echo "Please type the directory in which to install the JH45" |