From fdb56f0113e1f25a2f6172a86d9163d829a68f56 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Wed, 20 Nov 2002 23:21:17 +0000 Subject: avoid failure with clients that use xine lib (xine_check use X calls, for all Xv stuff, and it's not dlsymable, since libXv.a is the standard, maybe it's time to think about a plugin for those X related checks). CVS patchset: 3324 CVS date: 2002/11/20 23:21:17 --- configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 761ca8833..8f07915f7 100644 --- a/configure.ac +++ b/configure.ac @@ -381,7 +381,16 @@ AC_CHECK_LIB(Xv, XvShmCreateImage, echo fi ],, [$X_LIBS $X_PRE_LIBS -lXext $X_EXTRA_LIBS]) AM_CONDITIONAL(HAVE_XV, test x$ac_have_xv = "xyes") +dnl +dnl xine_check use Xv functions API. +dnl +if test x$ac_have_xv = "xyes"; then + EXTRA_X_LIBS="$XV_LIBS -lXext" + EXTRA_X_CFLAGS="-L$xv_path" +fi AC_SUBST(XV_LIB) +AC_SUBST(EXTRA_X_LIBS) +AC_SUBST(EXTRA_X_CFLAGS) dnl --------------------------------------------- dnl Checks for Xinerama extension -- cgit v1.2.3