diff --git a/m4/libevent_openssl.m4 b/m4/libevent_openssl.m4 index 178cf387..1adc583f 100644 --- a/m4/libevent_openssl.m4 +++ b/m4/libevent_openssl.m4 @@ -1,6 +1,9 @@ dnl ###################################################################### dnl OpenSSL support AC_DEFUN([LIBEVENT_OPENSSL], [ + +m4_ifndef([PKG_PROG_PKG_CONFIG], [AC_MSG_ERROR([PKG_PROG_PKG_CONFIG not found. Please install pkg-config and re-run autogen.sh])]) + PKG_PROG_PKG_CONFIG([0.15.0]) case "$host_os" in