From 359a28fc6907631aaa60bd9a9b9c9d737cc51644 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Wed, 11 Dec 2002 22:37:35 +0000 Subject: [PATCH] MFH --- ext/gd/tests/jpeg2png.phpt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ext/gd/tests/jpeg2png.phpt b/ext/gd/tests/jpeg2png.phpt index 64315225bd..e345a51abd 100644 --- a/ext/gd/tests/jpeg2png.phpt +++ b/ext/gd/tests/jpeg2png.phpt @@ -11,6 +11,9 @@ jpeg <--> png conversion test if (!function_exists("imagecreatefrompng") || !function_exists("imagepng")) { die("skip png support unavailable"); } + if (!function_exists("imagecreatefromjpeg") || !function_exists("imagejpeg")) { + die("skip jpeg support unavailable"); + } ?> --FILE--