mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
configure: fix build if libdrm is not available
If the NOT_FOUND part of the check PKG_CHECK_MODULES is not written, it defaults to error. Addind the else clause of this check as HAVE_WAYLAND="no" https://bugzilla.gnome.org/show_bug.cgi?id=773927
This commit is contained in:
parent
9f690fa241
commit
2132b6b452
1 changed files with 13 additions and 12 deletions
|
@ -2260,7 +2260,7 @@ translit(dnm, m, l) AM_CONDITIONAL(USE_WAYLAND, true)
|
|||
AC_PATH_PROG([wayland_scanner], [wayland-scanner])
|
||||
AG_GST_CHECK_FEATURE(WAYLAND, [wayland sink], wayland , [
|
||||
PKG_CHECK_MODULES(WAYLAND, wayland-client >= 1.4.0, [
|
||||
PKG_CHECK_MODULES([WAYLAND_DRM], [libdrm >= 2.4.55])
|
||||
PKG_CHECK_MODULES([WAYLAND_DRM], [libdrm >= 2.4.55], [
|
||||
PKG_CHECK_MODULES(WAYLAND_PROTOCOLS, wayland-protocols >= 1.4, [
|
||||
if test "x$wayland_scanner" != "x"; then
|
||||
HAVE_WAYLAND="yes"
|
||||
|
@ -2275,6 +2275,7 @@ AG_GST_CHECK_FEATURE(WAYLAND, [wayland sink], wayland , [
|
|||
[ HAVE_WAYLAND="no"
|
||||
])
|
||||
])
|
||||
])
|
||||
|
||||
dnl **** WebP ****
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_WEBP, true)
|
||||
|
|
Loading…
Reference in a new issue