changeset 3200:add7f1e21bee

* 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.
author Jim Blandy <jimb@redhat.com>
date Fri, 28 May 1993 04:52:55 +0000
parents 8788744c0c64
children 6ae7487f1a3d
files configure1.in
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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}