From 5fa4c3b3e0d06cfa92edc2dddc517a402b25add8 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Thu, 13 Jun 2013 08:20:05 +0200 Subject: [PATCH] dummy_drv_video: add back VA_DRIVER_INIT_FUNC definition for __vaDriverInit_*() Since commit ca1798e77b6fa99dbb010f202a057f75415afd52, dummy driver was defining VA_DRIVER_INIT_FUNC symbol instead of __vaDriverInit_0_33 and therefore cannot be used for testing anymore. We restore the definition of this symbol in configure.ac. Signed-off-by: Vincent Bernat --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index 470a510..4b77d4f 100644 --- a/configure.ac +++ b/configure.ac @@ -291,6 +291,11 @@ if test "$USE_DRM:$USE_X11:$USE_WAYLAND" = "no:no:no"; then AC_MSG_ERROR([Please select at least one backend (DRM, X11, Wayland)]) fi +# Define __vaDriverInit*() function name for dummy backend +VA_DRIVER_INIT_FUNC="__vaDriverInit_${VA_API_MAJOR_VERSION}_${VA_API_MINOR_VERSION}" +AC_DEFINE_UNQUOTED([VA_DRIVER_INIT_FUNC], [$VA_DRIVER_INIT_FUNC], + [Defined to the versioned __vaDriverInit function name]) + AC_OUTPUT([ Makefile debian.upstream/Makefile -- 2.7.4