checking whether MediaCtrl is supported

Alex Fenton alex at deleteme.pressure.to
Wed Nov 21 18:10:55 PST 2007


Hi

I'm interested to check whether a system's wxWidgets on Linux has been 
compiled with certain features supported. In particular, I'm interested 
in whether mediactrl and graphics context are included - they're not in 
a standard 2.8.7 configure.

The catch is - I would like to be able to do this on the command-line or 
by looking at the file system - not within a compiler, where I could 
test for wxUSE_MEDIACTRL etc.

What I'm trying to do is avoid having wxRuby attempt to compile support 
for these "extras" if the base library hasn't been compiled that way. 
For other "extras" we've added recently like StyledTextCtrl we can test 
for the existence of a .lib file, but this doesn't hold for things that 
are parts of the core lib but not switched-on by default

thanks
alex






More information about the wx-users mailing list