LTLIBREADLINE=$LIBS
LIBS=$cy_save
+
case $ax_cv_lib_readline in #(
no) :
as_fn_error $? "missing \"libreadline\"" "$LINENO" 5 ;; #(
LIBS=$cy_save
+
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
CY_LT_LIB([LTLIBREADLINE], [AX_LIB_READLINE])
AS_CASE([$ax_cv_lib_readline], [no], [AC_MSG_ERROR([missing "libreadline"])])
-dnl XXX: AX_LIB_READLINE totally lied: it was suposed to figure this out :(
CY_LT_LIB([LTLIBTERMCAP], [AC_SEARCH_LIBS([cur_term], [termcap])])
dnl XXX: saurik doesn't understand what this does