diff options
author | harbaum <> | 2006-01-26 19:26:27 +0000 |
---|---|---|
committer | harbaum <> | 2006-01-26 19:26:27 +0000 |
commit | 5f453b161a0cb67b7cf507e28349c7257a477063 (patch) | |
tree | b3ed0c9c84f3980c1545fe44df7e10a80dc96ae6 /drivers.m4 | |
parent | bbc3ae1aa6375621c9a9f7e5ea5bb8a3d43d8df3 (diff) | |
download | lcd4linux-5f453b161a0cb67b7cf507e28349c7257a477063.tar.gz |
[lcd4linux @ 2006-01-26 19:26:26 by harbaum]
Added LCD2USB support
Diffstat (limited to 'drivers.m4')
-rw-r--r-- | drivers.m4 | 25 |
1 files changed, 21 insertions, 4 deletions
@@ -29,10 +29,11 @@ AC_ARG_WITH( [ (try 'all,\!<driver>' if your shell complains...)] [ possible drivers are:] [ BeckmannEgle, BWCT, CrystalFontz, Curses, Cwlinux,] - [ G15, HD44780, LCDLinux, LCDTerm, LPH7508, LUIse,] - [ M50530, MatrixOrbital, MilfordInstruments, Noritake,] - [ NULL, PNG, PPM, RouterBoard, Sample, serdisplib,] - [ SimpleLCD, T6963, Trefon, USBLCD, WincorNixdorf, X11], + [ G15, HD44780, LCD2USB LCDLinux, LCDTerm, LPH7508,] + [ LUIse, M50530, MatrixOrbital, MilfordInstruments,] + [ Noritake, NULL, PNG, PPM, RouterBoard, Sample,] + [ serdisplib, SimpleLCD, T6963, Trefon, USBLCD,] + [ WincorNixdorf, X11], drivers=$withval, drivers=all ) @@ -60,6 +61,7 @@ for driver in $drivers; do CWLINUX="yes" G15="yes" HD44780="yes" + LCD2USB="yes" LCDLINUX="yes" LCDTERM="yes" LPH7508="yes" @@ -102,6 +104,9 @@ for driver in $drivers; do HD44780) HD44780=$val ;; + LCD2USB) + LCD2USB=$val + ;; LCDLINUX) LCDLINUX=$val ;; @@ -250,6 +255,18 @@ if test "$HD44780" = "yes"; then AC_DEFINE(WITH_HD44780,1,[HD44780 driver]) fi +if test "$LCD2USB" = "yes"; then + if test "$has_usb" = "true"; then + TEXT="yes" + SERIAL="yes" + DRIVERS="$DRIVERS drv_LCD2USB.o" + DRVLIBS="$DRVLIBS -lusb" + AC_DEFINE(WITH_LCD2USB,1,[LCD2USB driver]) + else + AC_MSG_WARN(usb.h not found: LCD2USB driver disabled) + fi +fi + if test "$LCDLINUX" = "yes"; then if test "$has_lcd_linux" = true; then TEXT="yes" |