From f13c0ea57d574774155653af15cc51ebd696f81e Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 16 Jan 2007 20:52:19 +0000 Subject: new driver 'HD44780-I2C' git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@739 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- configure | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 78f9a4e..5f102c8 100755 --- a/configure +++ b/configure @@ -7272,6 +7272,9 @@ for driver in $drivers; do HD44780) HD44780=$val ;; + HD44780-I2C) + HD44780_I2C=$val + ;; LCD2USB) LCD2USB=$val ;; @@ -7468,6 +7471,18 @@ _ACEOF fi +if test "$HD44780_I2C" = "yes"; then + TEXT="yes" + I2C="yes" + GPIO="yes" + DRIVERS="$DRIVERS drv_HD44780.o" + +cat >>confdefs.h <<\_ACEOF +#define WITH_HD44780 1 +_ACEOF + +fi + if test "$LCD2USB" = "yes"; then if test "$has_usb" = "true"; then TEXT="yes" @@ -7818,11 +7833,21 @@ fi # generic parport driver if test "$PARPORT" = "yes"; then DRIVERS="$DRIVERS drv_generic_parport.o" + +cat >>confdefs.h <<\_ACEOF +#define WITH_PARPORT 1 +_ACEOF + fi # generic serial driver if test "$SERIAL" = "yes"; then DRIVERS="$DRIVERS drv_generic_serial.o" + +cat >>confdefs.h <<\_ACEOF +#define WITH_SERIAL 1 +_ACEOF + fi # generic i2c driver -- cgit v1.2.3