summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-05-20 10:32:05 +0000
committerMike Frysinger <vapier@gentoo.org>2012-05-20 10:32:05 +0000
commit1a807f549396a7d83b6b8c0ac05a3088f7fe6cb5 (patch)
tree7fffc65dae25f9e23fb4bcdfb18be1bb485d89b9 /eclass
parentautomatically create AC_CONFIG_MACRO_DIR dir too (diff)
downloadhistorical-1a807f549396a7d83b6b8c0ac05a3088f7fe6cb5.tar.gz
historical-1a807f549396a7d83b6b8c0ac05a3088f7fe6cb5.tar.bz2
historical-1a807f549396a7d83b6b8c0ac05a3088f7fe6cb5.zip
eautoreconf: automatically run eautopoint when the code base uses it
Diffstat (limited to 'eclass')
-rw-r--r--eclass/autotools.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index c3cc79a71574..550d74520ab3 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.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.eclass,v 1.131 2012/05/20 10:26:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.132 2012/05/20 10:32:05 vapier Exp $
# @ECLASS: autotools.eclass
# @MAINTAINER:
@@ -162,6 +162,9 @@ eautoreconf() {
einfo "Running eautoreconf in '${PWD}' ..."
[[ -n ${auxdir}${macdir} ]] && mkdir -p ${auxdir} ${macdir}
eaclocal
+ if grep -q '^AM_GNU_GETTEXT_VERSION' configure.?? ; then
+ eautopoint --force
+ fi
[[ ${CHOST} == *-darwin* ]] && g=g
if ${LIBTOOLIZE:-${g}libtoolize} -n --install >& /dev/null ; then
_elibtoolize --copy --force --install