Hi Stefano, these patches add back support for obsolete dist-* options, by parsing the AUTOMAKE_OPTIONS variable and distilling AM_DIST_FORMATS out of it.
The first two patches are required for this. They provide a merger of configure.ac and Makefile.am options in the Makefile.in's AUTOMAKE_OPTIONS. They could be suited for Automake mainline too, though the use case is specific to Automake-NG. Paolo Bonzini (3): var: add VAR_COMPUTED source var: format all options in the Makefile.in output dist: add back support for obsolete dist-* options NG-NEWS | 2 +- automake.in | 2 ++ lib/Automake/Options.pm | 50 +++++++++++++++++++++++++++++++++----- lib/Automake/VarDef.pm | 18 +++++++++----- lib/Automake/Variable.pm | 12 ++++++++- lib/am/distcheck.mk | 4 ++- t/dist-obsolete-opts.sh | 24 +++++++++++------- t/option-out.sh | 63 ++++++++++++++++++++++++++++++++++++++++++++++++ 8 file modificati, 151 inserzioni(+), 24 rimozioni(-) create mode 100755 t/option-out.sh -- 1.7.11.2
