crypto: require libgcrypt >= 1.5.0 for building QEMU
commitdea7a64e4c9557605fcda960950852181e9dbe74
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 18 Jul 2018 10:55:05 +0000 (18 11:55 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 19 Oct 2018 11:26:57 +0000 (19 12:26 +0100)
tree3ffafa51bd47b03670a4bd7d528120624c164234
parenta0722409bcb980ecdab8330d4c716a73c9fcb489
crypto: require libgcrypt >= 1.5.0 for building QEMU

libgcrypt 1.5.0 was released in 2011 and all the distros that are build
target platforms for QEMU [1] include it:

  RHEL-7: 1.5.3
  Debian (Stretch): 1.7.6
  Debian (Jessie): 1.6.3
  OpenBSD (ports): 1.8.2
  FreeBSD (ports): 1.8.3
  OpenSUSE Leap 15: 1.8.2
  Ubuntu (Xenial): 1.6.5
  macOS (Homebrew): 1.8.3

Based on this, it is reasonable to require libgcrypt >= 1.5.0 in QEMU
which allows for some conditional version checks in the code to be
removed.

[1] https://qemu.weilnetz.de/doc/qemu-doc.html#Supported-build-platforms

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
configure
crypto/Makefile.objs
crypto/init.c
tests/Makefile.include
tests/test-crypto-block.c