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