1
dnl $Id: drivers.m4 792 2007-04-30 05:02:57Z michael $
2
dnl $URL: https://ssl.bulix.org/svn/lcd4linux/branches/0.10.1/drivers.m4 $
1
dnl $Id: drivers.m4 1137 2011-01-02 00:39:10Z michael $
2
dnl $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/drivers.m4 $
5
5
dnl LCD4Linux Drivers conf part
7
dnl Copyright (C) 1999, 2000, 2001, 2002, 2003 Michael Reinelt <reinelt@eunet.at>
7
dnl Copyright (C) 1999, 2000, 2001, 2002, 2003 Michael Reinelt <michael@reinelt.co.at>
8
8
dnl Copyright (C) 2004 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net>
10
10
dnl This file is part of LCD4Linux.
26
26
AC_MSG_CHECKING([which drivers to compile])
29
29
[ --with-drivers=<list> compile driver for displays in <list>,]
30
[ drivers may be separated with commas,]
31
[ 'all' (default) compiles all available drivers,]
32
[ drivers may be excluded with 'all,!<driver>',]
33
[ (try 'all,\!<driver>' if your shell complains...)]
34
[ possible drivers are:]
35
[ BeckmannEgle, BWCT, CrystalFontz, Curses, Cwlinux,]
36
[ G15, HD44780, LCD2USB LCDLinux, LCDTerm, LPH7508,]
37
[ LUIse, M50530, MatrixOrbital, MilfordInstruments,]
38
[ Noritake, NULL, PNG, PPM, picoLCD, RouterBoard, Sample,]
39
[ serdisplib, SimpleLCD, T6963, Trefon, USBLCD,]
40
[ USBHUB, WincorNixdorf, X11],
30
[ drivers may be separated with commas,]
31
[ 'all' (default) compiles all available drivers,]
32
[ drivers may be excluded with 'all,!<driver>',]
33
[ (try 'all,\!<driver>' if your shell complains...)]
34
[ possible drivers are:]
35
[ ASTUSB, BeckmannEgle, BWCT, CrystalFontz, Curses, Cwlinux, D4D,]
36
[ EA232Graphic, EFN, FW8888, G15, GLCD2USB, HD44780, HD44780-I2C,]
37
[ IRLCD, LCD2USB, LCDLinux, LEDMatrix, LCDTerm, LPH7508, LUIse,]
38
[ LW_ABP, M50530, MatrixOrbital, MatrixOrbitalGX,]
39
[ MilfordInstruments, Noritake, NULL, Pertelian, PHAnderson,]
40
[ PICGraphic, picoLCD, picoLCDGraphic, PNG, PPM, RouterBoard,]
41
[ Sample, serdisplib, ShuttleVFD, SimpleLCD, st2205, T6963,]
42
[ Trefon, ULA200, USBHUB, USBLCD, VNC, WincorNixdorf, X11],
272
360
AC_DEFINE(WITH_EA232graphic,1,[Electronic Assembly RS232 graphic driver])
363
if test "$EFN" = "yes"; then
365
DRIVERS="$DRIVERS drv_EFN.o"
366
AC_DEFINE(WITH_EFN,1,[Driver for EFN LED modules and EUG 100 ethernet to serial converter])
370
if test "$FW8888" = "yes"; then
373
DRIVERS="$DRIVERS drv_FW8888.o"
374
AC_DEFINE(WITH_FW8888,1,[Allnet FW8888 driver])
275
377
if test "$G15" = "yes"; then
276
378
if test "$has_usb" = "true"; then
388
if test "$GLCD2USB" = "yes"; then
389
if test "$has_usb" = "true"; then
392
DRIVERS="$DRIVERS drv_GLCD2USB.o"
394
AC_DEFINE(WITH_GLCD2USB,1,[GLCD2USB driver])
396
AC_MSG_WARN(usb.h not found: GLCD2USB driver disabled)
400
if test "$HD44780_I2C" = "yes"; then
404
DRIVERS="$DRIVERS drv_HD44780.o"
405
AC_DEFINE(WITH_HD44780,1,[HD44780 driver])
286
408
if test "$HD44780" = "yes"; then
291
DRIVERS="$DRIVERS drv_HD44780.o"
292
AC_DEFINE(WITH_HD44780,1,[HD44780 driver])
409
if test "$HD44780_I2C" != "yes"; then
410
if test "$has_parport" = "true"; then
416
DRIVERS="$DRIVERS drv_HD44780.o"
417
AC_DEFINE(WITH_HD44780,1,[HD44780 driver])
419
AC_MSG_WARN(asm/io.h or {linux/parport.h and linux/ppdev.h} not found: HD44780 driver disabled)
423
AC_MSG_WARN(HD44780-i2c enabled disabling HD44780)
295
if test "$HD44780_I2C" = "yes"; then
299
DRIVERS="$DRIVERS drv_HD44780.o"
300
AC_DEFINE(WITH_HD44780,1,[HD44780 driver])
427
if test "$IRLCD" = "yes"; then
428
if test "$has_usb" = "true"; then
431
DRIVERS="$DRIVERS drv_IRLCD.o"
433
AC_DEFINE(WITH_IRLCD,1,[IRLCD driver])
435
AC_MSG_WARN(usb.h not found: IRLCD driver disabled)
303
439
if test "$LCD2USB" = "yes"; then
339
475
if test "$LPH7508" = "yes"; then
343
DRIVERS="$DRIVERS drv_LPH7508.o"
344
AC_DEFINE(WITH_LPH7508,1,[LPH7508 driver])
476
if test "$has_parport" = "true"; then
480
DRIVERS="$DRIVERS drv_LPH7508.o"
481
AC_DEFINE(WITH_LPH7508,1,[LPH7508 driver])
483
AC_MSG_WARN(asm/io.h or {linux/parport.h and linux/ppdev.h} not found: LPH7508 driver disabled)
347
487
if test "$LUISE" = "yes"; then
498
if test "$LW_ABP" = "yes"; then
502
DRIVERS="$DRIVERS drv_LW_ABP.o"
503
AC_DEFINE(WITH_LW_ABP,1,[LW ABP driver])
358
506
if test "$M50530" = "yes"; then
362
DRIVERS="$DRIVERS drv_M50530.o"
363
AC_DEFINE(WITH_M50530,1,[M50530 driver])
507
if test "$has_parport" = "true"; then
511
DRIVERS="$DRIVERS drv_M50530.o"
512
AC_DEFINE(WITH_M50530,1,[M50530 driver])
514
AC_MSG_WARN(asm/io.h or {linux/parport.h and linux/ppdev.h} not found: M50530 driver disabled)
366
518
if test "$MATRIXORBITAL" = "yes"; then
381
545
if test "$NORITAKE" = "yes"; then
385
DRIVERS="$DRIVERS drv_Noritake.o"
386
AC_DEFINE(WITH_NORITAKE,1,[Noritake driver])
546
if test "$has_parport" = "true"; then
550
DRIVERS="$DRIVERS drv_Noritake.o"
551
AC_DEFINE(WITH_NORITAKE,1,[Noritake driver])
553
AC_MSG_WARN(asm/io.h or {linux/parport.h and linux/ppdev.h} not found: NORITAKE driver disabled)
389
557
if test "$NULL" = "yes"; then
392
560
AC_DEFINE(WITH_NULL,1,[NULL driver])
395
if test "$picoLCD" = "yes"; then
563
if test "$PERTELIAN" = "yes"; then
564
# select either text or graphics mode
566
# select bus: serial (including USB), parallel or i2c
568
DRIVERS="$DRIVERS drv_Pertelian.o"
569
AC_DEFINE(WITH_PERTELIAN,1,[Pertelian driver])
572
if test "$PHANDERSON" = "yes"; then
575
DRIVERS="$DRIVERS drv_PHAnderson.o"
576
AC_DEFINE(WITH_PHANDERSON,1,[PHAnderson driver])
579
if test "$PICGRAPHIC" = "yes"; then
583
DRIVERS="$DRIVERS drv_PICGraphic.o"
584
AC_DEFINE(WITH_PICGRAPHIC,1,[PICGraphic driver])
587
if test "$PICOLCD" = "yes"; then
396
588
if test "$has_usb" = "true"; then
401
593
DRIVERS="$DRIVERS drv_picoLCD.o"
402
AC_DEFINE(WITH_picoLCD,1,[picoLCD driver])
594
AC_DEFINE(WITH_PICOLCD,1,[picoLCD driver])
404
596
AC_MSG_WARN(usb.h not found: picoLCD driver disabled)
600
if test "$PICOLCDGRAPHIC" = "yes"; then
601
if test "$has_usb" = "true"; then
607
DRIVERS="$DRIVERS drv_picoLCDGraphic.o"
608
AC_DEFINE(WITH_PICOLCDGRAPHIC,1,[picoLCDGraphic driver])
610
AC_MSG_WARN(usb.h not found: picoLCDGraphic driver disabled)
408
614
if test "$PNG" = "yes"; then
409
615
if test "$has_gd" = "true"; then
422
628
if test "$ROUTERBOARD" = "yes"; then
425
DRIVERS="$DRIVERS drv_RouterBoard.o"
426
AC_DEFINE(WITH_ROUTERBOARD,1,[RouterBoard driver])
629
if test "$has_io_h" = "true"; then
632
DRIVERS="$DRIVERS drv_RouterBoard.o"
633
AC_DEFINE(WITH_ROUTERBOARD,1,[RouterBoard driver])
635
AC_MSG_WARN(sys/io.h not found: RouterBoard driver disabled)
429
639
if test "$SAMPLE" = "yes"; then
430
# select either text or graphics mode
435
# select bus: serial (including USB), parallel or i2c
439
DRIVERS="$DRIVERS drv_Sample.o"
440
AC_DEFINE(WITH_SAMPLE,1,[Sample driver])
640
if test "$has_parport" = "true"; then
641
# select either text or graphics mode
646
# select bus: serial (including USB), parallel or i2c
650
DRIVERS="$DRIVERS drv_Sample.o"
651
AC_DEFINE(WITH_SAMPLE,1,[Sample driver])
653
AC_MSG_WARN(asm/io.h or {linux/parport.h and linux/ppdev.h} not found: SAMPLE driver disabled)
443
657
if test "$SERDISPLIB" = "yes"; then
461
687
AC_DEFINE(WITH_SIMPLELCD,1,[SimpleLCD driver])
690
if test "$ST2205" = "yes"; then
691
if test "$has_st2205" = "true"; then
693
DRIVERS="$DRIVERS drv_st2205.o"
694
DRVLIBS="$DRVLIBS -L/usr/local/lib -lst2205"
695
AC_DEFINE(WITH_ST2205,1,[st2205 driver])
697
AC_MSG_WARN(st2205.h not found: st2205 driver disabled)
464
701
if test "$T6963" = "yes"; then
467
DRIVERS="$DRIVERS drv_T6963.o"
468
AC_DEFINE(WITH_T6963,1,[T6963 driver])
702
if test "$has_parport" = "true"; then
705
DRIVERS="$DRIVERS drv_T6963.o"
706
AC_DEFINE(WITH_T6963,1,[T6963 driver])
708
AC_MSG_WARN(asm/io.h or {linux/parport.h and linux/ppdev.h} not found: T6963 driver disabled)
471
712
if test "$Trefon" = "yes"; then
500
753
AC_DEFINE(WITH_USBLCD,1,[USBLCD driver])
756
if test "$VNC" = "yes"; then
757
if test "$has_vncserverlib" = "true"; then
760
DRIVERS="$DRIVERS drv_vnc.o"
761
DRVLIBS="$DRVLIBS -L/usr/local/lib -lvncserver -lz"
762
AC_DEFINE(WITH_VNC,1,[vnc driver])
764
AC_MSG_WARN(libvncserver not found: vnc driver disabled)
503
768
if test "$WINCORNIXDORF" = "yes"; then