Subject: bug#14561: TESTS set from patsubst result in unterminated variable reference

From: Marko Lindqvist <[email-masked]>
Date: Wed, 5 Jun 2013 22:22:20 +0300

This was found originally when trying to use automake-1.13 (including
attempt with 1.13.3) for gtk-engines-2.20.2, but I've tried to produce
minimum Makefile.am to reproduce the problem (attached).

 When variable TESTS gets assigned result from patsubst -function,
running make for resulting Makefile errors with:
Makefile:592: *** unterminated variable reference.  Stop.

 Attached testcase includes minimum configure.ac and Makefile.am and
separate ./run.sh script to produce rest of the files and to run make.

 - ML