[MPlayer-dev-eng] autoconf suxx!

weigelt at metux.de weigelt at metux.de
Mon Oct 6 20:07:13 CEST 2003


hi folks,

yet another day when autoconf really sucks!
it seems that enables support for some libs i had on my system when
configured lasttime, but w/o asking me.

now i've removed some unused stuff (i.e. cdda) and mplayer doesnt 
want to run nor compile. 

could we find a better solution ?

especially for easier packaging it would be great to have a machine
readable description of all supported features and their dependencies.
the buildsystem can present them to the user (or perhaps sometimes
find out automatically, if he REALLY wants this). With such an description
it would be quite easy to do reliable builds completely automatically.

An quick example (in an XML representation):

<PACKAGE name="mplayer">
    <GROUP name="decoders">
	<FEATURE name="mpeg2">
	    <DEPEND type="external/clib" name="libmpeg2"/>
	    <ENABLE_MODULE name="mplayer/decoder/mpeg2"/>
	</FEATURE>
	<FEATURE name="realaudio">
	    <DEPEND type="external/clib" name="realaudio"/>
	    <ENABLE_MODULE name="mplayer/decoder/realaudio">
	</FEATURE>
	....
    </GROUP>
    <GROUP name="video-output">
	<FEATURE name="x11">
	    <DEPEND type="external/clib" name="xlib"/>
	    <ENABLE_MODULE name="mplayer/video_out/x11">
	</FEATURE>
	<FEATURE name="jpg">
	    <DEPEND type="external/clib" name="libjpeg" minversion="1.0.3"/>
	    <ENABLE_MODULE name="mplayer/video_out/jpg">
	</FEATURE>
    </GROUP>
    ...
</PACKAGE>



cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT services

 phone:     +49 36207 519931         www:       http://www.metux.de/     
 fax:       +49 36207 519932         email:     contact at metux.de
 cellphone: +49 174 7066481	     
---------------------------------------------------------------------
 Diese Mail wurde mit UUCP versandt.      http://www.metux.de/uucp/



More information about the MPlayer-dev-eng mailing list