Commits
Ryan Schmidt authored 7e64b0de301
1 + | Work around build failure due to automake 1.14 bug. |
2 + | |
3 + | Automake generates invalid Makefiles when patsubst is used in |
4 + | Makefile.am. To work around this problem configure injects the |
5 + | patsubsts to the Makefile now. |
6 + | |
7 + | https://bugs.debian.org/713353 |
8 + | https://debbugs.gnu.org/cgi/bugreport.cgi?bug=14561 |
9 + | --- configure.ac.orig 2010-10-01 07:42:37.000000000 -0500 |
10 + | +++ configure.ac 2018-08-11 08:21:27.000000000 -0500 |
11 + | |
12 + | AC_SUBST(BUILD_ENGINES) |
13 + | AC_SUBST(BUILD_THEMES) |
14 + | AC_SUBST(BUILD_SCHEMAS) |
15 + | +AC_SUBST([auto_find_tests], ['$(patsubst %,exported_%,$(BUILD_ENGINES)) torture_buildin $(patsubst %,torture_%,$(TORTURE_TEST_ENGINES))']) |
16 + | |
17 + | if test $animation = "yes"; then |
18 + | AC_DEFINE_UNQUOTED(HAVE_ANIMATION, 1, [Defines whether to compile with animation support]) |
19 + | --- test/Makefile.am.orig 2010-09-19 10:18:21.000000000 -0500 |
20 + | +++ test/Makefile.am 2018-08-11 08:21:27.000000000 -0500 |
21 + | |
22 + | # Exported Symbols Test - Tests all engines unconditionally |
23 + | ############################################################# |
24 + | # Prefix with exported_ |
25 + | -EXPORTED_SYMBOLS_TESTS = $(patsubst %,exported_%,$(BUILD_ENGINES)) |
26 + | |
27 + | -TESTS += $(EXPORTED_SYMBOLS_TESTS) |
28 + | |
29 + | |
30 + | ############################################################# |
31 + | |
32 + | # Filter engines that are not build from the set of engines |
33 + | TORTURE_TEST_ENGINES = $(filter $(SUPPORTED_TORTURE_TEST_ENGINES),$(BUILD_ENGINES)) |
34 + | # Prefix with torture_ |
35 + | -TORTURE_TEST_TESTS = torture_buildin $(patsubst %,torture_%,$(TORTURE_TEST_ENGINES)) |
36 + | |
37 + | # Add TORTURE_TEST_ENGINES to list of tests |
38 + | -TESTS += $(TORTURE_TEST_TESTS) |
39 + | +TESTS += @auto_find_tests@ |
40 + | |
41 + | # Possible other tests: |
42 + | # - An extensive theme switch tests that loads/unloads the engine |