# HG changeset patch # User Roland McGrath # Date 749680880 0 # Node ID 4df040383e8a7d607774df6be8f889a61e7a6eb3 # Parent 5ccfb9c1967f8e42f907b4c4fd7e071a328ba2ea No longer use vpath_sed. Instead, when we notice srcdir already configured, set extrasub to hack vpath in the makefiles. diff -r 5ccfb9c1967f -r 4df040383e8a configure1.in --- a/configure1.in Sun Oct 03 19:57:50 1993 +0000 +++ b/configure1.in Sun Oct 03 20:41:20 1993 +0000 @@ -390,13 +390,11 @@ 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