Use libpng instead of the older libpng12; seemingly fixes compilation on some systems.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 14 Dec 2015 00:45:46 +0000 (01:45 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 14 Dec 2015 00:45:49 +0000 (01:45 +0100)
configure.ac

index 823740b..188d1fe 100644 (file)
@@ -26,7 +26,7 @@ if test $with_SDL2 = "yes"; then
 else
   PKG_CHECK_MODULES([SDL_image], [SDL_image], [], [with_demo_app=no; AC_MSG_WARN([SDL_image not found, demo program will not be built])])
 fi
-PKG_CHECK_MODULES([libpng], [libpng12], [], [with_demo_app=no; AC_MSG_WARN([libpng12 not found, demo program will not be built])])
+PKG_CHECK_MODULES([libpng], [libpng], [], [with_demo_app=no; AC_MSG_WARN([libpng not found, demo program will not be built])])
 
 AC_SUBST([with_demo_app])
 AC_SUBST([with_SDL2])