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:
parent
b5f6874f2c
commit
8fb67c241d
12
configure.ac
12
configure.ac
@ -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
|
||||
# ------------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user