Blob Blame History Raw
--- configure.ac.orig	2011-12-13 08:17:13.266755392 -0600
+++ configure.ac	2011-12-13 08:17:17.401280868 -0600
@@ -724,16 +724,14 @@
 AC_MSG_ERROR([You need libz to compile Armagetron.]))
 
 AC_MSG_CHECKING(whether libpng is installed)
-if PNGLIBS=`libpng-config --libs`; then
+if PNGLIBS=`libpng15-config --libs`; then
     AC_MSG_RESULT(yes)
 fi
 
-CPPFLAGS="$CPPFLAGS `libpng-config --cflags`"
+CPPFLAGS="$CPPFLAGS `libpng15-config --cflags`"
 LIBS="$LIBS $PNGLIBS"
 
-AC_CHECK_FUNC(png_check_sig,
-,
-AC_MSG_ERROR([You need libpng to compile Armagetron.]))
+dnl AC_MSG_ERROR([You need libpng to compile Armagetron.]))
 
 AC_CHECK_LIB(jpeg, main,,
 	AC_MSG_WARN([