#! /bin/sh
-# From configure.in Revision: 18883 .
+# From configure.in Revision: 18943 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.63 for deal.II 6.3.pre.
#
UMFPACK_INCLUDE_DIR
UMFPACK_LIB
DEAL_II_METIS_LIBDIR
-DEAL_II_METIS_INCDIR
USE_CONTRIB_METIS
TECPLOT_INCLUDE_DIR
USE_CONTRIB_HSL
DEAL_II_SLEPC_VERSION_SUBMINOR
DEAL_II_SLEPC_VERSION_MINOR
DEAL_II_SLEPC_VERSION_MAJOR
-DEAL_II_SLEPC_ARCH
DEAL_II_SLEPC_DIR
USE_CONTRIB_SLEPC
DEAL_II_DEFINE_DEAL_II_USE_PETSC
with_petsc
with_petsc_arch
with_slepc
-with_slepc_arch
with_trilinos
with_trilinos_include
with_trilinos_libs
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-arch=architecture
- Specify the architecture for your SLEPc installation;
- use this if you want to override the SLEPC_ARCH
- environment variable.
--with-trilinos=/path/to/trilinos
Specify the path to the Trilinos installation, of
which the include and lib directories are subdirs; use
if test "$GXX" = yes ; then
CXXFLAGSO="$CXXFLAGS -O2 -Wuninitialized -felide-constructors -ftemplate-depth-128"
- CXXFLAGSG="$CXXFLAGS -DDEBUG -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Woverloaded-virtual -Wsign-compare -Wswitch -ftemplate-depth-128"
+ CXXFLAGSG="$CXXFLAGS -DDEBUG -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Woverloaded-virtual -Wsynth -Wsign-compare -Wswitch -ftemplate-depth-128"
CXXFLAGSG="$CXXFLAGSG -Wno-long-long"
esac
+ if test "x$GXX" = "xyes" ; then
+ { $as_echo "$as_me:$LINENO: checking for problem with -Wsynth and std::complex" >&5
+$as_echo_n "checking for problem with -Wsynth and std::complex... " >&6; }
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $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
+
+ CXXFLAGS="-Wsynth -Werror"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+# include <complex>
+
+int
+main ()
+{
+
+ std::complex<double> x;
+ x = std::complex<double>(1,0);
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+ { $as_echo "$as_me:$LINENO: result: yes" >&5
+$as_echo "yes" >&6; }
+ CXXFLAGSG="`echo $CXXFLAGSG | perl -pi -e 's/-Wsynth\s*//g;'`"
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ fi
+
+
if test "x$GXX" = "xyes" ; then
{ $as_echo "$as_me:$LINENO: checking for problem with -Wctor-dtor-privacy" >&5
$as_echo_n "checking for problem with -Wctor-dtor-privacy... " >&6; }
+ if test "x$GXX" = "xyes" ; then
+ { $as_echo "$as_me:$LINENO: checking for boost::shared_ptr assignment operator= template buglet" >&5
+$as_echo_n "checking for boost::shared_ptr assignment operator= template buglet... " >&6; }
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $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
+
+ CXXFLAGS="-Wsynth -Werror"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+# include <boost/shared_ptr.hpp>
+
+int
+main ()
+{
+
+ boost::shared_ptr<int> a,b;
+ a = b;
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+ { $as_echo "$as_me:$LINENO: result: yes" >&5
+$as_echo "yes" >&6; }
+ CXXFLAGSG="`echo $CXXFLAGSG | perl -pi -e 's/-Wsynth\s*//g;'`"
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ fi
+
+
point to a complete SLEPc installation" >&2;}
{ (exit 1); exit 1; }; }
fi
+
+ if test ! -d $DEAL_II_SLEPC_DIR/$DEAL_II_PETSC_ARCH \
+ -o ! -d $DEAL_II_SLEPC_DIR/$DEAL_II_PETSC_ARCH/lib \
+ ; then
+ { { $as_echo "$as_me:$LINENO: error: SLEPc has not been compiled for the PETSc architecture" >&5
+$as_echo "$as_me: error: SLEPc has not been compiled for the PETSc architecture" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
fi
else
if test "$USE_CONTRIB_SLEPC" = "yes" \
; then
- { $as_echo "$as_me:$LINENO: checking for SLEPc library architecture" >&5
-$as_echo_n "checking for SLEPc library architecture... " >&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"
- { $as_echo "$as_me:$LINENO: result: $DEAL_II_SLEPC_ARCH" >&5
-$as_echo "$DEAL_II_SLEPC_ARCH" >&6; }
-
-else
-
- if test "x$SLEPC_ARCH" != "x" ; then
- DEAL_II_SLEPC_ARCH="$SLEPC_ARCH"
- { $as_echo "$as_me:$LINENO: result: $DEAL_II_SLEPC_ARCH" >&5
-$as_echo "$DEAL_II_SLEPC_ARCH" >&6; }
- else
- { { $as_echo "$as_me:$LINENO: error: If SLEPc is used, you must specify the architecture
- either through the SLEPC_ARCH environment variable,
- or through the --with-slepc-arch flag" >&5
-$as_echo "$as_me: error: If SLEPc is used, you must specify the architecture
- either through the SLEPC_ARCH environment variable,
- or through the --with-slepc-arch flag" >&2;}
- { (exit 1); exit 1; }; }
- fi
-
-fi
-
-
- if test "x$SLEPC_ARCH" != "x" ; then
- if test ! -d $DEAL_II_SLEPC_DIR/$DEAL_II_SLEPC_ARCH \
- -o ! -d $DEAL_II_SLEPC_DIR/$DEAL_II_SLEPC_ARCH/lib \
- ; then
- { { $as_echo "$as_me:$LINENO: error: SLEPc has not been compiled for the architecture
- specified with --with-slepc-arch" >&5
-$as_echo "$as_me: error: SLEPc has not been compiled for the architecture
- specified with --with-slepc-arch" >&2;}
- { (exit 1); exit 1; }; }
- fi
- fi
-
- if test "$DEAL_II_SLEPC_ARCH" != "$DEAL_II_PETSC_ARCH" \
- ; then
- { { $as_echo "$as_me:$LINENO: error: If SLEPc is used, you must specify the same
- architecture as your PETSc Installation either
- through the SLEPC_ARCH environment variable,
- or through the --with-slepc-arch flag" >&5
-$as_echo "$as_me: error: If SLEPc is used, you must specify the same
- architecture as your PETSc Installation either
- through the SLEPC_ARCH environment variable,
- or through the --with-slepc-arch flag" >&2;}
- { (exit 1); exit 1; }; }
- fi
-
-
{ $as_echo "$as_me:$LINENO: checking for SLEPc version" >&5
$as_echo_n "checking for SLEPc version... " >&6; }
-
{ $as_echo "$as_me:$LINENO: checking for Trilinos directory" >&5
$as_echo_n "checking for Trilinos directory... " >&6; }
fi
DEAL_II_METIS_LIBDIR="$DEAL_II_METIS_DIR"
- DEAL_II_METIS_INCDIR="$DEAL_II_METIS_DIR/Lib"
else
{ (exit 1); exit 1; }; }
fi
DEAL_II_METIS_LIBDIR="$DEAL_II_METIS_DIR"
- DEAL_II_METIS_INCDIR="$DEAL_II_METIS_DIR/Lib"
else
USE_CONTRIB_METIS=no
DEAL_II_METIS_DIR=""
# Check whether --with-metis-include was given.
if test "${with_metis_include+set}" = set; then
withval=$with_metis_include;
- METIS_INCLUDE_DIR="$withval"
- DEAL_II_METIS_INCDIR="$METIS_INCLUDE_DIR"
+ { { $as_echo "$as_me:$LINENO: error: The --with-metis-include directive is no longer supported" >&5
+$as_echo "$as_me: error: The --with-metis-include directive is no longer supported" >&2;}
+ { (exit 1); exit 1; }; }
fi
-
# Check whether --with-umfpack was given.
if test "${with_umfpack+set}" = set; then
withval=$with_umfpack;