From: Douglas William Thrift Date: Sun, 18 Apr 2010 11:06:27 +0000 (+0000) Subject: Fail on a lack of readline. X-Git-Tag: v0.9.432~87 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/19c905b4e2593c2a97705ced49f4f017571dbd56 Fail on a lack of readline. --- 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])