Damjan Jovanovic damjan.jov@gmail.com writes:
Changelog:
- configure.ac: check for a recent enough libv4l1.h
libv4l1.h can only be used instead of linux/videodev.h as of version 0.8.3, so check for the version using pkg-config (the only possible way) and don't try to compile with older versions. This fixes compilation on systems like FreeBSD 8.2, where there is no linux/videodev.h, and libv4l1.h is too old.
You should check for the definitions we need, not the version number.