1From 40abff4062d0521cf2b2a8a4660a3d2933f86f9d Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Mon, 1 Apr 2024 09:09:07 +0000
4Subject: [PATCH] Add acinclude.m4 to include required macros
5
6* These micro files are in the m4 directories, but the aclocal didn't
7  add them to aclocal.m4 automatically, so add them to acinclude.m4
8  manually.
9
10* The runlog.m4 is added for python.m4.
11
12Upstream-Status: Inappropriate [OE Specific]
13
14Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
15---
16 acinclude.m4 |  8 ++++++++
17 m4/runlog.m4 | 17 +++++++++++++++++
18 2 files changed, 25 insertions(+)
19 create mode 100644 acinclude.m4
20 create mode 100644 m4/runlog.m4
21
22diff --git a/acinclude.m4 b/acinclude.m4
23new file mode 100644
24index 0000000000..118b7f0e5f
25--- /dev/null
26+++ b/acinclude.m4
27@@ -0,0 +1,8 @@
28+m4_include([m4/fr_init_module.m4])
29+m4_include([m4/ax_with_prog.m4])
30+m4_include([m4/runlog.m4])
31+m4_include([m4/python.m4])
32+m4_include([m4/ax_compare_version.m4])
33+m4_include([m4/libcurl_check_config.m4])
34+m4_include([m4/ax_ruby_devel.m4])
35+m4_include([m4/ax_prog_ruby_version.m4])
36diff --git a/m4/runlog.m4 b/m4/runlog.m4
37new file mode 100644
38index 0000000000..690efc3258
39--- /dev/null
40+++ b/m4/runlog.m4
41@@ -0,0 +1,17 @@
42+##                                                          -*- Autoconf -*-
43+# Copyright (C) 2001-2018 Free Software Foundation, Inc.
44+#
45+# This file is free software; the Free Software Foundation
46+# gives unlimited permission to copy and/or distribute it,
47+# with or without modifications, as long as this notice is preserved.
48+
49+# AM_RUN_LOG(COMMAND)
50+# -------------------
51+# Run COMMAND, save the exit status in ac_status, and log it.
52+# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
53+AC_DEFUN([AM_RUN_LOG],
54+[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
55+   ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
56+   ac_status=$?
57+   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
58+   (exit $ac_status); }])
59--
602.35.5
61
62