From: jfarrell Date: Sun, 18 Aug 2013 14:53:07 +0000 (-0400) Subject: Thrift-1614:Thrift build from svn repo sources fails with automake-1.12 X-Git-Tag: 0.9.1~4 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=f7516e13d3f80ee0386e6ec647bc5c554e7f9cfb;p=common%2Fthrift.git 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 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 =