[MOAB-dev] r4499 - in MOAB/branches/Version4.0: . config

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Wed Feb 16 10:03:46 CST 2011


Author: kraftche
Date: 2011-02-16 10:03:46 -0600 (Wed, 16 Feb 2011)
New Revision: 4499

Modified:
   MOAB/branches/Version4.0/RELEASE_NOTES
   MOAB/branches/Version4.0/config/netcdf.m4
Log:
Fix netcdf build w/ required HDF5 in non-system path

Modified: MOAB/branches/Version4.0/RELEASE_NOTES
===================================================================
--- MOAB/branches/Version4.0/RELEASE_NOTES	2011-02-16 15:52:48 UTC (rev 4498)
+++ MOAB/branches/Version4.0/RELEASE_NOTES	2011-02-16 16:03:46 UTC (rev 4499)
@@ -1,5 +1,6 @@
 Version 4.0.1:
 * Fix zoltan build on case-insensitive file systems (e.g. MacOS)
+* Fix netcdf build w/ required HDF5 in non-system path
 
 Version 4.0:
 * Many improvements to parallel correctness and efficiency

Modified: MOAB/branches/Version4.0/config/netcdf.m4
===================================================================
--- MOAB/branches/Version4.0/config/netcdf.m4	2011-02-16 15:52:48 UTC (rev 4498)
+++ MOAB/branches/Version4.0/config/netcdf.m4	2011-02-16 16:03:46 UTC (rev 4499)
@@ -116,6 +116,8 @@
     [AC_MSG_RESULT([yes]); NETCDF_LIBS="-lnetcdf_c++ -lnetcdf"], 
     [AC_MSG_RESULT([no]);
      AC_MSG_CHECKING([for netcdf_c++ library requiring HDF5-high-level])
+     LDFLAGS="$LDFLAGS $HDF5_LDFLAGS"
+     NETCDF_LDFLAGS="$NETCDF_LDFLAGS $HDF5_LDFLAGS"
      LIBS="$LIBS $HDF5_LIBS -lhdf5_hl -lhdf5"
      AC_TRY_LINK(
            [#include <netcdf.hh>], [NcFile ncf("foo",NcFile::ReadOnly);],




























More information about the moab-dev mailing list