* updated kmailtransport (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / php / php4 / php4.conf
blobe67385764c2b23fc8e9f3fbaca9238c09ea6621f
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3
4 # T2 SDE: package/.../php4/php4.conf
5 # Copyright (C) 2004 - 2008 The T2 SDE Project
6 # Copyright (C) 1998 - 2003 ROCK Linux Project
7
8 # More information can be found in the files COPYING and README.
9
10 # This program is free software; you can redistribute it and/or modify
11 # it under the terms of the GNU General Public License as published by
12 # the Free Software Foundation; version 2 of the License. A copy of the
13 # GNU General Public License can be found in the file COPYING.
14 # --- T2-COPYRIGHT-NOTE-END ---
16 var_append extraconfopt " " "--with-apxs2=$root/opt/apache/sbin/apxs"
17 var_append extraconfopt " " "--with-zlib --with-bz2"
19 pkginstalled curl && var_append extraconfopt ' ' '--with-curl'
21 pkginstalled mysql && var_append extraconfopt " " "--with-mysql"
23 if pkginstalled postgresql; then
24         pkgprefix -t postgresql
25         var_append extraconfopt " " "--with-pgsql=$root/$( pkgprefix postgresql )"
28 if pkginstalled openldap; then
29         pkgprefix -t openldap
30         var_append extraconfopt " " "--with-ldap=$root/$( pkgprefix openldap )"
33 pkginstalled openssl && var_append extraconfopt " " "--with-openssl"
35 pkginstalled libmcrypt && var_append extraconfopt " " "--with-mcrypt"
37 pkginstalled libmhash && var_append extraconfopt " " "--with-mhash"
39 pkginstalled gettext &&
40         var_append extraconfopt " " "--with-gettext"
42 pkginstalled libgd &&
43         var_append extraconfopt " " "--with-gd --enable-gd-native-ttf"
45 pkginstalled libjpeg && var_append extraconfopt " " "--with-jpeg-dir"
46 pkginstalled libpng && var_append extraconfopt " " "--with-png-dir"
48 pkginstalled freetype1 && var_append extraconfopt " " "--with-ttf"
50 hook_add postmake 5 'cp php.ini-* $docdir'