aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure43
1 files changed, 42 insertions, 1 deletions
diff --git a/configure b/configure
index 484146d..23480b1 100755
--- a/configure
+++ b/configure
@@ -1443,7 +1443,7 @@ Optional Packages:
ASTUSB, BeckmannEgle, BWCT, CrystalFontz, Curses, Cwlinux, D4D,
EA232Graphic, EFN, FW8888, G15, GLCD2USB, HD44780, HD44780-I2C,
IRLCD, LCD2USB, LCDLinux, LEDMatrix, LCDTerm, LPH7508, LUIse,
- LW_ABP, M50530, MatrixOrbital, MatrixOrbitalGX, MilfordInstruments,
+ LW_ABP, M50530, MatrixOrbital, MatrixOrbitalGX, MilfordInstruments, MDM166A,
Newhaven, Noritake, NULL, Pertelian, PHAnderson,
PICGraphic, picoLCD, picoLCDGraphic, PNG, PPM, RouterBoard,
Sample, serdisplib, ShuttleVFD, SimpleLCD, st2205, T6963,
@@ -5624,6 +5624,22 @@ fi
done
+# check for libusb-1.0/libusb.h
+for ac_header in libusb-1.0/libusb.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "libusb-1.0/libusb.h" "ac_cv_header_libusb_1_0_libusb_h" "$ac_includes_default"
+if test "x$ac_cv_header_libusb_1_0_libusb_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBUSB_1_0_LIBUSB_H 1
+_ACEOF
+ has_usb10="true"
+else
+ has_usb10="false"
+fi
+
+done
+
+
# check for luise.h
for ac_header in luise.h
do :
@@ -6249,6 +6265,7 @@ for driver in $drivers; do
M50530="yes"
MATRIXORBITAL="yes"
MATRIXORBITALGX="yes"
+ MDM166A="yes"
MILINST="yes"
NEWHAVEN="yes"
NORITAKE="yes"
@@ -6350,6 +6367,9 @@ for driver in $drivers; do
MatrixOrbitalGX)
MATRIXORBITALGX=$val
;;
+ MDM166A)
+ MDM166A=$val
+ ;;
MilfordInstruments)
MILINST=$val
;;
@@ -6449,6 +6469,7 @@ KEYPAD="no"
# generic libraries
LIBUSB="no"
+LIBUSB10="no"
LIBFTDI="no"
if test "$ASTUSB" = "yes"; then
@@ -6768,6 +6789,21 @@ $as_echo "$as_me: WARNING: usb.h not found: MatrixOrbitalGX driver disabled" >&2
fi
fi
+if test "$MDM166A" = "yes"; then
+ if test "$has_usb10" = "true"; then
+ GRAPHIC="yes"
+ DRIVERS="$DRIVERS drv_mdm166a.o"
+ GPIO="yes"
+ LIBUSB10="yes"
+
+$as_echo "#define WITH_MDM166A 1" >>confdefs.h
+
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libusb-1.0/libusb.h not found: MDM166A driver disabled" >&5
+$as_echo "$as_me: WARNING: libusb-1.0/libusb.h not found: MDM166A driver disabled" >&2;}
+ fi
+fi
+
if test "$MILINST" = "yes"; then
TEXT="yes"
SERIAL="yes"
@@ -7166,6 +7202,11 @@ if test "$LIBUSB" = "yes"; then
DRVLIBS="$DRVLIBS -lusb"
fi
+# libusb-1.0
+if test "$LIBUSB10" = "yes"; then
+ DRVLIBS="$DRVLIBS -lusb-1.0"
+fi
+
# libftdi
if test "$LIBFTDI" = "yes"; then
DRVLIBS="$DRVLIBS -lftdi"
+76 bug in expr.c fixed (thanks to Xavier) some progress with /proc/stat parsing 2004-01-16[lcd4linux @ 2004-01-16 11:12:26 by reinelt]reinelt4-49/+128 some bugs in plugin_xmms fixed, parsing moved to own function plugin_proc_stat nearly finished 2004-01-16[lcd4linux @ 2004-01-16 10:09:49 by mkeil]mkeil1-12/+29 -include caching for values 2004-01-16[lcd4linux @ 2004-01-16 07:26:25 by reinelt]reinelt5-196/+146 moved various /proc parsing to own functions made some progress with /proc/stat parsing 2004-01-16[lcd4linux @ 2004-01-16 05:04:53 by reinelt]reinelt10-32/+326 started plugin proc_stat which should parse /proc/stat which again is a paint in the a** thinking over implementation methods of delta functions (CPU load, ...) 2004-01-15[lcd4linux @ 2004-01-15 07:47:02 by reinelt]reinelt7-100/+210 debian/ postinst and watch added (did CVS forget about them?) evaluator: conditional expressions (a?b:c) added text widget nearly finished 2004-01-15[lcd4linux @ 2004-01-15 04:32:14 by reinelt]reinelt1-0/+101 2004-01-15[lcd4linux @ 2004-01-15 04:29:45 by reinelt]reinelt10-335/+719 moved lcd4linux.conf.sample to *.old lcd4linux.conf.sample with new layout new plugins 'loadavg' and 'meminfo' text widget have pre- and postfix 2004-01-14[lcd4linux @ 2004-01-14 11:33:00 by reinelt]reinelt15-160/+607 new plugin 'uname' which does what it's called text widget nearly finished first results displayed on MatrixOrbital 2004-01-13[lcd4linux @ 2004-01-13 10:03:01 by reinelt]reinelt8-23/+458 new util 'hash' for associative arrays new plugin 'cpuinfo' 2004-01-13[lcd4linux @ 2004-01-13 08:18:07 by reinelt]reinelt12-154/+469 timer queues added liblcd4linux deactivated turing transformation to new layout 2004-01-12[lcd4linux @ 2004-01-12 03:51:01 by reinelt]reinelt5-15/+44 evaluating the 'Variables' section in the config file 2004-01-11[lcd4linux @ 2004-01-11 18:26:02 by reinelt]reinelt10-79/+158 further widget and layout processing 2004-01-11[lcd4linux @ 2004-01-11 09:26:15 by reinelt]reinelt4-19/+67 layout starts to exist... 2004-01-10[lcd4linux @ 2004-01-10 20:22:33 by reinelt]reinelt13-210/+554 added new function 'cfg_list()' (not finished yet) added layout.c (will replace processor.c someday) added widget_text.c (will be the first and most important widget) modified lcd4linux.c so that old-style configs should work, too 2004-01-10[lcd4linux @ 2004-01-10 17:45:26 by reinelt]reinelt2-5/+15 changed initialization order so cfg() gets initialized before plugins. This way a plugin's init() can use cfg_get(). Thanks to Xavier for reporting this one! 2004-01-10[lcd4linux @ 2004-01-10 17:36:56 by reinelt]reinelt4-10/+207 I2C Sensors plugin from Xavier added 2004-01-10[lcd4linux @ 2004-01-10 17:34:40 by reinelt]reinelt3-176/+138 further matrixOrbital changes widgets initialized 2004-01-10[lcd4linux @ 2004-01-10 10:20:22 by reinelt]reinelt2-14/+605 new MatrixOrbital changes 2004-01-09[lcd4linux @ 2004-01-09 17:03:06 by reinelt]reinelt10-51/+420 initiated transfer to new driver architecture new file 'drv.c' will someday replace 'display.c' new file 'drv_MatrixOrbital.c' will replace 'MatrixOrbital.c' due to this 'soft' transfer lcd4linux should stay usable during the switch (at least I hope so) 2004-01-09[lcd4linux @ 2004-01-09 04:16:06 by reinelt]reinelt28-193/+332 added 'section' argument to cfg_get(), but NULLed it on all calls by now. 2004-01-08[lcd4linux @ 2004-01-08 06:00:28 by reinelt]reinelt1-8/+14 allowed '.' in key names allowed empty group keys (not only "group anything {", but "anything {") 2004-01-08[lcd4linux @ 2004-01-08 05:28:12 by reinelt]reinelt3-42/+198 Luk Claes added to AUTHORS cfg: group handling ('{}') added 2004-01-07[lcd4linux @ 2004-01-07 10:15:41 by reinelt]reinelt4-184/+436 small glitch in evaluator fixed made config table sorted and access with bsearch(), which should be much faster 2004-01-06[lcd4linux @ 2004-01-06 23:01:37 by reinelt]reinelt3-4/+7 more copyright issues 2004-01-06[lcd4linux @ 2004-01-06 22:33:13 by reinelt]reinelt14-472/+542 Copyright statements cleaned up 2004-01-06[lcd4linux @ 2004-01-06 21:14:51 by reinelt]reinelt4-14/+7 more debianizing 2004-01-06[lcd4linux @ 2004-01-06 18:22:41 by reinelt]reinelt1-3/+13 debian updates 2004-01-06[lcd4linux @ 2004-01-06 17:56:43 by reinelt]reinelt3-1000/+2045 autotools update 2004-01-06[lcd4linux @ 2004-01-06 17:37:00 by reinelt]reinelt1-0/+20 2004-01-06[lcd4linux @ 2004-01-06 17:33:45 by reinelt]reinelt6-28/+298 Evaluator: functions with variable argument lists Evaluator: plugin_sample.c and README.Plugins added 2004-01-06[lcd4linux @ 2004-01-06 15:19:12 by reinelt]reinelt2-104/+136 Evaluator rearrangements... 2004-01-05[lcd4linux @ 2004-01-05 11:57:38 by reinelt]reinelt7-8/+168 added %y tokens to make the Evaluator useable 2004-01-02[lcd4linux @ 2004-01-02 14:20:15 by reinelt]reinelt10-0/+201 debianization added 2004-01-02[lcd4linux @ 2004-01-02 14:18:54 by reinelt]reinelt2-0/+101 Changelog, TODO updated 2003-12-19[lcd4linux @ 2003-12-19 06:27:33 by reinelt]reinelt4-8/+119 added XMMS plugin from Markus Keil