Hi Paolo, > > In cases where only very little from libunistring is used, like the > > 'unicodeio' module which only depends on 'unistr/u8-uctomb', it would be > > overkill to link with -lunistring just for this. > > Then you don't even use libunistring-optional. libunistring-optional is > what adds gl_LIBUNISTRING for you, basically.
Oh, I see. I was confused because I thought that modules/libunistring-optional and m4/libunistring-optional.m4 belong together, because of the similar name. How about renaming the latter to m4/unistring-base.m4? Its role is to contain some macros needed by all uni*/base modules. Bruno