configure: Fix hard-coded enabled v4l2 probe on Linux/ARM
authorKirill Marinushkin <kmarinushkin@de.adit-jv.com>
Wed, 4 Apr 2018 13:50:55 +0000 (15:50 +0200)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 26 Apr 2018 20:37:03 +0000 (16:37 -0400)
commitae1c2b0c674fe259b3850782a0c7aec2a7988809
tree034ebc07931ab3293580f1f81e122d1c8892c81e
parentc2c7d110e5d68bc86babfffbcb02632d98155e2e
configure: Fix hard-coded enabled v4l2 probe on Linux/ARM

Currently, enable_v4l2_probe is hard-coded to "yes" on linux, platforms
arm and aarch64. This even overrides the --disable-v4l2-probe argument.
As a result, it is impossible to disable v4l2_probe. It becomes a problem
for use-cases, when startup time is critical, because the v4l2_probe
feature increases the initialization time.

This commit makes the v4l2_probe feature configurable.
On linux, platforms arm and aarch64, the default value is still "yes".
But now it can be disabled by the --disable-v4l2-probe argument.

https://bugzilla.gnome.org/show_bug.cgi?id=795200
configure.ac