From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9586 Path: news.gmane.org!not-for-mail From: Felix Janda Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] Add `intl` to EMPTY_LIB_NAMES. Date: Sat, 12 Mar 2016 13:09:54 +0100 Message-ID: <20160312120954.GA14769@nyan> References: <1457416251-26134-1-git-send-email-masanori.ogino@gmail.com> <20160311045850.GV9349@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1457784904 29476 80.91.229.3 (12 Mar 2016 12:15:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Mar 2016 12:15:04 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-9599-gllmg-musl=m.gmane.org@lists.openwall.com Sat Mar 12 13:15:04 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1aeiRj-0005Tr-EA for gllmg-musl@m.gmane.org; Sat, 12 Mar 2016 13:15:03 +0100 Original-Received: (qmail 13485 invoked by uid 550); 12 Mar 2016 12:14:59 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 13467 invoked from network); 12 Mar 2016 12:14:58 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Xref: news.gmane.org gmane.linux.lib.musl.general:9586 Archived-At: Masanori Ogino wrote: > 2016-03-11 16:13 GMT+09:00 Masanori Ogino : > > From the last link: > >> 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. > > Well, is `__USE_GNU_GETTEXT` suitable for that? That depends on whether the incompatible implementations do not also define this macro. The NetBSD libintl.h header does not seem to do so. However I'm not sure about Solaris. According to the man page its libintl.h does define GNU_GETTEXT_SUPPORTED_REVISION but it's not clear whether or not __USE_GNU_GETTEXT is also defined. It can't hurt to ask on the gettext list. Felix