aboutsummaryrefslogtreecommitdiffstats
path: root/drivers.m4
diff options
context:
space:
mode:
Diffstat (limited to 'drivers.m4')
-rw-r--r--drivers.m466
1 files changed, 56 insertions, 10 deletions
diff --git a/drivers.m4 b/drivers.m4
index 3b3b1d2..9958180 100644
--- a/drivers.m4
+++ b/drivers.m4
@@ -1,3 +1,7 @@
+dnl $Id: drivers.m4 763 2007-02-05 06:26:10Z michael $
+dnl $URL: https://ssl.bulix.org/svn/lcd4linux/branches/0.10.1/drivers.m4 $
+
+
dnl LCD4Linux Drivers conf part
dnl
dnl Copyright (C) 1999, 2000, 2001, 2002, 2003 Michael Reinelt <reinelt@eunet.at>
@@ -31,7 +35,7 @@ AC_ARG_WITH(
[ BeckmannEgle, BWCT, CrystalFontz, Curses, Cwlinux,]
[ G15, HD44780, LCD2USB LCDLinux, LCDTerm, LPH7508,]
[ LUIse, M50530, MatrixOrbital, MilfordInstruments,]
- [ Noritake, NULL, PNG, PPM, RouterBoard, Sample,]
+ [ Noritake, NULL, PNG, PPM, picoLCD, RouterBoard, Sample,]
[ serdisplib, SimpleLCD, T6963, Trefon, USBLCD,]
[ USBHUB, WincorNixdorf, X11],
drivers=$withval,
@@ -59,6 +63,7 @@ for driver in $drivers; do
CRYSTALFONTZ="yes"
CURSES="yes"
CWLINUX="yes"
+ EA232graphic="yes"
G15="yes"
HD44780="yes"
LCD2USB="yes"
@@ -72,9 +77,10 @@ for driver in $drivers; do
MILINST="yes"
NORITAKE="yes"
NULL="yes"
+ picoLCD="yes"
PNG="yes"
PPM="yes"
- ROUTERBOARD="yes"
+ ROUTERBOARD="yes"
SAMPLE="yes"
SERDISPLIB="yes"
SIMPLELCD="yes"
@@ -100,12 +106,18 @@ for driver in $drivers; do
Cwlinux)
CWLINUX=$val
;;
+ EA232graphic)
+ EA232graphic=$val
+ ;;
G15)
G15=$val
;;
HD44780)
HD44780=$val
;;
+ HD44780-I2C)
+ HD44780_I2C=$val
+ ;;
LCD2USB)
LCD2USB=$val
;;
@@ -139,6 +151,9 @@ for driver in $drivers; do
NULL)
NULL=$val;
;;
+ picoLCD)
+ picoLCD=$val
+ ;;
PNG)
PNG=$val
;;
@@ -248,6 +263,14 @@ if test "$CWLINUX" = "yes"; then
AC_DEFINE(WITH_CWLINUX,1,[CwLinux driver])
fi
+if test "$EA232graphic" = "yes"; then
+ GRAPHIC="yes"
+ SERIAL="yes"
+ GPIO="yes"
+ DRIVERS="$DRIVERS drv_EA232graphic.o"
+ AC_DEFINE(WITH_EA232graphic,1,[Electronic Assembly RS232 graphic driver])
+fi
+
if test "$G15" = "yes"; then
if test "$has_usb" = "true"; then
GRAPHIC="yes"
@@ -268,6 +291,14 @@ if test "$HD44780" = "yes"; then
AC_DEFINE(WITH_HD44780,1,[HD44780 driver])
fi
+if test "$HD44780_I2C" = "yes"; then
+ TEXT="yes"
+ I2C="yes"
+ GPIO="yes"
+ DRIVERS="$DRIVERS drv_HD44780.o"
+ AC_DEFINE(WITH_HD44780,1,[HD44780 driver])
+fi
+
if test "$LCD2USB" = "yes"; then
if test "$has_usb" = "true"; then
TEXT="yes"
@@ -299,13 +330,13 @@ if test "$LCDTERM" = "yes"; then
fi
if test "$LEDMATRIX" = "yes"; then
- GRAPHICS="yes"
+ GRAPHIC="yes"
DRIVERS="$DRIVERS drv_LEDMatrix.o"
AC_DEFINE(WITH_LEDMATRIX,1,[LEDMatrix driver])
fi
if test "$LPH7508" = "yes"; then
- GRAPHICS="yes"
+ GRAPHIC="yes"
GPIO="yes"
PARPORT="yes"
DRIVERS="$DRIVERS drv_LPH7508.o"
@@ -355,10 +386,23 @@ if test "$NORITAKE" = "yes"; then
fi
if test "$NULL" = "yes"; then
+ TEXT="yes"
DRIVERS="$DRIVERS drv_NULL.o"
AC_DEFINE(WITH_NULL,1,[NULL driver])
fi
+if test "$picoLCD" = "yes"; then
+ if test "$has_usb" = "true"; then
+ TEXT="yes"
+ GPIO="yes"
+ SERIAL="yes"
+ DRIVERS="$DRIVERS drv_picoLCD.o"
+ AC_DEFINE(WITH_picoLCD,1,[picoLCD driver])
+ else
+ AC_MSG_WARN(usb.h not found: picoLCD driver disabled)
+ fi
+fi
+
if test "$PNG" = "yes"; then
if test "$has_gd" = "true"; then
IMAGE="yes"
@@ -478,6 +522,12 @@ if test "$X11" = "yes"; then
fi
+# Image driver
+if test "$IMAGE" = "yes"; then
+ GRAPHIC="yes"
+ DRIVERS="$DRIVERS drv_Image.o"
+fi
+
if test "$DRIVERS" = ""; then
AC_MSG_ERROR([You should activate at least one driver...])
fi
@@ -487,12 +537,6 @@ if test "$TEXT" = "yes"; then
DRIVERS="$DRIVERS drv_generic_text.o"
fi
-# Image driver
-if test "$IMAGE" = "yes"; then
- GRAPHIC="yes"
- DRIVERS="$DRIVERS drv_Image.o"
-fi
-
# generic graphic driver
if test "$GRAPHIC" = "yes"; then
DRIVERS="$DRIVERS drv_generic_graphic.o"
@@ -511,11 +555,13 @@ fi
# generic parport driver
if test "$PARPORT" = "yes"; then
DRIVERS="$DRIVERS drv_generic_parport.o"
+ AC_DEFINE(WITH_PARPORT, 1, [parport bus driver])
fi
# generic serial driver
if test "$SERIAL" = "yes"; then
DRIVERS="$DRIVERS drv_generic_serial.o"
+ AC_DEFINE(WITH_SERIAL, 1, [serial bus driver])
fi
# generic i2c driver