From 33d1f71e7eb46279fd57c4a7ae853c78d0a6bdfb Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 8 Jan 2012 08:25:54 +0000 Subject: 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 --- drivers.m4 | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'drivers.m4') 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,!',] [ (try 'all,\!' 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" -- cgit v1.2.3