disable closesocketfunction
[ocurl.git] / configure
blobb7c1336ba777cf91ad7e75661d8ede9e015dd792
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ocurl 0.9.1.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
201 as_have_required=yes
202 else
203 as_have_required=no
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
207 else
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209 as_found=false
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
212 IFS=$as_save_IFS
213 test -z "$as_dir" && as_dir=.
214 as_found=:
215 case $as_dir in #(
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 break 2
227 done;;
228 esac
229 as_found=false
230 done
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
234 fi; }
235 IFS=$as_save_IFS
238 if test "x$CONFIG_SHELL" != x; then :
239 export CONFIG_SHELL
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
244 BASH_ENV=/dev/null
245 ENV=/dev/null
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247 case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252 esac
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257 exit 255
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266 else
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
272 exit 1
276 SHELL=${CONFIG_SHELL-/bin/sh}
277 export SHELL
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
285 # as_fn_unset VAR
286 # ---------------
287 # Portably unset VAR.
288 as_fn_unset ()
290 { eval $1=; unset $1;}
292 as_unset=as_fn_unset
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
297 as_fn_set_status ()
299 return $1
300 } # as_fn_set_status
302 # as_fn_exit STATUS
303 # -----------------
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305 as_fn_exit ()
307 set +e
308 as_fn_set_status $1
309 exit $1
310 } # as_fn_exit
312 # as_fn_mkdir_p
313 # -------------
314 # Create "$as_dir" as a directory, including parents if necessary.
315 as_fn_mkdir_p ()
318 case $as_dir in #(
319 -*) as_dir=./$as_dir;;
320 esac
321 test -d "$as_dir" || eval $as_mkdir_p || {
322 as_dirs=
323 while :; do
324 case $as_dir in #(
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326 *) as_qdir=$as_dir;;
327 esac
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 s//\1/
339 /^X\(\/\/\)[^/].*/{
340 s//\1/
343 /^X\(\/\/\)$/{
344 s//\1/
347 /^X\(\/\).*/{
348 s//\1/
351 s/.*/./; q'`
352 test -d "$as_dir" && break
353 done
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
358 } # as_fn_mkdir_p
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
372 # implementations.
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
376 eval $1+=\$2
378 else
379 as_fn_append ()
381 eval $1=\$$1\$2
383 fi # as_fn_append
385 # as_fn_arith ARG...
386 # ------------------
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391 eval 'as_fn_arith ()
393 as_val=$(( $* ))
395 else
396 as_fn_arith ()
398 as_val=`expr "$@" || test $? -eq 1`
400 fi # as_fn_arith
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
408 as_fn_error ()
410 as_status=$1; test $as_status -eq 0 && as_status=1
411 if test "$4"; then
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
417 } # as_fn_error
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
421 as_expr=expr
422 else
423 as_expr=false
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427 as_basename=basename
428 else
429 as_basename=false
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433 as_dirname=dirname
434 else
435 as_dirname=false
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 $as_echo X/"$0" |
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
444 s//\1/
447 /^X\/\(\/\/\)$/{
448 s//\1/
451 /^X\/\(\/\).*/{
452 s//\1/
455 s/.*/./; q'`
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
470 sed -n '
472 /[$]LINENO/=
473 ' <$as_myself |
474 sed '
475 s/[$]LINENO.*/&-/
476 t lineno
478 :lineno
480 :loop
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482 t loop
483 s/-\n.*//
484 ' >$as_me.lineno &&
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
495 . "./$as_me.lineno"
496 # Exit status is that of the last command.
497 exit
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
502 -n*)
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
505 xy) ECHO_C='\c';;
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
507 ECHO_T=' ';;
508 esac;;
510 ECHO_N='-n';;
511 esac
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
516 else
517 rm -f conf$$.dir
518 mkdir conf$$.dir 2>/dev/null
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
522 as_ln_s='ln -s'
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528 as_ln_s='cp -pR'
529 elif ln conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s=ln
531 else
532 as_ln_s='cp -pR'
534 else
535 as_ln_s='cp -pR'
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
542 else
543 test -d ./-p && rmdir ./-p
544 as_mkdir_p=false
547 as_test_x='test -x'
548 as_executable_p=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" || exec 7<&0 </dev/null
558 exec 6>&1
560 # Name of the host.
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
566 # Initializations.
568 ac_default_prefix=/usr/local
569 ac_clean_files=
570 ac_config_libobj_dir=.
571 LIBOBJS=
572 cross_compiling=no
573 subdirs=
574 MFLAGS=
575 MAKEFLAGS=
577 # Identity of this package.
578 PACKAGE_NAME='ocurl'
579 PACKAGE_TARNAME='ocurl'
580 PACKAGE_VERSION='0.9.1'
581 PACKAGE_STRING='ocurl 0.9.1'
582 PACKAGE_BUGREPORT=''
583 PACKAGE_URL=''
585 # Factoring default headers for most tests.
586 ac_includes_default="\
587 #include <stdio.h>
588 #ifdef HAVE_SYS_TYPES_H
589 # include <sys/types.h>
590 #endif
591 #ifdef HAVE_SYS_STAT_H
592 # include <sys/stat.h>
593 #endif
594 #ifdef STDC_HEADERS
595 # include <stdlib.h>
596 # include <stddef.h>
597 #else
598 # ifdef HAVE_STDLIB_H
599 # include <stdlib.h>
600 # endif
601 #endif
602 #ifdef HAVE_STRING_H
603 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
604 # include <memory.h>
605 # endif
606 # include <string.h>
607 #endif
608 #ifdef HAVE_STRINGS_H
609 # include <strings.h>
610 #endif
611 #ifdef HAVE_INTTYPES_H
612 # include <inttypes.h>
613 #endif
614 #ifdef HAVE_STDINT_H
615 # include <stdint.h>
616 #endif
617 #ifdef HAVE_UNISTD_H
618 # include <unistd.h>
619 #endif"
621 ac_subst_vars='LTLIBOBJS
622 LIBOBJS
623 EGREP
624 GREP
626 EXT_OBJ
627 EXT_LIB
628 EXT_DLL
629 OCAML_HAS_BIN_ANNOT
630 INSTALLDIR
631 ac_prefix_program
632 OCAML_PKG_lwt_ppx
633 OCAML_PKG_lwt_unix
634 OCAML_PKG_bytes
635 OCAMLFIND
636 OCAMLBUILD
637 OCAMLDOC
638 OCAMLMKLIB
639 OCAMLMKTOP
640 OCAMLDEP
641 OCAML
642 OCAMLOPTDOTOPT
643 OCAMLCDOTOPT
644 OCAMLBEST
645 OCAMLOPT
646 OCAMLLIB
647 OCAMLVERSION
648 OCAMLC
649 INSTALL_DATA
650 INSTALL_SCRIPT
651 INSTALL_PROGRAM
652 LIBCURL_VERSION
653 CURLLIBS
654 CURLCFLAGS
655 OBJEXT
656 EXEEXT
657 ac_ct_CC
658 CPPFLAGS
659 LDFLAGS
660 CFLAGS
662 target_alias
663 host_alias
664 build_alias
665 LIBS
666 ECHO_T
667 ECHO_N
668 ECHO_C
669 DEFS
670 mandir
671 localedir
672 libdir
673 psdir
674 pdfdir
675 dvidir
676 htmldir
677 infodir
678 docdir
679 oldincludedir
680 includedir
681 runstatedir
682 localstatedir
683 sharedstatedir
684 sysconfdir
685 datadir
686 datarootdir
687 libexecdir
688 sbindir
689 bindir
690 program_transform_name
691 prefix
692 exec_prefix
693 PACKAGE_URL
694 PACKAGE_BUGREPORT
695 PACKAGE_STRING
696 PACKAGE_VERSION
697 PACKAGE_TARNAME
698 PACKAGE_NAME
699 PATH_SEPARATOR
700 SHELL'
701 ac_subst_files=''
702 ac_user_opts='
703 enable_option_checking
705 ac_precious_vars='build_alias
706 host_alias
707 target_alias
709 CFLAGS
710 LDFLAGS
711 LIBS
712 CPPFLAGS
713 CURLCFLAGS
714 CURLLIBS
715 LIBCURL_VERSION
716 CPP'
719 # Initialize some variables set by options.
720 ac_init_help=
721 ac_init_version=false
722 ac_unrecognized_opts=
723 ac_unrecognized_sep=
724 # The variables have the same names as the options, with
725 # dashes changed to underlines.
726 cache_file=/dev/null
727 exec_prefix=NONE
728 no_create=
729 no_recursion=
730 prefix=NONE
731 program_prefix=NONE
732 program_suffix=NONE
733 program_transform_name=s,x,x,
734 silent=
735 site=
736 srcdir=
737 verbose=
738 x_includes=NONE
739 x_libraries=NONE
741 # Installation directory options.
742 # These are left unexpanded so users can "make install exec_prefix=/foo"
743 # and all the variables that are supposed to be based on exec_prefix
744 # by default will actually change.
745 # Use braces instead of parens because sh, perl, etc. also accept them.
746 # (The list follows the same order as the GNU Coding Standards.)
747 bindir='${exec_prefix}/bin'
748 sbindir='${exec_prefix}/sbin'
749 libexecdir='${exec_prefix}/libexec'
750 datarootdir='${prefix}/share'
751 datadir='${datarootdir}'
752 sysconfdir='${prefix}/etc'
753 sharedstatedir='${prefix}/com'
754 localstatedir='${prefix}/var'
755 runstatedir='${localstatedir}/run'
756 includedir='${prefix}/include'
757 oldincludedir='/usr/include'
758 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
759 infodir='${datarootdir}/info'
760 htmldir='${docdir}'
761 dvidir='${docdir}'
762 pdfdir='${docdir}'
763 psdir='${docdir}'
764 libdir='${exec_prefix}/lib'
765 localedir='${datarootdir}/locale'
766 mandir='${datarootdir}/man'
768 ac_prev=
769 ac_dashdash=
770 for ac_option
772 # If the previous option needs an argument, assign it.
773 if test -n "$ac_prev"; then
774 eval $ac_prev=\$ac_option
775 ac_prev=
776 continue
779 case $ac_option in
780 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
781 *=) ac_optarg= ;;
782 *) ac_optarg=yes ;;
783 esac
785 # Accept the important Cygnus configure options, so we can diagnose typos.
787 case $ac_dashdash$ac_option in
789 ac_dashdash=yes ;;
791 -bindir | --bindir | --bindi | --bind | --bin | --bi)
792 ac_prev=bindir ;;
793 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
794 bindir=$ac_optarg ;;
796 -build | --build | --buil | --bui | --bu)
797 ac_prev=build_alias ;;
798 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
799 build_alias=$ac_optarg ;;
801 -cache-file | --cache-file | --cache-fil | --cache-fi \
802 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
803 ac_prev=cache_file ;;
804 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
805 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
806 cache_file=$ac_optarg ;;
808 --config-cache | -C)
809 cache_file=config.cache ;;
811 -datadir | --datadir | --datadi | --datad)
812 ac_prev=datadir ;;
813 -datadir=* | --datadir=* | --datadi=* | --datad=*)
814 datadir=$ac_optarg ;;
816 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
817 | --dataroo | --dataro | --datar)
818 ac_prev=datarootdir ;;
819 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
820 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
821 datarootdir=$ac_optarg ;;
823 -disable-* | --disable-*)
824 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
825 # Reject names that are not valid shell variable names.
826 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
827 as_fn_error $? "invalid feature name: $ac_useropt"
828 ac_useropt_orig=$ac_useropt
829 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
830 case $ac_user_opts in
832 "enable_$ac_useropt"
833 "*) ;;
834 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
835 ac_unrecognized_sep=', ';;
836 esac
837 eval enable_$ac_useropt=no ;;
839 -docdir | --docdir | --docdi | --doc | --do)
840 ac_prev=docdir ;;
841 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
842 docdir=$ac_optarg ;;
844 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
845 ac_prev=dvidir ;;
846 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
847 dvidir=$ac_optarg ;;
849 -enable-* | --enable-*)
850 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
851 # Reject names that are not valid shell variable names.
852 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
853 as_fn_error $? "invalid feature name: $ac_useropt"
854 ac_useropt_orig=$ac_useropt
855 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
856 case $ac_user_opts in
858 "enable_$ac_useropt"
859 "*) ;;
860 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
861 ac_unrecognized_sep=', ';;
862 esac
863 eval enable_$ac_useropt=\$ac_optarg ;;
865 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
866 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
867 | --exec | --exe | --ex)
868 ac_prev=exec_prefix ;;
869 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
870 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
871 | --exec=* | --exe=* | --ex=*)
872 exec_prefix=$ac_optarg ;;
874 -gas | --gas | --ga | --g)
875 # Obsolete; use --with-gas.
876 with_gas=yes ;;
878 -help | --help | --hel | --he | -h)
879 ac_init_help=long ;;
880 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
881 ac_init_help=recursive ;;
882 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
883 ac_init_help=short ;;
885 -host | --host | --hos | --ho)
886 ac_prev=host_alias ;;
887 -host=* | --host=* | --hos=* | --ho=*)
888 host_alias=$ac_optarg ;;
890 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
891 ac_prev=htmldir ;;
892 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
893 | --ht=*)
894 htmldir=$ac_optarg ;;
896 -includedir | --includedir | --includedi | --included | --include \
897 | --includ | --inclu | --incl | --inc)
898 ac_prev=includedir ;;
899 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
900 | --includ=* | --inclu=* | --incl=* | --inc=*)
901 includedir=$ac_optarg ;;
903 -infodir | --infodir | --infodi | --infod | --info | --inf)
904 ac_prev=infodir ;;
905 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
906 infodir=$ac_optarg ;;
908 -libdir | --libdir | --libdi | --libd)
909 ac_prev=libdir ;;
910 -libdir=* | --libdir=* | --libdi=* | --libd=*)
911 libdir=$ac_optarg ;;
913 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
914 | --libexe | --libex | --libe)
915 ac_prev=libexecdir ;;
916 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
917 | --libexe=* | --libex=* | --libe=*)
918 libexecdir=$ac_optarg ;;
920 -localedir | --localedir | --localedi | --localed | --locale)
921 ac_prev=localedir ;;
922 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
923 localedir=$ac_optarg ;;
925 -localstatedir | --localstatedir | --localstatedi | --localstated \
926 | --localstate | --localstat | --localsta | --localst | --locals)
927 ac_prev=localstatedir ;;
928 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
929 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
930 localstatedir=$ac_optarg ;;
932 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
933 ac_prev=mandir ;;
934 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
935 mandir=$ac_optarg ;;
937 -nfp | --nfp | --nf)
938 # Obsolete; use --without-fp.
939 with_fp=no ;;
941 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
942 | --no-cr | --no-c | -n)
943 no_create=yes ;;
945 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
946 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
947 no_recursion=yes ;;
949 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
950 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
951 | --oldin | --oldi | --old | --ol | --o)
952 ac_prev=oldincludedir ;;
953 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
954 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
955 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
956 oldincludedir=$ac_optarg ;;
958 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
959 ac_prev=prefix ;;
960 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
961 prefix=$ac_optarg ;;
963 -program-prefix | --program-prefix | --program-prefi | --program-pref \
964 | --program-pre | --program-pr | --program-p)
965 ac_prev=program_prefix ;;
966 -program-prefix=* | --program-prefix=* | --program-prefi=* \
967 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
968 program_prefix=$ac_optarg ;;
970 -program-suffix | --program-suffix | --program-suffi | --program-suff \
971 | --program-suf | --program-su | --program-s)
972 ac_prev=program_suffix ;;
973 -program-suffix=* | --program-suffix=* | --program-suffi=* \
974 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
975 program_suffix=$ac_optarg ;;
977 -program-transform-name | --program-transform-name \
978 | --program-transform-nam | --program-transform-na \
979 | --program-transform-n | --program-transform- \
980 | --program-transform | --program-transfor \
981 | --program-transfo | --program-transf \
982 | --program-trans | --program-tran \
983 | --progr-tra | --program-tr | --program-t)
984 ac_prev=program_transform_name ;;
985 -program-transform-name=* | --program-transform-name=* \
986 | --program-transform-nam=* | --program-transform-na=* \
987 | --program-transform-n=* | --program-transform-=* \
988 | --program-transform=* | --program-transfor=* \
989 | --program-transfo=* | --program-transf=* \
990 | --program-trans=* | --program-tran=* \
991 | --progr-tra=* | --program-tr=* | --program-t=*)
992 program_transform_name=$ac_optarg ;;
994 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
995 ac_prev=pdfdir ;;
996 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
997 pdfdir=$ac_optarg ;;
999 -psdir | --psdir | --psdi | --psd | --ps)
1000 ac_prev=psdir ;;
1001 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1002 psdir=$ac_optarg ;;
1004 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1005 | -silent | --silent | --silen | --sile | --sil)
1006 silent=yes ;;
1008 -runstatedir | --runstatedir | --runstatedi | --runstated \
1009 | --runstate | --runstat | --runsta | --runst | --runs \
1010 | --run | --ru | --r)
1011 ac_prev=runstatedir ;;
1012 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1013 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1014 | --run=* | --ru=* | --r=*)
1015 runstatedir=$ac_optarg ;;
1017 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1018 ac_prev=sbindir ;;
1019 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1020 | --sbi=* | --sb=*)
1021 sbindir=$ac_optarg ;;
1023 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1024 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1025 | --sharedst | --shareds | --shared | --share | --shar \
1026 | --sha | --sh)
1027 ac_prev=sharedstatedir ;;
1028 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1029 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1030 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1031 | --sha=* | --sh=*)
1032 sharedstatedir=$ac_optarg ;;
1034 -site | --site | --sit)
1035 ac_prev=site ;;
1036 -site=* | --site=* | --sit=*)
1037 site=$ac_optarg ;;
1039 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1040 ac_prev=srcdir ;;
1041 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1042 srcdir=$ac_optarg ;;
1044 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1045 | --syscon | --sysco | --sysc | --sys | --sy)
1046 ac_prev=sysconfdir ;;
1047 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1048 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1049 sysconfdir=$ac_optarg ;;
1051 -target | --target | --targe | --targ | --tar | --ta | --t)
1052 ac_prev=target_alias ;;
1053 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1054 target_alias=$ac_optarg ;;
1056 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1057 verbose=yes ;;
1059 -version | --version | --versio | --versi | --vers | -V)
1060 ac_init_version=: ;;
1062 -with-* | --with-*)
1063 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1064 # Reject names that are not valid shell variable names.
1065 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1066 as_fn_error $? "invalid package name: $ac_useropt"
1067 ac_useropt_orig=$ac_useropt
1068 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1069 case $ac_user_opts in
1071 "with_$ac_useropt"
1072 "*) ;;
1073 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1074 ac_unrecognized_sep=', ';;
1075 esac
1076 eval with_$ac_useropt=\$ac_optarg ;;
1078 -without-* | --without-*)
1079 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1080 # Reject names that are not valid shell variable names.
1081 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1082 as_fn_error $? "invalid package name: $ac_useropt"
1083 ac_useropt_orig=$ac_useropt
1084 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1085 case $ac_user_opts in
1087 "with_$ac_useropt"
1088 "*) ;;
1089 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1090 ac_unrecognized_sep=', ';;
1091 esac
1092 eval with_$ac_useropt=no ;;
1094 --x)
1095 # Obsolete; use --with-x.
1096 with_x=yes ;;
1098 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1099 | --x-incl | --x-inc | --x-in | --x-i)
1100 ac_prev=x_includes ;;
1101 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1102 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1103 x_includes=$ac_optarg ;;
1105 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1106 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1107 ac_prev=x_libraries ;;
1108 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1109 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1110 x_libraries=$ac_optarg ;;
1112 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1113 Try \`$0 --help' for more information"
1116 *=*)
1117 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1118 # Reject names that are not valid shell variable names.
1119 case $ac_envvar in #(
1120 '' | [0-9]* | *[!_$as_cr_alnum]* )
1121 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1122 esac
1123 eval $ac_envvar=\$ac_optarg
1124 export $ac_envvar ;;
1127 # FIXME: should be removed in autoconf 3.0.
1128 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1129 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1130 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1131 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1134 esac
1135 done
1137 if test -n "$ac_prev"; then
1138 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1139 as_fn_error $? "missing argument to $ac_option"
1142 if test -n "$ac_unrecognized_opts"; then
1143 case $enable_option_checking in
1144 no) ;;
1145 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1146 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1147 esac
1150 # Check all directory arguments for consistency.
1151 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1152 datadir sysconfdir sharedstatedir localstatedir includedir \
1153 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1154 libdir localedir mandir runstatedir
1156 eval ac_val=\$$ac_var
1157 # Remove trailing slashes.
1158 case $ac_val in
1159 */ )
1160 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1161 eval $ac_var=\$ac_val;;
1162 esac
1163 # Be sure to have absolute directory names.
1164 case $ac_val in
1165 [\\/$]* | ?:[\\/]* ) continue;;
1166 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1167 esac
1168 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1169 done
1171 # There might be people who depend on the old broken behavior: `$host'
1172 # used to hold the argument of --host etc.
1173 # FIXME: To remove some day.
1174 build=$build_alias
1175 host=$host_alias
1176 target=$target_alias
1178 # FIXME: To remove some day.
1179 if test "x$host_alias" != x; then
1180 if test "x$build_alias" = x; then
1181 cross_compiling=maybe
1182 elif test "x$build_alias" != "x$host_alias"; then
1183 cross_compiling=yes
1187 ac_tool_prefix=
1188 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1190 test "$silent" = yes && exec 6>/dev/null
1193 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1194 ac_ls_di=`ls -di .` &&
1195 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1196 as_fn_error $? "working directory cannot be determined"
1197 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1198 as_fn_error $? "pwd does not report name of working directory"
1201 # Find the source files, if location was not specified.
1202 if test -z "$srcdir"; then
1203 ac_srcdir_defaulted=yes
1204 # Try the directory containing this script, then the parent directory.
1205 ac_confdir=`$as_dirname -- "$as_myself" ||
1206 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1207 X"$as_myself" : 'X\(//\)[^/]' \| \
1208 X"$as_myself" : 'X\(//\)$' \| \
1209 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1210 $as_echo X"$as_myself" |
1211 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1212 s//\1/
1215 /^X\(\/\/\)[^/].*/{
1216 s//\1/
1219 /^X\(\/\/\)$/{
1220 s//\1/
1223 /^X\(\/\).*/{
1224 s//\1/
1227 s/.*/./; q'`
1228 srcdir=$ac_confdir
1229 if test ! -r "$srcdir/$ac_unique_file"; then
1230 srcdir=..
1232 else
1233 ac_srcdir_defaulted=no
1235 if test ! -r "$srcdir/$ac_unique_file"; then
1236 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1237 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1239 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1240 ac_abs_confdir=`(
1241 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1242 pwd)`
1243 # When building in place, set srcdir=.
1244 if test "$ac_abs_confdir" = "$ac_pwd"; then
1245 srcdir=.
1247 # Remove unnecessary trailing slashes from srcdir.
1248 # Double slashes in file names in object file debugging info
1249 # mess up M-x gdb in Emacs.
1250 case $srcdir in
1251 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1252 esac
1253 for ac_var in $ac_precious_vars; do
1254 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1255 eval ac_env_${ac_var}_value=\$${ac_var}
1256 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1257 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1258 done
1261 # Report the --help message.
1263 if test "$ac_init_help" = "long"; then
1264 # Omit some internal or obsolete options to make the list less imposing.
1265 # This message is too long to be a string in the A/UX 3.1 sh.
1266 cat <<_ACEOF
1267 \`configure' configures ocurl 0.9.1 to adapt to many kinds of systems.
1269 Usage: $0 [OPTION]... [VAR=VALUE]...
1271 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1272 VAR=VALUE. See below for descriptions of some of the useful variables.
1274 Defaults for the options are specified in brackets.
1276 Configuration:
1277 -h, --help display this help and exit
1278 --help=short display options specific to this package
1279 --help=recursive display the short help of all the included packages
1280 -V, --version display version information and exit
1281 -q, --quiet, --silent do not print \`checking ...' messages
1282 --cache-file=FILE cache test results in FILE [disabled]
1283 -C, --config-cache alias for \`--cache-file=config.cache'
1284 -n, --no-create do not create output files
1285 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1287 Installation directories:
1288 --prefix=PREFIX install architecture-independent files in PREFIX
1289 [$ac_default_prefix]
1290 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1291 [PREFIX]
1293 By default, \`make install' will install all the files in
1294 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1295 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1296 for instance \`--prefix=\$HOME'.
1298 For better control, use the options below.
1300 Fine tuning of the installation directories:
1301 --bindir=DIR user executables [EPREFIX/bin]
1302 --sbindir=DIR system admin executables [EPREFIX/sbin]
1303 --libexecdir=DIR program executables [EPREFIX/libexec]
1304 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1305 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1306 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1307 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1308 --libdir=DIR object code libraries [EPREFIX/lib]
1309 --includedir=DIR C header files [PREFIX/include]
1310 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1311 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1312 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1313 --infodir=DIR info documentation [DATAROOTDIR/info]
1314 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1315 --mandir=DIR man documentation [DATAROOTDIR/man]
1316 --docdir=DIR documentation root [DATAROOTDIR/doc/ocurl]
1317 --htmldir=DIR html documentation [DOCDIR]
1318 --dvidir=DIR dvi documentation [DOCDIR]
1319 --pdfdir=DIR pdf documentation [DOCDIR]
1320 --psdir=DIR ps documentation [DOCDIR]
1321 _ACEOF
1323 cat <<\_ACEOF
1324 _ACEOF
1327 if test -n "$ac_init_help"; then
1328 case $ac_init_help in
1329 short | recursive ) echo "Configuration of ocurl 0.9.1:";;
1330 esac
1331 cat <<\_ACEOF
1333 Some influential environment variables:
1334 CC C compiler command
1335 CFLAGS C compiler flags
1336 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1337 nonstandard directory <lib dir>
1338 LIBS libraries to pass to the linker, e.g. -l<library>
1339 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1340 you have headers in a nonstandard directory <include dir>
1341 CURLCFLAGS libcurl C flags
1342 CURLLIBS libcurl library flags
1343 LIBCURL_VERSION
1344 libcurl version
1345 CPP C preprocessor
1347 Use these variables to override the choices made by `configure' or to help
1348 it to find libraries and programs with nonstandard names/locations.
1350 Report bugs to the package provider.
1351 _ACEOF
1352 ac_status=$?
1355 if test "$ac_init_help" = "recursive"; then
1356 # If there are subdirs, report their specific --help.
1357 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1358 test -d "$ac_dir" ||
1359 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1360 continue
1361 ac_builddir=.
1363 case "$ac_dir" in
1364 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1366 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1367 # A ".." for each directory in $ac_dir_suffix.
1368 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1369 case $ac_top_builddir_sub in
1370 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1371 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1372 esac ;;
1373 esac
1374 ac_abs_top_builddir=$ac_pwd
1375 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1376 # for backward compatibility:
1377 ac_top_builddir=$ac_top_build_prefix
1379 case $srcdir in
1380 .) # We are building in place.
1381 ac_srcdir=.
1382 ac_top_srcdir=$ac_top_builddir_sub
1383 ac_abs_top_srcdir=$ac_pwd ;;
1384 [\\/]* | ?:[\\/]* ) # Absolute name.
1385 ac_srcdir=$srcdir$ac_dir_suffix;
1386 ac_top_srcdir=$srcdir
1387 ac_abs_top_srcdir=$srcdir ;;
1388 *) # Relative name.
1389 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1390 ac_top_srcdir=$ac_top_build_prefix$srcdir
1391 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1392 esac
1393 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1395 cd "$ac_dir" || { ac_status=$?; continue; }
1396 # Check for guested configure.
1397 if test -f "$ac_srcdir/configure.gnu"; then
1398 echo &&
1399 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1400 elif test -f "$ac_srcdir/configure"; then
1401 echo &&
1402 $SHELL "$ac_srcdir/configure" --help=recursive
1403 else
1404 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1405 fi || ac_status=$?
1406 cd "$ac_pwd" || { ac_status=$?; break; }
1407 done
1410 test -n "$ac_init_help" && exit $ac_status
1411 if $ac_init_version; then
1412 cat <<\_ACEOF
1413 ocurl configure 0.9.1
1414 generated by GNU Autoconf 2.69
1416 Copyright (C) 2012 Free Software Foundation, Inc.
1417 This configure script is free software; the Free Software Foundation
1418 gives unlimited permission to copy, distribute and modify it.
1419 _ACEOF
1420 exit
1423 ## ------------------------ ##
1424 ## Autoconf initialization. ##
1425 ## ------------------------ ##
1427 # ac_fn_c_try_compile LINENO
1428 # --------------------------
1429 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1430 ac_fn_c_try_compile ()
1432 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1433 rm -f conftest.$ac_objext
1434 if { { ac_try="$ac_compile"
1435 case "(($ac_try" in
1436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1437 *) ac_try_echo=$ac_try;;
1438 esac
1439 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1440 $as_echo "$ac_try_echo"; } >&5
1441 (eval "$ac_compile") 2>conftest.err
1442 ac_status=$?
1443 if test -s conftest.err; then
1444 grep -v '^ *+' conftest.err >conftest.er1
1445 cat conftest.er1 >&5
1446 mv -f conftest.er1 conftest.err
1448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1449 test $ac_status = 0; } && {
1450 test -z "$ac_c_werror_flag" ||
1451 test ! -s conftest.err
1452 } && test -s conftest.$ac_objext; then :
1453 ac_retval=0
1454 else
1455 $as_echo "$as_me: failed program was:" >&5
1456 sed 's/^/| /' conftest.$ac_ext >&5
1458 ac_retval=1
1460 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1461 as_fn_set_status $ac_retval
1463 } # ac_fn_c_try_compile
1465 # ac_fn_c_try_cpp LINENO
1466 # ----------------------
1467 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1468 ac_fn_c_try_cpp ()
1470 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1471 if { { ac_try="$ac_cpp conftest.$ac_ext"
1472 case "(($ac_try" in
1473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1474 *) ac_try_echo=$ac_try;;
1475 esac
1476 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1477 $as_echo "$ac_try_echo"; } >&5
1478 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1479 ac_status=$?
1480 if test -s conftest.err; then
1481 grep -v '^ *+' conftest.err >conftest.er1
1482 cat conftest.er1 >&5
1483 mv -f conftest.er1 conftest.err
1485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1486 test $ac_status = 0; } > conftest.i && {
1487 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1488 test ! -s conftest.err
1489 }; then :
1490 ac_retval=0
1491 else
1492 $as_echo "$as_me: failed program was:" >&5
1493 sed 's/^/| /' conftest.$ac_ext >&5
1495 ac_retval=1
1497 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1498 as_fn_set_status $ac_retval
1500 } # ac_fn_c_try_cpp
1502 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1503 # -------------------------------------------------------
1504 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1505 # the include files in INCLUDES and setting the cache variable VAR
1506 # accordingly.
1507 ac_fn_c_check_header_mongrel ()
1509 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1510 if eval \${$3+:} false; then :
1511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1512 $as_echo_n "checking for $2... " >&6; }
1513 if eval \${$3+:} false; then :
1514 $as_echo_n "(cached) " >&6
1516 eval ac_res=\$$3
1517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1518 $as_echo "$ac_res" >&6; }
1519 else
1520 # Is the header compilable?
1521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1522 $as_echo_n "checking $2 usability... " >&6; }
1523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1524 /* end confdefs.h. */
1526 #include <$2>
1527 _ACEOF
1528 if ac_fn_c_try_compile "$LINENO"; then :
1529 ac_header_compiler=yes
1530 else
1531 ac_header_compiler=no
1533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1535 $as_echo "$ac_header_compiler" >&6; }
1537 # Is the header present?
1538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1539 $as_echo_n "checking $2 presence... " >&6; }
1540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1541 /* end confdefs.h. */
1542 #include <$2>
1543 _ACEOF
1544 if ac_fn_c_try_cpp "$LINENO"; then :
1545 ac_header_preproc=yes
1546 else
1547 ac_header_preproc=no
1549 rm -f conftest.err conftest.i conftest.$ac_ext
1550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1551 $as_echo "$ac_header_preproc" >&6; }
1553 # So? What about this header?
1554 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1555 yes:no: )
1556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1557 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1559 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1561 no:yes:* )
1562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1563 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1565 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1567 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1569 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1571 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1573 esac
1574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1575 $as_echo_n "checking for $2... " >&6; }
1576 if eval \${$3+:} false; then :
1577 $as_echo_n "(cached) " >&6
1578 else
1579 eval "$3=\$ac_header_compiler"
1581 eval ac_res=\$$3
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1583 $as_echo "$ac_res" >&6; }
1585 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1587 } # ac_fn_c_check_header_mongrel
1589 # ac_fn_c_try_run LINENO
1590 # ----------------------
1591 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1592 # that executables *can* be run.
1593 ac_fn_c_try_run ()
1595 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1596 if { { ac_try="$ac_link"
1597 case "(($ac_try" in
1598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1599 *) ac_try_echo=$ac_try;;
1600 esac
1601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1602 $as_echo "$ac_try_echo"; } >&5
1603 (eval "$ac_link") 2>&5
1604 ac_status=$?
1605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1606 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1607 { { case "(($ac_try" in
1608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1609 *) ac_try_echo=$ac_try;;
1610 esac
1611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1612 $as_echo "$ac_try_echo"; } >&5
1613 (eval "$ac_try") 2>&5
1614 ac_status=$?
1615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1616 test $ac_status = 0; }; }; then :
1617 ac_retval=0
1618 else
1619 $as_echo "$as_me: program exited with status $ac_status" >&5
1620 $as_echo "$as_me: failed program was:" >&5
1621 sed 's/^/| /' conftest.$ac_ext >&5
1623 ac_retval=$ac_status
1625 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1626 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1627 as_fn_set_status $ac_retval
1629 } # ac_fn_c_try_run
1631 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1632 # -------------------------------------------------------
1633 # Tests whether HEADER exists and can be compiled using the include files in
1634 # INCLUDES, setting the cache variable VAR accordingly.
1635 ac_fn_c_check_header_compile ()
1637 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1639 $as_echo_n "checking for $2... " >&6; }
1640 if eval \${$3+:} false; then :
1641 $as_echo_n "(cached) " >&6
1642 else
1643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1644 /* end confdefs.h. */
1646 #include <$2>
1647 _ACEOF
1648 if ac_fn_c_try_compile "$LINENO"; then :
1649 eval "$3=yes"
1650 else
1651 eval "$3=no"
1653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1655 eval ac_res=\$$3
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1657 $as_echo "$ac_res" >&6; }
1658 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1660 } # ac_fn_c_check_header_compile
1662 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1663 # ---------------------------------------------
1664 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1665 # accordingly.
1666 ac_fn_c_check_decl ()
1668 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1669 as_decl_name=`echo $2|sed 's/ *(.*//'`
1670 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1672 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1673 if eval \${$3+:} false; then :
1674 $as_echo_n "(cached) " >&6
1675 else
1676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1677 /* end confdefs.h. */
1680 main ()
1682 #ifndef $as_decl_name
1683 #ifdef __cplusplus
1684 (void) $as_decl_use;
1685 #else
1686 (void) $as_decl_name;
1687 #endif
1688 #endif
1691 return 0;
1693 _ACEOF
1694 if ac_fn_c_try_compile "$LINENO"; then :
1695 eval "$3=yes"
1696 else
1697 eval "$3=no"
1699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1701 eval ac_res=\$$3
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1703 $as_echo "$ac_res" >&6; }
1704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1706 } # ac_fn_c_check_decl
1707 cat >config.log <<_ACEOF
1708 This file contains any messages produced by compilers while
1709 running configure, to aid debugging if configure makes a mistake.
1711 It was created by ocurl $as_me 0.9.1, which was
1712 generated by GNU Autoconf 2.69. Invocation command line was
1714 $ $0 $@
1716 _ACEOF
1717 exec 5>>config.log
1719 cat <<_ASUNAME
1720 ## --------- ##
1721 ## Platform. ##
1722 ## --------- ##
1724 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1725 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1726 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1727 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1728 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1730 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1731 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1733 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1734 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1735 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1736 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1737 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1738 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1739 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1741 _ASUNAME
1743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1744 for as_dir in $PATH
1746 IFS=$as_save_IFS
1747 test -z "$as_dir" && as_dir=.
1748 $as_echo "PATH: $as_dir"
1749 done
1750 IFS=$as_save_IFS
1752 } >&5
1754 cat >&5 <<_ACEOF
1757 ## ----------- ##
1758 ## Core tests. ##
1759 ## ----------- ##
1761 _ACEOF
1764 # Keep a trace of the command line.
1765 # Strip out --no-create and --no-recursion so they do not pile up.
1766 # Strip out --silent because we don't want to record it for future runs.
1767 # Also quote any args containing shell meta-characters.
1768 # Make two passes to allow for proper duplicate-argument suppression.
1769 ac_configure_args=
1770 ac_configure_args0=
1771 ac_configure_args1=
1772 ac_must_keep_next=false
1773 for ac_pass in 1 2
1775 for ac_arg
1777 case $ac_arg in
1778 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1779 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1780 | -silent | --silent | --silen | --sile | --sil)
1781 continue ;;
1782 *\'*)
1783 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1784 esac
1785 case $ac_pass in
1786 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1788 as_fn_append ac_configure_args1 " '$ac_arg'"
1789 if test $ac_must_keep_next = true; then
1790 ac_must_keep_next=false # Got value, back to normal.
1791 else
1792 case $ac_arg in
1793 *=* | --config-cache | -C | -disable-* | --disable-* \
1794 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1795 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1796 | -with-* | --with-* | -without-* | --without-* | --x)
1797 case "$ac_configure_args0 " in
1798 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1799 esac
1801 -* ) ac_must_keep_next=true ;;
1802 esac
1804 as_fn_append ac_configure_args " '$ac_arg'"
1806 esac
1807 done
1808 done
1809 { ac_configure_args0=; unset ac_configure_args0;}
1810 { ac_configure_args1=; unset ac_configure_args1;}
1812 # When interrupted or exit'd, cleanup temporary files, and complete
1813 # config.log. We remove comments because anyway the quotes in there
1814 # would cause problems or look ugly.
1815 # WARNING: Use '\'' to represent an apostrophe within the trap.
1816 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1817 trap 'exit_status=$?
1818 # Save into config.log some information that might help in debugging.
1820 echo
1822 $as_echo "## ---------------- ##
1823 ## Cache variables. ##
1824 ## ---------------- ##"
1825 echo
1826 # The following way of writing the cache mishandles newlines in values,
1828 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1829 eval ac_val=\$$ac_var
1830 case $ac_val in #(
1831 *${as_nl}*)
1832 case $ac_var in #(
1833 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1834 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1835 esac
1836 case $ac_var in #(
1837 _ | IFS | as_nl) ;; #(
1838 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1839 *) { eval $ac_var=; unset $ac_var;} ;;
1840 esac ;;
1841 esac
1842 done
1843 (set) 2>&1 |
1844 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1845 *${as_nl}ac_space=\ *)
1846 sed -n \
1847 "s/'\''/'\''\\\\'\'''\''/g;
1848 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1849 ;; #(
1851 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1853 esac |
1854 sort
1856 echo
1858 $as_echo "## ----------------- ##
1859 ## Output variables. ##
1860 ## ----------------- ##"
1861 echo
1862 for ac_var in $ac_subst_vars
1864 eval ac_val=\$$ac_var
1865 case $ac_val in
1866 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1867 esac
1868 $as_echo "$ac_var='\''$ac_val'\''"
1869 done | sort
1870 echo
1872 if test -n "$ac_subst_files"; then
1873 $as_echo "## ------------------- ##
1874 ## File substitutions. ##
1875 ## ------------------- ##"
1876 echo
1877 for ac_var in $ac_subst_files
1879 eval ac_val=\$$ac_var
1880 case $ac_val in
1881 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1882 esac
1883 $as_echo "$ac_var='\''$ac_val'\''"
1884 done | sort
1885 echo
1888 if test -s confdefs.h; then
1889 $as_echo "## ----------- ##
1890 ## confdefs.h. ##
1891 ## ----------- ##"
1892 echo
1893 cat confdefs.h
1894 echo
1896 test "$ac_signal" != 0 &&
1897 $as_echo "$as_me: caught signal $ac_signal"
1898 $as_echo "$as_me: exit $exit_status"
1899 } >&5
1900 rm -f core *.core core.conftest.* &&
1901 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1902 exit $exit_status
1904 for ac_signal in 1 2 13 15; do
1905 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1906 done
1907 ac_signal=0
1909 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1910 rm -f -r conftest* confdefs.h
1912 $as_echo "/* confdefs.h */" > confdefs.h
1914 # Predefined preprocessor variables.
1916 cat >>confdefs.h <<_ACEOF
1917 #define PACKAGE_NAME "$PACKAGE_NAME"
1918 _ACEOF
1920 cat >>confdefs.h <<_ACEOF
1921 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1922 _ACEOF
1924 cat >>confdefs.h <<_ACEOF
1925 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1926 _ACEOF
1928 cat >>confdefs.h <<_ACEOF
1929 #define PACKAGE_STRING "$PACKAGE_STRING"
1930 _ACEOF
1932 cat >>confdefs.h <<_ACEOF
1933 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1934 _ACEOF
1936 cat >>confdefs.h <<_ACEOF
1937 #define PACKAGE_URL "$PACKAGE_URL"
1938 _ACEOF
1941 # Let the site file select an alternate cache file if it wants to.
1942 # Prefer an explicitly selected file to automatically selected ones.
1943 ac_site_file1=NONE
1944 ac_site_file2=NONE
1945 if test -n "$CONFIG_SITE"; then
1946 # We do not want a PATH search for config.site.
1947 case $CONFIG_SITE in #((
1948 -*) ac_site_file1=./$CONFIG_SITE;;
1949 */*) ac_site_file1=$CONFIG_SITE;;
1950 *) ac_site_file1=./$CONFIG_SITE;;
1951 esac
1952 elif test "x$prefix" != xNONE; then
1953 ac_site_file1=$prefix/share/config.site
1954 ac_site_file2=$prefix/etc/config.site
1955 else
1956 ac_site_file1=$ac_default_prefix/share/config.site
1957 ac_site_file2=$ac_default_prefix/etc/config.site
1959 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1961 test "x$ac_site_file" = xNONE && continue
1962 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1964 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1965 sed 's/^/| /' "$ac_site_file" >&5
1966 . "$ac_site_file" \
1967 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1969 as_fn_error $? "failed to load site script $ac_site_file
1970 See \`config.log' for more details" "$LINENO" 5; }
1972 done
1974 if test -r "$cache_file"; then
1975 # Some versions of bash will fail to source /dev/null (special files
1976 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1977 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1979 $as_echo "$as_me: loading cache $cache_file" >&6;}
1980 case $cache_file in
1981 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1982 *) . "./$cache_file";;
1983 esac
1985 else
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1987 $as_echo "$as_me: creating cache $cache_file" >&6;}
1988 >$cache_file
1991 # Check that the precious variables saved in the cache have kept the same
1992 # value.
1993 ac_cache_corrupted=false
1994 for ac_var in $ac_precious_vars; do
1995 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1996 eval ac_new_set=\$ac_env_${ac_var}_set
1997 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1998 eval ac_new_val=\$ac_env_${ac_var}_value
1999 case $ac_old_set,$ac_new_set in
2000 set,)
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2002 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2003 ac_cache_corrupted=: ;;
2004 ,set)
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2006 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2007 ac_cache_corrupted=: ;;
2008 ,);;
2010 if test "x$ac_old_val" != "x$ac_new_val"; then
2011 # differences in whitespace do not lead to failure.
2012 ac_old_val_w=`echo x $ac_old_val`
2013 ac_new_val_w=`echo x $ac_new_val`
2014 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2016 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2017 ac_cache_corrupted=:
2018 else
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2020 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2021 eval $ac_var=\$ac_old_val
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2024 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2026 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2027 fi;;
2028 esac
2029 # Pass precious variables to config.status.
2030 if test "$ac_new_set" = set; then
2031 case $ac_new_val in
2032 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2033 *) ac_arg=$ac_var=$ac_new_val ;;
2034 esac
2035 case " $ac_configure_args " in
2036 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2037 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2038 esac
2040 done
2041 if $ac_cache_corrupted; then
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2045 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2046 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2048 ## -------------------- ##
2049 ## Main body of script. ##
2050 ## -------------------- ##
2052 ac_ext=c
2053 ac_cpp='$CPP $CPPFLAGS'
2054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2060 MIN_LIBCURL_VERSION=7.28.0
2062 ac_ext=c
2063 ac_cpp='$CPP $CPPFLAGS'
2064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2067 if test -n "$ac_tool_prefix"; then
2068 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2069 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2071 $as_echo_n "checking for $ac_word... " >&6; }
2072 if ${ac_cv_prog_CC+:} false; then :
2073 $as_echo_n "(cached) " >&6
2074 else
2075 if test -n "$CC"; then
2076 ac_cv_prog_CC="$CC" # Let the user override the test.
2077 else
2078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2079 for as_dir in $PATH
2081 IFS=$as_save_IFS
2082 test -z "$as_dir" && as_dir=.
2083 for ac_exec_ext in '' $ac_executable_extensions; do
2084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2085 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2087 break 2
2089 done
2090 done
2091 IFS=$as_save_IFS
2095 CC=$ac_cv_prog_CC
2096 if test -n "$CC"; then
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2098 $as_echo "$CC" >&6; }
2099 else
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2101 $as_echo "no" >&6; }
2106 if test -z "$ac_cv_prog_CC"; then
2107 ac_ct_CC=$CC
2108 # Extract the first word of "gcc", so it can be a program name with args.
2109 set dummy gcc; ac_word=$2
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2111 $as_echo_n "checking for $ac_word... " >&6; }
2112 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2113 $as_echo_n "(cached) " >&6
2114 else
2115 if test -n "$ac_ct_CC"; then
2116 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2117 else
2118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2119 for as_dir in $PATH
2121 IFS=$as_save_IFS
2122 test -z "$as_dir" && as_dir=.
2123 for ac_exec_ext in '' $ac_executable_extensions; do
2124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2125 ac_cv_prog_ac_ct_CC="gcc"
2126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2127 break 2
2129 done
2130 done
2131 IFS=$as_save_IFS
2135 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2136 if test -n "$ac_ct_CC"; then
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2138 $as_echo "$ac_ct_CC" >&6; }
2139 else
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2141 $as_echo "no" >&6; }
2144 if test "x$ac_ct_CC" = x; then
2145 CC=""
2146 else
2147 case $cross_compiling:$ac_tool_warned in
2148 yes:)
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2150 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2151 ac_tool_warned=yes ;;
2152 esac
2153 CC=$ac_ct_CC
2155 else
2156 CC="$ac_cv_prog_CC"
2159 if test -z "$CC"; then
2160 if test -n "$ac_tool_prefix"; then
2161 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2162 set dummy ${ac_tool_prefix}cc; ac_word=$2
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2164 $as_echo_n "checking for $ac_word... " >&6; }
2165 if ${ac_cv_prog_CC+:} false; then :
2166 $as_echo_n "(cached) " >&6
2167 else
2168 if test -n "$CC"; then
2169 ac_cv_prog_CC="$CC" # Let the user override the test.
2170 else
2171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2172 for as_dir in $PATH
2174 IFS=$as_save_IFS
2175 test -z "$as_dir" && as_dir=.
2176 for ac_exec_ext in '' $ac_executable_extensions; do
2177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2178 ac_cv_prog_CC="${ac_tool_prefix}cc"
2179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2180 break 2
2182 done
2183 done
2184 IFS=$as_save_IFS
2188 CC=$ac_cv_prog_CC
2189 if test -n "$CC"; then
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2191 $as_echo "$CC" >&6; }
2192 else
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2194 $as_echo "no" >&6; }
2200 if test -z "$CC"; then
2201 # Extract the first word of "cc", so it can be a program name with args.
2202 set dummy cc; ac_word=$2
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2204 $as_echo_n "checking for $ac_word... " >&6; }
2205 if ${ac_cv_prog_CC+:} false; then :
2206 $as_echo_n "(cached) " >&6
2207 else
2208 if test -n "$CC"; then
2209 ac_cv_prog_CC="$CC" # Let the user override the test.
2210 else
2211 ac_prog_rejected=no
2212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2213 for as_dir in $PATH
2215 IFS=$as_save_IFS
2216 test -z "$as_dir" && as_dir=.
2217 for ac_exec_ext in '' $ac_executable_extensions; do
2218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2219 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2220 ac_prog_rejected=yes
2221 continue
2223 ac_cv_prog_CC="cc"
2224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2225 break 2
2227 done
2228 done
2229 IFS=$as_save_IFS
2231 if test $ac_prog_rejected = yes; then
2232 # We found a bogon in the path, so make sure we never use it.
2233 set dummy $ac_cv_prog_CC
2234 shift
2235 if test $# != 0; then
2236 # We chose a different compiler from the bogus one.
2237 # However, it has the same basename, so the bogon will be chosen
2238 # first if we set CC to just the basename; use the full file name.
2239 shift
2240 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2245 CC=$ac_cv_prog_CC
2246 if test -n "$CC"; then
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2248 $as_echo "$CC" >&6; }
2249 else
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2251 $as_echo "no" >&6; }
2256 if test -z "$CC"; then
2257 if test -n "$ac_tool_prefix"; then
2258 for ac_prog in cl.exe
2260 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2261 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2263 $as_echo_n "checking for $ac_word... " >&6; }
2264 if ${ac_cv_prog_CC+:} false; then :
2265 $as_echo_n "(cached) " >&6
2266 else
2267 if test -n "$CC"; then
2268 ac_cv_prog_CC="$CC" # Let the user override the test.
2269 else
2270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2271 for as_dir in $PATH
2273 IFS=$as_save_IFS
2274 test -z "$as_dir" && as_dir=.
2275 for ac_exec_ext in '' $ac_executable_extensions; do
2276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2277 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2279 break 2
2281 done
2282 done
2283 IFS=$as_save_IFS
2287 CC=$ac_cv_prog_CC
2288 if test -n "$CC"; then
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2290 $as_echo "$CC" >&6; }
2291 else
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2293 $as_echo "no" >&6; }
2297 test -n "$CC" && break
2298 done
2300 if test -z "$CC"; then
2301 ac_ct_CC=$CC
2302 for ac_prog in cl.exe
2304 # Extract the first word of "$ac_prog", so it can be a program name with args.
2305 set dummy $ac_prog; ac_word=$2
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2307 $as_echo_n "checking for $ac_word... " >&6; }
2308 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2309 $as_echo_n "(cached) " >&6
2310 else
2311 if test -n "$ac_ct_CC"; then
2312 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2313 else
2314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2315 for as_dir in $PATH
2317 IFS=$as_save_IFS
2318 test -z "$as_dir" && as_dir=.
2319 for ac_exec_ext in '' $ac_executable_extensions; do
2320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2321 ac_cv_prog_ac_ct_CC="$ac_prog"
2322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2323 break 2
2325 done
2326 done
2327 IFS=$as_save_IFS
2331 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2332 if test -n "$ac_ct_CC"; then
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2334 $as_echo "$ac_ct_CC" >&6; }
2335 else
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2337 $as_echo "no" >&6; }
2341 test -n "$ac_ct_CC" && break
2342 done
2344 if test "x$ac_ct_CC" = x; then
2345 CC=""
2346 else
2347 case $cross_compiling:$ac_tool_warned in
2348 yes:)
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2351 ac_tool_warned=yes ;;
2352 esac
2353 CC=$ac_ct_CC
2360 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2362 as_fn_error $? "no acceptable C compiler found in \$PATH
2363 See \`config.log' for more details" "$LINENO" 5; }
2365 # Provide some information about the compiler.
2366 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2367 set X $ac_compile
2368 ac_compiler=$2
2369 for ac_option in --version -v -V -qversion; do
2370 { { ac_try="$ac_compiler $ac_option >&5"
2371 case "(($ac_try" in
2372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2373 *) ac_try_echo=$ac_try;;
2374 esac
2375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2376 $as_echo "$ac_try_echo"; } >&5
2377 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2378 ac_status=$?
2379 if test -s conftest.err; then
2380 sed '10a\
2381 ... rest of stderr output deleted ...
2382 10q' conftest.err >conftest.er1
2383 cat conftest.er1 >&5
2385 rm -f conftest.er1 conftest.err
2386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2387 test $ac_status = 0; }
2388 done
2390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2391 /* end confdefs.h. */
2394 main ()
2398 return 0;
2400 _ACEOF
2401 ac_clean_files_save=$ac_clean_files
2402 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2403 # Try to create an executable without -o first, disregard a.out.
2404 # It will help us diagnose broken compilers, and finding out an intuition
2405 # of exeext.
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2407 $as_echo_n "checking whether the C compiler works... " >&6; }
2408 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2410 # The possible output files:
2411 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2413 ac_rmfiles=
2414 for ac_file in $ac_files
2416 case $ac_file in
2417 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2418 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2419 esac
2420 done
2421 rm -f $ac_rmfiles
2423 if { { ac_try="$ac_link_default"
2424 case "(($ac_try" in
2425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2426 *) ac_try_echo=$ac_try;;
2427 esac
2428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2429 $as_echo "$ac_try_echo"; } >&5
2430 (eval "$ac_link_default") 2>&5
2431 ac_status=$?
2432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2433 test $ac_status = 0; }; then :
2434 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2435 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2436 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2437 # so that the user can short-circuit this test for compilers unknown to
2438 # Autoconf.
2439 for ac_file in $ac_files ''
2441 test -f "$ac_file" || continue
2442 case $ac_file in
2443 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2445 [ab].out )
2446 # We found the default executable, but exeext='' is most
2447 # certainly right.
2448 break;;
2449 *.* )
2450 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2451 then :; else
2452 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2454 # We set ac_cv_exeext here because the later test for it is not
2455 # safe: cross compilers may not add the suffix if given an `-o'
2456 # argument, so we may need to know it at that point already.
2457 # Even if this section looks crufty: it has the advantage of
2458 # actually working.
2459 break;;
2461 break;;
2462 esac
2463 done
2464 test "$ac_cv_exeext" = no && ac_cv_exeext=
2466 else
2467 ac_file=''
2469 if test -z "$ac_file"; then :
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2471 $as_echo "no" >&6; }
2472 $as_echo "$as_me: failed program was:" >&5
2473 sed 's/^/| /' conftest.$ac_ext >&5
2475 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2476 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2477 as_fn_error 77 "C compiler cannot create executables
2478 See \`config.log' for more details" "$LINENO" 5; }
2479 else
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2481 $as_echo "yes" >&6; }
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2484 $as_echo_n "checking for C compiler default output file name... " >&6; }
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2486 $as_echo "$ac_file" >&6; }
2487 ac_exeext=$ac_cv_exeext
2489 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2490 ac_clean_files=$ac_clean_files_save
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2492 $as_echo_n "checking for suffix of executables... " >&6; }
2493 if { { ac_try="$ac_link"
2494 case "(($ac_try" in
2495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2496 *) ac_try_echo=$ac_try;;
2497 esac
2498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2499 $as_echo "$ac_try_echo"; } >&5
2500 (eval "$ac_link") 2>&5
2501 ac_status=$?
2502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2503 test $ac_status = 0; }; then :
2504 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2505 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2506 # work properly (i.e., refer to `conftest.exe'), while it won't with
2507 # `rm'.
2508 for ac_file in conftest.exe conftest conftest.*; do
2509 test -f "$ac_file" || continue
2510 case $ac_file in
2511 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2512 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2513 break;;
2514 * ) break;;
2515 esac
2516 done
2517 else
2518 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2520 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2521 See \`config.log' for more details" "$LINENO" 5; }
2523 rm -f conftest conftest$ac_cv_exeext
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2525 $as_echo "$ac_cv_exeext" >&6; }
2527 rm -f conftest.$ac_ext
2528 EXEEXT=$ac_cv_exeext
2529 ac_exeext=$EXEEXT
2530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2531 /* end confdefs.h. */
2532 #include <stdio.h>
2534 main ()
2536 FILE *f = fopen ("conftest.out", "w");
2537 return ferror (f) || fclose (f) != 0;
2540 return 0;
2542 _ACEOF
2543 ac_clean_files="$ac_clean_files conftest.out"
2544 # Check that the compiler produces executables we can run. If not, either
2545 # the compiler is broken, or we cross compile.
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2547 $as_echo_n "checking whether we are cross compiling... " >&6; }
2548 if test "$cross_compiling" != yes; then
2549 { { ac_try="$ac_link"
2550 case "(($ac_try" in
2551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2552 *) ac_try_echo=$ac_try;;
2553 esac
2554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2555 $as_echo "$ac_try_echo"; } >&5
2556 (eval "$ac_link") 2>&5
2557 ac_status=$?
2558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2559 test $ac_status = 0; }
2560 if { ac_try='./conftest$ac_cv_exeext'
2561 { { case "(($ac_try" in
2562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2563 *) ac_try_echo=$ac_try;;
2564 esac
2565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2566 $as_echo "$ac_try_echo"; } >&5
2567 (eval "$ac_try") 2>&5
2568 ac_status=$?
2569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2570 test $ac_status = 0; }; }; then
2571 cross_compiling=no
2572 else
2573 if test "$cross_compiling" = maybe; then
2574 cross_compiling=yes
2575 else
2576 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2578 as_fn_error $? "cannot run C compiled programs.
2579 If you meant to cross compile, use \`--host'.
2580 See \`config.log' for more details" "$LINENO" 5; }
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2585 $as_echo "$cross_compiling" >&6; }
2587 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2588 ac_clean_files=$ac_clean_files_save
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2590 $as_echo_n "checking for suffix of object files... " >&6; }
2591 if ${ac_cv_objext+:} false; then :
2592 $as_echo_n "(cached) " >&6
2593 else
2594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2595 /* end confdefs.h. */
2598 main ()
2602 return 0;
2604 _ACEOF
2605 rm -f conftest.o conftest.obj
2606 if { { ac_try="$ac_compile"
2607 case "(($ac_try" in
2608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2609 *) ac_try_echo=$ac_try;;
2610 esac
2611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2612 $as_echo "$ac_try_echo"; } >&5
2613 (eval "$ac_compile") 2>&5
2614 ac_status=$?
2615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2616 test $ac_status = 0; }; then :
2617 for ac_file in conftest.o conftest.obj conftest.*; do
2618 test -f "$ac_file" || continue;
2619 case $ac_file in
2620 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2621 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2622 break;;
2623 esac
2624 done
2625 else
2626 $as_echo "$as_me: failed program was:" >&5
2627 sed 's/^/| /' conftest.$ac_ext >&5
2629 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2631 as_fn_error $? "cannot compute suffix of object files: cannot compile
2632 See \`config.log' for more details" "$LINENO" 5; }
2634 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2637 $as_echo "$ac_cv_objext" >&6; }
2638 OBJEXT=$ac_cv_objext
2639 ac_objext=$OBJEXT
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2641 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2642 if ${ac_cv_c_compiler_gnu+:} false; then :
2643 $as_echo_n "(cached) " >&6
2644 else
2645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2646 /* end confdefs.h. */
2649 main ()
2651 #ifndef __GNUC__
2652 choke me
2653 #endif
2656 return 0;
2658 _ACEOF
2659 if ac_fn_c_try_compile "$LINENO"; then :
2660 ac_compiler_gnu=yes
2661 else
2662 ac_compiler_gnu=no
2664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2665 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2669 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2670 if test $ac_compiler_gnu = yes; then
2671 GCC=yes
2672 else
2673 GCC=
2675 ac_test_CFLAGS=${CFLAGS+set}
2676 ac_save_CFLAGS=$CFLAGS
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2678 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2679 if ${ac_cv_prog_cc_g+:} false; then :
2680 $as_echo_n "(cached) " >&6
2681 else
2682 ac_save_c_werror_flag=$ac_c_werror_flag
2683 ac_c_werror_flag=yes
2684 ac_cv_prog_cc_g=no
2685 CFLAGS="-g"
2686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2687 /* end confdefs.h. */
2690 main ()
2694 return 0;
2696 _ACEOF
2697 if ac_fn_c_try_compile "$LINENO"; then :
2698 ac_cv_prog_cc_g=yes
2699 else
2700 CFLAGS=""
2701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2702 /* end confdefs.h. */
2705 main ()
2709 return 0;
2711 _ACEOF
2712 if ac_fn_c_try_compile "$LINENO"; then :
2714 else
2715 ac_c_werror_flag=$ac_save_c_werror_flag
2716 CFLAGS="-g"
2717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2718 /* end confdefs.h. */
2721 main ()
2725 return 0;
2727 _ACEOF
2728 if ac_fn_c_try_compile "$LINENO"; then :
2729 ac_cv_prog_cc_g=yes
2731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2736 ac_c_werror_flag=$ac_save_c_werror_flag
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2739 $as_echo "$ac_cv_prog_cc_g" >&6; }
2740 if test "$ac_test_CFLAGS" = set; then
2741 CFLAGS=$ac_save_CFLAGS
2742 elif test $ac_cv_prog_cc_g = yes; then
2743 if test "$GCC" = yes; then
2744 CFLAGS="-g -O2"
2745 else
2746 CFLAGS="-g"
2748 else
2749 if test "$GCC" = yes; then
2750 CFLAGS="-O2"
2751 else
2752 CFLAGS=
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2756 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2757 if ${ac_cv_prog_cc_c89+:} false; then :
2758 $as_echo_n "(cached) " >&6
2759 else
2760 ac_cv_prog_cc_c89=no
2761 ac_save_CC=$CC
2762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2763 /* end confdefs.h. */
2764 #include <stdarg.h>
2765 #include <stdio.h>
2766 struct stat;
2767 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2768 struct buf { int x; };
2769 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2770 static char *e (p, i)
2771 char **p;
2772 int i;
2774 return p[i];
2776 static char *f (char * (*g) (char **, int), char **p, ...)
2778 char *s;
2779 va_list v;
2780 va_start (v,p);
2781 s = g (p, va_arg (v,int));
2782 va_end (v);
2783 return s;
2786 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2787 function prototypes and stuff, but not '\xHH' hex character constants.
2788 These don't provoke an error unfortunately, instead are silently treated
2789 as 'x'. The following induces an error, until -std is added to get
2790 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2791 array size at least. It's necessary to write '\x00'==0 to get something
2792 that's true only with -std. */
2793 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2795 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2796 inside strings and character constants. */
2797 #define FOO(x) 'x'
2798 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2800 int test (int i, double x);
2801 struct s1 {int (*f) (int a);};
2802 struct s2 {int (*f) (double a);};
2803 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2804 int argc;
2805 char **argv;
2807 main ()
2809 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2811 return 0;
2813 _ACEOF
2814 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2815 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2817 CC="$ac_save_CC $ac_arg"
2818 if ac_fn_c_try_compile "$LINENO"; then :
2819 ac_cv_prog_cc_c89=$ac_arg
2821 rm -f core conftest.err conftest.$ac_objext
2822 test "x$ac_cv_prog_cc_c89" != "xno" && break
2823 done
2824 rm -f conftest.$ac_ext
2825 CC=$ac_save_CC
2828 # AC_CACHE_VAL
2829 case "x$ac_cv_prog_cc_c89" in
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2832 $as_echo "none needed" >&6; } ;;
2833 xno)
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2835 $as_echo "unsupported" >&6; } ;;
2837 CC="$CC $ac_cv_prog_cc_c89"
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2839 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2840 esac
2841 if test "x$ac_cv_prog_cc_c89" != xno; then :
2845 ac_ext=c
2846 ac_cpp='$CPP $CPPFLAGS'
2847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl cflags" >&5
2855 $as_echo_n "checking for libcurl cflags... " >&6; }
2856 if test -z "$CURLCFLAGS"; then :
2857 CURLCFLAGS=`pkg-config libcurl --cflags || curl-config --cflags`
2858 if test "$?" -eq 0 ; then :
2860 else
2861 as_fn_error $? "libcurl was not found" "$LINENO" 5
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURLCFLAGS" >&5
2865 $as_echo "$CURLCFLAGS" >&6; }
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl libs" >&5
2870 $as_echo_n "checking for libcurl libs... " >&6; }
2871 if test -z "$CURLLIBS"; then :
2872 CURLLIBS=`pkg-config libcurl --libs || curl-config --libs`
2873 if test "$?" -eq 0 ; then :
2875 else
2876 as_fn_error $? "libcurl was not found" "$LINENO" 5
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURLLIBS" >&5
2880 $as_echo "$CURLLIBS" >&6; }
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl version >= $MIN_LIBCURL_VERSION" >&5
2885 $as_echo_n "checking for libcurl version >= $MIN_LIBCURL_VERSION... " >&6; }
2886 if test -z "$LIBCURL_VERSION"; then :
2887 LIBCURL_VERSION=`pkg-config libcurl --modversion || curl-config --version`
2888 (pkg-config libcurl && pkg-config libcurl --atleast-version=${MIN_LIBCURL_VERSION}) || curl-config --checkfor ${MIN_LIBCURL_VERSION}
2889 if test "$?" -eq 0 ; then :
2891 else
2892 as_fn_error $? "${LIBCURL_VERSION} is too old" "$LINENO" 5
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${LIBCURL_VERSION}" >&5
2896 $as_echo "${LIBCURL_VERSION}" >&6; }
2898 ac_aux_dir=
2899 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2900 if test -f "$ac_dir/install-sh"; then
2901 ac_aux_dir=$ac_dir
2902 ac_install_sh="$ac_aux_dir/install-sh -c"
2903 break
2904 elif test -f "$ac_dir/install.sh"; then
2905 ac_aux_dir=$ac_dir
2906 ac_install_sh="$ac_aux_dir/install.sh -c"
2907 break
2908 elif test -f "$ac_dir/shtool"; then
2909 ac_aux_dir=$ac_dir
2910 ac_install_sh="$ac_aux_dir/shtool install -c"
2911 break
2913 done
2914 if test -z "$ac_aux_dir"; then
2915 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2918 # These three variables are undocumented and unsupported,
2919 # and are intended to be withdrawn in a future Autoconf release.
2920 # They can cause serious problems if a builder's source tree is in a directory
2921 # whose full name contains unusual characters.
2922 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2923 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2924 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2927 # Find a good install program. We prefer a C program (faster),
2928 # so one script is as good as another. But avoid the broken or
2929 # incompatible versions:
2930 # SysV /etc/install, /usr/sbin/install
2931 # SunOS /usr/etc/install
2932 # IRIX /sbin/install
2933 # AIX /bin/install
2934 # AmigaOS /C/install, which installs bootblocks on floppy discs
2935 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2936 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2937 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2938 # OS/2's system install, which has a completely different semantic
2939 # ./install, which can be erroneously created by make from ./install.sh.
2940 # Reject install programs that cannot install multiple files.
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2942 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2943 if test -z "$INSTALL"; then
2944 if ${ac_cv_path_install+:} false; then :
2945 $as_echo_n "(cached) " >&6
2946 else
2947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2948 for as_dir in $PATH
2950 IFS=$as_save_IFS
2951 test -z "$as_dir" && as_dir=.
2952 # Account for people who put trailing slashes in PATH elements.
2953 case $as_dir/ in #((
2954 ./ | .// | /[cC]/* | \
2955 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2956 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2957 /usr/ucb/* ) ;;
2959 # OSF1 and SCO ODT 3.0 have their own names for install.
2960 # Don't use installbsd from OSF since it installs stuff as root
2961 # by default.
2962 for ac_prog in ginstall scoinst install; do
2963 for ac_exec_ext in '' $ac_executable_extensions; do
2964 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2965 if test $ac_prog = install &&
2966 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2967 # AIX install. It has an incompatible calling convention.
2969 elif test $ac_prog = install &&
2970 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2971 # program-specific install script used by HP pwplus--don't use.
2973 else
2974 rm -rf conftest.one conftest.two conftest.dir
2975 echo one > conftest.one
2976 echo two > conftest.two
2977 mkdir conftest.dir
2978 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2979 test -s conftest.one && test -s conftest.two &&
2980 test -s conftest.dir/conftest.one &&
2981 test -s conftest.dir/conftest.two
2982 then
2983 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2984 break 3
2988 done
2989 done
2991 esac
2993 done
2994 IFS=$as_save_IFS
2996 rm -rf conftest.one conftest.two conftest.dir
2999 if test "${ac_cv_path_install+set}" = set; then
3000 INSTALL=$ac_cv_path_install
3001 else
3002 # As a last resort, use the slow shell script. Don't cache a
3003 # value for INSTALL within a source directory, because that will
3004 # break other packages using the cache if that directory is
3005 # removed, or if the value is a relative name.
3006 INSTALL=$ac_install_sh
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3010 $as_echo "$INSTALL" >&6; }
3012 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3013 # It thinks the first close brace ends the variable substitution.
3014 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3016 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3018 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3020 # checking for ocamlc
3021 if test -n "$ac_tool_prefix"; then
3022 # Extract the first word of "${ac_tool_prefix}ocamlc", so it can be a program name with args.
3023 set dummy ${ac_tool_prefix}ocamlc; ac_word=$2
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3025 $as_echo_n "checking for $ac_word... " >&6; }
3026 if ${ac_cv_prog_OCAMLC+:} false; then :
3027 $as_echo_n "(cached) " >&6
3028 else
3029 if test -n "$OCAMLC"; then
3030 ac_cv_prog_OCAMLC="$OCAMLC" # Let the user override the test.
3031 else
3032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033 for as_dir in $PATH
3035 IFS=$as_save_IFS
3036 test -z "$as_dir" && as_dir=.
3037 for ac_exec_ext in '' $ac_executable_extensions; do
3038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3039 ac_cv_prog_OCAMLC="${ac_tool_prefix}ocamlc"
3040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3041 break 2
3043 done
3044 done
3045 IFS=$as_save_IFS
3049 OCAMLC=$ac_cv_prog_OCAMLC
3050 if test -n "$OCAMLC"; then
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLC" >&5
3052 $as_echo "$OCAMLC" >&6; }
3053 else
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3055 $as_echo "no" >&6; }
3060 if test -z "$ac_cv_prog_OCAMLC"; then
3061 ac_ct_OCAMLC=$OCAMLC
3062 # Extract the first word of "ocamlc", so it can be a program name with args.
3063 set dummy ocamlc; ac_word=$2
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3065 $as_echo_n "checking for $ac_word... " >&6; }
3066 if ${ac_cv_prog_ac_ct_OCAMLC+:} false; then :
3067 $as_echo_n "(cached) " >&6
3068 else
3069 if test -n "$ac_ct_OCAMLC"; then
3070 ac_cv_prog_ac_ct_OCAMLC="$ac_ct_OCAMLC" # Let the user override the test.
3071 else
3072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3073 for as_dir in $PATH
3075 IFS=$as_save_IFS
3076 test -z "$as_dir" && as_dir=.
3077 for ac_exec_ext in '' $ac_executable_extensions; do
3078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3079 ac_cv_prog_ac_ct_OCAMLC="ocamlc"
3080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3081 break 2
3083 done
3084 done
3085 IFS=$as_save_IFS
3089 ac_ct_OCAMLC=$ac_cv_prog_ac_ct_OCAMLC
3090 if test -n "$ac_ct_OCAMLC"; then
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLC" >&5
3092 $as_echo "$ac_ct_OCAMLC" >&6; }
3093 else
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3095 $as_echo "no" >&6; }
3098 if test "x$ac_ct_OCAMLC" = x; then
3099 OCAMLC="no"
3100 else
3101 case $cross_compiling:$ac_tool_warned in
3102 yes:)
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3105 ac_tool_warned=yes ;;
3106 esac
3107 OCAMLC=$ac_ct_OCAMLC
3109 else
3110 OCAMLC="$ac_cv_prog_OCAMLC"
3114 if test "$OCAMLC" != "no"; then
3115 OCAMLVERSION=`$OCAMLC -v | sed -n -e 's|.*version* *\(.*\)$|\1|p'`
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml version is $OCAMLVERSION" >&5
3117 $as_echo "OCaml version is $OCAMLVERSION" >&6; }
3118 # If OCAMLLIB is set, use it
3119 if test "$OCAMLLIB" = ""; then
3120 OCAMLLIB=`$OCAMLC -where 2>/dev/null || $OCAMLC -v|tail -1|cut -d ' ' -f 4`
3121 else
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCAMLLIB previously set; preserving it." >&5
3123 $as_echo "OCAMLLIB previously set; preserving it." >&6; }
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml library path is $OCAMLLIB" >&5
3126 $as_echo "OCaml library path is $OCAMLLIB" >&6; }
3131 # checking for ocamlopt
3132 if test -n "$ac_tool_prefix"; then
3133 # Extract the first word of "${ac_tool_prefix}ocamlopt", so it can be a program name with args.
3134 set dummy ${ac_tool_prefix}ocamlopt; ac_word=$2
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3136 $as_echo_n "checking for $ac_word... " >&6; }
3137 if ${ac_cv_prog_OCAMLOPT+:} false; then :
3138 $as_echo_n "(cached) " >&6
3139 else
3140 if test -n "$OCAMLOPT"; then
3141 ac_cv_prog_OCAMLOPT="$OCAMLOPT" # Let the user override the test.
3142 else
3143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3144 for as_dir in $PATH
3146 IFS=$as_save_IFS
3147 test -z "$as_dir" && as_dir=.
3148 for ac_exec_ext in '' $ac_executable_extensions; do
3149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3150 ac_cv_prog_OCAMLOPT="${ac_tool_prefix}ocamlopt"
3151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3152 break 2
3154 done
3155 done
3156 IFS=$as_save_IFS
3160 OCAMLOPT=$ac_cv_prog_OCAMLOPT
3161 if test -n "$OCAMLOPT"; then
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPT" >&5
3163 $as_echo "$OCAMLOPT" >&6; }
3164 else
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3166 $as_echo "no" >&6; }
3171 if test -z "$ac_cv_prog_OCAMLOPT"; then
3172 ac_ct_OCAMLOPT=$OCAMLOPT
3173 # Extract the first word of "ocamlopt", so it can be a program name with args.
3174 set dummy ocamlopt; ac_word=$2
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3176 $as_echo_n "checking for $ac_word... " >&6; }
3177 if ${ac_cv_prog_ac_ct_OCAMLOPT+:} false; then :
3178 $as_echo_n "(cached) " >&6
3179 else
3180 if test -n "$ac_ct_OCAMLOPT"; then
3181 ac_cv_prog_ac_ct_OCAMLOPT="$ac_ct_OCAMLOPT" # Let the user override the test.
3182 else
3183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3184 for as_dir in $PATH
3186 IFS=$as_save_IFS
3187 test -z "$as_dir" && as_dir=.
3188 for ac_exec_ext in '' $ac_executable_extensions; do
3189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3190 ac_cv_prog_ac_ct_OCAMLOPT="ocamlopt"
3191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3192 break 2
3194 done
3195 done
3196 IFS=$as_save_IFS
3200 ac_ct_OCAMLOPT=$ac_cv_prog_ac_ct_OCAMLOPT
3201 if test -n "$ac_ct_OCAMLOPT"; then
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPT" >&5
3203 $as_echo "$ac_ct_OCAMLOPT" >&6; }
3204 else
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206 $as_echo "no" >&6; }
3209 if test "x$ac_ct_OCAMLOPT" = x; then
3210 OCAMLOPT="no"
3211 else
3212 case $cross_compiling:$ac_tool_warned in
3213 yes:)
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3216 ac_tool_warned=yes ;;
3217 esac
3218 OCAMLOPT=$ac_ct_OCAMLOPT
3220 else
3221 OCAMLOPT="$ac_cv_prog_OCAMLOPT"
3224 OCAMLBEST=byte
3225 if test "$OCAMLOPT" = "no"; then
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find ocamlopt; bytecode compilation only." >&5
3227 $as_echo "$as_me: WARNING: Cannot find ocamlopt; bytecode compilation only." >&2;}
3228 else
3229 TMPVERSION=`$OCAMLOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3230 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlopt discarded." >&5
3232 $as_echo "versions differs from ocamlc; ocamlopt discarded." >&6; }
3233 OCAMLOPT=no
3234 else
3235 OCAMLBEST=opt
3241 # checking for ocamlc.opt
3242 if test -n "$ac_tool_prefix"; then
3243 # Extract the first word of "${ac_tool_prefix}ocamlc.opt", so it can be a program name with args.
3244 set dummy ${ac_tool_prefix}ocamlc.opt; ac_word=$2
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3246 $as_echo_n "checking for $ac_word... " >&6; }
3247 if ${ac_cv_prog_OCAMLCDOTOPT+:} false; then :
3248 $as_echo_n "(cached) " >&6
3249 else
3250 if test -n "$OCAMLCDOTOPT"; then
3251 ac_cv_prog_OCAMLCDOTOPT="$OCAMLCDOTOPT" # Let the user override the test.
3252 else
3253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3254 for as_dir in $PATH
3256 IFS=$as_save_IFS
3257 test -z "$as_dir" && as_dir=.
3258 for ac_exec_ext in '' $ac_executable_extensions; do
3259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3260 ac_cv_prog_OCAMLCDOTOPT="${ac_tool_prefix}ocamlc.opt"
3261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3262 break 2
3264 done
3265 done
3266 IFS=$as_save_IFS
3270 OCAMLCDOTOPT=$ac_cv_prog_OCAMLCDOTOPT
3271 if test -n "$OCAMLCDOTOPT"; then
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLCDOTOPT" >&5
3273 $as_echo "$OCAMLCDOTOPT" >&6; }
3274 else
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3276 $as_echo "no" >&6; }
3281 if test -z "$ac_cv_prog_OCAMLCDOTOPT"; then
3282 ac_ct_OCAMLCDOTOPT=$OCAMLCDOTOPT
3283 # Extract the first word of "ocamlc.opt", so it can be a program name with args.
3284 set dummy ocamlc.opt; ac_word=$2
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3286 $as_echo_n "checking for $ac_word... " >&6; }
3287 if ${ac_cv_prog_ac_ct_OCAMLCDOTOPT+:} false; then :
3288 $as_echo_n "(cached) " >&6
3289 else
3290 if test -n "$ac_ct_OCAMLCDOTOPT"; then
3291 ac_cv_prog_ac_ct_OCAMLCDOTOPT="$ac_ct_OCAMLCDOTOPT" # Let the user override the test.
3292 else
3293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3294 for as_dir in $PATH
3296 IFS=$as_save_IFS
3297 test -z "$as_dir" && as_dir=.
3298 for ac_exec_ext in '' $ac_executable_extensions; do
3299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3300 ac_cv_prog_ac_ct_OCAMLCDOTOPT="ocamlc.opt"
3301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3302 break 2
3304 done
3305 done
3306 IFS=$as_save_IFS
3310 ac_ct_OCAMLCDOTOPT=$ac_cv_prog_ac_ct_OCAMLCDOTOPT
3311 if test -n "$ac_ct_OCAMLCDOTOPT"; then
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLCDOTOPT" >&5
3313 $as_echo "$ac_ct_OCAMLCDOTOPT" >&6; }
3314 else
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3316 $as_echo "no" >&6; }
3319 if test "x$ac_ct_OCAMLCDOTOPT" = x; then
3320 OCAMLCDOTOPT="no"
3321 else
3322 case $cross_compiling:$ac_tool_warned in
3323 yes:)
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3325 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3326 ac_tool_warned=yes ;;
3327 esac
3328 OCAMLCDOTOPT=$ac_ct_OCAMLCDOTOPT
3330 else
3331 OCAMLCDOTOPT="$ac_cv_prog_OCAMLCDOTOPT"
3334 if test "$OCAMLCDOTOPT" != "no"; then
3335 TMPVERSION=`$OCAMLCDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3336 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlc.opt discarded." >&5
3338 $as_echo "versions differs from ocamlc; ocamlc.opt discarded." >&6; }
3339 else
3340 OCAMLC=$OCAMLCDOTOPT
3344 # checking for ocamlopt.opt
3345 if test "$OCAMLOPT" != "no" ; then
3346 if test -n "$ac_tool_prefix"; then
3347 # Extract the first word of "${ac_tool_prefix}ocamlopt.opt", so it can be a program name with args.
3348 set dummy ${ac_tool_prefix}ocamlopt.opt; ac_word=$2
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3350 $as_echo_n "checking for $ac_word... " >&6; }
3351 if ${ac_cv_prog_OCAMLOPTDOTOPT+:} false; then :
3352 $as_echo_n "(cached) " >&6
3353 else
3354 if test -n "$OCAMLOPTDOTOPT"; then
3355 ac_cv_prog_OCAMLOPTDOTOPT="$OCAMLOPTDOTOPT" # Let the user override the test.
3356 else
3357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3358 for as_dir in $PATH
3360 IFS=$as_save_IFS
3361 test -z "$as_dir" && as_dir=.
3362 for ac_exec_ext in '' $ac_executable_extensions; do
3363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3364 ac_cv_prog_OCAMLOPTDOTOPT="${ac_tool_prefix}ocamlopt.opt"
3365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3366 break 2
3368 done
3369 done
3370 IFS=$as_save_IFS
3374 OCAMLOPTDOTOPT=$ac_cv_prog_OCAMLOPTDOTOPT
3375 if test -n "$OCAMLOPTDOTOPT"; then
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPTDOTOPT" >&5
3377 $as_echo "$OCAMLOPTDOTOPT" >&6; }
3378 else
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3380 $as_echo "no" >&6; }
3385 if test -z "$ac_cv_prog_OCAMLOPTDOTOPT"; then
3386 ac_ct_OCAMLOPTDOTOPT=$OCAMLOPTDOTOPT
3387 # Extract the first word of "ocamlopt.opt", so it can be a program name with args.
3388 set dummy ocamlopt.opt; ac_word=$2
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3390 $as_echo_n "checking for $ac_word... " >&6; }
3391 if ${ac_cv_prog_ac_ct_OCAMLOPTDOTOPT+:} false; then :
3392 $as_echo_n "(cached) " >&6
3393 else
3394 if test -n "$ac_ct_OCAMLOPTDOTOPT"; then
3395 ac_cv_prog_ac_ct_OCAMLOPTDOTOPT="$ac_ct_OCAMLOPTDOTOPT" # Let the user override the test.
3396 else
3397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3398 for as_dir in $PATH
3400 IFS=$as_save_IFS
3401 test -z "$as_dir" && as_dir=.
3402 for ac_exec_ext in '' $ac_executable_extensions; do
3403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3404 ac_cv_prog_ac_ct_OCAMLOPTDOTOPT="ocamlopt.opt"
3405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3406 break 2
3408 done
3409 done
3410 IFS=$as_save_IFS
3414 ac_ct_OCAMLOPTDOTOPT=$ac_cv_prog_ac_ct_OCAMLOPTDOTOPT
3415 if test -n "$ac_ct_OCAMLOPTDOTOPT"; then
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPTDOTOPT" >&5
3417 $as_echo "$ac_ct_OCAMLOPTDOTOPT" >&6; }
3418 else
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3420 $as_echo "no" >&6; }
3423 if test "x$ac_ct_OCAMLOPTDOTOPT" = x; then
3424 OCAMLOPTDOTOPT="no"
3425 else
3426 case $cross_compiling:$ac_tool_warned in
3427 yes:)
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3430 ac_tool_warned=yes ;;
3431 esac
3432 OCAMLOPTDOTOPT=$ac_ct_OCAMLOPTDOTOPT
3434 else
3435 OCAMLOPTDOTOPT="$ac_cv_prog_OCAMLOPTDOTOPT"
3438 if test "$OCAMLOPTDOTOPT" != "no"; then
3439 TMPVERSION=`$OCAMLOPTDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3440 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: version differs from ocamlc; ocamlopt.opt discarded." >&5
3442 $as_echo "version differs from ocamlc; ocamlopt.opt discarded." >&6; }
3443 else
3444 OCAMLOPT=$OCAMLOPTDOTOPT
3454 # checking for ocaml toplevel
3455 if test -n "$ac_tool_prefix"; then
3456 # Extract the first word of "${ac_tool_prefix}ocaml", so it can be a program name with args.
3457 set dummy ${ac_tool_prefix}ocaml; ac_word=$2
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3459 $as_echo_n "checking for $ac_word... " >&6; }
3460 if ${ac_cv_prog_OCAML+:} false; then :
3461 $as_echo_n "(cached) " >&6
3462 else
3463 if test -n "$OCAML"; then
3464 ac_cv_prog_OCAML="$OCAML" # Let the user override the test.
3465 else
3466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3467 for as_dir in $PATH
3469 IFS=$as_save_IFS
3470 test -z "$as_dir" && as_dir=.
3471 for ac_exec_ext in '' $ac_executable_extensions; do
3472 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3473 ac_cv_prog_OCAML="${ac_tool_prefix}ocaml"
3474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3475 break 2
3477 done
3478 done
3479 IFS=$as_save_IFS
3483 OCAML=$ac_cv_prog_OCAML
3484 if test -n "$OCAML"; then
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAML" >&5
3486 $as_echo "$OCAML" >&6; }
3487 else
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3489 $as_echo "no" >&6; }
3494 if test -z "$ac_cv_prog_OCAML"; then
3495 ac_ct_OCAML=$OCAML
3496 # Extract the first word of "ocaml", so it can be a program name with args.
3497 set dummy ocaml; ac_word=$2
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3499 $as_echo_n "checking for $ac_word... " >&6; }
3500 if ${ac_cv_prog_ac_ct_OCAML+:} false; then :
3501 $as_echo_n "(cached) " >&6
3502 else
3503 if test -n "$ac_ct_OCAML"; then
3504 ac_cv_prog_ac_ct_OCAML="$ac_ct_OCAML" # Let the user override the test.
3505 else
3506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3507 for as_dir in $PATH
3509 IFS=$as_save_IFS
3510 test -z "$as_dir" && as_dir=.
3511 for ac_exec_ext in '' $ac_executable_extensions; do
3512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3513 ac_cv_prog_ac_ct_OCAML="ocaml"
3514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3515 break 2
3517 done
3518 done
3519 IFS=$as_save_IFS
3523 ac_ct_OCAML=$ac_cv_prog_ac_ct_OCAML
3524 if test -n "$ac_ct_OCAML"; then
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAML" >&5
3526 $as_echo "$ac_ct_OCAML" >&6; }
3527 else
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3529 $as_echo "no" >&6; }
3532 if test "x$ac_ct_OCAML" = x; then
3533 OCAML="no"
3534 else
3535 case $cross_compiling:$ac_tool_warned in
3536 yes:)
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3538 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3539 ac_tool_warned=yes ;;
3540 esac
3541 OCAML=$ac_ct_OCAML
3543 else
3544 OCAML="$ac_cv_prog_OCAML"
3548 # checking for ocamldep
3549 if test -n "$ac_tool_prefix"; then
3550 # Extract the first word of "${ac_tool_prefix}ocamldep", so it can be a program name with args.
3551 set dummy ${ac_tool_prefix}ocamldep; ac_word=$2
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3553 $as_echo_n "checking for $ac_word... " >&6; }
3554 if ${ac_cv_prog_OCAMLDEP+:} false; then :
3555 $as_echo_n "(cached) " >&6
3556 else
3557 if test -n "$OCAMLDEP"; then
3558 ac_cv_prog_OCAMLDEP="$OCAMLDEP" # Let the user override the test.
3559 else
3560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3561 for as_dir in $PATH
3563 IFS=$as_save_IFS
3564 test -z "$as_dir" && as_dir=.
3565 for ac_exec_ext in '' $ac_executable_extensions; do
3566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3567 ac_cv_prog_OCAMLDEP="${ac_tool_prefix}ocamldep"
3568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3569 break 2
3571 done
3572 done
3573 IFS=$as_save_IFS
3577 OCAMLDEP=$ac_cv_prog_OCAMLDEP
3578 if test -n "$OCAMLDEP"; then
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDEP" >&5
3580 $as_echo "$OCAMLDEP" >&6; }
3581 else
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3583 $as_echo "no" >&6; }
3588 if test -z "$ac_cv_prog_OCAMLDEP"; then
3589 ac_ct_OCAMLDEP=$OCAMLDEP
3590 # Extract the first word of "ocamldep", so it can be a program name with args.
3591 set dummy ocamldep; ac_word=$2
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3593 $as_echo_n "checking for $ac_word... " >&6; }
3594 if ${ac_cv_prog_ac_ct_OCAMLDEP+:} false; then :
3595 $as_echo_n "(cached) " >&6
3596 else
3597 if test -n "$ac_ct_OCAMLDEP"; then
3598 ac_cv_prog_ac_ct_OCAMLDEP="$ac_ct_OCAMLDEP" # Let the user override the test.
3599 else
3600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3601 for as_dir in $PATH
3603 IFS=$as_save_IFS
3604 test -z "$as_dir" && as_dir=.
3605 for ac_exec_ext in '' $ac_executable_extensions; do
3606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3607 ac_cv_prog_ac_ct_OCAMLDEP="ocamldep"
3608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3609 break 2
3611 done
3612 done
3613 IFS=$as_save_IFS
3617 ac_ct_OCAMLDEP=$ac_cv_prog_ac_ct_OCAMLDEP
3618 if test -n "$ac_ct_OCAMLDEP"; then
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDEP" >&5
3620 $as_echo "$ac_ct_OCAMLDEP" >&6; }
3621 else
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3623 $as_echo "no" >&6; }
3626 if test "x$ac_ct_OCAMLDEP" = x; then
3627 OCAMLDEP="no"
3628 else
3629 case $cross_compiling:$ac_tool_warned in
3630 yes:)
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3633 ac_tool_warned=yes ;;
3634 esac
3635 OCAMLDEP=$ac_ct_OCAMLDEP
3637 else
3638 OCAMLDEP="$ac_cv_prog_OCAMLDEP"
3642 # checking for ocamlmktop
3643 if test -n "$ac_tool_prefix"; then
3644 # Extract the first word of "${ac_tool_prefix}ocamlmktop", so it can be a program name with args.
3645 set dummy ${ac_tool_prefix}ocamlmktop; ac_word=$2
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3647 $as_echo_n "checking for $ac_word... " >&6; }
3648 if ${ac_cv_prog_OCAMLMKTOP+:} false; then :
3649 $as_echo_n "(cached) " >&6
3650 else
3651 if test -n "$OCAMLMKTOP"; then
3652 ac_cv_prog_OCAMLMKTOP="$OCAMLMKTOP" # Let the user override the test.
3653 else
3654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3655 for as_dir in $PATH
3657 IFS=$as_save_IFS
3658 test -z "$as_dir" && as_dir=.
3659 for ac_exec_ext in '' $ac_executable_extensions; do
3660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3661 ac_cv_prog_OCAMLMKTOP="${ac_tool_prefix}ocamlmktop"
3662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3663 break 2
3665 done
3666 done
3667 IFS=$as_save_IFS
3671 OCAMLMKTOP=$ac_cv_prog_OCAMLMKTOP
3672 if test -n "$OCAMLMKTOP"; then
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKTOP" >&5
3674 $as_echo "$OCAMLMKTOP" >&6; }
3675 else
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3677 $as_echo "no" >&6; }
3682 if test -z "$ac_cv_prog_OCAMLMKTOP"; then
3683 ac_ct_OCAMLMKTOP=$OCAMLMKTOP
3684 # Extract the first word of "ocamlmktop", so it can be a program name with args.
3685 set dummy ocamlmktop; ac_word=$2
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3687 $as_echo_n "checking for $ac_word... " >&6; }
3688 if ${ac_cv_prog_ac_ct_OCAMLMKTOP+:} false; then :
3689 $as_echo_n "(cached) " >&6
3690 else
3691 if test -n "$ac_ct_OCAMLMKTOP"; then
3692 ac_cv_prog_ac_ct_OCAMLMKTOP="$ac_ct_OCAMLMKTOP" # Let the user override the test.
3693 else
3694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3695 for as_dir in $PATH
3697 IFS=$as_save_IFS
3698 test -z "$as_dir" && as_dir=.
3699 for ac_exec_ext in '' $ac_executable_extensions; do
3700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3701 ac_cv_prog_ac_ct_OCAMLMKTOP="ocamlmktop"
3702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3703 break 2
3705 done
3706 done
3707 IFS=$as_save_IFS
3711 ac_ct_OCAMLMKTOP=$ac_cv_prog_ac_ct_OCAMLMKTOP
3712 if test -n "$ac_ct_OCAMLMKTOP"; then
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKTOP" >&5
3714 $as_echo "$ac_ct_OCAMLMKTOP" >&6; }
3715 else
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3717 $as_echo "no" >&6; }
3720 if test "x$ac_ct_OCAMLMKTOP" = x; then
3721 OCAMLMKTOP="no"
3722 else
3723 case $cross_compiling:$ac_tool_warned in
3724 yes:)
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3727 ac_tool_warned=yes ;;
3728 esac
3729 OCAMLMKTOP=$ac_ct_OCAMLMKTOP
3731 else
3732 OCAMLMKTOP="$ac_cv_prog_OCAMLMKTOP"
3736 # checking for ocamlmklib
3737 if test -n "$ac_tool_prefix"; then
3738 # Extract the first word of "${ac_tool_prefix}ocamlmklib", so it can be a program name with args.
3739 set dummy ${ac_tool_prefix}ocamlmklib; ac_word=$2
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741 $as_echo_n "checking for $ac_word... " >&6; }
3742 if ${ac_cv_prog_OCAMLMKLIB+:} false; then :
3743 $as_echo_n "(cached) " >&6
3744 else
3745 if test -n "$OCAMLMKLIB"; then
3746 ac_cv_prog_OCAMLMKLIB="$OCAMLMKLIB" # Let the user override the test.
3747 else
3748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749 for as_dir in $PATH
3751 IFS=$as_save_IFS
3752 test -z "$as_dir" && as_dir=.
3753 for ac_exec_ext in '' $ac_executable_extensions; do
3754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3755 ac_cv_prog_OCAMLMKLIB="${ac_tool_prefix}ocamlmklib"
3756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3757 break 2
3759 done
3760 done
3761 IFS=$as_save_IFS
3765 OCAMLMKLIB=$ac_cv_prog_OCAMLMKLIB
3766 if test -n "$OCAMLMKLIB"; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKLIB" >&5
3768 $as_echo "$OCAMLMKLIB" >&6; }
3769 else
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771 $as_echo "no" >&6; }
3776 if test -z "$ac_cv_prog_OCAMLMKLIB"; then
3777 ac_ct_OCAMLMKLIB=$OCAMLMKLIB
3778 # Extract the first word of "ocamlmklib", so it can be a program name with args.
3779 set dummy ocamlmklib; ac_word=$2
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3781 $as_echo_n "checking for $ac_word... " >&6; }
3782 if ${ac_cv_prog_ac_ct_OCAMLMKLIB+:} false; then :
3783 $as_echo_n "(cached) " >&6
3784 else
3785 if test -n "$ac_ct_OCAMLMKLIB"; then
3786 ac_cv_prog_ac_ct_OCAMLMKLIB="$ac_ct_OCAMLMKLIB" # Let the user override the test.
3787 else
3788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3789 for as_dir in $PATH
3791 IFS=$as_save_IFS
3792 test -z "$as_dir" && as_dir=.
3793 for ac_exec_ext in '' $ac_executable_extensions; do
3794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3795 ac_cv_prog_ac_ct_OCAMLMKLIB="ocamlmklib"
3796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3797 break 2
3799 done
3800 done
3801 IFS=$as_save_IFS
3805 ac_ct_OCAMLMKLIB=$ac_cv_prog_ac_ct_OCAMLMKLIB
3806 if test -n "$ac_ct_OCAMLMKLIB"; then
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKLIB" >&5
3808 $as_echo "$ac_ct_OCAMLMKLIB" >&6; }
3809 else
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3811 $as_echo "no" >&6; }
3814 if test "x$ac_ct_OCAMLMKLIB" = x; then
3815 OCAMLMKLIB="no"
3816 else
3817 case $cross_compiling:$ac_tool_warned in
3818 yes:)
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3821 ac_tool_warned=yes ;;
3822 esac
3823 OCAMLMKLIB=$ac_ct_OCAMLMKLIB
3825 else
3826 OCAMLMKLIB="$ac_cv_prog_OCAMLMKLIB"
3830 # checking for ocamldoc
3831 if test -n "$ac_tool_prefix"; then
3832 # Extract the first word of "${ac_tool_prefix}ocamldoc", so it can be a program name with args.
3833 set dummy ${ac_tool_prefix}ocamldoc; ac_word=$2
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3835 $as_echo_n "checking for $ac_word... " >&6; }
3836 if ${ac_cv_prog_OCAMLDOC+:} false; then :
3837 $as_echo_n "(cached) " >&6
3838 else
3839 if test -n "$OCAMLDOC"; then
3840 ac_cv_prog_OCAMLDOC="$OCAMLDOC" # Let the user override the test.
3841 else
3842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3843 for as_dir in $PATH
3845 IFS=$as_save_IFS
3846 test -z "$as_dir" && as_dir=.
3847 for ac_exec_ext in '' $ac_executable_extensions; do
3848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3849 ac_cv_prog_OCAMLDOC="${ac_tool_prefix}ocamldoc"
3850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3851 break 2
3853 done
3854 done
3855 IFS=$as_save_IFS
3859 OCAMLDOC=$ac_cv_prog_OCAMLDOC
3860 if test -n "$OCAMLDOC"; then
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDOC" >&5
3862 $as_echo "$OCAMLDOC" >&6; }
3863 else
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3865 $as_echo "no" >&6; }
3870 if test -z "$ac_cv_prog_OCAMLDOC"; then
3871 ac_ct_OCAMLDOC=$OCAMLDOC
3872 # Extract the first word of "ocamldoc", so it can be a program name with args.
3873 set dummy ocamldoc; ac_word=$2
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3875 $as_echo_n "checking for $ac_word... " >&6; }
3876 if ${ac_cv_prog_ac_ct_OCAMLDOC+:} false; then :
3877 $as_echo_n "(cached) " >&6
3878 else
3879 if test -n "$ac_ct_OCAMLDOC"; then
3880 ac_cv_prog_ac_ct_OCAMLDOC="$ac_ct_OCAMLDOC" # Let the user override the test.
3881 else
3882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3883 for as_dir in $PATH
3885 IFS=$as_save_IFS
3886 test -z "$as_dir" && as_dir=.
3887 for ac_exec_ext in '' $ac_executable_extensions; do
3888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3889 ac_cv_prog_ac_ct_OCAMLDOC="ocamldoc"
3890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3891 break 2
3893 done
3894 done
3895 IFS=$as_save_IFS
3899 ac_ct_OCAMLDOC=$ac_cv_prog_ac_ct_OCAMLDOC
3900 if test -n "$ac_ct_OCAMLDOC"; then
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDOC" >&5
3902 $as_echo "$ac_ct_OCAMLDOC" >&6; }
3903 else
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3905 $as_echo "no" >&6; }
3908 if test "x$ac_ct_OCAMLDOC" = x; then
3909 OCAMLDOC="no"
3910 else
3911 case $cross_compiling:$ac_tool_warned in
3912 yes:)
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3915 ac_tool_warned=yes ;;
3916 esac
3917 OCAMLDOC=$ac_ct_OCAMLDOC
3919 else
3920 OCAMLDOC="$ac_cv_prog_OCAMLDOC"
3924 # checking for ocamlbuild
3925 if test -n "$ac_tool_prefix"; then
3926 # Extract the first word of "${ac_tool_prefix}ocamlbuild", so it can be a program name with args.
3927 set dummy ${ac_tool_prefix}ocamlbuild; ac_word=$2
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3929 $as_echo_n "checking for $ac_word... " >&6; }
3930 if ${ac_cv_prog_OCAMLBUILD+:} false; then :
3931 $as_echo_n "(cached) " >&6
3932 else
3933 if test -n "$OCAMLBUILD"; then
3934 ac_cv_prog_OCAMLBUILD="$OCAMLBUILD" # Let the user override the test.
3935 else
3936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3937 for as_dir in $PATH
3939 IFS=$as_save_IFS
3940 test -z "$as_dir" && as_dir=.
3941 for ac_exec_ext in '' $ac_executable_extensions; do
3942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3943 ac_cv_prog_OCAMLBUILD="${ac_tool_prefix}ocamlbuild"
3944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3945 break 2
3947 done
3948 done
3949 IFS=$as_save_IFS
3953 OCAMLBUILD=$ac_cv_prog_OCAMLBUILD
3954 if test -n "$OCAMLBUILD"; then
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLBUILD" >&5
3956 $as_echo "$OCAMLBUILD" >&6; }
3957 else
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3959 $as_echo "no" >&6; }
3964 if test -z "$ac_cv_prog_OCAMLBUILD"; then
3965 ac_ct_OCAMLBUILD=$OCAMLBUILD
3966 # Extract the first word of "ocamlbuild", so it can be a program name with args.
3967 set dummy ocamlbuild; ac_word=$2
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3969 $as_echo_n "checking for $ac_word... " >&6; }
3970 if ${ac_cv_prog_ac_ct_OCAMLBUILD+:} false; then :
3971 $as_echo_n "(cached) " >&6
3972 else
3973 if test -n "$ac_ct_OCAMLBUILD"; then
3974 ac_cv_prog_ac_ct_OCAMLBUILD="$ac_ct_OCAMLBUILD" # Let the user override the test.
3975 else
3976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3977 for as_dir in $PATH
3979 IFS=$as_save_IFS
3980 test -z "$as_dir" && as_dir=.
3981 for ac_exec_ext in '' $ac_executable_extensions; do
3982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3983 ac_cv_prog_ac_ct_OCAMLBUILD="ocamlbuild"
3984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3985 break 2
3987 done
3988 done
3989 IFS=$as_save_IFS
3993 ac_ct_OCAMLBUILD=$ac_cv_prog_ac_ct_OCAMLBUILD
3994 if test -n "$ac_ct_OCAMLBUILD"; then
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLBUILD" >&5
3996 $as_echo "$ac_ct_OCAMLBUILD" >&6; }
3997 else
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3999 $as_echo "no" >&6; }
4002 if test "x$ac_ct_OCAMLBUILD" = x; then
4003 OCAMLBUILD="no"
4004 else
4005 case $cross_compiling:$ac_tool_warned in
4006 yes:)
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4008 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4009 ac_tool_warned=yes ;;
4010 esac
4011 OCAMLBUILD=$ac_ct_OCAMLBUILD
4013 else
4014 OCAMLBUILD="$ac_cv_prog_OCAMLBUILD"
4019 # checking for ocamlfind
4020 if test -n "$ac_tool_prefix"; then
4021 # Extract the first word of "${ac_tool_prefix}ocamlfind", so it can be a program name with args.
4022 set dummy ${ac_tool_prefix}ocamlfind; ac_word=$2
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4024 $as_echo_n "checking for $ac_word... " >&6; }
4025 if ${ac_cv_prog_OCAMLFIND+:} false; then :
4026 $as_echo_n "(cached) " >&6
4027 else
4028 if test -n "$OCAMLFIND"; then
4029 ac_cv_prog_OCAMLFIND="$OCAMLFIND" # Let the user override the test.
4030 else
4031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4032 for as_dir in $PATH
4034 IFS=$as_save_IFS
4035 test -z "$as_dir" && as_dir=.
4036 for ac_exec_ext in '' $ac_executable_extensions; do
4037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4038 ac_cv_prog_OCAMLFIND="${ac_tool_prefix}ocamlfind"
4039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4040 break 2
4042 done
4043 done
4044 IFS=$as_save_IFS
4048 OCAMLFIND=$ac_cv_prog_OCAMLFIND
4049 if test -n "$OCAMLFIND"; then
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLFIND" >&5
4051 $as_echo "$OCAMLFIND" >&6; }
4052 else
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4054 $as_echo "no" >&6; }
4059 if test -z "$ac_cv_prog_OCAMLFIND"; then
4060 ac_ct_OCAMLFIND=$OCAMLFIND
4061 # Extract the first word of "ocamlfind", so it can be a program name with args.
4062 set dummy ocamlfind; ac_word=$2
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4064 $as_echo_n "checking for $ac_word... " >&6; }
4065 if ${ac_cv_prog_ac_ct_OCAMLFIND+:} false; then :
4066 $as_echo_n "(cached) " >&6
4067 else
4068 if test -n "$ac_ct_OCAMLFIND"; then
4069 ac_cv_prog_ac_ct_OCAMLFIND="$ac_ct_OCAMLFIND" # Let the user override the test.
4070 else
4071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4072 for as_dir in $PATH
4074 IFS=$as_save_IFS
4075 test -z "$as_dir" && as_dir=.
4076 for ac_exec_ext in '' $ac_executable_extensions; do
4077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4078 ac_cv_prog_ac_ct_OCAMLFIND="ocamlfind"
4079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4080 break 2
4082 done
4083 done
4084 IFS=$as_save_IFS
4088 ac_ct_OCAMLFIND=$ac_cv_prog_ac_ct_OCAMLFIND
4089 if test -n "$ac_ct_OCAMLFIND"; then
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLFIND" >&5
4091 $as_echo "$ac_ct_OCAMLFIND" >&6; }
4092 else
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4094 $as_echo "no" >&6; }
4097 if test "x$ac_ct_OCAMLFIND" = x; then
4098 OCAMLFIND="no"
4099 else
4100 case $cross_compiling:$ac_tool_warned in
4101 yes:)
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4104 ac_tool_warned=yes ;;
4105 esac
4106 OCAMLFIND=$ac_ct_OCAMLFIND
4108 else
4109 OCAMLFIND="$ac_cv_prog_OCAMLFIND"
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package bytes" >&5
4117 $as_echo_n "checking for OCaml findlib package bytes... " >&6; }
4119 unset found
4120 unset pkg
4121 found=no
4122 for pkg in bytes ; do
4123 if $OCAMLFIND query $pkg >/dev/null 2>/dev/null; then
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
4125 $as_echo "found" >&6; }
4126 OCAML_PKG_bytes=$pkg
4127 found=yes
4128 break
4130 done
4131 if test "$found" = "no" ; then
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
4133 $as_echo "not found" >&6; }
4134 OCAML_PKG_bytes=no
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package lwt.unix" >&5
4141 $as_echo_n "checking for OCaml findlib package lwt.unix... " >&6; }
4143 unset found
4144 unset pkg
4145 found=no
4146 for pkg in lwt.unix ; do
4147 if $OCAMLFIND query $pkg >/dev/null 2>/dev/null; then
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
4149 $as_echo "found" >&6; }
4150 OCAML_PKG_lwt_unix=$pkg
4151 found=yes
4152 break
4154 done
4155 if test "$found" = "no" ; then
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
4157 $as_echo "not found" >&6; }
4158 OCAML_PKG_lwt_unix=no
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package lwt_ppx" >&5
4165 $as_echo_n "checking for OCaml findlib package lwt_ppx... " >&6; }
4167 unset found
4168 unset pkg
4169 found=no
4170 for pkg in lwt_ppx lwt.ppx ; do
4171 if $OCAMLFIND query $pkg >/dev/null 2>/dev/null; then
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
4173 $as_echo "found" >&6; }
4174 OCAML_PKG_lwt_ppx=$pkg
4175 found=yes
4176 break
4178 done
4179 if test "$found" = "no" ; then
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
4181 $as_echo "not found" >&6; }
4182 OCAML_PKG_lwt_ppx=no
4188 INSTALLDIR=$OCAMLLIB/curl
4190 if test "x$prefix" = xNONE; then
4191 $as_echo_n "checking for prefix by " >&6
4192 # Extract the first word of "ocamlc", so it can be a program name with args.
4193 set dummy ocamlc; ac_word=$2
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4195 $as_echo_n "checking for $ac_word... " >&6; }
4196 if ${ac_cv_path_ac_prefix_program+:} false; then :
4197 $as_echo_n "(cached) " >&6
4198 else
4199 case $ac_prefix_program in
4200 [\\/]* | ?:[\\/]*)
4201 ac_cv_path_ac_prefix_program="$ac_prefix_program" # Let the user override the test with a path.
4204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4205 for as_dir in $PATH
4207 IFS=$as_save_IFS
4208 test -z "$as_dir" && as_dir=.
4209 for ac_exec_ext in '' $ac_executable_extensions; do
4210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4211 ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
4212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4213 break 2
4215 done
4216 done
4217 IFS=$as_save_IFS
4220 esac
4222 ac_prefix_program=$ac_cv_path_ac_prefix_program
4223 if test -n "$ac_prefix_program"; then
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prefix_program" >&5
4225 $as_echo "$ac_prefix_program" >&6; }
4226 else
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4228 $as_echo "no" >&6; }
4232 if test -n "$ac_prefix_program"; then
4233 prefix=`$as_dirname -- "$ac_prefix_program" ||
4234 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4235 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
4236 X"$ac_prefix_program" : 'X\(//\)$' \| \
4237 X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
4238 $as_echo X"$ac_prefix_program" |
4239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4240 s//\1/
4243 /^X\(\/\/\)[^/].*/{
4244 s//\1/
4247 /^X\(\/\/\)$/{
4248 s//\1/
4251 /^X\(\/\).*/{
4252 s//\1/
4255 s/.*/./; q'`
4256 prefix=`$as_dirname -- "$prefix" ||
4257 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4258 X"$prefix" : 'X\(//\)[^/]' \| \
4259 X"$prefix" : 'X\(//\)$' \| \
4260 X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
4261 $as_echo X"$prefix" |
4262 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4263 s//\1/
4266 /^X\(\/\/\)[^/].*/{
4267 s//\1/
4270 /^X\(\/\/\)$/{
4271 s//\1/
4274 /^X\(\/\).*/{
4275 s//\1/
4278 s/.*/./; q'`
4291 if test "$OCAMLFIND" == "no"; then :
4292 $OCAMLC -I +compiler-libs ocamlcommon.cma print_ext.ml -o print_ext
4293 else
4294 $OCAMLFIND c -linkpkg -package compiler-libs.common print_ext.ml -o print_ext
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bin-annot support" >&5
4298 $as_echo_n "checking for bin-annot support... " >&6; }
4299 if test "$OCAMLVERSION" \> "4"; then :
4300 OCAML_HAS_BIN_ANNOT=yes
4301 else
4302 OCAML_HAS_BIN_ANNOT=no
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAML_HAS_BIN_ANNOT" >&5
4305 $as_echo "$OCAML_HAS_BIN_ANNOT" >&6; }
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext_dll" >&5
4310 $as_echo_n "checking for ext_dll... " >&6; }
4311 EXT_DLL=`./print_ext dll || $OCAMLC -config | fgrep ext_dll | sed -e "s/.*: //"`
4312 if test "$?" -eq 0 ; then :
4314 else
4315 as_fn_error $? "failed" "$LINENO" 5
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXT_DLL" >&5
4318 $as_echo "$EXT_DLL" >&6; }
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext_lib" >&5
4321 $as_echo_n "checking for ext_lib... " >&6; }
4322 EXT_LIB=`./print_ext lib || $OCAMLC -config | fgrep ext_lib | sed -e "s/.*: //"`
4323 if test "$?" -eq 0 ; then :
4325 else
4326 as_fn_error $? "failed" "$LINENO" 5
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXT_LIB" >&5
4329 $as_echo "$EXT_LIB" >&6; }
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext_obj" >&5
4332 $as_echo_n "checking for ext_obj... " >&6; }
4333 EXT_OBJ=`./print_ext obj || $OCAMLC -config | fgrep ext_obj | sed -e "s/.*: //"`
4334 if test "$?" -eq 0 ; then :
4336 else
4337 as_fn_error $? "failed" "$LINENO" 5
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXT_OBJ" >&5
4340 $as_echo "$EXT_OBJ" >&6; }
4346 # set CFLAGS for tests below
4347 CFLAGS="$CFLAGS $CURLCFLAGS"
4350 ac_ext=c
4351 ac_cpp='$CPP $CPPFLAGS'
4352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4356 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4357 # On Suns, sometimes $CPP names a directory.
4358 if test -n "$CPP" && test -d "$CPP"; then
4359 CPP=
4361 if test -z "$CPP"; then
4362 if ${ac_cv_prog_CPP+:} false; then :
4363 $as_echo_n "(cached) " >&6
4364 else
4365 # Double quotes because CPP needs to be expanded
4366 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4368 ac_preproc_ok=false
4369 for ac_c_preproc_warn_flag in '' yes
4371 # Use a header file that comes with gcc, so configuring glibc
4372 # with a fresh cross-compiler works.
4373 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4374 # <limits.h> exists even on freestanding compilers.
4375 # On the NeXT, cc -E runs the code through the compiler's parser,
4376 # not just through cpp. "Syntax error" is here to catch this case.
4377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4378 /* end confdefs.h. */
4379 #ifdef __STDC__
4380 # include <limits.h>
4381 #else
4382 # include <assert.h>
4383 #endif
4384 Syntax error
4385 _ACEOF
4386 if ac_fn_c_try_cpp "$LINENO"; then :
4388 else
4389 # Broken: fails on valid input.
4390 continue
4392 rm -f conftest.err conftest.i conftest.$ac_ext
4394 # OK, works on sane cases. Now check whether nonexistent headers
4395 # can be detected and how.
4396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4397 /* end confdefs.h. */
4398 #include <ac_nonexistent.h>
4399 _ACEOF
4400 if ac_fn_c_try_cpp "$LINENO"; then :
4401 # Broken: success on invalid input.
4402 continue
4403 else
4404 # Passes both tests.
4405 ac_preproc_ok=:
4406 break
4408 rm -f conftest.err conftest.i conftest.$ac_ext
4410 done
4411 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4412 rm -f conftest.i conftest.err conftest.$ac_ext
4413 if $ac_preproc_ok; then :
4414 break
4417 done
4418 ac_cv_prog_CPP=$CPP
4421 CPP=$ac_cv_prog_CPP
4422 else
4423 ac_cv_prog_CPP=$CPP
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4426 $as_echo "$CPP" >&6; }
4427 ac_preproc_ok=false
4428 for ac_c_preproc_warn_flag in '' yes
4430 # Use a header file that comes with gcc, so configuring glibc
4431 # with a fresh cross-compiler works.
4432 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4433 # <limits.h> exists even on freestanding compilers.
4434 # On the NeXT, cc -E runs the code through the compiler's parser,
4435 # not just through cpp. "Syntax error" is here to catch this case.
4436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4437 /* end confdefs.h. */
4438 #ifdef __STDC__
4439 # include <limits.h>
4440 #else
4441 # include <assert.h>
4442 #endif
4443 Syntax error
4444 _ACEOF
4445 if ac_fn_c_try_cpp "$LINENO"; then :
4447 else
4448 # Broken: fails on valid input.
4449 continue
4451 rm -f conftest.err conftest.i conftest.$ac_ext
4453 # OK, works on sane cases. Now check whether nonexistent headers
4454 # can be detected and how.
4455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4456 /* end confdefs.h. */
4457 #include <ac_nonexistent.h>
4458 _ACEOF
4459 if ac_fn_c_try_cpp "$LINENO"; then :
4460 # Broken: success on invalid input.
4461 continue
4462 else
4463 # Passes both tests.
4464 ac_preproc_ok=:
4465 break
4467 rm -f conftest.err conftest.i conftest.$ac_ext
4469 done
4470 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4471 rm -f conftest.i conftest.err conftest.$ac_ext
4472 if $ac_preproc_ok; then :
4474 else
4475 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4476 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4477 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4478 See \`config.log' for more details" "$LINENO" 5; }
4481 ac_ext=c
4482 ac_cpp='$CPP $CPPFLAGS'
4483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4489 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4490 if ${ac_cv_path_GREP+:} false; then :
4491 $as_echo_n "(cached) " >&6
4492 else
4493 if test -z "$GREP"; then
4494 ac_path_GREP_found=false
4495 # Loop through the user's path and test for each of PROGNAME-LIST
4496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4497 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4499 IFS=$as_save_IFS
4500 test -z "$as_dir" && as_dir=.
4501 for ac_prog in grep ggrep; do
4502 for ac_exec_ext in '' $ac_executable_extensions; do
4503 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4504 as_fn_executable_p "$ac_path_GREP" || continue
4505 # Check for GNU ac_path_GREP and select it if it is found.
4506 # Check for GNU $ac_path_GREP
4507 case `"$ac_path_GREP" --version 2>&1` in
4508 *GNU*)
4509 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4511 ac_count=0
4512 $as_echo_n 0123456789 >"conftest.in"
4513 while :
4515 cat "conftest.in" "conftest.in" >"conftest.tmp"
4516 mv "conftest.tmp" "conftest.in"
4517 cp "conftest.in" "conftest.nl"
4518 $as_echo 'GREP' >> "conftest.nl"
4519 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4520 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4521 as_fn_arith $ac_count + 1 && ac_count=$as_val
4522 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4523 # Best one so far, save it but keep looking for a better one
4524 ac_cv_path_GREP="$ac_path_GREP"
4525 ac_path_GREP_max=$ac_count
4527 # 10*(2^10) chars as input seems more than enough
4528 test $ac_count -gt 10 && break
4529 done
4530 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4531 esac
4533 $ac_path_GREP_found && break 3
4534 done
4535 done
4536 done
4537 IFS=$as_save_IFS
4538 if test -z "$ac_cv_path_GREP"; then
4539 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4541 else
4542 ac_cv_path_GREP=$GREP
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4547 $as_echo "$ac_cv_path_GREP" >&6; }
4548 GREP="$ac_cv_path_GREP"
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4552 $as_echo_n "checking for egrep... " >&6; }
4553 if ${ac_cv_path_EGREP+:} false; then :
4554 $as_echo_n "(cached) " >&6
4555 else
4556 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4557 then ac_cv_path_EGREP="$GREP -E"
4558 else
4559 if test -z "$EGREP"; then
4560 ac_path_EGREP_found=false
4561 # Loop through the user's path and test for each of PROGNAME-LIST
4562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4563 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4565 IFS=$as_save_IFS
4566 test -z "$as_dir" && as_dir=.
4567 for ac_prog in egrep; do
4568 for ac_exec_ext in '' $ac_executable_extensions; do
4569 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4570 as_fn_executable_p "$ac_path_EGREP" || continue
4571 # Check for GNU ac_path_EGREP and select it if it is found.
4572 # Check for GNU $ac_path_EGREP
4573 case `"$ac_path_EGREP" --version 2>&1` in
4574 *GNU*)
4575 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4577 ac_count=0
4578 $as_echo_n 0123456789 >"conftest.in"
4579 while :
4581 cat "conftest.in" "conftest.in" >"conftest.tmp"
4582 mv "conftest.tmp" "conftest.in"
4583 cp "conftest.in" "conftest.nl"
4584 $as_echo 'EGREP' >> "conftest.nl"
4585 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4586 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4587 as_fn_arith $ac_count + 1 && ac_count=$as_val
4588 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4589 # Best one so far, save it but keep looking for a better one
4590 ac_cv_path_EGREP="$ac_path_EGREP"
4591 ac_path_EGREP_max=$ac_count
4593 # 10*(2^10) chars as input seems more than enough
4594 test $ac_count -gt 10 && break
4595 done
4596 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4597 esac
4599 $ac_path_EGREP_found && break 3
4600 done
4601 done
4602 done
4603 IFS=$as_save_IFS
4604 if test -z "$ac_cv_path_EGREP"; then
4605 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4607 else
4608 ac_cv_path_EGREP=$EGREP
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4614 $as_echo "$ac_cv_path_EGREP" >&6; }
4615 EGREP="$ac_cv_path_EGREP"
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4619 $as_echo_n "checking for ANSI C header files... " >&6; }
4620 if ${ac_cv_header_stdc+:} false; then :
4621 $as_echo_n "(cached) " >&6
4622 else
4623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4624 /* end confdefs.h. */
4625 #include <stdlib.h>
4626 #include <stdarg.h>
4627 #include <string.h>
4628 #include <float.h>
4631 main ()
4635 return 0;
4637 _ACEOF
4638 if ac_fn_c_try_compile "$LINENO"; then :
4639 ac_cv_header_stdc=yes
4640 else
4641 ac_cv_header_stdc=no
4643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4645 if test $ac_cv_header_stdc = yes; then
4646 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4648 /* end confdefs.h. */
4649 #include <string.h>
4651 _ACEOF
4652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4653 $EGREP "memchr" >/dev/null 2>&1; then :
4655 else
4656 ac_cv_header_stdc=no
4658 rm -f conftest*
4662 if test $ac_cv_header_stdc = yes; then
4663 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4665 /* end confdefs.h. */
4666 #include <stdlib.h>
4668 _ACEOF
4669 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4670 $EGREP "free" >/dev/null 2>&1; then :
4672 else
4673 ac_cv_header_stdc=no
4675 rm -f conftest*
4679 if test $ac_cv_header_stdc = yes; then
4680 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4681 if test "$cross_compiling" = yes; then :
4683 else
4684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4685 /* end confdefs.h. */
4686 #include <ctype.h>
4687 #include <stdlib.h>
4688 #if ((' ' & 0x0FF) == 0x020)
4689 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4690 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4691 #else
4692 # define ISLOWER(c) \
4693 (('a' <= (c) && (c) <= 'i') \
4694 || ('j' <= (c) && (c) <= 'r') \
4695 || ('s' <= (c) && (c) <= 'z'))
4696 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4697 #endif
4699 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4701 main ()
4703 int i;
4704 for (i = 0; i < 256; i++)
4705 if (XOR (islower (i), ISLOWER (i))
4706 || toupper (i) != TOUPPER (i))
4707 return 2;
4708 return 0;
4710 _ACEOF
4711 if ac_fn_c_try_run "$LINENO"; then :
4713 else
4714 ac_cv_header_stdc=no
4716 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4717 conftest.$ac_objext conftest.beam conftest.$ac_ext
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4723 $as_echo "$ac_cv_header_stdc" >&6; }
4724 if test $ac_cv_header_stdc = yes; then
4726 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4730 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4731 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4732 inttypes.h stdint.h unistd.h
4733 do :
4734 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4735 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4737 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4738 cat >>confdefs.h <<_ACEOF
4739 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4740 _ACEOF
4744 done
4747 for ac_header in curl/curl.h
4748 do :
4749 ac_fn_c_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
4750 if test "x$ac_cv_header_curl_curl_h" = xyes; then :
4751 cat >>confdefs.h <<_ACEOF
4752 #define HAVE_CURL_CURL_H 1
4753 _ACEOF
4755 else
4756 as_fn_error $? "libcurl header file missing" "$LINENO" 5
4759 done
4762 ac_fn_c_check_decl "$LINENO" "CURLMOPT_TIMERFUNCTION" "ac_cv_have_decl_CURLMOPT_TIMERFUNCTION" "
4763 #include \"curl/curl.h\"
4766 if test "x$ac_cv_have_decl_CURLMOPT_TIMERFUNCTION" = xyes; then :
4767 ac_have_decl=1
4768 else
4769 ac_have_decl=0
4772 cat >>confdefs.h <<_ACEOF
4773 #define HAVE_DECL_CURLMOPT_TIMERFUNCTION $ac_have_decl
4774 _ACEOF
4775 if test $ac_have_decl = 1; then :
4777 else
4778 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4780 ac_fn_c_check_decl "$LINENO" "CURLMOPT_TIMERDATA" "ac_cv_have_decl_CURLMOPT_TIMERDATA" "
4781 #include \"curl/curl.h\"
4784 if test "x$ac_cv_have_decl_CURLMOPT_TIMERDATA" = xyes; then :
4785 ac_have_decl=1
4786 else
4787 ac_have_decl=0
4790 cat >>confdefs.h <<_ACEOF
4791 #define HAVE_DECL_CURLMOPT_TIMERDATA $ac_have_decl
4792 _ACEOF
4793 if test $ac_have_decl = 1; then :
4795 else
4796 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4798 ac_fn_c_check_decl "$LINENO" "CURLMOPT_SOCKETFUNCTION" "ac_cv_have_decl_CURLMOPT_SOCKETFUNCTION" "
4799 #include \"curl/curl.h\"
4802 if test "x$ac_cv_have_decl_CURLMOPT_SOCKETFUNCTION" = xyes; then :
4803 ac_have_decl=1
4804 else
4805 ac_have_decl=0
4808 cat >>confdefs.h <<_ACEOF
4809 #define HAVE_DECL_CURLMOPT_SOCKETFUNCTION $ac_have_decl
4810 _ACEOF
4811 if test $ac_have_decl = 1; then :
4813 else
4814 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4816 ac_fn_c_check_decl "$LINENO" "CURLMOPT_SOCKETDATA" "ac_cv_have_decl_CURLMOPT_SOCKETDATA" "
4817 #include \"curl/curl.h\"
4820 if test "x$ac_cv_have_decl_CURLMOPT_SOCKETDATA" = xyes; then :
4821 ac_have_decl=1
4822 else
4823 ac_have_decl=0
4826 cat >>confdefs.h <<_ACEOF
4827 #define HAVE_DECL_CURLMOPT_SOCKETDATA $ac_have_decl
4828 _ACEOF
4829 if test $ac_have_decl = 1; then :
4831 else
4832 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4836 ac_fn_c_check_decl "$LINENO" "CURLOPT_FILE" "ac_cv_have_decl_CURLOPT_FILE" "
4837 #include \"curl/curl.h\"
4840 if test "x$ac_cv_have_decl_CURLOPT_FILE" = xyes; then :
4841 ac_have_decl=1
4842 else
4843 ac_have_decl=0
4846 cat >>confdefs.h <<_ACEOF
4847 #define HAVE_DECL_CURLOPT_FILE $ac_have_decl
4848 _ACEOF
4849 ac_fn_c_check_decl "$LINENO" "CURLOPT_URL" "ac_cv_have_decl_CURLOPT_URL" "
4850 #include \"curl/curl.h\"
4853 if test "x$ac_cv_have_decl_CURLOPT_URL" = xyes; then :
4854 ac_have_decl=1
4855 else
4856 ac_have_decl=0
4859 cat >>confdefs.h <<_ACEOF
4860 #define HAVE_DECL_CURLOPT_URL $ac_have_decl
4861 _ACEOF
4862 ac_fn_c_check_decl "$LINENO" "CURLOPT_PORT" "ac_cv_have_decl_CURLOPT_PORT" "
4863 #include \"curl/curl.h\"
4866 if test "x$ac_cv_have_decl_CURLOPT_PORT" = xyes; then :
4867 ac_have_decl=1
4868 else
4869 ac_have_decl=0
4872 cat >>confdefs.h <<_ACEOF
4873 #define HAVE_DECL_CURLOPT_PORT $ac_have_decl
4874 _ACEOF
4875 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXY" "ac_cv_have_decl_CURLOPT_PROXY" "
4876 #include \"curl/curl.h\"
4879 if test "x$ac_cv_have_decl_CURLOPT_PROXY" = xyes; then :
4880 ac_have_decl=1
4881 else
4882 ac_have_decl=0
4885 cat >>confdefs.h <<_ACEOF
4886 #define HAVE_DECL_CURLOPT_PROXY $ac_have_decl
4887 _ACEOF
4888 ac_fn_c_check_decl "$LINENO" "CURLOPT_USERPWD" "ac_cv_have_decl_CURLOPT_USERPWD" "
4889 #include \"curl/curl.h\"
4892 if test "x$ac_cv_have_decl_CURLOPT_USERPWD" = xyes; then :
4893 ac_have_decl=1
4894 else
4895 ac_have_decl=0
4898 cat >>confdefs.h <<_ACEOF
4899 #define HAVE_DECL_CURLOPT_USERPWD $ac_have_decl
4900 _ACEOF
4901 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYUSERPWD" "ac_cv_have_decl_CURLOPT_PROXYUSERPWD" "
4902 #include \"curl/curl.h\"
4905 if test "x$ac_cv_have_decl_CURLOPT_PROXYUSERPWD" = xyes; then :
4906 ac_have_decl=1
4907 else
4908 ac_have_decl=0
4911 cat >>confdefs.h <<_ACEOF
4912 #define HAVE_DECL_CURLOPT_PROXYUSERPWD $ac_have_decl
4913 _ACEOF
4914 ac_fn_c_check_decl "$LINENO" "CURLOPT_RANGE" "ac_cv_have_decl_CURLOPT_RANGE" "
4915 #include \"curl/curl.h\"
4918 if test "x$ac_cv_have_decl_CURLOPT_RANGE" = xyes; then :
4919 ac_have_decl=1
4920 else
4921 ac_have_decl=0
4924 cat >>confdefs.h <<_ACEOF
4925 #define HAVE_DECL_CURLOPT_RANGE $ac_have_decl
4926 _ACEOF
4927 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILE" "ac_cv_have_decl_CURLOPT_INFILE" "
4928 #include \"curl/curl.h\"
4931 if test "x$ac_cv_have_decl_CURLOPT_INFILE" = xyes; then :
4932 ac_have_decl=1
4933 else
4934 ac_have_decl=0
4937 cat >>confdefs.h <<_ACEOF
4938 #define HAVE_DECL_CURLOPT_INFILE $ac_have_decl
4939 _ACEOF
4940 ac_fn_c_check_decl "$LINENO" "CURLOPT_ERRORBUFFER" "ac_cv_have_decl_CURLOPT_ERRORBUFFER" "
4941 #include \"curl/curl.h\"
4944 if test "x$ac_cv_have_decl_CURLOPT_ERRORBUFFER" = xyes; then :
4945 ac_have_decl=1
4946 else
4947 ac_have_decl=0
4950 cat >>confdefs.h <<_ACEOF
4951 #define HAVE_DECL_CURLOPT_ERRORBUFFER $ac_have_decl
4952 _ACEOF
4953 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEFUNCTION" "ac_cv_have_decl_CURLOPT_WRITEFUNCTION" "
4954 #include \"curl/curl.h\"
4957 if test "x$ac_cv_have_decl_CURLOPT_WRITEFUNCTION" = xyes; then :
4958 ac_have_decl=1
4959 else
4960 ac_have_decl=0
4963 cat >>confdefs.h <<_ACEOF
4964 #define HAVE_DECL_CURLOPT_WRITEFUNCTION $ac_have_decl
4965 _ACEOF
4966 ac_fn_c_check_decl "$LINENO" "CURLOPT_READFUNCTION" "ac_cv_have_decl_CURLOPT_READFUNCTION" "
4967 #include \"curl/curl.h\"
4970 if test "x$ac_cv_have_decl_CURLOPT_READFUNCTION" = xyes; then :
4971 ac_have_decl=1
4972 else
4973 ac_have_decl=0
4976 cat >>confdefs.h <<_ACEOF
4977 #define HAVE_DECL_CURLOPT_READFUNCTION $ac_have_decl
4978 _ACEOF
4979 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEOUT" "ac_cv_have_decl_CURLOPT_TIMEOUT" "
4980 #include \"curl/curl.h\"
4983 if test "x$ac_cv_have_decl_CURLOPT_TIMEOUT" = xyes; then :
4984 ac_have_decl=1
4985 else
4986 ac_have_decl=0
4989 cat >>confdefs.h <<_ACEOF
4990 #define HAVE_DECL_CURLOPT_TIMEOUT $ac_have_decl
4991 _ACEOF
4992 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILESIZE" "ac_cv_have_decl_CURLOPT_INFILESIZE" "
4993 #include \"curl/curl.h\"
4996 if test "x$ac_cv_have_decl_CURLOPT_INFILESIZE" = xyes; then :
4997 ac_have_decl=1
4998 else
4999 ac_have_decl=0
5002 cat >>confdefs.h <<_ACEOF
5003 #define HAVE_DECL_CURLOPT_INFILESIZE $ac_have_decl
5004 _ACEOF
5005 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDS" "ac_cv_have_decl_CURLOPT_POSTFIELDS" "
5006 #include \"curl/curl.h\"
5009 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDS" = xyes; then :
5010 ac_have_decl=1
5011 else
5012 ac_have_decl=0
5015 cat >>confdefs.h <<_ACEOF
5016 #define HAVE_DECL_CURLOPT_POSTFIELDS $ac_have_decl
5017 _ACEOF
5018 ac_fn_c_check_decl "$LINENO" "CURLOPT_REFERER" "ac_cv_have_decl_CURLOPT_REFERER" "
5019 #include \"curl/curl.h\"
5022 if test "x$ac_cv_have_decl_CURLOPT_REFERER" = xyes; then :
5023 ac_have_decl=1
5024 else
5025 ac_have_decl=0
5028 cat >>confdefs.h <<_ACEOF
5029 #define HAVE_DECL_CURLOPT_REFERER $ac_have_decl
5030 _ACEOF
5031 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPPORT" "ac_cv_have_decl_CURLOPT_FTPPORT" "
5032 #include \"curl/curl.h\"
5035 if test "x$ac_cv_have_decl_CURLOPT_FTPPORT" = xyes; then :
5036 ac_have_decl=1
5037 else
5038 ac_have_decl=0
5041 cat >>confdefs.h <<_ACEOF
5042 #define HAVE_DECL_CURLOPT_FTPPORT $ac_have_decl
5043 _ACEOF
5044 ac_fn_c_check_decl "$LINENO" "CURLOPT_USERAGENT" "ac_cv_have_decl_CURLOPT_USERAGENT" "
5045 #include \"curl/curl.h\"
5048 if test "x$ac_cv_have_decl_CURLOPT_USERAGENT" = xyes; then :
5049 ac_have_decl=1
5050 else
5051 ac_have_decl=0
5054 cat >>confdefs.h <<_ACEOF
5055 #define HAVE_DECL_CURLOPT_USERAGENT $ac_have_decl
5056 _ACEOF
5057 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOW_SPEED_LIMIT" "ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" "
5058 #include \"curl/curl.h\"
5061 if test "x$ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" = xyes; then :
5062 ac_have_decl=1
5063 else
5064 ac_have_decl=0
5067 cat >>confdefs.h <<_ACEOF
5068 #define HAVE_DECL_CURLOPT_LOW_SPEED_LIMIT $ac_have_decl
5069 _ACEOF
5070 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOW_SPEED_TIME" "ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" "
5071 #include \"curl/curl.h\"
5074 if test "x$ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" = xyes; then :
5075 ac_have_decl=1
5076 else
5077 ac_have_decl=0
5080 cat >>confdefs.h <<_ACEOF
5081 #define HAVE_DECL_CURLOPT_LOW_SPEED_TIME $ac_have_decl
5082 _ACEOF
5083 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESUME_FROM" "ac_cv_have_decl_CURLOPT_RESUME_FROM" "
5084 #include \"curl/curl.h\"
5087 if test "x$ac_cv_have_decl_CURLOPT_RESUME_FROM" = xyes; then :
5088 ac_have_decl=1
5089 else
5090 ac_have_decl=0
5093 cat >>confdefs.h <<_ACEOF
5094 #define HAVE_DECL_CURLOPT_RESUME_FROM $ac_have_decl
5095 _ACEOF
5096 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIE" "ac_cv_have_decl_CURLOPT_COOKIE" "
5097 #include \"curl/curl.h\"
5100 if test "x$ac_cv_have_decl_CURLOPT_COOKIE" = xyes; then :
5101 ac_have_decl=1
5102 else
5103 ac_have_decl=0
5106 cat >>confdefs.h <<_ACEOF
5107 #define HAVE_DECL_CURLOPT_COOKIE $ac_have_decl
5108 _ACEOF
5109 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPHEADER" "ac_cv_have_decl_CURLOPT_HTTPHEADER" "
5110 #include \"curl/curl.h\"
5113 if test "x$ac_cv_have_decl_CURLOPT_HTTPHEADER" = xyes; then :
5114 ac_have_decl=1
5115 else
5116 ac_have_decl=0
5119 cat >>confdefs.h <<_ACEOF
5120 #define HAVE_DECL_CURLOPT_HTTPHEADER $ac_have_decl
5121 _ACEOF
5122 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPPOST" "ac_cv_have_decl_CURLOPT_HTTPPOST" "
5123 #include \"curl/curl.h\"
5126 if test "x$ac_cv_have_decl_CURLOPT_HTTPPOST" = xyes; then :
5127 ac_have_decl=1
5128 else
5129 ac_have_decl=0
5132 cat >>confdefs.h <<_ACEOF
5133 #define HAVE_DECL_CURLOPT_HTTPPOST $ac_have_decl
5134 _ACEOF
5135 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERT" "ac_cv_have_decl_CURLOPT_SSLCERT" "
5136 #include \"curl/curl.h\"
5139 if test "x$ac_cv_have_decl_CURLOPT_SSLCERT" = xyes; then :
5140 ac_have_decl=1
5141 else
5142 ac_have_decl=0
5145 cat >>confdefs.h <<_ACEOF
5146 #define HAVE_DECL_CURLOPT_SSLCERT $ac_have_decl
5147 _ACEOF
5148 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERTPASSWD" "ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" "
5149 #include \"curl/curl.h\"
5152 if test "x$ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" = xyes; then :
5153 ac_have_decl=1
5154 else
5155 ac_have_decl=0
5158 cat >>confdefs.h <<_ACEOF
5159 #define HAVE_DECL_CURLOPT_SSLCERTPASSWD $ac_have_decl
5160 _ACEOF
5161 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEYPASSWD" "ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" "
5162 #include \"curl/curl.h\"
5165 if test "x$ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" = xyes; then :
5166 ac_have_decl=1
5167 else
5168 ac_have_decl=0
5171 cat >>confdefs.h <<_ACEOF
5172 #define HAVE_DECL_CURLOPT_SSLKEYPASSWD $ac_have_decl
5173 _ACEOF
5174 ac_fn_c_check_decl "$LINENO" "CURLOPT_CRLF" "ac_cv_have_decl_CURLOPT_CRLF" "
5175 #include \"curl/curl.h\"
5178 if test "x$ac_cv_have_decl_CURLOPT_CRLF" = xyes; then :
5179 ac_have_decl=1
5180 else
5181 ac_have_decl=0
5184 cat >>confdefs.h <<_ACEOF
5185 #define HAVE_DECL_CURLOPT_CRLF $ac_have_decl
5186 _ACEOF
5187 ac_fn_c_check_decl "$LINENO" "CURLOPT_QUOTE" "ac_cv_have_decl_CURLOPT_QUOTE" "
5188 #include \"curl/curl.h\"
5191 if test "x$ac_cv_have_decl_CURLOPT_QUOTE" = xyes; then :
5192 ac_have_decl=1
5193 else
5194 ac_have_decl=0
5197 cat >>confdefs.h <<_ACEOF
5198 #define HAVE_DECL_CURLOPT_QUOTE $ac_have_decl
5199 _ACEOF
5200 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEHEADER" "ac_cv_have_decl_CURLOPT_WRITEHEADER" "
5201 #include \"curl/curl.h\"
5204 if test "x$ac_cv_have_decl_CURLOPT_WRITEHEADER" = xyes; then :
5205 ac_have_decl=1
5206 else
5207 ac_have_decl=0
5210 cat >>confdefs.h <<_ACEOF
5211 #define HAVE_DECL_CURLOPT_WRITEHEADER $ac_have_decl
5212 _ACEOF
5213 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIEFILE" "ac_cv_have_decl_CURLOPT_COOKIEFILE" "
5214 #include \"curl/curl.h\"
5217 if test "x$ac_cv_have_decl_CURLOPT_COOKIEFILE" = xyes; then :
5218 ac_have_decl=1
5219 else
5220 ac_have_decl=0
5223 cat >>confdefs.h <<_ACEOF
5224 #define HAVE_DECL_CURLOPT_COOKIEFILE $ac_have_decl
5225 _ACEOF
5226 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLVERSION" "ac_cv_have_decl_CURLOPT_SSLVERSION" "
5227 #include \"curl/curl.h\"
5230 if test "x$ac_cv_have_decl_CURLOPT_SSLVERSION" = xyes; then :
5231 ac_have_decl=1
5232 else
5233 ac_have_decl=0
5236 cat >>confdefs.h <<_ACEOF
5237 #define HAVE_DECL_CURLOPT_SSLVERSION $ac_have_decl
5238 _ACEOF
5239 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMECONDITION" "ac_cv_have_decl_CURLOPT_TIMECONDITION" "
5240 #include \"curl/curl.h\"
5243 if test "x$ac_cv_have_decl_CURLOPT_TIMECONDITION" = xyes; then :
5244 ac_have_decl=1
5245 else
5246 ac_have_decl=0
5249 cat >>confdefs.h <<_ACEOF
5250 #define HAVE_DECL_CURLOPT_TIMECONDITION $ac_have_decl
5251 _ACEOF
5252 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEVALUE" "ac_cv_have_decl_CURLOPT_TIMEVALUE" "
5253 #include \"curl/curl.h\"
5256 if test "x$ac_cv_have_decl_CURLOPT_TIMEVALUE" = xyes; then :
5257 ac_have_decl=1
5258 else
5259 ac_have_decl=0
5262 cat >>confdefs.h <<_ACEOF
5263 #define HAVE_DECL_CURLOPT_TIMEVALUE $ac_have_decl
5264 _ACEOF
5265 ac_fn_c_check_decl "$LINENO" "CURLOPT_CUSTOMREQUEST" "ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" "
5266 #include \"curl/curl.h\"
5269 if test "x$ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" = xyes; then :
5270 ac_have_decl=1
5271 else
5272 ac_have_decl=0
5275 cat >>confdefs.h <<_ACEOF
5276 #define HAVE_DECL_CURLOPT_CUSTOMREQUEST $ac_have_decl
5277 _ACEOF
5278 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTQUOTE" "ac_cv_have_decl_CURLOPT_POSTQUOTE" "
5279 #include \"curl/curl.h\"
5282 if test "x$ac_cv_have_decl_CURLOPT_POSTQUOTE" = xyes; then :
5283 ac_have_decl=1
5284 else
5285 ac_have_decl=0
5288 cat >>confdefs.h <<_ACEOF
5289 #define HAVE_DECL_CURLOPT_POSTQUOTE $ac_have_decl
5290 _ACEOF
5291 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEINFO" "ac_cv_have_decl_CURLOPT_WRITEINFO" "
5292 #include \"curl/curl.h\"
5295 if test "x$ac_cv_have_decl_CURLOPT_WRITEINFO" = xyes; then :
5296 ac_have_decl=1
5297 else
5298 ac_have_decl=0
5301 cat >>confdefs.h <<_ACEOF
5302 #define HAVE_DECL_CURLOPT_WRITEINFO $ac_have_decl
5303 _ACEOF
5304 ac_fn_c_check_decl "$LINENO" "CURLOPT_VERBOSE" "ac_cv_have_decl_CURLOPT_VERBOSE" "
5305 #include \"curl/curl.h\"
5308 if test "x$ac_cv_have_decl_CURLOPT_VERBOSE" = xyes; then :
5309 ac_have_decl=1
5310 else
5311 ac_have_decl=0
5314 cat >>confdefs.h <<_ACEOF
5315 #define HAVE_DECL_CURLOPT_VERBOSE $ac_have_decl
5316 _ACEOF
5317 ac_fn_c_check_decl "$LINENO" "CURLOPT_HEADER" "ac_cv_have_decl_CURLOPT_HEADER" "
5318 #include \"curl/curl.h\"
5321 if test "x$ac_cv_have_decl_CURLOPT_HEADER" = xyes; then :
5322 ac_have_decl=1
5323 else
5324 ac_have_decl=0
5327 cat >>confdefs.h <<_ACEOF
5328 #define HAVE_DECL_CURLOPT_HEADER $ac_have_decl
5329 _ACEOF
5330 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOPROGRESS" "ac_cv_have_decl_CURLOPT_NOPROGRESS" "
5331 #include \"curl/curl.h\"
5334 if test "x$ac_cv_have_decl_CURLOPT_NOPROGRESS" = xyes; then :
5335 ac_have_decl=1
5336 else
5337 ac_have_decl=0
5340 cat >>confdefs.h <<_ACEOF
5341 #define HAVE_DECL_CURLOPT_NOPROGRESS $ac_have_decl
5342 _ACEOF
5343 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOBODY" "ac_cv_have_decl_CURLOPT_NOBODY" "
5344 #include \"curl/curl.h\"
5347 if test "x$ac_cv_have_decl_CURLOPT_NOBODY" = xyes; then :
5348 ac_have_decl=1
5349 else
5350 ac_have_decl=0
5353 cat >>confdefs.h <<_ACEOF
5354 #define HAVE_DECL_CURLOPT_NOBODY $ac_have_decl
5355 _ACEOF
5356 ac_fn_c_check_decl "$LINENO" "CURLOPT_FAILONERROR" "ac_cv_have_decl_CURLOPT_FAILONERROR" "
5357 #include \"curl/curl.h\"
5360 if test "x$ac_cv_have_decl_CURLOPT_FAILONERROR" = xyes; then :
5361 ac_have_decl=1
5362 else
5363 ac_have_decl=0
5366 cat >>confdefs.h <<_ACEOF
5367 #define HAVE_DECL_CURLOPT_FAILONERROR $ac_have_decl
5368 _ACEOF
5369 ac_fn_c_check_decl "$LINENO" "CURLOPT_UPLOAD" "ac_cv_have_decl_CURLOPT_UPLOAD" "
5370 #include \"curl/curl.h\"
5373 if test "x$ac_cv_have_decl_CURLOPT_UPLOAD" = xyes; then :
5374 ac_have_decl=1
5375 else
5376 ac_have_decl=0
5379 cat >>confdefs.h <<_ACEOF
5380 #define HAVE_DECL_CURLOPT_UPLOAD $ac_have_decl
5381 _ACEOF
5382 ac_fn_c_check_decl "$LINENO" "CURLOPT_POST" "ac_cv_have_decl_CURLOPT_POST" "
5383 #include \"curl/curl.h\"
5386 if test "x$ac_cv_have_decl_CURLOPT_POST" = xyes; then :
5387 ac_have_decl=1
5388 else
5389 ac_have_decl=0
5392 cat >>confdefs.h <<_ACEOF
5393 #define HAVE_DECL_CURLOPT_POST $ac_have_decl
5394 _ACEOF
5395 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPLISTONLY" "ac_cv_have_decl_CURLOPT_FTPLISTONLY" "
5396 #include \"curl/curl.h\"
5399 if test "x$ac_cv_have_decl_CURLOPT_FTPLISTONLY" = xyes; then :
5400 ac_have_decl=1
5401 else
5402 ac_have_decl=0
5405 cat >>confdefs.h <<_ACEOF
5406 #define HAVE_DECL_CURLOPT_FTPLISTONLY $ac_have_decl
5407 _ACEOF
5408 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPAPPEND" "ac_cv_have_decl_CURLOPT_FTPAPPEND" "
5409 #include \"curl/curl.h\"
5412 if test "x$ac_cv_have_decl_CURLOPT_FTPAPPEND" = xyes; then :
5413 ac_have_decl=1
5414 else
5415 ac_have_decl=0
5418 cat >>confdefs.h <<_ACEOF
5419 #define HAVE_DECL_CURLOPT_FTPAPPEND $ac_have_decl
5420 _ACEOF
5421 ac_fn_c_check_decl "$LINENO" "CURLOPT_NETRC" "ac_cv_have_decl_CURLOPT_NETRC" "
5422 #include \"curl/curl.h\"
5425 if test "x$ac_cv_have_decl_CURLOPT_NETRC" = xyes; then :
5426 ac_have_decl=1
5427 else
5428 ac_have_decl=0
5431 cat >>confdefs.h <<_ACEOF
5432 #define HAVE_DECL_CURLOPT_NETRC $ac_have_decl
5433 _ACEOF
5434 ac_fn_c_check_decl "$LINENO" "CURLOPT_FOLLOWLOCATION" "ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" "
5435 #include \"curl/curl.h\"
5438 if test "x$ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" = xyes; then :
5439 ac_have_decl=1
5440 else
5441 ac_have_decl=0
5444 cat >>confdefs.h <<_ACEOF
5445 #define HAVE_DECL_CURLOPT_FOLLOWLOCATION $ac_have_decl
5446 _ACEOF
5447 ac_fn_c_check_decl "$LINENO" "CURLOPT_TRANSFERTEXT" "ac_cv_have_decl_CURLOPT_TRANSFERTEXT" "
5448 #include \"curl/curl.h\"
5451 if test "x$ac_cv_have_decl_CURLOPT_TRANSFERTEXT" = xyes; then :
5452 ac_have_decl=1
5453 else
5454 ac_have_decl=0
5457 cat >>confdefs.h <<_ACEOF
5458 #define HAVE_DECL_CURLOPT_TRANSFERTEXT $ac_have_decl
5459 _ACEOF
5460 ac_fn_c_check_decl "$LINENO" "CURLOPT_PUT" "ac_cv_have_decl_CURLOPT_PUT" "
5461 #include \"curl/curl.h\"
5464 if test "x$ac_cv_have_decl_CURLOPT_PUT" = xyes; then :
5465 ac_have_decl=1
5466 else
5467 ac_have_decl=0
5470 cat >>confdefs.h <<_ACEOF
5471 #define HAVE_DECL_CURLOPT_PUT $ac_have_decl
5472 _ACEOF
5473 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROGRESSFUNCTION" "ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" "
5474 #include \"curl/curl.h\"
5477 if test "x$ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" = xyes; then :
5478 ac_have_decl=1
5479 else
5480 ac_have_decl=0
5483 cat >>confdefs.h <<_ACEOF
5484 #define HAVE_DECL_CURLOPT_PROGRESSFUNCTION $ac_have_decl
5485 _ACEOF
5486 ac_fn_c_check_decl "$LINENO" "CURLOPT_XFERINFOFUNCTION" "ac_cv_have_decl_CURLOPT_XFERINFOFUNCTION" "
5487 #include \"curl/curl.h\"
5490 if test "x$ac_cv_have_decl_CURLOPT_XFERINFOFUNCTION" = xyes; then :
5491 ac_have_decl=1
5492 else
5493 ac_have_decl=0
5496 cat >>confdefs.h <<_ACEOF
5497 #define HAVE_DECL_CURLOPT_XFERINFOFUNCTION $ac_have_decl
5498 _ACEOF
5499 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROGRESSDATA" "ac_cv_have_decl_CURLOPT_PROGRESSDATA" "
5500 #include \"curl/curl.h\"
5503 if test "x$ac_cv_have_decl_CURLOPT_PROGRESSDATA" = xyes; then :
5504 ac_have_decl=1
5505 else
5506 ac_have_decl=0
5509 cat >>confdefs.h <<_ACEOF
5510 #define HAVE_DECL_CURLOPT_PROGRESSDATA $ac_have_decl
5511 _ACEOF
5512 ac_fn_c_check_decl "$LINENO" "CURLOPT_AUTOREFERER" "ac_cv_have_decl_CURLOPT_AUTOREFERER" "
5513 #include \"curl/curl.h\"
5516 if test "x$ac_cv_have_decl_CURLOPT_AUTOREFERER" = xyes; then :
5517 ac_have_decl=1
5518 else
5519 ac_have_decl=0
5522 cat >>confdefs.h <<_ACEOF
5523 #define HAVE_DECL_CURLOPT_AUTOREFERER $ac_have_decl
5524 _ACEOF
5525 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYPORT" "ac_cv_have_decl_CURLOPT_PROXYPORT" "
5526 #include \"curl/curl.h\"
5529 if test "x$ac_cv_have_decl_CURLOPT_PROXYPORT" = xyes; then :
5530 ac_have_decl=1
5531 else
5532 ac_have_decl=0
5535 cat >>confdefs.h <<_ACEOF
5536 #define HAVE_DECL_CURLOPT_PROXYPORT $ac_have_decl
5537 _ACEOF
5538 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDSIZE" "ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" "
5539 #include \"curl/curl.h\"
5542 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" = xyes; then :
5543 ac_have_decl=1
5544 else
5545 ac_have_decl=0
5548 cat >>confdefs.h <<_ACEOF
5549 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE $ac_have_decl
5550 _ACEOF
5551 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPPROXYTUNNEL" "ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" "
5552 #include \"curl/curl.h\"
5555 if test "x$ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" = xyes; then :
5556 ac_have_decl=1
5557 else
5558 ac_have_decl=0
5561 cat >>confdefs.h <<_ACEOF
5562 #define HAVE_DECL_CURLOPT_HTTPPROXYTUNNEL $ac_have_decl
5563 _ACEOF
5564 ac_fn_c_check_decl "$LINENO" "CURLOPT_INTERFACE" "ac_cv_have_decl_CURLOPT_INTERFACE" "
5565 #include \"curl/curl.h\"
5568 if test "x$ac_cv_have_decl_CURLOPT_INTERFACE" = xyes; then :
5569 ac_have_decl=1
5570 else
5571 ac_have_decl=0
5574 cat >>confdefs.h <<_ACEOF
5575 #define HAVE_DECL_CURLOPT_INTERFACE $ac_have_decl
5576 _ACEOF
5577 ac_fn_c_check_decl "$LINENO" "CURLOPT_KRB4LEVEL" "ac_cv_have_decl_CURLOPT_KRB4LEVEL" "
5578 #include \"curl/curl.h\"
5581 if test "x$ac_cv_have_decl_CURLOPT_KRB4LEVEL" = xyes; then :
5582 ac_have_decl=1
5583 else
5584 ac_have_decl=0
5587 cat >>confdefs.h <<_ACEOF
5588 #define HAVE_DECL_CURLOPT_KRB4LEVEL $ac_have_decl
5589 _ACEOF
5590 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_VERIFYPEER" "ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" "
5591 #include \"curl/curl.h\"
5594 if test "x$ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" = xyes; then :
5595 ac_have_decl=1
5596 else
5597 ac_have_decl=0
5600 cat >>confdefs.h <<_ACEOF
5601 #define HAVE_DECL_CURLOPT_SSL_VERIFYPEER $ac_have_decl
5602 _ACEOF
5603 ac_fn_c_check_decl "$LINENO" "CURLOPT_CAINFO" "ac_cv_have_decl_CURLOPT_CAINFO" "
5604 #include \"curl/curl.h\"
5607 if test "x$ac_cv_have_decl_CURLOPT_CAINFO" = xyes; then :
5608 ac_have_decl=1
5609 else
5610 ac_have_decl=0
5613 cat >>confdefs.h <<_ACEOF
5614 #define HAVE_DECL_CURLOPT_CAINFO $ac_have_decl
5615 _ACEOF
5616 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXREDIRS" "ac_cv_have_decl_CURLOPT_MAXREDIRS" "
5617 #include \"curl/curl.h\"
5620 if test "x$ac_cv_have_decl_CURLOPT_MAXREDIRS" = xyes; then :
5621 ac_have_decl=1
5622 else
5623 ac_have_decl=0
5626 cat >>confdefs.h <<_ACEOF
5627 #define HAVE_DECL_CURLOPT_MAXREDIRS $ac_have_decl
5628 _ACEOF
5629 ac_fn_c_check_decl "$LINENO" "CURLOPT_FILETIME" "ac_cv_have_decl_CURLOPT_FILETIME" "
5630 #include \"curl/curl.h\"
5633 if test "x$ac_cv_have_decl_CURLOPT_FILETIME" = xyes; then :
5634 ac_have_decl=1
5635 else
5636 ac_have_decl=0
5639 cat >>confdefs.h <<_ACEOF
5640 #define HAVE_DECL_CURLOPT_FILETIME $ac_have_decl
5641 _ACEOF
5642 ac_fn_c_check_decl "$LINENO" "CURLOPT_TELNETOPTIONS" "ac_cv_have_decl_CURLOPT_TELNETOPTIONS" "
5643 #include \"curl/curl.h\"
5646 if test "x$ac_cv_have_decl_CURLOPT_TELNETOPTIONS" = xyes; then :
5647 ac_have_decl=1
5648 else
5649 ac_have_decl=0
5652 cat >>confdefs.h <<_ACEOF
5653 #define HAVE_DECL_CURLOPT_TELNETOPTIONS $ac_have_decl
5654 _ACEOF
5655 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXCONNECTS" "ac_cv_have_decl_CURLOPT_MAXCONNECTS" "
5656 #include \"curl/curl.h\"
5659 if test "x$ac_cv_have_decl_CURLOPT_MAXCONNECTS" = xyes; then :
5660 ac_have_decl=1
5661 else
5662 ac_have_decl=0
5665 cat >>confdefs.h <<_ACEOF
5666 #define HAVE_DECL_CURLOPT_MAXCONNECTS $ac_have_decl
5667 _ACEOF
5668 ac_fn_c_check_decl "$LINENO" "CURLOPT_CLOSEPOLICY" "ac_cv_have_decl_CURLOPT_CLOSEPOLICY" "
5669 #include \"curl/curl.h\"
5672 if test "x$ac_cv_have_decl_CURLOPT_CLOSEPOLICY" = xyes; then :
5673 ac_have_decl=1
5674 else
5675 ac_have_decl=0
5678 cat >>confdefs.h <<_ACEOF
5679 #define HAVE_DECL_CURLOPT_CLOSEPOLICY $ac_have_decl
5680 _ACEOF
5681 ac_fn_c_check_decl "$LINENO" "CURLOPT_FRESH_CONNECT" "ac_cv_have_decl_CURLOPT_FRESH_CONNECT" "
5682 #include \"curl/curl.h\"
5685 if test "x$ac_cv_have_decl_CURLOPT_FRESH_CONNECT" = xyes; then :
5686 ac_have_decl=1
5687 else
5688 ac_have_decl=0
5691 cat >>confdefs.h <<_ACEOF
5692 #define HAVE_DECL_CURLOPT_FRESH_CONNECT $ac_have_decl
5693 _ACEOF
5694 ac_fn_c_check_decl "$LINENO" "CURLOPT_FORBID_REUSE" "ac_cv_have_decl_CURLOPT_FORBID_REUSE" "
5695 #include \"curl/curl.h\"
5698 if test "x$ac_cv_have_decl_CURLOPT_FORBID_REUSE" = xyes; then :
5699 ac_have_decl=1
5700 else
5701 ac_have_decl=0
5704 cat >>confdefs.h <<_ACEOF
5705 #define HAVE_DECL_CURLOPT_FORBID_REUSE $ac_have_decl
5706 _ACEOF
5707 ac_fn_c_check_decl "$LINENO" "CURLOPT_RANDOM_FILE" "ac_cv_have_decl_CURLOPT_RANDOM_FILE" "
5708 #include \"curl/curl.h\"
5711 if test "x$ac_cv_have_decl_CURLOPT_RANDOM_FILE" = xyes; then :
5712 ac_have_decl=1
5713 else
5714 ac_have_decl=0
5717 cat >>confdefs.h <<_ACEOF
5718 #define HAVE_DECL_CURLOPT_RANDOM_FILE $ac_have_decl
5719 _ACEOF
5720 ac_fn_c_check_decl "$LINENO" "CURLOPT_EGDSOCKET" "ac_cv_have_decl_CURLOPT_EGDSOCKET" "
5721 #include \"curl/curl.h\"
5724 if test "x$ac_cv_have_decl_CURLOPT_EGDSOCKET" = xyes; then :
5725 ac_have_decl=1
5726 else
5727 ac_have_decl=0
5730 cat >>confdefs.h <<_ACEOF
5731 #define HAVE_DECL_CURLOPT_EGDSOCKET $ac_have_decl
5732 _ACEOF
5733 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECTTIMEOUT" "ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" "
5734 #include \"curl/curl.h\"
5737 if test "x$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" = xyes; then :
5738 ac_have_decl=1
5739 else
5740 ac_have_decl=0
5743 cat >>confdefs.h <<_ACEOF
5744 #define HAVE_DECL_CURLOPT_CONNECTTIMEOUT $ac_have_decl
5745 _ACEOF
5746 ac_fn_c_check_decl "$LINENO" "CURLOPT_HEADERFUNCTION" "ac_cv_have_decl_CURLOPT_HEADERFUNCTION" "
5747 #include \"curl/curl.h\"
5750 if test "x$ac_cv_have_decl_CURLOPT_HEADERFUNCTION" = xyes; then :
5751 ac_have_decl=1
5752 else
5753 ac_have_decl=0
5756 cat >>confdefs.h <<_ACEOF
5757 #define HAVE_DECL_CURLOPT_HEADERFUNCTION $ac_have_decl
5758 _ACEOF
5759 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPGET" "ac_cv_have_decl_CURLOPT_HTTPGET" "
5760 #include \"curl/curl.h\"
5763 if test "x$ac_cv_have_decl_CURLOPT_HTTPGET" = xyes; then :
5764 ac_have_decl=1
5765 else
5766 ac_have_decl=0
5769 cat >>confdefs.h <<_ACEOF
5770 #define HAVE_DECL_CURLOPT_HTTPGET $ac_have_decl
5771 _ACEOF
5772 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_VERIFYHOST" "ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" "
5773 #include \"curl/curl.h\"
5776 if test "x$ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" = xyes; then :
5777 ac_have_decl=1
5778 else
5779 ac_have_decl=0
5782 cat >>confdefs.h <<_ACEOF
5783 #define HAVE_DECL_CURLOPT_SSL_VERIFYHOST $ac_have_decl
5784 _ACEOF
5785 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIEJAR" "ac_cv_have_decl_CURLOPT_COOKIEJAR" "
5786 #include \"curl/curl.h\"
5789 if test "x$ac_cv_have_decl_CURLOPT_COOKIEJAR" = xyes; then :
5790 ac_have_decl=1
5791 else
5792 ac_have_decl=0
5795 cat >>confdefs.h <<_ACEOF
5796 #define HAVE_DECL_CURLOPT_COOKIEJAR $ac_have_decl
5797 _ACEOF
5798 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_CIPHER_LIST" "ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" "
5799 #include \"curl/curl.h\"
5802 if test "x$ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" = xyes; then :
5803 ac_have_decl=1
5804 else
5805 ac_have_decl=0
5808 cat >>confdefs.h <<_ACEOF
5809 #define HAVE_DECL_CURLOPT_SSL_CIPHER_LIST $ac_have_decl
5810 _ACEOF
5811 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_VERSION" "ac_cv_have_decl_CURLOPT_HTTP_VERSION" "
5812 #include \"curl/curl.h\"
5815 if test "x$ac_cv_have_decl_CURLOPT_HTTP_VERSION" = xyes; then :
5816 ac_have_decl=1
5817 else
5818 ac_have_decl=0
5821 cat >>confdefs.h <<_ACEOF
5822 #define HAVE_DECL_CURLOPT_HTTP_VERSION $ac_have_decl
5823 _ACEOF
5824 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_USE_EPSV" "ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" "
5825 #include \"curl/curl.h\"
5828 if test "x$ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" = xyes; then :
5829 ac_have_decl=1
5830 else
5831 ac_have_decl=0
5834 cat >>confdefs.h <<_ACEOF
5835 #define HAVE_DECL_CURLOPT_FTP_USE_EPSV $ac_have_decl
5836 _ACEOF
5837 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERTTYPE" "ac_cv_have_decl_CURLOPT_SSLCERTTYPE" "
5838 #include \"curl/curl.h\"
5841 if test "x$ac_cv_have_decl_CURLOPT_SSLCERTTYPE" = xyes; then :
5842 ac_have_decl=1
5843 else
5844 ac_have_decl=0
5847 cat >>confdefs.h <<_ACEOF
5848 #define HAVE_DECL_CURLOPT_SSLCERTTYPE $ac_have_decl
5849 _ACEOF
5850 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEY" "ac_cv_have_decl_CURLOPT_SSLKEY" "
5851 #include \"curl/curl.h\"
5854 if test "x$ac_cv_have_decl_CURLOPT_SSLKEY" = xyes; then :
5855 ac_have_decl=1
5856 else
5857 ac_have_decl=0
5860 cat >>confdefs.h <<_ACEOF
5861 #define HAVE_DECL_CURLOPT_SSLKEY $ac_have_decl
5862 _ACEOF
5863 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEYTYPE" "ac_cv_have_decl_CURLOPT_SSLKEYTYPE" "
5864 #include \"curl/curl.h\"
5867 if test "x$ac_cv_have_decl_CURLOPT_SSLKEYTYPE" = xyes; then :
5868 ac_have_decl=1
5869 else
5870 ac_have_decl=0
5873 cat >>confdefs.h <<_ACEOF
5874 #define HAVE_DECL_CURLOPT_SSLKEYTYPE $ac_have_decl
5875 _ACEOF
5876 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLENGINE" "ac_cv_have_decl_CURLOPT_SSLENGINE" "
5877 #include \"curl/curl.h\"
5880 if test "x$ac_cv_have_decl_CURLOPT_SSLENGINE" = xyes; then :
5881 ac_have_decl=1
5882 else
5883 ac_have_decl=0
5886 cat >>confdefs.h <<_ACEOF
5887 #define HAVE_DECL_CURLOPT_SSLENGINE $ac_have_decl
5888 _ACEOF
5889 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLENGINE_DEFAULT" "ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" "
5890 #include \"curl/curl.h\"
5893 if test "x$ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" = xyes; then :
5894 ac_have_decl=1
5895 else
5896 ac_have_decl=0
5899 cat >>confdefs.h <<_ACEOF
5900 #define HAVE_DECL_CURLOPT_SSLENGINE_DEFAULT $ac_have_decl
5901 _ACEOF
5902 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_USE_GLOBAL_CACHE" "ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" "
5903 #include \"curl/curl.h\"
5906 if test "x$ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" = xyes; then :
5907 ac_have_decl=1
5908 else
5909 ac_have_decl=0
5912 cat >>confdefs.h <<_ACEOF
5913 #define HAVE_DECL_CURLOPT_DNS_USE_GLOBAL_CACHE $ac_have_decl
5914 _ACEOF
5915 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_CACHE_TIMEOUT" "ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" "
5916 #include \"curl/curl.h\"
5919 if test "x$ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" = xyes; then :
5920 ac_have_decl=1
5921 else
5922 ac_have_decl=0
5925 cat >>confdefs.h <<_ACEOF
5926 #define HAVE_DECL_CURLOPT_DNS_CACHE_TIMEOUT $ac_have_decl
5927 _ACEOF
5928 ac_fn_c_check_decl "$LINENO" "CURLOPT_PREQUOTE" "ac_cv_have_decl_CURLOPT_PREQUOTE" "
5929 #include \"curl/curl.h\"
5932 if test "x$ac_cv_have_decl_CURLOPT_PREQUOTE" = xyes; then :
5933 ac_have_decl=1
5934 else
5935 ac_have_decl=0
5938 cat >>confdefs.h <<_ACEOF
5939 #define HAVE_DECL_CURLOPT_PREQUOTE $ac_have_decl
5940 _ACEOF
5941 ac_fn_c_check_decl "$LINENO" "CURLOPT_DEBUGFUNCTION" "ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" "
5942 #include \"curl/curl.h\"
5945 if test "x$ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" = xyes; then :
5946 ac_have_decl=1
5947 else
5948 ac_have_decl=0
5951 cat >>confdefs.h <<_ACEOF
5952 #define HAVE_DECL_CURLOPT_DEBUGFUNCTION $ac_have_decl
5953 _ACEOF
5954 ac_fn_c_check_decl "$LINENO" "CURLOPT_DEBUGDATA" "ac_cv_have_decl_CURLOPT_DEBUGDATA" "
5955 #include \"curl/curl.h\"
5958 if test "x$ac_cv_have_decl_CURLOPT_DEBUGDATA" = xyes; then :
5959 ac_have_decl=1
5960 else
5961 ac_have_decl=0
5964 cat >>confdefs.h <<_ACEOF
5965 #define HAVE_DECL_CURLOPT_DEBUGDATA $ac_have_decl
5966 _ACEOF
5967 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIESESSION" "ac_cv_have_decl_CURLOPT_COOKIESESSION" "
5968 #include \"curl/curl.h\"
5971 if test "x$ac_cv_have_decl_CURLOPT_COOKIESESSION" = xyes; then :
5972 ac_have_decl=1
5973 else
5974 ac_have_decl=0
5977 cat >>confdefs.h <<_ACEOF
5978 #define HAVE_DECL_CURLOPT_COOKIESESSION $ac_have_decl
5979 _ACEOF
5980 ac_fn_c_check_decl "$LINENO" "CURLOPT_CAPATH" "ac_cv_have_decl_CURLOPT_CAPATH" "
5981 #include \"curl/curl.h\"
5984 if test "x$ac_cv_have_decl_CURLOPT_CAPATH" = xyes; then :
5985 ac_have_decl=1
5986 else
5987 ac_have_decl=0
5990 cat >>confdefs.h <<_ACEOF
5991 #define HAVE_DECL_CURLOPT_CAPATH $ac_have_decl
5992 _ACEOF
5993 ac_fn_c_check_decl "$LINENO" "CURLOPT_BUFFERSIZE" "ac_cv_have_decl_CURLOPT_BUFFERSIZE" "
5994 #include \"curl/curl.h\"
5997 if test "x$ac_cv_have_decl_CURLOPT_BUFFERSIZE" = xyes; then :
5998 ac_have_decl=1
5999 else
6000 ac_have_decl=0
6003 cat >>confdefs.h <<_ACEOF
6004 #define HAVE_DECL_CURLOPT_BUFFERSIZE $ac_have_decl
6005 _ACEOF
6006 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOSIGNAL" "ac_cv_have_decl_CURLOPT_NOSIGNAL" "
6007 #include \"curl/curl.h\"
6010 if test "x$ac_cv_have_decl_CURLOPT_NOSIGNAL" = xyes; then :
6011 ac_have_decl=1
6012 else
6013 ac_have_decl=0
6016 cat >>confdefs.h <<_ACEOF
6017 #define HAVE_DECL_CURLOPT_NOSIGNAL $ac_have_decl
6018 _ACEOF
6019 ac_fn_c_check_decl "$LINENO" "CURLOPT_SHARE" "ac_cv_have_decl_CURLOPT_SHARE" "
6020 #include \"curl/curl.h\"
6023 if test "x$ac_cv_have_decl_CURLOPT_SHARE" = xyes; then :
6024 ac_have_decl=1
6025 else
6026 ac_have_decl=0
6029 cat >>confdefs.h <<_ACEOF
6030 #define HAVE_DECL_CURLOPT_SHARE $ac_have_decl
6031 _ACEOF
6032 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYTYPE" "ac_cv_have_decl_CURLOPT_PROXYTYPE" "
6033 #include \"curl/curl.h\"
6036 if test "x$ac_cv_have_decl_CURLOPT_PROXYTYPE" = xyes; then :
6037 ac_have_decl=1
6038 else
6039 ac_have_decl=0
6042 cat >>confdefs.h <<_ACEOF
6043 #define HAVE_DECL_CURLOPT_PROXYTYPE $ac_have_decl
6044 _ACEOF
6045 ac_fn_c_check_decl "$LINENO" "CURLOPT_ENCODING" "ac_cv_have_decl_CURLOPT_ENCODING" "
6046 #include \"curl/curl.h\"
6049 if test "x$ac_cv_have_decl_CURLOPT_ENCODING" = xyes; then :
6050 ac_have_decl=1
6051 else
6052 ac_have_decl=0
6055 cat >>confdefs.h <<_ACEOF
6056 #define HAVE_DECL_CURLOPT_ENCODING $ac_have_decl
6057 _ACEOF
6058 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP200ALIASES" "ac_cv_have_decl_CURLOPT_HTTP200ALIASES" "
6059 #include \"curl/curl.h\"
6062 if test "x$ac_cv_have_decl_CURLOPT_HTTP200ALIASES" = xyes; then :
6063 ac_have_decl=1
6064 else
6065 ac_have_decl=0
6068 cat >>confdefs.h <<_ACEOF
6069 #define HAVE_DECL_CURLOPT_HTTP200ALIASES $ac_have_decl
6070 _ACEOF
6071 ac_fn_c_check_decl "$LINENO" "CURLOPT_UNRESTRICTED_AUTH" "ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" "
6072 #include \"curl/curl.h\"
6075 if test "x$ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" = xyes; then :
6076 ac_have_decl=1
6077 else
6078 ac_have_decl=0
6081 cat >>confdefs.h <<_ACEOF
6082 #define HAVE_DECL_CURLOPT_UNRESTRICTED_AUTH $ac_have_decl
6083 _ACEOF
6084 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_USE_EPRT" "ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" "
6085 #include \"curl/curl.h\"
6088 if test "x$ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" = xyes; then :
6089 ac_have_decl=1
6090 else
6091 ac_have_decl=0
6094 cat >>confdefs.h <<_ACEOF
6095 #define HAVE_DECL_CURLOPT_FTP_USE_EPRT $ac_have_decl
6096 _ACEOF
6097 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPAUTH" "ac_cv_have_decl_CURLOPT_HTTPAUTH" "
6098 #include \"curl/curl.h\"
6101 if test "x$ac_cv_have_decl_CURLOPT_HTTPAUTH" = xyes; then :
6102 ac_have_decl=1
6103 else
6104 ac_have_decl=0
6107 cat >>confdefs.h <<_ACEOF
6108 #define HAVE_DECL_CURLOPT_HTTPAUTH $ac_have_decl
6109 _ACEOF
6110 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_CREATE_MISSING_DIRS" "ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" "
6111 #include \"curl/curl.h\"
6114 if test "x$ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" = xyes; then :
6115 ac_have_decl=1
6116 else
6117 ac_have_decl=0
6120 cat >>confdefs.h <<_ACEOF
6121 #define HAVE_DECL_CURLOPT_FTP_CREATE_MISSING_DIRS $ac_have_decl
6122 _ACEOF
6123 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYAUTH" "ac_cv_have_decl_CURLOPT_PROXYAUTH" "
6124 #include \"curl/curl.h\"
6127 if test "x$ac_cv_have_decl_CURLOPT_PROXYAUTH" = xyes; then :
6128 ac_have_decl=1
6129 else
6130 ac_have_decl=0
6133 cat >>confdefs.h <<_ACEOF
6134 #define HAVE_DECL_CURLOPT_PROXYAUTH $ac_have_decl
6135 _ACEOF
6136 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_RESPONSE_TIMEOUT" "ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" "
6137 #include \"curl/curl.h\"
6140 if test "x$ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" = xyes; then :
6141 ac_have_decl=1
6142 else
6143 ac_have_decl=0
6146 cat >>confdefs.h <<_ACEOF
6147 #define HAVE_DECL_CURLOPT_FTP_RESPONSE_TIMEOUT $ac_have_decl
6148 _ACEOF
6149 ac_fn_c_check_decl "$LINENO" "CURLOPT_IPRESOLVE" "ac_cv_have_decl_CURLOPT_IPRESOLVE" "
6150 #include \"curl/curl.h\"
6153 if test "x$ac_cv_have_decl_CURLOPT_IPRESOLVE" = xyes; then :
6154 ac_have_decl=1
6155 else
6156 ac_have_decl=0
6159 cat >>confdefs.h <<_ACEOF
6160 #define HAVE_DECL_CURLOPT_IPRESOLVE $ac_have_decl
6161 _ACEOF
6162 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXFILESIZE" "ac_cv_have_decl_CURLOPT_MAXFILESIZE" "
6163 #include \"curl/curl.h\"
6166 if test "x$ac_cv_have_decl_CURLOPT_MAXFILESIZE" = xyes; then :
6167 ac_have_decl=1
6168 else
6169 ac_have_decl=0
6172 cat >>confdefs.h <<_ACEOF
6173 #define HAVE_DECL_CURLOPT_MAXFILESIZE $ac_have_decl
6174 _ACEOF
6175 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILESIZE_LARGE" "ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" "
6176 #include \"curl/curl.h\"
6179 if test "x$ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" = xyes; then :
6180 ac_have_decl=1
6181 else
6182 ac_have_decl=0
6185 cat >>confdefs.h <<_ACEOF
6186 #define HAVE_DECL_CURLOPT_INFILESIZE_LARGE $ac_have_decl
6187 _ACEOF
6188 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESUME_FROM_LARGE" "ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE" "
6189 #include \"curl/curl.h\"
6192 if test "x$ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE" = xyes; then :
6193 ac_have_decl=1
6194 else
6195 ac_have_decl=0
6198 cat >>confdefs.h <<_ACEOF
6199 #define HAVE_DECL_CURLOPT_RESUME_FROM_LARGE $ac_have_decl
6200 _ACEOF
6201 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXFILESIZE_LARGE" "ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE" "
6202 #include \"curl/curl.h\"
6205 if test "x$ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE" = xyes; then :
6206 ac_have_decl=1
6207 else
6208 ac_have_decl=0
6211 cat >>confdefs.h <<_ACEOF
6212 #define HAVE_DECL_CURLOPT_MAXFILESIZE_LARGE $ac_have_decl
6213 _ACEOF
6214 ac_fn_c_check_decl "$LINENO" "CURLOPT_NETRC_FILE" "ac_cv_have_decl_CURLOPT_NETRC_FILE" "
6215 #include \"curl/curl.h\"
6218 if test "x$ac_cv_have_decl_CURLOPT_NETRC_FILE" = xyes; then :
6219 ac_have_decl=1
6220 else
6221 ac_have_decl=0
6224 cat >>confdefs.h <<_ACEOF
6225 #define HAVE_DECL_CURLOPT_NETRC_FILE $ac_have_decl
6226 _ACEOF
6227 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SSL" "ac_cv_have_decl_CURLOPT_FTP_SSL" "
6228 #include \"curl/curl.h\"
6231 if test "x$ac_cv_have_decl_CURLOPT_FTP_SSL" = xyes; then :
6232 ac_have_decl=1
6233 else
6234 ac_have_decl=0
6237 cat >>confdefs.h <<_ACEOF
6238 #define HAVE_DECL_CURLOPT_FTP_SSL $ac_have_decl
6239 _ACEOF
6240 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDSIZE_LARGE" "ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" "
6241 #include \"curl/curl.h\"
6244 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" = xyes; then :
6245 ac_have_decl=1
6246 else
6247 ac_have_decl=0
6250 cat >>confdefs.h <<_ACEOF
6251 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE_LARGE $ac_have_decl
6252 _ACEOF
6253 ac_fn_c_check_decl "$LINENO" "CURLOPT_TCP_NODELAY" "ac_cv_have_decl_CURLOPT_TCP_NODELAY" "
6254 #include \"curl/curl.h\"
6257 if test "x$ac_cv_have_decl_CURLOPT_TCP_NODELAY" = xyes; then :
6258 ac_have_decl=1
6259 else
6260 ac_have_decl=0
6263 cat >>confdefs.h <<_ACEOF
6264 #define HAVE_DECL_CURLOPT_TCP_NODELAY $ac_have_decl
6265 _ACEOF
6266 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPSSLAUTH" "ac_cv_have_decl_CURLOPT_FTPSSLAUTH" "
6267 #include \"curl/curl.h\"
6270 if test "x$ac_cv_have_decl_CURLOPT_FTPSSLAUTH" = xyes; then :
6271 ac_have_decl=1
6272 else
6273 ac_have_decl=0
6276 cat >>confdefs.h <<_ACEOF
6277 #define HAVE_DECL_CURLOPT_FTPSSLAUTH $ac_have_decl
6278 _ACEOF
6279 ac_fn_c_check_decl "$LINENO" "CURLOPT_IOCTLFUNCTION" "ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" "
6280 #include \"curl/curl.h\"
6283 if test "x$ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" = xyes; then :
6284 ac_have_decl=1
6285 else
6286 ac_have_decl=0
6289 cat >>confdefs.h <<_ACEOF
6290 #define HAVE_DECL_CURLOPT_IOCTLFUNCTION $ac_have_decl
6291 _ACEOF
6292 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_ACCOUNT" "ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" "
6293 #include \"curl/curl.h\"
6296 if test "x$ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" = xyes; then :
6297 ac_have_decl=1
6298 else
6299 ac_have_decl=0
6302 cat >>confdefs.h <<_ACEOF
6303 #define HAVE_DECL_CURLOPT_FTP_ACCOUNT $ac_have_decl
6304 _ACEOF
6305 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIELIST" "ac_cv_have_decl_CURLOPT_COOKIELIST" "
6306 #include \"curl/curl.h\"
6309 if test "x$ac_cv_have_decl_CURLOPT_COOKIELIST" = xyes; then :
6310 ac_have_decl=1
6311 else
6312 ac_have_decl=0
6315 cat >>confdefs.h <<_ACEOF
6316 #define HAVE_DECL_CURLOPT_COOKIELIST $ac_have_decl
6317 _ACEOF
6318 ac_fn_c_check_decl "$LINENO" "CURLOPT_IGNORE_CONTENT_LENGTH" "ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" "
6319 #include \"curl/curl.h\"
6322 if test "x$ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" = xyes; then :
6323 ac_have_decl=1
6324 else
6325 ac_have_decl=0
6328 cat >>confdefs.h <<_ACEOF
6329 #define HAVE_DECL_CURLOPT_IGNORE_CONTENT_LENGTH $ac_have_decl
6330 _ACEOF
6331 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SKIP_PASV_IP" "ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" "
6332 #include \"curl/curl.h\"
6335 if test "x$ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" = xyes; then :
6336 ac_have_decl=1
6337 else
6338 ac_have_decl=0
6341 cat >>confdefs.h <<_ACEOF
6342 #define HAVE_DECL_CURLOPT_FTP_SKIP_PASV_IP $ac_have_decl
6343 _ACEOF
6344 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_FILEMETHOD" "ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" "
6345 #include \"curl/curl.h\"
6348 if test "x$ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" = xyes; then :
6349 ac_have_decl=1
6350 else
6351 ac_have_decl=0
6354 cat >>confdefs.h <<_ACEOF
6355 #define HAVE_DECL_CURLOPT_FTP_FILEMETHOD $ac_have_decl
6356 _ACEOF
6357 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOCALPORT" "ac_cv_have_decl_CURLOPT_LOCALPORT" "
6358 #include \"curl/curl.h\"
6361 if test "x$ac_cv_have_decl_CURLOPT_LOCALPORT" = xyes; then :
6362 ac_have_decl=1
6363 else
6364 ac_have_decl=0
6367 cat >>confdefs.h <<_ACEOF
6368 #define HAVE_DECL_CURLOPT_LOCALPORT $ac_have_decl
6369 _ACEOF
6370 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOCALPORTRANGE" "ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" "
6371 #include \"curl/curl.h\"
6374 if test "x$ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" = xyes; then :
6375 ac_have_decl=1
6376 else
6377 ac_have_decl=0
6380 cat >>confdefs.h <<_ACEOF
6381 #define HAVE_DECL_CURLOPT_LOCALPORTRANGE $ac_have_decl
6382 _ACEOF
6383 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECT_ONLY" "ac_cv_have_decl_CURLOPT_CONNECT_ONLY" "
6384 #include \"curl/curl.h\"
6387 if test "x$ac_cv_have_decl_CURLOPT_CONNECT_ONLY" = xyes; then :
6388 ac_have_decl=1
6389 else
6390 ac_have_decl=0
6393 cat >>confdefs.h <<_ACEOF
6394 #define HAVE_DECL_CURLOPT_CONNECT_ONLY $ac_have_decl
6395 _ACEOF
6396 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAX_SEND_SPEED_LARGE" "ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" "
6397 #include \"curl/curl.h\"
6400 if test "x$ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" = xyes; then :
6401 ac_have_decl=1
6402 else
6403 ac_have_decl=0
6406 cat >>confdefs.h <<_ACEOF
6407 #define HAVE_DECL_CURLOPT_MAX_SEND_SPEED_LARGE $ac_have_decl
6408 _ACEOF
6409 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAX_RECV_SPEED_LARGE" "ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE" "
6410 #include \"curl/curl.h\"
6413 if test "x$ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE" = xyes; then :
6414 ac_have_decl=1
6415 else
6416 ac_have_decl=0
6419 cat >>confdefs.h <<_ACEOF
6420 #define HAVE_DECL_CURLOPT_MAX_RECV_SPEED_LARGE $ac_have_decl
6421 _ACEOF
6422 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_ALTERNATIVE_TO_USER" "ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" "
6423 #include \"curl/curl.h\"
6426 if test "x$ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" = xyes; then :
6427 ac_have_decl=1
6428 else
6429 ac_have_decl=0
6432 cat >>confdefs.h <<_ACEOF
6433 #define HAVE_DECL_CURLOPT_FTP_ALTERNATIVE_TO_USER $ac_have_decl
6434 _ACEOF
6435 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_SESSIONID_CACHE" "ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" "
6436 #include \"curl/curl.h\"
6439 if test "x$ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" = xyes; then :
6440 ac_have_decl=1
6441 else
6442 ac_have_decl=0
6445 cat >>confdefs.h <<_ACEOF
6446 #define HAVE_DECL_CURLOPT_SSL_SESSIONID_CACHE $ac_have_decl
6447 _ACEOF
6448 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_AUTH_TYPES" "ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" "
6449 #include \"curl/curl.h\"
6452 if test "x$ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" = xyes; then :
6453 ac_have_decl=1
6454 else
6455 ac_have_decl=0
6458 cat >>confdefs.h <<_ACEOF
6459 #define HAVE_DECL_CURLOPT_SSH_AUTH_TYPES $ac_have_decl
6460 _ACEOF
6461 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_PUBLIC_KEYFILE" "ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" "
6462 #include \"curl/curl.h\"
6465 if test "x$ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" = xyes; then :
6466 ac_have_decl=1
6467 else
6468 ac_have_decl=0
6471 cat >>confdefs.h <<_ACEOF
6472 #define HAVE_DECL_CURLOPT_SSH_PUBLIC_KEYFILE $ac_have_decl
6473 _ACEOF
6474 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_PRIVATE_KEYFILE" "ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE" "
6475 #include \"curl/curl.h\"
6478 if test "x$ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE" = xyes; then :
6479 ac_have_decl=1
6480 else
6481 ac_have_decl=0
6484 cat >>confdefs.h <<_ACEOF
6485 #define HAVE_DECL_CURLOPT_SSH_PRIVATE_KEYFILE $ac_have_decl
6486 _ACEOF
6487 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SSL_CCC" "ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" "
6488 #include \"curl/curl.h\"
6491 if test "x$ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" = xyes; then :
6492 ac_have_decl=1
6493 else
6494 ac_have_decl=0
6497 cat >>confdefs.h <<_ACEOF
6498 #define HAVE_DECL_CURLOPT_FTP_SSL_CCC $ac_have_decl
6499 _ACEOF
6500 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEOUT_MS" "ac_cv_have_decl_CURLOPT_TIMEOUT_MS" "
6501 #include \"curl/curl.h\"
6504 if test "x$ac_cv_have_decl_CURLOPT_TIMEOUT_MS" = xyes; then :
6505 ac_have_decl=1
6506 else
6507 ac_have_decl=0
6510 cat >>confdefs.h <<_ACEOF
6511 #define HAVE_DECL_CURLOPT_TIMEOUT_MS $ac_have_decl
6512 _ACEOF
6513 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECTTIMEOUT_MS" "ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS" "
6514 #include \"curl/curl.h\"
6517 if test "x$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS" = xyes; then :
6518 ac_have_decl=1
6519 else
6520 ac_have_decl=0
6523 cat >>confdefs.h <<_ACEOF
6524 #define HAVE_DECL_CURLOPT_CONNECTTIMEOUT_MS $ac_have_decl
6525 _ACEOF
6526 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_TRANSFER_DECODING" "ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" "
6527 #include \"curl/curl.h\"
6530 if test "x$ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" = xyes; then :
6531 ac_have_decl=1
6532 else
6533 ac_have_decl=0
6536 cat >>confdefs.h <<_ACEOF
6537 #define HAVE_DECL_CURLOPT_HTTP_TRANSFER_DECODING $ac_have_decl
6538 _ACEOF
6539 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_CONTENT_DECODING" "ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING" "
6540 #include \"curl/curl.h\"
6543 if test "x$ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING" = xyes; then :
6544 ac_have_decl=1
6545 else
6546 ac_have_decl=0
6549 cat >>confdefs.h <<_ACEOF
6550 #define HAVE_DECL_CURLOPT_HTTP_CONTENT_DECODING $ac_have_decl
6551 _ACEOF
6552 ac_fn_c_check_decl "$LINENO" "CURLOPT_NEW_FILE_PERMS" "ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" "
6553 #include \"curl/curl.h\"
6556 if test "x$ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" = xyes; then :
6557 ac_have_decl=1
6558 else
6559 ac_have_decl=0
6562 cat >>confdefs.h <<_ACEOF
6563 #define HAVE_DECL_CURLOPT_NEW_FILE_PERMS $ac_have_decl
6564 _ACEOF
6565 ac_fn_c_check_decl "$LINENO" "CURLOPT_NEW_DIRECTORY_PERMS" "ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS" "
6566 #include \"curl/curl.h\"
6569 if test "x$ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS" = xyes; then :
6570 ac_have_decl=1
6571 else
6572 ac_have_decl=0
6575 cat >>confdefs.h <<_ACEOF
6576 #define HAVE_DECL_CURLOPT_NEW_DIRECTORY_PERMS $ac_have_decl
6577 _ACEOF
6578 ac_fn_c_check_decl "$LINENO" "CURLOPT_POST301" "ac_cv_have_decl_CURLOPT_POST301" "
6579 #include \"curl/curl.h\"
6582 if test "x$ac_cv_have_decl_CURLOPT_POST301" = xyes; then :
6583 ac_have_decl=1
6584 else
6585 ac_have_decl=0
6588 cat >>confdefs.h <<_ACEOF
6589 #define HAVE_DECL_CURLOPT_POST301 $ac_have_decl
6590 _ACEOF
6591 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" "ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" "
6592 #include \"curl/curl.h\"
6595 if test "x$ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" = xyes; then :
6596 ac_have_decl=1
6597 else
6598 ac_have_decl=0
6601 cat >>confdefs.h <<_ACEOF
6602 #define HAVE_DECL_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 $ac_have_decl
6603 _ACEOF
6604 ac_fn_c_check_decl "$LINENO" "CURLOPT_COPYPOSTFIELDS" "ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" "
6605 #include \"curl/curl.h\"
6608 if test "x$ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" = xyes; then :
6609 ac_have_decl=1
6610 else
6611 ac_have_decl=0
6614 cat >>confdefs.h <<_ACEOF
6615 #define HAVE_DECL_CURLOPT_COPYPOSTFIELDS $ac_have_decl
6616 _ACEOF
6617 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXY_TRANSFER_MODE" "ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" "
6618 #include \"curl/curl.h\"
6621 if test "x$ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" = xyes; then :
6622 ac_have_decl=1
6623 else
6624 ac_have_decl=0
6627 cat >>confdefs.h <<_ACEOF
6628 #define HAVE_DECL_CURLOPT_PROXY_TRANSFER_MODE $ac_have_decl
6629 _ACEOF
6630 ac_fn_c_check_decl "$LINENO" "CURLOPT_SEEKFUNCTION" "ac_cv_have_decl_CURLOPT_SEEKFUNCTION" "
6631 #include \"curl/curl.h\"
6634 if test "x$ac_cv_have_decl_CURLOPT_SEEKFUNCTION" = xyes; then :
6635 ac_have_decl=1
6636 else
6637 ac_have_decl=0
6640 cat >>confdefs.h <<_ACEOF
6641 #define HAVE_DECL_CURLOPT_SEEKFUNCTION $ac_have_decl
6642 _ACEOF
6643 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROTOCOLS" "ac_cv_have_decl_CURLOPT_PROTOCOLS" "
6644 #include \"curl/curl.h\"
6647 if test "x$ac_cv_have_decl_CURLOPT_PROTOCOLS" = xyes; then :
6648 ac_have_decl=1
6649 else
6650 ac_have_decl=0
6653 cat >>confdefs.h <<_ACEOF
6654 #define HAVE_DECL_CURLOPT_PROTOCOLS $ac_have_decl
6655 _ACEOF
6656 ac_fn_c_check_decl "$LINENO" "CURLOPT_REDIR_PROTOCOLS" "ac_cv_have_decl_CURLOPT_REDIR_PROTOCOLS" "
6657 #include \"curl/curl.h\"
6660 if test "x$ac_cv_have_decl_CURLOPT_REDIR_PROTOCOLS" = xyes; then :
6661 ac_have_decl=1
6662 else
6663 ac_have_decl=0
6666 cat >>confdefs.h <<_ACEOF
6667 #define HAVE_DECL_CURLOPT_REDIR_PROTOCOLS $ac_have_decl
6668 _ACEOF
6669 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESOLVE" "ac_cv_have_decl_CURLOPT_RESOLVE" "
6670 #include \"curl/curl.h\"
6673 if test "x$ac_cv_have_decl_CURLOPT_RESOLVE" = xyes; then :
6674 ac_have_decl=1
6675 else
6676 ac_have_decl=0
6679 cat >>confdefs.h <<_ACEOF
6680 #define HAVE_DECL_CURLOPT_RESOLVE $ac_have_decl
6681 _ACEOF
6682 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_SERVERS" "ac_cv_have_decl_CURLOPT_DNS_SERVERS" "
6683 #include \"curl/curl.h\"
6686 if test "x$ac_cv_have_decl_CURLOPT_DNS_SERVERS" = xyes; then :
6687 ac_have_decl=1
6688 else
6689 ac_have_decl=0
6692 cat >>confdefs.h <<_ACEOF
6693 #define HAVE_DECL_CURLOPT_DNS_SERVERS $ac_have_decl
6694 _ACEOF
6695 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAIL_FROM" "ac_cv_have_decl_CURLOPT_MAIL_FROM" "
6696 #include \"curl/curl.h\"
6699 if test "x$ac_cv_have_decl_CURLOPT_MAIL_FROM" = xyes; then :
6700 ac_have_decl=1
6701 else
6702 ac_have_decl=0
6705 cat >>confdefs.h <<_ACEOF
6706 #define HAVE_DECL_CURLOPT_MAIL_FROM $ac_have_decl
6707 _ACEOF
6708 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAIL_RCPT" "ac_cv_have_decl_CURLOPT_MAIL_RCPT" "
6709 #include \"curl/curl.h\"
6712 if test "x$ac_cv_have_decl_CURLOPT_MAIL_RCPT" = xyes; then :
6713 ac_have_decl=1
6714 else
6715 ac_have_decl=0
6718 cat >>confdefs.h <<_ACEOF
6719 #define HAVE_DECL_CURLOPT_MAIL_RCPT $ac_have_decl
6720 _ACEOF
6721 ac_fn_c_check_decl "$LINENO" "CURLOPT_PIPEWAIT" "ac_cv_have_decl_CURLOPT_PIPEWAIT" "
6722 #include \"curl/curl.h\"
6725 if test "x$ac_cv_have_decl_CURLOPT_PIPEWAIT" = xyes; then :
6726 ac_have_decl=1
6727 else
6728 ac_have_decl=0
6731 cat >>confdefs.h <<_ACEOF
6732 #define HAVE_DECL_CURLOPT_PIPEWAIT $ac_have_decl
6733 _ACEOF
6734 ac_fn_c_check_decl "$LINENO" "CURLOPT_CERTINFO" "ac_cv_have_decl_CURLOPT_CERTINFO" "
6735 #include \"curl/curl.h\"
6738 if test "x$ac_cv_have_decl_CURLOPT_CERTINFO" = xyes; then :
6739 ac_have_decl=1
6740 else
6741 ac_have_decl=0
6744 cat >>confdefs.h <<_ACEOF
6745 #define HAVE_DECL_CURLOPT_CERTINFO $ac_have_decl
6746 _ACEOF
6747 ac_fn_c_check_decl "$LINENO" "CURLOPT_USERNAME" "ac_cv_have_decl_CURLOPT_USERNAME" "
6748 #include \"curl/curl.h\"
6751 if test "x$ac_cv_have_decl_CURLOPT_USERNAME" = xyes; then :
6752 ac_have_decl=1
6753 else
6754 ac_have_decl=0
6757 cat >>confdefs.h <<_ACEOF
6758 #define HAVE_DECL_CURLOPT_USERNAME $ac_have_decl
6759 _ACEOF
6760 ac_fn_c_check_decl "$LINENO" "CURLOPT_PASSWORD" "ac_cv_have_decl_CURLOPT_PASSWORD" "
6761 #include \"curl/curl.h\"
6764 if test "x$ac_cv_have_decl_CURLOPT_PASSWORD" = xyes; then :
6765 ac_have_decl=1
6766 else
6767 ac_have_decl=0
6770 cat >>confdefs.h <<_ACEOF
6771 #define HAVE_DECL_CURLOPT_PASSWORD $ac_have_decl
6772 _ACEOF
6773 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOGIN_OPTIONS" "ac_cv_have_decl_CURLOPT_LOGIN_OPTIONS" "
6774 #include \"curl/curl.h\"
6777 if test "x$ac_cv_have_decl_CURLOPT_LOGIN_OPTIONS" = xyes; then :
6778 ac_have_decl=1
6779 else
6780 ac_have_decl=0
6783 cat >>confdefs.h <<_ACEOF
6784 #define HAVE_DECL_CURLOPT_LOGIN_OPTIONS $ac_have_decl
6785 _ACEOF
6786 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECT_TO" "ac_cv_have_decl_CURLOPT_CONNECT_TO" "
6787 #include \"curl/curl.h\"
6790 if test "x$ac_cv_have_decl_CURLOPT_CONNECT_TO" = xyes; then :
6791 ac_have_decl=1
6792 else
6793 ac_have_decl=0
6796 cat >>confdefs.h <<_ACEOF
6797 #define HAVE_DECL_CURLOPT_CONNECT_TO $ac_have_decl
6798 _ACEOF
6799 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTREDIR" "ac_cv_have_decl_CURLOPT_POSTREDIR" "
6800 #include \"curl/curl.h\"
6803 if test "x$ac_cv_have_decl_CURLOPT_POSTREDIR" = xyes; then :
6804 ac_have_decl=1
6805 else
6806 ac_have_decl=0
6809 cat >>confdefs.h <<_ACEOF
6810 #define HAVE_DECL_CURLOPT_POSTREDIR $ac_have_decl
6811 _ACEOF
6812 ac_fn_c_check_decl "$LINENO" "CURLOPT_MIMEPOST" "ac_cv_have_decl_CURLOPT_MIMEPOST" "
6813 #include \"curl/curl.h\"
6816 if test "x$ac_cv_have_decl_CURLOPT_MIMEPOST" = xyes; then :
6817 ac_have_decl=1
6818 else
6819 ac_have_decl=0
6822 cat >>confdefs.h <<_ACEOF
6823 #define HAVE_DECL_CURLOPT_MIMEPOST $ac_have_decl
6824 _ACEOF
6825 ac_fn_c_check_decl "$LINENO" "CURLOPT_BUFFERSIZE" "ac_cv_have_decl_CURLOPT_BUFFERSIZE" "
6826 #include \"curl/curl.h\"
6829 if test "x$ac_cv_have_decl_CURLOPT_BUFFERSIZE" = xyes; then :
6830 ac_have_decl=1
6831 else
6832 ac_have_decl=0
6835 cat >>confdefs.h <<_ACEOF
6836 #define HAVE_DECL_CURLOPT_BUFFERSIZE $ac_have_decl
6837 _ACEOF
6838 ac_fn_c_check_decl "$LINENO" "CURLOPT_DOH_URL" "ac_cv_have_decl_CURLOPT_DOH_URL" "
6839 #include \"curl/curl.h\"
6842 if test "x$ac_cv_have_decl_CURLOPT_DOH_URL" = xyes; then :
6843 ac_have_decl=1
6844 else
6845 ac_have_decl=0
6848 cat >>confdefs.h <<_ACEOF
6849 #define HAVE_DECL_CURLOPT_DOH_URL $ac_have_decl
6850 _ACEOF
6851 ac_fn_c_check_decl "$LINENO" "CURLOPT_TCP_FASTOPEN" "ac_cv_have_decl_CURLOPT_TCP_FASTOPEN" "
6852 #include \"curl/curl.h\"
6855 if test "x$ac_cv_have_decl_CURLOPT_TCP_FASTOPEN" = xyes; then :
6856 ac_have_decl=1
6857 else
6858 ac_have_decl=0
6861 cat >>confdefs.h <<_ACEOF
6862 #define HAVE_DECL_CURLOPT_TCP_FASTOPEN $ac_have_decl
6863 _ACEOF
6864 ac_fn_c_check_decl "$LINENO" "CURLINFO_EFFECTIVE_URL" "ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" "
6865 #include \"curl/curl.h\"
6868 if test "x$ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" = xyes; then :
6869 ac_have_decl=1
6870 else
6871 ac_have_decl=0
6874 cat >>confdefs.h <<_ACEOF
6875 #define HAVE_DECL_CURLINFO_EFFECTIVE_URL $ac_have_decl
6876 _ACEOF
6877 ac_fn_c_check_decl "$LINENO" "CURLINFO_RESPONSE_CODE" "ac_cv_have_decl_CURLINFO_RESPONSE_CODE" "
6878 #include \"curl/curl.h\"
6881 if test "x$ac_cv_have_decl_CURLINFO_RESPONSE_CODE" = xyes; then :
6882 ac_have_decl=1
6883 else
6884 ac_have_decl=0
6887 cat >>confdefs.h <<_ACEOF
6888 #define HAVE_DECL_CURLINFO_RESPONSE_CODE $ac_have_decl
6889 _ACEOF
6890 ac_fn_c_check_decl "$LINENO" "CURLINFO_TOTAL_TIME" "ac_cv_have_decl_CURLINFO_TOTAL_TIME" "
6891 #include \"curl/curl.h\"
6894 if test "x$ac_cv_have_decl_CURLINFO_TOTAL_TIME" = xyes; then :
6895 ac_have_decl=1
6896 else
6897 ac_have_decl=0
6900 cat >>confdefs.h <<_ACEOF
6901 #define HAVE_DECL_CURLINFO_TOTAL_TIME $ac_have_decl
6902 _ACEOF
6903 ac_fn_c_check_decl "$LINENO" "CURLINFO_NAMELOOKUP_TIME" "ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" "
6904 #include \"curl/curl.h\"
6907 if test "x$ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" = xyes; then :
6908 ac_have_decl=1
6909 else
6910 ac_have_decl=0
6913 cat >>confdefs.h <<_ACEOF
6914 #define HAVE_DECL_CURLINFO_NAMELOOKUP_TIME $ac_have_decl
6915 _ACEOF
6916 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONNECT_TIME" "ac_cv_have_decl_CURLINFO_CONNECT_TIME" "
6917 #include \"curl/curl.h\"
6920 if test "x$ac_cv_have_decl_CURLINFO_CONNECT_TIME" = xyes; then :
6921 ac_have_decl=1
6922 else
6923 ac_have_decl=0
6926 cat >>confdefs.h <<_ACEOF
6927 #define HAVE_DECL_CURLINFO_CONNECT_TIME $ac_have_decl
6928 _ACEOF
6929 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRETRANSFER_TIME" "ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" "
6930 #include \"curl/curl.h\"
6933 if test "x$ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" = xyes; then :
6934 ac_have_decl=1
6935 else
6936 ac_have_decl=0
6939 cat >>confdefs.h <<_ACEOF
6940 #define HAVE_DECL_CURLINFO_PRETRANSFER_TIME $ac_have_decl
6941 _ACEOF
6942 ac_fn_c_check_decl "$LINENO" "CURLINFO_SIZE_UPLOAD" "ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" "
6943 #include \"curl/curl.h\"
6946 if test "x$ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" = xyes; then :
6947 ac_have_decl=1
6948 else
6949 ac_have_decl=0
6952 cat >>confdefs.h <<_ACEOF
6953 #define HAVE_DECL_CURLINFO_SIZE_UPLOAD $ac_have_decl
6954 _ACEOF
6955 ac_fn_c_check_decl "$LINENO" "CURLINFO_SIZE_DOWNLOAD" "ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" "
6956 #include \"curl/curl.h\"
6959 if test "x$ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" = xyes; then :
6960 ac_have_decl=1
6961 else
6962 ac_have_decl=0
6965 cat >>confdefs.h <<_ACEOF
6966 #define HAVE_DECL_CURLINFO_SIZE_DOWNLOAD $ac_have_decl
6967 _ACEOF
6968 ac_fn_c_check_decl "$LINENO" "CURLINFO_SPEED_DOWNLOAD" "ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" "
6969 #include \"curl/curl.h\"
6972 if test "x$ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" = xyes; then :
6973 ac_have_decl=1
6974 else
6975 ac_have_decl=0
6978 cat >>confdefs.h <<_ACEOF
6979 #define HAVE_DECL_CURLINFO_SPEED_DOWNLOAD $ac_have_decl
6980 _ACEOF
6981 ac_fn_c_check_decl "$LINENO" "CURLINFO_SPEED_UPLOAD" "ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" "
6982 #include \"curl/curl.h\"
6985 if test "x$ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" = xyes; then :
6986 ac_have_decl=1
6987 else
6988 ac_have_decl=0
6991 cat >>confdefs.h <<_ACEOF
6992 #define HAVE_DECL_CURLINFO_SPEED_UPLOAD $ac_have_decl
6993 _ACEOF
6994 ac_fn_c_check_decl "$LINENO" "CURLINFO_HEADER_SIZE" "ac_cv_have_decl_CURLINFO_HEADER_SIZE" "
6995 #include \"curl/curl.h\"
6998 if test "x$ac_cv_have_decl_CURLINFO_HEADER_SIZE" = xyes; then :
6999 ac_have_decl=1
7000 else
7001 ac_have_decl=0
7004 cat >>confdefs.h <<_ACEOF
7005 #define HAVE_DECL_CURLINFO_HEADER_SIZE $ac_have_decl
7006 _ACEOF
7007 ac_fn_c_check_decl "$LINENO" "CURLINFO_REQUEST_SIZE" "ac_cv_have_decl_CURLINFO_REQUEST_SIZE" "
7008 #include \"curl/curl.h\"
7011 if test "x$ac_cv_have_decl_CURLINFO_REQUEST_SIZE" = xyes; then :
7012 ac_have_decl=1
7013 else
7014 ac_have_decl=0
7017 cat >>confdefs.h <<_ACEOF
7018 #define HAVE_DECL_CURLINFO_REQUEST_SIZE $ac_have_decl
7019 _ACEOF
7020 ac_fn_c_check_decl "$LINENO" "CURLINFO_SSL_VERIFYRESULT" "ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" "
7021 #include \"curl/curl.h\"
7024 if test "x$ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" = xyes; then :
7025 ac_have_decl=1
7026 else
7027 ac_have_decl=0
7030 cat >>confdefs.h <<_ACEOF
7031 #define HAVE_DECL_CURLINFO_SSL_VERIFYRESULT $ac_have_decl
7032 _ACEOF
7033 ac_fn_c_check_decl "$LINENO" "CURLINFO_FILETIME" "ac_cv_have_decl_CURLINFO_FILETIME" "
7034 #include \"curl/curl.h\"
7037 if test "x$ac_cv_have_decl_CURLINFO_FILETIME" = xyes; then :
7038 ac_have_decl=1
7039 else
7040 ac_have_decl=0
7043 cat >>confdefs.h <<_ACEOF
7044 #define HAVE_DECL_CURLINFO_FILETIME $ac_have_decl
7045 _ACEOF
7046 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_LENGTH_DOWNLOAD" "ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" "
7047 #include \"curl/curl.h\"
7050 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" = xyes; then :
7051 ac_have_decl=1
7052 else
7053 ac_have_decl=0
7056 cat >>confdefs.h <<_ACEOF
7057 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_DOWNLOAD $ac_have_decl
7058 _ACEOF
7059 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_LENGTH_UPLOAD" "ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" "
7060 #include \"curl/curl.h\"
7063 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" = xyes; then :
7064 ac_have_decl=1
7065 else
7066 ac_have_decl=0
7069 cat >>confdefs.h <<_ACEOF
7070 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_UPLOAD $ac_have_decl
7071 _ACEOF
7072 ac_fn_c_check_decl "$LINENO" "CURLINFO_STARTTRANSFER_TIME" "ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" "
7073 #include \"curl/curl.h\"
7076 if test "x$ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" = xyes; then :
7077 ac_have_decl=1
7078 else
7079 ac_have_decl=0
7082 cat >>confdefs.h <<_ACEOF
7083 #define HAVE_DECL_CURLINFO_STARTTRANSFER_TIME $ac_have_decl
7084 _ACEOF
7085 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_TYPE" "ac_cv_have_decl_CURLINFO_CONTENT_TYPE" "
7086 #include \"curl/curl.h\"
7089 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_TYPE" = xyes; then :
7090 ac_have_decl=1
7091 else
7092 ac_have_decl=0
7095 cat >>confdefs.h <<_ACEOF
7096 #define HAVE_DECL_CURLINFO_CONTENT_TYPE $ac_have_decl
7097 _ACEOF
7098 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_TIME" "ac_cv_have_decl_CURLINFO_REDIRECT_TIME" "
7099 #include \"curl/curl.h\"
7102 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_TIME" = xyes; then :
7103 ac_have_decl=1
7104 else
7105 ac_have_decl=0
7108 cat >>confdefs.h <<_ACEOF
7109 #define HAVE_DECL_CURLINFO_REDIRECT_TIME $ac_have_decl
7110 _ACEOF
7111 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_COUNT" "ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" "
7112 #include \"curl/curl.h\"
7115 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" = xyes; then :
7116 ac_have_decl=1
7117 else
7118 ac_have_decl=0
7121 cat >>confdefs.h <<_ACEOF
7122 #define HAVE_DECL_CURLINFO_REDIRECT_COUNT $ac_have_decl
7123 _ACEOF
7124 ac_fn_c_check_decl "$LINENO" "CURLINFO_HTTP_CONNECTCODE" "ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" "
7125 #include \"curl/curl.h\"
7128 if test "x$ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" = xyes; then :
7129 ac_have_decl=1
7130 else
7131 ac_have_decl=0
7134 cat >>confdefs.h <<_ACEOF
7135 #define HAVE_DECL_CURLINFO_HTTP_CONNECTCODE $ac_have_decl
7136 _ACEOF
7137 ac_fn_c_check_decl "$LINENO" "CURLINFO_HTTPAUTH_AVAIL" "ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" "
7138 #include \"curl/curl.h\"
7141 if test "x$ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" = xyes; then :
7142 ac_have_decl=1
7143 else
7144 ac_have_decl=0
7147 cat >>confdefs.h <<_ACEOF
7148 #define HAVE_DECL_CURLINFO_HTTPAUTH_AVAIL $ac_have_decl
7149 _ACEOF
7150 ac_fn_c_check_decl "$LINENO" "CURLINFO_PROXYAUTH_AVAIL" "ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" "
7151 #include \"curl/curl.h\"
7154 if test "x$ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" = xyes; then :
7155 ac_have_decl=1
7156 else
7157 ac_have_decl=0
7160 cat >>confdefs.h <<_ACEOF
7161 #define HAVE_DECL_CURLINFO_PROXYAUTH_AVAIL $ac_have_decl
7162 _ACEOF
7163 ac_fn_c_check_decl "$LINENO" "CURLINFO_OS_ERRNO" "ac_cv_have_decl_CURLINFO_OS_ERRNO" "
7164 #include \"curl/curl.h\"
7167 if test "x$ac_cv_have_decl_CURLINFO_OS_ERRNO" = xyes; then :
7168 ac_have_decl=1
7169 else
7170 ac_have_decl=0
7173 cat >>confdefs.h <<_ACEOF
7174 #define HAVE_DECL_CURLINFO_OS_ERRNO $ac_have_decl
7175 _ACEOF
7176 ac_fn_c_check_decl "$LINENO" "CURLINFO_NUM_CONNECTS" "ac_cv_have_decl_CURLINFO_NUM_CONNECTS" "
7177 #include \"curl/curl.h\"
7180 if test "x$ac_cv_have_decl_CURLINFO_NUM_CONNECTS" = xyes; then :
7181 ac_have_decl=1
7182 else
7183 ac_have_decl=0
7186 cat >>confdefs.h <<_ACEOF
7187 #define HAVE_DECL_CURLINFO_NUM_CONNECTS $ac_have_decl
7188 _ACEOF
7189 ac_fn_c_check_decl "$LINENO" "CURLINFO_SSL_ENGINES" "ac_cv_have_decl_CURLINFO_SSL_ENGINES" "
7190 #include \"curl/curl.h\"
7193 if test "x$ac_cv_have_decl_CURLINFO_SSL_ENGINES" = xyes; then :
7194 ac_have_decl=1
7195 else
7196 ac_have_decl=0
7199 cat >>confdefs.h <<_ACEOF
7200 #define HAVE_DECL_CURLINFO_SSL_ENGINES $ac_have_decl
7201 _ACEOF
7202 ac_fn_c_check_decl "$LINENO" "CURLINFO_COOKIELIST" "ac_cv_have_decl_CURLINFO_COOKIELIST" "
7203 #include \"curl/curl.h\"
7206 if test "x$ac_cv_have_decl_CURLINFO_COOKIELIST" = xyes; then :
7207 ac_have_decl=1
7208 else
7209 ac_have_decl=0
7212 cat >>confdefs.h <<_ACEOF
7213 #define HAVE_DECL_CURLINFO_COOKIELIST $ac_have_decl
7214 _ACEOF
7215 ac_fn_c_check_decl "$LINENO" "CURLINFO_LASTSOCKET" "ac_cv_have_decl_CURLINFO_LASTSOCKET" "
7216 #include \"curl/curl.h\"
7219 if test "x$ac_cv_have_decl_CURLINFO_LASTSOCKET" = xyes; then :
7220 ac_have_decl=1
7221 else
7222 ac_have_decl=0
7225 cat >>confdefs.h <<_ACEOF
7226 #define HAVE_DECL_CURLINFO_LASTSOCKET $ac_have_decl
7227 _ACEOF
7228 ac_fn_c_check_decl "$LINENO" "CURLINFO_ACTIVESOCKET" "ac_cv_have_decl_CURLINFO_ACTIVESOCKET" "
7229 #include \"curl/curl.h\"
7232 if test "x$ac_cv_have_decl_CURLINFO_ACTIVESOCKET" = xyes; then :
7233 ac_have_decl=1
7234 else
7235 ac_have_decl=0
7238 cat >>confdefs.h <<_ACEOF
7239 #define HAVE_DECL_CURLINFO_ACTIVESOCKET $ac_have_decl
7240 _ACEOF
7241 ac_fn_c_check_decl "$LINENO" "CURLINFO_FTP_ENTRY_PATH" "ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" "
7242 #include \"curl/curl.h\"
7245 if test "x$ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" = xyes; then :
7246 ac_have_decl=1
7247 else
7248 ac_have_decl=0
7251 cat >>confdefs.h <<_ACEOF
7252 #define HAVE_DECL_CURLINFO_FTP_ENTRY_PATH $ac_have_decl
7253 _ACEOF
7254 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_URL" "ac_cv_have_decl_CURLINFO_REDIRECT_URL" "
7255 #include \"curl/curl.h\"
7258 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_URL" = xyes; then :
7259 ac_have_decl=1
7260 else
7261 ac_have_decl=0
7264 cat >>confdefs.h <<_ACEOF
7265 #define HAVE_DECL_CURLINFO_REDIRECT_URL $ac_have_decl
7266 _ACEOF
7267 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRIMARY_IP" "ac_cv_have_decl_CURLINFO_PRIMARY_IP" "
7268 #include \"curl/curl.h\"
7271 if test "x$ac_cv_have_decl_CURLINFO_PRIMARY_IP" = xyes; then :
7272 ac_have_decl=1
7273 else
7274 ac_have_decl=0
7277 cat >>confdefs.h <<_ACEOF
7278 #define HAVE_DECL_CURLINFO_PRIMARY_IP $ac_have_decl
7279 _ACEOF
7280 ac_fn_c_check_decl "$LINENO" "CURLINFO_LOCAL_IP" "ac_cv_have_decl_CURLINFO_LOCAL_IP" "
7281 #include \"curl/curl.h\"
7284 if test "x$ac_cv_have_decl_CURLINFO_LOCAL_IP" = xyes; then :
7285 ac_have_decl=1
7286 else
7287 ac_have_decl=0
7290 cat >>confdefs.h <<_ACEOF
7291 #define HAVE_DECL_CURLINFO_LOCAL_IP $ac_have_decl
7292 _ACEOF
7293 ac_fn_c_check_decl "$LINENO" "CURLINFO_LOCAL_PORT" "ac_cv_have_decl_CURLINFO_LOCAL_PORT" "
7294 #include \"curl/curl.h\"
7297 if test "x$ac_cv_have_decl_CURLINFO_LOCAL_PORT" = xyes; then :
7298 ac_have_decl=1
7299 else
7300 ac_have_decl=0
7303 cat >>confdefs.h <<_ACEOF
7304 #define HAVE_DECL_CURLINFO_LOCAL_PORT $ac_have_decl
7305 _ACEOF
7306 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONDITION_UNMET" "ac_cv_have_decl_CURLINFO_CONDITION_UNMET" "
7307 #include \"curl/curl.h\"
7310 if test "x$ac_cv_have_decl_CURLINFO_CONDITION_UNMET" = xyes; then :
7311 ac_have_decl=1
7312 else
7313 ac_have_decl=0
7316 cat >>confdefs.h <<_ACEOF
7317 #define HAVE_DECL_CURLINFO_CONDITION_UNMET $ac_have_decl
7318 _ACEOF
7319 ac_fn_c_check_decl "$LINENO" "CURLINFO_CERTINFO" "ac_cv_have_decl_CURLINFO_CERTINFO" "
7320 #include \"curl/curl.h\"
7323 if test "x$ac_cv_have_decl_CURLINFO_CERTINFO" = xyes; then :
7324 ac_have_decl=1
7325 else
7326 ac_have_decl=0
7329 cat >>confdefs.h <<_ACEOF
7330 #define HAVE_DECL_CURLINFO_CERTINFO $ac_have_decl
7331 _ACEOF
7332 ac_fn_c_check_decl "$LINENO" "CURLINFO_HTTP_VERSION" "ac_cv_have_decl_CURLINFO_HTTP_VERSION" "
7333 #include \"curl/curl.h\"
7336 if test "x$ac_cv_have_decl_CURLINFO_HTTP_VERSION" = xyes; then :
7337 ac_have_decl=1
7338 else
7339 ac_have_decl=0
7342 cat >>confdefs.h <<_ACEOF
7343 #define HAVE_DECL_CURLINFO_HTTP_VERSION $ac_have_decl
7344 _ACEOF
7345 ac_fn_c_check_decl "$LINENO" "CURLE_UNSUPPORTED_PROTOCOL" "ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" "
7346 #include \"curl/curl.h\"
7349 if test "x$ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" = xyes; then :
7350 ac_have_decl=1
7351 else
7352 ac_have_decl=0
7355 cat >>confdefs.h <<_ACEOF
7356 #define HAVE_DECL_CURLE_UNSUPPORTED_PROTOCOL $ac_have_decl
7357 _ACEOF
7358 ac_fn_c_check_decl "$LINENO" "CURLE_FAILED_INIT" "ac_cv_have_decl_CURLE_FAILED_INIT" "
7359 #include \"curl/curl.h\"
7362 if test "x$ac_cv_have_decl_CURLE_FAILED_INIT" = xyes; then :
7363 ac_have_decl=1
7364 else
7365 ac_have_decl=0
7368 cat >>confdefs.h <<_ACEOF
7369 #define HAVE_DECL_CURLE_FAILED_INIT $ac_have_decl
7370 _ACEOF
7371 ac_fn_c_check_decl "$LINENO" "CURLE_URL_MALFORMAT" "ac_cv_have_decl_CURLE_URL_MALFORMAT" "
7372 #include \"curl/curl.h\"
7375 if test "x$ac_cv_have_decl_CURLE_URL_MALFORMAT" = xyes; then :
7376 ac_have_decl=1
7377 else
7378 ac_have_decl=0
7381 cat >>confdefs.h <<_ACEOF
7382 #define HAVE_DECL_CURLE_URL_MALFORMAT $ac_have_decl
7383 _ACEOF
7384 ac_fn_c_check_decl "$LINENO" "CURLE_URL_MALFORMAT_USER" "ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" "
7385 #include \"curl/curl.h\"
7388 if test "x$ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" = xyes; then :
7389 ac_have_decl=1
7390 else
7391 ac_have_decl=0
7394 cat >>confdefs.h <<_ACEOF
7395 #define HAVE_DECL_CURLE_URL_MALFORMAT_USER $ac_have_decl
7396 _ACEOF
7397 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_RESOLVE_PROXY" "ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" "
7398 #include \"curl/curl.h\"
7401 if test "x$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" = xyes; then :
7402 ac_have_decl=1
7403 else
7404 ac_have_decl=0
7407 cat >>confdefs.h <<_ACEOF
7408 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_PROXY $ac_have_decl
7409 _ACEOF
7410 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_RESOLVE_HOST" "ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" "
7411 #include \"curl/curl.h\"
7414 if test "x$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" = xyes; then :
7415 ac_have_decl=1
7416 else
7417 ac_have_decl=0
7420 cat >>confdefs.h <<_ACEOF
7421 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_HOST $ac_have_decl
7422 _ACEOF
7423 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_CONNECT" "ac_cv_have_decl_CURLE_COULDNT_CONNECT" "
7424 #include \"curl/curl.h\"
7427 if test "x$ac_cv_have_decl_CURLE_COULDNT_CONNECT" = xyes; then :
7428 ac_have_decl=1
7429 else
7430 ac_have_decl=0
7433 cat >>confdefs.h <<_ACEOF
7434 #define HAVE_DECL_CURLE_COULDNT_CONNECT $ac_have_decl
7435 _ACEOF
7436 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_SERVER_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" "
7437 #include \"curl/curl.h\"
7440 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" = xyes; then :
7441 ac_have_decl=1
7442 else
7443 ac_have_decl=0
7446 cat >>confdefs.h <<_ACEOF
7447 #define HAVE_DECL_CURLE_FTP_WEIRD_SERVER_REPLY $ac_have_decl
7448 _ACEOF
7449 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_ACCESS_DENIED" "ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" "
7450 #include \"curl/curl.h\"
7453 if test "x$ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" = xyes; then :
7454 ac_have_decl=1
7455 else
7456 ac_have_decl=0
7459 cat >>confdefs.h <<_ACEOF
7460 #define HAVE_DECL_CURLE_FTP_ACCESS_DENIED $ac_have_decl
7461 _ACEOF
7462 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_USER_PASSWORD_INCORRECT" "ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" "
7463 #include \"curl/curl.h\"
7466 if test "x$ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" = xyes; then :
7467 ac_have_decl=1
7468 else
7469 ac_have_decl=0
7472 cat >>confdefs.h <<_ACEOF
7473 #define HAVE_DECL_CURLE_FTP_USER_PASSWORD_INCORRECT $ac_have_decl
7474 _ACEOF
7475 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_PASS_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" "
7476 #include \"curl/curl.h\"
7479 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" = xyes; then :
7480 ac_have_decl=1
7481 else
7482 ac_have_decl=0
7485 cat >>confdefs.h <<_ACEOF
7486 #define HAVE_DECL_CURLE_FTP_WEIRD_PASS_REPLY $ac_have_decl
7487 _ACEOF
7488 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_USER_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" "
7489 #include \"curl/curl.h\"
7492 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" = xyes; then :
7493 ac_have_decl=1
7494 else
7495 ac_have_decl=0
7498 cat >>confdefs.h <<_ACEOF
7499 #define HAVE_DECL_CURLE_FTP_WEIRD_USER_REPLY $ac_have_decl
7500 _ACEOF
7501 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_PASV_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY" "
7502 #include \"curl/curl.h\"
7505 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY" = xyes; then :
7506 ac_have_decl=1
7507 else
7508 ac_have_decl=0
7511 cat >>confdefs.h <<_ACEOF
7512 #define HAVE_DECL_CURLE_FTP_WEIRD_PASV_REPLY $ac_have_decl
7513 _ACEOF
7514 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_227_FORMAT" "ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" "
7515 #include \"curl/curl.h\"
7518 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" = xyes; then :
7519 ac_have_decl=1
7520 else
7521 ac_have_decl=0
7524 cat >>confdefs.h <<_ACEOF
7525 #define HAVE_DECL_CURLE_FTP_WEIRD_227_FORMAT $ac_have_decl
7526 _ACEOF
7527 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_CANT_GET_HOST" "ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" "
7528 #include \"curl/curl.h\"
7531 if test "x$ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" = xyes; then :
7532 ac_have_decl=1
7533 else
7534 ac_have_decl=0
7537 cat >>confdefs.h <<_ACEOF
7538 #define HAVE_DECL_CURLE_FTP_CANT_GET_HOST $ac_have_decl
7539 _ACEOF
7540 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_CANT_RECONNECT" "ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" "
7541 #include \"curl/curl.h\"
7544 if test "x$ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" = xyes; then :
7545 ac_have_decl=1
7546 else
7547 ac_have_decl=0
7550 cat >>confdefs.h <<_ACEOF
7551 #define HAVE_DECL_CURLE_FTP_CANT_RECONNECT $ac_have_decl
7552 _ACEOF
7553 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_SET_BINARY" "ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" "
7554 #include \"curl/curl.h\"
7557 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" = xyes; then :
7558 ac_have_decl=1
7559 else
7560 ac_have_decl=0
7563 cat >>confdefs.h <<_ACEOF
7564 #define HAVE_DECL_CURLE_FTP_COULDNT_SET_BINARY $ac_have_decl
7565 _ACEOF
7566 ac_fn_c_check_decl "$LINENO" "CURLE_PARTIAL_FILE" "ac_cv_have_decl_CURLE_PARTIAL_FILE" "
7567 #include \"curl/curl.h\"
7570 if test "x$ac_cv_have_decl_CURLE_PARTIAL_FILE" = xyes; then :
7571 ac_have_decl=1
7572 else
7573 ac_have_decl=0
7576 cat >>confdefs.h <<_ACEOF
7577 #define HAVE_DECL_CURLE_PARTIAL_FILE $ac_have_decl
7578 _ACEOF
7579 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_RETR_FILE" "ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" "
7580 #include \"curl/curl.h\"
7583 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" = xyes; then :
7584 ac_have_decl=1
7585 else
7586 ac_have_decl=0
7589 cat >>confdefs.h <<_ACEOF
7590 #define HAVE_DECL_CURLE_FTP_COULDNT_RETR_FILE $ac_have_decl
7591 _ACEOF
7592 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WRITE_ERROR" "ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" "
7593 #include \"curl/curl.h\"
7596 if test "x$ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" = xyes; then :
7597 ac_have_decl=1
7598 else
7599 ac_have_decl=0
7602 cat >>confdefs.h <<_ACEOF
7603 #define HAVE_DECL_CURLE_FTP_WRITE_ERROR $ac_have_decl
7604 _ACEOF
7605 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_QUOTE_ERROR" "ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" "
7606 #include \"curl/curl.h\"
7609 if test "x$ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" = xyes; then :
7610 ac_have_decl=1
7611 else
7612 ac_have_decl=0
7615 cat >>confdefs.h <<_ACEOF
7616 #define HAVE_DECL_CURLE_FTP_QUOTE_ERROR $ac_have_decl
7617 _ACEOF
7618 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_RETURNED_ERROR" "ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" "
7619 #include \"curl/curl.h\"
7622 if test "x$ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" = xyes; then :
7623 ac_have_decl=1
7624 else
7625 ac_have_decl=0
7628 cat >>confdefs.h <<_ACEOF
7629 #define HAVE_DECL_CURLE_HTTP_RETURNED_ERROR $ac_have_decl
7630 _ACEOF
7631 ac_fn_c_check_decl "$LINENO" "CURLE_WRITE_ERROR" "ac_cv_have_decl_CURLE_WRITE_ERROR" "
7632 #include \"curl/curl.h\"
7635 if test "x$ac_cv_have_decl_CURLE_WRITE_ERROR" = xyes; then :
7636 ac_have_decl=1
7637 else
7638 ac_have_decl=0
7641 cat >>confdefs.h <<_ACEOF
7642 #define HAVE_DECL_CURLE_WRITE_ERROR $ac_have_decl
7643 _ACEOF
7644 ac_fn_c_check_decl "$LINENO" "CURLE_MALFORMAT_USER" "ac_cv_have_decl_CURLE_MALFORMAT_USER" "
7645 #include \"curl/curl.h\"
7648 if test "x$ac_cv_have_decl_CURLE_MALFORMAT_USER" = xyes; then :
7649 ac_have_decl=1
7650 else
7651 ac_have_decl=0
7654 cat >>confdefs.h <<_ACEOF
7655 #define HAVE_DECL_CURLE_MALFORMAT_USER $ac_have_decl
7656 _ACEOF
7657 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_STOR_FILE" "ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" "
7658 #include \"curl/curl.h\"
7661 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" = xyes; then :
7662 ac_have_decl=1
7663 else
7664 ac_have_decl=0
7667 cat >>confdefs.h <<_ACEOF
7668 #define HAVE_DECL_CURLE_FTP_COULDNT_STOR_FILE $ac_have_decl
7669 _ACEOF
7670 ac_fn_c_check_decl "$LINENO" "CURLE_READ_ERROR" "ac_cv_have_decl_CURLE_READ_ERROR" "
7671 #include \"curl/curl.h\"
7674 if test "x$ac_cv_have_decl_CURLE_READ_ERROR" = xyes; then :
7675 ac_have_decl=1
7676 else
7677 ac_have_decl=0
7680 cat >>confdefs.h <<_ACEOF
7681 #define HAVE_DECL_CURLE_READ_ERROR $ac_have_decl
7682 _ACEOF
7683 ac_fn_c_check_decl "$LINENO" "CURLE_OUT_OF_MEMORY" "ac_cv_have_decl_CURLE_OUT_OF_MEMORY" "
7684 #include \"curl/curl.h\"
7687 if test "x$ac_cv_have_decl_CURLE_OUT_OF_MEMORY" = xyes; then :
7688 ac_have_decl=1
7689 else
7690 ac_have_decl=0
7693 cat >>confdefs.h <<_ACEOF
7694 #define HAVE_DECL_CURLE_OUT_OF_MEMORY $ac_have_decl
7695 _ACEOF
7696 ac_fn_c_check_decl "$LINENO" "CURLE_OPERATION_TIMEOUTED" "ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" "
7697 #include \"curl/curl.h\"
7700 if test "x$ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" = xyes; then :
7701 ac_have_decl=1
7702 else
7703 ac_have_decl=0
7706 cat >>confdefs.h <<_ACEOF
7707 #define HAVE_DECL_CURLE_OPERATION_TIMEOUTED $ac_have_decl
7708 _ACEOF
7709 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_SET_ASCII" "ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" "
7710 #include \"curl/curl.h\"
7713 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" = xyes; then :
7714 ac_have_decl=1
7715 else
7716 ac_have_decl=0
7719 cat >>confdefs.h <<_ACEOF
7720 #define HAVE_DECL_CURLE_FTP_COULDNT_SET_ASCII $ac_have_decl
7721 _ACEOF
7722 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_PORT_FAILED" "ac_cv_have_decl_CURLE_FTP_PORT_FAILED" "
7723 #include \"curl/curl.h\"
7726 if test "x$ac_cv_have_decl_CURLE_FTP_PORT_FAILED" = xyes; then :
7727 ac_have_decl=1
7728 else
7729 ac_have_decl=0
7732 cat >>confdefs.h <<_ACEOF
7733 #define HAVE_DECL_CURLE_FTP_PORT_FAILED $ac_have_decl
7734 _ACEOF
7735 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_USE_REST" "ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" "
7736 #include \"curl/curl.h\"
7739 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" = xyes; then :
7740 ac_have_decl=1
7741 else
7742 ac_have_decl=0
7745 cat >>confdefs.h <<_ACEOF
7746 #define HAVE_DECL_CURLE_FTP_COULDNT_USE_REST $ac_have_decl
7747 _ACEOF
7748 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_GET_SIZE" "ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" "
7749 #include \"curl/curl.h\"
7752 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" = xyes; then :
7753 ac_have_decl=1
7754 else
7755 ac_have_decl=0
7758 cat >>confdefs.h <<_ACEOF
7759 #define HAVE_DECL_CURLE_FTP_COULDNT_GET_SIZE $ac_have_decl
7760 _ACEOF
7761 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_RANGE_ERROR" "ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" "
7762 #include \"curl/curl.h\"
7765 if test "x$ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" = xyes; then :
7766 ac_have_decl=1
7767 else
7768 ac_have_decl=0
7771 cat >>confdefs.h <<_ACEOF
7772 #define HAVE_DECL_CURLE_HTTP_RANGE_ERROR $ac_have_decl
7773 _ACEOF
7774 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_POST_ERROR" "ac_cv_have_decl_CURLE_HTTP_POST_ERROR" "
7775 #include \"curl/curl.h\"
7778 if test "x$ac_cv_have_decl_CURLE_HTTP_POST_ERROR" = xyes; then :
7779 ac_have_decl=1
7780 else
7781 ac_have_decl=0
7784 cat >>confdefs.h <<_ACEOF
7785 #define HAVE_DECL_CURLE_HTTP_POST_ERROR $ac_have_decl
7786 _ACEOF
7787 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CONNECT_ERROR" "ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" "
7788 #include \"curl/curl.h\"
7791 if test "x$ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" = xyes; then :
7792 ac_have_decl=1
7793 else
7794 ac_have_decl=0
7797 cat >>confdefs.h <<_ACEOF
7798 #define HAVE_DECL_CURLE_SSL_CONNECT_ERROR $ac_have_decl
7799 _ACEOF
7800 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_DOWNLOAD_RESUME" "ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" "
7801 #include \"curl/curl.h\"
7804 if test "x$ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" = xyes; then :
7805 ac_have_decl=1
7806 else
7807 ac_have_decl=0
7810 cat >>confdefs.h <<_ACEOF
7811 #define HAVE_DECL_CURLE_BAD_DOWNLOAD_RESUME $ac_have_decl
7812 _ACEOF
7813 ac_fn_c_check_decl "$LINENO" "CURLE_FILE_COULDNT_READ_FILE" "ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" "
7814 #include \"curl/curl.h\"
7817 if test "x$ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" = xyes; then :
7818 ac_have_decl=1
7819 else
7820 ac_have_decl=0
7823 cat >>confdefs.h <<_ACEOF
7824 #define HAVE_DECL_CURLE_FILE_COULDNT_READ_FILE $ac_have_decl
7825 _ACEOF
7826 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_CANNOT_BIND" "ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" "
7827 #include \"curl/curl.h\"
7830 if test "x$ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" = xyes; then :
7831 ac_have_decl=1
7832 else
7833 ac_have_decl=0
7836 cat >>confdefs.h <<_ACEOF
7837 #define HAVE_DECL_CURLE_LDAP_CANNOT_BIND $ac_have_decl
7838 _ACEOF
7839 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_SEARCH_FAILED" "ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" "
7840 #include \"curl/curl.h\"
7843 if test "x$ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" = xyes; then :
7844 ac_have_decl=1
7845 else
7846 ac_have_decl=0
7849 cat >>confdefs.h <<_ACEOF
7850 #define HAVE_DECL_CURLE_LDAP_SEARCH_FAILED $ac_have_decl
7851 _ACEOF
7852 ac_fn_c_check_decl "$LINENO" "CURLE_LIBRARY_NOT_FOUND" "ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" "
7853 #include \"curl/curl.h\"
7856 if test "x$ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" = xyes; then :
7857 ac_have_decl=1
7858 else
7859 ac_have_decl=0
7862 cat >>confdefs.h <<_ACEOF
7863 #define HAVE_DECL_CURLE_LIBRARY_NOT_FOUND $ac_have_decl
7864 _ACEOF
7865 ac_fn_c_check_decl "$LINENO" "CURLE_FUNCTION_NOT_FOUND" "ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" "
7866 #include \"curl/curl.h\"
7869 if test "x$ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" = xyes; then :
7870 ac_have_decl=1
7871 else
7872 ac_have_decl=0
7875 cat >>confdefs.h <<_ACEOF
7876 #define HAVE_DECL_CURLE_FUNCTION_NOT_FOUND $ac_have_decl
7877 _ACEOF
7878 ac_fn_c_check_decl "$LINENO" "CURLE_ABORTED_BY_CALLBACK" "ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" "
7879 #include \"curl/curl.h\"
7882 if test "x$ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" = xyes; then :
7883 ac_have_decl=1
7884 else
7885 ac_have_decl=0
7888 cat >>confdefs.h <<_ACEOF
7889 #define HAVE_DECL_CURLE_ABORTED_BY_CALLBACK $ac_have_decl
7890 _ACEOF
7891 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_FUNCTION_ARGUMENT" "ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" "
7892 #include \"curl/curl.h\"
7895 if test "x$ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" = xyes; then :
7896 ac_have_decl=1
7897 else
7898 ac_have_decl=0
7901 cat >>confdefs.h <<_ACEOF
7902 #define HAVE_DECL_CURLE_BAD_FUNCTION_ARGUMENT $ac_have_decl
7903 _ACEOF
7904 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_CALLING_ORDER" "ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" "
7905 #include \"curl/curl.h\"
7908 if test "x$ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" = xyes; then :
7909 ac_have_decl=1
7910 else
7911 ac_have_decl=0
7914 cat >>confdefs.h <<_ACEOF
7915 #define HAVE_DECL_CURLE_BAD_CALLING_ORDER $ac_have_decl
7916 _ACEOF
7917 ac_fn_c_check_decl "$LINENO" "CURLE_INTERFACE_FAILED" "ac_cv_have_decl_CURLE_INTERFACE_FAILED" "
7918 #include \"curl/curl.h\"
7921 if test "x$ac_cv_have_decl_CURLE_INTERFACE_FAILED" = xyes; then :
7922 ac_have_decl=1
7923 else
7924 ac_have_decl=0
7927 cat >>confdefs.h <<_ACEOF
7928 #define HAVE_DECL_CURLE_INTERFACE_FAILED $ac_have_decl
7929 _ACEOF
7930 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_PASSWORD_ENTERED" "ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" "
7931 #include \"curl/curl.h\"
7934 if test "x$ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" = xyes; then :
7935 ac_have_decl=1
7936 else
7937 ac_have_decl=0
7940 cat >>confdefs.h <<_ACEOF
7941 #define HAVE_DECL_CURLE_BAD_PASSWORD_ENTERED $ac_have_decl
7942 _ACEOF
7943 ac_fn_c_check_decl "$LINENO" "CURLE_TOO_MANY_REDIRECTS" "ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" "
7944 #include \"curl/curl.h\"
7947 if test "x$ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" = xyes; then :
7948 ac_have_decl=1
7949 else
7950 ac_have_decl=0
7953 cat >>confdefs.h <<_ACEOF
7954 #define HAVE_DECL_CURLE_TOO_MANY_REDIRECTS $ac_have_decl
7955 _ACEOF
7956 ac_fn_c_check_decl "$LINENO" "CURLE_UNKNOWN_TELNET_OPTION" "ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" "
7957 #include \"curl/curl.h\"
7960 if test "x$ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" = xyes; then :
7961 ac_have_decl=1
7962 else
7963 ac_have_decl=0
7966 cat >>confdefs.h <<_ACEOF
7967 #define HAVE_DECL_CURLE_UNKNOWN_TELNET_OPTION $ac_have_decl
7968 _ACEOF
7969 ac_fn_c_check_decl "$LINENO" "CURLE_TELNET_OPTION_SYNTAX" "ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" "
7970 #include \"curl/curl.h\"
7973 if test "x$ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" = xyes; then :
7974 ac_have_decl=1
7975 else
7976 ac_have_decl=0
7979 cat >>confdefs.h <<_ACEOF
7980 #define HAVE_DECL_CURLE_TELNET_OPTION_SYNTAX $ac_have_decl
7981 _ACEOF
7982 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_PEER_CERTIFICATE" "ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" "
7983 #include \"curl/curl.h\"
7986 if test "x$ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" = xyes; then :
7987 ac_have_decl=1
7988 else
7989 ac_have_decl=0
7992 cat >>confdefs.h <<_ACEOF
7993 #define HAVE_DECL_CURLE_SSL_PEER_CERTIFICATE $ac_have_decl
7994 _ACEOF
7995 ac_fn_c_check_decl "$LINENO" "CURLE_GOT_NOTHING" "ac_cv_have_decl_CURLE_GOT_NOTHING" "
7996 #include \"curl/curl.h\"
7999 if test "x$ac_cv_have_decl_CURLE_GOT_NOTHING" = xyes; then :
8000 ac_have_decl=1
8001 else
8002 ac_have_decl=0
8005 cat >>confdefs.h <<_ACEOF
8006 #define HAVE_DECL_CURLE_GOT_NOTHING $ac_have_decl
8007 _ACEOF
8008 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_NOTFOUND" "ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" "
8009 #include \"curl/curl.h\"
8012 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" = xyes; then :
8013 ac_have_decl=1
8014 else
8015 ac_have_decl=0
8018 cat >>confdefs.h <<_ACEOF
8019 #define HAVE_DECL_CURLE_SSL_ENGINE_NOTFOUND $ac_have_decl
8020 _ACEOF
8021 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_SETFAILED" "ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" "
8022 #include \"curl/curl.h\"
8025 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" = xyes; then :
8026 ac_have_decl=1
8027 else
8028 ac_have_decl=0
8031 cat >>confdefs.h <<_ACEOF
8032 #define HAVE_DECL_CURLE_SSL_ENGINE_SETFAILED $ac_have_decl
8033 _ACEOF
8034 ac_fn_c_check_decl "$LINENO" "CURLE_SEND_ERROR" "ac_cv_have_decl_CURLE_SEND_ERROR" "
8035 #include \"curl/curl.h\"
8038 if test "x$ac_cv_have_decl_CURLE_SEND_ERROR" = xyes; then :
8039 ac_have_decl=1
8040 else
8041 ac_have_decl=0
8044 cat >>confdefs.h <<_ACEOF
8045 #define HAVE_DECL_CURLE_SEND_ERROR $ac_have_decl
8046 _ACEOF
8047 ac_fn_c_check_decl "$LINENO" "CURLE_RECV_ERROR" "ac_cv_have_decl_CURLE_RECV_ERROR" "
8048 #include \"curl/curl.h\"
8051 if test "x$ac_cv_have_decl_CURLE_RECV_ERROR" = xyes; then :
8052 ac_have_decl=1
8053 else
8054 ac_have_decl=0
8057 cat >>confdefs.h <<_ACEOF
8058 #define HAVE_DECL_CURLE_RECV_ERROR $ac_have_decl
8059 _ACEOF
8060 ac_fn_c_check_decl "$LINENO" "CURLE_SHARE_IN_USE" "ac_cv_have_decl_CURLE_SHARE_IN_USE" "
8061 #include \"curl/curl.h\"
8064 if test "x$ac_cv_have_decl_CURLE_SHARE_IN_USE" = xyes; then :
8065 ac_have_decl=1
8066 else
8067 ac_have_decl=0
8070 cat >>confdefs.h <<_ACEOF
8071 #define HAVE_DECL_CURLE_SHARE_IN_USE $ac_have_decl
8072 _ACEOF
8073 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CERTPROBLEM" "ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" "
8074 #include \"curl/curl.h\"
8077 if test "x$ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" = xyes; then :
8078 ac_have_decl=1
8079 else
8080 ac_have_decl=0
8083 cat >>confdefs.h <<_ACEOF
8084 #define HAVE_DECL_CURLE_SSL_CERTPROBLEM $ac_have_decl
8085 _ACEOF
8086 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CIPHER" "ac_cv_have_decl_CURLE_SSL_CIPHER" "
8087 #include \"curl/curl.h\"
8090 if test "x$ac_cv_have_decl_CURLE_SSL_CIPHER" = xyes; then :
8091 ac_have_decl=1
8092 else
8093 ac_have_decl=0
8096 cat >>confdefs.h <<_ACEOF
8097 #define HAVE_DECL_CURLE_SSL_CIPHER $ac_have_decl
8098 _ACEOF
8099 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CACERT" "ac_cv_have_decl_CURLE_SSL_CACERT" "
8100 #include \"curl/curl.h\"
8103 if test "x$ac_cv_have_decl_CURLE_SSL_CACERT" = xyes; then :
8104 ac_have_decl=1
8105 else
8106 ac_have_decl=0
8109 cat >>confdefs.h <<_ACEOF
8110 #define HAVE_DECL_CURLE_SSL_CACERT $ac_have_decl
8111 _ACEOF
8112 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_CONTENT_ENCODING" "ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" "
8113 #include \"curl/curl.h\"
8116 if test "x$ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" = xyes; then :
8117 ac_have_decl=1
8118 else
8119 ac_have_decl=0
8122 cat >>confdefs.h <<_ACEOF
8123 #define HAVE_DECL_CURLE_BAD_CONTENT_ENCODING $ac_have_decl
8124 _ACEOF
8125 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_INVALID_URL" "ac_cv_have_decl_CURLE_LDAP_INVALID_URL" "
8126 #include \"curl/curl.h\"
8129 if test "x$ac_cv_have_decl_CURLE_LDAP_INVALID_URL" = xyes; then :
8130 ac_have_decl=1
8131 else
8132 ac_have_decl=0
8135 cat >>confdefs.h <<_ACEOF
8136 #define HAVE_DECL_CURLE_LDAP_INVALID_URL $ac_have_decl
8137 _ACEOF
8138 ac_fn_c_check_decl "$LINENO" "CURLE_FILESIZE_EXCEEDED" "ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" "
8139 #include \"curl/curl.h\"
8142 if test "x$ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" = xyes; then :
8143 ac_have_decl=1
8144 else
8145 ac_have_decl=0
8148 cat >>confdefs.h <<_ACEOF
8149 #define HAVE_DECL_CURLE_FILESIZE_EXCEEDED $ac_have_decl
8150 _ACEOF
8151 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_SSL_FAILED" "ac_cv_have_decl_CURLE_FTP_SSL_FAILED" "
8152 #include \"curl/curl.h\"
8155 if test "x$ac_cv_have_decl_CURLE_FTP_SSL_FAILED" = xyes; then :
8156 ac_have_decl=1
8157 else
8158 ac_have_decl=0
8161 cat >>confdefs.h <<_ACEOF
8162 #define HAVE_DECL_CURLE_FTP_SSL_FAILED $ac_have_decl
8163 _ACEOF
8164 ac_fn_c_check_decl "$LINENO" "CURLE_SEND_FAIL_REWIND" "ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" "
8165 #include \"curl/curl.h\"
8168 if test "x$ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" = xyes; then :
8169 ac_have_decl=1
8170 else
8171 ac_have_decl=0
8174 cat >>confdefs.h <<_ACEOF
8175 #define HAVE_DECL_CURLE_SEND_FAIL_REWIND $ac_have_decl
8176 _ACEOF
8177 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_INITFAILED" "ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" "
8178 #include \"curl/curl.h\"
8181 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" = xyes; then :
8182 ac_have_decl=1
8183 else
8184 ac_have_decl=0
8187 cat >>confdefs.h <<_ACEOF
8188 #define HAVE_DECL_CURLE_SSL_ENGINE_INITFAILED $ac_have_decl
8189 _ACEOF
8190 ac_fn_c_check_decl "$LINENO" "CURLE_LOGIN_DENIED" "ac_cv_have_decl_CURLE_LOGIN_DENIED" "
8191 #include \"curl/curl.h\"
8194 if test "x$ac_cv_have_decl_CURLE_LOGIN_DENIED" = xyes; then :
8195 ac_have_decl=1
8196 else
8197 ac_have_decl=0
8200 cat >>confdefs.h <<_ACEOF
8201 #define HAVE_DECL_CURLE_LOGIN_DENIED $ac_have_decl
8202 _ACEOF
8203 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_NOTFOUND" "ac_cv_have_decl_CURLE_TFTP_NOTFOUND" "
8204 #include \"curl/curl.h\"
8207 if test "x$ac_cv_have_decl_CURLE_TFTP_NOTFOUND" = xyes; then :
8208 ac_have_decl=1
8209 else
8210 ac_have_decl=0
8213 cat >>confdefs.h <<_ACEOF
8214 #define HAVE_DECL_CURLE_TFTP_NOTFOUND $ac_have_decl
8215 _ACEOF
8216 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_PERM" "ac_cv_have_decl_CURLE_TFTP_PERM" "
8217 #include \"curl/curl.h\"
8220 if test "x$ac_cv_have_decl_CURLE_TFTP_PERM" = xyes; then :
8221 ac_have_decl=1
8222 else
8223 ac_have_decl=0
8226 cat >>confdefs.h <<_ACEOF
8227 #define HAVE_DECL_CURLE_TFTP_PERM $ac_have_decl
8228 _ACEOF
8229 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_DISK_FULL" "ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" "
8230 #include \"curl/curl.h\"
8233 if test "x$ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" = xyes; then :
8234 ac_have_decl=1
8235 else
8236 ac_have_decl=0
8239 cat >>confdefs.h <<_ACEOF
8240 #define HAVE_DECL_CURLE_REMOTE_DISK_FULL $ac_have_decl
8241 _ACEOF
8242 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_ILLEGAL" "ac_cv_have_decl_CURLE_TFTP_ILLEGAL" "
8243 #include \"curl/curl.h\"
8246 if test "x$ac_cv_have_decl_CURLE_TFTP_ILLEGAL" = xyes; then :
8247 ac_have_decl=1
8248 else
8249 ac_have_decl=0
8252 cat >>confdefs.h <<_ACEOF
8253 #define HAVE_DECL_CURLE_TFTP_ILLEGAL $ac_have_decl
8254 _ACEOF
8255 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_UNKNOWNID" "ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" "
8256 #include \"curl/curl.h\"
8259 if test "x$ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" = xyes; then :
8260 ac_have_decl=1
8261 else
8262 ac_have_decl=0
8265 cat >>confdefs.h <<_ACEOF
8266 #define HAVE_DECL_CURLE_TFTP_UNKNOWNID $ac_have_decl
8267 _ACEOF
8268 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_FILE_EXISTS" "ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" "
8269 #include \"curl/curl.h\"
8272 if test "x$ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" = xyes; then :
8273 ac_have_decl=1
8274 else
8275 ac_have_decl=0
8278 cat >>confdefs.h <<_ACEOF
8279 #define HAVE_DECL_CURLE_REMOTE_FILE_EXISTS $ac_have_decl
8280 _ACEOF
8281 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_NOSUCHUSER" "ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" "
8282 #include \"curl/curl.h\"
8285 if test "x$ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" = xyes; then :
8286 ac_have_decl=1
8287 else
8288 ac_have_decl=0
8291 cat >>confdefs.h <<_ACEOF
8292 #define HAVE_DECL_CURLE_TFTP_NOSUCHUSER $ac_have_decl
8293 _ACEOF
8294 ac_fn_c_check_decl "$LINENO" "CURLE_CONV_FAILED" "ac_cv_have_decl_CURLE_CONV_FAILED" "
8295 #include \"curl/curl.h\"
8298 if test "x$ac_cv_have_decl_CURLE_CONV_FAILED" = xyes; then :
8299 ac_have_decl=1
8300 else
8301 ac_have_decl=0
8304 cat >>confdefs.h <<_ACEOF
8305 #define HAVE_DECL_CURLE_CONV_FAILED $ac_have_decl
8306 _ACEOF
8307 ac_fn_c_check_decl "$LINENO" "CURLE_CONV_REQD" "ac_cv_have_decl_CURLE_CONV_REQD" "
8308 #include \"curl/curl.h\"
8311 if test "x$ac_cv_have_decl_CURLE_CONV_REQD" = xyes; then :
8312 ac_have_decl=1
8313 else
8314 ac_have_decl=0
8317 cat >>confdefs.h <<_ACEOF
8318 #define HAVE_DECL_CURLE_CONV_REQD $ac_have_decl
8319 _ACEOF
8320 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CACERT_BADFILE" "ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" "
8321 #include \"curl/curl.h\"
8324 if test "x$ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" = xyes; then :
8325 ac_have_decl=1
8326 else
8327 ac_have_decl=0
8330 cat >>confdefs.h <<_ACEOF
8331 #define HAVE_DECL_CURLE_SSL_CACERT_BADFILE $ac_have_decl
8332 _ACEOF
8333 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_FILE_NOT_FOUND" "ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" "
8334 #include \"curl/curl.h\"
8337 if test "x$ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" = xyes; then :
8338 ac_have_decl=1
8339 else
8340 ac_have_decl=0
8343 cat >>confdefs.h <<_ACEOF
8344 #define HAVE_DECL_CURLE_REMOTE_FILE_NOT_FOUND $ac_have_decl
8345 _ACEOF
8346 ac_fn_c_check_decl "$LINENO" "CURLE_SSH" "ac_cv_have_decl_CURLE_SSH" "
8347 #include \"curl/curl.h\"
8350 if test "x$ac_cv_have_decl_CURLE_SSH" = xyes; then :
8351 ac_have_decl=1
8352 else
8353 ac_have_decl=0
8356 cat >>confdefs.h <<_ACEOF
8357 #define HAVE_DECL_CURLE_SSH $ac_have_decl
8358 _ACEOF
8359 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_SHUTDOWN_FAILED" "ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED" "
8360 #include \"curl/curl.h\"
8363 if test "x$ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED" = xyes; then :
8364 ac_have_decl=1
8365 else
8366 ac_have_decl=0
8369 cat >>confdefs.h <<_ACEOF
8370 #define HAVE_DECL_CURLE_SSL_SHUTDOWN_FAILED $ac_have_decl
8371 _ACEOF
8372 ac_fn_c_check_decl "$LINENO" "CURLE_AGAIN" "ac_cv_have_decl_CURLE_AGAIN" "
8373 #include \"curl/curl.h\"
8376 if test "x$ac_cv_have_decl_CURLE_AGAIN" = xyes; then :
8377 ac_have_decl=1
8378 else
8379 ac_have_decl=0
8382 cat >>confdefs.h <<_ACEOF
8383 #define HAVE_DECL_CURLE_AGAIN $ac_have_decl
8384 _ACEOF
8385 ac_fn_c_check_decl "$LINENO" "CURLMOPT_MAXCONNECTS" "ac_cv_have_decl_CURLMOPT_MAXCONNECTS" "
8386 #include \"curl/curl.h\"
8389 if test "x$ac_cv_have_decl_CURLMOPT_MAXCONNECTS" = xyes; then :
8390 ac_have_decl=1
8391 else
8392 ac_have_decl=0
8395 cat >>confdefs.h <<_ACEOF
8396 #define HAVE_DECL_CURLMOPT_MAXCONNECTS $ac_have_decl
8397 _ACEOF
8398 ac_fn_c_check_decl "$LINENO" "CURLMOPT_PIPELINING" "ac_cv_have_decl_CURLMOPT_PIPELINING" "
8399 #include \"curl/curl.h\"
8402 if test "x$ac_cv_have_decl_CURLMOPT_PIPELINING" = xyes; then :
8403 ac_have_decl=1
8404 else
8405 ac_have_decl=0
8408 cat >>confdefs.h <<_ACEOF
8409 #define HAVE_DECL_CURLMOPT_PIPELINING $ac_have_decl
8410 _ACEOF
8411 ac_fn_c_check_decl "$LINENO" "CURLMOPT_MAX_PIPELINE_LENGTH" "ac_cv_have_decl_CURLMOPT_MAX_PIPELINE_LENGTH" "
8412 #include \"curl/curl.h\"
8415 if test "x$ac_cv_have_decl_CURLMOPT_MAX_PIPELINE_LENGTH" = xyes; then :
8416 ac_have_decl=1
8417 else
8418 ac_have_decl=0
8421 cat >>confdefs.h <<_ACEOF
8422 #define HAVE_DECL_CURLMOPT_MAX_PIPELINE_LENGTH $ac_have_decl
8423 _ACEOF
8424 ac_fn_c_check_decl "$LINENO" "CURLMOPT_MAX_HOST_CONNECTIONS" "ac_cv_have_decl_CURLMOPT_MAX_HOST_CONNECTIONS" "
8425 #include \"curl/curl.h\"
8428 if test "x$ac_cv_have_decl_CURLMOPT_MAX_HOST_CONNECTIONS" = xyes; then :
8429 ac_have_decl=1
8430 else
8431 ac_have_decl=0
8434 cat >>confdefs.h <<_ACEOF
8435 #define HAVE_DECL_CURLMOPT_MAX_HOST_CONNECTIONS $ac_have_decl
8436 _ACEOF
8437 ac_fn_c_check_decl "$LINENO" "CURLMOPT_MAX_TOTAL_CONNECTIONS" "ac_cv_have_decl_CURLMOPT_MAX_TOTAL_CONNECTIONS" "
8438 #include \"curl/curl.h\"
8441 if test "x$ac_cv_have_decl_CURLMOPT_MAX_TOTAL_CONNECTIONS" = xyes; then :
8442 ac_have_decl=1
8443 else
8444 ac_have_decl=0
8447 cat >>confdefs.h <<_ACEOF
8448 #define HAVE_DECL_CURLMOPT_MAX_TOTAL_CONNECTIONS $ac_have_decl
8449 _ACEOF
8450 ac_fn_c_check_decl "$LINENO" "CURL_SSLVERSION_TLSv1_0" "ac_cv_have_decl_CURL_SSLVERSION_TLSv1_0" "
8451 #include \"curl/curl.h\"
8454 if test "x$ac_cv_have_decl_CURL_SSLVERSION_TLSv1_0" = xyes; then :
8455 ac_have_decl=1
8456 else
8457 ac_have_decl=0
8460 cat >>confdefs.h <<_ACEOF
8461 #define HAVE_DECL_CURL_SSLVERSION_TLSV1_0 $ac_have_decl
8462 _ACEOF
8463 ac_fn_c_check_decl "$LINENO" "CURL_SSLVERSION_TLSv1_1" "ac_cv_have_decl_CURL_SSLVERSION_TLSv1_1" "
8464 #include \"curl/curl.h\"
8467 if test "x$ac_cv_have_decl_CURL_SSLVERSION_TLSv1_1" = xyes; then :
8468 ac_have_decl=1
8469 else
8470 ac_have_decl=0
8473 cat >>confdefs.h <<_ACEOF
8474 #define HAVE_DECL_CURL_SSLVERSION_TLSV1_1 $ac_have_decl
8475 _ACEOF
8476 ac_fn_c_check_decl "$LINENO" "CURL_SSLVERSION_TLSv1_2" "ac_cv_have_decl_CURL_SSLVERSION_TLSv1_2" "
8477 #include \"curl/curl.h\"
8480 if test "x$ac_cv_have_decl_CURL_SSLVERSION_TLSv1_2" = xyes; then :
8481 ac_have_decl=1
8482 else
8483 ac_have_decl=0
8486 cat >>confdefs.h <<_ACEOF
8487 #define HAVE_DECL_CURL_SSLVERSION_TLSV1_2 $ac_have_decl
8488 _ACEOF
8489 ac_fn_c_check_decl "$LINENO" "CURL_SSLVERSION_TLSv1_3" "ac_cv_have_decl_CURL_SSLVERSION_TLSv1_3" "
8490 #include \"curl/curl.h\"
8493 if test "x$ac_cv_have_decl_CURL_SSLVERSION_TLSv1_3" = xyes; then :
8494 ac_have_decl=1
8495 else
8496 ac_have_decl=0
8499 cat >>confdefs.h <<_ACEOF
8500 #define HAVE_DECL_CURL_SSLVERSION_TLSV1_3 $ac_have_decl
8501 _ACEOF
8502 ac_fn_c_check_decl "$LINENO" "CURL_HTTP_VERSION_2" "ac_cv_have_decl_CURL_HTTP_VERSION_2" "
8503 #include \"curl/curl.h\"
8506 if test "x$ac_cv_have_decl_CURL_HTTP_VERSION_2" = xyes; then :
8507 ac_have_decl=1
8508 else
8509 ac_have_decl=0
8512 cat >>confdefs.h <<_ACEOF
8513 #define HAVE_DECL_CURL_HTTP_VERSION_2 $ac_have_decl
8514 _ACEOF
8515 ac_fn_c_check_decl "$LINENO" "CURL_HTTP_VERSION_2_0" "ac_cv_have_decl_CURL_HTTP_VERSION_2_0" "
8516 #include \"curl/curl.h\"
8519 if test "x$ac_cv_have_decl_CURL_HTTP_VERSION_2_0" = xyes; then :
8520 ac_have_decl=1
8521 else
8522 ac_have_decl=0
8525 cat >>confdefs.h <<_ACEOF
8526 #define HAVE_DECL_CURL_HTTP_VERSION_2_0 $ac_have_decl
8527 _ACEOF
8528 ac_fn_c_check_decl "$LINENO" "CURL_HTTP_VERSION_2TLS" "ac_cv_have_decl_CURL_HTTP_VERSION_2TLS" "
8529 #include \"curl/curl.h\"
8532 if test "x$ac_cv_have_decl_CURL_HTTP_VERSION_2TLS" = xyes; then :
8533 ac_have_decl=1
8534 else
8535 ac_have_decl=0
8538 cat >>confdefs.h <<_ACEOF
8539 #define HAVE_DECL_CURL_HTTP_VERSION_2TLS $ac_have_decl
8540 _ACEOF
8541 ac_fn_c_check_decl "$LINENO" "CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE" "ac_cv_have_decl_CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE" "
8542 #include \"curl/curl.h\"
8545 if test "x$ac_cv_have_decl_CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE" = xyes; then :
8546 ac_have_decl=1
8547 else
8548 ac_have_decl=0
8551 cat >>confdefs.h <<_ACEOF
8552 #define HAVE_DECL_CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE $ac_have_decl
8553 _ACEOF
8554 ac_fn_c_check_decl "$LINENO" "CURL_HTTP_VERSION_3" "ac_cv_have_decl_CURL_HTTP_VERSION_3" "
8555 #include \"curl/curl.h\"
8558 if test "x$ac_cv_have_decl_CURL_HTTP_VERSION_3" = xyes; then :
8559 ac_have_decl=1
8560 else
8561 ac_have_decl=0
8564 cat >>confdefs.h <<_ACEOF
8565 #define HAVE_DECL_CURL_HTTP_VERSION_3 $ac_have_decl
8566 _ACEOF
8567 ac_fn_c_check_decl "$LINENO" "CURLSSLBACKEND_NONE" "ac_cv_have_decl_CURLSSLBACKEND_NONE" "
8568 #include \"curl/curl.h\"
8571 if test "x$ac_cv_have_decl_CURLSSLBACKEND_NONE" = xyes; then :
8572 ac_have_decl=1
8573 else
8574 ac_have_decl=0
8577 cat >>confdefs.h <<_ACEOF
8578 #define HAVE_DECL_CURLSSLBACKEND_NONE $ac_have_decl
8579 _ACEOF
8580 ac_fn_c_check_decl "$LINENO" "CURLSSLBACKEND_OPENSSL" "ac_cv_have_decl_CURLSSLBACKEND_OPENSSL" "
8581 #include \"curl/curl.h\"
8584 if test "x$ac_cv_have_decl_CURLSSLBACKEND_OPENSSL" = xyes; then :
8585 ac_have_decl=1
8586 else
8587 ac_have_decl=0
8590 cat >>confdefs.h <<_ACEOF
8591 #define HAVE_DECL_CURLSSLBACKEND_OPENSSL $ac_have_decl
8592 _ACEOF
8593 ac_fn_c_check_decl "$LINENO" "CURLSSLBACKEND_GNUTLS" "ac_cv_have_decl_CURLSSLBACKEND_GNUTLS" "
8594 #include \"curl/curl.h\"
8597 if test "x$ac_cv_have_decl_CURLSSLBACKEND_GNUTLS" = xyes; then :
8598 ac_have_decl=1
8599 else
8600 ac_have_decl=0
8603 cat >>confdefs.h <<_ACEOF
8604 #define HAVE_DECL_CURLSSLBACKEND_GNUTLS $ac_have_decl
8605 _ACEOF
8606 ac_fn_c_check_decl "$LINENO" "CURLSSLBACKEND_NSS" "ac_cv_have_decl_CURLSSLBACKEND_NSS" "
8607 #include \"curl/curl.h\"
8610 if test "x$ac_cv_have_decl_CURLSSLBACKEND_NSS" = xyes; then :
8611 ac_have_decl=1
8612 else
8613 ac_have_decl=0
8616 cat >>confdefs.h <<_ACEOF
8617 #define HAVE_DECL_CURLSSLBACKEND_NSS $ac_have_decl
8618 _ACEOF
8619 ac_fn_c_check_decl "$LINENO" "CURLSSLBACKEND_GSKIT" "ac_cv_have_decl_CURLSSLBACKEND_GSKIT" "
8620 #include \"curl/curl.h\"
8623 if test "x$ac_cv_have_decl_CURLSSLBACKEND_GSKIT" = xyes; then :
8624 ac_have_decl=1
8625 else
8626 ac_have_decl=0
8629 cat >>confdefs.h <<_ACEOF
8630 #define HAVE_DECL_CURLSSLBACKEND_GSKIT $ac_have_decl
8631 _ACEOF
8632 ac_fn_c_check_decl "$LINENO" "CURLSSLBACKEND_WOLFSSL" "ac_cv_have_decl_CURLSSLBACKEND_WOLFSSL" "
8633 #include \"curl/curl.h\"
8636 if test "x$ac_cv_have_decl_CURLSSLBACKEND_WOLFSSL" = xyes; then :
8637 ac_have_decl=1
8638 else
8639 ac_have_decl=0
8642 cat >>confdefs.h <<_ACEOF
8643 #define HAVE_DECL_CURLSSLBACKEND_WOLFSSL $ac_have_decl
8644 _ACEOF
8645 ac_fn_c_check_decl "$LINENO" "CURLSSLBACKEND_SCHANNEL" "ac_cv_have_decl_CURLSSLBACKEND_SCHANNEL" "
8646 #include \"curl/curl.h\"
8649 if test "x$ac_cv_have_decl_CURLSSLBACKEND_SCHANNEL" = xyes; then :
8650 ac_have_decl=1
8651 else
8652 ac_have_decl=0
8655 cat >>confdefs.h <<_ACEOF
8656 #define HAVE_DECL_CURLSSLBACKEND_SCHANNEL $ac_have_decl
8657 _ACEOF
8658 ac_fn_c_check_decl "$LINENO" "CURLSSLBACKEND_SECURETRANSPORT" "ac_cv_have_decl_CURLSSLBACKEND_SECURETRANSPORT" "
8659 #include \"curl/curl.h\"
8662 if test "x$ac_cv_have_decl_CURLSSLBACKEND_SECURETRANSPORT" = xyes; then :
8663 ac_have_decl=1
8664 else
8665 ac_have_decl=0
8668 cat >>confdefs.h <<_ACEOF
8669 #define HAVE_DECL_CURLSSLBACKEND_SECURETRANSPORT $ac_have_decl
8670 _ACEOF
8671 ac_fn_c_check_decl "$LINENO" "CURLSSLBACKEND_MBEDTLS" "ac_cv_have_decl_CURLSSLBACKEND_MBEDTLS" "
8672 #include \"curl/curl.h\"
8675 if test "x$ac_cv_have_decl_CURLSSLBACKEND_MBEDTLS" = xyes; then :
8676 ac_have_decl=1
8677 else
8678 ac_have_decl=0
8681 cat >>confdefs.h <<_ACEOF
8682 #define HAVE_DECL_CURLSSLBACKEND_MBEDTLS $ac_have_decl
8683 _ACEOF
8684 ac_fn_c_check_decl "$LINENO" "CURLSSLBACKEND_MESALINK" "ac_cv_have_decl_CURLSSLBACKEND_MESALINK" "
8685 #include \"curl/curl.h\"
8688 if test "x$ac_cv_have_decl_CURLSSLBACKEND_MESALINK" = xyes; then :
8689 ac_have_decl=1
8690 else
8691 ac_have_decl=0
8694 cat >>confdefs.h <<_ACEOF
8695 #define HAVE_DECL_CURLSSLBACKEND_MESALINK $ac_have_decl
8696 _ACEOF
8697 ac_fn_c_check_decl "$LINENO" "CURLSSLBACKEND_BEARSSL" "ac_cv_have_decl_CURLSSLBACKEND_BEARSSL" "
8698 #include \"curl/curl.h\"
8701 if test "x$ac_cv_have_decl_CURLSSLBACKEND_BEARSSL" = xyes; then :
8702 ac_have_decl=1
8703 else
8704 ac_have_decl=0
8707 cat >>confdefs.h <<_ACEOF
8708 #define HAVE_DECL_CURLSSLBACKEND_BEARSSL $ac_have_decl
8709 _ACEOF
8710 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_OPTIONS" "ac_cv_have_decl_CURLOPT_SSL_OPTIONS" "
8711 #include \"curl/curl.h\"
8714 if test "x$ac_cv_have_decl_CURLOPT_SSL_OPTIONS" = xyes; then :
8715 ac_have_decl=1
8716 else
8717 ac_have_decl=0
8720 cat >>confdefs.h <<_ACEOF
8721 #define HAVE_DECL_CURLOPT_SSL_OPTIONS $ac_have_decl
8722 _ACEOF
8723 ac_fn_c_check_decl "$LINENO" "CURL_VERSION_TLSAUTH_SRP" "ac_cv_have_decl_CURL_VERSION_TLSAUTH_SRP" "
8724 #include \"curl/curl.h\"
8727 if test "x$ac_cv_have_decl_CURL_VERSION_TLSAUTH_SRP" = xyes; then :
8728 ac_have_decl=1
8729 else
8730 ac_have_decl=0
8733 cat >>confdefs.h <<_ACEOF
8734 #define HAVE_DECL_CURL_VERSION_TLSAUTH_SRP $ac_have_decl
8735 _ACEOF
8736 ac_fn_c_check_decl "$LINENO" "CURL_VERSION_NTLM_WB" "ac_cv_have_decl_CURL_VERSION_NTLM_WB" "
8737 #include \"curl/curl.h\"
8740 if test "x$ac_cv_have_decl_CURL_VERSION_NTLM_WB" = xyes; then :
8741 ac_have_decl=1
8742 else
8743 ac_have_decl=0
8746 cat >>confdefs.h <<_ACEOF
8747 #define HAVE_DECL_CURL_VERSION_NTLM_WB $ac_have_decl
8748 _ACEOF
8751 ac_fn_c_check_decl "$LINENO" "curl_multi_poll" "ac_cv_have_decl_curl_multi_poll" "
8752 #include \"curl/curl.h\"
8755 if test "x$ac_cv_have_decl_curl_multi_poll" = xyes; then :
8756 ac_have_decl=1
8757 else
8758 ac_have_decl=0
8761 cat >>confdefs.h <<_ACEOF
8762 #define HAVE_DECL_CURL_MULTI_POLL $ac_have_decl
8763 _ACEOF
8764 if test $ac_have_decl = 1; then :
8766 $as_echo "#define HAVE_CURL_MULTI_POLL 1" >>confdefs.h
8771 ac_config_headers="$ac_config_headers config.h"
8773 ac_config_files="$ac_config_files Makefile examples/Makefile"
8776 cat >confcache <<\_ACEOF
8777 # This file is a shell script that caches the results of configure
8778 # tests run on this system so they can be shared between configure
8779 # scripts and configure runs, see configure's option --config-cache.
8780 # It is not useful on other systems. If it contains results you don't
8781 # want to keep, you may remove or edit it.
8783 # config.status only pays attention to the cache file if you give it
8784 # the --recheck option to rerun configure.
8786 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8787 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8788 # following values.
8790 _ACEOF
8792 # The following way of writing the cache mishandles newlines in values,
8793 # but we know of no workaround that is simple, portable, and efficient.
8794 # So, we kill variables containing newlines.
8795 # Ultrix sh set writes to stderr and can't be redirected directly,
8796 # and sets the high bit in the cache file unless we assign to the vars.
8798 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8799 eval ac_val=\$$ac_var
8800 case $ac_val in #(
8801 *${as_nl}*)
8802 case $ac_var in #(
8803 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8804 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8805 esac
8806 case $ac_var in #(
8807 _ | IFS | as_nl) ;; #(
8808 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8809 *) { eval $ac_var=; unset $ac_var;} ;;
8810 esac ;;
8811 esac
8812 done
8814 (set) 2>&1 |
8815 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8816 *${as_nl}ac_space=\ *)
8817 # `set' does not quote correctly, so add quotes: double-quote
8818 # substitution turns \\\\ into \\, and sed turns \\ into \.
8819 sed -n \
8820 "s/'/'\\\\''/g;
8821 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8822 ;; #(
8824 # `set' quotes correctly as required by POSIX, so do not add quotes.
8825 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8827 esac |
8828 sort
8830 sed '
8831 /^ac_cv_env_/b end
8832 t clear
8833 :clear
8834 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8835 t end
8836 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8837 :end' >>confcache
8838 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8839 if test -w "$cache_file"; then
8840 if test "x$cache_file" != "x/dev/null"; then
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8842 $as_echo "$as_me: updating cache $cache_file" >&6;}
8843 if test ! -f "$cache_file" || test -h "$cache_file"; then
8844 cat confcache >"$cache_file"
8845 else
8846 case $cache_file in #(
8847 */* | ?:*)
8848 mv -f confcache "$cache_file"$$ &&
8849 mv -f "$cache_file"$$ "$cache_file" ;; #(
8851 mv -f confcache "$cache_file" ;;
8852 esac
8855 else
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8857 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8860 rm -f confcache
8862 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8863 # Let make expand exec_prefix.
8864 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8866 DEFS=-DHAVE_CONFIG_H
8868 ac_libobjs=
8869 ac_ltlibobjs=
8871 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8872 # 1. Remove the extension, and $U if already installed.
8873 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8874 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8875 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8876 # will be set to the directory where LIBOBJS objects are built.
8877 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8878 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8879 done
8880 LIBOBJS=$ac_libobjs
8882 LTLIBOBJS=$ac_ltlibobjs
8886 : "${CONFIG_STATUS=./config.status}"
8887 ac_write_fail=0
8888 ac_clean_files_save=$ac_clean_files
8889 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8891 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8892 as_write_fail=0
8893 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8894 #! $SHELL
8895 # Generated by $as_me.
8896 # Run this file to recreate the current configuration.
8897 # Compiler output produced by configure, useful for debugging
8898 # configure, is in config.log if it exists.
8900 debug=false
8901 ac_cs_recheck=false
8902 ac_cs_silent=false
8904 SHELL=\${CONFIG_SHELL-$SHELL}
8905 export SHELL
8906 _ASEOF
8907 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8908 ## -------------------- ##
8909 ## M4sh Initialization. ##
8910 ## -------------------- ##
8912 # Be more Bourne compatible
8913 DUALCASE=1; export DUALCASE # for MKS sh
8914 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8915 emulate sh
8916 NULLCMD=:
8917 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8918 # is contrary to our usage. Disable this feature.
8919 alias -g '${1+"$@"}'='"$@"'
8920 setopt NO_GLOB_SUBST
8921 else
8922 case `(set -o) 2>/dev/null` in #(
8923 *posix*) :
8924 set -o posix ;; #(
8925 *) :
8927 esac
8931 as_nl='
8933 export as_nl
8934 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8935 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8936 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8937 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8938 # Prefer a ksh shell builtin over an external printf program on Solaris,
8939 # but without wasting forks for bash or zsh.
8940 if test -z "$BASH_VERSION$ZSH_VERSION" \
8941 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8942 as_echo='print -r --'
8943 as_echo_n='print -rn --'
8944 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8945 as_echo='printf %s\n'
8946 as_echo_n='printf %s'
8947 else
8948 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8949 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8950 as_echo_n='/usr/ucb/echo -n'
8951 else
8952 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8953 as_echo_n_body='eval
8954 arg=$1;
8955 case $arg in #(
8956 *"$as_nl"*)
8957 expr "X$arg" : "X\\(.*\\)$as_nl";
8958 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8959 esac;
8960 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8962 export as_echo_n_body
8963 as_echo_n='sh -c $as_echo_n_body as_echo'
8965 export as_echo_body
8966 as_echo='sh -c $as_echo_body as_echo'
8969 # The user is always right.
8970 if test "${PATH_SEPARATOR+set}" != set; then
8971 PATH_SEPARATOR=:
8972 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8973 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8974 PATH_SEPARATOR=';'
8979 # IFS
8980 # We need space, tab and new line, in precisely that order. Quoting is
8981 # there to prevent editors from complaining about space-tab.
8982 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8983 # splitting by setting IFS to empty value.)
8984 IFS=" "" $as_nl"
8986 # Find who we are. Look in the path if we contain no directory separator.
8987 as_myself=
8988 case $0 in #((
8989 *[\\/]* ) as_myself=$0 ;;
8990 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8991 for as_dir in $PATH
8993 IFS=$as_save_IFS
8994 test -z "$as_dir" && as_dir=.
8995 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8996 done
8997 IFS=$as_save_IFS
9000 esac
9001 # We did not find ourselves, most probably we were run as `sh COMMAND'
9002 # in which case we are not to be found in the path.
9003 if test "x$as_myself" = x; then
9004 as_myself=$0
9006 if test ! -f "$as_myself"; then
9007 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9008 exit 1
9011 # Unset variables that we do not need and which cause bugs (e.g. in
9012 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
9013 # suppresses any "Segmentation fault" message there. '((' could
9014 # trigger a bug in pdksh 5.2.14.
9015 for as_var in BASH_ENV ENV MAIL MAILPATH
9016 do eval test x\${$as_var+set} = xset \
9017 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
9018 done
9019 PS1='$ '
9020 PS2='> '
9021 PS4='+ '
9023 # NLS nuisances.
9024 LC_ALL=C
9025 export LC_ALL
9026 LANGUAGE=C
9027 export LANGUAGE
9029 # CDPATH.
9030 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9033 # as_fn_error STATUS ERROR [LINENO LOG_FD]
9034 # ----------------------------------------
9035 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9036 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9037 # script with STATUS, using 1 if that was 0.
9038 as_fn_error ()
9040 as_status=$1; test $as_status -eq 0 && as_status=1
9041 if test "$4"; then
9042 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9043 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9045 $as_echo "$as_me: error: $2" >&2
9046 as_fn_exit $as_status
9047 } # as_fn_error
9050 # as_fn_set_status STATUS
9051 # -----------------------
9052 # Set $? to STATUS, without forking.
9053 as_fn_set_status ()
9055 return $1
9056 } # as_fn_set_status
9058 # as_fn_exit STATUS
9059 # -----------------
9060 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9061 as_fn_exit ()
9063 set +e
9064 as_fn_set_status $1
9065 exit $1
9066 } # as_fn_exit
9068 # as_fn_unset VAR
9069 # ---------------
9070 # Portably unset VAR.
9071 as_fn_unset ()
9073 { eval $1=; unset $1;}
9075 as_unset=as_fn_unset
9076 # as_fn_append VAR VALUE
9077 # ----------------------
9078 # Append the text in VALUE to the end of the definition contained in VAR. Take
9079 # advantage of any shell optimizations that allow amortized linear growth over
9080 # repeated appends, instead of the typical quadratic growth present in naive
9081 # implementations.
9082 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
9083 eval 'as_fn_append ()
9085 eval $1+=\$2
9087 else
9088 as_fn_append ()
9090 eval $1=\$$1\$2
9092 fi # as_fn_append
9094 # as_fn_arith ARG...
9095 # ------------------
9096 # Perform arithmetic evaluation on the ARGs, and store the result in the
9097 # global $as_val. Take advantage of shells that can avoid forks. The arguments
9098 # must be portable across $(()) and expr.
9099 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
9100 eval 'as_fn_arith ()
9102 as_val=$(( $* ))
9104 else
9105 as_fn_arith ()
9107 as_val=`expr "$@" || test $? -eq 1`
9109 fi # as_fn_arith
9112 if expr a : '\(a\)' >/dev/null 2>&1 &&
9113 test "X`expr 00001 : '.*\(...\)'`" = X001; then
9114 as_expr=expr
9115 else
9116 as_expr=false
9119 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9120 as_basename=basename
9121 else
9122 as_basename=false
9125 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9126 as_dirname=dirname
9127 else
9128 as_dirname=false
9131 as_me=`$as_basename -- "$0" ||
9132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9133 X"$0" : 'X\(//\)$' \| \
9134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9135 $as_echo X/"$0" |
9136 sed '/^.*\/\([^/][^/]*\)\/*$/{
9137 s//\1/
9140 /^X\/\(\/\/\)$/{
9141 s//\1/
9144 /^X\/\(\/\).*/{
9145 s//\1/
9148 s/.*/./; q'`
9150 # Avoid depending upon Character Ranges.
9151 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9152 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9153 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9154 as_cr_digits='0123456789'
9155 as_cr_alnum=$as_cr_Letters$as_cr_digits
9157 ECHO_C= ECHO_N= ECHO_T=
9158 case `echo -n x` in #(((((
9159 -n*)
9160 case `echo 'xy\c'` in
9161 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9162 xy) ECHO_C='\c';;
9163 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
9164 ECHO_T=' ';;
9165 esac;;
9167 ECHO_N='-n';;
9168 esac
9170 rm -f conf$$ conf$$.exe conf$$.file
9171 if test -d conf$$.dir; then
9172 rm -f conf$$.dir/conf$$.file
9173 else
9174 rm -f conf$$.dir
9175 mkdir conf$$.dir 2>/dev/null
9177 if (echo >conf$$.file) 2>/dev/null; then
9178 if ln -s conf$$.file conf$$ 2>/dev/null; then
9179 as_ln_s='ln -s'
9180 # ... but there are two gotchas:
9181 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9182 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9183 # In both cases, we have to default to `cp -pR'.
9184 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9185 as_ln_s='cp -pR'
9186 elif ln conf$$.file conf$$ 2>/dev/null; then
9187 as_ln_s=ln
9188 else
9189 as_ln_s='cp -pR'
9191 else
9192 as_ln_s='cp -pR'
9194 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9195 rmdir conf$$.dir 2>/dev/null
9198 # as_fn_mkdir_p
9199 # -------------
9200 # Create "$as_dir" as a directory, including parents if necessary.
9201 as_fn_mkdir_p ()
9204 case $as_dir in #(
9205 -*) as_dir=./$as_dir;;
9206 esac
9207 test -d "$as_dir" || eval $as_mkdir_p || {
9208 as_dirs=
9209 while :; do
9210 case $as_dir in #(
9211 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9212 *) as_qdir=$as_dir;;
9213 esac
9214 as_dirs="'$as_qdir' $as_dirs"
9215 as_dir=`$as_dirname -- "$as_dir" ||
9216 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9217 X"$as_dir" : 'X\(//\)[^/]' \| \
9218 X"$as_dir" : 'X\(//\)$' \| \
9219 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9220 $as_echo X"$as_dir" |
9221 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9222 s//\1/
9225 /^X\(\/\/\)[^/].*/{
9226 s//\1/
9229 /^X\(\/\/\)$/{
9230 s//\1/
9233 /^X\(\/\).*/{
9234 s//\1/
9237 s/.*/./; q'`
9238 test -d "$as_dir" && break
9239 done
9240 test -z "$as_dirs" || eval "mkdir $as_dirs"
9241 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
9244 } # as_fn_mkdir_p
9245 if mkdir -p . 2>/dev/null; then
9246 as_mkdir_p='mkdir -p "$as_dir"'
9247 else
9248 test -d ./-p && rmdir ./-p
9249 as_mkdir_p=false
9253 # as_fn_executable_p FILE
9254 # -----------------------
9255 # Test if FILE is an executable regular file.
9256 as_fn_executable_p ()
9258 test -f "$1" && test -x "$1"
9259 } # as_fn_executable_p
9260 as_test_x='test -x'
9261 as_executable_p=as_fn_executable_p
9263 # Sed expression to map a string onto a valid CPP name.
9264 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9266 # Sed expression to map a string onto a valid variable name.
9267 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9270 exec 6>&1
9271 ## ----------------------------------- ##
9272 ## Main body of $CONFIG_STATUS script. ##
9273 ## ----------------------------------- ##
9274 _ASEOF
9275 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9277 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9278 # Save the log message, to keep $0 and so on meaningful, and to
9279 # report actual input values of CONFIG_FILES etc. instead of their
9280 # values after options handling.
9281 ac_log="
9282 This file was extended by ocurl $as_me 0.9.1, which was
9283 generated by GNU Autoconf 2.69. Invocation command line was
9285 CONFIG_FILES = $CONFIG_FILES
9286 CONFIG_HEADERS = $CONFIG_HEADERS
9287 CONFIG_LINKS = $CONFIG_LINKS
9288 CONFIG_COMMANDS = $CONFIG_COMMANDS
9289 $ $0 $@
9291 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9294 _ACEOF
9296 case $ac_config_files in *"
9297 "*) set x $ac_config_files; shift; ac_config_files=$*;;
9298 esac
9300 case $ac_config_headers in *"
9301 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9302 esac
9305 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9306 # Files that config.status was made for.
9307 config_files="$ac_config_files"
9308 config_headers="$ac_config_headers"
9310 _ACEOF
9312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9313 ac_cs_usage="\
9314 \`$as_me' instantiates files and other configuration actions
9315 from templates according to the current configuration. Unless the files
9316 and actions are specified as TAGs, all are instantiated by default.
9318 Usage: $0 [OPTION]... [TAG]...
9320 -h, --help print this help, then exit
9321 -V, --version print version number and configuration settings, then exit
9322 --config print configuration, then exit
9323 -q, --quiet, --silent
9324 do not print progress messages
9325 -d, --debug don't remove temporary files
9326 --recheck update $as_me by reconfiguring in the same conditions
9327 --file=FILE[:TEMPLATE]
9328 instantiate the configuration file FILE
9329 --header=FILE[:TEMPLATE]
9330 instantiate the configuration header FILE
9332 Configuration files:
9333 $config_files
9335 Configuration headers:
9336 $config_headers
9338 Report bugs to the package provider."
9340 _ACEOF
9341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9342 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9343 ac_cs_version="\\
9344 ocurl config.status 0.9.1
9345 configured by $0, generated by GNU Autoconf 2.69,
9346 with options \\"\$ac_cs_config\\"
9348 Copyright (C) 2012 Free Software Foundation, Inc.
9349 This config.status script is free software; the Free Software Foundation
9350 gives unlimited permission to copy, distribute and modify it."
9352 ac_pwd='$ac_pwd'
9353 srcdir='$srcdir'
9354 INSTALL='$INSTALL'
9355 test -n "\$AWK" || AWK=awk
9356 _ACEOF
9358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9359 # The default lists apply if the user does not specify any file.
9360 ac_need_defaults=:
9361 while test $# != 0
9363 case $1 in
9364 --*=?*)
9365 ac_option=`expr "X$1" : 'X\([^=]*\)='`
9366 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9367 ac_shift=:
9369 --*=)
9370 ac_option=`expr "X$1" : 'X\([^=]*\)='`
9371 ac_optarg=
9372 ac_shift=:
9375 ac_option=$1
9376 ac_optarg=$2
9377 ac_shift=shift
9379 esac
9381 case $ac_option in
9382 # Handling of the options.
9383 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9384 ac_cs_recheck=: ;;
9385 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9386 $as_echo "$ac_cs_version"; exit ;;
9387 --config | --confi | --conf | --con | --co | --c )
9388 $as_echo "$ac_cs_config"; exit ;;
9389 --debug | --debu | --deb | --de | --d | -d )
9390 debug=: ;;
9391 --file | --fil | --fi | --f )
9392 $ac_shift
9393 case $ac_optarg in
9394 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9395 '') as_fn_error $? "missing file argument" ;;
9396 esac
9397 as_fn_append CONFIG_FILES " '$ac_optarg'"
9398 ac_need_defaults=false;;
9399 --header | --heade | --head | --hea )
9400 $ac_shift
9401 case $ac_optarg in
9402 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9403 esac
9404 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
9405 ac_need_defaults=false;;
9406 --he | --h)
9407 # Conflict between --help and --header
9408 as_fn_error $? "ambiguous option: \`$1'
9409 Try \`$0 --help' for more information.";;
9410 --help | --hel | -h )
9411 $as_echo "$ac_cs_usage"; exit ;;
9412 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9413 | -silent | --silent | --silen | --sile | --sil | --si | --s)
9414 ac_cs_silent=: ;;
9416 # This is an error.
9417 -*) as_fn_error $? "unrecognized option: \`$1'
9418 Try \`$0 --help' for more information." ;;
9420 *) as_fn_append ac_config_targets " $1"
9421 ac_need_defaults=false ;;
9423 esac
9424 shift
9425 done
9427 ac_configure_extra_args=
9429 if $ac_cs_silent; then
9430 exec 6>/dev/null
9431 ac_configure_extra_args="$ac_configure_extra_args --silent"
9434 _ACEOF
9435 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9436 if \$ac_cs_recheck; then
9437 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9438 shift
9439 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9440 CONFIG_SHELL='$SHELL'
9441 export CONFIG_SHELL
9442 exec "\$@"
9445 _ACEOF
9446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9447 exec 5>>config.log
9449 echo
9450 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9451 ## Running $as_me. ##
9452 _ASBOX
9453 $as_echo "$ac_log"
9454 } >&5
9456 _ACEOF
9457 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9458 _ACEOF
9460 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9462 # Handling of arguments.
9463 for ac_config_target in $ac_config_targets
9465 case $ac_config_target in
9466 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9467 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9468 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
9470 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9471 esac
9472 done
9475 # If the user did not use the arguments to specify the items to instantiate,
9476 # then the envvar interface is used. Set only those that are not.
9477 # We use the long form for the default assignment because of an extremely
9478 # bizarre bug on SunOS 4.1.3.
9479 if $ac_need_defaults; then
9480 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9481 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9484 # Have a temporary directory for convenience. Make it in the build tree
9485 # simply because there is no reason against having it here, and in addition,
9486 # creating and moving files from /tmp can sometimes cause problems.
9487 # Hook for its removal unless debugging.
9488 # Note that there is a small window in which the directory will not be cleaned:
9489 # after its creation but before its name has been assigned to `$tmp'.
9490 $debug ||
9492 tmp= ac_tmp=
9493 trap 'exit_status=$?
9494 : "${ac_tmp:=$tmp}"
9495 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9497 trap 'as_fn_exit 1' 1 2 13 15
9499 # Create a (secure) tmp directory for tmp files.
9502 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9503 test -d "$tmp"
9504 } ||
9506 tmp=./conf$$-$RANDOM
9507 (umask 077 && mkdir "$tmp")
9508 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
9509 ac_tmp=$tmp
9511 # Set up the scripts for CONFIG_FILES section.
9512 # No need to generate them if there are no CONFIG_FILES.
9513 # This happens for instance with `./config.status config.h'.
9514 if test -n "$CONFIG_FILES"; then
9517 ac_cr=`echo X | tr X '\015'`
9518 # On cygwin, bash can eat \r inside `` if the user requested igncr.
9519 # But we know of no other shell where ac_cr would be empty at this
9520 # point, so we can use a bashism as a fallback.
9521 if test "x$ac_cr" = x; then
9522 eval ac_cr=\$\'\\r\'
9524 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9525 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9526 ac_cs_awk_cr='\\r'
9527 else
9528 ac_cs_awk_cr=$ac_cr
9531 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9532 _ACEOF
9536 echo "cat >conf$$subs.awk <<_ACEOF" &&
9537 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9538 echo "_ACEOF"
9539 } >conf$$subs.sh ||
9540 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9541 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9542 ac_delim='%!_!# '
9543 for ac_last_try in false false false false false :; do
9544 . ./conf$$subs.sh ||
9545 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9547 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9548 if test $ac_delim_n = $ac_delim_num; then
9549 break
9550 elif $ac_last_try; then
9551 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9552 else
9553 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9555 done
9556 rm -f conf$$subs.sh
9558 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9559 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9560 _ACEOF
9561 sed -n '
9563 s/^/S["/; s/!.*/"]=/
9566 s/^[^!]*!//
9567 :repl
9568 t repl
9569 s/'"$ac_delim"'$//
9570 t delim
9573 s/\(.\{148\}\)..*/\1/
9574 t more1
9575 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9578 b repl
9579 :more1
9580 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9583 s/.\{148\}//
9584 t nl
9585 :delim
9587 s/\(.\{148\}\)..*/\1/
9588 t more2
9589 s/["\\]/\\&/g; s/^/"/; s/$/"/
9592 :more2
9593 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9596 s/.\{148\}//
9597 t delim
9598 ' <conf$$subs.awk | sed '
9599 /^[^""]/{
9601 s/\n//
9603 ' >>$CONFIG_STATUS || ac_write_fail=1
9604 rm -f conf$$subs.awk
9605 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9606 _ACAWK
9607 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9608 for (key in S) S_is_set[key] = 1
9609 FS = "\a"
9613 line = $ 0
9614 nfields = split(line, field, "@")
9615 substed = 0
9616 len = length(field[1])
9617 for (i = 2; i < nfields; i++) {
9618 key = field[i]
9619 keylen = length(key)
9620 if (S_is_set[key]) {
9621 value = S[key]
9622 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9623 len += length(value) + length(field[++i])
9624 substed = 1
9625 } else
9626 len += 1 + keylen
9629 print line
9632 _ACAWK
9633 _ACEOF
9634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9635 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9636 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9637 else
9639 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9640 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9641 _ACEOF
9643 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9644 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9645 # trailing colons and then remove the whole line if VPATH becomes empty
9646 # (actually we leave an empty line to preserve line numbers).
9647 if test "x$srcdir" = x.; then
9648 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
9650 s///
9651 s/^/:/
9652 s/[ ]*$/:/
9653 s/:\$(srcdir):/:/g
9654 s/:\${srcdir}:/:/g
9655 s/:@srcdir@:/:/g
9656 s/^:*//
9657 s/:*$//
9659 s/\(=[ ]*\).*/\1/
9661 s/\n//
9662 s/^[^=]*=[ ]*$//
9666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9667 fi # test -n "$CONFIG_FILES"
9669 # Set up the scripts for CONFIG_HEADERS section.
9670 # No need to generate them if there are no CONFIG_HEADERS.
9671 # This happens for instance with `./config.status Makefile'.
9672 if test -n "$CONFIG_HEADERS"; then
9673 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9674 BEGIN {
9675 _ACEOF
9677 # Transform confdefs.h into an awk script `defines.awk', embedded as
9678 # here-document in config.status, that substitutes the proper values into
9679 # config.h.in to produce config.h.
9681 # Create a delimiter string that does not exist in confdefs.h, to ease
9682 # handling of long lines.
9683 ac_delim='%!_!# '
9684 for ac_last_try in false false :; do
9685 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9686 if test -z "$ac_tt"; then
9687 break
9688 elif $ac_last_try; then
9689 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9690 else
9691 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9693 done
9695 # For the awk script, D is an array of macro values keyed by name,
9696 # likewise P contains macro parameters if any. Preserve backslash
9697 # newline sequences.
9699 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9700 sed -n '
9701 s/.\{148\}/&'"$ac_delim"'/g
9702 t rset
9703 :rset
9704 s/^[ ]*#[ ]*define[ ][ ]*/ /
9705 t def
9707 :def
9708 s/\\$//
9709 t bsnl
9710 s/["\\]/\\&/g
9711 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9712 D["\1"]=" \3"/p
9713 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
9715 :bsnl
9716 s/["\\]/\\&/g
9717 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9718 D["\1"]=" \3\\\\\\n"\\/p
9719 t cont
9720 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9721 t cont
9723 :cont
9725 s/.\{148\}/&'"$ac_delim"'/g
9726 t clear
9727 :clear
9728 s/\\$//
9729 t bsnlc
9730 s/["\\]/\\&/g; s/^/"/; s/$/"/p
9732 :bsnlc
9733 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9734 b cont
9735 ' <confdefs.h | sed '
9736 s/'"$ac_delim"'/"\\\
9737 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9739 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9740 for (key in D) D_is_set[key] = 1
9741 FS = "\a"
9743 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9744 line = \$ 0
9745 split(line, arg, " ")
9746 if (arg[1] == "#") {
9747 defundef = arg[2]
9748 mac1 = arg[3]
9749 } else {
9750 defundef = substr(arg[1], 2)
9751 mac1 = arg[2]
9753 split(mac1, mac2, "(") #)
9754 macro = mac2[1]
9755 prefix = substr(line, 1, index(line, defundef) - 1)
9756 if (D_is_set[macro]) {
9757 # Preserve the white space surrounding the "#".
9758 print prefix "define", macro P[macro] D[macro]
9759 next
9760 } else {
9761 # Replace #undef with comments. This is necessary, for example,
9762 # in the case of _POSIX_SOURCE, which is predefined and required
9763 # on some systems where configure will not decide to define it.
9764 if (defundef == "undef") {
9765 print "/*", prefix defundef, macro, "*/"
9766 next
9770 { print }
9771 _ACAWK
9772 _ACEOF
9773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9774 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
9775 fi # test -n "$CONFIG_HEADERS"
9778 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
9779 shift
9780 for ac_tag
9782 case $ac_tag in
9783 :[FHLC]) ac_mode=$ac_tag; continue;;
9784 esac
9785 case $ac_mode$ac_tag in
9786 :[FHL]*:*);;
9787 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9788 :[FH]-) ac_tag=-:-;;
9789 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9790 esac
9791 ac_save_IFS=$IFS
9792 IFS=:
9793 set x $ac_tag
9794 IFS=$ac_save_IFS
9795 shift
9796 ac_file=$1
9797 shift
9799 case $ac_mode in
9800 :L) ac_source=$1;;
9801 :[FH])
9802 ac_file_inputs=
9803 for ac_f
9805 case $ac_f in
9806 -) ac_f="$ac_tmp/stdin";;
9807 *) # Look for the file first in the build tree, then in the source tree
9808 # (if the path is not absolute). The absolute path cannot be DOS-style,
9809 # because $ac_f cannot contain `:'.
9810 test -f "$ac_f" ||
9811 case $ac_f in
9812 [\\/$]*) false;;
9813 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9814 esac ||
9815 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9816 esac
9817 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9818 as_fn_append ac_file_inputs " '$ac_f'"
9819 done
9821 # Let's still pretend it is `configure' which instantiates (i.e., don't
9822 # use $as_me), people would be surprised to read:
9823 # /* config.h. Generated by config.status. */
9824 configure_input='Generated from '`
9825 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9826 `' by configure.'
9827 if test x"$ac_file" != x-; then
9828 configure_input="$ac_file. $configure_input"
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9830 $as_echo "$as_me: creating $ac_file" >&6;}
9832 # Neutralize special characters interpreted by sed in replacement strings.
9833 case $configure_input in #(
9834 *\&* | *\|* | *\\* )
9835 ac_sed_conf_input=`$as_echo "$configure_input" |
9836 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9837 *) ac_sed_conf_input=$configure_input;;
9838 esac
9840 case $ac_tag in
9841 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9842 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9843 esac
9845 esac
9847 ac_dir=`$as_dirname -- "$ac_file" ||
9848 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9849 X"$ac_file" : 'X\(//\)[^/]' \| \
9850 X"$ac_file" : 'X\(//\)$' \| \
9851 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9852 $as_echo X"$ac_file" |
9853 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9854 s//\1/
9857 /^X\(\/\/\)[^/].*/{
9858 s//\1/
9861 /^X\(\/\/\)$/{
9862 s//\1/
9865 /^X\(\/\).*/{
9866 s//\1/
9869 s/.*/./; q'`
9870 as_dir="$ac_dir"; as_fn_mkdir_p
9871 ac_builddir=.
9873 case "$ac_dir" in
9874 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9876 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9877 # A ".." for each directory in $ac_dir_suffix.
9878 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9879 case $ac_top_builddir_sub in
9880 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9881 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9882 esac ;;
9883 esac
9884 ac_abs_top_builddir=$ac_pwd
9885 ac_abs_builddir=$ac_pwd$ac_dir_suffix
9886 # for backward compatibility:
9887 ac_top_builddir=$ac_top_build_prefix
9889 case $srcdir in
9890 .) # We are building in place.
9891 ac_srcdir=.
9892 ac_top_srcdir=$ac_top_builddir_sub
9893 ac_abs_top_srcdir=$ac_pwd ;;
9894 [\\/]* | ?:[\\/]* ) # Absolute name.
9895 ac_srcdir=$srcdir$ac_dir_suffix;
9896 ac_top_srcdir=$srcdir
9897 ac_abs_top_srcdir=$srcdir ;;
9898 *) # Relative name.
9899 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9900 ac_top_srcdir=$ac_top_build_prefix$srcdir
9901 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9902 esac
9903 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9906 case $ac_mode in
9909 # CONFIG_FILE
9912 case $INSTALL in
9913 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9914 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9915 esac
9916 _ACEOF
9918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9919 # If the template does not know about datarootdir, expand it.
9920 # FIXME: This hack should be removed a few years after 2.60.
9921 ac_datarootdir_hack=; ac_datarootdir_seen=
9922 ac_sed_dataroot='
9923 /datarootdir/ {
9927 /@datadir@/p
9928 /@docdir@/p
9929 /@infodir@/p
9930 /@localedir@/p
9931 /@mandir@/p'
9932 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9933 *datarootdir*) ac_datarootdir_seen=yes;;
9934 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9936 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9937 _ACEOF
9938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9939 ac_datarootdir_hack='
9940 s&@datadir@&$datadir&g
9941 s&@docdir@&$docdir&g
9942 s&@infodir@&$infodir&g
9943 s&@localedir@&$localedir&g
9944 s&@mandir@&$mandir&g
9945 s&\\\${datarootdir}&$datarootdir&g' ;;
9946 esac
9947 _ACEOF
9949 # Neutralize VPATH when `$srcdir' = `.'.
9950 # Shell code in configure.ac might set extrasub.
9951 # FIXME: do we really want to maintain this feature?
9952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9953 ac_sed_extra="$ac_vpsub
9954 $extrasub
9955 _ACEOF
9956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9958 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9959 s|@configure_input@|$ac_sed_conf_input|;t t
9960 s&@top_builddir@&$ac_top_builddir_sub&;t t
9961 s&@top_build_prefix@&$ac_top_build_prefix&;t t
9962 s&@srcdir@&$ac_srcdir&;t t
9963 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9964 s&@top_srcdir@&$ac_top_srcdir&;t t
9965 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9966 s&@builddir@&$ac_builddir&;t t
9967 s&@abs_builddir@&$ac_abs_builddir&;t t
9968 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9969 s&@INSTALL@&$ac_INSTALL&;t t
9970 $ac_datarootdir_hack
9972 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9973 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9975 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9976 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9977 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9978 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9980 which seems to be undefined. Please make sure it is defined" >&5
9981 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9982 which seems to be undefined. Please make sure it is defined" >&2;}
9984 rm -f "$ac_tmp/stdin"
9985 case $ac_file in
9986 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9987 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9988 esac \
9989 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9993 # CONFIG_HEADER
9995 if test x"$ac_file" != x-; then
9997 $as_echo "/* $configure_input */" \
9998 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9999 } >"$ac_tmp/config.h" \
10000 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10001 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10003 $as_echo "$as_me: $ac_file is unchanged" >&6;}
10004 else
10005 rm -f "$ac_file"
10006 mv "$ac_tmp/config.h" "$ac_file" \
10007 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10009 else
10010 $as_echo "/* $configure_input */" \
10011 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10012 || as_fn_error $? "could not create -" "$LINENO" 5
10017 esac
10019 done # for ac_tag
10022 as_fn_exit 0
10023 _ACEOF
10024 ac_clean_files=$ac_clean_files_save
10026 test $ac_write_fail = 0 ||
10027 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10030 # configure is writing to config.log, and then calls config.status.
10031 # config.status does its own redirection, appending to config.log.
10032 # Unfortunately, on DOS this fails, as config.log is still kept open
10033 # by configure, so config.status won't be able to write to it; its
10034 # output is simply discarded. So we exec the FD to /dev/null,
10035 # effectively closing config.log, so it can be properly (re)opened and
10036 # appended to by config.status. When coming back to configure, we
10037 # need to make the FD available again.
10038 if test "$no_create" != yes; then
10039 ac_cs_success=:
10040 ac_config_status_args=
10041 test "$silent" = yes &&
10042 ac_config_status_args="$ac_config_status_args --quiet"
10043 exec 5>/dev/null
10044 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10045 exec 5>>config.log
10046 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10047 # would make configure fail if this is the last instruction.
10048 $ac_cs_success || as_fn_exit 1
10050 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10052 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}