Skip to content

Commit

Permalink
Fixing a problem where the detection of openssl failed where the defa…
Browse files Browse the repository at this point in the history
…ult case of using pkgconfig isn't available

Signed-off-by: Eivind Næss <[email protected]>
  • Loading branch information
enaess committed Dec 20, 2023
1 parent f2ef3c8 commit b32eda4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions m4/ax_check_openssl.m4
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ AC_DEFUN([AX_CHECK_OPENSSL], [
fi
])
AS_IF([test "${with_openssl}" != "no" && test ! ${found}], [
AS_IF([test "${with_openssl}" != "no" && test "${found}" != "true"], [
OPENSSL_INCLUDES=
for ssldir in $ssldirs; do
AC_MSG_CHECKING([for openssl/ssl.h in $ssldir])
Expand All @@ -84,7 +84,7 @@ AC_DEFUN([AX_CHECK_OPENSSL], [
])
done])
AS_IF([test "${with_openssl}" != "no" && test ${found}], [
AS_IF([test "${with_openssl}" != "no" && test "${found}" = "true" ], [
# try the preprocessor and linker with our new flags,
# being careful not to pollute the global LIBS, LDFLAGS, and CPPFLAGS
Expand Down

0 comments on commit b32eda4

Please sign in to comment.