v4l2: consistently check #ifdef HAVE_GUDEV instead of #if
authorNirbheek Chauhan <nirbheek@centricular.com>
Sat, 9 Apr 2016 02:21:03 +0000 (07:51 +0530)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 18 Aug 2016 19:20:20 +0000 (20:20 +0100)
commit4048a4e1373a265802144a867fdd6dbcbc87d119
treed1e4dc3f587fd708254a7515213dc1095d38fb86
parentaf1d49d039c494db90bbca5c5ad4dc6bb455b760
v4l2: consistently check #ifdef HAVE_GUDEV instead of #if

Both work with autotools but they definitely don't mean the same thing, cause
problems with other build systems, and are bad form. Existence should always be
checked with #ifdef or #if defined.
sys/v4l2/gstv4l2deviceprovider.c
sys/v4l2/v4l2-utils.c