RFC: fix configure spewage from PKG_CHECK_MODULES and others.

Derek Atkins warlord at MIT.EDU
Thu Jan 12 17:56:30 EST 2006


Quoting Neil Williams <linux at codehelp.co.uk>:

> On Thursday 12 January 2006 10:04 pm, Derek Atkins wrote:
>> As I was looking at configure to handle the "qof issue" I thought I'd
>> try to clean up a lot of the spewage that we get from "missing" .pc
>> files when we're searching for various alternate packages.  The problem
>> is that this spewage comes from macros that we don't necessarily own...
>
> Isn't it just a case of using --silence-errors?
>
> I fixed this in QOF by defining a quiet variable that is simply built 
> into the
> string sent to pkg-config each time.

Nope.. The problem is that PKG_CHECK_MODULES() (which is in pkg.m4) calls
--print-errors, which prints to stderr even if you use --errors-to-stdout
(which it does).

After talking to jsled I've committed my fix to SVN.  You'll probably need
to re-run autogen to get the fix.

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-devel mailing list