From c7fdb7db112d366f1d4762e66318368c7190b568 Mon Sep 17 00:00:00 2001
From: Christoph Grueninger <christoph.grueninger@iws.uni-stuttgart.de>
Date: Fri, 16 May 2014 09:45:14 +0000
Subject: [PATCH] [autotools] Cleanup configure.ac.

Similar to recent commits in Dune core modules.
(reviewed by martins)


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@12837 2fb0f335-1f38-0410-981e-8018bf24f1b0
---
 configure.ac | 6 ++++--
 m4/dumux.m4  | 2 --
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index 10c58d3271..e10e0e496f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,8 @@
 # -*- Autoconf -*-
-DUNE_AC_INIT
-AM_INIT_AUTOMAKE
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ([2.62])
+DUNE_AC_INIT # gets module version from dune.module file
 AC_CONFIG_SRCDIR([dumux/common/spline.hh])
 AC_CONFIG_HEADERS([config.h])
 
diff --git a/m4/dumux.m4 b/m4/dumux.m4
index 8c210bfa6d..10884b1e34 100644
--- a/m4/dumux.m4
+++ b/m4/dumux.m4
@@ -47,7 +47,6 @@ AC_DEFUN([DUMUX_CHECKS_PRIVATE],
      AC_LATEX_PACKAGE(amsfonts,scrreprt,have_latex_pkg_amsfonts)
      AC_LATEX_PACKAGE(amsmath,scrreprt,have_latex_pkg_amsmath)
      AC_LATEX_PACKAGE(amssymb,scrreprt,have_latex_pkg_amssymb)
-     # AC_LATEX_PACKAGE(babel,scrreprt,have_latex_pkg_babel)
      AC_LATEX_PACKAGE(color,scrreprt,have_latex_pkg_color)
      AC_LATEX_PACKAGE(enumerate,scrreprt,have_latex_pkg_enumerate)
      AC_LATEX_PACKAGE(graphics,scrreprt,have_latex_pkg_graphics)
@@ -156,7 +155,6 @@ AC_DEFUN([DUMUX_CHECKS_PRIVATE],
 
   AC_SUBST([PDFLATEX],[$pdflatex])
   AC_SUBST([BIBTEX],[$bibtex])
-  AC_SUBST([DVIPDF],[$dvipdf])
 
   AM_CONDITIONAL([BUILD_HANDBOOK], [test "$build_handbook" == "yes"])
   if test "$build_handbook" == "yes"; then
-- 
GitLab