Use static system libz.a so Xvnc doesn't depend on libz.so.1.  As a result, we don't need to build the included zlib anymore.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3943 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/unix/build-xorg-7.4 b/unix/build-xorg-7.4
index da33d5d..69b5a03 100755
--- a/unix/build-xorg-7.4
+++ b/unix/build-xorg-7.4
@@ -103,12 +103,8 @@
     # Build VNC
     echo "*** Building VNC ***"
     cd ..
-    VNCCFGFLAGS=
-    if [ $STATIC = 1 ]; then
-        VNCCFGFLAGS=--with-included-zlib
-    fi
     make distclean || true
-    ./configure ${1+"$@"} ${VNCCFGFLAGS} --prefix=${PREFIX}
+    ./configure ${1+"$@"} --prefix=${PREFIX}
     make
     cd unix