Fix typo--GD_* is for shared build mode.
authorSascha Schumann <sas@php.net>
Thu, 30 Sep 1999 20:04:52 +0000 (20:04 +0000)
committerSascha Schumann <sas@php.net>
Thu, 30 Sep 1999 20:04:52 +0000 (20:04 +0000)
ext/gd/config.m4

index 35bac5b5469147e809ebc5d6199604cc1184091c..50fdafc4d91984bf5571c3be6760ffcbec983324 100644 (file)
@@ -101,7 +101,7 @@ if test "$ac_cv_lib_gd_gdImageLine" = "yes"; then
     else
       if test -n "$TTF_DIR" ; then
         AC_DEFINE(HAVE_LIBTTF)
-        if test "$shared" != "yes"; then
+        if test "$shared" = "yes"; then
           GD_LIBS="$GD_LIBS -lttf"
           GD_LFLAGS="$GD_LFLAGS -L$TTF_DIR/lib"
           GD_INCLUDES="$GD_INCLUDES -I$TTF_DIR/include"