mirror of
https://github.com/cuberite/libevent.git
synced 2025-08-03 09:16:30 -04:00
autotools: fails build when need but can not find openssl
(cherry picked from commit 53b3be4ee9e814a22876675c0ee004f0ebfb8535)
This commit is contained in:
parent
a9d1121d16
commit
93174bb537
@ -47,6 +47,11 @@ case "$enable_openssl" in
|
||||
AC_SUBST(OPENSSL_LIBS)
|
||||
case "$have_openssl" in
|
||||
yes) AC_DEFINE(HAVE_OPENSSL, 1, [Define if the system has openssl]) ;;
|
||||
*) AC_MSG_ERROR([openssl is a must but can not be found. You should add the \
|
||||
directory containing `openssl.pc' to the `PKG_CONFIG_PATH' environment variable, \
|
||||
or set `CFLAGS' and `LDFLAGS' directly for openssl, or use `--disable-openssl' \
|
||||
to disable support for openssl encryption])
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user