diff --git a/.gitignore b/.gitignore
index 31e7aaead52f22f67655b7f5d679841424c1a421..3189b8668b8306e8bd9165f86227b6e019a94625 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,12 @@
 Makefile
 Makefile.in
-config.*
+config.guess  
+config.h.in   
+config.log  
+config.status
+config.h      
+config.lt   
+config.sub
 configure
 dependencies.m4
 aclocal.m4
diff --git a/config.h.cmake b/config.h.cmake
new file mode 100644
index 0000000000000000000000000000000000000000..47af7b7ad158f7f02e4e10ab2f7b0704dbb977be
--- /dev/null
+++ b/config.h.cmake
@@ -0,0 +1,44 @@
+/* begin dune-istl
+   put the definitions for config.h specific to
+   your project here. Everything above will be
+   overwritten
+*/
+
+/* begin private */
+/* Name of package */
+#define PACKAGE "@DUNE_MOD_NAME"
+
+/* Define to the address where bug reports for this package should be sent. */
+#define PACKAGE_BUGREPORT "@DUNE_MAINTAINER@"
+
+/* Define to the full name of this package. */
+#define PACKAGE_NAME "@DUNE_MOD_NAME@"
+
+/* Define to the full name and version of this package. */
+#define PACKAGE_STRING "@DUNE_MOD_NAME@ @DUNE_MOD_VERSION@"
+
+/* Define to the one symbol short name of this package. */
+#define PACKAGE_TARNAME "@DUNE_MOD_NAME@"
+
+/* Define to the home page for this package. */
+#define PACKAGE_URL "@DUNE_MOD_URL@"
+
+/* Define to the version of this package. */
+#define PACKAGE_VERSION "@DUNE_MOD_VERSION@"
+
+/* end private */
+
+/* define if the Boost::Fusion headers are available */
+#cmakedefine HAVE_BOOST_FUSION
+
+/* Define to ENABLE_BOOST if the Boost library is available */
+#define HAVE_BOOST ENABLE_BOOST
+
+/* Define to ENABLE_PARMETIS if you have the Parmetis library.
+   This is only true if MPI was found
+   by configure _and_ if the application uses the PARMETIS_CPPFLAGS */
+#define HAVE_PARMETIS ENABLE_PARMETIS
+
+/* end dune-istl
+   Everything below here will be overwritten
+*/