blob: cd963ef1be810feb41f2a92d1e0fe15e533c1d3c [file] [log] [blame]
Andrew Geisslereff27472021-10-29 15:35:00 -05001From: Mingli Yu <mingli.yu@windriver.com>
2Subject: [PATCH 10/12] Makefile.am: make sure autoheader run before automake
3
4When use automake to generate Makefile.in from Makefile.am, there
5comes below race:
6 | configure.ac:45: error: required file 'config-h.in' not found
7
8It is because the file config-h.in in updating process by autoheader,
9so make automake run after autoheader to avoid the above race.
10
11Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
12Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13
14Upstream-Status: Submitted [https://lists.gnu.org/archive/html/libtool-patches/2021-10/msg00020.html]
15
16Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
17---
18 Makefile.am | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21diff --git a/Makefile.am b/Makefile.am
22index 2752ecc..29950db 100644
23--- a/Makefile.am
24+++ b/Makefile.am
25@@ -328,7 +328,7 @@ EXTRA_DIST += $(lt_aclocal_m4) \
26 $(lt_obsolete_m4) \
27 $(stamp_mk)
28
29-$(lt_Makefile_in): $(lt_Makefile_am) $(lt_aclocal_m4)
30+$(lt_Makefile_in): $(lt_Makefile_am) $(lt_aclocal_m4) $(lt_config_h_in)
31 $(AM_V_GEN)cd '$(srcdir)/$(ltdl_dir)' && $(AUTOMAKE) Makefile
32
33 # Don't let unused scripts leak into the libltdl Makefile
34--
352.29.2
36