shithub: choc

Download patch

ref: 3d315652c31b7858af29448b2f796ee2363a66b3
parent: 24e03872961c818e4de0c174772d4d4123bc6bde
author: Alex Mayfield <alexmax2742@gmail.com>
date: Sat May 26 13:21:18 EDT 2018

If libpng is missing, do not define HAVE_LIBPNG

--- a/config.h.cin
+++ b/config.h.cin
@@ -4,6 +4,6 @@
 #cmakedefine PACKAGE_STRING "@PACKAGE_STRING@"
 #cmakedefine PROGRAM_PREFIX "@PROGRAM_PREFIX@"
 
-#cmakedefine01 HAVE_LIBPNG
+#cmakedefine HAVE_LIBPNG
 #cmakedefine01 HAVE_DECL_STRCASECMP
 #cmakedefine01 HAVE_DECL_STRNCASECMP