Skip to contentSkip to conversation

oath: fix autotools usage

PATCH New [email protected] 1 participant 1 message Mar 20, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 oath: fix autotools usage

From: Martin Jansa <[email protected]>

* add include for m4 directory to fix:
http://errors.yoctoproject.org/Errors/Details/848019/
configure.ac:48: error: possibly undefined macro: AM_PATH_XML2

---
 recipes-extended/oath/oath_2.6.2.bb | 4 ++++
 1 file changed, 4 insertions(+)
recipes-extended/oath/oath_2.6.2.bb +4 -0
index 84d42dff..3d962869 100644
@@ -14,6 +14,10 @@ SRC_URI[sha256sum] = "b03446fa4b549af5ebe4d35d7aba51163442d255660558cd861ebce536
 
 inherit autotools pkgconfig
 
+# http://errors.yoctoproject.org/Errors/Details/848019/
+# uses AM_PATH_XML2 from oath-toolkit-2.6.2/m4/libxml2.m4:AC_DEFUN([AM_PATH_XML2],[...
+EXTRA_AUTORECONF += "-I ${S}/m4"
+
 # Specify any options you want to pass to the configure script using EXTRA_OECONF:
 EXTRA_OECONF = ""
 DEPENDS = "gtk-doc-native"