summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-util/util-macros/0001-xorg-macros.m4.in-do-not-run-AC_CANONICAL_HOST-in-ma.patch
blob: 0670cf5715e8b62760b031274705f0876b279507 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From ffd285a567e69f1bba5d47c4c0bb493345678055 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex@linutronix.de>
Date: Fri, 3 Mar 2023 13:24:58 +0100
Subject: [PATCH] xorg-macros.m4.in: do not run AC_CANONICAL_HOST in manpage
 section macro

This doesn't work when building allarch items, as it calls into
config.sub with the host triplet, and config.sub can't match
it against any architeture it knows.

Upstream-Status: Inappropriate [oe specific]
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 xorg-macros.m4.in | 1 -
 1 file changed, 1 deletion(-)

diff --git a/xorg-macros.m4.in b/xorg-macros.m4.in
index b15daf1..2a526a4 100644
--- a/xorg-macros.m4.in
+++ b/xorg-macros.m4.in
@@ -111,7 +111,6 @@ AC_SUBST(TRADITIONALCPPFLAGS)
 # Added AC_PROG_SED in version 1.8
 
 AC_DEFUN([XORG_MANPAGE_SECTIONS],[
-AC_REQUIRE([AC_CANONICAL_HOST])
 AC_REQUIRE([AC_PROG_SED])
 
 case $host_os in