bug-gettext
[Top][All Lists]
Advanced

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

Re: [bug-gettext] gettext.m4 and musl-libc


From: Daiki Ueno
Subject: Re: [bug-gettext] gettext.m4 and musl-libc
Date: Sat, 14 Nov 2015 17:51:52 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Kylie McClain <address@hidden> 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

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