aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorharbaum <>2006-04-14 20:59:38 +0000
committerharbaum <>2006-04-14 20:59:38 +0000
commit052f72657914a6d1da50eccb23545c674754cbaf (patch)
tree92891ecbb5d28d4b346bce5ae4160503bc14ac3b
parenta2dc1a3ab520d908e4ecaefd0a92ca532356fbe0 (diff)
downloadlcd4linux-052f72657914a6d1da50eccb23545c674754cbaf.tar.gz
[lcd4linux @ 2006-04-14 20:59:38 by harbaum]
Disable inclusion of Image driver in drv.c if no gd was found.
-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