aboutsummaryrefslogtreecommitdiffstats
path: root/drivers.m4
diff options
context:
space:
mode:
authorreinelt <>2004-05-25 14:26:29 +0000
committerreinelt <>2004-05-25 14:26:29 +0000
commit93a597f22984732e1ac8e35c16dd21aa427de388 (patch)
treeb5c9c44407101b4a881a78cf5a163b3b554b38d4 /drivers.m4
parent3064dd7dc8e54a153f510ca754551a6704669e74 (diff)
downloadlcd4linux-93a597f22984732e1ac8e35c16dd21aa427de388.tar.gz
[lcd4linux @ 2004-05-25 14:26:28 by reinelt]
added "Image" driver (was: Raster.c) for PPM and PNG creation fixed some glitches in the X11 driver
Diffstat (limited to '')
-rw-r--r--drivers.m418
1 files changed, 11 insertions, 7 deletions
diff --git a/drivers.m4 b/drivers.m4
index e058e5a..47e1600 100644
--- a/drivers.m4
+++ b/drivers.m4
@@ -101,6 +101,7 @@ PARPORT="no"
SERIAL="no"
TEXT="no"
GRAPHIC="no"
+IMAGE="no"
if test "$BECKMANNEGLE" = "yes"; then
# DRIVERS="$DRIVERS BeckmannEgle.lo"
@@ -190,6 +191,7 @@ fi
if test "$PNG" = "yes"; then
if test "$has_gd" = "true"; then
GRAPHIC="yes"
+ IMAGE="yes"
AC_DEFINE(WITH_PNG,1,[ driver])
DRVLIBS="$DRVLIBS -lgd"
else
@@ -198,12 +200,14 @@ if test "$PNG" = "yes"; then
fi
if test "$PPM" = "yes"; then
- if test "$has_gd" = "true"; then
- GRAPHIC="yes"
- AC_DEFINE(WITH_PPM,1,[ driver])
- else
- AC_MSG_WARN(gd.h not found: PNG driver disabled)
- fi
+ GRAPHIC="yes"
+ IMAGE="yes"
+ AC_DEFINE(WITH_PPM,1,[ driver])
+fi
+
+if test "$IMAGE" = "yes"; then
+# DRIVERS="$DRIVERS drv_Image.lo"
+ DRIVERS="$DRIVERS drv_Image.o"
fi
if test "$X11" = "yes"; then
@@ -231,7 +235,7 @@ fi
# generic graphic driver
if test "$GRAPHIC" = "yes"; then
:
-# DRIVERS="$DRIVERS
+# DRIVERS="$DRIVERS drv_generic_graphic.lo"
DRIVERS="$DRIVERS drv_generic_graphic.o"
fi