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>
1 --- gcc-4.0.0/libstdc++-v3/src/Makefile.am
2 +++ gcc-4.0.0/libstdc++-v3/src/Makefile.am
4 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LDFLAGS) -o $@
8 + $(AR) cru libstdc++_pic.a *.o $(top_builddir)/libsupc++/*.o
9 + $(INSTALL_DATA) libstdc++_pic.a $(DESTDIR)$(toolexeclibdir)
11 # Added bits to build debug library.
12 if GLIBCXX_BUILD_DEBUG
13 all-local: build_debug
14 --- gcc-4.0.0/libstdc++-v3/src/Makefile.in
15 +++ gcc-4.0.0/libstdc++-v3/src/Makefile.in
18 install-data-am: install-data-local
20 -install-exec-am: install-toolexeclibLTLIBRARIES
21 +install-exec-am: install-toolexeclibLTLIBRARIES install-exec-local
23 install-info: install-info-am
26 maintainer-clean-generic mostlyclean mostlyclean-compile \
27 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
28 tags uninstall uninstall-am uninstall-info-am \
29 - uninstall-toolexeclibLTLIBRARIES
30 + uninstall-toolexeclibLTLIBRARIES install-exec-local
32 @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@libstdc++-symbol.ver: ${glibcxx_srcdir}/$(SYMVER_MAP)
33 @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@ cp ${glibcxx_srcdir}/$(SYMVER_MAP) ./libstdc++-symbol.ver
36 (cd ${debugdir} && $(MAKE) \
37 toolexeclibdir=$(glibcxx_toolexeclibdir)/debug install)
40 + $(AR) cru libstdc++_pic.a *.o $(top_builddir)/libsupc++/*.o
41 + $(INSTALL_DATA) libstdc++_pic.a $(DESTDIR)$(toolexeclibdir)
43 # Tell versions [3.59,3.63) of GNU make to not export all variables.
44 # Otherwise a system limit (for SysV at least) may be exceeded.