summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-04-20 14:59:59 +0000
committerSascha Schumann <sas@php.net>2000-04-20 14:59:59 +0000
commite223693d0c3445e914fd62ef362b224a5b2988c9 (patch)
tree3b322582a1376704de007471d07faf354ee08ab5
parent9e10ac5b1d7dc0af4f35ed215f12b285a571d758 (diff)
downloadphp-git-e223693d0c3445e914fd62ef362b224a5b2988c9.tar.gz
Do not enable GD, if --without-gd was used
-rw-r--r--ext/gd/config.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/config.m4 b/ext/gd/config.m4
index 4f690e7d71..a7a26de018 100644
--- a/ext/gd/config.m4
+++ b/ext/gd/config.m4
@@ -138,7 +138,7 @@ dnl A whole whack of possible places where this might be
ac_cv_lib_gd_gdImageLine=yes
fi
])
-if test "$ac_cv_lib_gd_gdImageLine" = "yes"; then
+if test "$with_gd" != "no" && test "$ac_cv_lib_gd_gdImageLine" = "yes"; then
CHECK_TTF="yes"
AC_ARG_WITH(ttf,
[ --with-ttf[=DIR] Include Freetype support],[