[Scummvm-devel] ScummVM goes buildbot

Max Horn max at quendi.de
Wed Mar 18 23:31:40 CET 2009

True, reseting _host or adding a new _host_desc field would be a  
crutch. Just like _host_alias is a crutch, which isn't easily  
explained to anybody having to work on the configure script (esp. w/o  
any comments).

I am not particular fond of any of these approaches. They just cover  
up the real problem with more hacks, instead of solving it. So, while  
it's OK that you commited the _host_alias bit for now, ultimately I  
want to get rid of this again. (and of the _host_vendor var, which  
currently not used. Good thing, too ;).

In particular, we should revise various checks that look at _host*  
values and change them to work differently. E.g. choose the plugin  
code not based on _host_os, but rather based on a new variable  
_plugin_build_method, which is set earlier in an appropriate fashion.  
Same for others.

One thing that could factor in here and which was totally ignored in  
this discussion so far is the --backend switch and the corresponding  
_backend variable. This is e.g. used by the iPhone port.

Anyway, I have no clear picture on this yet. I guess it's best to wait  
for the wii and dc code to hit configure in SVN, then look at the  
resulting code and devise an appropriate solution while taking the  
actual needs of ports into account.


More information about the Scummvm-devel mailing list