Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19454 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47683 invoked by uid 1010); 6 Oct 2005 18:35:04 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 47668 invoked from network); 6 Oct 2005 18:35:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Oct 2005 18:35:04 -0000 X-Host-Fingerprint: 204.11.219.140 lt1.firehawksystems.com Linux 2.4/2.6 Received: from ([204.11.219.140:41390] helo=lt1.firehawksystems.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 0B/3C-54476-75E65434 for ; Thu, 06 Oct 2005 14:35:03 -0400 Received: from [10.0.0.2] ([69.219.238.126]) (authenticated bits=0) by lt1.firehawksystems.com (8.13.3/8.13.3) with ESMTP id j96IYwEx022717 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for ; Thu, 6 Oct 2005 11:35:00 -0700 Mime-Version: 1.0 (Apple Message framework v623) Content-Transfer-Encoding: 7bit Message-ID: <3dea4a351d4b69ac03e9b0398a4c79ab@firehawksystems.com> Content-Type: text/plain; charset=US-ASCII; format=flowed To: internals@lists.php.net Date: Thu, 6 Oct 2005 13:34:54 -0500 X-Mailer: Apple Mail (2.623) X-Virus-Scanned: ClamAV 0.87/1118/Thu Oct 6 06:32:20 2005 on lt1 X-Virus-Status: Clean Subject: Building ext/gd via phpize and using the bundled libgd From: list@firehawksystems.com ("Brian J. France") The following patch is need if phpize is going to be used to build ext/gd with the bundled libgd library. Otherwise HAVE_GD_BUNDLED will not be set for the bundled lib so it will not build with the php_gd_ prefix, but the extension will have HAVE_GD_BUNDLED defined and expecting the php_gd_ prefix which will cause undefined symbol errors on loading. Thanks, Brian Index: gd.h =================================================================== RCS file: /repository/php-src/ext/gd/libgd/gd.h,v retrieving revision 1.26 diff -u -p -b -B -r1.26 gd.h --- gd.h 27 Mar 2005 23:43:52 -0000 1.26 +++ gd.h 6 Oct 2005 18:28:10 -0000 @@ -5,6 +5,10 @@ extern "C" { #endif +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "php_compat.h" #ifndef WIN32