From 915154c4eb39dfa4a593d946c3a443a1812cc4ff Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 28 Feb 2009 06:19:46 +0000 Subject: GLCD2USB driver from Till Harbaum git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@987 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- drivers.m4 | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) (limited to 'drivers.m4') diff --git a/drivers.m4 b/drivers.m4 index 826e248..2595214 100644 --- a/drivers.m4 +++ b/drivers.m4 @@ -33,11 +33,12 @@ AC_ARG_WITH( [ (try 'all,\!' if your shell complains...)] [ possible drivers are:] [ BeckmannEgle, BWCT, CrystalFontz, Curses, Cwlinux, D4D,] - [ G15, HD44780, IRLCD, LCD2USB LCDLinux, LCDTerm, LPH7508,] - [ LUIse, M50530, MatrixOrbital, MilfordInstruments, Noritake,] - [ NULL, PNG, PPM, Pertelian, PHAnderson, picoLCD, picoLCDGraphic,] - [ RouterBoard, Sample, serdisplib, SimpleLCD, st2205, T6963, Trefon,] - [ ULA200, USBLCD, USBHUB, WincorNixdorf, X11], + [ G15, GLCD2USB, HD44780, IRLCD, LCD2USB, LCDLinux, LCDTerm,] + [ LPH7508, LUIse, M50530, MatrixOrbital, MilfordInstruments,] + [ Noritake, NULL, PNG, PPM, Pertelian, PHAnderson, picoLCD,] + [ picoLCDGraphic, RouterBoard, Sample, serdisplib, SimpleLCD,] + [ st2205, T6963, Trefon, ULA200, USBLCD, USBHUB, WincorNixdorf] + [ X11], drivers=$withval, drivers=all ) @@ -66,6 +67,7 @@ for driver in $drivers; do D4D="yes" EA232graphic="yes" G15="yes" + GLCD2USB="yes" HD44780="yes" IRLCD="yes" LCD2USB="yes" @@ -122,6 +124,9 @@ for driver in $drivers; do G15) G15=$val ;; + GLCD2USB) + GLCD2USB=$val + ;; HD44780) HD44780=$val ;; @@ -321,6 +326,18 @@ if test "$G15" = "yes"; then fi fi +if test "$GLCD2USB" = "yes"; then + if test "$has_usb" = "true"; then + GRAPHIC="yes" + KEYPAD="yes" + DRIVERS="$DRIVERS drv_GLCD2USB.o" + LIBUSB="yes" + AC_DEFINE(WITH_GLCD2USB,1,[GLCD2USB driver]) + else + AC_MSG_WARN(usb.h not found: GLCD2USB driver disabled) + fi +fi + if test "$HD44780" = "yes"; then TEXT="yes" PARPORT="yes" -- cgit v1.2.3