1--- misc/curl-7.72.0/configure	2020-08-17 00:34:29.000000000 +0200
2+++ misc/build/curl-7.72.0/configure	2022-05-05 19:03:39.766880970 +0200
3@@ -23617,14 +23617,14 @@
4       { $as_echo "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$OPENSSL_PCDIR\"" >&5
5 $as_echo "$as_me: PKG_CONFIG_LIBDIR will be set to \"$OPENSSL_PCDIR\"" >&6;}
6       PKGTEST="yes"
7-    elif test ! -f "$PREFIX_OPENSSL/include/openssl/ssl.h"; then
8+    elif test ! -f "$PREFIX_OPENSSL/inc/external/openssl/ssl.h"; then
9       as_fn_error $? "$PREFIX_OPENSSL is a bad --with-ssl prefix!" "$LINENO" 5
10     fi
11
12             LIB_OPENSSL="$PREFIX_OPENSSL/lib$libsuff"
13     if test "$PREFIX_OPENSSL" != "/usr" ; then
14       SSL_LDFLAGS="-L$LIB_OPENSSL"
15-      SSL_CPPFLAGS="-I$PREFIX_OPENSSL/include"
16+      SSL_CPPFLAGS="-I$PREFIX_OPENSSL/inc/external"
17     fi
18     SSL_CPPFLAGS="$SSL_CPPFLAGS -I$PREFIX_OPENSSL/include/openssl"
19     ;;
20@@ -23841,7 +23841,7 @@
21      LDFLAGS="$CLEANLDFLAGS -L$LIB_OPENSSL"
22      if test "$PKGCONFIG" = "no" ; then
23        # only set this if pkg-config wasn't used
24-       CPPFLAGS="$CLEANCPPFLAGS -I$PREFIX_OPENSSL/include/openssl -I$PREFIX_OPENSSL/include"
25+       CPPFLAGS="$CLEANCPPFLAGS -I$PREFIX_OPENSSL/inc/external/openssl -I$PREFIX_OPENSSL/inc/external"
26      fi
27      # Linking previously failed, try extra paths from --with-ssl or pkg-config.
28      # Use a different function name to avoid reusing the earlier cached result.
29