configure.ac: check for a recent enough libv4l1.h

Alexandre Julliard julliard at winehq.org
Fri Jan 18 09:23:28 CST 2013


Damjan Jovanovic <damjan.jov at 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.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list