diff options
author | Peter Alfredsen <loki_val@gentoo.org> | 2008-12-19 08:10:06 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-12-26 06:35:25 +0800 |
commit | 5586aa24ebfbd7333c3438a7c7e4810bc548ff1b (patch) | |
tree | a5f529b52bd7a2afbb4222d2a703bd878d08b682 | |
parent | 304dddf6578c55ce7324d930cfb9b3ba605a007a (diff) |
xvmc: fix up needed libs
(cherry picked from commit 74bc420940de4ed02705211ddebbc4033c032242)
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | src/xvmc/Makefile.am | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index dd4e1142..3f0c6d16 100644 --- a/configure.ac +++ b/configure.ac @@ -248,6 +248,7 @@ if test "$XVMC" = yes && test "$DRI" = no; then fi if test "$XVMC" = yes; then PKG_CHECK_MODULES(XVMCLIB, [xvmc], [XVMC=yes], [XVMC=no]) + PKG_CHECK_MODULES(XEXT, [xext]) fi AC_MSG_CHECKING([whether to include XvMC support]) AC_MSG_RESULT([$XVMC]) diff --git a/src/xvmc/Makefile.am b/src/xvmc/Makefile.am index 00601903..9e626832 100644 --- a/src/xvmc/Makefile.am +++ b/src/xvmc/Makefile.am @@ -7,7 +7,7 @@ libI810XvMC_la_SOURCES = I810XvMC.c \ libI810XvMC_la_CFLAGS = @WARN_CFLAGS@ @XORG_CFLAGS@ @DRM_CFLAGS@ @DRI_CFLAGS@ \ -I$(top_srcdir)/src -DTRUE=1 -DFALSE=0 libI810XvMC_la_LDFLAGS = -version-number 1:0:0 -libI810XvMC_la_LIBADD = @DRI_LIBS@ +libI810XvMC_la_LIBADD = @DRI_LIBS@ @DRM_LIBS@ @XVMCLIB_LIBS@ libIntelXvMC_la_SOURCES = intel_xvmc.c \ intel_xvmc.h \ @@ -27,7 +27,7 @@ libIntelXvMC_la_SOURCES = intel_xvmc.c \ libIntelXvMC_la_CFLAGS = @XORG_CFLAGS@ @DRM_CFLAGS@ @DRI_CFLAGS@ \ @XVMCLIB_CFLAGS@ -I$(top_srcdir)/src -DTRUE=1 -DFALSE=0 libIntelXvMC_la_LDFLAGS = -version-number 1:0:0 -libIntelXvMC_la_LIBADD = @DRI_LIBS@ +libIntelXvMC_la_LIBADD = @DRI_LIBS@ @DRM_LIBS@ @XVMCLIB_LIBS@ @XEXT_LIBS@ -lpthread INTEL_G4A = \ dual_prime_igd.g4a \ |