diff options
author | Jeff Law <law@redhat.com> | 2000-07-23 17:42:34 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 2000-07-23 17:42:34 +0000 |
commit | 20b9d598ea4d927b19843045224dcae0a08e2fe7 (patch) | |
tree | 58011fea5fdeeabe5f0df0501c7fc3923e90aeee | |
parent | 9fb628fc5720d1014192a97538ba92d33c9c36ca (diff) | |
download | cygnal-20b9d598ea4d927b19843045224dcae0a08e2fe7.tar.gz cygnal-20b9d598ea4d927b19843045224dcae0a08e2fe7.tar.bz2 cygnal-20b9d598ea4d927b19843045224dcae0a08e2fe7.zip |
* configure (topsrcdir): Don't use dirname.
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | configure | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -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. @@ -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. |