From 19c905b4e2593c2a97705ced49f4f017571dbd56 Mon Sep 17 00:00:00 2001 From: Douglas William Thrift Date: Sun, 18 Apr 2010 11:06:27 +0000 Subject: [PATCH] Fail on a lack of readline. --- configure | 6 ++++++ configure.ac | 1 + 2 files changed, 7 insertions(+) diff --git a/configure b/configure index cff1cbb..627206b 100755 --- a/configure +++ b/configure @@ -14774,6 +14774,12 @@ done fi fi +case $vl_cv_lib_readline in #( + no) : + as_fn_error "You need readline" "$LINENO" 5 ;; #( + *) : + ;; +esac ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' diff --git a/configure.ac b/configure.ac index 0d9605e..a57a830 100644 --- a/configure.ac +++ b/configure.ac @@ -69,6 +69,7 @@ AS_CASE([$apr_found], [yes], [ AC_SUBST([LTLIBAPR], [`$apr_config --link-libtool`]) ], [AC_MSG_ERROR([You need apr])]) VL_LIB_READLINE +AS_CASE([$vl_cv_lib_readline], [no], [AC_MSG_ERROR([You need readline])]) AC_LANG_PUSH([C]) AM_ICONV AC_LANG_POP([C]) -- 2.45.2