diff options
author | Juergen Keil <jkeil@users.sourceforge.net> | 2002-10-28 13:03:37 +0000 |
---|---|---|
committer | Juergen Keil <jkeil@users.sourceforge.net> | 2002-10-28 13:03:37 +0000 |
commit | 27cffa93e52e6306d9c68231b1b25e5e8c903ca2 (patch) | |
tree | 1363de34969a23c13268ba8c9d1523a5a43a58f3 | |
parent | 2173095144bf35ef1e8b1c7b04d77b01399e5876 (diff) | |
download | xine-lib-27cffa93e52e6306d9c68231b1b25e5e8c903ca2.tar.gz xine-lib-27cffa93e52e6306d9c68231b1b25e5e8c903ca2.tar.bz2 |
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
-rw-r--r-- | po/Makefile.in.in | 4 |
1 files changed, 3 insertions, 1 deletions
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 |