debuggers.hg

view tools/blktap2/drivers/check_gcrypt @ 22848:6341fe0f4e5a

Added tag 4.1.0-rc2 for changeset 9dca60d88c63
author Keir Fraser <keir@xen.org>
date Tue Jan 25 14:06:55 2011 +0000 (2011-01-25)
parents 5ea5cce3b9ad
children
line source
1 #!/bin/sh
3 cat > .gcrypt.c << EOF
4 #include <gcrypt.h>
5 int main(void)
6 {
7 gcry_md_hash_buffer(GCRY_MD_MD5, NULL, NULL, 0);
8 return 0;
9 }
10 EOF
12 if $1 -o .gcrypt .gcrypt.c -lgcrypt 2>/dev/null ; then
13 echo "yes"
14 else
15 echo "no"
16 fi
18 rm -f .gcrypt*