changed C_SSHOTS to C_SSHOT
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@771
This commit is contained in:
parent
86c91d5541
commit
73e1a474f9
1 changed files with 2 additions and 2 deletions
|
@ -60,14 +60,14 @@ AC_ARG_ENABLE(debug,[ --enable-debug Enable debug mode],[
|
|||
fi
|
||||
],)
|
||||
|
||||
AH_TEMPLATE(C_SSHOTS,[Define to 1 to enable screenshots, requires libpng])
|
||||
AH_TEMPLATE(C_SSHOT,[Define to 1 to enable screenshots, requires libpng])
|
||||
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_png_lib = xyes -a x$have_png_h = xyes ; then
|
||||
LIBS="$LIBS -lpng"
|
||||
AC_DEFINE(C_SSHOTS,1)
|
||||
AC_DEFINE(C_SSHOT,1)
|
||||
else
|
||||
AC_MSG_WARN([Can't enable screenshots without libpng])
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue