summaryrefslogtreecommitdiffstats
path: root/intl/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'intl/Makefile.in')
-rw-r--r--intl/Makefile.in19
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 \