summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/dash/configure.ac3
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])