[cig-commits] r22947 - seismo/3D/SPECFEM3D_GLOBE/trunk
elliott.sales.de.andrade at geodynamics.org
elliott.sales.de.andrade at geodynamics.org
Tue Oct 8 00:13:23 PDT 2013
Author: elliott.sales.de.andrade
Date: 2013-10-08 00:13:22 -0700 (Tue, 08 Oct 2013)
New Revision: 22947
Modified:
seismo/3D/SPECFEM3D_GLOBE/trunk/configure
seismo/3D/SPECFEM3D_GLOBE/trunk/configure.ac
Log:
autoconf: Change vec from --with to --enable.
It makes more sense as an --enable option as it change compilation
settings and doesn't add additional libraries.
Modified: seismo/3D/SPECFEM3D_GLOBE/trunk/configure
===================================================================
--- seismo/3D/SPECFEM3D_GLOBE/trunk/configure 2013-10-08 07:13:17 UTC (rev 22946)
+++ seismo/3D/SPECFEM3D_GLOBE/trunk/configure 2013-10-08 07:13:22 UTC (rev 22947)
@@ -736,7 +736,7 @@
with_cuda
enable_vtk
with_adios
-with_vec
+enable_vectorization
with_vtk
with_vtk_suffix
with_vtk_version
@@ -1380,14 +1380,14 @@
--enable-double-precision
solver in double precision [default=no]
--enable-vtk build VTK enabled version [default=no]
+ --enable-vectorization build FORCE_VECTORIZATION enabled version
+ [default=yes]
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-cuda build cuda GPU enabled version [default=no]
--with-adios build ADIOS enabled version [default=no]
- --with-vec build FORCE_VECTORIZATION enabled version
- [default=yes]
--with-vtk The prefix where VTK is installed [default=/usr]
--with-vtk-suffix Suffix to append to VTK's include directory, e.g.,
for vtk-5.2/ the suffix is "-5.2"
@@ -2777,15 +2777,14 @@
### FORCE_VECTORIZATION
###
-
-# Check whether --with-vec was given.
-if test "${with_vec+set}" = set; then :
- withval=$with_vec; want_vec="$withval"
+# Check whether --enable-vectorization was given.
+if test "${enable_vectorization+set}" = set; then :
+ enableval=$enable_vectorization; want_vec="$enableval"
else
want_vec=yes
fi
- if test "$want_vec" != no; then
+ if test x"$want_vec" != xno; then
COND_VECTORIZATION_TRUE=
COND_VECTORIZATION_FALSE='#'
else
Modified: seismo/3D/SPECFEM3D_GLOBE/trunk/configure.ac
===================================================================
--- seismo/3D/SPECFEM3D_GLOBE/trunk/configure.ac 2013-10-08 07:13:17 UTC (rev 22946)
+++ seismo/3D/SPECFEM3D_GLOBE/trunk/configure.ac 2013-10-08 07:13:22 UTC (rev 22947)
@@ -81,12 +81,12 @@
### FORCE_VECTORIZATION
###
-AC_ARG_WITH([vec],
- [AC_HELP_STRING([--with-vec],
+AC_ARG_ENABLE([vectorization],
+ [AC_HELP_STRING([--enable-vectorization],
[build FORCE_VECTORIZATION enabled version @<:@default=yes@:>@])],
- [want_vec="$withval"],
+ [want_vec="$enableval"],
[want_vec=yes])
-AM_CONDITIONAL([COND_VECTORIZATION], [test "$want_vec" != no])
+AM_CONDITIONAL([COND_VECTORIZATION], [test x"$want_vec" != xno])
############################################################
More information about the CIG-COMMITS
mailing list