/lib/php/src/packages/
/lib/php/test/phpunit.xml
/lib/php/test/packages/
+/lib/py/dist/
/lib/erl/logs/
/libtool
/ltmain.sh
dnl
dnl Check Bison version
-dnl AC_PROG_BISON([MIN_VERSION=2.6])
+dnl AC_PROG_BISON([MIN_VERSION=2.4])
dnl
dnl Will define BISON_USE_PARSER_H_EXTENSION if Automake is < 1.11
dnl for use with .h includes.
AC_DEFUN([AC_PROG_BISON], [
if test "x$1" = "x" ; then
- bison_required_version="2.6"
+ bison_required_version="2.4"
else
bison_required_version="$1"
fi
if test "$bison_version" \< "$bison_required_version" ; then
BISON=:
AC_MSG_RESULT([no])
- AC_MSG_ERROR([Bison version 2.6 or higher must be installed on the system!])
+ AC_MSG_ERROR([Bison version 2.4 or higher must be installed on the system!])
else
AC_MSG_RESULT([yes])
BISON=bison
AX_THRIFT_LIB(php_extension, [PHP_EXTENSION], yes)
if test "$with_php_extension" = "yes"; then
- AC_PATH_PROG([PHP_CONFIG], [php-config])
- if test -n "$PHP_CONFIG" ; then
- AC_CONFIG_SUBDIRS([lib/php/src/ext/thrift_protocol])
- have_php_extension="yes"
+ if test -f "lib/php/src/ext/thrift_protocol/configure"; then
+ AC_PATH_PROG([PHP_CONFIG], [php-config])
+ if test -n "$PHP_CONFIG" ; then
+ AC_CONFIG_SUBDIRS([lib/php/src/ext/thrift_protocol])
+ have_php_extension="yes"
+ fi
fi
fi
AM_CONDITIONAL(WITH_PHP_EXTENSION, [test "$have_php_extension" = "yes"])
# Haskell dependencies
sudo apt-get install -qq ghc cabal-install libghc-binary-dev libghc-network-dev libghc-http-dev libghc-hashable-dev libghc-unordered-containers-dev libghc-vector-dev
+sudo cabal update
# Lua dependencies
sudo apt-get install -qq lua5.2 lua5.2-dev
SUBDIRS = test
endif
+if WITH_PHP_EXTENSION
%.so:
- cd src/ext/thrift_protocol/ \
- && $(MAKE)
+ cd src/ext/thrift_protocol/ && $(MAKE)
-if WITH_PHP_EXTENSION
phpconfdir=$(PHP_CONFIG_PREFIX)
phpconf_DATA=thrift_protocol.ini