diff --git a/.gitattributes b/.gitattributes
index efcec0b1c4824e84a9bfb354d797d9bd64f594b2..f1ab495d8d18342f5cf19060c29e4763bedb4537 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -262,6 +262,7 @@ LCS/AMC/AMCImpl/src/AMCServer.cc -text
 LCS/AMC/amc_main_classes.png -text
 LCS/AMC/amc_package.png -text
 LCS/ApplCommon/bootstrap -text
+LCS/ApplCommon/lofar_config.h.cmake -text
 LCS/ApplCommon/test/tObservation.in_conflict1 -text
 LCS/ApplCommon/test/tObservation.in_conflict2 -text
 LCS/ApplCommon/test/tObservation.in_conflict3 -text
diff --git a/LCS/ApplCommon/lofar_config.h.cmake b/LCS/ApplCommon/lofar_config.h.cmake
new file mode 100644
index 0000000000000000000000000000000000000000..950251417950666882a7170a7eef94600e01e2c0
--- /dev/null
+++ b/LCS/ApplCommon/lofar_config.h.cmake
@@ -0,0 +1,26 @@
+/* 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_APPLCOMMON 1
+
+#define LOFARLOGGER_PACKAGE "LCS.ApplCommon"
+
+#if !defined(HAVE_BOOST)
+# define HAVE_BOOST 1
+#endif
+
+#if !defined(HAVE_READLINE)
+# define HAVE_READLINE 1
+#endif
+
+#if !defined(HAVE_TOOLS)
+# define HAVE_TOOLS 1
+#endif
+
+#endif