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

Diff of /eclass/autotools.eclass

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

Revision 1.28 Revision 1.29
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/autotools.eclass,v 1.28 2006/01/12 13:13:56 flameeyes Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.29 2006/01/18 23:04:57 vapier Exp $
4# 4#
5# Author: Diego Pettenò <flameeyes@gentoo.org> 5# Author: Diego Pettenò <flameeyes@gentoo.org>
6# Enhancements: Martin Schlemmer <azarah@gentoo.org> 6# Enhancements: Martin Schlemmer <azarah@gentoo.org>
7# 7#
8# This eclass is for handling autotooled software packages that 8# This eclass is for handling autotooled software packages that
86 if [[ -n ${AT_M4DIR} ]] ; then 86 if [[ -n ${AT_M4DIR} ]] ; then
87 for x in ${AT_M4DIR} ; do 87 for x in ${AT_M4DIR} ; do
88 case "${x}" in 88 case "${x}" in
89 "-I") 89 "-I")
90 # We handle it below 90 # We handle it below
91 ;;
92 "-I"*)
93 # Invalid syntax, but maybe we should help out ...
94 ewarn "eaclocal: Proper syntax is (note the space after '-I'): aclocal -I <dir>"
95 aclocal_opts="${aclocal_opts} -I ${x}"
96 ;; 91 ;;
97 *) 92 *)
98 [[ ! -d ${x} ]] && ewarn "eaclocal: '${x}' does not exist" 93 [[ ! -d ${x} ]] && ewarn "eaclocal: '${x}' does not exist"
99 aclocal_opts="${aclocal_opts} -I ${x}" 94 aclocal_opts="${aclocal_opts} -I ${x}"
100 ;; 95 ;;

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

  ViewVC Help
Powered by ViewVC 1.1.20