aboutsummaryrefslogtreecommitdiffstats
path: root/drivers.m4
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--drivers.m410
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers.m4 b/drivers.m4
index 1421787..45e4727 100644
--- a/drivers.m4
+++ b/drivers.m4
@@ -218,9 +218,13 @@ if test "$HD44780" = "yes"; then
fi
if test "$LCDLINUX" = "yes"; then
- TEXT="yes"
- DRIVERS="$DRIVERS drv_LCDLinux.o"
- AC_DEFINE(WITH_LCDLINUX,1,[LCD-Linux driver])
+ if test "$has_lcd_linux" = true; then
+ TEXT="yes"
+ DRIVERS="$DRIVERS drv_LCDLinux.o"
+ AC_DEFINE(WITH_LCDLINUX,1,[LCD-Linux driver])
+ else
+ AC_MSG_WARN(lcd-linux.h not found: LCD-Linux driver disabled)
+ fi
fi
if test "$LCDTERM" = "yes"; then