aboutsummaryrefslogtreecommitdiffstats
path: root/drivers.m4
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-05-25 14:26:29 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-05-25 14:26:29 +0000
commitbdf3e629a1d65b4a451b335674048962b5cfec2c (patch)
treeb5c9c44407101b4a881a78cf5a163b3b554b38d4 /drivers.m4
parent7a9143eb1bb07879b7cb77559bb96f1dcfbdb03d (diff)
downloadlcd4linux-bdf3e629a1d65b4a451b335674048962b5cfec2c.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 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@430 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drivers.m4')
-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