diff options
author | Carlos Rafael Giani <dv@pseudoterminal.org> | 2018-02-23 17:09:49 +0100 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2018-02-23 21:09:45 -0500 |
commit | 79f9f9e60002181cc8e8712edfdc60c7146446e7 (patch) | |
tree | 4e2f0c06dac9474a81f59c3cac1e45d4f5bafed2 | |
parent | 09584edc9a54ee006c7a8e166124b586f7a7d456 (diff) |
configure: Add configure checks for libdrm and gudev
https://bugzilla.gnome.org/show_bug.cgi?id=782923
-rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index ff4831c7d..eee94a4ef 100644 --- a/configure.ac +++ b/configure.ac @@ -295,8 +295,17 @@ GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_API_VERSION`" AC_SUBST(GLIB_PREFIX) AC_SUBST(GST_PREFIX) +dnl check for libdrm +PKG_CHECK_MODULES(DRM, libdrm >= 2.4.55, HAVE_DRM=yes, HAVE_DRM=no) + AG_GST_GL_CHECKS +dnl check for gudev +PKG_CHECK_MODULES(G_UDEV, gudev-1.0 , [ + AC_DEFINE([HAVE_GUDEV], 1, [Define if gudev is installed]) + HAVE_GUDEV="yes" ], + [HAVE_GUDEV="no"]) + dnl GTK is optional and only used in examples HAVE_GTK=no HAVE_GTK_X11=no |