aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreinelt <>2006-01-21 13:26:44 +0000
committerreinelt <>2006-01-21 13:26:44 +0000
commitd57adc5a04c25b39f09af46a392d6a62329cdba1 (patch)
treedbcee93d96594d5044e38483830b426b8c5b180a /configure
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 '')
-rwxr-xr-xconfigure28
1 files changed, 24 insertions, 4 deletions
diff --git a/configure b/configure
index fa1262a..1087c51 100755
--- a/configure
+++ b/configure
@@ -869,10 +869,10 @@ Optional Packages:
(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
--with-plugins=<list> choose which plugins to compile.
type --with-plugins=list for a list
of avaible plugins
@@ -6190,6 +6190,7 @@ for driver in $drivers; do
CRYSTALFONTZ="yes"
CURSES="yes"
CWLINUX="yes"
+ G15="yes"
HD44780="yes"
LCDLINUX="yes"
LCDTERM="yes"
@@ -6227,6 +6228,9 @@ for driver in $drivers; do
Cwlinux)
CWLINUX=$val
;;
+ G15)
+ G15=$val
+ ;;
HD44780)
HD44780=$val
;;
@@ -6380,6 +6384,22 @@ _ACEOF
fi
+if test "$G15" = "yes"; then
+ if test "$has_usb" = "true"; then
+ GRAPHIC="yes"
+ DRIVERS="$DRIVERS drv_G15.o"
+ DRVLIBS="$DRVLIBS -lusb"
+
+cat >>confdefs.h <<\_ACEOF
+#define WITH_G15 1
+_ACEOF
+
+ else
+ { echo "$as_me:$LINENO: WARNING: usb.h not found: G15 driver disabled" >&5
+echo "$as_me: WARNING: usb.h not found: G15 driver disabled" >&2;}
+ fi
+fi
+
if test "$HD44780" = "yes"; then
TEXT="yes"
PARPORT="yes"