THRIFT-2039 config.h --> thrift-config.h
diff --git a/configure.ac b/configure.ac
index 12cf52d..61d5d63 100755
--- a/configure.ac
+++ b/configure.ac
@@ -539,6 +539,7 @@
 AM_CONDITIONAL([WITH_BOOSTTHREADS], [test "x[$]ENABLE_BOOSTTHREADS" = "x1"])
 
 AC_CONFIG_HEADERS(config.h:config.hin)
+AC_CONFIG_HEADERS(lib/cpp/src/thrift/config.h:config.hin)
 # gruard against pre defined config.h
 AH_TOP([
 #ifndef CONFIG_H