mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
configure: Add configure checks for libdrm and gudev
https://bugzilla.gnome.org/show_bug.cgi?id=782923
This commit is contained in:
parent
09584edc9a
commit
79f9f9e600
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue