mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
krb5: Fix build with autotools 2.73
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
+37
@@ -0,0 +1,37 @@
|
||||
From 1b54d6a42677bd4209cf5c893802c7f60dc0ad75 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <khem.raj@oss.qualcomm.com>
|
||||
Date: Fri, 3 Apr 2026 23:43:18 -0700
|
||||
Subject: [PATCH] configure.ac: replace K5_AC_INIT with explicit AC_INIT
|
||||
|
||||
autoreconf expects configure.ac to contain a literal AC_INIT invocation.
|
||||
krb5 currently uses the custom K5_AC_INIT wrapper, which expands to
|
||||
AC_INIT but is not recognized by autoreconf's initial sanity check,
|
||||
causing configuration to fail with:
|
||||
|
||||
autoreconf: error: configure.ac: AC_INIT not found
|
||||
|
||||
Replace K5_AC_INIT([aclocal.m4]) with its explicit expansion:
|
||||
AC_INIT(...), AC_CONFIG_SRCDIR([aclocal.m4]), and build_dynobj=no.
|
||||
|
||||
This preserves the existing behavior while allowing autoreconf-based
|
||||
builds to succeed.
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
|
||||
---
|
||||
src/configure.ac | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/configure.ac b/src/configure.ac
|
||||
index 4325fae..03e224f 100644
|
||||
--- a/src/configure.ac
|
||||
+++ b/src/configure.ac
|
||||
@@ -1,4 +1,6 @@
|
||||
-K5_AC_INIT([aclocal.m4])
|
||||
+AC_INIT([Kerberos 5], m4_defn([K5_VERSION]), m4_defn([K5_BUGADDR]), [krb5])
|
||||
+AC_CONFIG_SRCDIR([aclocal.m4])
|
||||
+build_dynobj=no
|
||||
|
||||
# If $runstatedir isn't set by autoconf (<2.70), set it manually.
|
||||
if test x"$runstatedir" = x; then
|
||||
@@ -23,6 +23,7 @@ SRC_URI = "http://web.mit.edu/kerberos/dist/${BPN}/${SHRT_VER}/${BP}.tar.gz \
|
||||
file://debian-suppress-usr-lib-in-krb5-config.patch;striplevel=2 \
|
||||
file://fix-strchr-conformance-to-C23.patch;striplevel=2 \
|
||||
file://crosscompile_nm.patch \
|
||||
file://0001-configure.ac-replace-K5_AC_INIT-with-explicit-AC_INI.patch;striplevel=2 \
|
||||
file://etc/init.d/krb5-kdc \
|
||||
file://etc/init.d/krb5-admin-server \
|
||||
file://etc/default/krb5-kdc \
|
||||
|
||||
Reference in New Issue
Block a user