diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2002-11-20 23:21:17 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2002-11-20 23:21:17 +0000 |
commit | fdb56f0113e1f25a2f6172a86d9163d829a68f56 (patch) | |
tree | fc741fc815d45548d4325e73d0d16adcb9eeb352 /configure.ac | |
parent | eb344a888e453557c4111ac24efc7a722c4290a5 (diff) | |
download | xine-lib-fdb56f0113e1f25a2f6172a86d9163d829a68f56.tar.gz xine-lib-fdb56f0113e1f25a2f6172a86d9163d829a68f56.tar.bz2 |
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
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
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 |