diff -Naur a/configure.ac b/configure.ac
--- a/configure.ac	2018-05-06 23:55:16.363969631 +0100
+++ b/configure.ac	2018-05-07 00:03:30.842077995 +0100
@@ -96,7 +96,7 @@
 fi
 
 if test "x$png_theme" = "xyes"; then
-  needed_pkgs="$needed_pkgs libpng12 "
+  needed_pkgs="$needed_pkgs libpng16 "
 fi
 
 if test "x$composite_managers" != xno -a \
