aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure.ac
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-08-11 20:07:56 +1000
committerGravatar axel <axel@liljencrantz.se>2006-08-11 20:07:56 +1000
commita5abdd2792e784662b8eef69255c63860c6dcbc2 (patch)
treeb4f4c0874375affd0016006e2d5435c6b88a094b /configure.ac
parente784683b8a83fbe5f13c34f6a72b487de0bde21b (diff)
Always redefine del_curterm to be a no-op under bsd, seeme the double free bug can surface under ncurses as well. Thanks to Netocrat.
darcs-hash:20060811100756-ac50b-1b1010b696fdd9acf45ef85ab19e75f574e5198b.gz
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index e42adf9f..42bee504 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)