From 61221a9c51c1fca2a8886d5d59e626963f1494d3 Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Tue, 6 Sep 2011 13:53:13 +0200 Subject: [PATCH] Include config.h --- src/bisection-simpler-example.cc | 4 ++++ src/bisection-simpler-example2-gradient.cc | 6 ++++-- src/bisection-simpler-example2.cc | 4 ++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/bisection-simpler-example.cc b/src/bisection-simpler-example.cc index e38deb6b..ddc1fbfa 100644 --- a/src/bisection-simpler-example.cc +++ b/src/bisection-simpler-example.cc @@ -1,5 +1,9 @@ /* -*- mode:c++; mode: flymake -*- */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <dune/fufem/interval.hh> #include <dune/tnnmg/nonlinearities/smallfunctional.hh> diff --git a/src/bisection-simpler-example2-gradient.cc b/src/bisection-simpler-example2-gradient.cc index 4f37d098..2adcea78 100644 --- a/src/bisection-simpler-example2-gradient.cc +++ b/src/bisection-simpler-example2-gradient.cc @@ -1,7 +1,9 @@ /* -*- mode:c++; mode: flymake -*- */ -// FIXME: is there a bette way to do this? -//#define DUNE_MINIMAL_DEBUG_LEVEL 2 +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <dune/common/stdstreams.hh> #include <dune/fufem/interval.hh> diff --git a/src/bisection-simpler-example2.cc b/src/bisection-simpler-example2.cc index 840cd002..f74e889d 100644 --- a/src/bisection-simpler-example2.cc +++ b/src/bisection-simpler-example2.cc @@ -1,5 +1,9 @@ /* -*- mode:c++; mode: flymake -*- */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <dune/fufem/interval.hh> #include <dune/tnnmg/nonlinearities/smallfunctional.hh> -- GitLab