]> Pileus Git - ~andy/gtk/commit
A proper build of GNU libintl is supposed to export the variable
authorTor Lillqvist <tml@novell.com>
Wed, 28 Nov 2007 01:06:07 +0000 (01:06 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Wed, 28 Nov 2007 01:06:07 +0000 (01:06 +0000)
commit10825b14b8964337f84769f10d799a281666e4c1
tree4999fb7042538cfe29b90b96f7c6279dedb8e33a
parent2159f9c7ca302ae1ef1749a6db4464388de5896d
A proper build of GNU libintl is supposed to export the variable

2007-11-28  Tor Lillqvist  <tml@novell.com>

A proper build of GNU libintl is supposed to export the variable
_nl_msg_cat_cntr. configure looks for that variable in order to
recognize GNU gettext. If it sees that it is indeed GNU gettext
that is used, it decides to install message catalogs in
share/locale, otherwise in lib/locale. Until now on Windows I have
built GTK+ against a build of GNU gettext that did not export
_nl_msg_cat_cntr. But this will change, so we can't assume message
catalogs are always in lib/locale.

* gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
GTK_LOCALEDIR being either in "lib" or "share". Move the function
before the inclusion of gtkprivate.h so that it sees the original
GTK_LOCALEDIR.

* gtk-zip.sh.in: Check whether the message catalogs are in
share/locale or lib/locale.

svn path=/trunk/; revision=19083
ChangeLog
gtk-zip.sh.in
gtk/gtkmain.c