From f7f6f13368c7751dd75aefd4878e0e184df3ead4 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 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@663 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- 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