diff options
-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],[ |