--- configure.orig	2012-01-09 17:11:57.000000000 +0400
+++ configure	2012-01-23 02:08:14.837525307 +0400
@@ -5555,7 +5555,7 @@
 
 
 # Check whether --with-libvncserver was given.
-if test "${with_libvncserver+set}" = set; then :
+if test "x$with_libvncserver" != "xno"; then :
   withval=$with_libvncserver;
     VNCINC=`$vncserverconfig --cflags`
 
