[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: kde-extragear-2, problem compiling kmplayer
From:       Brad Hards <bhards () bigpond ! net ! au>
Date:       2003-07-28 8:36:31
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 28 Jul 2003 03:43 am, maor wrote:
> > I have xine-0.9.13-3mdk. Any hints?
> 
> u need xind 1. beta
It'd be nice if the configure script detected that - it is really
hard to diagnose these problems. Can someone please
apply this patch?

RCS file: /home/kde/kdeextragear-2/kmplayer/configure.in.in,v
retrieving revision 1.8
diff -u -3 -p -r1.8 configure.in.in
- --- kmplayer/configure.in.in    25 Jul 2003 16:35:30 -0000      1.8
+++ kmplayer/configure.in.in    28 Jul 2003 08:14:12 -0000
@@ -50,11 +50,18 @@ AC_MSG_CHECKING([if kxineplayer can be c
 AC_MSG_RESULT($have_xine)

 if test "$have_xine" = "yes"; then
+  vers=`xine-config --version 2>/dev/null | awk 'BEGIN { FS = "."; } { printf "%d", \
($1 * 1000 + $2) * 1000 + $3;}'` +  if test -n "$vers" && test "$vers" -ge 1000000
+  then
         AC_DEFINE(HAVE_XINE, 1, [If we have libxine installed])
         LIB_XINE="`xine-config --libs`"
         AC_SUBST(LIB_XINE)
         CFLAGS_XINE="`xine-config --cflags`"
         AC_SUBST(CFLAGS_XINE)
+  else
+       have_xine="no"
+       AC_MSG_WARN([Your xine installation is too old (1.0.0 or later required)])
+  fi
 fi

 AM_CONDITIONAL(include_kxineplayer, test "$have_xine" = "yes")
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/JOCPW6pHgIdAuOMRAsHeAJ0akwT4NvY1Vry3oOb5Rb6qKGum8gCgk8+4
NTpDUOfR9QmLxJbdX9falPg=
=ABuk
-----END PGP SIGNATURE-----
 
> > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic