aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorharbaum <harbaum@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-04-14 20:59:38 +0000
committerharbaum <harbaum@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-04-14 20:59:38 +0000
commit952d2e102ce7c167e5b88395b01692839816c425 (patch)
tree92891ecbb5d28d4b346bce5ae4160503bc14ac3b
parente5dfc3af2e038f8050513329642791378bcb914e (diff)
downloadlcd4linux-952d2e102ce7c167e5b88395b01692839816c425.tar.gz
[lcd4linux @ 2006-04-14 20:59:38 by harbaum]
Disable inclusion of Image driver in drv.c if no gd was found. git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@657 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r--drv.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drv.c b/drv.c
index 69dcbba..c61bebe 100644
--- a/drv.c
+++ b/drv.c
@@ -1,4 +1,4 @@
-/* $Id: drv.c,v 1.39 2006/01/26 19:26:27 harbaum Exp $
+/* $Id: drv.c,v 1.40 2006/04/14 20:59:38 harbaum Exp $
*
* new framework for display drivers
*
@@ -23,6 +23,9 @@
*
*
* $Log: drv.c,v $
+ * Revision 1.40 2006/04/14 20:59:38 harbaum
+ * Disable inclusion of Image driver in drv.c if no gd was found.
+ *
* Revision 1.39 2006/01/26 19:26:27 harbaum
* Added LCD2USB support
*
@@ -275,7 +278,7 @@ DRIVER *Driver[] = {
#ifdef WITH_HD44780
&drv_HD44780,
#endif
-#if defined (WITH_PNG) || defined(WITH_PPM)
+#if (defined (WITH_PNG) || defined(WITH_PPM)) && defined(WITH_GD)
&drv_Image,
#endif
#ifdef WITH_LCD2USB