thrift/tutorial/haxe
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
..
src THRIFT-3833 haxe http server implementation (by embeding into php web server) 2016-05-29 00:43:13 +02:00
cpp.hxml THRIFT-2644 Haxe support 2014-11-09 01:58:25 +01:00
csharp.hxml THRIFT-2644 Haxe support 2014-11-09 01:58:25 +01:00
flash.hxml THRIFT-2644 Haxe support 2014-11-09 01:58:25 +01:00
java.hxml THRIFT-2644 Haxe support 2014-11-09 01:58:25 +01:00
javascript.hxml THRIFT-2644 Haxe support 2014-11-09 01:58:25 +01:00
make_all.bat THRIFT-2644 Haxe support 2014-11-09 01:58:25 +01:00
make_all.sh THRIFT-2644 Haxe support 2014-11-09 01:58:25 +01:00
Makefile.am configure.ac, Makefile.am: introduce THRIFT variable to support cross-compilation 2017-09-09 07:50:54 -07:00
neko.hxml THRIFT-2644 Haxe support 2014-11-09 01:58:25 +01:00
php-web-server.hxml THRIFT-3833 haxe http server implementation (by embeding into php web server) 2016-05-29 00:43:13 +02:00
php.hxml THRIFT-3742 haxe php cli support 2016-03-16 09:59:47 +02:00
project.hide THRIFT-2753 Haxe support: Misc. improvements 2014-11-09 01:58:29 +01:00
python.hxml THRIFT-2644 Haxe support 2014-11-09 01:58:25 +01:00
router.php THRIFT-3833 haxe http server implementation (by embeding into php web server) 2016-05-29 00:43:13 +02:00
Tutorial.hxproj THRIFT-2813 multiple haxe library fixes/improvements 2014-11-11 01:35:21 +01:00