Fail if building --with-libedit and can't find libedit
PATCH 1/1 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.
--- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
configure.ac +2 -1
@@ -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])
Signature · 1 line
2.29.2
Quoted 5 lines · C. McEnroe
Previously, configure --with-libedit would only fail in the case where libedit is available but its header file
histedit.his not.
---
configure.ac | 3 ++-1 file changed, 2 insertions(+), 1 deletion(-)
Patch applied. Thanks.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt