autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PKG_CHECK_MODULES not working in Solaris


From: Eric Blake
Subject: Re: PKG_CHECK_MODULES not working in Solaris
Date: Mon, 27 Jan 2014 06:27:50 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

On 01/26/2014 04:04 AM, Daniel Pocock wrote:

> 
> I think PKG_CHECK_MODULES is a good idea, but is there some way to give
> a more helpful error to tell people to install the pkg-config package on
> their system?

Stick this in your configure.ac:

m4_pattern_forbid([PKG_*])

then anyone running autoconf on your package without the pkg-config m4
modules installed will get an earlier error at autoconf time flagging
the unexpanded macro, rather than a late error at configure execution of
a shell syntax error or unfound command.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]