Skip to content
Snippets Groups Projects
Commit d5ef500a7334 authored by Roumen Petrov's avatar Roumen Petrov
Browse files

use only native crypto-API for mingw* hosts

parent 888d0b1b1dc8
No related branches found
No related tags found
No related merge requests found
......@@ -380,6 +380,14 @@
LIBGCRYPT_CFLAGS=""
LIBGCRYPT_LIBS=""
else
case $host in
*-mingw*)
dnl Use only native crypto-API for mingw* hosts
dnl TODO: to implement --with-crypto=foo to allow switch between
dnl crypto libraries
WITH_CRYPTO=1
;;
*)
AC_PATH_PROG(LIBGCRYPT_CONFIG, libgcrypt-config, no)
if test "$LIBGCRYPT_CONFIG" != "no" ; then
LIBGCRYPT_VERSION=`$LIBGCRYPT_CONFIG --version`
......@@ -400,6 +408,7 @@
LIBGCRYPT_LIBS=""
echo 'Crypto extensions will not be available. Install libgcrypt and reconfigure to make available.'
fi
esac
fi
AC_SUBST(WITH_CRYPTO)
AC_SUBST(LIBGCRYPT_CFLAGS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment