diff options
author | elupus <elupus@svn> | 2010-05-20 19:10:54 +0000 |
---|---|---|
committer | elupus <elupus@svn> | 2010-05-20 19:10:54 +0000 |
commit | 7e71972b42c0d4e3d43c8fa8e1730fb563046a93 (patch) | |
tree | 49b14a67099106f4167518eae7c1c890b77e19fe /configure.in | |
parent | c9524a7985cd158d26ed6c6e8a47a6d257b9acd7 (diff) |
fixed: vaapi was not getting enabled after changes to how configure logs enable/disable when in auto mode
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30352 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/configure.in b/configure.in index 41d4031811..02ba072c9a 100644 --- a/configure.in +++ b/configure.in @@ -808,9 +808,11 @@ if test "x$use_vaapi" != "xno"; then fi else initial_val=$use_vaapi - AC_CHECK_LIB([va], main, - [AC_CHECK_LIB([va-glx], main,, use_vaapi=no, -lva)], - [use_vaapi=no]) + AC_CHECK_LIB([va-glx], main,, use_vaapi=no, -lva) + if test "x$use_vaapi" != "xno"; then + AC_CHECK_LIB([va], main,, use_vaapi=no) + fi + if test "x$use_vaapi" = "xno"; then if test "x$initial_val" = "xyes"; then AC_MSG_ERROR($vaapi_not_found) |