dnl is stored.
dnl
dnl
-dnl Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by the deal.II authors
+dnl Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 by the deal.II authors
dnl
dnl $Id$
dnl high...
AC_MSG_RESULT(C++ compiler is IBM xlC)
GXX_VERSION=ibm_xlc
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
else
dnl Check whether we are dealing with the MIPSpro C++ compiler
AC_MSG_RESULT(C++ compiler is $mips_pro)
AC_MSG_ERROR(This compiler is not supported)
GXX_VERSION=MIPSpro7.3
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
;;
*7.4)
AC_MSG_RESULT(C++ compiler is MIPSpro compiler 7.4)
AC_MSG_ERROR(This compiler is not supported. Use MIPSPro compiler 7.4x)
GXX_VERSION=MIPSpro7.4
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
;;
*7.41* | *7.42* | *7.43* | *7.44*)
AC_MSG_RESULT(C++ compiler is MIPSpro compiler 7.4x)
GXX_VERSION=MIPSpro7.4x
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
;;
*"7.5"*)
AC_MSG_RESULT(C++ compiler is MIPSpro compiler 7.5)
GXX_VERSION=MIPSpro7.5
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
;;
*)
AC_MSG_RESULT(C++ compiler is unknown version but accepted MIPSpro compiler version)
GXX_VERSION=MIPSpro-other
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
;;
esac
else
AC_MSG_RESULT(C++ compiler is icc)
GXX_VERSION=intel_icc
fi fi fi fi fi fi
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
else
dnl Or DEC's cxx compiler?
if test "x$is_dec_cxx" != "x" ; then
AC_MSG_RESULT(C++ compiler is Compaq-cxx)
GXX_VERSION=compaq_cxx
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
else
dnl Sun Workshop/Studio?
if test "x$is_sun_cc_1$is_sun_cc_2" != "x" ; then
AC_MSG_RESULT(C++ compiler is Sun Workshop compiler)
GXX_VERSION=sun_workshop
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
else
dnl Sun Forte?
if test "x$is_sun_forte_cc" != "x" ; then
AC_MSG_RESULT(C++ compiler is Sun Forte compiler)
GXX_VERSION=sun_forte
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
else
dnl Portland Group C++?
if test "x$is_pgcc" != "x" ; then
AC_MSG_RESULT(C++ compiler is Portland Group C++)
GXX_VERSION=portland_group
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
else
dnl HP aCC?
if test "x$is_aCC" != "x" ; then
AC_MSG_RESULT(C++ compiler is HP aCC)
GXX_VERSION=hp_aCC
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
else
dnl Borland C++
if test "x$is_bcc" != "x" ; then
AC_MSG_RESULT(C++ compiler is Borland C++)
GXX_VERSION=borland_bcc
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
else
dnl KAI C++? It seems as if the documented options
if test "x$is_kai_cc" != "x" ; then
AC_MSG_RESULT(C++ compiler is KAI C++)
GXX_VERSION=kai_cc
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
else
dnl Maybe PathScale's compiler?
if test "x$is_pathscale" != "x" ; then
AC_MSG_RESULT(C++ compiler is PathScale C++)
GXX_VERSION=pathscale_cc
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
else
dnl Aw, nothing suitable found...
AC_MSG_RESULT(Unrecognized C++ compiler -- Try to go ahead and get help from dealii@dealii.org)
GXX_VERSION=unknown_cc
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
fi
fi
fi
dnl
dnl -------------------------------------------------------------
AC_DEFUN(DEAL_II_CHECK_RPATH,
-[ OLD_LDFLAGS=$LDFLAGS
+[ OLD_LDFLAGS="$LDFLAGS"
LDFLAGS="-Wl,-rpath,$DEAL_II_PATH/lib $LDFLAGS"
AC_MSG_CHECKING([whether compiler understands option -Wl,-rpath])
AC_LINK_IFELSE(
[ AC_MSG_RESULT(yes)
LD_PATH_OPTION="-Wl,-rpath "],
[ AC_MSG_RESULT(no)
- LDFLAGS=$OLD_LDFLAGS
+ LDFLAGS="$OLD_LDFLAGS"
LD_PATH_OPTION="no"])
])
AC_DEFUN(DEAL_II_CHECK_LINK_SONAME,
[
dnl First try -soname
- OLD_LDFLAGS=$LDFLAGS
+ OLD_LDFLAGS="$LDFLAGS"
LDFLAGS="-Wl,-soname,libbase.so.6.2.1 $LDFLAGS $SHLIBFLAGS"
AC_MSG_CHECKING([whether compiler understands option -Wl,-soname])
AC_LINK_IFELSE(
DEAL_II_LD_UNDERSTANDS_SONAME="no"
]
)
- LDFLAGS=$OLD_LDFLAGS
+ LDFLAGS="$OLD_LDFLAGS"
AC_SUBST(DEAL_II_LD_UNDERSTANDS_SONAME)
dnl Now try the -dylib_install_name thing
- OLD_LDFLAGS=$LDFLAGS
+ OLD_LDFLAGS="$LDFLAGS"
LDFLAGS="-Wl,-dynamic,-install_name -Wl,libbase.so.6.2.1 $LDFLAGS -shared"
AC_MSG_CHECKING([whether compiler understands option -Wl,-dynamic,-install_name])
AC_LINK_IFELSE(
DEAL_II_LD_UNDERSTANDS_DYLIB_INSTALL_NAME="no"
]
)
- LDFLAGS=$OLD_LDFLAGS
+ LDFLAGS="$OLD_LDFLAGS"
AC_SUBST(DEAL_II_LD_UNDERSTANDS_DYLIB_INSTALL_NAME)
])
[ --with-cpu=cpu Optimize specifically for the given CPU type,
rather than just generating code for this
processor family.],
- withcpu=$withval,
+ withcpu="$withval",
withcpu="")
AC_MSG_CHECKING(for CPU to optimize for)
case "$withcpu" in
CXXFLAGS="$CXXFLAGSG -$i"
DEAL_II_TRY_COMPILER_FLAG(
[
- thread_flag=$i
+ thread_flag="$i"
CXXFLAGSG="$CXXFLAGSG -$i"
CXXFLAGSO="$CXXFLAGSO -$i"
LDFLAGS="$LDFLAGS -$i"
AC_ARG_ENABLE(multithreading,
[ --enable-multithreading set compiler flags to allow for
multithreaded programs],
- enablemultithreading=$enableval,
+ enablemultithreading="$enableval",
enablemultithreading=no)
])
AC_ARG_WITH(multithreading,
[ --with-multithreading=name If name==posix, or no name given, then use
POSIX threads.],
- withmultithreading=$withval,
+ withmultithreading="$withval",
withmultithreading=no)
dnl Default (i.e. no arg) means POSIX
AC_ARG_ENABLE(compat-blocker,
[ --enable-compat-blocker=mapping block functions that implicitely
assume a Q1 mapping],
- enable_compat_blocker=$enableval,
+ enable_compat_blocker="$enableval",
enable_compat_blocker="")
dnl Replace the comma-separated list by a space-separated one
[
AC_MSG_CHECKING(whether isnan is declared with $1 flags)
AC_LANG(C++)
- CXXFLAGS=$2
+ CXXFLAGS="$2"
deal_II_isnan_flag=""
AC_TRY_COMPILE(
[
[
AC_MSG_CHECKING(for std::isfinite)
AC_LANG(C++)
- CXXFLAGS=$CXXFLAGSG
+ CXXFLAGS="$CXXFLAGSG"
AC_TRY_COMPILE(
[
#include <cmath>
[
AC_MSG_CHECKING(for rand_r)
AC_LANG(C++)
- CXXFLAGS=$CXXFLAGSG
+ CXXFLAGS="$CXXFLAGSG"
AC_TRY_COMPILE(
[
#include <cstdlib>
[
AC_MSG_CHECKING(whether AssertThrow works with $1 flags)
AC_LANG(C++)
- CXXFLAGS=$2
+ CXXFLAGS="$2"
AC_TRY_COMPILE(
[
#include <exception>
-dnl -------------------------------------------------------------
-dnl Check for KDOC.
-dnl
-dnl Usage: DEAL_II_CHECK_KDOC
-dnl
-dnl -------------------------------------------------------------
-AC_DEFUN(DEAL_II_CHECK_KDOC, dnl
-[
- dnl Find the kdoc directory for documentation. kdoc2 is in
- dnl the contrib directory, but you might want another one
- AC_ARG_WITH(kdoc,
- [ --with-kdoc=DIR use kdoc installed in DIR],
- kdocdir=$withval,
- kdocdir=${DEAL2_DIR}/contrib/kdoc/bin)
- AC_MSG_CHECKING(for kdoc)
-
- dnl lets see whether the file exists if not the default was taken
- if test "$kdocdir" != ${DEAL2_DIR}/contrib/kdoc/bin ; then
- if test -r $kdocdir/kdoc ; then
- AC_MSG_RESULT(found)
- else
- AC_MSG_RESULT(not found)
- AC_MSG_ERROR(Invalid kdoc path $kdocdir/kdoc)
- fi
-
- if test -r "$kdocdir/Version" ; then
- kdocversion=`cat $kdocdir/Version` ;
- else
- kdocversion=1;
- fi
- else
- kdocversion=`cat ${DEAL2_DIR}/contrib/kdoc/src/Version`
- AC_MSG_RESULT(using default version $kdocversion)
- fi
-])
-
-
-
dnl -------------------------------------------------------------
dnl Check for Doxygen.
dnl
[
AC_ARG_WITH(doxygen,
[ --with-doxygen=filename use 'filename' for doxygen],
- DOXYGEN=$withval,
+ DOXYGEN="$withval",
DOXYGEN=)
dnl lets see whether the file exists
[
for i [ in $TECHOME $TEC100HOME $TEC90HOME $TEC80HOME ] ; do
AC_CHECK_FILE($i/lib/tecio.a,
- TECPLOT_LIB=$i/lib/tecio.a)
+ TECPLOT_LIB="$i/lib/tecio.a")
AC_CHECK_FILE($i/include/TECIO.h,
TECPLOT_INCLUDE_DIR=-I$i/include,
TECPLOT_LIB="")
subdirs; use this if you want to override the
NETCDF_DIR environment variable.],
[
- DEAL_II_NETCDF_DIR=$withval
+ DEAL_II_NETCDF_DIR="$withval"
],
[
dnl Take something from the environment variables, if it is there
use this if you want to override the
NETCDF_INCLUDE_DIR environment variable.],
[
- NETCDF_INCLUDE_DIR=$withval
+ NETCDF_INCLUDE_DIR="$withval"
])
AC_ARG_WITH(netcdf-libs,
use this if you want to override the
NETCDF_LIBDIR environment variable.],
[
- NETCDF_LIBDIR=$withval
+ NETCDF_LIBDIR="$withval"
])
USE_CONTRIB_PETSC=no
else
USE_CONTRIB_PETSC=yes
- DEAL_II_PETSC_DIR=$withval
+ DEAL_II_PETSC_DIR="$withval"
AC_MSG_RESULT($DEAL_II_PETSC_DIR)
dnl Make sure that what was specified is actually correct
installation; use this if you want to override
the PETSC_ARCH environment variable.],
[
- DEAL_II_PETSC_ARCH=$withval
+ DEAL_II_PETSC_ARCH="$withval"
AC_MSG_RESULT($DEAL_II_PETSC_ARCH)
],
[
AC_MSG_CHECKING(for PETSc libmpiuni library)
if test -f $DEAL_II_PETSC_DIR/lib/libg_c++/$DEAL_II_PETSC_ARCH/libmpiuni.a ; then
- DEAL_II_PETSC_MPIUNI_LIB=$DEAL_II_PETSC_DIR/lib/libg_c++/$DEAL_II_PETSC_ARCH/libmpiuni.a ;
+ DEAL_II_PETSC_MPIUNI_LIB="$DEAL_II_PETSC_DIR/lib/libg_c++/$DEAL_II_PETSC_ARCH/libmpiuni.a" ;
else if test -f $DEAL_II_PETSC_DIR/lib/$DEAL_II_PETSC_ARCH/libmpiuni.a ; then
- DEAL_II_PETSC_MPIUNI_LIB=$DEAL_II_PETSC_DIR/lib/$DEAL_II_PETSC_ARCH/libmpiuni.a ;
+ DEAL_II_PETSC_MPIUNI_LIB="$DEAL_II_PETSC_DIR/lib/$DEAL_II_PETSC_ARCH/libmpiuni.a" ;
else if test -f $DEAL_II_PETSC_DIR/lib/libg_c++/$DEAL_II_PETSC_ARCH/libmpiuni.so ; then
- DEAL_II_PETSC_MPIUNI_LIB=$DEAL_II_PETSC_DIR/lib/libg_c++/$DEAL_II_PETSC_ARCH/libmpiuni.so ;
+ DEAL_II_PETSC_MPIUNI_LIB="$DEAL_II_PETSC_DIR/lib/libg_c++/$DEAL_II_PETSC_ARCH/libmpiuni.so" ;
else if test -f $DEAL_II_PETSC_DIR/lib/$DEAL_II_PETSC_ARCH/libmpiuni.so ; then
- DEAL_II_PETSC_MPIUNI_LIB=$DEAL_II_PETSC_DIR/lib/$DEAL_II_PETSC_ARCH/libmpiuni.so ;
+ DEAL_II_PETSC_MPIUNI_LIB="$DEAL_II_PETSC_DIR/lib/$DEAL_II_PETSC_ARCH/libmpiuni.so" ;
fi fi fi fi
AC_MSG_RESULT($DEAL_II_PETSC_MPIUNI_LIB)
USE_CONTRIB_SLEPC=no
else
USE_CONTRIB_SLEPC=yes
- DEAL_II_SLEPC_DIR=$withval
+ DEAL_II_SLEPC_DIR="$withval"
AC_MSG_RESULT($DEAL_II_SLEPC_DIR)
dnl Make sure that what was specified is actually correct
installation; use this if you want to override
the SLEPC_ARCH environment variable.],
[
- DEAL_II_SLEPC_ARCH=$withval
+ DEAL_II_SLEPC_ARCH="$withval"
AC_MSG_RESULT($DEAL_II_SLEPC_ARCH)
],
[
USE_CONTRIB_TRILINOS=no
else
USE_CONTRIB_TRILINOS=yes
- DEAL_II_TRILINOS_DIR=$withval
+ DEAL_II_TRILINOS_DIR="$withval"
AC_MSG_RESULT($DEAL_II_TRILINOS_DIR)
dnl Make sure that what was specified is actually correct
USE_CONTRIB_TRILINOS=no
else
USE_CONTRIB_TRILINOS=yes
- DEAL_II_TRILINOS_INCDIR=$withval
+ DEAL_II_TRILINOS_INCDIR="$withval"
AC_MSG_RESULT($DEAL_II_TRILINOS_INCDIR)
dnl Make sure that what was specified is actually correct
USE_CONTRIB_TRILINOS=no
else
USE_CONTRIB_TRILINOS=yes
- DEAL_II_TRILINOS_LIBDIR=$withval
+ DEAL_II_TRILINOS_LIBDIR="$withval"
AC_MSG_RESULT($DEAL_II_TRILINOS_LIBDIR)
dnl Make sure that what was specified is actually correct
the METIS_DIR environment variable.],
[
USE_CONTRIB_METIS=yes
- DEAL_II_METIS_DIR=$withval
+ DEAL_II_METIS_DIR="$withval"
AC_MSG_RESULT($DEAL_II_METIS_DIR)
dnl Make sure that what was specified is actually correct
use this if you want to override the
METIS_INCLUDE_DIR environment variable.],
[
- METIS_INCLUDE_DIR=$withval
+ METIS_INCLUDE_DIR="$withval"
DEAL_II_METIS_INCDIR="$METIS_INCLUDE_DIR"
])
METIS_LIBDIR environment variable.],
[
USE_CONTRIB_METIS=yes
- DEAL_II_METIS_LIBDIR=$withval
+ DEAL_II_METIS_LIBDIR="$withval"
AC_MSG_RESULT($DEAL_II_METIS_LIBDIR)
dnl Make sure that what was specified is actually correct
AC_MSG_RESULT(using included version)
DEAL_II_USE_INTERNAL_UMFPACK=yes
else
- UMFPACK_DIR=$withval
+ UMFPACK_DIR="$withval"
UMFPACK_INCLUDE_DIR="-I$withval/Include"
AC_MSG_RESULT(trying version at $withval)
fi
use this if you want to override the
UMFPACK_INCDIR environment variable.],
[
- UMFPACK_INCDIR=$withval
+ UMFPACK_INCDIR="$withval"
acx_umfpack=yes
])
use this if you want to override the
UMFPACK_LIBDIR environment variable.],
[
- UMFPACK_LIBDIR=$withval
+ UMFPACK_LIBDIR="$withval"
acx_umfpack=yes
])
#! /bin/sh
-# From configure.in Revision: 17758 .
+# From configure.in Revision: 17948 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for deal.II 6.2.pre.
#
-DEAL2_DIR=$DEAL_II_PATH
+DEAL2_DIR="$DEAL_II_PATH"
# Make sure we can run config.sub.
{ echo "$as_me:$LINENO: result: ---------------- configuring C/C++ compilers ----------------" >&5
echo "${ECHO_T}---------------- configuring C/C++ compilers ----------------" >&6; }
-OLDCFLAGS=$CFLAGS
+OLDCFLAGS="$CFLAGS"
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-CFLAGS=$OLDCFLAGS
+CFLAGS="$OLDCFLAGS"
# Extract the first word of "$CC", so it can be a program name with args.
set dummy $CC; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
{ echo "$as_me:$LINENO: result: C++ compiler is IBM xlC" >&5
echo "${ECHO_T}C++ compiler is IBM xlC" >&6; }
GXX_VERSION=ibm_xlc
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
else
mips_pro="`($CXX -version 2>&1) | grep MIPSpro`"
echo "$as_me: error: This compiler is not supported" >&2;}
{ (exit 1); exit 1; }; }
GXX_VERSION=MIPSpro7.3
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
;;
*7.4)
{ echo "$as_me:$LINENO: result: C++ compiler is MIPSpro compiler 7.4" >&5
echo "$as_me: error: This compiler is not supported. Use MIPSPro compiler 7.4x" >&2;}
{ (exit 1); exit 1; }; }
GXX_VERSION=MIPSpro7.4
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
;;
*7.41* | *7.42* | *7.43* | *7.44*)
{ echo "$as_me:$LINENO: result: C++ compiler is MIPSpro compiler 7.4x" >&5
echo "${ECHO_T}C++ compiler is MIPSpro compiler 7.4x" >&6; }
GXX_VERSION=MIPSpro7.4x
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
;;
*"7.5"*)
{ echo "$as_me:$LINENO: result: C++ compiler is MIPSpro compiler 7.5" >&5
echo "${ECHO_T}C++ compiler is MIPSpro compiler 7.5" >&6; }
GXX_VERSION=MIPSpro7.5
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
;;
*)
{ echo "$as_me:$LINENO: result: C++ compiler is unknown version but accepted MIPSpro compiler version" >&5
echo "${ECHO_T}C++ compiler is unknown version but accepted MIPSpro compiler version" >&6; }
GXX_VERSION=MIPSpro-other
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
;;
esac
else
echo "${ECHO_T}C++ compiler is icc" >&6; }
GXX_VERSION=intel_icc
fi fi fi fi fi fi
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
else
is_dec_cxx="`($CXX -V 2>&1) | grep 'Compaq C++'`"
{ echo "$as_me:$LINENO: result: C++ compiler is Compaq-cxx" >&5
echo "${ECHO_T}C++ compiler is Compaq-cxx" >&6; }
GXX_VERSION=compaq_cxx
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
else
is_sun_cc_1="`($CXX -V 2>&1) | grep 'Sun WorkShop'`"
{ echo "$as_me:$LINENO: result: C++ compiler is Sun Workshop compiler" >&5
echo "${ECHO_T}C++ compiler is Sun Workshop compiler" >&6; }
GXX_VERSION=sun_workshop
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
else
is_sun_forte_cc="`($CXX -V 2>&1) | grep 'Forte'`"
{ echo "$as_me:$LINENO: result: C++ compiler is Sun Forte compiler" >&5
echo "${ECHO_T}C++ compiler is Sun Forte compiler" >&6; }
GXX_VERSION=sun_forte
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
else
is_pgcc="`($CXX -V 2>&1) | grep 'Portland Group'`"
{ echo "$as_me:$LINENO: result: C++ compiler is Portland Group C++" >&5
echo "${ECHO_T}C++ compiler is Portland Group C++" >&6; }
GXX_VERSION=portland_group
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
else
is_aCC="`($CXX -V 2>&1) | grep 'aCC'`"
{ echo "$as_me:$LINENO: result: C++ compiler is HP aCC" >&5
echo "${ECHO_T}C++ compiler is HP aCC" >&6; }
GXX_VERSION=hp_aCC
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
else
is_bcc="`($CXX -h 2>&1) | grep 'Borland'`"
{ echo "$as_me:$LINENO: result: C++ compiler is Borland C++" >&5
echo "${ECHO_T}C++ compiler is Borland C++" >&6; }
GXX_VERSION=borland_bcc
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
else
is_kai_cc="`($CXX --version 2>&1) | grep 'KAI C++'`"
{ echo "$as_me:$LINENO: result: C++ compiler is KAI C++" >&5
echo "${ECHO_T}C++ compiler is KAI C++" >&6; }
GXX_VERSION=kai_cc
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
else
is_pathscale="`($CXX -v 2>&1) | grep PathScale`"
{ echo "$as_me:$LINENO: result: C++ compiler is PathScale C++" >&5
echo "${ECHO_T}C++ compiler is PathScale C++" >&6; }
GXX_VERSION=pathscale_cc
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
else
{ echo "$as_me:$LINENO: result: Unrecognized C++ compiler -- Try to go ahead and get help from dealii@dealii.org" >&5
echo "${ECHO_T}Unrecognized C++ compiler -- Try to go ahead and get help from dealii@dealii.org" >&6; }
GXX_VERSION=unknown_cc
- GXX_VERSION_DETAILED=$GXX_VERSION
+ GXX_VERSION_DETAILED="$GXX_VERSION"
fi
fi
fi
- OLD_LDFLAGS=$LDFLAGS
+ OLD_LDFLAGS="$LDFLAGS"
LDFLAGS="-Wl,-rpath,$DEAL_II_PATH/lib $LDFLAGS"
{ echo "$as_me:$LINENO: checking whether compiler understands option -Wl,-rpath" >&5
echo $ECHO_N "checking whether compiler understands option -Wl,-rpath... $ECHO_C" >&6; }
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
- LDFLAGS=$OLD_LDFLAGS
+ LDFLAGS="$OLD_LDFLAGS"
LD_PATH_OPTION="no"
fi
# Check whether --enable-multithreading was given.
if test "${enable_multithreading+set}" = set; then
- enableval=$enable_multithreading; enablemultithreading=$enableval
+ enableval=$enable_multithreading; enablemultithreading="$enableval"
else
enablemultithreading=no
fi
rm -rf conftest*
- thread_flag=$i
+ thread_flag="$i"
CXXFLAGSG="$CXXFLAGSG -$i"
CXXFLAGSO="$CXXFLAGSO -$i"
LDFLAGS="$LDFLAGS -$i"
# Check whether --with-multithreading was given.
if test "${with_multithreading+set}" = set; then
- withval=$with_multithreading; withmultithreading=$withval
+ withval=$with_multithreading; withmultithreading="$withval"
else
withmultithreading=no
fi
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
- CXXFLAGS=$CXXFLAGSG
+ CXXFLAGS="$CXXFLAGSG"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
- CXXFLAGS=$CXXFLAGSO
+ CXXFLAGS="$CXXFLAGSO"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
- CXXFLAGS=$CXXFLAGSG
+ CXXFLAGS="$CXXFLAGSG"
deal_II_isnan_flag=""
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
- CXXFLAGS=$CXXFLAGSO
+ CXXFLAGS="$CXXFLAGSO"
deal_II_isnan_flag=""
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
- CXXFLAGS=$CXXFLAGSG
+ CXXFLAGS="$CXXFLAGSG"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
- CXXFLAGS=$CXXFLAGSG
+ CXXFLAGS="$CXXFLAGSG"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
# Check whether --enable-shared was given.
if test "${enable_shared+set}" = set; then
- enableval=$enable_shared; enableshared=$enableval
+ enableval=$enable_shared; enableshared="$enableval"
else
enableshared=yes
fi
esac
- OLD_LDFLAGS=$LDFLAGS
+ OLD_LDFLAGS="$LDFLAGS"
LDFLAGS="-Wl,-soname,libbase.so.6.2.1 $LDFLAGS $SHLIBFLAGS"
{ echo "$as_me:$LINENO: checking whether compiler understands option -Wl,-soname" >&5
echo $ECHO_N "checking whether compiler understands option -Wl,-soname... $ECHO_C" >&6; }
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
conftest$ac_exeext conftest.$ac_ext
- LDFLAGS=$OLD_LDFLAGS
+ LDFLAGS="$OLD_LDFLAGS"
- OLD_LDFLAGS=$LDFLAGS
+ OLD_LDFLAGS="$LDFLAGS"
LDFLAGS="-Wl,-dynamic,-install_name -Wl,libbase.so.6.2.1 $LDFLAGS -shared"
{ echo "$as_me:$LINENO: checking whether compiler understands option -Wl,-dynamic,-install_name" >&5
echo $ECHO_N "checking whether compiler understands option -Wl,-dynamic,-install_name... $ECHO_C" >&6; }
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
conftest$ac_exeext conftest.$ac_ext
- LDFLAGS=$OLD_LDFLAGS
+ LDFLAGS="$OLD_LDFLAGS"
fi
# Check whether --enable-parser was given.
if test "${enable_parser+set}" = set; then
- enableval=$enable_parser; enableparser=$enableval
+ enableval=$enable_parser; enableparser="$enableval"
if test "x$enableval" = "xno" ; then
{ echo "$as_me:$LINENO: result: Function parser disabled" >&5
echo "${ECHO_T}Function parser disabled" >&6; }
# Check whether --enable-compat-blocker was given.
if test "${enable_compat_blocker+set}" = set; then
- enableval=$enable_compat_blocker; enable_compat_blocker=$enableval
+ enableval=$enable_compat_blocker; enable_compat_blocker="$enableval"
else
enable_compat_blocker=""
fi
USE_CONTRIB_PETSC=no
else
USE_CONTRIB_PETSC=yes
- DEAL_II_PETSC_DIR=$withval
+ DEAL_II_PETSC_DIR="$withval"
{ echo "$as_me:$LINENO: result: $DEAL_II_PETSC_DIR" >&5
echo "${ECHO_T}$DEAL_II_PETSC_DIR" >&6; }
# Check whether --with-petsc-arch was given.
if test "${with_petsc_arch+set}" = set; then
withval=$with_petsc_arch;
- DEAL_II_PETSC_ARCH=$withval
+ DEAL_II_PETSC_ARCH="$withval"
{ echo "$as_me:$LINENO: result: $DEAL_II_PETSC_ARCH" >&5
echo "${ECHO_T}$DEAL_II_PETSC_ARCH" >&6; }
echo $ECHO_N "checking for PETSc libmpiuni library... $ECHO_C" >&6; }
if test -f $DEAL_II_PETSC_DIR/lib/libg_c++/$DEAL_II_PETSC_ARCH/libmpiuni.a ; then
- DEAL_II_PETSC_MPIUNI_LIB=$DEAL_II_PETSC_DIR/lib/libg_c++/$DEAL_II_PETSC_ARCH/libmpiuni.a ;
+ DEAL_II_PETSC_MPIUNI_LIB="$DEAL_II_PETSC_DIR/lib/libg_c++/$DEAL_II_PETSC_ARCH/libmpiuni.a" ;
else if test -f $DEAL_II_PETSC_DIR/lib/$DEAL_II_PETSC_ARCH/libmpiuni.a ; then
- DEAL_II_PETSC_MPIUNI_LIB=$DEAL_II_PETSC_DIR/lib/$DEAL_II_PETSC_ARCH/libmpiuni.a ;
+ DEAL_II_PETSC_MPIUNI_LIB="$DEAL_II_PETSC_DIR/lib/$DEAL_II_PETSC_ARCH/libmpiuni.a" ;
else if test -f $DEAL_II_PETSC_DIR/lib/libg_c++/$DEAL_II_PETSC_ARCH/libmpiuni.so ; then
- DEAL_II_PETSC_MPIUNI_LIB=$DEAL_II_PETSC_DIR/lib/libg_c++/$DEAL_II_PETSC_ARCH/libmpiuni.so ;
+ DEAL_II_PETSC_MPIUNI_LIB="$DEAL_II_PETSC_DIR/lib/libg_c++/$DEAL_II_PETSC_ARCH/libmpiuni.so" ;
else if test -f $DEAL_II_PETSC_DIR/lib/$DEAL_II_PETSC_ARCH/libmpiuni.so ; then
- DEAL_II_PETSC_MPIUNI_LIB=$DEAL_II_PETSC_DIR/lib/$DEAL_II_PETSC_ARCH/libmpiuni.so ;
+ DEAL_II_PETSC_MPIUNI_LIB="$DEAL_II_PETSC_DIR/lib/$DEAL_II_PETSC_ARCH/libmpiuni.so" ;
fi fi fi fi
{ echo "$as_me:$LINENO: result: $DEAL_II_PETSC_MPIUNI_LIB" >&5
USE_CONTRIB_SLEPC=no
else
USE_CONTRIB_SLEPC=yes
- DEAL_II_SLEPC_DIR=$withval
+ DEAL_II_SLEPC_DIR="$withval"
{ echo "$as_me:$LINENO: result: $DEAL_II_SLEPC_DIR" >&5
echo "${ECHO_T}$DEAL_II_SLEPC_DIR" >&6; }
# Check whether --with-slepc-arch was given.
if test "${with_slepc_arch+set}" = set; then
withval=$with_slepc_arch;
- DEAL_II_SLEPC_ARCH=$withval
+ DEAL_II_SLEPC_ARCH="$withval"
{ echo "$as_me:$LINENO: result: $DEAL_II_SLEPC_ARCH" >&5
echo "${ECHO_T}$DEAL_II_SLEPC_ARCH" >&6; }
USE_CONTRIB_TRILINOS=no
else
USE_CONTRIB_TRILINOS=yes
- DEAL_II_TRILINOS_DIR=$withval
+ DEAL_II_TRILINOS_DIR="$withval"
{ echo "$as_me:$LINENO: result: $DEAL_II_TRILINOS_DIR" >&5
echo "${ECHO_T}$DEAL_II_TRILINOS_DIR" >&6; }
USE_CONTRIB_TRILINOS=no
else
USE_CONTRIB_TRILINOS=yes
- DEAL_II_TRILINOS_INCDIR=$withval
+ DEAL_II_TRILINOS_INCDIR="$withval"
{ echo "$as_me:$LINENO: result: $DEAL_II_TRILINOS_INCDIR" >&5
echo "${ECHO_T}$DEAL_II_TRILINOS_INCDIR" >&6; }
USE_CONTRIB_TRILINOS=no
else
USE_CONTRIB_TRILINOS=yes
- DEAL_II_TRILINOS_LIBDIR=$withval
+ DEAL_II_TRILINOS_LIBDIR="$withval"
{ echo "$as_me:$LINENO: result: $DEAL_II_TRILINOS_LIBDIR" >&5
echo "${ECHO_T}$DEAL_II_TRILINOS_LIBDIR" >&6; }
{ echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
if test `eval echo '${'$as_ac_File'}'` = yes; then
- TECPLOT_LIB=$i/lib/tecio.a
+ TECPLOT_LIB="$i/lib/tecio.a"
fi
as_ac_File=`echo "ac_cv_file_$i/include/TECIO.h" | $as_tr_sh`
# Check whether --with-netcdf was given.
if test "${with_netcdf+set}" = set; then
withval=$with_netcdf;
- DEAL_II_NETCDF_DIR=$withval
+ DEAL_II_NETCDF_DIR="$withval"
else
# Check whether --with-netcdf-include was given.
if test "${with_netcdf_include+set}" = set; then
withval=$with_netcdf_include;
- NETCDF_INCLUDE_DIR=$withval
+ NETCDF_INCLUDE_DIR="$withval"
fi
# Check whether --with-netcdf-libs was given.
if test "${with_netcdf_libs+set}" = set; then
withval=$with_netcdf_libs;
- NETCDF_LIBDIR=$withval
+ NETCDF_LIBDIR="$withval"
fi
if test "${with_metis+set}" = set; then
withval=$with_metis;
USE_CONTRIB_METIS=yes
- DEAL_II_METIS_DIR=$withval
+ DEAL_II_METIS_DIR="$withval"
{ echo "$as_me:$LINENO: result: $DEAL_II_METIS_DIR" >&5
echo "${ECHO_T}$DEAL_II_METIS_DIR" >&6; }
# Check whether --with-metis-include was given.
if test "${with_metis_include+set}" = set; then
withval=$with_metis_include;
- METIS_INCLUDE_DIR=$withval
+ METIS_INCLUDE_DIR="$withval"
DEAL_II_METIS_INCDIR="$METIS_INCLUDE_DIR"
fi
if test "${with_metis_libs+set}" = set; then
withval=$with_metis_libs;
USE_CONTRIB_METIS=yes
- DEAL_II_METIS_LIBDIR=$withval
+ DEAL_II_METIS_LIBDIR="$withval"
{ echo "$as_me:$LINENO: result: $DEAL_II_METIS_LIBDIR" >&5
echo "${ECHO_T}$DEAL_II_METIS_LIBDIR" >&6; }
echo "${ECHO_T}using included version" >&6; }
DEAL_II_USE_INTERNAL_UMFPACK=yes
else
- UMFPACK_DIR=$withval
+ UMFPACK_DIR="$withval"
UMFPACK_INCLUDE_DIR="-I$withval/Include"
{ echo "$as_me:$LINENO: result: trying version at $withval" >&5
echo "${ECHO_T}trying version at $withval" >&6; }
# Check whether --with-umfpack-include was given.
if test "${with_umfpack_include+set}" = set; then
withval=$with_umfpack_include;
- UMFPACK_INCDIR=$withval
+ UMFPACK_INCDIR="$withval"
acx_umfpack=yes
fi
# Check whether --with-umfpack-libs was given.
if test "${with_umfpack_libs+set}" = set; then
withval=$with_umfpack_libs;
- UMFPACK_LIBDIR=$withval
+ UMFPACK_LIBDIR="$withval"
acx_umfpack=yes
fi
# Check whether --with-cpu was given.
if test "${with_cpu+set}" = set; then
- withval=$with_cpu; withcpu=$withval
+ withval=$with_cpu; withcpu="$withval"
else
withcpu=""
fi
# Check whether --with-doxygen was given.
if test "${with_doxygen+set}" = set; then
- withval=$with_doxygen; DOXYGEN=$withval
+ withval=$with_doxygen; DOXYGEN="$withval"
else
DOXYGEN=
fi
AC_SUBST(DEAL_II_PATH)
dnl For backward compatibility, also have DEAL2_DIR alias DEAL_II_PATH
-DEAL2_DIR=$DEAL_II_PATH
+DEAL2_DIR="$DEAL_II_PATH"
AC_SUBST(DEAL2_DIR)
dnl Check for machine type operating system
dnl Note that on MIPS systems, the AC_PROG_CXX call erroneously sets
dnl -g in CXXFLAGS, which is not exactly what we want, so we store
dnl the old value temporarily
-OLDCFLAGS=$CFLAGS
+OLDCFLAGS="$CFLAGS"
AC_PROG_CC
-CFLAGS=$OLDCFLAGS
+CFLAGS="$OLDCFLAGS"
AC_PATH_PROG(CC,$CC)
OLDCXXFLAGS="$CXXFLAGS"
AC_ARG_ENABLE(shared,
[ --enable-shared set compiler flags to generate shared libraries],
- enableshared=$enableval,
+ enableshared="$enableval",
enableshared=yes)
dnl On AIX 4.x and alpha, shared libs don't work for us at present, so
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
+ [ enableparser="$enableval"
if test "x$enableval" = "xno" ; then
AC_MSG_RESULT(Function parser disabled)
AC_DEFINE(DEAL_II_DISABLE_PARSER, 1,