if test "$termcap_lib" = no; then
if test "$READLINE" = "-lreadline -ltermcap"; then
- { echo "configure: error: You need to install the GNU termcap libraries first" 1>&2; exit 1; }
+ { echo "configure: error: You need to install the GNU termcap library or configure without --enable-readline" 1>&2; exit 1; }
fi
fi
if test "$readline_h" = no -o "$readline_lib" = no; then
if test "$READLINE" = "-lreadline -ltermcap"; then
- { echo "configure: error: You need to install the GNU readline libraries first" 1>&2; exit 1; }
+ { echo "configure: error: You need to install the GNU readline library or configure without --enable-readline" 1>&2; exit 1; }
fi
fi
AC_CHECK_LIB(termcap, tgetent, [termcap_lib=yes], [termcap_lib=no])
if test "$termcap_lib" = no; then
if test "$READLINE" = "-lreadline -ltermcap"; then
- AC_MSG_ERROR(You need to install the GNU termcap libraries first)
+ AC_MSG_ERROR(You need to install the GNU termcap library or configure without --enable-readline)
fi
fi
AC_CHECK_LIB(readline, readline, [readline_lib=yes], [readline_lib=no], "-ltermcap")
if test "$readline_h" = no -o "$readline_lib" = no; then
if test "$READLINE" = "-lreadline -ltermcap"; then
- AC_MSG_ERROR(You need to install the GNU readline libraries first)
+ AC_MSG_ERROR(You need to install the GNU readline library or configure without --enable-readline)
fi
fi