diff --git a/configure.in b/configure.in index 8a09aa90..40a08010 100644 --- a/configure.in +++ b/configure.in @@ -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