[MOAB-dev] r4501 - in MOAB/trunk: . config

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


Author: kraftche
Date: 2011-02-16 10:10:48 -0600 (Wed, 16 Feb 2011)
New Revision: 4501

Modified:
   MOAB/trunk/config/compiler.m4
   MOAB/trunk/config/hdf5.m4
   MOAB/trunk/config/netcdf.m4
   MOAB/trunk/configure.ac
Log:
minor syntax correction for configure flags with optional values

Modified: MOAB/trunk/config/compiler.m4
===================================================================
--- MOAB/trunk/config/compiler.m4	2011-02-16 16:04:15 UTC (rev 4500)
+++ MOAB/trunk/config/compiler.m4	2011-02-16 16:10:48 UTC (rev 4501)
@@ -6,12 +6,7 @@
 #  variable in which to store result
 #######################################################################################
 AC_DEFUN([FATHOM_LIBTOOL_VAR], [
-  echo "SED=$SED" > .tmp
-  ./libtool --tag=$1 --config >>.tmp
-  echo "echo \$$2" >> .tmp
-  chmod +x .tmp
-  $3=`./.tmp`
-  rm .tmp
+  $3=`./libtool --tag=$1 --config | sed -e 's/^$2=//p' -e 'd' | tr -d '"\n'`
 ])
 
 
@@ -75,7 +70,7 @@
 
   # Check for Parallel
   # Need to check this early so we can look for the correct compiler
-AC_ARG_WITH( [mpi], AC_HELP_STRING([[--with-mpi(=DIR)]], [Enable parallel support]),
+AC_ARG_WITH( [mpi], AC_HELP_STRING([[--with-mpi@<:@=DIR@:>@]], [Enable parallel support]),
              [WITH_MPI=$withval],[WITH_MPI=no] )
 if test "xno" != "x$WITH_MPI"; then
 

Modified: MOAB/trunk/config/hdf5.m4
===================================================================
--- MOAB/trunk/config/hdf5.m4	2011-02-16 16:04:15 UTC (rev 4500)
+++ MOAB/trunk/config/hdf5.m4	2011-02-16 16:10:48 UTC (rev 4501)
@@ -80,7 +80,7 @@
   # CLI option for HDF5
 AC_MSG_CHECKING([if HDF5 support is enabled])
 AC_ARG_WITH(hdf5, 
-[AC_HELP_STRING([--with-hdf5=DIR], [Specify HDF5 library to use for native file format])
+[AC_HELP_STRING([--with-hdf5@<:@=DIR@:>@], [Specify HDF5 library to use for native file format])
 AC_HELP_STRING([--without-hdf5], [Disable support for native HDF5 file format])],
 [HDF5_ARG=$withval
  DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS --with-hdf5=\"${withval}\""

Modified: MOAB/trunk/config/netcdf.m4
===================================================================
--- MOAB/trunk/config/netcdf.m4	2011-02-16 16:04:15 UTC (rev 4500)
+++ MOAB/trunk/config/netcdf.m4	2011-02-16 16:10:48 UTC (rev 4501)
@@ -22,7 +22,7 @@
 
 AC_MSG_CHECKING([if NetCDF support is enabled])
 AC_ARG_WITH(netcdf, 
-[AC_HELP_STRING([--with-netcdf=DIR], [Specify NetCDF library to use for ExodusII file format])


More information about the moab-dev mailing list