Fix gss_inquire_cred_by_mech.
[heimdal.git] / cf / krb-readline.m4
blobddb94bf0d1da9efe6fdcc67c024766b25aa112c0
1 dnl $Id$
2 dnl
3 dnl Tests for readline functions
4 dnl
6 dnl el_init
8 AC_DEFUN([KRB_READLINE],[
10 dnl readline
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)"
24 AM_CONDITIONAL(LIBEDIT, test "$build_libedit" = yes)
25 AC_DEFINE(HAVE_READLINE, 1, 
26         [Define if you have a readline compatible library.])dnl