summaryrefslogtreecommitdiffstats
path: root/php
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2006-12-08 09:39:03 +0000
committerFrederic Peters <fpeters@entrouvert.com>2006-12-08 09:39:03 +0000
commit658620b6df37c338c5f16e7913e02a3fb4cb6ec9 (patch)
tree7f4ee3aec0999460e74ad33301eec8f4cb37c751 /php
parent1719d2dcd0423679e15a4764b458c394a8f9a588 (diff)
downloadlasso-658620b6df37c338c5f16e7913e02a3fb4cb6ec9.tar.gz
lasso-658620b6df37c338c5f16e7913e02a3fb4cb6ec9.tar.xz
lasso-658620b6df37c338c5f16e7913e02a3fb4cb6ec9.zip
try to avoid detecting php5 as a compatible php version
Diffstat (limited to 'php')
-rw-r--r--php/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/php/Makefile.am b/php/Makefile.am
index 7d2e3427..d9b49a36 100644
--- a/php/Makefile.am
+++ b/php/Makefile.am
@@ -1,12 +1,12 @@
SWIG_OUTPUTS = lasso_wrap.c php_lasso.h lasso.php
php_extension_LTLIBRARIES = lasso.la
-lasso_la_CFLAGS = $(LASSO_CORE_CFLAGS) -I$(top_srcdir) -I$(top_builddir) $(PHP_INCLUDES)
+lasso_la_CFLAGS = $(LASSO_CORE_CFLAGS) -I$(top_srcdir) -I$(top_builddir) $(PHP4_INCLUDES)
lasso_la_LDFLAGS = -export-dynamic -prefer-pic -module -avoid-version
-lasso_la_LIBADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS) $(PHP_LDFLAGS)
+lasso_la_LIBADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS) $(PHP4_LDFLAGS)
lasso_la_SOURCES = lasso_wrap.c
-php_extensiondir = ${prefix}@PHP_UNPREFIXED_EXTENSION_DIR@
+php_extensiondir = ${prefix}@PHP4_UNPREFIXED_EXTENSION_DIR@
SWIG_I_FILES=$(shell find $(top_srcdir)/swig/ -name '*.[ih]')
lasso_wrap.c php_lasso.h lasso.php: $(SWIG_I_FILES)
@@ -16,7 +16,7 @@ lasso_wrap.c php_lasso.h lasso.php: $(SWIG_I_FILES)
$(PYTHON) $(srcdir)/patch_swig_output.py < lasso_wrap.c.bak > lasso_wrap.c
test-php: lasso.la lasso.php
- $(PHP) -d extension_dir=.libs $(srcdir)/lasso.php
+ $(PHP4) -d extension_dir=.libs $(srcdir)/lasso.php
MAINTAINERCLEANFILES = $(SWIG_OUTPUTS)
EXTRA_DIST = patch_swig_output.py $(SWIG_OUTPUTS)