diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2018-01-22 15:30:11 +0100 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2018-02-11 19:35:46 +0800 |
commit | 958a18073942ac18c627d2e48865292d3df66390 (patch) | |
tree | 6c0f47545290adaf4366017375f7f1c2f8f0d79f /configure.ac | |
parent | cfe15845781e769db24124c101382e6790a9476c (diff) | |
download | libva-intel-driver-958a18073942ac18c627d2e48865292d3df66390.tar.gz |
build: autotools: don't check for X11 libraries
The driver doesn't link with any X11 library so there is no need to
check for their pkgconfig's data.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac index 69fe83b9..747f0117 100644 --- a/configure.ac +++ b/configure.ac @@ -126,17 +126,8 @@ VA_DRIVER_INIT_FUNC="__vaDriverInit_${VA_MAJOR_VERSION}_${VA_MINOR_VERSION}" AC_DEFINE_UNQUOTED([VA_DRIVER_INIT_FUNC], [$VA_DRIVER_INIT_FUNC], [Define driver entry-point]) -dnl Check for VA/DRM API +dnl Check for VA/X11 API USE_X11="$enable_x11" - -dnl Check for X11 -if test "$enable_x11" = "yes"; then - USE_X11="yes" - PKG_CHECK_MODULES([X11], [x11], [:], [USE_X11="no"]) - PKG_CHECK_MODULES([XEXT], [xext], [:], [USE_X11="no"]) - PKG_CHECK_MODULES([XFIXES], [xfixes], [:], [USE_X11="no"]) -fi - if test "$USE_X11" = "yes"; then PKG_CHECK_MODULES(LIBVA_X11_DEPS, [libva-x11], [AC_DEFINE([HAVE_VA_X11], [1], [Defined to 1 if VA/X11 API is enabled])], |