* configure (topsrcdir): Don't use dirname.

This commit is contained in:
Jeff Law 2000-07-23 17:42:34 +00:00
parent 7d3ffcaf85
commit 25c6c11268
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* configure (topsrcdir): Don't use dirname.
2000-07-20 Jason Merrill <jason@redhat.com>
* configure.in: Remove all references to libg++ and librx.

3
configure vendored
View file

@ -518,7 +518,8 @@ fi
configsub=`echo ${progname} | sed 's/configure$/config.sub/'`
moveifchange=`echo ${progname} | sed 's/configure$/move-if-change/'`
topsrcdir=`cd \`dirname ${progname}\`; pwd`
## 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.