diff options
author | Jose <jose@zeroc.com> | 2016-06-07 10:05:27 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2016-06-07 10:05:27 +0200 |
commit | 6f4950442050749e1923b829e8c4f8841ccd2a19 (patch) | |
tree | 6ab248934521caad01f4a433413f8cfb640336bd /php/src | |
parent | Fix for debian_version detection (diff) | |
download | ice-6f4950442050749e1923b829e8c4f8841ccd2a19.tar.bz2 ice-6f4950442050749e1923b829e8c4f8841ccd2a19.tar.xz ice-6f4950442050749e1923b829e8c4f8841ccd2a19.zip |
Customizable PHP config
Diffstat (limited to 'php/src')
-rw-r--r-- | php/src/Makefile | 2 | ||||
-rw-r--r-- | php/src/php5/Makefile | 2 | ||||
-rw-r--r-- | php/src/php7/Makefile | 2 |
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) |