diff --git a/bin/duneproject b/bin/duneproject
index 0e5adbc0629d44aebf8dff76a2c009b1d0e724e1..1dfd239f28a68584eca32a6542ef55eea01722fe 100755
--- a/bin/duneproject
+++ b/bin/duneproject
@@ -329,11 +329,9 @@ cat > "$PROJECT/configure.ac" <<C_DELIM
 # Process this file with autoconf to produce a configure script.
 AC_PREREQ([2.62])
 DUNE_AC_INIT # gets module version from dune.module file
-AM_INIT_AUTOMAKE
 AC_CONFIG_SRCDIR([src/$CMODULE.cc])
 AC_CONFIG_HEADERS([config.h])
 
-
 # we need no more than the standard DE-stuff
 # this module depends on $DEPENDENCIES
 # this implies checking for $CHECK
diff --git a/configure.ac b/configure.ac
index f62d06f65a77e9b445c24b6938a9eb7c1fe769ed..3dd3775eecc4360a6ebf623223e02c1cf2e0bc82 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,9 +1,8 @@
-#! /bin/bash
+# -*- Autoconf -*-
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ([2.62])
 DUNE_AC_INIT # gets module version from dune.module file
-AM_INIT_AUTOMAKE
 AC_CONFIG_SRCDIR([dune/common/stdstreams.cc])
 AC_CONFIG_HEADERS([config.h])