From 406963661b89f38c1d978dc78b863d531bd46695 Mon Sep 17 00:00:00 2001 From: tgoodwin Date: Mon, 20 Jul 1998 12:56:58 +0000 Subject: add support for vrl --- configure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 2039b09..77bd24e 100644 --- a/configure.ac +++ b/configure.ac @@ -293,8 +293,13 @@ AC_ARG_WITH(editline, [ --with-editline Simmule Turner's line editing], AC_DEFINE(EDITLINE) LIBS="$LIBS -ledit", AC_MSG_ERROR(editline library not found))) +AC_ARG_WITH(vrl, [ --with-vrl Gert-Jan Vons's line editing], + AC_CHECK_LIB(readline, readline, + AC_DEFINE(EDITLINE) LIBS="$LIBS -lreadline -ltermcap", + AC_MSG_ERROR(vrl library not found), -ltermcap)) + dnl There are (at least) two incompatible versions of readline, and we -dnl need to know which one we are using +dnl need to know which one we are using. We don't support readline 2.0. AC_ARG_WITH(readline, [ --with-readline Bloated GNU line editing], [ AC_CHECK_LIB(readline, readline, [ AC_DEFINE(READLINE) -- cgit v1.2.3