Fix build when OpenSSL has no EGD support

This commit is contained in:
Bernard
2015-04-10 22:47:03 +02:00
parent 0de18bdb5f
commit 828f4f4fb1
4 changed files with 4 additions and 3 deletions

View File

@@ -118,6 +118,7 @@ if test "$crypto_lib" = "unknown" -a "$with_openssl" != "no"; then
break;
fi
done
AC_CHECK_LIB(crypto, RAND_egd, AC_DEFINE(HAVE_RAND_EGD, 1, [Define if the libcrypto has RAND_egd]))
CFLAGS="$save_CFLAGS"
LIBS="$save_LIBS"
fi