#! /bin/sh
-# From configure.in Revision: 1.185 .
+# From configure.in Revision: 1.201 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.54.
#
ac_unique_file="deal.II"
ac_subdirs_all="$ac_subdirs_all contrib tests"
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS DEAL_II_VERSION DEAL_II_MAJOR DEAL_II_MINOR DEAL_II_PATH DEAL2_DIR build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX GXX_VERSION CXXFLAGSG CXXFLAGSO CXXFLAGSPIC SHLIBLD CC_VERSION enablemultithreading withmultithreading F77 F77_VERSION F77FLAGSO F77FLAGSG F77FLAGSPIC F77LIBS enableshared static_lib_suffix shared_lib_suffix AR RANLIB ac_ct_RANLIB USE_CONTRIB_PETSC DEAL_II_PETSC_DIR DEAL_II_PETSC_ARCH DEAL_II_PETSC_VERSION_MAJOR DEAL_II_PETSC_VERSION_MINOR DEAL_II_PETSC_VERSION_SUBMINOR DEAL_II_DEFINE_DEAL_II_USE_PETSC NEEDS_F77LIBS HSL_INCLUDE_DIR USE_CONTRIB_HSL TECPLOT_INCLUDE_DIR USE_CONTRIB_METIS DEAL_II_METIS_DIR UMFPACK_LIB UMFPACK_INCLUDE_DIR USE_CONTRIB_UMFPACK DOXYGEN DOT DEAL_II_HAVE_DOT PERL subdirs LDFLAGSPIC LIBOBJS LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS DEAL_II_VERSION DEAL_II_MAJOR DEAL_II_MINOR DEAL_II_PATH DEAL2_DIR build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX GXX_VERSION GXX_VERSION_DETAILED CXXFLAGSG CXXFLAGSO CXXFLAGSPIC SHLIBLD CC_VERSION CFLAGSPIC enablemultithreading withmultithreading F77 F77_VERSION F77FLAGSO F77FLAGSG F77FLAGSPIC F77LIBS enableshared static_lib_suffix shared_lib_suffix AR RANLIB ac_ct_RANLIB enableparser DEAL_II_DISABLE_PARSER USE_CONTRIB_PETSC DEAL_II_PETSC_DIR DEAL_II_PETSC_ARCH DEAL_II_PETSC_VERSION_MAJOR DEAL_II_PETSC_VERSION_MINOR DEAL_II_PETSC_VERSION_SUBMINOR DEAL_II_DEFINE_DEAL_II_USE_PETSC NEEDS_F77LIBS HSL_INCLUDE_DIR USE_CONTRIB_HSL TECPLOT_INCLUDE_DIR USE_CONTRIB_METIS DEAL_II_METIS_DIR UMFPACK_LIB UMFPACK_INCLUDE_DIR USE_CONTRIB_UMFPACK DOXYGEN DOT DEAL_II_HAVE_DOT PERL subdirs LDFLAGSPIC LIBOBJS LTLIBOBJS'
ac_subst_files=''
# Initialize some variables set by options.
--enable-multithreading set compiler flags to allow for
multithreaded programs
--enable-shared set compiler flags to generate shared libraries
+ --enable-parser While switched on by default, this option allows to
+ switch off support for the function parser in the
+ contrib directory.
--enable-compat-blocker=mapping block functions that implicitely
assume a Q1 mapping
-
if test "$GXX" = "yes" ; then
GXX_VERSION_STRING=`($CXX -v 2>&1) | grep "gcc version"`
if test "x$GXX_VERSION_STRING" = "x" ; then
if test "$GXX" = yes ; then
GXX_VERSION_STRING=`($CXX -v 2>&1) | grep "gcc version"`
case "$GXX_VERSION_STRING" in
- *"egcs-1.1"*)
- echo "$as_me:$LINENO: result: C++ compiler is egcs-1.1" >&5
-echo "${ECHO_T}C++ compiler is egcs-1.1" >&6
- GXX_VERSION=egcs1.1
- ;;
*2.95*)
- echo "$as_me:$LINENO: result: C++ compiler is gcc-2.95" >&5
-echo "${ECHO_T}C++ compiler is gcc-2.95" >&6
GXX_VERSION=gcc2.95
+ case "$GXX_VERSION_STRING" in
+ *version\ 2.95.0*) GXX_VERSION_DETAILED=gcc2.95.0 ;;
+ *version\ 2.95.1*) GXX_VERSION_DETAILED=gcc2.95.1 ;;
+ *version\ 2.95.2*) GXX_VERSION_DETAILED=gcc2.95.2 ;;
+ *version\ 2.95.3*) GXX_VERSION_DETAILED=gcc2.95.3 ;;
+ *version\ 2.95.4*) GXX_VERSION_DETAILED=gcc2.95.4 ;;
+ *) GXX_VERSION_DETAILED=gcc2.95.x ;;
+ esac
;;
*2.96*)
{ { echo "$as_me:$LINENO: error: C++ compiler reports faulty gcc 2.96. Please install a new compiler" >&5
GXX_VERSION=gcc2.97
;;
*version\ 3.0*)
- echo "$as_me:$LINENO: result: C++ compiler is gcc-3.0" >&5
-echo "${ECHO_T}C++ compiler is gcc-3.0" >&6
GXX_VERSION=gcc3.0
+ case "$GXX_VERSION_STRING" in
+ *version\ 3.0.0*) GXX_VERSION_DETAILED=gcc3.0.0 ;;
+ *version\ 3.0.1*) GXX_VERSION_DETAILED=gcc3.0.1 ;;
+ *version\ 3.0.2*) GXX_VERSION_DETAILED=gcc3.0.2 ;;
+ *version\ 3.0.3*) GXX_VERSION_DETAILED=gcc3.0.3 ;;
+ *version\ 3.0.4*) GXX_VERSION_DETAILED=gcc3.0.4 ;;
+ *) GXX_VERSION_DETAILED=gcc3.0.x ;;
+ esac
;;
*version\ 3.1*)
- echo "$as_me:$LINENO: result: C++ compiler is gcc-3.1" >&5
-echo "${ECHO_T}C++ compiler is gcc-3.1" >&6
GXX_VERSION=gcc3.1
+ case "$GXX_VERSION_STRING" in
+ *version\ 3.1.0*) GXX_VERSION_DETAILED=gcc3.1.0 ;;
+ *version\ 3.1.1*) GXX_VERSION_DETAILED=gcc3.1.1 ;;
+ *) GXX_VERSION_DETAILED=gcc3.1.x ;;
+ esac
;;
*version\ 3.2*)
- echo "$as_me:$LINENO: result: C++ compiler is gcc-3.2" >&5
-echo "${ECHO_T}C++ compiler is gcc-3.2" >&6
GXX_VERSION=gcc3.2
+ case "$GXX_VERSION_STRING" in
+ *version\ 3.2.0*) GXX_VERSION_DETAILED=gcc3.2.0 ;;
+ *version\ 3.2.1*) GXX_VERSION_DETAILED=gcc3.2.1 ;;
+ *version\ 3.2.2*) GXX_VERSION_DETAILED=gcc3.2.2 ;;
+ *version\ 3.2.3*) GXX_VERSION_DETAILED=gcc3.2.3 ;;
+ *) GXX_VERSION_DETAILED=gcc3.2.x ;;
+ esac
;;
*version\ 3.3*)
- echo "$as_me:$LINENO: result: C++ compiler is gcc-3.3" >&5
-echo "${ECHO_T}C++ compiler is gcc-3.3" >&6
GXX_VERSION=gcc3.3
+ case "$GXX_VERSION_STRING" in
+ *version\ 3.3.0*) GXX_VERSION_DETAILED=gcc3.3.0 ;;
+ *version\ 3.3.1*) GXX_VERSION_DETAILED=gcc3.3.1 ;;
+ *version\ 3.3.2*) GXX_VERSION_DETAILED=gcc3.3.2 ;;
+ *version\ 3.3.3*) GXX_VERSION_DETAILED=gcc3.3.3 ;;
+ *version\ 3.3.4*) GXX_VERSION_DETAILED=gcc3.3.4 ;;
+ *) GXX_VERSION_DETAILED=gcc3.3.x ;;
+ esac
;;
*version\ 3.4*)
- echo "$as_me:$LINENO: result: C++ compiler is gcc-3.4" >&5
-echo "${ECHO_T}C++ compiler is gcc-3.4" >&6
+ case "$GXX_VERSION_STRING" in
+ *version\ 3.4.0*) GXX_VERSION_DETAILED=gcc3.4.0 ;;
+ *version\ 3.4.1*) GXX_VERSION_DETAILED=gcc3.4.1 ;;
+ *version\ 3.4.2*) GXX_VERSION_DETAILED=gcc3.4.2 ;;
+ *version\ 3.4.3*) GXX_VERSION_DETAILED=gcc3.4.3 ;;
+ *version\ 3.4.4*) GXX_VERSION_DETAILED=gcc3.4.4 ;;
+ *) GXX_VERSION_DETAILED=gcc3.4.x ;;
+ esac
GXX_VERSION=gcc3.4
;;
- *version\ 3.5*)
- echo "$as_me:$LINENO: result: C++ compiler is gcc-3.5" >&5
-echo "${ECHO_T}C++ compiler is gcc-3.5" >&6
- GXX_VERSION=gcc3.5
- ;;
*version\ 4.0*)
- echo "$as_me:$LINENO: result: C++ compiler is gcc-4.0" >&5
-echo "${ECHO_T}C++ compiler is gcc-4.0" >&6
GXX_VERSION=gcc4.0
+ case "$GXX_VERSION_STRING" in
+ *version\ 4.0.0*) GXX_VERSION_DETAILED=gcc4.0.0 ;;
+ *version\ 4.0.1*) GXX_VERSION_DETAILED=gcc4.0.1 ;;
+ *) GXX_VERSION_DETAILED=gcc4.0.x ;;
+ esac
;;
*2.4* | *2.5* | *2.6* | *2.7* | *2.8*)
echo "$as_me:$LINENO: result: C++ compiler is $GXX_VERSION_STRING" >&5
GXX_VERSION=gcc-other
;;
esac
+ echo "$as_me:$LINENO: result: C++ compiler is $GXX_VERSION (subversion $GXX_VERSION_DETAILED)" >&5
+echo "${ECHO_T}C++ compiler is $GXX_VERSION (subversion $GXX_VERSION_DETAILED)" >&6
+
+
else
is_ibm_xlc="`($CXX 2>&1) | egrep 'VisualAge C++|C Set ++|C for AIX Compiler'`"
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
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
;;
*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
;;
*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
;;
*"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
;;
*)
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
+ ;;
esac
else
version7="`echo $is_intel_icc | grep 'Version 7'`"
version8="`echo $is_intel_icc | grep 'Version 8'`"
if test "x$version5" != "x" ; then
- echo "$as_me:$LINENO: result: C++ compiler is Intel ICC 5" >&5
-echo "${ECHO_T}C++ compiler is Intel ICC 5" >&6
+ echo "$as_me:$LINENO: result: C++ compiler is icc-5" >&5
+echo "${ECHO_T}C++ compiler is icc-5" >&6
GXX_VERSION=intel_icc5
else if test "x$version6" != "x" ; then
- echo "$as_me:$LINENO: result: C++ compiler is Intel ICC 6" >&5
-echo "${ECHO_T}C++ compiler is Intel ICC 6" >&6
+ echo "$as_me:$LINENO: result: C++ compiler is icc-6" >&5
+echo "${ECHO_T}C++ compiler is icc-6" >&6
GXX_VERSION=intel_icc6
else if test "x$version7" != "x" ; then
- echo "$as_me:$LINENO: result: C++ compiler is Intel ICC 7" >&5
-echo "${ECHO_T}C++ compiler is Intel ICC 7" >&6
+ echo "$as_me:$LINENO: result: C++ compiler is icc-7" >&5
+echo "${ECHO_T}C++ compiler is icc-7" >&6
GXX_VERSION=intel_icc7
else if test "x$version8" != "x" ; then
- echo "$as_me:$LINENO: result: C++ compiler is Intel ICC 8" >&5
-echo "${ECHO_T}C++ compiler is Intel ICC 8" >&6
+ echo "$as_me:$LINENO: result: C++ compiler is icc-8" >&5
+echo "${ECHO_T}C++ compiler is icc-8" >&6
GXX_VERSION=intel_icc8
else
- echo "$as_me:$LINENO: result: C++ compiler is Intel ICC" >&5
-echo "${ECHO_T}C++ compiler is Intel ICC" >&6
+ echo "$as_me:$LINENO: result: C++ compiler is icc" >&5
+echo "${ECHO_T}C++ compiler is icc" >&6
GXX_VERSION=intel_icc
fi fi fi fi
+ GXX_VERSION_DETAILED=$GXX_VERSION
else
is_dec_cxx="`($CXX -V 2>&1) | grep 'Compaq C++'`"
if test "x$is_dec_cxx" != "x" ; then
- echo "$as_me:$LINENO: result: C++ compiler is Compaq cxx" >&5
-echo "${ECHO_T}C++ compiler is Compaq cxx" >&6
+ 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
else
is_sun_cc="`($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
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
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
- else
+ GXX_VERSION_DETAILED=$GXX_VERSION
+ else
is_aCC="`($CXX -V 2>&1) | grep 'aCC'`"
if test "x$is_aCC" != "x" ; then
echo "$as_me:$LINENO: result: C++ compiler is HP aCC" >&5
echo "${ECHO_T}C++ compiler is HP aCC" >&6
GXX_VERSION=hp_aCC
- else
+ GXX_VERSION_DETAILED=$GXX_VERSION
+ else
is_bcc="`($CXX -h 2>&1) | grep 'Borland'`"
if test "x$is_bcc" != "x" ; then
echo "$as_me:$LINENO: result: C++ compiler is Borland C++" >&5
echo "${ECHO_T}C++ compiler is Borland C++" >&6
GXX_VERSION=borland_bcc
- else
+ GXX_VERSION_DETAILED=$GXX_VERSION
+ else
is_kai_cc="`($CXX --version 2>&1) | grep 'KAI C++'`"
is_kai_cc="$is_kai_cc`($CXX -v 2>&1) | grep /KCC/`"
echo "$as_me:$LINENO: result: C++ compiler is KAI C++" >&5
echo "${ECHO_T}C++ compiler is KAI C++" >&6
GXX_VERSION=kai_cc
- else
+ GXX_VERSION_DETAILED=$GXX_VERSION
+ else
- { { echo "$as_me:$LINENO: error: Unrecognized compiler -- sorry" >&5
-echo "$as_me: error: Unrecognized compiler -- sorry" >&2;}
- { (exit 1); exit 1; }; }
- exit 1
+ 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
fi
fi
fi
LDFLAGS="$LDFLAGS -lpthread"
;;
+ *cygwin* )
+ CXXFLAGSPIC=
+ LDFLAGSPIC=
+ ;;
+
*)
CXXFLAGSPIC="-fPIC"
LDFLAGSPIC="-fPIC"
case "$GXX_VERSION" in
egcs1.1 | gcc2.95)
- CXXFLAGSG="$CXXFLAGSG -Wmissing-declarations -Wbad-function-cast -Wtraditional -Wnested-externs"
- CXXFLAGSO="$CXXFLAGSO -fnonnull-objects"
+ CXXFLAGSG="$CXXFLAGSG -Wmissing-declarations -Wbad-function-cast -Wtraditional -Wnested-externs -Wno-non-template-friend"
+ CXXFLAGSO="$CXXFLAGSO -fnonnull-objects -Wno-non-template-friend"
;;
*)
if test "x$GXX_VERSION" = "xintel_icc7"; then
CXXFLAGSG="$CXXFLAGSG -Xc -ansi"
CXXFLAGSO="$CXXFLAGSO -ansi_alias"
- else if test "x$GXX_VERSION" = "xintel_icc8" ; then
- CXXFLAGSG="$CXXFLAGSG -strict_ansi"
+ else if test "x$GXX_VERSION" = "xintel_icc8" ; then
CXXFLAGSO="$CXXFLAGSO -ansi_alias -vec_report0"
fi fi
;;
*)
- { { echo "$as_me:$LINENO: error: No compiler options for this C++ compiler
- specified at present" >&5
-echo "$as_me: error: No compiler options for this C++ compiler
- specified at present" >&2;}
- { (exit 1); exit 1; }; }
+ CXXFLAGSG="$CXXFLAGS -DDEBUG"
+ CXXFLAGSO="$CXXFLAGS -O2"
+ echo "$as_me:$LINENO: result: Unknown C++ compiler - using generic options" >&5
+echo "${ECHO_T}Unknown C++ compiler - using generic options" >&6
;;
esac
fi
+
if test "$GCC" = "yes" ; then
CC_VERSION_STRING=`($CC -v 2>&1) | grep "gcc version"`
if test "x$CC_VERSION_STRING" = "x" ; then
version7="`echo $is_intel_icc | grep 'Version 7'`"
version8="`echo $is_intel_icc | grep 'Version 8'`"
if test "x$version5" != "x" ; then
- echo "$as_me:$LINENO: result: C compiler is Intel ICC 5" >&5
-echo "${ECHO_T}C compiler is Intel ICC 5" >&6
+ echo "$as_me:$LINENO: result: C compiler is icc-5" >&5
+echo "${ECHO_T}C compiler is icc-5" >&6
CC_VERSION=intel_icc5
else if test "x$version6" != "x" ; then
- echo "$as_me:$LINENO: result: C compiler is Intel ICC 6" >&5
-echo "${ECHO_T}C compiler is Intel ICC 6" >&6
+ echo "$as_me:$LINENO: result: C compiler is icc-6" >&5
+echo "${ECHO_T}C compiler is icc-6" >&6
CC_VERSION=intel_icc6
else if test "x$version7" != "x" ; then
- echo "$as_me:$LINENO: result: C compiler is Intel ICC 7" >&5
-echo "${ECHO_T}C compiler is Intel ICC 7" >&6
+ echo "$as_me:$LINENO: result: C compiler is icc-7" >&5
+echo "${ECHO_T}C compiler is icc-7" >&6
CC_VERSION=intel_icc7
else if test "x$version8" != "x" ; then
- echo "$as_me:$LINENO: result: C compiler is Intel ICC 8" >&5
-echo "${ECHO_T}C compiler is Intel ICC 8" >&6
+ echo "$as_me:$LINENO: result: C compiler is icc-8" >&5
+echo "${ECHO_T}C compiler is icc-8" >&6
CC_VERSION=intel_icc8
else
- echo "$as_me:$LINENO: result: C compiler is Intel ICC" >&5
-echo "${ECHO_T}C compiler is Intel ICC" >&6
+ echo "$as_me:$LINENO: result: C compiler is icc" >&5
+echo "${ECHO_T}C compiler is icc" >&6
CC_VERSION=intel_icc
fi fi fi fi
else
CC_VERSION=kai_cc
else
- { { echo "$as_me:$LINENO: error: Unrecognized compiler -- sorry" >&5
-echo "$as_me: error: Unrecognized compiler -- sorry" >&2;}
- { (exit 1); exit 1; }; }
- exit 1
+ echo "$as_me:$LINENO: result: Unrecognized compiler -- still trying" >&5
+echo "${ECHO_T}Unrecognized compiler -- still trying" >&6
+ CC_VERSION=unknown_cc
fi
fi
fi
CFLAGSPIC="-fPIC"
;;
+ *cygwin*)
+ CFLAGSPIC=
+ ;;
+
*)
CFLAGSPIC="-fPIC"
;;
;;
*)
- { { echo "$as_me:$LINENO: error: No compiler options for this C compiler
- specified at present" >&5
-echo "$as_me: error: No compiler options for this C compiler
- specified at present" >&2;}
- { (exit 1); exit 1; }; }
+ echo "$as_me:$LINENO: result: Unknown C compiler - using generic options" >&5
+echo "${ECHO_T}Unknown C compiler - using generic options" >&6
+ CFLAGS="$CFLAGS -O2"
;;
esac
fi
+
# Check whether --enable-multithreading or --disable-multithreading was given.
if test "${enable_multithreading+set}" = set; then
enableval="$enable_multithreading"
done
+ echo "$as_me:$LINENO: checking for bad socket functions/FPU interaction" >&5
+echo $ECHO_N "checking for bad socket functions/FPU interaction... $ECHO_C" >&6
+ ac_ext=cc
+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="$CXXFLAGSG"
+ if test "$cross_compiling" = yes; then
+ { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
+echo "$as_me: error: cannot run test program while cross compiling" >&2;}
+ { (exit 1); exit 1; }; }
+else
+ cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+#include "confdefs.h"
+
+#include <unistd.h>
+#include <limits>
+#include <iostream>
+
+int main()
+{
+ char buf[100];
+ gethostname(buf,99);
+
+ volatile long double x=1.0;
+ x += std::numeric_limits<long double>::epsilon();
+
+ if (x == 1.0)
+ return 1; // this shouldn't happen...
+ else
+ return 0;
+}
+
+_ACEOF
+rm -f conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+
+else
+ echo "$as_me: program exited with status $ac_status" >&5
+echo "$as_me: failed program was:" >&5
+cat conftest.$ac_ext >&5
+( exit $ac_status )
+
+ echo "$as_me:$LINENO: result: yes. disabling socket functions" >&5
+echo "${ECHO_T}yes. disabling socket functions" >&6
+
+cat >>confdefs.h <<\_ACEOF
+#define DEAL_II_BROKEN_SOCKETS 1
+_ACEOF
+
+
+fi
+rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+
+
F77FLAGSO="$F77FLAGSO -funroll-loops -funroll-all-loops -fstrict-aliasing"
fi
- F77FLAGSPIC="-fPIC"
+ case "$target" in
+ *cygwin* )
+ F77FLAGSPIC=
+ ;;
+ * )
+ F77FLAGSPIC="-fPIC"
+ ;;
+ esac
+
F77LIBS="$F77LIBS -lg2c"
;;
case "$target" in
*cygwin )
shared_lib_suffix=".dll"
+ cygwin_shared_lib="yes"
;;
esac
+if test "x$enableshared" = "xyes" ; then
+ CFLAGS="$CFLAGS $CFLAGSPIC"
+ CXXFLAGSG="$CXXFLAGSG $CXXFLAGSPIC"
+ CXXFLAGSO="$CXXFLAGSO $CXXFLAGSPIC"
+ F77FLAGSG="$F77FLAGSG $F77FLAGSPIC"
+ F77FLAGSO="$F77FLAGSO $F77FLAGSPIC"
+fi
+
+# Check whether --enable-parser or --disable-parser was given.
+if test "${enable_parser+set}" = set; then
+ enableval="$enable_parser"
+ enableparser=$enableval
+ echo "$as_me:$LINENO: result: Function parser disabled" >&5
+echo "${ECHO_T}Function parser disabled" >&6
+ if test "x$enableval" = "xno" ; then
+
+cat >>confdefs.h <<\_ACEOF
+#define DEAL_II_DISABLE_PARSER 1
+_ACEOF
+
+ fi
+else
+ enableparser=yes
+fi;
+
+
+
+
+
# Check whether --enable-compat-blocker or --disable-compat-blocker was given.
if test "${enable_compat_blocker+set}" = set; then
_ACEOF
DEAL_II_DEFINE_DEAL_II_USE_PETSC=DEAL_II_USE_PETSC
-
- if test "x$enableshared" = "xno" ; then
- LDFLAGS="$LDFLAGS -lblas"
- fi
fi
if test "x$with-petsc" != "x" ; then
if "x$enableshared" != "no" ; then
+ abort
with_blas="yes"
fi
fi
#define DEAL_II_USE_METIS 1
_ACEOF
+
+ echo "$as_me:$LINENO: checking for Metis version" >&5
+echo $ECHO_N "checking for Metis version... $ECHO_C" >&6
+ DEAL_II_METIS_VERSION=`cat $DEAL_II_METIS_DIR/VERSION`
+ echo "$as_me:$LINENO: result: $DEAL_II_METIS_VERSION" >&5
+echo "${ECHO_T}$DEAL_II_METIS_VERSION" >&6
fi
withval="$with_umfpack"
if test "x$withval" != "xyes" ; then
- LDFLAGS="-L$withval/UMFPACK/Lib -L$withval/AMD/Lib"
+ LDFLAGS="-L$withval/UMFPACK/Lib -L$withval/AMD/Lib $LDFLAGS"
echo "$as_me:$LINENO: checking for amd_info in -lamd" >&5
echo $ECHO_N "checking for amd_info in -lamd... $ECHO_C" >&6
{ (exit 1); exit 1; }; }
fi
+ echo -n "UMFPack version: "
+ grep "UMFPACK v" $withval/README
else
echo "$as_me:$LINENO: checking UmfPack library" >&5
echo $ECHO_N "checking UmfPack library... $ECHO_C" >&6
;;
esac
;;
+ athlon* | pentium* | i386 | i486 | i586 | i686 | k6* | winchip*)
+ echo "$as_me:$LINENO: result: x86 derivate ($withcpu)" >&5
+echo "${ECHO_T}x86 derivate ($withcpu)" >&6
+ case "$GXX_VERSION" in
+ gcc*)
+ CXXFLAGSO="$CXXFLAGSO -march=$withcpu"
+ F77FLAGSO="$F77FLAGSO -march=$withcpu"
+ ;;
+ esac
+ ;;
*)
echo "$as_me:$LINENO: result: none given or not recognized" >&5
echo "${ECHO_T}none given or not recognized" >&6
-
# Check whether --with-doxygen or --without-doxygen was given.
if test "${with_doxygen+set}" = set; then
withval="$with_doxygen"
s,@CXXFLAGS@,$CXXFLAGS,;t t
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
s,@GXX_VERSION@,$GXX_VERSION,;t t
+s,@GXX_VERSION_DETAILED@,$GXX_VERSION_DETAILED,;t t
s,@CXXFLAGSG@,$CXXFLAGSG,;t t
s,@CXXFLAGSO@,$CXXFLAGSO,;t t
s,@CXXFLAGSPIC@,$CXXFLAGSPIC,;t t
s,@SHLIBLD@,$SHLIBLD,;t t
s,@CC_VERSION@,$CC_VERSION,;t t
+s,@CFLAGSPIC@,$CFLAGSPIC,;t t
s,@enablemultithreading@,$enablemultithreading,;t t
s,@withmultithreading@,$withmultithreading,;t t
s,@F77@,$F77,;t t
s,@AR@,$AR,;t t
s,@RANLIB@,$RANLIB,;t t
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
+s,@enableparser@,$enableparser,;t t
+s,@DEAL_II_DISABLE_PARSER@,$DEAL_II_DISABLE_PARSER,;t t
s,@USE_CONTRIB_PETSC@,$USE_CONTRIB_PETSC,;t t
s,@DEAL_II_PETSC_DIR@,$DEAL_II_PETSC_DIR,;t t
s,@DEAL_II_PETSC_ARCH@,$DEAL_II_PETSC_ARCH,;t t
echo -------------------------------------------------------------
echo
+if test "x$cygwin_shared_lib" = "xyes" ; then
+ echo " Please add the line"
+ echo " export PATH=\$PATH:$DEAL2_DIR/lib"
+ echo " to your .bash_profile file so that windows will be"
+ echo " able to find the deal.II shared libraries when"
+ echo " executing your programs."
+fi
+
if test "x$doxygen_not_found" = "xyes" ; then
echo " WARNING: During configuration, no version of the doxygen"
echo " WARNING: documentation generation program could be found."
echo " WARNING: however."
echo
fi
+
+if test "x$CC_VERSION" = "xunknown_cc" ; then
+ echo ----------------------------------------------------------------------
+ echo " WARNING: The C compiler used for configuration is unknown!"
+ echo " WARNING: configure has used a generic set of parameters."
+ echo " WARNING: Still, you have to expect trouble during compilation."
+ echo " WARNING: If so, report to dealii@dealii.org!"
+fi
+
+if test "x$GXX_VERSION" = "xunknown_cc" ; then
+ echo ----------------------------------------------------------------------
+ echo " WARNING: The C++ compiler used for configuration is unknown!"
+ echo " WARNING: configure has used a generic set of parameters."
+ echo " WARNING: Still, you have to expect trouble during compilation."
+ echo " WARNING: If so, report to dealii@dealii.org!"
+fi
+