~ubuntu-branches/ubuntu/trusty/vdpau-video/trusty-proposed

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler, Andres Mejia, Reinhard Tartler
  • Date: 2011-09-30 13:25:24 UTC
  • mfrom: (2.2.1 sid)
  • Revision ID: james.westby@ubuntu.com-20110930132524-mxqw8tv1h0nu96ll
Tags: 0.7.3-1
* Team upload

[ Andres Mejia ]
* Update to my @debian.org email.

[ Reinhard Tartler ]
* New Upstream Release:
  - Add compatibility glue with libva >= 1.0.8
  - Fix possible crash when rendering multiple surfaces at once
  - Fix build if no OpenGL header is available (libva >= 0.31.1)
  - Fix VA/GLX build with upstream libva and newer OpenGL headers,
    Closes: #614485
* Drop debian/patch/glx-check.patch, no longer required
* Bump Standards version, no changes required

Show diffs side-by-side

added added

removed removed

Lines of Context:
199
199
dnl Check for OpenGL rendering extensions to VA-API
200
200
AC_CACHE_CHECK([for VA-API (GLX extensions)],
201
201
  ac_cv_libva_glx_extensions, [
202
 
  AC_CHECK_HEADERS([va/va_glx.h],
 
202
  saved_CFLAGS="$CFLAGS"
 
203
  CFLAGS="$CFLAGS $LIBVA_DEPS_CFLAGS"
 
204
  AC_TRY_COMPILE([
 
205
    #include <va/va_version.h>
 
206
    #if VA_MAJOR_VERSION == 0 && VA_MINOR_VERSION == 30
 
207
    # if !defined(VA_SDS_VERSION) || (VA_SDS_VERSION < $LIBVA_GLX_SDS_VERSION_0_30)
 
208
    #  error "VA-API version >= 0.30.0-sds$LIBVA_GLX_SDS_VERSION_0_30 is required"
 
209
    # endif
 
210
    #elif VA_MAJOR_VERSION == 0 && VA_MINOR_VERSION == 31
 
211
    # if VA_MICRO_VERSION < 1
 
212
    #  if !defined(VA_SDS_VERSION) || (VA_SDS_VERSION < $LIBVA_GLX_SDS_VERSION_0_31)
 
213
    #   error "VA-API version >= 0.31.0-sds$LIBVA_GLX_SDS_VERSION_0_31 is required"
 
214
    #  endif
 
215
    # endif
 
216
    #elif VA_MAJOR_VERSION ==0 && VA_MINOR_VERSION >= 32
 
217
    #else
 
218
    # error "This version of VA-API is not supported for OpenGL rendering"
 
219
    #endif
 
220
  ], [],
203
221
  [ac_cv_libva_glx_extensions="yes"],
204
222
  [ac_cv_libva_glx_extensions="no" USE_GLX=0])
 
223
  CFLAGS="$saved_CFLAGS"
205
224
])
206
225
 
207
226
dnl Check for VA-API drivers path