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
Description: This is a digitally signed message part.

Reply via email to