Patch to recognise libeditline

Tino Schwarze tino.schwarze at informatik.tu-chemnitz.de
Tue Dec 14 09:28:27 CET 1999


Hi there,
ARLA seems not to look for an already installed libeditline but only
looks for readline in libedit and libreadline. As Kerberos4 comes along
with it's own editline, it's usually installed as well and the behaviour
is sub-optimal.

The following patch _should_ correct this. (Or did I mess it up?)

Hope it helps! Tino.

diff -urN arla-0.29.1.org/configure.in arla-0.29.1/configure.in
--- arla-0.29.1.org/configure.in	Mon Dec 13 10:20:41 1999
+++ arla-0.29.1/configure.in	Tue Dec 14 09:06:27 1999
@@ -613,9 +614,9 @@
 	if test "$ac_cv_funclib_tgetent" = "no"; then
 		AC_MSG_ERROR([Could not find tgetent, needed by edit/editline])
 	fi
-	AC_FIND_FUNC_NO_LIBS(readline, edit readline, [], [], [$LIB_tgetent])
+	AC_FIND_FUNC_NO_LIBS(readline, editline edit readline, [], [], [$LIB_tgetent])
 	if test "$ac_cv_func_readline" = "no"; then
-		AC_FIND_FUNC_NO_LIBS(el_init, edit, [], [], [$LIB_tgetent])
+		AC_FIND_FUNC_NO_LIBS(el_init, editline edit, [], [], [$LIB_tgetent])
 		if test "$ac_cv_func_el_init" = yes; then
 			editline_OBJS=edit_compat.o
 			LIB_readline='-L'`pwd`'/lib/editline -leditline '"$LIB_el_init";





More information about the Arla-drinkers mailing list