Lines Matching +full:- +full:- +full:enable +full:- +full:ares
21 # SPDX-License-Identifier: curl
29 dnl -------------------------------------------------
31 dnl --enable-threaded-resolver or --disable-threaded-resolver, and
35 AC_MSG_CHECKING([whether to enable the threaded resolver])
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
47 dnl --enable-threaded-resolver option used
70 dnl -------------------------------------------------
72 dnl --enable-ares or --disable-ares, and
78 AC_MSG_CHECKING([whether to enable c-ares for DNS lookups])
80 AC_ARG_ENABLE(ares, optenable
81 AS_HELP_STRING([--enable-ares@<:@=PATH@:>@],[Enable c-ares for DNS lookups])
82 AS_HELP_STRING([--disable-ares],[Disable c-ares for DNS lookups]),
86 dnl --disable-ares option used
94 dnl --enable-ares option used
96 if test -n "$enableval" && test "$enableval" != "yes"; then
106 dnl -------------------------------------------------
108 dnl --enable-curldebug or --disable-curldebug, and set
113 AC_MSG_CHECKING([whether to enable curl debug memory tracking])
116 AS_HELP_STRING([--enable-curldebug],[Enable curl debug memory tracking])
117 AS_HELP_STRING([--disable-curldebug],[Disable curl debug memory tracking]),
121 dnl --disable-curldebug option used
128 dnl --enable-debug. IOW, initially, for debug-enabled builds
129 dnl this will be handled as a request to enable curldebug if
130 dnl possible, and for debug-disabled builds this will be handled
134 AC_DEFINE(CURLDEBUG, 1, [to enable curl debug memory tracking])
142 dnl --enable-curldebug option used.
143 dnl The use of this option value is a request to enable curl's
148 dnl --disable-curldebug had been given setting shell variable
151 AC_DEFINE(CURLDEBUG, 1, [to enable curl debug memory tracking])
159 dnl -------------------------------------------------
161 dnl --enable-debug or --disable-debug, and set shell
168 AC_MSG_CHECKING([whether to enable debug build options])
171 AS_HELP_STRING([--enable-debug],[Enable debug build options])
172 AS_HELP_STRING([--disable-debug],[Disable debug build options]),
176 dnl --disable-debug option used
184 dnl --enable-debug option used
186 AC_DEFINE(DEBUGBUILD, 1, [enable debug build options])
193 dnl -------------------------------------------------
195 dnl --enable-optimize or --disable-optimize, and set
201 AC_MSG_CHECKING([whether to enable compiler optimizer])
204 AS_HELP_STRING([--enable-optimize],[Enable compiler optimizations])
205 AS_HELP_STRING([--disable-optimize],[Disable compiler optimizations]),
209 dnl --disable-optimize option used. We will handle this as
219 dnl for --enable-debug. IOW, initially, for debug-enabled builds
221 dnl possible, and for debug-disabled builds this will be handled
222 dnl initially as a request to enable optimizations if possible.
237 dnl --enable-optimize option used. We will handle this as
238 dnl a request to enable compiler optimizations if possible.
249 dnl -------------------------------------------------
251 dnl --enable-symbol-hiding or --disable-symbol-hiding,
256 AC_MSG_CHECKING([whether to enable hiding of library internal symbols])
258 AC_ARG_ENABLE(symbol-hiding,
259 AS_HELP_STRING([--enable-symbol-hiding],[Enable hiding of library internal symbols])
260 AS_HELP_STRING([--disable-symbol-hiding],[Disable hiding of library internal symbols]),
264 dnl --disable-symbol-hiding option used.
272 dnl configure's symbol-hiding option not specified.
273 dnl Handle this as if --enable-symbol-hiding option was given.
278 dnl --enable-symbol-hiding option used.
289 dnl -------------------------------------------------
291 dnl --disable-rt and set shell variable dontwant_rt
296 AC_MSG_CHECKING([whether to disable dependency on -lrt])
299 AS_HELP_STRING([--disable-rt],[disable dependency on -lrt]),
303 dnl --disable-rt used (reverse logic)
313 dnl --enable-rt option used (reverse logic)
321 dnl -------------------------------------------------
323 dnl --enable-warnings or --disable-warnings, and set
330 AC_MSG_CHECKING([whether to enable strict compiler warnings])
333 AS_HELP_STRING([--enable-warnings],[Enable strict compiler warnings])
334 AS_HELP_STRING([--disable-warnings],[Disable strict compiler warnings]),
338 dnl --disable-warnings option used
343 dnl use same setting as --enable-debug
347 dnl --enable-warnings option used
355 dnl -------------------------------------------------
357 dnl --enable-werror or --disable-werror, and set
362 AC_MSG_CHECKING([whether to enable compiler warnings as errors])
365 AS_HELP_STRING([--enable-werror],[Enable compiler warnings as errors])
366 AS_HELP_STRING([--disable-werror],[Disable compiler warnings as errors]),
370 dnl --disable-werror option used
378 dnl --enable-werror option used
387 dnl -------------------------------------------------
388 dnl Check for how to set a socket into non-blocking state.
397 AC_MSG_CHECKING([how to set a socket into non-blocking mode])
411 AC_MSG_WARN([cannot determine non-blocking socket method.])
417 dnl -------------------------------------------------
418 dnl Depending on --enable-symbol-hiding or --disable-symbol-hiding
445 dnl -------------------------------------------------
446 dnl When c-ares library support has been requested, performs necessary checks
447 dnl and adjustments needed to enable support of this library.
452 dnl c-ares library support has been requested
458 if test -n "$want_ares_path"; then
459 dnl c-ares library path has been specified
464 $PKGCONFIG --libs-only-l libcares`
466 $PKGCONFIG --libs-only-L libcares`
468 $PKGCONFIG --cflags-only-I libcares`
469 AC_MSG_NOTICE([pkg-config: ares LIBS: "$ares_LIBS"])
470 AC_MSG_NOTICE([pkg-config: ares LDFLAGS: "$ares_LDFLAGS"])
471 AC_MSG_NOTICE([pkg-config: ares CPPFLAGS: "$ares_CPPFLAGS"])
473 dnl ... path without pkg-config
474 ares_CPPFLAGS="-I$want_ares_path/include"
475 ares_LDFLAGS="-L$want_ares_path/lib"
476 ares_LIBS="-lcares"
479 dnl c-ares path not specified, use defaults
482 ares_LIBS=`$PKGCONFIG --libs-only-l libcares`
483 ares_LDFLAGS=`$PKGCONFIG --libs-only-L libcares`
484 ares_CPPFLAGS=`$PKGCONFIG --cflags-only-I libcares`
485 AC_MSG_NOTICE([pkg-config: ares_LIBS: "$ares_LIBS"])
486 AC_MSG_NOTICE([pkg-config: ares_LDFLAGS: "$ares_LDFLAGS"])
487 AC_MSG_NOTICE([pkg-config: ares_CPPFLAGS: "$ares_CPPFLAGS"])
491 ares_LIBS="-lcares"
501 dnl check if c-ares new enough
502 AC_MSG_CHECKING([that c-ares is good and recent enough])
505 #include <ares.h>
506 /* set of dummy functions in case c-ares was built with debug */
522 AC_MSG_ERROR([c-ares library defective or too old])
533 dnl finally c-ares will be used
534 AC_DEFINE(USE_ARES, 1, [Define to enable c-ares support])
537 curl_res_msg="c-ares"
543 dnl -----------------------------------------------------
545 dnl --enable-httpsrr or --disable-httpsrr, and set
549 AC_MSG_CHECKING([whether to enable HTTPSRR support])
552 AS_HELP_STRING([--enable-httpsrr],[Enable HTTPSRR support])
553 AS_HELP_STRING([--disable-httpsrr],[Disable HTTPSRR support]),
557 dnl --disable-httpsrr option used
559 curl_httpsrr_msg="no (--enable-httpsrr)"
565 curl_httpsrr_msg="no (--enable-httpsrr)"
569 dnl --enable-httpsrr option used
578 dnl -----------------------------------------------------
580 dnl --enable-ech or --disable-ech, and set
584 AC_MSG_CHECKING([whether to enable ECH support])
587 AS_HELP_STRING([--enable-ech],[Enable ECH support])
588 AS_HELP_STRING([--disable-ech],[Disable ECH support]),
592 dnl --disable-ech option used
594 curl_ech_msg="no (--enable-ech)"
600 curl_ech_msg="no (--enable-ech)"
604 dnl --enable-ech option used
606 curl_ech_msg="enabled (--disable-ech)"
614 dnl -----------------------------------------------------
616 dnl --enable-ssl-session-export or --disable-ssl-session-export, and set
620 AC_MSG_CHECKING([whether to enable SSL session export support])
622 AC_ARG_ENABLE(ssls-export,
623 AS_HELP_STRING([--enable-ssls-export],
624 [Enable SSL session export support])
625 AS_HELP_STRING([--disable-ssls-export],
630 dnl --disable-ssls-export option used
632 curl_ssls_export_msg="no (--enable-ssls-export)"
638 curl_ssls_export_msg="no (--enable-ssls-export)"
642 dnl --enable-ssls-export option used
644 curl_ssls_export_msg="enabled (--disable-ssls-export)"