* configure (topsrcdir): Don't use dirname.
authorJeff Law <law@redhat.com>
Sun, 23 Jul 2000 17:42:34 +0000 (17:42 +0000)
committerJeff Law <law@redhat.com>
Sun, 23 Jul 2000 17:42:34 +0000 (17:42 +0000)
ChangeLog
configure

index 080ed2d2d270fab2604473735176d4fcfe669a36..0e57d7fbefe922dccdd327999827436218f87b94 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 5bb72227d9f2717d2857ec976ff74da795ea0114..dfc176263cfed1e44f9529701c4e8844ef4a7004 100755 (executable)
--- a/configure
+++ b/configure
@@ -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.
This page took 0.029417 seconds and 4 git commands to generate.