| 1 | # Copyright 1999-2006 Gentoo Foundation |
1 | # Copyright 1999-2006 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/phpconfutils.eclass,v 1.4 2006/07/14 16:02:36 chtekk Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/phpconfutils.eclass,v 1.5 2007/05/10 20:26:45 chtekk Exp $ |
| 4 | # |
4 | # |
| 5 | # ######################################################################## |
5 | # ######################################################################## |
| 6 | # |
6 | # |
| 7 | # eclass/phpconfutils.eclass |
7 | # eclass/phpconfutils.eclass |
| 8 | # Utility functions to help with configuring PHP |
8 | # Utility functions to help with configuring PHP |
| … | |
… | |
| 95 | while [[ -n "$1" ]] ; do |
95 | while [[ -n "$1" ]] ; do |
| 96 | if useq "$1" ; then |
96 | if useq "$1" ; then |
| 97 | einfo "${success_msg} $1" |
97 | einfo "${success_msg} $1" |
| 98 | success="1" |
98 | success="1" |
| 99 | else |
99 | else |
| 100 | ewarn "${fail_msg} $1" |
100 | einfo "${fail_msg} $1" |
| 101 | fi |
101 | fi |
| 102 | shift |
102 | shift |
| 103 | done |
103 | done |
| 104 | |
104 | |
| 105 | # Did we find what we are looking for? |
105 | # Did we find what we are looking for? |