diff --git a/configure b/configure
index fc851ac4b296de9dd5d10a07de6ad46d32fb9b5d..ede77d3c95eb526a2d70f86b487a657e7f47fd72 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.ac Revision: 232950 .
+# From configure.ac Revision: 235573 .
 # 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 (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;}
+  { { echo "$as_me:$LINENO: error: *** termcap support not found (on modern systems, this typically means the ncurses development package is missing)" >&5
+echo "$as_me: error: *** termcap support not found (on modern systems, this typically means the ncurses development package is missing)" >&2;}
    { (exit 1); exit 1; }; }
 fi
 
diff --git a/configure.ac b/configure.ac
index 3046ed1ba4f247f2d773745fb62a67a3983b128f..f808c33a56b1f35ae1104effd3e15c89ce20809f 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 (on modern systems, this typically means libncurses5-dev is missing)])
+  AC_MSG_ERROR([*** termcap support not found (on modern systems, this typically means the ncurses development package is missing)])
 fi
 AC_SUBST(EDITLINE_LIB)