From b3a719ef2cf085ea109c9ac41f51d33760a0f632 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20=C5=BDivkovi=C4=87?= Date: Mon, 23 Dec 2013 14:22:35 +0000 Subject: [PATCH] use gnu readline for slang interpreter by default git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12436 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- general/prog/slang.xml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/general/prog/slang.xml b/general/prog/slang.xml index 3ef8cf38e6..27e133b504 100644 --- a/general/prog/slang.xml +++ b/general/prog/slang.xml @@ -84,7 +84,9 @@ Install S-Lang by running the following commands: -./configure --prefix=/usr --sysconfdir=/etc && +./configure --prefix=/usr \ + --sysconfdir=/etc \ + --with-readline=gnu && make To test the results, issue: make check. Note that @@ -104,16 +106,18 @@ chmod -v 755 /usr/lib/libslang.so.&slang-version; \ Command Explanations + + --with-readline=gnu: This parameter sets GNU + Readline to be used by the parser interface + instead of the S-Lang internal version. + + make install_doc_dir=/usr/share/doc/slang-&slang-version; SLSH_DOC_DIR=/usr/share/doc/slang-&slang-version;/slsh install-all: This command installs the static library as well as the dynamic shared version and related modules. It also changes the documentation installation directories to a versioned directory. - : Use this parameter to use the - Gnu Readline parser instead of the - S-Lang internal version. -