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
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx https://lists.gnu.org/mailman/listinfo/autoconf