aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreinelt <>2005-04-24 04:33:46 +0000
committerreinelt <>2005-04-24 04:33:46 +0000
commitc8b000e75378fbaa060b9377fef0c392d2289386 (patch)
tree85e80b1d245b58e983d458a5cd1958aa12c902f2 /configure
parent6fd5d2e000921afa3ef5d6b0f721dc96975f9365 (diff)
downloadlcd4linux-c8b000e75378fbaa060b9377fef0c392d2289386.tar.gz
[lcd4linux @ 2005-04-24 04:33:46 by reinelt]
driver for TREFON USB LCD's added
Diffstat (limited to '')
-rwxr-xr-xconfigure22
1 files changed, 21 insertions, 1 deletions
diff --git a/configure b/configure
index 88adb74..392c77f 100755
--- a/configure
+++ b/configure
@@ -870,7 +870,7 @@ Optional Packages:
BeckmannEgle, BWCT, CrystalFontz, Curses, Cwlinux,
HD44780, LCDLinux, LCDTerm, M50530, MatrixOrbital,
MilfordInstruments, NULL, PNG, PPM, RouterBoard,
- SimpleLCD, T6963, USBLCD, X11
+ SimpleLCD, T6963, Trefon, USBLCD, X11
--with-plugins=<list> choose which plugins to compile.
type --with-plugins=list for a list
of avaible plugins
@@ -5569,6 +5569,7 @@ for driver in $drivers; do
PPM="yes"
ROUTERBOARD="yes"
T6963="yes"
+ Trefon="yes"
USBLCD="yes"
X11="yes"
SIMPLELCD="yes"
@@ -5624,6 +5625,9 @@ for driver in $drivers; do
T6963)
T6963=$val
;;
+ Trefon)
+ Trefon=$val
+ ;;
USBLCD)
USBLCD=$val
;;
@@ -5852,6 +5856,22 @@ _ACEOF
fi
+if test "$Trefon" = "yes"; then
+ if test "$has_usb" = "true"; then
+ TEXT="yes"
+ DRIVERS="$DRIVERS drv_Trefon.o"
+
+cat >>confdefs.h <<\_ACEOF
+#define WITH_TREFON 1
+_ACEOF
+
+ DRVLIBS="$DRVLIBS -lusb"
+ else
+ { echo "$as_me:$LINENO: WARNING: usb.h not found: Trefon driver disabled" >&5
+echo "$as_me: WARNING: usb.h not found: Trefon driver disabled" >&2;}
+ fi
+fi
+
if test "$USBLCD" = "yes"; then
TEXT="yes"
SERIAL="yes"