Fix 'Building with HDF4 Support' document

This commit is contained in:
Russ Rew 2013-04-24 22:44:17 +00:00
parent 4070bcf946
commit 07154a6693

View File

@ -188,10 +188,16 @@ done!
\page build_hdf4 Building with HDF4 Support
The netCDF-4 library can (since version 4.1) read HDF4 data files, if
they were created with the SD (Scientific Data) API. To enable this
feature, use the --enable-hdf4 option. The location for the HDF4
header files and library must be set in the CPPFLAGS and LDFLAGS
options.
they were created with the SD (Scientific Data) API.
For this to work, you must build the HDF4 library with the
configure option "--disable-netcdf" to prevent it from building an
HDF4 version of the netCDF-2 library that conflicts with the
netCDF-2 functions built into the Unidata netCDF library.
Then, when building netCDF-4, use the "--enable-hdf4" option to
configure. The location for the HDF4 header files and library must be
set in the CPPFLAGS and LDFLAGS options.
For HDF4 access to work, the library must be build with netCDF-4
features.