summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/powertop/powertop/0003-configure-Use-AX_REQUIRE_DEFINED.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/powertop/powertop/0003-configure-Use-AX_REQUIRE_DEFINED.patch')
-rw-r--r--meta/recipes-kernel/powertop/powertop/0003-configure-Use-AX_REQUIRE_DEFINED.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-kernel/powertop/powertop/0003-configure-Use-AX_REQUIRE_DEFINED.patch b/meta/recipes-kernel/powertop/powertop/0003-configure-Use-AX_REQUIRE_DEFINED.patch
new file mode 100644
index 0000000000..ac728f4a39
--- /dev/null
+++ b/meta/recipes-kernel/powertop/powertop/0003-configure-Use-AX_REQUIRE_DEFINED.patch
@@ -0,0 +1,29 @@
1From fbf74492236676e844b021b0dbb45b1ca43a0410 Mon Sep 17 00:00:00 2001
2From: David King <amigadave@amigadave.com>
3Date: Thu, 15 Apr 2021 11:45:13 +0100
4Subject: [PATCH] configure: Use AX_REQUIRE_DEFINED
5
6Require additional macros to be defined early, to avoid an aclocal
7"too many loops" error when copying macros.
8
9Upstream-Status: Backport from tip
10
11Signed-off-by: Tim Orling <ticotimo@gmail.com>
12---
13 configure.ac | 3 +++
14 1 file changed, 3 insertions(+)
15
16diff --git a/configure.ac b/configure.ac
17index d68369c..b90831b 100644
18--- a/configure.ac
19+++ b/configure.ac
20@@ -29,6 +29,9 @@ AM_GNU_GETTEXT([external])
21 AM_GNU_GETTEXT_VERSION([0.18.2])
22
23 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
24+AX_REQUIRE_DEFINED([AX_ADD_FORTIFY_SOURCE])
25+AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX])
26+AX_REQUIRE_DEFINED([AX_PTHREAD])
27 # Checks for programs.
28 AC_PROG_CPP
29 AC_PROG_CXX