comments
[ocurl.git] / configure
blob84a7df9e92e178c3f274cf3608877d6cdb839d75
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 setopt NO_GLOB_SUBST
22 else
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
25 esac
32 # PATH needs CR
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
44 chmod +x conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46 PATH_SEPARATOR=';'
47 else
48 PATH_SEPARATOR=:
50 rm -f conf$$.sh
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55 as_unset=unset
56 else
57 as_unset=false
61 # IFS
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
66 as_nl='
68 IFS=" "" $as_nl"
70 # Find who we are. Look in the path if we contain no directory separator.
71 case $0 in
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74 for as_dir in $PATH
76 IFS=$as_save_IFS
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79 done
80 IFS=$as_save_IFS
83 esac
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
87 as_myself=$0
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91 { (exit 1); exit 1; }
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97 done
98 PS1='$ '
99 PS2='> '
100 PS4='+ '
102 # NLS nuisances.
103 for as_var in \
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 LC_TELEPHONE LC_TIME
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
110 else
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
113 done
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
118 as_expr=expr
119 else
120 as_expr=false
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124 as_basename=basename
125 else
126 as_basename=false
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135 echo X/"$0" |
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
137 s//\1/
140 /^X\/\(\/\/\)$/{
141 s//\1/
144 /^X\/\(\/\).*/{
145 s//\1/
148 s/.*/./; q'`
150 # CDPATH.
151 $as_unset CDPATH
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
156 as_have_required=yes
157 else
158 as_have_required=no
161 if test $as_have_required = yes && (eval ":
162 (as_func_return () {
163 (exit \$1)
165 as_func_success () {
166 as_func_return 0
168 as_func_failure () {
169 as_func_return 1
171 as_func_ret_success () {
172 return 0
174 as_func_ret_failure () {
175 return 1
178 exitcode=0
179 if as_func_success; then
181 else
182 exitcode=1
183 echo as_func_success failed.
186 if as_func_failure; then
187 exitcode=1
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
193 else
194 exitcode=1
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
199 exitcode=1
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 else
206 exitcode=1
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
213 as_lineno_1=\$LINENO
214 as_lineno_2=\$LINENO
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
219 else
220 as_candidate_shells=
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
224 IFS=$as_save_IFS
225 test -z "$as_dir" && as_dir=.
226 case $as_dir in
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230 done;;
231 esac
232 done
233 IFS=$as_save_IFS
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241 emulate sh
242 NULLCMD=:
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
246 setopt NO_GLOB_SUBST
247 else
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
250 esac
256 _ASEOF
257 }; then
258 CONFIG_SHELL=$as_shell
259 as_have_required=yes
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268 else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271 esac
277 (as_func_return () {
278 (exit $1)
280 as_func_success () {
281 as_func_return 0
283 as_func_failure () {
284 as_func_return 1
286 as_func_ret_success () {
287 return 0
289 as_func_ret_failure () {
290 return 1
293 exitcode=0
294 if as_func_success; then
296 else
297 exitcode=1
298 echo as_func_success failed.
301 if as_func_failure; then
302 exitcode=1
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
308 else
309 exitcode=1
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
314 exitcode=1
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
320 else
321 exitcode=1
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
328 as_lineno_1=$LINENO
329 as_lineno_2=$LINENO
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
333 _ASEOF
334 }; then
335 break
340 done
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345 done
346 export CONFIG_SHELL
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
367 (exit \$1)
369 as_func_success () {
370 as_func_return 0
372 as_func_failure () {
373 as_func_return 1
375 as_func_ret_success () {
376 return 0
378 as_func_ret_failure () {
379 return 1
382 exitcode=0
383 if as_func_success; then
385 else
386 exitcode=1
387 echo as_func_success failed.
390 if as_func_failure; then
391 exitcode=1
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
397 else
398 exitcode=1
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
403 exitcode=1
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
409 else
410 exitcode=1
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
418 echo message
423 as_lineno_1=$LINENO
424 as_lineno_2=$LINENO
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
434 # case at line end.
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
438 sed -n '
440 /[$]LINENO/=
441 ' <$as_myself |
442 sed '
443 s/[$]LINENO.*/&-/
444 t lineno
446 :lineno
448 :loop
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 t loop
451 s/-\n.*//
452 ' >$as_me.lineno &&
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
460 . "./$as_me.lineno"
461 # Exit status is that of the last command.
462 exit
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467 as_dirname=dirname
468 else
469 as_dirname=false
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in
474 -n*)
475 case `echo 'x\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) ECHO_C='\c';;
478 esac;;
480 ECHO_N='-n';;
481 esac
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
485 as_expr=expr
486 else
487 as_expr=false
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
493 else
494 rm -f conf$$.dir
495 mkdir conf$$.dir
497 echo >conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
499 as_ln_s='ln -s'
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505 as_ln_s='cp -p'
506 elif ln conf$$.file conf$$ 2>/dev/null; then
507 as_ln_s=ln
508 else
509 as_ln_s='cp -p'
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
515 as_mkdir_p=:
516 else
517 test -d ./-p && rmdir ./-p
518 as_mkdir_p=false
521 if test -x / >/dev/null 2>&1; then
522 as_test_x='test -x'
523 else
524 if ls -dL / >/dev/null 2>&1; then
525 as_ls_L_option=L
526 else
527 as_ls_L_option=
529 as_test_x='
530 eval sh -c '\''
531 if test -d "$1"; then
532 test -d "$1/.";
533 else
534 case $1 in
535 -*)set "./$1";;
536 esac;
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
539 '\'' sh
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
554 # Name of the host.
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560 # Initializations.
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
566 cross_compiling=no
567 subdirs=
568 MFLAGS=
569 MAKEFLAGS=
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
573 PACKAGE_NAME=
574 PACKAGE_TARNAME=
575 PACKAGE_VERSION=
576 PACKAGE_STRING=
577 PACKAGE_BUGREPORT=
579 ac_unique_file="curl.ml"
580 ac_subst_vars='SHELL
581 PATH_SEPARATOR
582 PACKAGE_NAME
583 PACKAGE_TARNAME
584 PACKAGE_VERSION
585 PACKAGE_STRING
586 PACKAGE_BUGREPORT
587 exec_prefix
588 prefix
589 program_transform_name
590 bindir
591 sbindir
592 libexecdir
593 datarootdir
594 datadir
595 sysconfdir
596 sharedstatedir
597 localstatedir
598 includedir
599 oldincludedir
600 docdir
601 infodir
602 htmldir
603 dvidir
604 pdfdir
605 psdir
606 libdir
607 localedir
608 mandir
609 DEFS
610 ECHO_C
611 ECHO_N
612 ECHO_T
613 LIBS
614 build_alias
615 host_alias
616 target_alias
618 CFLAGS
619 LDFLAGS
620 CPPFLAGS
621 ac_ct_CC
622 EXEEXT
623 OBJEXT
624 INSTALL_PROGRAM
625 INSTALL_SCRIPT
626 INSTALL_DATA
627 OCAMLC
628 OCAMLOPT
629 OCAMLCDOTOPT
630 OCAMLOPTDOTOPT
631 OCAMLDEP
632 OCAMLMKTOP
633 OCAMLMKLIB
634 OCAMLDOC
635 OCAMLBEST
636 OCAMLVERSION
637 OCAMLLIB
638 OCAMLFIND
639 ac_prefix_program
640 CURLDIR
641 CURLFLAGS
642 CURLLIBS
643 INSTALLDIR
644 LIBOBJS
645 LTLIBOBJS'
646 ac_subst_files=''
647 ac_precious_vars='build_alias
648 host_alias
649 target_alias
651 CFLAGS
652 LDFLAGS
653 LIBS
654 CPPFLAGS'
657 # Initialize some variables set by options.
658 ac_init_help=
659 ac_init_version=false
660 # The variables have the same names as the options, with
661 # dashes changed to underlines.
662 cache_file=/dev/null
663 exec_prefix=NONE
664 no_create=
665 no_recursion=
666 prefix=NONE
667 program_prefix=NONE
668 program_suffix=NONE
669 program_transform_name=s,x,x,
670 silent=
671 site=
672 srcdir=
673 verbose=
674 x_includes=NONE
675 x_libraries=NONE
677 # Installation directory options.
678 # These are left unexpanded so users can "make install exec_prefix=/foo"
679 # and all the variables that are supposed to be based on exec_prefix
680 # by default will actually change.
681 # Use braces instead of parens because sh, perl, etc. also accept them.
682 # (The list follows the same order as the GNU Coding Standards.)
683 bindir='${exec_prefix}/bin'
684 sbindir='${exec_prefix}/sbin'
685 libexecdir='${exec_prefix}/libexec'
686 datarootdir='${prefix}/share'
687 datadir='${datarootdir}'
688 sysconfdir='${prefix}/etc'
689 sharedstatedir='${prefix}/com'
690 localstatedir='${prefix}/var'
691 includedir='${prefix}/include'
692 oldincludedir='/usr/include'
693 docdir='${datarootdir}/doc/${PACKAGE}'
694 infodir='${datarootdir}/info'
695 htmldir='${docdir}'
696 dvidir='${docdir}'
697 pdfdir='${docdir}'
698 psdir='${docdir}'
699 libdir='${exec_prefix}/lib'
700 localedir='${datarootdir}/locale'
701 mandir='${datarootdir}/man'
703 ac_prev=
704 ac_dashdash=
705 for ac_option
707 # If the previous option needs an argument, assign it.
708 if test -n "$ac_prev"; then
709 eval $ac_prev=\$ac_option
710 ac_prev=
711 continue
714 case $ac_option in
715 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
716 *) ac_optarg=yes ;;
717 esac
719 # Accept the important Cygnus configure options, so we can diagnose typos.
721 case $ac_dashdash$ac_option in
723 ac_dashdash=yes ;;
725 -bindir | --bindir | --bindi | --bind | --bin | --bi)
726 ac_prev=bindir ;;
727 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
728 bindir=$ac_optarg ;;
730 -build | --build | --buil | --bui | --bu)
731 ac_prev=build_alias ;;
732 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
733 build_alias=$ac_optarg ;;
735 -cache-file | --cache-file | --cache-fil | --cache-fi \
736 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
737 ac_prev=cache_file ;;
738 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
739 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
740 cache_file=$ac_optarg ;;
742 --config-cache | -C)
743 cache_file=config.cache ;;
745 -datadir | --datadir | --datadi | --datad)
746 ac_prev=datadir ;;
747 -datadir=* | --datadir=* | --datadi=* | --datad=*)
748 datadir=$ac_optarg ;;
750 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
751 | --dataroo | --dataro | --datar)
752 ac_prev=datarootdir ;;
753 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
754 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
755 datarootdir=$ac_optarg ;;
757 -disable-* | --disable-*)
758 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
759 # Reject names that are not valid shell variable names.
760 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
761 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
762 { (exit 1); exit 1; }; }
763 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
764 eval enable_$ac_feature=no ;;
766 -docdir | --docdir | --docdi | --doc | --do)
767 ac_prev=docdir ;;
768 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
769 docdir=$ac_optarg ;;
771 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
772 ac_prev=dvidir ;;
773 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
774 dvidir=$ac_optarg ;;
776 -enable-* | --enable-*)
777 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
778 # Reject names that are not valid shell variable names.
779 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
780 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
781 { (exit 1); exit 1; }; }
782 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
783 eval enable_$ac_feature=\$ac_optarg ;;
785 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
786 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
787 | --exec | --exe | --ex)
788 ac_prev=exec_prefix ;;
789 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
790 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
791 | --exec=* | --exe=* | --ex=*)
792 exec_prefix=$ac_optarg ;;
794 -gas | --gas | --ga | --g)
795 # Obsolete; use --with-gas.
796 with_gas=yes ;;
798 -help | --help | --hel | --he | -h)
799 ac_init_help=long ;;
800 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
801 ac_init_help=recursive ;;
802 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
803 ac_init_help=short ;;
805 -host | --host | --hos | --ho)
806 ac_prev=host_alias ;;
807 -host=* | --host=* | --hos=* | --ho=*)
808 host_alias=$ac_optarg ;;
810 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
811 ac_prev=htmldir ;;
812 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
813 | --ht=*)
814 htmldir=$ac_optarg ;;
816 -includedir | --includedir | --includedi | --included | --include \
817 | --includ | --inclu | --incl | --inc)
818 ac_prev=includedir ;;
819 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
820 | --includ=* | --inclu=* | --incl=* | --inc=*)
821 includedir=$ac_optarg ;;
823 -infodir | --infodir | --infodi | --infod | --info | --inf)
824 ac_prev=infodir ;;
825 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
826 infodir=$ac_optarg ;;
828 -libdir | --libdir | --libdi | --libd)
829 ac_prev=libdir ;;
830 -libdir=* | --libdir=* | --libdi=* | --libd=*)
831 libdir=$ac_optarg ;;
833 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
834 | --libexe | --libex | --libe)
835 ac_prev=libexecdir ;;
836 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
837 | --libexe=* | --libex=* | --libe=*)
838 libexecdir=$ac_optarg ;;
840 -localedir | --localedir | --localedi | --localed | --locale)
841 ac_prev=localedir ;;
842 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
843 localedir=$ac_optarg ;;
845 -localstatedir | --localstatedir | --localstatedi | --localstated \
846 | --localstate | --localstat | --localsta | --localst | --locals)
847 ac_prev=localstatedir ;;
848 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
849 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
850 localstatedir=$ac_optarg ;;
852 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
853 ac_prev=mandir ;;
854 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
855 mandir=$ac_optarg ;;
857 -nfp | --nfp | --nf)
858 # Obsolete; use --without-fp.
859 with_fp=no ;;
861 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
862 | --no-cr | --no-c | -n)
863 no_create=yes ;;
865 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
866 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
867 no_recursion=yes ;;
869 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
870 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
871 | --oldin | --oldi | --old | --ol | --o)
872 ac_prev=oldincludedir ;;
873 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
874 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
875 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
876 oldincludedir=$ac_optarg ;;
878 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
879 ac_prev=prefix ;;
880 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
881 prefix=$ac_optarg ;;
883 -program-prefix | --program-prefix | --program-prefi | --program-pref \
884 | --program-pre | --program-pr | --program-p)
885 ac_prev=program_prefix ;;
886 -program-prefix=* | --program-prefix=* | --program-prefi=* \
887 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
888 program_prefix=$ac_optarg ;;
890 -program-suffix | --program-suffix | --program-suffi | --program-suff \
891 | --program-suf | --program-su | --program-s)
892 ac_prev=program_suffix ;;
893 -program-suffix=* | --program-suffix=* | --program-suffi=* \
894 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
895 program_suffix=$ac_optarg ;;
897 -program-transform-name | --program-transform-name \
898 | --program-transform-nam | --program-transform-na \
899 | --program-transform-n | --program-transform- \
900 | --program-transform | --program-transfor \
901 | --program-transfo | --program-transf \
902 | --program-trans | --program-tran \
903 | --progr-tra | --program-tr | --program-t)
904 ac_prev=program_transform_name ;;
905 -program-transform-name=* | --program-transform-name=* \
906 | --program-transform-nam=* | --program-transform-na=* \
907 | --program-transform-n=* | --program-transform-=* \
908 | --program-transform=* | --program-transfor=* \
909 | --program-transfo=* | --program-transf=* \
910 | --program-trans=* | --program-tran=* \
911 | --progr-tra=* | --program-tr=* | --program-t=*)
912 program_transform_name=$ac_optarg ;;
914 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
915 ac_prev=pdfdir ;;
916 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
917 pdfdir=$ac_optarg ;;
919 -psdir | --psdir | --psdi | --psd | --ps)
920 ac_prev=psdir ;;
921 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
922 psdir=$ac_optarg ;;
924 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
925 | -silent | --silent | --silen | --sile | --sil)
926 silent=yes ;;
928 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
929 ac_prev=sbindir ;;
930 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
931 | --sbi=* | --sb=*)
932 sbindir=$ac_optarg ;;
934 -sharedstatedir | --sharedstatedir | --sharedstatedi \
935 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
936 | --sharedst | --shareds | --shared | --share | --shar \
937 | --sha | --sh)
938 ac_prev=sharedstatedir ;;
939 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
940 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
941 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
942 | --sha=* | --sh=*)
943 sharedstatedir=$ac_optarg ;;
945 -site | --site | --sit)
946 ac_prev=site ;;
947 -site=* | --site=* | --sit=*)
948 site=$ac_optarg ;;
950 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
951 ac_prev=srcdir ;;
952 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
953 srcdir=$ac_optarg ;;
955 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
956 | --syscon | --sysco | --sysc | --sys | --sy)
957 ac_prev=sysconfdir ;;
958 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
959 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
960 sysconfdir=$ac_optarg ;;
962 -target | --target | --targe | --targ | --tar | --ta | --t)
963 ac_prev=target_alias ;;
964 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
965 target_alias=$ac_optarg ;;
967 -v | -verbose | --verbose | --verbos | --verbo | --verb)
968 verbose=yes ;;
970 -version | --version | --versio | --versi | --vers | -V)
971 ac_init_version=: ;;
973 -with-* | --with-*)
974 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
975 # Reject names that are not valid shell variable names.
976 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
977 { echo "$as_me: error: invalid package name: $ac_package" >&2
978 { (exit 1); exit 1; }; }
979 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
980 eval with_$ac_package=\$ac_optarg ;;
982 -without-* | --without-*)
983 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
984 # Reject names that are not valid shell variable names.
985 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
986 { echo "$as_me: error: invalid package name: $ac_package" >&2
987 { (exit 1); exit 1; }; }
988 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
989 eval with_$ac_package=no ;;
991 --x)
992 # Obsolete; use --with-x.
993 with_x=yes ;;
995 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
996 | --x-incl | --x-inc | --x-in | --x-i)
997 ac_prev=x_includes ;;
998 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
999 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1000 x_includes=$ac_optarg ;;
1002 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1003 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1004 ac_prev=x_libraries ;;
1005 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1006 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1007 x_libraries=$ac_optarg ;;
1009 -*) { echo "$as_me: error: unrecognized option: $ac_option
1010 Try \`$0 --help' for more information." >&2
1011 { (exit 1); exit 1; }; }
1014 *=*)
1015 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1018 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1019 { (exit 1); exit 1; }; }
1020 eval $ac_envvar=\$ac_optarg
1021 export $ac_envvar ;;
1024 # FIXME: should be removed in autoconf 3.0.
1025 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1026 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1027 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1028 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1031 esac
1032 done
1034 if test -n "$ac_prev"; then
1035 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1036 { echo "$as_me: error: missing argument to $ac_option" >&2
1037 { (exit 1); exit 1; }; }
1040 # Be sure to have absolute directory names.
1041 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1042 datadir sysconfdir sharedstatedir localstatedir includedir \
1043 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1044 libdir localedir mandir
1046 eval ac_val=\$$ac_var
1047 case $ac_val in
1048 [\\/$]* | ?:[\\/]* ) continue;;
1049 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1050 esac
1051 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1052 { (exit 1); exit 1; }; }
1053 done
1055 # There might be people who depend on the old broken behavior: `$host'
1056 # used to hold the argument of --host etc.
1057 # FIXME: To remove some day.
1058 build=$build_alias
1059 host=$host_alias
1060 target=$target_alias
1062 # FIXME: To remove some day.
1063 if test "x$host_alias" != x; then
1064 if test "x$build_alias" = x; then
1065 cross_compiling=maybe
1066 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1067 If a cross compiler is detected then cross compile mode will be used." >&2
1068 elif test "x$build_alias" != "x$host_alias"; then
1069 cross_compiling=yes
1073 ac_tool_prefix=
1074 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1076 test "$silent" = yes && exec 6>/dev/null
1079 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1080 ac_ls_di=`ls -di .` &&
1081 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1082 { echo "$as_me: error: Working directory cannot be determined" >&2
1083 { (exit 1); exit 1; }; }
1084 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1085 { echo "$as_me: error: pwd does not report name of working directory" >&2
1086 { (exit 1); exit 1; }; }
1089 # Find the source files, if location was not specified.
1090 if test -z "$srcdir"; then
1091 ac_srcdir_defaulted=yes
1092 # Try the directory containing this script, then the parent directory.
1093 ac_confdir=`$as_dirname -- "$0" ||
1094 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1095 X"$0" : 'X\(//\)[^/]' \| \
1096 X"$0" : 'X\(//\)$' \| \
1097 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1098 echo X"$0" |
1099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1100 s//\1/
1103 /^X\(\/\/\)[^/].*/{
1104 s//\1/
1107 /^X\(\/\/\)$/{
1108 s//\1/
1111 /^X\(\/\).*/{
1112 s//\1/
1115 s/.*/./; q'`
1116 srcdir=$ac_confdir
1117 if test ! -r "$srcdir/$ac_unique_file"; then
1118 srcdir=..
1120 else
1121 ac_srcdir_defaulted=no
1123 if test ! -r "$srcdir/$ac_unique_file"; then
1124 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1125 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1126 { (exit 1); exit 1; }; }
1128 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1129 ac_abs_confdir=`(
1130 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1131 { (exit 1); exit 1; }; }
1132 pwd)`
1133 # When building in place, set srcdir=.
1134 if test "$ac_abs_confdir" = "$ac_pwd"; then
1135 srcdir=.
1137 # Remove unnecessary trailing slashes from srcdir.
1138 # Double slashes in file names in object file debugging info
1139 # mess up M-x gdb in Emacs.
1140 case $srcdir in
1141 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1142 esac
1143 for ac_var in $ac_precious_vars; do
1144 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1145 eval ac_env_${ac_var}_value=\$${ac_var}
1146 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1147 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1148 done
1151 # Report the --help message.
1153 if test "$ac_init_help" = "long"; then
1154 # Omit some internal or obsolete options to make the list less imposing.
1155 # This message is too long to be a string in the A/UX 3.1 sh.
1156 cat <<_ACEOF
1157 \`configure' configures this package to adapt to many kinds of systems.
1159 Usage: $0 [OPTION]... [VAR=VALUE]...
1161 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1162 VAR=VALUE. See below for descriptions of some of the useful variables.
1164 Defaults for the options are specified in brackets.
1166 Configuration:
1167 -h, --help display this help and exit
1168 --help=short display options specific to this package
1169 --help=recursive display the short help of all the included packages
1170 -V, --version display version information and exit
1171 -q, --quiet, --silent do not print \`checking...' messages
1172 --cache-file=FILE cache test results in FILE [disabled]
1173 -C, --config-cache alias for \`--cache-file=config.cache'
1174 -n, --no-create do not create output files
1175 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1177 Installation directories:
1178 --prefix=PREFIX install architecture-independent files in PREFIX
1179 [$ac_default_prefix]
1180 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1181 [PREFIX]
1183 By default, \`make install' will install all the files in
1184 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1185 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1186 for instance \`--prefix=\$HOME'.
1188 For better control, use the options below.
1190 Fine tuning of the installation directories:
1191 --bindir=DIR user executables [EPREFIX/bin]
1192 --sbindir=DIR system admin executables [EPREFIX/sbin]
1193 --libexecdir=DIR program executables [EPREFIX/libexec]
1194 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1195 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1196 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1197 --libdir=DIR object code libraries [EPREFIX/lib]
1198 --includedir=DIR C header files [PREFIX/include]
1199 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1200 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1201 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1202 --infodir=DIR info documentation [DATAROOTDIR/info]
1203 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1204 --mandir=DIR man documentation [DATAROOTDIR/man]
1205 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1206 --htmldir=DIR html documentation [DOCDIR]
1207 --dvidir=DIR dvi documentation [DOCDIR]
1208 --pdfdir=DIR pdf documentation [DOCDIR]
1209 --psdir=DIR ps documentation [DOCDIR]
1210 _ACEOF
1212 cat <<\_ACEOF
1213 _ACEOF
1216 if test -n "$ac_init_help"; then
1218 cat <<\_ACEOF
1220 Optional Packages:
1221 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1222 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1223 --with-findlib use findlib package system
1225 Some influential environment variables:
1226 CC C compiler command
1227 CFLAGS C compiler flags
1228 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1229 nonstandard directory <lib dir>
1230 LIBS libraries to pass to the linker, e.g. -l<library>
1231 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1232 you have headers in a nonstandard directory <include dir>
1234 Use these variables to override the choices made by `configure' or to help
1235 it to find libraries and programs with nonstandard names/locations.
1237 _ACEOF
1238 ac_status=$?
1241 if test "$ac_init_help" = "recursive"; then
1242 # If there are subdirs, report their specific --help.
1243 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1244 test -d "$ac_dir" || continue
1245 ac_builddir=.
1247 case "$ac_dir" in
1248 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1250 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1251 # A ".." for each directory in $ac_dir_suffix.
1252 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1253 case $ac_top_builddir_sub in
1254 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1255 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1256 esac ;;
1257 esac
1258 ac_abs_top_builddir=$ac_pwd
1259 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1260 # for backward compatibility:
1261 ac_top_builddir=$ac_top_build_prefix
1263 case $srcdir in
1264 .) # We are building in place.
1265 ac_srcdir=.
1266 ac_top_srcdir=$ac_top_builddir_sub
1267 ac_abs_top_srcdir=$ac_pwd ;;
1268 [\\/]* | ?:[\\/]* ) # Absolute name.
1269 ac_srcdir=$srcdir$ac_dir_suffix;
1270 ac_top_srcdir=$srcdir
1271 ac_abs_top_srcdir=$srcdir ;;
1272 *) # Relative name.
1273 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1274 ac_top_srcdir=$ac_top_build_prefix$srcdir
1275 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1276 esac
1277 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1279 cd "$ac_dir" || { ac_status=$?; continue; }
1280 # Check for guested configure.
1281 if test -f "$ac_srcdir/configure.gnu"; then
1282 echo &&
1283 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1284 elif test -f "$ac_srcdir/configure"; then
1285 echo &&
1286 $SHELL "$ac_srcdir/configure" --help=recursive
1287 else
1288 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1289 fi || ac_status=$?
1290 cd "$ac_pwd" || { ac_status=$?; break; }
1291 done
1294 test -n "$ac_init_help" && exit $ac_status
1295 if $ac_init_version; then
1296 cat <<\_ACEOF
1297 configure
1298 generated by GNU Autoconf 2.61
1300 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1301 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1302 This configure script is free software; the Free Software Foundation
1303 gives unlimited permission to copy, distribute and modify it.
1304 _ACEOF
1305 exit
1307 cat >config.log <<_ACEOF
1308 This file contains any messages produced by compilers while
1309 running configure, to aid debugging if configure makes a mistake.
1311 It was created by $as_me, which was
1312 generated by GNU Autoconf 2.61. Invocation command line was
1314 $ $0 $@
1316 _ACEOF
1317 exec 5>>config.log
1319 cat <<_ASUNAME
1320 ## --------- ##
1321 ## Platform. ##
1322 ## --------- ##
1324 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1325 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1326 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1327 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1328 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1330 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1331 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1333 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1334 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1335 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1336 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1337 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1338 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1339 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1341 _ASUNAME
1343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1344 for as_dir in $PATH
1346 IFS=$as_save_IFS
1347 test -z "$as_dir" && as_dir=.
1348 echo "PATH: $as_dir"
1349 done
1350 IFS=$as_save_IFS
1352 } >&5
1354 cat >&5 <<_ACEOF
1357 ## ----------- ##
1358 ## Core tests. ##
1359 ## ----------- ##
1361 _ACEOF
1364 # Keep a trace of the command line.
1365 # Strip out --no-create and --no-recursion so they do not pile up.
1366 # Strip out --silent because we don't want to record it for future runs.
1367 # Also quote any args containing shell meta-characters.
1368 # Make two passes to allow for proper duplicate-argument suppression.
1369 ac_configure_args=
1370 ac_configure_args0=
1371 ac_configure_args1=
1372 ac_must_keep_next=false
1373 for ac_pass in 1 2
1375 for ac_arg
1377 case $ac_arg in
1378 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1379 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1380 | -silent | --silent | --silen | --sile | --sil)
1381 continue ;;
1382 *\'*)
1383 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1384 esac
1385 case $ac_pass in
1386 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1388 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1389 if test $ac_must_keep_next = true; then
1390 ac_must_keep_next=false # Got value, back to normal.
1391 else
1392 case $ac_arg in
1393 *=* | --config-cache | -C | -disable-* | --disable-* \
1394 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1395 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1396 | -with-* | --with-* | -without-* | --without-* | --x)
1397 case "$ac_configure_args0 " in
1398 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1399 esac
1401 -* ) ac_must_keep_next=true ;;
1402 esac
1404 ac_configure_args="$ac_configure_args '$ac_arg'"
1406 esac
1407 done
1408 done
1409 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1410 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1412 # When interrupted or exit'd, cleanup temporary files, and complete
1413 # config.log. We remove comments because anyway the quotes in there
1414 # would cause problems or look ugly.
1415 # WARNING: Use '\'' to represent an apostrophe within the trap.
1416 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1417 trap 'exit_status=$?
1418 # Save into config.log some information that might help in debugging.
1420 echo
1422 cat <<\_ASBOX
1423 ## ---------------- ##
1424 ## Cache variables. ##
1425 ## ---------------- ##
1426 _ASBOX
1427 echo
1428 # The following way of writing the cache mishandles newlines in values,
1430 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1431 eval ac_val=\$$ac_var
1432 case $ac_val in #(
1433 *${as_nl}*)
1434 case $ac_var in #(
1435 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1436 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1437 esac
1438 case $ac_var in #(
1439 _ | IFS | as_nl) ;; #(
1440 *) $as_unset $ac_var ;;
1441 esac ;;
1442 esac
1443 done
1444 (set) 2>&1 |
1445 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1446 *${as_nl}ac_space=\ *)
1447 sed -n \
1448 "s/'\''/'\''\\\\'\'''\''/g;
1449 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1450 ;; #(
1452 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1454 esac |
1455 sort
1457 echo
1459 cat <<\_ASBOX
1460 ## ----------------- ##
1461 ## Output variables. ##
1462 ## ----------------- ##
1463 _ASBOX
1464 echo
1465 for ac_var in $ac_subst_vars
1467 eval ac_val=\$$ac_var
1468 case $ac_val in
1469 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1470 esac
1471 echo "$ac_var='\''$ac_val'\''"
1472 done | sort
1473 echo
1475 if test -n "$ac_subst_files"; then
1476 cat <<\_ASBOX
1477 ## ------------------- ##
1478 ## File substitutions. ##
1479 ## ------------------- ##
1480 _ASBOX
1481 echo
1482 for ac_var in $ac_subst_files
1484 eval ac_val=\$$ac_var
1485 case $ac_val in
1486 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1487 esac
1488 echo "$ac_var='\''$ac_val'\''"
1489 done | sort
1490 echo
1493 if test -s confdefs.h; then
1494 cat <<\_ASBOX
1495 ## ----------- ##
1496 ## confdefs.h. ##
1497 ## ----------- ##
1498 _ASBOX
1499 echo
1500 cat confdefs.h
1501 echo
1503 test "$ac_signal" != 0 &&
1504 echo "$as_me: caught signal $ac_signal"
1505 echo "$as_me: exit $exit_status"
1506 } >&5
1507 rm -f core *.core core.conftest.* &&
1508 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1509 exit $exit_status
1511 for ac_signal in 1 2 13 15; do
1512 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1513 done
1514 ac_signal=0
1516 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1517 rm -f -r conftest* confdefs.h
1519 # Predefined preprocessor variables.
1521 cat >>confdefs.h <<_ACEOF
1522 #define PACKAGE_NAME "$PACKAGE_NAME"
1523 _ACEOF
1526 cat >>confdefs.h <<_ACEOF
1527 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1528 _ACEOF
1531 cat >>confdefs.h <<_ACEOF
1532 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1533 _ACEOF
1536 cat >>confdefs.h <<_ACEOF
1537 #define PACKAGE_STRING "$PACKAGE_STRING"
1538 _ACEOF
1541 cat >>confdefs.h <<_ACEOF
1542 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1543 _ACEOF
1546 # Let the site file select an alternate cache file if it wants to.
1547 # Prefer explicitly selected file to automatically selected ones.
1548 if test -n "$CONFIG_SITE"; then
1549 set x "$CONFIG_SITE"
1550 elif test "x$prefix" != xNONE; then
1551 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1552 else
1553 set x "$ac_default_prefix/share/config.site" \
1554 "$ac_default_prefix/etc/config.site"
1556 shift
1557 for ac_site_file
1559 if test -r "$ac_site_file"; then
1560 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1561 echo "$as_me: loading site script $ac_site_file" >&6;}
1562 sed 's/^/| /' "$ac_site_file" >&5
1563 . "$ac_site_file"
1565 done
1567 if test -r "$cache_file"; then
1568 # Some versions of bash will fail to source /dev/null (special
1569 # files actually), so we avoid doing that.
1570 if test -f "$cache_file"; then
1571 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1572 echo "$as_me: loading cache $cache_file" >&6;}
1573 case $cache_file in
1574 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1575 *) . "./$cache_file";;
1576 esac
1578 else
1579 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1580 echo "$as_me: creating cache $cache_file" >&6;}
1581 >$cache_file
1584 # Check that the precious variables saved in the cache have kept the same
1585 # value.
1586 ac_cache_corrupted=false
1587 for ac_var in $ac_precious_vars; do
1588 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1589 eval ac_new_set=\$ac_env_${ac_var}_set
1590 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1591 eval ac_new_val=\$ac_env_${ac_var}_value
1592 case $ac_old_set,$ac_new_set in
1593 set,)
1594 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1595 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1596 ac_cache_corrupted=: ;;
1597 ,set)
1598 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1599 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1600 ac_cache_corrupted=: ;;
1601 ,);;
1603 if test "x$ac_old_val" != "x$ac_new_val"; then
1604 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1605 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1606 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1607 echo "$as_me: former value: $ac_old_val" >&2;}
1608 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1609 echo "$as_me: current value: $ac_new_val" >&2;}
1610 ac_cache_corrupted=:
1611 fi;;
1612 esac
1613 # Pass precious variables to config.status.
1614 if test "$ac_new_set" = set; then
1615 case $ac_new_val in
1616 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1617 *) ac_arg=$ac_var=$ac_new_val ;;
1618 esac
1619 case " $ac_configure_args " in
1620 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1621 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1622 esac
1624 done
1625 if $ac_cache_corrupted; then
1626 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1627 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1628 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1629 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1630 { (exit 1); exit 1; }; }
1649 ac_ext=c
1650 ac_cpp='$CPP $CPPFLAGS'
1651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1657 CURLDIR=`curl-config --cflags`
1658 CURLFLAGS=`curl-config --libs | cut -d ' ' -f 1`
1659 CURLLIBS=`curl-config --libs | cut -d ' ' -f 2-`
1661 CFLAGS=$CURLDIR
1663 ac_ext=c
1664 ac_cpp='$CPP $CPPFLAGS'
1665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1668 if test -n "$ac_tool_prefix"; then
1669 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1670 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1671 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1673 if test "${ac_cv_prog_CC+set}" = set; then
1674 echo $ECHO_N "(cached) $ECHO_C" >&6
1675 else
1676 if test -n "$CC"; then
1677 ac_cv_prog_CC="$CC" # Let the user override the test.
1678 else
1679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1680 for as_dir in $PATH
1682 IFS=$as_save_IFS
1683 test -z "$as_dir" && as_dir=.
1684 for ac_exec_ext in '' $ac_executable_extensions; do
1685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1686 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1688 break 2
1690 done
1691 done
1692 IFS=$as_save_IFS
1696 CC=$ac_cv_prog_CC
1697 if test -n "$CC"; then
1698 { echo "$as_me:$LINENO: result: $CC" >&5
1699 echo "${ECHO_T}$CC" >&6; }
1700 else
1701 { echo "$as_me:$LINENO: result: no" >&5
1702 echo "${ECHO_T}no" >&6; }
1707 if test -z "$ac_cv_prog_CC"; then
1708 ac_ct_CC=$CC
1709 # Extract the first word of "gcc", so it can be a program name with args.
1710 set dummy gcc; ac_word=$2
1711 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1713 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1714 echo $ECHO_N "(cached) $ECHO_C" >&6
1715 else
1716 if test -n "$ac_ct_CC"; then
1717 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1718 else
1719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1720 for as_dir in $PATH
1722 IFS=$as_save_IFS
1723 test -z "$as_dir" && as_dir=.
1724 for ac_exec_ext in '' $ac_executable_extensions; do
1725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1726 ac_cv_prog_ac_ct_CC="gcc"
1727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1728 break 2
1730 done
1731 done
1732 IFS=$as_save_IFS
1736 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1737 if test -n "$ac_ct_CC"; then
1738 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1739 echo "${ECHO_T}$ac_ct_CC" >&6; }
1740 else
1741 { echo "$as_me:$LINENO: result: no" >&5
1742 echo "${ECHO_T}no" >&6; }
1745 if test "x$ac_ct_CC" = x; then
1746 CC=""
1747 else
1748 case $cross_compiling:$ac_tool_warned in
1749 yes:)
1750 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1751 whose name does not start with the host triplet. If you think this
1752 configuration is useful to you, please write to autoconf@gnu.org." >&5
1753 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1754 whose name does not start with the host triplet. If you think this
1755 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1756 ac_tool_warned=yes ;;
1757 esac
1758 CC=$ac_ct_CC
1760 else
1761 CC="$ac_cv_prog_CC"
1764 if test -z "$CC"; then
1765 if test -n "$ac_tool_prefix"; then
1766 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1767 set dummy ${ac_tool_prefix}cc; ac_word=$2
1768 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1770 if test "${ac_cv_prog_CC+set}" = set; then
1771 echo $ECHO_N "(cached) $ECHO_C" >&6
1772 else
1773 if test -n "$CC"; then
1774 ac_cv_prog_CC="$CC" # Let the user override the test.
1775 else
1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1777 for as_dir in $PATH
1779 IFS=$as_save_IFS
1780 test -z "$as_dir" && as_dir=.
1781 for ac_exec_ext in '' $ac_executable_extensions; do
1782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1783 ac_cv_prog_CC="${ac_tool_prefix}cc"
1784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1785 break 2
1787 done
1788 done
1789 IFS=$as_save_IFS
1793 CC=$ac_cv_prog_CC
1794 if test -n "$CC"; then
1795 { echo "$as_me:$LINENO: result: $CC" >&5
1796 echo "${ECHO_T}$CC" >&6; }
1797 else
1798 { echo "$as_me:$LINENO: result: no" >&5
1799 echo "${ECHO_T}no" >&6; }
1805 if test -z "$CC"; then
1806 # Extract the first word of "cc", so it can be a program name with args.
1807 set dummy cc; ac_word=$2
1808 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1810 if test "${ac_cv_prog_CC+set}" = set; then
1811 echo $ECHO_N "(cached) $ECHO_C" >&6
1812 else
1813 if test -n "$CC"; then
1814 ac_cv_prog_CC="$CC" # Let the user override the test.
1815 else
1816 ac_prog_rejected=no
1817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1818 for as_dir in $PATH
1820 IFS=$as_save_IFS
1821 test -z "$as_dir" && as_dir=.
1822 for ac_exec_ext in '' $ac_executable_extensions; do
1823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1824 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1825 ac_prog_rejected=yes
1826 continue
1828 ac_cv_prog_CC="cc"
1829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1830 break 2
1832 done
1833 done
1834 IFS=$as_save_IFS
1836 if test $ac_prog_rejected = yes; then
1837 # We found a bogon in the path, so make sure we never use it.
1838 set dummy $ac_cv_prog_CC
1839 shift
1840 if test $# != 0; then
1841 # We chose a different compiler from the bogus one.
1842 # However, it has the same basename, so the bogon will be chosen
1843 # first if we set CC to just the basename; use the full file name.
1844 shift
1845 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1850 CC=$ac_cv_prog_CC
1851 if test -n "$CC"; then
1852 { echo "$as_me:$LINENO: result: $CC" >&5
1853 echo "${ECHO_T}$CC" >&6; }
1854 else
1855 { echo "$as_me:$LINENO: result: no" >&5
1856 echo "${ECHO_T}no" >&6; }
1861 if test -z "$CC"; then
1862 if test -n "$ac_tool_prefix"; then
1863 for ac_prog in cl.exe
1865 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1866 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1867 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1869 if test "${ac_cv_prog_CC+set}" = set; then
1870 echo $ECHO_N "(cached) $ECHO_C" >&6
1871 else
1872 if test -n "$CC"; then
1873 ac_cv_prog_CC="$CC" # Let the user override the test.
1874 else
1875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1876 for as_dir in $PATH
1878 IFS=$as_save_IFS
1879 test -z "$as_dir" && as_dir=.
1880 for ac_exec_ext in '' $ac_executable_extensions; do
1881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1882 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1884 break 2
1886 done
1887 done
1888 IFS=$as_save_IFS
1892 CC=$ac_cv_prog_CC
1893 if test -n "$CC"; then
1894 { echo "$as_me:$LINENO: result: $CC" >&5
1895 echo "${ECHO_T}$CC" >&6; }
1896 else
1897 { echo "$as_me:$LINENO: result: no" >&5
1898 echo "${ECHO_T}no" >&6; }
1902 test -n "$CC" && break
1903 done
1905 if test -z "$CC"; then
1906 ac_ct_CC=$CC
1907 for ac_prog in cl.exe
1909 # Extract the first word of "$ac_prog", so it can be a program name with args.
1910 set dummy $ac_prog; ac_word=$2
1911 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1913 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1914 echo $ECHO_N "(cached) $ECHO_C" >&6
1915 else
1916 if test -n "$ac_ct_CC"; then
1917 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1918 else
1919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1920 for as_dir in $PATH
1922 IFS=$as_save_IFS
1923 test -z "$as_dir" && as_dir=.
1924 for ac_exec_ext in '' $ac_executable_extensions; do
1925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1926 ac_cv_prog_ac_ct_CC="$ac_prog"
1927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1928 break 2
1930 done
1931 done
1932 IFS=$as_save_IFS
1936 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1937 if test -n "$ac_ct_CC"; then
1938 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1939 echo "${ECHO_T}$ac_ct_CC" >&6; }
1940 else
1941 { echo "$as_me:$LINENO: result: no" >&5
1942 echo "${ECHO_T}no" >&6; }
1946 test -n "$ac_ct_CC" && break
1947 done
1949 if test "x$ac_ct_CC" = x; then
1950 CC=""
1951 else
1952 case $cross_compiling:$ac_tool_warned in
1953 yes:)
1954 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1955 whose name does not start with the host triplet. If you think this
1956 configuration is useful to you, please write to autoconf@gnu.org." >&5
1957 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1958 whose name does not start with the host triplet. If you think this
1959 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1960 ac_tool_warned=yes ;;
1961 esac
1962 CC=$ac_ct_CC
1969 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1970 See \`config.log' for more details." >&5
1971 echo "$as_me: error: no acceptable C compiler found in \$PATH
1972 See \`config.log' for more details." >&2;}
1973 { (exit 1); exit 1; }; }
1975 # Provide some information about the compiler.
1976 echo "$as_me:$LINENO: checking for C compiler version" >&5
1977 ac_compiler=`set X $ac_compile; echo $2`
1978 { (ac_try="$ac_compiler --version >&5"
1979 case "(($ac_try" in
1980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1981 *) ac_try_echo=$ac_try;;
1982 esac
1983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1984 (eval "$ac_compiler --version >&5") 2>&5
1985 ac_status=$?
1986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1987 (exit $ac_status); }
1988 { (ac_try="$ac_compiler -v >&5"
1989 case "(($ac_try" in
1990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1991 *) ac_try_echo=$ac_try;;
1992 esac
1993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1994 (eval "$ac_compiler -v >&5") 2>&5
1995 ac_status=$?
1996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1997 (exit $ac_status); }
1998 { (ac_try="$ac_compiler -V >&5"
1999 case "(($ac_try" in
2000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2001 *) ac_try_echo=$ac_try;;
2002 esac
2003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2004 (eval "$ac_compiler -V >&5") 2>&5
2005 ac_status=$?
2006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2007 (exit $ac_status); }
2009 cat >conftest.$ac_ext <<_ACEOF
2010 /* confdefs.h. */
2011 _ACEOF
2012 cat confdefs.h >>conftest.$ac_ext
2013 cat >>conftest.$ac_ext <<_ACEOF
2014 /* end confdefs.h. */
2017 main ()
2021 return 0;
2023 _ACEOF
2024 ac_clean_files_save=$ac_clean_files
2025 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2026 # Try to create an executable without -o first, disregard a.out.
2027 # It will help us diagnose broken compilers, and finding out an intuition
2028 # of exeext.
2029 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2030 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2031 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2033 # List of possible output files, starting from the most likely.
2034 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2035 # only as a last resort. b.out is created by i960 compilers.
2036 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2038 # The IRIX 6 linker writes into existing files which may not be
2039 # executable, retaining their permissions. Remove them first so a
2040 # subsequent execution test works.
2041 ac_rmfiles=
2042 for ac_file in $ac_files
2044 case $ac_file in
2045 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2046 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2047 esac
2048 done
2049 rm -f $ac_rmfiles
2051 if { (ac_try="$ac_link_default"
2052 case "(($ac_try" in
2053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2054 *) ac_try_echo=$ac_try;;
2055 esac
2056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2057 (eval "$ac_link_default") 2>&5
2058 ac_status=$?
2059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2060 (exit $ac_status); }; then
2061 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2062 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2063 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2064 # so that the user can short-circuit this test for compilers unknown to
2065 # Autoconf.
2066 for ac_file in $ac_files ''
2068 test -f "$ac_file" || continue
2069 case $ac_file in
2070 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2072 [ab].out )
2073 # We found the default executable, but exeext='' is most
2074 # certainly right.
2075 break;;
2076 *.* )
2077 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2078 then :; else
2079 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2081 # We set ac_cv_exeext here because the later test for it is not
2082 # safe: cross compilers may not add the suffix if given an `-o'
2083 # argument, so we may need to know it at that point already.
2084 # Even if this section looks crufty: it has the advantage of
2085 # actually working.
2086 break;;
2088 break;;
2089 esac
2090 done
2091 test "$ac_cv_exeext" = no && ac_cv_exeext=
2093 else
2094 ac_file=''
2097 { echo "$as_me:$LINENO: result: $ac_file" >&5
2098 echo "${ECHO_T}$ac_file" >&6; }
2099 if test -z "$ac_file"; then
2100 echo "$as_me: failed program was:" >&5
2101 sed 's/^/| /' conftest.$ac_ext >&5
2103 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2104 See \`config.log' for more details." >&5
2105 echo "$as_me: error: C compiler cannot create executables
2106 See \`config.log' for more details." >&2;}
2107 { (exit 77); exit 77; }; }
2110 ac_exeext=$ac_cv_exeext
2112 # Check that the compiler produces executables we can run. If not, either
2113 # the compiler is broken, or we cross compile.
2114 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2115 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2116 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2117 # If not cross compiling, check that we can run a simple program.
2118 if test "$cross_compiling" != yes; then
2119 if { ac_try='./$ac_file'
2120 { (case "(($ac_try" in
2121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2122 *) ac_try_echo=$ac_try;;
2123 esac
2124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2125 (eval "$ac_try") 2>&5
2126 ac_status=$?
2127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2128 (exit $ac_status); }; }; then
2129 cross_compiling=no
2130 else
2131 if test "$cross_compiling" = maybe; then
2132 cross_compiling=yes
2133 else
2134 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2135 If you meant to cross compile, use \`--host'.
2136 See \`config.log' for more details." >&5
2137 echo "$as_me: error: cannot run C compiled programs.
2138 If you meant to cross compile, use \`--host'.
2139 See \`config.log' for more details." >&2;}
2140 { (exit 1); exit 1; }; }
2144 { echo "$as_me:$LINENO: result: yes" >&5
2145 echo "${ECHO_T}yes" >&6; }
2147 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2148 ac_clean_files=$ac_clean_files_save
2149 # Check that the compiler produces executables we can run. If not, either
2150 # the compiler is broken, or we cross compile.
2151 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2152 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2153 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2154 echo "${ECHO_T}$cross_compiling" >&6; }
2156 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2157 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2158 if { (ac_try="$ac_link"
2159 case "(($ac_try" in
2160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2161 *) ac_try_echo=$ac_try;;
2162 esac
2163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2164 (eval "$ac_link") 2>&5
2165 ac_status=$?
2166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2167 (exit $ac_status); }; then
2168 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2169 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2170 # work properly (i.e., refer to `conftest.exe'), while it won't with
2171 # `rm'.
2172 for ac_file in conftest.exe conftest conftest.*; do
2173 test -f "$ac_file" || continue
2174 case $ac_file in
2175 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2176 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2177 break;;
2178 * ) break;;
2179 esac
2180 done
2181 else
2182 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2183 See \`config.log' for more details." >&5
2184 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2185 See \`config.log' for more details." >&2;}
2186 { (exit 1); exit 1; }; }
2189 rm -f conftest$ac_cv_exeext
2190 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2191 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2193 rm -f conftest.$ac_ext
2194 EXEEXT=$ac_cv_exeext
2195 ac_exeext=$EXEEXT
2196 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2197 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2198 if test "${ac_cv_objext+set}" = set; then
2199 echo $ECHO_N "(cached) $ECHO_C" >&6
2200 else
2201 cat >conftest.$ac_ext <<_ACEOF
2202 /* confdefs.h. */
2203 _ACEOF
2204 cat confdefs.h >>conftest.$ac_ext
2205 cat >>conftest.$ac_ext <<_ACEOF
2206 /* end confdefs.h. */
2209 main ()
2213 return 0;
2215 _ACEOF
2216 rm -f conftest.o conftest.obj
2217 if { (ac_try="$ac_compile"
2218 case "(($ac_try" in
2219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2220 *) ac_try_echo=$ac_try;;
2221 esac
2222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2223 (eval "$ac_compile") 2>&5
2224 ac_status=$?
2225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2226 (exit $ac_status); }; then
2227 for ac_file in conftest.o conftest.obj conftest.*; do
2228 test -f "$ac_file" || continue;
2229 case $ac_file in
2230 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2231 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2232 break;;
2233 esac
2234 done
2235 else
2236 echo "$as_me: failed program was:" >&5
2237 sed 's/^/| /' conftest.$ac_ext >&5
2239 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2240 See \`config.log' for more details." >&5
2241 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2242 See \`config.log' for more details." >&2;}
2243 { (exit 1); exit 1; }; }
2246 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2248 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2249 echo "${ECHO_T}$ac_cv_objext" >&6; }
2250 OBJEXT=$ac_cv_objext
2251 ac_objext=$OBJEXT
2252 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2253 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2254 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2255 echo $ECHO_N "(cached) $ECHO_C" >&6
2256 else
2257 cat >conftest.$ac_ext <<_ACEOF
2258 /* confdefs.h. */
2259 _ACEOF
2260 cat confdefs.h >>conftest.$ac_ext
2261 cat >>conftest.$ac_ext <<_ACEOF
2262 /* end confdefs.h. */
2265 main ()
2267 #ifndef __GNUC__
2268 choke me
2269 #endif
2272 return 0;
2274 _ACEOF
2275 rm -f conftest.$ac_objext
2276 if { (ac_try="$ac_compile"
2277 case "(($ac_try" in
2278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2279 *) ac_try_echo=$ac_try;;
2280 esac
2281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2282 (eval "$ac_compile") 2>conftest.er1
2283 ac_status=$?
2284 grep -v '^ *+' conftest.er1 >conftest.err
2285 rm -f conftest.er1
2286 cat conftest.err >&5
2287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2288 (exit $ac_status); } && {
2289 test -z "$ac_c_werror_flag" ||
2290 test ! -s conftest.err
2291 } && test -s conftest.$ac_objext; then
2292 ac_compiler_gnu=yes
2293 else
2294 echo "$as_me: failed program was:" >&5
2295 sed 's/^/| /' conftest.$ac_ext >&5
2297 ac_compiler_gnu=no
2300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2301 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2304 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2305 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2306 GCC=`test $ac_compiler_gnu = yes && echo yes`
2307 ac_test_CFLAGS=${CFLAGS+set}
2308 ac_save_CFLAGS=$CFLAGS
2309 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2310 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2311 if test "${ac_cv_prog_cc_g+set}" = set; then
2312 echo $ECHO_N "(cached) $ECHO_C" >&6
2313 else
2314 ac_save_c_werror_flag=$ac_c_werror_flag
2315 ac_c_werror_flag=yes
2316 ac_cv_prog_cc_g=no
2317 CFLAGS="-g"
2318 cat >conftest.$ac_ext <<_ACEOF
2319 /* confdefs.h. */
2320 _ACEOF
2321 cat confdefs.h >>conftest.$ac_ext
2322 cat >>conftest.$ac_ext <<_ACEOF
2323 /* end confdefs.h. */
2326 main ()
2330 return 0;
2332 _ACEOF
2333 rm -f conftest.$ac_objext
2334 if { (ac_try="$ac_compile"
2335 case "(($ac_try" in
2336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2337 *) ac_try_echo=$ac_try;;
2338 esac
2339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2340 (eval "$ac_compile") 2>conftest.er1
2341 ac_status=$?
2342 grep -v '^ *+' conftest.er1 >conftest.err
2343 rm -f conftest.er1
2344 cat conftest.err >&5
2345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346 (exit $ac_status); } && {
2347 test -z "$ac_c_werror_flag" ||
2348 test ! -s conftest.err
2349 } && test -s conftest.$ac_objext; then
2350 ac_cv_prog_cc_g=yes
2351 else
2352 echo "$as_me: failed program was:" >&5
2353 sed 's/^/| /' conftest.$ac_ext >&5
2355 CFLAGS=""
2356 cat >conftest.$ac_ext <<_ACEOF
2357 /* confdefs.h. */
2358 _ACEOF
2359 cat confdefs.h >>conftest.$ac_ext
2360 cat >>conftest.$ac_ext <<_ACEOF
2361 /* end confdefs.h. */
2364 main ()
2368 return 0;
2370 _ACEOF
2371 rm -f conftest.$ac_objext
2372 if { (ac_try="$ac_compile"
2373 case "(($ac_try" in
2374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2375 *) ac_try_echo=$ac_try;;
2376 esac
2377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2378 (eval "$ac_compile") 2>conftest.er1
2379 ac_status=$?
2380 grep -v '^ *+' conftest.er1 >conftest.err
2381 rm -f conftest.er1
2382 cat conftest.err >&5
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); } && {
2385 test -z "$ac_c_werror_flag" ||
2386 test ! -s conftest.err
2387 } && test -s conftest.$ac_objext; then
2389 else
2390 echo "$as_me: failed program was:" >&5
2391 sed 's/^/| /' conftest.$ac_ext >&5
2393 ac_c_werror_flag=$ac_save_c_werror_flag
2394 CFLAGS="-g"
2395 cat >conftest.$ac_ext <<_ACEOF
2396 /* confdefs.h. */
2397 _ACEOF
2398 cat confdefs.h >>conftest.$ac_ext
2399 cat >>conftest.$ac_ext <<_ACEOF
2400 /* end confdefs.h. */
2403 main ()
2407 return 0;
2409 _ACEOF
2410 rm -f conftest.$ac_objext
2411 if { (ac_try="$ac_compile"
2412 case "(($ac_try" in
2413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2414 *) ac_try_echo=$ac_try;;
2415 esac
2416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2417 (eval "$ac_compile") 2>conftest.er1
2418 ac_status=$?
2419 grep -v '^ *+' conftest.er1 >conftest.err
2420 rm -f conftest.er1
2421 cat conftest.err >&5
2422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); } && {
2424 test -z "$ac_c_werror_flag" ||
2425 test ! -s conftest.err
2426 } && test -s conftest.$ac_objext; then
2427 ac_cv_prog_cc_g=yes
2428 else
2429 echo "$as_me: failed program was:" >&5
2430 sed 's/^/| /' conftest.$ac_ext >&5
2435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2442 ac_c_werror_flag=$ac_save_c_werror_flag
2444 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2445 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2446 if test "$ac_test_CFLAGS" = set; then
2447 CFLAGS=$ac_save_CFLAGS
2448 elif test $ac_cv_prog_cc_g = yes; then
2449 if test "$GCC" = yes; then
2450 CFLAGS="-g -O2"
2451 else
2452 CFLAGS="-g"
2454 else
2455 if test "$GCC" = yes; then
2456 CFLAGS="-O2"
2457 else
2458 CFLAGS=
2461 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2462 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2463 if test "${ac_cv_prog_cc_c89+set}" = set; then
2464 echo $ECHO_N "(cached) $ECHO_C" >&6
2465 else
2466 ac_cv_prog_cc_c89=no
2467 ac_save_CC=$CC
2468 cat >conftest.$ac_ext <<_ACEOF
2469 /* confdefs.h. */
2470 _ACEOF
2471 cat confdefs.h >>conftest.$ac_ext
2472 cat >>conftest.$ac_ext <<_ACEOF
2473 /* end confdefs.h. */
2474 #include <stdarg.h>
2475 #include <stdio.h>
2476 #include <sys/types.h>
2477 #include <sys/stat.h>
2478 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2479 struct buf { int x; };
2480 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2481 static char *e (p, i)
2482 char **p;
2483 int i;
2485 return p[i];
2487 static char *f (char * (*g) (char **, int), char **p, ...)
2489 char *s;
2490 va_list v;
2491 va_start (v,p);
2492 s = g (p, va_arg (v,int));
2493 va_end (v);
2494 return s;
2497 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2498 function prototypes and stuff, but not '\xHH' hex character constants.
2499 These don't provoke an error unfortunately, instead are silently treated
2500 as 'x'. The following induces an error, until -std is added to get
2501 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2502 array size at least. It's necessary to write '\x00'==0 to get something
2503 that's true only with -std. */
2504 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2506 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2507 inside strings and character constants. */
2508 #define FOO(x) 'x'
2509 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2511 int test (int i, double x);
2512 struct s1 {int (*f) (int a);};
2513 struct s2 {int (*f) (double a);};
2514 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2515 int argc;
2516 char **argv;
2518 main ()
2520 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2522 return 0;
2524 _ACEOF
2525 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2526 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2528 CC="$ac_save_CC $ac_arg"
2529 rm -f conftest.$ac_objext
2530 if { (ac_try="$ac_compile"
2531 case "(($ac_try" in
2532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2533 *) ac_try_echo=$ac_try;;
2534 esac
2535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2536 (eval "$ac_compile") 2>conftest.er1
2537 ac_status=$?
2538 grep -v '^ *+' conftest.er1 >conftest.err
2539 rm -f conftest.er1
2540 cat conftest.err >&5
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); } && {
2543 test -z "$ac_c_werror_flag" ||
2544 test ! -s conftest.err
2545 } && test -s conftest.$ac_objext; then
2546 ac_cv_prog_cc_c89=$ac_arg
2547 else
2548 echo "$as_me: failed program was:" >&5
2549 sed 's/^/| /' conftest.$ac_ext >&5
2554 rm -f core conftest.err conftest.$ac_objext
2555 test "x$ac_cv_prog_cc_c89" != "xno" && break
2556 done
2557 rm -f conftest.$ac_ext
2558 CC=$ac_save_CC
2561 # AC_CACHE_VAL
2562 case "x$ac_cv_prog_cc_c89" in
2564 { echo "$as_me:$LINENO: result: none needed" >&5
2565 echo "${ECHO_T}none needed" >&6; } ;;
2566 xno)
2567 { echo "$as_me:$LINENO: result: unsupported" >&5
2568 echo "${ECHO_T}unsupported" >&6; } ;;
2570 CC="$CC $ac_cv_prog_cc_c89"
2571 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2572 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2573 esac
2576 ac_ext=c
2577 ac_cpp='$CPP $CPPFLAGS'
2578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2582 ac_aux_dir=
2583 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2584 if test -f "$ac_dir/install-sh"; then
2585 ac_aux_dir=$ac_dir
2586 ac_install_sh="$ac_aux_dir/install-sh -c"
2587 break
2588 elif test -f "$ac_dir/install.sh"; then
2589 ac_aux_dir=$ac_dir
2590 ac_install_sh="$ac_aux_dir/install.sh -c"
2591 break
2592 elif test -f "$ac_dir/shtool"; then
2593 ac_aux_dir=$ac_dir
2594 ac_install_sh="$ac_aux_dir/shtool install -c"
2595 break
2597 done
2598 if test -z "$ac_aux_dir"; then
2599 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2600 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2601 { (exit 1); exit 1; }; }
2604 # These three variables are undocumented and unsupported,
2605 # and are intended to be withdrawn in a future Autoconf release.
2606 # They can cause serious problems if a builder's source tree is in a directory
2607 # whose full name contains unusual characters.
2608 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2609 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2610 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2613 # Find a good install program. We prefer a C program (faster),
2614 # so one script is as good as another. But avoid the broken or
2615 # incompatible versions:
2616 # SysV /etc/install, /usr/sbin/install
2617 # SunOS /usr/etc/install
2618 # IRIX /sbin/install
2619 # AIX /bin/install
2620 # AmigaOS /C/install, which installs bootblocks on floppy discs
2621 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2622 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2623 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2624 # OS/2's system install, which has a completely different semantic
2625 # ./install, which can be erroneously created by make from ./install.sh.
2626 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2627 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2628 if test -z "$INSTALL"; then
2629 if test "${ac_cv_path_install+set}" = set; then
2630 echo $ECHO_N "(cached) $ECHO_C" >&6
2631 else
2632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2633 for as_dir in $PATH
2635 IFS=$as_save_IFS
2636 test -z "$as_dir" && as_dir=.
2637 # Account for people who put trailing slashes in PATH elements.
2638 case $as_dir/ in
2639 ./ | .// | /cC/* | \
2640 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2641 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2642 /usr/ucb/* ) ;;
2644 # OSF1 and SCO ODT 3.0 have their own names for install.
2645 # Don't use installbsd from OSF since it installs stuff as root
2646 # by default.
2647 for ac_prog in ginstall scoinst install; do
2648 for ac_exec_ext in '' $ac_executable_extensions; do
2649 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2650 if test $ac_prog = install &&
2651 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2652 # AIX install. It has an incompatible calling convention.
2654 elif test $ac_prog = install &&
2655 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2656 # program-specific install script used by HP pwplus--don't use.
2658 else
2659 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2660 break 3
2663 done
2664 done
2666 esac
2667 done
2668 IFS=$as_save_IFS
2672 if test "${ac_cv_path_install+set}" = set; then
2673 INSTALL=$ac_cv_path_install
2674 else
2675 # As a last resort, use the slow shell script. Don't cache a
2676 # value for INSTALL within a source directory, because that will
2677 # break other packages using the cache if that directory is
2678 # removed, or if the value is a relative name.
2679 INSTALL=$ac_install_sh
2682 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2683 echo "${ECHO_T}$INSTALL" >&6; }
2685 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2686 # It thinks the first close brace ends the variable substitution.
2687 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2689 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2691 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2693 # checking for ocamlc
2694 # Extract the first word of "ocamlc", so it can be a program name with args.
2695 set dummy ocamlc; ac_word=$2
2696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2698 if test "${ac_cv_prog_OCAMLC+set}" = set; then
2699 echo $ECHO_N "(cached) $ECHO_C" >&6
2700 else
2701 if test -n "$OCAMLC"; then
2702 ac_cv_prog_OCAMLC="$OCAMLC" # Let the user override the test.
2703 else
2704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2705 for as_dir in $PATH
2707 IFS=$as_save_IFS
2708 test -z "$as_dir" && as_dir=.
2709 for ac_exec_ext in '' $ac_executable_extensions; do
2710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2711 ac_cv_prog_OCAMLC="ocamlc"
2712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2713 break 2
2715 done
2716 done
2717 IFS=$as_save_IFS
2719 test -z "$ac_cv_prog_OCAMLC" && ac_cv_prog_OCAMLC="{ { echo "$as_me:$LINENO: error: Cannot find ocamlc." >&5
2720 echo "$as_me: error: Cannot find ocamlc." >&2;}
2721 { (exit 1); exit 1; }; }"
2724 OCAMLC=$ac_cv_prog_OCAMLC
2725 if test -n "$OCAMLC"; then
2726 { echo "$as_me:$LINENO: result: $OCAMLC" >&5
2727 echo "${ECHO_T}$OCAMLC" >&6; }
2728 else
2729 { echo "$as_me:$LINENO: result: no" >&5
2730 echo "${ECHO_T}no" >&6; }
2734 OCAMLVERSION=`$OCAMLC -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
2735 { echo "$as_me:$LINENO: result: OCaml version is $OCAMLVERSION" >&5
2736 echo "${ECHO_T}OCaml version is $OCAMLVERSION" >&6; }
2737 OCAMLLIB=`$OCAMLC -where 2>/dev/null || $OCAMLC -v|tail -1|cut -d ' ' -f 4`
2738 { echo "$as_me:$LINENO: result: OCaml library path is $OCAMLLIB" >&5
2739 echo "${ECHO_T}OCaml library path is $OCAMLLIB" >&6; }
2740 # checking for ocamlopt
2741 # Extract the first word of "ocamlopt", so it can be a program name with args.
2742 set dummy ocamlopt; ac_word=$2
2743 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2745 if test "${ac_cv_prog_OCAMLOPT+set}" = set; then
2746 echo $ECHO_N "(cached) $ECHO_C" >&6
2747 else
2748 if test -n "$OCAMLOPT"; then
2749 ac_cv_prog_OCAMLOPT="$OCAMLOPT" # Let the user override the test.
2750 else
2751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2752 for as_dir in $PATH
2754 IFS=$as_save_IFS
2755 test -z "$as_dir" && as_dir=.
2756 for ac_exec_ext in '' $ac_executable_extensions; do
2757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2758 ac_cv_prog_OCAMLOPT="ocamlopt"
2759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2760 break 2
2762 done
2763 done
2764 IFS=$as_save_IFS
2768 OCAMLOPT=$ac_cv_prog_OCAMLOPT
2769 if test -n "$OCAMLOPT"; then
2770 { echo "$as_me:$LINENO: result: $OCAMLOPT" >&5
2771 echo "${ECHO_T}$OCAMLOPT" >&6; }
2772 else
2773 { echo "$as_me:$LINENO: result: no" >&5
2774 echo "${ECHO_T}no" >&6; }
2778 OCAMLBEST=byte
2779 if test -z "$OCAMLOPT"; then
2780 { echo "$as_me:$LINENO: WARNING: Cannot find ocamlopt; bytecode compilation only." >&5
2781 echo "$as_me: WARNING: Cannot find ocamlopt; bytecode compilation only." >&2;}
2782 else
2783 TMPVERSION=`$OCAMLOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
2784 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
2785 { echo "$as_me:$LINENO: result: versions differs from ocamlc; ocamlopt discarded." >&5
2786 echo "${ECHO_T}versions differs from ocamlc; ocamlopt discarded." >&6; }
2787 unset OCAMLOPT
2788 else
2789 OCAMLBEST=opt
2792 # checking for ocamlc.opt
2793 # Extract the first word of "ocamlc.opt", so it can be a program name with args.
2794 set dummy ocamlc.opt; ac_word=$2
2795 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2797 if test "${ac_cv_prog_OCAMLCDOTOPT+set}" = set; then
2798 echo $ECHO_N "(cached) $ECHO_C" >&6
2799 else
2800 if test -n "$OCAMLCDOTOPT"; then
2801 ac_cv_prog_OCAMLCDOTOPT="$OCAMLCDOTOPT" # Let the user override the test.
2802 else
2803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2804 for as_dir in $PATH
2806 IFS=$as_save_IFS
2807 test -z "$as_dir" && as_dir=.
2808 for ac_exec_ext in '' $ac_executable_extensions; do
2809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2810 ac_cv_prog_OCAMLCDOTOPT="ocamlc.opt"
2811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2812 break 2
2814 done
2815 done
2816 IFS=$as_save_IFS
2820 OCAMLCDOTOPT=$ac_cv_prog_OCAMLCDOTOPT
2821 if test -n "$OCAMLCDOTOPT"; then
2822 { echo "$as_me:$LINENO: result: $OCAMLCDOTOPT" >&5
2823 echo "${ECHO_T}$OCAMLCDOTOPT" >&6; }
2824 else
2825 { echo "$as_me:$LINENO: result: no" >&5
2826 echo "${ECHO_T}no" >&6; }
2830 if test -z "$OCAMLCDOTOPT"; then
2831 TMPVERSION=`$OCAMLCDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
2832 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
2833 { echo "$as_me:$LINENO: result: versions differs from ocamlc; ocamlc.opt discarded." >&5
2834 echo "${ECHO_T}versions differs from ocamlc; ocamlc.opt discarded." >&6; }
2835 else
2836 OCAMLC=$OCAMLCDOTOPT
2839 # checking for ocamlopt.opt
2840 if test "$OCAMLOPT" ; then
2841 # Extract the first word of "ocamlopt.opt", so it can be a program name with args.
2842 set dummy ocamlopt.opt; ac_word=$2
2843 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2845 if test "${ac_cv_prog_OCAMLOPTDOTOPT+set}" = set; then
2846 echo $ECHO_N "(cached) $ECHO_C" >&6
2847 else
2848 if test -n "$OCAMLOPTDOTOPT"; then
2849 ac_cv_prog_OCAMLOPTDOTOPT="$OCAMLOPTDOTOPT" # Let the user override the test.
2850 else
2851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2852 for as_dir in $PATH
2854 IFS=$as_save_IFS
2855 test -z "$as_dir" && as_dir=.
2856 for ac_exec_ext in '' $ac_executable_extensions; do
2857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2858 ac_cv_prog_OCAMLOPTDOTOPT="ocamlopt.opt"
2859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2860 break 2
2862 done
2863 done
2864 IFS=$as_save_IFS
2868 OCAMLOPTDOTOPT=$ac_cv_prog_OCAMLOPTDOTOPT
2869 if test -n "$OCAMLOPTDOTOPT"; then
2870 { echo "$as_me:$LINENO: result: $OCAMLOPTDOTOPT" >&5
2871 echo "${ECHO_T}$OCAMLOPTDOTOPT" >&6; }
2872 else
2873 { echo "$as_me:$LINENO: result: no" >&5
2874 echo "${ECHO_T}no" >&6; }
2878 if test "$OCAMLOPTDOTOPT"; then
2879 TMPVER=`$OCAMLOPTDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
2880 if test "$TMPVER" != "$OCAMLVERSION" ; then
2881 { echo "$as_me:$LINENO: result: version differs from ocamlc; ocamlopt.opt discarded." >&5
2882 echo "${ECHO_T}version differs from ocamlc; ocamlopt.opt discarded." >&6; }
2883 else
2884 OCAMLOPT=$OCAMLOPTDOTOPT
2888 # checking for ocamldep
2889 # Extract the first word of "ocamldep", so it can be a program name with args.
2890 set dummy ocamldep; ac_word=$2
2891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2893 if test "${ac_cv_prog_OCAMLDEP+set}" = set; then
2894 echo $ECHO_N "(cached) $ECHO_C" >&6
2895 else
2896 if test -n "$OCAMLDEP"; then
2897 ac_cv_prog_OCAMLDEP="$OCAMLDEP" # Let the user override the test.
2898 else
2899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2900 for as_dir in $PATH
2902 IFS=$as_save_IFS
2903 test -z "$as_dir" && as_dir=.
2904 for ac_exec_ext in '' $ac_executable_extensions; do
2905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2906 ac_cv_prog_OCAMLDEP="ocamldep"
2907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2908 break 2
2910 done
2911 done
2912 IFS=$as_save_IFS
2914 test -z "$ac_cv_prog_OCAMLDEP" && ac_cv_prog_OCAMLDEP="{ { echo "$as_me:$LINENO: error: Cannot find ocamldep." >&5
2915 echo "$as_me: error: Cannot find ocamldep." >&2;}
2916 { (exit 1); exit 1; }; }"
2919 OCAMLDEP=$ac_cv_prog_OCAMLDEP
2920 if test -n "$OCAMLDEP"; then
2921 { echo "$as_me:$LINENO: result: $OCAMLDEP" >&5
2922 echo "${ECHO_T}$OCAMLDEP" >&6; }
2923 else
2924 { echo "$as_me:$LINENO: result: no" >&5
2925 echo "${ECHO_T}no" >&6; }
2930 #checking for ocamlmktop
2931 # Extract the first word of "ocamlmktop", so it can be a program name with args.
2932 set dummy ocamlmktop; ac_word=$2
2933 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2935 if test "${ac_cv_prog_OCAMLMKTOP+set}" = set; then
2936 echo $ECHO_N "(cached) $ECHO_C" >&6
2937 else
2938 if test -n "$OCAMLMKTOP"; then
2939 ac_cv_prog_OCAMLMKTOP="$OCAMLMKTOP" # Let the user override the test.
2940 else
2941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2942 for as_dir in $PATH
2944 IFS=$as_save_IFS
2945 test -z "$as_dir" && as_dir=.
2946 for ac_exec_ext in '' $ac_executable_extensions; do
2947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2948 ac_cv_prog_OCAMLMKTOP="ocamlmktop"
2949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2950 break 2
2952 done
2953 done
2954 IFS=$as_save_IFS
2956 test -z "$ac_cv_prog_OCAMLMKTOP" && ac_cv_prog_OCAMLMKTOP="{ echo "$as_me:$LINENO: WARNING: Cannot find ocamlmktop." >&5
2957 echo "$as_me: WARNING: Cannot find ocamlmktop." >&2;}"
2960 OCAMLMKTOP=$ac_cv_prog_OCAMLMKTOP
2961 if test -n "$OCAMLMKTOP"; then
2962 { echo "$as_me:$LINENO: result: $OCAMLMKTOP" >&5
2963 echo "${ECHO_T}$OCAMLMKTOP" >&6; }
2964 else
2965 { echo "$as_me:$LINENO: result: no" >&5
2966 echo "${ECHO_T}no" >&6; }
2970 #checking for ocamlmklib
2971 # Extract the first word of "ocamlmklib", so it can be a program name with args.
2972 set dummy ocamlmklib; ac_word=$2
2973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2975 if test "${ac_cv_prog_OCAMLMKLIB+set}" = set; then
2976 echo $ECHO_N "(cached) $ECHO_C" >&6
2977 else
2978 if test -n "$OCAMLMKLIB"; then
2979 ac_cv_prog_OCAMLMKLIB="$OCAMLMKLIB" # Let the user override the test.
2980 else
2981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2982 for as_dir in $PATH
2984 IFS=$as_save_IFS
2985 test -z "$as_dir" && as_dir=.
2986 for ac_exec_ext in '' $ac_executable_extensions; do
2987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2988 ac_cv_prog_OCAMLMKLIB="ocamlmklib"
2989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2990 break 2
2992 done
2993 done
2994 IFS=$as_save_IFS
2996 test -z "$ac_cv_prog_OCAMLMKLIB" && ac_cv_prog_OCAMLMKLIB="{ echo "$as_me:$LINENO: WARNING: Cannot find ocamlmklib." >&5
2997 echo "$as_me: WARNING: Cannot find ocamlmklib." >&2;}"
3000 OCAMLMKLIB=$ac_cv_prog_OCAMLMKLIB
3001 if test -n "$OCAMLMKLIB"; then
3002 { echo "$as_me:$LINENO: result: $OCAMLMKLIB" >&5
3003 echo "${ECHO_T}$OCAMLMKLIB" >&6; }
3004 else
3005 { echo "$as_me:$LINENO: result: no" >&5
3006 echo "${ECHO_T}no" >&6; }
3010 # checking for ocamldoc
3011 # Extract the first word of "ocamldoc", so it can be a program name with args.
3012 set dummy ocamldoc; ac_word=$2
3013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3015 if test "${ac_cv_prog_OCAMLDOC+set}" = set; then
3016 echo $ECHO_N "(cached) $ECHO_C" >&6
3017 else
3018 if test -n "$OCAMLDOC"; then
3019 ac_cv_prog_OCAMLDOC="$OCAMLDOC" # Let the user override the test.
3020 else
3021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3022 for as_dir in $PATH
3024 IFS=$as_save_IFS
3025 test -z "$as_dir" && as_dir=.
3026 for ac_exec_ext in '' $ac_executable_extensions; do
3027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3028 ac_cv_prog_OCAMLDOC="ocamldoc"
3029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3030 break 2
3032 done
3033 done
3034 IFS=$as_save_IFS
3036 test -z "$ac_cv_prog_OCAMLDOC" && ac_cv_prog_OCAMLDOC="{ echo "$as_me:$LINENO: WARNING: Cannot find ocamldoc." >&5
3037 echo "$as_me: WARNING: Cannot find ocamldoc." >&2;}"
3040 OCAMLDOC=$ac_cv_prog_OCAMLDOC
3041 if test -n "$OCAMLDOC"; then
3042 { echo "$as_me:$LINENO: result: $OCAMLDOC" >&5
3043 echo "${ECHO_T}$OCAMLDOC" >&6; }
3044 else
3045 { echo "$as_me:$LINENO: result: no" >&5
3046 echo "${ECHO_T}no" >&6; }
3062 # Check whether --with-findlib was given.
3063 if test "${with_findlib+set}" = set; then
3064 withval=$with_findlib; use_findlib="$withval"
3067 # checking for ocamlfind
3068 if test "$use_findlib" ; then
3069 # Extract the first word of "ocamlfind", so it can be a program name with args.
3070 set dummy ocamlfind; ac_word=$2
3071 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3073 if test "${ac_cv_prog_OCAMLFIND+set}" = set; then
3074 echo $ECHO_N "(cached) $ECHO_C" >&6
3075 else
3076 if test -n "$OCAMLFIND"; then
3077 ac_cv_prog_OCAMLFIND="$OCAMLFIND" # Let the user override the test.
3078 else
3079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3080 for as_dir in $PATH
3082 IFS=$as_save_IFS
3083 test -z "$as_dir" && as_dir=.
3084 for ac_exec_ext in '' $ac_executable_extensions; do
3085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3086 ac_cv_prog_OCAMLFIND="ocamlfind"
3087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3088 break 2
3090 done
3091 done
3092 IFS=$as_save_IFS
3094 test -z "$ac_cv_prog_OCAMLFIND" && ac_cv_prog_OCAMLFIND="{ { echo "$as_me:$LINENO: error: ocamlfind not found" >&5
3095 echo "$as_me: error: ocamlfind not found" >&2;}
3096 { (exit 1); exit 1; }; }"
3099 OCAMLFIND=$ac_cv_prog_OCAMLFIND
3100 if test -n "$OCAMLFIND"; then
3101 { echo "$as_me:$LINENO: result: $OCAMLFIND" >&5
3102 echo "${ECHO_T}$OCAMLFIND" >&6; }
3103 else
3104 { echo "$as_me:$LINENO: result: no" >&5
3105 echo "${ECHO_T}no" >&6; }
3109 else
3110 OCAMLFIND=""
3115 INSTALLDIR=$OCAMLLIB/curl
3117 if test "x$prefix" = xNONE; then
3118 echo $ECHO_N "checking for prefix by $ECHO_C" >&6
3119 # Extract the first word of "ocamlc", so it can be a program name with args.
3120 set dummy ocamlc; ac_word=$2
3121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3123 if test "${ac_cv_path_ac_prefix_program+set}" = set; then
3124 echo $ECHO_N "(cached) $ECHO_C" >&6
3125 else
3126 case $ac_prefix_program in
3127 [\\/]* | ?:[\\/]*)
3128 ac_cv_path_ac_prefix_program="$ac_prefix_program" # Let the user override the test with a path.
3131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3132 for as_dir in $PATH
3134 IFS=$as_save_IFS
3135 test -z "$as_dir" && as_dir=.
3136 for ac_exec_ext in '' $ac_executable_extensions; do
3137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3138 ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
3139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3140 break 2
3142 done
3143 done
3144 IFS=$as_save_IFS
3147 esac
3149 ac_prefix_program=$ac_cv_path_ac_prefix_program
3150 if test -n "$ac_prefix_program"; then
3151 { echo "$as_me:$LINENO: result: $ac_prefix_program" >&5
3152 echo "${ECHO_T}$ac_prefix_program" >&6; }
3153 else
3154 { echo "$as_me:$LINENO: result: no" >&5
3155 echo "${ECHO_T}no" >&6; }
3159 if test -n "$ac_prefix_program"; then
3160 prefix=`$as_dirname -- "$ac_prefix_program" ||
3161 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3162 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
3163 X"$ac_prefix_program" : 'X\(//\)$' \| \
3164 X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
3165 echo X"$ac_prefix_program" |
3166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3167 s//\1/
3170 /^X\(\/\/\)[^/].*/{
3171 s//\1/
3174 /^X\(\/\/\)$/{
3175 s//\1/
3178 /^X\(\/\).*/{
3179 s//\1/
3182 s/.*/./; q'`
3183 prefix=`$as_dirname -- "$prefix" ||
3184 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3185 X"$prefix" : 'X\(//\)[^/]' \| \
3186 X"$prefix" : 'X\(//\)$' \| \
3187 X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
3188 echo X"$prefix" |
3189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3190 s//\1/
3193 /^X\(\/\/\)[^/].*/{
3194 s//\1/
3197 /^X\(\/\/\)$/{
3198 s//\1/
3201 /^X\(\/\).*/{
3202 s//\1/
3205 s/.*/./; q'`
3218 { echo "$as_me:$LINENO: checking whether CURLOPT_FILE is declared" >&5
3219 echo $ECHO_N "checking whether CURLOPT_FILE is declared... $ECHO_C" >&6; }
3220 if test "${ac_cv_have_decl_CURLOPT_FILE+set}" = set; then
3221 echo $ECHO_N "(cached) $ECHO_C" >&6
3222 else
3223 cat >conftest.$ac_ext <<_ACEOF
3224 /* confdefs.h. */
3225 _ACEOF
3226 cat confdefs.h >>conftest.$ac_ext
3227 cat >>conftest.$ac_ext <<_ACEOF
3228 /* end confdefs.h. */
3230 #include "curl/curl.h"
3234 main ()
3236 #ifndef CURLOPT_FILE
3237 (void) CURLOPT_FILE;
3238 #endif
3241 return 0;
3243 _ACEOF
3244 rm -f conftest.$ac_objext
3245 if { (ac_try="$ac_compile"
3246 case "(($ac_try" in
3247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3248 *) ac_try_echo=$ac_try;;
3249 esac
3250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3251 (eval "$ac_compile") 2>conftest.er1
3252 ac_status=$?
3253 grep -v '^ *+' conftest.er1 >conftest.err
3254 rm -f conftest.er1
3255 cat conftest.err >&5
3256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3257 (exit $ac_status); } && {
3258 test -z "$ac_c_werror_flag" ||
3259 test ! -s conftest.err
3260 } && test -s conftest.$ac_objext; then
3261 ac_cv_have_decl_CURLOPT_FILE=yes
3262 else
3263 echo "$as_me: failed program was:" >&5
3264 sed 's/^/| /' conftest.$ac_ext >&5
3266 ac_cv_have_decl_CURLOPT_FILE=no
3269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3271 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_FILE" >&5
3272 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_FILE" >&6; }
3273 if test $ac_cv_have_decl_CURLOPT_FILE = yes; then
3275 cat >>confdefs.h <<_ACEOF
3276 #define HAVE_DECL_CURLOPT_FILE 1
3277 _ACEOF
3280 else
3281 cat >>confdefs.h <<_ACEOF
3282 #define HAVE_DECL_CURLOPT_FILE 0
3283 _ACEOF
3287 { echo "$as_me:$LINENO: checking whether CURLOPT_URL is declared" >&5
3288 echo $ECHO_N "checking whether CURLOPT_URL is declared... $ECHO_C" >&6; }
3289 if test "${ac_cv_have_decl_CURLOPT_URL+set}" = set; then
3290 echo $ECHO_N "(cached) $ECHO_C" >&6
3291 else
3292 cat >conftest.$ac_ext <<_ACEOF
3293 /* confdefs.h. */
3294 _ACEOF
3295 cat confdefs.h >>conftest.$ac_ext
3296 cat >>conftest.$ac_ext <<_ACEOF
3297 /* end confdefs.h. */
3299 #include "curl/curl.h"
3303 main ()
3305 #ifndef CURLOPT_URL
3306 (void) CURLOPT_URL;
3307 #endif
3310 return 0;
3312 _ACEOF
3313 rm -f conftest.$ac_objext
3314 if { (ac_try="$ac_compile"
3315 case "(($ac_try" in
3316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3317 *) ac_try_echo=$ac_try;;
3318 esac
3319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3320 (eval "$ac_compile") 2>conftest.er1
3321 ac_status=$?
3322 grep -v '^ *+' conftest.er1 >conftest.err
3323 rm -f conftest.er1
3324 cat conftest.err >&5
3325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3326 (exit $ac_status); } && {
3327 test -z "$ac_c_werror_flag" ||
3328 test ! -s conftest.err
3329 } && test -s conftest.$ac_objext; then
3330 ac_cv_have_decl_CURLOPT_URL=yes
3331 else
3332 echo "$as_me: failed program was:" >&5
3333 sed 's/^/| /' conftest.$ac_ext >&5
3335 ac_cv_have_decl_CURLOPT_URL=no
3338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3340 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_URL" >&5
3341 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_URL" >&6; }
3342 if test $ac_cv_have_decl_CURLOPT_URL = yes; then
3344 cat >>confdefs.h <<_ACEOF
3345 #define HAVE_DECL_CURLOPT_URL 1
3346 _ACEOF
3349 else
3350 cat >>confdefs.h <<_ACEOF
3351 #define HAVE_DECL_CURLOPT_URL 0
3352 _ACEOF
3356 { echo "$as_me:$LINENO: checking whether CURLOPT_PORT is declared" >&5
3357 echo $ECHO_N "checking whether CURLOPT_PORT is declared... $ECHO_C" >&6; }
3358 if test "${ac_cv_have_decl_CURLOPT_PORT+set}" = set; then
3359 echo $ECHO_N "(cached) $ECHO_C" >&6
3360 else
3361 cat >conftest.$ac_ext <<_ACEOF
3362 /* confdefs.h. */
3363 _ACEOF
3364 cat confdefs.h >>conftest.$ac_ext
3365 cat >>conftest.$ac_ext <<_ACEOF
3366 /* end confdefs.h. */
3368 #include "curl/curl.h"
3372 main ()
3374 #ifndef CURLOPT_PORT
3375 (void) CURLOPT_PORT;
3376 #endif
3379 return 0;
3381 _ACEOF
3382 rm -f conftest.$ac_objext
3383 if { (ac_try="$ac_compile"
3384 case "(($ac_try" in
3385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3386 *) ac_try_echo=$ac_try;;
3387 esac
3388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3389 (eval "$ac_compile") 2>conftest.er1
3390 ac_status=$?
3391 grep -v '^ *+' conftest.er1 >conftest.err
3392 rm -f conftest.er1
3393 cat conftest.err >&5
3394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3395 (exit $ac_status); } && {
3396 test -z "$ac_c_werror_flag" ||
3397 test ! -s conftest.err
3398 } && test -s conftest.$ac_objext; then
3399 ac_cv_have_decl_CURLOPT_PORT=yes
3400 else
3401 echo "$as_me: failed program was:" >&5
3402 sed 's/^/| /' conftest.$ac_ext >&5
3404 ac_cv_have_decl_CURLOPT_PORT=no
3407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3409 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_PORT" >&5
3410 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_PORT" >&6; }
3411 if test $ac_cv_have_decl_CURLOPT_PORT = yes; then
3413 cat >>confdefs.h <<_ACEOF
3414 #define HAVE_DECL_CURLOPT_PORT 1
3415 _ACEOF
3418 else
3419 cat >>confdefs.h <<_ACEOF
3420 #define HAVE_DECL_CURLOPT_PORT 0
3421 _ACEOF
3425 { echo "$as_me:$LINENO: checking whether CURLOPT_PROXY is declared" >&5
3426 echo $ECHO_N "checking whether CURLOPT_PROXY is declared... $ECHO_C" >&6; }
3427 if test "${ac_cv_have_decl_CURLOPT_PROXY+set}" = set; then
3428 echo $ECHO_N "(cached) $ECHO_C" >&6
3429 else
3430 cat >conftest.$ac_ext <<_ACEOF
3431 /* confdefs.h. */
3432 _ACEOF
3433 cat confdefs.h >>conftest.$ac_ext
3434 cat >>conftest.$ac_ext <<_ACEOF
3435 /* end confdefs.h. */
3437 #include "curl/curl.h"
3441 main ()
3443 #ifndef CURLOPT_PROXY
3444 (void) CURLOPT_PROXY;
3445 #endif
3448 return 0;
3450 _ACEOF
3451 rm -f conftest.$ac_objext
3452 if { (ac_try="$ac_compile"
3453 case "(($ac_try" in
3454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3455 *) ac_try_echo=$ac_try;;
3456 esac
3457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3458 (eval "$ac_compile") 2>conftest.er1
3459 ac_status=$?
3460 grep -v '^ *+' conftest.er1 >conftest.err
3461 rm -f conftest.er1
3462 cat conftest.err >&5
3463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3464 (exit $ac_status); } && {
3465 test -z "$ac_c_werror_flag" ||
3466 test ! -s conftest.err
3467 } && test -s conftest.$ac_objext; then
3468 ac_cv_have_decl_CURLOPT_PROXY=yes
3469 else
3470 echo "$as_me: failed program was:" >&5
3471 sed 's/^/| /' conftest.$ac_ext >&5
3473 ac_cv_have_decl_CURLOPT_PROXY=no
3476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3478 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_PROXY" >&5
3479 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_PROXY" >&6; }
3480 if test $ac_cv_have_decl_CURLOPT_PROXY = yes; then
3482 cat >>confdefs.h <<_ACEOF
3483 #define HAVE_DECL_CURLOPT_PROXY 1
3484 _ACEOF
3487 else
3488 cat >>confdefs.h <<_ACEOF
3489 #define HAVE_DECL_CURLOPT_PROXY 0
3490 _ACEOF
3494 { echo "$as_me:$LINENO: checking whether CURLOPT_USERPWD is declared" >&5
3495 echo $ECHO_N "checking whether CURLOPT_USERPWD is declared... $ECHO_C" >&6; }
3496 if test "${ac_cv_have_decl_CURLOPT_USERPWD+set}" = set; then
3497 echo $ECHO_N "(cached) $ECHO_C" >&6
3498 else
3499 cat >conftest.$ac_ext <<_ACEOF
3500 /* confdefs.h. */
3501 _ACEOF
3502 cat confdefs.h >>conftest.$ac_ext
3503 cat >>conftest.$ac_ext <<_ACEOF
3504 /* end confdefs.h. */
3506 #include "curl/curl.h"
3510 main ()
3512 #ifndef CURLOPT_USERPWD
3513 (void) CURLOPT_USERPWD;
3514 #endif
3517 return 0;
3519 _ACEOF
3520 rm -f conftest.$ac_objext
3521 if { (ac_try="$ac_compile"
3522 case "(($ac_try" in
3523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3524 *) ac_try_echo=$ac_try;;
3525 esac
3526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3527 (eval "$ac_compile") 2>conftest.er1
3528 ac_status=$?
3529 grep -v '^ *+' conftest.er1 >conftest.err
3530 rm -f conftest.er1
3531 cat conftest.err >&5
3532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3533 (exit $ac_status); } && {
3534 test -z "$ac_c_werror_flag" ||
3535 test ! -s conftest.err
3536 } && test -s conftest.$ac_objext; then
3537 ac_cv_have_decl_CURLOPT_USERPWD=yes
3538 else
3539 echo "$as_me: failed program was:" >&5
3540 sed 's/^/| /' conftest.$ac_ext >&5
3542 ac_cv_have_decl_CURLOPT_USERPWD=no
3545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3547 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_USERPWD" >&5
3548 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_USERPWD" >&6; }
3549 if test $ac_cv_have_decl_CURLOPT_USERPWD = yes; then
3551 cat >>confdefs.h <<_ACEOF
3552 #define HAVE_DECL_CURLOPT_USERPWD 1
3553 _ACEOF
3556 else
3557 cat >>confdefs.h <<_ACEOF
3558 #define HAVE_DECL_CURLOPT_USERPWD 0
3559 _ACEOF
3563 { echo "$as_me:$LINENO: checking whether CURLOPT_PROXYUSERPWD is declared" >&5
3564 echo $ECHO_N "checking whether CURLOPT_PROXYUSERPWD is declared... $ECHO_C" >&6; }
3565 if test "${ac_cv_have_decl_CURLOPT_PROXYUSERPWD+set}" = set; then
3566 echo $ECHO_N "(cached) $ECHO_C" >&6
3567 else
3568 cat >conftest.$ac_ext <<_ACEOF
3569 /* confdefs.h. */
3570 _ACEOF
3571 cat confdefs.h >>conftest.$ac_ext
3572 cat >>conftest.$ac_ext <<_ACEOF
3573 /* end confdefs.h. */
3575 #include "curl/curl.h"
3579 main ()
3581 #ifndef CURLOPT_PROXYUSERPWD
3582 (void) CURLOPT_PROXYUSERPWD;
3583 #endif
3586 return 0;
3588 _ACEOF
3589 rm -f conftest.$ac_objext
3590 if { (ac_try="$ac_compile"
3591 case "(($ac_try" in
3592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3593 *) ac_try_echo=$ac_try;;
3594 esac
3595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3596 (eval "$ac_compile") 2>conftest.er1
3597 ac_status=$?
3598 grep -v '^ *+' conftest.er1 >conftest.err
3599 rm -f conftest.er1
3600 cat conftest.err >&5
3601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602 (exit $ac_status); } && {
3603 test -z "$ac_c_werror_flag" ||
3604 test ! -s conftest.err
3605 } && test -s conftest.$ac_objext; then
3606 ac_cv_have_decl_CURLOPT_PROXYUSERPWD=yes
3607 else
3608 echo "$as_me: failed program was:" >&5
3609 sed 's/^/| /' conftest.$ac_ext >&5
3611 ac_cv_have_decl_CURLOPT_PROXYUSERPWD=no
3614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3616 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_PROXYUSERPWD" >&5
3617 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_PROXYUSERPWD" >&6; }
3618 if test $ac_cv_have_decl_CURLOPT_PROXYUSERPWD = yes; then
3620 cat >>confdefs.h <<_ACEOF
3621 #define HAVE_DECL_CURLOPT_PROXYUSERPWD 1
3622 _ACEOF
3625 else
3626 cat >>confdefs.h <<_ACEOF
3627 #define HAVE_DECL_CURLOPT_PROXYUSERPWD 0
3628 _ACEOF
3632 { echo "$as_me:$LINENO: checking whether CURLOPT_RANGE is declared" >&5
3633 echo $ECHO_N "checking whether CURLOPT_RANGE is declared... $ECHO_C" >&6; }
3634 if test "${ac_cv_have_decl_CURLOPT_RANGE+set}" = set; then
3635 echo $ECHO_N "(cached) $ECHO_C" >&6
3636 else
3637 cat >conftest.$ac_ext <<_ACEOF
3638 /* confdefs.h. */
3639 _ACEOF
3640 cat confdefs.h >>conftest.$ac_ext
3641 cat >>conftest.$ac_ext <<_ACEOF
3642 /* end confdefs.h. */
3644 #include "curl/curl.h"
3648 main ()
3650 #ifndef CURLOPT_RANGE
3651 (void) CURLOPT_RANGE;
3652 #endif
3655 return 0;
3657 _ACEOF
3658 rm -f conftest.$ac_objext
3659 if { (ac_try="$ac_compile"
3660 case "(($ac_try" in
3661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3662 *) ac_try_echo=$ac_try;;
3663 esac
3664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3665 (eval "$ac_compile") 2>conftest.er1
3666 ac_status=$?
3667 grep -v '^ *+' conftest.er1 >conftest.err
3668 rm -f conftest.er1
3669 cat conftest.err >&5
3670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3671 (exit $ac_status); } && {
3672 test -z "$ac_c_werror_flag" ||
3673 test ! -s conftest.err
3674 } && test -s conftest.$ac_objext; then
3675 ac_cv_have_decl_CURLOPT_RANGE=yes
3676 else
3677 echo "$as_me: failed program was:" >&5
3678 sed 's/^/| /' conftest.$ac_ext >&5
3680 ac_cv_have_decl_CURLOPT_RANGE=no
3683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3685 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_RANGE" >&5
3686 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_RANGE" >&6; }
3687 if test $ac_cv_have_decl_CURLOPT_RANGE = yes; then
3689 cat >>confdefs.h <<_ACEOF
3690 #define HAVE_DECL_CURLOPT_RANGE 1
3691 _ACEOF
3694 else
3695 cat >>confdefs.h <<_ACEOF
3696 #define HAVE_DECL_CURLOPT_RANGE 0
3697 _ACEOF
3701 { echo "$as_me:$LINENO: checking whether CURLOPT_INFILE is declared" >&5
3702 echo $ECHO_N "checking whether CURLOPT_INFILE is declared... $ECHO_C" >&6; }
3703 if test "${ac_cv_have_decl_CURLOPT_INFILE+set}" = set; then
3704 echo $ECHO_N "(cached) $ECHO_C" >&6
3705 else
3706 cat >conftest.$ac_ext <<_ACEOF
3707 /* confdefs.h. */
3708 _ACEOF
3709 cat confdefs.h >>conftest.$ac_ext
3710 cat >>conftest.$ac_ext <<_ACEOF
3711 /* end confdefs.h. */
3713 #include "curl/curl.h"
3717 main ()
3719 #ifndef CURLOPT_INFILE
3720 (void) CURLOPT_INFILE;
3721 #endif
3724 return 0;
3726 _ACEOF
3727 rm -f conftest.$ac_objext
3728 if { (ac_try="$ac_compile"
3729 case "(($ac_try" in
3730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3731 *) ac_try_echo=$ac_try;;
3732 esac
3733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3734 (eval "$ac_compile") 2>conftest.er1
3735 ac_status=$?
3736 grep -v '^ *+' conftest.er1 >conftest.err
3737 rm -f conftest.er1
3738 cat conftest.err >&5
3739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3740 (exit $ac_status); } && {
3741 test -z "$ac_c_werror_flag" ||
3742 test ! -s conftest.err
3743 } && test -s conftest.$ac_objext; then
3744 ac_cv_have_decl_CURLOPT_INFILE=yes
3745 else
3746 echo "$as_me: failed program was:" >&5
3747 sed 's/^/| /' conftest.$ac_ext >&5
3749 ac_cv_have_decl_CURLOPT_INFILE=no
3752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3754 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_INFILE" >&5
3755 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_INFILE" >&6; }
3756 if test $ac_cv_have_decl_CURLOPT_INFILE = yes; then
3758 cat >>confdefs.h <<_ACEOF
3759 #define HAVE_DECL_CURLOPT_INFILE 1
3760 _ACEOF
3763 else
3764 cat >>confdefs.h <<_ACEOF
3765 #define HAVE_DECL_CURLOPT_INFILE 0
3766 _ACEOF
3770 { echo "$as_me:$LINENO: checking whether CURLOPT_ERRORBUFFER is declared" >&5
3771 echo $ECHO_N "checking whether CURLOPT_ERRORBUFFER is declared... $ECHO_C" >&6; }
3772 if test "${ac_cv_have_decl_CURLOPT_ERRORBUFFER+set}" = set; then
3773 echo $ECHO_N "(cached) $ECHO_C" >&6
3774 else
3775 cat >conftest.$ac_ext <<_ACEOF
3776 /* confdefs.h. */
3777 _ACEOF
3778 cat confdefs.h >>conftest.$ac_ext
3779 cat >>conftest.$ac_ext <<_ACEOF
3780 /* end confdefs.h. */
3782 #include "curl/curl.h"
3786 main ()
3788 #ifndef CURLOPT_ERRORBUFFER
3789 (void) CURLOPT_ERRORBUFFER;
3790 #endif
3793 return 0;
3795 _ACEOF
3796 rm -f conftest.$ac_objext
3797 if { (ac_try="$ac_compile"
3798 case "(($ac_try" in
3799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3800 *) ac_try_echo=$ac_try;;
3801 esac
3802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3803 (eval "$ac_compile") 2>conftest.er1
3804 ac_status=$?
3805 grep -v '^ *+' conftest.er1 >conftest.err
3806 rm -f conftest.er1
3807 cat conftest.err >&5
3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); } && {
3810 test -z "$ac_c_werror_flag" ||
3811 test ! -s conftest.err
3812 } && test -s conftest.$ac_objext; then
3813 ac_cv_have_decl_CURLOPT_ERRORBUFFER=yes
3814 else
3815 echo "$as_me: failed program was:" >&5
3816 sed 's/^/| /' conftest.$ac_ext >&5
3818 ac_cv_have_decl_CURLOPT_ERRORBUFFER=no
3821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3823 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_ERRORBUFFER" >&5
3824 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_ERRORBUFFER" >&6; }
3825 if test $ac_cv_have_decl_CURLOPT_ERRORBUFFER = yes; then
3827 cat >>confdefs.h <<_ACEOF
3828 #define HAVE_DECL_CURLOPT_ERRORBUFFER 1
3829 _ACEOF
3832 else
3833 cat >>confdefs.h <<_ACEOF
3834 #define HAVE_DECL_CURLOPT_ERRORBUFFER 0
3835 _ACEOF
3839 { echo "$as_me:$LINENO: checking whether CURLOPT_WRITEFUNCTION is declared" >&5
3840 echo $ECHO_N "checking whether CURLOPT_WRITEFUNCTION is declared... $ECHO_C" >&6; }
3841 if test "${ac_cv_have_decl_CURLOPT_WRITEFUNCTION+set}" = set; then
3842 echo $ECHO_N "(cached) $ECHO_C" >&6
3843 else
3844 cat >conftest.$ac_ext <<_ACEOF
3845 /* confdefs.h. */
3846 _ACEOF
3847 cat confdefs.h >>conftest.$ac_ext
3848 cat >>conftest.$ac_ext <<_ACEOF
3849 /* end confdefs.h. */
3851 #include "curl/curl.h"
3855 main ()
3857 #ifndef CURLOPT_WRITEFUNCTION
3858 (void) CURLOPT_WRITEFUNCTION;
3859 #endif
3862 return 0;
3864 _ACEOF
3865 rm -f conftest.$ac_objext
3866 if { (ac_try="$ac_compile"
3867 case "(($ac_try" in
3868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3869 *) ac_try_echo=$ac_try;;
3870 esac
3871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3872 (eval "$ac_compile") 2>conftest.er1
3873 ac_status=$?
3874 grep -v '^ *+' conftest.er1 >conftest.err
3875 rm -f conftest.er1
3876 cat conftest.err >&5
3877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3878 (exit $ac_status); } && {
3879 test -z "$ac_c_werror_flag" ||
3880 test ! -s conftest.err
3881 } && test -s conftest.$ac_objext; then
3882 ac_cv_have_decl_CURLOPT_WRITEFUNCTION=yes
3883 else
3884 echo "$as_me: failed program was:" >&5
3885 sed 's/^/| /' conftest.$ac_ext >&5
3887 ac_cv_have_decl_CURLOPT_WRITEFUNCTION=no
3890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3892 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_WRITEFUNCTION" >&5
3893 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_WRITEFUNCTION" >&6; }
3894 if test $ac_cv_have_decl_CURLOPT_WRITEFUNCTION = yes; then
3896 cat >>confdefs.h <<_ACEOF
3897 #define HAVE_DECL_CURLOPT_WRITEFUNCTION 1
3898 _ACEOF
3901 else
3902 cat >>confdefs.h <<_ACEOF
3903 #define HAVE_DECL_CURLOPT_WRITEFUNCTION 0
3904 _ACEOF
3908 { echo "$as_me:$LINENO: checking whether CURLOPT_READFUNCTION is declared" >&5
3909 echo $ECHO_N "checking whether CURLOPT_READFUNCTION is declared... $ECHO_C" >&6; }
3910 if test "${ac_cv_have_decl_CURLOPT_READFUNCTION+set}" = set; then
3911 echo $ECHO_N "(cached) $ECHO_C" >&6
3912 else
3913 cat >conftest.$ac_ext <<_ACEOF
3914 /* confdefs.h. */
3915 _ACEOF
3916 cat confdefs.h >>conftest.$ac_ext
3917 cat >>conftest.$ac_ext <<_ACEOF
3918 /* end confdefs.h. */
3920 #include "curl/curl.h"
3924 main ()
3926 #ifndef CURLOPT_READFUNCTION
3927 (void) CURLOPT_READFUNCTION;
3928 #endif
3931 return 0;
3933 _ACEOF
3934 rm -f conftest.$ac_objext
3935 if { (ac_try="$ac_compile"
3936 case "(($ac_try" in
3937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3938 *) ac_try_echo=$ac_try;;
3939 esac
3940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3941 (eval "$ac_compile") 2>conftest.er1
3942 ac_status=$?
3943 grep -v '^ *+' conftest.er1 >conftest.err
3944 rm -f conftest.er1
3945 cat conftest.err >&5
3946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3947 (exit $ac_status); } && {
3948 test -z "$ac_c_werror_flag" ||
3949 test ! -s conftest.err
3950 } && test -s conftest.$ac_objext; then
3951 ac_cv_have_decl_CURLOPT_READFUNCTION=yes
3952 else
3953 echo "$as_me: failed program was:" >&5
3954 sed 's/^/| /' conftest.$ac_ext >&5
3956 ac_cv_have_decl_CURLOPT_READFUNCTION=no
3959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3961 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_READFUNCTION" >&5
3962 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_READFUNCTION" >&6; }
3963 if test $ac_cv_have_decl_CURLOPT_READFUNCTION = yes; then
3965 cat >>confdefs.h <<_ACEOF
3966 #define HAVE_DECL_CURLOPT_READFUNCTION 1
3967 _ACEOF
3970 else
3971 cat >>confdefs.h <<_ACEOF
3972 #define HAVE_DECL_CURLOPT_READFUNCTION 0
3973 _ACEOF
3977 { echo "$as_me:$LINENO: checking whether CURLOPT_TIMEOUT is declared" >&5
3978 echo $ECHO_N "checking whether CURLOPT_TIMEOUT is declared... $ECHO_C" >&6; }
3979 if test "${ac_cv_have_decl_CURLOPT_TIMEOUT+set}" = set; then
3980 echo $ECHO_N "(cached) $ECHO_C" >&6
3981 else
3982 cat >conftest.$ac_ext <<_ACEOF
3983 /* confdefs.h. */
3984 _ACEOF
3985 cat confdefs.h >>conftest.$ac_ext
3986 cat >>conftest.$ac_ext <<_ACEOF
3987 /* end confdefs.h. */
3989 #include "curl/curl.h"
3993 main ()
3995 #ifndef CURLOPT_TIMEOUT
3996 (void) CURLOPT_TIMEOUT;
3997 #endif
4000 return 0;
4002 _ACEOF
4003 rm -f conftest.$ac_objext
4004 if { (ac_try="$ac_compile"
4005 case "(($ac_try" in
4006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4007 *) ac_try_echo=$ac_try;;
4008 esac
4009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4010 (eval "$ac_compile") 2>conftest.er1
4011 ac_status=$?
4012 grep -v '^ *+' conftest.er1 >conftest.err
4013 rm -f conftest.er1
4014 cat conftest.err >&5
4015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4016 (exit $ac_status); } && {
4017 test -z "$ac_c_werror_flag" ||
4018 test ! -s conftest.err
4019 } && test -s conftest.$ac_objext; then
4020 ac_cv_have_decl_CURLOPT_TIMEOUT=yes
4021 else
4022 echo "$as_me: failed program was:" >&5
4023 sed 's/^/| /' conftest.$ac_ext >&5
4025 ac_cv_have_decl_CURLOPT_TIMEOUT=no
4028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4030 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_TIMEOUT" >&5
4031 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_TIMEOUT" >&6; }
4032 if test $ac_cv_have_decl_CURLOPT_TIMEOUT = yes; then
4034 cat >>confdefs.h <<_ACEOF
4035 #define HAVE_DECL_CURLOPT_TIMEOUT 1
4036 _ACEOF
4039 else
4040 cat >>confdefs.h <<_ACEOF
4041 #define HAVE_DECL_CURLOPT_TIMEOUT 0
4042 _ACEOF
4046 { echo "$as_me:$LINENO: checking whether CURLOPT_INFILESIZE is declared" >&5
4047 echo $ECHO_N "checking whether CURLOPT_INFILESIZE is declared... $ECHO_C" >&6; }
4048 if test "${ac_cv_have_decl_CURLOPT_INFILESIZE+set}" = set; then
4049 echo $ECHO_N "(cached) $ECHO_C" >&6
4050 else
4051 cat >conftest.$ac_ext <<_ACEOF
4052 /* confdefs.h. */
4053 _ACEOF
4054 cat confdefs.h >>conftest.$ac_ext
4055 cat >>conftest.$ac_ext <<_ACEOF
4056 /* end confdefs.h. */
4058 #include "curl/curl.h"
4062 main ()
4064 #ifndef CURLOPT_INFILESIZE
4065 (void) CURLOPT_INFILESIZE;
4066 #endif
4069 return 0;
4071 _ACEOF
4072 rm -f conftest.$ac_objext
4073 if { (ac_try="$ac_compile"
4074 case "(($ac_try" in
4075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4076 *) ac_try_echo=$ac_try;;
4077 esac
4078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4079 (eval "$ac_compile") 2>conftest.er1
4080 ac_status=$?
4081 grep -v '^ *+' conftest.er1 >conftest.err
4082 rm -f conftest.er1
4083 cat conftest.err >&5
4084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085 (exit $ac_status); } && {
4086 test -z "$ac_c_werror_flag" ||
4087 test ! -s conftest.err
4088 } && test -s conftest.$ac_objext; then
4089 ac_cv_have_decl_CURLOPT_INFILESIZE=yes
4090 else
4091 echo "$as_me: failed program was:" >&5
4092 sed 's/^/| /' conftest.$ac_ext >&5
4094 ac_cv_have_decl_CURLOPT_INFILESIZE=no
4097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4099 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_INFILESIZE" >&5
4100 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_INFILESIZE" >&6; }
4101 if test $ac_cv_have_decl_CURLOPT_INFILESIZE = yes; then
4103 cat >>confdefs.h <<_ACEOF
4104 #define HAVE_DECL_CURLOPT_INFILESIZE 1
4105 _ACEOF
4108 else
4109 cat >>confdefs.h <<_ACEOF
4110 #define HAVE_DECL_CURLOPT_INFILESIZE 0
4111 _ACEOF
4115 { echo "$as_me:$LINENO: checking whether CURLOPT_POSTFIELDS is declared" >&5
4116 echo $ECHO_N "checking whether CURLOPT_POSTFIELDS is declared... $ECHO_C" >&6; }
4117 if test "${ac_cv_have_decl_CURLOPT_POSTFIELDS+set}" = set; then
4118 echo $ECHO_N "(cached) $ECHO_C" >&6
4119 else
4120 cat >conftest.$ac_ext <<_ACEOF
4121 /* confdefs.h. */
4122 _ACEOF
4123 cat confdefs.h >>conftest.$ac_ext
4124 cat >>conftest.$ac_ext <<_ACEOF
4125 /* end confdefs.h. */
4127 #include "curl/curl.h"
4131 main ()
4133 #ifndef CURLOPT_POSTFIELDS
4134 (void) CURLOPT_POSTFIELDS;
4135 #endif
4138 return 0;
4140 _ACEOF
4141 rm -f conftest.$ac_objext
4142 if { (ac_try="$ac_compile"
4143 case "(($ac_try" in
4144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4145 *) ac_try_echo=$ac_try;;
4146 esac
4147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4148 (eval "$ac_compile") 2>conftest.er1
4149 ac_status=$?
4150 grep -v '^ *+' conftest.er1 >conftest.err
4151 rm -f conftest.er1
4152 cat conftest.err >&5
4153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4154 (exit $ac_status); } && {
4155 test -z "$ac_c_werror_flag" ||
4156 test ! -s conftest.err
4157 } && test -s conftest.$ac_objext; then
4158 ac_cv_have_decl_CURLOPT_POSTFIELDS=yes
4159 else
4160 echo "$as_me: failed program was:" >&5
4161 sed 's/^/| /' conftest.$ac_ext >&5
4163 ac_cv_have_decl_CURLOPT_POSTFIELDS=no
4166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4168 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_POSTFIELDS" >&5
4169 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_POSTFIELDS" >&6; }
4170 if test $ac_cv_have_decl_CURLOPT_POSTFIELDS = yes; then
4172 cat >>confdefs.h <<_ACEOF
4173 #define HAVE_DECL_CURLOPT_POSTFIELDS 1
4174 _ACEOF
4177 else
4178 cat >>confdefs.h <<_ACEOF
4179 #define HAVE_DECL_CURLOPT_POSTFIELDS 0
4180 _ACEOF
4184 { echo "$as_me:$LINENO: checking whether CURLOPT_REFERER is declared" >&5
4185 echo $ECHO_N "checking whether CURLOPT_REFERER is declared... $ECHO_C" >&6; }
4186 if test "${ac_cv_have_decl_CURLOPT_REFERER+set}" = set; then
4187 echo $ECHO_N "(cached) $ECHO_C" >&6
4188 else
4189 cat >conftest.$ac_ext <<_ACEOF
4190 /* confdefs.h. */
4191 _ACEOF
4192 cat confdefs.h >>conftest.$ac_ext
4193 cat >>conftest.$ac_ext <<_ACEOF
4194 /* end confdefs.h. */
4196 #include "curl/curl.h"
4200 main ()
4202 #ifndef CURLOPT_REFERER
4203 (void) CURLOPT_REFERER;
4204 #endif
4207 return 0;
4209 _ACEOF
4210 rm -f conftest.$ac_objext
4211 if { (ac_try="$ac_compile"
4212 case "(($ac_try" in
4213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4214 *) ac_try_echo=$ac_try;;
4215 esac
4216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4217 (eval "$ac_compile") 2>conftest.er1
4218 ac_status=$?
4219 grep -v '^ *+' conftest.er1 >conftest.err
4220 rm -f conftest.er1
4221 cat conftest.err >&5
4222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4223 (exit $ac_status); } && {
4224 test -z "$ac_c_werror_flag" ||
4225 test ! -s conftest.err
4226 } && test -s conftest.$ac_objext; then
4227 ac_cv_have_decl_CURLOPT_REFERER=yes
4228 else
4229 echo "$as_me: failed program was:" >&5
4230 sed 's/^/| /' conftest.$ac_ext >&5
4232 ac_cv_have_decl_CURLOPT_REFERER=no
4235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4237 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_REFERER" >&5
4238 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_REFERER" >&6; }
4239 if test $ac_cv_have_decl_CURLOPT_REFERER = yes; then
4241 cat >>confdefs.h <<_ACEOF
4242 #define HAVE_DECL_CURLOPT_REFERER 1
4243 _ACEOF
4246 else
4247 cat >>confdefs.h <<_ACEOF
4248 #define HAVE_DECL_CURLOPT_REFERER 0
4249 _ACEOF
4253 { echo "$as_me:$LINENO: checking whether CURLOPT_FTPPORT is declared" >&5
4254 echo $ECHO_N "checking whether CURLOPT_FTPPORT is declared... $ECHO_C" >&6; }
4255 if test "${ac_cv_have_decl_CURLOPT_FTPPORT+set}" = set; then
4256 echo $ECHO_N "(cached) $ECHO_C" >&6
4257 else
4258 cat >conftest.$ac_ext <<_ACEOF
4259 /* confdefs.h. */
4260 _ACEOF
4261 cat confdefs.h >>conftest.$ac_ext
4262 cat >>conftest.$ac_ext <<_ACEOF
4263 /* end confdefs.h. */
4265 #include "curl/curl.h"
4269 main ()
4271 #ifndef CURLOPT_FTPPORT
4272 (void) CURLOPT_FTPPORT;
4273 #endif
4276 return 0;
4278 _ACEOF
4279 rm -f conftest.$ac_objext
4280 if { (ac_try="$ac_compile"
4281 case "(($ac_try" in
4282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4283 *) ac_try_echo=$ac_try;;
4284 esac
4285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4286 (eval "$ac_compile") 2>conftest.er1
4287 ac_status=$?
4288 grep -v '^ *+' conftest.er1 >conftest.err
4289 rm -f conftest.er1
4290 cat conftest.err >&5
4291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4292 (exit $ac_status); } && {
4293 test -z "$ac_c_werror_flag" ||
4294 test ! -s conftest.err
4295 } && test -s conftest.$ac_objext; then
4296 ac_cv_have_decl_CURLOPT_FTPPORT=yes
4297 else
4298 echo "$as_me: failed program was:" >&5
4299 sed 's/^/| /' conftest.$ac_ext >&5
4301 ac_cv_have_decl_CURLOPT_FTPPORT=no
4304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4306 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_FTPPORT" >&5
4307 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_FTPPORT" >&6; }
4308 if test $ac_cv_have_decl_CURLOPT_FTPPORT = yes; then
4310 cat >>confdefs.h <<_ACEOF
4311 #define HAVE_DECL_CURLOPT_FTPPORT 1
4312 _ACEOF
4315 else
4316 cat >>confdefs.h <<_ACEOF
4317 #define HAVE_DECL_CURLOPT_FTPPORT 0
4318 _ACEOF
4322 { echo "$as_me:$LINENO: checking whether CURLOPT_USERAGENT is declared" >&5
4323 echo $ECHO_N "checking whether CURLOPT_USERAGENT is declared... $ECHO_C" >&6; }
4324 if test "${ac_cv_have_decl_CURLOPT_USERAGENT+set}" = set; then
4325 echo $ECHO_N "(cached) $ECHO_C" >&6
4326 else
4327 cat >conftest.$ac_ext <<_ACEOF
4328 /* confdefs.h. */
4329 _ACEOF
4330 cat confdefs.h >>conftest.$ac_ext
4331 cat >>conftest.$ac_ext <<_ACEOF
4332 /* end confdefs.h. */
4334 #include "curl/curl.h"
4338 main ()
4340 #ifndef CURLOPT_USERAGENT
4341 (void) CURLOPT_USERAGENT;
4342 #endif
4345 return 0;
4347 _ACEOF
4348 rm -f conftest.$ac_objext
4349 if { (ac_try="$ac_compile"
4350 case "(($ac_try" in
4351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4352 *) ac_try_echo=$ac_try;;
4353 esac
4354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4355 (eval "$ac_compile") 2>conftest.er1
4356 ac_status=$?
4357 grep -v '^ *+' conftest.er1 >conftest.err
4358 rm -f conftest.er1
4359 cat conftest.err >&5
4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); } && {
4362 test -z "$ac_c_werror_flag" ||
4363 test ! -s conftest.err
4364 } && test -s conftest.$ac_objext; then
4365 ac_cv_have_decl_CURLOPT_USERAGENT=yes
4366 else
4367 echo "$as_me: failed program was:" >&5
4368 sed 's/^/| /' conftest.$ac_ext >&5
4370 ac_cv_have_decl_CURLOPT_USERAGENT=no
4373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4375 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_USERAGENT" >&5
4376 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_USERAGENT" >&6; }
4377 if test $ac_cv_have_decl_CURLOPT_USERAGENT = yes; then
4379 cat >>confdefs.h <<_ACEOF
4380 #define HAVE_DECL_CURLOPT_USERAGENT 1
4381 _ACEOF
4384 else
4385 cat >>confdefs.h <<_ACEOF
4386 #define HAVE_DECL_CURLOPT_USERAGENT 0
4387 _ACEOF
4391 { echo "$as_me:$LINENO: checking whether CURLOPT_LOW_SPEED_LIMIT is declared" >&5
4392 echo $ECHO_N "checking whether CURLOPT_LOW_SPEED_LIMIT is declared... $ECHO_C" >&6; }
4393 if test "${ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT+set}" = set; then
4394 echo $ECHO_N "(cached) $ECHO_C" >&6
4395 else
4396 cat >conftest.$ac_ext <<_ACEOF
4397 /* confdefs.h. */
4398 _ACEOF
4399 cat confdefs.h >>conftest.$ac_ext
4400 cat >>conftest.$ac_ext <<_ACEOF
4401 /* end confdefs.h. */
4403 #include "curl/curl.h"
4407 main ()
4409 #ifndef CURLOPT_LOW_SPEED_LIMIT
4410 (void) CURLOPT_LOW_SPEED_LIMIT;
4411 #endif
4414 return 0;
4416 _ACEOF
4417 rm -f conftest.$ac_objext
4418 if { (ac_try="$ac_compile"
4419 case "(($ac_try" in
4420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4421 *) ac_try_echo=$ac_try;;
4422 esac
4423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4424 (eval "$ac_compile") 2>conftest.er1
4425 ac_status=$?
4426 grep -v '^ *+' conftest.er1 >conftest.err
4427 rm -f conftest.er1
4428 cat conftest.err >&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); } && {
4431 test -z "$ac_c_werror_flag" ||
4432 test ! -s conftest.err
4433 } && test -s conftest.$ac_objext; then
4434 ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT=yes
4435 else
4436 echo "$as_me: failed program was:" >&5
4437 sed 's/^/| /' conftest.$ac_ext >&5
4439 ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT=no
4442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4444 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" >&5
4445 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" >&6; }
4446 if test $ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT = yes; then
4448 cat >>confdefs.h <<_ACEOF
4449 #define HAVE_DECL_CURLOPT_LOW_SPEED_LIMIT 1
4450 _ACEOF
4453 else
4454 cat >>confdefs.h <<_ACEOF
4455 #define HAVE_DECL_CURLOPT_LOW_SPEED_LIMIT 0
4456 _ACEOF
4460 { echo "$as_me:$LINENO: checking whether CURLOPT_LOW_SPEED_TIME is declared" >&5
4461 echo $ECHO_N "checking whether CURLOPT_LOW_SPEED_TIME is declared... $ECHO_C" >&6; }
4462 if test "${ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME+set}" = set; then
4463 echo $ECHO_N "(cached) $ECHO_C" >&6
4464 else
4465 cat >conftest.$ac_ext <<_ACEOF
4466 /* confdefs.h. */
4467 _ACEOF
4468 cat confdefs.h >>conftest.$ac_ext
4469 cat >>conftest.$ac_ext <<_ACEOF
4470 /* end confdefs.h. */
4472 #include "curl/curl.h"
4476 main ()
4478 #ifndef CURLOPT_LOW_SPEED_TIME
4479 (void) CURLOPT_LOW_SPEED_TIME;
4480 #endif
4483 return 0;
4485 _ACEOF
4486 rm -f conftest.$ac_objext
4487 if { (ac_try="$ac_compile"
4488 case "(($ac_try" in
4489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4490 *) ac_try_echo=$ac_try;;
4491 esac
4492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4493 (eval "$ac_compile") 2>conftest.er1
4494 ac_status=$?
4495 grep -v '^ *+' conftest.er1 >conftest.err
4496 rm -f conftest.er1
4497 cat conftest.err >&5
4498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4499 (exit $ac_status); } && {
4500 test -z "$ac_c_werror_flag" ||
4501 test ! -s conftest.err
4502 } && test -s conftest.$ac_objext; then
4503 ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME=yes
4504 else
4505 echo "$as_me: failed program was:" >&5
4506 sed 's/^/| /' conftest.$ac_ext >&5
4508 ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME=no
4511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4513 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" >&5
4514 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" >&6; }
4515 if test $ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME = yes; then
4517 cat >>confdefs.h <<_ACEOF
4518 #define HAVE_DECL_CURLOPT_LOW_SPEED_TIME 1
4519 _ACEOF
4522 else
4523 cat >>confdefs.h <<_ACEOF
4524 #define HAVE_DECL_CURLOPT_LOW_SPEED_TIME 0
4525 _ACEOF
4529 { echo "$as_me:$LINENO: checking whether CURLOPT_RESUME_FROM is declared" >&5
4530 echo $ECHO_N "checking whether CURLOPT_RESUME_FROM is declared... $ECHO_C" >&6; }
4531 if test "${ac_cv_have_decl_CURLOPT_RESUME_FROM+set}" = set; then
4532 echo $ECHO_N "(cached) $ECHO_C" >&6
4533 else
4534 cat >conftest.$ac_ext <<_ACEOF
4535 /* confdefs.h. */
4536 _ACEOF
4537 cat confdefs.h >>conftest.$ac_ext
4538 cat >>conftest.$ac_ext <<_ACEOF
4539 /* end confdefs.h. */
4541 #include "curl/curl.h"
4545 main ()
4547 #ifndef CURLOPT_RESUME_FROM
4548 (void) CURLOPT_RESUME_FROM;
4549 #endif
4552 return 0;
4554 _ACEOF
4555 rm -f conftest.$ac_objext
4556 if { (ac_try="$ac_compile"
4557 case "(($ac_try" in
4558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4559 *) ac_try_echo=$ac_try;;
4560 esac
4561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4562 (eval "$ac_compile") 2>conftest.er1
4563 ac_status=$?
4564 grep -v '^ *+' conftest.er1 >conftest.err
4565 rm -f conftest.er1
4566 cat conftest.err >&5
4567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568 (exit $ac_status); } && {
4569 test -z "$ac_c_werror_flag" ||
4570 test ! -s conftest.err
4571 } && test -s conftest.$ac_objext; then
4572 ac_cv_have_decl_CURLOPT_RESUME_FROM=yes
4573 else
4574 echo "$as_me: failed program was:" >&5
4575 sed 's/^/| /' conftest.$ac_ext >&5
4577 ac_cv_have_decl_CURLOPT_RESUME_FROM=no
4580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4582 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_RESUME_FROM" >&5
4583 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_RESUME_FROM" >&6; }
4584 if test $ac_cv_have_decl_CURLOPT_RESUME_FROM = yes; then
4586 cat >>confdefs.h <<_ACEOF
4587 #define HAVE_DECL_CURLOPT_RESUME_FROM 1
4588 _ACEOF
4591 else
4592 cat >>confdefs.h <<_ACEOF
4593 #define HAVE_DECL_CURLOPT_RESUME_FROM 0
4594 _ACEOF
4598 { echo "$as_me:$LINENO: checking whether CURLOPT_COOKIE is declared" >&5
4599 echo $ECHO_N "checking whether CURLOPT_COOKIE is declared... $ECHO_C" >&6; }
4600 if test "${ac_cv_have_decl_CURLOPT_COOKIE+set}" = set; then
4601 echo $ECHO_N "(cached) $ECHO_C" >&6
4602 else
4603 cat >conftest.$ac_ext <<_ACEOF
4604 /* confdefs.h. */
4605 _ACEOF
4606 cat confdefs.h >>conftest.$ac_ext
4607 cat >>conftest.$ac_ext <<_ACEOF
4608 /* end confdefs.h. */
4610 #include "curl/curl.h"
4614 main ()
4616 #ifndef CURLOPT_COOKIE
4617 (void) CURLOPT_COOKIE;
4618 #endif
4621 return 0;
4623 _ACEOF
4624 rm -f conftest.$ac_objext
4625 if { (ac_try="$ac_compile"
4626 case "(($ac_try" in
4627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4628 *) ac_try_echo=$ac_try;;
4629 esac
4630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4631 (eval "$ac_compile") 2>conftest.er1
4632 ac_status=$?
4633 grep -v '^ *+' conftest.er1 >conftest.err
4634 rm -f conftest.er1
4635 cat conftest.err >&5
4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637 (exit $ac_status); } && {
4638 test -z "$ac_c_werror_flag" ||
4639 test ! -s conftest.err
4640 } && test -s conftest.$ac_objext; then
4641 ac_cv_have_decl_CURLOPT_COOKIE=yes
4642 else
4643 echo "$as_me: failed program was:" >&5
4644 sed 's/^/| /' conftest.$ac_ext >&5
4646 ac_cv_have_decl_CURLOPT_COOKIE=no
4649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4651 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_COOKIE" >&5
4652 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_COOKIE" >&6; }
4653 if test $ac_cv_have_decl_CURLOPT_COOKIE = yes; then
4655 cat >>confdefs.h <<_ACEOF
4656 #define HAVE_DECL_CURLOPT_COOKIE 1
4657 _ACEOF
4660 else
4661 cat >>confdefs.h <<_ACEOF
4662 #define HAVE_DECL_CURLOPT_COOKIE 0
4663 _ACEOF
4667 { echo "$as_me:$LINENO: checking whether CURLOPT_HTTPHEADER is declared" >&5
4668 echo $ECHO_N "checking whether CURLOPT_HTTPHEADER is declared... $ECHO_C" >&6; }
4669 if test "${ac_cv_have_decl_CURLOPT_HTTPHEADER+set}" = set; then
4670 echo $ECHO_N "(cached) $ECHO_C" >&6
4671 else
4672 cat >conftest.$ac_ext <<_ACEOF
4673 /* confdefs.h. */
4674 _ACEOF
4675 cat confdefs.h >>conftest.$ac_ext
4676 cat >>conftest.$ac_ext <<_ACEOF
4677 /* end confdefs.h. */
4679 #include "curl/curl.h"
4683 main ()
4685 #ifndef CURLOPT_HTTPHEADER
4686 (void) CURLOPT_HTTPHEADER;
4687 #endif
4690 return 0;
4692 _ACEOF
4693 rm -f conftest.$ac_objext
4694 if { (ac_try="$ac_compile"
4695 case "(($ac_try" in
4696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4697 *) ac_try_echo=$ac_try;;
4698 esac
4699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4700 (eval "$ac_compile") 2>conftest.er1
4701 ac_status=$?
4702 grep -v '^ *+' conftest.er1 >conftest.err
4703 rm -f conftest.er1
4704 cat conftest.err >&5
4705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4706 (exit $ac_status); } && {
4707 test -z "$ac_c_werror_flag" ||
4708 test ! -s conftest.err
4709 } && test -s conftest.$ac_objext; then
4710 ac_cv_have_decl_CURLOPT_HTTPHEADER=yes
4711 else
4712 echo "$as_me: failed program was:" >&5
4713 sed 's/^/| /' conftest.$ac_ext >&5
4715 ac_cv_have_decl_CURLOPT_HTTPHEADER=no
4718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4720 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_HTTPHEADER" >&5
4721 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_HTTPHEADER" >&6; }
4722 if test $ac_cv_have_decl_CURLOPT_HTTPHEADER = yes; then
4724 cat >>confdefs.h <<_ACEOF
4725 #define HAVE_DECL_CURLOPT_HTTPHEADER 1
4726 _ACEOF
4729 else
4730 cat >>confdefs.h <<_ACEOF
4731 #define HAVE_DECL_CURLOPT_HTTPHEADER 0
4732 _ACEOF
4736 { echo "$as_me:$LINENO: checking whether CURLOPT_HTTPPOST is declared" >&5
4737 echo $ECHO_N "checking whether CURLOPT_HTTPPOST is declared... $ECHO_C" >&6; }
4738 if test "${ac_cv_have_decl_CURLOPT_HTTPPOST+set}" = set; then
4739 echo $ECHO_N "(cached) $ECHO_C" >&6
4740 else
4741 cat >conftest.$ac_ext <<_ACEOF
4742 /* confdefs.h. */
4743 _ACEOF
4744 cat confdefs.h >>conftest.$ac_ext
4745 cat >>conftest.$ac_ext <<_ACEOF
4746 /* end confdefs.h. */
4748 #include "curl/curl.h"
4752 main ()
4754 #ifndef CURLOPT_HTTPPOST
4755 (void) CURLOPT_HTTPPOST;
4756 #endif
4759 return 0;
4761 _ACEOF
4762 rm -f conftest.$ac_objext
4763 if { (ac_try="$ac_compile"
4764 case "(($ac_try" in
4765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4766 *) ac_try_echo=$ac_try;;
4767 esac
4768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4769 (eval "$ac_compile") 2>conftest.er1
4770 ac_status=$?
4771 grep -v '^ *+' conftest.er1 >conftest.err
4772 rm -f conftest.er1
4773 cat conftest.err >&5
4774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4775 (exit $ac_status); } && {
4776 test -z "$ac_c_werror_flag" ||
4777 test ! -s conftest.err
4778 } && test -s conftest.$ac_objext; then
4779 ac_cv_have_decl_CURLOPT_HTTPPOST=yes
4780 else
4781 echo "$as_me: failed program was:" >&5
4782 sed 's/^/| /' conftest.$ac_ext >&5
4784 ac_cv_have_decl_CURLOPT_HTTPPOST=no
4787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4789 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_HTTPPOST" >&5
4790 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_HTTPPOST" >&6; }
4791 if test $ac_cv_have_decl_CURLOPT_HTTPPOST = yes; then
4793 cat >>confdefs.h <<_ACEOF
4794 #define HAVE_DECL_CURLOPT_HTTPPOST 1
4795 _ACEOF
4798 else
4799 cat >>confdefs.h <<_ACEOF
4800 #define HAVE_DECL_CURLOPT_HTTPPOST 0
4801 _ACEOF
4805 { echo "$as_me:$LINENO: checking whether CURLOPT_SSLCERT is declared" >&5
4806 echo $ECHO_N "checking whether CURLOPT_SSLCERT is declared... $ECHO_C" >&6; }
4807 if test "${ac_cv_have_decl_CURLOPT_SSLCERT+set}" = set; then
4808 echo $ECHO_N "(cached) $ECHO_C" >&6
4809 else
4810 cat >conftest.$ac_ext <<_ACEOF
4811 /* confdefs.h. */
4812 _ACEOF
4813 cat confdefs.h >>conftest.$ac_ext
4814 cat >>conftest.$ac_ext <<_ACEOF
4815 /* end confdefs.h. */
4817 #include "curl/curl.h"
4821 main ()
4823 #ifndef CURLOPT_SSLCERT
4824 (void) CURLOPT_SSLCERT;
4825 #endif
4828 return 0;
4830 _ACEOF
4831 rm -f conftest.$ac_objext
4832 if { (ac_try="$ac_compile"
4833 case "(($ac_try" in
4834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4835 *) ac_try_echo=$ac_try;;
4836 esac
4837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4838 (eval "$ac_compile") 2>conftest.er1
4839 ac_status=$?
4840 grep -v '^ *+' conftest.er1 >conftest.err
4841 rm -f conftest.er1
4842 cat conftest.err >&5
4843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4844 (exit $ac_status); } && {
4845 test -z "$ac_c_werror_flag" ||
4846 test ! -s conftest.err
4847 } && test -s conftest.$ac_objext; then
4848 ac_cv_have_decl_CURLOPT_SSLCERT=yes
4849 else
4850 echo "$as_me: failed program was:" >&5
4851 sed 's/^/| /' conftest.$ac_ext >&5
4853 ac_cv_have_decl_CURLOPT_SSLCERT=no
4856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4858 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_SSLCERT" >&5
4859 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_SSLCERT" >&6; }
4860 if test $ac_cv_have_decl_CURLOPT_SSLCERT = yes; then
4862 cat >>confdefs.h <<_ACEOF
4863 #define HAVE_DECL_CURLOPT_SSLCERT 1
4864 _ACEOF
4867 else
4868 cat >>confdefs.h <<_ACEOF
4869 #define HAVE_DECL_CURLOPT_SSLCERT 0
4870 _ACEOF
4874 { echo "$as_me:$LINENO: checking whether CURLOPT_SSLCERTPASSWD is declared" >&5
4875 echo $ECHO_N "checking whether CURLOPT_SSLCERTPASSWD is declared... $ECHO_C" >&6; }
4876 if test "${ac_cv_have_decl_CURLOPT_SSLCERTPASSWD+set}" = set; then
4877 echo $ECHO_N "(cached) $ECHO_C" >&6
4878 else
4879 cat >conftest.$ac_ext <<_ACEOF
4880 /* confdefs.h. */
4881 _ACEOF
4882 cat confdefs.h >>conftest.$ac_ext
4883 cat >>conftest.$ac_ext <<_ACEOF
4884 /* end confdefs.h. */
4886 #include "curl/curl.h"
4890 main ()
4892 #ifndef CURLOPT_SSLCERTPASSWD
4893 (void) CURLOPT_SSLCERTPASSWD;
4894 #endif
4897 return 0;
4899 _ACEOF
4900 rm -f conftest.$ac_objext
4901 if { (ac_try="$ac_compile"
4902 case "(($ac_try" in
4903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4904 *) ac_try_echo=$ac_try;;
4905 esac
4906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4907 (eval "$ac_compile") 2>conftest.er1
4908 ac_status=$?
4909 grep -v '^ *+' conftest.er1 >conftest.err
4910 rm -f conftest.er1
4911 cat conftest.err >&5
4912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4913 (exit $ac_status); } && {
4914 test -z "$ac_c_werror_flag" ||
4915 test ! -s conftest.err
4916 } && test -s conftest.$ac_objext; then
4917 ac_cv_have_decl_CURLOPT_SSLCERTPASSWD=yes
4918 else
4919 echo "$as_me: failed program was:" >&5
4920 sed 's/^/| /' conftest.$ac_ext >&5
4922 ac_cv_have_decl_CURLOPT_SSLCERTPASSWD=no
4925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4927 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" >&5
4928 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" >&6; }
4929 if test $ac_cv_have_decl_CURLOPT_SSLCERTPASSWD = yes; then
4931 cat >>confdefs.h <<_ACEOF
4932 #define HAVE_DECL_CURLOPT_SSLCERTPASSWD 1
4933 _ACEOF
4936 else
4937 cat >>confdefs.h <<_ACEOF
4938 #define HAVE_DECL_CURLOPT_SSLCERTPASSWD 0
4939 _ACEOF
4943 { echo "$as_me:$LINENO: checking whether CURLOPT_SSLKEYPASSWD is declared" >&5
4944 echo $ECHO_N "checking whether CURLOPT_SSLKEYPASSWD is declared... $ECHO_C" >&6; }
4945 if test "${ac_cv_have_decl_CURLOPT_SSLKEYPASSWD+set}" = set; then
4946 echo $ECHO_N "(cached) $ECHO_C" >&6
4947 else
4948 cat >conftest.$ac_ext <<_ACEOF
4949 /* confdefs.h. */
4950 _ACEOF
4951 cat confdefs.h >>conftest.$ac_ext
4952 cat >>conftest.$ac_ext <<_ACEOF
4953 /* end confdefs.h. */
4955 #include "curl/curl.h"
4959 main ()
4961 #ifndef CURLOPT_SSLKEYPASSWD
4962 (void) CURLOPT_SSLKEYPASSWD;
4963 #endif
4966 return 0;
4968 _ACEOF
4969 rm -f conftest.$ac_objext
4970 if { (ac_try="$ac_compile"
4971 case "(($ac_try" in
4972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4973 *) ac_try_echo=$ac_try;;
4974 esac
4975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4976 (eval "$ac_compile") 2>conftest.er1
4977 ac_status=$?
4978 grep -v '^ *+' conftest.er1 >conftest.err
4979 rm -f conftest.er1
4980 cat conftest.err >&5
4981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4982 (exit $ac_status); } && {
4983 test -z "$ac_c_werror_flag" ||
4984 test ! -s conftest.err
4985 } && test -s conftest.$ac_objext; then
4986 ac_cv_have_decl_CURLOPT_SSLKEYPASSWD=yes
4987 else
4988 echo "$as_me: failed program was:" >&5
4989 sed 's/^/| /' conftest.$ac_ext >&5
4991 ac_cv_have_decl_CURLOPT_SSLKEYPASSWD=no
4994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4996 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" >&5
4997 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" >&6; }
4998 if test $ac_cv_have_decl_CURLOPT_SSLKEYPASSWD = yes; then
5000 cat >>confdefs.h <<_ACEOF
5001 #define HAVE_DECL_CURLOPT_SSLKEYPASSWD 1
5002 _ACEOF
5005 else
5006 cat >>confdefs.h <<_ACEOF
5007 #define HAVE_DECL_CURLOPT_SSLKEYPASSWD 0
5008 _ACEOF
5012 { echo "$as_me:$LINENO: checking whether CURLOPT_CRLF is declared" >&5
5013 echo $ECHO_N "checking whether CURLOPT_CRLF is declared... $ECHO_C" >&6; }
5014 if test "${ac_cv_have_decl_CURLOPT_CRLF+set}" = set; then
5015 echo $ECHO_N "(cached) $ECHO_C" >&6
5016 else
5017 cat >conftest.$ac_ext <<_ACEOF
5018 /* confdefs.h. */
5019 _ACEOF
5020 cat confdefs.h >>conftest.$ac_ext
5021 cat >>conftest.$ac_ext <<_ACEOF
5022 /* end confdefs.h. */
5024 #include "curl/curl.h"
5028 main ()
5030 #ifndef CURLOPT_CRLF
5031 (void) CURLOPT_CRLF;
5032 #endif
5035 return 0;
5037 _ACEOF
5038 rm -f conftest.$ac_objext
5039 if { (ac_try="$ac_compile"
5040 case "(($ac_try" in
5041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5042 *) ac_try_echo=$ac_try;;
5043 esac
5044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5045 (eval "$ac_compile") 2>conftest.er1
5046 ac_status=$?
5047 grep -v '^ *+' conftest.er1 >conftest.err
5048 rm -f conftest.er1
5049 cat conftest.err >&5
5050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5051 (exit $ac_status); } && {
5052 test -z "$ac_c_werror_flag" ||
5053 test ! -s conftest.err
5054 } && test -s conftest.$ac_objext; then
5055 ac_cv_have_decl_CURLOPT_CRLF=yes
5056 else
5057 echo "$as_me: failed program was:" >&5
5058 sed 's/^/| /' conftest.$ac_ext >&5
5060 ac_cv_have_decl_CURLOPT_CRLF=no
5063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5065 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_CRLF" >&5
5066 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_CRLF" >&6; }
5067 if test $ac_cv_have_decl_CURLOPT_CRLF = yes; then
5069 cat >>confdefs.h <<_ACEOF
5070 #define HAVE_DECL_CURLOPT_CRLF 1
5071 _ACEOF
5074 else
5075 cat >>confdefs.h <<_ACEOF
5076 #define HAVE_DECL_CURLOPT_CRLF 0
5077 _ACEOF
5081 { echo "$as_me:$LINENO: checking whether CURLOPT_QUOTE is declared" >&5
5082 echo $ECHO_N "checking whether CURLOPT_QUOTE is declared... $ECHO_C" >&6; }
5083 if test "${ac_cv_have_decl_CURLOPT_QUOTE+set}" = set; then
5084 echo $ECHO_N "(cached) $ECHO_C" >&6
5085 else
5086 cat >conftest.$ac_ext <<_ACEOF
5087 /* confdefs.h. */
5088 _ACEOF
5089 cat confdefs.h >>conftest.$ac_ext
5090 cat >>conftest.$ac_ext <<_ACEOF
5091 /* end confdefs.h. */
5093 #include "curl/curl.h"
5097 main ()
5099 #ifndef CURLOPT_QUOTE
5100 (void) CURLOPT_QUOTE;
5101 #endif
5104 return 0;
5106 _ACEOF
5107 rm -f conftest.$ac_objext
5108 if { (ac_try="$ac_compile"
5109 case "(($ac_try" in
5110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5111 *) ac_try_echo=$ac_try;;
5112 esac
5113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5114 (eval "$ac_compile") 2>conftest.er1
5115 ac_status=$?
5116 grep -v '^ *+' conftest.er1 >conftest.err
5117 rm -f conftest.er1
5118 cat conftest.err >&5
5119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5120 (exit $ac_status); } && {
5121 test -z "$ac_c_werror_flag" ||
5122 test ! -s conftest.err
5123 } && test -s conftest.$ac_objext; then
5124 ac_cv_have_decl_CURLOPT_QUOTE=yes
5125 else
5126 echo "$as_me: failed program was:" >&5
5127 sed 's/^/| /' conftest.$ac_ext >&5
5129 ac_cv_have_decl_CURLOPT_QUOTE=no
5132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5134 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_QUOTE" >&5
5135 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_QUOTE" >&6; }
5136 if test $ac_cv_have_decl_CURLOPT_QUOTE = yes; then
5138 cat >>confdefs.h <<_ACEOF
5139 #define HAVE_DECL_CURLOPT_QUOTE 1
5140 _ACEOF
5143 else
5144 cat >>confdefs.h <<_ACEOF
5145 #define HAVE_DECL_CURLOPT_QUOTE 0
5146 _ACEOF
5150 { echo "$as_me:$LINENO: checking whether CURLOPT_WRITEHEADER is declared" >&5
5151 echo $ECHO_N "checking whether CURLOPT_WRITEHEADER is declared... $ECHO_C" >&6; }
5152 if test "${ac_cv_have_decl_CURLOPT_WRITEHEADER+set}" = set; then
5153 echo $ECHO_N "(cached) $ECHO_C" >&6
5154 else
5155 cat >conftest.$ac_ext <<_ACEOF
5156 /* confdefs.h. */
5157 _ACEOF
5158 cat confdefs.h >>conftest.$ac_ext
5159 cat >>conftest.$ac_ext <<_ACEOF
5160 /* end confdefs.h. */
5162 #include "curl/curl.h"
5166 main ()
5168 #ifndef CURLOPT_WRITEHEADER
5169 (void) CURLOPT_WRITEHEADER;
5170 #endif
5173 return 0;
5175 _ACEOF
5176 rm -f conftest.$ac_objext
5177 if { (ac_try="$ac_compile"
5178 case "(($ac_try" in
5179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5180 *) ac_try_echo=$ac_try;;
5181 esac
5182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5183 (eval "$ac_compile") 2>conftest.er1
5184 ac_status=$?
5185 grep -v '^ *+' conftest.er1 >conftest.err
5186 rm -f conftest.er1
5187 cat conftest.err >&5
5188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5189 (exit $ac_status); } && {
5190 test -z "$ac_c_werror_flag" ||
5191 test ! -s conftest.err
5192 } && test -s conftest.$ac_objext; then
5193 ac_cv_have_decl_CURLOPT_WRITEHEADER=yes
5194 else
5195 echo "$as_me: failed program was:" >&5
5196 sed 's/^/| /' conftest.$ac_ext >&5
5198 ac_cv_have_decl_CURLOPT_WRITEHEADER=no
5201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5203 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_WRITEHEADER" >&5
5204 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_WRITEHEADER" >&6; }
5205 if test $ac_cv_have_decl_CURLOPT_WRITEHEADER = yes; then
5207 cat >>confdefs.h <<_ACEOF
5208 #define HAVE_DECL_CURLOPT_WRITEHEADER 1
5209 _ACEOF
5212 else
5213 cat >>confdefs.h <<_ACEOF
5214 #define HAVE_DECL_CURLOPT_WRITEHEADER 0
5215 _ACEOF
5219 { echo "$as_me:$LINENO: checking whether CURLOPT_COOKIEFILE is declared" >&5
5220 echo $ECHO_N "checking whether CURLOPT_COOKIEFILE is declared... $ECHO_C" >&6; }
5221 if test "${ac_cv_have_decl_CURLOPT_COOKIEFILE+set}" = set; then
5222 echo $ECHO_N "(cached) $ECHO_C" >&6
5223 else
5224 cat >conftest.$ac_ext <<_ACEOF
5225 /* confdefs.h. */
5226 _ACEOF
5227 cat confdefs.h >>conftest.$ac_ext
5228 cat >>conftest.$ac_ext <<_ACEOF
5229 /* end confdefs.h. */
5231 #include "curl/curl.h"
5235 main ()
5237 #ifndef CURLOPT_COOKIEFILE
5238 (void) CURLOPT_COOKIEFILE;
5239 #endif
5242 return 0;
5244 _ACEOF
5245 rm -f conftest.$ac_objext
5246 if { (ac_try="$ac_compile"
5247 case "(($ac_try" in
5248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5249 *) ac_try_echo=$ac_try;;
5250 esac
5251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5252 (eval "$ac_compile") 2>conftest.er1
5253 ac_status=$?
5254 grep -v '^ *+' conftest.er1 >conftest.err
5255 rm -f conftest.er1
5256 cat conftest.err >&5
5257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5258 (exit $ac_status); } && {
5259 test -z "$ac_c_werror_flag" ||
5260 test ! -s conftest.err
5261 } && test -s conftest.$ac_objext; then
5262 ac_cv_have_decl_CURLOPT_COOKIEFILE=yes
5263 else
5264 echo "$as_me: failed program was:" >&5
5265 sed 's/^/| /' conftest.$ac_ext >&5
5267 ac_cv_have_decl_CURLOPT_COOKIEFILE=no
5270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5272 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_COOKIEFILE" >&5
5273 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_COOKIEFILE" >&6; }
5274 if test $ac_cv_have_decl_CURLOPT_COOKIEFILE = yes; then
5276 cat >>confdefs.h <<_ACEOF
5277 #define HAVE_DECL_CURLOPT_COOKIEFILE 1
5278 _ACEOF
5281 else
5282 cat >>confdefs.h <<_ACEOF
5283 #define HAVE_DECL_CURLOPT_COOKIEFILE 0
5284 _ACEOF
5288 { echo "$as_me:$LINENO: checking whether CURLOPT_SSLVERSION is declared" >&5
5289 echo $ECHO_N "checking whether CURLOPT_SSLVERSION is declared... $ECHO_C" >&6; }
5290 if test "${ac_cv_have_decl_CURLOPT_SSLVERSION+set}" = set; then
5291 echo $ECHO_N "(cached) $ECHO_C" >&6
5292 else
5293 cat >conftest.$ac_ext <<_ACEOF
5294 /* confdefs.h. */
5295 _ACEOF
5296 cat confdefs.h >>conftest.$ac_ext
5297 cat >>conftest.$ac_ext <<_ACEOF
5298 /* end confdefs.h. */
5300 #include "curl/curl.h"
5304 main ()
5306 #ifndef CURLOPT_SSLVERSION
5307 (void) CURLOPT_SSLVERSION;
5308 #endif
5311 return 0;
5313 _ACEOF
5314 rm -f conftest.$ac_objext
5315 if { (ac_try="$ac_compile"
5316 case "(($ac_try" in
5317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5318 *) ac_try_echo=$ac_try;;
5319 esac
5320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5321 (eval "$ac_compile") 2>conftest.er1
5322 ac_status=$?
5323 grep -v '^ *+' conftest.er1 >conftest.err
5324 rm -f conftest.er1
5325 cat conftest.err >&5
5326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5327 (exit $ac_status); } && {
5328 test -z "$ac_c_werror_flag" ||
5329 test ! -s conftest.err
5330 } && test -s conftest.$ac_objext; then
5331 ac_cv_have_decl_CURLOPT_SSLVERSION=yes
5332 else
5333 echo "$as_me: failed program was:" >&5
5334 sed 's/^/| /' conftest.$ac_ext >&5
5336 ac_cv_have_decl_CURLOPT_SSLVERSION=no
5339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5341 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_SSLVERSION" >&5
5342 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_SSLVERSION" >&6; }
5343 if test $ac_cv_have_decl_CURLOPT_SSLVERSION = yes; then
5345 cat >>confdefs.h <<_ACEOF
5346 #define HAVE_DECL_CURLOPT_SSLVERSION 1
5347 _ACEOF
5350 else
5351 cat >>confdefs.h <<_ACEOF
5352 #define HAVE_DECL_CURLOPT_SSLVERSION 0
5353 _ACEOF
5357 { echo "$as_me:$LINENO: checking whether CURLOPT_TIMECONDITION is declared" >&5
5358 echo $ECHO_N "checking whether CURLOPT_TIMECONDITION is declared... $ECHO_C" >&6; }
5359 if test "${ac_cv_have_decl_CURLOPT_TIMECONDITION+set}" = set; then
5360 echo $ECHO_N "(cached) $ECHO_C" >&6
5361 else
5362 cat >conftest.$ac_ext <<_ACEOF
5363 /* confdefs.h. */
5364 _ACEOF
5365 cat confdefs.h >>conftest.$ac_ext
5366 cat >>conftest.$ac_ext <<_ACEOF
5367 /* end confdefs.h. */
5369 #include "curl/curl.h"
5373 main ()
5375 #ifndef CURLOPT_TIMECONDITION
5376 (void) CURLOPT_TIMECONDITION;
5377 #endif
5380 return 0;
5382 _ACEOF
5383 rm -f conftest.$ac_objext
5384 if { (ac_try="$ac_compile"
5385 case "(($ac_try" in
5386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5387 *) ac_try_echo=$ac_try;;
5388 esac
5389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5390 (eval "$ac_compile") 2>conftest.er1
5391 ac_status=$?
5392 grep -v '^ *+' conftest.er1 >conftest.err
5393 rm -f conftest.er1
5394 cat conftest.err >&5
5395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5396 (exit $ac_status); } && {
5397 test -z "$ac_c_werror_flag" ||
5398 test ! -s conftest.err
5399 } && test -s conftest.$ac_objext; then
5400 ac_cv_have_decl_CURLOPT_TIMECONDITION=yes
5401 else
5402 echo "$as_me: failed program was:" >&5
5403 sed 's/^/| /' conftest.$ac_ext >&5
5405 ac_cv_have_decl_CURLOPT_TIMECONDITION=no
5408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5410 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_TIMECONDITION" >&5
5411 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_TIMECONDITION" >&6; }
5412 if test $ac_cv_have_decl_CURLOPT_TIMECONDITION = yes; then
5414 cat >>confdefs.h <<_ACEOF
5415 #define HAVE_DECL_CURLOPT_TIMECONDITION 1
5416 _ACEOF
5419 else
5420 cat >>confdefs.h <<_ACEOF
5421 #define HAVE_DECL_CURLOPT_TIMECONDITION 0
5422 _ACEOF
5426 { echo "$as_me:$LINENO: checking whether CURLOPT_TIMEVALUE is declared" >&5
5427 echo $ECHO_N "checking whether CURLOPT_TIMEVALUE is declared... $ECHO_C" >&6; }
5428 if test "${ac_cv_have_decl_CURLOPT_TIMEVALUE+set}" = set; then
5429 echo $ECHO_N "(cached) $ECHO_C" >&6
5430 else
5431 cat >conftest.$ac_ext <<_ACEOF
5432 /* confdefs.h. */
5433 _ACEOF
5434 cat confdefs.h >>conftest.$ac_ext
5435 cat >>conftest.$ac_ext <<_ACEOF
5436 /* end confdefs.h. */
5438 #include "curl/curl.h"
5442 main ()
5444 #ifndef CURLOPT_TIMEVALUE
5445 (void) CURLOPT_TIMEVALUE;
5446 #endif
5449 return 0;
5451 _ACEOF
5452 rm -f conftest.$ac_objext
5453 if { (ac_try="$ac_compile"
5454 case "(($ac_try" in
5455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5456 *) ac_try_echo=$ac_try;;
5457 esac
5458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5459 (eval "$ac_compile") 2>conftest.er1
5460 ac_status=$?
5461 grep -v '^ *+' conftest.er1 >conftest.err
5462 rm -f conftest.er1
5463 cat conftest.err >&5
5464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5465 (exit $ac_status); } && {
5466 test -z "$ac_c_werror_flag" ||
5467 test ! -s conftest.err
5468 } && test -s conftest.$ac_objext; then
5469 ac_cv_have_decl_CURLOPT_TIMEVALUE=yes
5470 else
5471 echo "$as_me: failed program was:" >&5
5472 sed 's/^/| /' conftest.$ac_ext >&5
5474 ac_cv_have_decl_CURLOPT_TIMEVALUE=no
5477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5479 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_TIMEVALUE" >&5
5480 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_TIMEVALUE" >&6; }
5481 if test $ac_cv_have_decl_CURLOPT_TIMEVALUE = yes; then
5483 cat >>confdefs.h <<_ACEOF
5484 #define HAVE_DECL_CURLOPT_TIMEVALUE 1
5485 _ACEOF
5488 else
5489 cat >>confdefs.h <<_ACEOF
5490 #define HAVE_DECL_CURLOPT_TIMEVALUE 0
5491 _ACEOF
5495 { echo "$as_me:$LINENO: checking whether CURLOPT_CUSTOMREQUEST is declared" >&5
5496 echo $ECHO_N "checking whether CURLOPT_CUSTOMREQUEST is declared... $ECHO_C" >&6; }
5497 if test "${ac_cv_have_decl_CURLOPT_CUSTOMREQUEST+set}" = set; then
5498 echo $ECHO_N "(cached) $ECHO_C" >&6
5499 else
5500 cat >conftest.$ac_ext <<_ACEOF
5501 /* confdefs.h. */
5502 _ACEOF
5503 cat confdefs.h >>conftest.$ac_ext
5504 cat >>conftest.$ac_ext <<_ACEOF
5505 /* end confdefs.h. */
5507 #include "curl/curl.h"
5511 main ()
5513 #ifndef CURLOPT_CUSTOMREQUEST
5514 (void) CURLOPT_CUSTOMREQUEST;
5515 #endif
5518 return 0;
5520 _ACEOF
5521 rm -f conftest.$ac_objext
5522 if { (ac_try="$ac_compile"
5523 case "(($ac_try" in
5524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5525 *) ac_try_echo=$ac_try;;
5526 esac
5527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5528 (eval "$ac_compile") 2>conftest.er1
5529 ac_status=$?
5530 grep -v '^ *+' conftest.er1 >conftest.err
5531 rm -f conftest.er1
5532 cat conftest.err >&5
5533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5534 (exit $ac_status); } && {
5535 test -z "$ac_c_werror_flag" ||
5536 test ! -s conftest.err
5537 } && test -s conftest.$ac_objext; then
5538 ac_cv_have_decl_CURLOPT_CUSTOMREQUEST=yes
5539 else
5540 echo "$as_me: failed program was:" >&5
5541 sed 's/^/| /' conftest.$ac_ext >&5
5543 ac_cv_have_decl_CURLOPT_CUSTOMREQUEST=no
5546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5548 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" >&5
5549 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" >&6; }
5550 if test $ac_cv_have_decl_CURLOPT_CUSTOMREQUEST = yes; then
5552 cat >>confdefs.h <<_ACEOF
5553 #define HAVE_DECL_CURLOPT_CUSTOMREQUEST 1
5554 _ACEOF
5557 else
5558 cat >>confdefs.h <<_ACEOF
5559 #define HAVE_DECL_CURLOPT_CUSTOMREQUEST 0
5560 _ACEOF
5564 { echo "$as_me:$LINENO: checking whether CURLOPT_STDERR is declared" >&5
5565 echo $ECHO_N "checking whether CURLOPT_STDERR is declared... $ECHO_C" >&6; }
5566 if test "${ac_cv_have_decl_CURLOPT_STDERR+set}" = set; then
5567 echo $ECHO_N "(cached) $ECHO_C" >&6
5568 else
5569 cat >conftest.$ac_ext <<_ACEOF
5570 /* confdefs.h. */
5571 _ACEOF
5572 cat confdefs.h >>conftest.$ac_ext
5573 cat >>conftest.$ac_ext <<_ACEOF
5574 /* end confdefs.h. */
5576 #include "curl/curl.h"
5580 main ()
5582 #ifndef CURLOPT_STDERR
5583 (void) CURLOPT_STDERR;
5584 #endif
5587 return 0;
5589 _ACEOF
5590 rm -f conftest.$ac_objext
5591 if { (ac_try="$ac_compile"
5592 case "(($ac_try" in
5593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5594 *) ac_try_echo=$ac_try;;
5595 esac
5596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5597 (eval "$ac_compile") 2>conftest.er1
5598 ac_status=$?
5599 grep -v '^ *+' conftest.er1 >conftest.err
5600 rm -f conftest.er1
5601 cat conftest.err >&5
5602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5603 (exit $ac_status); } && {
5604 test -z "$ac_c_werror_flag" ||
5605 test ! -s conftest.err
5606 } && test -s conftest.$ac_objext; then
5607 ac_cv_have_decl_CURLOPT_STDERR=yes
5608 else
5609 echo "$as_me: failed program was:" >&5
5610 sed 's/^/| /' conftest.$ac_ext >&5
5612 ac_cv_have_decl_CURLOPT_STDERR=no
5615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5617 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_STDERR" >&5
5618 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_STDERR" >&6; }
5619 if test $ac_cv_have_decl_CURLOPT_STDERR = yes; then
5621 cat >>confdefs.h <<_ACEOF
5622 #define HAVE_DECL_CURLOPT_STDERR 1
5623 _ACEOF
5626 else
5627 cat >>confdefs.h <<_ACEOF
5628 #define HAVE_DECL_CURLOPT_STDERR 0
5629 _ACEOF
5633 { echo "$as_me:$LINENO: checking whether CURLOPT_POSTQUOTE is declared" >&5
5634 echo $ECHO_N "checking whether CURLOPT_POSTQUOTE is declared... $ECHO_C" >&6; }
5635 if test "${ac_cv_have_decl_CURLOPT_POSTQUOTE+set}" = set; then
5636 echo $ECHO_N "(cached) $ECHO_C" >&6
5637 else
5638 cat >conftest.$ac_ext <<_ACEOF
5639 /* confdefs.h. */
5640 _ACEOF
5641 cat confdefs.h >>conftest.$ac_ext
5642 cat >>conftest.$ac_ext <<_ACEOF
5643 /* end confdefs.h. */
5645 #include "curl/curl.h"
5649 main ()
5651 #ifndef CURLOPT_POSTQUOTE
5652 (void) CURLOPT_POSTQUOTE;
5653 #endif
5656 return 0;
5658 _ACEOF
5659 rm -f conftest.$ac_objext
5660 if { (ac_try="$ac_compile"
5661 case "(($ac_try" in
5662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5663 *) ac_try_echo=$ac_try;;
5664 esac
5665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5666 (eval "$ac_compile") 2>conftest.er1
5667 ac_status=$?
5668 grep -v '^ *+' conftest.er1 >conftest.err
5669 rm -f conftest.er1
5670 cat conftest.err >&5
5671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5672 (exit $ac_status); } && {
5673 test -z "$ac_c_werror_flag" ||
5674 test ! -s conftest.err
5675 } && test -s conftest.$ac_objext; then
5676 ac_cv_have_decl_CURLOPT_POSTQUOTE=yes
5677 else
5678 echo "$as_me: failed program was:" >&5
5679 sed 's/^/| /' conftest.$ac_ext >&5
5681 ac_cv_have_decl_CURLOPT_POSTQUOTE=no
5684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5686 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_POSTQUOTE" >&5
5687 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_POSTQUOTE" >&6; }
5688 if test $ac_cv_have_decl_CURLOPT_POSTQUOTE = yes; then
5690 cat >>confdefs.h <<_ACEOF
5691 #define HAVE_DECL_CURLOPT_POSTQUOTE 1
5692 _ACEOF
5695 else
5696 cat >>confdefs.h <<_ACEOF
5697 #define HAVE_DECL_CURLOPT_POSTQUOTE 0
5698 _ACEOF
5702 { echo "$as_me:$LINENO: checking whether CURLOPT_WRITEINFO is declared" >&5
5703 echo $ECHO_N "checking whether CURLOPT_WRITEINFO is declared... $ECHO_C" >&6; }
5704 if test "${ac_cv_have_decl_CURLOPT_WRITEINFO+set}" = set; then
5705 echo $ECHO_N "(cached) $ECHO_C" >&6
5706 else
5707 cat >conftest.$ac_ext <<_ACEOF
5708 /* confdefs.h. */
5709 _ACEOF
5710 cat confdefs.h >>conftest.$ac_ext
5711 cat >>conftest.$ac_ext <<_ACEOF
5712 /* end confdefs.h. */
5714 #include "curl/curl.h"
5718 main ()
5720 #ifndef CURLOPT_WRITEINFO
5721 (void) CURLOPT_WRITEINFO;
5722 #endif
5725 return 0;
5727 _ACEOF
5728 rm -f conftest.$ac_objext
5729 if { (ac_try="$ac_compile"
5730 case "(($ac_try" in
5731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5732 *) ac_try_echo=$ac_try;;
5733 esac
5734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5735 (eval "$ac_compile") 2>conftest.er1
5736 ac_status=$?
5737 grep -v '^ *+' conftest.er1 >conftest.err
5738 rm -f conftest.er1
5739 cat conftest.err >&5
5740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5741 (exit $ac_status); } && {
5742 test -z "$ac_c_werror_flag" ||
5743 test ! -s conftest.err
5744 } && test -s conftest.$ac_objext; then
5745 ac_cv_have_decl_CURLOPT_WRITEINFO=yes
5746 else
5747 echo "$as_me: failed program was:" >&5
5748 sed 's/^/| /' conftest.$ac_ext >&5
5750 ac_cv_have_decl_CURLOPT_WRITEINFO=no
5753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5755 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_WRITEINFO" >&5
5756 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_WRITEINFO" >&6; }
5757 if test $ac_cv_have_decl_CURLOPT_WRITEINFO = yes; then
5759 cat >>confdefs.h <<_ACEOF
5760 #define HAVE_DECL_CURLOPT_WRITEINFO 1
5761 _ACEOF
5764 else
5765 cat >>confdefs.h <<_ACEOF
5766 #define HAVE_DECL_CURLOPT_WRITEINFO 0
5767 _ACEOF
5771 { echo "$as_me:$LINENO: checking whether CURLOPT_VERBOSE is declared" >&5
5772 echo $ECHO_N "checking whether CURLOPT_VERBOSE is declared... $ECHO_C" >&6; }
5773 if test "${ac_cv_have_decl_CURLOPT_VERBOSE+set}" = set; then
5774 echo $ECHO_N "(cached) $ECHO_C" >&6
5775 else
5776 cat >conftest.$ac_ext <<_ACEOF
5777 /* confdefs.h. */
5778 _ACEOF
5779 cat confdefs.h >>conftest.$ac_ext
5780 cat >>conftest.$ac_ext <<_ACEOF
5781 /* end confdefs.h. */
5783 #include "curl/curl.h"
5787 main ()
5789 #ifndef CURLOPT_VERBOSE
5790 (void) CURLOPT_VERBOSE;
5791 #endif
5794 return 0;
5796 _ACEOF
5797 rm -f conftest.$ac_objext
5798 if { (ac_try="$ac_compile"
5799 case "(($ac_try" in
5800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5801 *) ac_try_echo=$ac_try;;
5802 esac
5803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5804 (eval "$ac_compile") 2>conftest.er1
5805 ac_status=$?
5806 grep -v '^ *+' conftest.er1 >conftest.err
5807 rm -f conftest.er1
5808 cat conftest.err >&5
5809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5810 (exit $ac_status); } && {
5811 test -z "$ac_c_werror_flag" ||
5812 test ! -s conftest.err
5813 } && test -s conftest.$ac_objext; then
5814 ac_cv_have_decl_CURLOPT_VERBOSE=yes
5815 else
5816 echo "$as_me: failed program was:" >&5
5817 sed 's/^/| /' conftest.$ac_ext >&5
5819 ac_cv_have_decl_CURLOPT_VERBOSE=no
5822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5824 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_VERBOSE" >&5
5825 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_VERBOSE" >&6; }
5826 if test $ac_cv_have_decl_CURLOPT_VERBOSE = yes; then
5828 cat >>confdefs.h <<_ACEOF
5829 #define HAVE_DECL_CURLOPT_VERBOSE 1
5830 _ACEOF
5833 else
5834 cat >>confdefs.h <<_ACEOF
5835 #define HAVE_DECL_CURLOPT_VERBOSE 0
5836 _ACEOF
5840 { echo "$as_me:$LINENO: checking whether CURLOPT_HEADER is declared" >&5
5841 echo $ECHO_N "checking whether CURLOPT_HEADER is declared... $ECHO_C" >&6; }
5842 if test "${ac_cv_have_decl_CURLOPT_HEADER+set}" = set; then
5843 echo $ECHO_N "(cached) $ECHO_C" >&6
5844 else
5845 cat >conftest.$ac_ext <<_ACEOF
5846 /* confdefs.h. */
5847 _ACEOF
5848 cat confdefs.h >>conftest.$ac_ext
5849 cat >>conftest.$ac_ext <<_ACEOF
5850 /* end confdefs.h. */
5852 #include "curl/curl.h"
5856 main ()
5858 #ifndef CURLOPT_HEADER
5859 (void) CURLOPT_HEADER;
5860 #endif
5863 return 0;
5865 _ACEOF
5866 rm -f conftest.$ac_objext
5867 if { (ac_try="$ac_compile"
5868 case "(($ac_try" in
5869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5870 *) ac_try_echo=$ac_try;;
5871 esac
5872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5873 (eval "$ac_compile") 2>conftest.er1
5874 ac_status=$?
5875 grep -v '^ *+' conftest.er1 >conftest.err
5876 rm -f conftest.er1
5877 cat conftest.err >&5
5878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5879 (exit $ac_status); } && {
5880 test -z "$ac_c_werror_flag" ||
5881 test ! -s conftest.err
5882 } && test -s conftest.$ac_objext; then
5883 ac_cv_have_decl_CURLOPT_HEADER=yes
5884 else
5885 echo "$as_me: failed program was:" >&5
5886 sed 's/^/| /' conftest.$ac_ext >&5
5888 ac_cv_have_decl_CURLOPT_HEADER=no
5891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5893 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_HEADER" >&5
5894 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_HEADER" >&6; }
5895 if test $ac_cv_have_decl_CURLOPT_HEADER = yes; then
5897 cat >>confdefs.h <<_ACEOF
5898 #define HAVE_DECL_CURLOPT_HEADER 1
5899 _ACEOF
5902 else
5903 cat >>confdefs.h <<_ACEOF
5904 #define HAVE_DECL_CURLOPT_HEADER 0
5905 _ACEOF
5909 { echo "$as_me:$LINENO: checking whether CURLOPT_NOPROGRESS is declared" >&5
5910 echo $ECHO_N "checking whether CURLOPT_NOPROGRESS is declared... $ECHO_C" >&6; }
5911 if test "${ac_cv_have_decl_CURLOPT_NOPROGRESS+set}" = set; then
5912 echo $ECHO_N "(cached) $ECHO_C" >&6
5913 else
5914 cat >conftest.$ac_ext <<_ACEOF
5915 /* confdefs.h. */
5916 _ACEOF
5917 cat confdefs.h >>conftest.$ac_ext
5918 cat >>conftest.$ac_ext <<_ACEOF
5919 /* end confdefs.h. */
5921 #include "curl/curl.h"
5925 main ()
5927 #ifndef CURLOPT_NOPROGRESS
5928 (void) CURLOPT_NOPROGRESS;
5929 #endif
5932 return 0;
5934 _ACEOF
5935 rm -f conftest.$ac_objext
5936 if { (ac_try="$ac_compile"
5937 case "(($ac_try" in
5938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5939 *) ac_try_echo=$ac_try;;
5940 esac
5941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5942 (eval "$ac_compile") 2>conftest.er1
5943 ac_status=$?
5944 grep -v '^ *+' conftest.er1 >conftest.err
5945 rm -f conftest.er1
5946 cat conftest.err >&5
5947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5948 (exit $ac_status); } && {
5949 test -z "$ac_c_werror_flag" ||
5950 test ! -s conftest.err
5951 } && test -s conftest.$ac_objext; then
5952 ac_cv_have_decl_CURLOPT_NOPROGRESS=yes
5953 else
5954 echo "$as_me: failed program was:" >&5
5955 sed 's/^/| /' conftest.$ac_ext >&5
5957 ac_cv_have_decl_CURLOPT_NOPROGRESS=no
5960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5962 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_NOPROGRESS" >&5
5963 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_NOPROGRESS" >&6; }
5964 if test $ac_cv_have_decl_CURLOPT_NOPROGRESS = yes; then
5966 cat >>confdefs.h <<_ACEOF
5967 #define HAVE_DECL_CURLOPT_NOPROGRESS 1
5968 _ACEOF
5971 else
5972 cat >>confdefs.h <<_ACEOF
5973 #define HAVE_DECL_CURLOPT_NOPROGRESS 0
5974 _ACEOF
5978 { echo "$as_me:$LINENO: checking whether CURLOPT_NOBODY is declared" >&5
5979 echo $ECHO_N "checking whether CURLOPT_NOBODY is declared... $ECHO_C" >&6; }
5980 if test "${ac_cv_have_decl_CURLOPT_NOBODY+set}" = set; then
5981 echo $ECHO_N "(cached) $ECHO_C" >&6
5982 else
5983 cat >conftest.$ac_ext <<_ACEOF
5984 /* confdefs.h. */
5985 _ACEOF
5986 cat confdefs.h >>conftest.$ac_ext
5987 cat >>conftest.$ac_ext <<_ACEOF
5988 /* end confdefs.h. */
5990 #include "curl/curl.h"
5994 main ()
5996 #ifndef CURLOPT_NOBODY
5997 (void) CURLOPT_NOBODY;
5998 #endif
6001 return 0;
6003 _ACEOF
6004 rm -f conftest.$ac_objext
6005 if { (ac_try="$ac_compile"
6006 case "(($ac_try" in
6007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6008 *) ac_try_echo=$ac_try;;
6009 esac
6010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6011 (eval "$ac_compile") 2>conftest.er1
6012 ac_status=$?
6013 grep -v '^ *+' conftest.er1 >conftest.err
6014 rm -f conftest.er1
6015 cat conftest.err >&5
6016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6017 (exit $ac_status); } && {
6018 test -z "$ac_c_werror_flag" ||
6019 test ! -s conftest.err
6020 } && test -s conftest.$ac_objext; then
6021 ac_cv_have_decl_CURLOPT_NOBODY=yes
6022 else
6023 echo "$as_me: failed program was:" >&5
6024 sed 's/^/| /' conftest.$ac_ext >&5
6026 ac_cv_have_decl_CURLOPT_NOBODY=no
6029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6031 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_NOBODY" >&5
6032 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_NOBODY" >&6; }
6033 if test $ac_cv_have_decl_CURLOPT_NOBODY = yes; then
6035 cat >>confdefs.h <<_ACEOF
6036 #define HAVE_DECL_CURLOPT_NOBODY 1
6037 _ACEOF
6040 else
6041 cat >>confdefs.h <<_ACEOF
6042 #define HAVE_DECL_CURLOPT_NOBODY 0
6043 _ACEOF
6047 { echo "$as_me:$LINENO: checking whether CURLOPT_FAILONERROR is declared" >&5
6048 echo $ECHO_N "checking whether CURLOPT_FAILONERROR is declared... $ECHO_C" >&6; }
6049 if test "${ac_cv_have_decl_CURLOPT_FAILONERROR+set}" = set; then
6050 echo $ECHO_N "(cached) $ECHO_C" >&6
6051 else
6052 cat >conftest.$ac_ext <<_ACEOF
6053 /* confdefs.h. */
6054 _ACEOF
6055 cat confdefs.h >>conftest.$ac_ext
6056 cat >>conftest.$ac_ext <<_ACEOF
6057 /* end confdefs.h. */
6059 #include "curl/curl.h"
6063 main ()
6065 #ifndef CURLOPT_FAILONERROR
6066 (void) CURLOPT_FAILONERROR;
6067 #endif
6070 return 0;
6072 _ACEOF
6073 rm -f conftest.$ac_objext
6074 if { (ac_try="$ac_compile"
6075 case "(($ac_try" in
6076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6077 *) ac_try_echo=$ac_try;;
6078 esac
6079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6080 (eval "$ac_compile") 2>conftest.er1
6081 ac_status=$?
6082 grep -v '^ *+' conftest.er1 >conftest.err
6083 rm -f conftest.er1
6084 cat conftest.err >&5
6085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6086 (exit $ac_status); } && {
6087 test -z "$ac_c_werror_flag" ||
6088 test ! -s conftest.err
6089 } && test -s conftest.$ac_objext; then
6090 ac_cv_have_decl_CURLOPT_FAILONERROR=yes
6091 else
6092 echo "$as_me: failed program was:" >&5
6093 sed 's/^/| /' conftest.$ac_ext >&5
6095 ac_cv_have_decl_CURLOPT_FAILONERROR=no
6098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6100 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_FAILONERROR" >&5
6101 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_FAILONERROR" >&6; }
6102 if test $ac_cv_have_decl_CURLOPT_FAILONERROR = yes; then
6104 cat >>confdefs.h <<_ACEOF
6105 #define HAVE_DECL_CURLOPT_FAILONERROR 1
6106 _ACEOF
6109 else
6110 cat >>confdefs.h <<_ACEOF
6111 #define HAVE_DECL_CURLOPT_FAILONERROR 0
6112 _ACEOF
6116 { echo "$as_me:$LINENO: checking whether CURLOPT_UPLOAD is declared" >&5
6117 echo $ECHO_N "checking whether CURLOPT_UPLOAD is declared... $ECHO_C" >&6; }
6118 if test "${ac_cv_have_decl_CURLOPT_UPLOAD+set}" = set; then
6119 echo $ECHO_N "(cached) $ECHO_C" >&6
6120 else
6121 cat >conftest.$ac_ext <<_ACEOF
6122 /* confdefs.h. */
6123 _ACEOF
6124 cat confdefs.h >>conftest.$ac_ext
6125 cat >>conftest.$ac_ext <<_ACEOF
6126 /* end confdefs.h. */
6128 #include "curl/curl.h"
6132 main ()
6134 #ifndef CURLOPT_UPLOAD
6135 (void) CURLOPT_UPLOAD;
6136 #endif
6139 return 0;
6141 _ACEOF
6142 rm -f conftest.$ac_objext
6143 if { (ac_try="$ac_compile"
6144 case "(($ac_try" in
6145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6146 *) ac_try_echo=$ac_try;;
6147 esac
6148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6149 (eval "$ac_compile") 2>conftest.er1
6150 ac_status=$?
6151 grep -v '^ *+' conftest.er1 >conftest.err
6152 rm -f conftest.er1
6153 cat conftest.err >&5
6154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6155 (exit $ac_status); } && {
6156 test -z "$ac_c_werror_flag" ||
6157 test ! -s conftest.err
6158 } && test -s conftest.$ac_objext; then
6159 ac_cv_have_decl_CURLOPT_UPLOAD=yes
6160 else
6161 echo "$as_me: failed program was:" >&5
6162 sed 's/^/| /' conftest.$ac_ext >&5
6164 ac_cv_have_decl_CURLOPT_UPLOAD=no
6167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6169 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_UPLOAD" >&5
6170 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_UPLOAD" >&6; }
6171 if test $ac_cv_have_decl_CURLOPT_UPLOAD = yes; then
6173 cat >>confdefs.h <<_ACEOF
6174 #define HAVE_DECL_CURLOPT_UPLOAD 1
6175 _ACEOF
6178 else
6179 cat >>confdefs.h <<_ACEOF
6180 #define HAVE_DECL_CURLOPT_UPLOAD 0
6181 _ACEOF
6185 { echo "$as_me:$LINENO: checking whether CURLOPT_POST is declared" >&5
6186 echo $ECHO_N "checking whether CURLOPT_POST is declared... $ECHO_C" >&6; }
6187 if test "${ac_cv_have_decl_CURLOPT_POST+set}" = set; then
6188 echo $ECHO_N "(cached) $ECHO_C" >&6
6189 else
6190 cat >conftest.$ac_ext <<_ACEOF
6191 /* confdefs.h. */
6192 _ACEOF
6193 cat confdefs.h >>conftest.$ac_ext
6194 cat >>conftest.$ac_ext <<_ACEOF
6195 /* end confdefs.h. */
6197 #include "curl/curl.h"
6201 main ()
6203 #ifndef CURLOPT_POST
6204 (void) CURLOPT_POST;
6205 #endif
6208 return 0;
6210 _ACEOF
6211 rm -f conftest.$ac_objext
6212 if { (ac_try="$ac_compile"
6213 case "(($ac_try" in
6214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6215 *) ac_try_echo=$ac_try;;
6216 esac
6217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6218 (eval "$ac_compile") 2>conftest.er1
6219 ac_status=$?
6220 grep -v '^ *+' conftest.er1 >conftest.err
6221 rm -f conftest.er1
6222 cat conftest.err >&5
6223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6224 (exit $ac_status); } && {
6225 test -z "$ac_c_werror_flag" ||
6226 test ! -s conftest.err
6227 } && test -s conftest.$ac_objext; then
6228 ac_cv_have_decl_CURLOPT_POST=yes
6229 else
6230 echo "$as_me: failed program was:" >&5
6231 sed 's/^/| /' conftest.$ac_ext >&5
6233 ac_cv_have_decl_CURLOPT_POST=no
6236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6238 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_POST" >&5
6239 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_POST" >&6; }
6240 if test $ac_cv_have_decl_CURLOPT_POST = yes; then
6242 cat >>confdefs.h <<_ACEOF
6243 #define HAVE_DECL_CURLOPT_POST 1
6244 _ACEOF
6247 else
6248 cat >>confdefs.h <<_ACEOF
6249 #define HAVE_DECL_CURLOPT_POST 0
6250 _ACEOF
6254 { echo "$as_me:$LINENO: checking whether CURLOPT_FTPLISTONLY is declared" >&5
6255 echo $ECHO_N "checking whether CURLOPT_FTPLISTONLY is declared... $ECHO_C" >&6; }
6256 if test "${ac_cv_have_decl_CURLOPT_FTPLISTONLY+set}" = set; then
6257 echo $ECHO_N "(cached) $ECHO_C" >&6
6258 else
6259 cat >conftest.$ac_ext <<_ACEOF
6260 /* confdefs.h. */
6261 _ACEOF
6262 cat confdefs.h >>conftest.$ac_ext
6263 cat >>conftest.$ac_ext <<_ACEOF
6264 /* end confdefs.h. */
6266 #include "curl/curl.h"
6270 main ()
6272 #ifndef CURLOPT_FTPLISTONLY
6273 (void) CURLOPT_FTPLISTONLY;
6274 #endif
6277 return 0;
6279 _ACEOF
6280 rm -f conftest.$ac_objext
6281 if { (ac_try="$ac_compile"
6282 case "(($ac_try" in
6283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6284 *) ac_try_echo=$ac_try;;
6285 esac
6286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6287 (eval "$ac_compile") 2>conftest.er1
6288 ac_status=$?
6289 grep -v '^ *+' conftest.er1 >conftest.err
6290 rm -f conftest.er1
6291 cat conftest.err >&5
6292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); } && {
6294 test -z "$ac_c_werror_flag" ||
6295 test ! -s conftest.err
6296 } && test -s conftest.$ac_objext; then
6297 ac_cv_have_decl_CURLOPT_FTPLISTONLY=yes
6298 else
6299 echo "$as_me: failed program was:" >&5
6300 sed 's/^/| /' conftest.$ac_ext >&5
6302 ac_cv_have_decl_CURLOPT_FTPLISTONLY=no
6305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6307 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_FTPLISTONLY" >&5
6308 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_FTPLISTONLY" >&6; }
6309 if test $ac_cv_have_decl_CURLOPT_FTPLISTONLY = yes; then
6311 cat >>confdefs.h <<_ACEOF
6312 #define HAVE_DECL_CURLOPT_FTPLISTONLY 1
6313 _ACEOF
6316 else
6317 cat >>confdefs.h <<_ACEOF
6318 #define HAVE_DECL_CURLOPT_FTPLISTONLY 0
6319 _ACEOF
6323 { echo "$as_me:$LINENO: checking whether CURLOPT_FTPAPPEND is declared" >&5
6324 echo $ECHO_N "checking whether CURLOPT_FTPAPPEND is declared... $ECHO_C" >&6; }
6325 if test "${ac_cv_have_decl_CURLOPT_FTPAPPEND+set}" = set; then
6326 echo $ECHO_N "(cached) $ECHO_C" >&6
6327 else
6328 cat >conftest.$ac_ext <<_ACEOF
6329 /* confdefs.h. */
6330 _ACEOF
6331 cat confdefs.h >>conftest.$ac_ext
6332 cat >>conftest.$ac_ext <<_ACEOF
6333 /* end confdefs.h. */
6335 #include "curl/curl.h"
6339 main ()
6341 #ifndef CURLOPT_FTPAPPEND
6342 (void) CURLOPT_FTPAPPEND;
6343 #endif
6346 return 0;
6348 _ACEOF
6349 rm -f conftest.$ac_objext
6350 if { (ac_try="$ac_compile"
6351 case "(($ac_try" in
6352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6353 *) ac_try_echo=$ac_try;;
6354 esac
6355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6356 (eval "$ac_compile") 2>conftest.er1
6357 ac_status=$?
6358 grep -v '^ *+' conftest.er1 >conftest.err
6359 rm -f conftest.er1
6360 cat conftest.err >&5
6361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362 (exit $ac_status); } && {
6363 test -z "$ac_c_werror_flag" ||
6364 test ! -s conftest.err
6365 } && test -s conftest.$ac_objext; then
6366 ac_cv_have_decl_CURLOPT_FTPAPPEND=yes
6367 else
6368 echo "$as_me: failed program was:" >&5
6369 sed 's/^/| /' conftest.$ac_ext >&5
6371 ac_cv_have_decl_CURLOPT_FTPAPPEND=no
6374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6376 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_FTPAPPEND" >&5
6377 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_FTPAPPEND" >&6; }
6378 if test $ac_cv_have_decl_CURLOPT_FTPAPPEND = yes; then
6380 cat >>confdefs.h <<_ACEOF
6381 #define HAVE_DECL_CURLOPT_FTPAPPEND 1
6382 _ACEOF
6385 else
6386 cat >>confdefs.h <<_ACEOF
6387 #define HAVE_DECL_CURLOPT_FTPAPPEND 0
6388 _ACEOF
6392 { echo "$as_me:$LINENO: checking whether CURLOPT_NETRC is declared" >&5
6393 echo $ECHO_N "checking whether CURLOPT_NETRC is declared... $ECHO_C" >&6; }
6394 if test "${ac_cv_have_decl_CURLOPT_NETRC+set}" = set; then
6395 echo $ECHO_N "(cached) $ECHO_C" >&6
6396 else
6397 cat >conftest.$ac_ext <<_ACEOF
6398 /* confdefs.h. */
6399 _ACEOF
6400 cat confdefs.h >>conftest.$ac_ext
6401 cat >>conftest.$ac_ext <<_ACEOF
6402 /* end confdefs.h. */
6404 #include "curl/curl.h"
6408 main ()
6410 #ifndef CURLOPT_NETRC
6411 (void) CURLOPT_NETRC;
6412 #endif
6415 return 0;
6417 _ACEOF
6418 rm -f conftest.$ac_objext
6419 if { (ac_try="$ac_compile"
6420 case "(($ac_try" in
6421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6422 *) ac_try_echo=$ac_try;;
6423 esac
6424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6425 (eval "$ac_compile") 2>conftest.er1
6426 ac_status=$?
6427 grep -v '^ *+' conftest.er1 >conftest.err
6428 rm -f conftest.er1
6429 cat conftest.err >&5
6430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6431 (exit $ac_status); } && {
6432 test -z "$ac_c_werror_flag" ||
6433 test ! -s conftest.err
6434 } && test -s conftest.$ac_objext; then
6435 ac_cv_have_decl_CURLOPT_NETRC=yes
6436 else
6437 echo "$as_me: failed program was:" >&5
6438 sed 's/^/| /' conftest.$ac_ext >&5
6440 ac_cv_have_decl_CURLOPT_NETRC=no
6443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6445 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_NETRC" >&5
6446 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_NETRC" >&6; }
6447 if test $ac_cv_have_decl_CURLOPT_NETRC = yes; then
6449 cat >>confdefs.h <<_ACEOF
6450 #define HAVE_DECL_CURLOPT_NETRC 1
6451 _ACEOF
6454 else
6455 cat >>confdefs.h <<_ACEOF
6456 #define HAVE_DECL_CURLOPT_NETRC 0
6457 _ACEOF
6461 { echo "$as_me:$LINENO: checking whether CURLOPT_FOLLOWLOCATION is declared" >&5
6462 echo $ECHO_N "checking whether CURLOPT_FOLLOWLOCATION is declared... $ECHO_C" >&6; }
6463 if test "${ac_cv_have_decl_CURLOPT_FOLLOWLOCATION+set}" = set; then
6464 echo $ECHO_N "(cached) $ECHO_C" >&6
6465 else
6466 cat >conftest.$ac_ext <<_ACEOF
6467 /* confdefs.h. */
6468 _ACEOF
6469 cat confdefs.h >>conftest.$ac_ext
6470 cat >>conftest.$ac_ext <<_ACEOF
6471 /* end confdefs.h. */
6473 #include "curl/curl.h"
6477 main ()
6479 #ifndef CURLOPT_FOLLOWLOCATION
6480 (void) CURLOPT_FOLLOWLOCATION;
6481 #endif
6484 return 0;
6486 _ACEOF
6487 rm -f conftest.$ac_objext
6488 if { (ac_try="$ac_compile"
6489 case "(($ac_try" in
6490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6491 *) ac_try_echo=$ac_try;;
6492 esac
6493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6494 (eval "$ac_compile") 2>conftest.er1
6495 ac_status=$?
6496 grep -v '^ *+' conftest.er1 >conftest.err
6497 rm -f conftest.er1
6498 cat conftest.err >&5
6499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6500 (exit $ac_status); } && {
6501 test -z "$ac_c_werror_flag" ||
6502 test ! -s conftest.err
6503 } && test -s conftest.$ac_objext; then
6504 ac_cv_have_decl_CURLOPT_FOLLOWLOCATION=yes
6505 else
6506 echo "$as_me: failed program was:" >&5
6507 sed 's/^/| /' conftest.$ac_ext >&5
6509 ac_cv_have_decl_CURLOPT_FOLLOWLOCATION=no
6512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6514 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" >&5
6515 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" >&6; }
6516 if test $ac_cv_have_decl_CURLOPT_FOLLOWLOCATION = yes; then
6518 cat >>confdefs.h <<_ACEOF
6519 #define HAVE_DECL_CURLOPT_FOLLOWLOCATION 1
6520 _ACEOF
6523 else
6524 cat >>confdefs.h <<_ACEOF
6525 #define HAVE_DECL_CURLOPT_FOLLOWLOCATION 0
6526 _ACEOF
6530 { echo "$as_me:$LINENO: checking whether CURLOPT_TRANSFERTEXT is declared" >&5
6531 echo $ECHO_N "checking whether CURLOPT_TRANSFERTEXT is declared... $ECHO_C" >&6; }
6532 if test "${ac_cv_have_decl_CURLOPT_TRANSFERTEXT+set}" = set; then
6533 echo $ECHO_N "(cached) $ECHO_C" >&6
6534 else
6535 cat >conftest.$ac_ext <<_ACEOF
6536 /* confdefs.h. */
6537 _ACEOF
6538 cat confdefs.h >>conftest.$ac_ext
6539 cat >>conftest.$ac_ext <<_ACEOF
6540 /* end confdefs.h. */
6542 #include "curl/curl.h"
6546 main ()
6548 #ifndef CURLOPT_TRANSFERTEXT
6549 (void) CURLOPT_TRANSFERTEXT;
6550 #endif
6553 return 0;
6555 _ACEOF
6556 rm -f conftest.$ac_objext
6557 if { (ac_try="$ac_compile"
6558 case "(($ac_try" in
6559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6560 *) ac_try_echo=$ac_try;;
6561 esac
6562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6563 (eval "$ac_compile") 2>conftest.er1
6564 ac_status=$?
6565 grep -v '^ *+' conftest.er1 >conftest.err
6566 rm -f conftest.er1
6567 cat conftest.err >&5
6568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6569 (exit $ac_status); } && {
6570 test -z "$ac_c_werror_flag" ||
6571 test ! -s conftest.err
6572 } && test -s conftest.$ac_objext; then
6573 ac_cv_have_decl_CURLOPT_TRANSFERTEXT=yes
6574 else
6575 echo "$as_me: failed program was:" >&5
6576 sed 's/^/| /' conftest.$ac_ext >&5
6578 ac_cv_have_decl_CURLOPT_TRANSFERTEXT=no
6581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6583 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_TRANSFERTEXT" >&5
6584 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_TRANSFERTEXT" >&6; }
6585 if test $ac_cv_have_decl_CURLOPT_TRANSFERTEXT = yes; then
6587 cat >>confdefs.h <<_ACEOF
6588 #define HAVE_DECL_CURLOPT_TRANSFERTEXT 1
6589 _ACEOF
6592 else
6593 cat >>confdefs.h <<_ACEOF
6594 #define HAVE_DECL_CURLOPT_TRANSFERTEXT 0
6595 _ACEOF
6599 { echo "$as_me:$LINENO: checking whether CURLOPT_PUT is declared" >&5
6600 echo $ECHO_N "checking whether CURLOPT_PUT is declared... $ECHO_C" >&6; }
6601 if test "${ac_cv_have_decl_CURLOPT_PUT+set}" = set; then
6602 echo $ECHO_N "(cached) $ECHO_C" >&6
6603 else
6604 cat >conftest.$ac_ext <<_ACEOF
6605 /* confdefs.h. */
6606 _ACEOF
6607 cat confdefs.h >>conftest.$ac_ext
6608 cat >>conftest.$ac_ext <<_ACEOF
6609 /* end confdefs.h. */
6611 #include "curl/curl.h"
6615 main ()
6617 #ifndef CURLOPT_PUT
6618 (void) CURLOPT_PUT;
6619 #endif
6622 return 0;
6624 _ACEOF
6625 rm -f conftest.$ac_objext
6626 if { (ac_try="$ac_compile"
6627 case "(($ac_try" in
6628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6629 *) ac_try_echo=$ac_try;;
6630 esac
6631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6632 (eval "$ac_compile") 2>conftest.er1
6633 ac_status=$?
6634 grep -v '^ *+' conftest.er1 >conftest.err
6635 rm -f conftest.er1
6636 cat conftest.err >&5
6637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6638 (exit $ac_status); } && {
6639 test -z "$ac_c_werror_flag" ||
6640 test ! -s conftest.err
6641 } && test -s conftest.$ac_objext; then
6642 ac_cv_have_decl_CURLOPT_PUT=yes
6643 else
6644 echo "$as_me: failed program was:" >&5
6645 sed 's/^/| /' conftest.$ac_ext >&5
6647 ac_cv_have_decl_CURLOPT_PUT=no
6650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6652 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_PUT" >&5
6653 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_PUT" >&6; }
6654 if test $ac_cv_have_decl_CURLOPT_PUT = yes; then
6656 cat >>confdefs.h <<_ACEOF
6657 #define HAVE_DECL_CURLOPT_PUT 1
6658 _ACEOF
6661 else
6662 cat >>confdefs.h <<_ACEOF
6663 #define HAVE_DECL_CURLOPT_PUT 0
6664 _ACEOF
6668 { echo "$as_me:$LINENO: checking whether CURLOPT_PROGRESSFUNCTION is declared" >&5
6669 echo $ECHO_N "checking whether CURLOPT_PROGRESSFUNCTION is declared... $ECHO_C" >&6; }
6670 if test "${ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION+set}" = set; then
6671 echo $ECHO_N "(cached) $ECHO_C" >&6
6672 else
6673 cat >conftest.$ac_ext <<_ACEOF
6674 /* confdefs.h. */
6675 _ACEOF
6676 cat confdefs.h >>conftest.$ac_ext
6677 cat >>conftest.$ac_ext <<_ACEOF
6678 /* end confdefs.h. */
6680 #include "curl/curl.h"
6684 main ()
6686 #ifndef CURLOPT_PROGRESSFUNCTION
6687 (void) CURLOPT_PROGRESSFUNCTION;
6688 #endif
6691 return 0;
6693 _ACEOF
6694 rm -f conftest.$ac_objext
6695 if { (ac_try="$ac_compile"
6696 case "(($ac_try" in
6697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6698 *) ac_try_echo=$ac_try;;
6699 esac
6700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6701 (eval "$ac_compile") 2>conftest.er1
6702 ac_status=$?
6703 grep -v '^ *+' conftest.er1 >conftest.err
6704 rm -f conftest.er1
6705 cat conftest.err >&5
6706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707 (exit $ac_status); } && {
6708 test -z "$ac_c_werror_flag" ||
6709 test ! -s conftest.err
6710 } && test -s conftest.$ac_objext; then
6711 ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION=yes
6712 else
6713 echo "$as_me: failed program was:" >&5
6714 sed 's/^/| /' conftest.$ac_ext >&5
6716 ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION=no
6719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6721 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" >&5
6722 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" >&6; }
6723 if test $ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION = yes; then
6725 cat >>confdefs.h <<_ACEOF
6726 #define HAVE_DECL_CURLOPT_PROGRESSFUNCTION 1
6727 _ACEOF
6730 else
6731 cat >>confdefs.h <<_ACEOF
6732 #define HAVE_DECL_CURLOPT_PROGRESSFUNCTION 0
6733 _ACEOF
6737 { echo "$as_me:$LINENO: checking whether CURLOPT_PROGRESSDATA is declared" >&5
6738 echo $ECHO_N "checking whether CURLOPT_PROGRESSDATA is declared... $ECHO_C" >&6; }
6739 if test "${ac_cv_have_decl_CURLOPT_PROGRESSDATA+set}" = set; then
6740 echo $ECHO_N "(cached) $ECHO_C" >&6
6741 else
6742 cat >conftest.$ac_ext <<_ACEOF
6743 /* confdefs.h. */
6744 _ACEOF
6745 cat confdefs.h >>conftest.$ac_ext
6746 cat >>conftest.$ac_ext <<_ACEOF
6747 /* end confdefs.h. */
6749 #include "curl/curl.h"
6753 main ()
6755 #ifndef CURLOPT_PROGRESSDATA
6756 (void) CURLOPT_PROGRESSDATA;
6757 #endif
6760 return 0;
6762 _ACEOF
6763 rm -f conftest.$ac_objext
6764 if { (ac_try="$ac_compile"
6765 case "(($ac_try" in
6766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6767 *) ac_try_echo=$ac_try;;
6768 esac
6769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6770 (eval "$ac_compile") 2>conftest.er1
6771 ac_status=$?
6772 grep -v '^ *+' conftest.er1 >conftest.err
6773 rm -f conftest.er1
6774 cat conftest.err >&5
6775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6776 (exit $ac_status); } && {
6777 test -z "$ac_c_werror_flag" ||
6778 test ! -s conftest.err
6779 } && test -s conftest.$ac_objext; then
6780 ac_cv_have_decl_CURLOPT_PROGRESSDATA=yes
6781 else
6782 echo "$as_me: failed program was:" >&5
6783 sed 's/^/| /' conftest.$ac_ext >&5
6785 ac_cv_have_decl_CURLOPT_PROGRESSDATA=no
6788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6790 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_PROGRESSDATA" >&5
6791 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_PROGRESSDATA" >&6; }
6792 if test $ac_cv_have_decl_CURLOPT_PROGRESSDATA = yes; then
6794 cat >>confdefs.h <<_ACEOF
6795 #define HAVE_DECL_CURLOPT_PROGRESSDATA 1
6796 _ACEOF
6799 else
6800 cat >>confdefs.h <<_ACEOF
6801 #define HAVE_DECL_CURLOPT_PROGRESSDATA 0
6802 _ACEOF
6806 { echo "$as_me:$LINENO: checking whether CURLOPT_AUTOREFERER is declared" >&5
6807 echo $ECHO_N "checking whether CURLOPT_AUTOREFERER is declared... $ECHO_C" >&6; }
6808 if test "${ac_cv_have_decl_CURLOPT_AUTOREFERER+set}" = set; then
6809 echo $ECHO_N "(cached) $ECHO_C" >&6
6810 else
6811 cat >conftest.$ac_ext <<_ACEOF
6812 /* confdefs.h. */
6813 _ACEOF
6814 cat confdefs.h >>conftest.$ac_ext
6815 cat >>conftest.$ac_ext <<_ACEOF
6816 /* end confdefs.h. */
6818 #include "curl/curl.h"
6822 main ()
6824 #ifndef CURLOPT_AUTOREFERER
6825 (void) CURLOPT_AUTOREFERER;
6826 #endif
6829 return 0;
6831 _ACEOF
6832 rm -f conftest.$ac_objext
6833 if { (ac_try="$ac_compile"
6834 case "(($ac_try" in
6835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6836 *) ac_try_echo=$ac_try;;
6837 esac
6838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6839 (eval "$ac_compile") 2>conftest.er1
6840 ac_status=$?
6841 grep -v '^ *+' conftest.er1 >conftest.err
6842 rm -f conftest.er1
6843 cat conftest.err >&5
6844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6845 (exit $ac_status); } && {
6846 test -z "$ac_c_werror_flag" ||
6847 test ! -s conftest.err
6848 } && test -s conftest.$ac_objext; then
6849 ac_cv_have_decl_CURLOPT_AUTOREFERER=yes
6850 else
6851 echo "$as_me: failed program was:" >&5
6852 sed 's/^/| /' conftest.$ac_ext >&5
6854 ac_cv_have_decl_CURLOPT_AUTOREFERER=no
6857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6859 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_AUTOREFERER" >&5
6860 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_AUTOREFERER" >&6; }
6861 if test $ac_cv_have_decl_CURLOPT_AUTOREFERER = yes; then
6863 cat >>confdefs.h <<_ACEOF
6864 #define HAVE_DECL_CURLOPT_AUTOREFERER 1
6865 _ACEOF
6868 else
6869 cat >>confdefs.h <<_ACEOF
6870 #define HAVE_DECL_CURLOPT_AUTOREFERER 0
6871 _ACEOF
6875 { echo "$as_me:$LINENO: checking whether CURLOPT_PROXYPORT is declared" >&5
6876 echo $ECHO_N "checking whether CURLOPT_PROXYPORT is declared... $ECHO_C" >&6; }
6877 if test "${ac_cv_have_decl_CURLOPT_PROXYPORT+set}" = set; then
6878 echo $ECHO_N "(cached) $ECHO_C" >&6
6879 else
6880 cat >conftest.$ac_ext <<_ACEOF
6881 /* confdefs.h. */
6882 _ACEOF
6883 cat confdefs.h >>conftest.$ac_ext
6884 cat >>conftest.$ac_ext <<_ACEOF
6885 /* end confdefs.h. */
6887 #include "curl/curl.h"
6891 main ()
6893 #ifndef CURLOPT_PROXYPORT
6894 (void) CURLOPT_PROXYPORT;
6895 #endif
6898 return 0;
6900 _ACEOF
6901 rm -f conftest.$ac_objext
6902 if { (ac_try="$ac_compile"
6903 case "(($ac_try" in
6904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6905 *) ac_try_echo=$ac_try;;
6906 esac
6907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6908 (eval "$ac_compile") 2>conftest.er1
6909 ac_status=$?
6910 grep -v '^ *+' conftest.er1 >conftest.err
6911 rm -f conftest.er1
6912 cat conftest.err >&5
6913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6914 (exit $ac_status); } && {
6915 test -z "$ac_c_werror_flag" ||
6916 test ! -s conftest.err
6917 } && test -s conftest.$ac_objext; then
6918 ac_cv_have_decl_CURLOPT_PROXYPORT=yes
6919 else
6920 echo "$as_me: failed program was:" >&5
6921 sed 's/^/| /' conftest.$ac_ext >&5
6923 ac_cv_have_decl_CURLOPT_PROXYPORT=no
6926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6928 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_PROXYPORT" >&5
6929 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_PROXYPORT" >&6; }
6930 if test $ac_cv_have_decl_CURLOPT_PROXYPORT = yes; then
6932 cat >>confdefs.h <<_ACEOF
6933 #define HAVE_DECL_CURLOPT_PROXYPORT 1
6934 _ACEOF
6937 else
6938 cat >>confdefs.h <<_ACEOF
6939 #define HAVE_DECL_CURLOPT_PROXYPORT 0
6940 _ACEOF
6944 { echo "$as_me:$LINENO: checking whether CURLOPT_POSTFIELDSIZE is declared" >&5
6945 echo $ECHO_N "checking whether CURLOPT_POSTFIELDSIZE is declared... $ECHO_C" >&6; }
6946 if test "${ac_cv_have_decl_CURLOPT_POSTFIELDSIZE+set}" = set; then
6947 echo $ECHO_N "(cached) $ECHO_C" >&6
6948 else
6949 cat >conftest.$ac_ext <<_ACEOF
6950 /* confdefs.h. */
6951 _ACEOF
6952 cat confdefs.h >>conftest.$ac_ext
6953 cat >>conftest.$ac_ext <<_ACEOF
6954 /* end confdefs.h. */
6956 #include "curl/curl.h"
6960 main ()
6962 #ifndef CURLOPT_POSTFIELDSIZE
6963 (void) CURLOPT_POSTFIELDSIZE;
6964 #endif
6967 return 0;
6969 _ACEOF
6970 rm -f conftest.$ac_objext
6971 if { (ac_try="$ac_compile"
6972 case "(($ac_try" in
6973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6974 *) ac_try_echo=$ac_try;;
6975 esac
6976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6977 (eval "$ac_compile") 2>conftest.er1
6978 ac_status=$?
6979 grep -v '^ *+' conftest.er1 >conftest.err
6980 rm -f conftest.er1
6981 cat conftest.err >&5
6982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6983 (exit $ac_status); } && {
6984 test -z "$ac_c_werror_flag" ||
6985 test ! -s conftest.err
6986 } && test -s conftest.$ac_objext; then
6987 ac_cv_have_decl_CURLOPT_POSTFIELDSIZE=yes
6988 else
6989 echo "$as_me: failed program was:" >&5
6990 sed 's/^/| /' conftest.$ac_ext >&5
6992 ac_cv_have_decl_CURLOPT_POSTFIELDSIZE=no
6995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6997 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" >&5
6998 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" >&6; }
6999 if test $ac_cv_have_decl_CURLOPT_POSTFIELDSIZE = yes; then
7001 cat >>confdefs.h <<_ACEOF
7002 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE 1
7003 _ACEOF
7006 else
7007 cat >>confdefs.h <<_ACEOF
7008 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE 0
7009 _ACEOF
7013 { echo "$as_me:$LINENO: checking whether CURLOPT_HTTPPROXYTUNNEL is declared" >&5
7014 echo $ECHO_N "checking whether CURLOPT_HTTPPROXYTUNNEL is declared... $ECHO_C" >&6; }
7015 if test "${ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL+set}" = set; then
7016 echo $ECHO_N "(cached) $ECHO_C" >&6
7017 else
7018 cat >conftest.$ac_ext <<_ACEOF
7019 /* confdefs.h. */
7020 _ACEOF
7021 cat confdefs.h >>conftest.$ac_ext
7022 cat >>conftest.$ac_ext <<_ACEOF
7023 /* end confdefs.h. */
7025 #include "curl/curl.h"
7029 main ()
7031 #ifndef CURLOPT_HTTPPROXYTUNNEL
7032 (void) CURLOPT_HTTPPROXYTUNNEL;
7033 #endif
7036 return 0;
7038 _ACEOF
7039 rm -f conftest.$ac_objext
7040 if { (ac_try="$ac_compile"
7041 case "(($ac_try" in
7042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7043 *) ac_try_echo=$ac_try;;
7044 esac
7045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7046 (eval "$ac_compile") 2>conftest.er1
7047 ac_status=$?
7048 grep -v '^ *+' conftest.er1 >conftest.err
7049 rm -f conftest.er1
7050 cat conftest.err >&5
7051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7052 (exit $ac_status); } && {
7053 test -z "$ac_c_werror_flag" ||
7054 test ! -s conftest.err
7055 } && test -s conftest.$ac_objext; then
7056 ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL=yes
7057 else
7058 echo "$as_me: failed program was:" >&5
7059 sed 's/^/| /' conftest.$ac_ext >&5
7061 ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL=no
7064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7066 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" >&5
7067 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" >&6; }
7068 if test $ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL = yes; then
7070 cat >>confdefs.h <<_ACEOF
7071 #define HAVE_DECL_CURLOPT_HTTPPROXYTUNNEL 1
7072 _ACEOF
7075 else
7076 cat >>confdefs.h <<_ACEOF
7077 #define HAVE_DECL_CURLOPT_HTTPPROXYTUNNEL 0
7078 _ACEOF
7082 { echo "$as_me:$LINENO: checking whether CURLOPT_INTERFACE is declared" >&5
7083 echo $ECHO_N "checking whether CURLOPT_INTERFACE is declared... $ECHO_C" >&6; }
7084 if test "${ac_cv_have_decl_CURLOPT_INTERFACE+set}" = set; then
7085 echo $ECHO_N "(cached) $ECHO_C" >&6
7086 else
7087 cat >conftest.$ac_ext <<_ACEOF
7088 /* confdefs.h. */
7089 _ACEOF
7090 cat confdefs.h >>conftest.$ac_ext
7091 cat >>conftest.$ac_ext <<_ACEOF
7092 /* end confdefs.h. */
7094 #include "curl/curl.h"
7098 main ()
7100 #ifndef CURLOPT_INTERFACE
7101 (void) CURLOPT_INTERFACE;
7102 #endif
7105 return 0;
7107 _ACEOF
7108 rm -f conftest.$ac_objext
7109 if { (ac_try="$ac_compile"
7110 case "(($ac_try" in
7111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7112 *) ac_try_echo=$ac_try;;
7113 esac
7114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7115 (eval "$ac_compile") 2>conftest.er1
7116 ac_status=$?
7117 grep -v '^ *+' conftest.er1 >conftest.err
7118 rm -f conftest.er1
7119 cat conftest.err >&5
7120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7121 (exit $ac_status); } && {
7122 test -z "$ac_c_werror_flag" ||
7123 test ! -s conftest.err
7124 } && test -s conftest.$ac_objext; then
7125 ac_cv_have_decl_CURLOPT_INTERFACE=yes
7126 else
7127 echo "$as_me: failed program was:" >&5
7128 sed 's/^/| /' conftest.$ac_ext >&5
7130 ac_cv_have_decl_CURLOPT_INTERFACE=no
7133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7135 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_INTERFACE" >&5
7136 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_INTERFACE" >&6; }
7137 if test $ac_cv_have_decl_CURLOPT_INTERFACE = yes; then
7139 cat >>confdefs.h <<_ACEOF
7140 #define HAVE_DECL_CURLOPT_INTERFACE 1
7141 _ACEOF
7144 else
7145 cat >>confdefs.h <<_ACEOF
7146 #define HAVE_DECL_CURLOPT_INTERFACE 0
7147 _ACEOF
7151 { echo "$as_me:$LINENO: checking whether CURLOPT_KRB4LEVEL is declared" >&5
7152 echo $ECHO_N "checking whether CURLOPT_KRB4LEVEL is declared... $ECHO_C" >&6; }
7153 if test "${ac_cv_have_decl_CURLOPT_KRB4LEVEL+set}" = set; then
7154 echo $ECHO_N "(cached) $ECHO_C" >&6
7155 else
7156 cat >conftest.$ac_ext <<_ACEOF
7157 /* confdefs.h. */
7158 _ACEOF
7159 cat confdefs.h >>conftest.$ac_ext
7160 cat >>conftest.$ac_ext <<_ACEOF
7161 /* end confdefs.h. */
7163 #include "curl/curl.h"
7167 main ()
7169 #ifndef CURLOPT_KRB4LEVEL
7170 (void) CURLOPT_KRB4LEVEL;
7171 #endif
7174 return 0;
7176 _ACEOF
7177 rm -f conftest.$ac_objext
7178 if { (ac_try="$ac_compile"
7179 case "(($ac_try" in
7180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7181 *) ac_try_echo=$ac_try;;
7182 esac
7183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7184 (eval "$ac_compile") 2>conftest.er1
7185 ac_status=$?
7186 grep -v '^ *+' conftest.er1 >conftest.err
7187 rm -f conftest.er1
7188 cat conftest.err >&5
7189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7190 (exit $ac_status); } && {
7191 test -z "$ac_c_werror_flag" ||
7192 test ! -s conftest.err
7193 } && test -s conftest.$ac_objext; then
7194 ac_cv_have_decl_CURLOPT_KRB4LEVEL=yes
7195 else
7196 echo "$as_me: failed program was:" >&5
7197 sed 's/^/| /' conftest.$ac_ext >&5
7199 ac_cv_have_decl_CURLOPT_KRB4LEVEL=no
7202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7204 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_KRB4LEVEL" >&5
7205 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_KRB4LEVEL" >&6; }
7206 if test $ac_cv_have_decl_CURLOPT_KRB4LEVEL = yes; then
7208 cat >>confdefs.h <<_ACEOF
7209 #define HAVE_DECL_CURLOPT_KRB4LEVEL 1
7210 _ACEOF
7213 else
7214 cat >>confdefs.h <<_ACEOF
7215 #define HAVE_DECL_CURLOPT_KRB4LEVEL 0
7216 _ACEOF
7220 { echo "$as_me:$LINENO: checking whether CURLOPT_SSL_VERIFYPEER is declared" >&5
7221 echo $ECHO_N "checking whether CURLOPT_SSL_VERIFYPEER is declared... $ECHO_C" >&6; }
7222 if test "${ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER+set}" = set; then
7223 echo $ECHO_N "(cached) $ECHO_C" >&6
7224 else
7225 cat >conftest.$ac_ext <<_ACEOF
7226 /* confdefs.h. */
7227 _ACEOF
7228 cat confdefs.h >>conftest.$ac_ext
7229 cat >>conftest.$ac_ext <<_ACEOF
7230 /* end confdefs.h. */
7232 #include "curl/curl.h"
7236 main ()
7238 #ifndef CURLOPT_SSL_VERIFYPEER
7239 (void) CURLOPT_SSL_VERIFYPEER;
7240 #endif
7243 return 0;
7245 _ACEOF
7246 rm -f conftest.$ac_objext
7247 if { (ac_try="$ac_compile"
7248 case "(($ac_try" in
7249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7250 *) ac_try_echo=$ac_try;;
7251 esac
7252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7253 (eval "$ac_compile") 2>conftest.er1
7254 ac_status=$?
7255 grep -v '^ *+' conftest.er1 >conftest.err
7256 rm -f conftest.er1
7257 cat conftest.err >&5
7258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7259 (exit $ac_status); } && {
7260 test -z "$ac_c_werror_flag" ||
7261 test ! -s conftest.err
7262 } && test -s conftest.$ac_objext; then
7263 ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER=yes
7264 else
7265 echo "$as_me: failed program was:" >&5
7266 sed 's/^/| /' conftest.$ac_ext >&5
7268 ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER=no
7271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7273 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" >&5
7274 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" >&6; }
7275 if test $ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER = yes; then
7277 cat >>confdefs.h <<_ACEOF
7278 #define HAVE_DECL_CURLOPT_SSL_VERIFYPEER 1
7279 _ACEOF
7282 else
7283 cat >>confdefs.h <<_ACEOF
7284 #define HAVE_DECL_CURLOPT_SSL_VERIFYPEER 0
7285 _ACEOF
7289 { echo "$as_me:$LINENO: checking whether CURLOPT_CAINFO is declared" >&5
7290 echo $ECHO_N "checking whether CURLOPT_CAINFO is declared... $ECHO_C" >&6; }
7291 if test "${ac_cv_have_decl_CURLOPT_CAINFO+set}" = set; then
7292 echo $ECHO_N "(cached) $ECHO_C" >&6
7293 else
7294 cat >conftest.$ac_ext <<_ACEOF
7295 /* confdefs.h. */
7296 _ACEOF
7297 cat confdefs.h >>conftest.$ac_ext
7298 cat >>conftest.$ac_ext <<_ACEOF
7299 /* end confdefs.h. */
7301 #include "curl/curl.h"
7305 main ()
7307 #ifndef CURLOPT_CAINFO
7308 (void) CURLOPT_CAINFO;
7309 #endif
7312 return 0;
7314 _ACEOF
7315 rm -f conftest.$ac_objext
7316 if { (ac_try="$ac_compile"
7317 case "(($ac_try" in
7318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7319 *) ac_try_echo=$ac_try;;
7320 esac
7321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7322 (eval "$ac_compile") 2>conftest.er1
7323 ac_status=$?
7324 grep -v '^ *+' conftest.er1 >conftest.err
7325 rm -f conftest.er1
7326 cat conftest.err >&5
7327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328 (exit $ac_status); } && {
7329 test -z "$ac_c_werror_flag" ||
7330 test ! -s conftest.err
7331 } && test -s conftest.$ac_objext; then
7332 ac_cv_have_decl_CURLOPT_CAINFO=yes
7333 else
7334 echo "$as_me: failed program was:" >&5
7335 sed 's/^/| /' conftest.$ac_ext >&5
7337 ac_cv_have_decl_CURLOPT_CAINFO=no
7340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7342 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_CAINFO" >&5
7343 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_CAINFO" >&6; }
7344 if test $ac_cv_have_decl_CURLOPT_CAINFO = yes; then
7346 cat >>confdefs.h <<_ACEOF
7347 #define HAVE_DECL_CURLOPT_CAINFO 1
7348 _ACEOF
7351 else
7352 cat >>confdefs.h <<_ACEOF
7353 #define HAVE_DECL_CURLOPT_CAINFO 0
7354 _ACEOF
7358 { echo "$as_me:$LINENO: checking whether CURLOPT_MAXREDIRS is declared" >&5
7359 echo $ECHO_N "checking whether CURLOPT_MAXREDIRS is declared... $ECHO_C" >&6; }
7360 if test "${ac_cv_have_decl_CURLOPT_MAXREDIRS+set}" = set; then
7361 echo $ECHO_N "(cached) $ECHO_C" >&6
7362 else
7363 cat >conftest.$ac_ext <<_ACEOF
7364 /* confdefs.h. */
7365 _ACEOF
7366 cat confdefs.h >>conftest.$ac_ext
7367 cat >>conftest.$ac_ext <<_ACEOF
7368 /* end confdefs.h. */
7370 #include "curl/curl.h"
7374 main ()
7376 #ifndef CURLOPT_MAXREDIRS
7377 (void) CURLOPT_MAXREDIRS;
7378 #endif
7381 return 0;
7383 _ACEOF
7384 rm -f conftest.$ac_objext
7385 if { (ac_try="$ac_compile"
7386 case "(($ac_try" in
7387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7388 *) ac_try_echo=$ac_try;;
7389 esac
7390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7391 (eval "$ac_compile") 2>conftest.er1
7392 ac_status=$?
7393 grep -v '^ *+' conftest.er1 >conftest.err
7394 rm -f conftest.er1
7395 cat conftest.err >&5
7396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7397 (exit $ac_status); } && {
7398 test -z "$ac_c_werror_flag" ||
7399 test ! -s conftest.err
7400 } && test -s conftest.$ac_objext; then
7401 ac_cv_have_decl_CURLOPT_MAXREDIRS=yes
7402 else
7403 echo "$as_me: failed program was:" >&5
7404 sed 's/^/| /' conftest.$ac_ext >&5
7406 ac_cv_have_decl_CURLOPT_MAXREDIRS=no
7409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7411 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_MAXREDIRS" >&5
7412 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_MAXREDIRS" >&6; }
7413 if test $ac_cv_have_decl_CURLOPT_MAXREDIRS = yes; then
7415 cat >>confdefs.h <<_ACEOF
7416 #define HAVE_DECL_CURLOPT_MAXREDIRS 1
7417 _ACEOF
7420 else
7421 cat >>confdefs.h <<_ACEOF
7422 #define HAVE_DECL_CURLOPT_MAXREDIRS 0
7423 _ACEOF
7427 { echo "$as_me:$LINENO: checking whether CURLOPT_FILETIME is declared" >&5
7428 echo $ECHO_N "checking whether CURLOPT_FILETIME is declared... $ECHO_C" >&6; }
7429 if test "${ac_cv_have_decl_CURLOPT_FILETIME+set}" = set; then
7430 echo $ECHO_N "(cached) $ECHO_C" >&6
7431 else
7432 cat >conftest.$ac_ext <<_ACEOF
7433 /* confdefs.h. */
7434 _ACEOF
7435 cat confdefs.h >>conftest.$ac_ext
7436 cat >>conftest.$ac_ext <<_ACEOF
7437 /* end confdefs.h. */
7439 #include "curl/curl.h"
7443 main ()
7445 #ifndef CURLOPT_FILETIME
7446 (void) CURLOPT_FILETIME;
7447 #endif
7450 return 0;
7452 _ACEOF
7453 rm -f conftest.$ac_objext
7454 if { (ac_try="$ac_compile"
7455 case "(($ac_try" in
7456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7457 *) ac_try_echo=$ac_try;;
7458 esac
7459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7460 (eval "$ac_compile") 2>conftest.er1
7461 ac_status=$?
7462 grep -v '^ *+' conftest.er1 >conftest.err
7463 rm -f conftest.er1
7464 cat conftest.err >&5
7465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7466 (exit $ac_status); } && {
7467 test -z "$ac_c_werror_flag" ||
7468 test ! -s conftest.err
7469 } && test -s conftest.$ac_objext; then
7470 ac_cv_have_decl_CURLOPT_FILETIME=yes
7471 else
7472 echo "$as_me: failed program was:" >&5
7473 sed 's/^/| /' conftest.$ac_ext >&5
7475 ac_cv_have_decl_CURLOPT_FILETIME=no
7478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7480 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_FILETIME" >&5
7481 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_FILETIME" >&6; }
7482 if test $ac_cv_have_decl_CURLOPT_FILETIME = yes; then
7484 cat >>confdefs.h <<_ACEOF
7485 #define HAVE_DECL_CURLOPT_FILETIME 1
7486 _ACEOF
7489 else
7490 cat >>confdefs.h <<_ACEOF
7491 #define HAVE_DECL_CURLOPT_FILETIME 0
7492 _ACEOF
7496 { echo "$as_me:$LINENO: checking whether CURLOPT_TELNETOPTIONS is declared" >&5
7497 echo $ECHO_N "checking whether CURLOPT_TELNETOPTIONS is declared... $ECHO_C" >&6; }
7498 if test "${ac_cv_have_decl_CURLOPT_TELNETOPTIONS+set}" = set; then
7499 echo $ECHO_N "(cached) $ECHO_C" >&6
7500 else
7501 cat >conftest.$ac_ext <<_ACEOF
7502 /* confdefs.h. */
7503 _ACEOF
7504 cat confdefs.h >>conftest.$ac_ext
7505 cat >>conftest.$ac_ext <<_ACEOF
7506 /* end confdefs.h. */
7508 #include "curl/curl.h"
7512 main ()
7514 #ifndef CURLOPT_TELNETOPTIONS
7515 (void) CURLOPT_TELNETOPTIONS;
7516 #endif
7519 return 0;
7521 _ACEOF
7522 rm -f conftest.$ac_objext
7523 if { (ac_try="$ac_compile"
7524 case "(($ac_try" in
7525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7526 *) ac_try_echo=$ac_try;;
7527 esac
7528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7529 (eval "$ac_compile") 2>conftest.er1
7530 ac_status=$?
7531 grep -v '^ *+' conftest.er1 >conftest.err
7532 rm -f conftest.er1
7533 cat conftest.err >&5
7534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7535 (exit $ac_status); } && {
7536 test -z "$ac_c_werror_flag" ||
7537 test ! -s conftest.err
7538 } && test -s conftest.$ac_objext; then
7539 ac_cv_have_decl_CURLOPT_TELNETOPTIONS=yes
7540 else
7541 echo "$as_me: failed program was:" >&5
7542 sed 's/^/| /' conftest.$ac_ext >&5
7544 ac_cv_have_decl_CURLOPT_TELNETOPTIONS=no
7547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7549 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_TELNETOPTIONS" >&5
7550 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_TELNETOPTIONS" >&6; }
7551 if test $ac_cv_have_decl_CURLOPT_TELNETOPTIONS = yes; then
7553 cat >>confdefs.h <<_ACEOF
7554 #define HAVE_DECL_CURLOPT_TELNETOPTIONS 1
7555 _ACEOF
7558 else
7559 cat >>confdefs.h <<_ACEOF
7560 #define HAVE_DECL_CURLOPT_TELNETOPTIONS 0
7561 _ACEOF
7565 { echo "$as_me:$LINENO: checking whether CURLOPT_MAXCONNECTS is declared" >&5
7566 echo $ECHO_N "checking whether CURLOPT_MAXCONNECTS is declared... $ECHO_C" >&6; }
7567 if test "${ac_cv_have_decl_CURLOPT_MAXCONNECTS+set}" = set; then
7568 echo $ECHO_N "(cached) $ECHO_C" >&6
7569 else
7570 cat >conftest.$ac_ext <<_ACEOF
7571 /* confdefs.h. */
7572 _ACEOF
7573 cat confdefs.h >>conftest.$ac_ext
7574 cat >>conftest.$ac_ext <<_ACEOF
7575 /* end confdefs.h. */
7577 #include "curl/curl.h"
7581 main ()
7583 #ifndef CURLOPT_MAXCONNECTS
7584 (void) CURLOPT_MAXCONNECTS;
7585 #endif
7588 return 0;
7590 _ACEOF
7591 rm -f conftest.$ac_objext
7592 if { (ac_try="$ac_compile"
7593 case "(($ac_try" in
7594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7595 *) ac_try_echo=$ac_try;;
7596 esac
7597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7598 (eval "$ac_compile") 2>conftest.er1
7599 ac_status=$?
7600 grep -v '^ *+' conftest.er1 >conftest.err
7601 rm -f conftest.er1
7602 cat conftest.err >&5
7603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7604 (exit $ac_status); } && {
7605 test -z "$ac_c_werror_flag" ||
7606 test ! -s conftest.err
7607 } && test -s conftest.$ac_objext; then
7608 ac_cv_have_decl_CURLOPT_MAXCONNECTS=yes
7609 else
7610 echo "$as_me: failed program was:" >&5
7611 sed 's/^/| /' conftest.$ac_ext >&5
7613 ac_cv_have_decl_CURLOPT_MAXCONNECTS=no
7616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7618 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_MAXCONNECTS" >&5
7619 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_MAXCONNECTS" >&6; }
7620 if test $ac_cv_have_decl_CURLOPT_MAXCONNECTS = yes; then
7622 cat >>confdefs.h <<_ACEOF
7623 #define HAVE_DECL_CURLOPT_MAXCONNECTS 1
7624 _ACEOF
7627 else
7628 cat >>confdefs.h <<_ACEOF
7629 #define HAVE_DECL_CURLOPT_MAXCONNECTS 0
7630 _ACEOF
7634 { echo "$as_me:$LINENO: checking whether CURLOPT_CLOSEPOLICY is declared" >&5
7635 echo $ECHO_N "checking whether CURLOPT_CLOSEPOLICY is declared... $ECHO_C" >&6; }
7636 if test "${ac_cv_have_decl_CURLOPT_CLOSEPOLICY+set}" = set; then
7637 echo $ECHO_N "(cached) $ECHO_C" >&6
7638 else
7639 cat >conftest.$ac_ext <<_ACEOF
7640 /* confdefs.h. */
7641 _ACEOF
7642 cat confdefs.h >>conftest.$ac_ext
7643 cat >>conftest.$ac_ext <<_ACEOF
7644 /* end confdefs.h. */
7646 #include "curl/curl.h"
7650 main ()
7652 #ifndef CURLOPT_CLOSEPOLICY
7653 (void) CURLOPT_CLOSEPOLICY;
7654 #endif
7657 return 0;
7659 _ACEOF
7660 rm -f conftest.$ac_objext
7661 if { (ac_try="$ac_compile"
7662 case "(($ac_try" in
7663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7664 *) ac_try_echo=$ac_try;;
7665 esac
7666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7667 (eval "$ac_compile") 2>conftest.er1
7668 ac_status=$?
7669 grep -v '^ *+' conftest.er1 >conftest.err
7670 rm -f conftest.er1
7671 cat conftest.err >&5
7672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7673 (exit $ac_status); } && {
7674 test -z "$ac_c_werror_flag" ||
7675 test ! -s conftest.err
7676 } && test -s conftest.$ac_objext; then
7677 ac_cv_have_decl_CURLOPT_CLOSEPOLICY=yes
7678 else
7679 echo "$as_me: failed program was:" >&5
7680 sed 's/^/| /' conftest.$ac_ext >&5
7682 ac_cv_have_decl_CURLOPT_CLOSEPOLICY=no
7685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7687 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_CLOSEPOLICY" >&5
7688 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_CLOSEPOLICY" >&6; }
7689 if test $ac_cv_have_decl_CURLOPT_CLOSEPOLICY = yes; then
7691 cat >>confdefs.h <<_ACEOF
7692 #define HAVE_DECL_CURLOPT_CLOSEPOLICY 1
7693 _ACEOF
7696 else
7697 cat >>confdefs.h <<_ACEOF
7698 #define HAVE_DECL_CURLOPT_CLOSEPOLICY 0
7699 _ACEOF
7703 { echo "$as_me:$LINENO: checking whether CURLOPT_FRESH_CONNECT is declared" >&5
7704 echo $ECHO_N "checking whether CURLOPT_FRESH_CONNECT is declared... $ECHO_C" >&6; }
7705 if test "${ac_cv_have_decl_CURLOPT_FRESH_CONNECT+set}" = set; then
7706 echo $ECHO_N "(cached) $ECHO_C" >&6
7707 else
7708 cat >conftest.$ac_ext <<_ACEOF
7709 /* confdefs.h. */
7710 _ACEOF
7711 cat confdefs.h >>conftest.$ac_ext
7712 cat >>conftest.$ac_ext <<_ACEOF
7713 /* end confdefs.h. */
7715 #include "curl/curl.h"
7719 main ()
7721 #ifndef CURLOPT_FRESH_CONNECT
7722 (void) CURLOPT_FRESH_CONNECT;
7723 #endif
7726 return 0;
7728 _ACEOF
7729 rm -f conftest.$ac_objext
7730 if { (ac_try="$ac_compile"
7731 case "(($ac_try" in
7732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7733 *) ac_try_echo=$ac_try;;
7734 esac
7735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7736 (eval "$ac_compile") 2>conftest.er1
7737 ac_status=$?
7738 grep -v '^ *+' conftest.er1 >conftest.err
7739 rm -f conftest.er1
7740 cat conftest.err >&5
7741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7742 (exit $ac_status); } && {
7743 test -z "$ac_c_werror_flag" ||
7744 test ! -s conftest.err
7745 } && test -s conftest.$ac_objext; then
7746 ac_cv_have_decl_CURLOPT_FRESH_CONNECT=yes
7747 else
7748 echo "$as_me: failed program was:" >&5
7749 sed 's/^/| /' conftest.$ac_ext >&5
7751 ac_cv_have_decl_CURLOPT_FRESH_CONNECT=no
7754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7756 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_FRESH_CONNECT" >&5
7757 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_FRESH_CONNECT" >&6; }
7758 if test $ac_cv_have_decl_CURLOPT_FRESH_CONNECT = yes; then
7760 cat >>confdefs.h <<_ACEOF
7761 #define HAVE_DECL_CURLOPT_FRESH_CONNECT 1
7762 _ACEOF
7765 else
7766 cat >>confdefs.h <<_ACEOF
7767 #define HAVE_DECL_CURLOPT_FRESH_CONNECT 0
7768 _ACEOF
7772 { echo "$as_me:$LINENO: checking whether CURLOPT_FORBID_REUSE is declared" >&5
7773 echo $ECHO_N "checking whether CURLOPT_FORBID_REUSE is declared... $ECHO_C" >&6; }
7774 if test "${ac_cv_have_decl_CURLOPT_FORBID_REUSE+set}" = set; then
7775 echo $ECHO_N "(cached) $ECHO_C" >&6
7776 else
7777 cat >conftest.$ac_ext <<_ACEOF
7778 /* confdefs.h. */
7779 _ACEOF
7780 cat confdefs.h >>conftest.$ac_ext
7781 cat >>conftest.$ac_ext <<_ACEOF
7782 /* end confdefs.h. */
7784 #include "curl/curl.h"
7788 main ()
7790 #ifndef CURLOPT_FORBID_REUSE
7791 (void) CURLOPT_FORBID_REUSE;
7792 #endif
7795 return 0;
7797 _ACEOF
7798 rm -f conftest.$ac_objext
7799 if { (ac_try="$ac_compile"
7800 case "(($ac_try" in
7801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7802 *) ac_try_echo=$ac_try;;
7803 esac
7804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7805 (eval "$ac_compile") 2>conftest.er1
7806 ac_status=$?
7807 grep -v '^ *+' conftest.er1 >conftest.err
7808 rm -f conftest.er1
7809 cat conftest.err >&5
7810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7811 (exit $ac_status); } && {
7812 test -z "$ac_c_werror_flag" ||
7813 test ! -s conftest.err
7814 } && test -s conftest.$ac_objext; then
7815 ac_cv_have_decl_CURLOPT_FORBID_REUSE=yes
7816 else
7817 echo "$as_me: failed program was:" >&5
7818 sed 's/^/| /' conftest.$ac_ext >&5
7820 ac_cv_have_decl_CURLOPT_FORBID_REUSE=no
7823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7825 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_FORBID_REUSE" >&5
7826 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_FORBID_REUSE" >&6; }
7827 if test $ac_cv_have_decl_CURLOPT_FORBID_REUSE = yes; then
7829 cat >>confdefs.h <<_ACEOF
7830 #define HAVE_DECL_CURLOPT_FORBID_REUSE 1
7831 _ACEOF
7834 else
7835 cat >>confdefs.h <<_ACEOF
7836 #define HAVE_DECL_CURLOPT_FORBID_REUSE 0
7837 _ACEOF
7841 { echo "$as_me:$LINENO: checking whether CURLOPT_RANDOM_FILE is declared" >&5
7842 echo $ECHO_N "checking whether CURLOPT_RANDOM_FILE is declared... $ECHO_C" >&6; }
7843 if test "${ac_cv_have_decl_CURLOPT_RANDOM_FILE+set}" = set; then
7844 echo $ECHO_N "(cached) $ECHO_C" >&6
7845 else
7846 cat >conftest.$ac_ext <<_ACEOF
7847 /* confdefs.h. */
7848 _ACEOF
7849 cat confdefs.h >>conftest.$ac_ext
7850 cat >>conftest.$ac_ext <<_ACEOF
7851 /* end confdefs.h. */
7853 #include "curl/curl.h"
7857 main ()
7859 #ifndef CURLOPT_RANDOM_FILE
7860 (void) CURLOPT_RANDOM_FILE;
7861 #endif
7864 return 0;
7866 _ACEOF
7867 rm -f conftest.$ac_objext
7868 if { (ac_try="$ac_compile"
7869 case "(($ac_try" in
7870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7871 *) ac_try_echo=$ac_try;;
7872 esac
7873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7874 (eval "$ac_compile") 2>conftest.er1
7875 ac_status=$?
7876 grep -v '^ *+' conftest.er1 >conftest.err
7877 rm -f conftest.er1
7878 cat conftest.err >&5
7879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7880 (exit $ac_status); } && {
7881 test -z "$ac_c_werror_flag" ||
7882 test ! -s conftest.err
7883 } && test -s conftest.$ac_objext; then
7884 ac_cv_have_decl_CURLOPT_RANDOM_FILE=yes
7885 else
7886 echo "$as_me: failed program was:" >&5
7887 sed 's/^/| /' conftest.$ac_ext >&5
7889 ac_cv_have_decl_CURLOPT_RANDOM_FILE=no
7892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7894 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_RANDOM_FILE" >&5
7895 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_RANDOM_FILE" >&6; }
7896 if test $ac_cv_have_decl_CURLOPT_RANDOM_FILE = yes; then
7898 cat >>confdefs.h <<_ACEOF
7899 #define HAVE_DECL_CURLOPT_RANDOM_FILE 1
7900 _ACEOF
7903 else
7904 cat >>confdefs.h <<_ACEOF
7905 #define HAVE_DECL_CURLOPT_RANDOM_FILE 0
7906 _ACEOF
7910 { echo "$as_me:$LINENO: checking whether CURLOPT_EGDSOCKET is declared" >&5
7911 echo $ECHO_N "checking whether CURLOPT_EGDSOCKET is declared... $ECHO_C" >&6; }
7912 if test "${ac_cv_have_decl_CURLOPT_EGDSOCKET+set}" = set; then
7913 echo $ECHO_N "(cached) $ECHO_C" >&6
7914 else
7915 cat >conftest.$ac_ext <<_ACEOF
7916 /* confdefs.h. */
7917 _ACEOF
7918 cat confdefs.h >>conftest.$ac_ext
7919 cat >>conftest.$ac_ext <<_ACEOF
7920 /* end confdefs.h. */
7922 #include "curl/curl.h"
7926 main ()
7928 #ifndef CURLOPT_EGDSOCKET
7929 (void) CURLOPT_EGDSOCKET;
7930 #endif
7933 return 0;
7935 _ACEOF
7936 rm -f conftest.$ac_objext
7937 if { (ac_try="$ac_compile"
7938 case "(($ac_try" in
7939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7940 *) ac_try_echo=$ac_try;;
7941 esac
7942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7943 (eval "$ac_compile") 2>conftest.er1
7944 ac_status=$?
7945 grep -v '^ *+' conftest.er1 >conftest.err
7946 rm -f conftest.er1
7947 cat conftest.err >&5
7948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7949 (exit $ac_status); } && {
7950 test -z "$ac_c_werror_flag" ||
7951 test ! -s conftest.err
7952 } && test -s conftest.$ac_objext; then
7953 ac_cv_have_decl_CURLOPT_EGDSOCKET=yes
7954 else
7955 echo "$as_me: failed program was:" >&5
7956 sed 's/^/| /' conftest.$ac_ext >&5
7958 ac_cv_have_decl_CURLOPT_EGDSOCKET=no
7961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7963 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_EGDSOCKET" >&5
7964 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_EGDSOCKET" >&6; }
7965 if test $ac_cv_have_decl_CURLOPT_EGDSOCKET = yes; then
7967 cat >>confdefs.h <<_ACEOF
7968 #define HAVE_DECL_CURLOPT_EGDSOCKET 1
7969 _ACEOF
7972 else
7973 cat >>confdefs.h <<_ACEOF
7974 #define HAVE_DECL_CURLOPT_EGDSOCKET 0
7975 _ACEOF
7979 { echo "$as_me:$LINENO: checking whether CURLOPT_CONNECTTIMEOUT is declared" >&5
7980 echo $ECHO_N "checking whether CURLOPT_CONNECTTIMEOUT is declared... $ECHO_C" >&6; }
7981 if test "${ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT+set}" = set; then
7982 echo $ECHO_N "(cached) $ECHO_C" >&6
7983 else
7984 cat >conftest.$ac_ext <<_ACEOF
7985 /* confdefs.h. */
7986 _ACEOF
7987 cat confdefs.h >>conftest.$ac_ext
7988 cat >>conftest.$ac_ext <<_ACEOF
7989 /* end confdefs.h. */
7991 #include "curl/curl.h"
7995 main ()
7997 #ifndef CURLOPT_CONNECTTIMEOUT
7998 (void) CURLOPT_CONNECTTIMEOUT;
7999 #endif
8002 return 0;
8004 _ACEOF
8005 rm -f conftest.$ac_objext
8006 if { (ac_try="$ac_compile"
8007 case "(($ac_try" in
8008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8009 *) ac_try_echo=$ac_try;;
8010 esac
8011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8012 (eval "$ac_compile") 2>conftest.er1
8013 ac_status=$?
8014 grep -v '^ *+' conftest.er1 >conftest.err
8015 rm -f conftest.er1
8016 cat conftest.err >&5
8017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8018 (exit $ac_status); } && {
8019 test -z "$ac_c_werror_flag" ||
8020 test ! -s conftest.err
8021 } && test -s conftest.$ac_objext; then
8022 ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT=yes
8023 else
8024 echo "$as_me: failed program was:" >&5
8025 sed 's/^/| /' conftest.$ac_ext >&5
8027 ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT=no
8030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8032 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" >&5
8033 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" >&6; }
8034 if test $ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT = yes; then
8036 cat >>confdefs.h <<_ACEOF
8037 #define HAVE_DECL_CURLOPT_CONNECTTIMEOUT 1
8038 _ACEOF
8041 else
8042 cat >>confdefs.h <<_ACEOF
8043 #define HAVE_DECL_CURLOPT_CONNECTTIMEOUT 0
8044 _ACEOF
8048 { echo "$as_me:$LINENO: checking whether CURLOPT_HEADERFUNCTION is declared" >&5
8049 echo $ECHO_N "checking whether CURLOPT_HEADERFUNCTION is declared... $ECHO_C" >&6; }
8050 if test "${ac_cv_have_decl_CURLOPT_HEADERFUNCTION+set}" = set; then
8051 echo $ECHO_N "(cached) $ECHO_C" >&6
8052 else
8053 cat >conftest.$ac_ext <<_ACEOF
8054 /* confdefs.h. */
8055 _ACEOF
8056 cat confdefs.h >>conftest.$ac_ext
8057 cat >>conftest.$ac_ext <<_ACEOF
8058 /* end confdefs.h. */
8060 #include "curl/curl.h"
8064 main ()
8066 #ifndef CURLOPT_HEADERFUNCTION
8067 (void) CURLOPT_HEADERFUNCTION;
8068 #endif
8071 return 0;
8073 _ACEOF
8074 rm -f conftest.$ac_objext
8075 if { (ac_try="$ac_compile"
8076 case "(($ac_try" in
8077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8078 *) ac_try_echo=$ac_try;;
8079 esac
8080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8081 (eval "$ac_compile") 2>conftest.er1
8082 ac_status=$?
8083 grep -v '^ *+' conftest.er1 >conftest.err
8084 rm -f conftest.er1
8085 cat conftest.err >&5
8086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8087 (exit $ac_status); } && {
8088 test -z "$ac_c_werror_flag" ||
8089 test ! -s conftest.err
8090 } && test -s conftest.$ac_objext; then
8091 ac_cv_have_decl_CURLOPT_HEADERFUNCTION=yes
8092 else
8093 echo "$as_me: failed program was:" >&5
8094 sed 's/^/| /' conftest.$ac_ext >&5
8096 ac_cv_have_decl_CURLOPT_HEADERFUNCTION=no
8099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8101 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_HEADERFUNCTION" >&5
8102 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_HEADERFUNCTION" >&6; }
8103 if test $ac_cv_have_decl_CURLOPT_HEADERFUNCTION = yes; then
8105 cat >>confdefs.h <<_ACEOF
8106 #define HAVE_DECL_CURLOPT_HEADERFUNCTION 1
8107 _ACEOF
8110 else
8111 cat >>confdefs.h <<_ACEOF
8112 #define HAVE_DECL_CURLOPT_HEADERFUNCTION 0
8113 _ACEOF
8117 { echo "$as_me:$LINENO: checking whether CURLOPT_HTTPGET is declared" >&5
8118 echo $ECHO_N "checking whether CURLOPT_HTTPGET is declared... $ECHO_C" >&6; }
8119 if test "${ac_cv_have_decl_CURLOPT_HTTPGET+set}" = set; then
8120 echo $ECHO_N "(cached) $ECHO_C" >&6
8121 else
8122 cat >conftest.$ac_ext <<_ACEOF
8123 /* confdefs.h. */
8124 _ACEOF
8125 cat confdefs.h >>conftest.$ac_ext
8126 cat >>conftest.$ac_ext <<_ACEOF
8127 /* end confdefs.h. */
8129 #include "curl/curl.h"
8133 main ()
8135 #ifndef CURLOPT_HTTPGET
8136 (void) CURLOPT_HTTPGET;
8137 #endif
8140 return 0;
8142 _ACEOF
8143 rm -f conftest.$ac_objext
8144 if { (ac_try="$ac_compile"
8145 case "(($ac_try" in
8146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8147 *) ac_try_echo=$ac_try;;
8148 esac
8149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8150 (eval "$ac_compile") 2>conftest.er1
8151 ac_status=$?
8152 grep -v '^ *+' conftest.er1 >conftest.err
8153 rm -f conftest.er1
8154 cat conftest.err >&5
8155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8156 (exit $ac_status); } && {
8157 test -z "$ac_c_werror_flag" ||
8158 test ! -s conftest.err
8159 } && test -s conftest.$ac_objext; then
8160 ac_cv_have_decl_CURLOPT_HTTPGET=yes
8161 else
8162 echo "$as_me: failed program was:" >&5
8163 sed 's/^/| /' conftest.$ac_ext >&5
8165 ac_cv_have_decl_CURLOPT_HTTPGET=no
8168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8170 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_HTTPGET" >&5
8171 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_HTTPGET" >&6; }
8172 if test $ac_cv_have_decl_CURLOPT_HTTPGET = yes; then
8174 cat >>confdefs.h <<_ACEOF
8175 #define HAVE_DECL_CURLOPT_HTTPGET 1
8176 _ACEOF
8179 else
8180 cat >>confdefs.h <<_ACEOF
8181 #define HAVE_DECL_CURLOPT_HTTPGET 0
8182 _ACEOF
8186 { echo "$as_me:$LINENO: checking whether CURLOPT_SSL_VERIFYHOST is declared" >&5
8187 echo $ECHO_N "checking whether CURLOPT_SSL_VERIFYHOST is declared... $ECHO_C" >&6; }
8188 if test "${ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST+set}" = set; then
8189 echo $ECHO_N "(cached) $ECHO_C" >&6
8190 else
8191 cat >conftest.$ac_ext <<_ACEOF
8192 /* confdefs.h. */
8193 _ACEOF
8194 cat confdefs.h >>conftest.$ac_ext
8195 cat >>conftest.$ac_ext <<_ACEOF
8196 /* end confdefs.h. */
8198 #include "curl/curl.h"
8202 main ()
8204 #ifndef CURLOPT_SSL_VERIFYHOST
8205 (void) CURLOPT_SSL_VERIFYHOST;
8206 #endif
8209 return 0;
8211 _ACEOF
8212 rm -f conftest.$ac_objext
8213 if { (ac_try="$ac_compile"
8214 case "(($ac_try" in
8215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8216 *) ac_try_echo=$ac_try;;
8217 esac
8218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8219 (eval "$ac_compile") 2>conftest.er1
8220 ac_status=$?
8221 grep -v '^ *+' conftest.er1 >conftest.err
8222 rm -f conftest.er1
8223 cat conftest.err >&5
8224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8225 (exit $ac_status); } && {
8226 test -z "$ac_c_werror_flag" ||
8227 test ! -s conftest.err
8228 } && test -s conftest.$ac_objext; then
8229 ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST=yes
8230 else
8231 echo "$as_me: failed program was:" >&5
8232 sed 's/^/| /' conftest.$ac_ext >&5
8234 ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST=no
8237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8239 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" >&5
8240 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" >&6; }
8241 if test $ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST = yes; then
8243 cat >>confdefs.h <<_ACEOF
8244 #define HAVE_DECL_CURLOPT_SSL_VERIFYHOST 1
8245 _ACEOF
8248 else
8249 cat >>confdefs.h <<_ACEOF
8250 #define HAVE_DECL_CURLOPT_SSL_VERIFYHOST 0
8251 _ACEOF
8255 { echo "$as_me:$LINENO: checking whether CURLOPT_COOKIEJAR is declared" >&5
8256 echo $ECHO_N "checking whether CURLOPT_COOKIEJAR is declared... $ECHO_C" >&6; }
8257 if test "${ac_cv_have_decl_CURLOPT_COOKIEJAR+set}" = set; then
8258 echo $ECHO_N "(cached) $ECHO_C" >&6
8259 else
8260 cat >conftest.$ac_ext <<_ACEOF
8261 /* confdefs.h. */
8262 _ACEOF
8263 cat confdefs.h >>conftest.$ac_ext
8264 cat >>conftest.$ac_ext <<_ACEOF
8265 /* end confdefs.h. */
8267 #include "curl/curl.h"
8271 main ()
8273 #ifndef CURLOPT_COOKIEJAR
8274 (void) CURLOPT_COOKIEJAR;
8275 #endif
8278 return 0;
8280 _ACEOF
8281 rm -f conftest.$ac_objext
8282 if { (ac_try="$ac_compile"
8283 case "(($ac_try" in
8284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8285 *) ac_try_echo=$ac_try;;
8286 esac
8287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8288 (eval "$ac_compile") 2>conftest.er1
8289 ac_status=$?
8290 grep -v '^ *+' conftest.er1 >conftest.err
8291 rm -f conftest.er1
8292 cat conftest.err >&5
8293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8294 (exit $ac_status); } && {
8295 test -z "$ac_c_werror_flag" ||
8296 test ! -s conftest.err
8297 } && test -s conftest.$ac_objext; then
8298 ac_cv_have_decl_CURLOPT_COOKIEJAR=yes
8299 else
8300 echo "$as_me: failed program was:" >&5
8301 sed 's/^/| /' conftest.$ac_ext >&5
8303 ac_cv_have_decl_CURLOPT_COOKIEJAR=no
8306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8308 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_COOKIEJAR" >&5
8309 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_COOKIEJAR" >&6; }
8310 if test $ac_cv_have_decl_CURLOPT_COOKIEJAR = yes; then
8312 cat >>confdefs.h <<_ACEOF
8313 #define HAVE_DECL_CURLOPT_COOKIEJAR 1
8314 _ACEOF
8317 else
8318 cat >>confdefs.h <<_ACEOF
8319 #define HAVE_DECL_CURLOPT_COOKIEJAR 0
8320 _ACEOF
8324 { echo "$as_me:$LINENO: checking whether CURLOPT_SSL_CIPHER_LIST is declared" >&5
8325 echo $ECHO_N "checking whether CURLOPT_SSL_CIPHER_LIST is declared... $ECHO_C" >&6; }
8326 if test "${ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST+set}" = set; then
8327 echo $ECHO_N "(cached) $ECHO_C" >&6
8328 else
8329 cat >conftest.$ac_ext <<_ACEOF
8330 /* confdefs.h. */
8331 _ACEOF
8332 cat confdefs.h >>conftest.$ac_ext
8333 cat >>conftest.$ac_ext <<_ACEOF
8334 /* end confdefs.h. */
8336 #include "curl/curl.h"
8340 main ()
8342 #ifndef CURLOPT_SSL_CIPHER_LIST
8343 (void) CURLOPT_SSL_CIPHER_LIST;
8344 #endif
8347 return 0;
8349 _ACEOF
8350 rm -f conftest.$ac_objext
8351 if { (ac_try="$ac_compile"
8352 case "(($ac_try" in
8353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8354 *) ac_try_echo=$ac_try;;
8355 esac
8356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8357 (eval "$ac_compile") 2>conftest.er1
8358 ac_status=$?
8359 grep -v '^ *+' conftest.er1 >conftest.err
8360 rm -f conftest.er1
8361 cat conftest.err >&5
8362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8363 (exit $ac_status); } && {
8364 test -z "$ac_c_werror_flag" ||
8365 test ! -s conftest.err
8366 } && test -s conftest.$ac_objext; then
8367 ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST=yes
8368 else
8369 echo "$as_me: failed program was:" >&5
8370 sed 's/^/| /' conftest.$ac_ext >&5
8372 ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST=no
8375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8377 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" >&5
8378 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" >&6; }
8379 if test $ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST = yes; then
8381 cat >>confdefs.h <<_ACEOF
8382 #define HAVE_DECL_CURLOPT_SSL_CIPHER_LIST 1
8383 _ACEOF
8386 else
8387 cat >>confdefs.h <<_ACEOF
8388 #define HAVE_DECL_CURLOPT_SSL_CIPHER_LIST 0
8389 _ACEOF
8393 { echo "$as_me:$LINENO: checking whether CURLOPT_HTTP_VERSION is declared" >&5
8394 echo $ECHO_N "checking whether CURLOPT_HTTP_VERSION is declared... $ECHO_C" >&6; }
8395 if test "${ac_cv_have_decl_CURLOPT_HTTP_VERSION+set}" = set; then
8396 echo $ECHO_N "(cached) $ECHO_C" >&6
8397 else
8398 cat >conftest.$ac_ext <<_ACEOF
8399 /* confdefs.h. */
8400 _ACEOF
8401 cat confdefs.h >>conftest.$ac_ext
8402 cat >>conftest.$ac_ext <<_ACEOF
8403 /* end confdefs.h. */
8405 #include "curl/curl.h"
8409 main ()
8411 #ifndef CURLOPT_HTTP_VERSION
8412 (void) CURLOPT_HTTP_VERSION;
8413 #endif
8416 return 0;
8418 _ACEOF
8419 rm -f conftest.$ac_objext
8420 if { (ac_try="$ac_compile"
8421 case "(($ac_try" in
8422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8423 *) ac_try_echo=$ac_try;;
8424 esac
8425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8426 (eval "$ac_compile") 2>conftest.er1
8427 ac_status=$?
8428 grep -v '^ *+' conftest.er1 >conftest.err
8429 rm -f conftest.er1
8430 cat conftest.err >&5
8431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8432 (exit $ac_status); } && {
8433 test -z "$ac_c_werror_flag" ||
8434 test ! -s conftest.err
8435 } && test -s conftest.$ac_objext; then
8436 ac_cv_have_decl_CURLOPT_HTTP_VERSION=yes
8437 else
8438 echo "$as_me: failed program was:" >&5
8439 sed 's/^/| /' conftest.$ac_ext >&5
8441 ac_cv_have_decl_CURLOPT_HTTP_VERSION=no
8444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8446 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_HTTP_VERSION" >&5
8447 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_HTTP_VERSION" >&6; }
8448 if test $ac_cv_have_decl_CURLOPT_HTTP_VERSION = yes; then
8450 cat >>confdefs.h <<_ACEOF
8451 #define HAVE_DECL_CURLOPT_HTTP_VERSION 1
8452 _ACEOF
8455 else
8456 cat >>confdefs.h <<_ACEOF
8457 #define HAVE_DECL_CURLOPT_HTTP_VERSION 0
8458 _ACEOF
8462 { echo "$as_me:$LINENO: checking whether CURLOPT_FTP_USE_EPSV is declared" >&5
8463 echo $ECHO_N "checking whether CURLOPT_FTP_USE_EPSV is declared... $ECHO_C" >&6; }
8464 if test "${ac_cv_have_decl_CURLOPT_FTP_USE_EPSV+set}" = set; then
8465 echo $ECHO_N "(cached) $ECHO_C" >&6
8466 else
8467 cat >conftest.$ac_ext <<_ACEOF
8468 /* confdefs.h. */
8469 _ACEOF
8470 cat confdefs.h >>conftest.$ac_ext
8471 cat >>conftest.$ac_ext <<_ACEOF
8472 /* end confdefs.h. */
8474 #include "curl/curl.h"
8478 main ()
8480 #ifndef CURLOPT_FTP_USE_EPSV
8481 (void) CURLOPT_FTP_USE_EPSV;
8482 #endif
8485 return 0;
8487 _ACEOF
8488 rm -f conftest.$ac_objext
8489 if { (ac_try="$ac_compile"
8490 case "(($ac_try" in
8491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8492 *) ac_try_echo=$ac_try;;
8493 esac
8494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8495 (eval "$ac_compile") 2>conftest.er1
8496 ac_status=$?
8497 grep -v '^ *+' conftest.er1 >conftest.err
8498 rm -f conftest.er1
8499 cat conftest.err >&5
8500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8501 (exit $ac_status); } && {
8502 test -z "$ac_c_werror_flag" ||
8503 test ! -s conftest.err
8504 } && test -s conftest.$ac_objext; then
8505 ac_cv_have_decl_CURLOPT_FTP_USE_EPSV=yes
8506 else
8507 echo "$as_me: failed program was:" >&5
8508 sed 's/^/| /' conftest.$ac_ext >&5
8510 ac_cv_have_decl_CURLOPT_FTP_USE_EPSV=no
8513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8515 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" >&5
8516 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" >&6; }
8517 if test $ac_cv_have_decl_CURLOPT_FTP_USE_EPSV = yes; then
8519 cat >>confdefs.h <<_ACEOF
8520 #define HAVE_DECL_CURLOPT_FTP_USE_EPSV 1
8521 _ACEOF
8524 else
8525 cat >>confdefs.h <<_ACEOF
8526 #define HAVE_DECL_CURLOPT_FTP_USE_EPSV 0
8527 _ACEOF
8531 { echo "$as_me:$LINENO: checking whether CURLOPT_SSLCERTTYPE is declared" >&5
8532 echo $ECHO_N "checking whether CURLOPT_SSLCERTTYPE is declared... $ECHO_C" >&6; }
8533 if test "${ac_cv_have_decl_CURLOPT_SSLCERTTYPE+set}" = set; then
8534 echo $ECHO_N "(cached) $ECHO_C" >&6
8535 else
8536 cat >conftest.$ac_ext <<_ACEOF
8537 /* confdefs.h. */
8538 _ACEOF
8539 cat confdefs.h >>conftest.$ac_ext
8540 cat >>conftest.$ac_ext <<_ACEOF
8541 /* end confdefs.h. */
8543 #include "curl/curl.h"
8547 main ()
8549 #ifndef CURLOPT_SSLCERTTYPE
8550 (void) CURLOPT_SSLCERTTYPE;
8551 #endif
8554 return 0;
8556 _ACEOF
8557 rm -f conftest.$ac_objext
8558 if { (ac_try="$ac_compile"
8559 case "(($ac_try" in
8560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8561 *) ac_try_echo=$ac_try;;
8562 esac
8563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8564 (eval "$ac_compile") 2>conftest.er1
8565 ac_status=$?
8566 grep -v '^ *+' conftest.er1 >conftest.err
8567 rm -f conftest.er1
8568 cat conftest.err >&5
8569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8570 (exit $ac_status); } && {
8571 test -z "$ac_c_werror_flag" ||
8572 test ! -s conftest.err
8573 } && test -s conftest.$ac_objext; then
8574 ac_cv_have_decl_CURLOPT_SSLCERTTYPE=yes
8575 else
8576 echo "$as_me: failed program was:" >&5
8577 sed 's/^/| /' conftest.$ac_ext >&5
8579 ac_cv_have_decl_CURLOPT_SSLCERTTYPE=no
8582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8584 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_SSLCERTTYPE" >&5
8585 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_SSLCERTTYPE" >&6; }
8586 if test $ac_cv_have_decl_CURLOPT_SSLCERTTYPE = yes; then
8588 cat >>confdefs.h <<_ACEOF
8589 #define HAVE_DECL_CURLOPT_SSLCERTTYPE 1
8590 _ACEOF
8593 else
8594 cat >>confdefs.h <<_ACEOF
8595 #define HAVE_DECL_CURLOPT_SSLCERTTYPE 0
8596 _ACEOF
8600 { echo "$as_me:$LINENO: checking whether CURLOPT_SSLKEY is declared" >&5
8601 echo $ECHO_N "checking whether CURLOPT_SSLKEY is declared... $ECHO_C" >&6; }
8602 if test "${ac_cv_have_decl_CURLOPT_SSLKEY+set}" = set; then
8603 echo $ECHO_N "(cached) $ECHO_C" >&6
8604 else
8605 cat >conftest.$ac_ext <<_ACEOF
8606 /* confdefs.h. */
8607 _ACEOF
8608 cat confdefs.h >>conftest.$ac_ext
8609 cat >>conftest.$ac_ext <<_ACEOF
8610 /* end confdefs.h. */
8612 #include "curl/curl.h"
8616 main ()
8618 #ifndef CURLOPT_SSLKEY
8619 (void) CURLOPT_SSLKEY;
8620 #endif
8623 return 0;
8625 _ACEOF
8626 rm -f conftest.$ac_objext
8627 if { (ac_try="$ac_compile"
8628 case "(($ac_try" in
8629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8630 *) ac_try_echo=$ac_try;;
8631 esac
8632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8633 (eval "$ac_compile") 2>conftest.er1
8634 ac_status=$?
8635 grep -v '^ *+' conftest.er1 >conftest.err
8636 rm -f conftest.er1
8637 cat conftest.err >&5
8638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8639 (exit $ac_status); } && {
8640 test -z "$ac_c_werror_flag" ||
8641 test ! -s conftest.err
8642 } && test -s conftest.$ac_objext; then
8643 ac_cv_have_decl_CURLOPT_SSLKEY=yes
8644 else
8645 echo "$as_me: failed program was:" >&5
8646 sed 's/^/| /' conftest.$ac_ext >&5
8648 ac_cv_have_decl_CURLOPT_SSLKEY=no
8651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8653 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_SSLKEY" >&5
8654 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_SSLKEY" >&6; }
8655 if test $ac_cv_have_decl_CURLOPT_SSLKEY = yes; then
8657 cat >>confdefs.h <<_ACEOF
8658 #define HAVE_DECL_CURLOPT_SSLKEY 1
8659 _ACEOF
8662 else
8663 cat >>confdefs.h <<_ACEOF
8664 #define HAVE_DECL_CURLOPT_SSLKEY 0
8665 _ACEOF
8669 { echo "$as_me:$LINENO: checking whether CURLOPT_SSLKEYTYPE is declared" >&5
8670 echo $ECHO_N "checking whether CURLOPT_SSLKEYTYPE is declared... $ECHO_C" >&6; }
8671 if test "${ac_cv_have_decl_CURLOPT_SSLKEYTYPE+set}" = set; then
8672 echo $ECHO_N "(cached) $ECHO_C" >&6
8673 else
8674 cat >conftest.$ac_ext <<_ACEOF
8675 /* confdefs.h. */
8676 _ACEOF
8677 cat confdefs.h >>conftest.$ac_ext
8678 cat >>conftest.$ac_ext <<_ACEOF
8679 /* end confdefs.h. */
8681 #include "curl/curl.h"
8685 main ()
8687 #ifndef CURLOPT_SSLKEYTYPE
8688 (void) CURLOPT_SSLKEYTYPE;
8689 #endif
8692 return 0;
8694 _ACEOF
8695 rm -f conftest.$ac_objext
8696 if { (ac_try="$ac_compile"
8697 case "(($ac_try" in
8698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8699 *) ac_try_echo=$ac_try;;
8700 esac
8701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8702 (eval "$ac_compile") 2>conftest.er1
8703 ac_status=$?
8704 grep -v '^ *+' conftest.er1 >conftest.err
8705 rm -f conftest.er1
8706 cat conftest.err >&5
8707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8708 (exit $ac_status); } && {
8709 test -z "$ac_c_werror_flag" ||
8710 test ! -s conftest.err
8711 } && test -s conftest.$ac_objext; then
8712 ac_cv_have_decl_CURLOPT_SSLKEYTYPE=yes
8713 else
8714 echo "$as_me: failed program was:" >&5
8715 sed 's/^/| /' conftest.$ac_ext >&5
8717 ac_cv_have_decl_CURLOPT_SSLKEYTYPE=no
8720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8722 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_SSLKEYTYPE" >&5
8723 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_SSLKEYTYPE" >&6; }
8724 if test $ac_cv_have_decl_CURLOPT_SSLKEYTYPE = yes; then
8726 cat >>confdefs.h <<_ACEOF
8727 #define HAVE_DECL_CURLOPT_SSLKEYTYPE 1
8728 _ACEOF
8731 else
8732 cat >>confdefs.h <<_ACEOF
8733 #define HAVE_DECL_CURLOPT_SSLKEYTYPE 0
8734 _ACEOF
8738 { echo "$as_me:$LINENO: checking whether CURLOPT_SSLENGINE is declared" >&5
8739 echo $ECHO_N "checking whether CURLOPT_SSLENGINE is declared... $ECHO_C" >&6; }
8740 if test "${ac_cv_have_decl_CURLOPT_SSLENGINE+set}" = set; then
8741 echo $ECHO_N "(cached) $ECHO_C" >&6
8742 else
8743 cat >conftest.$ac_ext <<_ACEOF
8744 /* confdefs.h. */
8745 _ACEOF
8746 cat confdefs.h >>conftest.$ac_ext
8747 cat >>conftest.$ac_ext <<_ACEOF
8748 /* end confdefs.h. */
8750 #include "curl/curl.h"
8754 main ()
8756 #ifndef CURLOPT_SSLENGINE
8757 (void) CURLOPT_SSLENGINE;
8758 #endif
8761 return 0;
8763 _ACEOF
8764 rm -f conftest.$ac_objext
8765 if { (ac_try="$ac_compile"
8766 case "(($ac_try" in
8767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8768 *) ac_try_echo=$ac_try;;
8769 esac
8770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8771 (eval "$ac_compile") 2>conftest.er1
8772 ac_status=$?
8773 grep -v '^ *+' conftest.er1 >conftest.err
8774 rm -f conftest.er1
8775 cat conftest.err >&5
8776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8777 (exit $ac_status); } && {
8778 test -z "$ac_c_werror_flag" ||
8779 test ! -s conftest.err
8780 } && test -s conftest.$ac_objext; then
8781 ac_cv_have_decl_CURLOPT_SSLENGINE=yes
8782 else
8783 echo "$as_me: failed program was:" >&5
8784 sed 's/^/| /' conftest.$ac_ext >&5
8786 ac_cv_have_decl_CURLOPT_SSLENGINE=no
8789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8791 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_SSLENGINE" >&5
8792 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_SSLENGINE" >&6; }
8793 if test $ac_cv_have_decl_CURLOPT_SSLENGINE = yes; then
8795 cat >>confdefs.h <<_ACEOF
8796 #define HAVE_DECL_CURLOPT_SSLENGINE 1
8797 _ACEOF
8800 else
8801 cat >>confdefs.h <<_ACEOF
8802 #define HAVE_DECL_CURLOPT_SSLENGINE 0
8803 _ACEOF
8807 { echo "$as_me:$LINENO: checking whether CURLOPT_SSLENGINE_DEFAULT is declared" >&5
8808 echo $ECHO_N "checking whether CURLOPT_SSLENGINE_DEFAULT is declared... $ECHO_C" >&6; }
8809 if test "${ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT+set}" = set; then
8810 echo $ECHO_N "(cached) $ECHO_C" >&6
8811 else
8812 cat >conftest.$ac_ext <<_ACEOF
8813 /* confdefs.h. */
8814 _ACEOF
8815 cat confdefs.h >>conftest.$ac_ext
8816 cat >>conftest.$ac_ext <<_ACEOF
8817 /* end confdefs.h. */
8819 #include "curl/curl.h"
8823 main ()
8825 #ifndef CURLOPT_SSLENGINE_DEFAULT
8826 (void) CURLOPT_SSLENGINE_DEFAULT;
8827 #endif
8830 return 0;
8832 _ACEOF
8833 rm -f conftest.$ac_objext
8834 if { (ac_try="$ac_compile"
8835 case "(($ac_try" in
8836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8837 *) ac_try_echo=$ac_try;;
8838 esac
8839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8840 (eval "$ac_compile") 2>conftest.er1
8841 ac_status=$?
8842 grep -v '^ *+' conftest.er1 >conftest.err
8843 rm -f conftest.er1
8844 cat conftest.err >&5
8845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8846 (exit $ac_status); } && {
8847 test -z "$ac_c_werror_flag" ||
8848 test ! -s conftest.err
8849 } && test -s conftest.$ac_objext; then
8850 ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT=yes
8851 else
8852 echo "$as_me: failed program was:" >&5
8853 sed 's/^/| /' conftest.$ac_ext >&5
8855 ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT=no
8858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8860 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" >&5
8861 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" >&6; }
8862 if test $ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT = yes; then
8864 cat >>confdefs.h <<_ACEOF
8865 #define HAVE_DECL_CURLOPT_SSLENGINE_DEFAULT 1
8866 _ACEOF
8869 else
8870 cat >>confdefs.h <<_ACEOF
8871 #define HAVE_DECL_CURLOPT_SSLENGINE_DEFAULT 0
8872 _ACEOF
8876 { echo "$as_me:$LINENO: checking whether CURLOPT_DNS_USE_GLOBAL_CACHE is declared" >&5
8877 echo $ECHO_N "checking whether CURLOPT_DNS_USE_GLOBAL_CACHE is declared... $ECHO_C" >&6; }
8878 if test "${ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE+set}" = set; then
8879 echo $ECHO_N "(cached) $ECHO_C" >&6
8880 else
8881 cat >conftest.$ac_ext <<_ACEOF
8882 /* confdefs.h. */
8883 _ACEOF
8884 cat confdefs.h >>conftest.$ac_ext
8885 cat >>conftest.$ac_ext <<_ACEOF
8886 /* end confdefs.h. */
8888 #include "curl/curl.h"
8892 main ()
8894 #ifndef CURLOPT_DNS_USE_GLOBAL_CACHE
8895 (void) CURLOPT_DNS_USE_GLOBAL_CACHE;
8896 #endif
8899 return 0;
8901 _ACEOF
8902 rm -f conftest.$ac_objext
8903 if { (ac_try="$ac_compile"
8904 case "(($ac_try" in
8905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8906 *) ac_try_echo=$ac_try;;
8907 esac
8908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8909 (eval "$ac_compile") 2>conftest.er1
8910 ac_status=$?
8911 grep -v '^ *+' conftest.er1 >conftest.err
8912 rm -f conftest.er1
8913 cat conftest.err >&5
8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 (exit $ac_status); } && {
8916 test -z "$ac_c_werror_flag" ||
8917 test ! -s conftest.err
8918 } && test -s conftest.$ac_objext; then
8919 ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE=yes
8920 else
8921 echo "$as_me: failed program was:" >&5
8922 sed 's/^/| /' conftest.$ac_ext >&5
8924 ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE=no
8927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8929 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" >&5
8930 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" >&6; }
8931 if test $ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE = yes; then
8933 cat >>confdefs.h <<_ACEOF
8934 #define HAVE_DECL_CURLOPT_DNS_USE_GLOBAL_CACHE 1
8935 _ACEOF
8938 else
8939 cat >>confdefs.h <<_ACEOF
8940 #define HAVE_DECL_CURLOPT_DNS_USE_GLOBAL_CACHE 0
8941 _ACEOF
8945 { echo "$as_me:$LINENO: checking whether CURLOPT_DNS_CACHE_TIMEOUT is declared" >&5
8946 echo $ECHO_N "checking whether CURLOPT_DNS_CACHE_TIMEOUT is declared... $ECHO_C" >&6; }
8947 if test "${ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT+set}" = set; then
8948 echo $ECHO_N "(cached) $ECHO_C" >&6
8949 else
8950 cat >conftest.$ac_ext <<_ACEOF
8951 /* confdefs.h. */
8952 _ACEOF
8953 cat confdefs.h >>conftest.$ac_ext
8954 cat >>conftest.$ac_ext <<_ACEOF
8955 /* end confdefs.h. */
8957 #include "curl/curl.h"
8961 main ()
8963 #ifndef CURLOPT_DNS_CACHE_TIMEOUT
8964 (void) CURLOPT_DNS_CACHE_TIMEOUT;
8965 #endif
8968 return 0;
8970 _ACEOF
8971 rm -f conftest.$ac_objext
8972 if { (ac_try="$ac_compile"
8973 case "(($ac_try" in
8974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8975 *) ac_try_echo=$ac_try;;
8976 esac
8977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8978 (eval "$ac_compile") 2>conftest.er1
8979 ac_status=$?
8980 grep -v '^ *+' conftest.er1 >conftest.err
8981 rm -f conftest.er1
8982 cat conftest.err >&5
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 (exit $ac_status); } && {
8985 test -z "$ac_c_werror_flag" ||
8986 test ! -s conftest.err
8987 } && test -s conftest.$ac_objext; then
8988 ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT=yes
8989 else
8990 echo "$as_me: failed program was:" >&5
8991 sed 's/^/| /' conftest.$ac_ext >&5
8993 ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT=no
8996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8998 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" >&5
8999 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" >&6; }
9000 if test $ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT = yes; then
9002 cat >>confdefs.h <<_ACEOF
9003 #define HAVE_DECL_CURLOPT_DNS_CACHE_TIMEOUT 1
9004 _ACEOF
9007 else
9008 cat >>confdefs.h <<_ACEOF
9009 #define HAVE_DECL_CURLOPT_DNS_CACHE_TIMEOUT 0
9010 _ACEOF
9014 { echo "$as_me:$LINENO: checking whether CURLOPT_PREQUOTE is declared" >&5
9015 echo $ECHO_N "checking whether CURLOPT_PREQUOTE is declared... $ECHO_C" >&6; }
9016 if test "${ac_cv_have_decl_CURLOPT_PREQUOTE+set}" = set; then
9017 echo $ECHO_N "(cached) $ECHO_C" >&6
9018 else
9019 cat >conftest.$ac_ext <<_ACEOF
9020 /* confdefs.h. */
9021 _ACEOF
9022 cat confdefs.h >>conftest.$ac_ext
9023 cat >>conftest.$ac_ext <<_ACEOF
9024 /* end confdefs.h. */
9026 #include "curl/curl.h"
9030 main ()
9032 #ifndef CURLOPT_PREQUOTE
9033 (void) CURLOPT_PREQUOTE;
9034 #endif
9037 return 0;
9039 _ACEOF
9040 rm -f conftest.$ac_objext
9041 if { (ac_try="$ac_compile"
9042 case "(($ac_try" in
9043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9044 *) ac_try_echo=$ac_try;;
9045 esac
9046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9047 (eval "$ac_compile") 2>conftest.er1
9048 ac_status=$?
9049 grep -v '^ *+' conftest.er1 >conftest.err
9050 rm -f conftest.er1
9051 cat conftest.err >&5
9052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9053 (exit $ac_status); } && {
9054 test -z "$ac_c_werror_flag" ||
9055 test ! -s conftest.err
9056 } && test -s conftest.$ac_objext; then
9057 ac_cv_have_decl_CURLOPT_PREQUOTE=yes
9058 else
9059 echo "$as_me: failed program was:" >&5
9060 sed 's/^/| /' conftest.$ac_ext >&5
9062 ac_cv_have_decl_CURLOPT_PREQUOTE=no
9065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9067 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_PREQUOTE" >&5
9068 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_PREQUOTE" >&6; }
9069 if test $ac_cv_have_decl_CURLOPT_PREQUOTE = yes; then
9071 cat >>confdefs.h <<_ACEOF
9072 #define HAVE_DECL_CURLOPT_PREQUOTE 1
9073 _ACEOF
9076 else
9077 cat >>confdefs.h <<_ACEOF
9078 #define HAVE_DECL_CURLOPT_PREQUOTE 0
9079 _ACEOF
9083 { echo "$as_me:$LINENO: checking whether CURLOPT_DEBUGFUNCTION is declared" >&5
9084 echo $ECHO_N "checking whether CURLOPT_DEBUGFUNCTION is declared... $ECHO_C" >&6; }
9085 if test "${ac_cv_have_decl_CURLOPT_DEBUGFUNCTION+set}" = set; then
9086 echo $ECHO_N "(cached) $ECHO_C" >&6
9087 else
9088 cat >conftest.$ac_ext <<_ACEOF
9089 /* confdefs.h. */
9090 _ACEOF
9091 cat confdefs.h >>conftest.$ac_ext
9092 cat >>conftest.$ac_ext <<_ACEOF
9093 /* end confdefs.h. */
9095 #include "curl/curl.h"
9099 main ()
9101 #ifndef CURLOPT_DEBUGFUNCTION
9102 (void) CURLOPT_DEBUGFUNCTION;
9103 #endif
9106 return 0;
9108 _ACEOF
9109 rm -f conftest.$ac_objext
9110 if { (ac_try="$ac_compile"
9111 case "(($ac_try" in
9112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9113 *) ac_try_echo=$ac_try;;
9114 esac
9115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9116 (eval "$ac_compile") 2>conftest.er1
9117 ac_status=$?
9118 grep -v '^ *+' conftest.er1 >conftest.err
9119 rm -f conftest.er1
9120 cat conftest.err >&5
9121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9122 (exit $ac_status); } && {
9123 test -z "$ac_c_werror_flag" ||
9124 test ! -s conftest.err
9125 } && test -s conftest.$ac_objext; then
9126 ac_cv_have_decl_CURLOPT_DEBUGFUNCTION=yes
9127 else
9128 echo "$as_me: failed program was:" >&5
9129 sed 's/^/| /' conftest.$ac_ext >&5
9131 ac_cv_have_decl_CURLOPT_DEBUGFUNCTION=no
9134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9136 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" >&5
9137 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" >&6; }
9138 if test $ac_cv_have_decl_CURLOPT_DEBUGFUNCTION = yes; then
9140 cat >>confdefs.h <<_ACEOF
9141 #define HAVE_DECL_CURLOPT_DEBUGFUNCTION 1
9142 _ACEOF
9145 else
9146 cat >>confdefs.h <<_ACEOF
9147 #define HAVE_DECL_CURLOPT_DEBUGFUNCTION 0
9148 _ACEOF
9152 { echo "$as_me:$LINENO: checking whether CURLOPT_DEBUGDATA is declared" >&5
9153 echo $ECHO_N "checking whether CURLOPT_DEBUGDATA is declared... $ECHO_C" >&6; }
9154 if test "${ac_cv_have_decl_CURLOPT_DEBUGDATA+set}" = set; then
9155 echo $ECHO_N "(cached) $ECHO_C" >&6
9156 else
9157 cat >conftest.$ac_ext <<_ACEOF
9158 /* confdefs.h. */
9159 _ACEOF
9160 cat confdefs.h >>conftest.$ac_ext
9161 cat >>conftest.$ac_ext <<_ACEOF
9162 /* end confdefs.h. */
9164 #include "curl/curl.h"
9168 main ()
9170 #ifndef CURLOPT_DEBUGDATA
9171 (void) CURLOPT_DEBUGDATA;
9172 #endif
9175 return 0;
9177 _ACEOF
9178 rm -f conftest.$ac_objext
9179 if { (ac_try="$ac_compile"
9180 case "(($ac_try" in
9181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9182 *) ac_try_echo=$ac_try;;
9183 esac
9184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9185 (eval "$ac_compile") 2>conftest.er1
9186 ac_status=$?
9187 grep -v '^ *+' conftest.er1 >conftest.err
9188 rm -f conftest.er1
9189 cat conftest.err >&5
9190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9191 (exit $ac_status); } && {
9192 test -z "$ac_c_werror_flag" ||
9193 test ! -s conftest.err
9194 } && test -s conftest.$ac_objext; then
9195 ac_cv_have_decl_CURLOPT_DEBUGDATA=yes
9196 else
9197 echo "$as_me: failed program was:" >&5
9198 sed 's/^/| /' conftest.$ac_ext >&5
9200 ac_cv_have_decl_CURLOPT_DEBUGDATA=no
9203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9205 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_DEBUGDATA" >&5
9206 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_DEBUGDATA" >&6; }
9207 if test $ac_cv_have_decl_CURLOPT_DEBUGDATA = yes; then
9209 cat >>confdefs.h <<_ACEOF
9210 #define HAVE_DECL_CURLOPT_DEBUGDATA 1
9211 _ACEOF
9214 else
9215 cat >>confdefs.h <<_ACEOF
9216 #define HAVE_DECL_CURLOPT_DEBUGDATA 0
9217 _ACEOF
9221 { echo "$as_me:$LINENO: checking whether CURLOPT_COOKIESESSION is declared" >&5
9222 echo $ECHO_N "checking whether CURLOPT_COOKIESESSION is declared... $ECHO_C" >&6; }
9223 if test "${ac_cv_have_decl_CURLOPT_COOKIESESSION+set}" = set; then
9224 echo $ECHO_N "(cached) $ECHO_C" >&6
9225 else
9226 cat >conftest.$ac_ext <<_ACEOF
9227 /* confdefs.h. */
9228 _ACEOF
9229 cat confdefs.h >>conftest.$ac_ext
9230 cat >>conftest.$ac_ext <<_ACEOF
9231 /* end confdefs.h. */
9233 #include "curl/curl.h"
9237 main ()
9239 #ifndef CURLOPT_COOKIESESSION
9240 (void) CURLOPT_COOKIESESSION;
9241 #endif
9244 return 0;
9246 _ACEOF
9247 rm -f conftest.$ac_objext
9248 if { (ac_try="$ac_compile"
9249 case "(($ac_try" in
9250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9251 *) ac_try_echo=$ac_try;;
9252 esac
9253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9254 (eval "$ac_compile") 2>conftest.er1
9255 ac_status=$?
9256 grep -v '^ *+' conftest.er1 >conftest.err
9257 rm -f conftest.er1
9258 cat conftest.err >&5
9259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9260 (exit $ac_status); } && {
9261 test -z "$ac_c_werror_flag" ||
9262 test ! -s conftest.err
9263 } && test -s conftest.$ac_objext; then
9264 ac_cv_have_decl_CURLOPT_COOKIESESSION=yes
9265 else
9266 echo "$as_me: failed program was:" >&5
9267 sed 's/^/| /' conftest.$ac_ext >&5
9269 ac_cv_have_decl_CURLOPT_COOKIESESSION=no
9272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9274 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_COOKIESESSION" >&5
9275 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_COOKIESESSION" >&6; }
9276 if test $ac_cv_have_decl_CURLOPT_COOKIESESSION = yes; then
9278 cat >>confdefs.h <<_ACEOF
9279 #define HAVE_DECL_CURLOPT_COOKIESESSION 1
9280 _ACEOF
9283 else
9284 cat >>confdefs.h <<_ACEOF
9285 #define HAVE_DECL_CURLOPT_COOKIESESSION 0
9286 _ACEOF
9290 { echo "$as_me:$LINENO: checking whether CURLOPT_CAPATH is declared" >&5
9291 echo $ECHO_N "checking whether CURLOPT_CAPATH is declared... $ECHO_C" >&6; }
9292 if test "${ac_cv_have_decl_CURLOPT_CAPATH+set}" = set; then
9293 echo $ECHO_N "(cached) $ECHO_C" >&6
9294 else
9295 cat >conftest.$ac_ext <<_ACEOF
9296 /* confdefs.h. */
9297 _ACEOF
9298 cat confdefs.h >>conftest.$ac_ext
9299 cat >>conftest.$ac_ext <<_ACEOF
9300 /* end confdefs.h. */
9302 #include "curl/curl.h"
9306 main ()
9308 #ifndef CURLOPT_CAPATH
9309 (void) CURLOPT_CAPATH;
9310 #endif
9313 return 0;
9315 _ACEOF
9316 rm -f conftest.$ac_objext
9317 if { (ac_try="$ac_compile"
9318 case "(($ac_try" in
9319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9320 *) ac_try_echo=$ac_try;;
9321 esac
9322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9323 (eval "$ac_compile") 2>conftest.er1
9324 ac_status=$?
9325 grep -v '^ *+' conftest.er1 >conftest.err
9326 rm -f conftest.er1
9327 cat conftest.err >&5
9328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9329 (exit $ac_status); } && {
9330 test -z "$ac_c_werror_flag" ||
9331 test ! -s conftest.err
9332 } && test -s conftest.$ac_objext; then
9333 ac_cv_have_decl_CURLOPT_CAPATH=yes
9334 else
9335 echo "$as_me: failed program was:" >&5
9336 sed 's/^/| /' conftest.$ac_ext >&5
9338 ac_cv_have_decl_CURLOPT_CAPATH=no
9341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9343 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_CAPATH" >&5
9344 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_CAPATH" >&6; }
9345 if test $ac_cv_have_decl_CURLOPT_CAPATH = yes; then
9347 cat >>confdefs.h <<_ACEOF
9348 #define HAVE_DECL_CURLOPT_CAPATH 1
9349 _ACEOF
9352 else
9353 cat >>confdefs.h <<_ACEOF
9354 #define HAVE_DECL_CURLOPT_CAPATH 0
9355 _ACEOF
9359 { echo "$as_me:$LINENO: checking whether CURLOPT_BUFFERSIZE is declared" >&5
9360 echo $ECHO_N "checking whether CURLOPT_BUFFERSIZE is declared... $ECHO_C" >&6; }
9361 if test "${ac_cv_have_decl_CURLOPT_BUFFERSIZE+set}" = set; then
9362 echo $ECHO_N "(cached) $ECHO_C" >&6
9363 else
9364 cat >conftest.$ac_ext <<_ACEOF
9365 /* confdefs.h. */
9366 _ACEOF
9367 cat confdefs.h >>conftest.$ac_ext
9368 cat >>conftest.$ac_ext <<_ACEOF
9369 /* end confdefs.h. */
9371 #include "curl/curl.h"
9375 main ()
9377 #ifndef CURLOPT_BUFFERSIZE
9378 (void) CURLOPT_BUFFERSIZE;
9379 #endif
9382 return 0;
9384 _ACEOF
9385 rm -f conftest.$ac_objext
9386 if { (ac_try="$ac_compile"
9387 case "(($ac_try" in
9388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9389 *) ac_try_echo=$ac_try;;
9390 esac
9391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9392 (eval "$ac_compile") 2>conftest.er1
9393 ac_status=$?
9394 grep -v '^ *+' conftest.er1 >conftest.err
9395 rm -f conftest.er1
9396 cat conftest.err >&5
9397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9398 (exit $ac_status); } && {
9399 test -z "$ac_c_werror_flag" ||
9400 test ! -s conftest.err
9401 } && test -s conftest.$ac_objext; then
9402 ac_cv_have_decl_CURLOPT_BUFFERSIZE=yes
9403 else
9404 echo "$as_me: failed program was:" >&5
9405 sed 's/^/| /' conftest.$ac_ext >&5
9407 ac_cv_have_decl_CURLOPT_BUFFERSIZE=no
9410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9412 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_BUFFERSIZE" >&5
9413 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_BUFFERSIZE" >&6; }
9414 if test $ac_cv_have_decl_CURLOPT_BUFFERSIZE = yes; then
9416 cat >>confdefs.h <<_ACEOF
9417 #define HAVE_DECL_CURLOPT_BUFFERSIZE 1
9418 _ACEOF
9421 else
9422 cat >>confdefs.h <<_ACEOF
9423 #define HAVE_DECL_CURLOPT_BUFFERSIZE 0
9424 _ACEOF
9428 { echo "$as_me:$LINENO: checking whether CURLOPT_NOSIGNAL is declared" >&5
9429 echo $ECHO_N "checking whether CURLOPT_NOSIGNAL is declared... $ECHO_C" >&6; }
9430 if test "${ac_cv_have_decl_CURLOPT_NOSIGNAL+set}" = set; then
9431 echo $ECHO_N "(cached) $ECHO_C" >&6
9432 else
9433 cat >conftest.$ac_ext <<_ACEOF
9434 /* confdefs.h. */
9435 _ACEOF
9436 cat confdefs.h >>conftest.$ac_ext
9437 cat >>conftest.$ac_ext <<_ACEOF
9438 /* end confdefs.h. */
9440 #include "curl/curl.h"
9444 main ()
9446 #ifndef CURLOPT_NOSIGNAL
9447 (void) CURLOPT_NOSIGNAL;
9448 #endif
9451 return 0;
9453 _ACEOF
9454 rm -f conftest.$ac_objext
9455 if { (ac_try="$ac_compile"
9456 case "(($ac_try" in
9457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9458 *) ac_try_echo=$ac_try;;
9459 esac
9460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9461 (eval "$ac_compile") 2>conftest.er1
9462 ac_status=$?
9463 grep -v '^ *+' conftest.er1 >conftest.err
9464 rm -f conftest.er1
9465 cat conftest.err >&5
9466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9467 (exit $ac_status); } && {
9468 test -z "$ac_c_werror_flag" ||
9469 test ! -s conftest.err
9470 } && test -s conftest.$ac_objext; then
9471 ac_cv_have_decl_CURLOPT_NOSIGNAL=yes
9472 else
9473 echo "$as_me: failed program was:" >&5
9474 sed 's/^/| /' conftest.$ac_ext >&5
9476 ac_cv_have_decl_CURLOPT_NOSIGNAL=no
9479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9481 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_NOSIGNAL" >&5
9482 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_NOSIGNAL" >&6; }
9483 if test $ac_cv_have_decl_CURLOPT_NOSIGNAL = yes; then
9485 cat >>confdefs.h <<_ACEOF
9486 #define HAVE_DECL_CURLOPT_NOSIGNAL 1
9487 _ACEOF
9490 else
9491 cat >>confdefs.h <<_ACEOF
9492 #define HAVE_DECL_CURLOPT_NOSIGNAL 0
9493 _ACEOF
9497 { echo "$as_me:$LINENO: checking whether CURLOPT_SHARE is declared" >&5
9498 echo $ECHO_N "checking whether CURLOPT_SHARE is declared... $ECHO_C" >&6; }
9499 if test "${ac_cv_have_decl_CURLOPT_SHARE+set}" = set; then
9500 echo $ECHO_N "(cached) $ECHO_C" >&6
9501 else
9502 cat >conftest.$ac_ext <<_ACEOF
9503 /* confdefs.h. */
9504 _ACEOF
9505 cat confdefs.h >>conftest.$ac_ext
9506 cat >>conftest.$ac_ext <<_ACEOF
9507 /* end confdefs.h. */
9509 #include "curl/curl.h"
9513 main ()
9515 #ifndef CURLOPT_SHARE
9516 (void) CURLOPT_SHARE;
9517 #endif
9520 return 0;
9522 _ACEOF
9523 rm -f conftest.$ac_objext
9524 if { (ac_try="$ac_compile"
9525 case "(($ac_try" in
9526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9527 *) ac_try_echo=$ac_try;;
9528 esac
9529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9530 (eval "$ac_compile") 2>conftest.er1
9531 ac_status=$?
9532 grep -v '^ *+' conftest.er1 >conftest.err
9533 rm -f conftest.er1
9534 cat conftest.err >&5
9535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9536 (exit $ac_status); } && {
9537 test -z "$ac_c_werror_flag" ||
9538 test ! -s conftest.err
9539 } && test -s conftest.$ac_objext; then
9540 ac_cv_have_decl_CURLOPT_SHARE=yes
9541 else
9542 echo "$as_me: failed program was:" >&5
9543 sed 's/^/| /' conftest.$ac_ext >&5
9545 ac_cv_have_decl_CURLOPT_SHARE=no
9548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9550 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_SHARE" >&5
9551 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_SHARE" >&6; }
9552 if test $ac_cv_have_decl_CURLOPT_SHARE = yes; then
9554 cat >>confdefs.h <<_ACEOF
9555 #define HAVE_DECL_CURLOPT_SHARE 1
9556 _ACEOF
9559 else
9560 cat >>confdefs.h <<_ACEOF
9561 #define HAVE_DECL_CURLOPT_SHARE 0
9562 _ACEOF
9566 { echo "$as_me:$LINENO: checking whether CURLOPT_PROXYTYPE is declared" >&5
9567 echo $ECHO_N "checking whether CURLOPT_PROXYTYPE is declared... $ECHO_C" >&6; }
9568 if test "${ac_cv_have_decl_CURLOPT_PROXYTYPE+set}" = set; then
9569 echo $ECHO_N "(cached) $ECHO_C" >&6
9570 else
9571 cat >conftest.$ac_ext <<_ACEOF
9572 /* confdefs.h. */
9573 _ACEOF
9574 cat confdefs.h >>conftest.$ac_ext
9575 cat >>conftest.$ac_ext <<_ACEOF
9576 /* end confdefs.h. */
9578 #include "curl/curl.h"
9582 main ()
9584 #ifndef CURLOPT_PROXYTYPE
9585 (void) CURLOPT_PROXYTYPE;
9586 #endif
9589 return 0;
9591 _ACEOF
9592 rm -f conftest.$ac_objext
9593 if { (ac_try="$ac_compile"
9594 case "(($ac_try" in
9595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9596 *) ac_try_echo=$ac_try;;
9597 esac
9598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9599 (eval "$ac_compile") 2>conftest.er1
9600 ac_status=$?
9601 grep -v '^ *+' conftest.er1 >conftest.err
9602 rm -f conftest.er1
9603 cat conftest.err >&5
9604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9605 (exit $ac_status); } && {
9606 test -z "$ac_c_werror_flag" ||
9607 test ! -s conftest.err
9608 } && test -s conftest.$ac_objext; then
9609 ac_cv_have_decl_CURLOPT_PROXYTYPE=yes
9610 else
9611 echo "$as_me: failed program was:" >&5
9612 sed 's/^/| /' conftest.$ac_ext >&5
9614 ac_cv_have_decl_CURLOPT_PROXYTYPE=no
9617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9619 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_PROXYTYPE" >&5
9620 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_PROXYTYPE" >&6; }
9621 if test $ac_cv_have_decl_CURLOPT_PROXYTYPE = yes; then
9623 cat >>confdefs.h <<_ACEOF
9624 #define HAVE_DECL_CURLOPT_PROXYTYPE 1
9625 _ACEOF
9628 else
9629 cat >>confdefs.h <<_ACEOF
9630 #define HAVE_DECL_CURLOPT_PROXYTYPE 0
9631 _ACEOF
9635 { echo "$as_me:$LINENO: checking whether CURLOPT_ENCODING is declared" >&5
9636 echo $ECHO_N "checking whether CURLOPT_ENCODING is declared... $ECHO_C" >&6; }
9637 if test "${ac_cv_have_decl_CURLOPT_ENCODING+set}" = set; then
9638 echo $ECHO_N "(cached) $ECHO_C" >&6
9639 else
9640 cat >conftest.$ac_ext <<_ACEOF
9641 /* confdefs.h. */
9642 _ACEOF
9643 cat confdefs.h >>conftest.$ac_ext
9644 cat >>conftest.$ac_ext <<_ACEOF
9645 /* end confdefs.h. */
9647 #include "curl/curl.h"
9651 main ()
9653 #ifndef CURLOPT_ENCODING
9654 (void) CURLOPT_ENCODING;
9655 #endif
9658 return 0;
9660 _ACEOF
9661 rm -f conftest.$ac_objext
9662 if { (ac_try="$ac_compile"
9663 case "(($ac_try" in
9664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9665 *) ac_try_echo=$ac_try;;
9666 esac
9667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9668 (eval "$ac_compile") 2>conftest.er1
9669 ac_status=$?
9670 grep -v '^ *+' conftest.er1 >conftest.err
9671 rm -f conftest.er1
9672 cat conftest.err >&5
9673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9674 (exit $ac_status); } && {
9675 test -z "$ac_c_werror_flag" ||
9676 test ! -s conftest.err
9677 } && test -s conftest.$ac_objext; then
9678 ac_cv_have_decl_CURLOPT_ENCODING=yes
9679 else
9680 echo "$as_me: failed program was:" >&5
9681 sed 's/^/| /' conftest.$ac_ext >&5
9683 ac_cv_have_decl_CURLOPT_ENCODING=no
9686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9688 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_ENCODING" >&5
9689 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_ENCODING" >&6; }
9690 if test $ac_cv_have_decl_CURLOPT_ENCODING = yes; then
9692 cat >>confdefs.h <<_ACEOF
9693 #define HAVE_DECL_CURLOPT_ENCODING 1
9694 _ACEOF
9697 else
9698 cat >>confdefs.h <<_ACEOF
9699 #define HAVE_DECL_CURLOPT_ENCODING 0
9700 _ACEOF
9704 { echo "$as_me:$LINENO: checking whether CURLOPT_PRIVATE is declared" >&5
9705 echo $ECHO_N "checking whether CURLOPT_PRIVATE is declared... $ECHO_C" >&6; }
9706 if test "${ac_cv_have_decl_CURLOPT_PRIVATE+set}" = set; then
9707 echo $ECHO_N "(cached) $ECHO_C" >&6
9708 else
9709 cat >conftest.$ac_ext <<_ACEOF
9710 /* confdefs.h. */
9711 _ACEOF
9712 cat confdefs.h >>conftest.$ac_ext
9713 cat >>conftest.$ac_ext <<_ACEOF
9714 /* end confdefs.h. */
9716 #include "curl/curl.h"
9720 main ()
9722 #ifndef CURLOPT_PRIVATE
9723 (void) CURLOPT_PRIVATE;
9724 #endif
9727 return 0;
9729 _ACEOF
9730 rm -f conftest.$ac_objext
9731 if { (ac_try="$ac_compile"
9732 case "(($ac_try" in
9733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9734 *) ac_try_echo=$ac_try;;
9735 esac
9736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9737 (eval "$ac_compile") 2>conftest.er1
9738 ac_status=$?
9739 grep -v '^ *+' conftest.er1 >conftest.err
9740 rm -f conftest.er1
9741 cat conftest.err >&5
9742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9743 (exit $ac_status); } && {
9744 test -z "$ac_c_werror_flag" ||
9745 test ! -s conftest.err
9746 } && test -s conftest.$ac_objext; then
9747 ac_cv_have_decl_CURLOPT_PRIVATE=yes
9748 else
9749 echo "$as_me: failed program was:" >&5
9750 sed 's/^/| /' conftest.$ac_ext >&5
9752 ac_cv_have_decl_CURLOPT_PRIVATE=no
9755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9757 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_PRIVATE" >&5
9758 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_PRIVATE" >&6; }
9759 if test $ac_cv_have_decl_CURLOPT_PRIVATE = yes; then
9761 cat >>confdefs.h <<_ACEOF
9762 #define HAVE_DECL_CURLOPT_PRIVATE 1
9763 _ACEOF
9766 else
9767 cat >>confdefs.h <<_ACEOF
9768 #define HAVE_DECL_CURLOPT_PRIVATE 0
9769 _ACEOF
9773 { echo "$as_me:$LINENO: checking whether CURLOPT_HTTP200ALIASES is declared" >&5
9774 echo $ECHO_N "checking whether CURLOPT_HTTP200ALIASES is declared... $ECHO_C" >&6; }
9775 if test "${ac_cv_have_decl_CURLOPT_HTTP200ALIASES+set}" = set; then
9776 echo $ECHO_N "(cached) $ECHO_C" >&6
9777 else
9778 cat >conftest.$ac_ext <<_ACEOF
9779 /* confdefs.h. */
9780 _ACEOF
9781 cat confdefs.h >>conftest.$ac_ext
9782 cat >>conftest.$ac_ext <<_ACEOF
9783 /* end confdefs.h. */
9785 #include "curl/curl.h"
9789 main ()
9791 #ifndef CURLOPT_HTTP200ALIASES
9792 (void) CURLOPT_HTTP200ALIASES;
9793 #endif
9796 return 0;
9798 _ACEOF
9799 rm -f conftest.$ac_objext
9800 if { (ac_try="$ac_compile"
9801 case "(($ac_try" in
9802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9803 *) ac_try_echo=$ac_try;;
9804 esac
9805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9806 (eval "$ac_compile") 2>conftest.er1
9807 ac_status=$?
9808 grep -v '^ *+' conftest.er1 >conftest.err
9809 rm -f conftest.er1
9810 cat conftest.err >&5
9811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9812 (exit $ac_status); } && {
9813 test -z "$ac_c_werror_flag" ||
9814 test ! -s conftest.err
9815 } && test -s conftest.$ac_objext; then
9816 ac_cv_have_decl_CURLOPT_HTTP200ALIASES=yes
9817 else
9818 echo "$as_me: failed program was:" >&5
9819 sed 's/^/| /' conftest.$ac_ext >&5
9821 ac_cv_have_decl_CURLOPT_HTTP200ALIASES=no
9824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9826 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_HTTP200ALIASES" >&5
9827 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_HTTP200ALIASES" >&6; }
9828 if test $ac_cv_have_decl_CURLOPT_HTTP200ALIASES = yes; then
9830 cat >>confdefs.h <<_ACEOF
9831 #define HAVE_DECL_CURLOPT_HTTP200ALIASES 1
9832 _ACEOF
9835 else
9836 cat >>confdefs.h <<_ACEOF
9837 #define HAVE_DECL_CURLOPT_HTTP200ALIASES 0
9838 _ACEOF
9842 { echo "$as_me:$LINENO: checking whether CURLOPT_UNRESTRICTED_AUTH is declared" >&5
9843 echo $ECHO_N "checking whether CURLOPT_UNRESTRICTED_AUTH is declared... $ECHO_C" >&6; }
9844 if test "${ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH+set}" = set; then
9845 echo $ECHO_N "(cached) $ECHO_C" >&6
9846 else
9847 cat >conftest.$ac_ext <<_ACEOF
9848 /* confdefs.h. */
9849 _ACEOF
9850 cat confdefs.h >>conftest.$ac_ext
9851 cat >>conftest.$ac_ext <<_ACEOF
9852 /* end confdefs.h. */
9854 #include "curl/curl.h"
9858 main ()
9860 #ifndef CURLOPT_UNRESTRICTED_AUTH
9861 (void) CURLOPT_UNRESTRICTED_AUTH;
9862 #endif
9865 return 0;
9867 _ACEOF
9868 rm -f conftest.$ac_objext
9869 if { (ac_try="$ac_compile"
9870 case "(($ac_try" in
9871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9872 *) ac_try_echo=$ac_try;;
9873 esac
9874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9875 (eval "$ac_compile") 2>conftest.er1
9876 ac_status=$?
9877 grep -v '^ *+' conftest.er1 >conftest.err
9878 rm -f conftest.er1
9879 cat conftest.err >&5
9880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9881 (exit $ac_status); } && {
9882 test -z "$ac_c_werror_flag" ||
9883 test ! -s conftest.err
9884 } && test -s conftest.$ac_objext; then
9885 ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH=yes
9886 else
9887 echo "$as_me: failed program was:" >&5
9888 sed 's/^/| /' conftest.$ac_ext >&5
9890 ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH=no
9893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9895 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" >&5
9896 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" >&6; }
9897 if test $ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH = yes; then
9899 cat >>confdefs.h <<_ACEOF
9900 #define HAVE_DECL_CURLOPT_UNRESTRICTED_AUTH 1
9901 _ACEOF
9904 else
9905 cat >>confdefs.h <<_ACEOF
9906 #define HAVE_DECL_CURLOPT_UNRESTRICTED_AUTH 0
9907 _ACEOF
9911 { echo "$as_me:$LINENO: checking whether CURLOPT_FTP_USE_EPRT is declared" >&5
9912 echo $ECHO_N "checking whether CURLOPT_FTP_USE_EPRT is declared... $ECHO_C" >&6; }
9913 if test "${ac_cv_have_decl_CURLOPT_FTP_USE_EPRT+set}" = set; then
9914 echo $ECHO_N "(cached) $ECHO_C" >&6
9915 else
9916 cat >conftest.$ac_ext <<_ACEOF
9917 /* confdefs.h. */
9918 _ACEOF
9919 cat confdefs.h >>conftest.$ac_ext
9920 cat >>conftest.$ac_ext <<_ACEOF
9921 /* end confdefs.h. */
9923 #include "curl/curl.h"
9927 main ()
9929 #ifndef CURLOPT_FTP_USE_EPRT
9930 (void) CURLOPT_FTP_USE_EPRT;
9931 #endif
9934 return 0;
9936 _ACEOF
9937 rm -f conftest.$ac_objext
9938 if { (ac_try="$ac_compile"
9939 case "(($ac_try" in
9940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9941 *) ac_try_echo=$ac_try;;
9942 esac
9943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9944 (eval "$ac_compile") 2>conftest.er1
9945 ac_status=$?
9946 grep -v '^ *+' conftest.er1 >conftest.err
9947 rm -f conftest.er1
9948 cat conftest.err >&5
9949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9950 (exit $ac_status); } && {
9951 test -z "$ac_c_werror_flag" ||
9952 test ! -s conftest.err
9953 } && test -s conftest.$ac_objext; then
9954 ac_cv_have_decl_CURLOPT_FTP_USE_EPRT=yes
9955 else
9956 echo "$as_me: failed program was:" >&5
9957 sed 's/^/| /' conftest.$ac_ext >&5
9959 ac_cv_have_decl_CURLOPT_FTP_USE_EPRT=no
9962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9964 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" >&5
9965 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" >&6; }
9966 if test $ac_cv_have_decl_CURLOPT_FTP_USE_EPRT = yes; then
9968 cat >>confdefs.h <<_ACEOF
9969 #define HAVE_DECL_CURLOPT_FTP_USE_EPRT 1
9970 _ACEOF
9973 else
9974 cat >>confdefs.h <<_ACEOF
9975 #define HAVE_DECL_CURLOPT_FTP_USE_EPRT 0
9976 _ACEOF
9980 { echo "$as_me:$LINENO: checking whether CURLOPT_HTTPAUTH is declared" >&5
9981 echo $ECHO_N "checking whether CURLOPT_HTTPAUTH is declared... $ECHO_C" >&6; }
9982 if test "${ac_cv_have_decl_CURLOPT_HTTPAUTH+set}" = set; then
9983 echo $ECHO_N "(cached) $ECHO_C" >&6
9984 else
9985 cat >conftest.$ac_ext <<_ACEOF
9986 /* confdefs.h. */
9987 _ACEOF
9988 cat confdefs.h >>conftest.$ac_ext
9989 cat >>conftest.$ac_ext <<_ACEOF
9990 /* end confdefs.h. */
9992 #include "curl/curl.h"
9996 main ()
9998 #ifndef CURLOPT_HTTPAUTH
9999 (void) CURLOPT_HTTPAUTH;
10000 #endif
10003 return 0;
10005 _ACEOF
10006 rm -f conftest.$ac_objext
10007 if { (ac_try="$ac_compile"
10008 case "(($ac_try" in
10009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10010 *) ac_try_echo=$ac_try;;
10011 esac
10012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10013 (eval "$ac_compile") 2>conftest.er1
10014 ac_status=$?
10015 grep -v '^ *+' conftest.er1 >conftest.err
10016 rm -f conftest.er1
10017 cat conftest.err >&5
10018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10019 (exit $ac_status); } && {
10020 test -z "$ac_c_werror_flag" ||
10021 test ! -s conftest.err
10022 } && test -s conftest.$ac_objext; then
10023 ac_cv_have_decl_CURLOPT_HTTPAUTH=yes
10024 else
10025 echo "$as_me: failed program was:" >&5
10026 sed 's/^/| /' conftest.$ac_ext >&5
10028 ac_cv_have_decl_CURLOPT_HTTPAUTH=no
10031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10033 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_HTTPAUTH" >&5
10034 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_HTTPAUTH" >&6; }
10035 if test $ac_cv_have_decl_CURLOPT_HTTPAUTH = yes; then
10037 cat >>confdefs.h <<_ACEOF
10038 #define HAVE_DECL_CURLOPT_HTTPAUTH 1
10039 _ACEOF
10042 else
10043 cat >>confdefs.h <<_ACEOF
10044 #define HAVE_DECL_CURLOPT_HTTPAUTH 0
10045 _ACEOF
10049 { echo "$as_me:$LINENO: checking whether CURLOPT_FTP_CREATE_MISSING_DIRS is declared" >&5
10050 echo $ECHO_N "checking whether CURLOPT_FTP_CREATE_MISSING_DIRS is declared... $ECHO_C" >&6; }
10051 if test "${ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS+set}" = set; then
10052 echo $ECHO_N "(cached) $ECHO_C" >&6
10053 else
10054 cat >conftest.$ac_ext <<_ACEOF
10055 /* confdefs.h. */
10056 _ACEOF
10057 cat confdefs.h >>conftest.$ac_ext
10058 cat >>conftest.$ac_ext <<_ACEOF
10059 /* end confdefs.h. */
10061 #include "curl/curl.h"
10065 main ()
10067 #ifndef CURLOPT_FTP_CREATE_MISSING_DIRS
10068 (void) CURLOPT_FTP_CREATE_MISSING_DIRS;
10069 #endif
10072 return 0;
10074 _ACEOF
10075 rm -f conftest.$ac_objext
10076 if { (ac_try="$ac_compile"
10077 case "(($ac_try" in
10078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10079 *) ac_try_echo=$ac_try;;
10080 esac
10081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10082 (eval "$ac_compile") 2>conftest.er1
10083 ac_status=$?
10084 grep -v '^ *+' conftest.er1 >conftest.err
10085 rm -f conftest.er1
10086 cat conftest.err >&5
10087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10088 (exit $ac_status); } && {
10089 test -z "$ac_c_werror_flag" ||
10090 test ! -s conftest.err
10091 } && test -s conftest.$ac_objext; then
10092 ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS=yes
10093 else
10094 echo "$as_me: failed program was:" >&5
10095 sed 's/^/| /' conftest.$ac_ext >&5
10097 ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS=no
10100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10102 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" >&5
10103 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" >&6; }
10104 if test $ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS = yes; then
10106 cat >>confdefs.h <<_ACEOF
10107 #define HAVE_DECL_CURLOPT_FTP_CREATE_MISSING_DIRS 1
10108 _ACEOF
10111 else
10112 cat >>confdefs.h <<_ACEOF
10113 #define HAVE_DECL_CURLOPT_FTP_CREATE_MISSING_DIRS 0
10114 _ACEOF
10118 { echo "$as_me:$LINENO: checking whether CURLOPT_PROXYAUTH is declared" >&5
10119 echo $ECHO_N "checking whether CURLOPT_PROXYAUTH is declared... $ECHO_C" >&6; }
10120 if test "${ac_cv_have_decl_CURLOPT_PROXYAUTH+set}" = set; then
10121 echo $ECHO_N "(cached) $ECHO_C" >&6
10122 else
10123 cat >conftest.$ac_ext <<_ACEOF
10124 /* confdefs.h. */
10125 _ACEOF
10126 cat confdefs.h >>conftest.$ac_ext
10127 cat >>conftest.$ac_ext <<_ACEOF
10128 /* end confdefs.h. */
10130 #include "curl/curl.h"
10134 main ()
10136 #ifndef CURLOPT_PROXYAUTH
10137 (void) CURLOPT_PROXYAUTH;
10138 #endif
10141 return 0;
10143 _ACEOF
10144 rm -f conftest.$ac_objext
10145 if { (ac_try="$ac_compile"
10146 case "(($ac_try" in
10147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10148 *) ac_try_echo=$ac_try;;
10149 esac
10150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10151 (eval "$ac_compile") 2>conftest.er1
10152 ac_status=$?
10153 grep -v '^ *+' conftest.er1 >conftest.err
10154 rm -f conftest.er1
10155 cat conftest.err >&5
10156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10157 (exit $ac_status); } && {
10158 test -z "$ac_c_werror_flag" ||
10159 test ! -s conftest.err
10160 } && test -s conftest.$ac_objext; then
10161 ac_cv_have_decl_CURLOPT_PROXYAUTH=yes
10162 else
10163 echo "$as_me: failed program was:" >&5
10164 sed 's/^/| /' conftest.$ac_ext >&5
10166 ac_cv_have_decl_CURLOPT_PROXYAUTH=no
10169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10171 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_PROXYAUTH" >&5
10172 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_PROXYAUTH" >&6; }
10173 if test $ac_cv_have_decl_CURLOPT_PROXYAUTH = yes; then
10175 cat >>confdefs.h <<_ACEOF
10176 #define HAVE_DECL_CURLOPT_PROXYAUTH 1
10177 _ACEOF
10180 else
10181 cat >>confdefs.h <<_ACEOF
10182 #define HAVE_DECL_CURLOPT_PROXYAUTH 0
10183 _ACEOF
10187 { echo "$as_me:$LINENO: checking whether CURLOPT_FTP_RESPONSE_TIMEOUT is declared" >&5
10188 echo $ECHO_N "checking whether CURLOPT_FTP_RESPONSE_TIMEOUT is declared... $ECHO_C" >&6; }
10189 if test "${ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT+set}" = set; then
10190 echo $ECHO_N "(cached) $ECHO_C" >&6
10191 else
10192 cat >conftest.$ac_ext <<_ACEOF
10193 /* confdefs.h. */
10194 _ACEOF
10195 cat confdefs.h >>conftest.$ac_ext
10196 cat >>conftest.$ac_ext <<_ACEOF
10197 /* end confdefs.h. */
10199 #include "curl/curl.h"
10203 main ()
10205 #ifndef CURLOPT_FTP_RESPONSE_TIMEOUT
10206 (void) CURLOPT_FTP_RESPONSE_TIMEOUT;
10207 #endif
10210 return 0;
10212 _ACEOF
10213 rm -f conftest.$ac_objext
10214 if { (ac_try="$ac_compile"
10215 case "(($ac_try" in
10216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10217 *) ac_try_echo=$ac_try;;
10218 esac
10219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10220 (eval "$ac_compile") 2>conftest.er1
10221 ac_status=$?
10222 grep -v '^ *+' conftest.er1 >conftest.err
10223 rm -f conftest.er1
10224 cat conftest.err >&5
10225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10226 (exit $ac_status); } && {
10227 test -z "$ac_c_werror_flag" ||
10228 test ! -s conftest.err
10229 } && test -s conftest.$ac_objext; then
10230 ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT=yes
10231 else
10232 echo "$as_me: failed program was:" >&5
10233 sed 's/^/| /' conftest.$ac_ext >&5
10235 ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT=no
10238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10240 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" >&5
10241 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" >&6; }
10242 if test $ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT = yes; then
10244 cat >>confdefs.h <<_ACEOF
10245 #define HAVE_DECL_CURLOPT_FTP_RESPONSE_TIMEOUT 1
10246 _ACEOF
10249 else
10250 cat >>confdefs.h <<_ACEOF
10251 #define HAVE_DECL_CURLOPT_FTP_RESPONSE_TIMEOUT 0
10252 _ACEOF
10256 { echo "$as_me:$LINENO: checking whether CURLOPT_IPRESOLVE is declared" >&5
10257 echo $ECHO_N "checking whether CURLOPT_IPRESOLVE is declared... $ECHO_C" >&6; }
10258 if test "${ac_cv_have_decl_CURLOPT_IPRESOLVE+set}" = set; then
10259 echo $ECHO_N "(cached) $ECHO_C" >&6
10260 else
10261 cat >conftest.$ac_ext <<_ACEOF
10262 /* confdefs.h. */
10263 _ACEOF
10264 cat confdefs.h >>conftest.$ac_ext
10265 cat >>conftest.$ac_ext <<_ACEOF
10266 /* end confdefs.h. */
10268 #include "curl/curl.h"
10272 main ()
10274 #ifndef CURLOPT_IPRESOLVE
10275 (void) CURLOPT_IPRESOLVE;
10276 #endif
10279 return 0;
10281 _ACEOF
10282 rm -f conftest.$ac_objext
10283 if { (ac_try="$ac_compile"
10284 case "(($ac_try" in
10285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10286 *) ac_try_echo=$ac_try;;
10287 esac
10288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10289 (eval "$ac_compile") 2>conftest.er1
10290 ac_status=$?
10291 grep -v '^ *+' conftest.er1 >conftest.err
10292 rm -f conftest.er1
10293 cat conftest.err >&5
10294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295 (exit $ac_status); } && {
10296 test -z "$ac_c_werror_flag" ||
10297 test ! -s conftest.err
10298 } && test -s conftest.$ac_objext; then
10299 ac_cv_have_decl_CURLOPT_IPRESOLVE=yes
10300 else
10301 echo "$as_me: failed program was:" >&5
10302 sed 's/^/| /' conftest.$ac_ext >&5
10304 ac_cv_have_decl_CURLOPT_IPRESOLVE=no
10307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10309 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_IPRESOLVE" >&5
10310 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_IPRESOLVE" >&6; }
10311 if test $ac_cv_have_decl_CURLOPT_IPRESOLVE = yes; then
10313 cat >>confdefs.h <<_ACEOF
10314 #define HAVE_DECL_CURLOPT_IPRESOLVE 1
10315 _ACEOF
10318 else
10319 cat >>confdefs.h <<_ACEOF
10320 #define HAVE_DECL_CURLOPT_IPRESOLVE 0
10321 _ACEOF
10325 { echo "$as_me:$LINENO: checking whether CURLOPT_MAXFILESIZE is declared" >&5
10326 echo $ECHO_N "checking whether CURLOPT_MAXFILESIZE is declared... $ECHO_C" >&6; }
10327 if test "${ac_cv_have_decl_CURLOPT_MAXFILESIZE+set}" = set; then
10328 echo $ECHO_N "(cached) $ECHO_C" >&6
10329 else
10330 cat >conftest.$ac_ext <<_ACEOF
10331 /* confdefs.h. */
10332 _ACEOF
10333 cat confdefs.h >>conftest.$ac_ext
10334 cat >>conftest.$ac_ext <<_ACEOF
10335 /* end confdefs.h. */
10337 #include "curl/curl.h"
10341 main ()
10343 #ifndef CURLOPT_MAXFILESIZE
10344 (void) CURLOPT_MAXFILESIZE;
10345 #endif
10348 return 0;
10350 _ACEOF
10351 rm -f conftest.$ac_objext
10352 if { (ac_try="$ac_compile"
10353 case "(($ac_try" in
10354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10355 *) ac_try_echo=$ac_try;;
10356 esac
10357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10358 (eval "$ac_compile") 2>conftest.er1
10359 ac_status=$?
10360 grep -v '^ *+' conftest.er1 >conftest.err
10361 rm -f conftest.er1
10362 cat conftest.err >&5
10363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10364 (exit $ac_status); } && {
10365 test -z "$ac_c_werror_flag" ||
10366 test ! -s conftest.err
10367 } && test -s conftest.$ac_objext; then
10368 ac_cv_have_decl_CURLOPT_MAXFILESIZE=yes
10369 else
10370 echo "$as_me: failed program was:" >&5
10371 sed 's/^/| /' conftest.$ac_ext >&5
10373 ac_cv_have_decl_CURLOPT_MAXFILESIZE=no
10376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10378 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_MAXFILESIZE" >&5
10379 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_MAXFILESIZE" >&6; }
10380 if test $ac_cv_have_decl_CURLOPT_MAXFILESIZE = yes; then
10382 cat >>confdefs.h <<_ACEOF
10383 #define HAVE_DECL_CURLOPT_MAXFILESIZE 1
10384 _ACEOF
10387 else
10388 cat >>confdefs.h <<_ACEOF
10389 #define HAVE_DECL_CURLOPT_MAXFILESIZE 0
10390 _ACEOF
10394 { echo "$as_me:$LINENO: checking whether CURLOPT_INFILESIZE_LARGE is declared" >&5
10395 echo $ECHO_N "checking whether CURLOPT_INFILESIZE_LARGE is declared... $ECHO_C" >&6; }
10396 if test "${ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE+set}" = set; then
10397 echo $ECHO_N "(cached) $ECHO_C" >&6
10398 else
10399 cat >conftest.$ac_ext <<_ACEOF
10400 /* confdefs.h. */
10401 _ACEOF
10402 cat confdefs.h >>conftest.$ac_ext
10403 cat >>conftest.$ac_ext <<_ACEOF
10404 /* end confdefs.h. */
10406 #include "curl/curl.h"
10410 main ()
10412 #ifndef CURLOPT_INFILESIZE_LARGE
10413 (void) CURLOPT_INFILESIZE_LARGE;
10414 #endif
10417 return 0;
10419 _ACEOF
10420 rm -f conftest.$ac_objext
10421 if { (ac_try="$ac_compile"
10422 case "(($ac_try" in
10423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10424 *) ac_try_echo=$ac_try;;
10425 esac
10426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10427 (eval "$ac_compile") 2>conftest.er1
10428 ac_status=$?
10429 grep -v '^ *+' conftest.er1 >conftest.err
10430 rm -f conftest.er1
10431 cat conftest.err >&5
10432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10433 (exit $ac_status); } && {
10434 test -z "$ac_c_werror_flag" ||
10435 test ! -s conftest.err
10436 } && test -s conftest.$ac_objext; then
10437 ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE=yes
10438 else
10439 echo "$as_me: failed program was:" >&5
10440 sed 's/^/| /' conftest.$ac_ext >&5
10442 ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE=no
10445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10447 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" >&5
10448 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" >&6; }
10449 if test $ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE = yes; then
10451 cat >>confdefs.h <<_ACEOF
10452 #define HAVE_DECL_CURLOPT_INFILESIZE_LARGE 1
10453 _ACEOF
10456 else
10457 cat >>confdefs.h <<_ACEOF
10458 #define HAVE_DECL_CURLOPT_INFILESIZE_LARGE 0
10459 _ACEOF
10463 { echo "$as_me:$LINENO: checking whether CURLOPT_RESUME_FROM_LARGE is declared" >&5
10464 echo $ECHO_N "checking whether CURLOPT_RESUME_FROM_LARGE is declared... $ECHO_C" >&6; }
10465 if test "${ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE+set}" = set; then
10466 echo $ECHO_N "(cached) $ECHO_C" >&6
10467 else
10468 cat >conftest.$ac_ext <<_ACEOF
10469 /* confdefs.h. */
10470 _ACEOF
10471 cat confdefs.h >>conftest.$ac_ext
10472 cat >>conftest.$ac_ext <<_ACEOF
10473 /* end confdefs.h. */
10475 #include "curl/curl.h"
10479 main ()
10481 #ifndef CURLOPT_RESUME_FROM_LARGE
10482 (void) CURLOPT_RESUME_FROM_LARGE;
10483 #endif
10486 return 0;
10488 _ACEOF
10489 rm -f conftest.$ac_objext
10490 if { (ac_try="$ac_compile"
10491 case "(($ac_try" in
10492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10493 *) ac_try_echo=$ac_try;;
10494 esac
10495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10496 (eval "$ac_compile") 2>conftest.er1
10497 ac_status=$?
10498 grep -v '^ *+' conftest.er1 >conftest.err
10499 rm -f conftest.er1
10500 cat conftest.err >&5
10501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10502 (exit $ac_status); } && {
10503 test -z "$ac_c_werror_flag" ||
10504 test ! -s conftest.err
10505 } && test -s conftest.$ac_objext; then
10506 ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE=yes
10507 else
10508 echo "$as_me: failed program was:" >&5
10509 sed 's/^/| /' conftest.$ac_ext >&5
10511 ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE=no
10514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10516 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE" >&5
10517 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE" >&6; }
10518 if test $ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE = yes; then
10520 cat >>confdefs.h <<_ACEOF
10521 #define HAVE_DECL_CURLOPT_RESUME_FROM_LARGE 1
10522 _ACEOF
10525 else
10526 cat >>confdefs.h <<_ACEOF
10527 #define HAVE_DECL_CURLOPT_RESUME_FROM_LARGE 0
10528 _ACEOF
10532 { echo "$as_me:$LINENO: checking whether CURLOPT_MAXFILESIZE_LARGE is declared" >&5
10533 echo $ECHO_N "checking whether CURLOPT_MAXFILESIZE_LARGE is declared... $ECHO_C" >&6; }
10534 if test "${ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE+set}" = set; then
10535 echo $ECHO_N "(cached) $ECHO_C" >&6
10536 else
10537 cat >conftest.$ac_ext <<_ACEOF
10538 /* confdefs.h. */
10539 _ACEOF
10540 cat confdefs.h >>conftest.$ac_ext
10541 cat >>conftest.$ac_ext <<_ACEOF
10542 /* end confdefs.h. */
10544 #include "curl/curl.h"
10548 main ()
10550 #ifndef CURLOPT_MAXFILESIZE_LARGE
10551 (void) CURLOPT_MAXFILESIZE_LARGE;
10552 #endif
10555 return 0;
10557 _ACEOF
10558 rm -f conftest.$ac_objext
10559 if { (ac_try="$ac_compile"
10560 case "(($ac_try" in
10561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10562 *) ac_try_echo=$ac_try;;
10563 esac
10564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10565 (eval "$ac_compile") 2>conftest.er1
10566 ac_status=$?
10567 grep -v '^ *+' conftest.er1 >conftest.err
10568 rm -f conftest.er1
10569 cat conftest.err >&5
10570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10571 (exit $ac_status); } && {
10572 test -z "$ac_c_werror_flag" ||
10573 test ! -s conftest.err
10574 } && test -s conftest.$ac_objext; then
10575 ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE=yes
10576 else
10577 echo "$as_me: failed program was:" >&5
10578 sed 's/^/| /' conftest.$ac_ext >&5
10580 ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE=no
10583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10585 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE" >&5
10586 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE" >&6; }
10587 if test $ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE = yes; then
10589 cat >>confdefs.h <<_ACEOF
10590 #define HAVE_DECL_CURLOPT_MAXFILESIZE_LARGE 1
10591 _ACEOF
10594 else
10595 cat >>confdefs.h <<_ACEOF
10596 #define HAVE_DECL_CURLOPT_MAXFILESIZE_LARGE 0
10597 _ACEOF
10601 { echo "$as_me:$LINENO: checking whether CURLOPT_NETRC_FILE is declared" >&5
10602 echo $ECHO_N "checking whether CURLOPT_NETRC_FILE is declared... $ECHO_C" >&6; }
10603 if test "${ac_cv_have_decl_CURLOPT_NETRC_FILE+set}" = set; then
10604 echo $ECHO_N "(cached) $ECHO_C" >&6
10605 else
10606 cat >conftest.$ac_ext <<_ACEOF
10607 /* confdefs.h. */
10608 _ACEOF
10609 cat confdefs.h >>conftest.$ac_ext
10610 cat >>conftest.$ac_ext <<_ACEOF
10611 /* end confdefs.h. */
10613 #include "curl/curl.h"
10617 main ()
10619 #ifndef CURLOPT_NETRC_FILE
10620 (void) CURLOPT_NETRC_FILE;
10621 #endif
10624 return 0;
10626 _ACEOF
10627 rm -f conftest.$ac_objext
10628 if { (ac_try="$ac_compile"
10629 case "(($ac_try" in
10630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10631 *) ac_try_echo=$ac_try;;
10632 esac
10633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10634 (eval "$ac_compile") 2>conftest.er1
10635 ac_status=$?
10636 grep -v '^ *+' conftest.er1 >conftest.err
10637 rm -f conftest.er1
10638 cat conftest.err >&5
10639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10640 (exit $ac_status); } && {
10641 test -z "$ac_c_werror_flag" ||
10642 test ! -s conftest.err
10643 } && test -s conftest.$ac_objext; then
10644 ac_cv_have_decl_CURLOPT_NETRC_FILE=yes
10645 else
10646 echo "$as_me: failed program was:" >&5
10647 sed 's/^/| /' conftest.$ac_ext >&5
10649 ac_cv_have_decl_CURLOPT_NETRC_FILE=no
10652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10654 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_NETRC_FILE" >&5
10655 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_NETRC_FILE" >&6; }
10656 if test $ac_cv_have_decl_CURLOPT_NETRC_FILE = yes; then
10658 cat >>confdefs.h <<_ACEOF
10659 #define HAVE_DECL_CURLOPT_NETRC_FILE 1
10660 _ACEOF
10663 else
10664 cat >>confdefs.h <<_ACEOF
10665 #define HAVE_DECL_CURLOPT_NETRC_FILE 0
10666 _ACEOF
10670 { echo "$as_me:$LINENO: checking whether CURLOPT_FTP_SSL is declared" >&5
10671 echo $ECHO_N "checking whether CURLOPT_FTP_SSL is declared... $ECHO_C" >&6; }
10672 if test "${ac_cv_have_decl_CURLOPT_FTP_SSL+set}" = set; then
10673 echo $ECHO_N "(cached) $ECHO_C" >&6
10674 else
10675 cat >conftest.$ac_ext <<_ACEOF
10676 /* confdefs.h. */
10677 _ACEOF
10678 cat confdefs.h >>conftest.$ac_ext
10679 cat >>conftest.$ac_ext <<_ACEOF
10680 /* end confdefs.h. */
10682 #include "curl/curl.h"
10686 main ()
10688 #ifndef CURLOPT_FTP_SSL
10689 (void) CURLOPT_FTP_SSL;
10690 #endif
10693 return 0;
10695 _ACEOF
10696 rm -f conftest.$ac_objext
10697 if { (ac_try="$ac_compile"
10698 case "(($ac_try" in
10699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10700 *) ac_try_echo=$ac_try;;
10701 esac
10702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10703 (eval "$ac_compile") 2>conftest.er1
10704 ac_status=$?
10705 grep -v '^ *+' conftest.er1 >conftest.err
10706 rm -f conftest.er1
10707 cat conftest.err >&5
10708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709 (exit $ac_status); } && {
10710 test -z "$ac_c_werror_flag" ||
10711 test ! -s conftest.err
10712 } && test -s conftest.$ac_objext; then
10713 ac_cv_have_decl_CURLOPT_FTP_SSL=yes
10714 else
10715 echo "$as_me: failed program was:" >&5
10716 sed 's/^/| /' conftest.$ac_ext >&5
10718 ac_cv_have_decl_CURLOPT_FTP_SSL=no
10721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10723 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_FTP_SSL" >&5
10724 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_FTP_SSL" >&6; }
10725 if test $ac_cv_have_decl_CURLOPT_FTP_SSL = yes; then
10727 cat >>confdefs.h <<_ACEOF
10728 #define HAVE_DECL_CURLOPT_FTP_SSL 1
10729 _ACEOF
10732 else
10733 cat >>confdefs.h <<_ACEOF
10734 #define HAVE_DECL_CURLOPT_FTP_SSL 0
10735 _ACEOF
10739 { echo "$as_me:$LINENO: checking whether CURLOPT_POSTFIELDSIZE_LARGE is declared" >&5
10740 echo $ECHO_N "checking whether CURLOPT_POSTFIELDSIZE_LARGE is declared... $ECHO_C" >&6; }
10741 if test "${ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE+set}" = set; then
10742 echo $ECHO_N "(cached) $ECHO_C" >&6
10743 else
10744 cat >conftest.$ac_ext <<_ACEOF
10745 /* confdefs.h. */
10746 _ACEOF
10747 cat confdefs.h >>conftest.$ac_ext
10748 cat >>conftest.$ac_ext <<_ACEOF
10749 /* end confdefs.h. */
10751 #include "curl/curl.h"
10755 main ()
10757 #ifndef CURLOPT_POSTFIELDSIZE_LARGE
10758 (void) CURLOPT_POSTFIELDSIZE_LARGE;
10759 #endif
10762 return 0;
10764 _ACEOF
10765 rm -f conftest.$ac_objext
10766 if { (ac_try="$ac_compile"
10767 case "(($ac_try" in
10768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10769 *) ac_try_echo=$ac_try;;
10770 esac
10771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10772 (eval "$ac_compile") 2>conftest.er1
10773 ac_status=$?
10774 grep -v '^ *+' conftest.er1 >conftest.err
10775 rm -f conftest.er1
10776 cat conftest.err >&5
10777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10778 (exit $ac_status); } && {
10779 test -z "$ac_c_werror_flag" ||
10780 test ! -s conftest.err
10781 } && test -s conftest.$ac_objext; then
10782 ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE=yes
10783 else
10784 echo "$as_me: failed program was:" >&5
10785 sed 's/^/| /' conftest.$ac_ext >&5
10787 ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE=no
10790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10792 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" >&5
10793 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" >&6; }
10794 if test $ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE = yes; then
10796 cat >>confdefs.h <<_ACEOF
10797 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE_LARGE 1
10798 _ACEOF
10801 else
10802 cat >>confdefs.h <<_ACEOF
10803 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE_LARGE 0
10804 _ACEOF
10808 { echo "$as_me:$LINENO: checking whether CURLOPT_TCP_NODELAY is declared" >&5
10809 echo $ECHO_N "checking whether CURLOPT_TCP_NODELAY is declared... $ECHO_C" >&6; }
10810 if test "${ac_cv_have_decl_CURLOPT_TCP_NODELAY+set}" = set; then
10811 echo $ECHO_N "(cached) $ECHO_C" >&6
10812 else
10813 cat >conftest.$ac_ext <<_ACEOF
10814 /* confdefs.h. */
10815 _ACEOF
10816 cat confdefs.h >>conftest.$ac_ext
10817 cat >>conftest.$ac_ext <<_ACEOF
10818 /* end confdefs.h. */
10820 #include "curl/curl.h"
10824 main ()
10826 #ifndef CURLOPT_TCP_NODELAY
10827 (void) CURLOPT_TCP_NODELAY;
10828 #endif
10831 return 0;
10833 _ACEOF
10834 rm -f conftest.$ac_objext
10835 if { (ac_try="$ac_compile"
10836 case "(($ac_try" in
10837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10838 *) ac_try_echo=$ac_try;;
10839 esac
10840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10841 (eval "$ac_compile") 2>conftest.er1
10842 ac_status=$?
10843 grep -v '^ *+' conftest.er1 >conftest.err
10844 rm -f conftest.er1
10845 cat conftest.err >&5
10846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10847 (exit $ac_status); } && {
10848 test -z "$ac_c_werror_flag" ||
10849 test ! -s conftest.err
10850 } && test -s conftest.$ac_objext; then
10851 ac_cv_have_decl_CURLOPT_TCP_NODELAY=yes
10852 else
10853 echo "$as_me: failed program was:" >&5
10854 sed 's/^/| /' conftest.$ac_ext >&5
10856 ac_cv_have_decl_CURLOPT_TCP_NODELAY=no
10859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10861 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_TCP_NODELAY" >&5
10862 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_TCP_NODELAY" >&6; }
10863 if test $ac_cv_have_decl_CURLOPT_TCP_NODELAY = yes; then
10865 cat >>confdefs.h <<_ACEOF
10866 #define HAVE_DECL_CURLOPT_TCP_NODELAY 1
10867 _ACEOF
10870 else
10871 cat >>confdefs.h <<_ACEOF
10872 #define HAVE_DECL_CURLOPT_TCP_NODELAY 0
10873 _ACEOF
10877 { echo "$as_me:$LINENO: checking whether CURLOPT_FTPSSLAUTH is declared" >&5
10878 echo $ECHO_N "checking whether CURLOPT_FTPSSLAUTH is declared... $ECHO_C" >&6; }
10879 if test "${ac_cv_have_decl_CURLOPT_FTPSSLAUTH+set}" = set; then
10880 echo $ECHO_N "(cached) $ECHO_C" >&6
10881 else
10882 cat >conftest.$ac_ext <<_ACEOF
10883 /* confdefs.h. */
10884 _ACEOF
10885 cat confdefs.h >>conftest.$ac_ext
10886 cat >>conftest.$ac_ext <<_ACEOF
10887 /* end confdefs.h. */
10889 #include "curl/curl.h"
10893 main ()
10895 #ifndef CURLOPT_FTPSSLAUTH
10896 (void) CURLOPT_FTPSSLAUTH;
10897 #endif
10900 return 0;
10902 _ACEOF
10903 rm -f conftest.$ac_objext
10904 if { (ac_try="$ac_compile"
10905 case "(($ac_try" in
10906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10907 *) ac_try_echo=$ac_try;;
10908 esac
10909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10910 (eval "$ac_compile") 2>conftest.er1
10911 ac_status=$?
10912 grep -v '^ *+' conftest.er1 >conftest.err
10913 rm -f conftest.er1
10914 cat conftest.err >&5
10915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10916 (exit $ac_status); } && {
10917 test -z "$ac_c_werror_flag" ||
10918 test ! -s conftest.err
10919 } && test -s conftest.$ac_objext; then
10920 ac_cv_have_decl_CURLOPT_FTPSSLAUTH=yes
10921 else
10922 echo "$as_me: failed program was:" >&5
10923 sed 's/^/| /' conftest.$ac_ext >&5
10925 ac_cv_have_decl_CURLOPT_FTPSSLAUTH=no
10928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10930 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_FTPSSLAUTH" >&5
10931 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_FTPSSLAUTH" >&6; }
10932 if test $ac_cv_have_decl_CURLOPT_FTPSSLAUTH = yes; then
10934 cat >>confdefs.h <<_ACEOF
10935 #define HAVE_DECL_CURLOPT_FTPSSLAUTH 1
10936 _ACEOF
10939 else
10940 cat >>confdefs.h <<_ACEOF
10941 #define HAVE_DECL_CURLOPT_FTPSSLAUTH 0
10942 _ACEOF
10946 { echo "$as_me:$LINENO: checking whether CURLOPT_IOCTLFUNCTION is declared" >&5
10947 echo $ECHO_N "checking whether CURLOPT_IOCTLFUNCTION is declared... $ECHO_C" >&6; }
10948 if test "${ac_cv_have_decl_CURLOPT_IOCTLFUNCTION+set}" = set; then
10949 echo $ECHO_N "(cached) $ECHO_C" >&6
10950 else
10951 cat >conftest.$ac_ext <<_ACEOF
10952 /* confdefs.h. */
10953 _ACEOF
10954 cat confdefs.h >>conftest.$ac_ext
10955 cat >>conftest.$ac_ext <<_ACEOF
10956 /* end confdefs.h. */
10958 #include "curl/curl.h"
10962 main ()
10964 #ifndef CURLOPT_IOCTLFUNCTION
10965 (void) CURLOPT_IOCTLFUNCTION;
10966 #endif
10969 return 0;
10971 _ACEOF
10972 rm -f conftest.$ac_objext
10973 if { (ac_try="$ac_compile"
10974 case "(($ac_try" in
10975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10976 *) ac_try_echo=$ac_try;;
10977 esac
10978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10979 (eval "$ac_compile") 2>conftest.er1
10980 ac_status=$?
10981 grep -v '^ *+' conftest.er1 >conftest.err
10982 rm -f conftest.er1
10983 cat conftest.err >&5
10984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10985 (exit $ac_status); } && {
10986 test -z "$ac_c_werror_flag" ||
10987 test ! -s conftest.err
10988 } && test -s conftest.$ac_objext; then
10989 ac_cv_have_decl_CURLOPT_IOCTLFUNCTION=yes
10990 else
10991 echo "$as_me: failed program was:" >&5
10992 sed 's/^/| /' conftest.$ac_ext >&5
10994 ac_cv_have_decl_CURLOPT_IOCTLFUNCTION=no
10997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10999 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" >&5
11000 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" >&6; }
11001 if test $ac_cv_have_decl_CURLOPT_IOCTLFUNCTION = yes; then
11003 cat >>confdefs.h <<_ACEOF
11004 #define HAVE_DECL_CURLOPT_IOCTLFUNCTION 1
11005 _ACEOF
11008 else
11009 cat >>confdefs.h <<_ACEOF
11010 #define HAVE_DECL_CURLOPT_IOCTLFUNCTION 0
11011 _ACEOF
11015 { echo "$as_me:$LINENO: checking whether CURLOPT_FTP_ACCOUNT is declared" >&5
11016 echo $ECHO_N "checking whether CURLOPT_FTP_ACCOUNT is declared... $ECHO_C" >&6; }
11017 if test "${ac_cv_have_decl_CURLOPT_FTP_ACCOUNT+set}" = set; then
11018 echo $ECHO_N "(cached) $ECHO_C" >&6
11019 else
11020 cat >conftest.$ac_ext <<_ACEOF
11021 /* confdefs.h. */
11022 _ACEOF
11023 cat confdefs.h >>conftest.$ac_ext
11024 cat >>conftest.$ac_ext <<_ACEOF
11025 /* end confdefs.h. */
11027 #include "curl/curl.h"
11031 main ()
11033 #ifndef CURLOPT_FTP_ACCOUNT
11034 (void) CURLOPT_FTP_ACCOUNT;
11035 #endif
11038 return 0;
11040 _ACEOF
11041 rm -f conftest.$ac_objext
11042 if { (ac_try="$ac_compile"
11043 case "(($ac_try" in
11044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11045 *) ac_try_echo=$ac_try;;
11046 esac
11047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11048 (eval "$ac_compile") 2>conftest.er1
11049 ac_status=$?
11050 grep -v '^ *+' conftest.er1 >conftest.err
11051 rm -f conftest.er1
11052 cat conftest.err >&5
11053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11054 (exit $ac_status); } && {
11055 test -z "$ac_c_werror_flag" ||
11056 test ! -s conftest.err
11057 } && test -s conftest.$ac_objext; then
11058 ac_cv_have_decl_CURLOPT_FTP_ACCOUNT=yes
11059 else
11060 echo "$as_me: failed program was:" >&5
11061 sed 's/^/| /' conftest.$ac_ext >&5
11063 ac_cv_have_decl_CURLOPT_FTP_ACCOUNT=no
11066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11068 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" >&5
11069 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" >&6; }
11070 if test $ac_cv_have_decl_CURLOPT_FTP_ACCOUNT = yes; then
11072 cat >>confdefs.h <<_ACEOF
11073 #define HAVE_DECL_CURLOPT_FTP_ACCOUNT 1
11074 _ACEOF
11077 else
11078 cat >>confdefs.h <<_ACEOF
11079 #define HAVE_DECL_CURLOPT_FTP_ACCOUNT 0
11080 _ACEOF
11084 { echo "$as_me:$LINENO: checking whether CURLOPT_COOKIELIST is declared" >&5
11085 echo $ECHO_N "checking whether CURLOPT_COOKIELIST is declared... $ECHO_C" >&6; }
11086 if test "${ac_cv_have_decl_CURLOPT_COOKIELIST+set}" = set; then
11087 echo $ECHO_N "(cached) $ECHO_C" >&6
11088 else
11089 cat >conftest.$ac_ext <<_ACEOF
11090 /* confdefs.h. */
11091 _ACEOF
11092 cat confdefs.h >>conftest.$ac_ext
11093 cat >>conftest.$ac_ext <<_ACEOF
11094 /* end confdefs.h. */
11096 #include "curl/curl.h"
11100 main ()
11102 #ifndef CURLOPT_COOKIELIST
11103 (void) CURLOPT_COOKIELIST;
11104 #endif
11107 return 0;
11109 _ACEOF
11110 rm -f conftest.$ac_objext
11111 if { (ac_try="$ac_compile"
11112 case "(($ac_try" in
11113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11114 *) ac_try_echo=$ac_try;;
11115 esac
11116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11117 (eval "$ac_compile") 2>conftest.er1
11118 ac_status=$?
11119 grep -v '^ *+' conftest.er1 >conftest.err
11120 rm -f conftest.er1
11121 cat conftest.err >&5
11122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11123 (exit $ac_status); } && {
11124 test -z "$ac_c_werror_flag" ||
11125 test ! -s conftest.err
11126 } && test -s conftest.$ac_objext; then
11127 ac_cv_have_decl_CURLOPT_COOKIELIST=yes
11128 else
11129 echo "$as_me: failed program was:" >&5
11130 sed 's/^/| /' conftest.$ac_ext >&5
11132 ac_cv_have_decl_CURLOPT_COOKIELIST=no
11135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11137 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_COOKIELIST" >&5
11138 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_COOKIELIST" >&6; }
11139 if test $ac_cv_have_decl_CURLOPT_COOKIELIST = yes; then
11141 cat >>confdefs.h <<_ACEOF
11142 #define HAVE_DECL_CURLOPT_COOKIELIST 1
11143 _ACEOF
11146 else
11147 cat >>confdefs.h <<_ACEOF
11148 #define HAVE_DECL_CURLOPT_COOKIELIST 0
11149 _ACEOF
11153 { echo "$as_me:$LINENO: checking whether CURLOPT_IGNORE_CONTENT_LENGTH is declared" >&5
11154 echo $ECHO_N "checking whether CURLOPT_IGNORE_CONTENT_LENGTH is declared... $ECHO_C" >&6; }
11155 if test "${ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH+set}" = set; then
11156 echo $ECHO_N "(cached) $ECHO_C" >&6
11157 else
11158 cat >conftest.$ac_ext <<_ACEOF
11159 /* confdefs.h. */
11160 _ACEOF
11161 cat confdefs.h >>conftest.$ac_ext
11162 cat >>conftest.$ac_ext <<_ACEOF
11163 /* end confdefs.h. */
11165 #include "curl/curl.h"
11169 main ()
11171 #ifndef CURLOPT_IGNORE_CONTENT_LENGTH
11172 (void) CURLOPT_IGNORE_CONTENT_LENGTH;
11173 #endif
11176 return 0;
11178 _ACEOF
11179 rm -f conftest.$ac_objext
11180 if { (ac_try="$ac_compile"
11181 case "(($ac_try" in
11182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11183 *) ac_try_echo=$ac_try;;
11184 esac
11185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11186 (eval "$ac_compile") 2>conftest.er1
11187 ac_status=$?
11188 grep -v '^ *+' conftest.er1 >conftest.err
11189 rm -f conftest.er1
11190 cat conftest.err >&5
11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); } && {
11193 test -z "$ac_c_werror_flag" ||
11194 test ! -s conftest.err
11195 } && test -s conftest.$ac_objext; then
11196 ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH=yes
11197 else
11198 echo "$as_me: failed program was:" >&5
11199 sed 's/^/| /' conftest.$ac_ext >&5
11201 ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH=no
11204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11206 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" >&5
11207 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" >&6; }
11208 if test $ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH = yes; then
11210 cat >>confdefs.h <<_ACEOF
11211 #define HAVE_DECL_CURLOPT_IGNORE_CONTENT_LENGTH 1
11212 _ACEOF
11215 else
11216 cat >>confdefs.h <<_ACEOF
11217 #define HAVE_DECL_CURLOPT_IGNORE_CONTENT_LENGTH 0
11218 _ACEOF
11222 { echo "$as_me:$LINENO: checking whether CURLOPT_FTP_SKIP_PASV_IP is declared" >&5
11223 echo $ECHO_N "checking whether CURLOPT_FTP_SKIP_PASV_IP is declared... $ECHO_C" >&6; }
11224 if test "${ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP+set}" = set; then
11225 echo $ECHO_N "(cached) $ECHO_C" >&6
11226 else
11227 cat >conftest.$ac_ext <<_ACEOF
11228 /* confdefs.h. */
11229 _ACEOF
11230 cat confdefs.h >>conftest.$ac_ext
11231 cat >>conftest.$ac_ext <<_ACEOF
11232 /* end confdefs.h. */
11234 #include "curl/curl.h"
11238 main ()
11240 #ifndef CURLOPT_FTP_SKIP_PASV_IP
11241 (void) CURLOPT_FTP_SKIP_PASV_IP;
11242 #endif
11245 return 0;
11247 _ACEOF
11248 rm -f conftest.$ac_objext
11249 if { (ac_try="$ac_compile"
11250 case "(($ac_try" in
11251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11252 *) ac_try_echo=$ac_try;;
11253 esac
11254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11255 (eval "$ac_compile") 2>conftest.er1
11256 ac_status=$?
11257 grep -v '^ *+' conftest.er1 >conftest.err
11258 rm -f conftest.er1
11259 cat conftest.err >&5
11260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11261 (exit $ac_status); } && {
11262 test -z "$ac_c_werror_flag" ||
11263 test ! -s conftest.err
11264 } && test -s conftest.$ac_objext; then
11265 ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP=yes
11266 else
11267 echo "$as_me: failed program was:" >&5
11268 sed 's/^/| /' conftest.$ac_ext >&5
11270 ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP=no
11273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11275 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" >&5
11276 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" >&6; }
11277 if test $ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP = yes; then
11279 cat >>confdefs.h <<_ACEOF
11280 #define HAVE_DECL_CURLOPT_FTP_SKIP_PASV_IP 1
11281 _ACEOF
11284 else
11285 cat >>confdefs.h <<_ACEOF
11286 #define HAVE_DECL_CURLOPT_FTP_SKIP_PASV_IP 0
11287 _ACEOF
11291 { echo "$as_me:$LINENO: checking whether CURLOPT_FTP_FILEMETHOD is declared" >&5
11292 echo $ECHO_N "checking whether CURLOPT_FTP_FILEMETHOD is declared... $ECHO_C" >&6; }
11293 if test "${ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD+set}" = set; then
11294 echo $ECHO_N "(cached) $ECHO_C" >&6
11295 else
11296 cat >conftest.$ac_ext <<_ACEOF
11297 /* confdefs.h. */
11298 _ACEOF
11299 cat confdefs.h >>conftest.$ac_ext
11300 cat >>conftest.$ac_ext <<_ACEOF
11301 /* end confdefs.h. */
11303 #include "curl/curl.h"
11307 main ()
11309 #ifndef CURLOPT_FTP_FILEMETHOD
11310 (void) CURLOPT_FTP_FILEMETHOD;
11311 #endif
11314 return 0;
11316 _ACEOF
11317 rm -f conftest.$ac_objext
11318 if { (ac_try="$ac_compile"
11319 case "(($ac_try" in
11320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11321 *) ac_try_echo=$ac_try;;
11322 esac
11323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11324 (eval "$ac_compile") 2>conftest.er1
11325 ac_status=$?
11326 grep -v '^ *+' conftest.er1 >conftest.err
11327 rm -f conftest.er1
11328 cat conftest.err >&5
11329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11330 (exit $ac_status); } && {
11331 test -z "$ac_c_werror_flag" ||
11332 test ! -s conftest.err
11333 } && test -s conftest.$ac_objext; then
11334 ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD=yes
11335 else
11336 echo "$as_me: failed program was:" >&5
11337 sed 's/^/| /' conftest.$ac_ext >&5
11339 ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD=no
11342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11344 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" >&5
11345 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" >&6; }
11346 if test $ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD = yes; then
11348 cat >>confdefs.h <<_ACEOF
11349 #define HAVE_DECL_CURLOPT_FTP_FILEMETHOD 1
11350 _ACEOF
11353 else
11354 cat >>confdefs.h <<_ACEOF
11355 #define HAVE_DECL_CURLOPT_FTP_FILEMETHOD 0
11356 _ACEOF
11360 { echo "$as_me:$LINENO: checking whether CURLOPT_LOCALPORT is declared" >&5
11361 echo $ECHO_N "checking whether CURLOPT_LOCALPORT is declared... $ECHO_C" >&6; }
11362 if test "${ac_cv_have_decl_CURLOPT_LOCALPORT+set}" = set; then
11363 echo $ECHO_N "(cached) $ECHO_C" >&6
11364 else
11365 cat >conftest.$ac_ext <<_ACEOF
11366 /* confdefs.h. */
11367 _ACEOF
11368 cat confdefs.h >>conftest.$ac_ext
11369 cat >>conftest.$ac_ext <<_ACEOF
11370 /* end confdefs.h. */
11372 #include "curl/curl.h"
11376 main ()
11378 #ifndef CURLOPT_LOCALPORT
11379 (void) CURLOPT_LOCALPORT;
11380 #endif
11383 return 0;
11385 _ACEOF
11386 rm -f conftest.$ac_objext
11387 if { (ac_try="$ac_compile"
11388 case "(($ac_try" in
11389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11390 *) ac_try_echo=$ac_try;;
11391 esac
11392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11393 (eval "$ac_compile") 2>conftest.er1
11394 ac_status=$?
11395 grep -v '^ *+' conftest.er1 >conftest.err
11396 rm -f conftest.er1
11397 cat conftest.err >&5
11398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399 (exit $ac_status); } && {
11400 test -z "$ac_c_werror_flag" ||
11401 test ! -s conftest.err
11402 } && test -s conftest.$ac_objext; then
11403 ac_cv_have_decl_CURLOPT_LOCALPORT=yes
11404 else
11405 echo "$as_me: failed program was:" >&5
11406 sed 's/^/| /' conftest.$ac_ext >&5
11408 ac_cv_have_decl_CURLOPT_LOCALPORT=no
11411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11413 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_LOCALPORT" >&5
11414 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_LOCALPORT" >&6; }
11415 if test $ac_cv_have_decl_CURLOPT_LOCALPORT = yes; then
11417 cat >>confdefs.h <<_ACEOF
11418 #define HAVE_DECL_CURLOPT_LOCALPORT 1
11419 _ACEOF
11422 else
11423 cat >>confdefs.h <<_ACEOF
11424 #define HAVE_DECL_CURLOPT_LOCALPORT 0
11425 _ACEOF
11429 { echo "$as_me:$LINENO: checking whether CURLOPT_LOCALPORTRANGE is declared" >&5
11430 echo $ECHO_N "checking whether CURLOPT_LOCALPORTRANGE is declared... $ECHO_C" >&6; }
11431 if test "${ac_cv_have_decl_CURLOPT_LOCALPORTRANGE+set}" = set; then
11432 echo $ECHO_N "(cached) $ECHO_C" >&6
11433 else
11434 cat >conftest.$ac_ext <<_ACEOF
11435 /* confdefs.h. */
11436 _ACEOF
11437 cat confdefs.h >>conftest.$ac_ext
11438 cat >>conftest.$ac_ext <<_ACEOF
11439 /* end confdefs.h. */
11441 #include "curl/curl.h"
11445 main ()
11447 #ifndef CURLOPT_LOCALPORTRANGE
11448 (void) CURLOPT_LOCALPORTRANGE;
11449 #endif
11452 return 0;
11454 _ACEOF
11455 rm -f conftest.$ac_objext
11456 if { (ac_try="$ac_compile"
11457 case "(($ac_try" in
11458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11459 *) ac_try_echo=$ac_try;;
11460 esac
11461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11462 (eval "$ac_compile") 2>conftest.er1
11463 ac_status=$?
11464 grep -v '^ *+' conftest.er1 >conftest.err
11465 rm -f conftest.er1
11466 cat conftest.err >&5
11467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11468 (exit $ac_status); } && {
11469 test -z "$ac_c_werror_flag" ||
11470 test ! -s conftest.err
11471 } && test -s conftest.$ac_objext; then
11472 ac_cv_have_decl_CURLOPT_LOCALPORTRANGE=yes
11473 else
11474 echo "$as_me: failed program was:" >&5
11475 sed 's/^/| /' conftest.$ac_ext >&5
11477 ac_cv_have_decl_CURLOPT_LOCALPORTRANGE=no
11480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11482 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" >&5
11483 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" >&6; }
11484 if test $ac_cv_have_decl_CURLOPT_LOCALPORTRANGE = yes; then
11486 cat >>confdefs.h <<_ACEOF
11487 #define HAVE_DECL_CURLOPT_LOCALPORTRANGE 1
11488 _ACEOF
11491 else
11492 cat >>confdefs.h <<_ACEOF
11493 #define HAVE_DECL_CURLOPT_LOCALPORTRANGE 0
11494 _ACEOF
11498 { echo "$as_me:$LINENO: checking whether CURLOPT_CONNECT_ONLY is declared" >&5
11499 echo $ECHO_N "checking whether CURLOPT_CONNECT_ONLY is declared... $ECHO_C" >&6; }
11500 if test "${ac_cv_have_decl_CURLOPT_CONNECT_ONLY+set}" = set; then
11501 echo $ECHO_N "(cached) $ECHO_C" >&6
11502 else
11503 cat >conftest.$ac_ext <<_ACEOF
11504 /* confdefs.h. */
11505 _ACEOF
11506 cat confdefs.h >>conftest.$ac_ext
11507 cat >>conftest.$ac_ext <<_ACEOF
11508 /* end confdefs.h. */
11510 #include "curl/curl.h"
11514 main ()
11516 #ifndef CURLOPT_CONNECT_ONLY
11517 (void) CURLOPT_CONNECT_ONLY;
11518 #endif
11521 return 0;
11523 _ACEOF
11524 rm -f conftest.$ac_objext
11525 if { (ac_try="$ac_compile"
11526 case "(($ac_try" in
11527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11528 *) ac_try_echo=$ac_try;;
11529 esac
11530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11531 (eval "$ac_compile") 2>conftest.er1
11532 ac_status=$?
11533 grep -v '^ *+' conftest.er1 >conftest.err
11534 rm -f conftest.er1
11535 cat conftest.err >&5
11536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11537 (exit $ac_status); } && {
11538 test -z "$ac_c_werror_flag" ||
11539 test ! -s conftest.err
11540 } && test -s conftest.$ac_objext; then
11541 ac_cv_have_decl_CURLOPT_CONNECT_ONLY=yes
11542 else
11543 echo "$as_me: failed program was:" >&5
11544 sed 's/^/| /' conftest.$ac_ext >&5
11546 ac_cv_have_decl_CURLOPT_CONNECT_ONLY=no
11549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11551 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_CONNECT_ONLY" >&5
11552 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_CONNECT_ONLY" >&6; }
11553 if test $ac_cv_have_decl_CURLOPT_CONNECT_ONLY = yes; then
11555 cat >>confdefs.h <<_ACEOF
11556 #define HAVE_DECL_CURLOPT_CONNECT_ONLY 1
11557 _ACEOF
11560 else
11561 cat >>confdefs.h <<_ACEOF
11562 #define HAVE_DECL_CURLOPT_CONNECT_ONLY 0
11563 _ACEOF
11567 { echo "$as_me:$LINENO: checking whether CURLOPT_MAX_SEND_SPEED_LARGE is declared" >&5
11568 echo $ECHO_N "checking whether CURLOPT_MAX_SEND_SPEED_LARGE is declared... $ECHO_C" >&6; }
11569 if test "${ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE+set}" = set; then
11570 echo $ECHO_N "(cached) $ECHO_C" >&6
11571 else
11572 cat >conftest.$ac_ext <<_ACEOF
11573 /* confdefs.h. */
11574 _ACEOF
11575 cat confdefs.h >>conftest.$ac_ext
11576 cat >>conftest.$ac_ext <<_ACEOF
11577 /* end confdefs.h. */
11579 #include "curl/curl.h"
11583 main ()
11585 #ifndef CURLOPT_MAX_SEND_SPEED_LARGE
11586 (void) CURLOPT_MAX_SEND_SPEED_LARGE;
11587 #endif
11590 return 0;
11592 _ACEOF
11593 rm -f conftest.$ac_objext
11594 if { (ac_try="$ac_compile"
11595 case "(($ac_try" in
11596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11597 *) ac_try_echo=$ac_try;;
11598 esac
11599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11600 (eval "$ac_compile") 2>conftest.er1
11601 ac_status=$?
11602 grep -v '^ *+' conftest.er1 >conftest.err
11603 rm -f conftest.er1
11604 cat conftest.err >&5
11605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11606 (exit $ac_status); } && {
11607 test -z "$ac_c_werror_flag" ||
11608 test ! -s conftest.err
11609 } && test -s conftest.$ac_objext; then
11610 ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE=yes
11611 else
11612 echo "$as_me: failed program was:" >&5
11613 sed 's/^/| /' conftest.$ac_ext >&5
11615 ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE=no
11618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11620 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" >&5
11621 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" >&6; }
11622 if test $ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE = yes; then
11624 cat >>confdefs.h <<_ACEOF
11625 #define HAVE_DECL_CURLOPT_MAX_SEND_SPEED_LARGE 1
11626 _ACEOF
11629 else
11630 cat >>confdefs.h <<_ACEOF
11631 #define HAVE_DECL_CURLOPT_MAX_SEND_SPEED_LARGE 0
11632 _ACEOF
11636 { echo "$as_me:$LINENO: checking whether CURLOPT_MAX_RECV_SPEED_LARGE is declared" >&5
11637 echo $ECHO_N "checking whether CURLOPT_MAX_RECV_SPEED_LARGE is declared... $ECHO_C" >&6; }
11638 if test "${ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE+set}" = set; then
11639 echo $ECHO_N "(cached) $ECHO_C" >&6
11640 else
11641 cat >conftest.$ac_ext <<_ACEOF
11642 /* confdefs.h. */
11643 _ACEOF
11644 cat confdefs.h >>conftest.$ac_ext
11645 cat >>conftest.$ac_ext <<_ACEOF
11646 /* end confdefs.h. */
11648 #include "curl/curl.h"
11652 main ()
11654 #ifndef CURLOPT_MAX_RECV_SPEED_LARGE
11655 (void) CURLOPT_MAX_RECV_SPEED_LARGE;
11656 #endif
11659 return 0;
11661 _ACEOF
11662 rm -f conftest.$ac_objext
11663 if { (ac_try="$ac_compile"
11664 case "(($ac_try" in
11665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11666 *) ac_try_echo=$ac_try;;
11667 esac
11668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11669 (eval "$ac_compile") 2>conftest.er1
11670 ac_status=$?
11671 grep -v '^ *+' conftest.er1 >conftest.err
11672 rm -f conftest.er1
11673 cat conftest.err >&5
11674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11675 (exit $ac_status); } && {
11676 test -z "$ac_c_werror_flag" ||
11677 test ! -s conftest.err
11678 } && test -s conftest.$ac_objext; then
11679 ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE=yes
11680 else
11681 echo "$as_me: failed program was:" >&5
11682 sed 's/^/| /' conftest.$ac_ext >&5
11684 ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE=no
11687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11689 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE" >&5
11690 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE" >&6; }
11691 if test $ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE = yes; then
11693 cat >>confdefs.h <<_ACEOF
11694 #define HAVE_DECL_CURLOPT_MAX_RECV_SPEED_LARGE 1
11695 _ACEOF
11698 else
11699 cat >>confdefs.h <<_ACEOF
11700 #define HAVE_DECL_CURLOPT_MAX_RECV_SPEED_LARGE 0
11701 _ACEOF
11705 { echo "$as_me:$LINENO: checking whether CURLOPT_FTP_ALTERNATIVE_TO_USER is declared" >&5
11706 echo $ECHO_N "checking whether CURLOPT_FTP_ALTERNATIVE_TO_USER is declared... $ECHO_C" >&6; }
11707 if test "${ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER+set}" = set; then
11708 echo $ECHO_N "(cached) $ECHO_C" >&6
11709 else
11710 cat >conftest.$ac_ext <<_ACEOF
11711 /* confdefs.h. */
11712 _ACEOF
11713 cat confdefs.h >>conftest.$ac_ext
11714 cat >>conftest.$ac_ext <<_ACEOF
11715 /* end confdefs.h. */
11717 #include "curl/curl.h"
11721 main ()
11723 #ifndef CURLOPT_FTP_ALTERNATIVE_TO_USER
11724 (void) CURLOPT_FTP_ALTERNATIVE_TO_USER;
11725 #endif
11728 return 0;
11730 _ACEOF
11731 rm -f conftest.$ac_objext
11732 if { (ac_try="$ac_compile"
11733 case "(($ac_try" in
11734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11735 *) ac_try_echo=$ac_try;;
11736 esac
11737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11738 (eval "$ac_compile") 2>conftest.er1
11739 ac_status=$?
11740 grep -v '^ *+' conftest.er1 >conftest.err
11741 rm -f conftest.er1
11742 cat conftest.err >&5
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); } && {
11745 test -z "$ac_c_werror_flag" ||
11746 test ! -s conftest.err
11747 } && test -s conftest.$ac_objext; then
11748 ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER=yes
11749 else
11750 echo "$as_me: failed program was:" >&5
11751 sed 's/^/| /' conftest.$ac_ext >&5
11753 ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER=no
11756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11758 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" >&5
11759 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" >&6; }
11760 if test $ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER = yes; then
11762 cat >>confdefs.h <<_ACEOF
11763 #define HAVE_DECL_CURLOPT_FTP_ALTERNATIVE_TO_USER 1
11764 _ACEOF
11767 else
11768 cat >>confdefs.h <<_ACEOF
11769 #define HAVE_DECL_CURLOPT_FTP_ALTERNATIVE_TO_USER 0
11770 _ACEOF
11774 { echo "$as_me:$LINENO: checking whether CURLOPT_SSL_SESSIONID_CACHE is declared" >&5
11775 echo $ECHO_N "checking whether CURLOPT_SSL_SESSIONID_CACHE is declared... $ECHO_C" >&6; }
11776 if test "${ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE+set}" = set; then
11777 echo $ECHO_N "(cached) $ECHO_C" >&6
11778 else
11779 cat >conftest.$ac_ext <<_ACEOF
11780 /* confdefs.h. */
11781 _ACEOF
11782 cat confdefs.h >>conftest.$ac_ext
11783 cat >>conftest.$ac_ext <<_ACEOF
11784 /* end confdefs.h. */
11786 #include "curl/curl.h"
11790 main ()
11792 #ifndef CURLOPT_SSL_SESSIONID_CACHE
11793 (void) CURLOPT_SSL_SESSIONID_CACHE;
11794 #endif
11797 return 0;
11799 _ACEOF
11800 rm -f conftest.$ac_objext
11801 if { (ac_try="$ac_compile"
11802 case "(($ac_try" in
11803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11804 *) ac_try_echo=$ac_try;;
11805 esac
11806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11807 (eval "$ac_compile") 2>conftest.er1
11808 ac_status=$?
11809 grep -v '^ *+' conftest.er1 >conftest.err
11810 rm -f conftest.er1
11811 cat conftest.err >&5
11812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11813 (exit $ac_status); } && {
11814 test -z "$ac_c_werror_flag" ||
11815 test ! -s conftest.err
11816 } && test -s conftest.$ac_objext; then
11817 ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE=yes
11818 else
11819 echo "$as_me: failed program was:" >&5
11820 sed 's/^/| /' conftest.$ac_ext >&5
11822 ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE=no
11825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11827 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" >&5
11828 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" >&6; }
11829 if test $ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE = yes; then
11831 cat >>confdefs.h <<_ACEOF
11832 #define HAVE_DECL_CURLOPT_SSL_SESSIONID_CACHE 1
11833 _ACEOF
11836 else
11837 cat >>confdefs.h <<_ACEOF
11838 #define HAVE_DECL_CURLOPT_SSL_SESSIONID_CACHE 0
11839 _ACEOF
11843 { echo "$as_me:$LINENO: checking whether CURLOPT_SSH_AUTH_TYPES is declared" >&5
11844 echo $ECHO_N "checking whether CURLOPT_SSH_AUTH_TYPES is declared... $ECHO_C" >&6; }
11845 if test "${ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES+set}" = set; then
11846 echo $ECHO_N "(cached) $ECHO_C" >&6
11847 else
11848 cat >conftest.$ac_ext <<_ACEOF
11849 /* confdefs.h. */
11850 _ACEOF
11851 cat confdefs.h >>conftest.$ac_ext
11852 cat >>conftest.$ac_ext <<_ACEOF
11853 /* end confdefs.h. */
11855 #include "curl/curl.h"
11859 main ()
11861 #ifndef CURLOPT_SSH_AUTH_TYPES
11862 (void) CURLOPT_SSH_AUTH_TYPES;
11863 #endif
11866 return 0;
11868 _ACEOF
11869 rm -f conftest.$ac_objext
11870 if { (ac_try="$ac_compile"
11871 case "(($ac_try" in
11872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11873 *) ac_try_echo=$ac_try;;
11874 esac
11875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11876 (eval "$ac_compile") 2>conftest.er1
11877 ac_status=$?
11878 grep -v '^ *+' conftest.er1 >conftest.err
11879 rm -f conftest.er1
11880 cat conftest.err >&5
11881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11882 (exit $ac_status); } && {
11883 test -z "$ac_c_werror_flag" ||
11884 test ! -s conftest.err
11885 } && test -s conftest.$ac_objext; then
11886 ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES=yes
11887 else
11888 echo "$as_me: failed program was:" >&5
11889 sed 's/^/| /' conftest.$ac_ext >&5
11891 ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES=no
11894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11896 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" >&5
11897 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" >&6; }
11898 if test $ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES = yes; then
11900 cat >>confdefs.h <<_ACEOF
11901 #define HAVE_DECL_CURLOPT_SSH_AUTH_TYPES 1
11902 _ACEOF
11905 else
11906 cat >>confdefs.h <<_ACEOF
11907 #define HAVE_DECL_CURLOPT_SSH_AUTH_TYPES 0
11908 _ACEOF
11912 { echo "$as_me:$LINENO: checking whether CURLOPT_SSH_PUBLIC_KEYFILE is declared" >&5
11913 echo $ECHO_N "checking whether CURLOPT_SSH_PUBLIC_KEYFILE is declared... $ECHO_C" >&6; }
11914 if test "${ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE+set}" = set; then
11915 echo $ECHO_N "(cached) $ECHO_C" >&6
11916 else
11917 cat >conftest.$ac_ext <<_ACEOF
11918 /* confdefs.h. */
11919 _ACEOF
11920 cat confdefs.h >>conftest.$ac_ext
11921 cat >>conftest.$ac_ext <<_ACEOF
11922 /* end confdefs.h. */
11924 #include "curl/curl.h"
11928 main ()
11930 #ifndef CURLOPT_SSH_PUBLIC_KEYFILE
11931 (void) CURLOPT_SSH_PUBLIC_KEYFILE;
11932 #endif
11935 return 0;
11937 _ACEOF
11938 rm -f conftest.$ac_objext
11939 if { (ac_try="$ac_compile"
11940 case "(($ac_try" in
11941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11942 *) ac_try_echo=$ac_try;;
11943 esac
11944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11945 (eval "$ac_compile") 2>conftest.er1
11946 ac_status=$?
11947 grep -v '^ *+' conftest.er1 >conftest.err
11948 rm -f conftest.er1
11949 cat conftest.err >&5
11950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951 (exit $ac_status); } && {
11952 test -z "$ac_c_werror_flag" ||
11953 test ! -s conftest.err
11954 } && test -s conftest.$ac_objext; then
11955 ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE=yes
11956 else
11957 echo "$as_me: failed program was:" >&5
11958 sed 's/^/| /' conftest.$ac_ext >&5
11960 ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE=no
11963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11965 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" >&5
11966 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" >&6; }
11967 if test $ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE = yes; then
11969 cat >>confdefs.h <<_ACEOF
11970 #define HAVE_DECL_CURLOPT_SSH_PUBLIC_KEYFILE 1
11971 _ACEOF
11974 else
11975 cat >>confdefs.h <<_ACEOF
11976 #define HAVE_DECL_CURLOPT_SSH_PUBLIC_KEYFILE 0
11977 _ACEOF
11981 { echo "$as_me:$LINENO: checking whether CURLOPT_SSH_PRIVATE_KEYFILE is declared" >&5
11982 echo $ECHO_N "checking whether CURLOPT_SSH_PRIVATE_KEYFILE is declared... $ECHO_C" >&6; }
11983 if test "${ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE+set}" = set; then
11984 echo $ECHO_N "(cached) $ECHO_C" >&6
11985 else
11986 cat >conftest.$ac_ext <<_ACEOF
11987 /* confdefs.h. */
11988 _ACEOF
11989 cat confdefs.h >>conftest.$ac_ext
11990 cat >>conftest.$ac_ext <<_ACEOF
11991 /* end confdefs.h. */
11993 #include "curl/curl.h"
11997 main ()
11999 #ifndef CURLOPT_SSH_PRIVATE_KEYFILE
12000 (void) CURLOPT_SSH_PRIVATE_KEYFILE;
12001 #endif
12004 return 0;
12006 _ACEOF
12007 rm -f conftest.$ac_objext
12008 if { (ac_try="$ac_compile"
12009 case "(($ac_try" in
12010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12011 *) ac_try_echo=$ac_try;;
12012 esac
12013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12014 (eval "$ac_compile") 2>conftest.er1
12015 ac_status=$?
12016 grep -v '^ *+' conftest.er1 >conftest.err
12017 rm -f conftest.er1
12018 cat conftest.err >&5
12019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020 (exit $ac_status); } && {
12021 test -z "$ac_c_werror_flag" ||
12022 test ! -s conftest.err
12023 } && test -s conftest.$ac_objext; then
12024 ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE=yes
12025 else
12026 echo "$as_me: failed program was:" >&5
12027 sed 's/^/| /' conftest.$ac_ext >&5
12029 ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE=no
12032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12034 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE" >&5
12035 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE" >&6; }
12036 if test $ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE = yes; then
12038 cat >>confdefs.h <<_ACEOF
12039 #define HAVE_DECL_CURLOPT_SSH_PRIVATE_KEYFILE 1
12040 _ACEOF
12043 else
12044 cat >>confdefs.h <<_ACEOF
12045 #define HAVE_DECL_CURLOPT_SSH_PRIVATE_KEYFILE 0
12046 _ACEOF
12050 { echo "$as_me:$LINENO: checking whether CURLOPT_FTP_SSL_CCC is declared" >&5
12051 echo $ECHO_N "checking whether CURLOPT_FTP_SSL_CCC is declared... $ECHO_C" >&6; }
12052 if test "${ac_cv_have_decl_CURLOPT_FTP_SSL_CCC+set}" = set; then
12053 echo $ECHO_N "(cached) $ECHO_C" >&6
12054 else
12055 cat >conftest.$ac_ext <<_ACEOF
12056 /* confdefs.h. */
12057 _ACEOF
12058 cat confdefs.h >>conftest.$ac_ext
12059 cat >>conftest.$ac_ext <<_ACEOF
12060 /* end confdefs.h. */
12062 #include "curl/curl.h"
12066 main ()
12068 #ifndef CURLOPT_FTP_SSL_CCC
12069 (void) CURLOPT_FTP_SSL_CCC;
12070 #endif
12073 return 0;
12075 _ACEOF
12076 rm -f conftest.$ac_objext
12077 if { (ac_try="$ac_compile"
12078 case "(($ac_try" in
12079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12080 *) ac_try_echo=$ac_try;;
12081 esac
12082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12083 (eval "$ac_compile") 2>conftest.er1
12084 ac_status=$?
12085 grep -v '^ *+' conftest.er1 >conftest.err
12086 rm -f conftest.er1
12087 cat conftest.err >&5
12088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12089 (exit $ac_status); } && {
12090 test -z "$ac_c_werror_flag" ||
12091 test ! -s conftest.err
12092 } && test -s conftest.$ac_objext; then
12093 ac_cv_have_decl_CURLOPT_FTP_SSL_CCC=yes
12094 else
12095 echo "$as_me: failed program was:" >&5
12096 sed 's/^/| /' conftest.$ac_ext >&5
12098 ac_cv_have_decl_CURLOPT_FTP_SSL_CCC=no
12101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12103 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" >&5
12104 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" >&6; }
12105 if test $ac_cv_have_decl_CURLOPT_FTP_SSL_CCC = yes; then
12107 cat >>confdefs.h <<_ACEOF
12108 #define HAVE_DECL_CURLOPT_FTP_SSL_CCC 1
12109 _ACEOF
12112 else
12113 cat >>confdefs.h <<_ACEOF
12114 #define HAVE_DECL_CURLOPT_FTP_SSL_CCC 0
12115 _ACEOF
12119 { echo "$as_me:$LINENO: checking whether CURLOPT_TIMEOUT_MS is declared" >&5
12120 echo $ECHO_N "checking whether CURLOPT_TIMEOUT_MS is declared... $ECHO_C" >&6; }
12121 if test "${ac_cv_have_decl_CURLOPT_TIMEOUT_MS+set}" = set; then
12122 echo $ECHO_N "(cached) $ECHO_C" >&6
12123 else
12124 cat >conftest.$ac_ext <<_ACEOF
12125 /* confdefs.h. */
12126 _ACEOF
12127 cat confdefs.h >>conftest.$ac_ext
12128 cat >>conftest.$ac_ext <<_ACEOF
12129 /* end confdefs.h. */
12131 #include "curl/curl.h"
12135 main ()
12137 #ifndef CURLOPT_TIMEOUT_MS
12138 (void) CURLOPT_TIMEOUT_MS;
12139 #endif
12142 return 0;
12144 _ACEOF
12145 rm -f conftest.$ac_objext
12146 if { (ac_try="$ac_compile"
12147 case "(($ac_try" in
12148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12149 *) ac_try_echo=$ac_try;;
12150 esac
12151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12152 (eval "$ac_compile") 2>conftest.er1
12153 ac_status=$?
12154 grep -v '^ *+' conftest.er1 >conftest.err
12155 rm -f conftest.er1
12156 cat conftest.err >&5
12157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12158 (exit $ac_status); } && {
12159 test -z "$ac_c_werror_flag" ||
12160 test ! -s conftest.err
12161 } && test -s conftest.$ac_objext; then
12162 ac_cv_have_decl_CURLOPT_TIMEOUT_MS=yes
12163 else
12164 echo "$as_me: failed program was:" >&5
12165 sed 's/^/| /' conftest.$ac_ext >&5
12167 ac_cv_have_decl_CURLOPT_TIMEOUT_MS=no
12170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12172 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_TIMEOUT_MS" >&5
12173 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_TIMEOUT_MS" >&6; }
12174 if test $ac_cv_have_decl_CURLOPT_TIMEOUT_MS = yes; then
12176 cat >>confdefs.h <<_ACEOF
12177 #define HAVE_DECL_CURLOPT_TIMEOUT_MS 1
12178 _ACEOF
12181 else
12182 cat >>confdefs.h <<_ACEOF
12183 #define HAVE_DECL_CURLOPT_TIMEOUT_MS 0
12184 _ACEOF
12188 { echo "$as_me:$LINENO: checking whether CURLOPT_CONNECTTIMEOUT_MS is declared" >&5
12189 echo $ECHO_N "checking whether CURLOPT_CONNECTTIMEOUT_MS is declared... $ECHO_C" >&6; }
12190 if test "${ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS+set}" = set; then
12191 echo $ECHO_N "(cached) $ECHO_C" >&6
12192 else
12193 cat >conftest.$ac_ext <<_ACEOF
12194 /* confdefs.h. */
12195 _ACEOF
12196 cat confdefs.h >>conftest.$ac_ext
12197 cat >>conftest.$ac_ext <<_ACEOF
12198 /* end confdefs.h. */
12200 #include "curl/curl.h"
12204 main ()
12206 #ifndef CURLOPT_CONNECTTIMEOUT_MS
12207 (void) CURLOPT_CONNECTTIMEOUT_MS;
12208 #endif
12211 return 0;
12213 _ACEOF
12214 rm -f conftest.$ac_objext
12215 if { (ac_try="$ac_compile"
12216 case "(($ac_try" in
12217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12218 *) ac_try_echo=$ac_try;;
12219 esac
12220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12221 (eval "$ac_compile") 2>conftest.er1
12222 ac_status=$?
12223 grep -v '^ *+' conftest.er1 >conftest.err
12224 rm -f conftest.er1
12225 cat conftest.err >&5
12226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12227 (exit $ac_status); } && {
12228 test -z "$ac_c_werror_flag" ||
12229 test ! -s conftest.err
12230 } && test -s conftest.$ac_objext; then
12231 ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS=yes
12232 else
12233 echo "$as_me: failed program was:" >&5
12234 sed 's/^/| /' conftest.$ac_ext >&5
12236 ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS=no
12239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12241 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS" >&5
12242 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS" >&6; }
12243 if test $ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS = yes; then
12245 cat >>confdefs.h <<_ACEOF
12246 #define HAVE_DECL_CURLOPT_CONNECTTIMEOUT_MS 1
12247 _ACEOF
12250 else
12251 cat >>confdefs.h <<_ACEOF
12252 #define HAVE_DECL_CURLOPT_CONNECTTIMEOUT_MS 0
12253 _ACEOF
12257 { echo "$as_me:$LINENO: checking whether CURLOPT_HTTP_TRANSFER_DECODING is declared" >&5
12258 echo $ECHO_N "checking whether CURLOPT_HTTP_TRANSFER_DECODING is declared... $ECHO_C" >&6; }
12259 if test "${ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING+set}" = set; then
12260 echo $ECHO_N "(cached) $ECHO_C" >&6
12261 else
12262 cat >conftest.$ac_ext <<_ACEOF
12263 /* confdefs.h. */
12264 _ACEOF
12265 cat confdefs.h >>conftest.$ac_ext
12266 cat >>conftest.$ac_ext <<_ACEOF
12267 /* end confdefs.h. */
12269 #include "curl/curl.h"
12273 main ()
12275 #ifndef CURLOPT_HTTP_TRANSFER_DECODING
12276 (void) CURLOPT_HTTP_TRANSFER_DECODING;
12277 #endif
12280 return 0;
12282 _ACEOF
12283 rm -f conftest.$ac_objext
12284 if { (ac_try="$ac_compile"
12285 case "(($ac_try" in
12286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12287 *) ac_try_echo=$ac_try;;
12288 esac
12289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12290 (eval "$ac_compile") 2>conftest.er1
12291 ac_status=$?
12292 grep -v '^ *+' conftest.er1 >conftest.err
12293 rm -f conftest.er1
12294 cat conftest.err >&5
12295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12296 (exit $ac_status); } && {
12297 test -z "$ac_c_werror_flag" ||
12298 test ! -s conftest.err
12299 } && test -s conftest.$ac_objext; then
12300 ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING=yes
12301 else
12302 echo "$as_me: failed program was:" >&5
12303 sed 's/^/| /' conftest.$ac_ext >&5
12305 ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING=no
12308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12310 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" >&5
12311 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" >&6; }
12312 if test $ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING = yes; then
12314 cat >>confdefs.h <<_ACEOF
12315 #define HAVE_DECL_CURLOPT_HTTP_TRANSFER_DECODING 1
12316 _ACEOF
12319 else
12320 cat >>confdefs.h <<_ACEOF
12321 #define HAVE_DECL_CURLOPT_HTTP_TRANSFER_DECODING 0
12322 _ACEOF
12326 { echo "$as_me:$LINENO: checking whether CURLOPT_HTTP_CONTENT_DECODING is declared" >&5
12327 echo $ECHO_N "checking whether CURLOPT_HTTP_CONTENT_DECODING is declared... $ECHO_C" >&6; }
12328 if test "${ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING+set}" = set; then
12329 echo $ECHO_N "(cached) $ECHO_C" >&6
12330 else
12331 cat >conftest.$ac_ext <<_ACEOF
12332 /* confdefs.h. */
12333 _ACEOF
12334 cat confdefs.h >>conftest.$ac_ext
12335 cat >>conftest.$ac_ext <<_ACEOF
12336 /* end confdefs.h. */
12338 #include "curl/curl.h"
12342 main ()
12344 #ifndef CURLOPT_HTTP_CONTENT_DECODING
12345 (void) CURLOPT_HTTP_CONTENT_DECODING;
12346 #endif
12349 return 0;
12351 _ACEOF
12352 rm -f conftest.$ac_objext
12353 if { (ac_try="$ac_compile"
12354 case "(($ac_try" in
12355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12356 *) ac_try_echo=$ac_try;;
12357 esac
12358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12359 (eval "$ac_compile") 2>conftest.er1
12360 ac_status=$?
12361 grep -v '^ *+' conftest.er1 >conftest.err
12362 rm -f conftest.er1
12363 cat conftest.err >&5
12364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365 (exit $ac_status); } && {
12366 test -z "$ac_c_werror_flag" ||
12367 test ! -s conftest.err
12368 } && test -s conftest.$ac_objext; then
12369 ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING=yes
12370 else
12371 echo "$as_me: failed program was:" >&5
12372 sed 's/^/| /' conftest.$ac_ext >&5
12374 ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING=no
12377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12379 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING" >&5
12380 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING" >&6; }
12381 if test $ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING = yes; then
12383 cat >>confdefs.h <<_ACEOF
12384 #define HAVE_DECL_CURLOPT_HTTP_CONTENT_DECODING 1
12385 _ACEOF
12388 else
12389 cat >>confdefs.h <<_ACEOF
12390 #define HAVE_DECL_CURLOPT_HTTP_CONTENT_DECODING 0
12391 _ACEOF
12395 { echo "$as_me:$LINENO: checking whether CURLOPT_NEW_FILE_PERMS is declared" >&5
12396 echo $ECHO_N "checking whether CURLOPT_NEW_FILE_PERMS is declared... $ECHO_C" >&6; }
12397 if test "${ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS+set}" = set; then
12398 echo $ECHO_N "(cached) $ECHO_C" >&6
12399 else
12400 cat >conftest.$ac_ext <<_ACEOF
12401 /* confdefs.h. */
12402 _ACEOF
12403 cat confdefs.h >>conftest.$ac_ext
12404 cat >>conftest.$ac_ext <<_ACEOF
12405 /* end confdefs.h. */
12407 #include "curl/curl.h"
12411 main ()
12413 #ifndef CURLOPT_NEW_FILE_PERMS
12414 (void) CURLOPT_NEW_FILE_PERMS;
12415 #endif
12418 return 0;
12420 _ACEOF
12421 rm -f conftest.$ac_objext
12422 if { (ac_try="$ac_compile"
12423 case "(($ac_try" in
12424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12425 *) ac_try_echo=$ac_try;;
12426 esac
12427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12428 (eval "$ac_compile") 2>conftest.er1
12429 ac_status=$?
12430 grep -v '^ *+' conftest.er1 >conftest.err
12431 rm -f conftest.er1
12432 cat conftest.err >&5
12433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12434 (exit $ac_status); } && {
12435 test -z "$ac_c_werror_flag" ||
12436 test ! -s conftest.err
12437 } && test -s conftest.$ac_objext; then
12438 ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS=yes
12439 else
12440 echo "$as_me: failed program was:" >&5
12441 sed 's/^/| /' conftest.$ac_ext >&5
12443 ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS=no
12446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12448 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" >&5
12449 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" >&6; }
12450 if test $ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS = yes; then
12452 cat >>confdefs.h <<_ACEOF
12453 #define HAVE_DECL_CURLOPT_NEW_FILE_PERMS 1
12454 _ACEOF
12457 else
12458 cat >>confdefs.h <<_ACEOF
12459 #define HAVE_DECL_CURLOPT_NEW_FILE_PERMS 0
12460 _ACEOF
12464 { echo "$as_me:$LINENO: checking whether CURLOPT_NEW_DIRECTORY_PERMS is declared" >&5
12465 echo $ECHO_N "checking whether CURLOPT_NEW_DIRECTORY_PERMS is declared... $ECHO_C" >&6; }
12466 if test "${ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS+set}" = set; then
12467 echo $ECHO_N "(cached) $ECHO_C" >&6
12468 else
12469 cat >conftest.$ac_ext <<_ACEOF
12470 /* confdefs.h. */
12471 _ACEOF
12472 cat confdefs.h >>conftest.$ac_ext
12473 cat >>conftest.$ac_ext <<_ACEOF
12474 /* end confdefs.h. */
12476 #include "curl/curl.h"
12480 main ()
12482 #ifndef CURLOPT_NEW_DIRECTORY_PERMS
12483 (void) CURLOPT_NEW_DIRECTORY_PERMS;
12484 #endif
12487 return 0;
12489 _ACEOF
12490 rm -f conftest.$ac_objext
12491 if { (ac_try="$ac_compile"
12492 case "(($ac_try" in
12493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12494 *) ac_try_echo=$ac_try;;
12495 esac
12496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12497 (eval "$ac_compile") 2>conftest.er1
12498 ac_status=$?
12499 grep -v '^ *+' conftest.er1 >conftest.err
12500 rm -f conftest.er1
12501 cat conftest.err >&5
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); } && {
12504 test -z "$ac_c_werror_flag" ||
12505 test ! -s conftest.err
12506 } && test -s conftest.$ac_objext; then
12507 ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS=yes
12508 else
12509 echo "$as_me: failed program was:" >&5
12510 sed 's/^/| /' conftest.$ac_ext >&5
12512 ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS=no
12515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12517 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS" >&5
12518 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS" >&6; }
12519 if test $ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS = yes; then
12521 cat >>confdefs.h <<_ACEOF
12522 #define HAVE_DECL_CURLOPT_NEW_DIRECTORY_PERMS 1
12523 _ACEOF
12526 else
12527 cat >>confdefs.h <<_ACEOF
12528 #define HAVE_DECL_CURLOPT_NEW_DIRECTORY_PERMS 0
12529 _ACEOF
12533 { echo "$as_me:$LINENO: checking whether CURLOPT_POST301 is declared" >&5
12534 echo $ECHO_N "checking whether CURLOPT_POST301 is declared... $ECHO_C" >&6; }
12535 if test "${ac_cv_have_decl_CURLOPT_POST301+set}" = set; then
12536 echo $ECHO_N "(cached) $ECHO_C" >&6
12537 else
12538 cat >conftest.$ac_ext <<_ACEOF
12539 /* confdefs.h. */
12540 _ACEOF
12541 cat confdefs.h >>conftest.$ac_ext
12542 cat >>conftest.$ac_ext <<_ACEOF
12543 /* end confdefs.h. */
12545 #include "curl/curl.h"
12549 main ()
12551 #ifndef CURLOPT_POST301
12552 (void) CURLOPT_POST301;
12553 #endif
12556 return 0;
12558 _ACEOF
12559 rm -f conftest.$ac_objext
12560 if { (ac_try="$ac_compile"
12561 case "(($ac_try" in
12562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12563 *) ac_try_echo=$ac_try;;
12564 esac
12565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12566 (eval "$ac_compile") 2>conftest.er1
12567 ac_status=$?
12568 grep -v '^ *+' conftest.er1 >conftest.err
12569 rm -f conftest.er1
12570 cat conftest.err >&5
12571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12572 (exit $ac_status); } && {
12573 test -z "$ac_c_werror_flag" ||
12574 test ! -s conftest.err
12575 } && test -s conftest.$ac_objext; then
12576 ac_cv_have_decl_CURLOPT_POST301=yes
12577 else
12578 echo "$as_me: failed program was:" >&5
12579 sed 's/^/| /' conftest.$ac_ext >&5
12581 ac_cv_have_decl_CURLOPT_POST301=no
12584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12586 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_POST301" >&5
12587 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_POST301" >&6; }
12588 if test $ac_cv_have_decl_CURLOPT_POST301 = yes; then
12590 cat >>confdefs.h <<_ACEOF
12591 #define HAVE_DECL_CURLOPT_POST301 1
12592 _ACEOF
12595 else
12596 cat >>confdefs.h <<_ACEOF
12597 #define HAVE_DECL_CURLOPT_POST301 0
12598 _ACEOF
12602 { echo "$as_me:$LINENO: checking whether CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 is declared" >&5
12603 echo $ECHO_N "checking whether CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 is declared... $ECHO_C" >&6; }
12604 if test "${ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5+set}" = set; then
12605 echo $ECHO_N "(cached) $ECHO_C" >&6
12606 else
12607 cat >conftest.$ac_ext <<_ACEOF
12608 /* confdefs.h. */
12609 _ACEOF
12610 cat confdefs.h >>conftest.$ac_ext
12611 cat >>conftest.$ac_ext <<_ACEOF
12612 /* end confdefs.h. */
12614 #include "curl/curl.h"
12618 main ()
12620 #ifndef CURLOPT_SSH_HOST_PUBLIC_KEY_MD5
12621 (void) CURLOPT_SSH_HOST_PUBLIC_KEY_MD5;
12622 #endif
12625 return 0;
12627 _ACEOF
12628 rm -f conftest.$ac_objext
12629 if { (ac_try="$ac_compile"
12630 case "(($ac_try" in
12631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12632 *) ac_try_echo=$ac_try;;
12633 esac
12634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12635 (eval "$ac_compile") 2>conftest.er1
12636 ac_status=$?
12637 grep -v '^ *+' conftest.er1 >conftest.err
12638 rm -f conftest.er1
12639 cat conftest.err >&5
12640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12641 (exit $ac_status); } && {
12642 test -z "$ac_c_werror_flag" ||
12643 test ! -s conftest.err
12644 } && test -s conftest.$ac_objext; then
12645 ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5=yes
12646 else
12647 echo "$as_me: failed program was:" >&5
12648 sed 's/^/| /' conftest.$ac_ext >&5
12650 ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5=no
12653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12655 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" >&5
12656 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" >&6; }
12657 if test $ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 = yes; then
12659 cat >>confdefs.h <<_ACEOF
12660 #define HAVE_DECL_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 1
12661 _ACEOF
12664 else
12665 cat >>confdefs.h <<_ACEOF
12666 #define HAVE_DECL_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 0
12667 _ACEOF
12671 { echo "$as_me:$LINENO: checking whether CURLOPT_COPYPOSTFIELDS is declared" >&5
12672 echo $ECHO_N "checking whether CURLOPT_COPYPOSTFIELDS is declared... $ECHO_C" >&6; }
12673 if test "${ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS+set}" = set; then
12674 echo $ECHO_N "(cached) $ECHO_C" >&6
12675 else
12676 cat >conftest.$ac_ext <<_ACEOF
12677 /* confdefs.h. */
12678 _ACEOF
12679 cat confdefs.h >>conftest.$ac_ext
12680 cat >>conftest.$ac_ext <<_ACEOF
12681 /* end confdefs.h. */
12683 #include "curl/curl.h"
12687 main ()
12689 #ifndef CURLOPT_COPYPOSTFIELDS
12690 (void) CURLOPT_COPYPOSTFIELDS;
12691 #endif
12694 return 0;
12696 _ACEOF
12697 rm -f conftest.$ac_objext
12698 if { (ac_try="$ac_compile"
12699 case "(($ac_try" in
12700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12701 *) ac_try_echo=$ac_try;;
12702 esac
12703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12704 (eval "$ac_compile") 2>conftest.er1
12705 ac_status=$?
12706 grep -v '^ *+' conftest.er1 >conftest.err
12707 rm -f conftest.er1
12708 cat conftest.err >&5
12709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12710 (exit $ac_status); } && {
12711 test -z "$ac_c_werror_flag" ||
12712 test ! -s conftest.err
12713 } && test -s conftest.$ac_objext; then
12714 ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS=yes
12715 else
12716 echo "$as_me: failed program was:" >&5
12717 sed 's/^/| /' conftest.$ac_ext >&5
12719 ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS=no
12722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12724 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" >&5
12725 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" >&6; }
12726 if test $ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS = yes; then
12728 cat >>confdefs.h <<_ACEOF
12729 #define HAVE_DECL_CURLOPT_COPYPOSTFIELDS 1
12730 _ACEOF
12733 else
12734 cat >>confdefs.h <<_ACEOF
12735 #define HAVE_DECL_CURLOPT_COPYPOSTFIELDS 0
12736 _ACEOF
12740 { echo "$as_me:$LINENO: checking whether CURLOPT_PROXY_TRANSFER_MODE is declared" >&5
12741 echo $ECHO_N "checking whether CURLOPT_PROXY_TRANSFER_MODE is declared... $ECHO_C" >&6; }
12742 if test "${ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE+set}" = set; then
12743 echo $ECHO_N "(cached) $ECHO_C" >&6
12744 else
12745 cat >conftest.$ac_ext <<_ACEOF
12746 /* confdefs.h. */
12747 _ACEOF
12748 cat confdefs.h >>conftest.$ac_ext
12749 cat >>conftest.$ac_ext <<_ACEOF
12750 /* end confdefs.h. */
12752 #include "curl/curl.h"
12756 main ()
12758 #ifndef CURLOPT_PROXY_TRANSFER_MODE
12759 (void) CURLOPT_PROXY_TRANSFER_MODE;
12760 #endif
12763 return 0;
12765 _ACEOF
12766 rm -f conftest.$ac_objext
12767 if { (ac_try="$ac_compile"
12768 case "(($ac_try" in
12769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12770 *) ac_try_echo=$ac_try;;
12771 esac
12772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12773 (eval "$ac_compile") 2>conftest.er1
12774 ac_status=$?
12775 grep -v '^ *+' conftest.er1 >conftest.err
12776 rm -f conftest.er1
12777 cat conftest.err >&5
12778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779 (exit $ac_status); } && {
12780 test -z "$ac_c_werror_flag" ||
12781 test ! -s conftest.err
12782 } && test -s conftest.$ac_objext; then
12783 ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE=yes
12784 else
12785 echo "$as_me: failed program was:" >&5
12786 sed 's/^/| /' conftest.$ac_ext >&5
12788 ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE=no
12791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12793 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" >&5
12794 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" >&6; }
12795 if test $ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE = yes; then
12797 cat >>confdefs.h <<_ACEOF
12798 #define HAVE_DECL_CURLOPT_PROXY_TRANSFER_MODE 1
12799 _ACEOF
12802 else
12803 cat >>confdefs.h <<_ACEOF
12804 #define HAVE_DECL_CURLOPT_PROXY_TRANSFER_MODE 0
12805 _ACEOF
12809 { echo "$as_me:$LINENO: checking whether CURLOPT_SEEKFUNCTION is declared" >&5
12810 echo $ECHO_N "checking whether CURLOPT_SEEKFUNCTION is declared... $ECHO_C" >&6; }
12811 if test "${ac_cv_have_decl_CURLOPT_SEEKFUNCTION+set}" = set; then
12812 echo $ECHO_N "(cached) $ECHO_C" >&6
12813 else
12814 cat >conftest.$ac_ext <<_ACEOF
12815 /* confdefs.h. */
12816 _ACEOF
12817 cat confdefs.h >>conftest.$ac_ext
12818 cat >>conftest.$ac_ext <<_ACEOF
12819 /* end confdefs.h. */
12821 #include "curl/curl.h"
12825 main ()
12827 #ifndef CURLOPT_SEEKFUNCTION
12828 (void) CURLOPT_SEEKFUNCTION;
12829 #endif
12832 return 0;
12834 _ACEOF
12835 rm -f conftest.$ac_objext
12836 if { (ac_try="$ac_compile"
12837 case "(($ac_try" in
12838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12839 *) ac_try_echo=$ac_try;;
12840 esac
12841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12842 (eval "$ac_compile") 2>conftest.er1
12843 ac_status=$?
12844 grep -v '^ *+' conftest.er1 >conftest.err
12845 rm -f conftest.er1
12846 cat conftest.err >&5
12847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12848 (exit $ac_status); } && {
12849 test -z "$ac_c_werror_flag" ||
12850 test ! -s conftest.err
12851 } && test -s conftest.$ac_objext; then
12852 ac_cv_have_decl_CURLOPT_SEEKFUNCTION=yes
12853 else
12854 echo "$as_me: failed program was:" >&5
12855 sed 's/^/| /' conftest.$ac_ext >&5
12857 ac_cv_have_decl_CURLOPT_SEEKFUNCTION=no
12860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12862 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLOPT_SEEKFUNCTION" >&5
12863 echo "${ECHO_T}$ac_cv_have_decl_CURLOPT_SEEKFUNCTION" >&6; }
12864 if test $ac_cv_have_decl_CURLOPT_SEEKFUNCTION = yes; then
12866 cat >>confdefs.h <<_ACEOF
12867 #define HAVE_DECL_CURLOPT_SEEKFUNCTION 1
12868 _ACEOF
12871 else
12872 cat >>confdefs.h <<_ACEOF
12873 #define HAVE_DECL_CURLOPT_SEEKFUNCTION 0
12874 _ACEOF
12878 { echo "$as_me:$LINENO: checking whether CURLINFO_EFFECTIVE_URL is declared" >&5
12879 echo $ECHO_N "checking whether CURLINFO_EFFECTIVE_URL is declared... $ECHO_C" >&6; }
12880 if test "${ac_cv_have_decl_CURLINFO_EFFECTIVE_URL+set}" = set; then
12881 echo $ECHO_N "(cached) $ECHO_C" >&6
12882 else
12883 cat >conftest.$ac_ext <<_ACEOF
12884 /* confdefs.h. */
12885 _ACEOF
12886 cat confdefs.h >>conftest.$ac_ext
12887 cat >>conftest.$ac_ext <<_ACEOF
12888 /* end confdefs.h. */
12890 #include "curl/curl.h"
12894 main ()
12896 #ifndef CURLINFO_EFFECTIVE_URL
12897 (void) CURLINFO_EFFECTIVE_URL;
12898 #endif
12901 return 0;
12903 _ACEOF
12904 rm -f conftest.$ac_objext
12905 if { (ac_try="$ac_compile"
12906 case "(($ac_try" in
12907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12908 *) ac_try_echo=$ac_try;;
12909 esac
12910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12911 (eval "$ac_compile") 2>conftest.er1
12912 ac_status=$?
12913 grep -v '^ *+' conftest.er1 >conftest.err
12914 rm -f conftest.er1
12915 cat conftest.err >&5
12916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12917 (exit $ac_status); } && {
12918 test -z "$ac_c_werror_flag" ||
12919 test ! -s conftest.err
12920 } && test -s conftest.$ac_objext; then
12921 ac_cv_have_decl_CURLINFO_EFFECTIVE_URL=yes
12922 else
12923 echo "$as_me: failed program was:" >&5
12924 sed 's/^/| /' conftest.$ac_ext >&5
12926 ac_cv_have_decl_CURLINFO_EFFECTIVE_URL=no
12929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12931 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" >&5
12932 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" >&6; }
12933 if test $ac_cv_have_decl_CURLINFO_EFFECTIVE_URL = yes; then
12935 cat >>confdefs.h <<_ACEOF
12936 #define HAVE_DECL_CURLINFO_EFFECTIVE_URL 1
12937 _ACEOF
12940 else
12941 cat >>confdefs.h <<_ACEOF
12942 #define HAVE_DECL_CURLINFO_EFFECTIVE_URL 0
12943 _ACEOF
12947 { echo "$as_me:$LINENO: checking whether CURLINFO_RESPONSE_CODE is declared" >&5
12948 echo $ECHO_N "checking whether CURLINFO_RESPONSE_CODE is declared... $ECHO_C" >&6; }
12949 if test "${ac_cv_have_decl_CURLINFO_RESPONSE_CODE+set}" = set; then
12950 echo $ECHO_N "(cached) $ECHO_C" >&6
12951 else
12952 cat >conftest.$ac_ext <<_ACEOF
12953 /* confdefs.h. */
12954 _ACEOF
12955 cat confdefs.h >>conftest.$ac_ext
12956 cat >>conftest.$ac_ext <<_ACEOF
12957 /* end confdefs.h. */
12959 #include "curl/curl.h"
12963 main ()
12965 #ifndef CURLINFO_RESPONSE_CODE
12966 (void) CURLINFO_RESPONSE_CODE;
12967 #endif
12970 return 0;
12972 _ACEOF
12973 rm -f conftest.$ac_objext
12974 if { (ac_try="$ac_compile"
12975 case "(($ac_try" in
12976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12977 *) ac_try_echo=$ac_try;;
12978 esac
12979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12980 (eval "$ac_compile") 2>conftest.er1
12981 ac_status=$?
12982 grep -v '^ *+' conftest.er1 >conftest.err
12983 rm -f conftest.er1
12984 cat conftest.err >&5
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); } && {
12987 test -z "$ac_c_werror_flag" ||
12988 test ! -s conftest.err
12989 } && test -s conftest.$ac_objext; then
12990 ac_cv_have_decl_CURLINFO_RESPONSE_CODE=yes
12991 else
12992 echo "$as_me: failed program was:" >&5
12993 sed 's/^/| /' conftest.$ac_ext >&5
12995 ac_cv_have_decl_CURLINFO_RESPONSE_CODE=no
12998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13000 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_RESPONSE_CODE" >&5
13001 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_RESPONSE_CODE" >&6; }
13002 if test $ac_cv_have_decl_CURLINFO_RESPONSE_CODE = yes; then
13004 cat >>confdefs.h <<_ACEOF
13005 #define HAVE_DECL_CURLINFO_RESPONSE_CODE 1
13006 _ACEOF
13009 else
13010 cat >>confdefs.h <<_ACEOF
13011 #define HAVE_DECL_CURLINFO_RESPONSE_CODE 0
13012 _ACEOF
13016 { echo "$as_me:$LINENO: checking whether CURLINFO_TOTAL_TIME is declared" >&5
13017 echo $ECHO_N "checking whether CURLINFO_TOTAL_TIME is declared... $ECHO_C" >&6; }
13018 if test "${ac_cv_have_decl_CURLINFO_TOTAL_TIME+set}" = set; then
13019 echo $ECHO_N "(cached) $ECHO_C" >&6
13020 else
13021 cat >conftest.$ac_ext <<_ACEOF
13022 /* confdefs.h. */
13023 _ACEOF
13024 cat confdefs.h >>conftest.$ac_ext
13025 cat >>conftest.$ac_ext <<_ACEOF
13026 /* end confdefs.h. */
13028 #include "curl/curl.h"
13032 main ()
13034 #ifndef CURLINFO_TOTAL_TIME
13035 (void) CURLINFO_TOTAL_TIME;
13036 #endif
13039 return 0;
13041 _ACEOF
13042 rm -f conftest.$ac_objext
13043 if { (ac_try="$ac_compile"
13044 case "(($ac_try" in
13045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13046 *) ac_try_echo=$ac_try;;
13047 esac
13048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13049 (eval "$ac_compile") 2>conftest.er1
13050 ac_status=$?
13051 grep -v '^ *+' conftest.er1 >conftest.err
13052 rm -f conftest.er1
13053 cat conftest.err >&5
13054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13055 (exit $ac_status); } && {
13056 test -z "$ac_c_werror_flag" ||
13057 test ! -s conftest.err
13058 } && test -s conftest.$ac_objext; then
13059 ac_cv_have_decl_CURLINFO_TOTAL_TIME=yes
13060 else
13061 echo "$as_me: failed program was:" >&5
13062 sed 's/^/| /' conftest.$ac_ext >&5
13064 ac_cv_have_decl_CURLINFO_TOTAL_TIME=no
13067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13069 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_TOTAL_TIME" >&5
13070 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_TOTAL_TIME" >&6; }
13071 if test $ac_cv_have_decl_CURLINFO_TOTAL_TIME = yes; then
13073 cat >>confdefs.h <<_ACEOF
13074 #define HAVE_DECL_CURLINFO_TOTAL_TIME 1
13075 _ACEOF
13078 else
13079 cat >>confdefs.h <<_ACEOF
13080 #define HAVE_DECL_CURLINFO_TOTAL_TIME 0
13081 _ACEOF
13085 { echo "$as_me:$LINENO: checking whether CURLINFO_NAMELOOKUP_TIME is declared" >&5
13086 echo $ECHO_N "checking whether CURLINFO_NAMELOOKUP_TIME is declared... $ECHO_C" >&6; }
13087 if test "${ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME+set}" = set; then
13088 echo $ECHO_N "(cached) $ECHO_C" >&6
13089 else
13090 cat >conftest.$ac_ext <<_ACEOF
13091 /* confdefs.h. */
13092 _ACEOF
13093 cat confdefs.h >>conftest.$ac_ext
13094 cat >>conftest.$ac_ext <<_ACEOF
13095 /* end confdefs.h. */
13097 #include "curl/curl.h"
13101 main ()
13103 #ifndef CURLINFO_NAMELOOKUP_TIME
13104 (void) CURLINFO_NAMELOOKUP_TIME;
13105 #endif
13108 return 0;
13110 _ACEOF
13111 rm -f conftest.$ac_objext
13112 if { (ac_try="$ac_compile"
13113 case "(($ac_try" in
13114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13115 *) ac_try_echo=$ac_try;;
13116 esac
13117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13118 (eval "$ac_compile") 2>conftest.er1
13119 ac_status=$?
13120 grep -v '^ *+' conftest.er1 >conftest.err
13121 rm -f conftest.er1
13122 cat conftest.err >&5
13123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13124 (exit $ac_status); } && {
13125 test -z "$ac_c_werror_flag" ||
13126 test ! -s conftest.err
13127 } && test -s conftest.$ac_objext; then
13128 ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME=yes
13129 else
13130 echo "$as_me: failed program was:" >&5
13131 sed 's/^/| /' conftest.$ac_ext >&5
13133 ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME=no
13136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13138 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" >&5
13139 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" >&6; }
13140 if test $ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME = yes; then
13142 cat >>confdefs.h <<_ACEOF
13143 #define HAVE_DECL_CURLINFO_NAMELOOKUP_TIME 1
13144 _ACEOF
13147 else
13148 cat >>confdefs.h <<_ACEOF
13149 #define HAVE_DECL_CURLINFO_NAMELOOKUP_TIME 0
13150 _ACEOF
13154 { echo "$as_me:$LINENO: checking whether CURLINFO_CONNECT_TIME is declared" >&5
13155 echo $ECHO_N "checking whether CURLINFO_CONNECT_TIME is declared... $ECHO_C" >&6; }
13156 if test "${ac_cv_have_decl_CURLINFO_CONNECT_TIME+set}" = set; then
13157 echo $ECHO_N "(cached) $ECHO_C" >&6
13158 else
13159 cat >conftest.$ac_ext <<_ACEOF
13160 /* confdefs.h. */
13161 _ACEOF
13162 cat confdefs.h >>conftest.$ac_ext
13163 cat >>conftest.$ac_ext <<_ACEOF
13164 /* end confdefs.h. */
13166 #include "curl/curl.h"
13170 main ()
13172 #ifndef CURLINFO_CONNECT_TIME
13173 (void) CURLINFO_CONNECT_TIME;
13174 #endif
13177 return 0;
13179 _ACEOF
13180 rm -f conftest.$ac_objext
13181 if { (ac_try="$ac_compile"
13182 case "(($ac_try" in
13183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13184 *) ac_try_echo=$ac_try;;
13185 esac
13186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13187 (eval "$ac_compile") 2>conftest.er1
13188 ac_status=$?
13189 grep -v '^ *+' conftest.er1 >conftest.err
13190 rm -f conftest.er1
13191 cat conftest.err >&5
13192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13193 (exit $ac_status); } && {
13194 test -z "$ac_c_werror_flag" ||
13195 test ! -s conftest.err
13196 } && test -s conftest.$ac_objext; then
13197 ac_cv_have_decl_CURLINFO_CONNECT_TIME=yes
13198 else
13199 echo "$as_me: failed program was:" >&5
13200 sed 's/^/| /' conftest.$ac_ext >&5
13202 ac_cv_have_decl_CURLINFO_CONNECT_TIME=no
13205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13207 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_CONNECT_TIME" >&5
13208 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_CONNECT_TIME" >&6; }
13209 if test $ac_cv_have_decl_CURLINFO_CONNECT_TIME = yes; then
13211 cat >>confdefs.h <<_ACEOF
13212 #define HAVE_DECL_CURLINFO_CONNECT_TIME 1
13213 _ACEOF
13216 else
13217 cat >>confdefs.h <<_ACEOF
13218 #define HAVE_DECL_CURLINFO_CONNECT_TIME 0
13219 _ACEOF
13223 { echo "$as_me:$LINENO: checking whether CURLINFO_PRETRANSFER_TIME is declared" >&5
13224 echo $ECHO_N "checking whether CURLINFO_PRETRANSFER_TIME is declared... $ECHO_C" >&6; }
13225 if test "${ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME+set}" = set; then
13226 echo $ECHO_N "(cached) $ECHO_C" >&6
13227 else
13228 cat >conftest.$ac_ext <<_ACEOF
13229 /* confdefs.h. */
13230 _ACEOF
13231 cat confdefs.h >>conftest.$ac_ext
13232 cat >>conftest.$ac_ext <<_ACEOF
13233 /* end confdefs.h. */
13235 #include "curl/curl.h"
13239 main ()
13241 #ifndef CURLINFO_PRETRANSFER_TIME
13242 (void) CURLINFO_PRETRANSFER_TIME;
13243 #endif
13246 return 0;
13248 _ACEOF
13249 rm -f conftest.$ac_objext
13250 if { (ac_try="$ac_compile"
13251 case "(($ac_try" in
13252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13253 *) ac_try_echo=$ac_try;;
13254 esac
13255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13256 (eval "$ac_compile") 2>conftest.er1
13257 ac_status=$?
13258 grep -v '^ *+' conftest.er1 >conftest.err
13259 rm -f conftest.er1
13260 cat conftest.err >&5
13261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13262 (exit $ac_status); } && {
13263 test -z "$ac_c_werror_flag" ||
13264 test ! -s conftest.err
13265 } && test -s conftest.$ac_objext; then
13266 ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME=yes
13267 else
13268 echo "$as_me: failed program was:" >&5
13269 sed 's/^/| /' conftest.$ac_ext >&5
13271 ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME=no
13274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13276 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" >&5
13277 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" >&6; }
13278 if test $ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME = yes; then
13280 cat >>confdefs.h <<_ACEOF
13281 #define HAVE_DECL_CURLINFO_PRETRANSFER_TIME 1
13282 _ACEOF
13285 else
13286 cat >>confdefs.h <<_ACEOF
13287 #define HAVE_DECL_CURLINFO_PRETRANSFER_TIME 0
13288 _ACEOF
13292 { echo "$as_me:$LINENO: checking whether CURLINFO_SIZE_UPLOAD is declared" >&5
13293 echo $ECHO_N "checking whether CURLINFO_SIZE_UPLOAD is declared... $ECHO_C" >&6; }
13294 if test "${ac_cv_have_decl_CURLINFO_SIZE_UPLOAD+set}" = set; then
13295 echo $ECHO_N "(cached) $ECHO_C" >&6
13296 else
13297 cat >conftest.$ac_ext <<_ACEOF
13298 /* confdefs.h. */
13299 _ACEOF
13300 cat confdefs.h >>conftest.$ac_ext
13301 cat >>conftest.$ac_ext <<_ACEOF
13302 /* end confdefs.h. */
13304 #include "curl/curl.h"
13308 main ()
13310 #ifndef CURLINFO_SIZE_UPLOAD
13311 (void) CURLINFO_SIZE_UPLOAD;
13312 #endif
13315 return 0;
13317 _ACEOF
13318 rm -f conftest.$ac_objext
13319 if { (ac_try="$ac_compile"
13320 case "(($ac_try" in
13321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13322 *) ac_try_echo=$ac_try;;
13323 esac
13324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13325 (eval "$ac_compile") 2>conftest.er1
13326 ac_status=$?
13327 grep -v '^ *+' conftest.er1 >conftest.err
13328 rm -f conftest.er1
13329 cat conftest.err >&5
13330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13331 (exit $ac_status); } && {
13332 test -z "$ac_c_werror_flag" ||
13333 test ! -s conftest.err
13334 } && test -s conftest.$ac_objext; then
13335 ac_cv_have_decl_CURLINFO_SIZE_UPLOAD=yes
13336 else
13337 echo "$as_me: failed program was:" >&5
13338 sed 's/^/| /' conftest.$ac_ext >&5
13340 ac_cv_have_decl_CURLINFO_SIZE_UPLOAD=no
13343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13345 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" >&5
13346 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" >&6; }
13347 if test $ac_cv_have_decl_CURLINFO_SIZE_UPLOAD = yes; then
13349 cat >>confdefs.h <<_ACEOF
13350 #define HAVE_DECL_CURLINFO_SIZE_UPLOAD 1
13351 _ACEOF
13354 else
13355 cat >>confdefs.h <<_ACEOF
13356 #define HAVE_DECL_CURLINFO_SIZE_UPLOAD 0
13357 _ACEOF
13361 { echo "$as_me:$LINENO: checking whether CURLINFO_SIZE_DOWNLOAD is declared" >&5
13362 echo $ECHO_N "checking whether CURLINFO_SIZE_DOWNLOAD is declared... $ECHO_C" >&6; }
13363 if test "${ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD+set}" = set; then
13364 echo $ECHO_N "(cached) $ECHO_C" >&6
13365 else
13366 cat >conftest.$ac_ext <<_ACEOF
13367 /* confdefs.h. */
13368 _ACEOF
13369 cat confdefs.h >>conftest.$ac_ext
13370 cat >>conftest.$ac_ext <<_ACEOF
13371 /* end confdefs.h. */
13373 #include "curl/curl.h"
13377 main ()
13379 #ifndef CURLINFO_SIZE_DOWNLOAD
13380 (void) CURLINFO_SIZE_DOWNLOAD;
13381 #endif
13384 return 0;
13386 _ACEOF
13387 rm -f conftest.$ac_objext
13388 if { (ac_try="$ac_compile"
13389 case "(($ac_try" in
13390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13391 *) ac_try_echo=$ac_try;;
13392 esac
13393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13394 (eval "$ac_compile") 2>conftest.er1
13395 ac_status=$?
13396 grep -v '^ *+' conftest.er1 >conftest.err
13397 rm -f conftest.er1
13398 cat conftest.err >&5
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); } && {
13401 test -z "$ac_c_werror_flag" ||
13402 test ! -s conftest.err
13403 } && test -s conftest.$ac_objext; then
13404 ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD=yes
13405 else
13406 echo "$as_me: failed program was:" >&5
13407 sed 's/^/| /' conftest.$ac_ext >&5
13409 ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD=no
13412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13414 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" >&5
13415 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" >&6; }
13416 if test $ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD = yes; then
13418 cat >>confdefs.h <<_ACEOF
13419 #define HAVE_DECL_CURLINFO_SIZE_DOWNLOAD 1
13420 _ACEOF
13423 else
13424 cat >>confdefs.h <<_ACEOF
13425 #define HAVE_DECL_CURLINFO_SIZE_DOWNLOAD 0
13426 _ACEOF
13430 { echo "$as_me:$LINENO: checking whether CURLINFO_SPEED_DOWNLOAD is declared" >&5
13431 echo $ECHO_N "checking whether CURLINFO_SPEED_DOWNLOAD is declared... $ECHO_C" >&6; }
13432 if test "${ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD+set}" = set; then
13433 echo $ECHO_N "(cached) $ECHO_C" >&6
13434 else
13435 cat >conftest.$ac_ext <<_ACEOF
13436 /* confdefs.h. */
13437 _ACEOF
13438 cat confdefs.h >>conftest.$ac_ext
13439 cat >>conftest.$ac_ext <<_ACEOF
13440 /* end confdefs.h. */
13442 #include "curl/curl.h"
13446 main ()
13448 #ifndef CURLINFO_SPEED_DOWNLOAD
13449 (void) CURLINFO_SPEED_DOWNLOAD;
13450 #endif
13453 return 0;
13455 _ACEOF
13456 rm -f conftest.$ac_objext
13457 if { (ac_try="$ac_compile"
13458 case "(($ac_try" in
13459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13460 *) ac_try_echo=$ac_try;;
13461 esac
13462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13463 (eval "$ac_compile") 2>conftest.er1
13464 ac_status=$?
13465 grep -v '^ *+' conftest.er1 >conftest.err
13466 rm -f conftest.er1
13467 cat conftest.err >&5
13468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13469 (exit $ac_status); } && {
13470 test -z "$ac_c_werror_flag" ||
13471 test ! -s conftest.err
13472 } && test -s conftest.$ac_objext; then
13473 ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD=yes
13474 else
13475 echo "$as_me: failed program was:" >&5
13476 sed 's/^/| /' conftest.$ac_ext >&5
13478 ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD=no
13481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13483 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" >&5
13484 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" >&6; }
13485 if test $ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD = yes; then
13487 cat >>confdefs.h <<_ACEOF
13488 #define HAVE_DECL_CURLINFO_SPEED_DOWNLOAD 1
13489 _ACEOF
13492 else
13493 cat >>confdefs.h <<_ACEOF
13494 #define HAVE_DECL_CURLINFO_SPEED_DOWNLOAD 0
13495 _ACEOF
13499 { echo "$as_me:$LINENO: checking whether CURLINFO_SPEED_UPLOAD is declared" >&5
13500 echo $ECHO_N "checking whether CURLINFO_SPEED_UPLOAD is declared... $ECHO_C" >&6; }
13501 if test "${ac_cv_have_decl_CURLINFO_SPEED_UPLOAD+set}" = set; then
13502 echo $ECHO_N "(cached) $ECHO_C" >&6
13503 else
13504 cat >conftest.$ac_ext <<_ACEOF
13505 /* confdefs.h. */
13506 _ACEOF
13507 cat confdefs.h >>conftest.$ac_ext
13508 cat >>conftest.$ac_ext <<_ACEOF
13509 /* end confdefs.h. */
13511 #include "curl/curl.h"
13515 main ()
13517 #ifndef CURLINFO_SPEED_UPLOAD
13518 (void) CURLINFO_SPEED_UPLOAD;
13519 #endif
13522 return 0;
13524 _ACEOF
13525 rm -f conftest.$ac_objext
13526 if { (ac_try="$ac_compile"
13527 case "(($ac_try" in
13528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13529 *) ac_try_echo=$ac_try;;
13530 esac
13531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13532 (eval "$ac_compile") 2>conftest.er1
13533 ac_status=$?
13534 grep -v '^ *+' conftest.er1 >conftest.err
13535 rm -f conftest.er1
13536 cat conftest.err >&5
13537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13538 (exit $ac_status); } && {
13539 test -z "$ac_c_werror_flag" ||
13540 test ! -s conftest.err
13541 } && test -s conftest.$ac_objext; then
13542 ac_cv_have_decl_CURLINFO_SPEED_UPLOAD=yes
13543 else
13544 echo "$as_me: failed program was:" >&5
13545 sed 's/^/| /' conftest.$ac_ext >&5
13547 ac_cv_have_decl_CURLINFO_SPEED_UPLOAD=no
13550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13552 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" >&5
13553 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" >&6; }
13554 if test $ac_cv_have_decl_CURLINFO_SPEED_UPLOAD = yes; then
13556 cat >>confdefs.h <<_ACEOF
13557 #define HAVE_DECL_CURLINFO_SPEED_UPLOAD 1
13558 _ACEOF
13561 else
13562 cat >>confdefs.h <<_ACEOF
13563 #define HAVE_DECL_CURLINFO_SPEED_UPLOAD 0
13564 _ACEOF
13568 { echo "$as_me:$LINENO: checking whether CURLINFO_HEADER_SIZE is declared" >&5
13569 echo $ECHO_N "checking whether CURLINFO_HEADER_SIZE is declared... $ECHO_C" >&6; }
13570 if test "${ac_cv_have_decl_CURLINFO_HEADER_SIZE+set}" = set; then
13571 echo $ECHO_N "(cached) $ECHO_C" >&6
13572 else
13573 cat >conftest.$ac_ext <<_ACEOF
13574 /* confdefs.h. */
13575 _ACEOF
13576 cat confdefs.h >>conftest.$ac_ext
13577 cat >>conftest.$ac_ext <<_ACEOF
13578 /* end confdefs.h. */
13580 #include "curl/curl.h"
13584 main ()
13586 #ifndef CURLINFO_HEADER_SIZE
13587 (void) CURLINFO_HEADER_SIZE;
13588 #endif
13591 return 0;
13593 _ACEOF
13594 rm -f conftest.$ac_objext
13595 if { (ac_try="$ac_compile"
13596 case "(($ac_try" in
13597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13598 *) ac_try_echo=$ac_try;;
13599 esac
13600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13601 (eval "$ac_compile") 2>conftest.er1
13602 ac_status=$?
13603 grep -v '^ *+' conftest.er1 >conftest.err
13604 rm -f conftest.er1
13605 cat conftest.err >&5
13606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13607 (exit $ac_status); } && {
13608 test -z "$ac_c_werror_flag" ||
13609 test ! -s conftest.err
13610 } && test -s conftest.$ac_objext; then
13611 ac_cv_have_decl_CURLINFO_HEADER_SIZE=yes
13612 else
13613 echo "$as_me: failed program was:" >&5
13614 sed 's/^/| /' conftest.$ac_ext >&5
13616 ac_cv_have_decl_CURLINFO_HEADER_SIZE=no
13619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13621 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_HEADER_SIZE" >&5
13622 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_HEADER_SIZE" >&6; }
13623 if test $ac_cv_have_decl_CURLINFO_HEADER_SIZE = yes; then
13625 cat >>confdefs.h <<_ACEOF
13626 #define HAVE_DECL_CURLINFO_HEADER_SIZE 1
13627 _ACEOF
13630 else
13631 cat >>confdefs.h <<_ACEOF
13632 #define HAVE_DECL_CURLINFO_HEADER_SIZE 0
13633 _ACEOF
13637 { echo "$as_me:$LINENO: checking whether CURLINFO_REQUEST_SIZE is declared" >&5
13638 echo $ECHO_N "checking whether CURLINFO_REQUEST_SIZE is declared... $ECHO_C" >&6; }
13639 if test "${ac_cv_have_decl_CURLINFO_REQUEST_SIZE+set}" = set; then
13640 echo $ECHO_N "(cached) $ECHO_C" >&6
13641 else
13642 cat >conftest.$ac_ext <<_ACEOF
13643 /* confdefs.h. */
13644 _ACEOF
13645 cat confdefs.h >>conftest.$ac_ext
13646 cat >>conftest.$ac_ext <<_ACEOF
13647 /* end confdefs.h. */
13649 #include "curl/curl.h"
13653 main ()
13655 #ifndef CURLINFO_REQUEST_SIZE
13656 (void) CURLINFO_REQUEST_SIZE;
13657 #endif
13660 return 0;
13662 _ACEOF
13663 rm -f conftest.$ac_objext
13664 if { (ac_try="$ac_compile"
13665 case "(($ac_try" in
13666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13667 *) ac_try_echo=$ac_try;;
13668 esac
13669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13670 (eval "$ac_compile") 2>conftest.er1
13671 ac_status=$?
13672 grep -v '^ *+' conftest.er1 >conftest.err
13673 rm -f conftest.er1
13674 cat conftest.err >&5
13675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13676 (exit $ac_status); } && {
13677 test -z "$ac_c_werror_flag" ||
13678 test ! -s conftest.err
13679 } && test -s conftest.$ac_objext; then
13680 ac_cv_have_decl_CURLINFO_REQUEST_SIZE=yes
13681 else
13682 echo "$as_me: failed program was:" >&5
13683 sed 's/^/| /' conftest.$ac_ext >&5
13685 ac_cv_have_decl_CURLINFO_REQUEST_SIZE=no
13688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13690 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_REQUEST_SIZE" >&5
13691 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_REQUEST_SIZE" >&6; }
13692 if test $ac_cv_have_decl_CURLINFO_REQUEST_SIZE = yes; then
13694 cat >>confdefs.h <<_ACEOF
13695 #define HAVE_DECL_CURLINFO_REQUEST_SIZE 1
13696 _ACEOF
13699 else
13700 cat >>confdefs.h <<_ACEOF
13701 #define HAVE_DECL_CURLINFO_REQUEST_SIZE 0
13702 _ACEOF
13706 { echo "$as_me:$LINENO: checking whether CURLINFO_SSL_VERIFYRESULT is declared" >&5
13707 echo $ECHO_N "checking whether CURLINFO_SSL_VERIFYRESULT is declared... $ECHO_C" >&6; }
13708 if test "${ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT+set}" = set; then
13709 echo $ECHO_N "(cached) $ECHO_C" >&6
13710 else
13711 cat >conftest.$ac_ext <<_ACEOF
13712 /* confdefs.h. */
13713 _ACEOF
13714 cat confdefs.h >>conftest.$ac_ext
13715 cat >>conftest.$ac_ext <<_ACEOF
13716 /* end confdefs.h. */
13718 #include "curl/curl.h"
13722 main ()
13724 #ifndef CURLINFO_SSL_VERIFYRESULT
13725 (void) CURLINFO_SSL_VERIFYRESULT;
13726 #endif
13729 return 0;
13731 _ACEOF
13732 rm -f conftest.$ac_objext
13733 if { (ac_try="$ac_compile"
13734 case "(($ac_try" in
13735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13736 *) ac_try_echo=$ac_try;;
13737 esac
13738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13739 (eval "$ac_compile") 2>conftest.er1
13740 ac_status=$?
13741 grep -v '^ *+' conftest.er1 >conftest.err
13742 rm -f conftest.er1
13743 cat conftest.err >&5
13744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); } && {
13746 test -z "$ac_c_werror_flag" ||
13747 test ! -s conftest.err
13748 } && test -s conftest.$ac_objext; then
13749 ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT=yes
13750 else
13751 echo "$as_me: failed program was:" >&5
13752 sed 's/^/| /' conftest.$ac_ext >&5
13754 ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT=no
13757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13759 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" >&5
13760 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" >&6; }
13761 if test $ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT = yes; then
13763 cat >>confdefs.h <<_ACEOF
13764 #define HAVE_DECL_CURLINFO_SSL_VERIFYRESULT 1
13765 _ACEOF
13768 else
13769 cat >>confdefs.h <<_ACEOF
13770 #define HAVE_DECL_CURLINFO_SSL_VERIFYRESULT 0
13771 _ACEOF
13775 { echo "$as_me:$LINENO: checking whether CURLINFO_FILETIME is declared" >&5
13776 echo $ECHO_N "checking whether CURLINFO_FILETIME is declared... $ECHO_C" >&6; }
13777 if test "${ac_cv_have_decl_CURLINFO_FILETIME+set}" = set; then
13778 echo $ECHO_N "(cached) $ECHO_C" >&6
13779 else
13780 cat >conftest.$ac_ext <<_ACEOF
13781 /* confdefs.h. */
13782 _ACEOF
13783 cat confdefs.h >>conftest.$ac_ext
13784 cat >>conftest.$ac_ext <<_ACEOF
13785 /* end confdefs.h. */
13787 #include "curl/curl.h"
13791 main ()
13793 #ifndef CURLINFO_FILETIME
13794 (void) CURLINFO_FILETIME;
13795 #endif
13798 return 0;
13800 _ACEOF
13801 rm -f conftest.$ac_objext
13802 if { (ac_try="$ac_compile"
13803 case "(($ac_try" in
13804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13805 *) ac_try_echo=$ac_try;;
13806 esac
13807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13808 (eval "$ac_compile") 2>conftest.er1
13809 ac_status=$?
13810 grep -v '^ *+' conftest.er1 >conftest.err
13811 rm -f conftest.er1
13812 cat conftest.err >&5
13813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13814 (exit $ac_status); } && {
13815 test -z "$ac_c_werror_flag" ||
13816 test ! -s conftest.err
13817 } && test -s conftest.$ac_objext; then
13818 ac_cv_have_decl_CURLINFO_FILETIME=yes
13819 else
13820 echo "$as_me: failed program was:" >&5
13821 sed 's/^/| /' conftest.$ac_ext >&5
13823 ac_cv_have_decl_CURLINFO_FILETIME=no
13826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13828 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_FILETIME" >&5
13829 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_FILETIME" >&6; }
13830 if test $ac_cv_have_decl_CURLINFO_FILETIME = yes; then
13832 cat >>confdefs.h <<_ACEOF
13833 #define HAVE_DECL_CURLINFO_FILETIME 1
13834 _ACEOF
13837 else
13838 cat >>confdefs.h <<_ACEOF
13839 #define HAVE_DECL_CURLINFO_FILETIME 0
13840 _ACEOF
13844 { echo "$as_me:$LINENO: checking whether CURLINFO_CONTENT_LENGTH_DOWNLOAD is declared" >&5
13845 echo $ECHO_N "checking whether CURLINFO_CONTENT_LENGTH_DOWNLOAD is declared... $ECHO_C" >&6; }
13846 if test "${ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD+set}" = set; then
13847 echo $ECHO_N "(cached) $ECHO_C" >&6
13848 else
13849 cat >conftest.$ac_ext <<_ACEOF
13850 /* confdefs.h. */
13851 _ACEOF
13852 cat confdefs.h >>conftest.$ac_ext
13853 cat >>conftest.$ac_ext <<_ACEOF
13854 /* end confdefs.h. */
13856 #include "curl/curl.h"
13860 main ()
13862 #ifndef CURLINFO_CONTENT_LENGTH_DOWNLOAD
13863 (void) CURLINFO_CONTENT_LENGTH_DOWNLOAD;
13864 #endif
13867 return 0;
13869 _ACEOF
13870 rm -f conftest.$ac_objext
13871 if { (ac_try="$ac_compile"
13872 case "(($ac_try" in
13873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13874 *) ac_try_echo=$ac_try;;
13875 esac
13876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13877 (eval "$ac_compile") 2>conftest.er1
13878 ac_status=$?
13879 grep -v '^ *+' conftest.er1 >conftest.err
13880 rm -f conftest.er1
13881 cat conftest.err >&5
13882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13883 (exit $ac_status); } && {
13884 test -z "$ac_c_werror_flag" ||
13885 test ! -s conftest.err
13886 } && test -s conftest.$ac_objext; then
13887 ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD=yes
13888 else
13889 echo "$as_me: failed program was:" >&5
13890 sed 's/^/| /' conftest.$ac_ext >&5
13892 ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD=no
13895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13897 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" >&5
13898 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" >&6; }
13899 if test $ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD = yes; then
13901 cat >>confdefs.h <<_ACEOF
13902 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_DOWNLOAD 1
13903 _ACEOF
13906 else
13907 cat >>confdefs.h <<_ACEOF
13908 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_DOWNLOAD 0
13909 _ACEOF
13913 { echo "$as_me:$LINENO: checking whether CURLINFO_CONTENT_LENGTH_UPLOAD is declared" >&5
13914 echo $ECHO_N "checking whether CURLINFO_CONTENT_LENGTH_UPLOAD is declared... $ECHO_C" >&6; }
13915 if test "${ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD+set}" = set; then
13916 echo $ECHO_N "(cached) $ECHO_C" >&6
13917 else
13918 cat >conftest.$ac_ext <<_ACEOF
13919 /* confdefs.h. */
13920 _ACEOF
13921 cat confdefs.h >>conftest.$ac_ext
13922 cat >>conftest.$ac_ext <<_ACEOF
13923 /* end confdefs.h. */
13925 #include "curl/curl.h"
13929 main ()
13931 #ifndef CURLINFO_CONTENT_LENGTH_UPLOAD
13932 (void) CURLINFO_CONTENT_LENGTH_UPLOAD;
13933 #endif
13936 return 0;
13938 _ACEOF
13939 rm -f conftest.$ac_objext
13940 if { (ac_try="$ac_compile"
13941 case "(($ac_try" in
13942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13943 *) ac_try_echo=$ac_try;;
13944 esac
13945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13946 (eval "$ac_compile") 2>conftest.er1
13947 ac_status=$?
13948 grep -v '^ *+' conftest.er1 >conftest.err
13949 rm -f conftest.er1
13950 cat conftest.err >&5
13951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13952 (exit $ac_status); } && {
13953 test -z "$ac_c_werror_flag" ||
13954 test ! -s conftest.err
13955 } && test -s conftest.$ac_objext; then
13956 ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD=yes
13957 else
13958 echo "$as_me: failed program was:" >&5
13959 sed 's/^/| /' conftest.$ac_ext >&5
13961 ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD=no
13964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13966 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" >&5
13967 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" >&6; }
13968 if test $ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD = yes; then
13970 cat >>confdefs.h <<_ACEOF
13971 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_UPLOAD 1
13972 _ACEOF
13975 else
13976 cat >>confdefs.h <<_ACEOF
13977 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_UPLOAD 0
13978 _ACEOF
13982 { echo "$as_me:$LINENO: checking whether CURLINFO_STARTTRANSFER_TIME is declared" >&5
13983 echo $ECHO_N "checking whether CURLINFO_STARTTRANSFER_TIME is declared... $ECHO_C" >&6; }
13984 if test "${ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME+set}" = set; then
13985 echo $ECHO_N "(cached) $ECHO_C" >&6
13986 else
13987 cat >conftest.$ac_ext <<_ACEOF
13988 /* confdefs.h. */
13989 _ACEOF
13990 cat confdefs.h >>conftest.$ac_ext
13991 cat >>conftest.$ac_ext <<_ACEOF
13992 /* end confdefs.h. */
13994 #include "curl/curl.h"
13998 main ()
14000 #ifndef CURLINFO_STARTTRANSFER_TIME
14001 (void) CURLINFO_STARTTRANSFER_TIME;
14002 #endif
14005 return 0;
14007 _ACEOF
14008 rm -f conftest.$ac_objext
14009 if { (ac_try="$ac_compile"
14010 case "(($ac_try" in
14011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14012 *) ac_try_echo=$ac_try;;
14013 esac
14014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14015 (eval "$ac_compile") 2>conftest.er1
14016 ac_status=$?
14017 grep -v '^ *+' conftest.er1 >conftest.err
14018 rm -f conftest.er1
14019 cat conftest.err >&5
14020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14021 (exit $ac_status); } && {
14022 test -z "$ac_c_werror_flag" ||
14023 test ! -s conftest.err
14024 } && test -s conftest.$ac_objext; then
14025 ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME=yes
14026 else
14027 echo "$as_me: failed program was:" >&5
14028 sed 's/^/| /' conftest.$ac_ext >&5
14030 ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME=no
14033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14035 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" >&5
14036 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" >&6; }
14037 if test $ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME = yes; then
14039 cat >>confdefs.h <<_ACEOF
14040 #define HAVE_DECL_CURLINFO_STARTTRANSFER_TIME 1
14041 _ACEOF
14044 else
14045 cat >>confdefs.h <<_ACEOF
14046 #define HAVE_DECL_CURLINFO_STARTTRANSFER_TIME 0
14047 _ACEOF
14051 { echo "$as_me:$LINENO: checking whether CURLINFO_CONTENT_TYPE is declared" >&5
14052 echo $ECHO_N "checking whether CURLINFO_CONTENT_TYPE is declared... $ECHO_C" >&6; }
14053 if test "${ac_cv_have_decl_CURLINFO_CONTENT_TYPE+set}" = set; then
14054 echo $ECHO_N "(cached) $ECHO_C" >&6
14055 else
14056 cat >conftest.$ac_ext <<_ACEOF
14057 /* confdefs.h. */
14058 _ACEOF
14059 cat confdefs.h >>conftest.$ac_ext
14060 cat >>conftest.$ac_ext <<_ACEOF
14061 /* end confdefs.h. */
14063 #include "curl/curl.h"
14067 main ()
14069 #ifndef CURLINFO_CONTENT_TYPE
14070 (void) CURLINFO_CONTENT_TYPE;
14071 #endif
14074 return 0;
14076 _ACEOF
14077 rm -f conftest.$ac_objext
14078 if { (ac_try="$ac_compile"
14079 case "(($ac_try" in
14080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14081 *) ac_try_echo=$ac_try;;
14082 esac
14083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14084 (eval "$ac_compile") 2>conftest.er1
14085 ac_status=$?
14086 grep -v '^ *+' conftest.er1 >conftest.err
14087 rm -f conftest.er1
14088 cat conftest.err >&5
14089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14090 (exit $ac_status); } && {
14091 test -z "$ac_c_werror_flag" ||
14092 test ! -s conftest.err
14093 } && test -s conftest.$ac_objext; then
14094 ac_cv_have_decl_CURLINFO_CONTENT_TYPE=yes
14095 else
14096 echo "$as_me: failed program was:" >&5
14097 sed 's/^/| /' conftest.$ac_ext >&5
14099 ac_cv_have_decl_CURLINFO_CONTENT_TYPE=no
14102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14104 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_CONTENT_TYPE" >&5
14105 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_CONTENT_TYPE" >&6; }
14106 if test $ac_cv_have_decl_CURLINFO_CONTENT_TYPE = yes; then
14108 cat >>confdefs.h <<_ACEOF
14109 #define HAVE_DECL_CURLINFO_CONTENT_TYPE 1
14110 _ACEOF
14113 else
14114 cat >>confdefs.h <<_ACEOF
14115 #define HAVE_DECL_CURLINFO_CONTENT_TYPE 0
14116 _ACEOF
14120 { echo "$as_me:$LINENO: checking whether CURLINFO_REDIRECT_TIME is declared" >&5
14121 echo $ECHO_N "checking whether CURLINFO_REDIRECT_TIME is declared... $ECHO_C" >&6; }
14122 if test "${ac_cv_have_decl_CURLINFO_REDIRECT_TIME+set}" = set; then
14123 echo $ECHO_N "(cached) $ECHO_C" >&6
14124 else
14125 cat >conftest.$ac_ext <<_ACEOF
14126 /* confdefs.h. */
14127 _ACEOF
14128 cat confdefs.h >>conftest.$ac_ext
14129 cat >>conftest.$ac_ext <<_ACEOF
14130 /* end confdefs.h. */
14132 #include "curl/curl.h"
14136 main ()
14138 #ifndef CURLINFO_REDIRECT_TIME
14139 (void) CURLINFO_REDIRECT_TIME;
14140 #endif
14143 return 0;
14145 _ACEOF
14146 rm -f conftest.$ac_objext
14147 if { (ac_try="$ac_compile"
14148 case "(($ac_try" in
14149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14150 *) ac_try_echo=$ac_try;;
14151 esac
14152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14153 (eval "$ac_compile") 2>conftest.er1
14154 ac_status=$?
14155 grep -v '^ *+' conftest.er1 >conftest.err
14156 rm -f conftest.er1
14157 cat conftest.err >&5
14158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14159 (exit $ac_status); } && {
14160 test -z "$ac_c_werror_flag" ||
14161 test ! -s conftest.err
14162 } && test -s conftest.$ac_objext; then
14163 ac_cv_have_decl_CURLINFO_REDIRECT_TIME=yes
14164 else
14165 echo "$as_me: failed program was:" >&5
14166 sed 's/^/| /' conftest.$ac_ext >&5
14168 ac_cv_have_decl_CURLINFO_REDIRECT_TIME=no
14171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14173 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_REDIRECT_TIME" >&5
14174 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_REDIRECT_TIME" >&6; }
14175 if test $ac_cv_have_decl_CURLINFO_REDIRECT_TIME = yes; then
14177 cat >>confdefs.h <<_ACEOF
14178 #define HAVE_DECL_CURLINFO_REDIRECT_TIME 1
14179 _ACEOF
14182 else
14183 cat >>confdefs.h <<_ACEOF
14184 #define HAVE_DECL_CURLINFO_REDIRECT_TIME 0
14185 _ACEOF
14189 { echo "$as_me:$LINENO: checking whether CURLINFO_REDIRECT_COUNT is declared" >&5
14190 echo $ECHO_N "checking whether CURLINFO_REDIRECT_COUNT is declared... $ECHO_C" >&6; }
14191 if test "${ac_cv_have_decl_CURLINFO_REDIRECT_COUNT+set}" = set; then
14192 echo $ECHO_N "(cached) $ECHO_C" >&6
14193 else
14194 cat >conftest.$ac_ext <<_ACEOF
14195 /* confdefs.h. */
14196 _ACEOF
14197 cat confdefs.h >>conftest.$ac_ext
14198 cat >>conftest.$ac_ext <<_ACEOF
14199 /* end confdefs.h. */
14201 #include "curl/curl.h"
14205 main ()
14207 #ifndef CURLINFO_REDIRECT_COUNT
14208 (void) CURLINFO_REDIRECT_COUNT;
14209 #endif
14212 return 0;
14214 _ACEOF
14215 rm -f conftest.$ac_objext
14216 if { (ac_try="$ac_compile"
14217 case "(($ac_try" in
14218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14219 *) ac_try_echo=$ac_try;;
14220 esac
14221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14222 (eval "$ac_compile") 2>conftest.er1
14223 ac_status=$?
14224 grep -v '^ *+' conftest.er1 >conftest.err
14225 rm -f conftest.er1
14226 cat conftest.err >&5
14227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14228 (exit $ac_status); } && {
14229 test -z "$ac_c_werror_flag" ||
14230 test ! -s conftest.err
14231 } && test -s conftest.$ac_objext; then
14232 ac_cv_have_decl_CURLINFO_REDIRECT_COUNT=yes
14233 else
14234 echo "$as_me: failed program was:" >&5
14235 sed 's/^/| /' conftest.$ac_ext >&5
14237 ac_cv_have_decl_CURLINFO_REDIRECT_COUNT=no
14240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14242 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" >&5
14243 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" >&6; }
14244 if test $ac_cv_have_decl_CURLINFO_REDIRECT_COUNT = yes; then
14246 cat >>confdefs.h <<_ACEOF
14247 #define HAVE_DECL_CURLINFO_REDIRECT_COUNT 1
14248 _ACEOF
14251 else
14252 cat >>confdefs.h <<_ACEOF
14253 #define HAVE_DECL_CURLINFO_REDIRECT_COUNT 0
14254 _ACEOF
14258 { echo "$as_me:$LINENO: checking whether CURLINFO_PRIVATE is declared" >&5
14259 echo $ECHO_N "checking whether CURLINFO_PRIVATE is declared... $ECHO_C" >&6; }
14260 if test "${ac_cv_have_decl_CURLINFO_PRIVATE+set}" = set; then
14261 echo $ECHO_N "(cached) $ECHO_C" >&6
14262 else
14263 cat >conftest.$ac_ext <<_ACEOF
14264 /* confdefs.h. */
14265 _ACEOF
14266 cat confdefs.h >>conftest.$ac_ext
14267 cat >>conftest.$ac_ext <<_ACEOF
14268 /* end confdefs.h. */
14270 #include "curl/curl.h"
14274 main ()
14276 #ifndef CURLINFO_PRIVATE
14277 (void) CURLINFO_PRIVATE;
14278 #endif
14281 return 0;
14283 _ACEOF
14284 rm -f conftest.$ac_objext
14285 if { (ac_try="$ac_compile"
14286 case "(($ac_try" in
14287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14288 *) ac_try_echo=$ac_try;;
14289 esac
14290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14291 (eval "$ac_compile") 2>conftest.er1
14292 ac_status=$?
14293 grep -v '^ *+' conftest.er1 >conftest.err
14294 rm -f conftest.er1
14295 cat conftest.err >&5
14296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297 (exit $ac_status); } && {
14298 test -z "$ac_c_werror_flag" ||
14299 test ! -s conftest.err
14300 } && test -s conftest.$ac_objext; then
14301 ac_cv_have_decl_CURLINFO_PRIVATE=yes
14302 else
14303 echo "$as_me: failed program was:" >&5
14304 sed 's/^/| /' conftest.$ac_ext >&5
14306 ac_cv_have_decl_CURLINFO_PRIVATE=no
14309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14311 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_PRIVATE" >&5
14312 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_PRIVATE" >&6; }
14313 if test $ac_cv_have_decl_CURLINFO_PRIVATE = yes; then
14315 cat >>confdefs.h <<_ACEOF
14316 #define HAVE_DECL_CURLINFO_PRIVATE 1
14317 _ACEOF
14320 else
14321 cat >>confdefs.h <<_ACEOF
14322 #define HAVE_DECL_CURLINFO_PRIVATE 0
14323 _ACEOF
14327 { echo "$as_me:$LINENO: checking whether CURLINFO_HTTP_CONNECTCODE is declared" >&5
14328 echo $ECHO_N "checking whether CURLINFO_HTTP_CONNECTCODE is declared... $ECHO_C" >&6; }
14329 if test "${ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE+set}" = set; then
14330 echo $ECHO_N "(cached) $ECHO_C" >&6
14331 else
14332 cat >conftest.$ac_ext <<_ACEOF
14333 /* confdefs.h. */
14334 _ACEOF
14335 cat confdefs.h >>conftest.$ac_ext
14336 cat >>conftest.$ac_ext <<_ACEOF
14337 /* end confdefs.h. */
14339 #include "curl/curl.h"
14343 main ()
14345 #ifndef CURLINFO_HTTP_CONNECTCODE
14346 (void) CURLINFO_HTTP_CONNECTCODE;
14347 #endif
14350 return 0;
14352 _ACEOF
14353 rm -f conftest.$ac_objext
14354 if { (ac_try="$ac_compile"
14355 case "(($ac_try" in
14356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14357 *) ac_try_echo=$ac_try;;
14358 esac
14359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14360 (eval "$ac_compile") 2>conftest.er1
14361 ac_status=$?
14362 grep -v '^ *+' conftest.er1 >conftest.err
14363 rm -f conftest.er1
14364 cat conftest.err >&5
14365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14366 (exit $ac_status); } && {
14367 test -z "$ac_c_werror_flag" ||
14368 test ! -s conftest.err
14369 } && test -s conftest.$ac_objext; then
14370 ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE=yes
14371 else
14372 echo "$as_me: failed program was:" >&5
14373 sed 's/^/| /' conftest.$ac_ext >&5
14375 ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE=no
14378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14380 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" >&5
14381 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" >&6; }
14382 if test $ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE = yes; then
14384 cat >>confdefs.h <<_ACEOF
14385 #define HAVE_DECL_CURLINFO_HTTP_CONNECTCODE 1
14386 _ACEOF
14389 else
14390 cat >>confdefs.h <<_ACEOF
14391 #define HAVE_DECL_CURLINFO_HTTP_CONNECTCODE 0
14392 _ACEOF
14396 { echo "$as_me:$LINENO: checking whether CURLINFO_HTTPAUTH_AVAIL is declared" >&5
14397 echo $ECHO_N "checking whether CURLINFO_HTTPAUTH_AVAIL is declared... $ECHO_C" >&6; }
14398 if test "${ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL+set}" = set; then
14399 echo $ECHO_N "(cached) $ECHO_C" >&6
14400 else
14401 cat >conftest.$ac_ext <<_ACEOF
14402 /* confdefs.h. */
14403 _ACEOF
14404 cat confdefs.h >>conftest.$ac_ext
14405 cat >>conftest.$ac_ext <<_ACEOF
14406 /* end confdefs.h. */
14408 #include "curl/curl.h"
14412 main ()
14414 #ifndef CURLINFO_HTTPAUTH_AVAIL
14415 (void) CURLINFO_HTTPAUTH_AVAIL;
14416 #endif
14419 return 0;
14421 _ACEOF
14422 rm -f conftest.$ac_objext
14423 if { (ac_try="$ac_compile"
14424 case "(($ac_try" in
14425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14426 *) ac_try_echo=$ac_try;;
14427 esac
14428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14429 (eval "$ac_compile") 2>conftest.er1
14430 ac_status=$?
14431 grep -v '^ *+' conftest.er1 >conftest.err
14432 rm -f conftest.er1
14433 cat conftest.err >&5
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); } && {
14436 test -z "$ac_c_werror_flag" ||
14437 test ! -s conftest.err
14438 } && test -s conftest.$ac_objext; then
14439 ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL=yes
14440 else
14441 echo "$as_me: failed program was:" >&5
14442 sed 's/^/| /' conftest.$ac_ext >&5
14444 ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL=no
14447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14449 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" >&5
14450 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" >&6; }
14451 if test $ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL = yes; then
14453 cat >>confdefs.h <<_ACEOF
14454 #define HAVE_DECL_CURLINFO_HTTPAUTH_AVAIL 1
14455 _ACEOF
14458 else
14459 cat >>confdefs.h <<_ACEOF
14460 #define HAVE_DECL_CURLINFO_HTTPAUTH_AVAIL 0
14461 _ACEOF
14465 { echo "$as_me:$LINENO: checking whether CURLINFO_PROXYAUTH_AVAIL is declared" >&5
14466 echo $ECHO_N "checking whether CURLINFO_PROXYAUTH_AVAIL is declared... $ECHO_C" >&6; }
14467 if test "${ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL+set}" = set; then
14468 echo $ECHO_N "(cached) $ECHO_C" >&6
14469 else
14470 cat >conftest.$ac_ext <<_ACEOF
14471 /* confdefs.h. */
14472 _ACEOF
14473 cat confdefs.h >>conftest.$ac_ext
14474 cat >>conftest.$ac_ext <<_ACEOF
14475 /* end confdefs.h. */
14477 #include "curl/curl.h"
14481 main ()
14483 #ifndef CURLINFO_PROXYAUTH_AVAIL
14484 (void) CURLINFO_PROXYAUTH_AVAIL;
14485 #endif
14488 return 0;
14490 _ACEOF
14491 rm -f conftest.$ac_objext
14492 if { (ac_try="$ac_compile"
14493 case "(($ac_try" in
14494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14495 *) ac_try_echo=$ac_try;;
14496 esac
14497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14498 (eval "$ac_compile") 2>conftest.er1
14499 ac_status=$?
14500 grep -v '^ *+' conftest.er1 >conftest.err
14501 rm -f conftest.er1
14502 cat conftest.err >&5
14503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14504 (exit $ac_status); } && {
14505 test -z "$ac_c_werror_flag" ||
14506 test ! -s conftest.err
14507 } && test -s conftest.$ac_objext; then
14508 ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL=yes
14509 else
14510 echo "$as_me: failed program was:" >&5
14511 sed 's/^/| /' conftest.$ac_ext >&5
14513 ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL=no
14516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14518 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" >&5
14519 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" >&6; }
14520 if test $ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL = yes; then
14522 cat >>confdefs.h <<_ACEOF
14523 #define HAVE_DECL_CURLINFO_PROXYAUTH_AVAIL 1
14524 _ACEOF
14527 else
14528 cat >>confdefs.h <<_ACEOF
14529 #define HAVE_DECL_CURLINFO_PROXYAUTH_AVAIL 0
14530 _ACEOF
14534 { echo "$as_me:$LINENO: checking whether CURLINFO_OS_ERRNO is declared" >&5
14535 echo $ECHO_N "checking whether CURLINFO_OS_ERRNO is declared... $ECHO_C" >&6; }
14536 if test "${ac_cv_have_decl_CURLINFO_OS_ERRNO+set}" = set; then
14537 echo $ECHO_N "(cached) $ECHO_C" >&6
14538 else
14539 cat >conftest.$ac_ext <<_ACEOF
14540 /* confdefs.h. */
14541 _ACEOF
14542 cat confdefs.h >>conftest.$ac_ext
14543 cat >>conftest.$ac_ext <<_ACEOF
14544 /* end confdefs.h. */
14546 #include "curl/curl.h"
14550 main ()
14552 #ifndef CURLINFO_OS_ERRNO
14553 (void) CURLINFO_OS_ERRNO;
14554 #endif
14557 return 0;
14559 _ACEOF
14560 rm -f conftest.$ac_objext
14561 if { (ac_try="$ac_compile"
14562 case "(($ac_try" in
14563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14564 *) ac_try_echo=$ac_try;;
14565 esac
14566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14567 (eval "$ac_compile") 2>conftest.er1
14568 ac_status=$?
14569 grep -v '^ *+' conftest.er1 >conftest.err
14570 rm -f conftest.er1
14571 cat conftest.err >&5
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); } && {
14574 test -z "$ac_c_werror_flag" ||
14575 test ! -s conftest.err
14576 } && test -s conftest.$ac_objext; then
14577 ac_cv_have_decl_CURLINFO_OS_ERRNO=yes
14578 else
14579 echo "$as_me: failed program was:" >&5
14580 sed 's/^/| /' conftest.$ac_ext >&5
14582 ac_cv_have_decl_CURLINFO_OS_ERRNO=no
14585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14587 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_OS_ERRNO" >&5
14588 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_OS_ERRNO" >&6; }
14589 if test $ac_cv_have_decl_CURLINFO_OS_ERRNO = yes; then
14591 cat >>confdefs.h <<_ACEOF
14592 #define HAVE_DECL_CURLINFO_OS_ERRNO 1
14593 _ACEOF
14596 else
14597 cat >>confdefs.h <<_ACEOF
14598 #define HAVE_DECL_CURLINFO_OS_ERRNO 0
14599 _ACEOF
14603 { echo "$as_me:$LINENO: checking whether CURLINFO_NUM_CONNECTS is declared" >&5
14604 echo $ECHO_N "checking whether CURLINFO_NUM_CONNECTS is declared... $ECHO_C" >&6; }
14605 if test "${ac_cv_have_decl_CURLINFO_NUM_CONNECTS+set}" = set; then
14606 echo $ECHO_N "(cached) $ECHO_C" >&6
14607 else
14608 cat >conftest.$ac_ext <<_ACEOF
14609 /* confdefs.h. */
14610 _ACEOF
14611 cat confdefs.h >>conftest.$ac_ext
14612 cat >>conftest.$ac_ext <<_ACEOF
14613 /* end confdefs.h. */
14615 #include "curl/curl.h"
14619 main ()
14621 #ifndef CURLINFO_NUM_CONNECTS
14622 (void) CURLINFO_NUM_CONNECTS;
14623 #endif
14626 return 0;
14628 _ACEOF
14629 rm -f conftest.$ac_objext
14630 if { (ac_try="$ac_compile"
14631 case "(($ac_try" in
14632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14633 *) ac_try_echo=$ac_try;;
14634 esac
14635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14636 (eval "$ac_compile") 2>conftest.er1
14637 ac_status=$?
14638 grep -v '^ *+' conftest.er1 >conftest.err
14639 rm -f conftest.er1
14640 cat conftest.err >&5
14641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14642 (exit $ac_status); } && {
14643 test -z "$ac_c_werror_flag" ||
14644 test ! -s conftest.err
14645 } && test -s conftest.$ac_objext; then
14646 ac_cv_have_decl_CURLINFO_NUM_CONNECTS=yes
14647 else
14648 echo "$as_me: failed program was:" >&5
14649 sed 's/^/| /' conftest.$ac_ext >&5
14651 ac_cv_have_decl_CURLINFO_NUM_CONNECTS=no
14654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14656 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_NUM_CONNECTS" >&5
14657 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_NUM_CONNECTS" >&6; }
14658 if test $ac_cv_have_decl_CURLINFO_NUM_CONNECTS = yes; then
14660 cat >>confdefs.h <<_ACEOF
14661 #define HAVE_DECL_CURLINFO_NUM_CONNECTS 1
14662 _ACEOF
14665 else
14666 cat >>confdefs.h <<_ACEOF
14667 #define HAVE_DECL_CURLINFO_NUM_CONNECTS 0
14668 _ACEOF
14672 { echo "$as_me:$LINENO: checking whether CURLINFO_SSL_ENGINES is declared" >&5
14673 echo $ECHO_N "checking whether CURLINFO_SSL_ENGINES is declared... $ECHO_C" >&6; }
14674 if test "${ac_cv_have_decl_CURLINFO_SSL_ENGINES+set}" = set; then
14675 echo $ECHO_N "(cached) $ECHO_C" >&6
14676 else
14677 cat >conftest.$ac_ext <<_ACEOF
14678 /* confdefs.h. */
14679 _ACEOF
14680 cat confdefs.h >>conftest.$ac_ext
14681 cat >>conftest.$ac_ext <<_ACEOF
14682 /* end confdefs.h. */
14684 #include "curl/curl.h"
14688 main ()
14690 #ifndef CURLINFO_SSL_ENGINES
14691 (void) CURLINFO_SSL_ENGINES;
14692 #endif
14695 return 0;
14697 _ACEOF
14698 rm -f conftest.$ac_objext
14699 if { (ac_try="$ac_compile"
14700 case "(($ac_try" in
14701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14702 *) ac_try_echo=$ac_try;;
14703 esac
14704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14705 (eval "$ac_compile") 2>conftest.er1
14706 ac_status=$?
14707 grep -v '^ *+' conftest.er1 >conftest.err
14708 rm -f conftest.er1
14709 cat conftest.err >&5
14710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14711 (exit $ac_status); } && {
14712 test -z "$ac_c_werror_flag" ||
14713 test ! -s conftest.err
14714 } && test -s conftest.$ac_objext; then
14715 ac_cv_have_decl_CURLINFO_SSL_ENGINES=yes
14716 else
14717 echo "$as_me: failed program was:" >&5
14718 sed 's/^/| /' conftest.$ac_ext >&5
14720 ac_cv_have_decl_CURLINFO_SSL_ENGINES=no
14723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14725 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_SSL_ENGINES" >&5
14726 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_SSL_ENGINES" >&6; }
14727 if test $ac_cv_have_decl_CURLINFO_SSL_ENGINES = yes; then
14729 cat >>confdefs.h <<_ACEOF
14730 #define HAVE_DECL_CURLINFO_SSL_ENGINES 1
14731 _ACEOF
14734 else
14735 cat >>confdefs.h <<_ACEOF
14736 #define HAVE_DECL_CURLINFO_SSL_ENGINES 0
14737 _ACEOF
14741 { echo "$as_me:$LINENO: checking whether CURLINFO_COOKIELIST is declared" >&5
14742 echo $ECHO_N "checking whether CURLINFO_COOKIELIST is declared... $ECHO_C" >&6; }
14743 if test "${ac_cv_have_decl_CURLINFO_COOKIELIST+set}" = set; then
14744 echo $ECHO_N "(cached) $ECHO_C" >&6
14745 else
14746 cat >conftest.$ac_ext <<_ACEOF
14747 /* confdefs.h. */
14748 _ACEOF
14749 cat confdefs.h >>conftest.$ac_ext
14750 cat >>conftest.$ac_ext <<_ACEOF
14751 /* end confdefs.h. */
14753 #include "curl/curl.h"
14757 main ()
14759 #ifndef CURLINFO_COOKIELIST
14760 (void) CURLINFO_COOKIELIST;
14761 #endif
14764 return 0;
14766 _ACEOF
14767 rm -f conftest.$ac_objext
14768 if { (ac_try="$ac_compile"
14769 case "(($ac_try" in
14770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14771 *) ac_try_echo=$ac_try;;
14772 esac
14773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14774 (eval "$ac_compile") 2>conftest.er1
14775 ac_status=$?
14776 grep -v '^ *+' conftest.er1 >conftest.err
14777 rm -f conftest.er1
14778 cat conftest.err >&5
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); } && {
14781 test -z "$ac_c_werror_flag" ||
14782 test ! -s conftest.err
14783 } && test -s conftest.$ac_objext; then
14784 ac_cv_have_decl_CURLINFO_COOKIELIST=yes
14785 else
14786 echo "$as_me: failed program was:" >&5
14787 sed 's/^/| /' conftest.$ac_ext >&5
14789 ac_cv_have_decl_CURLINFO_COOKIELIST=no
14792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14794 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_COOKIELIST" >&5
14795 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_COOKIELIST" >&6; }
14796 if test $ac_cv_have_decl_CURLINFO_COOKIELIST = yes; then
14798 cat >>confdefs.h <<_ACEOF
14799 #define HAVE_DECL_CURLINFO_COOKIELIST 1
14800 _ACEOF
14803 else
14804 cat >>confdefs.h <<_ACEOF
14805 #define HAVE_DECL_CURLINFO_COOKIELIST 0
14806 _ACEOF
14810 { echo "$as_me:$LINENO: checking whether CURLINFO_LASTSOCKET is declared" >&5
14811 echo $ECHO_N "checking whether CURLINFO_LASTSOCKET is declared... $ECHO_C" >&6; }
14812 if test "${ac_cv_have_decl_CURLINFO_LASTSOCKET+set}" = set; then
14813 echo $ECHO_N "(cached) $ECHO_C" >&6
14814 else
14815 cat >conftest.$ac_ext <<_ACEOF
14816 /* confdefs.h. */
14817 _ACEOF
14818 cat confdefs.h >>conftest.$ac_ext
14819 cat >>conftest.$ac_ext <<_ACEOF
14820 /* end confdefs.h. */
14822 #include "curl/curl.h"
14826 main ()
14828 #ifndef CURLINFO_LASTSOCKET
14829 (void) CURLINFO_LASTSOCKET;
14830 #endif
14833 return 0;
14835 _ACEOF
14836 rm -f conftest.$ac_objext
14837 if { (ac_try="$ac_compile"
14838 case "(($ac_try" in
14839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14840 *) ac_try_echo=$ac_try;;
14841 esac
14842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14843 (eval "$ac_compile") 2>conftest.er1
14844 ac_status=$?
14845 grep -v '^ *+' conftest.er1 >conftest.err
14846 rm -f conftest.er1
14847 cat conftest.err >&5
14848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849 (exit $ac_status); } && {
14850 test -z "$ac_c_werror_flag" ||
14851 test ! -s conftest.err
14852 } && test -s conftest.$ac_objext; then
14853 ac_cv_have_decl_CURLINFO_LASTSOCKET=yes
14854 else
14855 echo "$as_me: failed program was:" >&5
14856 sed 's/^/| /' conftest.$ac_ext >&5
14858 ac_cv_have_decl_CURLINFO_LASTSOCKET=no
14861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14863 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_LASTSOCKET" >&5
14864 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_LASTSOCKET" >&6; }
14865 if test $ac_cv_have_decl_CURLINFO_LASTSOCKET = yes; then
14867 cat >>confdefs.h <<_ACEOF
14868 #define HAVE_DECL_CURLINFO_LASTSOCKET 1
14869 _ACEOF
14872 else
14873 cat >>confdefs.h <<_ACEOF
14874 #define HAVE_DECL_CURLINFO_LASTSOCKET 0
14875 _ACEOF
14879 { echo "$as_me:$LINENO: checking whether CURLINFO_FTP_ENTRY_PATH is declared" >&5
14880 echo $ECHO_N "checking whether CURLINFO_FTP_ENTRY_PATH is declared... $ECHO_C" >&6; }
14881 if test "${ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH+set}" = set; then
14882 echo $ECHO_N "(cached) $ECHO_C" >&6
14883 else
14884 cat >conftest.$ac_ext <<_ACEOF
14885 /* confdefs.h. */
14886 _ACEOF
14887 cat confdefs.h >>conftest.$ac_ext
14888 cat >>conftest.$ac_ext <<_ACEOF
14889 /* end confdefs.h. */
14891 #include "curl/curl.h"
14895 main ()
14897 #ifndef CURLINFO_FTP_ENTRY_PATH
14898 (void) CURLINFO_FTP_ENTRY_PATH;
14899 #endif
14902 return 0;
14904 _ACEOF
14905 rm -f conftest.$ac_objext
14906 if { (ac_try="$ac_compile"
14907 case "(($ac_try" in
14908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14909 *) ac_try_echo=$ac_try;;
14910 esac
14911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14912 (eval "$ac_compile") 2>conftest.er1
14913 ac_status=$?
14914 grep -v '^ *+' conftest.er1 >conftest.err
14915 rm -f conftest.er1
14916 cat conftest.err >&5
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); } && {
14919 test -z "$ac_c_werror_flag" ||
14920 test ! -s conftest.err
14921 } && test -s conftest.$ac_objext; then
14922 ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH=yes
14923 else
14924 echo "$as_me: failed program was:" >&5
14925 sed 's/^/| /' conftest.$ac_ext >&5
14927 ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH=no
14930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14932 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" >&5
14933 echo "${ECHO_T}$ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" >&6; }
14934 if test $ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH = yes; then
14936 cat >>confdefs.h <<_ACEOF
14937 #define HAVE_DECL_CURLINFO_FTP_ENTRY_PATH 1
14938 _ACEOF
14941 else
14942 cat >>confdefs.h <<_ACEOF
14943 #define HAVE_DECL_CURLINFO_FTP_ENTRY_PATH 0
14944 _ACEOF
14948 { echo "$as_me:$LINENO: checking whether CURLE_UNSUPPORTED_PROTOCOL is declared" >&5
14949 echo $ECHO_N "checking whether CURLE_UNSUPPORTED_PROTOCOL is declared... $ECHO_C" >&6; }
14950 if test "${ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL+set}" = set; then
14951 echo $ECHO_N "(cached) $ECHO_C" >&6
14952 else
14953 cat >conftest.$ac_ext <<_ACEOF
14954 /* confdefs.h. */
14955 _ACEOF
14956 cat confdefs.h >>conftest.$ac_ext
14957 cat >>conftest.$ac_ext <<_ACEOF
14958 /* end confdefs.h. */
14960 #include "curl/curl.h"
14964 main ()
14966 #ifndef CURLE_UNSUPPORTED_PROTOCOL
14967 (void) CURLE_UNSUPPORTED_PROTOCOL;
14968 #endif
14971 return 0;
14973 _ACEOF
14974 rm -f conftest.$ac_objext
14975 if { (ac_try="$ac_compile"
14976 case "(($ac_try" in
14977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14978 *) ac_try_echo=$ac_try;;
14979 esac
14980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14981 (eval "$ac_compile") 2>conftest.er1
14982 ac_status=$?
14983 grep -v '^ *+' conftest.er1 >conftest.err
14984 rm -f conftest.er1
14985 cat conftest.err >&5
14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987 (exit $ac_status); } && {
14988 test -z "$ac_c_werror_flag" ||
14989 test ! -s conftest.err
14990 } && test -s conftest.$ac_objext; then
14991 ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL=yes
14992 else
14993 echo "$as_me: failed program was:" >&5
14994 sed 's/^/| /' conftest.$ac_ext >&5
14996 ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL=no
14999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15001 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" >&5
15002 echo "${ECHO_T}$ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" >&6; }
15003 if test $ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL = yes; then
15005 cat >>confdefs.h <<_ACEOF
15006 #define HAVE_DECL_CURLE_UNSUPPORTED_PROTOCOL 1
15007 _ACEOF
15010 else
15011 cat >>confdefs.h <<_ACEOF
15012 #define HAVE_DECL_CURLE_UNSUPPORTED_PROTOCOL 0
15013 _ACEOF
15017 { echo "$as_me:$LINENO: checking whether CURLE_FAILED_INIT is declared" >&5
15018 echo $ECHO_N "checking whether CURLE_FAILED_INIT is declared... $ECHO_C" >&6; }
15019 if test "${ac_cv_have_decl_CURLE_FAILED_INIT+set}" = set; then
15020 echo $ECHO_N "(cached) $ECHO_C" >&6
15021 else
15022 cat >conftest.$ac_ext <<_ACEOF
15023 /* confdefs.h. */
15024 _ACEOF
15025 cat confdefs.h >>conftest.$ac_ext
15026 cat >>conftest.$ac_ext <<_ACEOF
15027 /* end confdefs.h. */
15029 #include "curl/curl.h"
15033 main ()
15035 #ifndef CURLE_FAILED_INIT
15036 (void) CURLE_FAILED_INIT;
15037 #endif
15040 return 0;
15042 _ACEOF
15043 rm -f conftest.$ac_objext
15044 if { (ac_try="$ac_compile"
15045 case "(($ac_try" in
15046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15047 *) ac_try_echo=$ac_try;;
15048 esac
15049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15050 (eval "$ac_compile") 2>conftest.er1
15051 ac_status=$?
15052 grep -v '^ *+' conftest.er1 >conftest.err
15053 rm -f conftest.er1
15054 cat conftest.err >&5
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); } && {
15057 test -z "$ac_c_werror_flag" ||
15058 test ! -s conftest.err
15059 } && test -s conftest.$ac_objext; then
15060 ac_cv_have_decl_CURLE_FAILED_INIT=yes
15061 else
15062 echo "$as_me: failed program was:" >&5
15063 sed 's/^/| /' conftest.$ac_ext >&5
15065 ac_cv_have_decl_CURLE_FAILED_INIT=no
15068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15070 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_FAILED_INIT" >&5
15071 echo "${ECHO_T}$ac_cv_have_decl_CURLE_FAILED_INIT" >&6; }
15072 if test $ac_cv_have_decl_CURLE_FAILED_INIT = yes; then
15074 cat >>confdefs.h <<_ACEOF
15075 #define HAVE_DECL_CURLE_FAILED_INIT 1
15076 _ACEOF
15079 else
15080 cat >>confdefs.h <<_ACEOF
15081 #define HAVE_DECL_CURLE_FAILED_INIT 0
15082 _ACEOF
15086 { echo "$as_me:$LINENO: checking whether CURLE_URL_MALFORMAT is declared" >&5
15087 echo $ECHO_N "checking whether CURLE_URL_MALFORMAT is declared... $ECHO_C" >&6; }
15088 if test "${ac_cv_have_decl_CURLE_URL_MALFORMAT+set}" = set; then
15089 echo $ECHO_N "(cached) $ECHO_C" >&6
15090 else
15091 cat >conftest.$ac_ext <<_ACEOF
15092 /* confdefs.h. */
15093 _ACEOF
15094 cat confdefs.h >>conftest.$ac_ext
15095 cat >>conftest.$ac_ext <<_ACEOF
15096 /* end confdefs.h. */
15098 #include "curl/curl.h"
15102 main ()
15104 #ifndef CURLE_URL_MALFORMAT
15105 (void) CURLE_URL_MALFORMAT;
15106 #endif
15109 return 0;
15111 _ACEOF
15112 rm -f conftest.$ac_objext
15113 if { (ac_try="$ac_compile"
15114 case "(($ac_try" in
15115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15116 *) ac_try_echo=$ac_try;;
15117 esac
15118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15119 (eval "$ac_compile") 2>conftest.er1
15120 ac_status=$?
15121 grep -v '^ *+' conftest.er1 >conftest.err
15122 rm -f conftest.er1
15123 cat conftest.err >&5
15124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 (exit $ac_status); } && {
15126 test -z "$ac_c_werror_flag" ||
15127 test ! -s conftest.err
15128 } && test -s conftest.$ac_objext; then
15129 ac_cv_have_decl_CURLE_URL_MALFORMAT=yes
15130 else
15131 echo "$as_me: failed program was:" >&5
15132 sed 's/^/| /' conftest.$ac_ext >&5
15134 ac_cv_have_decl_CURLE_URL_MALFORMAT=no
15137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15139 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_URL_MALFORMAT" >&5
15140 echo "${ECHO_T}$ac_cv_have_decl_CURLE_URL_MALFORMAT" >&6; }
15141 if test $ac_cv_have_decl_CURLE_URL_MALFORMAT = yes; then
15143 cat >>confdefs.h <<_ACEOF
15144 #define HAVE_DECL_CURLE_URL_MALFORMAT 1
15145 _ACEOF
15148 else
15149 cat >>confdefs.h <<_ACEOF
15150 #define HAVE_DECL_CURLE_URL_MALFORMAT 0
15151 _ACEOF
15155 { echo "$as_me:$LINENO: checking whether CURLE_URL_MALFORMAT_USER is declared" >&5
15156 echo $ECHO_N "checking whether CURLE_URL_MALFORMAT_USER is declared... $ECHO_C" >&6; }
15157 if test "${ac_cv_have_decl_CURLE_URL_MALFORMAT_USER+set}" = set; then
15158 echo $ECHO_N "(cached) $ECHO_C" >&6
15159 else
15160 cat >conftest.$ac_ext <<_ACEOF
15161 /* confdefs.h. */
15162 _ACEOF
15163 cat confdefs.h >>conftest.$ac_ext
15164 cat >>conftest.$ac_ext <<_ACEOF
15165 /* end confdefs.h. */
15167 #include "curl/curl.h"
15171 main ()
15173 #ifndef CURLE_URL_MALFORMAT_USER
15174 (void) CURLE_URL_MALFORMAT_USER;
15175 #endif
15178 return 0;
15180 _ACEOF
15181 rm -f conftest.$ac_objext
15182 if { (ac_try="$ac_compile"
15183 case "(($ac_try" in
15184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15185 *) ac_try_echo=$ac_try;;
15186 esac
15187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15188 (eval "$ac_compile") 2>conftest.er1
15189 ac_status=$?
15190 grep -v '^ *+' conftest.er1 >conftest.err
15191 rm -f conftest.er1
15192 cat conftest.err >&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); } && {
15195 test -z "$ac_c_werror_flag" ||
15196 test ! -s conftest.err
15197 } && test -s conftest.$ac_objext; then
15198 ac_cv_have_decl_CURLE_URL_MALFORMAT_USER=yes
15199 else
15200 echo "$as_me: failed program was:" >&5
15201 sed 's/^/| /' conftest.$ac_ext >&5
15203 ac_cv_have_decl_CURLE_URL_MALFORMAT_USER=no
15206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15208 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" >&5
15209 echo "${ECHO_T}$ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" >&6; }
15210 if test $ac_cv_have_decl_CURLE_URL_MALFORMAT_USER = yes; then
15212 cat >>confdefs.h <<_ACEOF
15213 #define HAVE_DECL_CURLE_URL_MALFORMAT_USER 1
15214 _ACEOF
15217 else
15218 cat >>confdefs.h <<_ACEOF
15219 #define HAVE_DECL_CURLE_URL_MALFORMAT_USER 0
15220 _ACEOF
15224 { echo "$as_me:$LINENO: checking whether CURLE_COULDNT_RESOLVE_PROXY is declared" >&5
15225 echo $ECHO_N "checking whether CURLE_COULDNT_RESOLVE_PROXY is declared... $ECHO_C" >&6; }
15226 if test "${ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY+set}" = set; then
15227 echo $ECHO_N "(cached) $ECHO_C" >&6
15228 else
15229 cat >conftest.$ac_ext <<_ACEOF
15230 /* confdefs.h. */
15231 _ACEOF
15232 cat confdefs.h >>conftest.$ac_ext
15233 cat >>conftest.$ac_ext <<_ACEOF
15234 /* end confdefs.h. */
15236 #include "curl/curl.h"
15240 main ()
15242 #ifndef CURLE_COULDNT_RESOLVE_PROXY
15243 (void) CURLE_COULDNT_RESOLVE_PROXY;
15244 #endif
15247 return 0;
15249 _ACEOF
15250 rm -f conftest.$ac_objext
15251 if { (ac_try="$ac_compile"
15252 case "(($ac_try" in
15253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15254 *) ac_try_echo=$ac_try;;
15255 esac
15256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15257 (eval "$ac_compile") 2>conftest.er1
15258 ac_status=$?
15259 grep -v '^ *+' conftest.er1 >conftest.err
15260 rm -f conftest.er1
15261 cat conftest.err >&5
15262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15263 (exit $ac_status); } && {
15264 test -z "$ac_c_werror_flag" ||
15265 test ! -s conftest.err
15266 } && test -s conftest.$ac_objext; then
15267 ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY=yes
15268 else
15269 echo "$as_me: failed program was:" >&5
15270 sed 's/^/| /' conftest.$ac_ext >&5
15272 ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY=no
15275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15277 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" >&5
15278 echo "${ECHO_T}$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" >&6; }
15279 if test $ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY = yes; then
15281 cat >>confdefs.h <<_ACEOF
15282 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_PROXY 1
15283 _ACEOF
15286 else
15287 cat >>confdefs.h <<_ACEOF
15288 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_PROXY 0
15289 _ACEOF
15293 { echo "$as_me:$LINENO: checking whether CURLE_COULDNT_RESOLVE_HOST is declared" >&5
15294 echo $ECHO_N "checking whether CURLE_COULDNT_RESOLVE_HOST is declared... $ECHO_C" >&6; }
15295 if test "${ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST+set}" = set; then
15296 echo $ECHO_N "(cached) $ECHO_C" >&6
15297 else
15298 cat >conftest.$ac_ext <<_ACEOF
15299 /* confdefs.h. */
15300 _ACEOF
15301 cat confdefs.h >>conftest.$ac_ext
15302 cat >>conftest.$ac_ext <<_ACEOF
15303 /* end confdefs.h. */
15305 #include "curl/curl.h"
15309 main ()
15311 #ifndef CURLE_COULDNT_RESOLVE_HOST
15312 (void) CURLE_COULDNT_RESOLVE_HOST;
15313 #endif
15316 return 0;
15318 _ACEOF
15319 rm -f conftest.$ac_objext
15320 if { (ac_try="$ac_compile"
15321 case "(($ac_try" in
15322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15323 *) ac_try_echo=$ac_try;;
15324 esac
15325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15326 (eval "$ac_compile") 2>conftest.er1
15327 ac_status=$?
15328 grep -v '^ *+' conftest.er1 >conftest.err
15329 rm -f conftest.er1
15330 cat conftest.err >&5
15331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15332 (exit $ac_status); } && {
15333 test -z "$ac_c_werror_flag" ||
15334 test ! -s conftest.err
15335 } && test -s conftest.$ac_objext; then
15336 ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST=yes
15337 else
15338 echo "$as_me: failed program was:" >&5
15339 sed 's/^/| /' conftest.$ac_ext >&5
15341 ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST=no
15344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15346 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" >&5
15347 echo "${ECHO_T}$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" >&6; }
15348 if test $ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST = yes; then
15350 cat >>confdefs.h <<_ACEOF
15351 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_HOST 1
15352 _ACEOF
15355 else
15356 cat >>confdefs.h <<_ACEOF
15357 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_HOST 0
15358 _ACEOF
15362 { echo "$as_me:$LINENO: checking whether CURLE_COULDNT_CONNECT is declared" >&5
15363 echo $ECHO_N "checking whether CURLE_COULDNT_CONNECT is declared... $ECHO_C" >&6; }
15364 if test "${ac_cv_have_decl_CURLE_COULDNT_CONNECT+set}" = set; then
15365 echo $ECHO_N "(cached) $ECHO_C" >&6
15366 else
15367 cat >conftest.$ac_ext <<_ACEOF
15368 /* confdefs.h. */
15369 _ACEOF
15370 cat confdefs.h >>conftest.$ac_ext
15371 cat >>conftest.$ac_ext <<_ACEOF
15372 /* end confdefs.h. */
15374 #include "curl/curl.h"
15378 main ()
15380 #ifndef CURLE_COULDNT_CONNECT
15381 (void) CURLE_COULDNT_CONNECT;
15382 #endif
15385 return 0;
15387 _ACEOF
15388 rm -f conftest.$ac_objext
15389 if { (ac_try="$ac_compile"
15390 case "(($ac_try" in
15391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15392 *) ac_try_echo=$ac_try;;
15393 esac
15394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15395 (eval "$ac_compile") 2>conftest.er1
15396 ac_status=$?
15397 grep -v '^ *+' conftest.er1 >conftest.err
15398 rm -f conftest.er1
15399 cat conftest.err >&5
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); } && {
15402 test -z "$ac_c_werror_flag" ||
15403 test ! -s conftest.err
15404 } && test -s conftest.$ac_objext; then
15405 ac_cv_have_decl_CURLE_COULDNT_CONNECT=yes
15406 else
15407 echo "$as_me: failed program was:" >&5
15408 sed 's/^/| /' conftest.$ac_ext >&5
15410 ac_cv_have_decl_CURLE_COULDNT_CONNECT=no
15413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15415 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_COULDNT_CONNECT" >&5
15416 echo "${ECHO_T}$ac_cv_have_decl_CURLE_COULDNT_CONNECT" >&6; }
15417 if test $ac_cv_have_decl_CURLE_COULDNT_CONNECT = yes; then
15419 cat >>confdefs.h <<_ACEOF
15420 #define HAVE_DECL_CURLE_COULDNT_CONNECT 1
15421 _ACEOF
15424 else
15425 cat >>confdefs.h <<_ACEOF
15426 #define HAVE_DECL_CURLE_COULDNT_CONNECT 0
15427 _ACEOF
15431 { echo "$as_me:$LINENO: checking whether CURLE_FTP_WEIRD_SERVER_REPLY is declared" >&5
15432 echo $ECHO_N "checking whether CURLE_FTP_WEIRD_SERVER_REPLY is declared... $ECHO_C" >&6; }
15433 if test "${ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY+set}" = set; then
15434 echo $ECHO_N "(cached) $ECHO_C" >&6
15435 else
15436 cat >conftest.$ac_ext <<_ACEOF
15437 /* confdefs.h. */
15438 _ACEOF
15439 cat confdefs.h >>conftest.$ac_ext
15440 cat >>conftest.$ac_ext <<_ACEOF
15441 /* end confdefs.h. */
15443 #include "curl/curl.h"
15447 main ()
15449 #ifndef CURLE_FTP_WEIRD_SERVER_REPLY
15450 (void) CURLE_FTP_WEIRD_SERVER_REPLY;
15451 #endif
15454 return 0;
15456 _ACEOF
15457 rm -f conftest.$ac_objext
15458 if { (ac_try="$ac_compile"
15459 case "(($ac_try" in
15460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15461 *) ac_try_echo=$ac_try;;
15462 esac
15463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15464 (eval "$ac_compile") 2>conftest.er1
15465 ac_status=$?
15466 grep -v '^ *+' conftest.er1 >conftest.err
15467 rm -f conftest.er1
15468 cat conftest.err >&5
15469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15470 (exit $ac_status); } && {
15471 test -z "$ac_c_werror_flag" ||
15472 test ! -s conftest.err
15473 } && test -s conftest.$ac_objext; then
15474 ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY=yes
15475 else
15476 echo "$as_me: failed program was:" >&5
15477 sed 's/^/| /' conftest.$ac_ext >&5
15479 ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY=no
15482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15484 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" >&5
15485 echo "${ECHO_T}$ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" >&6; }
15486 if test $ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY = yes; then
15488 cat >>confdefs.h <<_ACEOF
15489 #define HAVE_DECL_CURLE_FTP_WEIRD_SERVER_REPLY 1
15490 _ACEOF
15493 else
15494 cat >>confdefs.h <<_ACEOF
15495 #define HAVE_DECL_CURLE_FTP_WEIRD_SERVER_REPLY 0
15496 _ACEOF
15500 { echo "$as_me:$LINENO: checking whether CURLE_FTP_ACCESS_DENIED is declared" >&5
15501 echo $ECHO_N "checking whether CURLE_FTP_ACCESS_DENIED is declared... $ECHO_C" >&6; }
15502 if test "${ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED+set}" = set; then
15503 echo $ECHO_N "(cached) $ECHO_C" >&6
15504 else
15505 cat >conftest.$ac_ext <<_ACEOF
15506 /* confdefs.h. */
15507 _ACEOF
15508 cat confdefs.h >>conftest.$ac_ext
15509 cat >>conftest.$ac_ext <<_ACEOF
15510 /* end confdefs.h. */
15512 #include "curl/curl.h"
15516 main ()
15518 #ifndef CURLE_FTP_ACCESS_DENIED
15519 (void) CURLE_FTP_ACCESS_DENIED;
15520 #endif
15523 return 0;
15525 _ACEOF
15526 rm -f conftest.$ac_objext
15527 if { (ac_try="$ac_compile"
15528 case "(($ac_try" in
15529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15530 *) ac_try_echo=$ac_try;;
15531 esac
15532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15533 (eval "$ac_compile") 2>conftest.er1
15534 ac_status=$?
15535 grep -v '^ *+' conftest.er1 >conftest.err
15536 rm -f conftest.er1
15537 cat conftest.err >&5
15538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15539 (exit $ac_status); } && {
15540 test -z "$ac_c_werror_flag" ||
15541 test ! -s conftest.err
15542 } && test -s conftest.$ac_objext; then
15543 ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED=yes
15544 else
15545 echo "$as_me: failed program was:" >&5
15546 sed 's/^/| /' conftest.$ac_ext >&5
15548 ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED=no
15551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15553 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" >&5
15554 echo "${ECHO_T}$ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" >&6; }
15555 if test $ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED = yes; then
15557 cat >>confdefs.h <<_ACEOF
15558 #define HAVE_DECL_CURLE_FTP_ACCESS_DENIED 1
15559 _ACEOF
15562 else
15563 cat >>confdefs.h <<_ACEOF
15564 #define HAVE_DECL_CURLE_FTP_ACCESS_DENIED 0
15565 _ACEOF
15569 { echo "$as_me:$LINENO: checking whether CURLE_FTP_USER_PASSWORD_INCORRECT is declared" >&5
15570 echo $ECHO_N "checking whether CURLE_FTP_USER_PASSWORD_INCORRECT is declared... $ECHO_C" >&6; }
15571 if test "${ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT+set}" = set; then
15572 echo $ECHO_N "(cached) $ECHO_C" >&6
15573 else
15574 cat >conftest.$ac_ext <<_ACEOF
15575 /* confdefs.h. */
15576 _ACEOF
15577 cat confdefs.h >>conftest.$ac_ext
15578 cat >>conftest.$ac_ext <<_ACEOF
15579 /* end confdefs.h. */
15581 #include "curl/curl.h"
15585 main ()
15587 #ifndef CURLE_FTP_USER_PASSWORD_INCORRECT
15588 (void) CURLE_FTP_USER_PASSWORD_INCORRECT;
15589 #endif
15592 return 0;
15594 _ACEOF
15595 rm -f conftest.$ac_objext
15596 if { (ac_try="$ac_compile"
15597 case "(($ac_try" in
15598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15599 *) ac_try_echo=$ac_try;;
15600 esac
15601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15602 (eval "$ac_compile") 2>conftest.er1
15603 ac_status=$?
15604 grep -v '^ *+' conftest.er1 >conftest.err
15605 rm -f conftest.er1
15606 cat conftest.err >&5
15607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15608 (exit $ac_status); } && {
15609 test -z "$ac_c_werror_flag" ||
15610 test ! -s conftest.err
15611 } && test -s conftest.$ac_objext; then
15612 ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT=yes
15613 else
15614 echo "$as_me: failed program was:" >&5
15615 sed 's/^/| /' conftest.$ac_ext >&5
15617 ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT=no
15620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15622 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" >&5
15623 echo "${ECHO_T}$ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" >&6; }
15624 if test $ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT = yes; then
15626 cat >>confdefs.h <<_ACEOF
15627 #define HAVE_DECL_CURLE_FTP_USER_PASSWORD_INCORRECT 1
15628 _ACEOF
15631 else
15632 cat >>confdefs.h <<_ACEOF
15633 #define HAVE_DECL_CURLE_FTP_USER_PASSWORD_INCORRECT 0
15634 _ACEOF
15638 { echo "$as_me:$LINENO: checking whether CURLE_FTP_WEIRD_PASS_REPLY is declared" >&5
15639 echo $ECHO_N "checking whether CURLE_FTP_WEIRD_PASS_REPLY is declared... $ECHO_C" >&6; }
15640 if test "${ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY+set}" = set; then
15641 echo $ECHO_N "(cached) $ECHO_C" >&6
15642 else
15643 cat >conftest.$ac_ext <<_ACEOF
15644 /* confdefs.h. */
15645 _ACEOF
15646 cat confdefs.h >>conftest.$ac_ext
15647 cat >>conftest.$ac_ext <<_ACEOF
15648 /* end confdefs.h. */
15650 #include "curl/curl.h"
15654 main ()
15656 #ifndef CURLE_FTP_WEIRD_PASS_REPLY
15657 (void) CURLE_FTP_WEIRD_PASS_REPLY;
15658 #endif
15661 return 0;
15663 _ACEOF
15664 rm -f conftest.$ac_objext
15665 if { (ac_try="$ac_compile"
15666 case "(($ac_try" in
15667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15668 *) ac_try_echo=$ac_try;;
15669 esac
15670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15671 (eval "$ac_compile") 2>conftest.er1
15672 ac_status=$?
15673 grep -v '^ *+' conftest.er1 >conftest.err
15674 rm -f conftest.er1
15675 cat conftest.err >&5
15676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15677 (exit $ac_status); } && {
15678 test -z "$ac_c_werror_flag" ||
15679 test ! -s conftest.err
15680 } && test -s conftest.$ac_objext; then
15681 ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY=yes
15682 else
15683 echo "$as_me: failed program was:" >&5
15684 sed 's/^/| /' conftest.$ac_ext >&5
15686 ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY=no
15689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15691 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" >&5
15692 echo "${ECHO_T}$ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" >&6; }
15693 if test $ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY = yes; then
15695 cat >>confdefs.h <<_ACEOF
15696 #define HAVE_DECL_CURLE_FTP_WEIRD_PASS_REPLY 1
15697 _ACEOF
15700 else
15701 cat >>confdefs.h <<_ACEOF
15702 #define HAVE_DECL_CURLE_FTP_WEIRD_PASS_REPLY 0
15703 _ACEOF
15707 { echo "$as_me:$LINENO: checking whether CURLE_FTP_WEIRD_USER_REPLY is declared" >&5
15708 echo $ECHO_N "checking whether CURLE_FTP_WEIRD_USER_REPLY is declared... $ECHO_C" >&6; }
15709 if test "${ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY+set}" = set; then
15710 echo $ECHO_N "(cached) $ECHO_C" >&6
15711 else
15712 cat >conftest.$ac_ext <<_ACEOF
15713 /* confdefs.h. */
15714 _ACEOF
15715 cat confdefs.h >>conftest.$ac_ext
15716 cat >>conftest.$ac_ext <<_ACEOF
15717 /* end confdefs.h. */
15719 #include "curl/curl.h"
15723 main ()
15725 #ifndef CURLE_FTP_WEIRD_USER_REPLY
15726 (void) CURLE_FTP_WEIRD_USER_REPLY;
15727 #endif
15730 return 0;
15732 _ACEOF
15733 rm -f conftest.$ac_objext
15734 if { (ac_try="$ac_compile"
15735 case "(($ac_try" in
15736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15737 *) ac_try_echo=$ac_try;;
15738 esac
15739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15740 (eval "$ac_compile") 2>conftest.er1
15741 ac_status=$?
15742 grep -v '^ *+' conftest.er1 >conftest.err
15743 rm -f conftest.er1
15744 cat conftest.err >&5
15745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15746 (exit $ac_status); } && {
15747 test -z "$ac_c_werror_flag" ||
15748 test ! -s conftest.err
15749 } && test -s conftest.$ac_objext; then
15750 ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY=yes
15751 else
15752 echo "$as_me: failed program was:" >&5
15753 sed 's/^/| /' conftest.$ac_ext >&5
15755 ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY=no
15758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15760 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" >&5
15761 echo "${ECHO_T}$ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" >&6; }
15762 if test $ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY = yes; then
15764 cat >>confdefs.h <<_ACEOF
15765 #define HAVE_DECL_CURLE_FTP_WEIRD_USER_REPLY 1
15766 _ACEOF
15769 else
15770 cat >>confdefs.h <<_ACEOF
15771 #define HAVE_DECL_CURLE_FTP_WEIRD_USER_REPLY 0
15772 _ACEOF
15776 { echo "$as_me:$LINENO: checking whether CURLE_FTP_WEIRD_PASV_REPLY is declared" >&5
15777 echo $ECHO_N "checking whether CURLE_FTP_WEIRD_PASV_REPLY is declared... $ECHO_C" >&6; }
15778 if test "${ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY+set}" = set; then
15779 echo $ECHO_N "(cached) $ECHO_C" >&6
15780 else
15781 cat >conftest.$ac_ext <<_ACEOF
15782 /* confdefs.h. */
15783 _ACEOF
15784 cat confdefs.h >>conftest.$ac_ext
15785 cat >>conftest.$ac_ext <<_ACEOF
15786 /* end confdefs.h. */
15788 #include "curl/curl.h"
15792 main ()
15794 #ifndef CURLE_FTP_WEIRD_PASV_REPLY
15795 (void) CURLE_FTP_WEIRD_PASV_REPLY;
15796 #endif
15799 return 0;
15801 _ACEOF
15802 rm -f conftest.$ac_objext
15803 if { (ac_try="$ac_compile"
15804 case "(($ac_try" in
15805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15806 *) ac_try_echo=$ac_try;;
15807 esac
15808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15809 (eval "$ac_compile") 2>conftest.er1
15810 ac_status=$?
15811 grep -v '^ *+' conftest.er1 >conftest.err
15812 rm -f conftest.er1
15813 cat conftest.err >&5
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); } && {
15816 test -z "$ac_c_werror_flag" ||
15817 test ! -s conftest.err
15818 } && test -s conftest.$ac_objext; then
15819 ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY=yes
15820 else
15821 echo "$as_me: failed program was:" >&5
15822 sed 's/^/| /' conftest.$ac_ext >&5
15824 ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY=no
15827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15829 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY" >&5
15830 echo "${ECHO_T}$ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY" >&6; }
15831 if test $ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY = yes; then
15833 cat >>confdefs.h <<_ACEOF
15834 #define HAVE_DECL_CURLE_FTP_WEIRD_PASV_REPLY 1
15835 _ACEOF
15838 else
15839 cat >>confdefs.h <<_ACEOF
15840 #define HAVE_DECL_CURLE_FTP_WEIRD_PASV_REPLY 0
15841 _ACEOF
15845 { echo "$as_me:$LINENO: checking whether CURLE_FTP_WEIRD_227_FORMAT is declared" >&5
15846 echo $ECHO_N "checking whether CURLE_FTP_WEIRD_227_FORMAT is declared... $ECHO_C" >&6; }
15847 if test "${ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT+set}" = set; then
15848 echo $ECHO_N "(cached) $ECHO_C" >&6
15849 else
15850 cat >conftest.$ac_ext <<_ACEOF
15851 /* confdefs.h. */
15852 _ACEOF
15853 cat confdefs.h >>conftest.$ac_ext
15854 cat >>conftest.$ac_ext <<_ACEOF
15855 /* end confdefs.h. */
15857 #include "curl/curl.h"
15861 main ()
15863 #ifndef CURLE_FTP_WEIRD_227_FORMAT
15864 (void) CURLE_FTP_WEIRD_227_FORMAT;
15865 #endif
15868 return 0;
15870 _ACEOF
15871 rm -f conftest.$ac_objext
15872 if { (ac_try="$ac_compile"
15873 case "(($ac_try" in
15874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15875 *) ac_try_echo=$ac_try;;
15876 esac
15877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15878 (eval "$ac_compile") 2>conftest.er1
15879 ac_status=$?
15880 grep -v '^ *+' conftest.er1 >conftest.err
15881 rm -f conftest.er1
15882 cat conftest.err >&5
15883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15884 (exit $ac_status); } && {
15885 test -z "$ac_c_werror_flag" ||
15886 test ! -s conftest.err
15887 } && test -s conftest.$ac_objext; then
15888 ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT=yes
15889 else
15890 echo "$as_me: failed program was:" >&5
15891 sed 's/^/| /' conftest.$ac_ext >&5
15893 ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT=no
15896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15898 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" >&5
15899 echo "${ECHO_T}$ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" >&6; }
15900 if test $ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT = yes; then
15902 cat >>confdefs.h <<_ACEOF
15903 #define HAVE_DECL_CURLE_FTP_WEIRD_227_FORMAT 1
15904 _ACEOF
15907 else
15908 cat >>confdefs.h <<_ACEOF
15909 #define HAVE_DECL_CURLE_FTP_WEIRD_227_FORMAT 0
15910 _ACEOF
15914 { echo "$as_me:$LINENO: checking whether CURLE_FTP_CANT_GET_HOST is declared" >&5
15915 echo $ECHO_N "checking whether CURLE_FTP_CANT_GET_HOST is declared... $ECHO_C" >&6; }
15916 if test "${ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST+set}" = set; then
15917 echo $ECHO_N "(cached) $ECHO_C" >&6
15918 else
15919 cat >conftest.$ac_ext <<_ACEOF
15920 /* confdefs.h. */
15921 _ACEOF
15922 cat confdefs.h >>conftest.$ac_ext
15923 cat >>conftest.$ac_ext <<_ACEOF
15924 /* end confdefs.h. */
15926 #include "curl/curl.h"
15930 main ()
15932 #ifndef CURLE_FTP_CANT_GET_HOST
15933 (void) CURLE_FTP_CANT_GET_HOST;
15934 #endif
15937 return 0;
15939 _ACEOF
15940 rm -f conftest.$ac_objext
15941 if { (ac_try="$ac_compile"
15942 case "(($ac_try" in
15943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15944 *) ac_try_echo=$ac_try;;
15945 esac
15946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15947 (eval "$ac_compile") 2>conftest.er1
15948 ac_status=$?
15949 grep -v '^ *+' conftest.er1 >conftest.err
15950 rm -f conftest.er1
15951 cat conftest.err >&5
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); } && {
15954 test -z "$ac_c_werror_flag" ||
15955 test ! -s conftest.err
15956 } && test -s conftest.$ac_objext; then
15957 ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST=yes
15958 else
15959 echo "$as_me: failed program was:" >&5
15960 sed 's/^/| /' conftest.$ac_ext >&5
15962 ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST=no
15965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15967 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" >&5
15968 echo "${ECHO_T}$ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" >&6; }
15969 if test $ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST = yes; then
15971 cat >>confdefs.h <<_ACEOF
15972 #define HAVE_DECL_CURLE_FTP_CANT_GET_HOST 1
15973 _ACEOF
15976 else
15977 cat >>confdefs.h <<_ACEOF
15978 #define HAVE_DECL_CURLE_FTP_CANT_GET_HOST 0
15979 _ACEOF
15983 { echo "$as_me:$LINENO: checking whether CURLE_FTP_CANT_RECONNECT is declared" >&5
15984 echo $ECHO_N "checking whether CURLE_FTP_CANT_RECONNECT is declared... $ECHO_C" >&6; }
15985 if test "${ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT+set}" = set; then
15986 echo $ECHO_N "(cached) $ECHO_C" >&6
15987 else
15988 cat >conftest.$ac_ext <<_ACEOF
15989 /* confdefs.h. */
15990 _ACEOF
15991 cat confdefs.h >>conftest.$ac_ext
15992 cat >>conftest.$ac_ext <<_ACEOF
15993 /* end confdefs.h. */
15995 #include "curl/curl.h"
15999 main ()
16001 #ifndef CURLE_FTP_CANT_RECONNECT
16002 (void) CURLE_FTP_CANT_RECONNECT;
16003 #endif
16006 return 0;
16008 _ACEOF
16009 rm -f conftest.$ac_objext
16010 if { (ac_try="$ac_compile"
16011 case "(($ac_try" in
16012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16013 *) ac_try_echo=$ac_try;;
16014 esac
16015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16016 (eval "$ac_compile") 2>conftest.er1
16017 ac_status=$?
16018 grep -v '^ *+' conftest.er1 >conftest.err
16019 rm -f conftest.er1
16020 cat conftest.err >&5
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); } && {
16023 test -z "$ac_c_werror_flag" ||
16024 test ! -s conftest.err
16025 } && test -s conftest.$ac_objext; then
16026 ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT=yes
16027 else
16028 echo "$as_me: failed program was:" >&5
16029 sed 's/^/| /' conftest.$ac_ext >&5
16031 ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT=no
16034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16036 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" >&5
16037 echo "${ECHO_T}$ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" >&6; }
16038 if test $ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT = yes; then
16040 cat >>confdefs.h <<_ACEOF
16041 #define HAVE_DECL_CURLE_FTP_CANT_RECONNECT 1
16042 _ACEOF
16045 else
16046 cat >>confdefs.h <<_ACEOF
16047 #define HAVE_DECL_CURLE_FTP_CANT_RECONNECT 0
16048 _ACEOF
16052 { echo "$as_me:$LINENO: checking whether CURLE_FTP_COULDNT_SET_BINARY is declared" >&5
16053 echo $ECHO_N "checking whether CURLE_FTP_COULDNT_SET_BINARY is declared... $ECHO_C" >&6; }
16054 if test "${ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY+set}" = set; then
16055 echo $ECHO_N "(cached) $ECHO_C" >&6
16056 else
16057 cat >conftest.$ac_ext <<_ACEOF
16058 /* confdefs.h. */
16059 _ACEOF
16060 cat confdefs.h >>conftest.$ac_ext
16061 cat >>conftest.$ac_ext <<_ACEOF
16062 /* end confdefs.h. */
16064 #include "curl/curl.h"
16068 main ()
16070 #ifndef CURLE_FTP_COULDNT_SET_BINARY
16071 (void) CURLE_FTP_COULDNT_SET_BINARY;
16072 #endif
16075 return 0;
16077 _ACEOF
16078 rm -f conftest.$ac_objext
16079 if { (ac_try="$ac_compile"
16080 case "(($ac_try" in
16081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16082 *) ac_try_echo=$ac_try;;
16083 esac
16084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16085 (eval "$ac_compile") 2>conftest.er1
16086 ac_status=$?
16087 grep -v '^ *+' conftest.er1 >conftest.err
16088 rm -f conftest.er1
16089 cat conftest.err >&5
16090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16091 (exit $ac_status); } && {
16092 test -z "$ac_c_werror_flag" ||
16093 test ! -s conftest.err
16094 } && test -s conftest.$ac_objext; then
16095 ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY=yes
16096 else
16097 echo "$as_me: failed program was:" >&5
16098 sed 's/^/| /' conftest.$ac_ext >&5
16100 ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY=no
16103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16105 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" >&5
16106 echo "${ECHO_T}$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" >&6; }
16107 if test $ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY = yes; then
16109 cat >>confdefs.h <<_ACEOF
16110 #define HAVE_DECL_CURLE_FTP_COULDNT_SET_BINARY 1
16111 _ACEOF
16114 else
16115 cat >>confdefs.h <<_ACEOF
16116 #define HAVE_DECL_CURLE_FTP_COULDNT_SET_BINARY 0
16117 _ACEOF
16121 { echo "$as_me:$LINENO: checking whether CURLE_PARTIAL_FILE is declared" >&5
16122 echo $ECHO_N "checking whether CURLE_PARTIAL_FILE is declared... $ECHO_C" >&6; }
16123 if test "${ac_cv_have_decl_CURLE_PARTIAL_FILE+set}" = set; then
16124 echo $ECHO_N "(cached) $ECHO_C" >&6
16125 else
16126 cat >conftest.$ac_ext <<_ACEOF
16127 /* confdefs.h. */
16128 _ACEOF
16129 cat confdefs.h >>conftest.$ac_ext
16130 cat >>conftest.$ac_ext <<_ACEOF
16131 /* end confdefs.h. */
16133 #include "curl/curl.h"
16137 main ()
16139 #ifndef CURLE_PARTIAL_FILE
16140 (void) CURLE_PARTIAL_FILE;
16141 #endif
16144 return 0;
16146 _ACEOF
16147 rm -f conftest.$ac_objext
16148 if { (ac_try="$ac_compile"
16149 case "(($ac_try" in
16150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16151 *) ac_try_echo=$ac_try;;
16152 esac
16153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16154 (eval "$ac_compile") 2>conftest.er1
16155 ac_status=$?
16156 grep -v '^ *+' conftest.er1 >conftest.err
16157 rm -f conftest.er1
16158 cat conftest.err >&5
16159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16160 (exit $ac_status); } && {
16161 test -z "$ac_c_werror_flag" ||
16162 test ! -s conftest.err
16163 } && test -s conftest.$ac_objext; then
16164 ac_cv_have_decl_CURLE_PARTIAL_FILE=yes
16165 else
16166 echo "$as_me: failed program was:" >&5
16167 sed 's/^/| /' conftest.$ac_ext >&5
16169 ac_cv_have_decl_CURLE_PARTIAL_FILE=no
16172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16174 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_PARTIAL_FILE" >&5
16175 echo "${ECHO_T}$ac_cv_have_decl_CURLE_PARTIAL_FILE" >&6; }
16176 if test $ac_cv_have_decl_CURLE_PARTIAL_FILE = yes; then
16178 cat >>confdefs.h <<_ACEOF
16179 #define HAVE_DECL_CURLE_PARTIAL_FILE 1
16180 _ACEOF
16183 else
16184 cat >>confdefs.h <<_ACEOF
16185 #define HAVE_DECL_CURLE_PARTIAL_FILE 0
16186 _ACEOF
16190 { echo "$as_me:$LINENO: checking whether CURLE_FTP_COULDNT_RETR_FILE is declared" >&5
16191 echo $ECHO_N "checking whether CURLE_FTP_COULDNT_RETR_FILE is declared... $ECHO_C" >&6; }
16192 if test "${ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE+set}" = set; then
16193 echo $ECHO_N "(cached) $ECHO_C" >&6
16194 else
16195 cat >conftest.$ac_ext <<_ACEOF
16196 /* confdefs.h. */
16197 _ACEOF
16198 cat confdefs.h >>conftest.$ac_ext
16199 cat >>conftest.$ac_ext <<_ACEOF
16200 /* end confdefs.h. */
16202 #include "curl/curl.h"
16206 main ()
16208 #ifndef CURLE_FTP_COULDNT_RETR_FILE
16209 (void) CURLE_FTP_COULDNT_RETR_FILE;
16210 #endif
16213 return 0;
16215 _ACEOF
16216 rm -f conftest.$ac_objext
16217 if { (ac_try="$ac_compile"
16218 case "(($ac_try" in
16219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16220 *) ac_try_echo=$ac_try;;
16221 esac
16222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16223 (eval "$ac_compile") 2>conftest.er1
16224 ac_status=$?
16225 grep -v '^ *+' conftest.er1 >conftest.err
16226 rm -f conftest.er1
16227 cat conftest.err >&5
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); } && {
16230 test -z "$ac_c_werror_flag" ||
16231 test ! -s conftest.err
16232 } && test -s conftest.$ac_objext; then
16233 ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE=yes
16234 else
16235 echo "$as_me: failed program was:" >&5
16236 sed 's/^/| /' conftest.$ac_ext >&5
16238 ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE=no
16241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16243 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" >&5
16244 echo "${ECHO_T}$ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" >&6; }
16245 if test $ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE = yes; then
16247 cat >>confdefs.h <<_ACEOF
16248 #define HAVE_DECL_CURLE_FTP_COULDNT_RETR_FILE 1
16249 _ACEOF
16252 else
16253 cat >>confdefs.h <<_ACEOF
16254 #define HAVE_DECL_CURLE_FTP_COULDNT_RETR_FILE 0
16255 _ACEOF
16259 { echo "$as_me:$LINENO: checking whether CURLE_FTP_WRITE_ERROR is declared" >&5
16260 echo $ECHO_N "checking whether CURLE_FTP_WRITE_ERROR is declared... $ECHO_C" >&6; }
16261 if test "${ac_cv_have_decl_CURLE_FTP_WRITE_ERROR+set}" = set; then
16262 echo $ECHO_N "(cached) $ECHO_C" >&6
16263 else
16264 cat >conftest.$ac_ext <<_ACEOF
16265 /* confdefs.h. */
16266 _ACEOF
16267 cat confdefs.h >>conftest.$ac_ext
16268 cat >>conftest.$ac_ext <<_ACEOF
16269 /* end confdefs.h. */
16271 #include "curl/curl.h"
16275 main ()
16277 #ifndef CURLE_FTP_WRITE_ERROR
16278 (void) CURLE_FTP_WRITE_ERROR;
16279 #endif
16282 return 0;
16284 _ACEOF
16285 rm -f conftest.$ac_objext
16286 if { (ac_try="$ac_compile"
16287 case "(($ac_try" in
16288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16289 *) ac_try_echo=$ac_try;;
16290 esac
16291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16292 (eval "$ac_compile") 2>conftest.er1
16293 ac_status=$?
16294 grep -v '^ *+' conftest.er1 >conftest.err
16295 rm -f conftest.er1
16296 cat conftest.err >&5
16297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16298 (exit $ac_status); } && {
16299 test -z "$ac_c_werror_flag" ||
16300 test ! -s conftest.err
16301 } && test -s conftest.$ac_objext; then
16302 ac_cv_have_decl_CURLE_FTP_WRITE_ERROR=yes
16303 else
16304 echo "$as_me: failed program was:" >&5
16305 sed 's/^/| /' conftest.$ac_ext >&5
16307 ac_cv_have_decl_CURLE_FTP_WRITE_ERROR=no
16310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16312 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" >&5
16313 echo "${ECHO_T}$ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" >&6; }
16314 if test $ac_cv_have_decl_CURLE_FTP_WRITE_ERROR = yes; then
16316 cat >>confdefs.h <<_ACEOF
16317 #define HAVE_DECL_CURLE_FTP_WRITE_ERROR 1
16318 _ACEOF
16321 else
16322 cat >>confdefs.h <<_ACEOF
16323 #define HAVE_DECL_CURLE_FTP_WRITE_ERROR 0
16324 _ACEOF
16328 { echo "$as_me:$LINENO: checking whether CURLE_FTP_QUOTE_ERROR is declared" >&5
16329 echo $ECHO_N "checking whether CURLE_FTP_QUOTE_ERROR is declared... $ECHO_C" >&6; }
16330 if test "${ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR+set}" = set; then
16331 echo $ECHO_N "(cached) $ECHO_C" >&6
16332 else
16333 cat >conftest.$ac_ext <<_ACEOF
16334 /* confdefs.h. */
16335 _ACEOF
16336 cat confdefs.h >>conftest.$ac_ext
16337 cat >>conftest.$ac_ext <<_ACEOF
16338 /* end confdefs.h. */
16340 #include "curl/curl.h"
16344 main ()
16346 #ifndef CURLE_FTP_QUOTE_ERROR
16347 (void) CURLE_FTP_QUOTE_ERROR;
16348 #endif
16351 return 0;
16353 _ACEOF
16354 rm -f conftest.$ac_objext
16355 if { (ac_try="$ac_compile"
16356 case "(($ac_try" in
16357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16358 *) ac_try_echo=$ac_try;;
16359 esac
16360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16361 (eval "$ac_compile") 2>conftest.er1
16362 ac_status=$?
16363 grep -v '^ *+' conftest.er1 >conftest.err
16364 rm -f conftest.er1
16365 cat conftest.err >&5
16366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16367 (exit $ac_status); } && {
16368 test -z "$ac_c_werror_flag" ||
16369 test ! -s conftest.err
16370 } && test -s conftest.$ac_objext; then
16371 ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR=yes
16372 else
16373 echo "$as_me: failed program was:" >&5
16374 sed 's/^/| /' conftest.$ac_ext >&5
16376 ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR=no
16379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16381 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" >&5
16382 echo "${ECHO_T}$ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" >&6; }
16383 if test $ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR = yes; then
16385 cat >>confdefs.h <<_ACEOF
16386 #define HAVE_DECL_CURLE_FTP_QUOTE_ERROR 1
16387 _ACEOF
16390 else
16391 cat >>confdefs.h <<_ACEOF
16392 #define HAVE_DECL_CURLE_FTP_QUOTE_ERROR 0
16393 _ACEOF
16397 { echo "$as_me:$LINENO: checking whether CURLE_HTTP_RETURNED_ERROR is declared" >&5
16398 echo $ECHO_N "checking whether CURLE_HTTP_RETURNED_ERROR is declared... $ECHO_C" >&6; }
16399 if test "${ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR+set}" = set; then
16400 echo $ECHO_N "(cached) $ECHO_C" >&6
16401 else
16402 cat >conftest.$ac_ext <<_ACEOF
16403 /* confdefs.h. */
16404 _ACEOF
16405 cat confdefs.h >>conftest.$ac_ext
16406 cat >>conftest.$ac_ext <<_ACEOF
16407 /* end confdefs.h. */
16409 #include "curl/curl.h"
16413 main ()
16415 #ifndef CURLE_HTTP_RETURNED_ERROR
16416 (void) CURLE_HTTP_RETURNED_ERROR;
16417 #endif
16420 return 0;
16422 _ACEOF
16423 rm -f conftest.$ac_objext
16424 if { (ac_try="$ac_compile"
16425 case "(($ac_try" in
16426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16427 *) ac_try_echo=$ac_try;;
16428 esac
16429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16430 (eval "$ac_compile") 2>conftest.er1
16431 ac_status=$?
16432 grep -v '^ *+' conftest.er1 >conftest.err
16433 rm -f conftest.er1
16434 cat conftest.err >&5
16435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436 (exit $ac_status); } && {
16437 test -z "$ac_c_werror_flag" ||
16438 test ! -s conftest.err
16439 } && test -s conftest.$ac_objext; then
16440 ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR=yes
16441 else
16442 echo "$as_me: failed program was:" >&5
16443 sed 's/^/| /' conftest.$ac_ext >&5
16445 ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR=no
16448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16450 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" >&5
16451 echo "${ECHO_T}$ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" >&6; }
16452 if test $ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR = yes; then
16454 cat >>confdefs.h <<_ACEOF
16455 #define HAVE_DECL_CURLE_HTTP_RETURNED_ERROR 1
16456 _ACEOF
16459 else
16460 cat >>confdefs.h <<_ACEOF
16461 #define HAVE_DECL_CURLE_HTTP_RETURNED_ERROR 0
16462 _ACEOF
16466 { echo "$as_me:$LINENO: checking whether CURLE_WRITE_ERROR is declared" >&5
16467 echo $ECHO_N "checking whether CURLE_WRITE_ERROR is declared... $ECHO_C" >&6; }
16468 if test "${ac_cv_have_decl_CURLE_WRITE_ERROR+set}" = set; then
16469 echo $ECHO_N "(cached) $ECHO_C" >&6
16470 else
16471 cat >conftest.$ac_ext <<_ACEOF
16472 /* confdefs.h. */
16473 _ACEOF
16474 cat confdefs.h >>conftest.$ac_ext
16475 cat >>conftest.$ac_ext <<_ACEOF
16476 /* end confdefs.h. */
16478 #include "curl/curl.h"
16482 main ()
16484 #ifndef CURLE_WRITE_ERROR
16485 (void) CURLE_WRITE_ERROR;
16486 #endif
16489 return 0;
16491 _ACEOF
16492 rm -f conftest.$ac_objext
16493 if { (ac_try="$ac_compile"
16494 case "(($ac_try" in
16495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16496 *) ac_try_echo=$ac_try;;
16497 esac
16498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16499 (eval "$ac_compile") 2>conftest.er1
16500 ac_status=$?
16501 grep -v '^ *+' conftest.er1 >conftest.err
16502 rm -f conftest.er1
16503 cat conftest.err >&5
16504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16505 (exit $ac_status); } && {
16506 test -z "$ac_c_werror_flag" ||
16507 test ! -s conftest.err
16508 } && test -s conftest.$ac_objext; then
16509 ac_cv_have_decl_CURLE_WRITE_ERROR=yes
16510 else
16511 echo "$as_me: failed program was:" >&5
16512 sed 's/^/| /' conftest.$ac_ext >&5
16514 ac_cv_have_decl_CURLE_WRITE_ERROR=no
16517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16519 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_WRITE_ERROR" >&5
16520 echo "${ECHO_T}$ac_cv_have_decl_CURLE_WRITE_ERROR" >&6; }
16521 if test $ac_cv_have_decl_CURLE_WRITE_ERROR = yes; then
16523 cat >>confdefs.h <<_ACEOF
16524 #define HAVE_DECL_CURLE_WRITE_ERROR 1
16525 _ACEOF
16528 else
16529 cat >>confdefs.h <<_ACEOF
16530 #define HAVE_DECL_CURLE_WRITE_ERROR 0
16531 _ACEOF
16535 { echo "$as_me:$LINENO: checking whether CURLE_MALFORMAT_USER is declared" >&5
16536 echo $ECHO_N "checking whether CURLE_MALFORMAT_USER is declared... $ECHO_C" >&6; }
16537 if test "${ac_cv_have_decl_CURLE_MALFORMAT_USER+set}" = set; then
16538 echo $ECHO_N "(cached) $ECHO_C" >&6
16539 else
16540 cat >conftest.$ac_ext <<_ACEOF
16541 /* confdefs.h. */
16542 _ACEOF
16543 cat confdefs.h >>conftest.$ac_ext
16544 cat >>conftest.$ac_ext <<_ACEOF
16545 /* end confdefs.h. */
16547 #include "curl/curl.h"
16551 main ()
16553 #ifndef CURLE_MALFORMAT_USER
16554 (void) CURLE_MALFORMAT_USER;
16555 #endif
16558 return 0;
16560 _ACEOF
16561 rm -f conftest.$ac_objext
16562 if { (ac_try="$ac_compile"
16563 case "(($ac_try" in
16564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16565 *) ac_try_echo=$ac_try;;
16566 esac
16567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16568 (eval "$ac_compile") 2>conftest.er1
16569 ac_status=$?
16570 grep -v '^ *+' conftest.er1 >conftest.err
16571 rm -f conftest.er1
16572 cat conftest.err >&5
16573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16574 (exit $ac_status); } && {
16575 test -z "$ac_c_werror_flag" ||
16576 test ! -s conftest.err
16577 } && test -s conftest.$ac_objext; then
16578 ac_cv_have_decl_CURLE_MALFORMAT_USER=yes
16579 else
16580 echo "$as_me: failed program was:" >&5
16581 sed 's/^/| /' conftest.$ac_ext >&5
16583 ac_cv_have_decl_CURLE_MALFORMAT_USER=no
16586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16588 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_MALFORMAT_USER" >&5
16589 echo "${ECHO_T}$ac_cv_have_decl_CURLE_MALFORMAT_USER" >&6; }
16590 if test $ac_cv_have_decl_CURLE_MALFORMAT_USER = yes; then
16592 cat >>confdefs.h <<_ACEOF
16593 #define HAVE_DECL_CURLE_MALFORMAT_USER 1
16594 _ACEOF
16597 else
16598 cat >>confdefs.h <<_ACEOF
16599 #define HAVE_DECL_CURLE_MALFORMAT_USER 0
16600 _ACEOF
16604 { echo "$as_me:$LINENO: checking whether CURLE_FTP_COULDNT_STOR_FILE is declared" >&5
16605 echo $ECHO_N "checking whether CURLE_FTP_COULDNT_STOR_FILE is declared... $ECHO_C" >&6; }
16606 if test "${ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE+set}" = set; then
16607 echo $ECHO_N "(cached) $ECHO_C" >&6
16608 else
16609 cat >conftest.$ac_ext <<_ACEOF
16610 /* confdefs.h. */
16611 _ACEOF
16612 cat confdefs.h >>conftest.$ac_ext
16613 cat >>conftest.$ac_ext <<_ACEOF
16614 /* end confdefs.h. */
16616 #include "curl/curl.h"
16620 main ()
16622 #ifndef CURLE_FTP_COULDNT_STOR_FILE
16623 (void) CURLE_FTP_COULDNT_STOR_FILE;
16624 #endif
16627 return 0;
16629 _ACEOF
16630 rm -f conftest.$ac_objext
16631 if { (ac_try="$ac_compile"
16632 case "(($ac_try" in
16633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16634 *) ac_try_echo=$ac_try;;
16635 esac
16636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16637 (eval "$ac_compile") 2>conftest.er1
16638 ac_status=$?
16639 grep -v '^ *+' conftest.er1 >conftest.err
16640 rm -f conftest.er1
16641 cat conftest.err >&5
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); } && {
16644 test -z "$ac_c_werror_flag" ||
16645 test ! -s conftest.err
16646 } && test -s conftest.$ac_objext; then
16647 ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE=yes
16648 else
16649 echo "$as_me: failed program was:" >&5
16650 sed 's/^/| /' conftest.$ac_ext >&5
16652 ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE=no
16655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16657 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" >&5
16658 echo "${ECHO_T}$ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" >&6; }
16659 if test $ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE = yes; then
16661 cat >>confdefs.h <<_ACEOF
16662 #define HAVE_DECL_CURLE_FTP_COULDNT_STOR_FILE 1
16663 _ACEOF
16666 else
16667 cat >>confdefs.h <<_ACEOF
16668 #define HAVE_DECL_CURLE_FTP_COULDNT_STOR_FILE 0
16669 _ACEOF
16673 { echo "$as_me:$LINENO: checking whether CURLE_READ_ERROR is declared" >&5
16674 echo $ECHO_N "checking whether CURLE_READ_ERROR is declared... $ECHO_C" >&6; }
16675 if test "${ac_cv_have_decl_CURLE_READ_ERROR+set}" = set; then
16676 echo $ECHO_N "(cached) $ECHO_C" >&6
16677 else
16678 cat >conftest.$ac_ext <<_ACEOF
16679 /* confdefs.h. */
16680 _ACEOF
16681 cat confdefs.h >>conftest.$ac_ext
16682 cat >>conftest.$ac_ext <<_ACEOF
16683 /* end confdefs.h. */
16685 #include "curl/curl.h"
16689 main ()
16691 #ifndef CURLE_READ_ERROR
16692 (void) CURLE_READ_ERROR;
16693 #endif
16696 return 0;
16698 _ACEOF
16699 rm -f conftest.$ac_objext
16700 if { (ac_try="$ac_compile"
16701 case "(($ac_try" in
16702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16703 *) ac_try_echo=$ac_try;;
16704 esac
16705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16706 (eval "$ac_compile") 2>conftest.er1
16707 ac_status=$?
16708 grep -v '^ *+' conftest.er1 >conftest.err
16709 rm -f conftest.er1
16710 cat conftest.err >&5
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); } && {
16713 test -z "$ac_c_werror_flag" ||
16714 test ! -s conftest.err
16715 } && test -s conftest.$ac_objext; then
16716 ac_cv_have_decl_CURLE_READ_ERROR=yes
16717 else
16718 echo "$as_me: failed program was:" >&5
16719 sed 's/^/| /' conftest.$ac_ext >&5
16721 ac_cv_have_decl_CURLE_READ_ERROR=no
16724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16726 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_READ_ERROR" >&5
16727 echo "${ECHO_T}$ac_cv_have_decl_CURLE_READ_ERROR" >&6; }
16728 if test $ac_cv_have_decl_CURLE_READ_ERROR = yes; then
16730 cat >>confdefs.h <<_ACEOF
16731 #define HAVE_DECL_CURLE_READ_ERROR 1
16732 _ACEOF
16735 else
16736 cat >>confdefs.h <<_ACEOF
16737 #define HAVE_DECL_CURLE_READ_ERROR 0
16738 _ACEOF
16742 { echo "$as_me:$LINENO: checking whether CURLE_OUT_OF_MEMORY is declared" >&5
16743 echo $ECHO_N "checking whether CURLE_OUT_OF_MEMORY is declared... $ECHO_C" >&6; }
16744 if test "${ac_cv_have_decl_CURLE_OUT_OF_MEMORY+set}" = set; then
16745 echo $ECHO_N "(cached) $ECHO_C" >&6
16746 else
16747 cat >conftest.$ac_ext <<_ACEOF
16748 /* confdefs.h. */
16749 _ACEOF
16750 cat confdefs.h >>conftest.$ac_ext
16751 cat >>conftest.$ac_ext <<_ACEOF
16752 /* end confdefs.h. */
16754 #include "curl/curl.h"
16758 main ()
16760 #ifndef CURLE_OUT_OF_MEMORY
16761 (void) CURLE_OUT_OF_MEMORY;
16762 #endif
16765 return 0;
16767 _ACEOF
16768 rm -f conftest.$ac_objext
16769 if { (ac_try="$ac_compile"
16770 case "(($ac_try" in
16771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16772 *) ac_try_echo=$ac_try;;
16773 esac
16774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16775 (eval "$ac_compile") 2>conftest.er1
16776 ac_status=$?
16777 grep -v '^ *+' conftest.er1 >conftest.err
16778 rm -f conftest.er1
16779 cat conftest.err >&5
16780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781 (exit $ac_status); } && {
16782 test -z "$ac_c_werror_flag" ||
16783 test ! -s conftest.err
16784 } && test -s conftest.$ac_objext; then
16785 ac_cv_have_decl_CURLE_OUT_OF_MEMORY=yes
16786 else
16787 echo "$as_me: failed program was:" >&5
16788 sed 's/^/| /' conftest.$ac_ext >&5
16790 ac_cv_have_decl_CURLE_OUT_OF_MEMORY=no
16793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16795 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_OUT_OF_MEMORY" >&5
16796 echo "${ECHO_T}$ac_cv_have_decl_CURLE_OUT_OF_MEMORY" >&6; }
16797 if test $ac_cv_have_decl_CURLE_OUT_OF_MEMORY = yes; then
16799 cat >>confdefs.h <<_ACEOF
16800 #define HAVE_DECL_CURLE_OUT_OF_MEMORY 1
16801 _ACEOF
16804 else
16805 cat >>confdefs.h <<_ACEOF
16806 #define HAVE_DECL_CURLE_OUT_OF_MEMORY 0
16807 _ACEOF
16811 { echo "$as_me:$LINENO: checking whether CURLE_OPERATION_TIMEOUTED is declared" >&5
16812 echo $ECHO_N "checking whether CURLE_OPERATION_TIMEOUTED is declared... $ECHO_C" >&6; }
16813 if test "${ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED+set}" = set; then
16814 echo $ECHO_N "(cached) $ECHO_C" >&6
16815 else
16816 cat >conftest.$ac_ext <<_ACEOF
16817 /* confdefs.h. */
16818 _ACEOF
16819 cat confdefs.h >>conftest.$ac_ext
16820 cat >>conftest.$ac_ext <<_ACEOF
16821 /* end confdefs.h. */
16823 #include "curl/curl.h"
16827 main ()
16829 #ifndef CURLE_OPERATION_TIMEOUTED
16830 (void) CURLE_OPERATION_TIMEOUTED;
16831 #endif
16834 return 0;
16836 _ACEOF
16837 rm -f conftest.$ac_objext
16838 if { (ac_try="$ac_compile"
16839 case "(($ac_try" in
16840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16841 *) ac_try_echo=$ac_try;;
16842 esac
16843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16844 (eval "$ac_compile") 2>conftest.er1
16845 ac_status=$?
16846 grep -v '^ *+' conftest.er1 >conftest.err
16847 rm -f conftest.er1
16848 cat conftest.err >&5
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); } && {
16851 test -z "$ac_c_werror_flag" ||
16852 test ! -s conftest.err
16853 } && test -s conftest.$ac_objext; then
16854 ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED=yes
16855 else
16856 echo "$as_me: failed program was:" >&5
16857 sed 's/^/| /' conftest.$ac_ext >&5
16859 ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED=no
16862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16864 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" >&5
16865 echo "${ECHO_T}$ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" >&6; }
16866 if test $ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED = yes; then
16868 cat >>confdefs.h <<_ACEOF
16869 #define HAVE_DECL_CURLE_OPERATION_TIMEOUTED 1
16870 _ACEOF
16873 else
16874 cat >>confdefs.h <<_ACEOF
16875 #define HAVE_DECL_CURLE_OPERATION_TIMEOUTED 0
16876 _ACEOF
16880 { echo "$as_me:$LINENO: checking whether CURLE_FTP_COULDNT_SET_ASCII is declared" >&5
16881 echo $ECHO_N "checking whether CURLE_FTP_COULDNT_SET_ASCII is declared... $ECHO_C" >&6; }
16882 if test "${ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII+set}" = set; then
16883 echo $ECHO_N "(cached) $ECHO_C" >&6
16884 else
16885 cat >conftest.$ac_ext <<_ACEOF
16886 /* confdefs.h. */
16887 _ACEOF
16888 cat confdefs.h >>conftest.$ac_ext
16889 cat >>conftest.$ac_ext <<_ACEOF
16890 /* end confdefs.h. */
16892 #include "curl/curl.h"
16896 main ()
16898 #ifndef CURLE_FTP_COULDNT_SET_ASCII
16899 (void) CURLE_FTP_COULDNT_SET_ASCII;
16900 #endif
16903 return 0;
16905 _ACEOF
16906 rm -f conftest.$ac_objext
16907 if { (ac_try="$ac_compile"
16908 case "(($ac_try" in
16909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16910 *) ac_try_echo=$ac_try;;
16911 esac
16912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16913 (eval "$ac_compile") 2>conftest.er1
16914 ac_status=$?
16915 grep -v '^ *+' conftest.er1 >conftest.err
16916 rm -f conftest.er1
16917 cat conftest.err >&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); } && {
16920 test -z "$ac_c_werror_flag" ||
16921 test ! -s conftest.err
16922 } && test -s conftest.$ac_objext; then
16923 ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII=yes
16924 else
16925 echo "$as_me: failed program was:" >&5
16926 sed 's/^/| /' conftest.$ac_ext >&5
16928 ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII=no
16931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16933 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" >&5
16934 echo "${ECHO_T}$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" >&6; }
16935 if test $ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII = yes; then
16937 cat >>confdefs.h <<_ACEOF
16938 #define HAVE_DECL_CURLE_FTP_COULDNT_SET_ASCII 1
16939 _ACEOF
16942 else
16943 cat >>confdefs.h <<_ACEOF
16944 #define HAVE_DECL_CURLE_FTP_COULDNT_SET_ASCII 0
16945 _ACEOF
16949 { echo "$as_me:$LINENO: checking whether CURLE_FTP_PORT_FAILED is declared" >&5
16950 echo $ECHO_N "checking whether CURLE_FTP_PORT_FAILED is declared... $ECHO_C" >&6; }
16951 if test "${ac_cv_have_decl_CURLE_FTP_PORT_FAILED+set}" = set; then
16952 echo $ECHO_N "(cached) $ECHO_C" >&6
16953 else
16954 cat >conftest.$ac_ext <<_ACEOF
16955 /* confdefs.h. */
16956 _ACEOF
16957 cat confdefs.h >>conftest.$ac_ext
16958 cat >>conftest.$ac_ext <<_ACEOF
16959 /* end confdefs.h. */
16961 #include "curl/curl.h"
16965 main ()
16967 #ifndef CURLE_FTP_PORT_FAILED
16968 (void) CURLE_FTP_PORT_FAILED;
16969 #endif
16972 return 0;
16974 _ACEOF
16975 rm -f conftest.$ac_objext
16976 if { (ac_try="$ac_compile"
16977 case "(($ac_try" in
16978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16979 *) ac_try_echo=$ac_try;;
16980 esac
16981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16982 (eval "$ac_compile") 2>conftest.er1
16983 ac_status=$?
16984 grep -v '^ *+' conftest.er1 >conftest.err
16985 rm -f conftest.er1
16986 cat conftest.err >&5
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); } && {
16989 test -z "$ac_c_werror_flag" ||
16990 test ! -s conftest.err
16991 } && test -s conftest.$ac_objext; then
16992 ac_cv_have_decl_CURLE_FTP_PORT_FAILED=yes
16993 else
16994 echo "$as_me: failed program was:" >&5
16995 sed 's/^/| /' conftest.$ac_ext >&5
16997 ac_cv_have_decl_CURLE_FTP_PORT_FAILED=no
17000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17002 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_FTP_PORT_FAILED" >&5
17003 echo "${ECHO_T}$ac_cv_have_decl_CURLE_FTP_PORT_FAILED" >&6; }
17004 if test $ac_cv_have_decl_CURLE_FTP_PORT_FAILED = yes; then
17006 cat >>confdefs.h <<_ACEOF
17007 #define HAVE_DECL_CURLE_FTP_PORT_FAILED 1
17008 _ACEOF
17011 else
17012 cat >>confdefs.h <<_ACEOF
17013 #define HAVE_DECL_CURLE_FTP_PORT_FAILED 0
17014 _ACEOF
17018 { echo "$as_me:$LINENO: checking whether CURLE_FTP_COULDNT_USE_REST is declared" >&5
17019 echo $ECHO_N "checking whether CURLE_FTP_COULDNT_USE_REST is declared... $ECHO_C" >&6; }
17020 if test "${ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST+set}" = set; then
17021 echo $ECHO_N "(cached) $ECHO_C" >&6
17022 else
17023 cat >conftest.$ac_ext <<_ACEOF
17024 /* confdefs.h. */
17025 _ACEOF
17026 cat confdefs.h >>conftest.$ac_ext
17027 cat >>conftest.$ac_ext <<_ACEOF
17028 /* end confdefs.h. */
17030 #include "curl/curl.h"
17034 main ()
17036 #ifndef CURLE_FTP_COULDNT_USE_REST
17037 (void) CURLE_FTP_COULDNT_USE_REST;
17038 #endif
17041 return 0;
17043 _ACEOF
17044 rm -f conftest.$ac_objext
17045 if { (ac_try="$ac_compile"
17046 case "(($ac_try" in
17047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17048 *) ac_try_echo=$ac_try;;
17049 esac
17050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17051 (eval "$ac_compile") 2>conftest.er1
17052 ac_status=$?
17053 grep -v '^ *+' conftest.er1 >conftest.err
17054 rm -f conftest.er1
17055 cat conftest.err >&5
17056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17057 (exit $ac_status); } && {
17058 test -z "$ac_c_werror_flag" ||
17059 test ! -s conftest.err
17060 } && test -s conftest.$ac_objext; then
17061 ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST=yes
17062 else
17063 echo "$as_me: failed program was:" >&5
17064 sed 's/^/| /' conftest.$ac_ext >&5
17066 ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST=no
17069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17071 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" >&5
17072 echo "${ECHO_T}$ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" >&6; }
17073 if test $ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST = yes; then
17075 cat >>confdefs.h <<_ACEOF
17076 #define HAVE_DECL_CURLE_FTP_COULDNT_USE_REST 1
17077 _ACEOF
17080 else
17081 cat >>confdefs.h <<_ACEOF
17082 #define HAVE_DECL_CURLE_FTP_COULDNT_USE_REST 0
17083 _ACEOF
17087 { echo "$as_me:$LINENO: checking whether CURLE_FTP_COULDNT_GET_SIZE is declared" >&5
17088 echo $ECHO_N "checking whether CURLE_FTP_COULDNT_GET_SIZE is declared... $ECHO_C" >&6; }
17089 if test "${ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE+set}" = set; then
17090 echo $ECHO_N "(cached) $ECHO_C" >&6
17091 else
17092 cat >conftest.$ac_ext <<_ACEOF
17093 /* confdefs.h. */
17094 _ACEOF
17095 cat confdefs.h >>conftest.$ac_ext
17096 cat >>conftest.$ac_ext <<_ACEOF
17097 /* end confdefs.h. */
17099 #include "curl/curl.h"
17103 main ()
17105 #ifndef CURLE_FTP_COULDNT_GET_SIZE
17106 (void) CURLE_FTP_COULDNT_GET_SIZE;
17107 #endif
17110 return 0;
17112 _ACEOF
17113 rm -f conftest.$ac_objext
17114 if { (ac_try="$ac_compile"
17115 case "(($ac_try" in
17116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17117 *) ac_try_echo=$ac_try;;
17118 esac
17119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17120 (eval "$ac_compile") 2>conftest.er1
17121 ac_status=$?
17122 grep -v '^ *+' conftest.er1 >conftest.err
17123 rm -f conftest.er1
17124 cat conftest.err >&5
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); } && {
17127 test -z "$ac_c_werror_flag" ||
17128 test ! -s conftest.err
17129 } && test -s conftest.$ac_objext; then
17130 ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE=yes
17131 else
17132 echo "$as_me: failed program was:" >&5
17133 sed 's/^/| /' conftest.$ac_ext >&5
17135 ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE=no
17138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17140 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" >&5
17141 echo "${ECHO_T}$ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" >&6; }
17142 if test $ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE = yes; then
17144 cat >>confdefs.h <<_ACEOF
17145 #define HAVE_DECL_CURLE_FTP_COULDNT_GET_SIZE 1
17146 _ACEOF
17149 else
17150 cat >>confdefs.h <<_ACEOF
17151 #define HAVE_DECL_CURLE_FTP_COULDNT_GET_SIZE 0
17152 _ACEOF
17156 { echo "$as_me:$LINENO: checking whether CURLE_HTTP_RANGE_ERROR is declared" >&5
17157 echo $ECHO_N "checking whether CURLE_HTTP_RANGE_ERROR is declared... $ECHO_C" >&6; }
17158 if test "${ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR+set}" = set; then
17159 echo $ECHO_N "(cached) $ECHO_C" >&6
17160 else
17161 cat >conftest.$ac_ext <<_ACEOF
17162 /* confdefs.h. */
17163 _ACEOF
17164 cat confdefs.h >>conftest.$ac_ext
17165 cat >>conftest.$ac_ext <<_ACEOF
17166 /* end confdefs.h. */
17168 #include "curl/curl.h"
17172 main ()
17174 #ifndef CURLE_HTTP_RANGE_ERROR
17175 (void) CURLE_HTTP_RANGE_ERROR;
17176 #endif
17179 return 0;
17181 _ACEOF
17182 rm -f conftest.$ac_objext
17183 if { (ac_try="$ac_compile"
17184 case "(($ac_try" in
17185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17186 *) ac_try_echo=$ac_try;;
17187 esac
17188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17189 (eval "$ac_compile") 2>conftest.er1
17190 ac_status=$?
17191 grep -v '^ *+' conftest.er1 >conftest.err
17192 rm -f conftest.er1
17193 cat conftest.err >&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); } && {
17196 test -z "$ac_c_werror_flag" ||
17197 test ! -s conftest.err
17198 } && test -s conftest.$ac_objext; then
17199 ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR=yes
17200 else
17201 echo "$as_me: failed program was:" >&5
17202 sed 's/^/| /' conftest.$ac_ext >&5
17204 ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR=no
17207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17209 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" >&5
17210 echo "${ECHO_T}$ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" >&6; }
17211 if test $ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR = yes; then
17213 cat >>confdefs.h <<_ACEOF
17214 #define HAVE_DECL_CURLE_HTTP_RANGE_ERROR 1
17215 _ACEOF
17218 else
17219 cat >>confdefs.h <<_ACEOF
17220 #define HAVE_DECL_CURLE_HTTP_RANGE_ERROR 0
17221 _ACEOF
17225 { echo "$as_me:$LINENO: checking whether CURLE_HTTP_POST_ERROR is declared" >&5
17226 echo $ECHO_N "checking whether CURLE_HTTP_POST_ERROR is declared... $ECHO_C" >&6; }
17227 if test "${ac_cv_have_decl_CURLE_HTTP_POST_ERROR+set}" = set; then
17228 echo $ECHO_N "(cached) $ECHO_C" >&6
17229 else
17230 cat >conftest.$ac_ext <<_ACEOF
17231 /* confdefs.h. */
17232 _ACEOF
17233 cat confdefs.h >>conftest.$ac_ext
17234 cat >>conftest.$ac_ext <<_ACEOF
17235 /* end confdefs.h. */
17237 #include "curl/curl.h"
17241 main ()
17243 #ifndef CURLE_HTTP_POST_ERROR
17244 (void) CURLE_HTTP_POST_ERROR;
17245 #endif
17248 return 0;
17250 _ACEOF
17251 rm -f conftest.$ac_objext
17252 if { (ac_try="$ac_compile"
17253 case "(($ac_try" in
17254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17255 *) ac_try_echo=$ac_try;;
17256 esac
17257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17258 (eval "$ac_compile") 2>conftest.er1
17259 ac_status=$?
17260 grep -v '^ *+' conftest.er1 >conftest.err
17261 rm -f conftest.er1
17262 cat conftest.err >&5
17263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264 (exit $ac_status); } && {
17265 test -z "$ac_c_werror_flag" ||
17266 test ! -s conftest.err
17267 } && test -s conftest.$ac_objext; then
17268 ac_cv_have_decl_CURLE_HTTP_POST_ERROR=yes
17269 else
17270 echo "$as_me: failed program was:" >&5
17271 sed 's/^/| /' conftest.$ac_ext >&5
17273 ac_cv_have_decl_CURLE_HTTP_POST_ERROR=no
17276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17278 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_HTTP_POST_ERROR" >&5
17279 echo "${ECHO_T}$ac_cv_have_decl_CURLE_HTTP_POST_ERROR" >&6; }
17280 if test $ac_cv_have_decl_CURLE_HTTP_POST_ERROR = yes; then
17282 cat >>confdefs.h <<_ACEOF
17283 #define HAVE_DECL_CURLE_HTTP_POST_ERROR 1
17284 _ACEOF
17287 else
17288 cat >>confdefs.h <<_ACEOF
17289 #define HAVE_DECL_CURLE_HTTP_POST_ERROR 0
17290 _ACEOF
17294 { echo "$as_me:$LINENO: checking whether CURLE_SSL_CONNECT_ERROR is declared" >&5
17295 echo $ECHO_N "checking whether CURLE_SSL_CONNECT_ERROR is declared... $ECHO_C" >&6; }
17296 if test "${ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR+set}" = set; then
17297 echo $ECHO_N "(cached) $ECHO_C" >&6
17298 else
17299 cat >conftest.$ac_ext <<_ACEOF
17300 /* confdefs.h. */
17301 _ACEOF
17302 cat confdefs.h >>conftest.$ac_ext
17303 cat >>conftest.$ac_ext <<_ACEOF
17304 /* end confdefs.h. */
17306 #include "curl/curl.h"
17310 main ()
17312 #ifndef CURLE_SSL_CONNECT_ERROR
17313 (void) CURLE_SSL_CONNECT_ERROR;
17314 #endif
17317 return 0;
17319 _ACEOF
17320 rm -f conftest.$ac_objext
17321 if { (ac_try="$ac_compile"
17322 case "(($ac_try" in
17323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17324 *) ac_try_echo=$ac_try;;
17325 esac
17326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17327 (eval "$ac_compile") 2>conftest.er1
17328 ac_status=$?
17329 grep -v '^ *+' conftest.er1 >conftest.err
17330 rm -f conftest.er1
17331 cat conftest.err >&5
17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333 (exit $ac_status); } && {
17334 test -z "$ac_c_werror_flag" ||
17335 test ! -s conftest.err
17336 } && test -s conftest.$ac_objext; then
17337 ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR=yes
17338 else
17339 echo "$as_me: failed program was:" >&5
17340 sed 's/^/| /' conftest.$ac_ext >&5
17342 ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR=no
17345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17347 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" >&5
17348 echo "${ECHO_T}$ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" >&6; }
17349 if test $ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR = yes; then
17351 cat >>confdefs.h <<_ACEOF
17352 #define HAVE_DECL_CURLE_SSL_CONNECT_ERROR 1
17353 _ACEOF
17356 else
17357 cat >>confdefs.h <<_ACEOF
17358 #define HAVE_DECL_CURLE_SSL_CONNECT_ERROR 0
17359 _ACEOF
17363 { echo "$as_me:$LINENO: checking whether CURLE_BAD_DOWNLOAD_RESUME is declared" >&5
17364 echo $ECHO_N "checking whether CURLE_BAD_DOWNLOAD_RESUME is declared... $ECHO_C" >&6; }
17365 if test "${ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME+set}" = set; then
17366 echo $ECHO_N "(cached) $ECHO_C" >&6
17367 else
17368 cat >conftest.$ac_ext <<_ACEOF
17369 /* confdefs.h. */
17370 _ACEOF
17371 cat confdefs.h >>conftest.$ac_ext
17372 cat >>conftest.$ac_ext <<_ACEOF
17373 /* end confdefs.h. */
17375 #include "curl/curl.h"
17379 main ()
17381 #ifndef CURLE_BAD_DOWNLOAD_RESUME
17382 (void) CURLE_BAD_DOWNLOAD_RESUME;
17383 #endif
17386 return 0;
17388 _ACEOF
17389 rm -f conftest.$ac_objext
17390 if { (ac_try="$ac_compile"
17391 case "(($ac_try" in
17392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17393 *) ac_try_echo=$ac_try;;
17394 esac
17395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17396 (eval "$ac_compile") 2>conftest.er1
17397 ac_status=$?
17398 grep -v '^ *+' conftest.er1 >conftest.err
17399 rm -f conftest.er1
17400 cat conftest.err >&5
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); } && {
17403 test -z "$ac_c_werror_flag" ||
17404 test ! -s conftest.err
17405 } && test -s conftest.$ac_objext; then
17406 ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME=yes
17407 else
17408 echo "$as_me: failed program was:" >&5
17409 sed 's/^/| /' conftest.$ac_ext >&5
17411 ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME=no
17414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17416 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" >&5
17417 echo "${ECHO_T}$ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" >&6; }
17418 if test $ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME = yes; then
17420 cat >>confdefs.h <<_ACEOF
17421 #define HAVE_DECL_CURLE_BAD_DOWNLOAD_RESUME 1
17422 _ACEOF
17425 else
17426 cat >>confdefs.h <<_ACEOF
17427 #define HAVE_DECL_CURLE_BAD_DOWNLOAD_RESUME 0
17428 _ACEOF
17432 { echo "$as_me:$LINENO: checking whether CURLE_FILE_COULDNT_READ_FILE is declared" >&5
17433 echo $ECHO_N "checking whether CURLE_FILE_COULDNT_READ_FILE is declared... $ECHO_C" >&6; }
17434 if test "${ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE+set}" = set; then
17435 echo $ECHO_N "(cached) $ECHO_C" >&6
17436 else
17437 cat >conftest.$ac_ext <<_ACEOF
17438 /* confdefs.h. */
17439 _ACEOF
17440 cat confdefs.h >>conftest.$ac_ext
17441 cat >>conftest.$ac_ext <<_ACEOF
17442 /* end confdefs.h. */
17444 #include "curl/curl.h"
17448 main ()
17450 #ifndef CURLE_FILE_COULDNT_READ_FILE
17451 (void) CURLE_FILE_COULDNT_READ_FILE;
17452 #endif
17455 return 0;
17457 _ACEOF
17458 rm -f conftest.$ac_objext
17459 if { (ac_try="$ac_compile"
17460 case "(($ac_try" in
17461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17462 *) ac_try_echo=$ac_try;;
17463 esac
17464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17465 (eval "$ac_compile") 2>conftest.er1
17466 ac_status=$?
17467 grep -v '^ *+' conftest.er1 >conftest.err
17468 rm -f conftest.er1
17469 cat conftest.err >&5
17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 (exit $ac_status); } && {
17472 test -z "$ac_c_werror_flag" ||
17473 test ! -s conftest.err
17474 } && test -s conftest.$ac_objext; then
17475 ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE=yes
17476 else
17477 echo "$as_me: failed program was:" >&5
17478 sed 's/^/| /' conftest.$ac_ext >&5
17480 ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE=no
17483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17485 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" >&5
17486 echo "${ECHO_T}$ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" >&6; }
17487 if test $ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE = yes; then
17489 cat >>confdefs.h <<_ACEOF
17490 #define HAVE_DECL_CURLE_FILE_COULDNT_READ_FILE 1
17491 _ACEOF
17494 else
17495 cat >>confdefs.h <<_ACEOF
17496 #define HAVE_DECL_CURLE_FILE_COULDNT_READ_FILE 0
17497 _ACEOF
17501 { echo "$as_me:$LINENO: checking whether CURLE_LDAP_CANNOT_BIND is declared" >&5
17502 echo $ECHO_N "checking whether CURLE_LDAP_CANNOT_BIND is declared... $ECHO_C" >&6; }
17503 if test "${ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND+set}" = set; then
17504 echo $ECHO_N "(cached) $ECHO_C" >&6
17505 else
17506 cat >conftest.$ac_ext <<_ACEOF
17507 /* confdefs.h. */
17508 _ACEOF
17509 cat confdefs.h >>conftest.$ac_ext
17510 cat >>conftest.$ac_ext <<_ACEOF
17511 /* end confdefs.h. */
17513 #include "curl/curl.h"
17517 main ()
17519 #ifndef CURLE_LDAP_CANNOT_BIND
17520 (void) CURLE_LDAP_CANNOT_BIND;
17521 #endif
17524 return 0;
17526 _ACEOF
17527 rm -f conftest.$ac_objext
17528 if { (ac_try="$ac_compile"
17529 case "(($ac_try" in
17530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17531 *) ac_try_echo=$ac_try;;
17532 esac
17533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17534 (eval "$ac_compile") 2>conftest.er1
17535 ac_status=$?
17536 grep -v '^ *+' conftest.er1 >conftest.err
17537 rm -f conftest.er1
17538 cat conftest.err >&5
17539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17540 (exit $ac_status); } && {
17541 test -z "$ac_c_werror_flag" ||
17542 test ! -s conftest.err
17543 } && test -s conftest.$ac_objext; then
17544 ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND=yes
17545 else
17546 echo "$as_me: failed program was:" >&5
17547 sed 's/^/| /' conftest.$ac_ext >&5
17549 ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND=no
17552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17554 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" >&5
17555 echo "${ECHO_T}$ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" >&6; }
17556 if test $ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND = yes; then
17558 cat >>confdefs.h <<_ACEOF
17559 #define HAVE_DECL_CURLE_LDAP_CANNOT_BIND 1
17560 _ACEOF
17563 else
17564 cat >>confdefs.h <<_ACEOF
17565 #define HAVE_DECL_CURLE_LDAP_CANNOT_BIND 0
17566 _ACEOF
17570 { echo "$as_me:$LINENO: checking whether CURLE_LDAP_SEARCH_FAILED is declared" >&5
17571 echo $ECHO_N "checking whether CURLE_LDAP_SEARCH_FAILED is declared... $ECHO_C" >&6; }
17572 if test "${ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED+set}" = set; then
17573 echo $ECHO_N "(cached) $ECHO_C" >&6
17574 else
17575 cat >conftest.$ac_ext <<_ACEOF
17576 /* confdefs.h. */
17577 _ACEOF
17578 cat confdefs.h >>conftest.$ac_ext
17579 cat >>conftest.$ac_ext <<_ACEOF
17580 /* end confdefs.h. */
17582 #include "curl/curl.h"
17586 main ()
17588 #ifndef CURLE_LDAP_SEARCH_FAILED
17589 (void) CURLE_LDAP_SEARCH_FAILED;
17590 #endif
17593 return 0;
17595 _ACEOF
17596 rm -f conftest.$ac_objext
17597 if { (ac_try="$ac_compile"
17598 case "(($ac_try" in
17599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17600 *) ac_try_echo=$ac_try;;
17601 esac
17602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17603 (eval "$ac_compile") 2>conftest.er1
17604 ac_status=$?
17605 grep -v '^ *+' conftest.er1 >conftest.err
17606 rm -f conftest.er1
17607 cat conftest.err >&5
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609 (exit $ac_status); } && {
17610 test -z "$ac_c_werror_flag" ||
17611 test ! -s conftest.err
17612 } && test -s conftest.$ac_objext; then
17613 ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED=yes
17614 else
17615 echo "$as_me: failed program was:" >&5
17616 sed 's/^/| /' conftest.$ac_ext >&5
17618 ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED=no
17621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17623 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" >&5
17624 echo "${ECHO_T}$ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" >&6; }
17625 if test $ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED = yes; then
17627 cat >>confdefs.h <<_ACEOF
17628 #define HAVE_DECL_CURLE_LDAP_SEARCH_FAILED 1
17629 _ACEOF
17632 else
17633 cat >>confdefs.h <<_ACEOF
17634 #define HAVE_DECL_CURLE_LDAP_SEARCH_FAILED 0
17635 _ACEOF
17639 { echo "$as_me:$LINENO: checking whether CURLE_LIBRARY_NOT_FOUND is declared" >&5
17640 echo $ECHO_N "checking whether CURLE_LIBRARY_NOT_FOUND is declared... $ECHO_C" >&6; }
17641 if test "${ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND+set}" = set; then
17642 echo $ECHO_N "(cached) $ECHO_C" >&6
17643 else
17644 cat >conftest.$ac_ext <<_ACEOF
17645 /* confdefs.h. */
17646 _ACEOF
17647 cat confdefs.h >>conftest.$ac_ext
17648 cat >>conftest.$ac_ext <<_ACEOF
17649 /* end confdefs.h. */
17651 #include "curl/curl.h"
17655 main ()
17657 #ifndef CURLE_LIBRARY_NOT_FOUND
17658 (void) CURLE_LIBRARY_NOT_FOUND;
17659 #endif
17662 return 0;
17664 _ACEOF
17665 rm -f conftest.$ac_objext
17666 if { (ac_try="$ac_compile"
17667 case "(($ac_try" in
17668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17669 *) ac_try_echo=$ac_try;;
17670 esac
17671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17672 (eval "$ac_compile") 2>conftest.er1
17673 ac_status=$?
17674 grep -v '^ *+' conftest.er1 >conftest.err
17675 rm -f conftest.er1
17676 cat conftest.err >&5
17677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17678 (exit $ac_status); } && {
17679 test -z "$ac_c_werror_flag" ||
17680 test ! -s conftest.err
17681 } && test -s conftest.$ac_objext; then
17682 ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND=yes
17683 else
17684 echo "$as_me: failed program was:" >&5
17685 sed 's/^/| /' conftest.$ac_ext >&5
17687 ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND=no
17690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17692 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" >&5
17693 echo "${ECHO_T}$ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" >&6; }
17694 if test $ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND = yes; then
17696 cat >>confdefs.h <<_ACEOF
17697 #define HAVE_DECL_CURLE_LIBRARY_NOT_FOUND 1
17698 _ACEOF
17701 else
17702 cat >>confdefs.h <<_ACEOF
17703 #define HAVE_DECL_CURLE_LIBRARY_NOT_FOUND 0
17704 _ACEOF
17708 { echo "$as_me:$LINENO: checking whether CURLE_FUNCTION_NOT_FOUND is declared" >&5
17709 echo $ECHO_N "checking whether CURLE_FUNCTION_NOT_FOUND is declared... $ECHO_C" >&6; }
17710 if test "${ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND+set}" = set; then
17711 echo $ECHO_N "(cached) $ECHO_C" >&6
17712 else
17713 cat >conftest.$ac_ext <<_ACEOF
17714 /* confdefs.h. */
17715 _ACEOF
17716 cat confdefs.h >>conftest.$ac_ext
17717 cat >>conftest.$ac_ext <<_ACEOF
17718 /* end confdefs.h. */
17720 #include "curl/curl.h"
17724 main ()
17726 #ifndef CURLE_FUNCTION_NOT_FOUND
17727 (void) CURLE_FUNCTION_NOT_FOUND;
17728 #endif
17731 return 0;
17733 _ACEOF
17734 rm -f conftest.$ac_objext
17735 if { (ac_try="$ac_compile"
17736 case "(($ac_try" in
17737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17738 *) ac_try_echo=$ac_try;;
17739 esac
17740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17741 (eval "$ac_compile") 2>conftest.er1
17742 ac_status=$?
17743 grep -v '^ *+' conftest.er1 >conftest.err
17744 rm -f conftest.er1
17745 cat conftest.err >&5
17746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17747 (exit $ac_status); } && {
17748 test -z "$ac_c_werror_flag" ||
17749 test ! -s conftest.err
17750 } && test -s conftest.$ac_objext; then
17751 ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND=yes
17752 else
17753 echo "$as_me: failed program was:" >&5
17754 sed 's/^/| /' conftest.$ac_ext >&5
17756 ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND=no
17759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17761 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" >&5
17762 echo "${ECHO_T}$ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" >&6; }
17763 if test $ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND = yes; then
17765 cat >>confdefs.h <<_ACEOF
17766 #define HAVE_DECL_CURLE_FUNCTION_NOT_FOUND 1
17767 _ACEOF
17770 else
17771 cat >>confdefs.h <<_ACEOF
17772 #define HAVE_DECL_CURLE_FUNCTION_NOT_FOUND 0
17773 _ACEOF
17777 { echo "$as_me:$LINENO: checking whether CURLE_ABORTED_BY_CALLBACK is declared" >&5
17778 echo $ECHO_N "checking whether CURLE_ABORTED_BY_CALLBACK is declared... $ECHO_C" >&6; }
17779 if test "${ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK+set}" = set; then
17780 echo $ECHO_N "(cached) $ECHO_C" >&6
17781 else
17782 cat >conftest.$ac_ext <<_ACEOF
17783 /* confdefs.h. */
17784 _ACEOF
17785 cat confdefs.h >>conftest.$ac_ext
17786 cat >>conftest.$ac_ext <<_ACEOF
17787 /* end confdefs.h. */
17789 #include "curl/curl.h"
17793 main ()
17795 #ifndef CURLE_ABORTED_BY_CALLBACK
17796 (void) CURLE_ABORTED_BY_CALLBACK;
17797 #endif
17800 return 0;
17802 _ACEOF
17803 rm -f conftest.$ac_objext
17804 if { (ac_try="$ac_compile"
17805 case "(($ac_try" in
17806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17807 *) ac_try_echo=$ac_try;;
17808 esac
17809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17810 (eval "$ac_compile") 2>conftest.er1
17811 ac_status=$?
17812 grep -v '^ *+' conftest.er1 >conftest.err
17813 rm -f conftest.er1
17814 cat conftest.err >&5
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); } && {
17817 test -z "$ac_c_werror_flag" ||
17818 test ! -s conftest.err
17819 } && test -s conftest.$ac_objext; then
17820 ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK=yes
17821 else
17822 echo "$as_me: failed program was:" >&5
17823 sed 's/^/| /' conftest.$ac_ext >&5
17825 ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK=no
17828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17830 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" >&5
17831 echo "${ECHO_T}$ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" >&6; }
17832 if test $ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK = yes; then
17834 cat >>confdefs.h <<_ACEOF
17835 #define HAVE_DECL_CURLE_ABORTED_BY_CALLBACK 1
17836 _ACEOF
17839 else
17840 cat >>confdefs.h <<_ACEOF
17841 #define HAVE_DECL_CURLE_ABORTED_BY_CALLBACK 0
17842 _ACEOF
17846 { echo "$as_me:$LINENO: checking whether CURLE_BAD_FUNCTION_ARGUMENT is declared" >&5
17847 echo $ECHO_N "checking whether CURLE_BAD_FUNCTION_ARGUMENT is declared... $ECHO_C" >&6; }
17848 if test "${ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT+set}" = set; then
17849 echo $ECHO_N "(cached) $ECHO_C" >&6
17850 else
17851 cat >conftest.$ac_ext <<_ACEOF
17852 /* confdefs.h. */
17853 _ACEOF
17854 cat confdefs.h >>conftest.$ac_ext
17855 cat >>conftest.$ac_ext <<_ACEOF
17856 /* end confdefs.h. */
17858 #include "curl/curl.h"
17862 main ()
17864 #ifndef CURLE_BAD_FUNCTION_ARGUMENT
17865 (void) CURLE_BAD_FUNCTION_ARGUMENT;
17866 #endif
17869 return 0;
17871 _ACEOF
17872 rm -f conftest.$ac_objext
17873 if { (ac_try="$ac_compile"
17874 case "(($ac_try" in
17875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17876 *) ac_try_echo=$ac_try;;
17877 esac
17878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17879 (eval "$ac_compile") 2>conftest.er1
17880 ac_status=$?
17881 grep -v '^ *+' conftest.er1 >conftest.err
17882 rm -f conftest.er1
17883 cat conftest.err >&5
17884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17885 (exit $ac_status); } && {
17886 test -z "$ac_c_werror_flag" ||
17887 test ! -s conftest.err
17888 } && test -s conftest.$ac_objext; then
17889 ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT=yes
17890 else
17891 echo "$as_me: failed program was:" >&5
17892 sed 's/^/| /' conftest.$ac_ext >&5
17894 ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT=no
17897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17899 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" >&5
17900 echo "${ECHO_T}$ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" >&6; }
17901 if test $ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT = yes; then
17903 cat >>confdefs.h <<_ACEOF
17904 #define HAVE_DECL_CURLE_BAD_FUNCTION_ARGUMENT 1
17905 _ACEOF
17908 else
17909 cat >>confdefs.h <<_ACEOF
17910 #define HAVE_DECL_CURLE_BAD_FUNCTION_ARGUMENT 0
17911 _ACEOF
17915 { echo "$as_me:$LINENO: checking whether CURLE_BAD_CALLING_ORDER is declared" >&5
17916 echo $ECHO_N "checking whether CURLE_BAD_CALLING_ORDER is declared... $ECHO_C" >&6; }
17917 if test "${ac_cv_have_decl_CURLE_BAD_CALLING_ORDER+set}" = set; then
17918 echo $ECHO_N "(cached) $ECHO_C" >&6
17919 else
17920 cat >conftest.$ac_ext <<_ACEOF
17921 /* confdefs.h. */
17922 _ACEOF
17923 cat confdefs.h >>conftest.$ac_ext
17924 cat >>conftest.$ac_ext <<_ACEOF
17925 /* end confdefs.h. */
17927 #include "curl/curl.h"
17931 main ()
17933 #ifndef CURLE_BAD_CALLING_ORDER
17934 (void) CURLE_BAD_CALLING_ORDER;
17935 #endif
17938 return 0;
17940 _ACEOF
17941 rm -f conftest.$ac_objext
17942 if { (ac_try="$ac_compile"
17943 case "(($ac_try" in
17944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17945 *) ac_try_echo=$ac_try;;
17946 esac
17947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17948 (eval "$ac_compile") 2>conftest.er1
17949 ac_status=$?
17950 grep -v '^ *+' conftest.er1 >conftest.err
17951 rm -f conftest.er1
17952 cat conftest.err >&5
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); } && {
17955 test -z "$ac_c_werror_flag" ||
17956 test ! -s conftest.err
17957 } && test -s conftest.$ac_objext; then
17958 ac_cv_have_decl_CURLE_BAD_CALLING_ORDER=yes
17959 else
17960 echo "$as_me: failed program was:" >&5
17961 sed 's/^/| /' conftest.$ac_ext >&5
17963 ac_cv_have_decl_CURLE_BAD_CALLING_ORDER=no
17966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17968 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" >&5
17969 echo "${ECHO_T}$ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" >&6; }
17970 if test $ac_cv_have_decl_CURLE_BAD_CALLING_ORDER = yes; then
17972 cat >>confdefs.h <<_ACEOF
17973 #define HAVE_DECL_CURLE_BAD_CALLING_ORDER 1
17974 _ACEOF
17977 else
17978 cat >>confdefs.h <<_ACEOF
17979 #define HAVE_DECL_CURLE_BAD_CALLING_ORDER 0
17980 _ACEOF
17984 { echo "$as_me:$LINENO: checking whether CURLE_INTERFACE_FAILED is declared" >&5
17985 echo $ECHO_N "checking whether CURLE_INTERFACE_FAILED is declared... $ECHO_C" >&6; }
17986 if test "${ac_cv_have_decl_CURLE_INTERFACE_FAILED+set}" = set; then
17987 echo $ECHO_N "(cached) $ECHO_C" >&6
17988 else
17989 cat >conftest.$ac_ext <<_ACEOF
17990 /* confdefs.h. */
17991 _ACEOF
17992 cat confdefs.h >>conftest.$ac_ext
17993 cat >>conftest.$ac_ext <<_ACEOF
17994 /* end confdefs.h. */
17996 #include "curl/curl.h"
18000 main ()
18002 #ifndef CURLE_INTERFACE_FAILED
18003 (void) CURLE_INTERFACE_FAILED;
18004 #endif
18007 return 0;
18009 _ACEOF
18010 rm -f conftest.$ac_objext
18011 if { (ac_try="$ac_compile"
18012 case "(($ac_try" in
18013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18014 *) ac_try_echo=$ac_try;;
18015 esac
18016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18017 (eval "$ac_compile") 2>conftest.er1
18018 ac_status=$?
18019 grep -v '^ *+' conftest.er1 >conftest.err
18020 rm -f conftest.er1
18021 cat conftest.err >&5
18022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18023 (exit $ac_status); } && {
18024 test -z "$ac_c_werror_flag" ||
18025 test ! -s conftest.err
18026 } && test -s conftest.$ac_objext; then
18027 ac_cv_have_decl_CURLE_INTERFACE_FAILED=yes
18028 else
18029 echo "$as_me: failed program was:" >&5
18030 sed 's/^/| /' conftest.$ac_ext >&5
18032 ac_cv_have_decl_CURLE_INTERFACE_FAILED=no
18035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18037 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_INTERFACE_FAILED" >&5
18038 echo "${ECHO_T}$ac_cv_have_decl_CURLE_INTERFACE_FAILED" >&6; }
18039 if test $ac_cv_have_decl_CURLE_INTERFACE_FAILED = yes; then
18041 cat >>confdefs.h <<_ACEOF
18042 #define HAVE_DECL_CURLE_INTERFACE_FAILED 1
18043 _ACEOF
18046 else
18047 cat >>confdefs.h <<_ACEOF
18048 #define HAVE_DECL_CURLE_INTERFACE_FAILED 0
18049 _ACEOF
18053 { echo "$as_me:$LINENO: checking whether CURLE_BAD_PASSWORD_ENTERED is declared" >&5
18054 echo $ECHO_N "checking whether CURLE_BAD_PASSWORD_ENTERED is declared... $ECHO_C" >&6; }
18055 if test "${ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED+set}" = set; then
18056 echo $ECHO_N "(cached) $ECHO_C" >&6
18057 else
18058 cat >conftest.$ac_ext <<_ACEOF
18059 /* confdefs.h. */
18060 _ACEOF
18061 cat confdefs.h >>conftest.$ac_ext
18062 cat >>conftest.$ac_ext <<_ACEOF
18063 /* end confdefs.h. */
18065 #include "curl/curl.h"
18069 main ()
18071 #ifndef CURLE_BAD_PASSWORD_ENTERED
18072 (void) CURLE_BAD_PASSWORD_ENTERED;
18073 #endif
18076 return 0;
18078 _ACEOF
18079 rm -f conftest.$ac_objext
18080 if { (ac_try="$ac_compile"
18081 case "(($ac_try" in
18082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18083 *) ac_try_echo=$ac_try;;
18084 esac
18085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18086 (eval "$ac_compile") 2>conftest.er1
18087 ac_status=$?
18088 grep -v '^ *+' conftest.er1 >conftest.err
18089 rm -f conftest.er1
18090 cat conftest.err >&5
18091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18092 (exit $ac_status); } && {
18093 test -z "$ac_c_werror_flag" ||
18094 test ! -s conftest.err
18095 } && test -s conftest.$ac_objext; then
18096 ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED=yes
18097 else
18098 echo "$as_me: failed program was:" >&5
18099 sed 's/^/| /' conftest.$ac_ext >&5
18101 ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED=no
18104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18106 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" >&5
18107 echo "${ECHO_T}$ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" >&6; }
18108 if test $ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED = yes; then
18110 cat >>confdefs.h <<_ACEOF
18111 #define HAVE_DECL_CURLE_BAD_PASSWORD_ENTERED 1
18112 _ACEOF
18115 else
18116 cat >>confdefs.h <<_ACEOF
18117 #define HAVE_DECL_CURLE_BAD_PASSWORD_ENTERED 0
18118 _ACEOF
18122 { echo "$as_me:$LINENO: checking whether CURLE_TOO_MANY_REDIRECTS is declared" >&5
18123 echo $ECHO_N "checking whether CURLE_TOO_MANY_REDIRECTS is declared... $ECHO_C" >&6; }
18124 if test "${ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS+set}" = set; then
18125 echo $ECHO_N "(cached) $ECHO_C" >&6
18126 else
18127 cat >conftest.$ac_ext <<_ACEOF
18128 /* confdefs.h. */
18129 _ACEOF
18130 cat confdefs.h >>conftest.$ac_ext
18131 cat >>conftest.$ac_ext <<_ACEOF
18132 /* end confdefs.h. */
18134 #include "curl/curl.h"
18138 main ()
18140 #ifndef CURLE_TOO_MANY_REDIRECTS
18141 (void) CURLE_TOO_MANY_REDIRECTS;
18142 #endif
18145 return 0;
18147 _ACEOF
18148 rm -f conftest.$ac_objext
18149 if { (ac_try="$ac_compile"
18150 case "(($ac_try" in
18151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18152 *) ac_try_echo=$ac_try;;
18153 esac
18154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18155 (eval "$ac_compile") 2>conftest.er1
18156 ac_status=$?
18157 grep -v '^ *+' conftest.er1 >conftest.err
18158 rm -f conftest.er1
18159 cat conftest.err >&5
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); } && {
18162 test -z "$ac_c_werror_flag" ||
18163 test ! -s conftest.err
18164 } && test -s conftest.$ac_objext; then
18165 ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS=yes
18166 else
18167 echo "$as_me: failed program was:" >&5
18168 sed 's/^/| /' conftest.$ac_ext >&5
18170 ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS=no
18173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18175 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" >&5
18176 echo "${ECHO_T}$ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" >&6; }
18177 if test $ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS = yes; then
18179 cat >>confdefs.h <<_ACEOF
18180 #define HAVE_DECL_CURLE_TOO_MANY_REDIRECTS 1
18181 _ACEOF
18184 else
18185 cat >>confdefs.h <<_ACEOF
18186 #define HAVE_DECL_CURLE_TOO_MANY_REDIRECTS 0
18187 _ACEOF
18191 { echo "$as_me:$LINENO: checking whether CURLE_UNKNOWN_TELNET_OPTION is declared" >&5
18192 echo $ECHO_N "checking whether CURLE_UNKNOWN_TELNET_OPTION is declared... $ECHO_C" >&6; }
18193 if test "${ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION+set}" = set; then
18194 echo $ECHO_N "(cached) $ECHO_C" >&6
18195 else
18196 cat >conftest.$ac_ext <<_ACEOF
18197 /* confdefs.h. */
18198 _ACEOF
18199 cat confdefs.h >>conftest.$ac_ext
18200 cat >>conftest.$ac_ext <<_ACEOF
18201 /* end confdefs.h. */
18203 #include "curl/curl.h"
18207 main ()
18209 #ifndef CURLE_UNKNOWN_TELNET_OPTION
18210 (void) CURLE_UNKNOWN_TELNET_OPTION;
18211 #endif
18214 return 0;
18216 _ACEOF
18217 rm -f conftest.$ac_objext
18218 if { (ac_try="$ac_compile"
18219 case "(($ac_try" in
18220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18221 *) ac_try_echo=$ac_try;;
18222 esac
18223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18224 (eval "$ac_compile") 2>conftest.er1
18225 ac_status=$?
18226 grep -v '^ *+' conftest.er1 >conftest.err
18227 rm -f conftest.er1
18228 cat conftest.err >&5
18229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230 (exit $ac_status); } && {
18231 test -z "$ac_c_werror_flag" ||
18232 test ! -s conftest.err
18233 } && test -s conftest.$ac_objext; then
18234 ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION=yes
18235 else
18236 echo "$as_me: failed program was:" >&5
18237 sed 's/^/| /' conftest.$ac_ext >&5
18239 ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION=no
18242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18244 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" >&5
18245 echo "${ECHO_T}$ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" >&6; }
18246 if test $ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION = yes; then
18248 cat >>confdefs.h <<_ACEOF
18249 #define HAVE_DECL_CURLE_UNKNOWN_TELNET_OPTION 1
18250 _ACEOF
18253 else
18254 cat >>confdefs.h <<_ACEOF
18255 #define HAVE_DECL_CURLE_UNKNOWN_TELNET_OPTION 0
18256 _ACEOF
18260 { echo "$as_me:$LINENO: checking whether CURLE_TELNET_OPTION_SYNTAX is declared" >&5
18261 echo $ECHO_N "checking whether CURLE_TELNET_OPTION_SYNTAX is declared... $ECHO_C" >&6; }
18262 if test "${ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX+set}" = set; then
18263 echo $ECHO_N "(cached) $ECHO_C" >&6
18264 else
18265 cat >conftest.$ac_ext <<_ACEOF
18266 /* confdefs.h. */
18267 _ACEOF
18268 cat confdefs.h >>conftest.$ac_ext
18269 cat >>conftest.$ac_ext <<_ACEOF
18270 /* end confdefs.h. */
18272 #include "curl/curl.h"
18276 main ()
18278 #ifndef CURLE_TELNET_OPTION_SYNTAX
18279 (void) CURLE_TELNET_OPTION_SYNTAX;
18280 #endif
18283 return 0;
18285 _ACEOF
18286 rm -f conftest.$ac_objext
18287 if { (ac_try="$ac_compile"
18288 case "(($ac_try" in
18289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18290 *) ac_try_echo=$ac_try;;
18291 esac
18292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18293 (eval "$ac_compile") 2>conftest.er1
18294 ac_status=$?
18295 grep -v '^ *+' conftest.er1 >conftest.err
18296 rm -f conftest.er1
18297 cat conftest.err >&5
18298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); } && {
18300 test -z "$ac_c_werror_flag" ||
18301 test ! -s conftest.err
18302 } && test -s conftest.$ac_objext; then
18303 ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX=yes
18304 else
18305 echo "$as_me: failed program was:" >&5
18306 sed 's/^/| /' conftest.$ac_ext >&5
18308 ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX=no
18311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18313 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" >&5
18314 echo "${ECHO_T}$ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" >&6; }
18315 if test $ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX = yes; then
18317 cat >>confdefs.h <<_ACEOF
18318 #define HAVE_DECL_CURLE_TELNET_OPTION_SYNTAX 1
18319 _ACEOF
18322 else
18323 cat >>confdefs.h <<_ACEOF
18324 #define HAVE_DECL_CURLE_TELNET_OPTION_SYNTAX 0
18325 _ACEOF
18329 { echo "$as_me:$LINENO: checking whether CURLE_SSL_PEER_CERTIFICATE is declared" >&5
18330 echo $ECHO_N "checking whether CURLE_SSL_PEER_CERTIFICATE is declared... $ECHO_C" >&6; }
18331 if test "${ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE+set}" = set; then
18332 echo $ECHO_N "(cached) $ECHO_C" >&6
18333 else
18334 cat >conftest.$ac_ext <<_ACEOF
18335 /* confdefs.h. */
18336 _ACEOF
18337 cat confdefs.h >>conftest.$ac_ext
18338 cat >>conftest.$ac_ext <<_ACEOF
18339 /* end confdefs.h. */
18341 #include "curl/curl.h"
18345 main ()
18347 #ifndef CURLE_SSL_PEER_CERTIFICATE
18348 (void) CURLE_SSL_PEER_CERTIFICATE;
18349 #endif
18352 return 0;
18354 _ACEOF
18355 rm -f conftest.$ac_objext
18356 if { (ac_try="$ac_compile"
18357 case "(($ac_try" in
18358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18359 *) ac_try_echo=$ac_try;;
18360 esac
18361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18362 (eval "$ac_compile") 2>conftest.er1
18363 ac_status=$?
18364 grep -v '^ *+' conftest.er1 >conftest.err
18365 rm -f conftest.er1
18366 cat conftest.err >&5
18367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368 (exit $ac_status); } && {
18369 test -z "$ac_c_werror_flag" ||
18370 test ! -s conftest.err
18371 } && test -s conftest.$ac_objext; then
18372 ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE=yes
18373 else
18374 echo "$as_me: failed program was:" >&5
18375 sed 's/^/| /' conftest.$ac_ext >&5
18377 ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE=no
18380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18382 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" >&5
18383 echo "${ECHO_T}$ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" >&6; }
18384 if test $ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE = yes; then
18386 cat >>confdefs.h <<_ACEOF
18387 #define HAVE_DECL_CURLE_SSL_PEER_CERTIFICATE 1
18388 _ACEOF
18391 else
18392 cat >>confdefs.h <<_ACEOF
18393 #define HAVE_DECL_CURLE_SSL_PEER_CERTIFICATE 0
18394 _ACEOF
18398 { echo "$as_me:$LINENO: checking whether CURLE_GOT_NOTHING is declared" >&5
18399 echo $ECHO_N "checking whether CURLE_GOT_NOTHING is declared... $ECHO_C" >&6; }
18400 if test "${ac_cv_have_decl_CURLE_GOT_NOTHING+set}" = set; then
18401 echo $ECHO_N "(cached) $ECHO_C" >&6
18402 else
18403 cat >conftest.$ac_ext <<_ACEOF
18404 /* confdefs.h. */
18405 _ACEOF
18406 cat confdefs.h >>conftest.$ac_ext
18407 cat >>conftest.$ac_ext <<_ACEOF
18408 /* end confdefs.h. */
18410 #include "curl/curl.h"
18414 main ()
18416 #ifndef CURLE_GOT_NOTHING
18417 (void) CURLE_GOT_NOTHING;
18418 #endif
18421 return 0;
18423 _ACEOF
18424 rm -f conftest.$ac_objext
18425 if { (ac_try="$ac_compile"
18426 case "(($ac_try" in
18427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18428 *) ac_try_echo=$ac_try;;
18429 esac
18430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18431 (eval "$ac_compile") 2>conftest.er1
18432 ac_status=$?
18433 grep -v '^ *+' conftest.er1 >conftest.err
18434 rm -f conftest.er1
18435 cat conftest.err >&5
18436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437 (exit $ac_status); } && {
18438 test -z "$ac_c_werror_flag" ||
18439 test ! -s conftest.err
18440 } && test -s conftest.$ac_objext; then
18441 ac_cv_have_decl_CURLE_GOT_NOTHING=yes
18442 else
18443 echo "$as_me: failed program was:" >&5
18444 sed 's/^/| /' conftest.$ac_ext >&5
18446 ac_cv_have_decl_CURLE_GOT_NOTHING=no
18449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18451 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_GOT_NOTHING" >&5
18452 echo "${ECHO_T}$ac_cv_have_decl_CURLE_GOT_NOTHING" >&6; }
18453 if test $ac_cv_have_decl_CURLE_GOT_NOTHING = yes; then
18455 cat >>confdefs.h <<_ACEOF
18456 #define HAVE_DECL_CURLE_GOT_NOTHING 1
18457 _ACEOF
18460 else
18461 cat >>confdefs.h <<_ACEOF
18462 #define HAVE_DECL_CURLE_GOT_NOTHING 0
18463 _ACEOF
18467 { echo "$as_me:$LINENO: checking whether CURLE_SSL_ENGINE_NOTFOUND is declared" >&5
18468 echo $ECHO_N "checking whether CURLE_SSL_ENGINE_NOTFOUND is declared... $ECHO_C" >&6; }
18469 if test "${ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND+set}" = set; then
18470 echo $ECHO_N "(cached) $ECHO_C" >&6
18471 else
18472 cat >conftest.$ac_ext <<_ACEOF
18473 /* confdefs.h. */
18474 _ACEOF
18475 cat confdefs.h >>conftest.$ac_ext
18476 cat >>conftest.$ac_ext <<_ACEOF
18477 /* end confdefs.h. */
18479 #include "curl/curl.h"
18483 main ()
18485 #ifndef CURLE_SSL_ENGINE_NOTFOUND
18486 (void) CURLE_SSL_ENGINE_NOTFOUND;
18487 #endif
18490 return 0;
18492 _ACEOF
18493 rm -f conftest.$ac_objext
18494 if { (ac_try="$ac_compile"
18495 case "(($ac_try" in
18496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18497 *) ac_try_echo=$ac_try;;
18498 esac
18499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18500 (eval "$ac_compile") 2>conftest.er1
18501 ac_status=$?
18502 grep -v '^ *+' conftest.er1 >conftest.err
18503 rm -f conftest.er1
18504 cat conftest.err >&5
18505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18506 (exit $ac_status); } && {
18507 test -z "$ac_c_werror_flag" ||
18508 test ! -s conftest.err
18509 } && test -s conftest.$ac_objext; then
18510 ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND=yes
18511 else
18512 echo "$as_me: failed program was:" >&5
18513 sed 's/^/| /' conftest.$ac_ext >&5
18515 ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND=no
18518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18520 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" >&5
18521 echo "${ECHO_T}$ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" >&6; }
18522 if test $ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND = yes; then
18524 cat >>confdefs.h <<_ACEOF
18525 #define HAVE_DECL_CURLE_SSL_ENGINE_NOTFOUND 1
18526 _ACEOF
18529 else
18530 cat >>confdefs.h <<_ACEOF
18531 #define HAVE_DECL_CURLE_SSL_ENGINE_NOTFOUND 0
18532 _ACEOF
18536 { echo "$as_me:$LINENO: checking whether CURLE_SSL_ENGINE_SETFAILED is declared" >&5
18537 echo $ECHO_N "checking whether CURLE_SSL_ENGINE_SETFAILED is declared... $ECHO_C" >&6; }
18538 if test "${ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED+set}" = set; then
18539 echo $ECHO_N "(cached) $ECHO_C" >&6
18540 else
18541 cat >conftest.$ac_ext <<_ACEOF
18542 /* confdefs.h. */
18543 _ACEOF
18544 cat confdefs.h >>conftest.$ac_ext
18545 cat >>conftest.$ac_ext <<_ACEOF
18546 /* end confdefs.h. */
18548 #include "curl/curl.h"
18552 main ()
18554 #ifndef CURLE_SSL_ENGINE_SETFAILED
18555 (void) CURLE_SSL_ENGINE_SETFAILED;
18556 #endif
18559 return 0;
18561 _ACEOF
18562 rm -f conftest.$ac_objext
18563 if { (ac_try="$ac_compile"
18564 case "(($ac_try" in
18565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18566 *) ac_try_echo=$ac_try;;
18567 esac
18568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18569 (eval "$ac_compile") 2>conftest.er1
18570 ac_status=$?
18571 grep -v '^ *+' conftest.er1 >conftest.err
18572 rm -f conftest.er1
18573 cat conftest.err >&5
18574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575 (exit $ac_status); } && {
18576 test -z "$ac_c_werror_flag" ||
18577 test ! -s conftest.err
18578 } && test -s conftest.$ac_objext; then
18579 ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED=yes
18580 else
18581 echo "$as_me: failed program was:" >&5
18582 sed 's/^/| /' conftest.$ac_ext >&5
18584 ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED=no
18587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18589 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" >&5
18590 echo "${ECHO_T}$ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" >&6; }
18591 if test $ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED = yes; then
18593 cat >>confdefs.h <<_ACEOF
18594 #define HAVE_DECL_CURLE_SSL_ENGINE_SETFAILED 1
18595 _ACEOF
18598 else
18599 cat >>confdefs.h <<_ACEOF
18600 #define HAVE_DECL_CURLE_SSL_ENGINE_SETFAILED 0
18601 _ACEOF
18605 { echo "$as_me:$LINENO: checking whether CURLE_SEND_ERROR is declared" >&5
18606 echo $ECHO_N "checking whether CURLE_SEND_ERROR is declared... $ECHO_C" >&6; }
18607 if test "${ac_cv_have_decl_CURLE_SEND_ERROR+set}" = set; then
18608 echo $ECHO_N "(cached) $ECHO_C" >&6
18609 else
18610 cat >conftest.$ac_ext <<_ACEOF
18611 /* confdefs.h. */
18612 _ACEOF
18613 cat confdefs.h >>conftest.$ac_ext
18614 cat >>conftest.$ac_ext <<_ACEOF
18615 /* end confdefs.h. */
18617 #include "curl/curl.h"
18621 main ()
18623 #ifndef CURLE_SEND_ERROR
18624 (void) CURLE_SEND_ERROR;
18625 #endif
18628 return 0;
18630 _ACEOF
18631 rm -f conftest.$ac_objext
18632 if { (ac_try="$ac_compile"
18633 case "(($ac_try" in
18634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18635 *) ac_try_echo=$ac_try;;
18636 esac
18637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18638 (eval "$ac_compile") 2>conftest.er1
18639 ac_status=$?
18640 grep -v '^ *+' conftest.er1 >conftest.err
18641 rm -f conftest.er1
18642 cat conftest.err >&5
18643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18644 (exit $ac_status); } && {
18645 test -z "$ac_c_werror_flag" ||
18646 test ! -s conftest.err
18647 } && test -s conftest.$ac_objext; then
18648 ac_cv_have_decl_CURLE_SEND_ERROR=yes
18649 else
18650 echo "$as_me: failed program was:" >&5
18651 sed 's/^/| /' conftest.$ac_ext >&5
18653 ac_cv_have_decl_CURLE_SEND_ERROR=no
18656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18658 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_SEND_ERROR" >&5
18659 echo "${ECHO_T}$ac_cv_have_decl_CURLE_SEND_ERROR" >&6; }
18660 if test $ac_cv_have_decl_CURLE_SEND_ERROR = yes; then
18662 cat >>confdefs.h <<_ACEOF
18663 #define HAVE_DECL_CURLE_SEND_ERROR 1
18664 _ACEOF
18667 else
18668 cat >>confdefs.h <<_ACEOF
18669 #define HAVE_DECL_CURLE_SEND_ERROR 0
18670 _ACEOF
18674 { echo "$as_me:$LINENO: checking whether CURLE_RECV_ERROR is declared" >&5
18675 echo $ECHO_N "checking whether CURLE_RECV_ERROR is declared... $ECHO_C" >&6; }
18676 if test "${ac_cv_have_decl_CURLE_RECV_ERROR+set}" = set; then
18677 echo $ECHO_N "(cached) $ECHO_C" >&6
18678 else
18679 cat >conftest.$ac_ext <<_ACEOF
18680 /* confdefs.h. */
18681 _ACEOF
18682 cat confdefs.h >>conftest.$ac_ext
18683 cat >>conftest.$ac_ext <<_ACEOF
18684 /* end confdefs.h. */
18686 #include "curl/curl.h"
18690 main ()
18692 #ifndef CURLE_RECV_ERROR
18693 (void) CURLE_RECV_ERROR;
18694 #endif
18697 return 0;
18699 _ACEOF
18700 rm -f conftest.$ac_objext
18701 if { (ac_try="$ac_compile"
18702 case "(($ac_try" in
18703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18704 *) ac_try_echo=$ac_try;;
18705 esac
18706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18707 (eval "$ac_compile") 2>conftest.er1
18708 ac_status=$?
18709 grep -v '^ *+' conftest.er1 >conftest.err
18710 rm -f conftest.er1
18711 cat conftest.err >&5
18712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18713 (exit $ac_status); } && {
18714 test -z "$ac_c_werror_flag" ||
18715 test ! -s conftest.err
18716 } && test -s conftest.$ac_objext; then
18717 ac_cv_have_decl_CURLE_RECV_ERROR=yes
18718 else
18719 echo "$as_me: failed program was:" >&5
18720 sed 's/^/| /' conftest.$ac_ext >&5
18722 ac_cv_have_decl_CURLE_RECV_ERROR=no
18725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18727 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_RECV_ERROR" >&5
18728 echo "${ECHO_T}$ac_cv_have_decl_CURLE_RECV_ERROR" >&6; }
18729 if test $ac_cv_have_decl_CURLE_RECV_ERROR = yes; then
18731 cat >>confdefs.h <<_ACEOF
18732 #define HAVE_DECL_CURLE_RECV_ERROR 1
18733 _ACEOF
18736 else
18737 cat >>confdefs.h <<_ACEOF
18738 #define HAVE_DECL_CURLE_RECV_ERROR 0
18739 _ACEOF
18743 { echo "$as_me:$LINENO: checking whether CURLE_SHARE_IN_USE is declared" >&5
18744 echo $ECHO_N "checking whether CURLE_SHARE_IN_USE is declared... $ECHO_C" >&6; }
18745 if test "${ac_cv_have_decl_CURLE_SHARE_IN_USE+set}" = set; then
18746 echo $ECHO_N "(cached) $ECHO_C" >&6
18747 else
18748 cat >conftest.$ac_ext <<_ACEOF
18749 /* confdefs.h. */
18750 _ACEOF
18751 cat confdefs.h >>conftest.$ac_ext
18752 cat >>conftest.$ac_ext <<_ACEOF
18753 /* end confdefs.h. */
18755 #include "curl/curl.h"
18759 main ()
18761 #ifndef CURLE_SHARE_IN_USE
18762 (void) CURLE_SHARE_IN_USE;
18763 #endif
18766 return 0;
18768 _ACEOF
18769 rm -f conftest.$ac_objext
18770 if { (ac_try="$ac_compile"
18771 case "(($ac_try" in
18772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18773 *) ac_try_echo=$ac_try;;
18774 esac
18775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18776 (eval "$ac_compile") 2>conftest.er1
18777 ac_status=$?
18778 grep -v '^ *+' conftest.er1 >conftest.err
18779 rm -f conftest.er1
18780 cat conftest.err >&5
18781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18782 (exit $ac_status); } && {
18783 test -z "$ac_c_werror_flag" ||
18784 test ! -s conftest.err
18785 } && test -s conftest.$ac_objext; then
18786 ac_cv_have_decl_CURLE_SHARE_IN_USE=yes
18787 else
18788 echo "$as_me: failed program was:" >&5
18789 sed 's/^/| /' conftest.$ac_ext >&5
18791 ac_cv_have_decl_CURLE_SHARE_IN_USE=no
18794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18796 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_SHARE_IN_USE" >&5
18797 echo "${ECHO_T}$ac_cv_have_decl_CURLE_SHARE_IN_USE" >&6; }
18798 if test $ac_cv_have_decl_CURLE_SHARE_IN_USE = yes; then
18800 cat >>confdefs.h <<_ACEOF
18801 #define HAVE_DECL_CURLE_SHARE_IN_USE 1
18802 _ACEOF
18805 else
18806 cat >>confdefs.h <<_ACEOF
18807 #define HAVE_DECL_CURLE_SHARE_IN_USE 0
18808 _ACEOF
18812 { echo "$as_me:$LINENO: checking whether CURLE_SSL_CERTPROBLEM is declared" >&5
18813 echo $ECHO_N "checking whether CURLE_SSL_CERTPROBLEM is declared... $ECHO_C" >&6; }
18814 if test "${ac_cv_have_decl_CURLE_SSL_CERTPROBLEM+set}" = set; then
18815 echo $ECHO_N "(cached) $ECHO_C" >&6
18816 else
18817 cat >conftest.$ac_ext <<_ACEOF
18818 /* confdefs.h. */
18819 _ACEOF
18820 cat confdefs.h >>conftest.$ac_ext
18821 cat >>conftest.$ac_ext <<_ACEOF
18822 /* end confdefs.h. */
18824 #include "curl/curl.h"
18828 main ()
18830 #ifndef CURLE_SSL_CERTPROBLEM
18831 (void) CURLE_SSL_CERTPROBLEM;
18832 #endif
18835 return 0;
18837 _ACEOF
18838 rm -f conftest.$ac_objext
18839 if { (ac_try="$ac_compile"
18840 case "(($ac_try" in
18841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18842 *) ac_try_echo=$ac_try;;
18843 esac
18844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18845 (eval "$ac_compile") 2>conftest.er1
18846 ac_status=$?
18847 grep -v '^ *+' conftest.er1 >conftest.err
18848 rm -f conftest.er1
18849 cat conftest.err >&5
18850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18851 (exit $ac_status); } && {
18852 test -z "$ac_c_werror_flag" ||
18853 test ! -s conftest.err
18854 } && test -s conftest.$ac_objext; then
18855 ac_cv_have_decl_CURLE_SSL_CERTPROBLEM=yes
18856 else
18857 echo "$as_me: failed program was:" >&5
18858 sed 's/^/| /' conftest.$ac_ext >&5
18860 ac_cv_have_decl_CURLE_SSL_CERTPROBLEM=no
18863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18865 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" >&5
18866 echo "${ECHO_T}$ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" >&6; }
18867 if test $ac_cv_have_decl_CURLE_SSL_CERTPROBLEM = yes; then
18869 cat >>confdefs.h <<_ACEOF
18870 #define HAVE_DECL_CURLE_SSL_CERTPROBLEM 1
18871 _ACEOF
18874 else
18875 cat >>confdefs.h <<_ACEOF
18876 #define HAVE_DECL_CURLE_SSL_CERTPROBLEM 0
18877 _ACEOF
18881 { echo "$as_me:$LINENO: checking whether CURLE_SSL_CIPHER is declared" >&5
18882 echo $ECHO_N "checking whether CURLE_SSL_CIPHER is declared... $ECHO_C" >&6; }
18883 if test "${ac_cv_have_decl_CURLE_SSL_CIPHER+set}" = set; then
18884 echo $ECHO_N "(cached) $ECHO_C" >&6
18885 else
18886 cat >conftest.$ac_ext <<_ACEOF
18887 /* confdefs.h. */
18888 _ACEOF
18889 cat confdefs.h >>conftest.$ac_ext
18890 cat >>conftest.$ac_ext <<_ACEOF
18891 /* end confdefs.h. */
18893 #include "curl/curl.h"
18897 main ()
18899 #ifndef CURLE_SSL_CIPHER
18900 (void) CURLE_SSL_CIPHER;
18901 #endif
18904 return 0;
18906 _ACEOF
18907 rm -f conftest.$ac_objext
18908 if { (ac_try="$ac_compile"
18909 case "(($ac_try" in
18910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18911 *) ac_try_echo=$ac_try;;
18912 esac
18913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18914 (eval "$ac_compile") 2>conftest.er1
18915 ac_status=$?
18916 grep -v '^ *+' conftest.er1 >conftest.err
18917 rm -f conftest.er1
18918 cat conftest.err >&5
18919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18920 (exit $ac_status); } && {
18921 test -z "$ac_c_werror_flag" ||
18922 test ! -s conftest.err
18923 } && test -s conftest.$ac_objext; then
18924 ac_cv_have_decl_CURLE_SSL_CIPHER=yes
18925 else
18926 echo "$as_me: failed program was:" >&5
18927 sed 's/^/| /' conftest.$ac_ext >&5
18929 ac_cv_have_decl_CURLE_SSL_CIPHER=no
18932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18934 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_SSL_CIPHER" >&5
18935 echo "${ECHO_T}$ac_cv_have_decl_CURLE_SSL_CIPHER" >&6; }
18936 if test $ac_cv_have_decl_CURLE_SSL_CIPHER = yes; then
18938 cat >>confdefs.h <<_ACEOF
18939 #define HAVE_DECL_CURLE_SSL_CIPHER 1
18940 _ACEOF
18943 else
18944 cat >>confdefs.h <<_ACEOF
18945 #define HAVE_DECL_CURLE_SSL_CIPHER 0
18946 _ACEOF
18950 { echo "$as_me:$LINENO: checking whether CURLE_SSL_CACERT is declared" >&5
18951 echo $ECHO_N "checking whether CURLE_SSL_CACERT is declared... $ECHO_C" >&6; }
18952 if test "${ac_cv_have_decl_CURLE_SSL_CACERT+set}" = set; then
18953 echo $ECHO_N "(cached) $ECHO_C" >&6
18954 else
18955 cat >conftest.$ac_ext <<_ACEOF
18956 /* confdefs.h. */
18957 _ACEOF
18958 cat confdefs.h >>conftest.$ac_ext
18959 cat >>conftest.$ac_ext <<_ACEOF
18960 /* end confdefs.h. */
18962 #include "curl/curl.h"
18966 main ()
18968 #ifndef CURLE_SSL_CACERT
18969 (void) CURLE_SSL_CACERT;
18970 #endif
18973 return 0;
18975 _ACEOF
18976 rm -f conftest.$ac_objext
18977 if { (ac_try="$ac_compile"
18978 case "(($ac_try" in
18979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18980 *) ac_try_echo=$ac_try;;
18981 esac
18982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18983 (eval "$ac_compile") 2>conftest.er1
18984 ac_status=$?
18985 grep -v '^ *+' conftest.er1 >conftest.err
18986 rm -f conftest.er1
18987 cat conftest.err >&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); } && {
18990 test -z "$ac_c_werror_flag" ||
18991 test ! -s conftest.err
18992 } && test -s conftest.$ac_objext; then
18993 ac_cv_have_decl_CURLE_SSL_CACERT=yes
18994 else
18995 echo "$as_me: failed program was:" >&5
18996 sed 's/^/| /' conftest.$ac_ext >&5
18998 ac_cv_have_decl_CURLE_SSL_CACERT=no
19001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19003 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_SSL_CACERT" >&5
19004 echo "${ECHO_T}$ac_cv_have_decl_CURLE_SSL_CACERT" >&6; }
19005 if test $ac_cv_have_decl_CURLE_SSL_CACERT = yes; then
19007 cat >>confdefs.h <<_ACEOF
19008 #define HAVE_DECL_CURLE_SSL_CACERT 1
19009 _ACEOF
19012 else
19013 cat >>confdefs.h <<_ACEOF
19014 #define HAVE_DECL_CURLE_SSL_CACERT 0
19015 _ACEOF
19019 { echo "$as_me:$LINENO: checking whether CURLE_BAD_CONTENT_ENCODING is declared" >&5
19020 echo $ECHO_N "checking whether CURLE_BAD_CONTENT_ENCODING is declared... $ECHO_C" >&6; }
19021 if test "${ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING+set}" = set; then
19022 echo $ECHO_N "(cached) $ECHO_C" >&6
19023 else
19024 cat >conftest.$ac_ext <<_ACEOF
19025 /* confdefs.h. */
19026 _ACEOF
19027 cat confdefs.h >>conftest.$ac_ext
19028 cat >>conftest.$ac_ext <<_ACEOF
19029 /* end confdefs.h. */
19031 #include "curl/curl.h"
19035 main ()
19037 #ifndef CURLE_BAD_CONTENT_ENCODING
19038 (void) CURLE_BAD_CONTENT_ENCODING;
19039 #endif
19042 return 0;
19044 _ACEOF
19045 rm -f conftest.$ac_objext
19046 if { (ac_try="$ac_compile"
19047 case "(($ac_try" in
19048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19049 *) ac_try_echo=$ac_try;;
19050 esac
19051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19052 (eval "$ac_compile") 2>conftest.er1
19053 ac_status=$?
19054 grep -v '^ *+' conftest.er1 >conftest.err
19055 rm -f conftest.er1
19056 cat conftest.err >&5
19057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19058 (exit $ac_status); } && {
19059 test -z "$ac_c_werror_flag" ||
19060 test ! -s conftest.err
19061 } && test -s conftest.$ac_objext; then
19062 ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING=yes
19063 else
19064 echo "$as_me: failed program was:" >&5
19065 sed 's/^/| /' conftest.$ac_ext >&5
19067 ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING=no
19070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19072 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" >&5
19073 echo "${ECHO_T}$ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" >&6; }
19074 if test $ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING = yes; then
19076 cat >>confdefs.h <<_ACEOF
19077 #define HAVE_DECL_CURLE_BAD_CONTENT_ENCODING 1
19078 _ACEOF
19081 else
19082 cat >>confdefs.h <<_ACEOF
19083 #define HAVE_DECL_CURLE_BAD_CONTENT_ENCODING 0
19084 _ACEOF
19088 { echo "$as_me:$LINENO: checking whether CURLE_LDAP_INVALID_URL is declared" >&5
19089 echo $ECHO_N "checking whether CURLE_LDAP_INVALID_URL is declared... $ECHO_C" >&6; }
19090 if test "${ac_cv_have_decl_CURLE_LDAP_INVALID_URL+set}" = set; then
19091 echo $ECHO_N "(cached) $ECHO_C" >&6
19092 else
19093 cat >conftest.$ac_ext <<_ACEOF
19094 /* confdefs.h. */
19095 _ACEOF
19096 cat confdefs.h >>conftest.$ac_ext
19097 cat >>conftest.$ac_ext <<_ACEOF
19098 /* end confdefs.h. */
19100 #include "curl/curl.h"
19104 main ()
19106 #ifndef CURLE_LDAP_INVALID_URL
19107 (void) CURLE_LDAP_INVALID_URL;
19108 #endif
19111 return 0;
19113 _ACEOF
19114 rm -f conftest.$ac_objext
19115 if { (ac_try="$ac_compile"
19116 case "(($ac_try" in
19117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19118 *) ac_try_echo=$ac_try;;
19119 esac
19120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19121 (eval "$ac_compile") 2>conftest.er1
19122 ac_status=$?
19123 grep -v '^ *+' conftest.er1 >conftest.err
19124 rm -f conftest.er1
19125 cat conftest.err >&5
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); } && {
19128 test -z "$ac_c_werror_flag" ||
19129 test ! -s conftest.err
19130 } && test -s conftest.$ac_objext; then
19131 ac_cv_have_decl_CURLE_LDAP_INVALID_URL=yes
19132 else
19133 echo "$as_me: failed program was:" >&5
19134 sed 's/^/| /' conftest.$ac_ext >&5
19136 ac_cv_have_decl_CURLE_LDAP_INVALID_URL=no
19139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19141 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_LDAP_INVALID_URL" >&5
19142 echo "${ECHO_T}$ac_cv_have_decl_CURLE_LDAP_INVALID_URL" >&6; }
19143 if test $ac_cv_have_decl_CURLE_LDAP_INVALID_URL = yes; then
19145 cat >>confdefs.h <<_ACEOF
19146 #define HAVE_DECL_CURLE_LDAP_INVALID_URL 1
19147 _ACEOF
19150 else
19151 cat >>confdefs.h <<_ACEOF
19152 #define HAVE_DECL_CURLE_LDAP_INVALID_URL 0
19153 _ACEOF
19157 { echo "$as_me:$LINENO: checking whether CURLE_FILESIZE_EXCEEDED is declared" >&5
19158 echo $ECHO_N "checking whether CURLE_FILESIZE_EXCEEDED is declared... $ECHO_C" >&6; }
19159 if test "${ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED+set}" = set; then
19160 echo $ECHO_N "(cached) $ECHO_C" >&6
19161 else
19162 cat >conftest.$ac_ext <<_ACEOF
19163 /* confdefs.h. */
19164 _ACEOF
19165 cat confdefs.h >>conftest.$ac_ext
19166 cat >>conftest.$ac_ext <<_ACEOF
19167 /* end confdefs.h. */
19169 #include "curl/curl.h"
19173 main ()
19175 #ifndef CURLE_FILESIZE_EXCEEDED
19176 (void) CURLE_FILESIZE_EXCEEDED;
19177 #endif
19180 return 0;
19182 _ACEOF
19183 rm -f conftest.$ac_objext
19184 if { (ac_try="$ac_compile"
19185 case "(($ac_try" in
19186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19187 *) ac_try_echo=$ac_try;;
19188 esac
19189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19190 (eval "$ac_compile") 2>conftest.er1
19191 ac_status=$?
19192 grep -v '^ *+' conftest.er1 >conftest.err
19193 rm -f conftest.er1
19194 cat conftest.err >&5
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); } && {
19197 test -z "$ac_c_werror_flag" ||
19198 test ! -s conftest.err
19199 } && test -s conftest.$ac_objext; then
19200 ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED=yes
19201 else
19202 echo "$as_me: failed program was:" >&5
19203 sed 's/^/| /' conftest.$ac_ext >&5
19205 ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED=no
19208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19210 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" >&5
19211 echo "${ECHO_T}$ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" >&6; }
19212 if test $ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED = yes; then
19214 cat >>confdefs.h <<_ACEOF
19215 #define HAVE_DECL_CURLE_FILESIZE_EXCEEDED 1
19216 _ACEOF
19219 else
19220 cat >>confdefs.h <<_ACEOF
19221 #define HAVE_DECL_CURLE_FILESIZE_EXCEEDED 0
19222 _ACEOF
19226 { echo "$as_me:$LINENO: checking whether CURLE_FTP_SSL_FAILED is declared" >&5
19227 echo $ECHO_N "checking whether CURLE_FTP_SSL_FAILED is declared... $ECHO_C" >&6; }
19228 if test "${ac_cv_have_decl_CURLE_FTP_SSL_FAILED+set}" = set; then
19229 echo $ECHO_N "(cached) $ECHO_C" >&6
19230 else
19231 cat >conftest.$ac_ext <<_ACEOF
19232 /* confdefs.h. */
19233 _ACEOF
19234 cat confdefs.h >>conftest.$ac_ext
19235 cat >>conftest.$ac_ext <<_ACEOF
19236 /* end confdefs.h. */
19238 #include "curl/curl.h"
19242 main ()
19244 #ifndef CURLE_FTP_SSL_FAILED
19245 (void) CURLE_FTP_SSL_FAILED;
19246 #endif
19249 return 0;
19251 _ACEOF
19252 rm -f conftest.$ac_objext
19253 if { (ac_try="$ac_compile"
19254 case "(($ac_try" in
19255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19256 *) ac_try_echo=$ac_try;;
19257 esac
19258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19259 (eval "$ac_compile") 2>conftest.er1
19260 ac_status=$?
19261 grep -v '^ *+' conftest.er1 >conftest.err
19262 rm -f conftest.er1
19263 cat conftest.err >&5
19264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265 (exit $ac_status); } && {
19266 test -z "$ac_c_werror_flag" ||
19267 test ! -s conftest.err
19268 } && test -s conftest.$ac_objext; then
19269 ac_cv_have_decl_CURLE_FTP_SSL_FAILED=yes
19270 else
19271 echo "$as_me: failed program was:" >&5
19272 sed 's/^/| /' conftest.$ac_ext >&5
19274 ac_cv_have_decl_CURLE_FTP_SSL_FAILED=no
19277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19279 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_FTP_SSL_FAILED" >&5
19280 echo "${ECHO_T}$ac_cv_have_decl_CURLE_FTP_SSL_FAILED" >&6; }
19281 if test $ac_cv_have_decl_CURLE_FTP_SSL_FAILED = yes; then
19283 cat >>confdefs.h <<_ACEOF
19284 #define HAVE_DECL_CURLE_FTP_SSL_FAILED 1
19285 _ACEOF
19288 else
19289 cat >>confdefs.h <<_ACEOF
19290 #define HAVE_DECL_CURLE_FTP_SSL_FAILED 0
19291 _ACEOF
19295 { echo "$as_me:$LINENO: checking whether CURLE_SEND_FAIL_REWIND is declared" >&5
19296 echo $ECHO_N "checking whether CURLE_SEND_FAIL_REWIND is declared... $ECHO_C" >&6; }
19297 if test "${ac_cv_have_decl_CURLE_SEND_FAIL_REWIND+set}" = set; then
19298 echo $ECHO_N "(cached) $ECHO_C" >&6
19299 else
19300 cat >conftest.$ac_ext <<_ACEOF
19301 /* confdefs.h. */
19302 _ACEOF
19303 cat confdefs.h >>conftest.$ac_ext
19304 cat >>conftest.$ac_ext <<_ACEOF
19305 /* end confdefs.h. */
19307 #include "curl/curl.h"
19311 main ()
19313 #ifndef CURLE_SEND_FAIL_REWIND
19314 (void) CURLE_SEND_FAIL_REWIND;
19315 #endif
19318 return 0;
19320 _ACEOF
19321 rm -f conftest.$ac_objext
19322 if { (ac_try="$ac_compile"
19323 case "(($ac_try" in
19324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19325 *) ac_try_echo=$ac_try;;
19326 esac
19327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19328 (eval "$ac_compile") 2>conftest.er1
19329 ac_status=$?
19330 grep -v '^ *+' conftest.er1 >conftest.err
19331 rm -f conftest.er1
19332 cat conftest.err >&5
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); } && {
19335 test -z "$ac_c_werror_flag" ||
19336 test ! -s conftest.err
19337 } && test -s conftest.$ac_objext; then
19338 ac_cv_have_decl_CURLE_SEND_FAIL_REWIND=yes
19339 else
19340 echo "$as_me: failed program was:" >&5
19341 sed 's/^/| /' conftest.$ac_ext >&5
19343 ac_cv_have_decl_CURLE_SEND_FAIL_REWIND=no
19346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19348 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" >&5
19349 echo "${ECHO_T}$ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" >&6; }
19350 if test $ac_cv_have_decl_CURLE_SEND_FAIL_REWIND = yes; then
19352 cat >>confdefs.h <<_ACEOF
19353 #define HAVE_DECL_CURLE_SEND_FAIL_REWIND 1
19354 _ACEOF
19357 else
19358 cat >>confdefs.h <<_ACEOF
19359 #define HAVE_DECL_CURLE_SEND_FAIL_REWIND 0
19360 _ACEOF
19364 { echo "$as_me:$LINENO: checking whether CURLE_SSL_ENGINE_INITFAILED is declared" >&5
19365 echo $ECHO_N "checking whether CURLE_SSL_ENGINE_INITFAILED is declared... $ECHO_C" >&6; }
19366 if test "${ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED+set}" = set; then
19367 echo $ECHO_N "(cached) $ECHO_C" >&6
19368 else
19369 cat >conftest.$ac_ext <<_ACEOF
19370 /* confdefs.h. */
19371 _ACEOF
19372 cat confdefs.h >>conftest.$ac_ext
19373 cat >>conftest.$ac_ext <<_ACEOF
19374 /* end confdefs.h. */
19376 #include "curl/curl.h"
19380 main ()
19382 #ifndef CURLE_SSL_ENGINE_INITFAILED
19383 (void) CURLE_SSL_ENGINE_INITFAILED;
19384 #endif
19387 return 0;
19389 _ACEOF
19390 rm -f conftest.$ac_objext
19391 if { (ac_try="$ac_compile"
19392 case "(($ac_try" in
19393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19394 *) ac_try_echo=$ac_try;;
19395 esac
19396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19397 (eval "$ac_compile") 2>conftest.er1
19398 ac_status=$?
19399 grep -v '^ *+' conftest.er1 >conftest.err
19400 rm -f conftest.er1
19401 cat conftest.err >&5
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); } && {
19404 test -z "$ac_c_werror_flag" ||
19405 test ! -s conftest.err
19406 } && test -s conftest.$ac_objext; then
19407 ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED=yes
19408 else
19409 echo "$as_me: failed program was:" >&5
19410 sed 's/^/| /' conftest.$ac_ext >&5
19412 ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED=no
19415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19417 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" >&5
19418 echo "${ECHO_T}$ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" >&6; }
19419 if test $ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED = yes; then
19421 cat >>confdefs.h <<_ACEOF
19422 #define HAVE_DECL_CURLE_SSL_ENGINE_INITFAILED 1
19423 _ACEOF
19426 else
19427 cat >>confdefs.h <<_ACEOF
19428 #define HAVE_DECL_CURLE_SSL_ENGINE_INITFAILED 0
19429 _ACEOF
19433 { echo "$as_me:$LINENO: checking whether CURLE_LOGIN_DENIED is declared" >&5
19434 echo $ECHO_N "checking whether CURLE_LOGIN_DENIED is declared... $ECHO_C" >&6; }
19435 if test "${ac_cv_have_decl_CURLE_LOGIN_DENIED+set}" = set; then
19436 echo $ECHO_N "(cached) $ECHO_C" >&6
19437 else
19438 cat >conftest.$ac_ext <<_ACEOF
19439 /* confdefs.h. */
19440 _ACEOF
19441 cat confdefs.h >>conftest.$ac_ext
19442 cat >>conftest.$ac_ext <<_ACEOF
19443 /* end confdefs.h. */
19445 #include "curl/curl.h"
19449 main ()
19451 #ifndef CURLE_LOGIN_DENIED
19452 (void) CURLE_LOGIN_DENIED;
19453 #endif
19456 return 0;
19458 _ACEOF
19459 rm -f conftest.$ac_objext
19460 if { (ac_try="$ac_compile"
19461 case "(($ac_try" in
19462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19463 *) ac_try_echo=$ac_try;;
19464 esac
19465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19466 (eval "$ac_compile") 2>conftest.er1
19467 ac_status=$?
19468 grep -v '^ *+' conftest.er1 >conftest.err
19469 rm -f conftest.er1
19470 cat conftest.err >&5
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); } && {
19473 test -z "$ac_c_werror_flag" ||
19474 test ! -s conftest.err
19475 } && test -s conftest.$ac_objext; then
19476 ac_cv_have_decl_CURLE_LOGIN_DENIED=yes
19477 else
19478 echo "$as_me: failed program was:" >&5
19479 sed 's/^/| /' conftest.$ac_ext >&5
19481 ac_cv_have_decl_CURLE_LOGIN_DENIED=no
19484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19486 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_LOGIN_DENIED" >&5
19487 echo "${ECHO_T}$ac_cv_have_decl_CURLE_LOGIN_DENIED" >&6; }
19488 if test $ac_cv_have_decl_CURLE_LOGIN_DENIED = yes; then
19490 cat >>confdefs.h <<_ACEOF
19491 #define HAVE_DECL_CURLE_LOGIN_DENIED 1
19492 _ACEOF
19495 else
19496 cat >>confdefs.h <<_ACEOF
19497 #define HAVE_DECL_CURLE_LOGIN_DENIED 0
19498 _ACEOF
19502 { echo "$as_me:$LINENO: checking whether CURLE_TFTP_NOTFOUND is declared" >&5
19503 echo $ECHO_N "checking whether CURLE_TFTP_NOTFOUND is declared... $ECHO_C" >&6; }
19504 if test "${ac_cv_have_decl_CURLE_TFTP_NOTFOUND+set}" = set; then
19505 echo $ECHO_N "(cached) $ECHO_C" >&6
19506 else
19507 cat >conftest.$ac_ext <<_ACEOF
19508 /* confdefs.h. */
19509 _ACEOF
19510 cat confdefs.h >>conftest.$ac_ext
19511 cat >>conftest.$ac_ext <<_ACEOF
19512 /* end confdefs.h. */
19514 #include "curl/curl.h"
19518 main ()
19520 #ifndef CURLE_TFTP_NOTFOUND
19521 (void) CURLE_TFTP_NOTFOUND;
19522 #endif
19525 return 0;
19527 _ACEOF
19528 rm -f conftest.$ac_objext
19529 if { (ac_try="$ac_compile"
19530 case "(($ac_try" in
19531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19532 *) ac_try_echo=$ac_try;;
19533 esac
19534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19535 (eval "$ac_compile") 2>conftest.er1
19536 ac_status=$?
19537 grep -v '^ *+' conftest.er1 >conftest.err
19538 rm -f conftest.er1
19539 cat conftest.err >&5
19540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541 (exit $ac_status); } && {
19542 test -z "$ac_c_werror_flag" ||
19543 test ! -s conftest.err
19544 } && test -s conftest.$ac_objext; then
19545 ac_cv_have_decl_CURLE_TFTP_NOTFOUND=yes
19546 else
19547 echo "$as_me: failed program was:" >&5
19548 sed 's/^/| /' conftest.$ac_ext >&5
19550 ac_cv_have_decl_CURLE_TFTP_NOTFOUND=no
19553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19555 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_TFTP_NOTFOUND" >&5
19556 echo "${ECHO_T}$ac_cv_have_decl_CURLE_TFTP_NOTFOUND" >&6; }
19557 if test $ac_cv_have_decl_CURLE_TFTP_NOTFOUND = yes; then
19559 cat >>confdefs.h <<_ACEOF
19560 #define HAVE_DECL_CURLE_TFTP_NOTFOUND 1
19561 _ACEOF
19564 else
19565 cat >>confdefs.h <<_ACEOF
19566 #define HAVE_DECL_CURLE_TFTP_NOTFOUND 0
19567 _ACEOF
19571 { echo "$as_me:$LINENO: checking whether CURLE_TFTP_PERM is declared" >&5
19572 echo $ECHO_N "checking whether CURLE_TFTP_PERM is declared... $ECHO_C" >&6; }
19573 if test "${ac_cv_have_decl_CURLE_TFTP_PERM+set}" = set; then
19574 echo $ECHO_N "(cached) $ECHO_C" >&6
19575 else
19576 cat >conftest.$ac_ext <<_ACEOF
19577 /* confdefs.h. */
19578 _ACEOF
19579 cat confdefs.h >>conftest.$ac_ext
19580 cat >>conftest.$ac_ext <<_ACEOF
19581 /* end confdefs.h. */
19583 #include "curl/curl.h"
19587 main ()
19589 #ifndef CURLE_TFTP_PERM
19590 (void) CURLE_TFTP_PERM;
19591 #endif
19594 return 0;
19596 _ACEOF
19597 rm -f conftest.$ac_objext
19598 if { (ac_try="$ac_compile"
19599 case "(($ac_try" in
19600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19601 *) ac_try_echo=$ac_try;;
19602 esac
19603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19604 (eval "$ac_compile") 2>conftest.er1
19605 ac_status=$?
19606 grep -v '^ *+' conftest.er1 >conftest.err
19607 rm -f conftest.er1
19608 cat conftest.err >&5
19609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 (exit $ac_status); } && {
19611 test -z "$ac_c_werror_flag" ||
19612 test ! -s conftest.err
19613 } && test -s conftest.$ac_objext; then
19614 ac_cv_have_decl_CURLE_TFTP_PERM=yes
19615 else
19616 echo "$as_me: failed program was:" >&5
19617 sed 's/^/| /' conftest.$ac_ext >&5
19619 ac_cv_have_decl_CURLE_TFTP_PERM=no
19622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19624 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_TFTP_PERM" >&5
19625 echo "${ECHO_T}$ac_cv_have_decl_CURLE_TFTP_PERM" >&6; }
19626 if test $ac_cv_have_decl_CURLE_TFTP_PERM = yes; then
19628 cat >>confdefs.h <<_ACEOF
19629 #define HAVE_DECL_CURLE_TFTP_PERM 1
19630 _ACEOF
19633 else
19634 cat >>confdefs.h <<_ACEOF
19635 #define HAVE_DECL_CURLE_TFTP_PERM 0
19636 _ACEOF
19640 { echo "$as_me:$LINENO: checking whether CURLE_REMOTE_DISK_FULL is declared" >&5
19641 echo $ECHO_N "checking whether CURLE_REMOTE_DISK_FULL is declared... $ECHO_C" >&6; }
19642 if test "${ac_cv_have_decl_CURLE_REMOTE_DISK_FULL+set}" = set; then
19643 echo $ECHO_N "(cached) $ECHO_C" >&6
19644 else
19645 cat >conftest.$ac_ext <<_ACEOF
19646 /* confdefs.h. */
19647 _ACEOF
19648 cat confdefs.h >>conftest.$ac_ext
19649 cat >>conftest.$ac_ext <<_ACEOF
19650 /* end confdefs.h. */
19652 #include "curl/curl.h"
19656 main ()
19658 #ifndef CURLE_REMOTE_DISK_FULL
19659 (void) CURLE_REMOTE_DISK_FULL;
19660 #endif
19663 return 0;
19665 _ACEOF
19666 rm -f conftest.$ac_objext
19667 if { (ac_try="$ac_compile"
19668 case "(($ac_try" in
19669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19670 *) ac_try_echo=$ac_try;;
19671 esac
19672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19673 (eval "$ac_compile") 2>conftest.er1
19674 ac_status=$?
19675 grep -v '^ *+' conftest.er1 >conftest.err
19676 rm -f conftest.er1
19677 cat conftest.err >&5
19678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679 (exit $ac_status); } && {
19680 test -z "$ac_c_werror_flag" ||
19681 test ! -s conftest.err
19682 } && test -s conftest.$ac_objext; then
19683 ac_cv_have_decl_CURLE_REMOTE_DISK_FULL=yes
19684 else
19685 echo "$as_me: failed program was:" >&5
19686 sed 's/^/| /' conftest.$ac_ext >&5
19688 ac_cv_have_decl_CURLE_REMOTE_DISK_FULL=no
19691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19693 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" >&5
19694 echo "${ECHO_T}$ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" >&6; }
19695 if test $ac_cv_have_decl_CURLE_REMOTE_DISK_FULL = yes; then
19697 cat >>confdefs.h <<_ACEOF
19698 #define HAVE_DECL_CURLE_REMOTE_DISK_FULL 1
19699 _ACEOF
19702 else
19703 cat >>confdefs.h <<_ACEOF
19704 #define HAVE_DECL_CURLE_REMOTE_DISK_FULL 0
19705 _ACEOF
19709 { echo "$as_me:$LINENO: checking whether CURLE_TFTP_ILLEGAL is declared" >&5
19710 echo $ECHO_N "checking whether CURLE_TFTP_ILLEGAL is declared... $ECHO_C" >&6; }
19711 if test "${ac_cv_have_decl_CURLE_TFTP_ILLEGAL+set}" = set; then
19712 echo $ECHO_N "(cached) $ECHO_C" >&6
19713 else
19714 cat >conftest.$ac_ext <<_ACEOF
19715 /* confdefs.h. */
19716 _ACEOF
19717 cat confdefs.h >>conftest.$ac_ext
19718 cat >>conftest.$ac_ext <<_ACEOF
19719 /* end confdefs.h. */
19721 #include "curl/curl.h"
19725 main ()
19727 #ifndef CURLE_TFTP_ILLEGAL
19728 (void) CURLE_TFTP_ILLEGAL;
19729 #endif
19732 return 0;
19734 _ACEOF
19735 rm -f conftest.$ac_objext
19736 if { (ac_try="$ac_compile"
19737 case "(($ac_try" in
19738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19739 *) ac_try_echo=$ac_try;;
19740 esac
19741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19742 (eval "$ac_compile") 2>conftest.er1
19743 ac_status=$?
19744 grep -v '^ *+' conftest.er1 >conftest.err
19745 rm -f conftest.er1
19746 cat conftest.err >&5
19747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748 (exit $ac_status); } && {
19749 test -z "$ac_c_werror_flag" ||
19750 test ! -s conftest.err
19751 } && test -s conftest.$ac_objext; then
19752 ac_cv_have_decl_CURLE_TFTP_ILLEGAL=yes
19753 else
19754 echo "$as_me: failed program was:" >&5
19755 sed 's/^/| /' conftest.$ac_ext >&5
19757 ac_cv_have_decl_CURLE_TFTP_ILLEGAL=no
19760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19762 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_TFTP_ILLEGAL" >&5
19763 echo "${ECHO_T}$ac_cv_have_decl_CURLE_TFTP_ILLEGAL" >&6; }
19764 if test $ac_cv_have_decl_CURLE_TFTP_ILLEGAL = yes; then
19766 cat >>confdefs.h <<_ACEOF
19767 #define HAVE_DECL_CURLE_TFTP_ILLEGAL 1
19768 _ACEOF
19771 else
19772 cat >>confdefs.h <<_ACEOF
19773 #define HAVE_DECL_CURLE_TFTP_ILLEGAL 0
19774 _ACEOF
19778 { echo "$as_me:$LINENO: checking whether CURLE_TFTP_UNKNOWNID is declared" >&5
19779 echo $ECHO_N "checking whether CURLE_TFTP_UNKNOWNID is declared... $ECHO_C" >&6; }
19780 if test "${ac_cv_have_decl_CURLE_TFTP_UNKNOWNID+set}" = set; then
19781 echo $ECHO_N "(cached) $ECHO_C" >&6
19782 else
19783 cat >conftest.$ac_ext <<_ACEOF
19784 /* confdefs.h. */
19785 _ACEOF
19786 cat confdefs.h >>conftest.$ac_ext
19787 cat >>conftest.$ac_ext <<_ACEOF
19788 /* end confdefs.h. */
19790 #include "curl/curl.h"
19794 main ()
19796 #ifndef CURLE_TFTP_UNKNOWNID
19797 (void) CURLE_TFTP_UNKNOWNID;
19798 #endif
19801 return 0;
19803 _ACEOF
19804 rm -f conftest.$ac_objext
19805 if { (ac_try="$ac_compile"
19806 case "(($ac_try" in
19807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19808 *) ac_try_echo=$ac_try;;
19809 esac
19810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19811 (eval "$ac_compile") 2>conftest.er1
19812 ac_status=$?
19813 grep -v '^ *+' conftest.er1 >conftest.err
19814 rm -f conftest.er1
19815 cat conftest.err >&5
19816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19817 (exit $ac_status); } && {
19818 test -z "$ac_c_werror_flag" ||
19819 test ! -s conftest.err
19820 } && test -s conftest.$ac_objext; then
19821 ac_cv_have_decl_CURLE_TFTP_UNKNOWNID=yes
19822 else
19823 echo "$as_me: failed program was:" >&5
19824 sed 's/^/| /' conftest.$ac_ext >&5
19826 ac_cv_have_decl_CURLE_TFTP_UNKNOWNID=no
19829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19831 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" >&5
19832 echo "${ECHO_T}$ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" >&6; }
19833 if test $ac_cv_have_decl_CURLE_TFTP_UNKNOWNID = yes; then
19835 cat >>confdefs.h <<_ACEOF
19836 #define HAVE_DECL_CURLE_TFTP_UNKNOWNID 1
19837 _ACEOF
19840 else
19841 cat >>confdefs.h <<_ACEOF
19842 #define HAVE_DECL_CURLE_TFTP_UNKNOWNID 0
19843 _ACEOF
19847 { echo "$as_me:$LINENO: checking whether CURLE_REMOTE_FILE_EXISTS is declared" >&5
19848 echo $ECHO_N "checking whether CURLE_REMOTE_FILE_EXISTS is declared... $ECHO_C" >&6; }
19849 if test "${ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS+set}" = set; then
19850 echo $ECHO_N "(cached) $ECHO_C" >&6
19851 else
19852 cat >conftest.$ac_ext <<_ACEOF
19853 /* confdefs.h. */
19854 _ACEOF
19855 cat confdefs.h >>conftest.$ac_ext
19856 cat >>conftest.$ac_ext <<_ACEOF
19857 /* end confdefs.h. */
19859 #include "curl/curl.h"
19863 main ()
19865 #ifndef CURLE_REMOTE_FILE_EXISTS
19866 (void) CURLE_REMOTE_FILE_EXISTS;
19867 #endif
19870 return 0;
19872 _ACEOF
19873 rm -f conftest.$ac_objext
19874 if { (ac_try="$ac_compile"
19875 case "(($ac_try" in
19876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19877 *) ac_try_echo=$ac_try;;
19878 esac
19879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19880 (eval "$ac_compile") 2>conftest.er1
19881 ac_status=$?
19882 grep -v '^ *+' conftest.er1 >conftest.err
19883 rm -f conftest.er1
19884 cat conftest.err >&5
19885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19886 (exit $ac_status); } && {
19887 test -z "$ac_c_werror_flag" ||
19888 test ! -s conftest.err
19889 } && test -s conftest.$ac_objext; then
19890 ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS=yes
19891 else
19892 echo "$as_me: failed program was:" >&5
19893 sed 's/^/| /' conftest.$ac_ext >&5
19895 ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS=no
19898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19900 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" >&5
19901 echo "${ECHO_T}$ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" >&6; }
19902 if test $ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS = yes; then
19904 cat >>confdefs.h <<_ACEOF
19905 #define HAVE_DECL_CURLE_REMOTE_FILE_EXISTS 1
19906 _ACEOF
19909 else
19910 cat >>confdefs.h <<_ACEOF
19911 #define HAVE_DECL_CURLE_REMOTE_FILE_EXISTS 0
19912 _ACEOF
19916 { echo "$as_me:$LINENO: checking whether CURLE_TFTP_NOSUCHUSER is declared" >&5
19917 echo $ECHO_N "checking whether CURLE_TFTP_NOSUCHUSER is declared... $ECHO_C" >&6; }
19918 if test "${ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER+set}" = set; then
19919 echo $ECHO_N "(cached) $ECHO_C" >&6
19920 else
19921 cat >conftest.$ac_ext <<_ACEOF
19922 /* confdefs.h. */
19923 _ACEOF
19924 cat confdefs.h >>conftest.$ac_ext
19925 cat >>conftest.$ac_ext <<_ACEOF
19926 /* end confdefs.h. */
19928 #include "curl/curl.h"
19932 main ()
19934 #ifndef CURLE_TFTP_NOSUCHUSER
19935 (void) CURLE_TFTP_NOSUCHUSER;
19936 #endif
19939 return 0;
19941 _ACEOF
19942 rm -f conftest.$ac_objext
19943 if { (ac_try="$ac_compile"
19944 case "(($ac_try" in
19945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19946 *) ac_try_echo=$ac_try;;
19947 esac
19948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19949 (eval "$ac_compile") 2>conftest.er1
19950 ac_status=$?
19951 grep -v '^ *+' conftest.er1 >conftest.err
19952 rm -f conftest.er1
19953 cat conftest.err >&5
19954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19955 (exit $ac_status); } && {
19956 test -z "$ac_c_werror_flag" ||
19957 test ! -s conftest.err
19958 } && test -s conftest.$ac_objext; then
19959 ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER=yes
19960 else
19961 echo "$as_me: failed program was:" >&5
19962 sed 's/^/| /' conftest.$ac_ext >&5
19964 ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER=no
19967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19969 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" >&5
19970 echo "${ECHO_T}$ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" >&6; }
19971 if test $ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER = yes; then
19973 cat >>confdefs.h <<_ACEOF
19974 #define HAVE_DECL_CURLE_TFTP_NOSUCHUSER 1
19975 _ACEOF
19978 else
19979 cat >>confdefs.h <<_ACEOF
19980 #define HAVE_DECL_CURLE_TFTP_NOSUCHUSER 0
19981 _ACEOF
19985 { echo "$as_me:$LINENO: checking whether CURLE_CONV_FAILED is declared" >&5
19986 echo $ECHO_N "checking whether CURLE_CONV_FAILED is declared... $ECHO_C" >&6; }
19987 if test "${ac_cv_have_decl_CURLE_CONV_FAILED+set}" = set; then
19988 echo $ECHO_N "(cached) $ECHO_C" >&6
19989 else
19990 cat >conftest.$ac_ext <<_ACEOF
19991 /* confdefs.h. */
19992 _ACEOF
19993 cat confdefs.h >>conftest.$ac_ext
19994 cat >>conftest.$ac_ext <<_ACEOF
19995 /* end confdefs.h. */
19997 #include "curl/curl.h"
20001 main ()
20003 #ifndef CURLE_CONV_FAILED
20004 (void) CURLE_CONV_FAILED;
20005 #endif
20008 return 0;
20010 _ACEOF
20011 rm -f conftest.$ac_objext
20012 if { (ac_try="$ac_compile"
20013 case "(($ac_try" in
20014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20015 *) ac_try_echo=$ac_try;;
20016 esac
20017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20018 (eval "$ac_compile") 2>conftest.er1
20019 ac_status=$?
20020 grep -v '^ *+' conftest.er1 >conftest.err
20021 rm -f conftest.er1
20022 cat conftest.err >&5
20023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20024 (exit $ac_status); } && {
20025 test -z "$ac_c_werror_flag" ||
20026 test ! -s conftest.err
20027 } && test -s conftest.$ac_objext; then
20028 ac_cv_have_decl_CURLE_CONV_FAILED=yes
20029 else
20030 echo "$as_me: failed program was:" >&5
20031 sed 's/^/| /' conftest.$ac_ext >&5
20033 ac_cv_have_decl_CURLE_CONV_FAILED=no
20036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20038 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_CONV_FAILED" >&5
20039 echo "${ECHO_T}$ac_cv_have_decl_CURLE_CONV_FAILED" >&6; }
20040 if test $ac_cv_have_decl_CURLE_CONV_FAILED = yes; then
20042 cat >>confdefs.h <<_ACEOF
20043 #define HAVE_DECL_CURLE_CONV_FAILED 1
20044 _ACEOF
20047 else
20048 cat >>confdefs.h <<_ACEOF
20049 #define HAVE_DECL_CURLE_CONV_FAILED 0
20050 _ACEOF
20054 { echo "$as_me:$LINENO: checking whether CURLE_CONV_REQD is declared" >&5
20055 echo $ECHO_N "checking whether CURLE_CONV_REQD is declared... $ECHO_C" >&6; }
20056 if test "${ac_cv_have_decl_CURLE_CONV_REQD+set}" = set; then
20057 echo $ECHO_N "(cached) $ECHO_C" >&6
20058 else
20059 cat >conftest.$ac_ext <<_ACEOF
20060 /* confdefs.h. */
20061 _ACEOF
20062 cat confdefs.h >>conftest.$ac_ext
20063 cat >>conftest.$ac_ext <<_ACEOF
20064 /* end confdefs.h. */
20066 #include "curl/curl.h"
20070 main ()
20072 #ifndef CURLE_CONV_REQD
20073 (void) CURLE_CONV_REQD;
20074 #endif
20077 return 0;
20079 _ACEOF
20080 rm -f conftest.$ac_objext
20081 if { (ac_try="$ac_compile"
20082 case "(($ac_try" in
20083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20084 *) ac_try_echo=$ac_try;;
20085 esac
20086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20087 (eval "$ac_compile") 2>conftest.er1
20088 ac_status=$?
20089 grep -v '^ *+' conftest.er1 >conftest.err
20090 rm -f conftest.er1
20091 cat conftest.err >&5
20092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20093 (exit $ac_status); } && {
20094 test -z "$ac_c_werror_flag" ||
20095 test ! -s conftest.err
20096 } && test -s conftest.$ac_objext; then
20097 ac_cv_have_decl_CURLE_CONV_REQD=yes
20098 else
20099 echo "$as_me: failed program was:" >&5
20100 sed 's/^/| /' conftest.$ac_ext >&5
20102 ac_cv_have_decl_CURLE_CONV_REQD=no
20105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20107 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_CONV_REQD" >&5
20108 echo "${ECHO_T}$ac_cv_have_decl_CURLE_CONV_REQD" >&6; }
20109 if test $ac_cv_have_decl_CURLE_CONV_REQD = yes; then
20111 cat >>confdefs.h <<_ACEOF
20112 #define HAVE_DECL_CURLE_CONV_REQD 1
20113 _ACEOF
20116 else
20117 cat >>confdefs.h <<_ACEOF
20118 #define HAVE_DECL_CURLE_CONV_REQD 0
20119 _ACEOF
20123 { echo "$as_me:$LINENO: checking whether CURLE_SSL_CACERT_BADFILE is declared" >&5
20124 echo $ECHO_N "checking whether CURLE_SSL_CACERT_BADFILE is declared... $ECHO_C" >&6; }
20125 if test "${ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE+set}" = set; then
20126 echo $ECHO_N "(cached) $ECHO_C" >&6
20127 else
20128 cat >conftest.$ac_ext <<_ACEOF
20129 /* confdefs.h. */
20130 _ACEOF
20131 cat confdefs.h >>conftest.$ac_ext
20132 cat >>conftest.$ac_ext <<_ACEOF
20133 /* end confdefs.h. */
20135 #include "curl/curl.h"
20139 main ()
20141 #ifndef CURLE_SSL_CACERT_BADFILE
20142 (void) CURLE_SSL_CACERT_BADFILE;
20143 #endif
20146 return 0;
20148 _ACEOF
20149 rm -f conftest.$ac_objext
20150 if { (ac_try="$ac_compile"
20151 case "(($ac_try" in
20152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20153 *) ac_try_echo=$ac_try;;
20154 esac
20155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20156 (eval "$ac_compile") 2>conftest.er1
20157 ac_status=$?
20158 grep -v '^ *+' conftest.er1 >conftest.err
20159 rm -f conftest.er1
20160 cat conftest.err >&5
20161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20162 (exit $ac_status); } && {
20163 test -z "$ac_c_werror_flag" ||
20164 test ! -s conftest.err
20165 } && test -s conftest.$ac_objext; then
20166 ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE=yes
20167 else
20168 echo "$as_me: failed program was:" >&5
20169 sed 's/^/| /' conftest.$ac_ext >&5
20171 ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE=no
20174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20176 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" >&5
20177 echo "${ECHO_T}$ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" >&6; }
20178 if test $ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE = yes; then
20180 cat >>confdefs.h <<_ACEOF
20181 #define HAVE_DECL_CURLE_SSL_CACERT_BADFILE 1
20182 _ACEOF
20185 else
20186 cat >>confdefs.h <<_ACEOF
20187 #define HAVE_DECL_CURLE_SSL_CACERT_BADFILE 0
20188 _ACEOF
20192 { echo "$as_me:$LINENO: checking whether CURLE_REMOTE_FILE_NOT_FOUND is declared" >&5
20193 echo $ECHO_N "checking whether CURLE_REMOTE_FILE_NOT_FOUND is declared... $ECHO_C" >&6; }
20194 if test "${ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND+set}" = set; then
20195 echo $ECHO_N "(cached) $ECHO_C" >&6
20196 else
20197 cat >conftest.$ac_ext <<_ACEOF
20198 /* confdefs.h. */
20199 _ACEOF
20200 cat confdefs.h >>conftest.$ac_ext
20201 cat >>conftest.$ac_ext <<_ACEOF
20202 /* end confdefs.h. */
20204 #include "curl/curl.h"
20208 main ()
20210 #ifndef CURLE_REMOTE_FILE_NOT_FOUND
20211 (void) CURLE_REMOTE_FILE_NOT_FOUND;
20212 #endif
20215 return 0;
20217 _ACEOF
20218 rm -f conftest.$ac_objext
20219 if { (ac_try="$ac_compile"
20220 case "(($ac_try" in
20221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20222 *) ac_try_echo=$ac_try;;
20223 esac
20224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20225 (eval "$ac_compile") 2>conftest.er1
20226 ac_status=$?
20227 grep -v '^ *+' conftest.er1 >conftest.err
20228 rm -f conftest.er1
20229 cat conftest.err >&5
20230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231 (exit $ac_status); } && {
20232 test -z "$ac_c_werror_flag" ||
20233 test ! -s conftest.err
20234 } && test -s conftest.$ac_objext; then
20235 ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND=yes
20236 else
20237 echo "$as_me: failed program was:" >&5
20238 sed 's/^/| /' conftest.$ac_ext >&5
20240 ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND=no
20243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20245 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" >&5
20246 echo "${ECHO_T}$ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" >&6; }
20247 if test $ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND = yes; then
20249 cat >>confdefs.h <<_ACEOF
20250 #define HAVE_DECL_CURLE_REMOTE_FILE_NOT_FOUND 1
20251 _ACEOF
20254 else
20255 cat >>confdefs.h <<_ACEOF
20256 #define HAVE_DECL_CURLE_REMOTE_FILE_NOT_FOUND 0
20257 _ACEOF
20261 { echo "$as_me:$LINENO: checking whether CURLE_SSH is declared" >&5
20262 echo $ECHO_N "checking whether CURLE_SSH is declared... $ECHO_C" >&6; }
20263 if test "${ac_cv_have_decl_CURLE_SSH+set}" = set; then
20264 echo $ECHO_N "(cached) $ECHO_C" >&6
20265 else
20266 cat >conftest.$ac_ext <<_ACEOF
20267 /* confdefs.h. */
20268 _ACEOF
20269 cat confdefs.h >>conftest.$ac_ext
20270 cat >>conftest.$ac_ext <<_ACEOF
20271 /* end confdefs.h. */
20273 #include "curl/curl.h"
20277 main ()
20279 #ifndef CURLE_SSH
20280 (void) CURLE_SSH;
20281 #endif
20284 return 0;
20286 _ACEOF
20287 rm -f conftest.$ac_objext
20288 if { (ac_try="$ac_compile"
20289 case "(($ac_try" in
20290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20291 *) ac_try_echo=$ac_try;;
20292 esac
20293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20294 (eval "$ac_compile") 2>conftest.er1
20295 ac_status=$?
20296 grep -v '^ *+' conftest.er1 >conftest.err
20297 rm -f conftest.er1
20298 cat conftest.err >&5
20299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20300 (exit $ac_status); } && {
20301 test -z "$ac_c_werror_flag" ||
20302 test ! -s conftest.err
20303 } && test -s conftest.$ac_objext; then
20304 ac_cv_have_decl_CURLE_SSH=yes
20305 else
20306 echo "$as_me: failed program was:" >&5
20307 sed 's/^/| /' conftest.$ac_ext >&5
20309 ac_cv_have_decl_CURLE_SSH=no
20312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20314 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_SSH" >&5
20315 echo "${ECHO_T}$ac_cv_have_decl_CURLE_SSH" >&6; }
20316 if test $ac_cv_have_decl_CURLE_SSH = yes; then
20318 cat >>confdefs.h <<_ACEOF
20319 #define HAVE_DECL_CURLE_SSH 1
20320 _ACEOF
20323 else
20324 cat >>confdefs.h <<_ACEOF
20325 #define HAVE_DECL_CURLE_SSH 0
20326 _ACEOF
20330 { echo "$as_me:$LINENO: checking whether CURLE_SSL_SHUTDOWN_FAILED is declared" >&5
20331 echo $ECHO_N "checking whether CURLE_SSL_SHUTDOWN_FAILED is declared... $ECHO_C" >&6; }
20332 if test "${ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED+set}" = set; then
20333 echo $ECHO_N "(cached) $ECHO_C" >&6
20334 else
20335 cat >conftest.$ac_ext <<_ACEOF
20336 /* confdefs.h. */
20337 _ACEOF
20338 cat confdefs.h >>conftest.$ac_ext
20339 cat >>conftest.$ac_ext <<_ACEOF
20340 /* end confdefs.h. */
20342 #include "curl/curl.h"
20346 main ()
20348 #ifndef CURLE_SSL_SHUTDOWN_FAILED
20349 (void) CURLE_SSL_SHUTDOWN_FAILED;
20350 #endif
20353 return 0;
20355 _ACEOF
20356 rm -f conftest.$ac_objext
20357 if { (ac_try="$ac_compile"
20358 case "(($ac_try" in
20359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20360 *) ac_try_echo=$ac_try;;
20361 esac
20362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20363 (eval "$ac_compile") 2>conftest.er1
20364 ac_status=$?
20365 grep -v '^ *+' conftest.er1 >conftest.err
20366 rm -f conftest.er1
20367 cat conftest.err >&5
20368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20369 (exit $ac_status); } && {
20370 test -z "$ac_c_werror_flag" ||
20371 test ! -s conftest.err
20372 } && test -s conftest.$ac_objext; then
20373 ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED=yes
20374 else
20375 echo "$as_me: failed program was:" >&5
20376 sed 's/^/| /' conftest.$ac_ext >&5
20378 ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED=no
20381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20383 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED" >&5
20384 echo "${ECHO_T}$ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED" >&6; }
20385 if test $ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED = yes; then
20387 cat >>confdefs.h <<_ACEOF
20388 #define HAVE_DECL_CURLE_SSL_SHUTDOWN_FAILED 1
20389 _ACEOF
20392 else
20393 cat >>confdefs.h <<_ACEOF
20394 #define HAVE_DECL_CURLE_SSL_SHUTDOWN_FAILED 0
20395 _ACEOF
20399 { echo "$as_me:$LINENO: checking whether CURLE_AGAIN is declared" >&5
20400 echo $ECHO_N "checking whether CURLE_AGAIN is declared... $ECHO_C" >&6; }
20401 if test "${ac_cv_have_decl_CURLE_AGAIN+set}" = set; then
20402 echo $ECHO_N "(cached) $ECHO_C" >&6
20403 else
20404 cat >conftest.$ac_ext <<_ACEOF
20405 /* confdefs.h. */
20406 _ACEOF
20407 cat confdefs.h >>conftest.$ac_ext
20408 cat >>conftest.$ac_ext <<_ACEOF
20409 /* end confdefs.h. */
20411 #include "curl/curl.h"
20415 main ()
20417 #ifndef CURLE_AGAIN
20418 (void) CURLE_AGAIN;
20419 #endif
20422 return 0;
20424 _ACEOF
20425 rm -f conftest.$ac_objext
20426 if { (ac_try="$ac_compile"
20427 case "(($ac_try" in
20428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20429 *) ac_try_echo=$ac_try;;
20430 esac
20431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20432 (eval "$ac_compile") 2>conftest.er1
20433 ac_status=$?
20434 grep -v '^ *+' conftest.er1 >conftest.err
20435 rm -f conftest.er1
20436 cat conftest.err >&5
20437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20438 (exit $ac_status); } && {
20439 test -z "$ac_c_werror_flag" ||
20440 test ! -s conftest.err
20441 } && test -s conftest.$ac_objext; then
20442 ac_cv_have_decl_CURLE_AGAIN=yes
20443 else
20444 echo "$as_me: failed program was:" >&5
20445 sed 's/^/| /' conftest.$ac_ext >&5
20447 ac_cv_have_decl_CURLE_AGAIN=no
20450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20452 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_CURLE_AGAIN" >&5
20453 echo "${ECHO_T}$ac_cv_have_decl_CURLE_AGAIN" >&6; }
20454 if test $ac_cv_have_decl_CURLE_AGAIN = yes; then
20456 cat >>confdefs.h <<_ACEOF
20457 #define HAVE_DECL_CURLE_AGAIN 1
20458 _ACEOF
20461 else
20462 cat >>confdefs.h <<_ACEOF
20463 #define HAVE_DECL_CURLE_AGAIN 0
20464 _ACEOF
20471 ac_config_headers="$ac_config_headers config.h"
20473 ac_config_files="$ac_config_files Makefile examples/Makefile"
20476 cat >confcache <<\_ACEOF
20477 # This file is a shell script that caches the results of configure
20478 # tests run on this system so they can be shared between configure
20479 # scripts and configure runs, see configure's option --config-cache.
20480 # It is not useful on other systems. If it contains results you don't
20481 # want to keep, you may remove or edit it.
20483 # config.status only pays attention to the cache file if you give it
20484 # the --recheck option to rerun configure.
20486 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20487 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20488 # following values.
20490 _ACEOF
20492 # The following way of writing the cache mishandles newlines in values,
20493 # but we know of no workaround that is simple, portable, and efficient.
20494 # So, we kill variables containing newlines.
20495 # Ultrix sh set writes to stderr and can't be redirected directly,
20496 # and sets the high bit in the cache file unless we assign to the vars.
20498 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20499 eval ac_val=\$$ac_var
20500 case $ac_val in #(
20501 *${as_nl}*)
20502 case $ac_var in #(
20503 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20504 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20505 esac
20506 case $ac_var in #(
20507 _ | IFS | as_nl) ;; #(
20508 *) $as_unset $ac_var ;;
20509 esac ;;
20510 esac
20511 done
20513 (set) 2>&1 |
20514 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20515 *${as_nl}ac_space=\ *)
20516 # `set' does not quote correctly, so add quotes (double-quote
20517 # substitution turns \\\\ into \\, and sed turns \\ into \).
20518 sed -n \
20519 "s/'/'\\\\''/g;
20520 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20521 ;; #(
20523 # `set' quotes correctly as required by POSIX, so do not add quotes.
20524 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20526 esac |
20527 sort
20529 sed '
20530 /^ac_cv_env_/b end
20531 t clear
20532 :clear
20533 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20534 t end
20535 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20536 :end' >>confcache
20537 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20538 if test -w "$cache_file"; then
20539 test "x$cache_file" != "x/dev/null" &&
20540 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20541 echo "$as_me: updating cache $cache_file" >&6;}
20542 cat confcache >$cache_file
20543 else
20544 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20545 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20548 rm -f confcache
20550 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20551 # Let make expand exec_prefix.
20552 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20554 DEFS=-DHAVE_CONFIG_H
20556 ac_libobjs=
20557 ac_ltlibobjs=
20558 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20559 # 1. Remove the extension, and $U if already installed.
20560 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20561 ac_i=`echo "$ac_i" | sed "$ac_script"`
20562 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20563 # will be set to the directory where LIBOBJS objects are built.
20564 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20565 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20566 done
20567 LIBOBJS=$ac_libobjs
20569 LTLIBOBJS=$ac_ltlibobjs
20573 : ${CONFIG_STATUS=./config.status}
20574 ac_clean_files_save=$ac_clean_files
20575 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20576 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20577 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20578 cat >$CONFIG_STATUS <<_ACEOF
20579 #! $SHELL
20580 # Generated by $as_me.
20581 # Run this file to recreate the current configuration.
20582 # Compiler output produced by configure, useful for debugging
20583 # configure, is in config.log if it exists.
20585 debug=false
20586 ac_cs_recheck=false
20587 ac_cs_silent=false
20588 SHELL=\${CONFIG_SHELL-$SHELL}
20589 _ACEOF
20591 cat >>$CONFIG_STATUS <<\_ACEOF
20592 ## --------------------- ##
20593 ## M4sh Initialization. ##
20594 ## --------------------- ##
20596 # Be more Bourne compatible
20597 DUALCASE=1; export DUALCASE # for MKS sh
20598 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20599 emulate sh
20600 NULLCMD=:
20601 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20602 # is contrary to our usage. Disable this feature.
20603 alias -g '${1+"$@"}'='"$@"'
20604 setopt NO_GLOB_SUBST
20605 else
20606 case `(set -o) 2>/dev/null` in
20607 *posix*) set -o posix ;;
20608 esac
20615 # PATH needs CR
20616 # Avoid depending upon Character Ranges.
20617 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20618 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20619 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20620 as_cr_digits='0123456789'
20621 as_cr_alnum=$as_cr_Letters$as_cr_digits
20623 # The user is always right.
20624 if test "${PATH_SEPARATOR+set}" != set; then
20625 echo "#! /bin/sh" >conf$$.sh
20626 echo "exit 0" >>conf$$.sh
20627 chmod +x conf$$.sh
20628 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20629 PATH_SEPARATOR=';'
20630 else
20631 PATH_SEPARATOR=:
20633 rm -f conf$$.sh
20636 # Support unset when possible.
20637 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20638 as_unset=unset
20639 else
20640 as_unset=false
20644 # IFS
20645 # We need space, tab and new line, in precisely that order. Quoting is
20646 # there to prevent editors from complaining about space-tab.
20647 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20648 # splitting by setting IFS to empty value.)
20649 as_nl='
20651 IFS=" "" $as_nl"
20653 # Find who we are. Look in the path if we contain no directory separator.
20654 case $0 in
20655 *[\\/]* ) as_myself=$0 ;;
20656 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20657 for as_dir in $PATH
20659 IFS=$as_save_IFS
20660 test -z "$as_dir" && as_dir=.
20661 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20662 done
20663 IFS=$as_save_IFS
20666 esac
20667 # We did not find ourselves, most probably we were run as `sh COMMAND'
20668 # in which case we are not to be found in the path.
20669 if test "x$as_myself" = x; then
20670 as_myself=$0
20672 if test ! -f "$as_myself"; then
20673 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20674 { (exit 1); exit 1; }
20677 # Work around bugs in pre-3.0 UWIN ksh.
20678 for as_var in ENV MAIL MAILPATH
20679 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
20680 done
20681 PS1='$ '
20682 PS2='> '
20683 PS4='+ '
20685 # NLS nuisances.
20686 for as_var in \
20687 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20688 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20689 LC_TELEPHONE LC_TIME
20691 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20692 eval $as_var=C; export $as_var
20693 else
20694 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
20696 done
20698 # Required to use basename.
20699 if expr a : '\(a\)' >/dev/null 2>&1 &&
20700 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20701 as_expr=expr
20702 else
20703 as_expr=false
20706 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20707 as_basename=basename
20708 else
20709 as_basename=false
20713 # Name of the executable.
20714 as_me=`$as_basename -- "$0" ||
20715 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20716 X"$0" : 'X\(//\)$' \| \
20717 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20718 echo X/"$0" |
20719 sed '/^.*\/\([^/][^/]*\)\/*$/{
20720 s//\1/
20723 /^X\/\(\/\/\)$/{
20724 s//\1/
20727 /^X\/\(\/\).*/{
20728 s//\1/
20731 s/.*/./; q'`
20733 # CDPATH.
20734 $as_unset CDPATH
20738 as_lineno_1=$LINENO
20739 as_lineno_2=$LINENO
20740 test "x$as_lineno_1" != "x$as_lineno_2" &&
20741 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
20743 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20744 # uniformly replaced by the line number. The first 'sed' inserts a
20745 # line-number line after each line using $LINENO; the second 'sed'
20746 # does the real work. The second script uses 'N' to pair each
20747 # line-number line with the line containing $LINENO, and appends
20748 # trailing '-' during substitution so that $LINENO is not a special
20749 # case at line end.
20750 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20751 # scripts with optimization help from Paolo Bonzini. Blame Lee
20752 # E. McMahon (1931-1989) for sed's syntax. :-)
20753 sed -n '
20755 /[$]LINENO/=
20756 ' <$as_myself |
20757 sed '
20758 s/[$]LINENO.*/&-/
20759 t lineno
20761 :lineno
20763 :loop
20764 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20765 t loop
20766 s/-\n.*//
20767 ' >$as_me.lineno &&
20768 chmod +x "$as_me.lineno" ||
20769 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20770 { (exit 1); exit 1; }; }
20772 # Don't try to exec as it changes $[0], causing all sort of problems
20773 # (the dirname of $[0] is not the place where we might find the
20774 # original and so on. Autoconf is especially sensitive to this).
20775 . "./$as_me.lineno"
20776 # Exit status is that of the last command.
20777 exit
20781 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20782 as_dirname=dirname
20783 else
20784 as_dirname=false
20787 ECHO_C= ECHO_N= ECHO_T=
20788 case `echo -n x` in
20789 -n*)
20790 case `echo 'x\c'` in
20791 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20792 *) ECHO_C='\c';;
20793 esac;;
20795 ECHO_N='-n';;
20796 esac
20798 if expr a : '\(a\)' >/dev/null 2>&1 &&
20799 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20800 as_expr=expr
20801 else
20802 as_expr=false
20805 rm -f conf$$ conf$$.exe conf$$.file
20806 if test -d conf$$.dir; then
20807 rm -f conf$$.dir/conf$$.file
20808 else
20809 rm -f conf$$.dir
20810 mkdir conf$$.dir
20812 echo >conf$$.file
20813 if ln -s conf$$.file conf$$ 2>/dev/null; then
20814 as_ln_s='ln -s'
20815 # ... but there are two gotchas:
20816 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20817 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20818 # In both cases, we have to default to `cp -p'.
20819 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20820 as_ln_s='cp -p'
20821 elif ln conf$$.file conf$$ 2>/dev/null; then
20822 as_ln_s=ln
20823 else
20824 as_ln_s='cp -p'
20826 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20827 rmdir conf$$.dir 2>/dev/null
20829 if mkdir -p . 2>/dev/null; then
20830 as_mkdir_p=:
20831 else
20832 test -d ./-p && rmdir ./-p
20833 as_mkdir_p=false
20836 if test -x / >/dev/null 2>&1; then
20837 as_test_x='test -x'
20838 else
20839 if ls -dL / >/dev/null 2>&1; then
20840 as_ls_L_option=L
20841 else
20842 as_ls_L_option=
20844 as_test_x='
20845 eval sh -c '\''
20846 if test -d "$1"; then
20847 test -d "$1/.";
20848 else
20849 case $1 in
20850 -*)set "./$1";;
20851 esac;
20852 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20853 ???[sx]*):;;*)false;;esac;fi
20854 '\'' sh
20857 as_executable_p=$as_test_x
20859 # Sed expression to map a string onto a valid CPP name.
20860 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20862 # Sed expression to map a string onto a valid variable name.
20863 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20866 exec 6>&1
20868 # Save the log message, to keep $[0] and so on meaningful, and to
20869 # report actual input values of CONFIG_FILES etc. instead of their
20870 # values after options handling.
20871 ac_log="
20872 This file was extended by $as_me, which was
20873 generated by GNU Autoconf 2.61. Invocation command line was
20875 CONFIG_FILES = $CONFIG_FILES
20876 CONFIG_HEADERS = $CONFIG_HEADERS
20877 CONFIG_LINKS = $CONFIG_LINKS
20878 CONFIG_COMMANDS = $CONFIG_COMMANDS
20879 $ $0 $@
20881 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20884 _ACEOF
20886 cat >>$CONFIG_STATUS <<_ACEOF
20887 # Files that config.status was made for.
20888 config_files="$ac_config_files"
20889 config_headers="$ac_config_headers"
20891 _ACEOF
20893 cat >>$CONFIG_STATUS <<\_ACEOF
20894 ac_cs_usage="\
20895 \`$as_me' instantiates files from templates according to the
20896 current configuration.
20898 Usage: $0 [OPTIONS] [FILE]...
20900 -h, --help print this help, then exit
20901 -V, --version print version number and configuration settings, then exit
20902 -q, --quiet do not print progress messages
20903 -d, --debug don't remove temporary files
20904 --recheck update $as_me by reconfiguring in the same conditions
20905 --file=FILE[:TEMPLATE]
20906 instantiate the configuration file FILE
20907 --header=FILE[:TEMPLATE]
20908 instantiate the configuration header FILE
20910 Configuration files:
20911 $config_files
20913 Configuration headers:
20914 $config_headers
20916 Report bugs to <bug-autoconf@gnu.org>."
20918 _ACEOF
20919 cat >>$CONFIG_STATUS <<_ACEOF
20920 ac_cs_version="\\
20921 config.status
20922 configured by $0, generated by GNU Autoconf 2.61,
20923 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20925 Copyright (C) 2006 Free Software Foundation, Inc.
20926 This config.status script is free software; the Free Software Foundation
20927 gives unlimited permission to copy, distribute and modify it."
20929 ac_pwd='$ac_pwd'
20930 srcdir='$srcdir'
20931 INSTALL='$INSTALL'
20932 _ACEOF
20934 cat >>$CONFIG_STATUS <<\_ACEOF
20935 # If no file are specified by the user, then we need to provide default
20936 # value. By we need to know if files were specified by the user.
20937 ac_need_defaults=:
20938 while test $# != 0
20940 case $1 in
20941 --*=*)
20942 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20943 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20944 ac_shift=:
20947 ac_option=$1
20948 ac_optarg=$2
20949 ac_shift=shift
20951 esac
20953 case $ac_option in
20954 # Handling of the options.
20955 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20956 ac_cs_recheck=: ;;
20957 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20958 echo "$ac_cs_version"; exit ;;
20959 --debug | --debu | --deb | --de | --d | -d )
20960 debug=: ;;
20961 --file | --fil | --fi | --f )
20962 $ac_shift
20963 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20964 ac_need_defaults=false;;
20965 --header | --heade | --head | --hea )
20966 $ac_shift
20967 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20968 ac_need_defaults=false;;
20969 --he | --h)
20970 # Conflict between --help and --header
20971 { echo "$as_me: error: ambiguous option: $1
20972 Try \`$0 --help' for more information." >&2
20973 { (exit 1); exit 1; }; };;
20974 --help | --hel | -h )
20975 echo "$ac_cs_usage"; exit ;;
20976 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20977 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20978 ac_cs_silent=: ;;
20980 # This is an error.
20981 -*) { echo "$as_me: error: unrecognized option: $1
20982 Try \`$0 --help' for more information." >&2
20983 { (exit 1); exit 1; }; } ;;
20985 *) ac_config_targets="$ac_config_targets $1"
20986 ac_need_defaults=false ;;
20988 esac
20989 shift
20990 done
20992 ac_configure_extra_args=
20994 if $ac_cs_silent; then
20995 exec 6>/dev/null
20996 ac_configure_extra_args="$ac_configure_extra_args --silent"
20999 _ACEOF
21000 cat >>$CONFIG_STATUS <<_ACEOF
21001 if \$ac_cs_recheck; then
21002 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21003 CONFIG_SHELL=$SHELL
21004 export CONFIG_SHELL
21005 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21008 _ACEOF
21009 cat >>$CONFIG_STATUS <<\_ACEOF
21010 exec 5>>config.log
21012 echo
21013 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21014 ## Running $as_me. ##
21015 _ASBOX
21016 echo "$ac_log"
21017 } >&5
21019 _ACEOF
21020 cat >>$CONFIG_STATUS <<_ACEOF
21021 _ACEOF
21023 cat >>$CONFIG_STATUS <<\_ACEOF
21025 # Handling of arguments.
21026 for ac_config_target in $ac_config_targets
21028 case $ac_config_target in
21029 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
21030 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21031 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
21033 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21034 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21035 { (exit 1); exit 1; }; };;
21036 esac
21037 done
21040 # If the user did not use the arguments to specify the items to instantiate,
21041 # then the envvar interface is used. Set only those that are not.
21042 # We use the long form for the default assignment because of an extremely
21043 # bizarre bug on SunOS 4.1.3.
21044 if $ac_need_defaults; then
21045 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21046 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21049 # Have a temporary directory for convenience. Make it in the build tree
21050 # simply because there is no reason against having it here, and in addition,
21051 # creating and moving files from /tmp can sometimes cause problems.
21052 # Hook for its removal unless debugging.
21053 # Note that there is a small window in which the directory will not be cleaned:
21054 # after its creation but before its name has been assigned to `$tmp'.
21055 $debug ||
21057 tmp=
21058 trap 'exit_status=$?
21059 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21061 trap '{ (exit 1); exit 1; }' 1 2 13 15
21063 # Create a (secure) tmp directory for tmp files.
21066 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21067 test -n "$tmp" && test -d "$tmp"
21068 } ||
21070 tmp=./conf$$-$RANDOM
21071 (umask 077 && mkdir "$tmp")
21072 } ||
21074 echo "$me: cannot create a temporary directory in ." >&2
21075 { (exit 1); exit 1; }
21079 # Set up the sed scripts for CONFIG_FILES section.
21082 # No need to generate the scripts if there are no CONFIG_FILES.
21083 # This happens for instance when ./config.status config.h
21084 if test -n "$CONFIG_FILES"; then
21086 _ACEOF
21090 ac_delim='%!_!# '
21091 for ac_last_try in false false false false false :; do
21092 cat >conf$$subs.sed <<_ACEOF
21093 SHELL!$SHELL$ac_delim
21094 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21095 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21096 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21097 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21098 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21099 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21100 exec_prefix!$exec_prefix$ac_delim
21101 prefix!$prefix$ac_delim
21102 program_transform_name!$program_transform_name$ac_delim
21103 bindir!$bindir$ac_delim
21104 sbindir!$sbindir$ac_delim
21105 libexecdir!$libexecdir$ac_delim
21106 datarootdir!$datarootdir$ac_delim
21107 datadir!$datadir$ac_delim
21108 sysconfdir!$sysconfdir$ac_delim
21109 sharedstatedir!$sharedstatedir$ac_delim
21110 localstatedir!$localstatedir$ac_delim
21111 includedir!$includedir$ac_delim
21112 oldincludedir!$oldincludedir$ac_delim
21113 docdir!$docdir$ac_delim
21114 infodir!$infodir$ac_delim
21115 htmldir!$htmldir$ac_delim
21116 dvidir!$dvidir$ac_delim
21117 pdfdir!$pdfdir$ac_delim
21118 psdir!$psdir$ac_delim
21119 libdir!$libdir$ac_delim
21120 localedir!$localedir$ac_delim
21121 mandir!$mandir$ac_delim
21122 DEFS!$DEFS$ac_delim
21123 ECHO_C!$ECHO_C$ac_delim
21124 ECHO_N!$ECHO_N$ac_delim
21125 ECHO_T!$ECHO_T$ac_delim
21126 LIBS!$LIBS$ac_delim
21127 build_alias!$build_alias$ac_delim
21128 host_alias!$host_alias$ac_delim
21129 target_alias!$target_alias$ac_delim
21130 CC!$CC$ac_delim
21131 CFLAGS!$CFLAGS$ac_delim
21132 LDFLAGS!$LDFLAGS$ac_delim
21133 CPPFLAGS!$CPPFLAGS$ac_delim
21134 ac_ct_CC!$ac_ct_CC$ac_delim
21135 EXEEXT!$EXEEXT$ac_delim
21136 OBJEXT!$OBJEXT$ac_delim
21137 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21138 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21139 INSTALL_DATA!$INSTALL_DATA$ac_delim
21140 OCAMLC!$OCAMLC$ac_delim
21141 OCAMLOPT!$OCAMLOPT$ac_delim
21142 OCAMLCDOTOPT!$OCAMLCDOTOPT$ac_delim
21143 OCAMLOPTDOTOPT!$OCAMLOPTDOTOPT$ac_delim
21144 OCAMLDEP!$OCAMLDEP$ac_delim
21145 OCAMLMKTOP!$OCAMLMKTOP$ac_delim
21146 OCAMLMKLIB!$OCAMLMKLIB$ac_delim
21147 OCAMLDOC!$OCAMLDOC$ac_delim
21148 OCAMLBEST!$OCAMLBEST$ac_delim
21149 OCAMLVERSION!$OCAMLVERSION$ac_delim
21150 OCAMLLIB!$OCAMLLIB$ac_delim
21151 OCAMLFIND!$OCAMLFIND$ac_delim
21152 ac_prefix_program!$ac_prefix_program$ac_delim
21153 CURLDIR!$CURLDIR$ac_delim
21154 CURLFLAGS!$CURLFLAGS$ac_delim
21155 CURLLIBS!$CURLLIBS$ac_delim
21156 INSTALLDIR!$INSTALLDIR$ac_delim
21157 LIBOBJS!$LIBOBJS$ac_delim
21158 LTLIBOBJS!$LTLIBOBJS$ac_delim
21159 _ACEOF
21161 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 66; then
21162 break
21163 elif $ac_last_try; then
21164 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21165 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21166 { (exit 1); exit 1; }; }
21167 else
21168 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21170 done
21172 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21173 if test -n "$ac_eof"; then
21174 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21175 ac_eof=`expr $ac_eof + 1`
21178 cat >>$CONFIG_STATUS <<_ACEOF
21179 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21180 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21181 _ACEOF
21182 sed '
21183 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21184 s/^/s,@/; s/!/@,|#_!!_#|/
21187 s/'"$ac_delim"'$/,g/; t
21188 s/$/\\/; p
21189 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21190 ' >>$CONFIG_STATUS <conf$$subs.sed
21191 rm -f conf$$subs.sed
21192 cat >>$CONFIG_STATUS <<_ACEOF
21193 :end
21194 s/|#_!!_#|//g
21195 CEOF$ac_eof
21196 _ACEOF
21199 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21200 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21201 # trailing colons and then remove the whole line if VPATH becomes empty
21202 # (actually we leave an empty line to preserve line numbers).
21203 if test "x$srcdir" = x.; then
21204 ac_vpsub='/^[ ]*VPATH[ ]*=/{
21205 s/:*\$(srcdir):*/:/
21206 s/:*\${srcdir}:*/:/
21207 s/:*@srcdir@:*/:/
21208 s/^\([^=]*=[ ]*\):*/\1/
21209 s/:*$//
21210 s/^[^=]*=[ ]*$//
21214 cat >>$CONFIG_STATUS <<\_ACEOF
21215 fi # test -n "$CONFIG_FILES"
21218 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
21220 case $ac_tag in
21221 :[FHLC]) ac_mode=$ac_tag; continue;;
21222 esac
21223 case $ac_mode$ac_tag in
21224 :[FHL]*:*);;
21225 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21226 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21227 { (exit 1); exit 1; }; };;
21228 :[FH]-) ac_tag=-:-;;
21229 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21230 esac
21231 ac_save_IFS=$IFS
21232 IFS=:
21233 set x $ac_tag
21234 IFS=$ac_save_IFS
21235 shift
21236 ac_file=$1
21237 shift
21239 case $ac_mode in
21240 :L) ac_source=$1;;
21241 :[FH])
21242 ac_file_inputs=
21243 for ac_f
21245 case $ac_f in
21246 -) ac_f="$tmp/stdin";;
21247 *) # Look for the file first in the build tree, then in the source tree
21248 # (if the path is not absolute). The absolute path cannot be DOS-style,
21249 # because $ac_f cannot contain `:'.
21250 test -f "$ac_f" ||
21251 case $ac_f in
21252 [\\/$]*) false;;
21253 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21254 esac ||
21255 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21256 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21257 { (exit 1); exit 1; }; };;
21258 esac
21259 ac_file_inputs="$ac_file_inputs $ac_f"
21260 done
21262 # Let's still pretend it is `configure' which instantiates (i.e., don't
21263 # use $as_me), people would be surprised to read:
21264 # /* config.h. Generated by config.status. */
21265 configure_input="Generated from "`IFS=:
21266 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
21267 if test x"$ac_file" != x-; then
21268 configure_input="$ac_file. $configure_input"
21269 { echo "$as_me:$LINENO: creating $ac_file" >&5
21270 echo "$as_me: creating $ac_file" >&6;}
21273 case $ac_tag in
21274 *:-:* | *:-) cat >"$tmp/stdin";;
21275 esac
21277 esac
21279 ac_dir=`$as_dirname -- "$ac_file" ||
21280 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21281 X"$ac_file" : 'X\(//\)[^/]' \| \
21282 X"$ac_file" : 'X\(//\)$' \| \
21283 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21284 echo X"$ac_file" |
21285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21286 s//\1/
21289 /^X\(\/\/\)[^/].*/{
21290 s//\1/
21293 /^X\(\/\/\)$/{
21294 s//\1/
21297 /^X\(\/\).*/{
21298 s//\1/
21301 s/.*/./; q'`
21302 { as_dir="$ac_dir"
21303 case $as_dir in #(
21304 -*) as_dir=./$as_dir;;
21305 esac
21306 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21307 as_dirs=
21308 while :; do
21309 case $as_dir in #(
21310 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21311 *) as_qdir=$as_dir;;
21312 esac
21313 as_dirs="'$as_qdir' $as_dirs"
21314 as_dir=`$as_dirname -- "$as_dir" ||
21315 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21316 X"$as_dir" : 'X\(//\)[^/]' \| \
21317 X"$as_dir" : 'X\(//\)$' \| \
21318 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21319 echo X"$as_dir" |
21320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21321 s//\1/
21324 /^X\(\/\/\)[^/].*/{
21325 s//\1/
21328 /^X\(\/\/\)$/{
21329 s//\1/
21332 /^X\(\/\).*/{
21333 s//\1/
21336 s/.*/./; q'`
21337 test -d "$as_dir" && break
21338 done
21339 test -z "$as_dirs" || eval "mkdir $as_dirs"
21340 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21341 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21342 { (exit 1); exit 1; }; }; }
21343 ac_builddir=.
21345 case "$ac_dir" in
21346 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21348 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21349 # A ".." for each directory in $ac_dir_suffix.
21350 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
21351 case $ac_top_builddir_sub in
21352 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21353 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21354 esac ;;
21355 esac
21356 ac_abs_top_builddir=$ac_pwd
21357 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21358 # for backward compatibility:
21359 ac_top_builddir=$ac_top_build_prefix
21361 case $srcdir in
21362 .) # We are building in place.
21363 ac_srcdir=.
21364 ac_top_srcdir=$ac_top_builddir_sub
21365 ac_abs_top_srcdir=$ac_pwd ;;
21366 [\\/]* | ?:[\\/]* ) # Absolute name.
21367 ac_srcdir=$srcdir$ac_dir_suffix;
21368 ac_top_srcdir=$srcdir
21369 ac_abs_top_srcdir=$srcdir ;;
21370 *) # Relative name.
21371 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21372 ac_top_srcdir=$ac_top_build_prefix$srcdir
21373 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21374 esac
21375 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21378 case $ac_mode in
21381 # CONFIG_FILE
21384 case $INSTALL in
21385 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21386 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21387 esac
21388 _ACEOF
21390 cat >>$CONFIG_STATUS <<\_ACEOF
21391 # If the template does not know about datarootdir, expand it.
21392 # FIXME: This hack should be removed a few years after 2.60.
21393 ac_datarootdir_hack=; ac_datarootdir_seen=
21395 case `sed -n '/datarootdir/ {
21399 /@datadir@/p
21400 /@docdir@/p
21401 /@infodir@/p
21402 /@localedir@/p
21403 /@mandir@/p
21404 ' $ac_file_inputs` in
21405 *datarootdir*) ac_datarootdir_seen=yes;;
21406 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21407 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21408 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21409 _ACEOF
21410 cat >>$CONFIG_STATUS <<_ACEOF
21411 ac_datarootdir_hack='
21412 s&@datadir@&$datadir&g
21413 s&@docdir@&$docdir&g
21414 s&@infodir@&$infodir&g
21415 s&@localedir@&$localedir&g
21416 s&@mandir@&$mandir&g
21417 s&\\\${datarootdir}&$datarootdir&g' ;;
21418 esac
21419 _ACEOF
21421 # Neutralize VPATH when `$srcdir' = `.'.
21422 # Shell code in configure.ac might set extrasub.
21423 # FIXME: do we really want to maintain this feature?
21424 cat >>$CONFIG_STATUS <<_ACEOF
21425 sed "$ac_vpsub
21426 $extrasub
21427 _ACEOF
21428 cat >>$CONFIG_STATUS <<\_ACEOF
21430 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21431 s&@configure_input@&$configure_input&;t t
21432 s&@top_builddir@&$ac_top_builddir_sub&;t t
21433 s&@srcdir@&$ac_srcdir&;t t
21434 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21435 s&@top_srcdir@&$ac_top_srcdir&;t t
21436 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21437 s&@builddir@&$ac_builddir&;t t
21438 s&@abs_builddir@&$ac_abs_builddir&;t t
21439 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21440 s&@INSTALL@&$ac_INSTALL&;t t
21441 $ac_datarootdir_hack
21442 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
21444 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21445 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
21446 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
21447 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21448 which seems to be undefined. Please make sure it is defined." >&5
21449 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21450 which seems to be undefined. Please make sure it is defined." >&2;}
21452 rm -f "$tmp/stdin"
21453 case $ac_file in
21454 -) cat "$tmp/out"; rm -f "$tmp/out";;
21455 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21456 esac
21460 # CONFIG_HEADER
21462 _ACEOF
21464 # Transform confdefs.h into a sed script `conftest.defines', that
21465 # substitutes the proper values into config.h.in to produce config.h.
21466 rm -f conftest.defines conftest.tail
21467 # First, append a space to every undef/define line, to ease matching.
21468 echo 's/$/ /' >conftest.defines
21469 # Then, protect against being on the right side of a sed subst, or in
21470 # an unquoted here document, in config.status. If some macros were
21471 # called several times there might be several #defines for the same
21472 # symbol, which is useless. But do not sort them, since the last
21473 # AC_DEFINE must be honored.
21474 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21475 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
21476 # NAME is the cpp macro being defined, VALUE is the value it is being given.
21477 # PARAMS is the parameter list in the macro definition--in most cases, it's
21478 # just an empty string.
21479 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
21480 ac_dB='\\)[ (].*,\\1define\\2'
21481 ac_dC=' '
21482 ac_dD=' ,'
21484 uniq confdefs.h |
21485 sed -n '
21486 t rset
21487 :rset
21488 s/^[ ]*#[ ]*define[ ][ ]*//
21489 t ok
21492 s/[\\&,]/\\&/g
21493 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
21494 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
21495 ' >>conftest.defines
21497 # Remove the space that was appended to ease matching.
21498 # Then replace #undef with comments. This is necessary, for
21499 # example, in the case of _POSIX_SOURCE, which is predefined and required
21500 # on some systems where configure will not decide to define it.
21501 # (The regexp can be short, since the line contains either #define or #undef.)
21502 echo 's/ $//
21503 s,^[ #]*u.*,/* & */,' >>conftest.defines
21505 # Break up conftest.defines:
21506 ac_max_sed_lines=50
21508 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21509 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21510 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21511 # et cetera.
21512 ac_in='$ac_file_inputs'
21513 ac_out='"$tmp/out1"'
21514 ac_nxt='"$tmp/out2"'
21516 while :
21518 # Write a here document:
21519 cat >>$CONFIG_STATUS <<_ACEOF
21520 # First, check the format of the line:
21521 cat >"\$tmp/defines.sed" <<\\CEOF
21522 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
21523 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21525 :def
21526 _ACEOF
21527 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
21528 echo 'CEOF
21529 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21530 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
21531 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
21532 grep . conftest.tail >/dev/null || break
21533 rm -f conftest.defines
21534 mv conftest.tail conftest.defines
21535 done
21536 rm -f conftest.defines conftest.tail
21538 echo "ac_result=$ac_in" >>$CONFIG_STATUS
21539 cat >>$CONFIG_STATUS <<\_ACEOF
21540 if test x"$ac_file" != x-; then
21541 echo "/* $configure_input */" >"$tmp/config.h"
21542 cat "$ac_result" >>"$tmp/config.h"
21543 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
21544 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21545 echo "$as_me: $ac_file is unchanged" >&6;}
21546 else
21547 rm -f $ac_file
21548 mv "$tmp/config.h" $ac_file
21550 else
21551 echo "/* $configure_input */"
21552 cat "$ac_result"
21554 rm -f "$tmp/out12"
21558 esac
21560 done # for ac_tag
21563 { (exit 0); exit 0; }
21564 _ACEOF
21565 chmod +x $CONFIG_STATUS
21566 ac_clean_files=$ac_clean_files_save
21569 # configure is writing to config.log, and then calls config.status.
21570 # config.status does its own redirection, appending to config.log.
21571 # Unfortunately, on DOS this fails, as config.log is still kept open
21572 # by configure, so config.status won't be able to write to it; its
21573 # output is simply discarded. So we exec the FD to /dev/null,
21574 # effectively closing config.log, so it can be properly (re)opened and
21575 # appended to by config.status. When coming back to configure, we
21576 # need to make the FD available again.
21577 if test "$no_create" != yes; then
21578 ac_cs_success=:
21579 ac_config_status_args=
21580 test "$silent" = yes &&
21581 ac_config_status_args="$ac_config_status_args --quiet"
21582 exec 5>/dev/null
21583 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21584 exec 5>>config.log
21585 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21586 # would make configure fail if this is the last instruction.
21587 $ac_cs_success || { (exit 1); exit 1; }