summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-12-22 18:02:39 -0500
committerJune McEnroe <june@causal.agency>2020-12-22 19:28:22 -0500
commit8629fc7334279be1a18cab8132d110f04b360e3f (patch)
tree42dfaaa7fd5210039b440109321e7cdb73310d04 /bin
parentFail if building --with-libedit and can't find libedit (diff)
downloadsrc-8629fc7334279be1a18cab8132d110f04b360e3f.tar.gz
src-8629fc7334279be1a18cab8132d110f04b360e3f.zip
Build with libedit by default
Diffstat (limited to 'bin')
-rw-r--r--bin/dash/configure.ac5
1 files changed, 3 insertions, 2 deletions
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(