summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPhilippe Renon <philippe_renon@yahoo.fr>2016-11-23 18:30:40 +0100
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2016-11-29 21:26:19 -0500
commitbf11338d6f35f242af2738b689d52e8ca480f34e (patch)
treee40a3239507509e9a4350220448c9e4c90db2a1e /configure.ac
parent4664fc0b275cafbaea7eb2dcfa863b78f445b36d (diff)
downloadgstreamer-plugins-bad-bf11338d6f35f242af2738b689d52e8ca480f34e.tar.gz
opencv: check presence of required opencv_contrib headers
https://bugzilla.gnome.org/show_bug.cgi?id=772822
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e7fc70bc1..2f514fc06 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])