Corrected detection op png
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@748
This commit is contained in:
parent
bf97b03c0b
commit
4bfdc29caa
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ AC_ARG_ENABLE(shots,[ --enable-shots Enable screenshot support],[
|
|||
AC_CHECK_HEADER(png.h,have_png_h=yes,)
|
||||
AC_CHECK_LIB(png, png_check_sig, have_png_lib=yes, , -lz)
|
||||
|
||||
if test x$have_curses_lib = xyes -a x$have_curses_h = xyes ; then
|
||||
if test x$have_png_lib = xyes -a x$have_png_h = xyes ; then
|
||||
LIBS="$LIBS -lpng"
|
||||
AC_DEFINE(C_SSHOTS,1)
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue