diff options
author | Bruno Haible <bruno@clisp.org> | 2001-05-11 13:45:22 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2001-05-11 13:45:22 +0000 |
commit | 7675ef98cea6bfd03a805dbc208ffe8a0a37d9d8 (patch) | |
tree | 7804e027f210a07f1c89c404dc0b41b676b205f4 /intl/Makefile.in | |
parent | 501962f9beb3b3bcf9acb7d1f05531921bdd9739 (diff) | |
download | external_gettext-7675ef98cea6bfd03a805dbc208ffe8a0a37d9d8.zip external_gettext-7675ef98cea6bfd03a805dbc208ffe8a0a37d9d8.tar.gz external_gettext-7675ef98cea6bfd03a805dbc208ffe8a0a37d9d8.tar.bz2 |
Don't install charset.alias on glibc-2.1 systems.
Diffstat (limited to 'intl/Makefile.in')
-rw-r--r-- | intl/Makefile.in | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/intl/Makefile.in b/intl/Makefile.in index 4ed0a6a..4f1812c 100644 --- a/intl/Makefile.in +++ b/intl/Makefile.in @@ -152,14 +152,21 @@ install-exec: all fi if test '@USE_INCLUDED_LIBINTL@' = yes; then \ $(mkinstalldirs) $(DESTDIR)$(libdir); \ - test -f $(DESTDIR)$(libdir)/charset.alias \ - && orig=$(DESTDIR)$(libdir)/charset.alias \ - || orig=charset.alias; \ temp=$(DESTDIR)$(libdir)/t-charset.alias; \ dest=$(DESTDIR)$(libdir)/charset.alias; \ - sed -f ref-add.sed $$orig > $$temp; \ - $(INSTALL_DATA) $$temp $$dest; \ - rm -f $$temp; \ + if test -f $(DESTDIR)$(libdir)/charset.alias; then \ + orig=$(DESTDIR)$(libdir)/charset.alias; \ + sed -f ref-add.sed $$orig > $$temp; \ + $(INSTALL_DATA) $$temp $$dest; \ + rm -f $$temp; \ + else \ + if test @GLIBC21@ = no; then \ + orig=charset.alias; \ + sed -f ref-add.sed $$orig > $$temp; \ + $(INSTALL_DATA) $$temp $$dest; \ + rm -f $$temp; \ + fi; \ + fi; \ $(mkinstalldirs) $(DESTDIR)$(localedir); \ test -f $(DESTDIR)$(localedir)/locale.alias \ && orig=$(DESTDIR)$(localedir)/locale.alias \ |