$OpenBSD: patch-m4_devil-definitions_m4,v 1.1.1.1 2011/03/30 09:27:58 jasper Exp $ --- m4/devil-definitions.m4.orig Wed Mar 25 13:30:42 2009 +++ m4/devil-definitions.m4 Tue Mar 29 19:35:03 2011 @@ -244,12 +244,12 @@ AC_DEFUN([SETTLE_MNG], AC_DEFUN([SETTLE_PNG], [DEVIL_IL_LIB([png.h], - [png12]) - AS_IF([test "x$have_png12" = "xno"], + [png]) + AS_IF([test "x$have_png" = "xno"], [DEVIL_IL_LIB([png.h], [png]) lib_test_result="$have_png"], - [lib_test_result="$have_png12"]) + [lib_test_result="$have_png"]) AS_IF([test "x$lib_test_result" = "xyes"], [MAYBE_OPTIONAL_DEPENDENCY([IL], [libpng]) ]) ])