From 47be7ad8a9f3c52887d0f0fe93ade0c6d903a114 Mon Sep 17 00:00:00 2001 From: Nagy Karoly Gabriel Date: Mon, 5 Mar 2012 10:49:27 +0100 Subject: [PATCH] php: enabled some extensions without dependencies. --- develop/php/php.conf | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/develop/php/php.conf b/develop/php/php.conf index 535a23d48..2b43bf039 100644 --- a/develop/php/php.conf +++ b/develop/php/php.conf @@ -25,12 +25,11 @@ var_append confopt ' ' "--with-libdir=${libdir##*/}" # global php.ini goes into sysconfdir var_append confopt ' ' "--with-config-file-path=$sysconfdir" -# sockets does not need any external lib. We have to enable it explicitly -var_append confopt ' ' "--enable-sockets" - -# mbstring is also selfcontained and nice to have around -var_append confopt ' ' "--enable-mbstring" -var_append confopt ' ' "--enable-mbregex" +# --enable because no dependency +# soap also needs --enable-libxml and --with-openssl +for x in sockets mbstring mbregex calendar bcmath soap; do + var_append confopt ' ' "--enable-${x}" +done for x in zlib bzip2:bz2 curl openssl libmhash:mhash gettext \ libjpeg:jpeg-dir libpng:png-dir freetype1:ttf; do