aboutsummaryrefslogtreecommitdiffstats
path: root/drivers.m4
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-01-21 13:26:44 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-01-21 13:26:44 +0000
commit83a890a4c831fac8421cd34e6d7b7023e9b342c4 (patch)
treedbcee93d96594d5044e38483830b426b8c5b180a /drivers.m4
parentab1f95d24f2b5132f99812ee68a181cd7fa0dc01 (diff)
downloadlcd4linux-83a890a4c831fac8421cd34e6d7b7023e9b342c4.tar.gz
[lcd4linux @ 2006-01-21 13:26:43 by reinelt]
Logitech G-15 keyboard LCD driver from Dave Ingram git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@618 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drivers.m4')
-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"