X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;ds=sidebyside;f=configure.ac;h=b14d624345546a847f81e8c7ccdf1e360188a31d;hb=81a2cf7de059954f9f026a6064f9dc4424a31196;hp=540bdce916f24a3ca65da8c75e870289d7808aaf;hpb=c8d523bcc1e8cfbc432002908dc1e37de002ce78;p=android-x86%2Fhardware-intel-common-libva.git diff --git a/configure.ac b/configure.ac index 540bdce..b14d624 100644 --- a/configure.ac +++ b/configure.ac @@ -153,6 +153,11 @@ AC_ARG_ENABLE([wayland], [build with VA/Wayland API support @<:@default=yes@:>@])], [], [enable_wayland="yes"]) +AC_ARG_ENABLE([va-messaging], + [AC_HELP_STRING([--enable-va-messaging], + [build with va info and error messaging @<:@default=yes@:>@])], + [], [enable_va_messaging="yes"]) + AC_ARG_ENABLE(dummy-driver, [AC_HELP_STRING([--enable-dummy-driver], [build dummy video driver @<:@default=yes@:>@])], @@ -186,6 +191,11 @@ if test "$enable_docs" = "yes"; then fi AM_CONDITIONAL(ENABLE_DOCS, test "$enable_docs" = "yes") +# Check for va messaging +if test "$enable_va_messaging" = "yes"; then + AC_DEFINE([ENABLE_VA_MESSAGING], [1], [Defined to 1 if va messaging is needed]) +fi + # Check for __attribute__((visibility())) AC_CACHE_CHECK([whether __attribute__((visibility())) is supported], ac_cv_have_gnuc_visibility_attribute, @@ -340,4 +350,5 @@ echo Default driver path .............. : $LIBVA_DRIVERS_PATH echo Extra window systems ............. : $BACKENDS echo Build dummy driver ............... : $enable_dummy_driver echo Build documentation .............. : $enable_docs +echo Build with messaging ............. : $enable_va_messaging echo