aboutsummaryrefslogtreecommitdiffstats
path: root/display.c
diff options
context:
space:
mode:
authorreinelt <>2001-03-01 11:08:16 +0000
committerreinelt <>2001-03-01 11:08:16 +0000
commit0b05ba6a90ba10d55143565c510dbf09685b22a5 (patch)
treed98100a294f64e670f06a039ea4eca6b01b59f12 /display.c
parentcde92c2c348d067a9a1c774a0facccb06f79c533 (diff)
downloadlcd4linux-0b05ba6a90ba10d55143565c510dbf09685b22a5.tar.gz
[lcd4linux @ 2001-03-01 11:08:16 by reinelt]
reworked configure to allow selection of drivers
Diffstat (limited to 'display.c')
-rw-r--r--display.c46
1 files changed, 33 insertions, 13 deletions
diff --git a/display.c b/display.c
index 3c0e260..4ead6b8 100644
--- a/display.c
+++ b/display.c
@@ -1,4 +1,4 @@
-/* $Id: display.c,v 1.23 2001/02/14 07:40:16 reinelt Exp $
+/* $Id: display.c,v 1.24 2001/03/01 11:08:16 reinelt Exp $
*
* framework for device drivers
*
@@ -20,6 +20,10 @@
*
*
* $Log: display.c,v $
+ * Revision 1.24 2001/03/01 11:08:16 reinelt
+ *
+ * reworked configure to allow selection of drivers
+ *
* Revision 1.23 2001/02/14 07:40:16 reinelt
*
* first (incomplete) GPO implementation
@@ -163,26 +167,42 @@
#include "cfg.h"
#include "display.h"
-extern LCD Skeleton[];
-extern LCD MatrixOrbital[];
extern LCD BeckmannEgle[];
-extern LCD HD44780[];
extern LCD Crystalfontz[];
-extern LCD SIN[];
+extern LCD HD44780[];
+extern LCD MatrixOrbital[];
extern LCD PalmPilot[];
extern LCD Raster[];
+extern LCD SIN[];
+extern LCD Skeleton[];
extern LCD XWindow[];
FAMILY Driver[] = {
- { "Skeleton", Skeleton },
- { "Matrix Orbital", MatrixOrbital },
- { "Beckmann+Egle", BeckmannEgle },
- { "HD 44780 based", HD44780 },
- { "Crystalfontz", Crystalfontz },
- { "SIN Router", SIN },
+#ifdef WITH_BECKMANNEGLE
+ { "Beckmann+Egle", BeckmannEgle },
+#endif
+#ifdef WITH_CRYSTALFONTZ
+ { "Crystalfontz", Crystalfontz },
+#endif
+#ifdef WITH_HD44780
+ { "HD 44780 based", HD44780 },
+#endif
+#ifdef WITH_MATRIXORBITAL
+ { "Matrix Orbital", MatrixOrbital },
+#endif
+#ifdef WITH_PALMPILOT
{ "3Com Palm Pilot", PalmPilot },
- { "Raster", Raster },
-#ifndef X_DISPLAY_MISSING
+#endif
+#if defined (WITH_PNG) || defined(WITH_PPM)
+ { "Raster", Raster },
+#endif
+#ifdef WITH_SIN
+ { "SIN Router", SIN },
+#endif
+#ifdef WITH_SKELETON
+ { "Skeleton", Skeleton },
+#endif
+#ifdef WITH_X11
{ "X Window System", XWindow },
#endif
{ NULL }