diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2012-07-26 07:02:39 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2012-07-26 07:02:39 +0800 |
commit | add58558fba10523b4fda216aaf65c80451a7aac (patch) | |
tree | b1593372383d61a1fb62c6b9e8f4c3009c5cf8c3 /configure.ac | |
parent | b70b40930fa29304d360389ec9c4c9b1a5661216 (diff) | |
download | libva-intel-driver-add58558fba10523b4fda216aaf65c80451a7aac.tar.gz libva-intel-driver-add58558fba10523b4fda216aaf65c80451a7aac.tar.bz2 libva-intel-driver-add58558fba10523b4fda216aaf65c80451a7aac.zip |
Revert "Fix build with older VA-API (libva)."
This reverts commit bcca7d23de29423b0d7d9954bfb21cc9bf3834f5.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/configure.ac b/configure.ac index e86403f..da1f84c 100644 --- a/configure.ac +++ b/configure.ac @@ -89,28 +89,6 @@ fi AC_MSG_RESULT([$LIBVA_DRIVERS_PATH]) AC_SUBST(LIBVA_DRIVERS_PATH) -dnl Check for JPEG decoding API -AC_CACHE_CHECK([for JPEG decoding API], ac_cv_have_jpeg_decoding_api, [ - saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $LIBVA_DEPS_CFLAGS" - saved_LIBS="$LIBS" - LIBS="$CFLAGS $LIBVA_DEPS_LIBS" - AC_TRY_COMPILE( - [#include <va/va.h>], - [VAPictureParameterBufferJPEG pic_param; - VASliceParameterBufferJPEG slice_param; - VAIQMatrixBufferJPEG iq_matrix;], - [ac_cv_have_jpeg_decoding_api="yes"], - [ac_cv_have_jpeg_decoding_api="no"] - ) - CFLAGS="$saved_CFLAGS" - LIBS="$saved_LIBS" -]) -if test "$ac_cv_have_jpeg_decoding_api" = "yes"; then - AC_DEFINE(HAVE_JPEG_DECODING, 1, - [Defined to 1 if VA-API exposes JPEG decoding]) -fi - AC_OUTPUT([ Makefile debian.upstream/Makefile |