diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-12-05 23:59:32 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-12-05 23:59:32 +0000 |
commit | ac269a8f68323db6b579f11f864035bc2691081d (patch) | |
tree | 5bc2116fe477a0b7b01a07331413ba61d8e7306b /configure.ac | |
parent | 35944744f84f8127529b315951946416fa592a7c (diff) | |
download | curl-ac269a8f68323db6b579f11f864035bc2691081d.tar.gz |
Dan Fandrich added the --disable-cookies option to configure to build
libcurl without cookie support. This is mainly useful if you want to build a
minimalistic libcurl with no cookies support at all. Like for embedded
systems or similar.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 39264c7f8..7e2373c59 100644 --- a/configure.ac +++ b/configure.ac @@ -1509,6 +1509,25 @@ AC_HELP_STRING([--disable-crypto-auth],[Disable cryptographic authentication]), AC_MSG_RESULT(yes) ) +dnl ************************************************************ +dnl disable cookies support +dnl +AC_MSG_CHECKING([whether to enable support for cookies]) +AC_ARG_ENABLE(cookies, +AC_HELP_STRING([--enable-cookies],[Enable cookies support]) +AC_HELP_STRING([--disable-cookies],[Disable cookies support]), +[ case "$enableval" in + no) + AC_MSG_RESULT(no) + AC_DEFINE(CURL_DISABLE_COOKIES, 1, [to disable cookies support]) + AC_SUBST(CURL_DISABLE_COOKIES) + ;; + *) AC_MSG_RESULT(yes) + ;; + esac ], + AC_MSG_RESULT(yes) +) + AM_CONDITIONAL(CROSSCOMPILING, test x$cross_compiling = xyes) AC_CONFIG_FILES([Makefile \ |