THRIFT-2602 Fix missing dist files
- set bison to 2.5
- include "config.h" within thriftl.ll
Patch: Roger Meier
diff --git a/compiler/cpp/src/thriftl.ll b/compiler/cpp/src/thriftl.ll
index 5afc601..1fe6b2e 100644
--- a/compiler/cpp/src/thriftl.ll
+++ b/compiler/cpp/src/thriftl.ll
@@ -52,6 +52,8 @@
#ifdef _MSC_VER
#include "windows/config.h"
+#else
+#include "config.h"
#endif
#include "main.h"
#include "globals.h"
diff --git a/configure.ac b/configure.ac
index 065ac68..5af20de 100755
--- a/configure.ac
+++ b/configure.ac
@@ -88,7 +88,7 @@
AC_PROG_INSTALL
AC_PROG_LIBTOOL
AC_PROG_MAKE_SET
-AC_PROG_BISON
+AC_PROG_BISON(2.5)
AC_PROG_YACC
AC_PROG_LEX
AM_PROG_LEX