summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2012-06-06 17:17:30 +0000
committerMichał Górny <mgorny@gentoo.org>2012-06-06 17:17:30 +0000
commit5dfb0c8ff9887960c8285c89955d9969ad46d04d (patch)
tree05e8ae7bb452000335d3202370bb6c1ebc0fd1b2 /eclass
parentSupport other GNOME-related tools in eautoreconf: gtk-doc, gnome-doc & glib-g... (diff)
downloadgentoo-2-5dfb0c8ff9887960c8285c89955d9969ad46d04d.tar.gz
gentoo-2-5dfb0c8ff9887960c8285c89955d9969ad46d04d.tar.bz2
gentoo-2-5dfb0c8ff9887960c8285c89955d9969ad46d04d.zip
Reuse eautoreconf, deprecate autotools-utils_autoreconf.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/autotools-utils.eclass8
2 files changed, 10 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index e474556be8c4..c819cf47713c 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.294 2012/06/06 17:15:08 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.295 2012/06/06 17:17:30 mgorny Exp $
+
+ 06 Jun 2012; Michał Górny <mgorny@gentoo.org> autotools-utils.eclass:
+ Reuse eautoreconf, deprecate autotools-utils_autoreconf.
06 Jun 2012; Michał Górny <mgorny@gentoo.org> autotools.eclass:
Support other GNOME-related tools in eautoreconf: gtk-doc, gnome-doc &
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
}