summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure14
1 files changed, 14 insertions, 0 deletions
diff --git a/configure b/configure
index 1bb74371..c710b778 100755
--- a/configure
+++ b/configure
@@ -186,6 +186,7 @@ extra_debugging=
debug_support=y
gen_gc=y
small_mem=
+full_repl=y
have_dbl_decimal_dig=
have_unistd=
have_sys_stat=
@@ -546,6 +547,12 @@ small-mem [$small_mem]
and certain global book-keeping arrays in the generational garbage
collector are smaller, resulting in more frequent collections.
+full-repl [$full_repl]
+
+ Support the full listener with editing features. If this is disabled,
+ only the plain-mode listener is available. Failure to detect the
+ presence of termios at build configuration time time also disables it.
+
build-id [$build_id]
This option specifies the value of the build_id make variable.
@@ -3231,6 +3238,7 @@ if conftest ; then
have_termios=y
else
printf "no\n"
+ full_repl=
fi
printf "Checking for struct winsize ... "
@@ -3816,6 +3824,12 @@ $make conftest.clean
[ -n "$gen_gc" ] && printf "#define CONFIG_GEN_GC 1\n" >> config.h
[ "$small_mem" ] && printf "#define CONFIG_SMALL_MEM 1\n" >> config.h
+[ "$full_repl" ] && cat >> config.h <<!
+#if HAVE_TERMIOS
+#define CONFIG_FULL_REPL 1
+#endif
+!
+
#
# Regenerate config.make
#