summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-11-09 17:09:42 +0000
committerache <ache@FreeBSD.org>2001-11-09 17:09:42 +0000
commit1480055feab72c206fc2b932b5e81067c7d90d76 (patch)
tree3e20924bb4ffc97fe991de22408fb55f53a4e35f /gnu
parent77df879d01672311a2a01c358d16ea56027f3861 (diff)
downloadFreeBSD-src-1480055feab72c206fc2b932b5e81067c7d90d76.zip
FreeBSD-src-1480055feab72c206fc2b932b5e81067c7d90d76.tar.gz
Back out switching from libreadline to libedit:
1) It is capabilities degradation: f.e. libedit can't process ~/.inputrc files 2) It have no sense to try to un-GNU GNU program.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/bc/Makefile4
-rw-r--r--gnu/usr.bin/bc/config.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/gnu/usr.bin/bc/Makefile b/gnu/usr.bin/bc/Makefile
index f5ad9dd..90ad02e 100644
--- a/gnu/usr.bin/bc/Makefile
+++ b/gnu/usr.bin/bc/Makefile
@@ -8,8 +8,8 @@ PROG= bc
SRCS= bc.y execute.c global.c load.c main.c scan.l storage.c util.c \
number.c getopt.c getopt1.c
CFLAGS+=-I. -I${.CURDIR} -I${.CURDIR}/../../../contrib/bc/h -DHAVE_CONFIG_H
-DPADD= ${LIBEDIT} ${LIBTERMCAP}
-LDADD= -ledit -ltermcap
+DPADD= ${LIBREADLINE} ${LIBTERMCAP}
+LDADD= -lreadline -ltermcap
EXAMPLES= ckbook.b pi.b primes.b twins.b
EXAMPDIR= /usr/share/examples/bc
diff --git a/gnu/usr.bin/bc/config.h b/gnu/usr.bin/bc/config.h
index 4d70283..b9e3520 100644
--- a/gnu/usr.bin/bc/config.h
+++ b/gnu/usr.bin/bc/config.h
@@ -41,10 +41,10 @@
#define BC_COPYRIGHT "Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc."
/* Define to use the readline library. */
-/* #define READLINE 1 */
+#define READLINE 1
/* Define to use the BSD libedit library. */
-#define LIBEDIT 1
+/* #define LIBEDIT 1 */
/* Define to `size_t' if <sys/types.h> and <stddef.h> don't define. */
/* #undef ptrdiff_t */
OpenPOWER on IntegriCloud