vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sun Jan 13 16:35:31 2013 +0200| [c5d9ac73f6d09b2307c32c43cda342bfd2de09a7] | committer: Rémi Denis-Courmont
Fix compilation without Xlib > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c5d9ac73f6d09b2307c32c43cda342bfd2de09a7 --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 41a43a9..566a9f1 100644 --- a/configure.ac +++ b/configure.ac @@ -2981,15 +2981,15 @@ have_vdpau="no" AS_IF([test "${enable_vdpau}" != "no"], [ PKG_CHECK_MODULES([VDPAU], [vdpau], [ have_vdpau="yes" + AS_IF([test "${no_x}" = "yes"], [ + AC_MSG_ERROR([VDPAU requires Xlib (X11).]) + ]) AC_MSG_NOTICE([VDPAU acceleration activated]) ], [ AS_IF([test -n "${enable_vdpau}"], [ 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"]) _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
