Re: [Qemu-devel] [PATCH] configure: For libgcrypt if pkg-config is available use it

2017-01-04 Thread Nathan Rossi
On 5 January 2017 at 01:27, Daniel P. Berrange wrote: > On Thu, Jan 05, 2017 at 12:56:52AM +1000, Nathan Rossi wrote: >> If libgcrypt info is available with pkg-config use it over using the >> libgcrypt-config. pkg-config is preferred due to is compatibility with >>

Re: [Qemu-devel] [PATCH] configure: For libgcrypt if pkg-config is available use it

2017-01-04 Thread Daniel P. Berrange
On Thu, Jan 05, 2017 at 12:56:52AM +1000, Nathan Rossi wrote: > If libgcrypt info is available with pkg-config use it over using the > libgcrypt-config. pkg-config is preferred due to is compatibility with > cross-compilation (where you cannot execute the targets version of > libgcrypt-config).

[Qemu-devel] [PATCH] configure: For libgcrypt if pkg-config is available use it

2017-01-04 Thread Nathan Rossi
If libgcrypt info is available with pkg-config use it over using the libgcrypt-config. pkg-config is preferred due to is compatibility with cross-compilation (where you cannot execute the targets version of libgcrypt-config). This change makes configure check for libgcrypt in pkg-config first,