configure: fix indentation more

Follow-up to 0052b4b52d #14628

Closes #14682
This commit is contained in:
Viktor Szakats 2024-08-26 02:11:05 +02:00
parent aaacd02466
commit 26ab9027f0
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201
10 changed files with 159 additions and 163 deletions

View File

@ -192,11 +192,8 @@ if test "x$OPT_OPENSSL" != xno; then
LDFLAGS="$CLEANLDFLAGS"
CPPFLAGS="$CLEANCPPFLAGS"
LIBS="$CLEANLIBS"
])
])
])
])
@ -296,7 +293,7 @@ if test "x$OPT_OPENSSL" != xno; then
AC_MSG_CHECKING([for LibreSSL])
AC_COMPILE_IFELSE([
AC_LANG_PROGRAM([[
#include <openssl/opensslv.h>
#include <openssl/opensslv.h>
]],[[
int dummy = LIBRESSL_VERSION_NUMBER;
]])
@ -312,7 +309,7 @@ if test "x$OPT_OPENSSL" != xno; then
AC_MSG_CHECKING([for OpenSSL >= v3])
AC_COMPILE_IFELSE([
AC_LANG_PROGRAM([[
#include <openssl/opensslv.h>
#include <openssl/opensslv.h>
]],[[
#if (OPENSSL_VERSION_NUMBER >= 0x30000000L)
return 0;
@ -395,7 +392,7 @@ if test "$OPENSSL_ENABLED" = "1"; then
AC_MSG_CHECKING([for SRP support in OpenSSL])
AC_LINK_IFELSE([
AC_LANG_PROGRAM([[
#include <openssl/ssl.h>
#include <openssl/ssl.h>
]],[[
SSL_CTX_set_srp_username(NULL, "");
SSL_CTX_set_srp_password(NULL, "");
@ -430,7 +427,7 @@ if test "$OPENSSL_ENABLED" = "1"; then
AC_MSG_CHECKING([for QUIC support and OpenSSL >= 3.3])
AC_LINK_IFELSE([
AC_LANG_PROGRAM([[
#include <openssl/ssl.h>
#include <openssl/ssl.h>
]],[[
#if (OPENSSL_VERSION_NUMBER < 0x30300000L)
#error need at least version 3.3.0

View File

@ -186,5 +186,4 @@ if test "x$OPT_RUSTLS" != xno; then
fi
])
RUSTLS_ENABLED

View File

@ -28,14 +28,14 @@ case $host_os in
darwin*)
AC_COMPILE_IFELSE([
AC_LANG_PROGRAM([[
#include <sys/types.h>
#include <TargetConditionals.h>
#include <sys/types.h>
#include <TargetConditionals.h>
]],[[
#if TARGET_OS_MAC && !(defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE)
#if TARGET_OS_MAC && !(defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE)
return 0;
#else
#error Not macOS
#endif
#else
#error Not macOS
#endif
]])
],[
build_for_macos="yes"