bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: VPATH distcheck build fails


From: Bruno Haible
Subject: Re: VPATH distcheck build fails
Date: Sun, 05 May 2019 02:24:56 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-145-generic; KDE/5.18.0; x86_64; ; )

Tim Rühsen wrote:
> Nothing documented found. After reading some code, it seems po/Makevars
> is left alone when removing AM_GNU_GETTEXT_VERSION([0.17]) from
> configure.ac.

The Makefile.in.in from version 0.17 did not contain the support for
the PACKAGE_GNU customization. You need at least
  AM_GNU_GETTEXT_VERSION([0.19])
for that.

> The wget.po created in the vpath build still contains just 'wget'
> instead of 'GNU Wget' due to
> 
>         if LC_ALL=C grep 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null |
> grep -v 'libtool:' >/dev/null; then \
>           package_gnu='GNU '; \
>         else \
>           package_gnu=''; \
>         fi; \
> 
> That is, package_gnu is empty due to not finding 'GNU wget' in the main
> project/tarball dir.

You are repeating yourself. I told you already that this heuristic is
not reliable, and the way to avoid the heuristic is to add a po/Makevars
that contains
  PACKAGE_GNU = yes

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]