Date: 04/19/01
- Next message: sniper <email protected>: "[PHP-DEV] Bug #9836 Updated: php unexpectedly ends on too long scripts"
- Previous message: sniper <email protected>: "[PHP-DEV] Bug #9834 Updated: Unable to handle double variables"
- Next in thread: Wez Furlong: "Re: [PHP-DEV] gd, freetype 1"
- Reply: Wez Furlong: "Re: [PHP-DEV] gd, freetype 1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'm attempting to configure PHP (latest CVS, Apr 19) with freetype 1
support and gd.
The --with-ttf doesn't start the search for freetype.h in
config.m4 which I suppose it should.
Using --with-gd --with-ttf
gives:
checking for gdImageSetBrush in -lgd... yes
checking whether to include FreeType 1.x support... no - FreeType 2.x is to be used instead
checking for T1lib support... yes
checking for T1_GetExtend in -lt1... no
Problem is that with_freetype_dir is empty in ext/gd/config.m4 so
with-ttf is not really recognized.
The patch below fixes the problem.
Index: config.m4
===================================================================
RCS file: /repository/php4/ext/gd/config.m4,v
retrieving revision 1.57
diff -u -r1.57 config.m4
--- config.m4 2001/04/17 01:02:37 1.57
+++ config.m4 2001/04/19 13:24:56
@@ -249,7 +249,7 @@
])
AC_MSG_CHECKING(whether to include FreeType 1.x support)
- if test "$with_freetype_dir" = "no" ; then
+ if test "$with_freetype_dir" = "no" -o "$with_freetype_dir" = ""; then
if test -n "$CHECK_TTF" ; then
for i in /usr /usr/local "$CHECK_TTF" ; do
if test -f "$i/include/freetype.h" ; then
Cheers,
Adam
-- Adam Dickmeiss mailto:adam <email protected> http://www.indexdata.dk Index Data T: +45 33410100 Mob.: 212 212 66-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: sniper <email protected>: "[PHP-DEV] Bug #9836 Updated: php unexpectedly ends on too long scripts"
- Previous message: sniper <email protected>: "[PHP-DEV] Bug #9834 Updated: Unable to handle double variables"
- Next in thread: Wez Furlong: "Re: [PHP-DEV] gd, freetype 1"
- Reply: Wez Furlong: "Re: [PHP-DEV] gd, freetype 1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

