minor style changes
[ocurl.git] / configure
blob069dbe5e62edbb538c750c0f8cb781952528460a
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for ocurl 0.9.2.
6 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
7 # Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 as_nop=:
19 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
20 then :
21 emulate sh
22 NULLCMD=:
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
26 setopt NO_GLOB_SUBST
27 else $as_nop
28 case `(set -o) 2>/dev/null` in #(
29 *posix*) :
30 set -o posix ;; #(
31 *) :
33 esac
38 # Reset variables that may have inherited troublesome values from
39 # the environment.
41 # IFS needs to be set, to space, tab, and newline, in precisely that order.
42 # (If _AS_PATH_WALK were called with IFS unset, it would have the
43 # side effect of setting IFS to empty, thus disabling word splitting.)
44 # Quoting is to prevent editors from complaining about space-tab.
45 as_nl='
47 export as_nl
48 IFS=" "" $as_nl"
50 PS1='$ '
51 PS2='> '
52 PS4='+ '
54 # Ensure predictable behavior from utilities with locale-dependent output.
55 LC_ALL=C
56 export LC_ALL
57 LANGUAGE=C
58 export LANGUAGE
60 # We cannot yet rely on "unset" to work, but we need these variables
61 # to be unset--not just set to an empty or harmless value--now, to
62 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
63 # also avoids known problems related to "unset" and subshell syntax
64 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
65 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
66 do eval test \${$as_var+y} \
67 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
68 done
70 # Ensure that fds 0, 1, and 2 are open.
71 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
72 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
73 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
75 # The user is always right.
76 if ${PATH_SEPARATOR+false} :; then
77 PATH_SEPARATOR=:
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80 PATH_SEPARATOR=';'
85 # Find who we are. Look in the path if we contain no directory separator.
86 as_myself=
87 case $0 in #((
88 *[\\/]* ) as_myself=$0 ;;
89 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
90 for as_dir in $PATH
92 IFS=$as_save_IFS
93 case $as_dir in #(((
94 '') as_dir=./ ;;
95 */) ;;
96 *) as_dir=$as_dir/ ;;
97 esac
98 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
115 # Use a proper internal environment variable to ensure we don't fall
116 # into an infinite loop, continuously re-executing ourselves.
117 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
118 _as_can_reexec=no; export _as_can_reexec;
119 # We cannot yet assume a decent shell, so we have to provide a
120 # neutralization value for shells without unset; and this also
121 # works around shells that cannot unset nonexistent variables.
122 # Preserve -v and -x to the replacement shell.
123 BASH_ENV=/dev/null
124 ENV=/dev/null
125 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
126 case $- in # ((((
127 *v*x* | *x*v* ) as_opts=-vx ;;
128 *v* ) as_opts=-v ;;
129 *x* ) as_opts=-x ;;
130 * ) as_opts= ;;
131 esac
132 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
133 # Admittedly, this is quite paranoid, since all the known shells bail
134 # out after a failed `exec'.
135 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
136 exit 255
138 # We don't want this to propagate to other subprocesses.
139 { _as_can_reexec=; unset _as_can_reexec;}
140 if test "x$CONFIG_SHELL" = x; then
141 as_bourne_compatible="as_nop=:
142 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
143 then :
144 emulate sh
145 NULLCMD=:
146 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
147 # is contrary to our usage. Disable this feature.
148 alias -g '\${1+\"\$@\"}'='\"\$@\"'
149 setopt NO_GLOB_SUBST
150 else \$as_nop
151 case \`(set -o) 2>/dev/null\` in #(
152 *posix*) :
153 set -o posix ;; #(
154 *) :
156 esac
159 as_required="as_fn_return () { (exit \$1); }
160 as_fn_success () { as_fn_return 0; }
161 as_fn_failure () { as_fn_return 1; }
162 as_fn_ret_success () { return 0; }
163 as_fn_ret_failure () { return 1; }
165 exitcode=0
166 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
167 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
168 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
169 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
170 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
171 then :
173 else \$as_nop
174 exitcode=1; echo positional parameters were not saved.
176 test x\$exitcode = x0 || exit 1
177 blah=\$(echo \$(echo blah))
178 test x\"\$blah\" = xblah || exit 1
179 test -x / || exit 1"
180 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
181 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
182 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
183 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
184 if (eval "$as_required") 2>/dev/null
185 then :
186 as_have_required=yes
187 else $as_nop
188 as_have_required=no
190 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
191 then :
193 else $as_nop
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
198 IFS=$as_save_IFS
199 case $as_dir in #(((
200 '') as_dir=./ ;;
201 */) ;;
202 *) as_dir=$as_dir/ ;;
203 esac
204 as_found=:
205 case $as_dir in #(
207 for as_base in sh bash ksh sh5; do
208 # Try only shells that exist, to save several forks.
209 as_shell=$as_dir$as_base
210 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
211 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
212 then :
213 CONFIG_SHELL=$as_shell as_have_required=yes
214 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
215 then :
216 break 2
219 done;;
220 esac
221 as_found=false
222 done
223 IFS=$as_save_IFS
224 if $as_found
225 then :
227 else $as_nop
228 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
229 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
230 then :
231 CONFIG_SHELL=$SHELL as_have_required=yes
236 if test "x$CONFIG_SHELL" != x
237 then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
259 if test x$as_have_required = xno
260 then :
261 printf "%s\n" "$0: This script requires a shell more modern than all"
262 printf "%s\n" "$0: the shells that I found on your system."
263 if test ${ZSH_VERSION+y} ; then
264 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
266 else
267 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
272 exit 1
276 SHELL=${CONFIG_SHELL-/bin/sh}
277 export SHELL
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
285 # as_fn_unset VAR
286 # ---------------
287 # Portably unset VAR.
288 as_fn_unset ()
290 { eval $1=; unset $1;}
292 as_unset=as_fn_unset
295 # as_fn_set_status STATUS
296 # -----------------------
297 # Set $? to STATUS, without forking.
298 as_fn_set_status ()
300 return $1
301 } # as_fn_set_status
303 # as_fn_exit STATUS
304 # -----------------
305 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
306 as_fn_exit ()
308 set +e
309 as_fn_set_status $1
310 exit $1
311 } # as_fn_exit
312 # as_fn_nop
313 # ---------
314 # Do nothing but, unlike ":", preserve the value of $?.
315 as_fn_nop ()
317 return $?
319 as_nop=as_fn_nop
321 # as_fn_mkdir_p
322 # -------------
323 # Create "$as_dir" as a directory, including parents if necessary.
324 as_fn_mkdir_p ()
327 case $as_dir in #(
328 -*) as_dir=./$as_dir;;
329 esac
330 test -d "$as_dir" || eval $as_mkdir_p || {
331 as_dirs=
332 while :; do
333 case $as_dir in #(
334 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
335 *) as_qdir=$as_dir;;
336 esac
337 as_dirs="'$as_qdir' $as_dirs"
338 as_dir=`$as_dirname -- "$as_dir" ||
339 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
340 X"$as_dir" : 'X\(//\)[^/]' \| \
341 X"$as_dir" : 'X\(//\)$' \| \
342 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
343 printf "%s\n" X"$as_dir" |
344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
345 s//\1/
348 /^X\(\/\/\)[^/].*/{
349 s//\1/
352 /^X\(\/\/\)$/{
353 s//\1/
356 /^X\(\/\).*/{
357 s//\1/
360 s/.*/./; q'`
361 test -d "$as_dir" && break
362 done
363 test -z "$as_dirs" || eval "mkdir $as_dirs"
364 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367 } # as_fn_mkdir_p
369 # as_fn_executable_p FILE
370 # -----------------------
371 # Test if FILE is an executable regular file.
372 as_fn_executable_p ()
374 test -f "$1" && test -x "$1"
375 } # as_fn_executable_p
376 # as_fn_append VAR VALUE
377 # ----------------------
378 # Append the text in VALUE to the end of the definition contained in VAR. Take
379 # advantage of any shell optimizations that allow amortized linear growth over
380 # repeated appends, instead of the typical quadratic growth present in naive
381 # implementations.
382 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
383 then :
384 eval 'as_fn_append ()
386 eval $1+=\$2
388 else $as_nop
389 as_fn_append ()
391 eval $1=\$$1\$2
393 fi # as_fn_append
395 # as_fn_arith ARG...
396 # ------------------
397 # Perform arithmetic evaluation on the ARGs, and store the result in the
398 # global $as_val. Take advantage of shells that can avoid forks. The arguments
399 # must be portable across $(()) and expr.
400 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
401 then :
402 eval 'as_fn_arith ()
404 as_val=$(( $* ))
406 else $as_nop
407 as_fn_arith ()
409 as_val=`expr "$@" || test $? -eq 1`
411 fi # as_fn_arith
413 # as_fn_nop
414 # ---------
415 # Do nothing but, unlike ":", preserve the value of $?.
416 as_fn_nop ()
418 return $?
420 as_nop=as_fn_nop
422 # as_fn_error STATUS ERROR [LINENO LOG_FD]
423 # ----------------------------------------
424 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
425 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
426 # script with STATUS, using 1 if that was 0.
427 as_fn_error ()
429 as_status=$1; test $as_status -eq 0 && as_status=1
430 if test "$4"; then
431 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
434 printf "%s\n" "$as_me: error: $2" >&2
435 as_fn_exit $as_status
436 } # as_fn_error
438 if expr a : '\(a\)' >/dev/null 2>&1 &&
439 test "X`expr 00001 : '.*\(...\)'`" = X001; then
440 as_expr=expr
441 else
442 as_expr=false
445 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
446 as_basename=basename
447 else
448 as_basename=false
451 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
452 as_dirname=dirname
453 else
454 as_dirname=false
457 as_me=`$as_basename -- "$0" ||
458 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
459 X"$0" : 'X\(//\)$' \| \
460 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
461 printf "%s\n" X/"$0" |
462 sed '/^.*\/\([^/][^/]*\)\/*$/{
463 s//\1/
466 /^X\/\(\/\/\)$/{
467 s//\1/
470 /^X\/\(\/\).*/{
471 s//\1/
474 s/.*/./; q'`
476 # Avoid depending upon Character Ranges.
477 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
478 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
479 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
480 as_cr_digits='0123456789'
481 as_cr_alnum=$as_cr_Letters$as_cr_digits
484 as_lineno_1=$LINENO as_lineno_1a=$LINENO
485 as_lineno_2=$LINENO as_lineno_2a=$LINENO
486 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
487 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
488 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 sed -n '
491 /[$]LINENO/=
492 ' <$as_myself |
493 sed '
494 s/[$]LINENO.*/&-/
495 t lineno
497 :lineno
499 :loop
500 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
501 t loop
502 s/-\n.*//
503 ' >$as_me.lineno &&
504 chmod +x "$as_me.lineno" ||
505 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
507 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
508 # already done that, so ensure we don't try to do so again and fall
509 # in an infinite loop. This has already happened in practice.
510 _as_can_reexec=no; export _as_can_reexec
511 # Don't try to exec as it changes $[0], causing all sort of problems
512 # (the dirname of $[0] is not the place where we might find the
513 # original and so on. Autoconf is especially sensitive to this).
514 . "./$as_me.lineno"
515 # Exit status is that of the last command.
516 exit
520 # Determine whether it's possible to make 'echo' print without a newline.
521 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
522 # for compatibility with existing Makefiles.
523 ECHO_C= ECHO_N= ECHO_T=
524 case `echo -n x` in #(((((
525 -n*)
526 case `echo 'xy\c'` in
527 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
528 xy) ECHO_C='\c';;
529 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
530 ECHO_T=' ';;
531 esac;;
533 ECHO_N='-n';;
534 esac
536 # For backward compatibility with old third-party macros, we provide
537 # the shell variables $as_echo and $as_echo_n. New code should use
538 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
539 as_echo='printf %s\n'
540 as_echo_n='printf %s'
543 rm -f conf$$ conf$$.exe conf$$.file
544 if test -d conf$$.dir; then
545 rm -f conf$$.dir/conf$$.file
546 else
547 rm -f conf$$.dir
548 mkdir conf$$.dir 2>/dev/null
550 if (echo >conf$$.file) 2>/dev/null; then
551 if ln -s conf$$.file conf$$ 2>/dev/null; then
552 as_ln_s='ln -s'
553 # ... but there are two gotchas:
554 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
555 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
556 # In both cases, we have to default to `cp -pR'.
557 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
558 as_ln_s='cp -pR'
559 elif ln conf$$.file conf$$ 2>/dev/null; then
560 as_ln_s=ln
561 else
562 as_ln_s='cp -pR'
564 else
565 as_ln_s='cp -pR'
567 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
568 rmdir conf$$.dir 2>/dev/null
570 if mkdir -p . 2>/dev/null; then
571 as_mkdir_p='mkdir -p "$as_dir"'
572 else
573 test -d ./-p && rmdir ./-p
574 as_mkdir_p=false
577 as_test_x='test -x'
578 as_executable_p=as_fn_executable_p
580 # Sed expression to map a string onto a valid CPP name.
581 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
583 # Sed expression to map a string onto a valid variable name.
584 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
587 test -n "$DJDIR" || exec 7<&0 </dev/null
588 exec 6>&1
590 # Name of the host.
591 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
592 # so uname gets run too.
593 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
596 # Initializations.
598 ac_default_prefix=/usr/local
599 ac_clean_files=
600 ac_config_libobj_dir=.
601 LIBOBJS=
602 cross_compiling=no
603 subdirs=
604 MFLAGS=
605 MAKEFLAGS=
607 # Identity of this package.
608 PACKAGE_NAME='ocurl'
609 PACKAGE_TARNAME='ocurl'
610 PACKAGE_VERSION='0.9.2'
611 PACKAGE_STRING='ocurl 0.9.2'
612 PACKAGE_BUGREPORT=''
613 PACKAGE_URL=''
615 # Factoring default headers for most tests.
616 ac_includes_default="\
617 #include <stddef.h>
618 #ifdef HAVE_STDIO_H
619 # include <stdio.h>
620 #endif
621 #ifdef HAVE_STDLIB_H
622 # include <stdlib.h>
623 #endif
624 #ifdef HAVE_STRING_H
625 # include <string.h>
626 #endif
627 #ifdef HAVE_INTTYPES_H
628 # include <inttypes.h>
629 #endif
630 #ifdef HAVE_STDINT_H
631 # include <stdint.h>
632 #endif
633 #ifdef HAVE_STRINGS_H
634 # include <strings.h>
635 #endif
636 #ifdef HAVE_SYS_TYPES_H
637 # include <sys/types.h>
638 #endif
639 #ifdef HAVE_SYS_STAT_H
640 # include <sys/stat.h>
641 #endif
642 #ifdef HAVE_UNISTD_H
643 # include <unistd.h>
644 #endif"
646 ac_header_c_list=
647 ac_subst_vars='LTLIBOBJS
648 LIBOBJS
649 LIBCURL_VERSION
650 CURLLIBS
651 CURLCFLAGS
652 OBJEXT
653 EXEEXT
654 ac_ct_CC
655 CPPFLAGS
656 LDFLAGS
657 CFLAGS
659 target_alias
660 host_alias
661 build_alias
662 LIBS
663 ECHO_T
664 ECHO_N
665 ECHO_C
666 DEFS
667 mandir
668 localedir
669 libdir
670 psdir
671 pdfdir
672 dvidir
673 htmldir
674 infodir
675 docdir
676 oldincludedir
677 includedir
678 runstatedir
679 localstatedir
680 sharedstatedir
681 sysconfdir
682 datadir
683 datarootdir
684 libexecdir
685 sbindir
686 bindir
687 program_transform_name
688 prefix
689 exec_prefix
690 PACKAGE_URL
691 PACKAGE_BUGREPORT
692 PACKAGE_STRING
693 PACKAGE_VERSION
694 PACKAGE_TARNAME
695 PACKAGE_NAME
696 PATH_SEPARATOR
697 SHELL'
698 ac_subst_files=''
699 ac_user_opts='
700 enable_option_checking
702 ac_precious_vars='build_alias
703 host_alias
704 target_alias
706 CFLAGS
707 LDFLAGS
708 LIBS
709 CPPFLAGS
710 CURLCFLAGS
711 CURLLIBS
712 LIBCURL_VERSION'
715 # Initialize some variables set by options.
716 ac_init_help=
717 ac_init_version=false
718 ac_unrecognized_opts=
719 ac_unrecognized_sep=
720 # The variables have the same names as the options, with
721 # dashes changed to underlines.
722 cache_file=/dev/null
723 exec_prefix=NONE
724 no_create=
725 no_recursion=
726 prefix=NONE
727 program_prefix=NONE
728 program_suffix=NONE
729 program_transform_name=s,x,x,
730 silent=
731 site=
732 srcdir=
733 verbose=
734 x_includes=NONE
735 x_libraries=NONE
737 # Installation directory options.
738 # These are left unexpanded so users can "make install exec_prefix=/foo"
739 # and all the variables that are supposed to be based on exec_prefix
740 # by default will actually change.
741 # Use braces instead of parens because sh, perl, etc. also accept them.
742 # (The list follows the same order as the GNU Coding Standards.)
743 bindir='${exec_prefix}/bin'
744 sbindir='${exec_prefix}/sbin'
745 libexecdir='${exec_prefix}/libexec'
746 datarootdir='${prefix}/share'
747 datadir='${datarootdir}'
748 sysconfdir='${prefix}/etc'
749 sharedstatedir='${prefix}/com'
750 localstatedir='${prefix}/var'
751 runstatedir='${localstatedir}/run'
752 includedir='${prefix}/include'
753 oldincludedir='/usr/include'
754 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
755 infodir='${datarootdir}/info'
756 htmldir='${docdir}'
757 dvidir='${docdir}'
758 pdfdir='${docdir}'
759 psdir='${docdir}'
760 libdir='${exec_prefix}/lib'
761 localedir='${datarootdir}/locale'
762 mandir='${datarootdir}/man'
764 ac_prev=
765 ac_dashdash=
766 for ac_option
768 # If the previous option needs an argument, assign it.
769 if test -n "$ac_prev"; then
770 eval $ac_prev=\$ac_option
771 ac_prev=
772 continue
775 case $ac_option in
776 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
777 *=) ac_optarg= ;;
778 *) ac_optarg=yes ;;
779 esac
781 case $ac_dashdash$ac_option in
783 ac_dashdash=yes ;;
785 -bindir | --bindir | --bindi | --bind | --bin | --bi)
786 ac_prev=bindir ;;
787 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
788 bindir=$ac_optarg ;;
790 -build | --build | --buil | --bui | --bu)
791 ac_prev=build_alias ;;
792 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
793 build_alias=$ac_optarg ;;
795 -cache-file | --cache-file | --cache-fil | --cache-fi \
796 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
797 ac_prev=cache_file ;;
798 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
799 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
800 cache_file=$ac_optarg ;;
802 --config-cache | -C)
803 cache_file=config.cache ;;
805 -datadir | --datadir | --datadi | --datad)
806 ac_prev=datadir ;;
807 -datadir=* | --datadir=* | --datadi=* | --datad=*)
808 datadir=$ac_optarg ;;
810 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
811 | --dataroo | --dataro | --datar)
812 ac_prev=datarootdir ;;
813 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
814 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
815 datarootdir=$ac_optarg ;;
817 -disable-* | --disable-*)
818 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
819 # Reject names that are not valid shell variable names.
820 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
821 as_fn_error $? "invalid feature name: \`$ac_useropt'"
822 ac_useropt_orig=$ac_useropt
823 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
824 case $ac_user_opts in
826 "enable_$ac_useropt"
827 "*) ;;
828 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
829 ac_unrecognized_sep=', ';;
830 esac
831 eval enable_$ac_useropt=no ;;
833 -docdir | --docdir | --docdi | --doc | --do)
834 ac_prev=docdir ;;
835 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
836 docdir=$ac_optarg ;;
838 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
839 ac_prev=dvidir ;;
840 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
841 dvidir=$ac_optarg ;;
843 -enable-* | --enable-*)
844 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
845 # Reject names that are not valid shell variable names.
846 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
847 as_fn_error $? "invalid feature name: \`$ac_useropt'"
848 ac_useropt_orig=$ac_useropt
849 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
850 case $ac_user_opts in
852 "enable_$ac_useropt"
853 "*) ;;
854 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
855 ac_unrecognized_sep=', ';;
856 esac
857 eval enable_$ac_useropt=\$ac_optarg ;;
859 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
860 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
861 | --exec | --exe | --ex)
862 ac_prev=exec_prefix ;;
863 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
864 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
865 | --exec=* | --exe=* | --ex=*)
866 exec_prefix=$ac_optarg ;;
868 -gas | --gas | --ga | --g)
869 # Obsolete; use --with-gas.
870 with_gas=yes ;;
872 -help | --help | --hel | --he | -h)
873 ac_init_help=long ;;
874 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
875 ac_init_help=recursive ;;
876 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
877 ac_init_help=short ;;
879 -host | --host | --hos | --ho)
880 ac_prev=host_alias ;;
881 -host=* | --host=* | --hos=* | --ho=*)
882 host_alias=$ac_optarg ;;
884 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
885 ac_prev=htmldir ;;
886 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
887 | --ht=*)
888 htmldir=$ac_optarg ;;
890 -includedir | --includedir | --includedi | --included | --include \
891 | --includ | --inclu | --incl | --inc)
892 ac_prev=includedir ;;
893 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
894 | --includ=* | --inclu=* | --incl=* | --inc=*)
895 includedir=$ac_optarg ;;
897 -infodir | --infodir | --infodi | --infod | --info | --inf)
898 ac_prev=infodir ;;
899 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
900 infodir=$ac_optarg ;;
902 -libdir | --libdir | --libdi | --libd)
903 ac_prev=libdir ;;
904 -libdir=* | --libdir=* | --libdi=* | --libd=*)
905 libdir=$ac_optarg ;;
907 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
908 | --libexe | --libex | --libe)
909 ac_prev=libexecdir ;;
910 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
911 | --libexe=* | --libex=* | --libe=*)
912 libexecdir=$ac_optarg ;;
914 -localedir | --localedir | --localedi | --localed | --locale)
915 ac_prev=localedir ;;
916 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
917 localedir=$ac_optarg ;;
919 -localstatedir | --localstatedir | --localstatedi | --localstated \
920 | --localstate | --localstat | --localsta | --localst | --locals)
921 ac_prev=localstatedir ;;
922 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
923 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
924 localstatedir=$ac_optarg ;;
926 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
927 ac_prev=mandir ;;
928 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
929 mandir=$ac_optarg ;;
931 -nfp | --nfp | --nf)
932 # Obsolete; use --without-fp.
933 with_fp=no ;;
935 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
936 | --no-cr | --no-c | -n)
937 no_create=yes ;;
939 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
940 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
941 no_recursion=yes ;;
943 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
944 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
945 | --oldin | --oldi | --old | --ol | --o)
946 ac_prev=oldincludedir ;;
947 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
948 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
949 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
950 oldincludedir=$ac_optarg ;;
952 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
953 ac_prev=prefix ;;
954 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
955 prefix=$ac_optarg ;;
957 -program-prefix | --program-prefix | --program-prefi | --program-pref \
958 | --program-pre | --program-pr | --program-p)
959 ac_prev=program_prefix ;;
960 -program-prefix=* | --program-prefix=* | --program-prefi=* \
961 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
962 program_prefix=$ac_optarg ;;
964 -program-suffix | --program-suffix | --program-suffi | --program-suff \
965 | --program-suf | --program-su | --program-s)
966 ac_prev=program_suffix ;;
967 -program-suffix=* | --program-suffix=* | --program-suffi=* \
968 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
969 program_suffix=$ac_optarg ;;
971 -program-transform-name | --program-transform-name \
972 | --program-transform-nam | --program-transform-na \
973 | --program-transform-n | --program-transform- \
974 | --program-transform | --program-transfor \
975 | --program-transfo | --program-transf \
976 | --program-trans | --program-tran \
977 | --progr-tra | --program-tr | --program-t)
978 ac_prev=program_transform_name ;;
979 -program-transform-name=* | --program-transform-name=* \
980 | --program-transform-nam=* | --program-transform-na=* \
981 | --program-transform-n=* | --program-transform-=* \
982 | --program-transform=* | --program-transfor=* \
983 | --program-transfo=* | --program-transf=* \
984 | --program-trans=* | --program-tran=* \
985 | --progr-tra=* | --program-tr=* | --program-t=*)
986 program_transform_name=$ac_optarg ;;
988 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
989 ac_prev=pdfdir ;;
990 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
991 pdfdir=$ac_optarg ;;
993 -psdir | --psdir | --psdi | --psd | --ps)
994 ac_prev=psdir ;;
995 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
996 psdir=$ac_optarg ;;
998 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
999 | -silent | --silent | --silen | --sile | --sil)
1000 silent=yes ;;
1002 -runstatedir | --runstatedir | --runstatedi | --runstated \
1003 | --runstate | --runstat | --runsta | --runst | --runs \
1004 | --run | --ru | --r)
1005 ac_prev=runstatedir ;;
1006 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1007 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1008 | --run=* | --ru=* | --r=*)
1009 runstatedir=$ac_optarg ;;
1011 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1012 ac_prev=sbindir ;;
1013 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1014 | --sbi=* | --sb=*)
1015 sbindir=$ac_optarg ;;
1017 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1018 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1019 | --sharedst | --shareds | --shared | --share | --shar \
1020 | --sha | --sh)
1021 ac_prev=sharedstatedir ;;
1022 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1023 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1024 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1025 | --sha=* | --sh=*)
1026 sharedstatedir=$ac_optarg ;;
1028 -site | --site | --sit)
1029 ac_prev=site ;;
1030 -site=* | --site=* | --sit=*)
1031 site=$ac_optarg ;;
1033 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1034 ac_prev=srcdir ;;
1035 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1036 srcdir=$ac_optarg ;;
1038 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1039 | --syscon | --sysco | --sysc | --sys | --sy)
1040 ac_prev=sysconfdir ;;
1041 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1042 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1043 sysconfdir=$ac_optarg ;;
1045 -target | --target | --targe | --targ | --tar | --ta | --t)
1046 ac_prev=target_alias ;;
1047 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1048 target_alias=$ac_optarg ;;
1050 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1051 verbose=yes ;;
1053 -version | --version | --versio | --versi | --vers | -V)
1054 ac_init_version=: ;;
1056 -with-* | --with-*)
1057 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1058 # Reject names that are not valid shell variable names.
1059 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1060 as_fn_error $? "invalid package name: \`$ac_useropt'"
1061 ac_useropt_orig=$ac_useropt
1062 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1063 case $ac_user_opts in
1065 "with_$ac_useropt"
1066 "*) ;;
1067 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1068 ac_unrecognized_sep=', ';;
1069 esac
1070 eval with_$ac_useropt=\$ac_optarg ;;
1072 -without-* | --without-*)
1073 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1074 # Reject names that are not valid shell variable names.
1075 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1076 as_fn_error $? "invalid package name: \`$ac_useropt'"
1077 ac_useropt_orig=$ac_useropt
1078 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1079 case $ac_user_opts in
1081 "with_$ac_useropt"
1082 "*) ;;
1083 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1084 ac_unrecognized_sep=', ';;
1085 esac
1086 eval with_$ac_useropt=no ;;
1088 --x)
1089 # Obsolete; use --with-x.
1090 with_x=yes ;;
1092 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1093 | --x-incl | --x-inc | --x-in | --x-i)
1094 ac_prev=x_includes ;;
1095 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1096 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1097 x_includes=$ac_optarg ;;
1099 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1100 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1101 ac_prev=x_libraries ;;
1102 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1103 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1104 x_libraries=$ac_optarg ;;
1106 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1107 Try \`$0 --help' for more information"
1110 *=*)
1111 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1112 # Reject names that are not valid shell variable names.
1113 case $ac_envvar in #(
1114 '' | [0-9]* | *[!_$as_cr_alnum]* )
1115 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1116 esac
1117 eval $ac_envvar=\$ac_optarg
1118 export $ac_envvar ;;
1121 # FIXME: should be removed in autoconf 3.0.
1122 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1123 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1124 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1125 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1128 esac
1129 done
1131 if test -n "$ac_prev"; then
1132 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1133 as_fn_error $? "missing argument to $ac_option"
1136 if test -n "$ac_unrecognized_opts"; then
1137 case $enable_option_checking in
1138 no) ;;
1139 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1140 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1141 esac
1144 # Check all directory arguments for consistency.
1145 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1146 datadir sysconfdir sharedstatedir localstatedir includedir \
1147 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1148 libdir localedir mandir runstatedir
1150 eval ac_val=\$$ac_var
1151 # Remove trailing slashes.
1152 case $ac_val in
1153 */ )
1154 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1155 eval $ac_var=\$ac_val;;
1156 esac
1157 # Be sure to have absolute directory names.
1158 case $ac_val in
1159 [\\/$]* | ?:[\\/]* ) continue;;
1160 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1161 esac
1162 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1163 done
1165 # There might be people who depend on the old broken behavior: `$host'
1166 # used to hold the argument of --host etc.
1167 # FIXME: To remove some day.
1168 build=$build_alias
1169 host=$host_alias
1170 target=$target_alias
1172 # FIXME: To remove some day.
1173 if test "x$host_alias" != x; then
1174 if test "x$build_alias" = x; then
1175 cross_compiling=maybe
1176 elif test "x$build_alias" != "x$host_alias"; then
1177 cross_compiling=yes
1181 ac_tool_prefix=
1182 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1184 test "$silent" = yes && exec 6>/dev/null
1187 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1188 ac_ls_di=`ls -di .` &&
1189 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1190 as_fn_error $? "working directory cannot be determined"
1191 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1192 as_fn_error $? "pwd does not report name of working directory"
1195 # Find the source files, if location was not specified.
1196 if test -z "$srcdir"; then
1197 ac_srcdir_defaulted=yes
1198 # Try the directory containing this script, then the parent directory.
1199 ac_confdir=`$as_dirname -- "$as_myself" ||
1200 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1201 X"$as_myself" : 'X\(//\)[^/]' \| \
1202 X"$as_myself" : 'X\(//\)$' \| \
1203 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1204 printf "%s\n" X"$as_myself" |
1205 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1206 s//\1/
1209 /^X\(\/\/\)[^/].*/{
1210 s//\1/
1213 /^X\(\/\/\)$/{
1214 s//\1/
1217 /^X\(\/\).*/{
1218 s//\1/
1221 s/.*/./; q'`
1222 srcdir=$ac_confdir
1223 if test ! -r "$srcdir/$ac_unique_file"; then
1224 srcdir=..
1226 else
1227 ac_srcdir_defaulted=no
1229 if test ! -r "$srcdir/$ac_unique_file"; then
1230 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1231 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1233 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1234 ac_abs_confdir=`(
1235 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1236 pwd)`
1237 # When building in place, set srcdir=.
1238 if test "$ac_abs_confdir" = "$ac_pwd"; then
1239 srcdir=.
1241 # Remove unnecessary trailing slashes from srcdir.
1242 # Double slashes in file names in object file debugging info
1243 # mess up M-x gdb in Emacs.
1244 case $srcdir in
1245 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1246 esac
1247 for ac_var in $ac_precious_vars; do
1248 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1249 eval ac_env_${ac_var}_value=\$${ac_var}
1250 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1251 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1252 done
1255 # Report the --help message.
1257 if test "$ac_init_help" = "long"; then
1258 # Omit some internal or obsolete options to make the list less imposing.
1259 # This message is too long to be a string in the A/UX 3.1 sh.
1260 cat <<_ACEOF
1261 \`configure' configures ocurl 0.9.2 to adapt to many kinds of systems.
1263 Usage: $0 [OPTION]... [VAR=VALUE]...
1265 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1266 VAR=VALUE. See below for descriptions of some of the useful variables.
1268 Defaults for the options are specified in brackets.
1270 Configuration:
1271 -h, --help display this help and exit
1272 --help=short display options specific to this package
1273 --help=recursive display the short help of all the included packages
1274 -V, --version display version information and exit
1275 -q, --quiet, --silent do not print \`checking ...' messages
1276 --cache-file=FILE cache test results in FILE [disabled]
1277 -C, --config-cache alias for \`--cache-file=config.cache'
1278 -n, --no-create do not create output files
1279 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1281 Installation directories:
1282 --prefix=PREFIX install architecture-independent files in PREFIX
1283 [$ac_default_prefix]
1284 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1285 [PREFIX]
1287 By default, \`make install' will install all the files in
1288 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1289 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1290 for instance \`--prefix=\$HOME'.
1292 For better control, use the options below.
1294 Fine tuning of the installation directories:
1295 --bindir=DIR user executables [EPREFIX/bin]
1296 --sbindir=DIR system admin executables [EPREFIX/sbin]
1297 --libexecdir=DIR program executables [EPREFIX/libexec]
1298 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1299 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1300 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1301 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1302 --libdir=DIR object code libraries [EPREFIX/lib]
1303 --includedir=DIR C header files [PREFIX/include]
1304 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1305 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1306 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1307 --infodir=DIR info documentation [DATAROOTDIR/info]
1308 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1309 --mandir=DIR man documentation [DATAROOTDIR/man]
1310 --docdir=DIR documentation root [DATAROOTDIR/doc/ocurl]
1311 --htmldir=DIR html documentation [DOCDIR]
1312 --dvidir=DIR dvi documentation [DOCDIR]
1313 --pdfdir=DIR pdf documentation [DOCDIR]
1314 --psdir=DIR ps documentation [DOCDIR]
1315 _ACEOF
1317 cat <<\_ACEOF
1318 _ACEOF
1321 if test -n "$ac_init_help"; then
1322 case $ac_init_help in
1323 short | recursive ) echo "Configuration of ocurl 0.9.2:";;
1324 esac
1325 cat <<\_ACEOF
1327 Some influential environment variables:
1328 CC C compiler command
1329 CFLAGS C compiler flags
1330 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1331 nonstandard directory <lib dir>
1332 LIBS libraries to pass to the linker, e.g. -l<library>
1333 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1334 you have headers in a nonstandard directory <include dir>
1335 CURLCFLAGS libcurl C flags
1336 CURLLIBS libcurl library flags
1337 LIBCURL_VERSION
1338 libcurl version
1340 Use these variables to override the choices made by `configure' or to help
1341 it to find libraries and programs with nonstandard names/locations.
1343 Report bugs to the package provider.
1344 _ACEOF
1345 ac_status=$?
1348 if test "$ac_init_help" = "recursive"; then
1349 # If there are subdirs, report their specific --help.
1350 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1351 test -d "$ac_dir" ||
1352 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1353 continue
1354 ac_builddir=.
1356 case "$ac_dir" in
1357 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1359 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1360 # A ".." for each directory in $ac_dir_suffix.
1361 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1362 case $ac_top_builddir_sub in
1363 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1364 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1365 esac ;;
1366 esac
1367 ac_abs_top_builddir=$ac_pwd
1368 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1369 # for backward compatibility:
1370 ac_top_builddir=$ac_top_build_prefix
1372 case $srcdir in
1373 .) # We are building in place.
1374 ac_srcdir=.
1375 ac_top_srcdir=$ac_top_builddir_sub
1376 ac_abs_top_srcdir=$ac_pwd ;;
1377 [\\/]* | ?:[\\/]* ) # Absolute name.
1378 ac_srcdir=$srcdir$ac_dir_suffix;
1379 ac_top_srcdir=$srcdir
1380 ac_abs_top_srcdir=$srcdir ;;
1381 *) # Relative name.
1382 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1383 ac_top_srcdir=$ac_top_build_prefix$srcdir
1384 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1385 esac
1386 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1388 cd "$ac_dir" || { ac_status=$?; continue; }
1389 # Check for configure.gnu first; this name is used for a wrapper for
1390 # Metaconfig's "Configure" on case-insensitive file systems.
1391 if test -f "$ac_srcdir/configure.gnu"; then
1392 echo &&
1393 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1394 elif test -f "$ac_srcdir/configure"; then
1395 echo &&
1396 $SHELL "$ac_srcdir/configure" --help=recursive
1397 else
1398 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1399 fi || ac_status=$?
1400 cd "$ac_pwd" || { ac_status=$?; break; }
1401 done
1404 test -n "$ac_init_help" && exit $ac_status
1405 if $ac_init_version; then
1406 cat <<\_ACEOF
1407 ocurl configure 0.9.2
1408 generated by GNU Autoconf 2.71
1410 Copyright (C) 2021 Free Software Foundation, Inc.
1411 This configure script is free software; the Free Software Foundation
1412 gives unlimited permission to copy, distribute and modify it.
1413 _ACEOF
1414 exit
1417 ## ------------------------ ##
1418 ## Autoconf initialization. ##
1419 ## ------------------------ ##
1421 # ac_fn_c_try_compile LINENO
1422 # --------------------------
1423 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1424 ac_fn_c_try_compile ()
1426 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1427 rm -f conftest.$ac_objext conftest.beam
1428 if { { ac_try="$ac_compile"
1429 case "(($ac_try" in
1430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1431 *) ac_try_echo=$ac_try;;
1432 esac
1433 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1434 printf "%s\n" "$ac_try_echo"; } >&5
1435 (eval "$ac_compile") 2>conftest.err
1436 ac_status=$?
1437 if test -s conftest.err; then
1438 grep -v '^ *+' conftest.err >conftest.er1
1439 cat conftest.er1 >&5
1440 mv -f conftest.er1 conftest.err
1442 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1443 test $ac_status = 0; } && {
1444 test -z "$ac_c_werror_flag" ||
1445 test ! -s conftest.err
1446 } && test -s conftest.$ac_objext
1447 then :
1448 ac_retval=0
1449 else $as_nop
1450 printf "%s\n" "$as_me: failed program was:" >&5
1451 sed 's/^/| /' conftest.$ac_ext >&5
1453 ac_retval=1
1455 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1456 as_fn_set_status $ac_retval
1458 } # ac_fn_c_try_compile
1460 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1461 # -------------------------------------------------------
1462 # Tests whether HEADER exists and can be compiled using the include files in
1463 # INCLUDES, setting the cache variable VAR accordingly.
1464 ac_fn_c_check_header_compile ()
1466 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1468 printf %s "checking for $2... " >&6; }
1469 if eval test \${$3+y}
1470 then :
1471 printf %s "(cached) " >&6
1472 else $as_nop
1473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1474 /* end confdefs.h. */
1476 #include <$2>
1477 _ACEOF
1478 if ac_fn_c_try_compile "$LINENO"
1479 then :
1480 eval "$3=yes"
1481 else $as_nop
1482 eval "$3=no"
1484 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1486 eval ac_res=\$$3
1487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1488 printf "%s\n" "$ac_res" >&6; }
1489 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1491 } # ac_fn_c_check_header_compile
1493 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
1494 # ------------------------------------------------------------------
1495 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1496 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
1497 ac_fn_check_decl ()
1499 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1500 as_decl_name=`echo $2|sed 's/ *(.*//'`
1501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1502 printf %s "checking whether $as_decl_name is declared... " >&6; }
1503 if eval test \${$3+y}
1504 then :
1505 printf %s "(cached) " >&6
1506 else $as_nop
1507 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1508 eval ac_save_FLAGS=\$$6
1509 as_fn_append $6 " $5"
1510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1511 /* end confdefs.h. */
1514 main (void)
1516 #ifndef $as_decl_name
1517 #ifdef __cplusplus
1518 (void) $as_decl_use;
1519 #else
1520 (void) $as_decl_name;
1521 #endif
1522 #endif
1525 return 0;
1527 _ACEOF
1528 if ac_fn_c_try_compile "$LINENO"
1529 then :
1530 eval "$3=yes"
1531 else $as_nop
1532 eval "$3=no"
1534 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1535 eval $6=\$ac_save_FLAGS
1538 eval ac_res=\$$3
1539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1540 printf "%s\n" "$ac_res" >&6; }
1541 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1543 } # ac_fn_check_decl
1544 ac_configure_args_raw=
1545 for ac_arg
1547 case $ac_arg in
1548 *\'*)
1549 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1550 esac
1551 as_fn_append ac_configure_args_raw " '$ac_arg'"
1552 done
1554 case $ac_configure_args_raw in
1555 *$as_nl*)
1556 ac_safe_unquote= ;;
1558 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1559 ac_unsafe_a="$ac_unsafe_z#~"
1560 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1561 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1562 esac
1564 cat >config.log <<_ACEOF
1565 This file contains any messages produced by compilers while
1566 running configure, to aid debugging if configure makes a mistake.
1568 It was created by ocurl $as_me 0.9.2, which was
1569 generated by GNU Autoconf 2.71. Invocation command line was
1571 $ $0$ac_configure_args_raw
1573 _ACEOF
1574 exec 5>>config.log
1576 cat <<_ASUNAME
1577 ## --------- ##
1578 ## Platform. ##
1579 ## --------- ##
1581 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1582 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1583 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1584 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1585 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1587 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1588 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1590 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1591 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1592 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1593 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1594 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1595 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1596 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1598 _ASUNAME
1600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1601 for as_dir in $PATH
1603 IFS=$as_save_IFS
1604 case $as_dir in #(((
1605 '') as_dir=./ ;;
1606 */) ;;
1607 *) as_dir=$as_dir/ ;;
1608 esac
1609 printf "%s\n" "PATH: $as_dir"
1610 done
1611 IFS=$as_save_IFS
1613 } >&5
1615 cat >&5 <<_ACEOF
1618 ## ----------- ##
1619 ## Core tests. ##
1620 ## ----------- ##
1622 _ACEOF
1625 # Keep a trace of the command line.
1626 # Strip out --no-create and --no-recursion so they do not pile up.
1627 # Strip out --silent because we don't want to record it for future runs.
1628 # Also quote any args containing shell meta-characters.
1629 # Make two passes to allow for proper duplicate-argument suppression.
1630 ac_configure_args=
1631 ac_configure_args0=
1632 ac_configure_args1=
1633 ac_must_keep_next=false
1634 for ac_pass in 1 2
1636 for ac_arg
1638 case $ac_arg in
1639 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1640 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1641 | -silent | --silent | --silen | --sile | --sil)
1642 continue ;;
1643 *\'*)
1644 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1645 esac
1646 case $ac_pass in
1647 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1649 as_fn_append ac_configure_args1 " '$ac_arg'"
1650 if test $ac_must_keep_next = true; then
1651 ac_must_keep_next=false # Got value, back to normal.
1652 else
1653 case $ac_arg in
1654 *=* | --config-cache | -C | -disable-* | --disable-* \
1655 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1656 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1657 | -with-* | --with-* | -without-* | --without-* | --x)
1658 case "$ac_configure_args0 " in
1659 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1660 esac
1662 -* ) ac_must_keep_next=true ;;
1663 esac
1665 as_fn_append ac_configure_args " '$ac_arg'"
1667 esac
1668 done
1669 done
1670 { ac_configure_args0=; unset ac_configure_args0;}
1671 { ac_configure_args1=; unset ac_configure_args1;}
1673 # When interrupted or exit'd, cleanup temporary files, and complete
1674 # config.log. We remove comments because anyway the quotes in there
1675 # would cause problems or look ugly.
1676 # WARNING: Use '\'' to represent an apostrophe within the trap.
1677 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1678 trap 'exit_status=$?
1679 # Sanitize IFS.
1680 IFS=" "" $as_nl"
1681 # Save into config.log some information that might help in debugging.
1683 echo
1685 printf "%s\n" "## ---------------- ##
1686 ## Cache variables. ##
1687 ## ---------------- ##"
1688 echo
1689 # The following way of writing the cache mishandles newlines in values,
1691 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1692 eval ac_val=\$$ac_var
1693 case $ac_val in #(
1694 *${as_nl}*)
1695 case $ac_var in #(
1696 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1697 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1698 esac
1699 case $ac_var in #(
1700 _ | IFS | as_nl) ;; #(
1701 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1702 *) { eval $ac_var=; unset $ac_var;} ;;
1703 esac ;;
1704 esac
1705 done
1706 (set) 2>&1 |
1707 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1708 *${as_nl}ac_space=\ *)
1709 sed -n \
1710 "s/'\''/'\''\\\\'\'''\''/g;
1711 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1712 ;; #(
1714 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1716 esac |
1717 sort
1719 echo
1721 printf "%s\n" "## ----------------- ##
1722 ## Output variables. ##
1723 ## ----------------- ##"
1724 echo
1725 for ac_var in $ac_subst_vars
1727 eval ac_val=\$$ac_var
1728 case $ac_val in
1729 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1730 esac
1731 printf "%s\n" "$ac_var='\''$ac_val'\''"
1732 done | sort
1733 echo
1735 if test -n "$ac_subst_files"; then
1736 printf "%s\n" "## ------------------- ##
1737 ## File substitutions. ##
1738 ## ------------------- ##"
1739 echo
1740 for ac_var in $ac_subst_files
1742 eval ac_val=\$$ac_var
1743 case $ac_val in
1744 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1745 esac
1746 printf "%s\n" "$ac_var='\''$ac_val'\''"
1747 done | sort
1748 echo
1751 if test -s confdefs.h; then
1752 printf "%s\n" "## ----------- ##
1753 ## confdefs.h. ##
1754 ## ----------- ##"
1755 echo
1756 cat confdefs.h
1757 echo
1759 test "$ac_signal" != 0 &&
1760 printf "%s\n" "$as_me: caught signal $ac_signal"
1761 printf "%s\n" "$as_me: exit $exit_status"
1762 } >&5
1763 rm -f core *.core core.conftest.* &&
1764 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1765 exit $exit_status
1767 for ac_signal in 1 2 13 15; do
1768 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1769 done
1770 ac_signal=0
1772 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1773 rm -f -r conftest* confdefs.h
1775 printf "%s\n" "/* confdefs.h */" > confdefs.h
1777 # Predefined preprocessor variables.
1779 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1781 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1783 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1785 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1787 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1789 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1792 # Let the site file select an alternate cache file if it wants to.
1793 # Prefer an explicitly selected file to automatically selected ones.
1794 if test -n "$CONFIG_SITE"; then
1795 ac_site_files="$CONFIG_SITE"
1796 elif test "x$prefix" != xNONE; then
1797 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1798 else
1799 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1802 for ac_site_file in $ac_site_files
1804 case $ac_site_file in #(
1805 */*) :
1806 ;; #(
1807 *) :
1808 ac_site_file=./$ac_site_file ;;
1809 esac
1810 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1812 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1813 sed 's/^/| /' "$ac_site_file" >&5
1814 . "$ac_site_file" \
1815 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1816 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1817 as_fn_error $? "failed to load site script $ac_site_file
1818 See \`config.log' for more details" "$LINENO" 5; }
1820 done
1822 if test -r "$cache_file"; then
1823 # Some versions of bash will fail to source /dev/null (special files
1824 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1825 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1827 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1828 case $cache_file in
1829 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1830 *) . "./$cache_file";;
1831 esac
1833 else
1834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1835 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1836 >$cache_file
1839 # Test code for whether the C compiler supports C89 (global declarations)
1840 ac_c_conftest_c89_globals='
1841 /* Does the compiler advertise C89 conformance?
1842 Do not test the value of __STDC__, because some compilers set it to 0
1843 while being otherwise adequately conformant. */
1844 #if !defined __STDC__
1845 # error "Compiler does not advertise C89 conformance"
1846 #endif
1848 #include <stddef.h>
1849 #include <stdarg.h>
1850 struct stat;
1851 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
1852 struct buf { int x; };
1853 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1854 static char *e (p, i)
1855 char **p;
1856 int i;
1858 return p[i];
1860 static char *f (char * (*g) (char **, int), char **p, ...)
1862 char *s;
1863 va_list v;
1864 va_start (v,p);
1865 s = g (p, va_arg (v,int));
1866 va_end (v);
1867 return s;
1870 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1871 function prototypes and stuff, but not \xHH hex character constants.
1872 These do not provoke an error unfortunately, instead are silently treated
1873 as an "x". The following induces an error, until -std is added to get
1874 proper ANSI mode. Curiously \x00 != x always comes out true, for an
1875 array size at least. It is necessary to write \x00 == 0 to get something
1876 that is true only with -std. */
1877 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
1879 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1880 inside strings and character constants. */
1881 #define FOO(x) '\''x'\''
1882 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
1884 int test (int i, double x);
1885 struct s1 {int (*f) (int a);};
1886 struct s2 {int (*f) (double a);};
1887 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
1888 int, int);'
1890 # Test code for whether the C compiler supports C89 (body of main).
1891 ac_c_conftest_c89_main='
1892 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
1895 # Test code for whether the C compiler supports C99 (global declarations)
1896 ac_c_conftest_c99_globals='
1897 // Does the compiler advertise C99 conformance?
1898 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
1899 # error "Compiler does not advertise C99 conformance"
1900 #endif
1902 #include <stdbool.h>
1903 extern int puts (const char *);
1904 extern int printf (const char *, ...);
1905 extern int dprintf (int, const char *, ...);
1906 extern void *malloc (size_t);
1908 // Check varargs macros. These examples are taken from C99 6.10.3.5.
1909 // dprintf is used instead of fprintf to avoid needing to declare
1910 // FILE and stderr.
1911 #define debug(...) dprintf (2, __VA_ARGS__)
1912 #define showlist(...) puts (#__VA_ARGS__)
1913 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1914 static void
1915 test_varargs_macros (void)
1917 int x = 1234;
1918 int y = 5678;
1919 debug ("Flag");
1920 debug ("X = %d\n", x);
1921 showlist (The first, second, and third items.);
1922 report (x>y, "x is %d but y is %d", x, y);
1925 // Check long long types.
1926 #define BIG64 18446744073709551615ull
1927 #define BIG32 4294967295ul
1928 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1929 #if !BIG_OK
1930 #error "your preprocessor is broken"
1931 #endif
1932 #if BIG_OK
1933 #else
1934 #error "your preprocessor is broken"
1935 #endif
1936 static long long int bignum = -9223372036854775807LL;
1937 static unsigned long long int ubignum = BIG64;
1939 struct incomplete_array
1941 int datasize;
1942 double data[];
1945 struct named_init {
1946 int number;
1947 const wchar_t *name;
1948 double average;
1951 typedef const char *ccp;
1953 static inline int
1954 test_restrict (ccp restrict text)
1956 // See if C++-style comments work.
1957 // Iterate through items via the restricted pointer.
1958 // Also check for declarations in for loops.
1959 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
1960 continue;
1961 return 0;
1964 // Check varargs and va_copy.
1965 static bool
1966 test_varargs (const char *format, ...)
1968 va_list args;
1969 va_start (args, format);
1970 va_list args_copy;
1971 va_copy (args_copy, args);
1973 const char *str = "";
1974 int number = 0;
1975 float fnumber = 0;
1977 while (*format)
1979 switch (*format++)
1981 case '\''s'\'': // string
1982 str = va_arg (args_copy, const char *);
1983 break;
1984 case '\''d'\'': // int
1985 number = va_arg (args_copy, int);
1986 break;
1987 case '\''f'\'': // float
1988 fnumber = va_arg (args_copy, double);
1989 break;
1990 default:
1991 break;
1994 va_end (args_copy);
1995 va_end (args);
1997 return *str && number && fnumber;
2001 # Test code for whether the C compiler supports C99 (body of main).
2002 ac_c_conftest_c99_main='
2003 // Check bool.
2004 _Bool success = false;
2005 success |= (argc != 0);
2007 // Check restrict.
2008 if (test_restrict ("String literal") == 0)
2009 success = true;
2010 char *restrict newvar = "Another string";
2012 // Check varargs.
2013 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2014 test_varargs_macros ();
2016 // Check flexible array members.
2017 struct incomplete_array *ia =
2018 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2019 ia->datasize = 10;
2020 for (int i = 0; i < ia->datasize; ++i)
2021 ia->data[i] = i * 1.234;
2023 // Check named initializers.
2024 struct named_init ni = {
2025 .number = 34,
2026 .name = L"Test wide string",
2027 .average = 543.34343,
2030 ni.number = 58;
2032 int dynamic_array[ni.number];
2033 dynamic_array[0] = argv[0][0];
2034 dynamic_array[ni.number - 1] = 543;
2036 // work around unused variable warnings
2037 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2038 || dynamic_array[ni.number - 1] != 543);
2041 # Test code for whether the C compiler supports C11 (global declarations)
2042 ac_c_conftest_c11_globals='
2043 // Does the compiler advertise C11 conformance?
2044 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2045 # error "Compiler does not advertise C11 conformance"
2046 #endif
2048 // Check _Alignas.
2049 char _Alignas (double) aligned_as_double;
2050 char _Alignas (0) no_special_alignment;
2051 extern char aligned_as_int;
2052 char _Alignas (0) _Alignas (int) aligned_as_int;
2054 // Check _Alignof.
2055 enum
2057 int_alignment = _Alignof (int),
2058 int_array_alignment = _Alignof (int[100]),
2059 char_alignment = _Alignof (char)
2061 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2063 // Check _Noreturn.
2064 int _Noreturn does_not_return (void) { for (;;) continue; }
2066 // Check _Static_assert.
2067 struct test_static_assert
2069 int x;
2070 _Static_assert (sizeof (int) <= sizeof (long int),
2071 "_Static_assert does not work in struct");
2072 long int y;
2075 // Check UTF-8 literals.
2076 #define u8 syntax error!
2077 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2079 // Check duplicate typedefs.
2080 typedef long *long_ptr;
2081 typedef long int *long_ptr;
2082 typedef long_ptr long_ptr;
2084 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2085 struct anonymous
2087 union {
2088 struct { int i; int j; };
2089 struct { int k; long int l; } w;
2091 int m;
2092 } v1;
2095 # Test code for whether the C compiler supports C11 (body of main).
2096 ac_c_conftest_c11_main='
2097 _Static_assert ((offsetof (struct anonymous, i)
2098 == offsetof (struct anonymous, w.k)),
2099 "Anonymous union alignment botch");
2100 v1.i = 2;
2101 v1.w.k = 5;
2102 ok |= v1.i != 5;
2105 # Test code for whether the C compiler supports C11 (complete).
2106 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2107 ${ac_c_conftest_c99_globals}
2108 ${ac_c_conftest_c11_globals}
2111 main (int argc, char **argv)
2113 int ok = 0;
2114 ${ac_c_conftest_c89_main}
2115 ${ac_c_conftest_c99_main}
2116 ${ac_c_conftest_c11_main}
2117 return ok;
2121 # Test code for whether the C compiler supports C99 (complete).
2122 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2123 ${ac_c_conftest_c99_globals}
2126 main (int argc, char **argv)
2128 int ok = 0;
2129 ${ac_c_conftest_c89_main}
2130 ${ac_c_conftest_c99_main}
2131 return ok;
2135 # Test code for whether the C compiler supports C89 (complete).
2136 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2139 main (int argc, char **argv)
2141 int ok = 0;
2142 ${ac_c_conftest_c89_main}
2143 return ok;
2147 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2148 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2149 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2150 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2151 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2152 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2153 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2154 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2155 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2156 # Check that the precious variables saved in the cache have kept the same
2157 # value.
2158 ac_cache_corrupted=false
2159 for ac_var in $ac_precious_vars; do
2160 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2161 eval ac_new_set=\$ac_env_${ac_var}_set
2162 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2163 eval ac_new_val=\$ac_env_${ac_var}_value
2164 case $ac_old_set,$ac_new_set in
2165 set,)
2166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2167 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2168 ac_cache_corrupted=: ;;
2169 ,set)
2170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2171 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2172 ac_cache_corrupted=: ;;
2173 ,);;
2175 if test "x$ac_old_val" != "x$ac_new_val"; then
2176 # differences in whitespace do not lead to failure.
2177 ac_old_val_w=`echo x $ac_old_val`
2178 ac_new_val_w=`echo x $ac_new_val`
2179 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2181 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2182 ac_cache_corrupted=:
2183 else
2184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2185 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2186 eval $ac_var=\$ac_old_val
2188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2189 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2191 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2192 fi;;
2193 esac
2194 # Pass precious variables to config.status.
2195 if test "$ac_new_set" = set; then
2196 case $ac_new_val in
2197 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2198 *) ac_arg=$ac_var=$ac_new_val ;;
2199 esac
2200 case " $ac_configure_args " in
2201 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2202 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2203 esac
2205 done
2206 if $ac_cache_corrupted; then
2207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2208 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2210 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2211 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2212 and start over" "$LINENO" 5
2214 ## -------------------- ##
2215 ## Main body of script. ##
2216 ## -------------------- ##
2218 ac_ext=c
2219 ac_cpp='$CPP $CPPFLAGS'
2220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2226 MIN_LIBCURL_VERSION=7.28.0
2237 ac_ext=c
2238 ac_cpp='$CPP $CPPFLAGS'
2239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2242 if test -n "$ac_tool_prefix"; then
2243 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2244 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2246 printf %s "checking for $ac_word... " >&6; }
2247 if test ${ac_cv_prog_CC+y}
2248 then :
2249 printf %s "(cached) " >&6
2250 else $as_nop
2251 if test -n "$CC"; then
2252 ac_cv_prog_CC="$CC" # Let the user override the test.
2253 else
2254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2255 for as_dir in $PATH
2257 IFS=$as_save_IFS
2258 case $as_dir in #(((
2259 '') as_dir=./ ;;
2260 */) ;;
2261 *) as_dir=$as_dir/ ;;
2262 esac
2263 for ac_exec_ext in '' $ac_executable_extensions; do
2264 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2265 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2266 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2267 break 2
2269 done
2270 done
2271 IFS=$as_save_IFS
2275 CC=$ac_cv_prog_CC
2276 if test -n "$CC"; then
2277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2278 printf "%s\n" "$CC" >&6; }
2279 else
2280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2281 printf "%s\n" "no" >&6; }
2286 if test -z "$ac_cv_prog_CC"; then
2287 ac_ct_CC=$CC
2288 # Extract the first word of "gcc", so it can be a program name with args.
2289 set dummy gcc; ac_word=$2
2290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2291 printf %s "checking for $ac_word... " >&6; }
2292 if test ${ac_cv_prog_ac_ct_CC+y}
2293 then :
2294 printf %s "(cached) " >&6
2295 else $as_nop
2296 if test -n "$ac_ct_CC"; then
2297 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2298 else
2299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2300 for as_dir in $PATH
2302 IFS=$as_save_IFS
2303 case $as_dir in #(((
2304 '') as_dir=./ ;;
2305 */) ;;
2306 *) as_dir=$as_dir/ ;;
2307 esac
2308 for ac_exec_ext in '' $ac_executable_extensions; do
2309 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2310 ac_cv_prog_ac_ct_CC="gcc"
2311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2312 break 2
2314 done
2315 done
2316 IFS=$as_save_IFS
2320 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2321 if test -n "$ac_ct_CC"; then
2322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2323 printf "%s\n" "$ac_ct_CC" >&6; }
2324 else
2325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2326 printf "%s\n" "no" >&6; }
2329 if test "x$ac_ct_CC" = x; then
2330 CC=""
2331 else
2332 case $cross_compiling:$ac_tool_warned in
2333 yes:)
2334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2335 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2336 ac_tool_warned=yes ;;
2337 esac
2338 CC=$ac_ct_CC
2340 else
2341 CC="$ac_cv_prog_CC"
2344 if test -z "$CC"; then
2345 if test -n "$ac_tool_prefix"; then
2346 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2347 set dummy ${ac_tool_prefix}cc; ac_word=$2
2348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2349 printf %s "checking for $ac_word... " >&6; }
2350 if test ${ac_cv_prog_CC+y}
2351 then :
2352 printf %s "(cached) " >&6
2353 else $as_nop
2354 if test -n "$CC"; then
2355 ac_cv_prog_CC="$CC" # Let the user override the test.
2356 else
2357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2358 for as_dir in $PATH
2360 IFS=$as_save_IFS
2361 case $as_dir in #(((
2362 '') as_dir=./ ;;
2363 */) ;;
2364 *) as_dir=$as_dir/ ;;
2365 esac
2366 for ac_exec_ext in '' $ac_executable_extensions; do
2367 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2368 ac_cv_prog_CC="${ac_tool_prefix}cc"
2369 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2370 break 2
2372 done
2373 done
2374 IFS=$as_save_IFS
2378 CC=$ac_cv_prog_CC
2379 if test -n "$CC"; then
2380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2381 printf "%s\n" "$CC" >&6; }
2382 else
2383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2384 printf "%s\n" "no" >&6; }
2390 if test -z "$CC"; then
2391 # Extract the first word of "cc", so it can be a program name with args.
2392 set dummy cc; ac_word=$2
2393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2394 printf %s "checking for $ac_word... " >&6; }
2395 if test ${ac_cv_prog_CC+y}
2396 then :
2397 printf %s "(cached) " >&6
2398 else $as_nop
2399 if test -n "$CC"; then
2400 ac_cv_prog_CC="$CC" # Let the user override the test.
2401 else
2402 ac_prog_rejected=no
2403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2404 for as_dir in $PATH
2406 IFS=$as_save_IFS
2407 case $as_dir in #(((
2408 '') as_dir=./ ;;
2409 */) ;;
2410 *) as_dir=$as_dir/ ;;
2411 esac
2412 for ac_exec_ext in '' $ac_executable_extensions; do
2413 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2414 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2415 ac_prog_rejected=yes
2416 continue
2418 ac_cv_prog_CC="cc"
2419 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2420 break 2
2422 done
2423 done
2424 IFS=$as_save_IFS
2426 if test $ac_prog_rejected = yes; then
2427 # We found a bogon in the path, so make sure we never use it.
2428 set dummy $ac_cv_prog_CC
2429 shift
2430 if test $# != 0; then
2431 # We chose a different compiler from the bogus one.
2432 # However, it has the same basename, so the bogon will be chosen
2433 # first if we set CC to just the basename; use the full file name.
2434 shift
2435 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
2440 CC=$ac_cv_prog_CC
2441 if test -n "$CC"; then
2442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2443 printf "%s\n" "$CC" >&6; }
2444 else
2445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2446 printf "%s\n" "no" >&6; }
2451 if test -z "$CC"; then
2452 if test -n "$ac_tool_prefix"; then
2453 for ac_prog in cl.exe
2455 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2456 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2458 printf %s "checking for $ac_word... " >&6; }
2459 if test ${ac_cv_prog_CC+y}
2460 then :
2461 printf %s "(cached) " >&6
2462 else $as_nop
2463 if test -n "$CC"; then
2464 ac_cv_prog_CC="$CC" # Let the user override the test.
2465 else
2466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2467 for as_dir in $PATH
2469 IFS=$as_save_IFS
2470 case $as_dir in #(((
2471 '') as_dir=./ ;;
2472 */) ;;
2473 *) as_dir=$as_dir/ ;;
2474 esac
2475 for ac_exec_ext in '' $ac_executable_extensions; do
2476 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2477 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2478 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2479 break 2
2481 done
2482 done
2483 IFS=$as_save_IFS
2487 CC=$ac_cv_prog_CC
2488 if test -n "$CC"; then
2489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2490 printf "%s\n" "$CC" >&6; }
2491 else
2492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2493 printf "%s\n" "no" >&6; }
2497 test -n "$CC" && break
2498 done
2500 if test -z "$CC"; then
2501 ac_ct_CC=$CC
2502 for ac_prog in cl.exe
2504 # Extract the first word of "$ac_prog", so it can be a program name with args.
2505 set dummy $ac_prog; ac_word=$2
2506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2507 printf %s "checking for $ac_word... " >&6; }
2508 if test ${ac_cv_prog_ac_ct_CC+y}
2509 then :
2510 printf %s "(cached) " >&6
2511 else $as_nop
2512 if test -n "$ac_ct_CC"; then
2513 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2514 else
2515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2516 for as_dir in $PATH
2518 IFS=$as_save_IFS
2519 case $as_dir in #(((
2520 '') as_dir=./ ;;
2521 */) ;;
2522 *) as_dir=$as_dir/ ;;
2523 esac
2524 for ac_exec_ext in '' $ac_executable_extensions; do
2525 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2526 ac_cv_prog_ac_ct_CC="$ac_prog"
2527 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2528 break 2
2530 done
2531 done
2532 IFS=$as_save_IFS
2536 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2537 if test -n "$ac_ct_CC"; then
2538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2539 printf "%s\n" "$ac_ct_CC" >&6; }
2540 else
2541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2542 printf "%s\n" "no" >&6; }
2546 test -n "$ac_ct_CC" && break
2547 done
2549 if test "x$ac_ct_CC" = x; then
2550 CC=""
2551 else
2552 case $cross_compiling:$ac_tool_warned in
2553 yes:)
2554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2555 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2556 ac_tool_warned=yes ;;
2557 esac
2558 CC=$ac_ct_CC
2563 if test -z "$CC"; then
2564 if test -n "$ac_tool_prefix"; then
2565 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
2566 set dummy ${ac_tool_prefix}clang; ac_word=$2
2567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2568 printf %s "checking for $ac_word... " >&6; }
2569 if test ${ac_cv_prog_CC+y}
2570 then :
2571 printf %s "(cached) " >&6
2572 else $as_nop
2573 if test -n "$CC"; then
2574 ac_cv_prog_CC="$CC" # Let the user override the test.
2575 else
2576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2577 for as_dir in $PATH
2579 IFS=$as_save_IFS
2580 case $as_dir in #(((
2581 '') as_dir=./ ;;
2582 */) ;;
2583 *) as_dir=$as_dir/ ;;
2584 esac
2585 for ac_exec_ext in '' $ac_executable_extensions; do
2586 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2587 ac_cv_prog_CC="${ac_tool_prefix}clang"
2588 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2589 break 2
2591 done
2592 done
2593 IFS=$as_save_IFS
2597 CC=$ac_cv_prog_CC
2598 if test -n "$CC"; then
2599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2600 printf "%s\n" "$CC" >&6; }
2601 else
2602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2603 printf "%s\n" "no" >&6; }
2608 if test -z "$ac_cv_prog_CC"; then
2609 ac_ct_CC=$CC
2610 # Extract the first word of "clang", so it can be a program name with args.
2611 set dummy clang; ac_word=$2
2612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2613 printf %s "checking for $ac_word... " >&6; }
2614 if test ${ac_cv_prog_ac_ct_CC+y}
2615 then :
2616 printf %s "(cached) " >&6
2617 else $as_nop
2618 if test -n "$ac_ct_CC"; then
2619 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2620 else
2621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2622 for as_dir in $PATH
2624 IFS=$as_save_IFS
2625 case $as_dir in #(((
2626 '') as_dir=./ ;;
2627 */) ;;
2628 *) as_dir=$as_dir/ ;;
2629 esac
2630 for ac_exec_ext in '' $ac_executable_extensions; do
2631 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2632 ac_cv_prog_ac_ct_CC="clang"
2633 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2634 break 2
2636 done
2637 done
2638 IFS=$as_save_IFS
2642 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2643 if test -n "$ac_ct_CC"; then
2644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2645 printf "%s\n" "$ac_ct_CC" >&6; }
2646 else
2647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2648 printf "%s\n" "no" >&6; }
2651 if test "x$ac_ct_CC" = x; then
2652 CC=""
2653 else
2654 case $cross_compiling:$ac_tool_warned in
2655 yes:)
2656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2657 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2658 ac_tool_warned=yes ;;
2659 esac
2660 CC=$ac_ct_CC
2662 else
2663 CC="$ac_cv_prog_CC"
2669 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2670 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2671 as_fn_error $? "no acceptable C compiler found in \$PATH
2672 See \`config.log' for more details" "$LINENO" 5; }
2674 # Provide some information about the compiler.
2675 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2676 set X $ac_compile
2677 ac_compiler=$2
2678 for ac_option in --version -v -V -qversion -version; do
2679 { { ac_try="$ac_compiler $ac_option >&5"
2680 case "(($ac_try" in
2681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2682 *) ac_try_echo=$ac_try;;
2683 esac
2684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2685 printf "%s\n" "$ac_try_echo"; } >&5
2686 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2687 ac_status=$?
2688 if test -s conftest.err; then
2689 sed '10a\
2690 ... rest of stderr output deleted ...
2691 10q' conftest.err >conftest.er1
2692 cat conftest.er1 >&5
2694 rm -f conftest.er1 conftest.err
2695 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2696 test $ac_status = 0; }
2697 done
2699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2700 /* end confdefs.h. */
2703 main (void)
2707 return 0;
2709 _ACEOF
2710 ac_clean_files_save=$ac_clean_files
2711 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2712 # Try to create an executable without -o first, disregard a.out.
2713 # It will help us diagnose broken compilers, and finding out an intuition
2714 # of exeext.
2715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2716 printf %s "checking whether the C compiler works... " >&6; }
2717 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2719 # The possible output files:
2720 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2722 ac_rmfiles=
2723 for ac_file in $ac_files
2725 case $ac_file in
2726 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2727 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2728 esac
2729 done
2730 rm -f $ac_rmfiles
2732 if { { ac_try="$ac_link_default"
2733 case "(($ac_try" in
2734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2735 *) ac_try_echo=$ac_try;;
2736 esac
2737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2738 printf "%s\n" "$ac_try_echo"; } >&5
2739 (eval "$ac_link_default") 2>&5
2740 ac_status=$?
2741 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2742 test $ac_status = 0; }
2743 then :
2744 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2745 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2746 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2747 # so that the user can short-circuit this test for compilers unknown to
2748 # Autoconf.
2749 for ac_file in $ac_files ''
2751 test -f "$ac_file" || continue
2752 case $ac_file in
2753 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2755 [ab].out )
2756 # We found the default executable, but exeext='' is most
2757 # certainly right.
2758 break;;
2759 *.* )
2760 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
2761 then :; else
2762 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2764 # We set ac_cv_exeext here because the later test for it is not
2765 # safe: cross compilers may not add the suffix if given an `-o'
2766 # argument, so we may need to know it at that point already.
2767 # Even if this section looks crufty: it has the advantage of
2768 # actually working.
2769 break;;
2771 break;;
2772 esac
2773 done
2774 test "$ac_cv_exeext" = no && ac_cv_exeext=
2776 else $as_nop
2777 ac_file=''
2779 if test -z "$ac_file"
2780 then :
2781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2782 printf "%s\n" "no" >&6; }
2783 printf "%s\n" "$as_me: failed program was:" >&5
2784 sed 's/^/| /' conftest.$ac_ext >&5
2786 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2787 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2788 as_fn_error 77 "C compiler cannot create executables
2789 See \`config.log' for more details" "$LINENO" 5; }
2790 else $as_nop
2791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2792 printf "%s\n" "yes" >&6; }
2794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2795 printf %s "checking for C compiler default output file name... " >&6; }
2796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2797 printf "%s\n" "$ac_file" >&6; }
2798 ac_exeext=$ac_cv_exeext
2800 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2801 ac_clean_files=$ac_clean_files_save
2802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2803 printf %s "checking for suffix of executables... " >&6; }
2804 if { { ac_try="$ac_link"
2805 case "(($ac_try" in
2806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2807 *) ac_try_echo=$ac_try;;
2808 esac
2809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2810 printf "%s\n" "$ac_try_echo"; } >&5
2811 (eval "$ac_link") 2>&5
2812 ac_status=$?
2813 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2814 test $ac_status = 0; }
2815 then :
2816 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2817 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2818 # work properly (i.e., refer to `conftest.exe'), while it won't with
2819 # `rm'.
2820 for ac_file in conftest.exe conftest conftest.*; do
2821 test -f "$ac_file" || continue
2822 case $ac_file in
2823 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2824 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2825 break;;
2826 * ) break;;
2827 esac
2828 done
2829 else $as_nop
2830 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2831 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2832 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2833 See \`config.log' for more details" "$LINENO" 5; }
2835 rm -f conftest conftest$ac_cv_exeext
2836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2837 printf "%s\n" "$ac_cv_exeext" >&6; }
2839 rm -f conftest.$ac_ext
2840 EXEEXT=$ac_cv_exeext
2841 ac_exeext=$EXEEXT
2842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2843 /* end confdefs.h. */
2844 #include <stdio.h>
2846 main (void)
2848 FILE *f = fopen ("conftest.out", "w");
2849 return ferror (f) || fclose (f) != 0;
2852 return 0;
2854 _ACEOF
2855 ac_clean_files="$ac_clean_files conftest.out"
2856 # Check that the compiler produces executables we can run. If not, either
2857 # the compiler is broken, or we cross compile.
2858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2859 printf %s "checking whether we are cross compiling... " >&6; }
2860 if test "$cross_compiling" != yes; then
2861 { { ac_try="$ac_link"
2862 case "(($ac_try" in
2863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2864 *) ac_try_echo=$ac_try;;
2865 esac
2866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2867 printf "%s\n" "$ac_try_echo"; } >&5
2868 (eval "$ac_link") 2>&5
2869 ac_status=$?
2870 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2871 test $ac_status = 0; }
2872 if { ac_try='./conftest$ac_cv_exeext'
2873 { { case "(($ac_try" in
2874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2875 *) ac_try_echo=$ac_try;;
2876 esac
2877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2878 printf "%s\n" "$ac_try_echo"; } >&5
2879 (eval "$ac_try") 2>&5
2880 ac_status=$?
2881 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2882 test $ac_status = 0; }; }; then
2883 cross_compiling=no
2884 else
2885 if test "$cross_compiling" = maybe; then
2886 cross_compiling=yes
2887 else
2888 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2889 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2890 as_fn_error 77 "cannot run C compiled programs.
2891 If you meant to cross compile, use \`--host'.
2892 See \`config.log' for more details" "$LINENO" 5; }
2896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2897 printf "%s\n" "$cross_compiling" >&6; }
2899 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2900 ac_clean_files=$ac_clean_files_save
2901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2902 printf %s "checking for suffix of object files... " >&6; }
2903 if test ${ac_cv_objext+y}
2904 then :
2905 printf %s "(cached) " >&6
2906 else $as_nop
2907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2908 /* end confdefs.h. */
2911 main (void)
2915 return 0;
2917 _ACEOF
2918 rm -f conftest.o conftest.obj
2919 if { { ac_try="$ac_compile"
2920 case "(($ac_try" in
2921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2922 *) ac_try_echo=$ac_try;;
2923 esac
2924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2925 printf "%s\n" "$ac_try_echo"; } >&5
2926 (eval "$ac_compile") 2>&5
2927 ac_status=$?
2928 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2929 test $ac_status = 0; }
2930 then :
2931 for ac_file in conftest.o conftest.obj conftest.*; do
2932 test -f "$ac_file" || continue;
2933 case $ac_file in
2934 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2935 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2936 break;;
2937 esac
2938 done
2939 else $as_nop
2940 printf "%s\n" "$as_me: failed program was:" >&5
2941 sed 's/^/| /' conftest.$ac_ext >&5
2943 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2944 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2945 as_fn_error $? "cannot compute suffix of object files: cannot compile
2946 See \`config.log' for more details" "$LINENO" 5; }
2948 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2951 printf "%s\n" "$ac_cv_objext" >&6; }
2952 OBJEXT=$ac_cv_objext
2953 ac_objext=$OBJEXT
2954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
2955 printf %s "checking whether the compiler supports GNU C... " >&6; }
2956 if test ${ac_cv_c_compiler_gnu+y}
2957 then :
2958 printf %s "(cached) " >&6
2959 else $as_nop
2960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2961 /* end confdefs.h. */
2964 main (void)
2966 #ifndef __GNUC__
2967 choke me
2968 #endif
2971 return 0;
2973 _ACEOF
2974 if ac_fn_c_try_compile "$LINENO"
2975 then :
2976 ac_compiler_gnu=yes
2977 else $as_nop
2978 ac_compiler_gnu=no
2980 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2981 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2985 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
2986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2988 if test $ac_compiler_gnu = yes; then
2989 GCC=yes
2990 else
2991 GCC=
2993 ac_test_CFLAGS=${CFLAGS+y}
2994 ac_save_CFLAGS=$CFLAGS
2995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2996 printf %s "checking whether $CC accepts -g... " >&6; }
2997 if test ${ac_cv_prog_cc_g+y}
2998 then :
2999 printf %s "(cached) " >&6
3000 else $as_nop
3001 ac_save_c_werror_flag=$ac_c_werror_flag
3002 ac_c_werror_flag=yes
3003 ac_cv_prog_cc_g=no
3004 CFLAGS="-g"
3005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3006 /* end confdefs.h. */
3009 main (void)
3013 return 0;
3015 _ACEOF
3016 if ac_fn_c_try_compile "$LINENO"
3017 then :
3018 ac_cv_prog_cc_g=yes
3019 else $as_nop
3020 CFLAGS=""
3021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3022 /* end confdefs.h. */
3025 main (void)
3029 return 0;
3031 _ACEOF
3032 if ac_fn_c_try_compile "$LINENO"
3033 then :
3035 else $as_nop
3036 ac_c_werror_flag=$ac_save_c_werror_flag
3037 CFLAGS="-g"
3038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3039 /* end confdefs.h. */
3042 main (void)
3046 return 0;
3048 _ACEOF
3049 if ac_fn_c_try_compile "$LINENO"
3050 then :
3051 ac_cv_prog_cc_g=yes
3053 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3055 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3057 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3058 ac_c_werror_flag=$ac_save_c_werror_flag
3060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3061 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
3062 if test $ac_test_CFLAGS; then
3063 CFLAGS=$ac_save_CFLAGS
3064 elif test $ac_cv_prog_cc_g = yes; then
3065 if test "$GCC" = yes; then
3066 CFLAGS="-g -O2"
3067 else
3068 CFLAGS="-g"
3070 else
3071 if test "$GCC" = yes; then
3072 CFLAGS="-O2"
3073 else
3074 CFLAGS=
3077 ac_prog_cc_stdc=no
3078 if test x$ac_prog_cc_stdc = xno
3079 then :
3080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3081 printf %s "checking for $CC option to enable C11 features... " >&6; }
3082 if test ${ac_cv_prog_cc_c11+y}
3083 then :
3084 printf %s "(cached) " >&6
3085 else $as_nop
3086 ac_cv_prog_cc_c11=no
3087 ac_save_CC=$CC
3088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3089 /* end confdefs.h. */
3090 $ac_c_conftest_c11_program
3091 _ACEOF
3092 for ac_arg in '' -std=gnu11
3094 CC="$ac_save_CC $ac_arg"
3095 if ac_fn_c_try_compile "$LINENO"
3096 then :
3097 ac_cv_prog_cc_c11=$ac_arg
3099 rm -f core conftest.err conftest.$ac_objext conftest.beam
3100 test "x$ac_cv_prog_cc_c11" != "xno" && break
3101 done
3102 rm -f conftest.$ac_ext
3103 CC=$ac_save_CC
3106 if test "x$ac_cv_prog_cc_c11" = xno
3107 then :
3108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3109 printf "%s\n" "unsupported" >&6; }
3110 else $as_nop
3111 if test "x$ac_cv_prog_cc_c11" = x
3112 then :
3113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3114 printf "%s\n" "none needed" >&6; }
3115 else $as_nop
3116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
3117 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
3118 CC="$CC $ac_cv_prog_cc_c11"
3120 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
3121 ac_prog_cc_stdc=c11
3124 if test x$ac_prog_cc_stdc = xno
3125 then :
3126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
3127 printf %s "checking for $CC option to enable C99 features... " >&6; }
3128 if test ${ac_cv_prog_cc_c99+y}
3129 then :
3130 printf %s "(cached) " >&6
3131 else $as_nop
3132 ac_cv_prog_cc_c99=no
3133 ac_save_CC=$CC
3134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3135 /* end confdefs.h. */
3136 $ac_c_conftest_c99_program
3137 _ACEOF
3138 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
3140 CC="$ac_save_CC $ac_arg"
3141 if ac_fn_c_try_compile "$LINENO"
3142 then :
3143 ac_cv_prog_cc_c99=$ac_arg
3145 rm -f core conftest.err conftest.$ac_objext conftest.beam
3146 test "x$ac_cv_prog_cc_c99" != "xno" && break
3147 done
3148 rm -f conftest.$ac_ext
3149 CC=$ac_save_CC
3152 if test "x$ac_cv_prog_cc_c99" = xno
3153 then :
3154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3155 printf "%s\n" "unsupported" >&6; }
3156 else $as_nop
3157 if test "x$ac_cv_prog_cc_c99" = x
3158 then :
3159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3160 printf "%s\n" "none needed" >&6; }
3161 else $as_nop
3162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3163 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
3164 CC="$CC $ac_cv_prog_cc_c99"
3166 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3167 ac_prog_cc_stdc=c99
3170 if test x$ac_prog_cc_stdc = xno
3171 then :
3172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
3173 printf %s "checking for $CC option to enable C89 features... " >&6; }
3174 if test ${ac_cv_prog_cc_c89+y}
3175 then :
3176 printf %s "(cached) " >&6
3177 else $as_nop
3178 ac_cv_prog_cc_c89=no
3179 ac_save_CC=$CC
3180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3181 /* end confdefs.h. */
3182 $ac_c_conftest_c89_program
3183 _ACEOF
3184 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3186 CC="$ac_save_CC $ac_arg"
3187 if ac_fn_c_try_compile "$LINENO"
3188 then :
3189 ac_cv_prog_cc_c89=$ac_arg
3191 rm -f core conftest.err conftest.$ac_objext conftest.beam
3192 test "x$ac_cv_prog_cc_c89" != "xno" && break
3193 done
3194 rm -f conftest.$ac_ext
3195 CC=$ac_save_CC
3198 if test "x$ac_cv_prog_cc_c89" = xno
3199 then :
3200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3201 printf "%s\n" "unsupported" >&6; }
3202 else $as_nop
3203 if test "x$ac_cv_prog_cc_c89" = x
3204 then :
3205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3206 printf "%s\n" "none needed" >&6; }
3207 else $as_nop
3208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3209 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
3210 CC="$CC $ac_cv_prog_cc_c89"
3212 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3213 ac_prog_cc_stdc=c89
3217 ac_ext=c
3218 ac_cpp='$CPP $CPPFLAGS'
3219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcurl cflags" >&5
3227 printf %s "checking for libcurl cflags... " >&6; }
3228 if test -z "$CURLCFLAGS"
3229 then :
3230 CURLCFLAGS=`pkg-config libcurl --cflags || curl-config --cflags`
3231 if test "$?" -eq 0
3232 then :
3234 else $as_nop
3235 as_fn_error $? "libcurl was not found" "$LINENO" 5
3238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CURLCFLAGS" >&5
3239 printf "%s\n" "$CURLCFLAGS" >&6; }
3243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcurl libs" >&5
3244 printf %s "checking for libcurl libs... " >&6; }
3245 if test -z "$CURLLIBS"
3246 then :
3247 CURLLIBS=`pkg-config libcurl --libs || curl-config --libs`
3248 if test "$?" -eq 0
3249 then :
3251 else $as_nop
3252 as_fn_error $? "libcurl was not found" "$LINENO" 5
3255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CURLLIBS" >&5
3256 printf "%s\n" "$CURLLIBS" >&6; }
3260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcurl version >= $MIN_LIBCURL_VERSION" >&5
3261 printf %s "checking for libcurl version >= $MIN_LIBCURL_VERSION... " >&6; }
3262 if test -z "$LIBCURL_VERSION"
3263 then :
3264 LIBCURL_VERSION=`pkg-config libcurl --modversion || curl-config --version`
3265 (pkg-config libcurl && pkg-config libcurl --atleast-version=${MIN_LIBCURL_VERSION}) || curl-config --checkfor ${MIN_LIBCURL_VERSION}
3266 if test "$?" -eq 0
3267 then :
3269 else $as_nop
3270 as_fn_error $? "${LIBCURL_VERSION} is too old" "$LINENO" 5
3273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${LIBCURL_VERSION}" >&5
3274 printf "%s\n" "${LIBCURL_VERSION}" >&6; }
3276 # set CFLAGS for tests below
3277 CFLAGS="$CFLAGS $CURLCFLAGS"
3280 ac_header= ac_cache=
3281 for ac_item in $ac_header_c_list
3283 if test $ac_cache; then
3284 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
3285 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
3286 printf "%s\n" "#define $ac_item 1" >> confdefs.h
3288 ac_header= ac_cache=
3289 elif test $ac_header; then
3290 ac_cache=$ac_item
3291 else
3292 ac_header=$ac_item
3294 done
3303 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
3304 then :
3306 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
3309 for ac_header in curl/curl.h
3310 do :
3311 ac_fn_c_check_header_compile "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
3312 if test "x$ac_cv_header_curl_curl_h" = xyes
3313 then :
3314 printf "%s\n" "#define HAVE_CURL_CURL_H 1" >>confdefs.h
3316 else $as_nop
3317 as_fn_error $? "libcurl header file missing" "$LINENO" 5
3320 done
3322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
3323 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
3324 if test ${ac_cv_c_undeclared_builtin_options+y}
3325 then :
3326 printf %s "(cached) " >&6
3327 else $as_nop
3328 ac_save_CFLAGS=$CFLAGS
3329 ac_cv_c_undeclared_builtin_options='cannot detect'
3330 for ac_arg in '' -fno-builtin; do
3331 CFLAGS="$ac_save_CFLAGS $ac_arg"
3332 # This test program should *not* compile successfully.
3333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3334 /* end confdefs.h. */
3337 main (void)
3339 (void) strchr;
3341 return 0;
3343 _ACEOF
3344 if ac_fn_c_try_compile "$LINENO"
3345 then :
3347 else $as_nop
3348 # This test program should compile successfully.
3349 # No library function is consistently available on
3350 # freestanding implementations, so test against a dummy
3351 # declaration. Include always-available headers on the
3352 # off chance that they somehow elicit warnings.
3353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3354 /* end confdefs.h. */
3355 #include <float.h>
3356 #include <limits.h>
3357 #include <stdarg.h>
3358 #include <stddef.h>
3359 extern void ac_decl (int, char *);
3362 main (void)
3364 (void) ac_decl (0, (char *) 0);
3365 (void) ac_decl;
3368 return 0;
3370 _ACEOF
3371 if ac_fn_c_try_compile "$LINENO"
3372 then :
3373 if test x"$ac_arg" = x
3374 then :
3375 ac_cv_c_undeclared_builtin_options='none needed'
3376 else $as_nop
3377 ac_cv_c_undeclared_builtin_options=$ac_arg
3379 break
3381 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3383 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3384 done
3385 CFLAGS=$ac_save_CFLAGS
3388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
3389 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
3390 case $ac_cv_c_undeclared_builtin_options in #(
3391 'cannot detect') :
3392 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3393 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3394 as_fn_error $? "cannot make $CC report undeclared builtins
3395 See \`config.log' for more details" "$LINENO" 5; } ;; #(
3396 'none needed') :
3397 ac_c_undeclared_builtin_options='' ;; #(
3398 *) :
3399 ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
3400 esac
3402 ac_fn_check_decl "$LINENO" "CURLMOPT_TIMERFUNCTION" "ac_cv_have_decl_CURLMOPT_TIMERFUNCTION" "
3403 #include \"curl/curl.h\"
3405 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3406 if test "x$ac_cv_have_decl_CURLMOPT_TIMERFUNCTION" = xyes
3407 then :
3408 ac_have_decl=1
3409 else $as_nop
3410 ac_have_decl=0
3412 printf "%s\n" "#define HAVE_DECL_CURLMOPT_TIMERFUNCTION $ac_have_decl" >>confdefs.h
3413 if test $ac_have_decl = 1
3414 then :
3416 else $as_nop
3417 as_fn_error $? "multi API is too old, need libcurl >= ${MIN_LIBCURL_VERSION}" "$LINENO" 5
3419 ac_fn_check_decl "$LINENO" "CURLMOPT_TIMERDATA" "ac_cv_have_decl_CURLMOPT_TIMERDATA" "
3420 #include \"curl/curl.h\"
3422 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3423 if test "x$ac_cv_have_decl_CURLMOPT_TIMERDATA" = xyes
3424 then :
3425 ac_have_decl=1
3426 else $as_nop
3427 ac_have_decl=0
3429 printf "%s\n" "#define HAVE_DECL_CURLMOPT_TIMERDATA $ac_have_decl" >>confdefs.h
3430 if test $ac_have_decl = 1
3431 then :
3433 else $as_nop
3434 as_fn_error $? "multi API is too old, need libcurl >= ${MIN_LIBCURL_VERSION}" "$LINENO" 5
3436 ac_fn_check_decl "$LINENO" "CURLMOPT_SOCKETFUNCTION" "ac_cv_have_decl_CURLMOPT_SOCKETFUNCTION" "
3437 #include \"curl/curl.h\"
3439 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3440 if test "x$ac_cv_have_decl_CURLMOPT_SOCKETFUNCTION" = xyes
3441 then :
3442 ac_have_decl=1
3443 else $as_nop
3444 ac_have_decl=0
3446 printf "%s\n" "#define HAVE_DECL_CURLMOPT_SOCKETFUNCTION $ac_have_decl" >>confdefs.h
3447 if test $ac_have_decl = 1
3448 then :
3450 else $as_nop
3451 as_fn_error $? "multi API is too old, need libcurl >= ${MIN_LIBCURL_VERSION}" "$LINENO" 5
3453 ac_fn_check_decl "$LINENO" "CURLMOPT_SOCKETDATA" "ac_cv_have_decl_CURLMOPT_SOCKETDATA" "
3454 #include \"curl/curl.h\"
3456 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3457 if test "x$ac_cv_have_decl_CURLMOPT_SOCKETDATA" = xyes
3458 then :
3459 ac_have_decl=1
3460 else $as_nop
3461 ac_have_decl=0
3463 printf "%s\n" "#define HAVE_DECL_CURLMOPT_SOCKETDATA $ac_have_decl" >>confdefs.h
3464 if test $ac_have_decl = 1
3465 then :
3467 else $as_nop
3468 as_fn_error $? "multi API is too old, need libcurl >= ${MIN_LIBCURL_VERSION}" "$LINENO" 5
3472 ac_fn_check_decl "$LINENO" "CURLOPT_FILE" "ac_cv_have_decl_CURLOPT_FILE" "
3473 #include \"curl/curl.h\"
3475 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3476 if test "x$ac_cv_have_decl_CURLOPT_FILE" = xyes
3477 then :
3478 ac_have_decl=1
3479 else $as_nop
3480 ac_have_decl=0
3482 printf "%s\n" "#define HAVE_DECL_CURLOPT_FILE $ac_have_decl" >>confdefs.h
3483 ac_fn_check_decl "$LINENO" "CURLOPT_URL" "ac_cv_have_decl_CURLOPT_URL" "
3484 #include \"curl/curl.h\"
3486 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3487 if test "x$ac_cv_have_decl_CURLOPT_URL" = xyes
3488 then :
3489 ac_have_decl=1
3490 else $as_nop
3491 ac_have_decl=0
3493 printf "%s\n" "#define HAVE_DECL_CURLOPT_URL $ac_have_decl" >>confdefs.h
3494 ac_fn_check_decl "$LINENO" "CURLOPT_PORT" "ac_cv_have_decl_CURLOPT_PORT" "
3495 #include \"curl/curl.h\"
3497 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3498 if test "x$ac_cv_have_decl_CURLOPT_PORT" = xyes
3499 then :
3500 ac_have_decl=1
3501 else $as_nop
3502 ac_have_decl=0
3504 printf "%s\n" "#define HAVE_DECL_CURLOPT_PORT $ac_have_decl" >>confdefs.h
3505 ac_fn_check_decl "$LINENO" "CURLOPT_PROXY" "ac_cv_have_decl_CURLOPT_PROXY" "
3506 #include \"curl/curl.h\"
3508 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3509 if test "x$ac_cv_have_decl_CURLOPT_PROXY" = xyes
3510 then :
3511 ac_have_decl=1
3512 else $as_nop
3513 ac_have_decl=0
3515 printf "%s\n" "#define HAVE_DECL_CURLOPT_PROXY $ac_have_decl" >>confdefs.h
3516 ac_fn_check_decl "$LINENO" "CURLOPT_USERPWD" "ac_cv_have_decl_CURLOPT_USERPWD" "
3517 #include \"curl/curl.h\"
3519 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3520 if test "x$ac_cv_have_decl_CURLOPT_USERPWD" = xyes
3521 then :
3522 ac_have_decl=1
3523 else $as_nop
3524 ac_have_decl=0
3526 printf "%s\n" "#define HAVE_DECL_CURLOPT_USERPWD $ac_have_decl" >>confdefs.h
3527 ac_fn_check_decl "$LINENO" "CURLOPT_PROXYUSERPWD" "ac_cv_have_decl_CURLOPT_PROXYUSERPWD" "
3528 #include \"curl/curl.h\"
3530 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3531 if test "x$ac_cv_have_decl_CURLOPT_PROXYUSERPWD" = xyes
3532 then :
3533 ac_have_decl=1
3534 else $as_nop
3535 ac_have_decl=0
3537 printf "%s\n" "#define HAVE_DECL_CURLOPT_PROXYUSERPWD $ac_have_decl" >>confdefs.h
3538 ac_fn_check_decl "$LINENO" "CURLOPT_RANGE" "ac_cv_have_decl_CURLOPT_RANGE" "
3539 #include \"curl/curl.h\"
3541 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3542 if test "x$ac_cv_have_decl_CURLOPT_RANGE" = xyes
3543 then :
3544 ac_have_decl=1
3545 else $as_nop
3546 ac_have_decl=0
3548 printf "%s\n" "#define HAVE_DECL_CURLOPT_RANGE $ac_have_decl" >>confdefs.h
3549 ac_fn_check_decl "$LINENO" "CURLOPT_INFILE" "ac_cv_have_decl_CURLOPT_INFILE" "
3550 #include \"curl/curl.h\"
3552 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3553 if test "x$ac_cv_have_decl_CURLOPT_INFILE" = xyes
3554 then :
3555 ac_have_decl=1
3556 else $as_nop
3557 ac_have_decl=0
3559 printf "%s\n" "#define HAVE_DECL_CURLOPT_INFILE $ac_have_decl" >>confdefs.h
3560 ac_fn_check_decl "$LINENO" "CURLOPT_ERRORBUFFER" "ac_cv_have_decl_CURLOPT_ERRORBUFFER" "
3561 #include \"curl/curl.h\"
3563 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3564 if test "x$ac_cv_have_decl_CURLOPT_ERRORBUFFER" = xyes
3565 then :
3566 ac_have_decl=1
3567 else $as_nop
3568 ac_have_decl=0
3570 printf "%s\n" "#define HAVE_DECL_CURLOPT_ERRORBUFFER $ac_have_decl" >>confdefs.h
3571 ac_fn_check_decl "$LINENO" "CURLOPT_WRITEFUNCTION" "ac_cv_have_decl_CURLOPT_WRITEFUNCTION" "
3572 #include \"curl/curl.h\"
3574 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3575 if test "x$ac_cv_have_decl_CURLOPT_WRITEFUNCTION" = xyes
3576 then :
3577 ac_have_decl=1
3578 else $as_nop
3579 ac_have_decl=0
3581 printf "%s\n" "#define HAVE_DECL_CURLOPT_WRITEFUNCTION $ac_have_decl" >>confdefs.h
3582 ac_fn_check_decl "$LINENO" "CURLOPT_READFUNCTION" "ac_cv_have_decl_CURLOPT_READFUNCTION" "
3583 #include \"curl/curl.h\"
3585 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3586 if test "x$ac_cv_have_decl_CURLOPT_READFUNCTION" = xyes
3587 then :
3588 ac_have_decl=1
3589 else $as_nop
3590 ac_have_decl=0
3592 printf "%s\n" "#define HAVE_DECL_CURLOPT_READFUNCTION $ac_have_decl" >>confdefs.h
3593 ac_fn_check_decl "$LINENO" "CURLOPT_TIMEOUT" "ac_cv_have_decl_CURLOPT_TIMEOUT" "
3594 #include \"curl/curl.h\"
3596 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3597 if test "x$ac_cv_have_decl_CURLOPT_TIMEOUT" = xyes
3598 then :
3599 ac_have_decl=1
3600 else $as_nop
3601 ac_have_decl=0
3603 printf "%s\n" "#define HAVE_DECL_CURLOPT_TIMEOUT $ac_have_decl" >>confdefs.h
3604 ac_fn_check_decl "$LINENO" "CURLOPT_INFILESIZE" "ac_cv_have_decl_CURLOPT_INFILESIZE" "
3605 #include \"curl/curl.h\"
3607 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3608 if test "x$ac_cv_have_decl_CURLOPT_INFILESIZE" = xyes
3609 then :
3610 ac_have_decl=1
3611 else $as_nop
3612 ac_have_decl=0
3614 printf "%s\n" "#define HAVE_DECL_CURLOPT_INFILESIZE $ac_have_decl" >>confdefs.h
3615 ac_fn_check_decl "$LINENO" "CURLOPT_POSTFIELDS" "ac_cv_have_decl_CURLOPT_POSTFIELDS" "
3616 #include \"curl/curl.h\"
3618 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3619 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDS" = xyes
3620 then :
3621 ac_have_decl=1
3622 else $as_nop
3623 ac_have_decl=0
3625 printf "%s\n" "#define HAVE_DECL_CURLOPT_POSTFIELDS $ac_have_decl" >>confdefs.h
3626 ac_fn_check_decl "$LINENO" "CURLOPT_REFERER" "ac_cv_have_decl_CURLOPT_REFERER" "
3627 #include \"curl/curl.h\"
3629 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3630 if test "x$ac_cv_have_decl_CURLOPT_REFERER" = xyes
3631 then :
3632 ac_have_decl=1
3633 else $as_nop
3634 ac_have_decl=0
3636 printf "%s\n" "#define HAVE_DECL_CURLOPT_REFERER $ac_have_decl" >>confdefs.h
3637 ac_fn_check_decl "$LINENO" "CURLOPT_FTPPORT" "ac_cv_have_decl_CURLOPT_FTPPORT" "
3638 #include \"curl/curl.h\"
3640 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3641 if test "x$ac_cv_have_decl_CURLOPT_FTPPORT" = xyes
3642 then :
3643 ac_have_decl=1
3644 else $as_nop
3645 ac_have_decl=0
3647 printf "%s\n" "#define HAVE_DECL_CURLOPT_FTPPORT $ac_have_decl" >>confdefs.h
3648 ac_fn_check_decl "$LINENO" "CURLOPT_USERAGENT" "ac_cv_have_decl_CURLOPT_USERAGENT" "
3649 #include \"curl/curl.h\"
3651 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3652 if test "x$ac_cv_have_decl_CURLOPT_USERAGENT" = xyes
3653 then :
3654 ac_have_decl=1
3655 else $as_nop
3656 ac_have_decl=0
3658 printf "%s\n" "#define HAVE_DECL_CURLOPT_USERAGENT $ac_have_decl" >>confdefs.h
3659 ac_fn_check_decl "$LINENO" "CURLOPT_LOW_SPEED_LIMIT" "ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" "
3660 #include \"curl/curl.h\"
3662 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3663 if test "x$ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" = xyes
3664 then :
3665 ac_have_decl=1
3666 else $as_nop
3667 ac_have_decl=0
3669 printf "%s\n" "#define HAVE_DECL_CURLOPT_LOW_SPEED_LIMIT $ac_have_decl" >>confdefs.h
3670 ac_fn_check_decl "$LINENO" "CURLOPT_LOW_SPEED_TIME" "ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" "
3671 #include \"curl/curl.h\"
3673 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3674 if test "x$ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" = xyes
3675 then :
3676 ac_have_decl=1
3677 else $as_nop
3678 ac_have_decl=0
3680 printf "%s\n" "#define HAVE_DECL_CURLOPT_LOW_SPEED_TIME $ac_have_decl" >>confdefs.h
3681 ac_fn_check_decl "$LINENO" "CURLOPT_RESUME_FROM" "ac_cv_have_decl_CURLOPT_RESUME_FROM" "
3682 #include \"curl/curl.h\"
3684 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3685 if test "x$ac_cv_have_decl_CURLOPT_RESUME_FROM" = xyes
3686 then :
3687 ac_have_decl=1
3688 else $as_nop
3689 ac_have_decl=0
3691 printf "%s\n" "#define HAVE_DECL_CURLOPT_RESUME_FROM $ac_have_decl" >>confdefs.h
3692 ac_fn_check_decl "$LINENO" "CURLOPT_COOKIE" "ac_cv_have_decl_CURLOPT_COOKIE" "
3693 #include \"curl/curl.h\"
3695 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3696 if test "x$ac_cv_have_decl_CURLOPT_COOKIE" = xyes
3697 then :
3698 ac_have_decl=1
3699 else $as_nop
3700 ac_have_decl=0
3702 printf "%s\n" "#define HAVE_DECL_CURLOPT_COOKIE $ac_have_decl" >>confdefs.h
3703 ac_fn_check_decl "$LINENO" "CURLOPT_HTTPHEADER" "ac_cv_have_decl_CURLOPT_HTTPHEADER" "
3704 #include \"curl/curl.h\"
3706 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3707 if test "x$ac_cv_have_decl_CURLOPT_HTTPHEADER" = xyes
3708 then :
3709 ac_have_decl=1
3710 else $as_nop
3711 ac_have_decl=0
3713 printf "%s\n" "#define HAVE_DECL_CURLOPT_HTTPHEADER $ac_have_decl" >>confdefs.h
3714 ac_fn_check_decl "$LINENO" "CURLOPT_HTTPPOST" "ac_cv_have_decl_CURLOPT_HTTPPOST" "
3715 #include \"curl/curl.h\"
3717 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3718 if test "x$ac_cv_have_decl_CURLOPT_HTTPPOST" = xyes
3719 then :
3720 ac_have_decl=1
3721 else $as_nop
3722 ac_have_decl=0
3724 printf "%s\n" "#define HAVE_DECL_CURLOPT_HTTPPOST $ac_have_decl" >>confdefs.h
3725 ac_fn_check_decl "$LINENO" "CURLOPT_SSLCERT" "ac_cv_have_decl_CURLOPT_SSLCERT" "
3726 #include \"curl/curl.h\"
3728 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3729 if test "x$ac_cv_have_decl_CURLOPT_SSLCERT" = xyes
3730 then :
3731 ac_have_decl=1
3732 else $as_nop
3733 ac_have_decl=0
3735 printf "%s\n" "#define HAVE_DECL_CURLOPT_SSLCERT $ac_have_decl" >>confdefs.h
3736 ac_fn_check_decl "$LINENO" "CURLOPT_SSLCERTPASSWD" "ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" "
3737 #include \"curl/curl.h\"
3739 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3740 if test "x$ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" = xyes
3741 then :
3742 ac_have_decl=1
3743 else $as_nop
3744 ac_have_decl=0
3746 printf "%s\n" "#define HAVE_DECL_CURLOPT_SSLCERTPASSWD $ac_have_decl" >>confdefs.h
3747 ac_fn_check_decl "$LINENO" "CURLOPT_SSLKEYPASSWD" "ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" "
3748 #include \"curl/curl.h\"
3750 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3751 if test "x$ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" = xyes
3752 then :
3753 ac_have_decl=1
3754 else $as_nop
3755 ac_have_decl=0
3757 printf "%s\n" "#define HAVE_DECL_CURLOPT_SSLKEYPASSWD $ac_have_decl" >>confdefs.h
3758 ac_fn_check_decl "$LINENO" "CURLOPT_CRLF" "ac_cv_have_decl_CURLOPT_CRLF" "
3759 #include \"curl/curl.h\"
3761 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3762 if test "x$ac_cv_have_decl_CURLOPT_CRLF" = xyes
3763 then :
3764 ac_have_decl=1
3765 else $as_nop
3766 ac_have_decl=0
3768 printf "%s\n" "#define HAVE_DECL_CURLOPT_CRLF $ac_have_decl" >>confdefs.h
3769 ac_fn_check_decl "$LINENO" "CURLOPT_QUOTE" "ac_cv_have_decl_CURLOPT_QUOTE" "
3770 #include \"curl/curl.h\"
3772 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3773 if test "x$ac_cv_have_decl_CURLOPT_QUOTE" = xyes
3774 then :
3775 ac_have_decl=1
3776 else $as_nop
3777 ac_have_decl=0
3779 printf "%s\n" "#define HAVE_DECL_CURLOPT_QUOTE $ac_have_decl" >>confdefs.h
3780 ac_fn_check_decl "$LINENO" "CURLOPT_WRITEHEADER" "ac_cv_have_decl_CURLOPT_WRITEHEADER" "
3781 #include \"curl/curl.h\"
3783 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3784 if test "x$ac_cv_have_decl_CURLOPT_WRITEHEADER" = xyes
3785 then :
3786 ac_have_decl=1
3787 else $as_nop
3788 ac_have_decl=0
3790 printf "%s\n" "#define HAVE_DECL_CURLOPT_WRITEHEADER $ac_have_decl" >>confdefs.h
3791 ac_fn_check_decl "$LINENO" "CURLOPT_COOKIEFILE" "ac_cv_have_decl_CURLOPT_COOKIEFILE" "
3792 #include \"curl/curl.h\"
3794 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3795 if test "x$ac_cv_have_decl_CURLOPT_COOKIEFILE" = xyes
3796 then :
3797 ac_have_decl=1
3798 else $as_nop
3799 ac_have_decl=0
3801 printf "%s\n" "#define HAVE_DECL_CURLOPT_COOKIEFILE $ac_have_decl" >>confdefs.h
3802 ac_fn_check_decl "$LINENO" "CURLOPT_SSLVERSION" "ac_cv_have_decl_CURLOPT_SSLVERSION" "
3803 #include \"curl/curl.h\"
3805 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3806 if test "x$ac_cv_have_decl_CURLOPT_SSLVERSION" = xyes
3807 then :
3808 ac_have_decl=1
3809 else $as_nop
3810 ac_have_decl=0
3812 printf "%s\n" "#define HAVE_DECL_CURLOPT_SSLVERSION $ac_have_decl" >>confdefs.h
3813 ac_fn_check_decl "$LINENO" "CURLOPT_TIMECONDITION" "ac_cv_have_decl_CURLOPT_TIMECONDITION" "
3814 #include \"curl/curl.h\"
3816 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3817 if test "x$ac_cv_have_decl_CURLOPT_TIMECONDITION" = xyes
3818 then :
3819 ac_have_decl=1
3820 else $as_nop
3821 ac_have_decl=0
3823 printf "%s\n" "#define HAVE_DECL_CURLOPT_TIMECONDITION $ac_have_decl" >>confdefs.h
3824 ac_fn_check_decl "$LINENO" "CURLOPT_TIMEVALUE" "ac_cv_have_decl_CURLOPT_TIMEVALUE" "
3825 #include \"curl/curl.h\"
3827 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3828 if test "x$ac_cv_have_decl_CURLOPT_TIMEVALUE" = xyes
3829 then :
3830 ac_have_decl=1
3831 else $as_nop
3832 ac_have_decl=0
3834 printf "%s\n" "#define HAVE_DECL_CURLOPT_TIMEVALUE $ac_have_decl" >>confdefs.h
3835 ac_fn_check_decl "$LINENO" "CURLOPT_CUSTOMREQUEST" "ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" "
3836 #include \"curl/curl.h\"
3838 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3839 if test "x$ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" = xyes
3840 then :
3841 ac_have_decl=1
3842 else $as_nop
3843 ac_have_decl=0
3845 printf "%s\n" "#define HAVE_DECL_CURLOPT_CUSTOMREQUEST $ac_have_decl" >>confdefs.h
3846 ac_fn_check_decl "$LINENO" "CURLOPT_POSTQUOTE" "ac_cv_have_decl_CURLOPT_POSTQUOTE" "
3847 #include \"curl/curl.h\"
3849 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3850 if test "x$ac_cv_have_decl_CURLOPT_POSTQUOTE" = xyes
3851 then :
3852 ac_have_decl=1
3853 else $as_nop
3854 ac_have_decl=0
3856 printf "%s\n" "#define HAVE_DECL_CURLOPT_POSTQUOTE $ac_have_decl" >>confdefs.h
3857 ac_fn_check_decl "$LINENO" "CURLOPT_WRITEINFO" "ac_cv_have_decl_CURLOPT_WRITEINFO" "
3858 #include \"curl/curl.h\"
3860 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3861 if test "x$ac_cv_have_decl_CURLOPT_WRITEINFO" = xyes
3862 then :
3863 ac_have_decl=1
3864 else $as_nop
3865 ac_have_decl=0
3867 printf "%s\n" "#define HAVE_DECL_CURLOPT_WRITEINFO $ac_have_decl" >>confdefs.h
3868 ac_fn_check_decl "$LINENO" "CURLOPT_VERBOSE" "ac_cv_have_decl_CURLOPT_VERBOSE" "
3869 #include \"curl/curl.h\"
3871 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3872 if test "x$ac_cv_have_decl_CURLOPT_VERBOSE" = xyes
3873 then :
3874 ac_have_decl=1
3875 else $as_nop
3876 ac_have_decl=0
3878 printf "%s\n" "#define HAVE_DECL_CURLOPT_VERBOSE $ac_have_decl" >>confdefs.h
3879 ac_fn_check_decl "$LINENO" "CURLOPT_HEADER" "ac_cv_have_decl_CURLOPT_HEADER" "
3880 #include \"curl/curl.h\"
3882 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3883 if test "x$ac_cv_have_decl_CURLOPT_HEADER" = xyes
3884 then :
3885 ac_have_decl=1
3886 else $as_nop
3887 ac_have_decl=0
3889 printf "%s\n" "#define HAVE_DECL_CURLOPT_HEADER $ac_have_decl" >>confdefs.h
3890 ac_fn_check_decl "$LINENO" "CURLOPT_NOPROGRESS" "ac_cv_have_decl_CURLOPT_NOPROGRESS" "
3891 #include \"curl/curl.h\"
3893 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3894 if test "x$ac_cv_have_decl_CURLOPT_NOPROGRESS" = xyes
3895 then :
3896 ac_have_decl=1
3897 else $as_nop
3898 ac_have_decl=0
3900 printf "%s\n" "#define HAVE_DECL_CURLOPT_NOPROGRESS $ac_have_decl" >>confdefs.h
3901 ac_fn_check_decl "$LINENO" "CURLOPT_NOBODY" "ac_cv_have_decl_CURLOPT_NOBODY" "
3902 #include \"curl/curl.h\"
3904 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3905 if test "x$ac_cv_have_decl_CURLOPT_NOBODY" = xyes
3906 then :
3907 ac_have_decl=1
3908 else $as_nop
3909 ac_have_decl=0
3911 printf "%s\n" "#define HAVE_DECL_CURLOPT_NOBODY $ac_have_decl" >>confdefs.h
3912 ac_fn_check_decl "$LINENO" "CURLOPT_FAILONERROR" "ac_cv_have_decl_CURLOPT_FAILONERROR" "
3913 #include \"curl/curl.h\"
3915 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3916 if test "x$ac_cv_have_decl_CURLOPT_FAILONERROR" = xyes
3917 then :
3918 ac_have_decl=1
3919 else $as_nop
3920 ac_have_decl=0
3922 printf "%s\n" "#define HAVE_DECL_CURLOPT_FAILONERROR $ac_have_decl" >>confdefs.h
3923 ac_fn_check_decl "$LINENO" "CURLOPT_UPLOAD" "ac_cv_have_decl_CURLOPT_UPLOAD" "
3924 #include \"curl/curl.h\"
3926 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3927 if test "x$ac_cv_have_decl_CURLOPT_UPLOAD" = xyes
3928 then :
3929 ac_have_decl=1
3930 else $as_nop
3931 ac_have_decl=0
3933 printf "%s\n" "#define HAVE_DECL_CURLOPT_UPLOAD $ac_have_decl" >>confdefs.h
3934 ac_fn_check_decl "$LINENO" "CURLOPT_POST" "ac_cv_have_decl_CURLOPT_POST" "
3935 #include \"curl/curl.h\"
3937 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3938 if test "x$ac_cv_have_decl_CURLOPT_POST" = xyes
3939 then :
3940 ac_have_decl=1
3941 else $as_nop
3942 ac_have_decl=0
3944 printf "%s\n" "#define HAVE_DECL_CURLOPT_POST $ac_have_decl" >>confdefs.h
3945 ac_fn_check_decl "$LINENO" "CURLOPT_FTPLISTONLY" "ac_cv_have_decl_CURLOPT_FTPLISTONLY" "
3946 #include \"curl/curl.h\"
3948 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3949 if test "x$ac_cv_have_decl_CURLOPT_FTPLISTONLY" = xyes
3950 then :
3951 ac_have_decl=1
3952 else $as_nop
3953 ac_have_decl=0
3955 printf "%s\n" "#define HAVE_DECL_CURLOPT_FTPLISTONLY $ac_have_decl" >>confdefs.h
3956 ac_fn_check_decl "$LINENO" "CURLOPT_FTPAPPEND" "ac_cv_have_decl_CURLOPT_FTPAPPEND" "
3957 #include \"curl/curl.h\"
3959 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3960 if test "x$ac_cv_have_decl_CURLOPT_FTPAPPEND" = xyes
3961 then :
3962 ac_have_decl=1
3963 else $as_nop
3964 ac_have_decl=0
3966 printf "%s\n" "#define HAVE_DECL_CURLOPT_FTPAPPEND $ac_have_decl" >>confdefs.h
3967 ac_fn_check_decl "$LINENO" "CURLOPT_NETRC" "ac_cv_have_decl_CURLOPT_NETRC" "
3968 #include \"curl/curl.h\"
3970 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3971 if test "x$ac_cv_have_decl_CURLOPT_NETRC" = xyes
3972 then :
3973 ac_have_decl=1
3974 else $as_nop
3975 ac_have_decl=0
3977 printf "%s\n" "#define HAVE_DECL_CURLOPT_NETRC $ac_have_decl" >>confdefs.h
3978 ac_fn_check_decl "$LINENO" "CURLOPT_FOLLOWLOCATION" "ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" "
3979 #include \"curl/curl.h\"
3981 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3982 if test "x$ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" = xyes
3983 then :
3984 ac_have_decl=1
3985 else $as_nop
3986 ac_have_decl=0
3988 printf "%s\n" "#define HAVE_DECL_CURLOPT_FOLLOWLOCATION $ac_have_decl" >>confdefs.h
3989 ac_fn_check_decl "$LINENO" "CURLOPT_TRANSFERTEXT" "ac_cv_have_decl_CURLOPT_TRANSFERTEXT" "
3990 #include \"curl/curl.h\"
3992 " "$ac_c_undeclared_builtin_options" "CFLAGS"
3993 if test "x$ac_cv_have_decl_CURLOPT_TRANSFERTEXT" = xyes
3994 then :
3995 ac_have_decl=1
3996 else $as_nop
3997 ac_have_decl=0
3999 printf "%s\n" "#define HAVE_DECL_CURLOPT_TRANSFERTEXT $ac_have_decl" >>confdefs.h
4000 ac_fn_check_decl "$LINENO" "CURLOPT_PUT" "ac_cv_have_decl_CURLOPT_PUT" "
4001 #include \"curl/curl.h\"
4003 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4004 if test "x$ac_cv_have_decl_CURLOPT_PUT" = xyes
4005 then :
4006 ac_have_decl=1
4007 else $as_nop
4008 ac_have_decl=0
4010 printf "%s\n" "#define HAVE_DECL_CURLOPT_PUT $ac_have_decl" >>confdefs.h
4011 ac_fn_check_decl "$LINENO" "CURLOPT_PROGRESSFUNCTION" "ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" "
4012 #include \"curl/curl.h\"
4014 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4015 if test "x$ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" = xyes
4016 then :
4017 ac_have_decl=1
4018 else $as_nop
4019 ac_have_decl=0
4021 printf "%s\n" "#define HAVE_DECL_CURLOPT_PROGRESSFUNCTION $ac_have_decl" >>confdefs.h
4022 ac_fn_check_decl "$LINENO" "CURLOPT_XFERINFOFUNCTION" "ac_cv_have_decl_CURLOPT_XFERINFOFUNCTION" "
4023 #include \"curl/curl.h\"
4025 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4026 if test "x$ac_cv_have_decl_CURLOPT_XFERINFOFUNCTION" = xyes
4027 then :
4028 ac_have_decl=1
4029 else $as_nop
4030 ac_have_decl=0
4032 printf "%s\n" "#define HAVE_DECL_CURLOPT_XFERINFOFUNCTION $ac_have_decl" >>confdefs.h
4033 ac_fn_check_decl "$LINENO" "CURLOPT_PREREQFUNCTION" "ac_cv_have_decl_CURLOPT_PREREQFUNCTION" "
4034 #include \"curl/curl.h\"
4036 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4037 if test "x$ac_cv_have_decl_CURLOPT_PREREQFUNCTION" = xyes
4038 then :
4039 ac_have_decl=1
4040 else $as_nop
4041 ac_have_decl=0
4043 printf "%s\n" "#define HAVE_DECL_CURLOPT_PREREQFUNCTION $ac_have_decl" >>confdefs.h
4044 ac_fn_check_decl "$LINENO" "CURLOPT_PROGRESSDATA" "ac_cv_have_decl_CURLOPT_PROGRESSDATA" "
4045 #include \"curl/curl.h\"
4047 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4048 if test "x$ac_cv_have_decl_CURLOPT_PROGRESSDATA" = xyes
4049 then :
4050 ac_have_decl=1
4051 else $as_nop
4052 ac_have_decl=0
4054 printf "%s\n" "#define HAVE_DECL_CURLOPT_PROGRESSDATA $ac_have_decl" >>confdefs.h
4055 ac_fn_check_decl "$LINENO" "CURLOPT_AUTOREFERER" "ac_cv_have_decl_CURLOPT_AUTOREFERER" "
4056 #include \"curl/curl.h\"
4058 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4059 if test "x$ac_cv_have_decl_CURLOPT_AUTOREFERER" = xyes
4060 then :
4061 ac_have_decl=1
4062 else $as_nop
4063 ac_have_decl=0
4065 printf "%s\n" "#define HAVE_DECL_CURLOPT_AUTOREFERER $ac_have_decl" >>confdefs.h
4066 ac_fn_check_decl "$LINENO" "CURLOPT_PROXYPORT" "ac_cv_have_decl_CURLOPT_PROXYPORT" "
4067 #include \"curl/curl.h\"
4069 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4070 if test "x$ac_cv_have_decl_CURLOPT_PROXYPORT" = xyes
4071 then :
4072 ac_have_decl=1
4073 else $as_nop
4074 ac_have_decl=0
4076 printf "%s\n" "#define HAVE_DECL_CURLOPT_PROXYPORT $ac_have_decl" >>confdefs.h
4077 ac_fn_check_decl "$LINENO" "CURLOPT_POSTFIELDSIZE" "ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" "
4078 #include \"curl/curl.h\"
4080 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4081 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" = xyes
4082 then :
4083 ac_have_decl=1
4084 else $as_nop
4085 ac_have_decl=0
4087 printf "%s\n" "#define HAVE_DECL_CURLOPT_POSTFIELDSIZE $ac_have_decl" >>confdefs.h
4088 ac_fn_check_decl "$LINENO" "CURLOPT_HTTPPROXYTUNNEL" "ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" "
4089 #include \"curl/curl.h\"
4091 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4092 if test "x$ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" = xyes
4093 then :
4094 ac_have_decl=1
4095 else $as_nop
4096 ac_have_decl=0
4098 printf "%s\n" "#define HAVE_DECL_CURLOPT_HTTPPROXYTUNNEL $ac_have_decl" >>confdefs.h
4099 ac_fn_check_decl "$LINENO" "CURLOPT_INTERFACE" "ac_cv_have_decl_CURLOPT_INTERFACE" "
4100 #include \"curl/curl.h\"
4102 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4103 if test "x$ac_cv_have_decl_CURLOPT_INTERFACE" = xyes
4104 then :
4105 ac_have_decl=1
4106 else $as_nop
4107 ac_have_decl=0
4109 printf "%s\n" "#define HAVE_DECL_CURLOPT_INTERFACE $ac_have_decl" >>confdefs.h
4110 ac_fn_check_decl "$LINENO" "CURLOPT_KRB4LEVEL" "ac_cv_have_decl_CURLOPT_KRB4LEVEL" "
4111 #include \"curl/curl.h\"
4113 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4114 if test "x$ac_cv_have_decl_CURLOPT_KRB4LEVEL" = xyes
4115 then :
4116 ac_have_decl=1
4117 else $as_nop
4118 ac_have_decl=0
4120 printf "%s\n" "#define HAVE_DECL_CURLOPT_KRB4LEVEL $ac_have_decl" >>confdefs.h
4121 ac_fn_check_decl "$LINENO" "CURLOPT_SSL_VERIFYPEER" "ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" "
4122 #include \"curl/curl.h\"
4124 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4125 if test "x$ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" = xyes
4126 then :
4127 ac_have_decl=1
4128 else $as_nop
4129 ac_have_decl=0
4131 printf "%s\n" "#define HAVE_DECL_CURLOPT_SSL_VERIFYPEER $ac_have_decl" >>confdefs.h
4132 ac_fn_check_decl "$LINENO" "CURLOPT_CAINFO" "ac_cv_have_decl_CURLOPT_CAINFO" "
4133 #include \"curl/curl.h\"
4135 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4136 if test "x$ac_cv_have_decl_CURLOPT_CAINFO" = xyes
4137 then :
4138 ac_have_decl=1
4139 else $as_nop
4140 ac_have_decl=0
4142 printf "%s\n" "#define HAVE_DECL_CURLOPT_CAINFO $ac_have_decl" >>confdefs.h
4143 ac_fn_check_decl "$LINENO" "CURLOPT_MAXREDIRS" "ac_cv_have_decl_CURLOPT_MAXREDIRS" "
4144 #include \"curl/curl.h\"
4146 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4147 if test "x$ac_cv_have_decl_CURLOPT_MAXREDIRS" = xyes
4148 then :
4149 ac_have_decl=1
4150 else $as_nop
4151 ac_have_decl=0
4153 printf "%s\n" "#define HAVE_DECL_CURLOPT_MAXREDIRS $ac_have_decl" >>confdefs.h
4154 ac_fn_check_decl "$LINENO" "CURLOPT_FILETIME" "ac_cv_have_decl_CURLOPT_FILETIME" "
4155 #include \"curl/curl.h\"
4157 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4158 if test "x$ac_cv_have_decl_CURLOPT_FILETIME" = xyes
4159 then :
4160 ac_have_decl=1
4161 else $as_nop
4162 ac_have_decl=0
4164 printf "%s\n" "#define HAVE_DECL_CURLOPT_FILETIME $ac_have_decl" >>confdefs.h
4165 ac_fn_check_decl "$LINENO" "CURLOPT_TELNETOPTIONS" "ac_cv_have_decl_CURLOPT_TELNETOPTIONS" "
4166 #include \"curl/curl.h\"
4168 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4169 if test "x$ac_cv_have_decl_CURLOPT_TELNETOPTIONS" = xyes
4170 then :
4171 ac_have_decl=1
4172 else $as_nop
4173 ac_have_decl=0
4175 printf "%s\n" "#define HAVE_DECL_CURLOPT_TELNETOPTIONS $ac_have_decl" >>confdefs.h
4176 ac_fn_check_decl "$LINENO" "CURLOPT_MAXCONNECTS" "ac_cv_have_decl_CURLOPT_MAXCONNECTS" "
4177 #include \"curl/curl.h\"
4179 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4180 if test "x$ac_cv_have_decl_CURLOPT_MAXCONNECTS" = xyes
4181 then :
4182 ac_have_decl=1
4183 else $as_nop
4184 ac_have_decl=0
4186 printf "%s\n" "#define HAVE_DECL_CURLOPT_MAXCONNECTS $ac_have_decl" >>confdefs.h
4187 ac_fn_check_decl "$LINENO" "CURLOPT_CLOSEPOLICY" "ac_cv_have_decl_CURLOPT_CLOSEPOLICY" "
4188 #include \"curl/curl.h\"
4190 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4191 if test "x$ac_cv_have_decl_CURLOPT_CLOSEPOLICY" = xyes
4192 then :
4193 ac_have_decl=1
4194 else $as_nop
4195 ac_have_decl=0
4197 printf "%s\n" "#define HAVE_DECL_CURLOPT_CLOSEPOLICY $ac_have_decl" >>confdefs.h
4198 ac_fn_check_decl "$LINENO" "CURLOPT_FRESH_CONNECT" "ac_cv_have_decl_CURLOPT_FRESH_CONNECT" "
4199 #include \"curl/curl.h\"
4201 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4202 if test "x$ac_cv_have_decl_CURLOPT_FRESH_CONNECT" = xyes
4203 then :
4204 ac_have_decl=1
4205 else $as_nop
4206 ac_have_decl=0
4208 printf "%s\n" "#define HAVE_DECL_CURLOPT_FRESH_CONNECT $ac_have_decl" >>confdefs.h
4209 ac_fn_check_decl "$LINENO" "CURLOPT_FORBID_REUSE" "ac_cv_have_decl_CURLOPT_FORBID_REUSE" "
4210 #include \"curl/curl.h\"
4212 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4213 if test "x$ac_cv_have_decl_CURLOPT_FORBID_REUSE" = xyes
4214 then :
4215 ac_have_decl=1
4216 else $as_nop
4217 ac_have_decl=0
4219 printf "%s\n" "#define HAVE_DECL_CURLOPT_FORBID_REUSE $ac_have_decl" >>confdefs.h
4220 ac_fn_check_decl "$LINENO" "CURLOPT_RANDOM_FILE" "ac_cv_have_decl_CURLOPT_RANDOM_FILE" "
4221 #include \"curl/curl.h\"
4223 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4224 if test "x$ac_cv_have_decl_CURLOPT_RANDOM_FILE" = xyes
4225 then :
4226 ac_have_decl=1
4227 else $as_nop
4228 ac_have_decl=0
4230 printf "%s\n" "#define HAVE_DECL_CURLOPT_RANDOM_FILE $ac_have_decl" >>confdefs.h
4231 ac_fn_check_decl "$LINENO" "CURLOPT_EGDSOCKET" "ac_cv_have_decl_CURLOPT_EGDSOCKET" "
4232 #include \"curl/curl.h\"
4234 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4235 if test "x$ac_cv_have_decl_CURLOPT_EGDSOCKET" = xyes
4236 then :
4237 ac_have_decl=1
4238 else $as_nop
4239 ac_have_decl=0
4241 printf "%s\n" "#define HAVE_DECL_CURLOPT_EGDSOCKET $ac_have_decl" >>confdefs.h
4242 ac_fn_check_decl "$LINENO" "CURLOPT_CONNECTTIMEOUT" "ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" "
4243 #include \"curl/curl.h\"
4245 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4246 if test "x$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" = xyes
4247 then :
4248 ac_have_decl=1
4249 else $as_nop
4250 ac_have_decl=0
4252 printf "%s\n" "#define HAVE_DECL_CURLOPT_CONNECTTIMEOUT $ac_have_decl" >>confdefs.h
4253 ac_fn_check_decl "$LINENO" "CURLOPT_HEADERFUNCTION" "ac_cv_have_decl_CURLOPT_HEADERFUNCTION" "
4254 #include \"curl/curl.h\"
4256 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4257 if test "x$ac_cv_have_decl_CURLOPT_HEADERFUNCTION" = xyes
4258 then :
4259 ac_have_decl=1
4260 else $as_nop
4261 ac_have_decl=0
4263 printf "%s\n" "#define HAVE_DECL_CURLOPT_HEADERFUNCTION $ac_have_decl" >>confdefs.h
4264 ac_fn_check_decl "$LINENO" "CURLOPT_HTTPGET" "ac_cv_have_decl_CURLOPT_HTTPGET" "
4265 #include \"curl/curl.h\"
4267 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4268 if test "x$ac_cv_have_decl_CURLOPT_HTTPGET" = xyes
4269 then :
4270 ac_have_decl=1
4271 else $as_nop
4272 ac_have_decl=0
4274 printf "%s\n" "#define HAVE_DECL_CURLOPT_HTTPGET $ac_have_decl" >>confdefs.h
4275 ac_fn_check_decl "$LINENO" "CURLOPT_SSL_VERIFYHOST" "ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" "
4276 #include \"curl/curl.h\"
4278 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4279 if test "x$ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" = xyes
4280 then :
4281 ac_have_decl=1
4282 else $as_nop
4283 ac_have_decl=0
4285 printf "%s\n" "#define HAVE_DECL_CURLOPT_SSL_VERIFYHOST $ac_have_decl" >>confdefs.h
4286 ac_fn_check_decl "$LINENO" "CURLOPT_COOKIEJAR" "ac_cv_have_decl_CURLOPT_COOKIEJAR" "
4287 #include \"curl/curl.h\"
4289 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4290 if test "x$ac_cv_have_decl_CURLOPT_COOKIEJAR" = xyes
4291 then :
4292 ac_have_decl=1
4293 else $as_nop
4294 ac_have_decl=0
4296 printf "%s\n" "#define HAVE_DECL_CURLOPT_COOKIEJAR $ac_have_decl" >>confdefs.h
4297 ac_fn_check_decl "$LINENO" "CURLOPT_SSL_CIPHER_LIST" "ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" "
4298 #include \"curl/curl.h\"
4300 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4301 if test "x$ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" = xyes
4302 then :
4303 ac_have_decl=1
4304 else $as_nop
4305 ac_have_decl=0
4307 printf "%s\n" "#define HAVE_DECL_CURLOPT_SSL_CIPHER_LIST $ac_have_decl" >>confdefs.h
4308 ac_fn_check_decl "$LINENO" "CURLOPT_HTTP_VERSION" "ac_cv_have_decl_CURLOPT_HTTP_VERSION" "
4309 #include \"curl/curl.h\"
4311 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4312 if test "x$ac_cv_have_decl_CURLOPT_HTTP_VERSION" = xyes
4313 then :
4314 ac_have_decl=1
4315 else $as_nop
4316 ac_have_decl=0
4318 printf "%s\n" "#define HAVE_DECL_CURLOPT_HTTP_VERSION $ac_have_decl" >>confdefs.h
4319 ac_fn_check_decl "$LINENO" "CURLOPT_FTP_USE_EPSV" "ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" "
4320 #include \"curl/curl.h\"
4322 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4323 if test "x$ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" = xyes
4324 then :
4325 ac_have_decl=1
4326 else $as_nop
4327 ac_have_decl=0
4329 printf "%s\n" "#define HAVE_DECL_CURLOPT_FTP_USE_EPSV $ac_have_decl" >>confdefs.h
4330 ac_fn_check_decl "$LINENO" "CURLOPT_SSLCERTTYPE" "ac_cv_have_decl_CURLOPT_SSLCERTTYPE" "
4331 #include \"curl/curl.h\"
4333 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4334 if test "x$ac_cv_have_decl_CURLOPT_SSLCERTTYPE" = xyes
4335 then :
4336 ac_have_decl=1
4337 else $as_nop
4338 ac_have_decl=0
4340 printf "%s\n" "#define HAVE_DECL_CURLOPT_SSLCERTTYPE $ac_have_decl" >>confdefs.h
4341 ac_fn_check_decl "$LINENO" "CURLOPT_SSLKEY" "ac_cv_have_decl_CURLOPT_SSLKEY" "
4342 #include \"curl/curl.h\"
4344 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4345 if test "x$ac_cv_have_decl_CURLOPT_SSLKEY" = xyes
4346 then :
4347 ac_have_decl=1
4348 else $as_nop
4349 ac_have_decl=0
4351 printf "%s\n" "#define HAVE_DECL_CURLOPT_SSLKEY $ac_have_decl" >>confdefs.h
4352 ac_fn_check_decl "$LINENO" "CURLOPT_SSLKEYTYPE" "ac_cv_have_decl_CURLOPT_SSLKEYTYPE" "
4353 #include \"curl/curl.h\"
4355 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4356 if test "x$ac_cv_have_decl_CURLOPT_SSLKEYTYPE" = xyes
4357 then :
4358 ac_have_decl=1
4359 else $as_nop
4360 ac_have_decl=0
4362 printf "%s\n" "#define HAVE_DECL_CURLOPT_SSLKEYTYPE $ac_have_decl" >>confdefs.h
4363 ac_fn_check_decl "$LINENO" "CURLOPT_SSLENGINE" "ac_cv_have_decl_CURLOPT_SSLENGINE" "
4364 #include \"curl/curl.h\"
4366 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4367 if test "x$ac_cv_have_decl_CURLOPT_SSLENGINE" = xyes
4368 then :
4369 ac_have_decl=1
4370 else $as_nop
4371 ac_have_decl=0
4373 printf "%s\n" "#define HAVE_DECL_CURLOPT_SSLENGINE $ac_have_decl" >>confdefs.h
4374 ac_fn_check_decl "$LINENO" "CURLOPT_SSLENGINE_DEFAULT" "ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" "
4375 #include \"curl/curl.h\"
4377 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4378 if test "x$ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" = xyes
4379 then :
4380 ac_have_decl=1
4381 else $as_nop
4382 ac_have_decl=0
4384 printf "%s\n" "#define HAVE_DECL_CURLOPT_SSLENGINE_DEFAULT $ac_have_decl" >>confdefs.h
4385 ac_fn_check_decl "$LINENO" "CURLOPT_DNS_USE_GLOBAL_CACHE" "ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" "
4386 #include \"curl/curl.h\"
4388 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4389 if test "x$ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" = xyes
4390 then :
4391 ac_have_decl=1
4392 else $as_nop
4393 ac_have_decl=0
4395 printf "%s\n" "#define HAVE_DECL_CURLOPT_DNS_USE_GLOBAL_CACHE $ac_have_decl" >>confdefs.h
4396 ac_fn_check_decl "$LINENO" "CURLOPT_DNS_CACHE_TIMEOUT" "ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" "
4397 #include \"curl/curl.h\"
4399 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4400 if test "x$ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" = xyes
4401 then :
4402 ac_have_decl=1
4403 else $as_nop
4404 ac_have_decl=0
4406 printf "%s\n" "#define HAVE_DECL_CURLOPT_DNS_CACHE_TIMEOUT $ac_have_decl" >>confdefs.h
4407 ac_fn_check_decl "$LINENO" "CURLOPT_PREQUOTE" "ac_cv_have_decl_CURLOPT_PREQUOTE" "
4408 #include \"curl/curl.h\"
4410 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4411 if test "x$ac_cv_have_decl_CURLOPT_PREQUOTE" = xyes
4412 then :
4413 ac_have_decl=1
4414 else $as_nop
4415 ac_have_decl=0
4417 printf "%s\n" "#define HAVE_DECL_CURLOPT_PREQUOTE $ac_have_decl" >>confdefs.h
4418 ac_fn_check_decl "$LINENO" "CURLOPT_DEBUGFUNCTION" "ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" "
4419 #include \"curl/curl.h\"
4421 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4422 if test "x$ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" = xyes
4423 then :
4424 ac_have_decl=1
4425 else $as_nop
4426 ac_have_decl=0
4428 printf "%s\n" "#define HAVE_DECL_CURLOPT_DEBUGFUNCTION $ac_have_decl" >>confdefs.h
4429 ac_fn_check_decl "$LINENO" "CURLOPT_DEBUGDATA" "ac_cv_have_decl_CURLOPT_DEBUGDATA" "
4430 #include \"curl/curl.h\"
4432 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4433 if test "x$ac_cv_have_decl_CURLOPT_DEBUGDATA" = xyes
4434 then :
4435 ac_have_decl=1
4436 else $as_nop
4437 ac_have_decl=0
4439 printf "%s\n" "#define HAVE_DECL_CURLOPT_DEBUGDATA $ac_have_decl" >>confdefs.h
4440 ac_fn_check_decl "$LINENO" "CURLOPT_COOKIESESSION" "ac_cv_have_decl_CURLOPT_COOKIESESSION" "
4441 #include \"curl/curl.h\"
4443 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4444 if test "x$ac_cv_have_decl_CURLOPT_COOKIESESSION" = xyes
4445 then :
4446 ac_have_decl=1
4447 else $as_nop
4448 ac_have_decl=0
4450 printf "%s\n" "#define HAVE_DECL_CURLOPT_COOKIESESSION $ac_have_decl" >>confdefs.h
4451 ac_fn_check_decl "$LINENO" "CURLOPT_CAPATH" "ac_cv_have_decl_CURLOPT_CAPATH" "
4452 #include \"curl/curl.h\"
4454 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4455 if test "x$ac_cv_have_decl_CURLOPT_CAPATH" = xyes
4456 then :
4457 ac_have_decl=1
4458 else $as_nop
4459 ac_have_decl=0
4461 printf "%s\n" "#define HAVE_DECL_CURLOPT_CAPATH $ac_have_decl" >>confdefs.h
4462 ac_fn_check_decl "$LINENO" "CURLOPT_BUFFERSIZE" "ac_cv_have_decl_CURLOPT_BUFFERSIZE" "
4463 #include \"curl/curl.h\"
4465 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4466 if test "x$ac_cv_have_decl_CURLOPT_BUFFERSIZE" = xyes
4467 then :
4468 ac_have_decl=1
4469 else $as_nop
4470 ac_have_decl=0
4472 printf "%s\n" "#define HAVE_DECL_CURLOPT_BUFFERSIZE $ac_have_decl" >>confdefs.h
4473 ac_fn_check_decl "$LINENO" "CURLOPT_NOSIGNAL" "ac_cv_have_decl_CURLOPT_NOSIGNAL" "
4474 #include \"curl/curl.h\"
4476 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4477 if test "x$ac_cv_have_decl_CURLOPT_NOSIGNAL" = xyes
4478 then :
4479 ac_have_decl=1
4480 else $as_nop
4481 ac_have_decl=0
4483 printf "%s\n" "#define HAVE_DECL_CURLOPT_NOSIGNAL $ac_have_decl" >>confdefs.h
4484 ac_fn_check_decl "$LINENO" "CURLOPT_SHARE" "ac_cv_have_decl_CURLOPT_SHARE" "
4485 #include \"curl/curl.h\"
4487 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4488 if test "x$ac_cv_have_decl_CURLOPT_SHARE" = xyes
4489 then :
4490 ac_have_decl=1
4491 else $as_nop
4492 ac_have_decl=0
4494 printf "%s\n" "#define HAVE_DECL_CURLOPT_SHARE $ac_have_decl" >>confdefs.h
4495 ac_fn_check_decl "$LINENO" "CURLOPT_PROXYTYPE" "ac_cv_have_decl_CURLOPT_PROXYTYPE" "
4496 #include \"curl/curl.h\"
4498 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4499 if test "x$ac_cv_have_decl_CURLOPT_PROXYTYPE" = xyes
4500 then :
4501 ac_have_decl=1
4502 else $as_nop
4503 ac_have_decl=0
4505 printf "%s\n" "#define HAVE_DECL_CURLOPT_PROXYTYPE $ac_have_decl" >>confdefs.h
4506 ac_fn_check_decl "$LINENO" "CURLOPT_ENCODING" "ac_cv_have_decl_CURLOPT_ENCODING" "
4507 #include \"curl/curl.h\"
4509 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4510 if test "x$ac_cv_have_decl_CURLOPT_ENCODING" = xyes
4511 then :
4512 ac_have_decl=1
4513 else $as_nop
4514 ac_have_decl=0
4516 printf "%s\n" "#define HAVE_DECL_CURLOPT_ENCODING $ac_have_decl" >>confdefs.h
4517 ac_fn_check_decl "$LINENO" "CURLOPT_HTTP200ALIASES" "ac_cv_have_decl_CURLOPT_HTTP200ALIASES" "
4518 #include \"curl/curl.h\"
4520 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4521 if test "x$ac_cv_have_decl_CURLOPT_HTTP200ALIASES" = xyes
4522 then :
4523 ac_have_decl=1
4524 else $as_nop
4525 ac_have_decl=0
4527 printf "%s\n" "#define HAVE_DECL_CURLOPT_HTTP200ALIASES $ac_have_decl" >>confdefs.h
4528 ac_fn_check_decl "$LINENO" "CURLOPT_UNRESTRICTED_AUTH" "ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" "
4529 #include \"curl/curl.h\"
4531 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4532 if test "x$ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" = xyes
4533 then :
4534 ac_have_decl=1
4535 else $as_nop
4536 ac_have_decl=0
4538 printf "%s\n" "#define HAVE_DECL_CURLOPT_UNRESTRICTED_AUTH $ac_have_decl" >>confdefs.h
4539 ac_fn_check_decl "$LINENO" "CURLOPT_FTP_USE_EPRT" "ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" "
4540 #include \"curl/curl.h\"
4542 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4543 if test "x$ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" = xyes
4544 then :
4545 ac_have_decl=1
4546 else $as_nop
4547 ac_have_decl=0
4549 printf "%s\n" "#define HAVE_DECL_CURLOPT_FTP_USE_EPRT $ac_have_decl" >>confdefs.h
4550 ac_fn_check_decl "$LINENO" "CURLOPT_HTTPAUTH" "ac_cv_have_decl_CURLOPT_HTTPAUTH" "
4551 #include \"curl/curl.h\"
4553 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4554 if test "x$ac_cv_have_decl_CURLOPT_HTTPAUTH" = xyes
4555 then :
4556 ac_have_decl=1
4557 else $as_nop
4558 ac_have_decl=0
4560 printf "%s\n" "#define HAVE_DECL_CURLOPT_HTTPAUTH $ac_have_decl" >>confdefs.h
4561 ac_fn_check_decl "$LINENO" "CURLOPT_FTP_CREATE_MISSING_DIRS" "ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" "
4562 #include \"curl/curl.h\"
4564 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4565 if test "x$ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" = xyes
4566 then :
4567 ac_have_decl=1
4568 else $as_nop
4569 ac_have_decl=0
4571 printf "%s\n" "#define HAVE_DECL_CURLOPT_FTP_CREATE_MISSING_DIRS $ac_have_decl" >>confdefs.h
4572 ac_fn_check_decl "$LINENO" "CURLOPT_PROXYAUTH" "ac_cv_have_decl_CURLOPT_PROXYAUTH" "
4573 #include \"curl/curl.h\"
4575 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4576 if test "x$ac_cv_have_decl_CURLOPT_PROXYAUTH" = xyes
4577 then :
4578 ac_have_decl=1
4579 else $as_nop
4580 ac_have_decl=0
4582 printf "%s\n" "#define HAVE_DECL_CURLOPT_PROXYAUTH $ac_have_decl" >>confdefs.h
4583 ac_fn_check_decl "$LINENO" "CURLOPT_FTP_RESPONSE_TIMEOUT" "ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" "
4584 #include \"curl/curl.h\"
4586 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4587 if test "x$ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" = xyes
4588 then :
4589 ac_have_decl=1
4590 else $as_nop
4591 ac_have_decl=0
4593 printf "%s\n" "#define HAVE_DECL_CURLOPT_FTP_RESPONSE_TIMEOUT $ac_have_decl" >>confdefs.h
4594 ac_fn_check_decl "$LINENO" "CURLOPT_IPRESOLVE" "ac_cv_have_decl_CURLOPT_IPRESOLVE" "
4595 #include \"curl/curl.h\"
4597 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4598 if test "x$ac_cv_have_decl_CURLOPT_IPRESOLVE" = xyes
4599 then :
4600 ac_have_decl=1
4601 else $as_nop
4602 ac_have_decl=0
4604 printf "%s\n" "#define HAVE_DECL_CURLOPT_IPRESOLVE $ac_have_decl" >>confdefs.h
4605 ac_fn_check_decl "$LINENO" "CURLOPT_MAXFILESIZE" "ac_cv_have_decl_CURLOPT_MAXFILESIZE" "
4606 #include \"curl/curl.h\"
4608 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4609 if test "x$ac_cv_have_decl_CURLOPT_MAXFILESIZE" = xyes
4610 then :
4611 ac_have_decl=1
4612 else $as_nop
4613 ac_have_decl=0
4615 printf "%s\n" "#define HAVE_DECL_CURLOPT_MAXFILESIZE $ac_have_decl" >>confdefs.h
4616 ac_fn_check_decl "$LINENO" "CURLOPT_INFILESIZE_LARGE" "ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" "
4617 #include \"curl/curl.h\"
4619 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4620 if test "x$ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" = xyes
4621 then :
4622 ac_have_decl=1
4623 else $as_nop
4624 ac_have_decl=0
4626 printf "%s\n" "#define HAVE_DECL_CURLOPT_INFILESIZE_LARGE $ac_have_decl" >>confdefs.h
4627 ac_fn_check_decl "$LINENO" "CURLOPT_RESUME_FROM_LARGE" "ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE" "
4628 #include \"curl/curl.h\"
4630 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4631 if test "x$ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE" = xyes
4632 then :
4633 ac_have_decl=1
4634 else $as_nop
4635 ac_have_decl=0
4637 printf "%s\n" "#define HAVE_DECL_CURLOPT_RESUME_FROM_LARGE $ac_have_decl" >>confdefs.h
4638 ac_fn_check_decl "$LINENO" "CURLOPT_MAXFILESIZE_LARGE" "ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE" "
4639 #include \"curl/curl.h\"
4641 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4642 if test "x$ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE" = xyes
4643 then :
4644 ac_have_decl=1
4645 else $as_nop
4646 ac_have_decl=0
4648 printf "%s\n" "#define HAVE_DECL_CURLOPT_MAXFILESIZE_LARGE $ac_have_decl" >>confdefs.h
4649 ac_fn_check_decl "$LINENO" "CURLOPT_NETRC_FILE" "ac_cv_have_decl_CURLOPT_NETRC_FILE" "
4650 #include \"curl/curl.h\"
4652 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4653 if test "x$ac_cv_have_decl_CURLOPT_NETRC_FILE" = xyes
4654 then :
4655 ac_have_decl=1
4656 else $as_nop
4657 ac_have_decl=0
4659 printf "%s\n" "#define HAVE_DECL_CURLOPT_NETRC_FILE $ac_have_decl" >>confdefs.h
4660 ac_fn_check_decl "$LINENO" "CURLOPT_FTP_SSL" "ac_cv_have_decl_CURLOPT_FTP_SSL" "
4661 #include \"curl/curl.h\"
4663 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4664 if test "x$ac_cv_have_decl_CURLOPT_FTP_SSL" = xyes
4665 then :
4666 ac_have_decl=1
4667 else $as_nop
4668 ac_have_decl=0
4670 printf "%s\n" "#define HAVE_DECL_CURLOPT_FTP_SSL $ac_have_decl" >>confdefs.h
4671 ac_fn_check_decl "$LINENO" "CURLOPT_POSTFIELDSIZE_LARGE" "ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" "
4672 #include \"curl/curl.h\"
4674 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4675 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" = xyes
4676 then :
4677 ac_have_decl=1
4678 else $as_nop
4679 ac_have_decl=0
4681 printf "%s\n" "#define HAVE_DECL_CURLOPT_POSTFIELDSIZE_LARGE $ac_have_decl" >>confdefs.h
4682 ac_fn_check_decl "$LINENO" "CURLOPT_TCP_NODELAY" "ac_cv_have_decl_CURLOPT_TCP_NODELAY" "
4683 #include \"curl/curl.h\"
4685 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4686 if test "x$ac_cv_have_decl_CURLOPT_TCP_NODELAY" = xyes
4687 then :
4688 ac_have_decl=1
4689 else $as_nop
4690 ac_have_decl=0
4692 printf "%s\n" "#define HAVE_DECL_CURLOPT_TCP_NODELAY $ac_have_decl" >>confdefs.h
4693 ac_fn_check_decl "$LINENO" "CURLOPT_FTPSSLAUTH" "ac_cv_have_decl_CURLOPT_FTPSSLAUTH" "
4694 #include \"curl/curl.h\"
4696 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4697 if test "x$ac_cv_have_decl_CURLOPT_FTPSSLAUTH" = xyes
4698 then :
4699 ac_have_decl=1
4700 else $as_nop
4701 ac_have_decl=0
4703 printf "%s\n" "#define HAVE_DECL_CURLOPT_FTPSSLAUTH $ac_have_decl" >>confdefs.h
4704 ac_fn_check_decl "$LINENO" "CURLOPT_IOCTLFUNCTION" "ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" "
4705 #include \"curl/curl.h\"
4707 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4708 if test "x$ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" = xyes
4709 then :
4710 ac_have_decl=1
4711 else $as_nop
4712 ac_have_decl=0
4714 printf "%s\n" "#define HAVE_DECL_CURLOPT_IOCTLFUNCTION $ac_have_decl" >>confdefs.h
4715 ac_fn_check_decl "$LINENO" "CURLOPT_FTP_ACCOUNT" "ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" "
4716 #include \"curl/curl.h\"
4718 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4719 if test "x$ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" = xyes
4720 then :
4721 ac_have_decl=1
4722 else $as_nop
4723 ac_have_decl=0
4725 printf "%s\n" "#define HAVE_DECL_CURLOPT_FTP_ACCOUNT $ac_have_decl" >>confdefs.h
4726 ac_fn_check_decl "$LINENO" "CURLOPT_COOKIELIST" "ac_cv_have_decl_CURLOPT_COOKIELIST" "
4727 #include \"curl/curl.h\"
4729 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4730 if test "x$ac_cv_have_decl_CURLOPT_COOKIELIST" = xyes
4731 then :
4732 ac_have_decl=1
4733 else $as_nop
4734 ac_have_decl=0
4736 printf "%s\n" "#define HAVE_DECL_CURLOPT_COOKIELIST $ac_have_decl" >>confdefs.h
4737 ac_fn_check_decl "$LINENO" "CURLOPT_IGNORE_CONTENT_LENGTH" "ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" "
4738 #include \"curl/curl.h\"
4740 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4741 if test "x$ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" = xyes
4742 then :
4743 ac_have_decl=1
4744 else $as_nop
4745 ac_have_decl=0
4747 printf "%s\n" "#define HAVE_DECL_CURLOPT_IGNORE_CONTENT_LENGTH $ac_have_decl" >>confdefs.h
4748 ac_fn_check_decl "$LINENO" "CURLOPT_FTP_SKIP_PASV_IP" "ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" "
4749 #include \"curl/curl.h\"
4751 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4752 if test "x$ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" = xyes
4753 then :
4754 ac_have_decl=1
4755 else $as_nop
4756 ac_have_decl=0
4758 printf "%s\n" "#define HAVE_DECL_CURLOPT_FTP_SKIP_PASV_IP $ac_have_decl" >>confdefs.h
4759 ac_fn_check_decl "$LINENO" "CURLOPT_FTP_FILEMETHOD" "ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" "
4760 #include \"curl/curl.h\"
4762 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4763 if test "x$ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" = xyes
4764 then :
4765 ac_have_decl=1
4766 else $as_nop
4767 ac_have_decl=0
4769 printf "%s\n" "#define HAVE_DECL_CURLOPT_FTP_FILEMETHOD $ac_have_decl" >>confdefs.h
4770 ac_fn_check_decl "$LINENO" "CURLOPT_LOCALPORT" "ac_cv_have_decl_CURLOPT_LOCALPORT" "
4771 #include \"curl/curl.h\"
4773 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4774 if test "x$ac_cv_have_decl_CURLOPT_LOCALPORT" = xyes
4775 then :
4776 ac_have_decl=1
4777 else $as_nop
4778 ac_have_decl=0
4780 printf "%s\n" "#define HAVE_DECL_CURLOPT_LOCALPORT $ac_have_decl" >>confdefs.h
4781 ac_fn_check_decl "$LINENO" "CURLOPT_LOCALPORTRANGE" "ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" "
4782 #include \"curl/curl.h\"
4784 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4785 if test "x$ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" = xyes
4786 then :
4787 ac_have_decl=1
4788 else $as_nop
4789 ac_have_decl=0
4791 printf "%s\n" "#define HAVE_DECL_CURLOPT_LOCALPORTRANGE $ac_have_decl" >>confdefs.h
4792 ac_fn_check_decl "$LINENO" "CURLOPT_CONNECT_ONLY" "ac_cv_have_decl_CURLOPT_CONNECT_ONLY" "
4793 #include \"curl/curl.h\"
4795 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4796 if test "x$ac_cv_have_decl_CURLOPT_CONNECT_ONLY" = xyes
4797 then :
4798 ac_have_decl=1
4799 else $as_nop
4800 ac_have_decl=0
4802 printf "%s\n" "#define HAVE_DECL_CURLOPT_CONNECT_ONLY $ac_have_decl" >>confdefs.h
4803 ac_fn_check_decl "$LINENO" "CURLOPT_MAX_SEND_SPEED_LARGE" "ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" "
4804 #include \"curl/curl.h\"
4806 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4807 if test "x$ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" = xyes
4808 then :
4809 ac_have_decl=1
4810 else $as_nop
4811 ac_have_decl=0
4813 printf "%s\n" "#define HAVE_DECL_CURLOPT_MAX_SEND_SPEED_LARGE $ac_have_decl" >>confdefs.h
4814 ac_fn_check_decl "$LINENO" "CURLOPT_MAX_RECV_SPEED_LARGE" "ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE" "
4815 #include \"curl/curl.h\"
4817 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4818 if test "x$ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE" = xyes
4819 then :
4820 ac_have_decl=1
4821 else $as_nop
4822 ac_have_decl=0
4824 printf "%s\n" "#define HAVE_DECL_CURLOPT_MAX_RECV_SPEED_LARGE $ac_have_decl" >>confdefs.h
4825 ac_fn_check_decl "$LINENO" "CURLOPT_FTP_ALTERNATIVE_TO_USER" "ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" "
4826 #include \"curl/curl.h\"
4828 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4829 if test "x$ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" = xyes
4830 then :
4831 ac_have_decl=1
4832 else $as_nop
4833 ac_have_decl=0
4835 printf "%s\n" "#define HAVE_DECL_CURLOPT_FTP_ALTERNATIVE_TO_USER $ac_have_decl" >>confdefs.h
4836 ac_fn_check_decl "$LINENO" "CURLOPT_SSL_SESSIONID_CACHE" "ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" "
4837 #include \"curl/curl.h\"
4839 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4840 if test "x$ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" = xyes
4841 then :
4842 ac_have_decl=1
4843 else $as_nop
4844 ac_have_decl=0
4846 printf "%s\n" "#define HAVE_DECL_CURLOPT_SSL_SESSIONID_CACHE $ac_have_decl" >>confdefs.h
4847 ac_fn_check_decl "$LINENO" "CURLOPT_SSH_AUTH_TYPES" "ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" "
4848 #include \"curl/curl.h\"
4850 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4851 if test "x$ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" = xyes
4852 then :
4853 ac_have_decl=1
4854 else $as_nop
4855 ac_have_decl=0
4857 printf "%s\n" "#define HAVE_DECL_CURLOPT_SSH_AUTH_TYPES $ac_have_decl" >>confdefs.h
4858 ac_fn_check_decl "$LINENO" "CURLOPT_SSH_PUBLIC_KEYFILE" "ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" "
4859 #include \"curl/curl.h\"
4861 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4862 if test "x$ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" = xyes
4863 then :
4864 ac_have_decl=1
4865 else $as_nop
4866 ac_have_decl=0
4868 printf "%s\n" "#define HAVE_DECL_CURLOPT_SSH_PUBLIC_KEYFILE $ac_have_decl" >>confdefs.h
4869 ac_fn_check_decl "$LINENO" "CURLOPT_SSH_PRIVATE_KEYFILE" "ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE" "
4870 #include \"curl/curl.h\"
4872 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4873 if test "x$ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE" = xyes
4874 then :
4875 ac_have_decl=1
4876 else $as_nop
4877 ac_have_decl=0
4879 printf "%s\n" "#define HAVE_DECL_CURLOPT_SSH_PRIVATE_KEYFILE $ac_have_decl" >>confdefs.h
4880 ac_fn_check_decl "$LINENO" "CURLOPT_FTP_SSL_CCC" "ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" "
4881 #include \"curl/curl.h\"
4883 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4884 if test "x$ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" = xyes
4885 then :
4886 ac_have_decl=1
4887 else $as_nop
4888 ac_have_decl=0
4890 printf "%s\n" "#define HAVE_DECL_CURLOPT_FTP_SSL_CCC $ac_have_decl" >>confdefs.h
4891 ac_fn_check_decl "$LINENO" "CURLOPT_TIMEOUT_MS" "ac_cv_have_decl_CURLOPT_TIMEOUT_MS" "
4892 #include \"curl/curl.h\"
4894 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4895 if test "x$ac_cv_have_decl_CURLOPT_TIMEOUT_MS" = xyes
4896 then :
4897 ac_have_decl=1
4898 else $as_nop
4899 ac_have_decl=0
4901 printf "%s\n" "#define HAVE_DECL_CURLOPT_TIMEOUT_MS $ac_have_decl" >>confdefs.h
4902 ac_fn_check_decl "$LINENO" "CURLOPT_CONNECTTIMEOUT_MS" "ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS" "
4903 #include \"curl/curl.h\"
4905 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4906 if test "x$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS" = xyes
4907 then :
4908 ac_have_decl=1
4909 else $as_nop
4910 ac_have_decl=0
4912 printf "%s\n" "#define HAVE_DECL_CURLOPT_CONNECTTIMEOUT_MS $ac_have_decl" >>confdefs.h
4913 ac_fn_check_decl "$LINENO" "CURLOPT_HTTP_TRANSFER_DECODING" "ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" "
4914 #include \"curl/curl.h\"
4916 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4917 if test "x$ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" = xyes
4918 then :
4919 ac_have_decl=1
4920 else $as_nop
4921 ac_have_decl=0
4923 printf "%s\n" "#define HAVE_DECL_CURLOPT_HTTP_TRANSFER_DECODING $ac_have_decl" >>confdefs.h
4924 ac_fn_check_decl "$LINENO" "CURLOPT_HTTP_CONTENT_DECODING" "ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING" "
4925 #include \"curl/curl.h\"
4927 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4928 if test "x$ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING" = xyes
4929 then :
4930 ac_have_decl=1
4931 else $as_nop
4932 ac_have_decl=0
4934 printf "%s\n" "#define HAVE_DECL_CURLOPT_HTTP_CONTENT_DECODING $ac_have_decl" >>confdefs.h
4935 ac_fn_check_decl "$LINENO" "CURLOPT_NEW_FILE_PERMS" "ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" "
4936 #include \"curl/curl.h\"
4938 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4939 if test "x$ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" = xyes
4940 then :
4941 ac_have_decl=1
4942 else $as_nop
4943 ac_have_decl=0
4945 printf "%s\n" "#define HAVE_DECL_CURLOPT_NEW_FILE_PERMS $ac_have_decl" >>confdefs.h
4946 ac_fn_check_decl "$LINENO" "CURLOPT_NEW_DIRECTORY_PERMS" "ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS" "
4947 #include \"curl/curl.h\"
4949 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4950 if test "x$ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS" = xyes
4951 then :
4952 ac_have_decl=1
4953 else $as_nop
4954 ac_have_decl=0
4956 printf "%s\n" "#define HAVE_DECL_CURLOPT_NEW_DIRECTORY_PERMS $ac_have_decl" >>confdefs.h
4957 ac_fn_check_decl "$LINENO" "CURLOPT_POST301" "ac_cv_have_decl_CURLOPT_POST301" "
4958 #include \"curl/curl.h\"
4960 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4961 if test "x$ac_cv_have_decl_CURLOPT_POST301" = xyes
4962 then :
4963 ac_have_decl=1
4964 else $as_nop
4965 ac_have_decl=0
4967 printf "%s\n" "#define HAVE_DECL_CURLOPT_POST301 $ac_have_decl" >>confdefs.h
4968 ac_fn_check_decl "$LINENO" "CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" "ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" "
4969 #include \"curl/curl.h\"
4971 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4972 if test "x$ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" = xyes
4973 then :
4974 ac_have_decl=1
4975 else $as_nop
4976 ac_have_decl=0
4978 printf "%s\n" "#define HAVE_DECL_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 $ac_have_decl" >>confdefs.h
4979 ac_fn_check_decl "$LINENO" "CURLOPT_COPYPOSTFIELDS" "ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" "
4980 #include \"curl/curl.h\"
4982 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4983 if test "x$ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" = xyes
4984 then :
4985 ac_have_decl=1
4986 else $as_nop
4987 ac_have_decl=0
4989 printf "%s\n" "#define HAVE_DECL_CURLOPT_COPYPOSTFIELDS $ac_have_decl" >>confdefs.h
4990 ac_fn_check_decl "$LINENO" "CURLOPT_PROXY_TRANSFER_MODE" "ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" "
4991 #include \"curl/curl.h\"
4993 " "$ac_c_undeclared_builtin_options" "CFLAGS"
4994 if test "x$ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" = xyes
4995 then :
4996 ac_have_decl=1
4997 else $as_nop
4998 ac_have_decl=0
5000 printf "%s\n" "#define HAVE_DECL_CURLOPT_PROXY_TRANSFER_MODE $ac_have_decl" >>confdefs.h
5001 ac_fn_check_decl "$LINENO" "CURLOPT_SEEKFUNCTION" "ac_cv_have_decl_CURLOPT_SEEKFUNCTION" "
5002 #include \"curl/curl.h\"
5004 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5005 if test "x$ac_cv_have_decl_CURLOPT_SEEKFUNCTION" = xyes
5006 then :
5007 ac_have_decl=1
5008 else $as_nop
5009 ac_have_decl=0
5011 printf "%s\n" "#define HAVE_DECL_CURLOPT_SEEKFUNCTION $ac_have_decl" >>confdefs.h
5012 ac_fn_check_decl "$LINENO" "CURLOPT_PROTOCOLS" "ac_cv_have_decl_CURLOPT_PROTOCOLS" "
5013 #include \"curl/curl.h\"
5015 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5016 if test "x$ac_cv_have_decl_CURLOPT_PROTOCOLS" = xyes
5017 then :
5018 ac_have_decl=1
5019 else $as_nop
5020 ac_have_decl=0
5022 printf "%s\n" "#define HAVE_DECL_CURLOPT_PROTOCOLS $ac_have_decl" >>confdefs.h
5023 ac_fn_check_decl "$LINENO" "CURLOPT_REDIR_PROTOCOLS" "ac_cv_have_decl_CURLOPT_REDIR_PROTOCOLS" "
5024 #include \"curl/curl.h\"
5026 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5027 if test "x$ac_cv_have_decl_CURLOPT_REDIR_PROTOCOLS" = xyes
5028 then :
5029 ac_have_decl=1
5030 else $as_nop
5031 ac_have_decl=0
5033 printf "%s\n" "#define HAVE_DECL_CURLOPT_REDIR_PROTOCOLS $ac_have_decl" >>confdefs.h
5034 ac_fn_check_decl "$LINENO" "CURLOPT_RESOLVE" "ac_cv_have_decl_CURLOPT_RESOLVE" "
5035 #include \"curl/curl.h\"
5037 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5038 if test "x$ac_cv_have_decl_CURLOPT_RESOLVE" = xyes
5039 then :
5040 ac_have_decl=1
5041 else $as_nop
5042 ac_have_decl=0
5044 printf "%s\n" "#define HAVE_DECL_CURLOPT_RESOLVE $ac_have_decl" >>confdefs.h
5045 ac_fn_check_decl "$LINENO" "CURLOPT_DNS_SERVERS" "ac_cv_have_decl_CURLOPT_DNS_SERVERS" "
5046 #include \"curl/curl.h\"
5048 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5049 if test "x$ac_cv_have_decl_CURLOPT_DNS_SERVERS" = xyes
5050 then :
5051 ac_have_decl=1
5052 else $as_nop
5053 ac_have_decl=0
5055 printf "%s\n" "#define HAVE_DECL_CURLOPT_DNS_SERVERS $ac_have_decl" >>confdefs.h
5056 ac_fn_check_decl "$LINENO" "CURLOPT_MAIL_FROM" "ac_cv_have_decl_CURLOPT_MAIL_FROM" "
5057 #include \"curl/curl.h\"
5059 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5060 if test "x$ac_cv_have_decl_CURLOPT_MAIL_FROM" = xyes
5061 then :
5062 ac_have_decl=1
5063 else $as_nop
5064 ac_have_decl=0
5066 printf "%s\n" "#define HAVE_DECL_CURLOPT_MAIL_FROM $ac_have_decl" >>confdefs.h
5067 ac_fn_check_decl "$LINENO" "CURLOPT_MAIL_RCPT" "ac_cv_have_decl_CURLOPT_MAIL_RCPT" "
5068 #include \"curl/curl.h\"
5070 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5071 if test "x$ac_cv_have_decl_CURLOPT_MAIL_RCPT" = xyes
5072 then :
5073 ac_have_decl=1
5074 else $as_nop
5075 ac_have_decl=0
5077 printf "%s\n" "#define HAVE_DECL_CURLOPT_MAIL_RCPT $ac_have_decl" >>confdefs.h
5078 ac_fn_check_decl "$LINENO" "CURLOPT_PIPEWAIT" "ac_cv_have_decl_CURLOPT_PIPEWAIT" "
5079 #include \"curl/curl.h\"
5081 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5082 if test "x$ac_cv_have_decl_CURLOPT_PIPEWAIT" = xyes
5083 then :
5084 ac_have_decl=1
5085 else $as_nop
5086 ac_have_decl=0
5088 printf "%s\n" "#define HAVE_DECL_CURLOPT_PIPEWAIT $ac_have_decl" >>confdefs.h
5089 ac_fn_check_decl "$LINENO" "CURLOPT_CERTINFO" "ac_cv_have_decl_CURLOPT_CERTINFO" "
5090 #include \"curl/curl.h\"
5092 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5093 if test "x$ac_cv_have_decl_CURLOPT_CERTINFO" = xyes
5094 then :
5095 ac_have_decl=1
5096 else $as_nop
5097 ac_have_decl=0
5099 printf "%s\n" "#define HAVE_DECL_CURLOPT_CERTINFO $ac_have_decl" >>confdefs.h
5100 ac_fn_check_decl "$LINENO" "CURLOPT_USERNAME" "ac_cv_have_decl_CURLOPT_USERNAME" "
5101 #include \"curl/curl.h\"
5103 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5104 if test "x$ac_cv_have_decl_CURLOPT_USERNAME" = xyes
5105 then :
5106 ac_have_decl=1
5107 else $as_nop
5108 ac_have_decl=0
5110 printf "%s\n" "#define HAVE_DECL_CURLOPT_USERNAME $ac_have_decl" >>confdefs.h
5111 ac_fn_check_decl "$LINENO" "CURLOPT_PASSWORD" "ac_cv_have_decl_CURLOPT_PASSWORD" "
5112 #include \"curl/curl.h\"
5114 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5115 if test "x$ac_cv_have_decl_CURLOPT_PASSWORD" = xyes
5116 then :
5117 ac_have_decl=1
5118 else $as_nop
5119 ac_have_decl=0
5121 printf "%s\n" "#define HAVE_DECL_CURLOPT_PASSWORD $ac_have_decl" >>confdefs.h
5122 ac_fn_check_decl "$LINENO" "CURLOPT_LOGIN_OPTIONS" "ac_cv_have_decl_CURLOPT_LOGIN_OPTIONS" "
5123 #include \"curl/curl.h\"
5125 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5126 if test "x$ac_cv_have_decl_CURLOPT_LOGIN_OPTIONS" = xyes
5127 then :
5128 ac_have_decl=1
5129 else $as_nop
5130 ac_have_decl=0
5132 printf "%s\n" "#define HAVE_DECL_CURLOPT_LOGIN_OPTIONS $ac_have_decl" >>confdefs.h
5133 ac_fn_check_decl "$LINENO" "CURLOPT_CONNECT_TO" "ac_cv_have_decl_CURLOPT_CONNECT_TO" "
5134 #include \"curl/curl.h\"
5136 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5137 if test "x$ac_cv_have_decl_CURLOPT_CONNECT_TO" = xyes
5138 then :
5139 ac_have_decl=1
5140 else $as_nop
5141 ac_have_decl=0
5143 printf "%s\n" "#define HAVE_DECL_CURLOPT_CONNECT_TO $ac_have_decl" >>confdefs.h
5144 ac_fn_check_decl "$LINENO" "CURLOPT_POSTREDIR" "ac_cv_have_decl_CURLOPT_POSTREDIR" "
5145 #include \"curl/curl.h\"
5147 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5148 if test "x$ac_cv_have_decl_CURLOPT_POSTREDIR" = xyes
5149 then :
5150 ac_have_decl=1
5151 else $as_nop
5152 ac_have_decl=0
5154 printf "%s\n" "#define HAVE_DECL_CURLOPT_POSTREDIR $ac_have_decl" >>confdefs.h
5155 ac_fn_check_decl "$LINENO" "CURLOPT_MIMEPOST" "ac_cv_have_decl_CURLOPT_MIMEPOST" "
5156 #include \"curl/curl.h\"
5158 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5159 if test "x$ac_cv_have_decl_CURLOPT_MIMEPOST" = xyes
5160 then :
5161 ac_have_decl=1
5162 else $as_nop
5163 ac_have_decl=0
5165 printf "%s\n" "#define HAVE_DECL_CURLOPT_MIMEPOST $ac_have_decl" >>confdefs.h
5166 ac_fn_check_decl "$LINENO" "CURLOPT_BUFFERSIZE" "ac_cv_have_decl_CURLOPT_BUFFERSIZE" "
5167 #include \"curl/curl.h\"
5169 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5170 if test "x$ac_cv_have_decl_CURLOPT_BUFFERSIZE" = xyes
5171 then :
5172 ac_have_decl=1
5173 else $as_nop
5174 ac_have_decl=0
5176 printf "%s\n" "#define HAVE_DECL_CURLOPT_BUFFERSIZE $ac_have_decl" >>confdefs.h
5177 ac_fn_check_decl "$LINENO" "CURLOPT_DOH_URL" "ac_cv_have_decl_CURLOPT_DOH_URL" "
5178 #include \"curl/curl.h\"
5180 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5181 if test "x$ac_cv_have_decl_CURLOPT_DOH_URL" = xyes
5182 then :
5183 ac_have_decl=1
5184 else $as_nop
5185 ac_have_decl=0
5187 printf "%s\n" "#define HAVE_DECL_CURLOPT_DOH_URL $ac_have_decl" >>confdefs.h
5188 ac_fn_check_decl "$LINENO" "CURLOPT_TCP_FASTOPEN" "ac_cv_have_decl_CURLOPT_TCP_FASTOPEN" "
5189 #include \"curl/curl.h\"
5191 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5192 if test "x$ac_cv_have_decl_CURLOPT_TCP_FASTOPEN" = xyes
5193 then :
5194 ac_have_decl=1
5195 else $as_nop
5196 ac_have_decl=0
5198 printf "%s\n" "#define HAVE_DECL_CURLOPT_TCP_FASTOPEN $ac_have_decl" >>confdefs.h
5199 ac_fn_check_decl "$LINENO" "CURLOPT_AWS_SIGV4" "ac_cv_have_decl_CURLOPT_AWS_SIGV4" "
5200 #include \"curl/curl.h\"
5202 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5203 if test "x$ac_cv_have_decl_CURLOPT_AWS_SIGV4" = xyes
5204 then :
5205 ac_have_decl=1
5206 else $as_nop
5207 ac_have_decl=0
5209 printf "%s\n" "#define HAVE_DECL_CURLOPT_AWS_SIGV4 $ac_have_decl" >>confdefs.h
5210 ac_fn_check_decl "$LINENO" "CURLINFO_EFFECTIVE_URL" "ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" "
5211 #include \"curl/curl.h\"
5213 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5214 if test "x$ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" = xyes
5215 then :
5216 ac_have_decl=1
5217 else $as_nop
5218 ac_have_decl=0
5220 printf "%s\n" "#define HAVE_DECL_CURLINFO_EFFECTIVE_URL $ac_have_decl" >>confdefs.h
5221 ac_fn_check_decl "$LINENO" "CURLINFO_RESPONSE_CODE" "ac_cv_have_decl_CURLINFO_RESPONSE_CODE" "
5222 #include \"curl/curl.h\"
5224 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5225 if test "x$ac_cv_have_decl_CURLINFO_RESPONSE_CODE" = xyes
5226 then :
5227 ac_have_decl=1
5228 else $as_nop
5229 ac_have_decl=0
5231 printf "%s\n" "#define HAVE_DECL_CURLINFO_RESPONSE_CODE $ac_have_decl" >>confdefs.h
5232 ac_fn_check_decl "$LINENO" "CURLINFO_TOTAL_TIME" "ac_cv_have_decl_CURLINFO_TOTAL_TIME" "
5233 #include \"curl/curl.h\"
5235 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5236 if test "x$ac_cv_have_decl_CURLINFO_TOTAL_TIME" = xyes
5237 then :
5238 ac_have_decl=1
5239 else $as_nop
5240 ac_have_decl=0
5242 printf "%s\n" "#define HAVE_DECL_CURLINFO_TOTAL_TIME $ac_have_decl" >>confdefs.h
5243 ac_fn_check_decl "$LINENO" "CURLINFO_NAMELOOKUP_TIME" "ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" "
5244 #include \"curl/curl.h\"
5246 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5247 if test "x$ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" = xyes
5248 then :
5249 ac_have_decl=1
5250 else $as_nop
5251 ac_have_decl=0
5253 printf "%s\n" "#define HAVE_DECL_CURLINFO_NAMELOOKUP_TIME $ac_have_decl" >>confdefs.h
5254 ac_fn_check_decl "$LINENO" "CURLINFO_CONNECT_TIME" "ac_cv_have_decl_CURLINFO_CONNECT_TIME" "
5255 #include \"curl/curl.h\"
5257 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5258 if test "x$ac_cv_have_decl_CURLINFO_CONNECT_TIME" = xyes
5259 then :
5260 ac_have_decl=1
5261 else $as_nop
5262 ac_have_decl=0
5264 printf "%s\n" "#define HAVE_DECL_CURLINFO_CONNECT_TIME $ac_have_decl" >>confdefs.h
5265 ac_fn_check_decl "$LINENO" "CURLINFO_PRETRANSFER_TIME" "ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" "
5266 #include \"curl/curl.h\"
5268 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5269 if test "x$ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" = xyes
5270 then :
5271 ac_have_decl=1
5272 else $as_nop
5273 ac_have_decl=0
5275 printf "%s\n" "#define HAVE_DECL_CURLINFO_PRETRANSFER_TIME $ac_have_decl" >>confdefs.h
5276 ac_fn_check_decl "$LINENO" "CURLINFO_SIZE_UPLOAD" "ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" "
5277 #include \"curl/curl.h\"
5279 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5280 if test "x$ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" = xyes
5281 then :
5282 ac_have_decl=1
5283 else $as_nop
5284 ac_have_decl=0
5286 printf "%s\n" "#define HAVE_DECL_CURLINFO_SIZE_UPLOAD $ac_have_decl" >>confdefs.h
5287 ac_fn_check_decl "$LINENO" "CURLINFO_SIZE_DOWNLOAD" "ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" "
5288 #include \"curl/curl.h\"
5290 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5291 if test "x$ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" = xyes
5292 then :
5293 ac_have_decl=1
5294 else $as_nop
5295 ac_have_decl=0
5297 printf "%s\n" "#define HAVE_DECL_CURLINFO_SIZE_DOWNLOAD $ac_have_decl" >>confdefs.h
5298 ac_fn_check_decl "$LINENO" "CURLINFO_SPEED_DOWNLOAD" "ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" "
5299 #include \"curl/curl.h\"
5301 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5302 if test "x$ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" = xyes
5303 then :
5304 ac_have_decl=1
5305 else $as_nop
5306 ac_have_decl=0
5308 printf "%s\n" "#define HAVE_DECL_CURLINFO_SPEED_DOWNLOAD $ac_have_decl" >>confdefs.h
5309 ac_fn_check_decl "$LINENO" "CURLINFO_SPEED_UPLOAD" "ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" "
5310 #include \"curl/curl.h\"
5312 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5313 if test "x$ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" = xyes
5314 then :
5315 ac_have_decl=1
5316 else $as_nop
5317 ac_have_decl=0
5319 printf "%s\n" "#define HAVE_DECL_CURLINFO_SPEED_UPLOAD $ac_have_decl" >>confdefs.h
5320 ac_fn_check_decl "$LINENO" "CURLINFO_HEADER_SIZE" "ac_cv_have_decl_CURLINFO_HEADER_SIZE" "
5321 #include \"curl/curl.h\"
5323 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5324 if test "x$ac_cv_have_decl_CURLINFO_HEADER_SIZE" = xyes
5325 then :
5326 ac_have_decl=1
5327 else $as_nop
5328 ac_have_decl=0
5330 printf "%s\n" "#define HAVE_DECL_CURLINFO_HEADER_SIZE $ac_have_decl" >>confdefs.h
5331 ac_fn_check_decl "$LINENO" "CURLINFO_REQUEST_SIZE" "ac_cv_have_decl_CURLINFO_REQUEST_SIZE" "
5332 #include \"curl/curl.h\"
5334 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5335 if test "x$ac_cv_have_decl_CURLINFO_REQUEST_SIZE" = xyes
5336 then :
5337 ac_have_decl=1
5338 else $as_nop
5339 ac_have_decl=0
5341 printf "%s\n" "#define HAVE_DECL_CURLINFO_REQUEST_SIZE $ac_have_decl" >>confdefs.h
5342 ac_fn_check_decl "$LINENO" "CURLINFO_SSL_VERIFYRESULT" "ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" "
5343 #include \"curl/curl.h\"
5345 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5346 if test "x$ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" = xyes
5347 then :
5348 ac_have_decl=1
5349 else $as_nop
5350 ac_have_decl=0
5352 printf "%s\n" "#define HAVE_DECL_CURLINFO_SSL_VERIFYRESULT $ac_have_decl" >>confdefs.h
5353 ac_fn_check_decl "$LINENO" "CURLINFO_FILETIME" "ac_cv_have_decl_CURLINFO_FILETIME" "
5354 #include \"curl/curl.h\"
5356 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5357 if test "x$ac_cv_have_decl_CURLINFO_FILETIME" = xyes
5358 then :
5359 ac_have_decl=1
5360 else $as_nop
5361 ac_have_decl=0
5363 printf "%s\n" "#define HAVE_DECL_CURLINFO_FILETIME $ac_have_decl" >>confdefs.h
5364 ac_fn_check_decl "$LINENO" "CURLINFO_CONTENT_LENGTH_DOWNLOAD" "ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" "
5365 #include \"curl/curl.h\"
5367 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5368 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" = xyes
5369 then :
5370 ac_have_decl=1
5371 else $as_nop
5372 ac_have_decl=0
5374 printf "%s\n" "#define HAVE_DECL_CURLINFO_CONTENT_LENGTH_DOWNLOAD $ac_have_decl" >>confdefs.h
5375 ac_fn_check_decl "$LINENO" "CURLINFO_CONTENT_LENGTH_UPLOAD" "ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" "
5376 #include \"curl/curl.h\"
5378 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5379 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" = xyes
5380 then :
5381 ac_have_decl=1
5382 else $as_nop
5383 ac_have_decl=0
5385 printf "%s\n" "#define HAVE_DECL_CURLINFO_CONTENT_LENGTH_UPLOAD $ac_have_decl" >>confdefs.h
5386 ac_fn_check_decl "$LINENO" "CURLINFO_STARTTRANSFER_TIME" "ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" "
5387 #include \"curl/curl.h\"
5389 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5390 if test "x$ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" = xyes
5391 then :
5392 ac_have_decl=1
5393 else $as_nop
5394 ac_have_decl=0
5396 printf "%s\n" "#define HAVE_DECL_CURLINFO_STARTTRANSFER_TIME $ac_have_decl" >>confdefs.h
5397 ac_fn_check_decl "$LINENO" "CURLINFO_CONTENT_TYPE" "ac_cv_have_decl_CURLINFO_CONTENT_TYPE" "
5398 #include \"curl/curl.h\"
5400 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5401 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_TYPE" = xyes
5402 then :
5403 ac_have_decl=1
5404 else $as_nop
5405 ac_have_decl=0
5407 printf "%s\n" "#define HAVE_DECL_CURLINFO_CONTENT_TYPE $ac_have_decl" >>confdefs.h
5408 ac_fn_check_decl "$LINENO" "CURLINFO_REDIRECT_TIME" "ac_cv_have_decl_CURLINFO_REDIRECT_TIME" "
5409 #include \"curl/curl.h\"
5411 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5412 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_TIME" = xyes
5413 then :
5414 ac_have_decl=1
5415 else $as_nop
5416 ac_have_decl=0
5418 printf "%s\n" "#define HAVE_DECL_CURLINFO_REDIRECT_TIME $ac_have_decl" >>confdefs.h
5419 ac_fn_check_decl "$LINENO" "CURLINFO_REDIRECT_COUNT" "ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" "
5420 #include \"curl/curl.h\"
5422 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5423 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" = xyes
5424 then :
5425 ac_have_decl=1
5426 else $as_nop
5427 ac_have_decl=0
5429 printf "%s\n" "#define HAVE_DECL_CURLINFO_REDIRECT_COUNT $ac_have_decl" >>confdefs.h
5430 ac_fn_check_decl "$LINENO" "CURLINFO_HTTP_CONNECTCODE" "ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" "
5431 #include \"curl/curl.h\"
5433 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5434 if test "x$ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" = xyes
5435 then :
5436 ac_have_decl=1
5437 else $as_nop
5438 ac_have_decl=0
5440 printf "%s\n" "#define HAVE_DECL_CURLINFO_HTTP_CONNECTCODE $ac_have_decl" >>confdefs.h
5441 ac_fn_check_decl "$LINENO" "CURLINFO_HTTPAUTH_AVAIL" "ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" "
5442 #include \"curl/curl.h\"
5444 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5445 if test "x$ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" = xyes
5446 then :
5447 ac_have_decl=1
5448 else $as_nop
5449 ac_have_decl=0
5451 printf "%s\n" "#define HAVE_DECL_CURLINFO_HTTPAUTH_AVAIL $ac_have_decl" >>confdefs.h
5452 ac_fn_check_decl "$LINENO" "CURLINFO_PROXYAUTH_AVAIL" "ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" "
5453 #include \"curl/curl.h\"
5455 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5456 if test "x$ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" = xyes
5457 then :
5458 ac_have_decl=1
5459 else $as_nop
5460 ac_have_decl=0
5462 printf "%s\n" "#define HAVE_DECL_CURLINFO_PROXYAUTH_AVAIL $ac_have_decl" >>confdefs.h
5463 ac_fn_check_decl "$LINENO" "CURLINFO_OS_ERRNO" "ac_cv_have_decl_CURLINFO_OS_ERRNO" "
5464 #include \"curl/curl.h\"
5466 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5467 if test "x$ac_cv_have_decl_CURLINFO_OS_ERRNO" = xyes
5468 then :
5469 ac_have_decl=1
5470 else $as_nop
5471 ac_have_decl=0
5473 printf "%s\n" "#define HAVE_DECL_CURLINFO_OS_ERRNO $ac_have_decl" >>confdefs.h
5474 ac_fn_check_decl "$LINENO" "CURLINFO_NUM_CONNECTS" "ac_cv_have_decl_CURLINFO_NUM_CONNECTS" "
5475 #include \"curl/curl.h\"
5477 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5478 if test "x$ac_cv_have_decl_CURLINFO_NUM_CONNECTS" = xyes
5479 then :
5480 ac_have_decl=1
5481 else $as_nop
5482 ac_have_decl=0
5484 printf "%s\n" "#define HAVE_DECL_CURLINFO_NUM_CONNECTS $ac_have_decl" >>confdefs.h
5485 ac_fn_check_decl "$LINENO" "CURLINFO_SSL_ENGINES" "ac_cv_have_decl_CURLINFO_SSL_ENGINES" "
5486 #include \"curl/curl.h\"
5488 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5489 if test "x$ac_cv_have_decl_CURLINFO_SSL_ENGINES" = xyes
5490 then :
5491 ac_have_decl=1
5492 else $as_nop
5493 ac_have_decl=0
5495 printf "%s\n" "#define HAVE_DECL_CURLINFO_SSL_ENGINES $ac_have_decl" >>confdefs.h
5496 ac_fn_check_decl "$LINENO" "CURLINFO_COOKIELIST" "ac_cv_have_decl_CURLINFO_COOKIELIST" "
5497 #include \"curl/curl.h\"
5499 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5500 if test "x$ac_cv_have_decl_CURLINFO_COOKIELIST" = xyes
5501 then :
5502 ac_have_decl=1
5503 else $as_nop
5504 ac_have_decl=0
5506 printf "%s\n" "#define HAVE_DECL_CURLINFO_COOKIELIST $ac_have_decl" >>confdefs.h
5507 ac_fn_check_decl "$LINENO" "CURLINFO_LASTSOCKET" "ac_cv_have_decl_CURLINFO_LASTSOCKET" "
5508 #include \"curl/curl.h\"
5510 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5511 if test "x$ac_cv_have_decl_CURLINFO_LASTSOCKET" = xyes
5512 then :
5513 ac_have_decl=1
5514 else $as_nop
5515 ac_have_decl=0
5517 printf "%s\n" "#define HAVE_DECL_CURLINFO_LASTSOCKET $ac_have_decl" >>confdefs.h
5518 ac_fn_check_decl "$LINENO" "CURLINFO_ACTIVESOCKET" "ac_cv_have_decl_CURLINFO_ACTIVESOCKET" "
5519 #include \"curl/curl.h\"
5521 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5522 if test "x$ac_cv_have_decl_CURLINFO_ACTIVESOCKET" = xyes
5523 then :
5524 ac_have_decl=1
5525 else $as_nop
5526 ac_have_decl=0
5528 printf "%s\n" "#define HAVE_DECL_CURLINFO_ACTIVESOCKET $ac_have_decl" >>confdefs.h
5529 ac_fn_check_decl "$LINENO" "CURLINFO_FTP_ENTRY_PATH" "ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" "
5530 #include \"curl/curl.h\"
5532 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5533 if test "x$ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" = xyes
5534 then :
5535 ac_have_decl=1
5536 else $as_nop
5537 ac_have_decl=0
5539 printf "%s\n" "#define HAVE_DECL_CURLINFO_FTP_ENTRY_PATH $ac_have_decl" >>confdefs.h
5540 ac_fn_check_decl "$LINENO" "CURLINFO_REDIRECT_URL" "ac_cv_have_decl_CURLINFO_REDIRECT_URL" "
5541 #include \"curl/curl.h\"
5543 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5544 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_URL" = xyes
5545 then :
5546 ac_have_decl=1
5547 else $as_nop
5548 ac_have_decl=0
5550 printf "%s\n" "#define HAVE_DECL_CURLINFO_REDIRECT_URL $ac_have_decl" >>confdefs.h
5551 ac_fn_check_decl "$LINENO" "CURLINFO_PRIMARY_IP" "ac_cv_have_decl_CURLINFO_PRIMARY_IP" "
5552 #include \"curl/curl.h\"
5554 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5555 if test "x$ac_cv_have_decl_CURLINFO_PRIMARY_IP" = xyes
5556 then :
5557 ac_have_decl=1
5558 else $as_nop
5559 ac_have_decl=0
5561 printf "%s\n" "#define HAVE_DECL_CURLINFO_PRIMARY_IP $ac_have_decl" >>confdefs.h
5562 ac_fn_check_decl "$LINENO" "CURLINFO_LOCAL_IP" "ac_cv_have_decl_CURLINFO_LOCAL_IP" "
5563 #include \"curl/curl.h\"
5565 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5566 if test "x$ac_cv_have_decl_CURLINFO_LOCAL_IP" = xyes
5567 then :
5568 ac_have_decl=1
5569 else $as_nop
5570 ac_have_decl=0
5572 printf "%s\n" "#define HAVE_DECL_CURLINFO_LOCAL_IP $ac_have_decl" >>confdefs.h
5573 ac_fn_check_decl "$LINENO" "CURLINFO_LOCAL_PORT" "ac_cv_have_decl_CURLINFO_LOCAL_PORT" "
5574 #include \"curl/curl.h\"
5576 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5577 if test "x$ac_cv_have_decl_CURLINFO_LOCAL_PORT" = xyes
5578 then :
5579 ac_have_decl=1
5580 else $as_nop
5581 ac_have_decl=0
5583 printf "%s\n" "#define HAVE_DECL_CURLINFO_LOCAL_PORT $ac_have_decl" >>confdefs.h
5584 ac_fn_check_decl "$LINENO" "CURLINFO_CONDITION_UNMET" "ac_cv_have_decl_CURLINFO_CONDITION_UNMET" "
5585 #include \"curl/curl.h\"
5587 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5588 if test "x$ac_cv_have_decl_CURLINFO_CONDITION_UNMET" = xyes
5589 then :
5590 ac_have_decl=1
5591 else $as_nop
5592 ac_have_decl=0
5594 printf "%s\n" "#define HAVE_DECL_CURLINFO_CONDITION_UNMET $ac_have_decl" >>confdefs.h
5595 ac_fn_check_decl "$LINENO" "CURLINFO_CERTINFO" "ac_cv_have_decl_CURLINFO_CERTINFO" "
5596 #include \"curl/curl.h\"
5598 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5599 if test "x$ac_cv_have_decl_CURLINFO_CERTINFO" = xyes
5600 then :
5601 ac_have_decl=1
5602 else $as_nop
5603 ac_have_decl=0
5605 printf "%s\n" "#define HAVE_DECL_CURLINFO_CERTINFO $ac_have_decl" >>confdefs.h
5606 ac_fn_check_decl "$LINENO" "CURLINFO_HTTP_VERSION" "ac_cv_have_decl_CURLINFO_HTTP_VERSION" "
5607 #include \"curl/curl.h\"
5609 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5610 if test "x$ac_cv_have_decl_CURLINFO_HTTP_VERSION" = xyes
5611 then :
5612 ac_have_decl=1
5613 else $as_nop
5614 ac_have_decl=0
5616 printf "%s\n" "#define HAVE_DECL_CURLINFO_HTTP_VERSION $ac_have_decl" >>confdefs.h
5617 ac_fn_check_decl "$LINENO" "CURLE_UNSUPPORTED_PROTOCOL" "ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" "
5618 #include \"curl/curl.h\"
5620 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5621 if test "x$ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" = xyes
5622 then :
5623 ac_have_decl=1
5624 else $as_nop
5625 ac_have_decl=0
5627 printf "%s\n" "#define HAVE_DECL_CURLE_UNSUPPORTED_PROTOCOL $ac_have_decl" >>confdefs.h
5628 ac_fn_check_decl "$LINENO" "CURLE_FAILED_INIT" "ac_cv_have_decl_CURLE_FAILED_INIT" "
5629 #include \"curl/curl.h\"
5631 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5632 if test "x$ac_cv_have_decl_CURLE_FAILED_INIT" = xyes
5633 then :
5634 ac_have_decl=1
5635 else $as_nop
5636 ac_have_decl=0
5638 printf "%s\n" "#define HAVE_DECL_CURLE_FAILED_INIT $ac_have_decl" >>confdefs.h
5639 ac_fn_check_decl "$LINENO" "CURLE_URL_MALFORMAT" "ac_cv_have_decl_CURLE_URL_MALFORMAT" "
5640 #include \"curl/curl.h\"
5642 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5643 if test "x$ac_cv_have_decl_CURLE_URL_MALFORMAT" = xyes
5644 then :
5645 ac_have_decl=1
5646 else $as_nop
5647 ac_have_decl=0
5649 printf "%s\n" "#define HAVE_DECL_CURLE_URL_MALFORMAT $ac_have_decl" >>confdefs.h
5650 ac_fn_check_decl "$LINENO" "CURLE_URL_MALFORMAT_USER" "ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" "
5651 #include \"curl/curl.h\"
5653 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5654 if test "x$ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" = xyes
5655 then :
5656 ac_have_decl=1
5657 else $as_nop
5658 ac_have_decl=0
5660 printf "%s\n" "#define HAVE_DECL_CURLE_URL_MALFORMAT_USER $ac_have_decl" >>confdefs.h
5661 ac_fn_check_decl "$LINENO" "CURLE_COULDNT_RESOLVE_PROXY" "ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" "
5662 #include \"curl/curl.h\"
5664 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5665 if test "x$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" = xyes
5666 then :
5667 ac_have_decl=1
5668 else $as_nop
5669 ac_have_decl=0
5671 printf "%s\n" "#define HAVE_DECL_CURLE_COULDNT_RESOLVE_PROXY $ac_have_decl" >>confdefs.h
5672 ac_fn_check_decl "$LINENO" "CURLE_COULDNT_RESOLVE_HOST" "ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" "
5673 #include \"curl/curl.h\"
5675 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5676 if test "x$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" = xyes
5677 then :
5678 ac_have_decl=1
5679 else $as_nop
5680 ac_have_decl=0
5682 printf "%s\n" "#define HAVE_DECL_CURLE_COULDNT_RESOLVE_HOST $ac_have_decl" >>confdefs.h
5683 ac_fn_check_decl "$LINENO" "CURLE_COULDNT_CONNECT" "ac_cv_have_decl_CURLE_COULDNT_CONNECT" "
5684 #include \"curl/curl.h\"
5686 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5687 if test "x$ac_cv_have_decl_CURLE_COULDNT_CONNECT" = xyes
5688 then :
5689 ac_have_decl=1
5690 else $as_nop
5691 ac_have_decl=0
5693 printf "%s\n" "#define HAVE_DECL_CURLE_COULDNT_CONNECT $ac_have_decl" >>confdefs.h
5694 ac_fn_check_decl "$LINENO" "CURLE_FTP_WEIRD_SERVER_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" "
5695 #include \"curl/curl.h\"
5697 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5698 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" = xyes
5699 then :
5700 ac_have_decl=1
5701 else $as_nop
5702 ac_have_decl=0
5704 printf "%s\n" "#define HAVE_DECL_CURLE_FTP_WEIRD_SERVER_REPLY $ac_have_decl" >>confdefs.h
5705 ac_fn_check_decl "$LINENO" "CURLE_FTP_ACCESS_DENIED" "ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" "
5706 #include \"curl/curl.h\"
5708 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5709 if test "x$ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" = xyes
5710 then :
5711 ac_have_decl=1
5712 else $as_nop
5713 ac_have_decl=0
5715 printf "%s\n" "#define HAVE_DECL_CURLE_FTP_ACCESS_DENIED $ac_have_decl" >>confdefs.h
5716 ac_fn_check_decl "$LINENO" "CURLE_FTP_USER_PASSWORD_INCORRECT" "ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" "
5717 #include \"curl/curl.h\"
5719 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5720 if test "x$ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" = xyes
5721 then :
5722 ac_have_decl=1
5723 else $as_nop
5724 ac_have_decl=0
5726 printf "%s\n" "#define HAVE_DECL_CURLE_FTP_USER_PASSWORD_INCORRECT $ac_have_decl" >>confdefs.h
5727 ac_fn_check_decl "$LINENO" "CURLE_FTP_WEIRD_PASS_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" "
5728 #include \"curl/curl.h\"
5730 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5731 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" = xyes
5732 then :
5733 ac_have_decl=1
5734 else $as_nop
5735 ac_have_decl=0
5737 printf "%s\n" "#define HAVE_DECL_CURLE_FTP_WEIRD_PASS_REPLY $ac_have_decl" >>confdefs.h
5738 ac_fn_check_decl "$LINENO" "CURLE_FTP_WEIRD_USER_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" "
5739 #include \"curl/curl.h\"
5741 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5742 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" = xyes
5743 then :
5744 ac_have_decl=1
5745 else $as_nop
5746 ac_have_decl=0
5748 printf "%s\n" "#define HAVE_DECL_CURLE_FTP_WEIRD_USER_REPLY $ac_have_decl" >>confdefs.h
5749 ac_fn_check_decl "$LINENO" "CURLE_FTP_WEIRD_PASV_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY" "
5750 #include \"curl/curl.h\"
5752 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5753 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY" = xyes
5754 then :
5755 ac_have_decl=1
5756 else $as_nop
5757 ac_have_decl=0
5759 printf "%s\n" "#define HAVE_DECL_CURLE_FTP_WEIRD_PASV_REPLY $ac_have_decl" >>confdefs.h
5760 ac_fn_check_decl "$LINENO" "CURLE_FTP_WEIRD_227_FORMAT" "ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" "
5761 #include \"curl/curl.h\"
5763 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5764 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" = xyes
5765 then :
5766 ac_have_decl=1
5767 else $as_nop
5768 ac_have_decl=0
5770 printf "%s\n" "#define HAVE_DECL_CURLE_FTP_WEIRD_227_FORMAT $ac_have_decl" >>confdefs.h
5771 ac_fn_check_decl "$LINENO" "CURLE_FTP_CANT_GET_HOST" "ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" "
5772 #include \"curl/curl.h\"
5774 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5775 if test "x$ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" = xyes
5776 then :
5777 ac_have_decl=1
5778 else $as_nop
5779 ac_have_decl=0
5781 printf "%s\n" "#define HAVE_DECL_CURLE_FTP_CANT_GET_HOST $ac_have_decl" >>confdefs.h
5782 ac_fn_check_decl "$LINENO" "CURLE_FTP_CANT_RECONNECT" "ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" "
5783 #include \"curl/curl.h\"
5785 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5786 if test "x$ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" = xyes
5787 then :
5788 ac_have_decl=1
5789 else $as_nop
5790 ac_have_decl=0
5792 printf "%s\n" "#define HAVE_DECL_CURLE_FTP_CANT_RECONNECT $ac_have_decl" >>confdefs.h
5793 ac_fn_check_decl "$LINENO" "CURLE_FTP_COULDNT_SET_BINARY" "ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" "
5794 #include \"curl/curl.h\"
5796 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5797 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" = xyes
5798 then :
5799 ac_have_decl=1
5800 else $as_nop
5801 ac_have_decl=0
5803 printf "%s\n" "#define HAVE_DECL_CURLE_FTP_COULDNT_SET_BINARY $ac_have_decl" >>confdefs.h
5804 ac_fn_check_decl "$LINENO" "CURLE_PARTIAL_FILE" "ac_cv_have_decl_CURLE_PARTIAL_FILE" "
5805 #include \"curl/curl.h\"
5807 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5808 if test "x$ac_cv_have_decl_CURLE_PARTIAL_FILE" = xyes
5809 then :
5810 ac_have_decl=1
5811 else $as_nop
5812 ac_have_decl=0
5814 printf "%s\n" "#define HAVE_DECL_CURLE_PARTIAL_FILE $ac_have_decl" >>confdefs.h
5815 ac_fn_check_decl "$LINENO" "CURLE_FTP_COULDNT_RETR_FILE" "ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" "
5816 #include \"curl/curl.h\"
5818 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5819 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" = xyes
5820 then :
5821 ac_have_decl=1
5822 else $as_nop
5823 ac_have_decl=0
5825 printf "%s\n" "#define HAVE_DECL_CURLE_FTP_COULDNT_RETR_FILE $ac_have_decl" >>confdefs.h
5826 ac_fn_check_decl "$LINENO" "CURLE_FTP_WRITE_ERROR" "ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" "
5827 #include \"curl/curl.h\"
5829 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5830 if test "x$ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" = xyes
5831 then :
5832 ac_have_decl=1
5833 else $as_nop
5834 ac_have_decl=0
5836 printf "%s\n" "#define HAVE_DECL_CURLE_FTP_WRITE_ERROR $ac_have_decl" >>confdefs.h
5837 ac_fn_check_decl "$LINENO" "CURLE_FTP_QUOTE_ERROR" "ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" "
5838 #include \"curl/curl.h\"
5840 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5841 if test "x$ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" = xyes
5842 then :
5843 ac_have_decl=1
5844 else $as_nop
5845 ac_have_decl=0
5847 printf "%s\n" "#define HAVE_DECL_CURLE_FTP_QUOTE_ERROR $ac_have_decl" >>confdefs.h
5848 ac_fn_check_decl "$LINENO" "CURLE_HTTP_RETURNED_ERROR" "ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" "
5849 #include \"curl/curl.h\"
5851 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5852 if test "x$ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" = xyes
5853 then :
5854 ac_have_decl=1
5855 else $as_nop
5856 ac_have_decl=0
5858 printf "%s\n" "#define HAVE_DECL_CURLE_HTTP_RETURNED_ERROR $ac_have_decl" >>confdefs.h
5859 ac_fn_check_decl "$LINENO" "CURLE_WRITE_ERROR" "ac_cv_have_decl_CURLE_WRITE_ERROR" "
5860 #include \"curl/curl.h\"
5862 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5863 if test "x$ac_cv_have_decl_CURLE_WRITE_ERROR" = xyes
5864 then :
5865 ac_have_decl=1
5866 else $as_nop
5867 ac_have_decl=0
5869 printf "%s\n" "#define HAVE_DECL_CURLE_WRITE_ERROR $ac_have_decl" >>confdefs.h
5870 ac_fn_check_decl "$LINENO" "CURLE_MALFORMAT_USER" "ac_cv_have_decl_CURLE_MALFORMAT_USER" "
5871 #include \"curl/curl.h\"
5873 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5874 if test "x$ac_cv_have_decl_CURLE_MALFORMAT_USER" = xyes
5875 then :
5876 ac_have_decl=1
5877 else $as_nop
5878 ac_have_decl=0
5880 printf "%s\n" "#define HAVE_DECL_CURLE_MALFORMAT_USER $ac_have_decl" >>confdefs.h
5881 ac_fn_check_decl "$LINENO" "CURLE_FTP_COULDNT_STOR_FILE" "ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" "
5882 #include \"curl/curl.h\"
5884 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5885 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" = xyes
5886 then :
5887 ac_have_decl=1
5888 else $as_nop
5889 ac_have_decl=0
5891 printf "%s\n" "#define HAVE_DECL_CURLE_FTP_COULDNT_STOR_FILE $ac_have_decl" >>confdefs.h
5892 ac_fn_check_decl "$LINENO" "CURLE_READ_ERROR" "ac_cv_have_decl_CURLE_READ_ERROR" "
5893 #include \"curl/curl.h\"
5895 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5896 if test "x$ac_cv_have_decl_CURLE_READ_ERROR" = xyes
5897 then :
5898 ac_have_decl=1
5899 else $as_nop
5900 ac_have_decl=0
5902 printf "%s\n" "#define HAVE_DECL_CURLE_READ_ERROR $ac_have_decl" >>confdefs.h
5903 ac_fn_check_decl "$LINENO" "CURLE_OUT_OF_MEMORY" "ac_cv_have_decl_CURLE_OUT_OF_MEMORY" "
5904 #include \"curl/curl.h\"
5906 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5907 if test "x$ac_cv_have_decl_CURLE_OUT_OF_MEMORY" = xyes
5908 then :
5909 ac_have_decl=1
5910 else $as_nop
5911 ac_have_decl=0
5913 printf "%s\n" "#define HAVE_DECL_CURLE_OUT_OF_MEMORY $ac_have_decl" >>confdefs.h
5914 ac_fn_check_decl "$LINENO" "CURLE_OPERATION_TIMEOUTED" "ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" "
5915 #include \"curl/curl.h\"
5917 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5918 if test "x$ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" = xyes
5919 then :
5920 ac_have_decl=1
5921 else $as_nop
5922 ac_have_decl=0
5924 printf "%s\n" "#define HAVE_DECL_CURLE_OPERATION_TIMEOUTED $ac_have_decl" >>confdefs.h
5925 ac_fn_check_decl "$LINENO" "CURLE_FTP_COULDNT_SET_ASCII" "ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" "
5926 #include \"curl/curl.h\"
5928 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5929 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" = xyes
5930 then :
5931 ac_have_decl=1
5932 else $as_nop
5933 ac_have_decl=0
5935 printf "%s\n" "#define HAVE_DECL_CURLE_FTP_COULDNT_SET_ASCII $ac_have_decl" >>confdefs.h
5936 ac_fn_check_decl "$LINENO" "CURLE_FTP_PORT_FAILED" "ac_cv_have_decl_CURLE_FTP_PORT_FAILED" "
5937 #include \"curl/curl.h\"
5939 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5940 if test "x$ac_cv_have_decl_CURLE_FTP_PORT_FAILED" = xyes
5941 then :
5942 ac_have_decl=1
5943 else $as_nop
5944 ac_have_decl=0
5946 printf "%s\n" "#define HAVE_DECL_CURLE_FTP_PORT_FAILED $ac_have_decl" >>confdefs.h
5947 ac_fn_check_decl "$LINENO" "CURLE_FTP_COULDNT_USE_REST" "ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" "
5948 #include \"curl/curl.h\"
5950 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5951 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" = xyes
5952 then :
5953 ac_have_decl=1
5954 else $as_nop
5955 ac_have_decl=0
5957 printf "%s\n" "#define HAVE_DECL_CURLE_FTP_COULDNT_USE_REST $ac_have_decl" >>confdefs.h
5958 ac_fn_check_decl "$LINENO" "CURLE_FTP_COULDNT_GET_SIZE" "ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" "
5959 #include \"curl/curl.h\"
5961 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5962 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" = xyes
5963 then :
5964 ac_have_decl=1
5965 else $as_nop
5966 ac_have_decl=0
5968 printf "%s\n" "#define HAVE_DECL_CURLE_FTP_COULDNT_GET_SIZE $ac_have_decl" >>confdefs.h
5969 ac_fn_check_decl "$LINENO" "CURLE_HTTP_RANGE_ERROR" "ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" "
5970 #include \"curl/curl.h\"
5972 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5973 if test "x$ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" = xyes
5974 then :
5975 ac_have_decl=1
5976 else $as_nop
5977 ac_have_decl=0
5979 printf "%s\n" "#define HAVE_DECL_CURLE_HTTP_RANGE_ERROR $ac_have_decl" >>confdefs.h
5980 ac_fn_check_decl "$LINENO" "CURLE_HTTP_POST_ERROR" "ac_cv_have_decl_CURLE_HTTP_POST_ERROR" "
5981 #include \"curl/curl.h\"
5983 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5984 if test "x$ac_cv_have_decl_CURLE_HTTP_POST_ERROR" = xyes
5985 then :
5986 ac_have_decl=1
5987 else $as_nop
5988 ac_have_decl=0
5990 printf "%s\n" "#define HAVE_DECL_CURLE_HTTP_POST_ERROR $ac_have_decl" >>confdefs.h
5991 ac_fn_check_decl "$LINENO" "CURLE_SSL_CONNECT_ERROR" "ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" "
5992 #include \"curl/curl.h\"
5994 " "$ac_c_undeclared_builtin_options" "CFLAGS"
5995 if test "x$ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" = xyes
5996 then :
5997 ac_have_decl=1
5998 else $as_nop
5999 ac_have_decl=0
6001 printf "%s\n" "#define HAVE_DECL_CURLE_SSL_CONNECT_ERROR $ac_have_decl" >>confdefs.h
6002 ac_fn_check_decl "$LINENO" "CURLE_BAD_DOWNLOAD_RESUME" "ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" "
6003 #include \"curl/curl.h\"
6005 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6006 if test "x$ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" = xyes
6007 then :
6008 ac_have_decl=1
6009 else $as_nop
6010 ac_have_decl=0
6012 printf "%s\n" "#define HAVE_DECL_CURLE_BAD_DOWNLOAD_RESUME $ac_have_decl" >>confdefs.h
6013 ac_fn_check_decl "$LINENO" "CURLE_FILE_COULDNT_READ_FILE" "ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" "
6014 #include \"curl/curl.h\"
6016 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6017 if test "x$ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" = xyes
6018 then :
6019 ac_have_decl=1
6020 else $as_nop
6021 ac_have_decl=0
6023 printf "%s\n" "#define HAVE_DECL_CURLE_FILE_COULDNT_READ_FILE $ac_have_decl" >>confdefs.h
6024 ac_fn_check_decl "$LINENO" "CURLE_LDAP_CANNOT_BIND" "ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" "
6025 #include \"curl/curl.h\"
6027 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6028 if test "x$ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" = xyes
6029 then :
6030 ac_have_decl=1
6031 else $as_nop
6032 ac_have_decl=0
6034 printf "%s\n" "#define HAVE_DECL_CURLE_LDAP_CANNOT_BIND $ac_have_decl" >>confdefs.h
6035 ac_fn_check_decl "$LINENO" "CURLE_LDAP_SEARCH_FAILED" "ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" "
6036 #include \"curl/curl.h\"
6038 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6039 if test "x$ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" = xyes
6040 then :
6041 ac_have_decl=1
6042 else $as_nop
6043 ac_have_decl=0
6045 printf "%s\n" "#define HAVE_DECL_CURLE_LDAP_SEARCH_FAILED $ac_have_decl" >>confdefs.h
6046 ac_fn_check_decl "$LINENO" "CURLE_LIBRARY_NOT_FOUND" "ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" "
6047 #include \"curl/curl.h\"
6049 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6050 if test "x$ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" = xyes
6051 then :
6052 ac_have_decl=1
6053 else $as_nop
6054 ac_have_decl=0
6056 printf "%s\n" "#define HAVE_DECL_CURLE_LIBRARY_NOT_FOUND $ac_have_decl" >>confdefs.h
6057 ac_fn_check_decl "$LINENO" "CURLE_FUNCTION_NOT_FOUND" "ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" "
6058 #include \"curl/curl.h\"
6060 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6061 if test "x$ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" = xyes
6062 then :
6063 ac_have_decl=1
6064 else $as_nop
6065 ac_have_decl=0
6067 printf "%s\n" "#define HAVE_DECL_CURLE_FUNCTION_NOT_FOUND $ac_have_decl" >>confdefs.h
6068 ac_fn_check_decl "$LINENO" "CURLE_ABORTED_BY_CALLBACK" "ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" "
6069 #include \"curl/curl.h\"
6071 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6072 if test "x$ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" = xyes
6073 then :
6074 ac_have_decl=1
6075 else $as_nop
6076 ac_have_decl=0
6078 printf "%s\n" "#define HAVE_DECL_CURLE_ABORTED_BY_CALLBACK $ac_have_decl" >>confdefs.h
6079 ac_fn_check_decl "$LINENO" "CURLE_BAD_FUNCTION_ARGUMENT" "ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" "
6080 #include \"curl/curl.h\"
6082 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6083 if test "x$ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" = xyes
6084 then :
6085 ac_have_decl=1
6086 else $as_nop
6087 ac_have_decl=0
6089 printf "%s\n" "#define HAVE_DECL_CURLE_BAD_FUNCTION_ARGUMENT $ac_have_decl" >>confdefs.h
6090 ac_fn_check_decl "$LINENO" "CURLE_BAD_CALLING_ORDER" "ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" "
6091 #include \"curl/curl.h\"
6093 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6094 if test "x$ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" = xyes
6095 then :
6096 ac_have_decl=1
6097 else $as_nop
6098 ac_have_decl=0
6100 printf "%s\n" "#define HAVE_DECL_CURLE_BAD_CALLING_ORDER $ac_have_decl" >>confdefs.h
6101 ac_fn_check_decl "$LINENO" "CURLE_INTERFACE_FAILED" "ac_cv_have_decl_CURLE_INTERFACE_FAILED" "
6102 #include \"curl/curl.h\"
6104 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6105 if test "x$ac_cv_have_decl_CURLE_INTERFACE_FAILED" = xyes
6106 then :
6107 ac_have_decl=1
6108 else $as_nop
6109 ac_have_decl=0
6111 printf "%s\n" "#define HAVE_DECL_CURLE_INTERFACE_FAILED $ac_have_decl" >>confdefs.h
6112 ac_fn_check_decl "$LINENO" "CURLE_BAD_PASSWORD_ENTERED" "ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" "
6113 #include \"curl/curl.h\"
6115 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6116 if test "x$ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" = xyes
6117 then :
6118 ac_have_decl=1
6119 else $as_nop
6120 ac_have_decl=0
6122 printf "%s\n" "#define HAVE_DECL_CURLE_BAD_PASSWORD_ENTERED $ac_have_decl" >>confdefs.h
6123 ac_fn_check_decl "$LINENO" "CURLE_TOO_MANY_REDIRECTS" "ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" "
6124 #include \"curl/curl.h\"
6126 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6127 if test "x$ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" = xyes
6128 then :
6129 ac_have_decl=1
6130 else $as_nop
6131 ac_have_decl=0
6133 printf "%s\n" "#define HAVE_DECL_CURLE_TOO_MANY_REDIRECTS $ac_have_decl" >>confdefs.h
6134 ac_fn_check_decl "$LINENO" "CURLE_UNKNOWN_TELNET_OPTION" "ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" "
6135 #include \"curl/curl.h\"
6137 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6138 if test "x$ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" = xyes
6139 then :
6140 ac_have_decl=1
6141 else $as_nop
6142 ac_have_decl=0
6144 printf "%s\n" "#define HAVE_DECL_CURLE_UNKNOWN_TELNET_OPTION $ac_have_decl" >>confdefs.h
6145 ac_fn_check_decl "$LINENO" "CURLE_TELNET_OPTION_SYNTAX" "ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" "
6146 #include \"curl/curl.h\"
6148 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6149 if test "x$ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" = xyes
6150 then :
6151 ac_have_decl=1
6152 else $as_nop
6153 ac_have_decl=0
6155 printf "%s\n" "#define HAVE_DECL_CURLE_TELNET_OPTION_SYNTAX $ac_have_decl" >>confdefs.h
6156 ac_fn_check_decl "$LINENO" "CURLE_SSL_PEER_CERTIFICATE" "ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" "
6157 #include \"curl/curl.h\"
6159 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6160 if test "x$ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" = xyes
6161 then :
6162 ac_have_decl=1
6163 else $as_nop
6164 ac_have_decl=0
6166 printf "%s\n" "#define HAVE_DECL_CURLE_SSL_PEER_CERTIFICATE $ac_have_decl" >>confdefs.h
6167 ac_fn_check_decl "$LINENO" "CURLE_GOT_NOTHING" "ac_cv_have_decl_CURLE_GOT_NOTHING" "
6168 #include \"curl/curl.h\"
6170 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6171 if test "x$ac_cv_have_decl_CURLE_GOT_NOTHING" = xyes
6172 then :
6173 ac_have_decl=1
6174 else $as_nop
6175 ac_have_decl=0
6177 printf "%s\n" "#define HAVE_DECL_CURLE_GOT_NOTHING $ac_have_decl" >>confdefs.h
6178 ac_fn_check_decl "$LINENO" "CURLE_SSL_ENGINE_NOTFOUND" "ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" "
6179 #include \"curl/curl.h\"
6181 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6182 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" = xyes
6183 then :
6184 ac_have_decl=1
6185 else $as_nop
6186 ac_have_decl=0
6188 printf "%s\n" "#define HAVE_DECL_CURLE_SSL_ENGINE_NOTFOUND $ac_have_decl" >>confdefs.h
6189 ac_fn_check_decl "$LINENO" "CURLE_SSL_ENGINE_SETFAILED" "ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" "
6190 #include \"curl/curl.h\"
6192 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6193 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" = xyes
6194 then :
6195 ac_have_decl=1
6196 else $as_nop
6197 ac_have_decl=0
6199 printf "%s\n" "#define HAVE_DECL_CURLE_SSL_ENGINE_SETFAILED $ac_have_decl" >>confdefs.h
6200 ac_fn_check_decl "$LINENO" "CURLE_SEND_ERROR" "ac_cv_have_decl_CURLE_SEND_ERROR" "
6201 #include \"curl/curl.h\"
6203 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6204 if test "x$ac_cv_have_decl_CURLE_SEND_ERROR" = xyes
6205 then :
6206 ac_have_decl=1
6207 else $as_nop
6208 ac_have_decl=0
6210 printf "%s\n" "#define HAVE_DECL_CURLE_SEND_ERROR $ac_have_decl" >>confdefs.h
6211 ac_fn_check_decl "$LINENO" "CURLE_RECV_ERROR" "ac_cv_have_decl_CURLE_RECV_ERROR" "
6212 #include \"curl/curl.h\"
6214 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6215 if test "x$ac_cv_have_decl_CURLE_RECV_ERROR" = xyes
6216 then :
6217 ac_have_decl=1
6218 else $as_nop
6219 ac_have_decl=0
6221 printf "%s\n" "#define HAVE_DECL_CURLE_RECV_ERROR $ac_have_decl" >>confdefs.h
6222 ac_fn_check_decl "$LINENO" "CURLE_SHARE_IN_USE" "ac_cv_have_decl_CURLE_SHARE_IN_USE" "
6223 #include \"curl/curl.h\"
6225 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6226 if test "x$ac_cv_have_decl_CURLE_SHARE_IN_USE" = xyes
6227 then :
6228 ac_have_decl=1
6229 else $as_nop
6230 ac_have_decl=0
6232 printf "%s\n" "#define HAVE_DECL_CURLE_SHARE_IN_USE $ac_have_decl" >>confdefs.h
6233 ac_fn_check_decl "$LINENO" "CURLE_SSL_CERTPROBLEM" "ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" "
6234 #include \"curl/curl.h\"
6236 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6237 if test "x$ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" = xyes
6238 then :
6239 ac_have_decl=1
6240 else $as_nop
6241 ac_have_decl=0
6243 printf "%s\n" "#define HAVE_DECL_CURLE_SSL_CERTPROBLEM $ac_have_decl" >>confdefs.h
6244 ac_fn_check_decl "$LINENO" "CURLE_SSL_CIPHER" "ac_cv_have_decl_CURLE_SSL_CIPHER" "
6245 #include \"curl/curl.h\"
6247 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6248 if test "x$ac_cv_have_decl_CURLE_SSL_CIPHER" = xyes
6249 then :
6250 ac_have_decl=1
6251 else $as_nop
6252 ac_have_decl=0
6254 printf "%s\n" "#define HAVE_DECL_CURLE_SSL_CIPHER $ac_have_decl" >>confdefs.h
6255 ac_fn_check_decl "$LINENO" "CURLE_SSL_CACERT" "ac_cv_have_decl_CURLE_SSL_CACERT" "
6256 #include \"curl/curl.h\"
6258 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6259 if test "x$ac_cv_have_decl_CURLE_SSL_CACERT" = xyes
6260 then :
6261 ac_have_decl=1
6262 else $as_nop
6263 ac_have_decl=0
6265 printf "%s\n" "#define HAVE_DECL_CURLE_SSL_CACERT $ac_have_decl" >>confdefs.h
6266 ac_fn_check_decl "$LINENO" "CURLE_BAD_CONTENT_ENCODING" "ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" "
6267 #include \"curl/curl.h\"
6269 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6270 if test "x$ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" = xyes
6271 then :
6272 ac_have_decl=1
6273 else $as_nop
6274 ac_have_decl=0
6276 printf "%s\n" "#define HAVE_DECL_CURLE_BAD_CONTENT_ENCODING $ac_have_decl" >>confdefs.h
6277 ac_fn_check_decl "$LINENO" "CURLE_LDAP_INVALID_URL" "ac_cv_have_decl_CURLE_LDAP_INVALID_URL" "
6278 #include \"curl/curl.h\"
6280 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6281 if test "x$ac_cv_have_decl_CURLE_LDAP_INVALID_URL" = xyes
6282 then :
6283 ac_have_decl=1
6284 else $as_nop
6285 ac_have_decl=0
6287 printf "%s\n" "#define HAVE_DECL_CURLE_LDAP_INVALID_URL $ac_have_decl" >>confdefs.h
6288 ac_fn_check_decl "$LINENO" "CURLE_FILESIZE_EXCEEDED" "ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" "
6289 #include \"curl/curl.h\"
6291 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6292 if test "x$ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" = xyes
6293 then :
6294 ac_have_decl=1
6295 else $as_nop
6296 ac_have_decl=0
6298 printf "%s\n" "#define HAVE_DECL_CURLE_FILESIZE_EXCEEDED $ac_have_decl" >>confdefs.h
6299 ac_fn_check_decl "$LINENO" "CURLE_FTP_SSL_FAILED" "ac_cv_have_decl_CURLE_FTP_SSL_FAILED" "
6300 #include \"curl/curl.h\"
6302 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6303 if test "x$ac_cv_have_decl_CURLE_FTP_SSL_FAILED" = xyes
6304 then :
6305 ac_have_decl=1
6306 else $as_nop
6307 ac_have_decl=0
6309 printf "%s\n" "#define HAVE_DECL_CURLE_FTP_SSL_FAILED $ac_have_decl" >>confdefs.h
6310 ac_fn_check_decl "$LINENO" "CURLE_SEND_FAIL_REWIND" "ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" "
6311 #include \"curl/curl.h\"
6313 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6314 if test "x$ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" = xyes
6315 then :
6316 ac_have_decl=1
6317 else $as_nop
6318 ac_have_decl=0
6320 printf "%s\n" "#define HAVE_DECL_CURLE_SEND_FAIL_REWIND $ac_have_decl" >>confdefs.h
6321 ac_fn_check_decl "$LINENO" "CURLE_SSL_ENGINE_INITFAILED" "ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" "
6322 #include \"curl/curl.h\"
6324 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6325 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" = xyes
6326 then :
6327 ac_have_decl=1
6328 else $as_nop
6329 ac_have_decl=0
6331 printf "%s\n" "#define HAVE_DECL_CURLE_SSL_ENGINE_INITFAILED $ac_have_decl" >>confdefs.h
6332 ac_fn_check_decl "$LINENO" "CURLE_LOGIN_DENIED" "ac_cv_have_decl_CURLE_LOGIN_DENIED" "
6333 #include \"curl/curl.h\"
6335 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6336 if test "x$ac_cv_have_decl_CURLE_LOGIN_DENIED" = xyes
6337 then :
6338 ac_have_decl=1
6339 else $as_nop
6340 ac_have_decl=0
6342 printf "%s\n" "#define HAVE_DECL_CURLE_LOGIN_DENIED $ac_have_decl" >>confdefs.h
6343 ac_fn_check_decl "$LINENO" "CURLE_TFTP_NOTFOUND" "ac_cv_have_decl_CURLE_TFTP_NOTFOUND" "
6344 #include \"curl/curl.h\"
6346 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6347 if test "x$ac_cv_have_decl_CURLE_TFTP_NOTFOUND" = xyes
6348 then :
6349 ac_have_decl=1
6350 else $as_nop
6351 ac_have_decl=0
6353 printf "%s\n" "#define HAVE_DECL_CURLE_TFTP_NOTFOUND $ac_have_decl" >>confdefs.h
6354 ac_fn_check_decl "$LINENO" "CURLE_TFTP_PERM" "ac_cv_have_decl_CURLE_TFTP_PERM" "
6355 #include \"curl/curl.h\"
6357 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6358 if test "x$ac_cv_have_decl_CURLE_TFTP_PERM" = xyes
6359 then :
6360 ac_have_decl=1
6361 else $as_nop
6362 ac_have_decl=0
6364 printf "%s\n" "#define HAVE_DECL_CURLE_TFTP_PERM $ac_have_decl" >>confdefs.h
6365 ac_fn_check_decl "$LINENO" "CURLE_REMOTE_DISK_FULL" "ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" "
6366 #include \"curl/curl.h\"
6368 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6369 if test "x$ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" = xyes
6370 then :
6371 ac_have_decl=1
6372 else $as_nop
6373 ac_have_decl=0
6375 printf "%s\n" "#define HAVE_DECL_CURLE_REMOTE_DISK_FULL $ac_have_decl" >>confdefs.h
6376 ac_fn_check_decl "$LINENO" "CURLE_TFTP_ILLEGAL" "ac_cv_have_decl_CURLE_TFTP_ILLEGAL" "
6377 #include \"curl/curl.h\"
6379 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6380 if test "x$ac_cv_have_decl_CURLE_TFTP_ILLEGAL" = xyes
6381 then :
6382 ac_have_decl=1
6383 else $as_nop
6384 ac_have_decl=0
6386 printf "%s\n" "#define HAVE_DECL_CURLE_TFTP_ILLEGAL $ac_have_decl" >>confdefs.h
6387 ac_fn_check_decl "$LINENO" "CURLE_TFTP_UNKNOWNID" "ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" "
6388 #include \"curl/curl.h\"
6390 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6391 if test "x$ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" = xyes
6392 then :
6393 ac_have_decl=1
6394 else $as_nop
6395 ac_have_decl=0
6397 printf "%s\n" "#define HAVE_DECL_CURLE_TFTP_UNKNOWNID $ac_have_decl" >>confdefs.h
6398 ac_fn_check_decl "$LINENO" "CURLE_REMOTE_FILE_EXISTS" "ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" "
6399 #include \"curl/curl.h\"
6401 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6402 if test "x$ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" = xyes
6403 then :
6404 ac_have_decl=1
6405 else $as_nop
6406 ac_have_decl=0
6408 printf "%s\n" "#define HAVE_DECL_CURLE_REMOTE_FILE_EXISTS $ac_have_decl" >>confdefs.h
6409 ac_fn_check_decl "$LINENO" "CURLE_TFTP_NOSUCHUSER" "ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" "
6410 #include \"curl/curl.h\"
6412 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6413 if test "x$ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" = xyes
6414 then :
6415 ac_have_decl=1
6416 else $as_nop
6417 ac_have_decl=0
6419 printf "%s\n" "#define HAVE_DECL_CURLE_TFTP_NOSUCHUSER $ac_have_decl" >>confdefs.h
6420 ac_fn_check_decl "$LINENO" "CURLE_CONV_FAILED" "ac_cv_have_decl_CURLE_CONV_FAILED" "
6421 #include \"curl/curl.h\"
6423 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6424 if test "x$ac_cv_have_decl_CURLE_CONV_FAILED" = xyes
6425 then :
6426 ac_have_decl=1
6427 else $as_nop
6428 ac_have_decl=0
6430 printf "%s\n" "#define HAVE_DECL_CURLE_CONV_FAILED $ac_have_decl" >>confdefs.h
6431 ac_fn_check_decl "$LINENO" "CURLE_CONV_REQD" "ac_cv_have_decl_CURLE_CONV_REQD" "
6432 #include \"curl/curl.h\"
6434 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6435 if test "x$ac_cv_have_decl_CURLE_CONV_REQD" = xyes
6436 then :
6437 ac_have_decl=1
6438 else $as_nop
6439 ac_have_decl=0
6441 printf "%s\n" "#define HAVE_DECL_CURLE_CONV_REQD $ac_have_decl" >>confdefs.h
6442 ac_fn_check_decl "$LINENO" "CURLE_SSL_CACERT_BADFILE" "ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" "
6443 #include \"curl/curl.h\"
6445 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6446 if test "x$ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" = xyes
6447 then :
6448 ac_have_decl=1
6449 else $as_nop
6450 ac_have_decl=0
6452 printf "%s\n" "#define HAVE_DECL_CURLE_SSL_CACERT_BADFILE $ac_have_decl" >>confdefs.h
6453 ac_fn_check_decl "$LINENO" "CURLE_REMOTE_FILE_NOT_FOUND" "ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" "
6454 #include \"curl/curl.h\"
6456 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6457 if test "x$ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" = xyes
6458 then :
6459 ac_have_decl=1
6460 else $as_nop
6461 ac_have_decl=0
6463 printf "%s\n" "#define HAVE_DECL_CURLE_REMOTE_FILE_NOT_FOUND $ac_have_decl" >>confdefs.h
6464 ac_fn_check_decl "$LINENO" "CURLE_SSH" "ac_cv_have_decl_CURLE_SSH" "
6465 #include \"curl/curl.h\"
6467 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6468 if test "x$ac_cv_have_decl_CURLE_SSH" = xyes
6469 then :
6470 ac_have_decl=1
6471 else $as_nop
6472 ac_have_decl=0
6474 printf "%s\n" "#define HAVE_DECL_CURLE_SSH $ac_have_decl" >>confdefs.h
6475 ac_fn_check_decl "$LINENO" "CURLE_SSL_SHUTDOWN_FAILED" "ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED" "
6476 #include \"curl/curl.h\"
6478 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6479 if test "x$ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED" = xyes
6480 then :
6481 ac_have_decl=1
6482 else $as_nop
6483 ac_have_decl=0
6485 printf "%s\n" "#define HAVE_DECL_CURLE_SSL_SHUTDOWN_FAILED $ac_have_decl" >>confdefs.h
6486 ac_fn_check_decl "$LINENO" "CURLE_AGAIN" "ac_cv_have_decl_CURLE_AGAIN" "
6487 #include \"curl/curl.h\"
6489 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6490 if test "x$ac_cv_have_decl_CURLE_AGAIN" = xyes
6491 then :
6492 ac_have_decl=1
6493 else $as_nop
6494 ac_have_decl=0
6496 printf "%s\n" "#define HAVE_DECL_CURLE_AGAIN $ac_have_decl" >>confdefs.h
6497 ac_fn_check_decl "$LINENO" "CURLMOPT_MAXCONNECTS" "ac_cv_have_decl_CURLMOPT_MAXCONNECTS" "
6498 #include \"curl/curl.h\"
6500 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6501 if test "x$ac_cv_have_decl_CURLMOPT_MAXCONNECTS" = xyes
6502 then :
6503 ac_have_decl=1
6504 else $as_nop
6505 ac_have_decl=0
6507 printf "%s\n" "#define HAVE_DECL_CURLMOPT_MAXCONNECTS $ac_have_decl" >>confdefs.h
6508 ac_fn_check_decl "$LINENO" "CURLMOPT_PIPELINING" "ac_cv_have_decl_CURLMOPT_PIPELINING" "
6509 #include \"curl/curl.h\"
6511 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6512 if test "x$ac_cv_have_decl_CURLMOPT_PIPELINING" = xyes
6513 then :
6514 ac_have_decl=1
6515 else $as_nop
6516 ac_have_decl=0
6518 printf "%s\n" "#define HAVE_DECL_CURLMOPT_PIPELINING $ac_have_decl" >>confdefs.h
6519 ac_fn_check_decl "$LINENO" "CURLMOPT_MAX_PIPELINE_LENGTH" "ac_cv_have_decl_CURLMOPT_MAX_PIPELINE_LENGTH" "
6520 #include \"curl/curl.h\"
6522 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6523 if test "x$ac_cv_have_decl_CURLMOPT_MAX_PIPELINE_LENGTH" = xyes
6524 then :
6525 ac_have_decl=1
6526 else $as_nop
6527 ac_have_decl=0
6529 printf "%s\n" "#define HAVE_DECL_CURLMOPT_MAX_PIPELINE_LENGTH $ac_have_decl" >>confdefs.h
6530 ac_fn_check_decl "$LINENO" "CURLMOPT_MAX_HOST_CONNECTIONS" "ac_cv_have_decl_CURLMOPT_MAX_HOST_CONNECTIONS" "
6531 #include \"curl/curl.h\"
6533 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6534 if test "x$ac_cv_have_decl_CURLMOPT_MAX_HOST_CONNECTIONS" = xyes
6535 then :
6536 ac_have_decl=1
6537 else $as_nop
6538 ac_have_decl=0
6540 printf "%s\n" "#define HAVE_DECL_CURLMOPT_MAX_HOST_CONNECTIONS $ac_have_decl" >>confdefs.h
6541 ac_fn_check_decl "$LINENO" "CURLMOPT_MAX_TOTAL_CONNECTIONS" "ac_cv_have_decl_CURLMOPT_MAX_TOTAL_CONNECTIONS" "
6542 #include \"curl/curl.h\"
6544 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6545 if test "x$ac_cv_have_decl_CURLMOPT_MAX_TOTAL_CONNECTIONS" = xyes
6546 then :
6547 ac_have_decl=1
6548 else $as_nop
6549 ac_have_decl=0
6551 printf "%s\n" "#define HAVE_DECL_CURLMOPT_MAX_TOTAL_CONNECTIONS $ac_have_decl" >>confdefs.h
6552 ac_fn_check_decl "$LINENO" "CURL_SSLVERSION_TLSv1_0" "ac_cv_have_decl_CURL_SSLVERSION_TLSv1_0" "
6553 #include \"curl/curl.h\"
6555 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6556 if test "x$ac_cv_have_decl_CURL_SSLVERSION_TLSv1_0" = xyes
6557 then :
6558 ac_have_decl=1
6559 else $as_nop
6560 ac_have_decl=0
6562 printf "%s\n" "#define HAVE_DECL_CURL_SSLVERSION_TLSV1_0 $ac_have_decl" >>confdefs.h
6563 ac_fn_check_decl "$LINENO" "CURL_SSLVERSION_TLSv1_1" "ac_cv_have_decl_CURL_SSLVERSION_TLSv1_1" "
6564 #include \"curl/curl.h\"
6566 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6567 if test "x$ac_cv_have_decl_CURL_SSLVERSION_TLSv1_1" = xyes
6568 then :
6569 ac_have_decl=1
6570 else $as_nop
6571 ac_have_decl=0
6573 printf "%s\n" "#define HAVE_DECL_CURL_SSLVERSION_TLSV1_1 $ac_have_decl" >>confdefs.h
6574 ac_fn_check_decl "$LINENO" "CURL_SSLVERSION_TLSv1_2" "ac_cv_have_decl_CURL_SSLVERSION_TLSv1_2" "
6575 #include \"curl/curl.h\"
6577 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6578 if test "x$ac_cv_have_decl_CURL_SSLVERSION_TLSv1_2" = xyes
6579 then :
6580 ac_have_decl=1
6581 else $as_nop
6582 ac_have_decl=0
6584 printf "%s\n" "#define HAVE_DECL_CURL_SSLVERSION_TLSV1_2 $ac_have_decl" >>confdefs.h
6585 ac_fn_check_decl "$LINENO" "CURL_SSLVERSION_TLSv1_3" "ac_cv_have_decl_CURL_SSLVERSION_TLSv1_3" "
6586 #include \"curl/curl.h\"
6588 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6589 if test "x$ac_cv_have_decl_CURL_SSLVERSION_TLSv1_3" = xyes
6590 then :
6591 ac_have_decl=1
6592 else $as_nop
6593 ac_have_decl=0
6595 printf "%s\n" "#define HAVE_DECL_CURL_SSLVERSION_TLSV1_3 $ac_have_decl" >>confdefs.h
6596 ac_fn_check_decl "$LINENO" "CURL_HTTP_VERSION_2" "ac_cv_have_decl_CURL_HTTP_VERSION_2" "
6597 #include \"curl/curl.h\"
6599 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6600 if test "x$ac_cv_have_decl_CURL_HTTP_VERSION_2" = xyes
6601 then :
6602 ac_have_decl=1
6603 else $as_nop
6604 ac_have_decl=0
6606 printf "%s\n" "#define HAVE_DECL_CURL_HTTP_VERSION_2 $ac_have_decl" >>confdefs.h
6607 ac_fn_check_decl "$LINENO" "CURL_HTTP_VERSION_2_0" "ac_cv_have_decl_CURL_HTTP_VERSION_2_0" "
6608 #include \"curl/curl.h\"
6610 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6611 if test "x$ac_cv_have_decl_CURL_HTTP_VERSION_2_0" = xyes
6612 then :
6613 ac_have_decl=1
6614 else $as_nop
6615 ac_have_decl=0
6617 printf "%s\n" "#define HAVE_DECL_CURL_HTTP_VERSION_2_0 $ac_have_decl" >>confdefs.h
6618 ac_fn_check_decl "$LINENO" "CURL_HTTP_VERSION_2TLS" "ac_cv_have_decl_CURL_HTTP_VERSION_2TLS" "
6619 #include \"curl/curl.h\"
6621 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6622 if test "x$ac_cv_have_decl_CURL_HTTP_VERSION_2TLS" = xyes
6623 then :
6624 ac_have_decl=1
6625 else $as_nop
6626 ac_have_decl=0
6628 printf "%s\n" "#define HAVE_DECL_CURL_HTTP_VERSION_2TLS $ac_have_decl" >>confdefs.h
6629 ac_fn_check_decl "$LINENO" "CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE" "ac_cv_have_decl_CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE" "
6630 #include \"curl/curl.h\"
6632 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6633 if test "x$ac_cv_have_decl_CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE" = xyes
6634 then :
6635 ac_have_decl=1
6636 else $as_nop
6637 ac_have_decl=0
6639 printf "%s\n" "#define HAVE_DECL_CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE $ac_have_decl" >>confdefs.h
6640 ac_fn_check_decl "$LINENO" "CURL_HTTP_VERSION_3" "ac_cv_have_decl_CURL_HTTP_VERSION_3" "
6641 #include \"curl/curl.h\"
6643 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6644 if test "x$ac_cv_have_decl_CURL_HTTP_VERSION_3" = xyes
6645 then :
6646 ac_have_decl=1
6647 else $as_nop
6648 ac_have_decl=0
6650 printf "%s\n" "#define HAVE_DECL_CURL_HTTP_VERSION_3 $ac_have_decl" >>confdefs.h
6651 ac_fn_check_decl "$LINENO" "CURLSSLBACKEND_NONE" "ac_cv_have_decl_CURLSSLBACKEND_NONE" "
6652 #include \"curl/curl.h\"
6654 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6655 if test "x$ac_cv_have_decl_CURLSSLBACKEND_NONE" = xyes
6656 then :
6657 ac_have_decl=1
6658 else $as_nop
6659 ac_have_decl=0
6661 printf "%s\n" "#define HAVE_DECL_CURLSSLBACKEND_NONE $ac_have_decl" >>confdefs.h
6662 ac_fn_check_decl "$LINENO" "CURLSSLBACKEND_OPENSSL" "ac_cv_have_decl_CURLSSLBACKEND_OPENSSL" "
6663 #include \"curl/curl.h\"
6665 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6666 if test "x$ac_cv_have_decl_CURLSSLBACKEND_OPENSSL" = xyes
6667 then :
6668 ac_have_decl=1
6669 else $as_nop
6670 ac_have_decl=0
6672 printf "%s\n" "#define HAVE_DECL_CURLSSLBACKEND_OPENSSL $ac_have_decl" >>confdefs.h
6673 ac_fn_check_decl "$LINENO" "CURLSSLBACKEND_GNUTLS" "ac_cv_have_decl_CURLSSLBACKEND_GNUTLS" "
6674 #include \"curl/curl.h\"
6676 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6677 if test "x$ac_cv_have_decl_CURLSSLBACKEND_GNUTLS" = xyes
6678 then :
6679 ac_have_decl=1
6680 else $as_nop
6681 ac_have_decl=0
6683 printf "%s\n" "#define HAVE_DECL_CURLSSLBACKEND_GNUTLS $ac_have_decl" >>confdefs.h
6684 ac_fn_check_decl "$LINENO" "CURLSSLBACKEND_NSS" "ac_cv_have_decl_CURLSSLBACKEND_NSS" "
6685 #include \"curl/curl.h\"
6687 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6688 if test "x$ac_cv_have_decl_CURLSSLBACKEND_NSS" = xyes
6689 then :
6690 ac_have_decl=1
6691 else $as_nop
6692 ac_have_decl=0
6694 printf "%s\n" "#define HAVE_DECL_CURLSSLBACKEND_NSS $ac_have_decl" >>confdefs.h
6695 ac_fn_check_decl "$LINENO" "CURLSSLBACKEND_GSKIT" "ac_cv_have_decl_CURLSSLBACKEND_GSKIT" "
6696 #include \"curl/curl.h\"
6698 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6699 if test "x$ac_cv_have_decl_CURLSSLBACKEND_GSKIT" = xyes
6700 then :
6701 ac_have_decl=1
6702 else $as_nop
6703 ac_have_decl=0
6705 printf "%s\n" "#define HAVE_DECL_CURLSSLBACKEND_GSKIT $ac_have_decl" >>confdefs.h
6706 ac_fn_check_decl "$LINENO" "CURLSSLBACKEND_WOLFSSL" "ac_cv_have_decl_CURLSSLBACKEND_WOLFSSL" "
6707 #include \"curl/curl.h\"
6709 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6710 if test "x$ac_cv_have_decl_CURLSSLBACKEND_WOLFSSL" = xyes
6711 then :
6712 ac_have_decl=1
6713 else $as_nop
6714 ac_have_decl=0
6716 printf "%s\n" "#define HAVE_DECL_CURLSSLBACKEND_WOLFSSL $ac_have_decl" >>confdefs.h
6717 ac_fn_check_decl "$LINENO" "CURLSSLBACKEND_SCHANNEL" "ac_cv_have_decl_CURLSSLBACKEND_SCHANNEL" "
6718 #include \"curl/curl.h\"
6720 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6721 if test "x$ac_cv_have_decl_CURLSSLBACKEND_SCHANNEL" = xyes
6722 then :
6723 ac_have_decl=1
6724 else $as_nop
6725 ac_have_decl=0
6727 printf "%s\n" "#define HAVE_DECL_CURLSSLBACKEND_SCHANNEL $ac_have_decl" >>confdefs.h
6728 ac_fn_check_decl "$LINENO" "CURLSSLBACKEND_SECURETRANSPORT" "ac_cv_have_decl_CURLSSLBACKEND_SECURETRANSPORT" "
6729 #include \"curl/curl.h\"
6731 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6732 if test "x$ac_cv_have_decl_CURLSSLBACKEND_SECURETRANSPORT" = xyes
6733 then :
6734 ac_have_decl=1
6735 else $as_nop
6736 ac_have_decl=0
6738 printf "%s\n" "#define HAVE_DECL_CURLSSLBACKEND_SECURETRANSPORT $ac_have_decl" >>confdefs.h
6739 ac_fn_check_decl "$LINENO" "CURLSSLBACKEND_MBEDTLS" "ac_cv_have_decl_CURLSSLBACKEND_MBEDTLS" "
6740 #include \"curl/curl.h\"
6742 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6743 if test "x$ac_cv_have_decl_CURLSSLBACKEND_MBEDTLS" = xyes
6744 then :
6745 ac_have_decl=1
6746 else $as_nop
6747 ac_have_decl=0
6749 printf "%s\n" "#define HAVE_DECL_CURLSSLBACKEND_MBEDTLS $ac_have_decl" >>confdefs.h
6750 ac_fn_check_decl "$LINENO" "CURLSSLBACKEND_MESALINK" "ac_cv_have_decl_CURLSSLBACKEND_MESALINK" "
6751 #include \"curl/curl.h\"
6753 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6754 if test "x$ac_cv_have_decl_CURLSSLBACKEND_MESALINK" = xyes
6755 then :
6756 ac_have_decl=1
6757 else $as_nop
6758 ac_have_decl=0
6760 printf "%s\n" "#define HAVE_DECL_CURLSSLBACKEND_MESALINK $ac_have_decl" >>confdefs.h
6761 ac_fn_check_decl "$LINENO" "CURLSSLBACKEND_BEARSSL" "ac_cv_have_decl_CURLSSLBACKEND_BEARSSL" "
6762 #include \"curl/curl.h\"
6764 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6765 if test "x$ac_cv_have_decl_CURLSSLBACKEND_BEARSSL" = xyes
6766 then :
6767 ac_have_decl=1
6768 else $as_nop
6769 ac_have_decl=0
6771 printf "%s\n" "#define HAVE_DECL_CURLSSLBACKEND_BEARSSL $ac_have_decl" >>confdefs.h
6772 ac_fn_check_decl "$LINENO" "CURLOPT_SSL_OPTIONS" "ac_cv_have_decl_CURLOPT_SSL_OPTIONS" "
6773 #include \"curl/curl.h\"
6775 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6776 if test "x$ac_cv_have_decl_CURLOPT_SSL_OPTIONS" = xyes
6777 then :
6778 ac_have_decl=1
6779 else $as_nop
6780 ac_have_decl=0
6782 printf "%s\n" "#define HAVE_DECL_CURLOPT_SSL_OPTIONS $ac_have_decl" >>confdefs.h
6783 ac_fn_check_decl "$LINENO" "CURL_VERSION_TLSAUTH_SRP" "ac_cv_have_decl_CURL_VERSION_TLSAUTH_SRP" "
6784 #include \"curl/curl.h\"
6786 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6787 if test "x$ac_cv_have_decl_CURL_VERSION_TLSAUTH_SRP" = xyes
6788 then :
6789 ac_have_decl=1
6790 else $as_nop
6791 ac_have_decl=0
6793 printf "%s\n" "#define HAVE_DECL_CURL_VERSION_TLSAUTH_SRP $ac_have_decl" >>confdefs.h
6794 ac_fn_check_decl "$LINENO" "CURL_VERSION_NTLM_WB" "ac_cv_have_decl_CURL_VERSION_NTLM_WB" "
6795 #include \"curl/curl.h\"
6797 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6798 if test "x$ac_cv_have_decl_CURL_VERSION_NTLM_WB" = xyes
6799 then :
6800 ac_have_decl=1
6801 else $as_nop
6802 ac_have_decl=0
6804 printf "%s\n" "#define HAVE_DECL_CURL_VERSION_NTLM_WB $ac_have_decl" >>confdefs.h
6807 ac_fn_check_decl "$LINENO" "curl_multi_poll" "ac_cv_have_decl_curl_multi_poll" "
6808 #include \"curl/curl.h\"
6810 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6811 if test "x$ac_cv_have_decl_curl_multi_poll" = xyes
6812 then :
6813 ac_have_decl=1
6814 else $as_nop
6815 ac_have_decl=0
6817 printf "%s\n" "#define HAVE_DECL_CURL_MULTI_POLL $ac_have_decl" >>confdefs.h
6818 ac_fn_check_decl "$LINENO" "curl_global_sslset" "ac_cv_have_decl_curl_global_sslset" "
6819 #include \"curl/curl.h\"
6821 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6822 if test "x$ac_cv_have_decl_curl_global_sslset" = xyes
6823 then :
6824 ac_have_decl=1
6825 else $as_nop
6826 ac_have_decl=0
6828 printf "%s\n" "#define HAVE_DECL_CURL_GLOBAL_SSLSET $ac_have_decl" >>confdefs.h
6831 ac_config_headers="$ac_config_headers config.h"
6833 ac_config_files="$ac_config_files clibs.sexp"
6835 ac_config_files="$ac_config_files cflags.sexp"
6837 ac_config_files="$ac_config_files Makefile"
6839 ac_config_files="$ac_config_files dune-project"
6842 cat >confcache <<\_ACEOF
6843 # This file is a shell script that caches the results of configure
6844 # tests run on this system so they can be shared between configure
6845 # scripts and configure runs, see configure's option --config-cache.
6846 # It is not useful on other systems. If it contains results you don't
6847 # want to keep, you may remove or edit it.
6849 # config.status only pays attention to the cache file if you give it
6850 # the --recheck option to rerun configure.
6852 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6853 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6854 # following values.
6856 _ACEOF
6858 # The following way of writing the cache mishandles newlines in values,
6859 # but we know of no workaround that is simple, portable, and efficient.
6860 # So, we kill variables containing newlines.
6861 # Ultrix sh set writes to stderr and can't be redirected directly,
6862 # and sets the high bit in the cache file unless we assign to the vars.
6864 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6865 eval ac_val=\$$ac_var
6866 case $ac_val in #(
6867 *${as_nl}*)
6868 case $ac_var in #(
6869 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6870 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6871 esac
6872 case $ac_var in #(
6873 _ | IFS | as_nl) ;; #(
6874 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6875 *) { eval $ac_var=; unset $ac_var;} ;;
6876 esac ;;
6877 esac
6878 done
6880 (set) 2>&1 |
6881 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6882 *${as_nl}ac_space=\ *)
6883 # `set' does not quote correctly, so add quotes: double-quote
6884 # substitution turns \\\\ into \\, and sed turns \\ into \.
6885 sed -n \
6886 "s/'/'\\\\''/g;
6887 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6888 ;; #(
6890 # `set' quotes correctly as required by POSIX, so do not add quotes.
6891 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6893 esac |
6894 sort
6896 sed '
6897 /^ac_cv_env_/b end
6898 t clear
6899 :clear
6900 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
6901 t end
6902 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6903 :end' >>confcache
6904 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6905 if test -w "$cache_file"; then
6906 if test "x$cache_file" != "x/dev/null"; then
6907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6908 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
6909 if test ! -f "$cache_file" || test -h "$cache_file"; then
6910 cat confcache >"$cache_file"
6911 else
6912 case $cache_file in #(
6913 */* | ?:*)
6914 mv -f confcache "$cache_file"$$ &&
6915 mv -f "$cache_file"$$ "$cache_file" ;; #(
6917 mv -f confcache "$cache_file" ;;
6918 esac
6921 else
6922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6923 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
6926 rm -f confcache
6928 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6929 # Let make expand exec_prefix.
6930 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6932 DEFS=-DHAVE_CONFIG_H
6934 ac_libobjs=
6935 ac_ltlibobjs=
6937 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6938 # 1. Remove the extension, and $U if already installed.
6939 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6940 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
6941 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6942 # will be set to the directory where LIBOBJS objects are built.
6943 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6944 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6945 done
6946 LIBOBJS=$ac_libobjs
6948 LTLIBOBJS=$ac_ltlibobjs
6952 : "${CONFIG_STATUS=./config.status}"
6953 ac_write_fail=0
6954 ac_clean_files_save=$ac_clean_files
6955 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6957 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
6958 as_write_fail=0
6959 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6960 #! $SHELL
6961 # Generated by $as_me.
6962 # Run this file to recreate the current configuration.
6963 # Compiler output produced by configure, useful for debugging
6964 # configure, is in config.log if it exists.
6966 debug=false
6967 ac_cs_recheck=false
6968 ac_cs_silent=false
6970 SHELL=\${CONFIG_SHELL-$SHELL}
6971 export SHELL
6972 _ASEOF
6973 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6974 ## -------------------- ##
6975 ## M4sh Initialization. ##
6976 ## -------------------- ##
6978 # Be more Bourne compatible
6979 DUALCASE=1; export DUALCASE # for MKS sh
6980 as_nop=:
6981 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
6982 then :
6983 emulate sh
6984 NULLCMD=:
6985 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6986 # is contrary to our usage. Disable this feature.
6987 alias -g '${1+"$@"}'='"$@"'
6988 setopt NO_GLOB_SUBST
6989 else $as_nop
6990 case `(set -o) 2>/dev/null` in #(
6991 *posix*) :
6992 set -o posix ;; #(
6993 *) :
6995 esac
7000 # Reset variables that may have inherited troublesome values from
7001 # the environment.
7003 # IFS needs to be set, to space, tab, and newline, in precisely that order.
7004 # (If _AS_PATH_WALK were called with IFS unset, it would have the
7005 # side effect of setting IFS to empty, thus disabling word splitting.)
7006 # Quoting is to prevent editors from complaining about space-tab.
7007 as_nl='
7009 export as_nl
7010 IFS=" "" $as_nl"
7012 PS1='$ '
7013 PS2='> '
7014 PS4='+ '
7016 # Ensure predictable behavior from utilities with locale-dependent output.
7017 LC_ALL=C
7018 export LC_ALL
7019 LANGUAGE=C
7020 export LANGUAGE
7022 # We cannot yet rely on "unset" to work, but we need these variables
7023 # to be unset--not just set to an empty or harmless value--now, to
7024 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
7025 # also avoids known problems related to "unset" and subshell syntax
7026 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
7027 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
7028 do eval test \${$as_var+y} \
7029 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7030 done
7032 # Ensure that fds 0, 1, and 2 are open.
7033 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
7034 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
7035 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
7037 # The user is always right.
7038 if ${PATH_SEPARATOR+false} :; then
7039 PATH_SEPARATOR=:
7040 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7041 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7042 PATH_SEPARATOR=';'
7047 # Find who we are. Look in the path if we contain no directory separator.
7048 as_myself=
7049 case $0 in #((
7050 *[\\/]* ) as_myself=$0 ;;
7051 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7052 for as_dir in $PATH
7054 IFS=$as_save_IFS
7055 case $as_dir in #(((
7056 '') as_dir=./ ;;
7057 */) ;;
7058 *) as_dir=$as_dir/ ;;
7059 esac
7060 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
7061 done
7062 IFS=$as_save_IFS
7065 esac
7066 # We did not find ourselves, most probably we were run as `sh COMMAND'
7067 # in which case we are not to be found in the path.
7068 if test "x$as_myself" = x; then
7069 as_myself=$0
7071 if test ! -f "$as_myself"; then
7072 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7073 exit 1
7078 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7079 # ----------------------------------------
7080 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7081 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7082 # script with STATUS, using 1 if that was 0.
7083 as_fn_error ()
7085 as_status=$1; test $as_status -eq 0 && as_status=1
7086 if test "$4"; then
7087 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7088 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7090 printf "%s\n" "$as_me: error: $2" >&2
7091 as_fn_exit $as_status
7092 } # as_fn_error
7096 # as_fn_set_status STATUS
7097 # -----------------------
7098 # Set $? to STATUS, without forking.
7099 as_fn_set_status ()
7101 return $1
7102 } # as_fn_set_status
7104 # as_fn_exit STATUS
7105 # -----------------
7106 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7107 as_fn_exit ()
7109 set +e
7110 as_fn_set_status $1
7111 exit $1
7112 } # as_fn_exit
7114 # as_fn_unset VAR
7115 # ---------------
7116 # Portably unset VAR.
7117 as_fn_unset ()
7119 { eval $1=; unset $1;}
7121 as_unset=as_fn_unset
7123 # as_fn_append VAR VALUE
7124 # ----------------------
7125 # Append the text in VALUE to the end of the definition contained in VAR. Take
7126 # advantage of any shell optimizations that allow amortized linear growth over
7127 # repeated appends, instead of the typical quadratic growth present in naive
7128 # implementations.
7129 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
7130 then :
7131 eval 'as_fn_append ()
7133 eval $1+=\$2
7135 else $as_nop
7136 as_fn_append ()
7138 eval $1=\$$1\$2
7140 fi # as_fn_append
7142 # as_fn_arith ARG...
7143 # ------------------
7144 # Perform arithmetic evaluation on the ARGs, and store the result in the
7145 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7146 # must be portable across $(()) and expr.
7147 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
7148 then :
7149 eval 'as_fn_arith ()
7151 as_val=$(( $* ))
7153 else $as_nop
7154 as_fn_arith ()
7156 as_val=`expr "$@" || test $? -eq 1`
7158 fi # as_fn_arith
7161 if expr a : '\(a\)' >/dev/null 2>&1 &&
7162 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7163 as_expr=expr
7164 else
7165 as_expr=false
7168 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7169 as_basename=basename
7170 else
7171 as_basename=false
7174 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7175 as_dirname=dirname
7176 else
7177 as_dirname=false
7180 as_me=`$as_basename -- "$0" ||
7181 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7182 X"$0" : 'X\(//\)$' \| \
7183 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7184 printf "%s\n" X/"$0" |
7185 sed '/^.*\/\([^/][^/]*\)\/*$/{
7186 s//\1/
7189 /^X\/\(\/\/\)$/{
7190 s//\1/
7193 /^X\/\(\/\).*/{
7194 s//\1/
7197 s/.*/./; q'`
7199 # Avoid depending upon Character Ranges.
7200 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7201 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7202 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7203 as_cr_digits='0123456789'
7204 as_cr_alnum=$as_cr_Letters$as_cr_digits
7207 # Determine whether it's possible to make 'echo' print without a newline.
7208 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
7209 # for compatibility with existing Makefiles.
7210 ECHO_C= ECHO_N= ECHO_T=
7211 case `echo -n x` in #(((((
7212 -n*)
7213 case `echo 'xy\c'` in
7214 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7215 xy) ECHO_C='\c';;
7216 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7217 ECHO_T=' ';;
7218 esac;;
7220 ECHO_N='-n';;
7221 esac
7223 # For backward compatibility with old third-party macros, we provide
7224 # the shell variables $as_echo and $as_echo_n. New code should use
7225 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
7226 as_echo='printf %s\n'
7227 as_echo_n='printf %s'
7229 rm -f conf$$ conf$$.exe conf$$.file
7230 if test -d conf$$.dir; then
7231 rm -f conf$$.dir/conf$$.file
7232 else
7233 rm -f conf$$.dir
7234 mkdir conf$$.dir 2>/dev/null
7236 if (echo >conf$$.file) 2>/dev/null; then
7237 if ln -s conf$$.file conf$$ 2>/dev/null; then
7238 as_ln_s='ln -s'
7239 # ... but there are two gotchas:
7240 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7241 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7242 # In both cases, we have to default to `cp -pR'.
7243 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7244 as_ln_s='cp -pR'
7245 elif ln conf$$.file conf$$ 2>/dev/null; then
7246 as_ln_s=ln
7247 else
7248 as_ln_s='cp -pR'
7250 else
7251 as_ln_s='cp -pR'
7253 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7254 rmdir conf$$.dir 2>/dev/null
7257 # as_fn_mkdir_p
7258 # -------------
7259 # Create "$as_dir" as a directory, including parents if necessary.
7260 as_fn_mkdir_p ()
7263 case $as_dir in #(
7264 -*) as_dir=./$as_dir;;
7265 esac
7266 test -d "$as_dir" || eval $as_mkdir_p || {
7267 as_dirs=
7268 while :; do
7269 case $as_dir in #(
7270 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7271 *) as_qdir=$as_dir;;
7272 esac
7273 as_dirs="'$as_qdir' $as_dirs"
7274 as_dir=`$as_dirname -- "$as_dir" ||
7275 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7276 X"$as_dir" : 'X\(//\)[^/]' \| \
7277 X"$as_dir" : 'X\(//\)$' \| \
7278 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7279 printf "%s\n" X"$as_dir" |
7280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7281 s//\1/
7284 /^X\(\/\/\)[^/].*/{
7285 s//\1/
7288 /^X\(\/\/\)$/{
7289 s//\1/
7292 /^X\(\/\).*/{
7293 s//\1/
7296 s/.*/./; q'`
7297 test -d "$as_dir" && break
7298 done
7299 test -z "$as_dirs" || eval "mkdir $as_dirs"
7300 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7303 } # as_fn_mkdir_p
7304 if mkdir -p . 2>/dev/null; then
7305 as_mkdir_p='mkdir -p "$as_dir"'
7306 else
7307 test -d ./-p && rmdir ./-p
7308 as_mkdir_p=false
7312 # as_fn_executable_p FILE
7313 # -----------------------
7314 # Test if FILE is an executable regular file.
7315 as_fn_executable_p ()
7317 test -f "$1" && test -x "$1"
7318 } # as_fn_executable_p
7319 as_test_x='test -x'
7320 as_executable_p=as_fn_executable_p
7322 # Sed expression to map a string onto a valid CPP name.
7323 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7325 # Sed expression to map a string onto a valid variable name.
7326 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7329 exec 6>&1
7330 ## ----------------------------------- ##
7331 ## Main body of $CONFIG_STATUS script. ##
7332 ## ----------------------------------- ##
7333 _ASEOF
7334 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7337 # Save the log message, to keep $0 and so on meaningful, and to
7338 # report actual input values of CONFIG_FILES etc. instead of their
7339 # values after options handling.
7340 ac_log="
7341 This file was extended by ocurl $as_me 0.9.2, which was
7342 generated by GNU Autoconf 2.71. Invocation command line was
7344 CONFIG_FILES = $CONFIG_FILES
7345 CONFIG_HEADERS = $CONFIG_HEADERS
7346 CONFIG_LINKS = $CONFIG_LINKS
7347 CONFIG_COMMANDS = $CONFIG_COMMANDS
7348 $ $0 $@
7350 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7353 _ACEOF
7355 case $ac_config_files in *"
7356 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7357 esac
7359 case $ac_config_headers in *"
7360 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7361 esac
7364 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7365 # Files that config.status was made for.
7366 config_files="$ac_config_files"
7367 config_headers="$ac_config_headers"
7369 _ACEOF
7371 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7372 ac_cs_usage="\
7373 \`$as_me' instantiates files and other configuration actions
7374 from templates according to the current configuration. Unless the files
7375 and actions are specified as TAGs, all are instantiated by default.
7377 Usage: $0 [OPTION]... [TAG]...
7379 -h, --help print this help, then exit
7380 -V, --version print version number and configuration settings, then exit
7381 --config print configuration, then exit
7382 -q, --quiet, --silent
7383 do not print progress messages
7384 -d, --debug don't remove temporary files
7385 --recheck update $as_me by reconfiguring in the same conditions
7386 --file=FILE[:TEMPLATE]
7387 instantiate the configuration file FILE
7388 --header=FILE[:TEMPLATE]
7389 instantiate the configuration header FILE
7391 Configuration files:
7392 $config_files
7394 Configuration headers:
7395 $config_headers
7397 Report bugs to the package provider."
7399 _ACEOF
7400 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
7401 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
7402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7403 ac_cs_config='$ac_cs_config_escaped'
7404 ac_cs_version="\\
7405 ocurl config.status 0.9.2
7406 configured by $0, generated by GNU Autoconf 2.71,
7407 with options \\"\$ac_cs_config\\"
7409 Copyright (C) 2021 Free Software Foundation, Inc.
7410 This config.status script is free software; the Free Software Foundation
7411 gives unlimited permission to copy, distribute and modify it."
7413 ac_pwd='$ac_pwd'
7414 srcdir='$srcdir'
7415 test -n "\$AWK" || AWK=awk
7416 _ACEOF
7418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7419 # The default lists apply if the user does not specify any file.
7420 ac_need_defaults=:
7421 while test $# != 0
7423 case $1 in
7424 --*=?*)
7425 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7426 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7427 ac_shift=:
7429 --*=)
7430 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7431 ac_optarg=
7432 ac_shift=:
7435 ac_option=$1
7436 ac_optarg=$2
7437 ac_shift=shift
7439 esac
7441 case $ac_option in
7442 # Handling of the options.
7443 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7444 ac_cs_recheck=: ;;
7445 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7446 printf "%s\n" "$ac_cs_version"; exit ;;
7447 --config | --confi | --conf | --con | --co | --c )
7448 printf "%s\n" "$ac_cs_config"; exit ;;
7449 --debug | --debu | --deb | --de | --d | -d )
7450 debug=: ;;
7451 --file | --fil | --fi | --f )
7452 $ac_shift
7453 case $ac_optarg in
7454 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7455 '') as_fn_error $? "missing file argument" ;;
7456 esac
7457 as_fn_append CONFIG_FILES " '$ac_optarg'"
7458 ac_need_defaults=false;;
7459 --header | --heade | --head | --hea )
7460 $ac_shift
7461 case $ac_optarg in
7462 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7463 esac
7464 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7465 ac_need_defaults=false;;
7466 --he | --h)
7467 # Conflict between --help and --header
7468 as_fn_error $? "ambiguous option: \`$1'
7469 Try \`$0 --help' for more information.";;
7470 --help | --hel | -h )
7471 printf "%s\n" "$ac_cs_usage"; exit ;;
7472 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7473 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7474 ac_cs_silent=: ;;
7476 # This is an error.
7477 -*) as_fn_error $? "unrecognized option: \`$1'
7478 Try \`$0 --help' for more information." ;;
7480 *) as_fn_append ac_config_targets " $1"
7481 ac_need_defaults=false ;;
7483 esac
7484 shift
7485 done
7487 ac_configure_extra_args=
7489 if $ac_cs_silent; then
7490 exec 6>/dev/null
7491 ac_configure_extra_args="$ac_configure_extra_args --silent"
7494 _ACEOF
7495 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7496 if \$ac_cs_recheck; then
7497 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7498 shift
7499 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
7500 CONFIG_SHELL='$SHELL'
7501 export CONFIG_SHELL
7502 exec "\$@"
7505 _ACEOF
7506 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7507 exec 5>>config.log
7509 echo
7510 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7511 ## Running $as_me. ##
7512 _ASBOX
7513 printf "%s\n" "$ac_log"
7514 } >&5
7516 _ACEOF
7517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7518 _ACEOF
7520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7522 # Handling of arguments.
7523 for ac_config_target in $ac_config_targets
7525 case $ac_config_target in
7526 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7527 "clibs.sexp") CONFIG_FILES="$CONFIG_FILES clibs.sexp" ;;
7528 "cflags.sexp") CONFIG_FILES="$CONFIG_FILES cflags.sexp" ;;
7529 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7530 "dune-project") CONFIG_FILES="$CONFIG_FILES dune-project" ;;
7532 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7533 esac
7534 done
7537 # If the user did not use the arguments to specify the items to instantiate,
7538 # then the envvar interface is used. Set only those that are not.
7539 # We use the long form for the default assignment because of an extremely
7540 # bizarre bug on SunOS 4.1.3.
7541 if $ac_need_defaults; then
7542 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
7543 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
7546 # Have a temporary directory for convenience. Make it in the build tree
7547 # simply because there is no reason against having it here, and in addition,
7548 # creating and moving files from /tmp can sometimes cause problems.
7549 # Hook for its removal unless debugging.
7550 # Note that there is a small window in which the directory will not be cleaned:
7551 # after its creation but before its name has been assigned to `$tmp'.
7552 $debug ||
7554 tmp= ac_tmp=
7555 trap 'exit_status=$?
7556 : "${ac_tmp:=$tmp}"
7557 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7559 trap 'as_fn_exit 1' 1 2 13 15
7561 # Create a (secure) tmp directory for tmp files.
7564 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7565 test -d "$tmp"
7566 } ||
7568 tmp=./conf$$-$RANDOM
7569 (umask 077 && mkdir "$tmp")
7570 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7571 ac_tmp=$tmp
7573 # Set up the scripts for CONFIG_FILES section.
7574 # No need to generate them if there are no CONFIG_FILES.
7575 # This happens for instance with `./config.status config.h'.
7576 if test -n "$CONFIG_FILES"; then
7579 ac_cr=`echo X | tr X '\015'`
7580 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7581 # But we know of no other shell where ac_cr would be empty at this
7582 # point, so we can use a bashism as a fallback.
7583 if test "x$ac_cr" = x; then
7584 eval ac_cr=\$\'\\r\'
7586 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7587 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7588 ac_cs_awk_cr='\\r'
7589 else
7590 ac_cs_awk_cr=$ac_cr
7593 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7594 _ACEOF
7598 echo "cat >conf$$subs.awk <<_ACEOF" &&
7599 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7600 echo "_ACEOF"
7601 } >conf$$subs.sh ||
7602 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7603 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7604 ac_delim='%!_!# '
7605 for ac_last_try in false false false false false :; do
7606 . ./conf$$subs.sh ||
7607 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7609 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7610 if test $ac_delim_n = $ac_delim_num; then
7611 break
7612 elif $ac_last_try; then
7613 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7614 else
7615 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7617 done
7618 rm -f conf$$subs.sh
7620 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7621 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7622 _ACEOF
7623 sed -n '
7625 s/^/S["/; s/!.*/"]=/
7628 s/^[^!]*!//
7629 :repl
7630 t repl
7631 s/'"$ac_delim"'$//
7632 t delim
7635 s/\(.\{148\}\)..*/\1/
7636 t more1
7637 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7640 b repl
7641 :more1
7642 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7645 s/.\{148\}//
7646 t nl
7647 :delim
7649 s/\(.\{148\}\)..*/\1/
7650 t more2
7651 s/["\\]/\\&/g; s/^/"/; s/$/"/
7654 :more2
7655 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7658 s/.\{148\}//
7659 t delim
7660 ' <conf$$subs.awk | sed '
7661 /^[^""]/{
7663 s/\n//
7665 ' >>$CONFIG_STATUS || ac_write_fail=1
7666 rm -f conf$$subs.awk
7667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7668 _ACAWK
7669 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7670 for (key in S) S_is_set[key] = 1
7671 FS = "\a"
7675 line = $ 0
7676 nfields = split(line, field, "@")
7677 substed = 0
7678 len = length(field[1])
7679 for (i = 2; i < nfields; i++) {
7680 key = field[i]
7681 keylen = length(key)
7682 if (S_is_set[key]) {
7683 value = S[key]
7684 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7685 len += length(value) + length(field[++i])
7686 substed = 1
7687 } else
7688 len += 1 + keylen
7691 print line
7694 _ACAWK
7695 _ACEOF
7696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7697 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7698 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7699 else
7701 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7702 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7703 _ACEOF
7705 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7706 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7707 # trailing colons and then remove the whole line if VPATH becomes empty
7708 # (actually we leave an empty line to preserve line numbers).
7709 if test "x$srcdir" = x.; then
7710 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7712 s///
7713 s/^/:/
7714 s/[ ]*$/:/
7715 s/:\$(srcdir):/:/g
7716 s/:\${srcdir}:/:/g
7717 s/:@srcdir@:/:/g
7718 s/^:*//
7719 s/:*$//
7721 s/\(=[ ]*\).*/\1/
7723 s/\n//
7724 s/^[^=]*=[ ]*$//
7728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7729 fi # test -n "$CONFIG_FILES"
7731 # Set up the scripts for CONFIG_HEADERS section.
7732 # No need to generate them if there are no CONFIG_HEADERS.
7733 # This happens for instance with `./config.status Makefile'.
7734 if test -n "$CONFIG_HEADERS"; then
7735 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7736 BEGIN {
7737 _ACEOF
7739 # Transform confdefs.h into an awk script `defines.awk', embedded as
7740 # here-document in config.status, that substitutes the proper values into
7741 # config.h.in to produce config.h.
7743 # Create a delimiter string that does not exist in confdefs.h, to ease
7744 # handling of long lines.
7745 ac_delim='%!_!# '
7746 for ac_last_try in false false :; do
7747 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7748 if test -z "$ac_tt"; then
7749 break
7750 elif $ac_last_try; then
7751 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7752 else
7753 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7755 done
7757 # For the awk script, D is an array of macro values keyed by name,
7758 # likewise P contains macro parameters if any. Preserve backslash
7759 # newline sequences.
7761 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7762 sed -n '
7763 s/.\{148\}/&'"$ac_delim"'/g
7764 t rset
7765 :rset
7766 s/^[ ]*#[ ]*define[ ][ ]*/ /
7767 t def
7769 :def
7770 s/\\$//
7771 t bsnl
7772 s/["\\]/\\&/g
7773 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7774 D["\1"]=" \3"/p
7775 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7777 :bsnl
7778 s/["\\]/\\&/g
7779 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7780 D["\1"]=" \3\\\\\\n"\\/p
7781 t cont
7782 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7783 t cont
7785 :cont
7787 s/.\{148\}/&'"$ac_delim"'/g
7788 t clear
7789 :clear
7790 s/\\$//
7791 t bsnlc
7792 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7794 :bsnlc
7795 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7796 b cont
7797 ' <confdefs.h | sed '
7798 s/'"$ac_delim"'/"\\\
7799 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7802 for (key in D) D_is_set[key] = 1
7803 FS = "\a"
7805 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7806 line = \$ 0
7807 split(line, arg, " ")
7808 if (arg[1] == "#") {
7809 defundef = arg[2]
7810 mac1 = arg[3]
7811 } else {
7812 defundef = substr(arg[1], 2)
7813 mac1 = arg[2]
7815 split(mac1, mac2, "(") #)
7816 macro = mac2[1]
7817 prefix = substr(line, 1, index(line, defundef) - 1)
7818 if (D_is_set[macro]) {
7819 # Preserve the white space surrounding the "#".
7820 print prefix "define", macro P[macro] D[macro]
7821 next
7822 } else {
7823 # Replace #undef with comments. This is necessary, for example,
7824 # in the case of _POSIX_SOURCE, which is predefined and required
7825 # on some systems where configure will not decide to define it.
7826 if (defundef == "undef") {
7827 print "/*", prefix defundef, macro, "*/"
7828 next
7832 { print }
7833 _ACAWK
7834 _ACEOF
7835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7836 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7837 fi # test -n "$CONFIG_HEADERS"
7840 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
7841 shift
7842 for ac_tag
7844 case $ac_tag in
7845 :[FHLC]) ac_mode=$ac_tag; continue;;
7846 esac
7847 case $ac_mode$ac_tag in
7848 :[FHL]*:*);;
7849 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7850 :[FH]-) ac_tag=-:-;;
7851 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7852 esac
7853 ac_save_IFS=$IFS
7854 IFS=:
7855 set x $ac_tag
7856 IFS=$ac_save_IFS
7857 shift
7858 ac_file=$1
7859 shift
7861 case $ac_mode in
7862 :L) ac_source=$1;;
7863 :[FH])
7864 ac_file_inputs=
7865 for ac_f
7867 case $ac_f in
7868 -) ac_f="$ac_tmp/stdin";;
7869 *) # Look for the file first in the build tree, then in the source tree
7870 # (if the path is not absolute). The absolute path cannot be DOS-style,
7871 # because $ac_f cannot contain `:'.
7872 test -f "$ac_f" ||
7873 case $ac_f in
7874 [\\/$]*) false;;
7875 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7876 esac ||
7877 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7878 esac
7879 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7880 as_fn_append ac_file_inputs " '$ac_f'"
7881 done
7883 # Let's still pretend it is `configure' which instantiates (i.e., don't
7884 # use $as_me), people would be surprised to read:
7885 # /* config.h. Generated by config.status. */
7886 configure_input='Generated from '`
7887 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7888 `' by configure.'
7889 if test x"$ac_file" != x-; then
7890 configure_input="$ac_file. $configure_input"
7891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7892 printf "%s\n" "$as_me: creating $ac_file" >&6;}
7894 # Neutralize special characters interpreted by sed in replacement strings.
7895 case $configure_input in #(
7896 *\&* | *\|* | *\\* )
7897 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
7898 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7899 *) ac_sed_conf_input=$configure_input;;
7900 esac
7902 case $ac_tag in
7903 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7904 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7905 esac
7907 esac
7909 ac_dir=`$as_dirname -- "$ac_file" ||
7910 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7911 X"$ac_file" : 'X\(//\)[^/]' \| \
7912 X"$ac_file" : 'X\(//\)$' \| \
7913 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7914 printf "%s\n" X"$ac_file" |
7915 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7916 s//\1/
7919 /^X\(\/\/\)[^/].*/{
7920 s//\1/
7923 /^X\(\/\/\)$/{
7924 s//\1/
7927 /^X\(\/\).*/{
7928 s//\1/
7931 s/.*/./; q'`
7932 as_dir="$ac_dir"; as_fn_mkdir_p
7933 ac_builddir=.
7935 case "$ac_dir" in
7936 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7938 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
7939 # A ".." for each directory in $ac_dir_suffix.
7940 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7941 case $ac_top_builddir_sub in
7942 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7943 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7944 esac ;;
7945 esac
7946 ac_abs_top_builddir=$ac_pwd
7947 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7948 # for backward compatibility:
7949 ac_top_builddir=$ac_top_build_prefix
7951 case $srcdir in
7952 .) # We are building in place.
7953 ac_srcdir=.
7954 ac_top_srcdir=$ac_top_builddir_sub
7955 ac_abs_top_srcdir=$ac_pwd ;;
7956 [\\/]* | ?:[\\/]* ) # Absolute name.
7957 ac_srcdir=$srcdir$ac_dir_suffix;
7958 ac_top_srcdir=$srcdir
7959 ac_abs_top_srcdir=$srcdir ;;
7960 *) # Relative name.
7961 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7962 ac_top_srcdir=$ac_top_build_prefix$srcdir
7963 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7964 esac
7965 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7968 case $ac_mode in
7971 # CONFIG_FILE
7974 _ACEOF
7976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7977 # If the template does not know about datarootdir, expand it.
7978 # FIXME: This hack should be removed a few years after 2.60.
7979 ac_datarootdir_hack=; ac_datarootdir_seen=
7980 ac_sed_dataroot='
7981 /datarootdir/ {
7985 /@datadir@/p
7986 /@docdir@/p
7987 /@infodir@/p
7988 /@localedir@/p
7989 /@mandir@/p'
7990 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7991 *datarootdir*) ac_datarootdir_seen=yes;;
7992 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7994 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7995 _ACEOF
7996 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7997 ac_datarootdir_hack='
7998 s&@datadir@&$datadir&g
7999 s&@docdir@&$docdir&g
8000 s&@infodir@&$infodir&g
8001 s&@localedir@&$localedir&g
8002 s&@mandir@&$mandir&g
8003 s&\\\${datarootdir}&$datarootdir&g' ;;
8004 esac
8005 _ACEOF
8007 # Neutralize VPATH when `$srcdir' = `.'.
8008 # Shell code in configure.ac might set extrasub.
8009 # FIXME: do we really want to maintain this feature?
8010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8011 ac_sed_extra="$ac_vpsub
8012 $extrasub
8013 _ACEOF
8014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8016 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8017 s|@configure_input@|$ac_sed_conf_input|;t t
8018 s&@top_builddir@&$ac_top_builddir_sub&;t t
8019 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8020 s&@srcdir@&$ac_srcdir&;t t
8021 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8022 s&@top_srcdir@&$ac_top_srcdir&;t t
8023 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8024 s&@builddir@&$ac_builddir&;t t
8025 s&@abs_builddir@&$ac_abs_builddir&;t t
8026 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8027 $ac_datarootdir_hack
8029 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8030 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8032 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8033 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8034 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8035 "$ac_tmp/out"`; test -z "$ac_out"; } &&
8036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8037 which seems to be undefined. Please make sure it is defined" >&5
8038 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8039 which seems to be undefined. Please make sure it is defined" >&2;}
8041 rm -f "$ac_tmp/stdin"
8042 case $ac_file in
8043 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8044 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8045 esac \
8046 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8050 # CONFIG_HEADER
8052 if test x"$ac_file" != x-; then
8054 printf "%s\n" "/* $configure_input */" >&1 \
8055 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8056 } >"$ac_tmp/config.h" \
8057 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8058 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8060 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
8061 else
8062 rm -f "$ac_file"
8063 mv "$ac_tmp/config.h" "$ac_file" \
8064 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8066 else
8067 printf "%s\n" "/* $configure_input */" >&1 \
8068 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8069 || as_fn_error $? "could not create -" "$LINENO" 5
8074 esac
8076 done # for ac_tag
8079 as_fn_exit 0
8080 _ACEOF
8081 ac_clean_files=$ac_clean_files_save
8083 test $ac_write_fail = 0 ||
8084 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8087 # configure is writing to config.log, and then calls config.status.
8088 # config.status does its own redirection, appending to config.log.
8089 # Unfortunately, on DOS this fails, as config.log is still kept open
8090 # by configure, so config.status won't be able to write to it; its
8091 # output is simply discarded. So we exec the FD to /dev/null,
8092 # effectively closing config.log, so it can be properly (re)opened and
8093 # appended to by config.status. When coming back to configure, we
8094 # need to make the FD available again.
8095 if test "$no_create" != yes; then
8096 ac_cs_success=:
8097 ac_config_status_args=
8098 test "$silent" = yes &&
8099 ac_config_status_args="$ac_config_status_args --quiet"
8100 exec 5>/dev/null
8101 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8102 exec 5>>config.log
8103 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8104 # would make configure fail if this is the last instruction.
8105 $ac_cs_success || as_fn_exit 1
8107 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8109 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}