attached patch should warn user at configure time about missed lilv.h
header if non-thirdparty but otherwise default build attempted...

On Monday, April 11, 2022, Andrew Randrianasulu <[email protected]>
wrote:

> pluginlv2config.h:35:10: fatal error: lilv/lilv.h: File o directory non
>    35 | #include <lilv/lilv.h>
>
>
> install lv2 (not just plugins but main package with this header) or add
>  --without-lv2 ...
>
> On Monday, April 11, 2022, Andrea paz <[email protected]> wrote:
>
>> Always build error. I enclose cin5.log and config.log
>>
>
From e386fde6b34616303c6633569fc27783ccdc091b Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <[email protected]>
Date: Mon, 11 Apr 2022 11:58:16 +0300
Subject: [PATCH 78/78] Defend against missed lv2 headers

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

diff --git a/cinelerra-5.1/configure.ac b/cinelerra-5.1/configure.ac
index fcb38b1e..093d6bfd 100644
--- a/cinelerra-5.1/configure.ac
+++ b/cinelerra-5.1/configure.ac
@@ -895,6 +895,11 @@ HAVE_openexr=no \
 HAVE_ilmbase=no \
   HAVE_OPENEXR=no
 
+if test "x$WANT_CIN_3RDPARTY" = "xno"; then
+ if test "x$HAVE_lv2" != "xyes" -a "x$WANT_LV2" = "xyes"; then
+  AC_MSG_ERROR([lv2 requested but no lv2 headers found])
+ fi
+fi
 
 # build global_config
 OBJDIR=`uname -m`
-- 
2.35.1

-- 
Cin mailing list
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin

Reply via email to