summaryrefslogtreecommitdiff
path: root/macros/gnome-gettext.m4
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1999-01-20 23:09:09 +0000
committerMartin Baulig <martin@src.gnome.org>1999-01-20 23:09:09 +0000
commit5b527d5662b770cc2068130dd30503cecca16dfe (patch)
treea7c613a612fb59f6f88473defbf57296c01c97d5 /macros/gnome-gettext.m4
parent55a868c3dea6ee3c73055dcbee1d60bfd07aff62 (diff)
downloadgnome-common-5b527d5662b770cc2068130dd30503cecca16dfe.tar.gz
Applied a patch from Owen Taylor to keep this in sync with
AC_GTK_GETTEXT from gtk+/acinclude.m4. 1999-01-20 Martin Baulig <martin@home-of-linux.org> * acinclude.m4 (ac_result): Unset CATOBJEXT so that the macros and Makefiles correctly handle disabling NLS when no gettext is found. svn path=/trunk/; revision=589
Diffstat (limited to 'macros/gnome-gettext.m4')
-rw-r--r--macros/gnome-gettext.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/macros/gnome-gettext.m4 b/macros/gnome-gettext.m4
index 25c1f09..d811177 100644
--- a/macros/gnome-gettext.m4
+++ b/macros/gnome-gettext.m4
@@ -132,7 +132,9 @@ AC_DEFUN(AM_GNOME_WITH_NLS,
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,