From a5d205c047cb68fb3882aecbd6e3edee18777b48 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Wed, 26 Oct 2005 19:06:30 +0200 Subject: [PATCH] Add missing host variable and fix installation of charset.alias Add variable expanded from @host@ and use $(host) instead of @host@ in the gettext Makefile. Reported by zas. --- Makefile.config.in | 2 ++ src/intl/gettext/Makefile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.config.in b/Makefile.config.in index 63f4c4cf..ec9e1bab 100644 --- a/Makefile.config.in +++ b/Makefile.config.in @@ -42,6 +42,8 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ +host = @host@ + ASCIIDOC = @ASCIIDOC@ AWK = @AWK@ CATALOGS = @CATALOGS@ diff --git a/src/intl/gettext/Makefile b/src/intl/gettext/Makefile index ee96a583..e9f8abb9 100644 --- a/src/intl/gettext/Makefile +++ b/src/intl/gettext/Makefile @@ -27,7 +27,7 @@ OBJS = \ # $(builddir)/charset.alias: $(srcdir)/config.charset $(builddir)/charset.alias: $(srcdir)/config.charset - $(SHELL) $(srcdir)/config.charset '@host@' > $@.new + $(SHELL) $(srcdir)/config.charset '$(host)' > $@.new mv $@.new $@ # FIXME: Building plural.c from plural.y on the fly doesn't work