aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure.frag
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1997-06-25 16:38:43 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1997-06-25 16:38:43 -0400
commit455cee3eb6e3b2c49196f53f84d62640d7e35f0e (patch)
tree25b878db636307f7598463c1b9f6377a919af356 /gcc/configure.frag
parentbee07132a16f911df4a082cfac8c6d8a65137063 (diff)
downloadgcc-455cee3eb6e3b2c49196f53f84d62640d7e35f0e.zip
gcc-455cee3eb6e3b2c49196f53f84d62640d7e35f0e.tar.gz
gcc-455cee3eb6e3b2c49196f53f84d62640d7e35f0e.tar.bz2
Revert to 1.1
From-SVN: r14315
Diffstat (limited to 'gcc/configure.frag')
-rw-r--r--gcc/configure.frag10
1 files changed, 3 insertions, 7 deletions
diff --git a/gcc/configure.frag b/gcc/configure.frag
index 2fda033..f8c17dd 100644
--- a/gcc/configure.frag
+++ b/gcc/configure.frag
@@ -23,13 +23,9 @@
rm -f Make-lang
touch Make-lang
-# We can either be invoked with . from configure or from Makefile.
-# Some shells can't pass arguments to source'd scripts.
-# ??? This needs some rethinking.
-
-savesrcdir=$srcdir
-savesubdirs=$subdirs
-
+# First parameter is the source directory, second is list of subdirectories
+savesrcdir=$1
+savesubdirs=$2
for subdir in . $savesubdirs
do
oldsrcdir=$savesrcdir