1 From: Mingli Yu <mingli.yu@windriver.com>
2 Subject: [PATCH 10/12] Makefile.am: make sure autoheader run before automake
4 When use automake to generate Makefile.in from Makefile.am, there
6 | configure.ac:45: error: required file 'config-h.in' not found
8 It is because the file config-h.in in updating process by autoheader,
9 so make automake run after autoheader to avoid the above race.
11 Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
12 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=e01c0bfe5e041418d84460901a1a5b11b89d596f]
16 Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
18 diff --git a/Makefile.am b/Makefile.am
19 index 9c34bfd..231ef3f 100644
22 @@ -333,7 +333,7 @@ EXTRA_DIST += $(lt_aclocal_m4) \
26 -$(lt_Makefile_in): $(lt_Makefile_am) $(lt_aclocal_m4)
27 +$(lt_Makefile_in): $(lt_Makefile_am) $(lt_aclocal_m4) $(lt_config_h_in)
28 $(AM_V_GEN)cd '$(srcdir)/$(ltdl_dir)' && $(AUTOMAKE) Makefile
30 # Don't let unused scripts leak into the libltdl Makefile