Skip to content

Commit fa4312e

Browse files
committed
curl: document tiny-curl config a bit more.
1 parent b90720c commit fa4312e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

configure.ac

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8193,12 +8193,18 @@ then
81938193
fi
81948194
elif test "$ENABLED_CURL" = "tiny"
81958195
then
8196+
# basic config to support tiny-curl.
8197+
# OPENSSL_EXTRA_X509_SMALL is sufficient.
81968198
if test "x$ENABLED_OPENSSLEXTRA" = "xno"
81978199
then
81988200
ENABLED_OPENSSLEXTRA="x509small"
81998201
fi
82008202
8203+
# expose a bit more compat API without full OPENSSL_EXTRA.
82018204
AM_CFLAGS="$AM_CFLAGS -DHAVE_CURL"
8205+
8206+
# session cache is necessary, but can be small or micro.
8207+
AM_CFLAGS="$AM_CFLAGS -DSMALL_SESSION_CACHE"
82028208
fi
82038209
82048210
if test "$ENABLED_PSK" = "no" && test "$ENABLED_LEANPSK" = "no" \

0 commit comments

Comments
 (0)