[patch] to gcc-2.95.3 top level: backport 4.3BSD fix
Michael Sokolov
msokolov@ivan.Harhan.ORG
Wed Dec 13 19:23:00 GMT 2000
Hi there,
Last July I've made the following change to the gcc top-level configure:
: 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
:
: * configure (topsrcdir): Don't use dirname.
to make it work on 4.3BSD which doesn't have dirname. Bernd, could you please
include this in 2.95.3? The patch against gcc-2_95-branch is below.
--
Michael Sokolov Harhan Engineering Laboratory
Public Service Agent International Free Computing Task Force
International Engineering and Science Task Force
615 N GOOD LATIMER EXPY STE #4
DALLAS TX 75204-5852 USA
Phone: +1-214-824-7693 (Harhan Eng Lab office)
E-mail: msokolov@ivan.Harhan.ORG (ARPA TCP/SMTP) (UUCP coming soon)
Wed Dec 13 19:17:33 PST 2000 Michael Sokolov <msokolov@ivan.Harhan.ORG>
from HEAD 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* configure (topsrcdir): Don't use dirname.
Index: configure
===================================================================
RCS file: /cvs/gcc/egcs/configure,v
retrieving revision 1.23
diff -p -r1.23 configure
*** configure 1999/04/02 14:17:40 1.23
--- configure 2000/12/14 03:19:37
*************** fi
*** 518,524 ****
configsub=`echo ${progname} | sed 's/configure$/config.sub/'`
moveifchange=`echo ${progname} | sed 's/configure$/move-if-change/'`
! topsrcdir=`cd \`dirname ${progname}\`; pwd`
# this is a hack. sun4 must always be a valid host alias or this will fail.
--- 518,525 ----
configsub=`echo ${progname} | sed 's/configure$/config.sub/'`
moveifchange=`echo ${progname} | sed 's/configure$/move-if-change/'`
! ## the sed command below emulates the dirname command
! topsrcdir=`cd \`echo ${progname} | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'\`; pwd`
# this is a hack. sun4 must always be a valid host alias or this will fail.
More information about the Gcc-patches
mailing list