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

Alexey Eromenko al4321 at gmail.com
Thu Apr 14 14:54:49 PDT 2011

On Wed, Apr 13, 2011 at 11:25 PM, Бранко Мајић <branko at majic.rs> wrote:
> 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. I'm well aware that the code I've provided
> might be suboptimal. If you have any suggestions on improving this in
> any way, or if you need it to be cleaner and safer, please let me know.
> The patch is licensed under the MIT license. It has already been tested
> on Gentoo, and is part of the official Gentoo ebuild (I'm the one who
> submitted it there, you can take a look at the relevant bug report on
> Gentoo Bugtracker - http://bugs.gentoo.org/show_bug.cgi?id=355481).
> The original patch for the 3.2.x series was also available at some
> time, but it generated no response from the list at time.

Yes, thanks ! Great !
I tested that it both compiles and VNC server actually works with 4.0.4.

Also tested it is compilable on VBox SVN 36647.

Please apply the patch.

-Alexey Eromenko "Technologov"

More information about the vbox-dev mailing list