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

Diff of /eclass/autotools-utils.eclass

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

Revision 1.52 Revision 1.53
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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-utils.eclass,v 1.52 2012/05/28 07:45:19 mgorny Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.53 2012/05/28 07:46:59 mgorny Exp $
4 4
5# @ECLASS: autotools-utils.eclass 5# @ECLASS: autotools-utils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Maciej Mrozowski <reavertm@gentoo.org> 7# Maciej Mrozowski <reavertm@gentoo.org>
8# Michał Górny <mgorny@gentoo.org> 8# Michał Górny <mgorny@gentoo.org>
257 if [[ ${removing} ]]; then 257 if [[ ${removing} ]]; then
258 einfo "Removing unnecessary ${f#${D%/}} (${removing})" 258 einfo "Removing unnecessary ${f#${D%/}} (${removing})"
259 rm -f "${f}" || die 259 rm -f "${f}" || die
260 fi 260 fi
261 done 261 done
262
263 # check for invalid eclass use
264 # this is the most commonly used function, so do it here
265 _check_build_dir
266 if [[ ! -d "${AUTOTOOLS_BUILD_DIR}" ]]; then
267 eqawarn "autotools-utils used but autotools-utils_src_configure was never called."
268 eqawarn "This is not supported and never was. Please report a bug against"
269 eqawarn "the offending ebuild. This will become a fatal error in a near future."
270 fi
271} 262}
272 263
273# @FUNCTION: autotools-utils_autoreconf 264# @FUNCTION: autotools-utils_autoreconf
274# @DESCRIPTION: 265# @DESCRIPTION:
275# Reconfigure the sources (like gnome-autogen.sh or eautoreconf). 266# Reconfigure the sources (like gnome-autogen.sh or eautoreconf).

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53

  ViewVC Help
Powered by ViewVC 1.1.20