Take third argument, like fixinc.svr4.
authorRichard Stallman <rms@gnu.org>
Tue, 21 Jul 1992 17:47:35 +0000 (17:47 +0000)
committerRichard Stallman <rms@gnu.org>
Tue, 21 Jul 1992 17:47:35 +0000 (17:47 +0000)
From-SVN: r1650

gcc/fixincludes

index 8ccd05b6f7f7cfc01e3e12819b169112bafde3e5..efab8c2722499f8f6ff265e0c71af543fe8893ba 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}}