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 /drivers.m4 | |
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 'drivers.m4')
-rw-r--r-- | drivers.m4 | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -179,6 +179,7 @@ AC_MSG_RESULT([done]) # generic display drivers TEXT="no" GRAPHIC="no" +IMAGE="no" GPIO="no" # generiv I/O drivers @@ -344,16 +345,16 @@ fi if test "$PNG" = "yes"; then if test "$has_gd" = "true"; then - GRAPHIC="yes" - AC_DEFINE(WITH_PNG,1,[ driver]) + IMAGE="yes" + AC_DEFINE(WITH_PNG,1,[PNG driver]) else AC_MSG_WARN(gd.h not found: PNG driver disabled) fi fi if test "$PPM" = "yes"; then - GRAPHIC="yes" - AC_DEFINE(WITH_PPM,1,[ driver]) + IMAGE="yes" + AC_DEFINE(WITH_PPM,1,[PPM driver]) fi if test "$ROUTERBOARD" = "yes"; then @@ -450,18 +451,24 @@ if test "$DRIVERS" = ""; then AC_MSG_ERROR([You should activate at least one driver...]) 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" + AC_DEFINE(WITH_IMAGE, 1, [image widget]) fi fi |