Lines Matching +full:c +full:- +full:ares
8 # Copyright (C) Daniel Stenberg, <[email protected]>, et al.
21 # SPDX-License-Identifier: curl
29 dnl -------------------------------------------------
31 dnl --enable-threaded-resolver or --disable-threaded-resolver, and
38 AS_HELP_STRING([--enable-threaded-resolver],[Enable threaded resolver])
39 AS_HELP_STRING([--disable-threaded-resolver],[Disable threaded resolver]),
43 dnl --disable-threaded-resolver option used
55 dnl -------------------------------------------------
57 dnl --enable-ares or --disable-ares, and
63 AC_MSG_CHECKING([whether to enable c-ares for DNS lookups])
65 AC_ARG_ENABLE(ares, optenable
66 AS_HELP_STRING([--enable-ares@<:@=PATH@:>@],[Enable c-ares for DNS lookups])
67 AS_HELP_STRING([--disable-ares],[Disable c-ares for DNS lookups]),
71 dnl --disable-ares option used
79 dnl --enable-ares option used
81 if test -n "$enableval" && test "$enableval" != "yes"; then
91 dnl -------------------------------------------------
93 dnl --enable-curldebug or --disable-curldebug, and set
101 AS_HELP_STRING([--enable-curldebug],[Enable curl debug memory tracking])
102 AS_HELP_STRING([--disable-curldebug],[Disable curl debug memory tracking]),
106 dnl --disable-curldebug option used
113 dnl --enable-debug. IOW, initially, for debug-enabled builds
115 dnl possible, and for debug-disabled builds this will be handled
127 dnl --enable-curldebug option used.
133 dnl --disable-curldebug had been given setting shell variable
144 dnl -------------------------------------------------
146 dnl --enable-debug or --disable-debug, and set shell
156 AS_HELP_STRING([--enable-debug],[Enable debug build options])
157 AS_HELP_STRING([--disable-debug],[Disable debug build options]),
161 dnl --disable-debug option used
169 dnl --enable-debug option used
178 dnl -------------------------------------------------
180 dnl --enable-optimize or --disable-optimize, and set
189 AS_HELP_STRING([--enable-optimize],[Enable compiler optimizations])
190 AS_HELP_STRING([--disable-optimize],[Disable compiler optimizations]),
194 dnl --disable-optimize option used. We will handle this as
204 dnl for --enable-debug. IOW, initially, for debug-enabled builds
206 dnl possible, and for debug-disabled builds this will be handled
222 dnl --enable-optimize option used. We will handle this as
234 dnl -------------------------------------------------
236 dnl --enable-symbol-hiding or --disable-symbol-hiding,
243 AC_ARG_ENABLE(symbol-hiding,
244 AS_HELP_STRING([--enable-symbol-hiding],[Enable hiding of library internal symbols])
245 AS_HELP_STRING([--disable-symbol-hiding],[Disable hiding of library internal symbols]),
249 dnl --disable-symbol-hiding option used.
257 dnl configure's symbol-hiding option not specified.
258 dnl Handle this as if --enable-symbol-hiding option was given.
263 dnl --enable-symbol-hiding option used.
274 dnl -------------------------------------------------
276 dnl --enable-threads or --disable-threads, and
284 dnl AS_HELP_STRING([--enable-threads@<:@=PATH@:>@],[Enable threads for DNS lookups])
285 dnl AS_HELP_STRING([--disable-threads],[Disable threads for DNS lookups]),
289 dnl dnl --disable-threads option used
299 dnl dnl --enable-threads option used
308 dnl AC_MSG_CHECKING([whether to ignore c-ares enabling assumed setting])
316 dnl AC_MSG_ERROR([options --enable-ares and --enable-threads are mutually exclusive, at most on…
321 dnl -------------------------------------------------
323 dnl --disable-rt and set shell variable dontwant_rt
328 AC_MSG_CHECKING([whether to disable dependency on -lrt])
331 AS_HELP_STRING([--disable-rt],[disable dependency on -lrt]),
335 dnl --disable-rt used (reverse logic)
345 dnl --enable-rt option used (reverse logic)
353 dnl -------------------------------------------------
355 dnl --enable-warnings or --disable-warnings, and set
365 AS_HELP_STRING([--enable-warnings],[Enable strict compiler warnings])
366 AS_HELP_STRING([--disable-warnings],[Disable strict compiler warnings]),
370 dnl --disable-warnings option used
375 dnl use same setting as --enable-debug
379 dnl --enable-warnings option used
387 dnl -------------------------------------------------
389 dnl --enable-werror or --disable-werror, and set
397 AS_HELP_STRING([--enable-werror],[Enable compiler warnings as errors])
398 AS_HELP_STRING([--disable-werror],[Disable compiler warnings as errors]),
402 dnl --disable-werror option used
410 dnl --enable-werror option used
419 dnl -------------------------------------------------
420 dnl Check for how to set a socket into non-blocking state.
429 AC_MSG_CHECKING([how to set a socket into non-blocking mode])
443 AC_MSG_WARN([cannot determine non-blocking socket method.])
449 dnl -------------------------------------------------
450 dnl Depending on --enable-symbol-hiding or --disable-symbol-hiding
477 dnl -------------------------------------------------
478 dnl When c-ares library support has been requested, performs necessary checks
484 dnl c-ares library support has been requested
489 if test -n "$want_ares_path"; then
490 dnl c-ares library path has been specified
495 $PKGCONFIG --libs-only-l libcares`
497 $PKGCONFIG --libs-only-L libcares`
499 $PKGCONFIG --cflags-only-I libcares`
500 AC_MSG_NOTICE([pkg-config: ares LIBS: "$ares_LIBS"])
501 AC_MSG_NOTICE([pkg-config: ares LDFLAGS: "$ares_LDFLAGS"])
502 AC_MSG_NOTICE([pkg-config: ares CPPFLAGS: "$ares_CPPFLAGS"])
504 dnl ... path without pkg-config
505 ares_CPPFLAGS="-I$want_ares_path/include"
506 ares_LDFLAGS="-L$want_ares_path/lib"
507 ares_LIBS="-lcares"
510 dnl c-ares path not specified, use defaults
513 ares_LIBS=`$PKGCONFIG --libs-only-l libcares`
514 ares_LDFLAGS=`$PKGCONFIG --libs-only-L libcares`
515 ares_CPPFLAGS=`$PKGCONFIG --cflags-only-I libcares`
516 AC_MSG_NOTICE([pkg-config: ares_LIBS: "$ares_LIBS"])
517 AC_MSG_NOTICE([pkg-config: ares_LDFLAGS: "$ares_LDFLAGS"])
518 AC_MSG_NOTICE([pkg-config: ares_CPPFLAGS: "$ares_CPPFLAGS"])
522 ares_LIBS="-lcares"
531 dnl check if c-ares new enough
532 AC_MSG_CHECKING([that c-ares is good and recent enough])
535 #include <ares.h>
536 /* set of dummy functions in case c-ares was built with debug */
552 AC_MSG_ERROR([c-ares library defective or too old])
562 dnl finally c-ares will be used
563 AC_DEFINE(USE_ARES, 1, [Define to enable c-ares support])
564 AC_DEFINE(CARES_NO_DEPRECATED, 1, [Ignore c-ares deprecation warnings])
567 curl_res_msg="c-ares"
573 dnl -------------------------------------------------
575 dnl --enable-ntlm-wb or --disable-ntlm-wb, and set
582 AC_ARG_ENABLE(ntlm-wb,
583 AS_HELP_STRING([--enable-ntlm-wb@<:@=FILE@:>@],[Enable NTLM delegation to winbind's ntlm_auth helpe…
584 AS_HELP_STRING([--disable-ntlm-wb],[Disable NTLM delegation to winbind's ntlm_auth helper]),
589 dnl --disable-ntlm-wb option used
597 dnl --enable-ntlm-wb option used
599 if test -n "$enableval" && test "$enableval" != "yes"; then
608 dnl -------------------------------------------------
636 dnl -----------------------------------------------------
638 dnl --enable-httpsrr or --disable-httpsrr, and set
645 AS_HELP_STRING([--enable-httpsrr],[Enable HTTPSRR support])
646 AS_HELP_STRING([--disable-httpsrr],[Disable HTTPSRR support]),
650 dnl --disable-httpsrr option used
652 curl_httpsrr_msg="no (--enable-httpsrr)"
658 curl_httpsrr_msg="no (--enable-httpsrr)"
662 dnl --enable-httpsrr option used
664 curl_httpsrr_msg="enabled (--disable-httpsrr)"
671 dnl -----------------------------------------------------
673 dnl --enable-ech or --disable-ech, and set
680 AS_HELP_STRING([--enable-ech],[Enable ECH support])
681 AS_HELP_STRING([--disable-ech],[Disable ECH support]),
685 dnl --disable-ech option used
687 curl_ech_msg="no (--enable-ech)"
693 curl_ech_msg="no (--enable-ech)"
697 dnl --enable-ech option used
699 curl_ech_msg="enabled (--disable-ech)"