aboutsummaryrefslogtreecommitdiffstats
path: root/drivers.m4
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2012-01-08 08:25:54 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2012-01-08 08:25:54 +0000
commit33d1f71e7eb46279fd57c4a7ae853c78d0a6bdfb (patch)
tree4d1379e4019266836a07db56f2cd7d24d4c2293f /drivers.m4
parent0b52f082263265ed4118ebc8cc2a9c80d920df5c (diff)
downloadlcd4linux-33d1f71e7eb46279fd57c4a7ae853c78d0a6bdfb.tar.gz
DPF driver by Stefan Kuhne 8note that you need libdpf)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1168 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drivers.m4')
-rw-r--r--drivers.m418
1 files changed, 17 insertions, 1 deletions
diff --git a/drivers.m4 b/drivers.m4
index 234c25f..09bd152 100644
--- a/drivers.m4
+++ b/drivers.m4
@@ -32,7 +32,7 @@ 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,]
+ [ ASTUSB, BeckmannEgle, BWCT, CrystalFontz, Curses, Cwlinux, D4D, DPF]
[ EA232Graphic, EFN, FW8888, G15, GLCD2USB, HD44780, HD44780-I2C,]
[ IRLCD, LCD2USB, LCDLinux, LEDMatrix, LCDTerm, LPH7508, LUIse,]
[ LW_ABP, M50530, MatrixOrbital, MatrixOrbitalGX, MilfordInstruments, MDM166A,]
@@ -67,6 +67,7 @@ for driver in $drivers; do
CURSES="yes"
CWLINUX="yes"
D4D="yes"
+ DPF="yes"
EA232graphic="yes"
EFN="yes"
FW8888="yes"
@@ -133,6 +134,9 @@ for driver in $drivers; do
D4D)
D4D=$val
;;
+ DPF)
+ DPF=$val
+ ;;
EA232graphic)
EA232graphic=$val
;;
@@ -361,6 +365,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"
@@ -725,6 +740,7 @@ if test "$ST2205" = "yes"; then
fi
fi
+
if test "$T6963" = "yes"; then
if test "$has_parport" = "true"; then
GRAPHIC="yes"