mirror of
https://github.com/weechat/weechat.git
synced 2026-07-04 08:43:13 +02:00
core: add detection of pkg-config (required on Cygwin)
This fixes the detection of enchant lib, the macro PKG_CHECK_MODULES requires pkg-config.
This commit is contained in:
@@ -168,6 +168,18 @@ AC_DEFINE_UNQUOTED(CA_FILE, "$CA_FILE")
|
||||
not_asked=""
|
||||
not_found=""
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# pkg-config
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
PKGCONFIG=""
|
||||
AC_CHECK_PROGS(PKGCONFIG, pkg-config)
|
||||
if test "x$PKGCONFIG" = "x"; then
|
||||
AC_MSG_ERROR([
|
||||
*** "pkg-config" couldn't be found on your system.
|
||||
*** Try to install it with your software package manager.])
|
||||
fi
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# dynamic loader
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user