From c8b000e75378fbaa060b9377fef0c392d2289386 Mon Sep 17 00:00:00 2001 From: reinelt <> Date: Sun, 24 Apr 2005 04:33:46 +0000 Subject: [lcd4linux @ 2005-04-24 04:33:46 by reinelt] driver for TREFON USB LCD's added --- configure | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'configure') 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= 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" -- cgit v1.2.3