if HAVE_LIBPNG
libgd_test_programs += \
	gdimagefilledpolygon/bug00100 \
	gdimagefilledpolygon/gdimagefilledpolygon0 \
	gdimagefilledpolygon/gdimagefilledpolygon1 \
	gdimagefilledpolygon/gdimagefilledpolygon2 \
	gdimagefilledpolygon/gdimagefilledpolygon3 \
	gdimagefilledpolygon/php_bug_64641 \
	gdimagefilledpolygon/self_intersecting
endif

EXTRA_DIST += \
	gdimagefilledpolygon/CMakeLists.txt \
	gdimagefilledpolygon/bug00100.png \
	gdimagefilledpolygon/gdimagefilledpolygon0.png \
	gdimagefilledpolygon/gdimagefilledpolygon1.png \
	gdimagefilledpolygon/gdimagefilledpolygon2.png \
	gdimagefilledpolygon/gdimagefilledpolygon3.png \
	gdimagefilledpolygon/php_bug_64641.png \
	gdimagefilledpolygon/self_intersecting_exp.png
