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

Diff of /eclass/confutils.eclass

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

Revision 1.18 Revision 1.19
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 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.18 2005/09/04 10:54:53 stuart Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/confutils.eclass,v 1.19 2006/10/14 20:27:21 swegener 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
248 my_shared="${shared}" 248 my_shared="${shared}"
249 if [ "$4+" != "+" ]; then 249 if [ "$4+" != "+" ]; then
250 my_shared="${my_shared},$4" 250 my_shared="${my_shared},$4"
251 fi 251 fi
252 elif [ "$4+" != "+" ]; then 252 elif [ "$4+" != "+" ]; then
253 my_shared="=$4" 253 my_shared="=$4"
254 fi 254 fi
255 else 255 else
256 if [ "$4+" != "+" ]; then 256 if [ "$4+" != "+" ]; then
257 my_shared="=$4" 257 my_shared="=$4"
258 fi 258 fi
288 my_shared="${shared}" 288 my_shared="${shared}"
289 if [ "$4+" != "+" ]; then 289 if [ "$4+" != "+" ]; then
290 my_shared="${my_shared},$4" 290 my_shared="${my_shared},$4"
291 fi 291 fi
292 elif [ "$4+" != "+" ]; then 292 elif [ "$4+" != "+" ]; then
293 my_shared="=$4" 293 my_shared="=$4"
294 fi 294 fi
295 else 295 else
296 if [ "$4+" != "+" ]; then 296 if [ "$4+" != "+" ]; then
297 my_shared="=$4" 297 my_shared="=$4"
298 fi 298 fi
346 my_shared="${shared}" 346 my_shared="${shared}"
347 if [ "$4+" != "+" ]; then 347 if [ "$4+" != "+" ]; then
348 my_shared="${my_shared},$4" 348 my_shared="${my_shared},$4"
349 fi 349 fi
350 elif [ "$4+" != "+" ]; then 350 elif [ "$4+" != "+" ]; then
351 my_shared="=$4" 351 my_shared="=$4"
352 fi 352 fi
353 else 353 else
354 if [ "$4+" != "+" ]; then 354 if [ "$4+" != "+" ]; then
355 my_shared="=$4" 355 my_shared="=$4"
356 fi 356 fi
385 my_shared="${shared}" 385 my_shared="${shared}"
386 if [ "$4+" != "+" ]; then 386 if [ "$4+" != "+" ]; then
387 my_shared="${my_shared},$4" 387 my_shared="${my_shared},$4"
388 fi 388 fi
389 elif [ "$4+" != "+" ]; then 389 elif [ "$4+" != "+" ]; then
390 my_shared="=$4" 390 my_shared="=$4"
391 fi 391 fi
392 else 392 else
393 if [ "$4+" != "+" ]; then 393 if [ "$4+" != "+" ]; then
394 my_shared="=$4" 394 my_shared="=$4"
395 fi 395 fi

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.20