aboutsummaryrefslogtreecommitdiffstats
path: root/configure
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 /configure
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 'configure')
-rwxr-xr-xconfigure37
1 files changed, 36 insertions, 1 deletions
diff --git a/configure b/configure
index c2669bf..8e6bf0b 100755
--- a/configure
+++ b/configure
@@ -1442,7 +1442,7 @@ Optional Packages:
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,
@@ -5690,6 +5690,22 @@ fi
done
+# check for libdpf libs
+for ac_header in libdpf/libdpf.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "libdpf/libdpf.h" "ac_cv_header_libdpf_libdpf_h" "$ac_includes_default"
+if test "x$ac_cv_header_libdpf_libdpf_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBDPF_LIBDPF_H 1
+_ACEOF
+ has_libdpf="true"
+else
+ has_libdpf="false"
+fi
+
+done
+
+
# check for vncserver libs
for ac_header in rfb/rfb.h
do :
@@ -6261,6 +6277,7 @@ for driver in $drivers; do
CURSES="yes"
CWLINUX="yes"
D4D="yes"
+ DPF="yes"
EA232graphic="yes"
EFN="yes"
FW8888="yes"
@@ -6327,6 +6344,9 @@ for driver in $drivers; do
D4D)
D4D=$val
;;
+ DPF)
+ DPF=$val
+ ;;
EA232graphic)
EA232graphic=$val
;;
@@ -6573,6 +6593,20 @@ $as_echo "#define WITH_D4D 1" >>confdefs.h
fi
+if test "$DPF" = "yes"; then
+ if test "$has_libdpf" = "true"; then
+ GRAPHIC="yes"
+ DRIVERS="$DRIVERS drv_dpf.o"
+ DRVLIBS="$DRVLIBS -Llibdpf -ldpf -lusb"
+
+$as_echo "#define WITH_DPF 1" >>confdefs.h
+
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdpf.h not found: DPF driver disabled" >&5
+$as_echo "$as_me: WARNING: libdpf.h not found: DPF driver disabled" >&2;}
+ fi
+fi
+
if test "$EA232graphic" = "yes"; then
GRAPHIC="yes"
SERIAL="yes"
@@ -7030,6 +7064,7 @@ $as_echo "$as_me: WARNING: st2205.h not found: st2205 driver disabled" >&2;}
fi
fi
+
if test "$T6963" = "yes"; then
if test "$has_parport" = "true"; then
GRAPHIC="yes"