Skip to content

Commit

Permalink
don't check for openssl libcrypto by default on Windows (#35)
Browse files Browse the repository at this point in the history
1Conan/tsschecker uses winapi bcrypt for it's hashing functions so it is unnecessary for configure to check for openssl libcrypto on by default Windows.
  • Loading branch information
DanTheMann15 authored Sep 29, 2023
1 parent 25975ed commit c21933f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,16 @@ CFLAGS+=" -D TSSCHECKER_VERSION_SHA=\\\"$(git rev-parse HEAD | tr -d '\n')\\\""
# Checks for libraries.
AC_ARG_WITH(
[libcrypto],
[AS_HELP_STRING([--with-libcrypto], [build with libcrypto (default for non-Mac)])],
[AS_HELP_STRING([--with-libcrypto], [build with libcrypto (default for non-Mac/Windows)])],
[],
[
case "${host_os}" in
darwin*)
with_libcrypto=no
;;
cygwin*|mingw*)
with_libcrypto=no
;;
*)
with_libcrypto=yes
;;
Expand Down

0 comments on commit c21933f

Please sign in to comment.