Makefile.am (install-headers): Cope with empty parallel_headers.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 30 Apr 2008 16:43:08 +0000 (16:43 +0000)
committerRalf Wildenhues <rwild@gcc.gnu.org>
Wed, 30 Apr 2008 16:43:08 +0000 (16:43 +0000)
libstdc++-v3/
* include/Makefile.am (install-headers): Cope with empty
parallel_headers.
* include/Makefile.in: Regenerate.

From-SVN: r134829

libstdc++-v3/ChangeLog
libstdc++-v3/include/Makefile.am
libstdc++-v3/include/Makefile.in

index 9430c9cf941832413b2454fc6ddc50fcf63f3eb6..47a50e201aa1a8a86fc81edc9d80445cb0a2572d 100644 (file)
@@ -1,3 +1,9 @@
+2008-04-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * include/Makefile.am (install-headers): Cope with empty
+       parallel_headers.
+       * include/Makefile.in: Regenerate.
+
 2008-04-29  Benjamin Kosnik  <bkoz@redhat.com>
 
        * include/bits/c++config: Remove space between '#' and 'undef' for
index 22ac39c436b0c14e34ecf6b4ab1bd4274b411326..a867f009c3a43fea44af8aa286c42d8cd46b50ff 100644 (file)
@@ -1196,8 +1196,10 @@ install-headers:
        $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${debug_builddir}
        for file in ${debug_headers}; do \
          $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${debug_builddir}; done
-       $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${parallel_builddir}
-       for file in ${parallel_headers}; do \
+       parallel_headers_install='${parallel_headers}';\
+       test -z "$$parallel_headers_install" || \
+         $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${parallel_builddir};\
+       for file in $$parallel_headers_install; do \
          $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${parallel_builddir}; done
        $(mkinstalldirs) $(DESTDIR)${host_installdir}
        for file in ${host_headers} ${host_headers_extra} \
index 61fa83ec81228e183fd5414c0f214f73cdbd4252..f2ab8fa2046044f9475da7f15db80ace9381fd78 100644 (file)
@@ -1584,8 +1584,10 @@ install-headers:
        $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${debug_builddir}
        for file in ${debug_headers}; do \
          $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${debug_builddir}; done
-       $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${parallel_builddir}
-       for file in ${parallel_headers}; do \
+       parallel_headers_install='${parallel_headers}';\
+       test -z "$$parallel_headers_install" || \
+         $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${parallel_builddir};\
+       for file in $$parallel_headers_install; do \
          $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${parallel_builddir}; done
        $(mkinstalldirs) $(DESTDIR)${host_installdir}
        for file in ${host_headers} ${host_headers_extra} \