summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2001-12-24 10:47:51 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2001-12-24 10:47:51 +0000
commita95c8f2f765d11c3f625ff8a779997105dd7919c (patch)
treec4f4920a73293673fbc2c564137d0d52fbeadb52 /configure.ac
parent018fb3ab2f734e033ee6dbec31f4be400cbe4e2c (diff)
downloadgst-plugins-bad-a95c8f2f765d11c3f625ff8a779997105dd7919c.tar.gz
gst-plugins-bad-a95c8f2f765d11c3f625ff8a779997105dd7919c.tar.bz2
gst-plugins-bad-a95c8f2f765d11c3f625ff8a779997105dd7919c.zip
changes to make xvideo work again
Original commit message from CVS: changes to make xvideo work again I have some compilation errors now though, help required ;(
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 6 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index e343b676..581ff0fe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -362,13 +362,14 @@ GST_CHECK_FEATURE(VGA, [VGA], vgavideosink, [
])
dnl *** XVideo ***
+dnl look for the PIC library first, debian likes it
+dnl yeah but redhat doesn't even *have* it and it works fine without
+dnl GST_CHECK_LIBHEADER(XVIDEO, Xv_pic, XvQueryExtension, $X_LIBS $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS, X11/extensions/Xvlib.h)
translit(dnm, m, l) AM_CONDITIONAL(USE_XVIDEO, true)
GST_CHECK_FEATURE(XVIDEO, [X11 XVideo extensions], xvideosink, [
- dnl look for the PIC library first, debian likes it
- GST_CHECK_LIBHEADER(XVIDEO, Xv_pic, XvQueryExtension, $X_LIBS $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS, X11/extensions/Xvlib.h)
- if test "x$HAVE_XVIDEO" = "no"; then
- GST_CHECK_LIBHEADER(XVIDEO, Xv, XvQueryExtension, $X_LIBS $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS, X11/extensions/Xvlib.h)
- fi
+ GST_CHECK_LIBHEADER(XVIDEO, Xv, XvQueryExtension, $X_LIBS $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS, X11/extensions/Xvlib.h)
+ XVIDEO_LIBS="-lXv -lXext"
+ AC_SUBST(XVIDEO_LIBS)
])
dnl Next, check for the optional libraries: