summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to '')
-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(