--- a/configure.ac
+++ b/configure.ac
@@ -25,6 +25,7 @@
 
 AC_PREREQ([2.53])
 AC_CONFIG_SRCDIR([libupnpp/upnpplib.hxx])
+AC_CONFIG_HEADERS([libupnpp/config.h])
 
 AM_INIT_AUTOMAKE([1.10 no-define subdir-objects foreign])
 AC_DISABLE_STATIC