From b243fddf0754e8d193febc0598941fd1638ff33b Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 15 Jul 2008 10:22:19 +0000 Subject: added IRLCD driver by Jean-Philippe Civade git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@884 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- drivers.m4 | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'drivers.m4') 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,\!' 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" -- cgit v1.2.3