diff --git a/configure.ac b/configure.ac index e42adf9fb..42bee5044 100644 --- a/configure.ac +++ b/configure.ac @@ -376,14 +376,14 @@ else AC_MSG_RESULT(no) fi -# Check if we are using basic BSD curses - in that case we redefine +# Check if del_curterm is broken - in that case we redefine # del_curterm as a no-op, to avoid a double-free -AC_MSG_CHECKING([If we are using BSD curses]) +AC_MSG_CHECKING([If del_curterm is broken]) case $target_os in *bsd*) AC_MSG_RESULT(yes) - AC_CHECK_LIB( ncurses, del_curterm, true, [AC_DEFINE([HAVE_BROKEN_DEL_CURTERM],[1],[We are using basic BSD curses, redefine del_curterm to a no-op to avoid a double-free bug])]) + AC_DEFINE([HAVE_BROKEN_DEL_CURTERM],[1],[del_curterm si broken, redefine it to a no-op to avoid a double-free bug]) ;; *) AC_MSG_RESULT(no)