]> git.draconx.ca Git - cdecl99.git/commit
Don't build locale/wcwidth junk if NLS is disabled.
authorNick Bowler <nbowler@draconx.ca>
Sun, 3 Dec 2023 21:54:07 +0000 (16:54 -0500)
committerNick Bowler <nbowler@draconx.ca>
Mon, 4 Dec 2023 05:24:25 +0000 (00:24 -0500)
commit85a6a8c5ddb83606fb27617b9c81c8bcc6b35408
treebdae8dbc6d488eb75256d190b587f65428de2550
parent27a9d54d909450a780e2c494ee9e493ad4346cec
Don't build locale/wcwidth junk if NLS is disabled.

These functions are only used for NLS support, so it is silly to
compile them if NLS is disabled for any reason.

To do this, we create a local "dx-nls" gnulib module which can in
turn use conditional dependencies to pull in all the (now optional)
modules.

It is necessary to update gnulib in order for this to actually work,
as otherwise uniwidth/width is still compiled for some reason, and
it looks like this has been fixed upstream.
common
configure.ac
gnulib
lib/local/modules/dx-nls [new file with mode: 0644]
lib/local/modules/gnulib-local
lib/local/modules/readline
m4/.gitignore
m4/gnulib-cache.m4