From: Vincent Bernat Date: Thu, 13 Jun 2013 06:20:05 +0000 (+0200) Subject: dummy_drv_video: add back VA_DRIVER_INIT_FUNC definition for __vaDriverInit_*() X-Git-Tag: libva-1.2.1~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5fa4c3b3e0d06cfa92edc2dddc517a402b25add8;p=platform%2Fupstream%2Flibva.git 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 --- 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