Skip to content
  • Tor Lillqvist's avatar
    A proper build of GNU libintl is supposed to export the variable · 10825b14
    Tor Lillqvist authored
    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
    10825b14