]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
authorAndreas Schwab <schwab@suse.de>
Tue, 9 Apr 2002 11:15:32 +0000 (11:15 +0000)
committerAndreas Schwab <schwab@suse.de>
Tue, 9 Apr 2002 11:15:32 +0000 (11:15 +0000)
ac_top_builddir when setting ac_abs_top_builddir.

ChangeLog
lib/autoconf/status.m4

index aa7be07ff1449fb159ed187532b4f4a75a666175..45ccd1e3f013b2660c6c313ab8deb2b064867e17 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-04-09  Andreas Schwab  <schwab@suse.de>
+
+       * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
+       ac_top_builddir when setting ac_abs_top_builddir.
+
 2002-04-06  Kevin Ryde  <user42@zip.com.au>
 
        * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
index e518993772f2a0a4175e897b8cf4343907cb244a..f7bc740cb1797fc8f3d1bebd9b539ccd26931d5b 100644 (file)
@@ -163,7 +163,7 @@ esac
 # Don't blindly perform a `cd $1/$ac_foo && pwd` since $ac_foo can be
 # absolute.
 ac_abs_builddir=`cd $1 && cd $ac_builddir && pwd`
-ac_abs_top_builddir=`cd $1 && cd $ac_top_builddir && pwd`
+ac_abs_top_builddir=`cd $1 && cd ${ac_top_builddir}. && pwd`
 ac_abs_srcdir=`cd $1 && cd $ac_srcdir && pwd`
 ac_abs_top_srcdir=`cd $1 && cd $ac_top_srcdir && pwd`
 ])# _AC_SRCPATHS