opencv: fix configure check and build with opencv 2.1
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 17 Mar 2012 12:47:52 +0000 (12:47 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 17 Mar 2012 14:53:50 +0000 (14:53 +0000)
commit692bf9ba633c909efd313259598202d30ce0bb08
tree4acda54eebaf9f914607e6239bd58abf95fe655d
parent486ddd38cf872099048f05b5f7739d6205e8d979
opencv: fix configure check and build with opencv 2.1

AC_CHECK_HEADERS() calls action-if-not-found also if just one of
the headers checked for is missing, which is not what we wanted.
Also, check for highgui_c.h instead of highgui.hpp.

https://bugzilla.gnome.org/show_bug.cgi?id=672226
configure.ac
ext/opencv/MotionCells.cpp
ext/opencv/MotionCells.h
ext/opencv/gstopencvutils.c
ext/opencv/gsttemplatematch.h
ext/opencv/motioncells_wrapper.cpp