diff options
| author | tgoodwin <tgoodwin> | 1998-07-20 12:56:58 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:09 +0100 |
| commit | 406963661b89f38c1d978dc78b863d531bd46695 (patch) | |
| tree | 504aa2943facc45a25b3a4850002339ac24f4a88 | |
| parent | c3c536b9d48b214efa358ea04bfd1332cf24ff52 (diff) | |
add support for vrl
| -rw-r--r-- | configure.ac | 7 |
1 files changed, 6 insertions, 1 deletions
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) |