Skip to content

Commit

Permalink
* configure (topsrcdir): Don't use dirname.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35207 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
law committed Jul 23, 2000
1 parent a1824e2 commit 2dce220
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
5 changes: 3 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 2dce220

Please sign in to comment.