summaryrefslogtreecommitdiff
path: root/php/src
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-06-07 10:05:27 +0200
committerJose <jose@zeroc.com>2016-06-07 10:05:27 +0200
commit6f4950442050749e1923b829e8c4f8841ccd2a19 (patch)
tree6ab248934521caad01f4a433413f8cfb640336bd /php/src
parentFix for debian_version detection (diff)
downloadice-6f4950442050749e1923b829e8c4f8841ccd2a19.tar.bz2
ice-6f4950442050749e1923b829e8c4f8841ccd2a19.tar.xz
ice-6f4950442050749e1923b829e8c4f8841ccd2a19.zip
Customizable PHP config
Diffstat (limited to 'php/src')
-rw-r--r--php/src/Makefile2
-rw-r--r--php/src/php5/Makefile2
-rw-r--r--php/src/php7/Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/php/src/Makefile b/php/src/Makefile
index f93f1c95e81..855f56740d2 100644
--- a/php/src/Makefile
+++ b/php/src/Makefile
@@ -12,7 +12,7 @@ top_srcdir = ..
include $(top_srcdir)/config/Make.rules.php
-ifeq ($(shell [ $$(php-config --vernum) -lt 70000 ] && echo true),true)
+ifeq ($(shell [ $$($(PHP_CONFIG) --vernum) -lt 70000 ] && echo true),true)
SUBDIRS = php5
else
SUBDIRS = php7
diff --git a/php/src/php5/Makefile b/php/src/php5/Makefile
index 8f1f7fe3bae..e240186ed0f 100644
--- a/php/src/php5/Makefile
+++ b/php/src/php5/Makefile
@@ -27,7 +27,7 @@ OBJS = Communicator.o \
include $(top_srcdir)/config/Make.rules.php
-CPPFLAGS := -I. $(CPPFLAGS) $(ICE_FLAGS) $(shell php-config --includes)
+CPPFLAGS := -I. $(CPPFLAGS) $(ICE_FLAGS) $(shell $(PHP_CONFIG) --includes)
LINKWITH := $(ICE_LIBS) $(CXXLIBS)
diff --git a/php/src/php7/Makefile b/php/src/php7/Makefile
index 8f1f7fe3bae..e240186ed0f 100644
--- a/php/src/php7/Makefile
+++ b/php/src/php7/Makefile
@@ -27,7 +27,7 @@ OBJS = Communicator.o \
include $(top_srcdir)/config/Make.rules.php
-CPPFLAGS := -I. $(CPPFLAGS) $(ICE_FLAGS) $(shell php-config --includes)
+CPPFLAGS := -I. $(CPPFLAGS) $(ICE_FLAGS) $(shell $(PHP_CONFIG) --includes)
LINKWITH := $(ICE_LIBS) $(CXXLIBS)