[Mplayer-cvslog] CVS: main configure,1.209,1.210

Felix Buenemann atmosfear at users.sourceforge.net
Sat Oct 27 12:54:54 CEST 2001


On Friday, 26. October 2001 21:55, Megyer Laszlo wrote:
> Update of /cvsroot/mplayer/main
> In directory mplayer:/var/tmp.root/cvs-serv3892
>
> Modified Files:
> 	configure
> Log Message:
> gtk12-config detection
>
>
> Index: configure
> ===================================================================
> RCS file: /cvsroot/mplayer/main/configure,v
> retrieving revision 1.209
> retrieving revision 1.210
> diff -u -r1.209 -r1.210
> --- configure	26 Oct 2001 13:50:05 -0000	1.209
> +++ configure	26 Oct 2001 19:54:43 -0000	1.210
> @@ -1776,35 +1776,44 @@
>  if test "$_gui" = yes ; then
>  # --------------- GUI begin -------------------
>
> +test -z `which gtk-config` || _gtkconfig="gtk-config"
> +test -z `which gtk12-config` || _gtkconfig="gtk12-config"
> +test -z $_gtkconfig && die "gtk-config not found"
> +
> +test -z `which glib-config` || _glibconfig="glib-config"
> +test -z `which glib12-config` || _glibconfig="glib12-config"
> +test -z $_glibconfig && die "glib-config not found"
> +

You shouldn't use which because it's not available on all systems, instead 
use trial and error. ie first try ftkconfig, if not found try gtk12-config.
-- 
Best Regards,
	Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________
I think it would be a good idea.
	- Mahatma Ghandi, asked what he thought of Western Civilisation



More information about the MPlayer-cvslog mailing list