Lines Matching +full:check +full:- +full:api +full:- +full:version
17 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
23 # libva-utils package version number
24 # package version number follows libva package version number to
25 # comply with the same version used for released
27 # - major version is libva_major_version
28 # - minor version is libva_minor_version
29 # - micro version is libva_micro_version
30 # - pre version is libva_pre_version, usually development version
42 # libva minimum version requirement, at this released version
43 # libva-utils was created
46 # Wayland minimum version number
52 [https://github.com/intel/libva-utils/issues/new],
53 [libva-utils],
54 [https://github.com/intel/libva-utils])
57 AM_INIT_AUTOMAKE([dist-bzip2])
75 [AC_HELP_STRING([--enable-drm],
76 [build with VA/DRM API support @<:@default=yes@:>@])],
80 [AC_HELP_STRING([--enable-x11],
81 [build with VA/X11 API support @<:@default=auto@:>@])],
86 [AC_HELP_STRING([--enable-wayland],
87 [build with VA/Wayland API support @<:@default=auto@:>@])],
92 [AC_HELP_STRING([--enable-tests],
107 # Check for __attribute__((visibility()))
115 if ${CC-cc} -Werror -S conftest.c -o conftest.s >/dev/null 2>&1; then
122 rm -f conftest.[cs]
129 # Check for -fstack-protector
131 if test "X$CC-cc" != "X"; then
132 AC_MSG_CHECKING([whether ${CC-cc} accepts -fstack-protector])
134 CFLAGS="$CFLAGS -fstack-protector"
145 # Check for libva (for dynamic linking)
148 LIBVA_VERSION=`$PKG_CONFIG --variable=libva_version libva`
150 LIBVA_API_VERSION=`$PKG_CONFIG --modversion libva`
151 VA_MAJOR_VERSION=`echo "$LIBVA_API_VERSION" | cut -d'.' -f1`
152 VA_MINOR_VERSION=`echo "$LIBVA_API_VERSION" | cut -d'.' -f2`
153 VA_MICRO_VERSION=`echo "$LIBVA_API_VERSION" | cut -d'.' -f3`
155 # Check for DRM (mandatory)
156 PKG_CHECK_MODULES([LIBVA_DRM], [libdrm libva-drm = $LIBVA_API_VERSION])
161 AC_DEFINE([HAVE_VA_DRM], [1], [Defined to 1 if VA/DRM API is supported])
165 # Check for X11
168 PKG_CHECK_MODULES([X11], [x11 libva-x11 = $LIBVA_API_VERSION],
171 if test "x$USE_X11" = "xno" -a "x$enable_x11" = "xyes"; then
176 AC_DEFINE([HAVE_VA_X11], [1], [Defined to 1 if VA/X11 API is supported])
181 dnl Check for Wayland
187 …PKG_CHECK_MODULES([WAYLAND], [wayland-client >= wayland_api_version libva-wayland = $LIBVA_API_VER…
190 if test "x$USE_WAYLAND" = "xno" -a "x$enable_wayland" = "xyes"; then
196 WAYLAND_PREFIX=`$PKG_CONFIG --variable=prefix wayland-client`
197 AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner],,
201 [Defined to 1 if VA/Wayland API is supported])
210 dnl Check for builds without backend
238 echo "libva-utils - ${LIBVA_UTILS_VERSION}"
240 echo Libva VA-API version ............. : $LIBVA_API_VERSION
243 echo Enable Unit-tests .................... : $enable_tests