From 4dd3f6a1d29b1990c49dde0e4f024f40eb5ea6ef Mon Sep 17 00:00:00 2001 From: Good Guy Date: Wed, 18 Feb 2026 17:02:56 -0700 Subject: [PATCH] Credit Andrew - verify python is installed and remove cstdint from libzmpeg3.h --- cinelerra-5.1/configure.ac | 9 +++++++-- cinelerra-5.1/libzmpeg3/libzmpeg3.h | 1 - 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/cinelerra-5.1/configure.ac b/cinelerra-5.1/configure.ac index 0aa7c1e3..fa983070 100644 --- a/cinelerra-5.1/configure.ac +++ b/cinelerra-5.1/configure.ac @@ -15,8 +15,8 @@ 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 @@ -30,6 +30,11 @@ if test x"$LIBTOOL" == x"no" ; then AC_MSG_ERROR([Please install libtool]) fi +AC_CHECK_PROGS(PYTHON,[python3 python],[no]) +if test x"$PYTHON" == x"no" ; then +AC_MSG_ERROR([Please install python/python3]) +fi + CFG_CFLAGS+=" -fno-omit-frame-pointer -fno-math-errno -fno-signed-zeros" CFG_CFLAGS+=" -pthread -Wall" # misguided pedantic warnings diff --git a/cinelerra-5.1/libzmpeg3/libzmpeg3.h b/cinelerra-5.1/libzmpeg3/libzmpeg3.h index 4efe779c..8ea33b15 100644 --- a/cinelerra-5.1/libzmpeg3/libzmpeg3.h +++ b/cinelerra-5.1/libzmpeg3/libzmpeg3.h @@ -20,7 +20,6 @@ typedef int (*zthumbnail_cb)(void *p, int trk); typedef int (*zcc_text_cb)(int sid, int id, int sfrm, int efrm, const char *txt); #ifdef __cplusplus -#include #include #include #include -- 2.34.1