]> git.saurik.com Git - cycript.git/commitdiff
Fail on a lack of readline.
authorDouglas William Thrift <douglas@douglasthrift.net>
Sun, 18 Apr 2010 11:06:27 +0000 (11:06 +0000)
committerDouglas William Thrift <douglas@douglasthrift.net>
Sun, 18 Apr 2010 11:06:27 +0000 (11:06 +0000)
configure
configure.ac

index cff1cbb751ea358224168ee870b357fae3cdddd3..627206ba07f43848b26d1e3b45e1b147336a480b 100755 (executable)
--- 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'
index 0d9605eb9e97dd67317c11fbbde01fd5e2f4521b..a57a830150a1551e93260e2d51e6a3032fac928a 100644 (file)
@@ -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])