Take third argument, like fixinc.svr4.
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Jul 1992 17:47:35 +0000 (17:47 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Jul 1992 17:47:35 +0000 (17:47 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1650 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/fixincludes

index 8ccd05b..efab8c2 100755 (executable)
@@ -5,6 +5,11 @@
 
 # See README-fixinc for more information.
 
+# Directory where gcc sources (and sometimes special include files) live.
+# fixincludes doesn't use this, but fixinc.svr4 does, and I want to make
+# sure somebody doesn't try to use arg3 for something incompatible. -- gumby
+SRCDIR=${3-${SRCDIR-.}}
+
 # Directory containing the original header files.
 # (This was named INCLUDES, but that conflicts with a name in Makefile.in.)
 INPUT=${2-${INPUT-/usr/include}}