From 8629fc7334279be1a18cab8132d110f04b360e3f Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Tue, 22 Dec 2020 18:02:39 -0500 Subject: Build with libedit by default --- bin/dash/configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bin/dash/configure.ac') diff --git a/bin/dash/configure.ac b/bin/dash/configure.ac index 9d96f5af..43e71efd 100644 --- a/bin/dash/configure.ac +++ b/bin/dash/configure.ac @@ -169,9 +169,10 @@ if test "$have_st_mtim" = "yes"; then [Define if your `struct stat' has `st_mtim']) fi -AC_ARG_WITH(libedit, AS_HELP_STRING(--with-libedit, [Compile with libedit support])) +AC_ARG_WITH(libedit, + AS_HELP_STRING(--without-libedit, [Compile without libedit support])) use_libedit= -if test "$with_libedit" = "yes"; then +if test "$with_libedit" != "no"; then AC_CHECK_LIB(edit, history_init, [ AC_CHECK_HEADER([histedit.h], [use_libedit="yes"], AC_MSG_ERROR( -- cgit 1.4.1