From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bruno Haible Newsgroups: gmane.lisp.guile.devel Subject: Re: AM_GNU_GETTEXT weirdness Date: Tue, 28 Sep 2004 18:07:21 +0200 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <200409281807.21775.bruno@clisp.org> References: <87d60c8k4s.fsf@zagadka.ping.de> <87vfe4xhis.fsf@peder.flower> <874qln8cix.fsf@zagadka.ping.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1096387979 27300 80.91.229.6 (28 Sep 2004 16:12:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Sep 2004 16:12:59 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Sep 28 18:12:46 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CCKar-0002cH-00 for ; Tue, 28 Sep 2004 18:12:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CCKh9-00027I-Qi for guile-devel@m.gmane.org; Tue, 28 Sep 2004 12:19:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CCKgX-0001tE-MR for guile-devel@gnu.org; Tue, 28 Sep 2004 12:18:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CCKgW-0001se-Ia for guile-devel@gnu.org; Tue, 28 Sep 2004 12:18:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CCKgW-0001sb-EN for guile-devel@gnu.org; Tue, 28 Sep 2004 12:18:36 -0400 Original-Received: from [81.80.162.195] (helo=ftp.ilog.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CCKZz-0007Mw-SC; Tue, 28 Sep 2004 12:11:52 -0400 Original-Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.0) with ESMTP id i8SGBoUd005936; Tue, 28 Sep 2004 18:11:50 +0200 (MET DST) Original-Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id i8SGBinW002037; Tue, 28 Sep 2004 18:11:45 +0200 (MET DST) Original-Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id AFCB93BD08; Tue, 28 Sep 2004 16:07:22 +0000 (UTC) Original-To: Marius Vollmer , Jan Nieuwenhuizen User-Agent: KMail/1.5 In-Reply-To: <874qln8cix.fsf@zagadka.ping.de> Content-Disposition: inline X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:4178 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:4178 Marius Vollmer wrote: > >> running ./autogen.sh now runs gettextize autoreconf shouldn't run gettextize. This was fixed in autoconf-2.57. > >> and that causes some > >> 'useless' things to happen, like the creation of po/ If you don't want a po/ directory, just don't run gettextize, and instead do the steps (explained in the GNU gettext manual, chapter "The Maintainer's View") manually. > >> and the inclusion > >> of po/Makefile.in in _all_ AC_CONFIG_FILES statements in configure.in. This is a bug in gettextize that is fixed in the current gettext CVS (not yet released; sorry). > >> Makefile.am:26: AM_GNU_GETTEXT used but `po' not in SUBDIRS This is fixed in automake 1.8 and newer. Jan Nieuwenhuizen wrote: > > I have no clues whatsoever about what the developers of auto* have in > > mind. You'll have to ask Bruno about the AM_GNU_GETTEXT/libintl stuff. > > What I had initially, was > > > > dnl i18n tests > > AC_CHECK_HEADERS([libintl.h]) > > AC_CHECK_FUNCS(gettext) > > if test $ac_cv_func_gettext = no; then > > AC_CHECK_LIB(intl, gettext) > > fi > > AC_CHECK_FUNCS([bindtextdomain textdomain]) > > > > maybe something like that is better? > > Bruno, what is your view? That autoconf test fails to detect an existing GNU libintl on _all_ platforms. (Moreover it would pretend to have found gettext on Solaris without GNU libintl, which would lead to linker errors later.) Thus it works only on glibc systems, where no libintl is needed. That's why I recommend the AM_GNU_GETTEXT macro. > I have a hard time convincing myself now that gettext support should > be in the core, when I have, for example, not accepted SCTP. Hmm. You have to estimate the importance of internationalization. For illustration: In a new Linux magazine special issue about PHP 5, there were about 6 or 7 introductory articles about this language and environment. One of them was about how to use gettext from within PHP. Bruno _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel