mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
build: fail with a useful error message if pkg-config isn't available
This commit is contained in:
parent
5c0e75c34e
commit
c5642697e7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user