diff options
author | harbaum <harbaum@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-01-26 19:26:27 +0000 |
---|---|---|
committer | harbaum <harbaum@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-01-26 19:26:27 +0000 |
commit | 4320569c3151d039151a3ea8f37fcee77d67d96a (patch) | |
tree | b3ed0c9c84f3980c1545fe44df7e10a80dc96ae6 /drivers.m4 | |
parent | 5279f0ae745e91e24299faa254f4c4375971114e (diff) | |
download | lcd4linux-4320569c3151d039151a3ea8f37fcee77d67d96a.tar.gz |
[lcd4linux @ 2006-01-26 19:26:26 by harbaum]
Added LCD2USB support
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@624 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
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" |