summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@noraisin.net>2009-06-12 16:39:39 +0100
committerJan Schmidt <thaytan@noraisin.net>2009-06-20 15:21:46 +0100
commitf45f87709c7da9105024b0ceedda0e3155526240 (patch)
tree0f4f295f44743286c3339736df696e1a67fad1c4 /sys
parentb4fa8a4ef01a78638f5bc16a14802acfa1c11106 (diff)
VDPAU: Enhance the configure tests
Check for the VDPAU headers in /usr/include/nvidia as they are on some platforms (Fedora/rpmfusion). Also check that the libvdpau library is available.
Diffstat (limited to 'sys')
-rw-r--r--sys/vdpau/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/vdpau/Makefile.am b/sys/vdpau/Makefile.am
index f4380aff2..f62ee0b44 100644
--- a/sys/vdpau/Makefile.am
+++ b/sys/vdpau/Makefile.am
@@ -9,9 +9,10 @@ libgstvdpau_la_SOURCES = \
gstvdp.c \
gstvdpyuvvideo.c
-libgstvdpau_la_CFLAGS = $(GST_CFLAGS) $(X11_CFLAGS) -Ivdpau
+libgstvdpau_la_CFLAGS = $(GST_CFLAGS) $(X11_CFLAGS) $(VDPAU_CFLAGS)
libgstvdpau_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) \
- $(GST_PLUGINS_BASE) $(X11_LIBS) -lgstvideo-$(GST_MAJORMINOR) -lvdpau
+ $(GST_PLUGINS_BASE) $(X11_LIBS) -lgstvideo-$(GST_MAJORMINOR) \
+ $(VDPAU_LIBS)
libgstvdpau_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstvdpau_la_LIBTOOLFLAGS = --tag=disable-static