* lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty

ac_top_builddir when setting ac_abs_top_builddir.
This commit is contained in:
Andreas Schwab 2002-04-09 11:15:32 +00:00
parent 6e51274002
commit c3e5a58406
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View 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