aboutsummaryrefslogtreecommitdiffstats
path: root/drivers.m4
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2008-07-15 10:22:19 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2008-07-15 10:22:19 +0000
commitb243fddf0754e8d193febc0598941fd1638ff33b (patch)
treeff80c438b682a1379a494dc710025c5f8eaf7dd7 /drivers.m4
parent38a69aee81b48e2df7714310c39b5cdf171b9123 (diff)
downloadlcd4linux-b243fddf0754e8d193febc0598941fd1638ff33b.tar.gz
added IRLCD driver by Jean-Philippe Civade
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@884 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drivers.m4')
-rw-r--r--drivers.m418
1 files changed, 17 insertions, 1 deletions
diff --git a/drivers.m4 b/drivers.m4
index 8aca1d2..68fb804 100644
--- a/drivers.m4
+++ b/drivers.m4
@@ -33,7 +33,7 @@ AC_ARG_WITH(
[ (try 'all,\!<driver>' if your shell complains...)]
[ possible drivers are:]
[ BeckmannEgle, BWCT, CrystalFontz, Curses, Cwlinux,]
- [ G15, HD44780, LCD2USB LCDLinux, LCDTerm, LPH7508,]
+ [ G15, HD44780, IRLCD, LCD2USB LCDLinux, LCDTerm, LPH7508,]
[ LUIse, M50530, MatrixOrbital, MilfordInstruments,]
[ Noritake, NULL, PNG, PPM, Pertelian, picoLCD, picoLCDGraphic,]
[ RouterBoard, Sample, serdisplib, SimpleLCD, st2205, T6963, Trefon,]
@@ -66,6 +66,7 @@ for driver in $drivers; do
EA232graphic="yes"
G15="yes"
HD44780="yes"
+ IRLCD="yes"
LCD2USB="yes"
LCDLINUX="yes"
LCDTERM="yes"
@@ -121,6 +122,9 @@ for driver in $drivers; do
HD44780-I2C)
HD44780_I2C=$val
;;
+ IRLCD)
+ IRLCD=$val
+ ;;
LCD2USB)
LCD2USB=$val
;;
@@ -314,6 +318,18 @@ if test "$HD44780_I2C" = "yes"; then
AC_DEFINE(WITH_HD44780,1,[HD44780 driver])
fi
+if test "$IRLCD" = "yes"; then
+ if test "$has_usb" = "true"; then
+ TEXT="yes"
+ SERIAL="yes"
+ DRIVERS="$DRIVERS drv_IRLCD.o"
+ LIBUSB="yes"
+ AC_DEFINE(WITH_IRLCD,1,[IRLCD driver])
+ else
+ AC_MSG_WARN(usb.h not found: IRLCD driver disabled)
+ fi
+fi
+
if test "$LCD2USB" = "yes"; then
if test "$has_usb" = "true"; then
TEXT="yes"