Hi Paul, hi all!
I would really like some help here. I am probably missing
something, but I am under the impression that the coreutils
are using gettext's po/Makefile.in.in instead of gnulib's,
so your fixes, Paul, would not be installed–as my first
diff below attempts to show.
Since I would like Bison to use the same approach as the
Coreutils, I would be very to understand my misunderstanding.
Cheers!
Akim
Le 9 avr. 2012 à 08:43, Akim Demaille a écrit :
>
> Le 7 avr. 2012 à 16:42, Paul Eggert a écrit :
>
>> On 04/07/2012 04:48 AM, Akim Demaille wrote:
>>> I have tried to get some inspiration from the coreutils,
>>> but they don't use gnu lib's Makefile.in.in either.
>>
>> Yes they do -- gnulib-tool copies it and coreutils bootstrap.conf
>> tailors it. Look for "Makefile.in.in" in those two files.
>>
>> Coreutils formerly had its own copy but started
>> using gnulib's back in 2006.
>
> Hi Paul!
>
> I must be missing something :/ In the copy I checked out
> recently, and freshly bootstrapped:
>
> commit 7e0ef7c035a4ef331dfd5019465ad00171a7b800
> Author: Andreas Schwab <[email protected]>
> Date: Wed Apr 4 15:06:17 2012 +0200
>
> tests: avoid unnecessary subshells in misc/stty
>
> * tests/misc/stty: Don't waste a subshell to perform this:
> eval rev=\$REV_$opt. Fix rev1,rev2 assignments similarly.
>
> I have:
>
> ~/src/gnu/coreutils $ diff gnulib/build-aux/po/Makefile.in.in po
> 99c99
> < all: all-@USE_NLS@
> ---
>> all: check-macro-version all-@USE_NLS@
> 105,106c105,106
> < CHECK_MACRO_VERSION = \
> < test "$(GETTEXT_MACRO_VERSION)" = "@GETTEXT_MACRO_VERSION@" \
> ---
>> check-macro-version:
>> @test "$(GETTEXT_MACRO_VERSION)" = "@GETTEXT_MACRO_VERSION@" \
> 126d125
> < @$(CHECK_MACRO_VERSION)
> 142c141
> < if LC_ALL=C grep 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null | grep -v
> 'libtool:' >/dev/null; then \
> ---
>> if true; then \
>
> and
>
> ~/src/gnu/coreutils $ diff ~/src/bison/po/Makefile.in.in po
> 141c141
> < if LC_ALL=C grep 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null | grep -v
> 'libtool:' >/dev/null; then \
> ---
>> if true; then \
>
>
> So yes, I had seen the bit that specializes that file, yet
> my reading is that the coreutils do not use the copy from
> gnulib, but, like Bison, the one from autopoint that does
> not feature your "make -q" fixes.
>
> What is it that I am missing?
>