[vbox-dev] Adding the --enable-vnc option to configure script

Бранко Мајић branko at majic.rs
Sat Nov 20 13:50:54 PST 2010


I've only recently found out that even OSE has an option for remote
access to headless VirtualBox machines through VNC. Unfortunately, the
current configure script used for building the OSE does not mention
this capability anywhere in the --help output, nor does it support
trivial enabling through a --enable-feautre switch.

I've attached a small patch for the configure script allowing user to
pass the --enable-vnc configuration option to it. The patch will check
for the existence of libvncserver by compiling a small program which
also checks that the libvncserver is of version of at least 0.9.7.

The version-checking code is a bit crude since the libvncserver doesn't
provide version information as a numeric constant in its headers. I've
put down several lines of code for converting the constant char array
into an unsigned integer. If you have any suggestions on improving this
in any way, please let me know.

The patch is licensed under the MIT license.

Branko Majic
Jabber: branko at majic.rs
Please use only Free formats when sending attachments to me.

Бранко Мајић
Џабер: branko at majic.rs
Молим вас да додатке шаљете искључиво у слободним форматима.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure_enable_vnc.patch
Type: text/x-patch
Size: 2509 bytes
Desc: not available
Url : http://www.virtualbox.org/pipermail/vbox-dev/attachments/20101120/1d279510/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
Url : http://www.virtualbox.org/pipermail/vbox-dev/attachments/20101120/1d279510/attachment-0003.bin 

More information about the vbox-dev mailing list