]> granicus.if.org Git - php/commitdiff
Fixed detection of JPEG support in bundled version of GD.
authorSander Roobol <sander@php.net>
Sun, 9 Jun 2002 11:27:04 +0000 (11:27 +0000)
committerSander Roobol <sander@php.net>
Sun, 9 Jun 2002 11:27:04 +0000 (11:27 +0000)
ext/gd/config.m4

index 571f31ec859c4272f8fc0623feec1d2ee2f46c3d..0c50452c5043fc0fe75c08a658d71cac6bdd9805 100644 (file)
@@ -266,7 +266,7 @@ dnl These are always available with bundled library
 dnl Depending which libraries were included to PHP configure,
 dnl enable the support in bundled GD library
 
-  if test -n "$GD_JPG_DIR"; then
+  if test -n "$GD_JPEG_DIR"; then
     AC_DEFINE(HAVE_GD_JPG, 1, [ ])
     GDLIB_CFLAGS="$GDLIB_CFLAGS -DHAVE_LIBJPEG"
   fi