patches/glib-05-ac-canonical-host.diff
author yippi
Mon, 27 Sep 2010 21:07:51 +0000
changeset 20108 51df67ca9307
parent 11626 c68fd01ba85b
permissions -rw-r--r--
I had these modules listed as being owned by me, but they are really owned by wangke, correcting.

--- glib-2.15.4/m4macros/glib-gettext.m4	2008-01-28 15:03:26.000000000 +0000
+++ glib-2.15.3/m4macros/glib-gettext.m4	2008-01-21 15:14:11.000000000 +0000
@@ -101,7 +101,8 @@
 #-----------------
 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