aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreinelt <>2006-08-08 19:35:22 +0000
committerreinelt <>2006-08-08 19:35:22 +0000
commit17bb5631e99903c9e5eeba1bb6c0826dc4c0c8fd (patch)
tree305ad5e9c770cbeb44bf0367d64b1ce1d89bf661 /configure
parentdfd945989238e0d1451018936c6bd3eef722b408 (diff)
downloadlcd4linux-17bb5631e99903c9e5eeba1bb6c0826dc4c0c8fd.tar.gz
[lcd4linux @ 2006-08-08 19:35:21 by reinelt]
USBHUB driver from Ernst Bachmann
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure22
1 files changed, 21 insertions, 1 deletions
diff --git a/configure b/configure
index 8f91e1e..d110d26 100755
--- a/configure
+++ b/configure
@@ -1307,7 +1307,7 @@ Optional Packages:
LUIse, M50530, MatrixOrbital, MilfordInstruments,
Noritake, NULL, PNG, PPM, RouterBoard, Sample,
serdisplib, SimpleLCD, T6963, Trefon, USBLCD,
- WincorNixdorf, X11
+ USBHUB, WincorNixdorf, X11
--with-plugins=<list> choose which plugins to compile.
type --with-plugins=list for a list
of avaible plugins
@@ -7603,6 +7603,7 @@ for driver in $drivers; do
SIMPLELCD="yes"
T6963="yes"
Trefon="yes"
+ USBHUB="yes"
USBLCD="yes"
WINCORNIXDORF="yes"
X11="yes"
@@ -7685,6 +7686,9 @@ for driver in $drivers; do
Trefon)
Trefon=$val
;;
+ USBHUB)
+ USBHUB=$val
+ ;;
USBLCD)
USBLCD=$val
;;
@@ -8066,6 +8070,22 @@ echo "$as_me: WARNING: usb.h not found: Trefon driver disabled" >&2;}
fi
fi
+if test "$USBHUB" = "yes"; then
+ if test "$has_usb" = "true"; then
+ GPIO="yes"
+ DRIVERS="$DRIVERS drv_USBHUB.o"
+ LIBUSB="yes"
+
+cat >>confdefs.h <<\_ACEOF
+#define WITH_USBHUB 1
+_ACEOF
+
+ else
+ { echo "$as_me:$LINENO: WARNING: usb.h not found: USB-Hub driver disabled" >&5
+echo "$as_me: WARNING: usb.h not found: USB-Hub driver disabled" >&2;}
+ fi
+fi
+
if test "$USBLCD" = "yes"; then
TEXT="yes"
SERIAL="yes"