summaryrefslogtreecommitdiffstats
path: root/package/php/php.mk
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2015-04-08 12:39:28 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-08 21:23:52 +0200
commit4959dabe7dfbe851e1848ff783f1b37a9fb0c0f2 (patch)
tree01c704c0af9e94fad56ddd2ceec73712e32a5761 /package/php/php.mk
parenta48bc40e2d2536a830ecaa9247a1238966a97741 (diff)
downloadbuildroot-4959dabe7dfbe851e1848ff783f1b37a9fb0c0f2.tar.gz
buildroot-4959dabe7dfbe851e1848ff783f1b37a9fb0c0f2.zip
php: cleanup patches
Convert patches from pure configure ones to *.m4/configure.in cleanness. This allows us to AUTORECONF (well, not quite, but close). Even though upstream will probably not accept them it's the right way. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/php/php.mk')
-rw-r--r--package/php/php.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/php/php.mk b/package/php/php.mk
index ed842b0378..12f8eaa12a 100644
--- a/package/php/php.mk
+++ b/package/php/php.mk
@@ -22,6 +22,13 @@ PHP_CONF_OPTS = \
--disable-rpath
PHP_CONF_ENV = EXTRA_LIBS="$(PHP_EXTRA_LIBS)"
+# PHP can't be AUTORECONFed the standard way unfortunately
+PHP_DEPENDENCIES += host-autoconf host-automake host-libtool
+define PHP_BUILDCONF
+ cd $(@D) ; ./buildconf --force
+endef
+PHP_PRE_CONFIGURE_HOOKS += PHP_BUILDCONF
+
ifeq ($(BR2_ENDIAN),"BIG")
PHP_CONF_ENV += ac_cv_c_bigendian_php=yes
else
OpenPOWER on IntegriCloud