summaryrefslogtreecommitdiff
path: root/m4macros
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2006-12-13 20:08:22 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-12-13 20:08:22 +0000
commitb6aad8a6f05a2f76d20e8b00c47130f396a53501 (patch)
treec893e98b38596c87e672d7aa66f92123e5f1bf1f /m4macros
parentea1512221b376246c28f69fea3b4c163e578f543 (diff)
Require AC_CANONICAL_HOST in GLIB_WITH_NLS. (#385132, Laszlo Peter)
2006-12-13 Matthias Clasen <mclasen@redhat.com> * m4macros/glib-gettext.m4: Require AC_CANONICAL_HOST in GLIB_WITH_NLS. (#385132, Laszlo Peter)
Diffstat (limited to 'm4macros')
-rw-r--r--m4macros/glib-gettext.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4macros/glib-gettext.m4 b/m4macros/glib-gettext.m4
index 0934ea41d..4f71d6cea 100644
--- a/m4macros/glib-gettext.m4
+++ b/m4macros/glib-gettext.m4
@@ -101,7 +101,8 @@ AC_SUBST($1)dnl
#-----------------
glib_DEFUN([GLIB_WITH_NLS],
dnl NLS is obligatory
- [USE_NLS=yes
+ [AC_REQUIRE([AC_CANONICAL_HOST])dnl
+ USE_NLS=yes
AC_SUBST(USE_NLS)
gt_cv_have_gettext=no