cvs server: Diffing . Index: ChangeLog =================================================================== RCS file: /cvsroot/autoconf/autoconf/ChangeLog,v retrieving revision 1.1970 diff -u -r1.1970 ChangeLog --- ChangeLog 19 Jul 2002 22:34:05 -0000 1.1970 +++ ChangeLog 21 Jul 2002 01:10:57 -0000 @@ -1,3 +1,9 @@ +2002-07-20 Mark D. Roth + + * lib/autoconf/status.m4 (_AC_SRCPATHS): Use "`/bin/pwd`" + instead of "." for $abs_srcdir and $abs_top_srcdir to avoid + problems when $PWD involves a symlink. + 2002-07-20 Kevin Ryde * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing cvs server: Diffing bin cvs server: Diffing config cvs server: Diffing doc cvs server: Diffing lib cvs server: Diffing lib/Autom4te cvs server: Diffing lib/autoconf Index: lib/autoconf/status.m4 =================================================================== RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/status.m4,v retrieving revision 1.29 diff -u -r1.29 status.m4 --- lib/autoconf/status.m4 18 Jul 2002 11:57:32 -0000 1.29 +++ lib/autoconf/status.m4 21 Jul 2002 01:11:13 -0000 @@ -164,8 +164,15 @@ # absolute. ac_abs_builddir=`cd $1 && cd $ac_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` +# Use /bin/pwd instead of "." to avoid problems when $PWD involves a +# symlink. +if test $1 = . && test -x /bin/pwd; then + ac_pwd="`/bin/pwd`"; +else + ac_pwd=$1; +fi +ac_abs_srcdir=`cd $ac_pwd && cd $ac_srcdir && pwd` +ac_abs_top_srcdir=`cd $ac_pwd && cd $ac_top_srcdir && pwd` ])# _AC_SRCPATHS cvs server: Diffing lib/autoscan cvs server: Diffing lib/autotest cvs server: Diffing lib/emacs cvs server: Diffing lib/m4sugar cvs server: Diffing m4 cvs server: Diffing man cvs server: Diffing tests cvs server: Diffing testsuite cvs server: Diffing testsuite/autoconf.g cvs server: Diffing testsuite/autoconf.s cvs server: Diffing testsuite/autoconf.torture cvs server: Diffing testsuite/config cvs server: Diffing testsuite/lib