From 1212bfff1c77b663ed514e59ecbd1ee0fbd2a7cc Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Wed, 6 Jun 2012 17:17:30 +0000 Subject: Reuse eautoreconf, deprecate autotools-utils_autoreconf. --- eclass/autotools-utils.eclass | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'eclass/autotools-utils.eclass') diff --git a/eclass/autotools-utils.eclass b/eclass/autotools-utils.eclass index ea9eb36211b7..987ac2d10f56 100644 --- a/eclass/autotools-utils.eclass +++ b/eclass/autotools-utils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.54 2012/06/06 15:43:45 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.55 2012/06/06 17:17:30 mgorny Exp $ # @ECLASS: autotools-utils.eclass # @MAINTAINER: @@ -271,6 +271,10 @@ remove_libtool_files() { autotools-utils_autoreconf() { debug-print-function ${FUNCNAME} "$@" + eqawarn "The autotools-utils_autoreconf() function was deprecated." + eqawarn "Please call autotools-utils_src_prepare()" + eqawarn "with AUTOTOOLS_AUTORECONF set instead." + # Override this func to not require unnecessary eaclocal calls. autotools_check_macro() { local x @@ -367,7 +371,7 @@ autotools-utils_src_prepare() { fi fi - [[ ${want_autoreconf} ]] && autotools-utils_autoreconf + [[ ${want_autoreconf} ]] && eautoreconf elibtoolize --patch-only } -- cgit v1.2.3-65-gdbad