summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-12-04 03:52:29 +0000
committerBruce Momjian <bruce@momjian.us>2005-12-04 03:52:29 +0000
commit10e3d224e06cfe2bea634016a0786352c06b801f (patch)
treeafd54a08b719d0011cd15117a12d56021969c3f6 /configure.in
parente4a9229d5512852c7cb73988644ae39894e8ff1d (diff)
downloadpostgresql-10e3d224e06cfe2bea634016a0786352c06b801f.tar.gz
Add configure flag to allow libedit to be preferred over GNU readline:
--with-libedit-preferred prefer BSD Libedit over GNU Readline
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 9 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index f3cdd74503..99ad9be36d 100644
--- a/configure.in
+++ b/configure.in
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-dnl $PostgreSQL: pgsql/configure.in,v 1.432 2005/11/05 16:42:01 tgl Exp $
+dnl $PostgreSQL: pgsql/configure.in,v 1.433 2005/12/04 03:52:24 momjian Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
@@ -468,10 +468,17 @@ AC_SUBST(with_openssl)
#
+# Prefer libedit
+#
+PGAC_ARG_BOOL(with, libedit-preferred, no,
+ [ --with-libedit-preferred prefer BSD Libedit over GNU Readline])
+
+
+#
# Readline
#
PGAC_ARG_BOOL(with, readline, yes,
- [ --without-readline do not use Readline])
+ [ --without-readline do not use GNU Readline / BSD Libedit line editing])
# readline on MinGW has problems with backslashes in psql and other bugs.
# This is particularly a problem with non-US code pages.
# Therefore disable its use until we understand the cause. 2004-07-20