am.vpath.rewrite = \
$(firstword $(wildcard $(strip $(1))) $(srcdir)/$(strip $(1)))
-## We used to define this. However, we don't because vendor makes
-## (e.g., Solaris, Irix) won't correctly propagate variables that are
-## defined in Makefile. This particular variable can't be correctly
-## defined by configure (at least, not the current configure), so we
-## simply avoid defining it to allow the user to use this feature with
-## a vendor make.
-## DESTDIR =
+# make this overridable from the environment, for better compatibility
+# with mainline Automake.
+DESTDIR ?=
## Tell whether make is running in "dry mode". It is either 'true' or
## 'false', so that it can be easily used in shell code as well as in