From 952d2e102ce7c167e5b88395b01692839816c425 Mon Sep 17 00:00:00 2001 From: harbaum Date: Fri, 14 Apr 2006 20:59:38 +0000 Subject: [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 --- drv.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'drv.c') 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 -- cgit v1.2.3