X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=configure.ac;h=caeb741319890ed9482fd9e35538e7c8c596b570;hp=b5754f2ac26a249303375762a5b3f1c5a220749e;hb=4cbe7095226e0e4a050ef347ddc297386a571557;hpb=f22f103661954524287aaef99378e4060fdb1ebd diff --git a/configure.ac b/configure.ac index b5754f2ac..caeb74131 100644 --- a/configure.ac +++ b/configure.ac @@ -118,6 +118,9 @@ if test "x$enable_extras" = xyes; then fi AM_CONDITIONAL([ENABLE_EXTRAS], [test "x$enable_extras" = xyes]) +AC_CHECK_HEADER([linux/videodev.h], [have_videodev_h=yes], []) +AM_CONDITIONAL(HAVE_V4L1, [test "x$have_videodev_h" = "xyes"]) + AC_ARG_ENABLE([introspection], AS_HELP_STRING([--disable-introspection], [disable GObject introspection]), [], [enable_introspection=yes])