diff options
author | K. Richard Pixley <rich@cygnus> | 1991-04-17 01:41:32 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1991-04-17 01:41:32 +0000 |
commit | 04dc1a624658fec9497b26b86058d040b743ff44 (patch) | |
tree | c43a078b301d78e0489b54f6e80b935629ce335c /binutils/configure | |
parent | 2b34da49e526d710cd9bfffea09fee1ddd65217e (diff) | |
download | gdb-04dc1a624658fec9497b26b86058d040b743ff44.zip gdb-04dc1a624658fec9497b26b86058d040b743ff44.tar.gz gdb-04dc1a624658fec9497b26b86058d040b743ff44.tar.bz2 |
Fixed a problem with host dependent parts.
Diffstat (limited to 'binutils/configure')
-rwxr-xr-x | binutils/configure | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/binutils/configure b/binutils/configure index 8fddeaa..21a2347 100755 --- a/binutils/configure +++ b/binutils/configure @@ -178,12 +178,6 @@ fi srctrigger=ar.c srcname="binutils" -# per-host: - - -files= -links= - ## end of common part # are we rebuilding config itself? @@ -211,11 +205,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 @@ -268,9 +266,6 @@ for host in ${hosts} ; do #### configure.in per-host parts come in here. -files= -links= - ## end of per-target part @@ -560,7 +555,10 @@ exit 0 # # $Log$ -# Revision 1.6 1991/04/16 00:04:50 rich +# Revision 1.7 1991/04/17 01:41:03 rich +# Fixed a problem with host dependent parts. +# +# 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 |