aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1995-10-13 20:11:35 +0000
committerMichael Meissner <gnu@the-meissners.org>1995-10-13 20:11:35 +0000
commit4444ae6e3dc487607b6b9f897e4de87101c34cdd (patch)
tree97e6dbc25967d45451ca2b98a092b127a8ccf5e1
parentb1e463692cc1cd41305c8c2a109832a70bccf5c2 (diff)
downloadgdb-4444ae6e3dc487607b6b9f897e4de87101c34cdd.zip
gdb-4444ae6e3dc487607b6b9f897e4de87101c34cdd.tar.gz
gdb-4444ae6e3dc487607b6b9f897e4de87101c34cdd.tar.bz2
Do not give error message if dlltool was not built
-rw-r--r--binutils/Makefile.in12
1 files changed, 7 insertions, 5 deletions
diff --git a/binutils/Makefile.in b/binutils/Makefile.in
index c988952..b14b78d 100644
--- a/binutils/Makefile.in
+++ b/binutils/Makefile.in
@@ -576,11 +576,13 @@ install: all $(DEMANGLER_PROG).1
-if [ -d $(tooldir) ]; then \
if [ -d $(tooldir)/bin ]; then true; else mkdir $(tooldir)/bin; fi; \
for i in $(TOOL_PROGS) ; do \
- j=`echo $$i | sed -e 's/.new//'`; \
- rm -f $(tooldir)/bin/$$j; \
- k=`echo $$j | sed '$(program_transform_name)'`; \
- ln $(bindir)/$$k $(tooldir)/bin/$$j >/dev/null 2>/dev/null \
- || $(INSTALL_PROGRAM) $$i $(tooldir)/bin/$$j; \
+ if [ -f $i ]; then \
+ j=`echo $$i | sed -e 's/.new//'`; \
+ rm -f $(tooldir)/bin/$$j; \
+ k=`echo $$j | sed '$(program_transform_name)'`; \
+ ln $(bindir)/$$k $(tooldir)/bin/$$j >/dev/null 2>/dev/null \
+ || $(INSTALL_PROGRAM) $$i $(tooldir)/bin/$$j; \
+ fi; \
done; \
else true; fi