[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg-devel
Subject: [PATCH 2/3] Not all systems have GMSGFMT installed. Handle this case
From: Benjamin.Close () clearchain ! com (Benjamin Close)
Date: 2009-02-26 2:47:17
Message-ID: 1235615718-92862-3-git-send-email-Benjamin.Close () clearchain ! com
[Download RAW message or body]
When po/Makefile attempts to use GMSGFMT on a system that
doesn't have it, compilation fails (doe to the .gmo files
being a dependancy). This check makes GMSGFMT be assigned
the value : - which causes the command to not be executed
Signed-off-by: Benjamin Close <Benjamin.Close at clearchain.com>
---
configure.in | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/configure.in b/configure.in
index 94a925f..56db67d 100644
--- a/configure.in
+++ b/configure.in
@@ -46,6 +46,12 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext \
package])
AM_GLIB_GNU_GETTEXT
+# If GMSGFMT doesn't exist, then fill the command
+# with a nop so makefiles still work
+if test "x$GMSGFMT" = "x"; then
+ GMSGFMT=":"
+fi
+
ALL_LINGUAS="af az bg cs da el en_GB es fi fr hu it ka ko nl ru rw sk sl sq sr sr at \
Latn sv tr uk vi zh_CN zh_TW"
AC_SUBST(xkb_base)
--
1.6.0.2
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic