From e1c1dc8347f13104bc21e4100fcf4d4dddf5e5d8 Mon Sep 17 00:00:00 2001 From: Gyan Doshi Date: Sun, 31 Dec 2023 12:44:20 +0530 Subject: [PATCH] configure: correct lensfun header function check The function lf_db_new was deprecated in lensfun 09dcd3e7ad in 2017 in favour of lf_db_create. The AVfilter was adjusted in 8b78eb312d but the configure check wasn't changed. lensfun removed lf_db_new declaration in lf 35c0017593 so configure fails to find lensfun. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 65b4659b0a..037c08afff 100755 --- a/configure +++ b/configure @@ -6776,7 +6776,7 @@ enabled libjxl && require_pkg_config libjxl "libjxl >= 0.7.0" jxl/dec require_pkg_config libjxl_threads "libjxl_threads >= 0.7.0" jxl/thread_parallel_runner.h JxlThreadParallelRunner enabled libklvanc && require libklvanc libklvanc/vanc.h klvanc_context_create -lklvanc enabled libkvazaar && require_pkg_config libkvazaar "kvazaar >= 2.0.0" kvazaar.h kvz_api_get -enabled liblensfun && require_pkg_config liblensfun lensfun lensfun.h lf_db_new +enabled liblensfun && require_pkg_config liblensfun lensfun lensfun.h lf_db_create if enabled libmfx && enabled libvpl; then die "ERROR: can not use libmfx and libvpl together"