File: krb-readline.m4

package info (click to toggle)
heimdal 7.5.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 42,300 kB
  • sloc: ansic: 355,050; sh: 11,962; makefile: 4,357; yacc: 1,786; perl: 1,572; lex: 732; python: 722; java: 119; awk: 41
file content (28 lines) | stat: -rw-r--r-- 543 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
dnl $Id$
dnl
dnl Tests for readline functions
dnl

dnl el_init

AC_DEFUN([KRB_READLINE],[

dnl readline

ac_foo=no
build_editline=no
if test "$with_readline" = yes; then
	:
elif test "$with_libedit" = yes; then
   	LIB_readline="${LIB_libedit}"
elif test "$ac_cv_func_readline" = yes; then
	:
else
	build_libedit=yes
	LIB_readline="\$(top_builddir)/lib/libedit/src/libheimedit.la \$(LIB_tgetent)"
fi
AM_CONDITIONAL(LIBEDIT, test "$build_libedit" = yes)
AC_DEFINE(HAVE_READLINE, 1, 
	[Define if you have a readline compatible library.])dnl

])