In 4.0.1 there are a couple of minor bugs:
--- configure.ac.orig 2009-09-27 11:20:39.000000000 +0200
+++ configure.ac 2009-09-27 11:20:11.000000000 +0200
@@ -1159,7 +1159,7 @@
fi
if test "x$enable_netcdf_4" = xyes ; then
if test "x$HDF5DIR" != x ; then
- NC_LIBS="$NC_LIBS -L$HDF5DIR"
+ NC_LIBS="$NC_LIBS -L$HDF5DIR/lib"
fi
NC_LIBS="$NC_LIBS -lhdf5_hl -lhdf5 $SZLIB_LIBS"
if test "x$ZLIBDIR" != x ; then
and netcdf.pc.in uses an unexistent @FLIBS@ autoconf var which
is obviously never substituted and so copied literally in the
resulting netcdf.pc.
Cheers
--
Francesco P. Lovergine