diff options
author | June McEnroe <june@causal.agency> | 2020-12-22 19:26:16 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-12-22 19:28:22 -0500 |
commit | e2c09904b9b9bece1350cc736fed723732dfc0e0 (patch) | |
tree | cd792c2b86fbca4b597696ecf63880458094f07b | |
parent | Merge commit '9e55e38997ed4d6998af9e113e215a926c24988e' as 'bin/dash' (diff) | |
download | src-e2c09904b9b9bece1350cc736fed723732dfc0e0.tar.gz src-e2c09904b9b9bece1350cc736fed723732dfc0e0.zip |
Fail if building --with-libedit and can't find libedit
Previously, configure --with-libedit would only fail in the case where libedit is available but its header file histedit.h is not.
Diffstat (limited to '')
-rw-r--r-- | bin/dash/configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/dash/configure.ac b/bin/dash/configure.ac index 33f0b08c..9d96f5af 100644 --- a/bin/dash/configure.ac +++ b/bin/dash/configure.ac @@ -175,7 +175,8 @@ if test "$with_libedit" = "yes"; then AC_CHECK_LIB(edit, history_init, [ AC_CHECK_HEADER([histedit.h], [use_libedit="yes"], AC_MSG_ERROR( - [Can't find required header files.]))]) + [Can't find required header files.]))], [ + AC_MSG_ERROR([Can't find libedit.])]) fi if test "$use_libedit" != "yes"; then AC_DEFINE([SMALL], 1, [Define if you build with -DSMALL]) |