From 8710865d53b0e7b5f7d597e197d13cfb0d4e4bbd Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Fri, 25 Oct 2002 22:14:40 +0000 Subject: [PATCH] Check for libpng. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@443 --- configure.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.in b/configure.in index c0cb9671..c05b1488 100644 --- a/configure.in +++ b/configure.in @@ -36,6 +36,9 @@ AC_C_INLINE AC_TYPE_SIZE_T AC_STRUCT_TM +dnl Checks for libraries. +AC_CHECK_LIB(png, png_check_sig, , AC_MSG_ERROR([*** libpng not found!]), -lz) + #Check if the compiler support attributes AC_MSG_CHECKING(if compiler allows __attribute__) AC_TRY_COMPILE([], [typedef struct { } __attribute__ ((packed)) junk;],