From: Pierre Joye Date: Mon, 26 Dec 2005 21:41:37 +0000 (+0000) Subject: - check for jpeg support X-Git-Tag: RELEASE_1_0_4~212 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=53973f97d0b27e9b9d33408c4b7270e251b2f801;p=php - check for jpeg support --- diff --git a/ext/gd/tests/gif.phpt b/ext/gd/tests/gif.phpt index 8535ff72e6..e798d87728 100644 --- a/ext/gd/tests/gif.phpt +++ b/ext/gd/tests/gif.phpt @@ -6,7 +6,7 @@ gif in/out if (!extension_loaded('gd')) { die("skip gd extension not available."); } - if (!function_exists("imagegif") || !function_exists("imagecreatefromgif")) { + if (!function_exists("imagegif") || !function_exists("imagecreatefromgif") || !function_exists('imagecreatefromjpeg')) { die("skip gif support unavailable"); } ?>