aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2021-09-22 16:05:03 +0200
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2021-09-22 17:41:25 +0200
commit05c771a660a2137bd29ad7edd9a9ce436916eb6a (patch)
tree74b3089c4a9b833a752de4987b92899801150fa7
parentd22c6b136d1e2ede2e035802ea0c80913bb5ae39 (diff)
downloadneard-05c771a660a2137bd29ad7edd9a9ce436916eb6a.tar.gz
ci: install pkg-config
Some newer distros (e.g. Fedora 35) might not pull pkg-config and print confusing errors like: configure.ac:61: error: possibly undefined macro: AC_MSG_ERROR If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:179: error: possibly undefined macro: AC_DEFINE Configure explicitly uses pkg-config so install it always. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
-rw-r--r--HACKING1
-rwxr-xr-xci/alpine.sh1
-rwxr-xr-xci/debian.sh1
3 files changed, 3 insertions, 0 deletions
diff --git a/HACKING b/HACKING
index 40bde2f..db75f0d 100644
--- a/HACKING
+++ b/HACKING
@@ -16,6 +16,7 @@ Required packages and tools:
libnl-3
libnl-genl-3
make
+ pkg-config
See also installation scripts for Continuous Integration in ci/ directory.
diff --git a/ci/alpine.sh b/ci/alpine.sh
index 56449dd..bf87068 100755
--- a/ci/alpine.sh
+++ b/ci/alpine.sh
@@ -33,6 +33,7 @@ apk add \
libtool \
make \
musl-dev \
+ pkgconfig \
$PKGS_CC
# Packages needed by CI
diff --git a/ci/debian.sh b/ci/debian.sh
index 962e554..adb683e 100755
--- a/ci/debian.sh
+++ b/ci/debian.sh
@@ -36,6 +36,7 @@ apt install -y --no-install-recommends \
libnl-genl-3-dev \
libtool \
make \
+ pkg-config \
$PKGS_CC
echo "Install finished: $0"