eed7c62887
All fixes by yours truly.
16 lines
565 B
Plaintext
16 lines
565 B
Plaintext
$OpenBSD: patch-configure_ac,v 1.1 2011/07/08 20:38:00 naddy Exp $
|
|
|
|
Fix build with png-1.5.
|
|
|
|
--- configure.ac.orig Thu Jul 7 08:24:29 2011
|
|
+++ configure.ac Thu Jul 7 08:25:16 2011
|
|
@@ -45,7 +45,7 @@ if test "x$ac_cv_want_libpng" != "xno"; then
|
|
fi
|
|
dnl libpng requires pow() which may be in libm
|
|
AC_SEARCH_LIBS([pow], [m])
|
|
- AC_CHECK_LIB([png], [png_check_sig], [
|
|
+ AC_CHECK_LIB([png], [png_create_write_struct], [
|
|
AC_CHECK_LIB([z], [deflate], [
|
|
AC_DEFINE(HAVE_LIBPNG, 1, [Define if libpng is available (-lpng)])
|
|
LIBS="-lpng -lz $LIBS"
|