summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2016-11-30 13:05:59 +1300
committerOlly Betts <olly@survex.com>2016-11-30 13:05:59 +1300
commit1169874f598d3b4078ec34a8001330838f83c7f7 (patch)
treebea5491420cfe54b5b279d40599861d5d1588ee9 /Makefile.in
parentbb98147965083798815ab938ec369c6a17abd9fc (diff)
downloadswig-1169874f598d3b4078ec34a8001330838f83c7f7.tar.gz
[PHP] Add support for PHP7.
PHP5's C extension API has changed substantially so you need to use -php7 to specify you want PHP7 compatible wrappers. Fixes https://github.com/swig/swig/issues/571
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in12
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index c79e83815..df882ce34 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -67,6 +67,7 @@ skip-guile = test -n "@SKIP_GUILE@"
skip-mzscheme = test -n "@SKIP_MZSCHEME@"
skip-ruby = test -n "@SKIP_RUBY@"
skip-php = test -n "@SKIP_PHP@"
+skip-php5 = test -n "@SKIP_PHP5@"
skip-ocaml = test -n "@SKIP_OCAML@"
skip-octave = test -n "@SKIP_OCTAVE@"
skip-pike = test -n "@SKIP_PIKE@"
@@ -117,7 +118,8 @@ check-aliveness:
@$(skip-ruby) || ./$(TARGET) -ruby -help
@$(skip-ocaml) || ./$(TARGET) -ocaml -help
@$(skip-octave) || ./$(TARGET) -octave -help
- @$(skip-php) || ./$(TARGET) -php -help
+ @$(skip-php) || ./$(TARGET) -php7 -help
+ @$(skip-php5) || ./$(TARGET) -php5 -help
@$(skip-pike) || ./$(TARGET) -pike -help
@$(skip-chicken) || ./$(TARGET) -chicken -help
@$(skip-csharp) || ./$(TARGET) -csharp -help
@@ -150,6 +152,7 @@ check-versions: \
check-ocaml-version \
check-octave-version \
check-php-version \
+ check-php5-version \
check-pike-version \
check-chicken-version \
check-csharp-version \
@@ -190,6 +193,7 @@ check-examples: \
check-ocaml-examples \
check-octave-examples \
check-php-examples \
+ check-php5-examples \
check-pike-examples \
check-chicken-examples \
check-csharp-examples \
@@ -216,6 +220,7 @@ ruby_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/ruby/check.list)
ocaml_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/ocaml/check.list)
octave_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/octave/check.list)
php_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/php/check.list)
+php5_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/php5/check.list)
pike_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/pike/check.list)
chicken_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/chicken/check.list)
csharp_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/csharp/check.list)
@@ -274,6 +279,7 @@ check-test-suite: \
check-ocaml-test-suite \
check-octave-test-suite \
check-php-test-suite \
+ check-php5-test-suite \
check-pike-test-suite \
check-csharp-test-suite \
check-modula3-test-suite \
@@ -328,6 +334,7 @@ all-test-suite: \
all-ocaml-test-suite \
all-octave-test-suite \
all-php-test-suite \
+ all-php5-test-suite \
all-pike-test-suite \
all-csharp-test-suite \
all-modula3-test-suite \
@@ -358,6 +365,7 @@ broken-test-suite: \
broken-ocaml-test-suite \
broken-octave-test-suite \
broken-php-test-suite \
+ broken-php5-test-suite \
broken-pike-test-suite \
broken-csharp-test-suite \
broken-modula3-test-suite \
@@ -502,7 +510,7 @@ install-main:
@echo "Installing $(DESTDIR)$(BIN_DIR)/`echo $(TARGET_NOEXE) | sed '$(transform)'`@EXEEXT@"
@$(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(BIN_DIR)/`echo $(TARGET_NOEXE) | sed '$(transform)'`@EXEEXT@
-lib-languages = gcj typemaps tcl perl5 python guile java mzscheme ruby php ocaml octave \
+lib-languages = gcj typemaps tcl perl5 python guile java mzscheme ruby php php5 ocaml octave \
pike chicken csharp modula3 allegrocl clisp lua cffi uffi r go d javascript javascript/jsc \
javascript/v8 scilab