note 16160 deleted from ref.image by jimw
| From: | jimw@php.net | Date: | Thu, 18 Oct 2001 16:09:11 +0000 |
| Subject: | note 16160 deleted from ref.image by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19095@lists.php.net to get a copy of this message | ||
I had great time trying to get PHP compiled with GD. Eventually I hit upon a solution that
worked....
All it needed was a few simple edits to the configure script. The following diff tells you all you
need to know.
--- configure.orig Thu Sep 20 12:03:31 2001
+++ configure Thu Sep 20 12:05:38 2001
@@ -19326,7 +19326,7 @@
if eval "test \"
echo '$ac_cv_lib_'$ac_lib_var\" = yes";
then
echo "$ac_t""yes" 1>&6
cat >> confdefs.h <<\EOF
-#define HAVE_GD_GIF 1
+#define DONTHAVE_GD_GIF 1
EOF
else
@@ -20043,7 +20043,7 @@
if eval "test \"echo '$ac_cv_lib_'$ac_lib_var\" = yes";
then
echo "$ac_t""yes" 1>&6
cat >> confdefs.h <<\EOF
-#define HAVE_GD_GIF 1
+#define DONTHAVE_GD_GIF 1
EOF
else
Bit of a kludge I'll admit but who cares, it works.