mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-12 17:31:09 +08:00
[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:
parent
872c45010e
commit
49a0e06480
2
configure
vendored
2
configure
vendored
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user