comparison configure1.in @ 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 c3470c4abe5e
children 9a682e5f5b53
comparison
equal deleted inserted replaced
3199:8788744c0c64 3200:add7f1e21bee
331 #### Make srcdir absolute, if it isn't already. It's important to 331 #### Make srcdir absolute, if it isn't already. It's important to
332 #### avoid running the path through pwd unnecessary, since pwd can 332 #### avoid running the path through pwd unnecessary, since pwd can
333 #### give you automounter prefixes, which can go away. 333 #### give you automounter prefixes, which can go away.
334 case "${srcdir}" in 334 case "${srcdir}" in
335 /* ) ;; 335 /* ) ;;
336 . )
337 ## We may be able to use the $PWD environment variable to make this
338 ## absolute. But sometimes PWD is inaccurate.
339 if [ "${PWD}" != "" ] && [ "`(cd ${PWD} ; pwd)`" = "`pwd`" ] ; then
340 srcdir="$PWD"
341 else
342 srcdir="`(cd ${srcdir}; pwd)`"
343 ;;
336 * ) srcdir="`(cd ${srcdir}; pwd)`" ;; 344 * ) srcdir="`(cd ${srcdir}; pwd)`" ;;
337 esac 345 esac
338 346
339 347
340 ### Make the necessary directories, if they don't exist. 348 ### Make the necessary directories, if they don't exist.
1111 #### Report on what we decided to do. 1119 #### Report on what we decided to do.
1112 echo " 1120 echo "
1113 1121
1114 Configured for \`${configuration}'. 1122 Configured for \`${configuration}'.
1115 1123
1124 Where should the build process find the source code? ${srcdir}
1116 What operating system and machine description files should Emacs use? 1125 What operating system and machine description files should Emacs use?
1117 \`${opsysfile}' and \`${machfile}' 1126 \`${opsysfile}' and \`${machfile}'
1118 What compiler should emacs be built with? ${CC} ${CFLAGS} 1127 What compiler should emacs be built with? ${CC} ${CFLAGS}
1119 Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason} 1128 Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason}
1120 Should Emacs use the relocating allocator for buffers? ${REL_ALLOC} 1129 Should Emacs use the relocating allocator for buffers? ${REL_ALLOC}