[gegl] use pkg-config to look for v4l2



commit 43dd7848db189d2dfc9093a0ab2cc6f049c7dfdb
Author: nick black <nick black sprezzatech com>
Date:   Thu Dec 13 23:42:46 2012 -0500

    use pkg-config to look for v4l2

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 36e8e2a..c496838 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1055,7 +1055,7 @@ AC_ARG_WITH(libv4l, [  --without-libv4l        build without V4L support])
 
 have_v4l="no"
 if test "x$with_libv4l" != "xno"; then
-  AC_CHECK_HEADER(linux/videodev.h, have_v4l="yes")
+  AC_CHECK_HEADER(linux/videodev2.h, have_v4l="yes")
 fi
 
 AM_CONDITIONAL(HAVE_V4L, test "$have_v4l" = "yes")


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]