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

From-SVN: r35207
This commit is contained in:
Michael Sokolov 2000-07-23 17:41:56 +00:00 committed by Jeff Law
parent 4eeaee5d07
commit 1adcd14938
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* configure (topsrcdir): Don't use dirname.
2000-07-22 Jeffrey Oldham <oldham@codesourcery.com>
* MAINTAINERS: Add self to Write After Approval list.

5
configure vendored
View File

@ -86,7 +86,7 @@ subdirs=
target_alias=NOTARGET
target_makefile_frag=
undefs=NOUNDEFS
version="$Revision: 1.24 $"
version="$Revision: 1.26 $"
x11=default
bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin'
@ -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.