Index: configure --- configure.orig 2025-07-16 08:22:04.000000000 +0200 +++ configure 2025-07-17 08:51:44.045416000 +0200 @@ -5645,10 +5645,7 @@ then : else $as_nop - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details" "$LINENO" 5; } + : fi ac_ext=c @@ -29364,7 +29361,7 @@ printf %s "(cached) " >&6 else $as_nop ac_check_lib_save_LIBS=$LIBS -LIBS="-l"$LDAPLIBNAME" $LIBS" +LIBS="-l$LDAPLIBNAME $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29408,7 +29405,7 @@ printf %s "(cached) " >&6 else $as_nop ac_check_lib_save_LIBS=$LIBS -LIBS="-l"$LDAPLIBNAME" -l$LBERLIBNAME $LIBS" +LIBS="-l$LDAPLIBNAME -l$LBERLIBNAME $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29458,7 +29455,7 @@ printf %s "(cached) " >&6 else $as_nop ac_check_lib_save_LIBS=$LIBS -LIBS="-l"$LDAPLIBNAME" $LIBS" +LIBS="-l$LDAPLIBNAME $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29664,7 +29661,7 @@ printf %s "(cached) " >&6 else $as_nop ac_check_lib_save_LIBS=$LIBS -LIBS="-l"$LBERLIBNAME" $LIBS" +LIBS="-l$LBERLIBNAME $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29698,7 +29695,7 @@ #define `printf "%s\n" "HAVE_LIB"$LBERLIBNAME"" | $as_tr_cpp` 1 _ACEOF - LIBS="-l"$LBERLIBNAME" $LIBS" + LIBS="-l$LBERLIBNAME $LIBS" else $as_nop Index: lib/vtls/openssl.c --- lib/vtls/openssl.c.orig 2025-07-16 08:22:04.000000000 +0200 +++ lib/vtls/openssl.c 2025-07-17 08:50:40.058192000 +0200 @@ -127,6 +127,9 @@ !defined(OPENSSL_IS_BORINGSSL)) #define HAVE_SSL_CTX_SET_DEFAULT_READ_BUFFER_LEN 1 #endif +#if defined(HAVE_ENGINE_LOAD_BUILTIN_ENGINES) +#include +#endif #include "../curlx/warnless.h"