* maint:
python: avoid failures due to $(am__py_compile) being undefined
python: expose automake bug#10995
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
python10.test \
python11.test \
python12.test \
+python-dist.test \
+python-vars.test \
+python-virtualenv.test \
+ python-pr10995.test \
recurs.test \
recurs2.test \
remake.test \
my_PYTHON = d.py
END
+ # For automake bug#10995.
+ cat > Makefile3.am << 'END'
+ noinst_PYTHON = un.py
+ python_PYTHON = in.py
+ END
+
$ACLOCAL
-$AUTOMAKE -a
+AUTOMAKE_fails
+grep '^Makefile\.am:1:.* required file.*py-compile' stderr
+
+$AUTOMAKE -a
+grep '^py_compile *=' Makefile.in
test -f py-compile
$AUTOMAKE Makefile2