aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-04-24 04:33:46 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-04-24 04:33:46 +0000
commit62c2b871ae20d093190f7a64b1f13661c7a42222 (patch)
tree85e80b1d245b58e983d458a5cd1958aa12c902f2 /configure
parent024363f46c5257d74e90b4bd737772b70049f4da (diff)
downloadlcd4linux-62c2b871ae20d093190f7a64b1f13661c7a42222.tar.gz
[lcd4linux @ 2005-04-24 04:33:46 by reinelt]
driver for TREFON USB LCD's added git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@531 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'configure')
-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"