diff --git a/.gitattributes b/.gitattributes
index f1ab495d8d18342f5cf19060c29e4763bedb4537..faddd3cd7e5b311e676b8a92122257f9e2b39c4d 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1351,6 +1351,7 @@ doc/papers/2008/IEEE-SIG/speed.eps -text
 doc/papers/2008/IEEE-SIG/speed.jgr -text
 doc/papers/2008/IEEE-SIG/stationoverview.png -text
 doc/papers/2008/IEEE-SIG/telescope_overview.png -text
+/lofar_config.h.cmake -text
 /lofstorman -text
 support/tools/BaseSimGUI/images/4.gif -text svneol=unset#unset
 support/tools/BaseSimGUI/images/5.gif -text svneol=unset#unset
diff --git a/lofar_config.h.cmake b/lofar_config.h.cmake
new file mode 100644
index 0000000000000000000000000000000000000000..4abd60fabb3a7d97fb0204626f9f72a3cc82579f
--- /dev/null
+++ b/lofar_config.h.cmake
@@ -0,0 +1,14 @@
+/* Generated by lofar_init.m4 */
+
+#ifndef LOFAR_CONFIG_H
+#define LOFAR_CONFIG_H
+
+#if defined(HAVE_CONFIG_H)
+#include <config.h>
+#endif
+
+#define HAVE_LOFAR_TOOLS 1
+
+#define LOFARLOGGER_PACKAGE "LCS.Tools"
+
+#endif