Commit 2d44cfd8 authored by dscho's avatar dscho

fix: if no CXX is defined, really don't use zrle (Karl Runge)

parent 4d871894
INCLUDES=-I. INCLUDES=-I.
VNCSERVERLIB=-L. -lvncserver -L/usr/local/lib -lz -ljpeg VNCSERVERLIB=-L. -lvncserver -L/usr/local/lib -lz -ljpeg
#CXX=
CXX=g++ CXX=g++
CC=gcc CC=gcc
LINK=gcc LINK=gcc
# for IRIX
#EXTRALIBS=-L/usr/lib32
# for Solaris # for Solaris
#EXTRALIBS=-lsocket -lnsl -L/usr/X/lib #EXTRALIBS=-lsocket -lnsl -L/usr/X/lib
......
...@@ -258,7 +258,9 @@ rfbNewTCPOrUDPClient(rfbScreen,sock,isUDP) ...@@ -258,7 +258,9 @@ rfbNewTCPOrUDPClient(rfbScreen,sock,isUDP)
cl->preferredEncoding = rfbEncodingRaw; cl->preferredEncoding = rfbEncodingRaw;
cl->correMaxWidth = 48; cl->correMaxWidth = 48;
cl->correMaxHeight = 48; cl->correMaxHeight = 48;
#ifdef HAVE_ZRLE
cl->zrleData = 0; cl->zrleData = 0;
#endif
cl->copyRegion = sraRgnCreate(); cl->copyRegion = sraRgnCreate();
cl->copyDX = 0; cl->copyDX = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment