On 03/11/2014 10:22 PM, Дилян Палаузов wrote: > Hello, > > on some systems, the function locale_charset () is provided by libiconv, on > others by libcharset. Why doesn't gnulib module localcharset try to find the > function there, before building its body in libgnu.a? > > Kind regards > Дилян
This is a fair point. Now locale_charset() is not usually separately available on GNU/Linux but it can be on FreeBSD for example: http://permalink.gmane.org/gmane.comp.version-control.git/243879 I'm guessing that gnulib was always updated with the latest version, and so for this smallish function it was simpler and arguably better for gnulib using programs to consume it from there. I'd accept a patch that favored the separated version. thanks, Pádraig.