diff options
| author | Roland McGrath | 1993-10-03 20:41:20 +0000 |
|---|---|---|
| committer | Roland McGrath | 1993-10-03 20:41:20 +0000 |
| commit | 916758115d339961315d4a298fee2bd72d6c851e (patch) | |
| tree | 3178fbcf9e856c77c1bdca285707dd4d34317a20 | |
| parent | ca40a313268e6daf596c2f3e3d344470dbb47866 (diff) | |
| download | emacs-916758115d339961315d4a298fee2bd72d6c851e.tar.gz emacs-916758115d339961315d4a298fee2bd72d6c851e.zip | |
No longer use vpath_sed. Instead, when we notice srcdir already
configured, set extrasub to hack vpath in the makefiles.
| -rwxr-xr-x | configure1.in | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/configure1.in b/configure1.in index 5218a22efa9..cca580ee366 100755 --- a/configure1.in +++ b/configure1.in | |||
| @@ -390,13 +390,11 @@ if [ `pwd` != `(cd ${srcdir} && pwd)` ] \ | |||
| 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}|"'))'[ | ||
| 398 | fi | 397 | 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 |