aboutsummaryrefslogtreecommitdiffstats
path: root/drivers.m4
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-02-28 06:19:46 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-02-28 06:19:46 +0000
commit915154c4eb39dfa4a593d946c3a443a1812cc4ff (patch)
tree600763f1c4a85bda3d0f35b3c0ea666d34882422 /drivers.m4
parent64522a267dccb2f0dc71d186b084c8c462a28f65 (diff)
downloadlcd4linux-915154c4eb39dfa4a593d946c3a443a1812cc4ff.tar.gz
GLCD2USB driver from Till Harbaum
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@987 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drivers.m4')
-rw-r--r--drivers.m427
1 files changed, 22 insertions, 5 deletions
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,\!<driver>' 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"