From 0018cc61746b1d2b6496156d4c73a2ec726d2d4e Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <randrianasulu@gmail.com>
Date: Wed, 18 Feb 2026 12:15:55 +0300
Subject: [PATCH 2/2] Fix python3 check, makeinfo check in configure.ac

---
 cinelerra-5.1/configure.ac | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/cinelerra-5.1/configure.ac b/cinelerra-5.1/configure.ac
index 4cfa2b11..d45f2d00 100644
--- a/cinelerra-5.1/configure.ac
+++ b/cinelerra-5.1/configure.ac
@@ -14,8 +14,8 @@ AC_LANG([C++])
 AC_LANG([C])
 AC_PROG_CXX
 
-AC_CHECK_PROG(MAKEINFO,[makeinfo],[makeinfo],[no])
-if test x"$MAKEINFO" == x"no" ; then
+AC_CHECK_PROG(TEXINFO,makeinfo,yes,no)
+if test x"$TEXINFO" == x"no" ; then
 AC_MSG_ERROR([Please install texinfo])
 fi
 
@@ -29,7 +29,7 @@ if test x"$LIBTOOL" == x"no" ; then
 AC_MSG_ERROR([Please install libtool])
 fi
 
-AC_CHECK_PROGS(PYTHON,[python3 python],[python])
+AC_CHECK_PROGS(PYTHON,[python3 python],[no])
 if test x"$PYTHON" == x"no" ; then
 AC_MSG_ERROR([Please install python/python3])
 fi
-- 
2.53.0

