diff options
author | Sascha Schumann <sas@php.net> | 2000-04-20 14:59:59 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2000-04-20 14:59:59 +0000 |
commit | e223693d0c3445e914fd62ef362b224a5b2988c9 (patch) | |
tree | 3b322582a1376704de007471d07faf354ee08ab5 | |
parent | 9e10ac5b1d7dc0af4f35ed215f12b285a571d758 (diff) | |
download | php-git-e223693d0c3445e914fd62ef362b224a5b2988c9.tar.gz |
Do not enable GD, if --without-gd was used
-rw-r--r-- | ext/gd/config.m4 | 2 |
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],[ |