From ad1398dadfb6f1b910bb04ce9e301d6dcf705177 Mon Sep 17 00:00:00 2001 From: Michael Vasseur <14887731+vmcj@users.noreply.github.com> Date: Wed, 23 Aug 2023 21:59:34 +0200 Subject: [PATCH] Force autoconf to lookup the macro Fix based on discussion with @ankon on this subject. This problem is not trivial to reproduce as different people have encountered this since the explicit failure added in https://github.com/DOMjudge/domjudge/commit/339ac729876393c788db1c715dff1f7c36cdfc1c (but first we didn't fail on not resolving the macro). @meistert found the proper documentation on this see: https://manpages.debian.org/testing/pkgconf/pkg.m4.7.en.html --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 9f3b14c981..4e1d56e153 100644 --- a/configure.ac +++ b/configure.ac @@ -217,7 +217,7 @@ AX_WITH_COMMENT(7,[ ]) # {{{ Directory for systemd unit files -PKG_PROG_PKG_CONFIG +PKG_PROG_PKG_CONFIG() AC_ARG_WITH([systemdsystemunitdir], [AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files])],, [with_systemdsystemunitdir=auto])