| 1 | # Copyright 1999-2007 Gentoo Foundation |
1 | # Copyright 1999-2007 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-base-r1.eclass,v 1.6 2007/03/05 01:50:47 chtekk Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-base-r1.eclass,v 1.7 2007/05/12 02:54:35 chtekk Exp $ |
| 4 | # |
4 | # |
| 5 | # Author: Tal Peer <coredumb@gentoo.org> |
5 | # Author: Tal Peer <coredumb@gentoo.org> |
| 6 | # Author: Stuart Herbert <stuart@gentoo.org> |
6 | # Author: Stuart Herbert <stuart@gentoo.org> |
| 7 | # Author: Luca Longinotti <chtekk@gentoo.org> |
7 | # Author: Luca Longinotti <chtekk@gentoo.org> |
| 8 | # Maintained by the PHP Team <php-bugs@gentoo.org> |
8 | # Maintained by the PHP Team <php-bugs@gentoo.org> |
| … | |
… | |
| 29 | [[ -z "${PHP_EXT_ZENDEXT}" ]] && PHP_EXT_ZENDEXT="no" |
29 | [[ -z "${PHP_EXT_ZENDEXT}" ]] && PHP_EXT_ZENDEXT="no" |
| 30 | |
30 | |
| 31 | php-ext-base-r1_buildinilist() { |
31 | php-ext-base-r1_buildinilist() { |
| 32 | # Work out the list of <ext>.ini files to edit/add to |
32 | # Work out the list of <ext>.ini files to edit/add to |
| 33 | if [[ -z "${PHPSAPILIST}" ]] ; then |
33 | if [[ -z "${PHPSAPILIST}" ]] ; then |
| 34 | PHPSAPILIST="apache1 apache2 cli cgi" |
34 | PHPSAPILIST="apache2 cli cgi" |
| 35 | fi |
35 | fi |
| 36 | |
36 | |
| 37 | PHPINIFILELIST="" |
37 | PHPINIFILELIST="" |
| 38 | |
38 | |
| 39 | for x in ${PHPSAPILIST} ; do |
39 | for x in ${PHPSAPILIST} ; do |