From 5802020db7699a271a1de49a54d10c3e59e99c9c Mon Sep 17 00:00:00 2001 From: Thomas Fetzer <thomas.fetzer@iws.uni-stuttgart.de> Date: Tue, 24 Mar 2015 07:43:02 +0000 Subject: [PATCH] [gnuplotinterface] fixed autotools errors reviewed by gruenich git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@14432 2fb0f335-1f38-0410-981e-8018bf24f1b0 --- dumux/io/gnuplotinterface.hh | 7 +++---- test/io/gnuplotinterface/Makefile.am | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/dumux/io/gnuplotinterface.hh b/dumux/io/gnuplotinterface.hh index 7e16233d66..99d923c60f 100644 --- a/dumux/io/gnuplotinterface.hh +++ b/dumux/io/gnuplotinterface.hh @@ -27,8 +27,9 @@ */ #ifndef HAVE_GNUPLOT -#warning Gnuplot has not been found or cmake has not been used. -#else +#warning Gnuplot has not been found by CMake. Defaulting to /usr/bin/gnuplot +#define GNUPLOT_EXECUTABLE "/usr/bin/gnuplot" +#endif #ifndef DUMUX_GNUPLOT_INTERFACE_HH #define DUMUX_GNUPLOT_INTERFACE_HH @@ -293,5 +294,3 @@ private: }; } // end of namespace #endif // DUMUX_GNUPLOT_INTERFACE_HH - -#endif // HAVE_GNUPLOT \ No newline at end of file diff --git a/test/io/gnuplotinterface/Makefile.am b/test/io/gnuplotinterface/Makefile.am index 1378cb754c..86daf155b0 100644 --- a/test/io/gnuplotinterface/Makefile.am +++ b/test/io/gnuplotinterface/Makefile.am @@ -1,6 +1,6 @@ check_PROGRAMS = test_gnuplotinterface -test_fluidsystems_SOURCES = test_gnuplotinterface.cc +test_gnuplotinterface_SOURCES = test_gnuplotinterface.cc EXTRA_DIST=CMakeLists.txt noinst_HEADERS:=$(wildcard *.hh) -- GitLab