Skip to content

Commit

Permalink
autotools: fails build when need but can not find openssl
Browse files Browse the repository at this point in the history
  • Loading branch information
yuangongji committed Oct 26, 2019
1 parent 5fe83d7 commit 53b3be4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions m4/libevent_openssl.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 53b3be4

Please sign in to comment.