diff --git a/configure b/configure
index 5f68becb8e7a49fe1497a7a96f7b1eb4d7ad914d..fc851ac4b296de9dd5d10a07de6ad46d32fb9b5d 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.ac Revision: 232164 .
+# From configure.ac Revision: 232950 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.61 for asterisk 1.6.
 #
@@ -42934,8 +42934,8 @@ elif test "x$CURSES_LIB" != "x" ; then
 elif test "x$NCURSES_LIB" != "x" ; then
   EDITLINE_LIB="$NCURSES_LIB"
 else
-  { { echo "$as_me:$LINENO: error: *** termcap support not found" >&5
-echo "$as_me: error: *** termcap support not found" >&2;}
+  { { echo "$as_me:$LINENO: error: *** termcap support not found (on modern systems, this typically means libncurses5-dev is missing)" >&5
+echo "$as_me: error: *** termcap support not found (on modern systems, this typically means libncurses5-dev is missing)" >&2;}
    { (exit 1); exit 1; }; }
 fi
 
diff --git a/configure.ac b/configure.ac
index 56795e675a7b707d4568b1a4280fd2726de420da..3046ed1ba4f247f2d773745fb62a67a3983b128f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1674,7 +1674,7 @@ elif test "x$CURSES_LIB" != "x" ; then
 elif test "x$NCURSES_LIB" != "x" ; then
   EDITLINE_LIB="$NCURSES_LIB"
 else
-  AC_MSG_ERROR(*** termcap support not found)
+  AC_MSG_ERROR([*** termcap support not found (on modern systems, this typically means libncurses5-dev is missing)])
 fi
 AC_SUBST(EDITLINE_LIB)