diff options
author | Michał Górny <mgorny@gentoo.org> | 2013-10-08 10:34:45 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2013-10-08 10:34:45 +0000 |
commit | 93491f6800bb3f4f0e818cd508e513334a3e924a (patch) | |
tree | e89352699c7fb3954816c474b662511b0176ff2e /eclass/autotools-utils.eclass | |
parent | Addd gpgsplit, gpg-zip, resolves bug#192151 (diff) | |
download | gentoo-2-93491f6800bb3f4f0e818cd508e513334a3e924a.tar.gz gentoo-2-93491f6800bb3f4f0e818cd508e513334a3e924a.tar.bz2 gentoo-2-93491f6800bb3f4f0e818cd508e513334a3e924a.zip |
Remove deprecated autotools-utils_autoreconf.
Diffstat (limited to 'eclass/autotools-utils.eclass')
-rw-r--r-- | eclass/autotools-utils.eclass | 80 |
1 files changed, 1 insertions, 79 deletions
diff --git a/eclass/autotools-utils.eclass b/eclass/autotools-utils.eclass index 28acb3b4c20b..5d7549f3e26d 100644 --- a/eclass/autotools-utils.eclass +++ b/eclass/autotools-utils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.70 2013/06/29 08:17:06 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.71 2013/10/08 10:34:45 mgorny Exp $ # @ECLASS: autotools-utils.eclass # @MAINTAINER: @@ -292,84 +292,6 @@ remove_libtool_files() { done } -# @FUNCTION: autotools-utils_autoreconf -# @DESCRIPTION: -# Reconfigure the sources (like gnome-autogen.sh or eautoreconf). -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 - - # Add a few additional variants as we don't get expansions. - [[ ${1} = AC_CONFIG_HEADERS ]] && set -- "${@}" \ - AC_CONFIG_HEADER AM_CONFIG_HEADER - - for x; do - grep -h "^${x}" configure.{ac,in} 2>/dev/null - done - } - - einfo "Autoreconfiguring '${PWD}' ..." - - local auxdir=$(sed -n -e 's/^AC_CONFIG_AUX_DIR(\(.*\))$/\1/p' \ - configure.{ac,in} 2>/dev/null) - if [[ ${auxdir} ]]; then - auxdir=${auxdir%%]} - mkdir -p ${auxdir##[} - fi - - # Support running additional tools like gnome-autogen.sh. - # Note: you need to add additional depends to the ebuild. - - # gettext - if [[ $(autotools_check_macro AM_GLIB_GNU_GETTEXT) ]]; then - echo 'no' | autotools_run_tool glib-gettextize --copy --force - elif [[ $(autotools_check_macro AM_GNU_GETTEXT) ]]; then - eautopoint --force - fi - - # intltool - if [[ $(autotools_check_macro AC_PROG_INTLTOOL IT_PROG_INTLTOOL) ]] - then - autotools_run_tool intltoolize --copy --automake --force - fi - - # gtk-doc - if [[ $(autotools_check_macro GTK_DOC_CHECK) ]]; then - autotools_run_tool gtkdocize --copy - fi - - # gnome-doc - if [[ $(autotools_check_macro GNOME_DOC_INIT) ]]; then - autotools_run_tool gnome-doc-prepare --copy --force - fi - - if [[ $(autotools_check_macro AC_PROG_LIBTOOL AM_PROG_LIBTOOL LT_INIT) ]] - then - _elibtoolize --copy --force --install - fi - - eaclocal - eautoconf - eautoheader - FROM_EAUTORECONF=sure eautomake - - local x - for x in $(autotools_check_macro_val AC_CONFIG_SUBDIRS); do - if [[ -d ${x} ]] ; then - pushd "${x}" >/dev/null || die - autotools-utils_autoreconf - popd >/dev/null || die - fi - done -} - # @FUNCTION: autotools-utils_src_prepare # @DESCRIPTION: # The src_prepare function. |