Hi folks,
Would it be possible to rely upon $(VPATH) in depend2.am?
Instead of
`test -f '%SOURCE%' || echo '$(srcdir)/'`%SOURCE%
something like this could work, too (not verified yet):
`test -f '%SOURCE%' || (VPATH=$(VPATH); test "$$VPATH" ||
VPATH=$(srcdir); for i in \`IFS=:; set $$VPATH; unset IFS; echo "$$@"\`; do
test -f $$i/'%SOURCE%' && echo $$i/ && break; done)`'%SOURCE%'
This would be a big improvement for supporting dependencies.
Currently I have to configure using --disable-dependency-tracking
to make VPATH work.
Regards
Harri