1 From e82c06584f02e3e4487aa73aa05981e2a35dc6d1 Mon Sep 17 00:00:00 2001
2 From: Mingli Yu <mingli.yu@windriver.com>
3 Date: Tue, 13 Apr 2021 07:17:29 +0000
4 Subject: [PATCH] Makefile.am: make sure autoheader run before automake
6 When use automake to generate Makefile.in from Makefile.am, there
8 | configure.ac:45: error: required file 'config-h.in' not found
10 It is because the file config-h.in in updating process by autoheader,
11 so make automake run after autoheader to avoid the above race.
13 Upstream-Status: Submitted [libtool-patches@gnu.org maillist]
15 Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
18 1 file changed, 1 insertion(+), 1 deletion(-)
20 diff --git a/Makefile.am b/Makefile.am
21 index 2752ecc..29950db 100644
24 @@ -328,7 +328,7 @@ EXTRA_DIST += $(lt_aclocal_m4) \
28 -$(lt_Makefile_in): $(lt_Makefile_am) $(lt_aclocal_m4)
29 +$(lt_Makefile_in): $(lt_Makefile_am) $(lt_aclocal_m4) $(lt_config_h_in)
30 $(AM_V_GEN)cd '$(srcdir)/$(ltdl_dir)' && $(AUTOMAKE) Makefile
32 # Don't let unused scripts leak into the libltdl Makefile