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 <[email protected]> --- 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 s...@latn sv tr uk vi zh_CN zh_TW" AC_SUBST(xkb_base) -- 1.6.0.2 _______________________________________________ xorg-devel mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-devel
