# HG changeset patch # User Jim Blandy # Date 738339330 0 # Node ID 572c8024d8318bb493f766e328cea31b6bb04561 # Parent 8bba60752a32f577106d121a839825c8eada8a24 * configure.in: When looking for source in the same directory as the configure script, make the path thus discovered absolute. If the user specifies the `--srcdir' switch, make that directory absolute too. diff -r 8bba60752a32 -r 572c8024d831 configure1.in --- a/configure1.in Tue May 25 14:04:41 1993 +0000 +++ b/configure1.in Tue May 25 14:15:30 1993 +0000 @@ -286,7 +286,7 @@ "" ) confdir=`echo $0 | sed 's|//|/|' | sed 's|/[^/]*$||'` if [ -f $confdir/src/lisp.h -a -f $confdir/lisp/version.el ]; then - srcdir=$confdir + srcdir=`(cd $confdir ; pwd)` else if [ -f "./src/lisp.h" -a -f "./lisp/version.el" ]; then srcdir=`pwd` @@ -309,6 +309,7 @@ ## Otherwise, check if the directory they specified is okay. * ) + srcdir=`(cd ${srcdir}; pwd)` if [ ! -d "${srcdir}" -o ! -f "${srcdir}/src/lisp.h" -o ! -f "${srcdir}/lisp/version.el" ]; then (echo "\ ${progname}: The directory specified with the \`--srcdir' option,