From 66d7ffbfd3780557722510d8bcc5bae6aba634ef Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Fri, 23 Oct 1992 07:24:42 +0000 Subject: [PATCH] (OTHER_FIXINCLUDES_DIRS): New variable, normally empty. (install-fixincludes): Run fixincludes on those dirs. From-SVN: r2567 --- gcc/Makefile.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 271ff0e..363e189 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -218,6 +218,10 @@ INSTALL_HEADERS=install-headers # Select which version of fixincludes to use (I.E. regular versus SVR4) FIXINCLUDES=fixincludes +# Additional directories of header files to run fixincludes on. +# On most systems, this is empty. +OTHER_FIXINCLUDES_DIRS= + # List of things which should already be built whenever we try to use xgcc # to compile anything (without linking). GCC_PASSES=xgcc cc1 cpp $(EXTRA_PASSES) @@ -1593,7 +1597,9 @@ install-fixincludes: install-headers done; \ rm -rf * # Install fixed copies of system files. - $(srcdir)/$(FIXINCLUDES) $(libsubdir)/include /usr/include $(srcdir) + for dir in /usr/include $(OTHER_FIXINCLUDES_DIRS); do \ + $(srcdir)/$(FIXINCLUDES) $(libsubdir)/include $(dir) $(srcdir); \ + done -cd $(libsubdir)/include; \ if [ -f limits.h ]; then \ rm -f ../tmp/syslimits.h; \ -- 2.7.4