From c23b97451192e0c86cf97ed498642ea82b7ca9d6 Mon Sep 17 00:00:00 2001 From: michux Date: Wed, 25 Mar 2009 21:45:06 +0000 Subject: add vnc driver git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@997 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- drivers.m4 | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'drivers.m4') diff --git a/drivers.m4 b/drivers.m4 index 7afd347..876631f 100644 --- a/drivers.m4 +++ b/drivers.m4 @@ -37,8 +37,8 @@ AC_ARG_WITH( [ LPH7508, LUIse, M50530, MatrixOrbital, MilfordInstruments,] [ Noritake, NULL, PNG, PPM, Pertelian, PHAnderson, picoLCD,] [ picoLCDGraphic, RouterBoard, Sample, serdisplib, SimpleLCD,] - [ st2205, T6963, Trefon, ULA200, USBLCD, USBHUB, WincorNixdorf] - [ X11], + [ st2205, T6963, Trefon, ULA200, USBLCD, USBHUB, VNC,] + [ WincorNixdorf, X11], drivers=$withval, drivers=all ) @@ -98,6 +98,7 @@ for driver in $drivers; do ULA200="yes" USBHUB="yes" USBLCD="yes" + VNC="yes" WINCORNIXDORF="yes" X11="yes" ;; @@ -222,6 +223,9 @@ for driver in $drivers; do USBLCD) USBLCD=$val ;; + VNC) + VNC=$val + ;; WincorNixdorf) WINCORNIXDORF=$val ;; @@ -641,6 +645,17 @@ if test "$USBLCD" = "yes"; then AC_DEFINE(WITH_USBLCD,1,[USBLCD driver]) fi +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 -lpthread -lz /usr/lib/libjpeg.la" + AC_DEFINE(WITH_VNC,1,[vnc driver]) + else + AC_MSG_WARN(libvncserver not found: vnc driver disabled) + fi +fi + if test "$WINCORNIXDORF" = "yes"; then TEXT="yes" SERIAL="yes" -- cgit v1.2.3