Lines Matching +full:- +full:- +full:enable +full:- +full:debug
8 # Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
27 dnl -------------------------------------------------
29 dnl --enable-threaded-resolver or --disable-threaded-resolver, and
33 AC_MSG_CHECKING([whether to enable the threaded resolver])
36 AC_HELP_STRING([--enable-threaded-resolver],[Enable threaded resolver])
37 AC_HELP_STRING([--disable-threaded-resolver],[Disable threaded resolver]),
41 dnl --disable-threaded-resolver option used
53 dnl -------------------------------------------------
55 dnl --enable-ares or --disable-ares, and
61 AC_MSG_CHECKING([whether to enable c-ares for DNS lookups])
64 AC_HELP_STRING([--enable-ares@<:@=PATH@:>@],[Enable c-ares for DNS lookups])
65 AC_HELP_STRING([--disable-ares],[Disable c-ares for DNS lookups]),
69 dnl --disable-ares option used
77 dnl --enable-ares option used
79 if test -n "$enableval" && test "$enableval" != "yes"; then
89 dnl -------------------------------------------------
91 dnl --enable-curldebug or --disable-curldebug, and set
96 AC_MSG_CHECKING([whether to enable curl debug memory tracking])
99 AC_HELP_STRING([--enable-curldebug],[Enable curl debug memory tracking])
100 AC_HELP_STRING([--disable-curldebug],[Disable curl debug memory tracking]),
104 dnl --disable-curldebug option used
111 dnl --enable-debug. IOW, initially, for debug-enabled builds
112 dnl this will be handled as a request to enable curldebug if
113 dnl possible, and for debug-disabled builds this will be handled
117 AC_DEFINE(CURLDEBUG, 1, [to enable curl debug memory tracking])
125 dnl --enable-curldebug option used.
126 dnl The use of this option value is a request to enable curl's
127 dnl debug memory tracking for the libcurl library. This can only
131 dnl --disable-curldebug had been given setting shell variable
134 AC_DEFINE(CURLDEBUG, 1, [to enable curl debug memory tracking])
142 dnl -------------------------------------------------
144 dnl --enable-debug or --disable-debug, and set shell
151 AC_MSG_CHECKING([whether to enable debug build options])
153 AC_ARG_ENABLE(debug, optenable
154 AC_HELP_STRING([--enable-debug],[Enable debug build options])
155 AC_HELP_STRING([--disable-debug],[Disable debug build options]),
159 dnl --disable-debug option used
167 dnl --enable-debug option used
169 AC_DEFINE(DEBUGBUILD, 1, [enable debug build options])
176 dnl -------------------------------------------------
178 dnl --enable-optimize or --disable-optimize, and set
184 AC_MSG_CHECKING([whether to enable compiler optimizer])
187 AC_HELP_STRING([--enable-optimize],[Enable compiler optimizations])
188 AC_HELP_STRING([--disable-optimize],[Disable compiler optimizations]),
192 dnl --disable-optimize option used. We will handle this as
202 dnl for --enable-debug. IOW, initially, for debug-enabled builds
204 dnl possible, and for debug-disabled builds this will be handled
205 dnl initially as a request to enable optimizations if possible.
220 dnl --enable-optimize option used. We will handle this as
221 dnl a request to enable compiler optimizations if possible.
232 dnl -------------------------------------------------
234 dnl --enable-symbol-hiding or --disable-symbol-hiding,
239 AC_MSG_CHECKING([whether to enable hiding of library internal symbols])
241 AC_ARG_ENABLE(symbol-hiding,
242 AC_HELP_STRING([--enable-symbol-hiding],[Enable hiding of library internal symbols])
243 AC_HELP_STRING([--disable-symbol-hiding],[Disable hiding of library internal symbols]),
245 AC_ARG_ENABLE(hidden-symbols,
246 AC_HELP_STRING([--enable-hidden-symbols],[To be deprecated, use --enable-symbol-hiding])
247 AC_HELP_STRING([--disable-hidden-symbols],[To be deprecated, use --disable-symbol-hiding]),
251 dnl --disable-symbol-hiding option used.
259 dnl configure's symbol-hiding option not specified.
260 dnl Handle this as if --enable-symbol-hiding option was given.
265 dnl --enable-symbol-hiding option used.
276 dnl -------------------------------------------------
278 dnl --enable-threads or --disable-threads, and
283 dnl AC_MSG_CHECKING([whether to enable threads for DNS lookups])
286 dnl AC_HELP_STRING([--enable-threads@<:@=PATH@:>@],[Enable threads for DNS lookups])
287 dnl AC_HELP_STRING([--disable-threads],[Disable threads for DNS lookups]),
291 dnl dnl --disable-threads option used
301 dnl dnl --enable-threads option used
310 dnl AC_MSG_CHECKING([whether to ignore c-ares enabling assumed setting])
318 dnl AC_MSG_ERROR([options --enable-ares and --enable-threads are mutually exclusive, at most on…
323 dnl -------------------------------------------------
325 dnl --disable-rt and set shell variable dontwant_rt
330 AC_MSG_CHECKING([whether to disable dependency on -lrt])
333 AC_HELP_STRING([--disable-rt],[disable dependency on -lrt]),
337 dnl --disable-rt used (reverse logic)
347 dnl --enable-rt option used (reverse logic)
355 dnl -------------------------------------------------
357 dnl --enable-warnings or --disable-warnings, and set
364 AC_MSG_CHECKING([whether to enable strict compiler warnings])
367 AC_HELP_STRING([--enable-warnings],[Enable strict compiler warnings])
368 AC_HELP_STRING([--disable-warnings],[Disable strict compiler warnings]),
372 dnl --disable-warnings option used
377 dnl use same setting as --enable-debug
381 dnl --enable-warnings option used
389 dnl -------------------------------------------------
391 dnl --enable-werror or --disable-werror, and set
396 AC_MSG_CHECKING([whether to enable compiler warnings as errors])
399 AC_HELP_STRING([--enable-werror],[Enable compiler warnings as errors])
400 AC_HELP_STRING([--disable-werror],[Disable compiler warnings as errors]),
404 dnl --disable-werror option used
412 dnl --enable-werror option used
421 dnl -------------------------------------------------
422 dnl Check for how to set a socket into non-blocking state.
433 AC_MSG_CHECKING([how to set a socket into non-blocking mode])
447 AC_MSG_WARN([cannot determine non-blocking socket method.])
453 dnl -------------------------------------------------
454 dnl Depending on --enable-symbol-hiding or --disable-symbol-hiding
482 dnl -------------------------------------------------
483 dnl When c-ares library support has been requested,
485 dnl to enable support of this library.
490 dnl c-ares library support has been requested
497 if test -n "$want_ares_path"; then
498 dnl c-ares library path has been specified
503 $PKGCONFIG --libs-only-l libcares`
505 $PKGCONFIG --libs-only-L libcares`
507 $PKGCONFIG --cflags-only-I libcares`
508 AC_MSG_NOTICE([pkg-config: ares LIBS: "$ares_LIBS"])
509 AC_MSG_NOTICE([pkg-config: ares LDFLAGS: "$ares_LDFLAGS"])
510 AC_MSG_NOTICE([pkg-config: ares CPPFLAGS: "$ares_CPPFLAGS"])
512 dnl ... path without pkg-config
513 ares_CPPFLAGS="-I$want_ares_path/include"
514 ares_LDFLAGS="-L$want_ares_path/lib"
515 ares_LIBS="-lcares"
518 dnl c-ares library path has not been given
519 if test -d "$srcdir/ares"; then
520 dnl c-ares sources embedded in curl tree
523 dnl c-ares has installable configured header files, path
524 dnl inclusion fully done in makefiles for in-tree builds.
526 ares_LDFLAGS="-L$embedded_ares_builddir"
527 ares_LIBS="-lcares"
529 dnl c-ares path not specified, use defaults
532 ares_LIBS=`$PKGCONFIG --libs-only-l libcares`
533 ares_LDFLAGS=`$PKGCONFIG --libs-only-L libcares`
534 ares_CPPFLAGS=`$PKGCONFIG --cflags-only-I libcares`
535 AC_MSG_NOTICE([pkg-config: ares_LIBS: "$ares_LIBS"])
536 AC_MSG_NOTICE([pkg-config: ares_LDFLAGS: "$ares_LDFLAGS"])
537 AC_MSG_NOTICE([pkg-config: ares_CPPFLAGS: "$ares_CPPFLAGS"])
541 ares_LIBS="-lcares"
551 dnl check if c-ares new enough when not using an embedded
553 AC_MSG_CHECKING([that c-ares is good and recent enough])
557 /* set of dummy functions in case c-ares was built with debug */
573 AC_MSG_ERROR([c-ares library defective or too old])
583 dnl finally c-ares will be used
584 AC_DEFINE(USE_ARES, 1, [Define to enable c-ares support])
586 curl_res_msg="c-ares"
593 dnl -------------------------------------------------
595 dnl --enable-ntlm-wb or --disable-ntlm-wb, and set
602 AC_ARG_ENABLE(ntlm-wb,
603 AC_HELP_STRING([--enable-ntlm-wb@<:@=FILE@:>@],[Enable NTLM delegation to winbind's ntlm_auth helpe…
604 AC_HELP_STRING([--disable-ntlm-wb],[Disable NTLM delegation to winbind's ntlm_auth helper]),
609 dnl --disable-ntlm-wb option used
617 dnl --enable-ntlm-wb option used
619 if test -n "$enableval" && test "$enableval" != "yes"; then
628 dnl -------------------------------------------------
636 AC_MSG_CHECKING([whether to enable NTLM delegation to winbind's helper])
645 [Define to enable NTLM delegation to winbind's ntlm_auth helper.])