AC_DEFUN(DEAL_II_CHECK_CPU_OPTIMIZATIONS, dnl
[
AC_ARG_WITH(cpu,
- [ --with-cpu=cpu Optimize specifically for the given CPU type,
- rather than just generating code for this
- processor family.],
+ [ --with-cpu=cpu Optimize specifically for the given CPU type,
+ rather than just generating code for this processor
+ family.],
withcpu="$withval",
withcpu="")
AC_MSG_CHECKING(for CPU to optimize for)
AC_DEFUN(DEAL_II_CHECK_MULTITHREADING, dnl
[
AC_ARG_ENABLE(multithreading,
- [ --enable-multithreading set compiler flags to allow for
- multithreaded programs],
+ [ --enable-multithreading Set compiler flags to allow for multithreaded
+ programs],
enablemultithreading="$enableval",
enablemultithreading=no)
])
AC_DEFUN(DEAL_II_CHECK_USE_MT, dnl
[
AC_ARG_WITH(multithreading,
- [ --with-multithreading=name If name==posix, or no name given, then use
- POSIX threads.],
+ [ --with-multithreading=name
+ If name==posix, or no name given, then use POSIX
+ threads.],
withmultithreading="$withval",
withmultithreading=no)
AC_DEFUN(DEAL_II_CHECK_COMPAT_BLOCKER, dnl
[
AC_ARG_ENABLE(compat-blocker,
- [ --enable-compat-blocker=mapping block functions that implicitely
- assume a Q1 mapping],
+ [ --enable-compat-blocker=mapping
+ Block functions that implicitely assume a Q1 mapping],
enable_compat_blocker="$enableval",
enable_compat_blocker="")
AC_DEFUN(DEAL_II_CHECK_BOOST, dnl
[ AC_ARG_WITH(boost,
- [ --with-boost=/path/to/boost use an installed boost library instead of the
- contributed one. The optional argument points to the directory containing
- the boost subdirectory for header files.],
+ [ --with-boost=/path/to/boost
+ Use an installed boost library instead of the
+ contributed one. The optional argument points to the
+ directory containing the boost subdirectory for
+ header files.],
DEAL_II_WITH_BOOST($withval))
CPPFLAGS="$BOOST_INCLUDE_DIR $CPPFLAGS"
AC_DEFUN(DEAL_II_CHECK_DOXYGEN, dnl
[
AC_ARG_WITH(doxygen,
- [ --with-doxygen=filename use 'filename' for doxygen],
+ [ --with-doxygen=filename Use 'filename' for doxygen.
+ ],
DOXYGEN="$withval",
DOXYGEN=)
AC_DEFUN(DEAL_II_CONFIGURE_NETCDF, dnl
[
AC_ARG_WITH(netcdf,
- [ --with-netcdf=/path/to/netcdf Specify the path to the NetCDF installation,
- of which the include and library directories are
- subdirs; use this if you want to override the
- NETCDF_DIR environment variable.],
+ [ --with-netcdf=/path/to/netcdf
+ Specify the path to the NetCDF installation, of which
+ the include and library directories are subdirs; use
+ this if you want to override the NETCDF_DIR
+ environment variable.],
[
DEAL_II_NETCDF_DIR="$withval"
],
])
AC_ARG_WITH(netcdf-include,
- [ --with-netcdf-include=/path/to/netcdf Specify the path to the NetCDF headers file;
- use this if you want to override the
- NETCDF_INCLUDE_DIR environment variable.],
+ [ --with-netcdf-include=/path/to/netcdf
+ Specify the path to the NetCDF headers file; use this
+ if you want to override the NETCDF_INCLUDE_DIR
+ environment variable.],
[
NETCDF_INCLUDE_DIR="$withval"
])
AC_ARG_WITH(netcdf-libs,
- [ --with-netcdf-libs=/path/to/netcdf Specify the path to the NetCDF libraries;
- use this if you want to override the
- NETCDF_LIBDIR environment variable.],
+ [ --with-netcdf-libs=/path/to/netcdf
+ Specify the path to the NetCDF libraries; use this if
+ you want to override the NETCDF_LIBDIR environment
+ variable.],
[
NETCDF_LIBDIR="$withval"
])
AC_MSG_CHECKING(for PETSc library directory)
AC_ARG_WITH(petsc,
- [ --with-petsc=/path/to/petsc Specify the path to the PETSc installation,
- of which the include and library directories
- are subdirs; use this if you want to override
- the PETSC_DIR environment variable.],
+ [ --with-petsc=/path/to/petsc
+ Specify the path to the PETSc installation, of which
+ the include and library directories are subdirs; use
+ this if you want to override the PETSC_DIR environment
+ variable.],
[
dnl Special case when someone does --with-petsc=no
if test "x$withval" = "xno" ; then
AC_MSG_CHECKING(for PETSc library architecture)
AC_ARG_WITH(petsc-arch,
- [ --with-petsc-arch=architecture Specify the architecture for your PETSc
- installation; use this if you want to override
- the PETSC_ARCH environment variable.],
+ [ --with-petsc-arch=architecture
+ Specify the architecture for your PETSc installation;
+ use this if you want to override the PETSC_ARCH
+ environment variable.],
[
DEAL_II_PETSC_ARCH="$withval"
AC_MSG_RESULT($DEAL_II_PETSC_ARCH)
AC_MSG_CHECKING(for SLEPc include directory)
AC_ARG_WITH(slepc,
- [ --with-slepc=/path/to/slepc Specify the path to the SLEPc installation,
- for which the include directory is a subdir;
- use this if you want to override the SLEPC_DIR
- environment variable.],
+ [ --with-slepc=/path/to/slepc
+ Specify the path to the SLEPc installation, for which
+ the include directory is a subdir; use this if you
+ want to override the SLEPC_DIR environment variable.],
[
dnl Special case when someone does --with-slepc=no
if test "x$withval" = "xno" ; then
AC_MSG_CHECKING(for SLEPc library architecture)
AC_ARG_WITH(slepc-arch,
- [ --with-slepc-arch=architecture Specify the architecture for your SLEPc
- installation; use this if you want to
- override the SLEPC_ARCH environment variable.],
+ [ --with-slepc-arch=architecture
+ Specify the architecture for your SLEPc installation;
+ use this if you want to override the SLEPC_ARCH
+ environment variable.],
[
DEAL_II_SLEPC_ARCH="$withval"
AC_MSG_RESULT($DEAL_II_SLEPC_ARCH)
[
AC_MSG_CHECKING(for Trilinos directory)
AC_ARG_WITH(trilinos,
- [ --with-trilinos=/path/to/trilinos Specify the path to the Trilinos installation,
- of which the include and lib directories
- are subdirs; use this if you want to override
- the TRILINOS_DIR environment variable.],
+ [ --with-trilinos=/path/to/trilinos
+ Specify the path to the Trilinos installation, of
+ which the include and lib directories are subdirs; use
+ this if you want to override the TRILINOS_DIR
+ environment variable.],
[
dnl Special case when someone does --with-petsc=no
if test "x$withval" = "xno" ; then
AC_MSG_CHECKING(for Trilinos header directory)
AC_ARG_WITH(trilinos-include,
- [ --with-trilinos-include=/path/to/trilinos Specify the path to the Trilinos include;
- use this if you want to override
- the TRILINOS_INCDIR environment variable.],
+ [ --with-trilinos-include=/path/to/trilinos
+ Specify the path to the Trilinos include; use this if
+ you want to override the TRILINOS_INCDIR environment
+ variable.],
[
dnl Special case when someone does --with-petsc=no
if test "x$withval" = "xno" ; then
AC_MSG_CHECKING(for Trilinos library directory)
AC_ARG_WITH(trilinos-libs,
- [ --with-trilinos-libs=/path/to/trilinos Specify the path to the Trilinos libraries;
- use this if you want to override
- the TRILINOS_LIBDIR environment variable.],
+ [ --with-trilinos-libs=/path/to/trilinos
+ Specify the path to the Trilinos libraries; use this
+ if you want to override the TRILINOS_LIBDIR
+ environment variable.],
[
dnl Special case when someone does --with-petsc=no
if test "x$withval" = "xno" ; then
dnl First check for the Metis directory
AC_ARG_WITH(metis,
- [ --with-metis=/path/to/metis Specify the path to the Metis installation,
- of which the include and library directories
- are subdirs; use this if you want to override
- the METIS_DIR environment variable.],
+ [ --with-metis=/path/to/metis
+ Specify the path to the Metis installation, of which
+ the include and library directories are subdirs; use
+ this if you want to override the METIS_DIR environment
+ variable.],
[
USE_CONTRIB_METIS=yes
DEAL_II_METIS_DIR="$withval"
])
AC_ARG_WITH(metis-include,
- [ --with-metis-include=/path/to/metis Specify the path to the METIS headers file;
- use this if you want to override the
- METIS_INCLUDE_DIR environment variable.],
+ [ --with-metis-include=/path/to/metis
+ Specify the path to the METIS headers file; use this
+ if you want to override the METIS_INCLUDE_DIR
+ environment variable.],
[
METIS_INCLUDE_DIR="$withval"
DEAL_II_METIS_INCDIR="$METIS_INCLUDE_DIR"
])
AC_ARG_WITH(metis-libs,
- [ --with-metis-libs=/path/to/metis Specify the path to the METIS libraries;
- use this if you want to override the
- METIS_LIBDIR environment variable.],
+ [ --with-metis-libs=/path/to/metis
+ Specify the path to the METIS libraries; use this if
+ you want to override the METIS_LIBDIR
+ environment variable.],
[
USE_CONTRIB_METIS=yes
DEAL_II_METIS_LIBDIR="$withval"
AC_DEFUN(DEAL_II_WITH_UMFPACK, dnl
[
AC_ARG_WITH(umfpack,
- [ --with-umfpack=umfpack-root-directory Use installed UMFPack version.
- 'umfpack-root-directory' should be the directory
- containing directories AMD and UMFPACK. The
- contributed UMFPack library is used if no argument
- is given. Default is not to use UMFPack.],
+ [ --with-umfpack=umfpack-root-directory
+ Use installed UMFPack version.
+ 'umfpack-root-directory' should be the directory
+ containing directories AMD and UMFPACK. The
+ contributed UMFPack library is used if no argument is
+ given. Default is not to use UMFPack.],
[
AC_MSG_CHECKING(UMFPACK library)
USE_CONTRIB_UMFPACK='yes'
acx_umfpack=no
AC_ARG_WITH(umfpack-include,
- [ --with-umfpack-include=/path/to/UMFPACK Specify the path to the UMFPACK headers file;
- use this if you want to override the
- UMFPACK_INCDIR environment variable.],
+ [ --with-umfpack-include=/path/to/UMFPACK
+ Specify the path to the UMFPACK headers file; use this
+ if you want to override the UMFPACK_INCDIR
+ environment variable.],
[
UMFPACK_INCDIR="$withval"
acx_umfpack=yes
])
AC_ARG_WITH(umfpack-libs,
- [ --with-umfpack-libs=/path/to/UMFPACK Specify the path to the UMFPACK libraries;
- use this if you want to override the
- UMFPACK_LIBDIR environment variable.],
+ [ --with-umfpack-libs=/path/to/UMFPACK
+ Specify the path to the UMFPACK libraries; use this if
+ you want to override the UMFPACK_LIBDIR environment
+ variable.],
[
UMFPACK_LIBDIR="$withval"
acx_umfpack=yes
AC_MSG_RESULT(-------------- configuring shared/static libs ---------------)
AC_ARG_ENABLE(shared,
-[ --enable-shared set compiler flags to generate shared libraries],
+[ --enable-shared Set compiler flags to generate shared libraries],
enableshared="$enableval",
enableshared=yes)
dnl --------------------------------------------------------------
AC_ARG_ENABLE(parser,
- AS_HELP_STRING([--enable-parser],[While switched on by default, this option allows
- to switch off support for the function parser
- in the contrib directory.]),
+ AS_HELP_STRING([--enable-parser],[While switched on by default, this option allows to switch off support for the function parser in the contrib directory.]),
[ enableparser="$enableval"
if test "x$enableval" = "xno" ; then
AC_MSG_RESULT(Function parser disabled)
dnl Check for blas.
AC_ARG_WITH(blas,
- [ --with-blas=blaslib use the blas library blaslib. Make sure
- the path to the libary is searched by ld, since
- it is included by the argument -lblaslib. If no
- argument is given, use -lblas. Default is to use
- -lblas only if required by other libraries.],
+ [ --with-blas=blaslib Use the blas library blaslib. Make sure the path
+ to the libary is searched by ld, since it is
+ included by the argument -lblaslib. If no argument
+ is given, use -lblas. Default is to use -lblas only
+ if required by other libraries.],
DEAL_II_WITH_BLAS($withval))
DEAL_II_CONFIGURE_HSL
fi
AC_ARG_WITH(zlib,
- [ --with-zlib=zlib use the compression library zlib for gzipped input and output
- and link it with -lzlib (the default is -lz).
- Make sure the library is in the search path of ld.],
+ [ --with-zlib=zlib Use the compression library zlib for gzipped
+ input and output and link it with -lzlib (the
+ default is -lz). Make sure the library is in the
+ search path of ld],
DEAL_II_WITH_ZLIB($withval))
dnl Check for LAPACK
AC_ARG_WITH(lapack,
- [ --with-lapack=lapacklib use the lapack library lapacklib. Make sure
- the path to the libary is searched by ld, since it
- is included by the argument -llapacklib. If no
- argument is given, use -llapack. Default is not to
- use -llapack.],
+ [ --with-lapack=lapacklib Use the lapack library lapacklib. Make sure the
+ path to the libary is searched by ld, since it is
+ included by the argument -llapacklib. If no argument
+ is given, use -llapack. Default is not to use
+ -llapack.],
+
DEAL_II_WITH_LAPACK($withval))
dnl Finally check if BLAS is really there. We have to do it this way, since