Allow multi-word "install" command.
Autoconf can determine that the correct install command includes flags,
e.g., "/usr/bin/install -c". When using this as a command, we can't
enclose the value in double-quotes, as that makes some shells use the
whole expression as a filename:
# this is the value returned by autoconf and stored in CT_install
$ ins="/usr/bin/install -c"
# if we call it with quotes, the command is not found
$ "${ins}"
bash: /usr/bin/install -c: No such file or directory
# removing the quotes lets it work as expected
$ ${ins}
/usr/bin/install: missing file operand
Try `/usr/bin/install --help' for more information.
Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
2 http://landley.net/hg/aboriginal/file/7e0747a665ab/sources/patches/gcc-core-libgcceh.patch
4 diff -durN gcc-4.4.0.orig/libgcc/Makefile.in gcc-4.4.0/libgcc/Makefile.in
5 --- gcc-4.4.0.orig/libgcc/Makefile.in 2009-04-10 01:23:07.000000000 +0200
6 +++ gcc-4.4.0/libgcc/Makefile.in 2011-09-12 17:05:25.121124559 +0200
8 libgcc_s$(SHLIB_EXT): libunwind$(SHLIB_EXT)
12 ifeq ($(enable_shared),yes)
13 -all: libgcc_eh.a libgcc_s$(SHLIB_EXT)
14 +all: libgcc_s$(SHLIB_EXT)
16 all: libunwind$(SHLIB_EXT)
20 $(mkinstalldirs) $(DESTDIR)$(inst_libdir)
22 - $(INSTALL_DATA) libgcc_eh.a $(DESTDIR)$(inst_libdir)/
23 - chmod 644 $(DESTDIR)$(inst_libdir)/libgcc_eh.a
24 - $(RANLIB) $(DESTDIR)$(inst_libdir)/libgcc_eh.a
26 $(subst @multilib_dir@,$(MULTIDIR),$(subst \
27 @shlib_base_name@,libgcc_s,$(subst \
28 @shlib_slibdir_qual@,$(MULTIOSSUBDIR),$(SHLIB_INSTALL))))
30 chmod 644 $(DESTDIR)$(inst_libdir)/libgcov.a
31 $(RANLIB) $(DESTDIR)$(inst_libdir)/libgcov.a
33 + $(INSTALL_DATA) libgcc_eh.a $(DESTDIR)$(inst_libdir)/
34 + chmod 644 $(DESTDIR)$(inst_libdir)/libgcc_eh.a
35 + $(RANLIB) $(DESTDIR)$(inst_libdir)/libgcc_eh.a
37 parts="$(INSTALL_PARTS)"; \
38 for file in $$parts; do \
39 rm -f $(DESTDIR)$(inst_libdir)/$$file; \