aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1991-04-17 01:34:44 +0000
committerK. Richard Pixley <rich@cygnus>1991-04-17 01:34:44 +0000
commit2b34da49e526d710cd9bfffea09fee1ddd65217e (patch)
treed10f93d67709ce8f9582e6416a86fdbd2ea7228f /configure
parent2a525d0c6c5a1f6bd1dfe02070e6cdba5bf015fe (diff)
downloadgdb-2b34da49e526d710cd9bfffea09fee1ddd65217e.zip
gdb-2b34da49e526d710cd9bfffea09fee1ddd65217e.tar.gz
gdb-2b34da49e526d710cd9bfffea09fee1ddd65217e.tar.bz2
Added getopt for binutils, fixed problem with host dependancies in
configure.template.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure21
1 files changed, 13 insertions, 8 deletions
diff --git a/configure b/configure
index 9560d96..59f2c5d 100755
--- a/configure
+++ b/configure
@@ -175,13 +175,10 @@ fi
# script appropriate for this directory. For more information, check
# any existing configure script.
-configdirs="bfd binutils ld gas gnulib gcc clib"
+configdirs="getopt bfd binutils ld gas gnulib1 gcc clib"
srctrigger=README.configure
srcname="gnu development package"
-# per-host:
-
-
## end of common part
# are we rebuilding config itself?
@@ -209,11 +206,15 @@ if [ -n "${template}" ] ; then
exit 1
fi
- sed -e '/^# per\-target:/,$d' configure.in > configure.com
+ # split configure.in into common, per-host, and per-target parts
+ sed -e '/^# per\-host:/,$d' configure.in > configure.com
+ sed -e '1,/^# per\-host:/d' -e '/^# per\-target:/,$d' configure.in > configure.hst
sed -e '1,/^# per\-target:/d' configure.in > configure.tgt
- sed -e '/^#### configure.in common parts/ r configure.com' \
- -e '/^#### / r configure.tgt' \
+ # and insert them
+ sed -e '/^#### configure.in common part/ r configure.com' \
+ -e '/^#### configure.in per\-host part/ r configure.hst' \
+ -e '/^#### configure.in per\-target part/ r configure.tgt' \
${template} >> configure
rm -f configure.com configure.tgt configure.hst
@@ -552,7 +553,11 @@ exit 0
#
# $Log$
-# Revision 1.7 1991/04/16 00:18:22 rich
+# Revision 1.8 1991/04/17 01:34:44 rich
+# Added getopt for binutils, fixed problem with host dependancies in
+# configure.template.
+#
+# Revision 1.6 1991/04/16 00:18:44 rich
# Now handles multiple hosts and targets.
#
# Revision 1.5 1991/04/15 23:43:44 rich