From 27999bd847c95bc85b3e860684fed794867677b4 Mon Sep 17 00:00:00 2001 From: defanor Date: Fri, 15 Sep 2023 21:54:12 +0300 Subject: Abstract out random generation Still depending on gcrypt for hashing, but this is a step towards making that dependency optional. --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 656eb7d..270f989 100644 --- a/configure.ac +++ b/configure.ac @@ -38,7 +38,10 @@ AM_CONDITIONAL([USE_RUST], [test "x$with_rust" == "xyes"]) LT_INIT -AM_PATH_LIBGCRYPT +# Libgcrypt + +AM_PATH_LIBGCRYPT([], + [AC_DEFINE([HAVE_GCRYPT], [1], [Libgcrypt is available])]) # libnice (+ glib) and libsrtp for media calls, optional -- cgit v1.2.3