projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09584ed
)
configure: Add configure checks for libdrm and gudev
author
Carlos Rafael Giani
<dv@pseudoterminal.org>
Fri, 23 Feb 2018 16:09:49 +0000
(17:09 +0100)
committer
Nicolas Dufresne
<nicolas.dufresne@collabora.com>
Sat, 24 Feb 2018 02:09:45 +0000
(21:09 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=782923
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index ff4831c7d058bd115d8759abddb7f257a49dc73c..eee94a4efdddb70826d891e91f78a76e210fa578 100644
(file)
--- 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