Commit c5d9ac73 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix compilation without Xlib

parent bd07e8f9
...@@ -2981,15 +2981,15 @@ have_vdpau="no" ...@@ -2981,15 +2981,15 @@ have_vdpau="no"
AS_IF([test "${enable_vdpau}" != "no"], [ AS_IF([test "${enable_vdpau}" != "no"], [
PKG_CHECK_MODULES([VDPAU], [vdpau], [ PKG_CHECK_MODULES([VDPAU], [vdpau], [
have_vdpau="yes" have_vdpau="yes"
AS_IF([test "${no_x}" = "yes"], [
AC_MSG_ERROR([VDPAU requires Xlib (X11).])
])
AC_MSG_NOTICE([VDPAU acceleration activated]) AC_MSG_NOTICE([VDPAU acceleration activated])
], [ ], [
AS_IF([test -n "${enable_vdpau}"], [ AS_IF([test -n "${enable_vdpau}"], [
AC_MSG_ERROR([${VDPAU_PKG_ERRORS}.]) AC_MSG_ERROR([${VDPAU_PKG_ERRORS}.])
]) ])
]) ])
AS_IF([test "${no_x}" = "yes"], [
AC_MSG_ERROR([VDPAU requires Xlib (X11).])
])
]) ])
dnl AM_CONDITIONAL([HAVE_VDPAU], [test "${have_vdpau}" = "yes"]) dnl AM_CONDITIONAL([HAVE_VDPAU], [test "${have_vdpau}" = "yes"])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment