File bsc1239810_02-autoconf-update-configure.in.patch of Package ocfs2-test

From d551f593327c7ab640baa0f5978aa018aa8f4481 Mon Sep 17 00:00:00 2001
From: Heming Zhao <heming.zhao@suse.com>
Date: Wed, 19 Mar 2025 14:35:56 +0800
Subject: [PATCH 2/6] autoconf: update configure.in

This commit does two things:
1. run the autoconf tool 'autoupdate' to update the configure.in.
2. manually remove the obsolete macro 'AC_HEADER_STDC'.

Signed-off-by: Heming Zhao <heming.zhao@suse.com>
---
 configure.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.in b/configure.in
index e05329d51793..019707149edb 100644
--- a/configure.in
+++ b/configure.in
@@ -1,6 +1,7 @@
-AC_PREREQ(2.54)
+AC_PREREQ([2.69])
 
-AC_INIT(programs)
+AC_INIT
+AC_CONFIG_SRCDIR([programs])
 
 PACKAGE=ocfs2-test
 
@@ -52,7 +53,6 @@ AC_PROG_RANLIB
 
 AC_PATH_PROG(AR, ar)
 
-AC_HEADER_STDC
 AC_C_CONST
 
 if test "x$GCC" != "xyes"; then
-- 
2.43.0

openSUSE Build Service is sponsored by