Commit fe8879e6 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

configure: Fix libpng detection on OpenBSD.

parent 51094be4
...@@ -16714,7 +16714,7 @@ if test "${ac_cv_lib_soname_png+set}" = set; then ...@@ -16714,7 +16714,7 @@ if test "${ac_cv_lib_soname_png+set}" = set; then
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
ac_check_soname_save_LIBS=$LIBS ac_check_soname_save_LIBS=$LIBS
LIBS="-lpng -lm $LIBS" LIBS="-lpng -lm -lz $LIBS"
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */ /* confdefs.h. */
_ACEOF _ACEOF
......
...@@ -1216,7 +1216,7 @@ WINE_WARNING_WITH(jpeg,[test "x$ac_cv_lib_soname_jpeg" = "x"], ...@@ -1216,7 +1216,7 @@ WINE_WARNING_WITH(jpeg,[test "x$ac_cv_lib_soname_jpeg" = "x"],
dnl **** Check for libpng **** dnl **** Check for libpng ****
if test "$ac_cv_header_png_h" = "yes" if test "$ac_cv_header_png_h" = "yes"
then then
WINE_CHECK_SONAME(png,png_create_read_struct,,,-lm,[[libpng[[0-9]]*]]) WINE_CHECK_SONAME(png,png_create_read_struct,,,-lm -lz,[[libpng[[0-9]]*]])
fi fi
WINE_WARNING_WITH(png,[test "x$ac_cv_lib_soname_png" = "x"], WINE_WARNING_WITH(png,[test "x$ac_cv_lib_soname_png" = "x"],
[libpng ${notice_platform}development files not found, PNG won't be supported.]) [libpng ${notice_platform}development files not found, PNG won't be supported.])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment