References: <20210318181258.89704-1-juliusz@...2525...> <206262d3-1ced-99f7-b28d-fce0b7982e65@...2080...> From: Juliusz Sosinowicz Message-ID: <1a7e4f9f-6164-7acf-2b9f-7e1da5f65894@...2525...> Date: Fri, 19 Mar 2021 00:00:00 +0100 MIME-Version: 1.0 In-Reply-To: <206262d3-1ced-99f7-b28d-fce0b7982e65@...2080...> Content-Language: en-US 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: David Sommerseth , openvpn-devel@lists.sourceforge.net For reference, the version of pkg-config shipped on my Ubuntu 14 vm is 0.26-1ubuntu4. It looks like the default packages are very outdated. Juliusz On 18/03/2021 21:52, David Sommerseth wrote: > 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. > >