From 5aef0c5097df02b2809eb86c0c81c9e04667ee8e Mon Sep 17 00:00:00 2001 From: reinelt <> Date: Fri, 24 Sep 2004 21:41:00 +0000 Subject: [lcd4linux @ 2004-09-24 21:40:52 by reinelt] new driver for the BWCT USB LCD interface board. --- drivers.m4 | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'drivers.m4') diff --git a/drivers.m4 b/drivers.m4 index 561ad8b..664ff5c 100644 --- a/drivers.m4 +++ b/drivers.m4 @@ -9,9 +9,9 @@ AC_ARG_WITH( [ drivers may be excluded with 'all,!',] [ (try 'all,\!' if your shell complains...)] [ possible drivers are:] - [ BeckmannEgle, CrystalFontz, Curses, Cwlinux, HD44780,] - [ M50530, MatrixOrbital, MilfordInstruments, NULL] - [ PNG, PPM, RouterBoard, T6963, USBLCD, X11], + [ BeckmannEgle, BWCT, CrystalFontz, Curses, Cwlinux,] + [ HD44780, M50530, MatrixOrbital, MilfordInstruments,] + [ NULL, PNG, PPM, RouterBoard, T6963, USBLCD, X11], drivers=$withval, drivers=all ) @@ -33,6 +33,7 @@ for driver in $drivers; do case "$driver" in all) BECKMANNEGLE="yes" + BWCT="yes" CRYSTALFONTZ="yes" CURSES="yes" CWLINUX="yes" @@ -51,6 +52,9 @@ for driver in $drivers; do BeckmannEgle) BECKMANNEGLE=$val ;; + BWCT) + BWCT=$val + ;; CrystalFontz) CRYSTALFONTZ=$val ;; @@ -108,10 +112,23 @@ GRAPHIC="no" IMAGE="no" if test "$BECKMANNEGLE" = "yes"; then + TEXT="yes" + SERIAL="yes" DRIVERS="$DRIVERS drv_BeckmannEgle.o" AC_DEFINE(WITH_BECKMANNEGLE,1,[Beckmann&Egle driver]) fi +if test "$BWCT" = "yes"; then + if test "$has_usb" = "true"; then + TEXT="yes" + DRIVERS="$DRIVERS drv_BWCT.o" + AC_DEFINE(WITH_BWCT,1,[BWCT driver]) + DRVLIBS="$DRVLIBS -lusb" + else + AC_MSG_WARN(usb.h not found: BWCT driver disabled) + fi +fi + if test "$CRYSTALFONTZ" = "yes"; then TEXT="yes" SERIAL="yes" -- cgit v1.2.3