Browse Source

php: enable-fastcgi and enable-force-cgi redirect gone, freetype handled differently. See Note

--enable-fastcgi is gone from ./configure because php-cgi now always enables fastcgi (since 5.3.0)
--enable-force-cgi-redirect gone because now it is a php.ini option, not a compile one
--with-freetype is superfluous, --with-freetype-dir is needed with directory, else no ttf in php
user/amery/next/uclibc
Nagy Karoly Gabriel 13 years ago
parent
commit
eacd2c0f14
  1. 9
      develop/php/php.conf

9
develop/php/php.conf

@ -41,7 +41,7 @@ done
# pg82 is a separately maintained postgresql version 8.2.x # pg82 is a separately maintained postgresql version 8.2.x
# please do not remove it # please do not remove it
for x in postgresql:pgsql pg82:pgsql openldap:ldap libmcrypt:mcrypt \ for x in postgresql:pgsql pg82:pgsql openldap:ldap libmcrypt:mcrypt \
freetype pcre:pcre-regex; do pcre:pcre-regex; do
if pkginstalled "${x%:*}"; then if pkginstalled "${x%:*}"; then
var_append extraconfopt " " "--with-${x#*:}=$( pkgprefix -r ${x%:*} )" var_append extraconfopt " " "--with-${x#*:}=$( pkgprefix -r ${x%:*} )"
fi fi
@ -50,9 +50,10 @@ done
if pkginstalled apache; then if pkginstalled apache; then
pkgprefix -t apache pkgprefix -t apache
var_append extraconfopt " " "--with-apxs2=$( pkgprefix sbindir apache )/apxs" var_append extraconfopt " " "--with-apxs2=$( pkgprefix sbindir apache )/apxs"
else fi
var_append extraconfopt " " "--enable-fastcgi"
var_append extraconfopt " " "--enable-force-cgi-redirect" if pkginstalled freetype; then
var_append confopt " " "--with-freetype-dir=$( pkgprefix -r freetype )"
fi fi
if pkginstalled mysql; then if pkginstalled mysql; then

Loading…
Cancel
Save