configure.ac: Check for pkg-config

PKG_INSTALLDIR macro sets $(pkgconfigdir) for pkgconfig_DATA targets.
This commit is contained in:
Anna “CyberTailor” 2021-11-09 23:26:46 +05:00
parent 91f40d0bcf
commit a291084281
No known key found for this signature in database
GPG Key ID: E7B76EDC50864BB1
2 changed files with 5 additions and 0 deletions

2
.gitignore vendored
View File

@ -76,6 +76,7 @@
## files created by _autosetup (autoreconf): ## files created by _autosetup (autoreconf):
*.in *.in
*.in~ *.in~
!*.pc.in
aclocal.m4 aclocal.m4
autom4te.cache/ autom4te.cache/
compile compile
@ -96,6 +97,7 @@ test-driver
## files created by configure: ## files created by configure:
Makefile Makefile
.deps/ .deps/
*.pc
boinc_path_config.py boinc_path_config.py
pkginfo pkginfo
prototype prototype

View File

@ -64,6 +64,9 @@ SAH_LINKS
AC_LANG_PUSH(C) AC_LANG_PUSH(C)
AM_PROG_CC_C_O AM_PROG_CC_C_O
PKG_PROG_PKG_CONFIG
PKG_INSTALLDIR
m4_divert_once([HELP_ENABLE], m4_divert_once([HELP_ENABLE],
AS_HELP_STRING([BOINC Default enable values], [--enable-server --enable-client --enable-libraries --enable-manager: builds server, client, and libraries])) AS_HELP_STRING([BOINC Default enable values], [--enable-server --enable-client --enable-libraries --enable-manager: builds server, client, and libraries]))