if HAVE_LIBJPEG
libgd_test_programs += \
	jpeg/jpeg_empty_file \
	jpeg/jpeg_im2im \
	jpeg/jpeg_null \
	jpeg/jpeg_ptr_double_free \
	jpeg/jpeg_resolution

if HAVE_LIBPNG
libgd_test_programs += \
	jpeg/bug_github_18 \
	jpeg/bug00338 \
	jpeg/jpeg_read
endif
endif

EXTRA_DIST += \
	jpeg/CMakeLists.txt \
	jpeg/conv_test.jpeg \
	jpeg/conv_test_exp.png \
	jpeg/empty.jpeg \
	jpeg/github_bug_18_exp.jpeg \
	jpeg/github_bug_18.png
