RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Testing for POPT earlier in configure.ac?

From: Ralf S. Engelschall <rse+rpm-devel@rpm5.org>
Date: Tue 05 Feb 2008 - 08:34:07 CET
Message-ID: <20080205073407.GA70908@engelschall.com>
On Mon, Feb 04, 2008, Jeff Johnson wrote:

> There's a failure mode where the compilation test for
> popt fails because popt is mandatory, yet the test failed
> because of an incompletely specified neon -> gnutls linkage.
>
> Does it make sense to test for mandatory (and mostly
> standalone) libraries like libpopt earlier in configure.ac?
>
> Here's what I would do (but I'll leave the AutoFu to Ralf) below.
>
> There are perhaps a few other reorganizations, like keyutils, that
> perhaps should be done earlier as well.

The reordering for POPT should be fine. I see no side-effects.
Just commit it, please. But I do not understand why this fixes any
NEON->GNUTLS issues. Neither NEON nor GNUTLS use POPT AFAIK...

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com
Received on Tue Feb 5 08:41:17 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.