diff options
author | michux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2009-03-25 21:45:06 +0000 |
---|---|---|
committer | michux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2009-03-25 21:45:06 +0000 |
commit | c23b97451192e0c86cf97ed498642ea82b7ca9d6 (patch) | |
tree | fa1191b73f330bb4625596dace70243a5085bef1 /drivers.m4 | |
parent | 33422af5b63a50e337da8817ad02639a33f6ea5e (diff) | |
download | lcd4linux-c23b97451192e0c86cf97ed498642ea82b7ca9d6.tar.gz |
add vnc driver
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@997 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drivers.m4')
-rw-r--r-- | drivers.m4 | 19 |
1 files changed, 17 insertions, 2 deletions
@@ -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" |