thrift/tutorial/dart
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
..
client THRIFT-3981 Enable analyzer strong mode in Dart library 2016-12-13 22:20:03 -06:00
console_client THRIFT-3981 Enable analyzer strong mode in Dart library 2016-12-13 22:20:03 -06:00
server THRIFT-3981 Enable analyzer strong mode in Dart library 2016-12-13 22:20:03 -06:00
build.sh THRIFT-3299 Create an Apache Thrift language binding for Dart (dartlang.org). 2015-10-03 01:43:59 +02:00
Makefile.am configure.ac, Makefile.am: introduce THRIFT variable to support cross-compilation 2017-09-09 07:50:54 -07:00