From 27cffa93e52e6306d9c68231b1b25e5e8c903ca2 Mon Sep 17 00:00:00 2001 From: Juergen Keil Date: Mon, 28 Oct 2002 13:03:37 +0000 Subject: Handle the case when the user has no working/acceptable GNU msgfmt utility installed, so that GMSGFMT is defined as ':' (noop, in gettext.m4). This causes problems in our build system, because now there are no .gmo compiled message files available for installation, and the 'make install' fails. Print a warning and continue. CVS patchset: 3068 CVS date: 2002/10/28 13:03:37 --- po/Makefile.in.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/po/Makefile.in.in b/po/Makefile.in.in index e78a6a7bc..ea364c4c1 100644 --- a/po/Makefile.in.in +++ b/po/Makefile.in.in @@ -112,10 +112,12 @@ install-data-yes: all if test -r $$cat; then \ $(INSTALL_DATA) $$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \ echo "installing $$cat as $(DESTDIR)$$dir/$(PACKAGE).mo"; \ - else \ + elif test -r $(srcdir)/$$cat; then \ $(INSTALL_DATA) $(srcdir)/$$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \ echo "installing $(srcdir)/$$cat as" \ "$(DESTDIR)$$dir/$(PACKAGE).mo"; \ + else \ + echo "WARNING: compiled message file $$cat is missing"; \ fi; \ done -- cgit v1.2.3