projects
/
platform
/
upstream
/
libva-intel-driver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ec7164
)
jpeg: fix configure check for newer API.
author
Gwenole Beauchesne
<gwenole.beauchesne@intel.com>
Fri, 11 May 2012 14:26:22 +0000
(16:26 +0200)
committer
Gwenole Beauchesne
<gwenole.beauchesne@intel.com>
Fri, 11 May 2012 15:24:49 +0000
(17:24 +0200)
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
6d081a9
..
9948178
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-97,10
+97,11
@@
AC_CACHE_CHECK([for JPEG decoding API], ac_cv_have_jpeg_decoding_api, [
saved_LIBS="$LIBS"
LIBS="$CFLAGS $LIBVA_DEPS_LIBS"
AC_TRY_COMPILE(
- [#include <va/va.h>],
+ [#include <va/va.h>
+ #include <va/va_dec_jpeg.h>],
[VAPictureParameterBufferJPEG pic_param;
VASliceParameterBufferJPEG slice_param;
- VAIQMatrixBufferJPEG iq_matrix;],
+ VAIQMatrix
Parameter
BufferJPEG iq_matrix;],
[ac_cv_have_jpeg_decoding_api="yes"],
[ac_cv_have_jpeg_decoding_api="no"]
)