Re: some TODO for 1.2:




Miguel de Icaza <miguel@nuclecu.unam.mx> writes:

> Look at the AM_GNOME_GETTEXT macro.  this works around a number of
> problems in the AM_GNU_GETTEXT macro.

<looks>

Hmmm, that's a renamed copy of the AC_GTK_GETTEXT macro that 
I created for GTK+...

Actually, there was an important fix in AC_GTK_GETTEXT that
doesn't seem to have been propagated into the GNOME version.

I'm not sure of the details of the usage of AC_GNOME_GETTEXT,
so I don't want to change this myself, but this may
require some attention. ChangeLog entry and patch below.

                                        Owen

===========

ChangeLog entry:

Wed Jan 13 21:18:41 1999  Owen Taylor  <otaylor@redhat.com>

	* acinclude.m4 (ac_result): Unset CATOBJEXT so
	that the macros and Makefiles correctly handle
	disabling NLS when no gettext is found.

diff -u -r1.6 -r1.7
--- acinclude.m4        1999/01/13 08:44:21     1.6
+++ acinclude.m4        1999/01/14 02:16:48     1.7
@@ -676,7 +676,9 @@
 
       if test "$nls_cv_use_gnu_gettext" != "yes"; then
         AC_DEFINE(ENABLE_NLS)
-#      else
+      else
+         # Unset this variable since we use the non-zero value as a flag.
+         CATOBJEXT=
 #        dnl Mark actions used to generate GNU NLS library.
 #        INTLOBJS="\$(GETTOBJS)"
 #        AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,



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