diff options
author | June McEnroe <june@causal.agency> | 2020-12-22 18:02:39 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-12-22 19:28:22 -0500 |
commit | d856b81a310d813aad4a64128aad0ec07ef15929 (patch) | |
tree | edb5210874ad0c9a05fb426f206a92b38b1acc4a | |
parent | Fail if building --with-libedit and can't find libedit (diff) | |
download | src-d856b81a310d813aad4a64128aad0ec07ef15929.tar.gz src-d856b81a310d813aad4a64128aad0ec07ef15929.zip |
Build with libedit by default
Diffstat (limited to '')
-rw-r--r-- | bin/dash/configure.ac | 5 |
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( |