[libvirt] [PATCH] build: Use pkg-config for libssh2 check

Eric Blake eblake at redhat.com
Thu Apr 28 02:57:52 UTC 2011


On 04/27/2011 04:34 AM, Jiri Denemark wrote:
> Currently the build fails if /usr/local/include does not exist since
> its use is hardcoded in configure.ac
> ---
>  configure.ac |   86 ++++++++++++++-------------------------------------------
>  1 files changed, 21 insertions(+), 65 deletions(-)
> 
> +if test "$with_phyp" = "yes" || test "$with_phyp" = "check"; then
> +    PKG_CHECK_MODULES(LIBSSH2, libssh2 >= $LIBSSH2_REQUIRED, [

Preferred quoting style:

PKG_CHECK_MODULES([LIBSSH2], [libssh2 >= $LIBSSH2_REQUIRED], [

ACK with that nit fixed.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110427/9d00649b/attachment-0001.sig>


More information about the libvir-list mailing list