[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 06/12] Makefile.am: make sure autoheader run before autoconf
From: |
Sam James |
Subject: |
[PATCH v2 06/12] Makefile.am: make sure autoheader run before autoconf |
Date: |
Sat, 16 Apr 2022 18:58:19 +0100 |
From: Mingli Yu <mingli.yu@windriver.com>
autoheader will update ../libtool-2.4.6/libltdl/config-h.in which
autoconf needs, so there comes a race sometimes as below:
| configure.ac:45: error: required file 'config-h.in' not found
| touch '../libtool-2.4.6/libltdl/config-h.in'
So make sure autoheader run before autoconf to avoid this race.
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 7bd7f728..16f7727e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -370,7 +370,7 @@ lt_configure_deps = $(lt_aclocal_m4) $(lt_aclocal_m4_deps)
$(lt_aclocal_m4): $(lt_aclocal_m4_deps)
$(AM_V_GEN)cd '$(srcdir)/$(ltdl_dir)' && $(ACLOCAL) -I ../m4
-$(lt_configure): $(lt_configure_deps)
+$(lt_configure): $(lt_configure_deps) $(lt_config_h_in)
$(AM_V_GEN)cd '$(srcdir)/$(ltdl_dir)' && $(AUTOCONF)
$(lt_config_h_in): $(lt_configure_deps)
--
2.35.1
- Re: [PATCH v2 01/12] ltmain.sh: Fix sysroot paths being encoded into RPATHs, (continued)
[PATCH v2 02/12] ltmain.in: Handle trailing slashes on install commands correctly, Sam James, 2022/04/16
[PATCH v2 04/12] ltmain.in: Don't encode RATHS which match default linker paths, Sam James, 2022/04/16
[PATCH v2 03/12] libtool.m4: For reproducibility stop encoding hostname in libtool script, Sam James, 2022/04/16
[PATCH v2 05/12] libtool.m4: Rename the --with-sysroot option to avoid conflict with gcc/binutils, Sam James, 2022/04/16
[PATCH v2 07/12] libtool: Check for static libs for internal compiler libraries, Sam James, 2022/04/16
[PATCH v2 11/12] Makefile.am: make sure autoheader run before automake, Sam James, 2022/04/16
[PATCH v2 06/12] Makefile.am: make sure autoheader run before autoconf,
Sam James <=
[PATCH v2 12/12] libtool: Fix support for NIOS2 processor, Sam James, 2022/04/16
[PATCH v2 08/12] ltmain.in: Add missing sysroot to library path, Sam James, 2022/04/16
[PATCH v2 10/12] ltmain.in: Handle prefix-map compiler options correctly, Sam James, 2022/04/16
[PATCH v2 09/12] libtool.m4: Handle "/" as a sysroot correctly, Sam James, 2022/04/16
Re: [PATCH v2 00/12] Rebased version of Yocto patches, Alex Ameen, 2022/04/16