From 6293cd693540d5541b052e3a9c5770af4ea11762 Mon Sep 17 00:00:00 2001 From: reinelt <> Date: Tue, 20 Jun 2006 08:50:59 +0000 Subject: [lcd4linux @ 2006-06-20 08:50:58 by reinelt] widget_image linker error hopefully finally fixed --- configure | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 7704190..a13a356 100755 --- a/configure +++ b/configure @@ -7340,6 +7340,7 @@ echo "${ECHO_T}done" >&6; } # generic display drivers TEXT="no" GRAPHIC="no" +IMAGE="no" GPIO="no" # generiv I/O drivers @@ -7579,7 +7580,7 @@ fi if test "$PNG" = "yes"; then if test "$has_gd" = "true"; then - GRAPHIC="yes" + IMAGE="yes" cat >>confdefs.h <<\_ACEOF #define WITH_PNG 1 @@ -7592,7 +7593,7 @@ echo "$as_me: WARNING: gd.h not found: PNG driver disabled" >&2;} fi if test "$PPM" = "yes"; then - GRAPHIC="yes" + IMAGE="yes" cat >>confdefs.h <<\_ACEOF #define WITH_PPM 1 @@ -7735,18 +7736,28 @@ echo "$as_me: error: You should activate at least one driver..." >&2;} { (exit 1); exit 1; }; } fi - # generic text driver if test "$TEXT" = "yes"; then DRIVERS="$DRIVERS drv_generic_text.o" fi +# Image driver +if test "$IMAGE" = "yes"; then + GRAPHIC="yes" + DRIVERS="$DRIVERS drv_Image.o" +fi + # generic graphic driver if test "$GRAPHIC" = "yes"; then DRIVERS="$DRIVERS drv_generic_graphic.o" if test "$has_gd" = "true"; then DRIVERS="$DRIVERS widget_image.o" DRVLIBS="$DRVLIBS -lgd" + +cat >>confdefs.h <<\_ACEOF +#define WITH_IMAGE 1 +_ACEOF + fi fi -- cgit v1.2.3