note 16160 added to ref.image

From: Date: Thu, 18 Oct 2001 11:35:39 +0000
Subject: note 16160 added to ref.image
Groups: php.notes 
Request: Send a blank email to php-notes+get-19086@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. -- http://www.php.net/manual/en/ref.image.php http://master.php.net/manage/user-notes.php?action=edit+16160 http://master.php.net/manage/user-notes.php?action=delete+16160 http://master.php.net/manage/user-notes.php?action=reject+16160

« previous php.notes (#19086) next »