aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-02-28 06:19:46 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-02-28 06:19:46 +0000
commit915154c4eb39dfa4a593d946c3a443a1812cc4ff (patch)
tree600763f1c4a85bda3d0f35b3c0ea666d34882422 /configure
parent64522a267dccb2f0dc71d186b084c8c462a28f65 (diff)
downloadlcd4linux-915154c4eb39dfa4a593d946c3a443a1812cc4ff.tar.gz
GLCD2USB driver from Till Harbaum
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@987 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure34
1 files changed, 28 insertions, 6 deletions
diff --git a/configure b/configure
index 68a08c7..e1310f8 100755
--- a/configure
+++ b/configure
@@ -1343,11 +1343,12 @@ Optional Packages:
(try 'all,\!<driver>' if your shell complains...)
possible drivers are:
BeckmannEgle, BWCT, CrystalFontz, Curses, Cwlinux, D4D,
- G15, HD44780, IRLCD, LCD2USB LCDLinux, LCDTerm, LPH7508,
- LUIse, M50530, MatrixOrbital, MilfordInstruments, Noritake,
- NULL, PNG, PPM, Pertelian, PHAnderson, picoLCD, picoLCDGraphic,
- RouterBoard, Sample, serdisplib, SimpleLCD, st2205, T6963, Trefon,
- ULA200, USBLCD, USBHUB, WincorNixdorf, X11
+ G15, GLCD2USB, HD44780, IRLCD, LCD2USB, LCDLinux, LCDTerm,
+ LPH7508, LUIse, M50530, MatrixOrbital, MilfordInstruments,
+ Noritake, NULL, PNG, PPM, Pertelian, PHAnderson, picoLCD,
+ picoLCDGraphic, RouterBoard, Sample, serdisplib, SimpleLCD,
+ st2205, T6963, Trefon, ULA200, USBLCD, USBHUB, WincorNixdorf
+ X11
--with-plugins=<list> choose which plugins to compile.
type --with-plugins=list for a list
of avaible plugins
@@ -4447,7 +4448,7 @@ echo "${ECHO_T}Please note that some screen refreshs may fail" >&6; }
echo $ECHO_N "checking for ncurses version... $ECHO_C" >&6; }
ncurses_version=unknown
cat > conftest.$ac_ext <<EOF
-#line 4450 "configure"
+#line 4451 "configure"
#include "confdefs.h"
#ifdef RENAMED_NCURSES
#include <curses.h>
@@ -7694,6 +7695,7 @@ for driver in $drivers; do
D4D="yes"
EA232graphic="yes"
G15="yes"
+ GLCD2USB="yes"
HD44780="yes"
IRLCD="yes"
LCD2USB="yes"
@@ -7750,6 +7752,9 @@ for driver in $drivers; do
G15)
G15=$val
;;
+ GLCD2USB)
+ GLCD2USB=$val
+ ;;
HD44780)
HD44780=$val
;;
@@ -7987,6 +7992,23 @@ echo "$as_me: WARNING: usb.h not found: G15 driver disabled" >&2;}
fi
fi
+if test "$GLCD2USB" = "yes"; then
+ if test "$has_usb" = "true"; then
+ GRAPHIC="yes"
+ KEYPAD="yes"
+ DRIVERS="$DRIVERS drv_GLCD2USB.o"
+ LIBUSB="yes"
+
+cat >>confdefs.h <<\_ACEOF
+#define WITH_GLCD2USB 1
+_ACEOF
+
+ else
+ { echo "$as_me:$LINENO: WARNING: usb.h not found: GLCD2USB driver disabled" >&5
+echo "$as_me: WARNING: usb.h not found: GLCD2USB driver disabled" >&2;}
+ fi
+fi
+
if test "$HD44780" = "yes"; then
TEXT="yes"
PARPORT="yes"