thrift/test/rb
Thomas Petazzoni 1744cdcb67 configure.ac, Makefile.am: introduce THRIFT variable to support cross-compilation
The thrift build system currently assumes that the thrift compiler is
always available in $(top_builddir)/compiler/cpp/thrift. However, in a
cross-compilation context, this location contains the thrift compiler
built for the target... which obviously will not run on the build
machine.

In order to support such cross-compilation situation, we introduce the
THRIFT variable as a an argument for the configure script (using
AC_ARG_VAR). If not specified, it defaults to the existing value of
using compiler/cpp/thrift from the build directory, but it can be
overridden when calling ./configure.

Note that $(top_builddir) cannot be used within the configure script,
so we simply use `pwd`, which is the same as the top_builddir.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

This closes #1336
This closes #1350
2017-09-09 07:50:54 -07:00
..
benchmarks THRIFT-430. rb: ruby tutorials and ruby tests require deprecated files and class names 2009-04-07 04:37:28 +00:00
core THRIFT-2849: spelling errors fixed using codespell tool 2014-11-24 10:55:31 +01:00
fixtures THRIFT-387. Add license headers to a bunch of files 2009-03-30 21:35:00 +00:00
generation THRIFT-526. rb: Generated Ruby enums have no good way to get the names back out once you have a number. 2009-06-24 17:55:53 +00:00
integration THRIFT-3495 Minor enhancements and fixes for cross test 2015-12-24 02:11:17 +09:00
Gemfile THRIFT-3364 Fix ruby binary field encoding in TJSONProtocol 2015-10-02 00:38:17 +02:00
Makefile.am configure.ac, Makefile.am: introduce THRIFT variable to support cross-compilation 2017-09-09 07:50:54 -07:00
test_helper.rb THRIFT-387. Add license headers to a bunch of files 2009-03-30 21:35:00 +00:00
test_suite.rb THRIFT-387. Add license headers to a bunch of files 2009-03-30 21:35:00 +00:00