Thrift-1614:Thrift build from svn repo sources fails with automake-1.12
Client: build
Patch: jfarrell
Override am__yacc_c2h to force all generated headers to be .h
diff --git a/compiler/cpp/Makefile.am b/compiler/cpp/Makefile.am
index 7a89c54..4c0e71d 100644
--- a/compiler/cpp/Makefile.am
+++ b/compiler/cpp/Makefile.am
@@ -21,6 +21,10 @@
# Please see doc/old-thrift-license.txt in the Thrift distribution for
# details.
+# Override Automake rule that forces .hh extension
+am__yacc_c2h = sed -e s/cc$$/h/ -e s/cpp$$/hpp/ -e s/cxx$$/hxx/ \
+ -e s/c++$$/h++/ -e s/c$$/h/
+
AM_YFLAGS = -d
LIBS =
BUILT_SOURCES =