Skip to content
Snippets Groups Projects
Commit 70205fe4 authored by Christian Engwer's avatar Christian Engwer
Browse files

fixed small configure issues

[[Imported from SVN: r4505]]
parent a1ca8f04
Branches
Tags
No related merge requests found
......@@ -7,7 +7,7 @@ noinst_LTLIBRARIES = libcommon.la
libcommon_la_SOURCES = stdstreams.cc configparser.cc exprtmpl.cc
AM_CPPFLAGS = @AN_CPPFLAGS@ -I$(top_srcdir)/..
AM_CPPFLAGS = @AM_CPPFLAGS@ -I$(top_srcdir)/..
commonincludedir = $(includedir)/dune/common
commoninclude_HEADERS = dlist.cc stdstreams.cc alignment.hh \
......
......@@ -7,13 +7,10 @@ AC_CONFIG_SRCDIR([common/stdstreams.cc])
AM_CONFIG_HEADER([config.h])
# check all dune-module stuff
DUNE_CHECK_ALL_M([dunecommon])
if test x$HAVE_DUNECOMMON != x1 ; then
AC_MSG_ERROR([Can't work without the dune-common module. Maybe you have to supply your dune-common directory as --with-dunecommon=dir])
fi
DUNE_CHECK_ALL_M
# preset variable to path such that #include <dune/...> works
AC_SUBST([DUNECOMMONROOT], '$(top_srcdir)')
AC_SUBST([AM_CPPFLAGS], '-I$(top_srcdir)')
AC_SUBST([AM_LDFLAGS], '-L$(top_builddir)/common -lcommon')
AC_SUBST([LOCAL_LIBS], '$(top_builddir)/common/libcommon.la')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment