Client: compiler
Patch: jfarrell
Updates automake version min req to 1.11 and switches header generated
by yacc to .h instead of .hh.
exit 1
fi
-# automake <= 1.11 names yacc output .h rather than .hh -- see THRIFT-1614
-echo '#include "thrifty.h"' > compiler/cpp/thrifty.hh
-
autoscan
$LIBTOOLIZE --copy --automake
aclocal -I ./aclocal
clean-local:
$(RM) thriftl.cc thrifty.cc thrifty.h thrifty.hh version.h windows/version.h
- echo '#include "thrifty.h"' > thrifty.hh
src/main.cc: version.h
* Must be included AFTER parse/t_program.h, but I can't remember why anymore
* because I wrote this a while ago.
*/
-#include "thrifty.hh"
+#include "thrifty.h"
void thrift_reserved_keyword(char* keyword) {
yyerror("Cannot use reserved language keyword: \"%s\"\n", keyword);
AC_CONFIG_AUX_DIR([.])
-AM_INIT_AUTOMAKE([1.9 tar-ustar])
+AM_INIT_AUTOMAKE([1.11 tar-ustar])
PKG_PROG_PKG_CONFIG
AC_ARG_VAR([PY_PREFIX], [Prefix for installing Python modules.