cvs: /php3 configure.in
| From: | Sascha Schumann | Date: | Thu, 27 Jan 2000 18:49:43 +0000 |
| Subject: | cvs: /php3 configure.in | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-14963@lists.php.net to get a copy of this message | ||
sas Thu Jan 27 10:49:43 2000 EDT
Modified files:
/php3 configure.in
Log:
Don't run FreeType/TrueType checks, if gd was not found.
Index: php3/configure.in
diff -u php3/configure.in:1.492 php3/configure.in:1.493
--- php3/configure.in:1.492 Thu Jan 27 10:40:02 2000
+++ php3/configure.in Thu Jan 27 10:49:43 2000
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.492 2000/01/27 18:40:02 sas Exp $
+dnl $Id: configure.in,v 1.493 2000/01/27 18:49:43 sas Exp $
dnl Process this file with autoconf to produce a configure script.
AC_INIT(main.c)
@@ -909,6 +909,7 @@
AC_MSG_RESULT(no)
else
AC_DEFINE(HAVE_LIBGD)
+ PHP_HAVE_GD=yes
AC_MSG_RESULT(yes)
fi
else
@@ -954,7 +955,9 @@
done
])
-if test "$PHP_TTF" != "no"; then
+if test "$PHP_TTF" != "no" && test "$PHP_HAVE_GD" !=
"yes"; then
+ AC_MSG_WARN(No gd support found. Skipping FreeType Configuration)
+elif test "$PHP_TTF" != "no"; then
for i in /usr/local /usr $PHP_TTF; do
if PHP_ICHK(freetype.h, TTF)
elif PHP_ICHK(include/freetype.h, TTF)