mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
stray x check
Original commit message from CVS: stray x check
This commit is contained in:
parent
eee282c521
commit
2882aae83f
1 changed files with 8 additions and 0 deletions
|
@ -364,7 +364,12 @@ dnl non-PIC libXv, if not then don not use Xv.
|
||||||
dnl FIXME: perhaps warn user if they have a shared libXv since
|
dnl FIXME: perhaps warn user if they have a shared libXv since
|
||||||
dnl this is an error until XFree86 starts shipping one
|
dnl this is an error until XFree86 starts shipping one
|
||||||
translit(dnm, m, l) AM_CONDITIONAL(USE_XVIDEO, true)
|
translit(dnm, m, l) AM_CONDITIONAL(USE_XVIDEO, true)
|
||||||
|
|
||||||
GST_CHECK_FEATURE(XVIDEO, [X11 XVideo extensions], xvideosink videosink, [
|
GST_CHECK_FEATURE(XVIDEO, [X11 XVideo extensions], xvideosink videosink, [
|
||||||
|
dnl use X_CFLAGS for check
|
||||||
|
save_FLAGS=$CFLAGS
|
||||||
|
CFLAGS=$X_CFLAGS
|
||||||
|
|
||||||
dnl check for PIC static lib
|
dnl check for PIC static lib
|
||||||
GST_CHECK_LIBHEADER(XVIDEO, Xv_pic, XvQueryExtension, $X_LIBS $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS, X11/extensions/Xvlib.h, XVIDEO_LIBS="-lXv_pic -lXext")
|
GST_CHECK_LIBHEADER(XVIDEO, Xv_pic, XvQueryExtension, $X_LIBS $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS, X11/extensions/Xvlib.h, XVIDEO_LIBS="-lXv_pic -lXext")
|
||||||
if test x$HAVE_XVIDEO = xno; then
|
if test x$HAVE_XVIDEO = xno; then
|
||||||
|
@ -372,6 +377,9 @@ GST_CHECK_FEATURE(XVIDEO, [X11 XVideo extensions], xvideosink videosink, [
|
||||||
GST_CHECK_LIBHEADER(XVIDEO, Xv, XvQueryExtension, $X_LIBS $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS, X11/extensions/Xvlib.h, XVIDEO_LIBS="-lXv -lXext")
|
GST_CHECK_LIBHEADER(XVIDEO, Xv, XvQueryExtension, $X_LIBS $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS, X11/extensions/Xvlib.h, XVIDEO_LIBS="-lXv -lXext")
|
||||||
fi
|
fi
|
||||||
AC_SUBST(XVIDEO_LIBS)
|
AC_SUBST(XVIDEO_LIBS)
|
||||||
|
|
||||||
|
dnl restore CFLAGS
|
||||||
|
CFLAGS=$save_CFLAGS
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl Next, check for the optional libraries:
|
dnl Next, check for the optional libraries:
|
||||||
|
|
Loading…
Reference in a new issue