[MOAB-dev] r4500 - MOAB/trunk/config

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Wed Feb 16 10:04:15 CST 2011


Author: kraftche
Date: 2011-02-16 10:04:15 -0600 (Wed, 16 Feb 2011)
New Revision: 4500

Modified:
   MOAB/trunk/config/netcdf.m4
Log:
Fix netcdf build w/ required HDF5 in non-system path

Modified: MOAB/trunk/config/netcdf.m4
===================================================================
--- MOAB/trunk/config/netcdf.m4	2011-02-16 16:03:46 UTC (rev 4499)
+++ MOAB/trunk/config/netcdf.m4	2011-02-16 16:04:15 UTC (rev 4500)
@@ -85,6 +85,8 @@
   AC_CHECK_LIB( [netcdf], [nc_create], [NETCDF_LIBS="-lnetcdf"], [
     unset ac_cv_lib_netcdf
     unset ac_cv_lib_netcdf_nc_create
+    LDFLAGS="$LDFLAGS $HDF5_LDFLAGS"
+    NETCDF_LDFLAGS="$NETCDF_LDFLAGS $HDF5_LDFLAGS"
     AC_CHECK_LIB( [netcdf], [nc_create], [NETCDF_LIBS="-lnetcdf -lhdf5_hl -lhdf5"], [
       unset ac_cv_lib_netcdf
       unset ac_cv_lib_netcdf_nc_create








































More information about the moab-dev mailing list