From c3e5a58406a375e3d8fb0d85190121cd037cd201 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 9 Apr 2002 11:15:32 +0000 Subject: [PATCH] * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty ac_top_builddir when setting ac_abs_top_builddir. --- ChangeLog | 5 +++++ lib/autoconf/status.m4 | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index aa7be07f..45ccd1e3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-04-09 Andreas Schwab + + * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty + ac_top_builddir when setting ac_abs_top_builddir. + 2002-04-06 Kevin Ryde * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs. diff --git a/lib/autoconf/status.m4 b/lib/autoconf/status.m4 index e5189937..f7bc740c 100644 --- a/lib/autoconf/status.m4 +++ b/lib/autoconf/status.m4 @@ -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