From: Ralf Wildenhues Date: Sun, 19 Apr 2009 06:09:13 +0000 (+0200) Subject: Merge branch 'mh-vala-support' into next X-Git-Tag: v1.11~32^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad9df85096b88b2a75c8d1e004a5a896f2dd9125;p=thirdparty%2Fautomake.git Merge branch 'mh-vala-support' into next * mh-vala-support: More minor fixups to vala support. Improve Vala support. Minor fixups for Vala support. Support Vala in non-recursive builds; more tests and fixes. Initial support for the vala programming language. --- ad9df85096b88b2a75c8d1e004a5a896f2dd9125 diff --cc ChangeLog index 8dae4dba4,3fde2b666..99dd57fd4 --- a/ChangeLog +++ b/ChangeLog @@@ -1,213 -1,71 +1,281 @@@ + 2009-04-19 Ralf Wildenhues + + More minor fixups to vala support. + * automake.in (lang_vala_finish_target): Fix typo in comment. + * doc/automake.texi (Vala Support): Fix typo. Declare vala + support as "initial". + * NEWS: Likewise, declare vala support as "initial". + + 2009-04-05 Jürg Billeter + + Improve Vala support. + * automake.in: Update to Vala 0.7.0 semantics, recover from removal + of built sources, support silent-rules, drop _PKGNAME variables + * doc/automake.texi, NEWS: Update. + * lib/am/vala.am: Bump copyright years. + * m4/vala.m4: Likewise. + * tests/vala.test: Remove obsolete grep tests. + * tests/vala1.test: Likewise. + * tests/vala2.test: Test full build, distcheck, and distclean. + * tests/vala3.test: Likewise, also test with subdir-objects. + * tests/vala4.test: Bump copyright years. + * tests/vala5.test: New test for per-target flags, expected to fail. + * tests/Makefile.am: Update. + * THANKS: Update. + + 2008-10-10 Ralf Wildenhues + + Minor fixups for Vala support. + * automake.in: $(VALAFLAGS) comes after $(AM_VALAFLAGS). + * doc/automake.texi (Vala Support): Add some references, + document AM_VALAFLAGS, streamline a bit. + * lib/am/vala.am: Copyright blurb. + * m4/vala.m4 (AM_PROG_VALAC): Rewrite using AS_VERSION_COMPARE. + * tests/vala.test: Fix minor nits. + * tests/vala1.test: Likewise. + * tests/vala2.test: Likewise. + * tests/vala3.test: Likewise. + * tests/vala4.test: New test, for version argument of + AM_PROG_VALAC. + * tests/Makefile.am: Update. + + 2008-10-09 Mathias Hasselmann + + * automake.in: Support Vala in non-recursive builds. Make sure + foo_VALAFLAGS really use used. Inject --library switch when building + Vala libraries. + * doc/automake.texi, NEWS: Document Vala support. + * m4/vala.m4: Rename AC_PROG_VALAC to AM_PROG_VALAC. + * tests/Makefile.am: Additional Vala tests. + * tests/vala.test: Also test VALAFLAGS support. + * tests/vala1.test: Test non-recursive Vala support. + * tests/vala2.test: Test _PKGNAME variables. + * tests/vala3.test: Test compiling of C code generated by Vala. + + 2008-10-09 Mathias Hasselmann + + Initial support for the vala programming language. + * automake.in: Add %known_libraries, lang_vala_rewrite, + lang_vala_finish and lang_vala_target_hook to support the Vala + programming language. Register Vala language hooks. + * lib/am/vala.am: Empty rules file to prevent creation of depend2 + based rules for Vala code. + * lib/am/Makefile.am (dist_am_DATA): Add vala.am. + * m4/vala.m4: Provide AC_PROG_VALAC for detecting the Vala compiler. + * m4/Makefile.am (dist_m4data_DATA): Add vala.m4. + * tests/vala.test: Test Vala support. + * tests/Makefile.am: Update. + +2009-04-14 Ralf Wildenhues + + testsuite: do not fail on systems without read permissions. + * tests/instfail-info.test: Do not use the `non-root' + requirement for testing whether files may be made unreadable; + instead use `test -r' and skip the test if that still works. + * tests/instfail-java.test: Likewise. + * tests/instfail-libtool.test: Likewise. + * tests/instfail.test: Likewise. + * tests/instmany-mans.test: Likewise. + * tests/instmany-python.test: Likewise. + * tests/instmany.test: Likewise. + * tests/parallel-tests9.test: Likewise. + + testsuite: parallel make fixes. + This patch fixes a couple of testsuite bugs exposed with + `MAKE=make\ -jN make check'. + * tests/libtoo10.test: Do not run `clean' in same $MAKE + invocation as `all check'. Fixes test failure with parallel + NetBSD `make -jN'. + * tests/nobase.test: Be sure to create a directory before + creating files in it. Fixes test failure with MAKE=`make -jN' + for NetBSD make. This issue is hidden with parallel GNU make + due to its parallel breadth first update order. + * tests/parallel-tests3.test: Skip if $MAKE contains `-j', + GNU make will use the environment variable $MAKE for recursion + and thus run in parallel even if `$MAKE -j1' was used on the + command line in the test. Also, after running the test proper, + wait long enough so that background jobs have finished and there + are no open files left when the cleanup code runs. + +2009-04-13 Ralf Wildenhues + + silent-rules reorganization, --enable-silent-rules switch. + This patch introduces a configure-time option to set the default + verbosity. Since configure now needs to know whether the + `silent-rules' automake option was set, the latter can only be + set within AM_INIT_AUTOMAKE, or with a new AM_SILENT_RULES macro + but not any more through AUTOMAKE_OPTIONS or the automake + command line option `--silent-rules'. + * automake.in (define_verbose_var): Define the default verbose + variable in terms of `$(AM_DEFAULT_VERBOSITY)'. + (handle_configure): Do not pass `--silent-rules' to automake. + (scan_autoconf_traces): Trace `AM_SILENT_RULES'. If seen, + enable global `silent-rules' option. + (usage): Do not document `--silent-rules'. + (parse_arguments): Do not accept `--silent-rules'. + * doc/automake.texi (Options): Overhaul. Document + AM_SILENT_RULES, --enable-silent-rules, --disable-silent-rules, + AM_DEFAULT_VERBOSITY. Show an example for user-added variables + for less verbose output. + (Invoking Automake): Remove documentation for `--silent-rules'. + (Public Macros): Document `AM_SILENT_RULES'. + * NEWS: Update. + * lib/Automake/Options.pm (_process_option_list): Accept + `silent-rules' only as option in configure.ac. + * m4/init.m4 (AM_INIT_AUTOMAKE): If the `silent-rules' option + was enabled, require `AM_SILENT_RULES'; move AM_BACKSLASH + initialization to ... + * m4/silent.m4 (AM_SILENT_RULES): ... this new file, new macro. + Deal with `--enable-silent-rules' switch; define + AM_DEFAULT_VERBOSITY. + * m4/Makefile.am (dist_m4data_DATA): Add silent.m4. + * tests/dollarvar.test: Remove tests for `--silent-rules', use + `AM_SILENT_RULES'. + * tests/flavor.test: Remove test for `--silent-rules'. + * tests/silent.test: Use `AM_SILENT_RULES' instead of + `AUTOMAKE_OPTIONS = silent-rules'; use `--enable-silent-rules'. + * tests/silent2.test: Likewise. + * tests/silent3.test: Likewise. + * tests/silent4.test: Likewise. + * tests/silent5.test: Likewise. + * tests/silent6.test: Likewise. Test `AM_SILENT_RULES' as well + as `AM_INIT_AUTOMAKE([silent-rules])' instead of + `--silent-rules'. + * tests/silent7.test: Use `AM_SILENT_RULES' instead of + `AUTOMAKE_OPTIONS = silent-rules'; ensure the latter is rejected. + Test combinations of --enable-silent-rules and + --disable-silent-rules with `make V=0' and `make V=1'. + Suggestion for configure-time switch by Bob Friesenhahn. + + manual: Add note about parallelism and tests ordering. + * doc/automake.texi (Simple Tests using parallel-tests): + Dependencies between test logs work for tests with known + extensions only. Hint that tests should be prepared to be run + in parallel. + + Fix maintainer-check failure. + * tests/suffix13.test: Use Exit not exit. + +2009-04-10 Ralf Wildenhues + + parallel-tests: more testsuite exposure. + * tests/parallel-tests.test: Also test overriding TEST_LOGS and + TESTS. + + parallel-tests: let VERBOSE=yes output appear before summary. + * lib/am/check.am ($(TEST_SUITE_LOG)): In `VERBOSE=yes' mode, + output contents of `$(TEST_SUITE_LOG)' before, rather than after + the test suite summary. This ensures that the email address + appears near the end of the output; also, the log file already + starts with a result summary anyway. + + parallel-tests: `clean recheck' should not rerun all tests. + * lib/am/check.am (recheck, recheck-html): Do not rerun all + tests if `$(TEST_SUITE_LOG)' does not exist. + * tests/parallel-tests2.test: Adjust recheck test. + * tests/parallel-tests9.test: Adjust recheck-html test. + * NEWS: Update. + Suggestion by Akim Demaille. + +2009-04-08 Ralf Wildenhues + Eric Blake + + parallel-tests: Fix driver for nonempty executable extension. + * automake.in (handle_tests): New substitution `%am__EXEEXT%', + defined as 'FALSE' for non-generic rules, or if no programs are + built at all. Otherwise, define it as configure conditional. + * lib/am/check2.am [%am__EXEEXT%] (%EXT%$(EXEEXT).log): New + conditional generic rule. + * m4/init.m4: Hook an m4_provide of `_AM_COMPILER_EXEEXT' onto + Autoconf's `_AC_COMPILER_EXEEXT' macro. + (AM_INIT_AUTOMAKE): If `_AM_COMPILER_EXEEXT' has been provided + at `AC_CONFIG_COMMANDS_PRE' time, then introduce a conditional + `am__EXEEXT', defined to true iff `$EXEEXT' is nonempty. + * tests/check5.test: Only match `_EXEEXT_[1-9]' here, to avoid + false positives stemming from `@am__EXEEXT_TRUE@'. + * NEWS: Update. + +2009-04-08 Ralf Wildenhues + + Fix a couple of $(EXEEXT)-related testsuite failure. + * tests/check8.test: Allow executable extensions in test suite + output. + * tests/check9.test: Add `$(EXEEXT)' manually to @substituted@ + XFAIL_TESTS entries. + + * NEWS: Update for last patch. + +2009-04-07 Florian Briegel (tiny change) + Stepan Kasal + Ralf Wildenhues + + Fix renamed objects with subdir-objects and other languages. + * automake.in: Fixed bug when building with renamed objects + and foreign languages. + * tests/suffix13.test: New test. + * tests/Makefile.am: Adjust. + * THANKS: Update. + Reports by Florian Briegel and Stepan Kasal. + +2009-04-07 Ralf Wildenhues + + Do not remove texinfo outputs upon mostlyclean. + * lib/am/texinfos.am: New substitutions %MOSTLYCLEAN%, + %MAINTCLEAN%. + (clean-aminfo): New target, remove %TEXICLEAN% if nonemtpy, + declare phony. Hook this target to ... + (clean-am): ... this and ... + (?CYGNUS?clean-info): ... this. + (maintainer-clean-aminfo): Remove %MAINTCLEAN% if nonempty, + for later. + (mostlyclean-aminfo): Remove %MOSTLYCLEAN%. + * automake.in (handle_texinfo_helper): Return three arrays + $MOSTLYCLEAN, $TEXICLEAN, $MAINTCLEAN, instead of one array. + Only put LaTeX helper files in $MOSTLYCLEAN, the rest in + $TEXICLEAN for now. + (handle_texinfo): Accept these, chop off extra newline, and + substitute them in `texinfos.am'. + * NEWS: Update. + * tests/txinfo33.test: New test. + * tests/Makefile.am: Update. + Report by Bruno Haible. + +2009-04-06 Ralf Wildenhues + + testsuite: unset TESTS, TEST_LOGS, to avoid interference. + * tests/defs.in: Unset TESTS, TEST_LOGS. + + testsuite: generate $(parallel_tests) just when needed. + * tests/Makefile.am (check_SCRIPTS): No need to list + $(parallel_tests) here, they can be generated as needed during + the test run, following our recommendation in the manual. + + Remove superfluous line from recheck recheck-html. + * lib/am/check.am (recheck recheck-html): Remove superfluous + line, introduced bogusly in last commit. + +2009-04-06 Akim Demaille + Ralf Wildenhues + + parallel-tests: redo check-html, recheck, recheck-html. + * lib/am/check.am (recheck, recheck-am): Remove. + (recheck-TESTS): Rename to ... + (recheck): ... this and rewrite, factored ... + (recheck-html): ... with this rule. Pass TEST_LOGS rather than + RECHECK_LOGS to `check' and `check-html', respectively, to avoid + running outdated tests. Invoking the public macros ensures + `check_SCRIPTS' etc. are created in time. Do not output errors + for tests that were not run yet. If the testsuite has not run + at all, run all tests. + (check-html): Run `check' target, not `check-TESTS', to ensure + `check_SCRIPTS' etc. are created in time. + (.PHONY, .MAKE, AM_RECURSIVE_TARGETS): Adjust contents. + * tests/parallel-tests2.test: Expose the check-html and + recheck-html issues. + * tests/parallel-tests9.test: Expose the recheck issues. + Bugs in previous version pointed out by Akim, who already had + them fixed in his original version. + 2009-04-04 Ralf Wildenhues parallel-tests: LOG_COMPILER for tests without known extension.