behalf of romain.geissler@gmail.com. Fix plugin file installation

From-SVN: r176741
This commit is contained in:
Romain Geissler 2011-07-25 11:15:12 +00:00 committed by Christian Bruel
parent 264b47b0b9
commit 1baae426f9
4 changed files with 16 additions and 4 deletions

View file

@ -1,3 +1,11 @@
2011-07-22 Romain Geissler <romain.geissler@gmail.com>
PR plugins/45348
PR plugins/48425
PR plugins/46577
* Makefile.in: Do not flatten c-family directory when installing
plugin headers.
2011-07-25 Eric Botcazou <ebotcazou@adacore.com>
* ipa-inline.c (can_inline_edge_p): Look into DECL_STRUCT_FUNCTION of

View file

@ -4602,8 +4602,8 @@ s-header-vars: Makefile
# Install the headers needed to build a plugin.
install-plugin: installdirs lang.install-plugin s-header-vars
# We keep the directory structure for files in config and .def files. All
# other files are flattened to a single directory.
# We keep the directory structure for files in config or c-family and .def
# files. All other files are flattened to a single directory.
$(mkinstalldirs) $(DESTDIR)$(plugin_includedir)
headers=`echo $(PLUGIN_HEADERS) | tr ' ' '\012' | sort -u`; \
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`; \
@ -4615,7 +4615,7 @@ install-plugin: installdirs lang.install-plugin s-header-vars
else continue; \
fi; \
case $$path in \
"$(srcdir)"/config/* | "$(srcdir)"/*.def ) \
"$(srcdir)"/config/* | "$(srcdir)"/c-family/* | "$(srcdir)"/*.def ) \
base=`echo "$$path" | sed -e "s|$$srcdirstrip/||"`;; \
*) base=`basename $$path` ;; \
esac; \

View file

@ -1,3 +1,7 @@
2011-07-25 Romain Geissler <romain.geissler@gmail.com>
* c-pretty-print.h: Search c-common.h in c-family.
2011-07-22 Jason Merrill <jason@redhat.com>
PR c++/49793

View file

@ -23,7 +23,7 @@ along with GCC; see the file COPYING3. If not see
#define GCC_C_PRETTY_PRINTER
#include "tree.h"
#include "c-common.h"
#include "c-family/c-common.h"
#include "pretty-print.h"