[svn-r1500] Changed the default action for the search of HDF4 library and header files

to try locating them under /usr/ncsa/{lib,include} first.  (/usr/ncsa/
is the default location for non-vendor software.)
This commit is contained in:
Albert Cheng 1999-07-16 17:06:31 -05:00
parent 872c45010e
commit 49a0e06480
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -3774,7 +3774,7 @@ if test "${with_hdf4+set}" = set; then
withval="$with_hdf4"
:
else
withval=yes
withval=/usr/ncsa/include,/usr/ncsa/lib
fi
case $withval in

View File

@ -316,7 +316,7 @@ H5TOH4=h5toh4
AC_SUBST(TESTH5TOH4)
TESTH5TOH4='$(srcdir)/testh5toh4'
AC_ARG_WITH(hdf4,[ --with-hdf4=INC,LIB Use the HDF4 library],,withval=yes)
AC_ARG_WITH(hdf4,[ --with-hdf4=INC,LIB Use the HDF4 library],,withval=[/usr/ncsa/include,/usr/ncsa/lib])
case $withval in
yes)
AC_CHECK_HEADERS(mfhdf.h,,unset H5TOH4 TESTH5TOH4)