/[gentoo-x86]/eclass/confutils.eclass
Gentoo

Diff of /eclass/confutils.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.11 Revision 1.12
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 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/confutils.eclass,v 1.11 2004/08/21 09:46:18 stuart Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/confutils.eclass,v 1.12 2004/08/24 20:55:43 stuart Exp $
4# 4#
5# eclass/confutils.eclass 5# eclass/confutils.eclass
6# Utility functions to help with configuring a package 6# Utility functions to help with configuring a package
7# 7#
8# Based on Stuart's work for the PHP 5 eclass 8# Based on Stuart's work for the PHP 5 eclass
193 if [ "$shared+" != "+" ]; then 193 if [ "$shared+" != "+" ]; then
194 my_shared="${shared}" 194 my_shared="${shared}"
195 if [ "$4+" != "+" ]; then 195 if [ "$4+" != "+" ]; then
196 my_shared="${my_shared},$4" 196 my_shared="${my_shared},$4"
197 fi 197 fi
198 elif [ "$4+" != "+" ]; then
199 my_shared="=$4"
198 fi 200 fi
199 else 201 else
200 if [ "$4+" != "+" ]; then 202 if [ "$4+" != "+" ]; then
201 my_shared="=$4" 203 my_shared="=$4"
202 fi 204 fi
243 if [ "$shared+" != "+" ]; then 245 if [ "$shared+" != "+" ]; then
244 my_shared="${shared}" 246 my_shared="${shared}"
245 if [ "$4+" != "+" ]; then 247 if [ "$4+" != "+" ]; then
246 my_shared="${my_shared},$4" 248 my_shared="${my_shared},$4"
247 fi 249 fi
250 elif [ "$4+" != "+" ]; then
251 my_shared="=$4"
248 fi 252 fi
249 else 253 else
250 if [ "$4+" != "+" ]; then 254 if [ "$4+" != "+" ]; then
251 my_shared="=$4" 255 my_shared="=$4"
252 fi 256 fi

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.20