From 6c8e46c5ee00bbbcc80c88a972019cebcb36f92d Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Tue, 27 May 2008 14:01:15 +0000 Subject: export SWIG_VERSION into Makefile.am handle swig < 1.3.32 and swig >= 1.3.32 with two different versions of the patch script --- php/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'php/Makefile.am') diff --git a/php/Makefile.am b/php/Makefile.am index 831bf319..7db52efc 100644 --- a/php/Makefile.am +++ b/php/Makefile.am @@ -13,7 +13,7 @@ lasso_wrap.c php_lasso.h lasso.php: $(SWIG_I_FILES) $(SWIG) -I$(top_builddir)/swig -v -php4 -module lasso -o lasso_wrap.c $(top_srcdir)/swig/Lasso.i cp lasso_wrap.c lasso_wrap.c.bak test x"$(SWIG)" = xecho || \ - $(PYTHON) $(srcdir)/patch_swig_output.py < lasso_wrap.c.bak > lasso_wrap.c + $(PYTHON) $(srcdir)/patch_swig_output.py $(SWIG_VERSION) < lasso_wrap.c.bak > lasso_wrap.c test-php: lasso.la lasso.php $(PHP4) -d extension_dir=.libs $(srcdir)/lasso.php -- cgit