From 83a890a4c831fac8421cd34e6d7b7023e9b342c4 Mon Sep 17 00:00:00 2001 From: reinelt Date: Sat, 21 Jan 2006 13:26:44 +0000 Subject: [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 --- drivers.m4 | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'drivers.m4') 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,\!' 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" -- cgit v1.2.3