References: <20210318181258.89704-1-juliusz@...2525...> From: David Sommerseth Message-ID: <206262d3-1ced-99f7-b28d-fce0b7982e65@...2080...> Date: Thu, 18 Mar 2021 21:52:17 +0100 MIME-Version: 1.0 In-Reply-To: <20210318181258.89704-1-juliusz@...2525...> Content-Language: en-GB Subject: Re: [Openvpn-devel] [PATCH] Add PKG_CHECK_VAR compatibility definition for old autoconf versions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit To: Juliusz Sosinowicz , openvpn-devel@lists.sourceforge.net On 18/03/2021 19:12, Juliusz Sosinowicz wrote: > PKG_CHECK_VAR is not available on older versions of autoconf. This > patch copies the definition generated by newer versions of autoconf to > be used for compatibility with older versions. Tested with automake > 1.14.1-2ubuntu1 and autoconf 2.69-6. > > Signed-off-by: Juliusz Sosinowicz I ended up doing some more investigation here, to better understand where this could fail. So it seems this is not related to automake/autoconf versions. It is related to pkg-config version, which is the one providing /usr/share/aclocal/pkg.m4 which provides the PKG_CHECK_VAR() macro. What surprises me is that this was added to pkg-config 0.28, which was released in 2013-01-24. The latest release, 0.29.2 was released 2017-03-20. It would be great to figure out if pkg-config is available on those build hosts failing without this change. If it is present, it needs to be checked which version it is. If this is due to an outdated pkg-config, I'm reluctant to give this patch an ACK. Using properly up-to-date dependency stack should be a reasonable precondition to build OpenVPN. If it is due to unavailable pkg-config, it's a different story. Regardless, the commit message is incorrect. But that can probably be fixed at commit time. -- kind regards, David Sommerseth OpenVPN Inc