Hello!

>From ChangeLog for gtk+-1.2.8:

Mon Jan 25 15:47:46 1999  Owen Taylor  <[EMAIL PROTECTED]>

        * acinclude.m4 (ac_result): Don't define ENABLE_NLS
         unless we have a working NLS. (This should keep
         libintl.h from being included when it doesn't
         exist).

This change was not propagated to the GNOME macros repository. The result
was that Midnight Commander didn't compile on systems without libintl.h
unless --disable-nls was used for configure.

I guess I have write access to the macro directory, but since it may
affect not only MC I'd like to ask permission first.

Here's the patch:

________________________________
--- macros/gnome-gettext.m4
+++ macros/gnome-gettext.m4
@@ -25,7 +25,7 @@

     dnl If we use NLS figure out what method
     if test "$USE_NLS" = "yes"; then
-      AC_DEFINE(ENABLE_NLS)
+#      AC_DEFINE(ENABLE_NLS)
 #      AC_MSG_CHECKING([whether included gettext is requested])
 #      AC_ARG_WITH(included-gettext,
 #        [  --with-included-gettext use the GNU gettext library included here],
________________________________

Regards,
Pavel Roskin

Reply via email to