summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2011-02-15 14:20:21 +0100
committerMartin Pitt <martin.pitt@ubuntu.com>2011-02-15 14:20:21 +0100
commit0c0b3f97cad4c34140dda3aa85a9bc74badb4b16 (patch)
tree47b11e6f7c49d46facdf60b00e93174c7f642b1c /Makefile.am
parent5e9eb156c003dc7f8f92287bfad0251d6c5d0ef9 (diff)
Only build v4l_id if V4L1 header file is available
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index df426f72a4..b87741802f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -312,10 +312,12 @@ libexec_PROGRAMS += extras/usb_id/usb_id
# ------------------------------------------------------------------------------
# v4l_id - video4linux capabilities
# ------------------------------------------------------------------------------
+if HAVE_V4L1
extras_v4l_id_v4l_id_SOURCES = extras/v4l_id/v4l_id.c
extras_v4l_id_v4l_id_LDADD = libudev/libudev-private.la
libexec_PROGRAMS += extras/v4l_id/v4l_id
dist_udevrules_DATA += extras/v4l_id/60-persistent-v4l.rules
+endif
# ------------------------------------------------------------------------------
# qemu -- qemu/kvm guest tweaks