File dont-build-x11vnc of Package LibVNCServer

--- configure.ac.orig
+++ configure.ac
@@ -745,9 +745,9 @@ AC_HEADER_STDC
 AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h sys/timeb.h syslog.h unistd.h ws2tcpip.h])
 
 # x11vnc only:
-if test "$build_x11vnc" = "yes"; then
-	AC_CHECK_HEADERS([pwd.h sys/wait.h utmpx.h termios.h sys/ioctl.h sys/stropts.h])
-fi
+#if test "$build_x11vnc" = "yes"; then
+#AC_CHECK_HEADERS([pwd.h sys/wait.h utmpx.h termios.h sys/ioctl.h sys/stropts.h])
+#fi
 
 # Checks for typedefs, structures, and compiler characteristics.
 AC_C_CONST
@@ -792,9 +792,9 @@ fi
 
 AC_CHECK_FUNCS([ftime gethostbyname gethostname gettimeofday inet_ntoa memmove memset mmap mkfifo select socket strchr strcspn strdup strerror strstr])
 # x11vnc only:
-if test "$build_x11vnc" = "yes"; then
-	AC_CHECK_FUNCS([setsid setpgrp getpwuid getpwnam getspnam getuid geteuid setuid setgid seteuid setegid initgroups waitpid setutxent grantpt shmat])
-fi
+#if test "$build_x11vnc" = "yes"; then
+#	AC_CHECK_FUNCS([setsid setpgrp getpwuid getpwnam getspnam getuid geteuid setuid setgid seteuid setegid initgroups waitpid setutxent grantpt shmat])
+#fi
 
 # check, if shmget is in cygipc.a
 AC_CHECK_LIB(cygipc,shmget)
@@ -845,7 +845,7 @@ AC_CONFIG_FILES([Makefile
 #
 # x11vnc only:
 #
-if test "$build_x11vnc" = "yes"; then
+#if test "$build_x11vnc" = "yes"; then
 	#
 	# NOTE: if you are using the LibVNCServer-X.Y.Z.tar.gz source
 	# tarball and nevertheless want to run autoconf (i.e. aclocal,
@@ -871,7 +871,7 @@ if test "$build_x11vnc" = "yes"; then
 		done
 		echo "with-system-libvncserver: *NOTE* move them back manually to start over."
 	fi
-fi
+#fi
 
 AC_CONFIG_COMMANDS([chmod-libvncserver-config],[chmod a+x libvncserver-config])
 AC_OUTPUT
openSUSE Build Service is sponsored by