Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Mike Frysinger <vapier@g.o>
Subject: autotools.eclass:eautoreconf now runs autopoint for you
Date: Sun, 20 May 2012 06:32:04 -0400
i've extended eautoreconf to automatically call autopoint when the package 
uses gettext.  the configure check might seem naïve, but this is how autoreconf 
itself does it.  this hopefully shouldn't break any packages (at least, none 
that weren't already broken), but if you guys start seeing eautoreconf 
failures where there were none before, feel free to cc base-system.
-mike

--- autotools.eclass
+++ autotools.eclass
@@ -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
Attachment:
signature.asc (This is a digitally signed message part.)
Replies:
Re: autotools.eclass:eautoreconf now runs autopoint for you
-- Alexandre Rostovtsev
Re: autotools.eclass:eautoreconf now runs autopoint for you
-- Nirbheek Chauhan
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [gentoo-commits] gentoo-x86 commit in eclass: autotools.eclass
Next by thread:
Re: autotools.eclass:eautoreconf now runs autopoint for you
Previous by date:
Re: [gentoo-commits] gentoo-x86 commit in eclass: autotools.eclass
Next by date:
Re: [gentoo-commits] gentoo-x86 commit in eclass: autotools.eclass


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.