[PATCH 2/3] Not all systems have GMSGFMT installed. Handle this case
Benjamin Close
Benjamin.Close at clearchain.com
Wed Feb 25 18:35:17 PST 2009
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
More information about the xorg-devel
mailing list