]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vbox: Stop hardcoding a single path for VBoxXPCOMC.so
authorMatthias Bolte <matthias.bolte@googlemail.com>
Fri, 22 Oct 2010 19:25:03 +0000 (21:25 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Fri, 29 Oct 2010 13:50:38 +0000 (15:50 +0200)
commitf4a8542dd5a23710dde7688fd959d1313bc2b9c7
tree896c3f162c21930b9e4be8444d51fb327771049a
parent3fb71895e808450737f44111a73e89b4d5cb7633
vbox: Stop hardcoding a single path for VBoxXPCOMC.so

This partly reverts df90ca7661b0a789bd790ccf8258a4527c13eb8d.

Don't disable the VirtualBox driver when configure can't find
VBoxXPCOMC.so, rely on detection at runtime again instead.

Keep --with-vbox=/path/to/virtualbox intact, added to for:
https://bugzilla.redhat.com/show_bug.cgi?id=609185

Detection order for VBoxXPCOMC.so:

1. VBOX_APP_HOME environment variable
2. configure provided location
3. hardcoded list of known locations
4. dynamic linker search path

Also cleanup the glue code and improve error reporting.
configure.ac
po/POTFILES.in
src/vbox/vbox_XPCOMCGlue.c
src/vbox/vbox_XPCOMCGlue.h