From bdf3e629a1d65b4a451b335674048962b5cfec2c Mon Sep 17 00:00:00 2001 From: reinelt Date: Tue, 25 May 2004 14:26:29 +0000 Subject: [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 --- drivers.m4 | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'drivers.m4') 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 -- cgit v1.2.3