1dnl Id 2dnl 3dnl Tests for readline functions 4dnl 5 6dnl el_init 7 8AC_DEFUN([KRB_READLINE],[ 9 10dnl readline 11 12ac_foo=no 13build_editline=no 14if test "$with_readline" = yes; then 15 : 16elif test "$with_libedit" = yes; then 17 LIB_readline="${LIB_libedit}" 18elif test "$ac_cv_func_readline" = yes; then 19 : 20else 21 build_libedit=yes 22 LIB_readline="\$(top_builddir)/lib/libedit/src/libheimedit.la \$(LIB_tgetent)" 23fi 24AM_CONDITIONAL(LIBEDIT, test "$build_libedit" = yes) 25AC_DEFINE(HAVE_READLINE, 1, 26 [Define if you have a readline compatible library.])dnl 27 28]) 29