Re: Can you spot the error?

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

 



On 04/03/2014 10:49 AM, Philipp Thomas wrote:
> * Eric Blake (eblake@xxxxxxxxxx) [20140403 16:27]:
> 
>> This AC_MSG_ERROR line is missing quoting.
> 
> Found the reason and searching for a brown paper bag :-) I had forgotten to
> add pkg-config to the BuildRequires of the package and thus PKG_CHECK_MODULE
> was undefined. Sorry for the noise, but I did learn a bit more what to fix
> in configure.ac's, so the time hasn't been all wasted.

Next time, add this to your configure.ac:

m4_pattern_forbid([^PKG_])

It will force failure to install pkg-config to be a much saner error
message.

-- 
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

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux