# HG changeset patch # User Jim Blandy # Date 738564775 0 # Node ID add7f1e21beebfffb7466744c2a5e3f14300cdc6 # Parent 8788744c0c64a33133dbbabdfecce1e30fce9796 * configure.in: If srcdir is '.', then try using PWD to make it absolute. * configure.in: Include ${srcdir} in the printed report, to help people notice if it's an automounter path. diff -r 8788744c0c64 -r add7f1e21bee configure1.in --- a/configure1.in Fri May 28 04:47:23 1993 +0000 +++ b/configure1.in Fri May 28 04:52:55 1993 +0000 @@ -333,6 +333,14 @@ #### give you automounter prefixes, which can go away. case "${srcdir}" in /* ) ;; + . ) + ## We may be able to use the $PWD environment variable to make this + ## absolute. But sometimes PWD is inaccurate. + if [ "${PWD}" != "" ] && [ "`(cd ${PWD} ; pwd)`" = "`pwd`" ] ; then + srcdir="$PWD" + else + srcdir="`(cd ${srcdir}; pwd)`" + ;; * ) srcdir="`(cd ${srcdir}; pwd)`" ;; esac @@ -1113,6 +1121,7 @@ Configured for \`${configuration}'. + Where should the build process find the source code? ${srcdir} What operating system and machine description files should Emacs use? \`${opsysfile}' and \`${machfile}' What compiler should emacs be built with? ${CC} ${CFLAGS}