"make example" builds example.c if libgcrypt present
using AM_PATH_LIBGCRYPT to check for libgcrypt removed AC_MSG_RESULT in configure.ac; added phony "example" target in Makefile.am if libcrypt not found
This commit is contained in:
3
README
3
README
@@ -5,7 +5,8 @@ Example dependencies:
|
||||
Jansson 2.1 (to read JSON from stdin)
|
||||
libgcrypt (for SHA256)
|
||||
|
||||
For usage, check out example.c
|
||||
For usage, check out example.c. Run "make example" to build it.
|
||||
|
||||
Note that you must assign blkmk_sha256_impl to a function pointer:
|
||||
bool mysha256(void *hash_out, const void *data, size_t datasz)
|
||||
hash_out must be able to overlap with data!
|
||||
|
||||
Reference in New Issue
Block a user