From: Wolfgang Bangerth Date: Tue, 8 Sep 2009 14:19:05 +0000 (+0000) Subject: Fix testcase to use optimization. X-Git-Tag: v8.0.0~7157 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84622826ba58014362cb153cbfd74bcbca30dcf1;p=dealii.git Fix testcase to use optimization. git-svn-id: https://svn.dealii.org/trunk@19416 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index bd9aae2f17..6b33f7a29f 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -4489,7 +4489,7 @@ AC_DEFUN(DEAL_II_CHECK_BOOST_BIND_COMPILER_BUG, dnl if test "x$GXX" = "xyes" ; then AC_MSG_CHECKING(for boost::bind compiler internal error) AC_LANG(C++) - CXXFLAGS="$CXXFLAGSG -I./contrib/boost/include" + CXXFLAGS="$CXXFLAGSO -I./contrib/boost/include" AC_TRY_COMPILE( [ #include @@ -4503,10 +4503,6 @@ void bug_function (number test) } ], [ - std::complex double_val (1., 2.); - boost::bind(&bug_function >, - double_val)(); - std::complex float_val (1., 2.); boost::bind(&bug_function >, float_val)(); diff --git a/deal.II/configure b/deal.II/configure index 3a241c776e..e1e25e883b 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 19226 . +# From configure.in Revision: 19414 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for deal.II 6.3.pre. # @@ -8172,7 +8172,7 @@ 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 -I./contrib/boost/include" + CXXFLAGS="$CXXFLAGSO -I./contrib/boost/include" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -8194,10 +8194,6 @@ int main () { - std::complex double_val (1., 2.); - boost::bind(&bug_function >, - double_val)(); - std::complex float_val (1., 2.); boost::bind(&bug_function >, float_val)();