From f7516e13d3f80ee0386e6ec647bc5c554e7f9cfb Mon Sep 17 00:00:00 2001 From: jfarrell Date: Sun, 18 Aug 2013 10:53:07 -0400 Subject: [PATCH] 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 --- compiler/cpp/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compiler/cpp/Makefile.am b/compiler/cpp/Makefile.am index 7a89c54d..4c0e71d4 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 = -- 2.17.1