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

tautges at mcs.anl.gov tautges at mcs.anl.gov
Tue Mar 15 11:58:18 CDT 2011


Author: tautges
Date: 2011-03-15 11:58:17 -0500 (Tue, 15 Mar 2011)
New Revision: 4590

Modified:
   MOAB/trunk/config/netcdf.m4
Log:
Change how pnetcdf libs are picked up during configure.



Modified: MOAB/trunk/config/netcdf.m4
===================================================================
--- MOAB/trunk/config/netcdf.m4	2011-03-15 01:33:52 UTC (rev 4589)
+++ MOAB/trunk/config/netcdf.m4	2011-03-15 16:58:17 UTC (rev 4590)
@@ -193,7 +193,7 @@
                     [FATHOM_CHECK_NETCDF_LIMITS([$1],[$2],[pnetcdf.h],[PNETCDF_SUFFICIENT_DIM_VARS])], 
                     [HAVE_PNETCDF=no] )
 
-  AC_CHECK_LIB( [pnetcdf], [ncmpi_create], , [HAVE_PNETCDF=no] )
+  AC_CHECK_LIB( [pnetcdf], [ncmpi_create], [PNETCDF_LIBS="-lpnetcdf"], [HAVE_PNETCDF=no] )
 
   
   AC_LANG_POP([C])








































More information about the moab-dev mailing list