Bug #13796: Configure sets both HAVE_GD_STRINGTTF and HAVE_GD_STRINGFT

From: Date: Tue, 23 Oct 2001 08:10:41 +0000
Subject: Bug #13796: Configure sets both HAVE_GD_STRINGTTF and HAVE_GD_STRINGFT
Groups: php.dev 
Request: Send a blank email to php-dev+get-68762@lists.php.net to get a copy of this message
From:             johan@ekenberg.se
Operating system: Linux
PHP version:      4.0CVS-2001-10-23
PHP Bug Type:     GD related
Bug description:  Configure sets both HAVE_GD_STRINGTTF and HAVE_GD_STRINGFT

Configuring with freetype 2 and NOT freetype 1.* installed:

./configure \
--with-gd \
--with-freetype-dir=/usr/local/include/freetype2

results in both HAVE_GD_STRINGTTF and HAVE_GD_STRINGFT being defined in
main/php_config.h

This produces this error when trying to use the imagettf*() functions in
GD:

"libgd was not built with TrueType font support"

Removing HAVE_GD_STRINGTTF from main/php_config.h before compiling fixes
this issue. But of course it should be permanently fixed in autoconf.
-- 
Edit bug report at: http://bugs.php.net/?id=13796&edit=1



Thread (9 messages)

« previous php.dev (#68762) next »