summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2013-04-22 15:09:25 +0200
committerOndřej Surý <ondrej@sury.org>2013-04-22 16:43:39 +0200
commit9f15e879db36587a3f3079657501ab47a9741ed0 (patch)
treed691a818662d2b511f922a0c99eef32e4628998b /tests
parent5902acd90ea8df0333aed81d2f8f5fcbbf92622a (diff)
downloadlibgd-9f15e879db36587a3f3079657501ab47a9741ed0.tar.gz
Some jpeg tests required LIBPNG
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 02b42a7..1dd1337 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -104,11 +104,14 @@ endif
if HAVE_LIBJPEG
check_PROGRAMS += \
jpeg/jpeg_empty_file \
- jpeg/jpeg_resolution \
jpeg/jpeg_im2im \
- jpeg/jpeg_null \
+ jpeg/jpeg_null
+if HAVE_LIBPNG
+check_PROGRAMS += \
+ jpeg/jpeg_resolution \
jpeg/jpeg_read
endif
+endif
if HAVE_LIBZ
check_PROGRAMS += \