diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-06-20 08:50:59 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-06-20 08:50:59 +0000 |
commit | f7f6f13368c7751dd75aefd4878e0e184df3ead4 (patch) | |
tree | 7969518a49328b352cfc365e3d6f612454e09390 /configure | |
parent | bfd3af59980c2a1fa6d7078b18349b498b1c3cb4 (diff) | |
download | lcd4linux-f7f6f13368c7751dd75aefd4878e0e184df3ead4.tar.gz |
[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
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 |