From 9eec643d3658e78737ec8078ce5d0726a19dbe37 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Wed, 30 Apr 2008 16:43:08 +0000 Subject: [PATCH] Makefile.am (install-headers): Cope with empty parallel_headers. libstdc++-v3/ * include/Makefile.am (install-headers): Cope with empty parallel_headers. * include/Makefile.in: Regenerate. From-SVN: r134829 --- libstdc++-v3/ChangeLog | 6 ++++++ libstdc++-v3/include/Makefile.am | 6 ++++-- libstdc++-v3/include/Makefile.in | 6 ++++-- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 9430c9cf941..47a50e201aa 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2008-04-30 Ralf Wildenhues + + * include/Makefile.am (install-headers): Cope with empty + parallel_headers. + * include/Makefile.in: Regenerate. + 2008-04-29 Benjamin Kosnik * include/bits/c++config: Remove space between '#' and 'undef' for diff --git a/libstdc++-v3/include/Makefile.am b/libstdc++-v3/include/Makefile.am index 22ac39c436b..a867f009c3a 100644 --- a/libstdc++-v3/include/Makefile.am +++ b/libstdc++-v3/include/Makefile.am @@ -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} \ diff --git a/libstdc++-v3/include/Makefile.in b/libstdc++-v3/include/Makefile.in index 61fa83ec812..f2ab8fa2046 100644 --- a/libstdc++-v3/include/Makefile.in +++ b/libstdc++-v3/include/Makefile.in @@ -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} \ -- 2.30.2