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

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Wed Mar 24 09:20:30 CDT 2010


Author: kraftche
Date: 2010-03-24 09:20:30 -0500 (Wed, 24 Mar 2010)
New Revision: 3702

Modified:
   MOAB/trunk/config/netcdf.m4
Log:
fix bug in previous NetCDF-related configure changes

Modified: MOAB/trunk/config/netcdf.m4
===================================================================
--- MOAB/trunk/config/netcdf.m4	2010-03-24 14:14:38 UTC (rev 3701)
+++ MOAB/trunk/config/netcdf.m4	2010-03-24 14:20:30 UTC (rev 3702)
@@ -78,7 +78,7 @@
     AC_MSG_CHECKING([if NC_MAX_DIMS is at least ${MIN_NC_MAX_DIMS}])
     AC_COMPILE_IFELSE(
       [AC_LANG_PROGRAM([#include <netcdf.h>],
-                       [[int arr[1 + (int)(${MIN_NC_MAX_DIMS}) - (int)(NC_MAX_DIMS)];]])],
+                       [[int arr[1 + (int)(NC_MAX_DIMS) - (int)(${MIN_NC_MAX_DIMS})];]])],
       [AC_MSG_RESULT([yes])],
       [AC_MSG_RESULT([no]); NETCDF_SUFFICIENT_DIMS_VARS=no])
   fi
@@ -86,7 +86,7 @@
     AC_MSG_CHECKING([if NC_MAX_VARS is at least ${MIN_NC_MAX_VARS}])
     AC_COMPILE_IFELSE(
       [AC_LANG_PROGRAM([#include <netcdf.h>],
-                       [[int arr[1 + (int)(${MIN_NC_MAX_VARS}) - (int)(NC_MAX_VARS)];]])],
+                       [[int arr[1 + (int)(NC_MAX_VARS) - (int)(${MIN_NC_MAX_VARS})];]])],
       [AC_MSG_RESULT([yes])],
       [AC_MSG_RESULT([no]); NETCDF_SUFFICIENT_DIMS_VARS=no])
   fi



More information about the moab-dev mailing list