Kylie McClain <somasissou...@gmail.com> writes:

> I am trying to use the gettext built into musl-libc for programs
> which use autoconf+automake for building. I know the program in
> question (hunspell) supports musl's gettext, but the issue is that
> whenever I run ./configure, it insists on using the included gettext,
> rather than musl's built in gettext.
>
> After talking to people on musl's IRC, it was determined that the
> issue is that gettext.m4 has a bad check for if the libc has a
> gettext implementation; namely, it only uses the libc's implementation
> if the libc is glibc.
>
> Could this be improved so that it works with musl's gettext?

Assuming that the problem you mean as a "bad check" is:
http://lists.gnu.org/archive/html/bug-gettext/2015-04/msg00002.html

According to the post linked from the above, the check seems to be there
to exclude incompatible implementations of gettext(), like Solaris 7 and
NetBSD:
https://lists.gnu.org/archive/html/bug-gnu-utils/2006-03/msg00011.html

If musl's gettext implementation is compatible with GNU gettext, I guess
we could adjust the check to accept it.  However, I have no idea which
symbols or macros can be used for the check.  It would be helpful if
musl people could chime in and give us a hint.

Regards,
-- 
Daiki Ueno

Reply via email to