1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-23 10:34:07 +00:00

* 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.
This commit is contained in:
Jim Blandy 1993-05-28 04:52:55 +00:00
parent a0e671c75f
commit c9ed10f6f5

View File

@ -333,6 +333,14 @@ esac
#### 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 @@ echo "
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}