[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can you spot the error?
From: |
Eric Blake |
Subject: |
Re: Can you spot the error? |
Date: |
Thu, 03 Apr 2014 11:24:25 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
On 04/03/2014 10:49 AM, Philipp Thomas wrote:
> * Eric Blake (address@hidden) [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
signature.asc
Description: OpenPGP digital signature