libgd_test_programs += \
	gdimageline/gdimageline_aa_outofrange

if HAVE_LIBPNG
libgd_test_programs += \
	gdimageline/bug00072 \
	gdimageline/bug00077 \
	gdimageline/bug00111 \
	gdimageline/gdimageline_aa \
	gdimageline/gdimageline_bug5 \
	gdimageline/gdImageAALine_thickness \
	gdimageline/github_bug_167
endif

EXTRA_DIST += \
	gdimageline/CMakeLists.txt \
	gdimageline/bug00072_exp.png \
	gdimageline/bug00077_exp.png \
	gdimageline/bug00111_exp.png \
	gdimageline/gdimageline_aa_a_1_exp.png \
	gdimageline/gdimageline_aa_b_0_exp.png \
	gdimageline/gdimageline_aa_c_0_exp.png \
	gdimageline/gdimageline_aa_d_0_exp.png \
	gdimageline/gdimageline_aa_d_1_exp.png \
	gdimageline/gdimageline_aa_c_1_exp.png \
	gdimageline/gdimageline_aa_a_0_exp.png \
	gdimageline/gdimageline_aa_b_1_exp.png \
	gdimageline/gdImageAALine_thickness_exp.png \
	gdimageline/github_bug_167_exp.png
