diff options
author | Vincent Bernat <bernat@luffy.cx> | 2013-06-13 08:20:05 +0200 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2013-06-27 09:14:08 +0800 |
commit | 5fa4c3b3e0d06cfa92edc2dddc517a402b25add8 (patch) | |
tree | 001c77377f12fcfb06d29804047ac9a034202690 | |
parent | 908f6a7e6bdd162b40d83279a54195652339ecdf (diff) | |
download | libva-5fa4c3b3e0d06cfa92edc2dddc517a402b25add8.tar.gz |
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 <bernat@luffy.cx>
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
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 |