Propagateg change by Owen Taylor from acinclude.m4 in gtk+: Don't define
authorPavel Roskin <proskin@src.gnome.org>
Thu, 11 Jan 2001 16:04:13 +0000 (16:04 +0000)
committerPavel Roskin <proskin@src.gnome.org>
Thu, 11 Jan 2001 16:04:13 +0000 (16:04 +0000)
* macros/gnome-gettext.m4: Propagateg change by Owen Taylor
from acinclude.m4 in gtk+:
Don't define ENABLE_NLS unless we have a working NLS.
(This should keep libintl.h from being included when it doesn't
exist).

svn path=/trunk/; revision=1522

macros/gnome-gettext.m4

index 3ebd6d4..813db3e 100644 (file)
@@ -25,7 +25,7 @@ AC_DEFUN(AM_GNOME_WITH_NLS,
 
     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],