aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-07-21 17:47:35 +0000
committerRichard Stallman <rms@gnu.org>1992-07-21 17:47:35 +0000
commitb7b62369787d2223b2c50b1ee882393d0f0b55fe (patch)
tree4692fbd116a06408fef9a2340ef4ac857feec834 /gcc
parent9b73b79eafc9470707c1d68d0c6fd500ce929c0d (diff)
downloadgcc-b7b62369787d2223b2c50b1ee882393d0f0b55fe.zip
gcc-b7b62369787d2223b2c50b1ee882393d0f0b55fe.tar.gz
gcc-b7b62369787d2223b2c50b1ee882393d0f0b55fe.tar.bz2
Take third argument, like fixinc.svr4.
From-SVN: r1650
Diffstat (limited to 'gcc')
-rwxr-xr-xgcc/fixincludes5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/fixincludes b/gcc/fixincludes
index 8ccd05b..efab8c2 100755
--- a/gcc/fixincludes
+++ b/gcc/fixincludes
@@ -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}}