Add a conditional whether to include the ethlcd connection type or not.

This commit is contained in:
mmdolze
2009-09-14 18:27:00 +00:00
parent a3c186e3f4
commit de8278a398
2 changed files with 6 additions and 1 deletions
+1
View File
@@ -200,6 +200,7 @@ dnl else
fi
if test "$enable_ethlcd" = yes ; then
HD44780_DRIVERS="$HD44780_DRIVERS hd44780-hd44780-ethlcd.o"
AC_DEFINE(WITH_ETHLCD,[1],[Define to 1 if you want to build hd44780 driver with ethlcd support])
fi
AC_CHECK_HEADER(linux/i2c-dev.h,
HD44780_DRIVERS="$HD44780_DRIVERS hd44780-hd44780-i2c.o"