aboutsummaryrefslogtreecommitdiffstats
path: root/drivers.m4
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-06-20 08:50:59 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-06-20 08:50:59 +0000
commitf7f6f13368c7751dd75aefd4878e0e184df3ead4 (patch)
tree7969518a49328b352cfc365e3d6f612454e09390 /drivers.m4
parentbfd3af59980c2a1fa6d7078b18349b498b1c3cb4 (diff)
downloadlcd4linux-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 'drivers.m4')
-rw-r--r--drivers.m417
1 files changed, 12 insertions, 5 deletions
diff --git a/drivers.m4 b/drivers.m4
index 8f25651..78b9907 100644
--- a/drivers.m4
+++ b/drivers.m4
@@ -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