From bf11338d6f35f242af2738b689d52e8ca480f34e Mon Sep 17 00:00:00 2001 From: Philippe Renon Date: Wed, 23 Nov 2016 18:30:40 +0100 Subject: [PATCH] opencv: check presence of required opencv_contrib headers https://bugzilla.gnome.org/show_bug.cgi?id=772822 --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index e7fc70b..2f514fc 100644 --- a/configure.ac +++ b/configure.ac @@ -2808,6 +2808,8 @@ AG_GST_CHECK_FEATURE(OPENCV, [opencv plugins], opencv, [ opencv2/imgproc/imgproc_c.h \ opencv2/objdetect/objdetect.hpp \ opencv2/video/background_segm.hpp], [], [something_not_found=yes]) + dnl check opencv_contrib headers (not always present in opencv distributions) + AC_CHECK_HEADERS([opencv2/bgsegm.hpp], [], [something_not_found=yes]) CPPFLAGS=$OLD_CPPFLAGS AC_LANG([C]) -- 2.7.4