summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorgb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>2010-03-24 16:21:20 +0000
committergb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>2010-03-24 16:21:20 +0000
commit1727295d2c37b0508f74d98eef59bdadfd4ee26b (patch)
treec20eec16b4efd64a649da946649827a9be3f64db /configure.ac
parent725bc7a60730f285b2cb111970062e35584039e1 (diff)
Drop tedious LIBVA_EXTRA_{CFLAGS,LIBS} definitions in Makefile.am. Override CFLAGS & LIBS instead.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index cc996a67..55fd58c0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -181,6 +181,8 @@ PKG_CHECK_MODULES(LIBVA_X11, [$LIBVA_X11_PKGNAME],
if test "$ac_cv_have_vaapi_x11" = "no"; then
if test "$ac_cv_have_vaapi_old" = "yes"; then
LIBVA_X11_PKGNAME="libva"
+ CFLAGS="$CFLAGS $LIBVA_EXTRA_CFLAGS"
+ LIBS="$LIBS $LIBVA_EXTRA_LIBS"
else
AC_MSG_ERROR([could not find VA-API])
fi