From: Roland McGrath Date: Sun, 3 Oct 1993 20:41:20 +0000 (+0000) Subject: No longer use vpath_sed. Instead, when we notice srcdir already X-Git-Tag: emacs-19.34~11040 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=916758115d339961315d4a298fee2bd72d6c851e;p=emacs.git No longer use vpath_sed. Instead, when we notice srcdir already configured, set extrasub to hack vpath in the makefiles. --- 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)` ] \ echo " use GNU make. If you do not have GNU make, then you must" echo " now do \`make distclean' in ${srcdir}," echo " and then run ${progname} again.") >&2 - # We need a multi-line sed script, which cannot go in a makefile. - vpath_sed='-f vpath.sed' -else - # Do the normal substitution for VPATH. This will not crash non-GNU make. - vpath_sed=]'AC_QUOTE_SQUOTE(AC_QUOTE_SQUOTE('-e '\''s|^\(VPATH *=\).*$$|\1 ='\''"${srcdir}/${subdir}|"'))'[ + extrasub='/^VPATH[ ]*=/c\ +vpath %.c $(srcdir)\ +vpath %.h $(srcdir)\ +vpath %.in $(srcdir)' fi -] AC_SUBST(vpath_sed) [ ### Make the necessary directories, if they don't exist. for dir in ./src ./lib-src ./cpp ./oldXMenu ./etc ; do