From 916758115d339961315d4a298fee2bd72d6c851e Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 3 Oct 1993 20:41:20 +0000 Subject: [PATCH] No longer use vpath_sed. Instead, when we notice srcdir already configured, set extrasub to hack vpath in the makefiles. --- configure1.in | 10 ++++------ 1 file 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)` ] \ 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 -- 2.39.5