bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#66125: 29.1; configure --with-small-ja-dic has no effect


From: Ulrich Mueller
Subject: bug#66125: 29.1; configure --with-small-ja-dic has no effect
Date: Sat, 23 Sep 2023 23:29:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

>>>>> On Sat, 23 Sep 2023, Eli Zaretskii wrote:

>> > (The "if test" part of the new target's rules could be updated to
>> > check that the small-ja-dic-option file exists, and generate a
>> > non-empty file if not.)
>> 
>> IMHO this would be cleaner.

> Can you try that and see if there are no other issues?

I did some tests and ended up replacing the small-ja-dic-option recipe
in leim/Makefile.in with something very simple:

# This is used to support regeneration of ja-dic when the SMALL_JA_DIC
# option is flipped by the configure-time option.
small-ja-dic-option: ../config.status
        $(AM_V_GEN)echo "small ja-dic option: $(SMALL_JA_DIC)" > $@.$$$$ && \
        ${top_srcdir}/build-aux/move-if-change $@.$$$$ $@

AFAICS this does what is intended, i.e. the detour via recording the
option in ja-dic.el isn't even needed.





reply via email to

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