]> granicus.if.org Git - php/commitdiff
Really fix it this time..
authorfoobar <sniper@php.net>
Sat, 13 Jul 2002 05:01:55 +0000 (05:01 +0000)
committerfoobar <sniper@php.net>
Sat, 13 Jul 2002 05:01:55 +0000 (05:01 +0000)
ext/gd/config.m4

index e884a91cfe334b9c1ac4927544b9ebc2bbc054ac..a3b0318457836c44e0532e7e1795f8c763137021 100644 (file)
@@ -289,6 +289,10 @@ dnl enable the support in bundled GD library
     GDLIB_CFLAGS="$GDLIB_CFLAGS -DHAVE_LIBFREETYPE"
   fi
 
+  if test -n "$TTF_DIR"; then
+    GDLIB_CFLAGS="$GDLIB_CFLAGS -DHAVE_LIBTTF"
+  fi
+
   PHP_SUBST(GDLIB_CFLAGS)
 
 else