diff --git a/configure b/configure index 7aaeebb..4b191b9 100755 --- a/configure +++ b/configure @@ -8607,7 +8607,7 @@ if test "$VNC" = "yes"; then if test "$has_vncserverlib" = "true"; then GRAPHIC="yes" DRIVERS="$DRIVERS drv_vnc.o" - DRVLIBS="$DRVLIBS -L/usr/local/lib -lvncserver -lnsl -lz -ljpeg" + DRVLIBS="$DRVLIBS -L/usr/local/lib -lvncserver -lz" cat >>confdefs.h <<\_ACEOF #define WITH_VNC 1 diff --git a/drivers.m4 b/drivers.m4 index 5766093..a6bf925 100644 --- a/drivers.m4 +++ b/drivers.m4 @@ -649,7 +649,7 @@ if test "$VNC" = "yes"; then if test "$has_vncserverlib" = "true"; then GRAPHIC="yes" DRIVERS="$DRIVERS drv_vnc.o" - DRVLIBS="$DRVLIBS -L/usr/local/lib -lvncserver -lnsl -lz -ljpeg" + DRVLIBS="$DRVLIBS -L/usr/local/lib -lvncserver -lz" AC_DEFINE(WITH_VNC,1,[vnc driver]) else AC_MSG_WARN(libvncserver not found: vnc driver disabled)