From: Stelian Pop Date: Mon, 23 Jul 2001 10:03:05 +0000 (+0000) Subject: More explanation on configure failures when --enable-readline etc. X-Git-Tag: release_0_4b24~13 X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=commitdiff_plain;h=e68dc63e241e7f43512f1f2d7c6977a7abf11964 More explanation on configure failures when --enable-readline etc. --- diff --git a/configure b/configure index d0a7ab0..3c4404c 100755 --- a/configure +++ b/configure @@ -1879,7 +1879,7 @@ fi 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 @@ -1960,7 +1960,7 @@ 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 diff --git a/configure.in b/configure.in index a99ea2f..fc28967 100644 --- a/configure.in +++ b/configure.in @@ -340,7 +340,7 @@ dnl 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 @@ -351,7 +351,7 @@ AC_CHECK_HEADER(readline/readline.h, [readline_h=yes], [readline_h=no]) 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