meson: fix gcrypt config option

Also detect libgpg-error. Require both to be present for HAVE_CRYPT,
even though libgpg-error is only used in src/resolve. If one is available,
the other should be too, so it doesn't seem worth the trouble to make two
separate conditions.
This commit is contained in:
Michael Biebl
2017-04-24 19:25:33 -04:00
committed by Zbigniew Jędrzejewski-Szmek
parent 36f0387efc
commit 76c8741060
5 changed files with 37 additions and 8 deletions
+3
View File
@@ -147,6 +147,7 @@ tests += [
'src/shared/test-tables.h'],
[],
[libgcrypt,
libgpg_error,
libm],
'ENABLE_RESOLVED'],
@@ -155,6 +156,7 @@ tests += [
dns_type_headers],
[],
[libgcrypt,
libgpg_error,
libm],
'ENABLE_RESOLVED'],
@@ -163,6 +165,7 @@ tests += [
dns_type_headers],
[],
[libgcrypt,
libgpg_error,
libm],
'ENABLE_RESOLVED'],