diff options
author | reinelt <> | 2006-06-20 08:50:59 +0000 |
---|---|---|
committer | reinelt <> | 2006-06-20 08:50:59 +0000 |
commit | 6293cd693540d5541b052e3a9c5770af4ea11762 (patch) | |
tree | 7969518a49328b352cfc365e3d6f612454e09390 /configure | |
parent | e5509628c90fe0602d8b29677dc03212c3bea3ec (diff) | |
download | lcd4linux-6293cd693540d5541b052e3a9c5770af4ea11762.tar.gz |
[lcd4linux @ 2006-06-20 08:50:58 by reinelt]
widget_image linker error hopefully finally fixed
Diffstat (limited to '')
-rwxr-xr-x | configure | 17 |
1 files changed, 14 insertions, 3 deletions
@@ -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 |