aboutsummaryrefslogtreecommitdiffstats
path: root/drivers.m4
diff options
context:
space:
mode:
Diffstat (limited to 'drivers.m4')
-rw-r--r--drivers.m479
1 files changed, 74 insertions, 5 deletions
diff --git a/drivers.m4 b/drivers.m4
index 311a092..c1038b5 100644
--- a/drivers.m4
+++ b/drivers.m4
@@ -1,4 +1,4 @@
-dnl $Id: drivers.m4 1165 2011-12-26 06:28:05Z michael $
+dnl $Id: drivers.m4 1180 2012-02-27 10:27:40Z michael $
dnl $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/drivers.m4 $
@@ -32,14 +32,14 @@ AC_ARG_WITH(
[ drivers may be excluded with 'all,!<driver>',]
[ (try 'all,\!<driver>' if your shell complains...)]
[ possible drivers are:]
- [ ASTUSB, BeckmannEgle, BWCT, CrystalFontz, Curses, Cwlinux, D4D,]
- [ EA232Graphic, EFN, FW8888, G15, GLCD2USB, HD44780, HD44780-I2C,]
+ [ ASTUSB, BeckmannEgle, BWCT, CrystalFontz, Curses, Cwlinux, D4D, DPF]
+ [ EA232Graphic, EFN, FutabaVFD, FW8888, G15, GLCD2USB, HD44780, HD44780-I2C,]
[ IRLCD, LCD2USB, LCDLinux, LEDMatrix, LCDTerm, LPH7508, LUIse,]
[ LW_ABP, M50530, MatrixOrbital, MatrixOrbitalGX, MilfordInstruments, MDM166A,]
[ Newhaven, Noritake, NULL, Pertelian, PHAnderson,]
[ PICGraphic, picoLCD, picoLCDGraphic, PNG, PPM, RouterBoard,]
- [ Sample, serdisplib, ShuttleVFD, SimpleLCD, st2205, T6963,]
- [ Trefon, ULA200, USBHUB, USBLCD, VNC, WincorNixdorf, X11],
+ [ Sample, SamsungSPF, serdisplib, ShuttleVFD, SimpleLCD, st2205, T6963,]
+ [ TeakLCM, Trefon, ULA200, USBHUB, USBLCD, VNC, WincorNixdorf, X11],
drivers=$withval,
drivers=all
)
@@ -67,8 +67,10 @@ for driver in $drivers; do
CURSES="yes"
CWLINUX="yes"
D4D="yes"
+ DPF="yes"
EA232graphic="yes"
EFN="yes"
+ FUTABAVFD="yes"
FW8888="yes"
G15="yes"
GLCD2USB="yes"
@@ -99,11 +101,13 @@ for driver in $drivers; do
PPM="yes"
ROUTERBOARD="yes"
SAMPLE="yes"
+ SAMSUNGSPF="yes"
ST2205="yes"
SERDISPLIB="yes"
SHUTTLEVFD="yes"
SIMPLELCD="yes"
T6963="yes"
+ TeakLCM="yes"
Trefon="yes"
ULA200="yes"
USBHUB="yes"
@@ -133,12 +137,18 @@ for driver in $drivers; do
D4D)
D4D=$val
;;
+ DPF)
+ DPF=$val
+ ;;
EA232graphic)
EA232graphic=$val
;;
EFN)
EFN=$val
;;
+ FutabaVFD)
+ FUTABAVFD=$val
+ ;;
FW8888)
FW8888=$val
;;
@@ -229,6 +239,9 @@ for driver in $drivers; do
Sample)
SAMPLE=$val
;;
+ SamsungSPF)
+ SAMSUNGSPF=$val
+ ;;
serdisplib)
SERDISPLIB=$val;
;;
@@ -244,6 +257,9 @@ for driver in $drivers; do
T6963)
T6963=$val
;;
+ TeakLCM)
+ TeakLCM=$val
+ ;;
Trefon)
Trefon=$val
;;
@@ -361,6 +377,17 @@ if test "$D4D" = "yes"; then
AC_DEFINE(WITH_D4D,1,[D4D driver])
fi
+if test "$DPF" = "yes"; then
+ if test "$has_libdpf" = "true"; then
+ GRAPHIC="yes"
+ DRIVERS="$DRIVERS drv_dpf.o"
+ DRVLIBS="$DRVLIBS -Llibdpf -ldpf -lusb"
+ AC_DEFINE(WITH_DPF,1,[DPF driver])
+ else
+ AC_MSG_WARN(libdpf.h not found: DPF driver disabled)
+ fi
+fi
+
if test "$EA232graphic" = "yes"; then
GRAPHIC="yes"
SERIAL="yes"
@@ -375,6 +402,19 @@ if test "$EFN" = "yes"; then
AC_DEFINE(WITH_EFN,1,[Driver for EFN LED modules and EUG 100 ethernet to serial converter])
fi
+if test "$FUTABAVFD" = "yes"; then
+ if test "$has_parport" = "true"; then
+ TEXT="yes"
+ # select bus: serial (including USB), parallel or i2c
+ PARPORT="yes"
+ DRIVERS="$DRIVERS drv_FutabaVFD.o"
+ AC_DEFINE(WITH_FUTABAVFD,1,[FutabaVFD driver])
+ else
+ AC_MSG_WARN(asm/io.h or {linux/parport.h and linux/ppdev.h} not found: FutabaVFD driver disabled)
+ fi
+fi
+
+
if test "$FW8888" = "yes"; then
TEXT="yes"
@@ -681,6 +721,22 @@ if test "$SAMPLE" = "yes"; then
fi
fi
+if test "$SAMSUNGSPF" = "yes"; then
+ if test "$has_usb" = "true"; then
+ if test "$has_jpeglib" = "true"; then
+ GRAPHIC="yes"
+ DRIVERS="$DRIVERS drv_SamsungSPF.o"
+ LIBUSB="yes"
+ LIBJPEG="yes"
+ AC_DEFINE(WITH_SAMSUNGSPF,1,[SamsungSPF driver])
+ else
+ AC_MSG_WARN(jpeglib.h not found: SamsungSPF driver disabled)
+ fi
+ else
+ AC_MSG_WARN(usb.h not found: SamsungSPF driver disabled)
+ fi
+fi
+
if test "$SERDISPLIB" = "yes"; then
if test "$has_serdisplib" = "true"; then
GRAPHIC="yes"
@@ -725,6 +781,7 @@ if test "$ST2205" = "yes"; then
fi
fi
+
if test "$T6963" = "yes"; then
if test "$has_parport" = "true"; then
GRAPHIC="yes"
@@ -736,6 +793,13 @@ if test "$T6963" = "yes"; then
fi
fi
+if test "$TeakLCM" = "yes"; then
+ TEXT="yes"
+ SERIAL="yes"
+ DRIVERS="$DRIVERS drv_TeakLCM.o"
+ AC_DEFINE(WITH_TEAK_LCM,1,[TeakLCM driver])
+fi
+
if test "$Trefon" = "yes"; then
if test "$has_usb" = "true"; then
TEXT="yes"
@@ -871,6 +935,11 @@ if test "$KEYPAD" = "yes"; then
DRIVERS="$DRIVERS drv_generic_keypad.o"
fi
+# libjpeg
+if test "$LIBJPEG" = "yes"; then
+ DRVLIBS="$DRVLIBS -ljpeg"
+fi
+
# libusb
if test "$LIBUSB" = "yes"; then
DRVLIBS="$DRVLIBS -lusb"