aboutsummaryrefslogtreecommitdiffstats
path: root/drivers.m4
diff options
context:
space:
mode:
authorreinelt <>2006-01-21 13:26:44 +0000
committerreinelt <>2006-01-21 13:26:44 +0000
commitd57adc5a04c25b39f09af46a392d6a62329cdba1 (patch)
treedbcee93d96594d5044e38483830b426b8c5b180a /drivers.m4
parent4bf77d119dfc293e834fc6b4d991fa32e2596376 (diff)
downloadlcd4linux-d57adc5a04c25b39f09af46a392d6a62329cdba1.tar.gz
[lcd4linux @ 2006-01-21 13:26:43 by reinelt]
Logitech G-15 keyboard LCD driver from Dave Ingram
Diffstat (limited to '')
-rw-r--r--drivers.m423
1 files changed, 19 insertions, 4 deletions
diff --git a/drivers.m4 b/drivers.m4
index cf5660b..86ad941 100644
--- a/drivers.m4
+++ b/drivers.m4
@@ -29,10 +29,10 @@ AC_ARG_WITH(
[ (try 'all,\!<driver>' if your shell complains...)]
[ possible drivers are:]
[ BeckmannEgle, BWCT, CrystalFontz, Curses, Cwlinux,]
- [ HD44780, LCDLinux, LCDTerm, LPH7508, LUIse, M50530,]
- [ MatrixOrbital, MilfordInstruments, Noritake, NULL,]
- [ PNG, PPM, RouterBoard, Sample, serdisplib, SimpleLCD,]
- [ T6963, Trefon, USBLCD, WincorNixdorf, X11],
+ [ G15, HD44780, LCDLinux, LCDTerm, LPH7508, LUIse,]
+ [ M50530, MatrixOrbital, MilfordInstruments, Noritake,]
+ [ NULL, PNG, PPM, RouterBoard, Sample, serdisplib,]
+ [ SimpleLCD, T6963, Trefon, USBLCD, WincorNixdorf, X11],
drivers=$withval,
drivers=all
)
@@ -58,6 +58,7 @@ for driver in $drivers; do
CRYSTALFONTZ="yes"
CURSES="yes"
CWLINUX="yes"
+ G15="yes"
HD44780="yes"
LCDLINUX="yes"
LCDTERM="yes"
@@ -95,6 +96,9 @@ for driver in $drivers; do
Cwlinux)
CWLINUX=$val
;;
+ G15)
+ G15=$val
+ ;;
HD44780)
HD44780=$val
;;
@@ -223,6 +227,17 @@ if test "$CWLINUX" = "yes"; then
AC_DEFINE(WITH_CWLINUX,1,[CwLinux driver])
fi
+if test "$G15" = "yes"; then
+ if test "$has_usb" = "true"; then
+ GRAPHIC="yes"
+ DRIVERS="$DRIVERS drv_G15.o"
+ DRVLIBS="$DRVLIBS -lusb"
+ AC_DEFINE(WITH_G15,1,[G-15 driver])
+ else
+ AC_MSG_WARN(usb.h not found: G15 driver disabled)
+ fi
+fi
+
if test "$HD44780" = "yes"; then
TEXT="yes"
PARPORT="yes"