Mercurial > emacs
comparison configure1.in @ 4811:4df040383e8a
No longer use vpath_sed. Instead, when we notice srcdir already
configured, set extrasub to hack vpath in the makefiles.
author | Roland McGrath <roland@gnu.org> |
---|---|
date | Sun, 03 Oct 1993 20:41:20 +0000 |
parents | 5ccfb9c1967f |
children | f29e05dc032f |
comparison
equal
deleted
inserted
replaced
4810:5ccfb9c1967f | 4811:4df040383e8a |
---|---|
388 echo " as a build directory right now; it has been configured in its own" | 388 echo " as a build directory right now; it has been configured in its own" |
389 echo " right. To configure in another directory as well, you MUST" | 389 echo " right. To configure in another directory as well, you MUST" |
390 echo " use GNU make. If you do not have GNU make, then you must" | 390 echo " use GNU make. If you do not have GNU make, then you must" |
391 echo " now do \`make distclean' in ${srcdir}," | 391 echo " now do \`make distclean' in ${srcdir}," |
392 echo " and then run ${progname} again.") >&2 | 392 echo " and then run ${progname} again.") >&2 |
393 # We need a multi-line sed script, which cannot go in a makefile. | 393 extrasub='/^VPATH[ ]*=/c\ |
394 vpath_sed='-f vpath.sed' | 394 vpath %.c $(srcdir)\ |
395 else | 395 vpath %.h $(srcdir)\ |
396 # Do the normal substitution for VPATH. This will not crash non-GNU make. | 396 vpath %.in $(srcdir)' |
397 vpath_sed=]'AC_QUOTE_SQUOTE(AC_QUOTE_SQUOTE('-e '\''s|^\(VPATH *=\).*$$|\1 ='\''"${srcdir}/${subdir}|"'))'[ | 397 fi |
398 fi | |
399 ] AC_SUBST(vpath_sed) [ | |
400 | 398 |
401 ### Make the necessary directories, if they don't exist. | 399 ### Make the necessary directories, if they don't exist. |
402 for dir in ./src ./lib-src ./cpp ./oldXMenu ./etc ; do | 400 for dir in ./src ./lib-src ./cpp ./oldXMenu ./etc ; do |
403 if [ ! -d ${dir} ]; then | 401 if [ ! -d ${dir} ]; then |
404 mkdir ${dir} | 402 mkdir ${dir} |