Thrift-1614:Thrift build from svn repo sources fails with automake-1.12
authorjfarrell <jfarrell@apache.org>
Sun, 18 Aug 2013 14:53:07 +0000 (10:53 -0400)
committerjfarrell <jfarrell@apache.org>
Sun, 18 Aug 2013 14:53:07 +0000 (10:53 -0400)
Client: build
Patch: jfarrell

Override am__yacc_c2h to force all generated headers to be .h

compiler/cpp/Makefile.am

index 7a89c54..4c0e71d 100644 (file)
 # 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 =