Add CURLOPT_SSH_KNOWNHOSTS, CURLOPT_SSH_KEYFUNCTION
[ocurl.git] / configure
blobe687b212ea71adc7327e6c48e32bab21a8f32d17
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ocurl 0.8.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.8.1'
581 PACKAGE_STRING='ocurl 0.8.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 CURLLIBS
632 ac_prefix_program
633 OCAML_PKG_lwt_ppx
634 OCAML_PKG_lwt_unix
635 OCAML_PKG_bytes
636 OCAMLFIND
637 OCAMLBUILD
638 OCAMLDOC
639 OCAMLMKLIB
640 OCAMLMKTOP
641 OCAMLDEP
642 OCAML
643 OCAMLOPTDOTOPT
644 OCAMLCDOTOPT
645 OCAMLBEST
646 OCAMLOPT
647 OCAMLLIB
648 OCAMLVERSION
649 OCAMLC
650 INSTALL_DATA
651 INSTALL_SCRIPT
652 INSTALL_PROGRAM
653 OBJEXT
654 EXEEXT
655 ac_ct_CC
656 CPPFLAGS
657 LDFLAGS
658 CFLAGS
660 target_alias
661 host_alias
662 build_alias
663 LIBS
664 ECHO_T
665 ECHO_N
666 ECHO_C
667 DEFS
668 mandir
669 localedir
670 libdir
671 psdir
672 pdfdir
673 dvidir
674 htmldir
675 infodir
676 docdir
677 oldincludedir
678 includedir
679 localstatedir
680 sharedstatedir
681 sysconfdir
682 datadir
683 datarootdir
684 libexecdir
685 sbindir
686 bindir
687 program_transform_name
688 prefix
689 exec_prefix
690 PACKAGE_URL
691 PACKAGE_BUGREPORT
692 PACKAGE_STRING
693 PACKAGE_VERSION
694 PACKAGE_TARNAME
695 PACKAGE_NAME
696 PATH_SEPARATOR
697 SHELL'
698 ac_subst_files=''
699 ac_user_opts='
700 enable_option_checking
702 ac_precious_vars='build_alias
703 host_alias
704 target_alias
706 CFLAGS
707 LDFLAGS
708 LIBS
709 CPPFLAGS
710 CPP'
713 # Initialize some variables set by options.
714 ac_init_help=
715 ac_init_version=false
716 ac_unrecognized_opts=
717 ac_unrecognized_sep=
718 # The variables have the same names as the options, with
719 # dashes changed to underlines.
720 cache_file=/dev/null
721 exec_prefix=NONE
722 no_create=
723 no_recursion=
724 prefix=NONE
725 program_prefix=NONE
726 program_suffix=NONE
727 program_transform_name=s,x,x,
728 silent=
729 site=
730 srcdir=
731 verbose=
732 x_includes=NONE
733 x_libraries=NONE
735 # Installation directory options.
736 # These are left unexpanded so users can "make install exec_prefix=/foo"
737 # and all the variables that are supposed to be based on exec_prefix
738 # by default will actually change.
739 # Use braces instead of parens because sh, perl, etc. also accept them.
740 # (The list follows the same order as the GNU Coding Standards.)
741 bindir='${exec_prefix}/bin'
742 sbindir='${exec_prefix}/sbin'
743 libexecdir='${exec_prefix}/libexec'
744 datarootdir='${prefix}/share'
745 datadir='${datarootdir}'
746 sysconfdir='${prefix}/etc'
747 sharedstatedir='${prefix}/com'
748 localstatedir='${prefix}/var'
749 includedir='${prefix}/include'
750 oldincludedir='/usr/include'
751 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
752 infodir='${datarootdir}/info'
753 htmldir='${docdir}'
754 dvidir='${docdir}'
755 pdfdir='${docdir}'
756 psdir='${docdir}'
757 libdir='${exec_prefix}/lib'
758 localedir='${datarootdir}/locale'
759 mandir='${datarootdir}/man'
761 ac_prev=
762 ac_dashdash=
763 for ac_option
765 # If the previous option needs an argument, assign it.
766 if test -n "$ac_prev"; then
767 eval $ac_prev=\$ac_option
768 ac_prev=
769 continue
772 case $ac_option in
773 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
774 *=) ac_optarg= ;;
775 *) ac_optarg=yes ;;
776 esac
778 # Accept the important Cygnus configure options, so we can diagnose typos.
780 case $ac_dashdash$ac_option in
782 ac_dashdash=yes ;;
784 -bindir | --bindir | --bindi | --bind | --bin | --bi)
785 ac_prev=bindir ;;
786 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
787 bindir=$ac_optarg ;;
789 -build | --build | --buil | --bui | --bu)
790 ac_prev=build_alias ;;
791 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
792 build_alias=$ac_optarg ;;
794 -cache-file | --cache-file | --cache-fil | --cache-fi \
795 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
796 ac_prev=cache_file ;;
797 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
798 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
799 cache_file=$ac_optarg ;;
801 --config-cache | -C)
802 cache_file=config.cache ;;
804 -datadir | --datadir | --datadi | --datad)
805 ac_prev=datadir ;;
806 -datadir=* | --datadir=* | --datadi=* | --datad=*)
807 datadir=$ac_optarg ;;
809 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
810 | --dataroo | --dataro | --datar)
811 ac_prev=datarootdir ;;
812 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
813 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
814 datarootdir=$ac_optarg ;;
816 -disable-* | --disable-*)
817 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
818 # Reject names that are not valid shell variable names.
819 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
820 as_fn_error $? "invalid feature name: $ac_useropt"
821 ac_useropt_orig=$ac_useropt
822 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
823 case $ac_user_opts in
825 "enable_$ac_useropt"
826 "*) ;;
827 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
828 ac_unrecognized_sep=', ';;
829 esac
830 eval enable_$ac_useropt=no ;;
832 -docdir | --docdir | --docdi | --doc | --do)
833 ac_prev=docdir ;;
834 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
835 docdir=$ac_optarg ;;
837 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
838 ac_prev=dvidir ;;
839 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
840 dvidir=$ac_optarg ;;
842 -enable-* | --enable-*)
843 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
844 # Reject names that are not valid shell variable names.
845 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
846 as_fn_error $? "invalid feature name: $ac_useropt"
847 ac_useropt_orig=$ac_useropt
848 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
849 case $ac_user_opts in
851 "enable_$ac_useropt"
852 "*) ;;
853 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
854 ac_unrecognized_sep=', ';;
855 esac
856 eval enable_$ac_useropt=\$ac_optarg ;;
858 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
859 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
860 | --exec | --exe | --ex)
861 ac_prev=exec_prefix ;;
862 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
863 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
864 | --exec=* | --exe=* | --ex=*)
865 exec_prefix=$ac_optarg ;;
867 -gas | --gas | --ga | --g)
868 # Obsolete; use --with-gas.
869 with_gas=yes ;;
871 -help | --help | --hel | --he | -h)
872 ac_init_help=long ;;
873 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
874 ac_init_help=recursive ;;
875 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
876 ac_init_help=short ;;
878 -host | --host | --hos | --ho)
879 ac_prev=host_alias ;;
880 -host=* | --host=* | --hos=* | --ho=*)
881 host_alias=$ac_optarg ;;
883 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
884 ac_prev=htmldir ;;
885 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
886 | --ht=*)
887 htmldir=$ac_optarg ;;
889 -includedir | --includedir | --includedi | --included | --include \
890 | --includ | --inclu | --incl | --inc)
891 ac_prev=includedir ;;
892 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
893 | --includ=* | --inclu=* | --incl=* | --inc=*)
894 includedir=$ac_optarg ;;
896 -infodir | --infodir | --infodi | --infod | --info | --inf)
897 ac_prev=infodir ;;
898 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
899 infodir=$ac_optarg ;;
901 -libdir | --libdir | --libdi | --libd)
902 ac_prev=libdir ;;
903 -libdir=* | --libdir=* | --libdi=* | --libd=*)
904 libdir=$ac_optarg ;;
906 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
907 | --libexe | --libex | --libe)
908 ac_prev=libexecdir ;;
909 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
910 | --libexe=* | --libex=* | --libe=*)
911 libexecdir=$ac_optarg ;;
913 -localedir | --localedir | --localedi | --localed | --locale)
914 ac_prev=localedir ;;
915 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
916 localedir=$ac_optarg ;;
918 -localstatedir | --localstatedir | --localstatedi | --localstated \
919 | --localstate | --localstat | --localsta | --localst | --locals)
920 ac_prev=localstatedir ;;
921 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
922 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
923 localstatedir=$ac_optarg ;;
925 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
926 ac_prev=mandir ;;
927 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
928 mandir=$ac_optarg ;;
930 -nfp | --nfp | --nf)
931 # Obsolete; use --without-fp.
932 with_fp=no ;;
934 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
935 | --no-cr | --no-c | -n)
936 no_create=yes ;;
938 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
939 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
940 no_recursion=yes ;;
942 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
943 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
944 | --oldin | --oldi | --old | --ol | --o)
945 ac_prev=oldincludedir ;;
946 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
947 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
948 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
949 oldincludedir=$ac_optarg ;;
951 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
952 ac_prev=prefix ;;
953 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
954 prefix=$ac_optarg ;;
956 -program-prefix | --program-prefix | --program-prefi | --program-pref \
957 | --program-pre | --program-pr | --program-p)
958 ac_prev=program_prefix ;;
959 -program-prefix=* | --program-prefix=* | --program-prefi=* \
960 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
961 program_prefix=$ac_optarg ;;
963 -program-suffix | --program-suffix | --program-suffi | --program-suff \
964 | --program-suf | --program-su | --program-s)
965 ac_prev=program_suffix ;;
966 -program-suffix=* | --program-suffix=* | --program-suffi=* \
967 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
968 program_suffix=$ac_optarg ;;
970 -program-transform-name | --program-transform-name \
971 | --program-transform-nam | --program-transform-na \
972 | --program-transform-n | --program-transform- \
973 | --program-transform | --program-transfor \
974 | --program-transfo | --program-transf \
975 | --program-trans | --program-tran \
976 | --progr-tra | --program-tr | --program-t)
977 ac_prev=program_transform_name ;;
978 -program-transform-name=* | --program-transform-name=* \
979 | --program-transform-nam=* | --program-transform-na=* \
980 | --program-transform-n=* | --program-transform-=* \
981 | --program-transform=* | --program-transfor=* \
982 | --program-transfo=* | --program-transf=* \
983 | --program-trans=* | --program-tran=* \
984 | --progr-tra=* | --program-tr=* | --program-t=*)
985 program_transform_name=$ac_optarg ;;
987 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
988 ac_prev=pdfdir ;;
989 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
990 pdfdir=$ac_optarg ;;
992 -psdir | --psdir | --psdi | --psd | --ps)
993 ac_prev=psdir ;;
994 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
995 psdir=$ac_optarg ;;
997 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
998 | -silent | --silent | --silen | --sile | --sil)
999 silent=yes ;;
1001 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1002 ac_prev=sbindir ;;
1003 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1004 | --sbi=* | --sb=*)
1005 sbindir=$ac_optarg ;;
1007 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1008 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1009 | --sharedst | --shareds | --shared | --share | --shar \
1010 | --sha | --sh)
1011 ac_prev=sharedstatedir ;;
1012 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1013 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1014 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1015 | --sha=* | --sh=*)
1016 sharedstatedir=$ac_optarg ;;
1018 -site | --site | --sit)
1019 ac_prev=site ;;
1020 -site=* | --site=* | --sit=*)
1021 site=$ac_optarg ;;
1023 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1024 ac_prev=srcdir ;;
1025 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1026 srcdir=$ac_optarg ;;
1028 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1029 | --syscon | --sysco | --sysc | --sys | --sy)
1030 ac_prev=sysconfdir ;;
1031 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1032 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1033 sysconfdir=$ac_optarg ;;
1035 -target | --target | --targe | --targ | --tar | --ta | --t)
1036 ac_prev=target_alias ;;
1037 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1038 target_alias=$ac_optarg ;;
1040 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1041 verbose=yes ;;
1043 -version | --version | --versio | --versi | --vers | -V)
1044 ac_init_version=: ;;
1046 -with-* | --with-*)
1047 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1048 # Reject names that are not valid shell variable names.
1049 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1050 as_fn_error $? "invalid package name: $ac_useropt"
1051 ac_useropt_orig=$ac_useropt
1052 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1053 case $ac_user_opts in
1055 "with_$ac_useropt"
1056 "*) ;;
1057 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1058 ac_unrecognized_sep=', ';;
1059 esac
1060 eval with_$ac_useropt=\$ac_optarg ;;
1062 -without-* | --without-*)
1063 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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--without-$ac_useropt_orig"
1074 ac_unrecognized_sep=', ';;
1075 esac
1076 eval with_$ac_useropt=no ;;
1078 --x)
1079 # Obsolete; use --with-x.
1080 with_x=yes ;;
1082 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1083 | --x-incl | --x-inc | --x-in | --x-i)
1084 ac_prev=x_includes ;;
1085 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1086 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1087 x_includes=$ac_optarg ;;
1089 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1090 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1091 ac_prev=x_libraries ;;
1092 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1093 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1094 x_libraries=$ac_optarg ;;
1096 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1097 Try \`$0 --help' for more information"
1100 *=*)
1101 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1102 # Reject names that are not valid shell variable names.
1103 case $ac_envvar in #(
1104 '' | [0-9]* | *[!_$as_cr_alnum]* )
1105 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1106 esac
1107 eval $ac_envvar=\$ac_optarg
1108 export $ac_envvar ;;
1111 # FIXME: should be removed in autoconf 3.0.
1112 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1113 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1114 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1115 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1118 esac
1119 done
1121 if test -n "$ac_prev"; then
1122 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1123 as_fn_error $? "missing argument to $ac_option"
1126 if test -n "$ac_unrecognized_opts"; then
1127 case $enable_option_checking in
1128 no) ;;
1129 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1130 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1131 esac
1134 # Check all directory arguments for consistency.
1135 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1136 datadir sysconfdir sharedstatedir localstatedir includedir \
1137 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1138 libdir localedir mandir
1140 eval ac_val=\$$ac_var
1141 # Remove trailing slashes.
1142 case $ac_val in
1143 */ )
1144 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1145 eval $ac_var=\$ac_val;;
1146 esac
1147 # Be sure to have absolute directory names.
1148 case $ac_val in
1149 [\\/$]* | ?:[\\/]* ) continue;;
1150 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1151 esac
1152 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1153 done
1155 # There might be people who depend on the old broken behavior: `$host'
1156 # used to hold the argument of --host etc.
1157 # FIXME: To remove some day.
1158 build=$build_alias
1159 host=$host_alias
1160 target=$target_alias
1162 # FIXME: To remove some day.
1163 if test "x$host_alias" != x; then
1164 if test "x$build_alias" = x; then
1165 cross_compiling=maybe
1166 elif test "x$build_alias" != "x$host_alias"; then
1167 cross_compiling=yes
1171 ac_tool_prefix=
1172 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1174 test "$silent" = yes && exec 6>/dev/null
1177 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1178 ac_ls_di=`ls -di .` &&
1179 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1180 as_fn_error $? "working directory cannot be determined"
1181 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1182 as_fn_error $? "pwd does not report name of working directory"
1185 # Find the source files, if location was not specified.
1186 if test -z "$srcdir"; then
1187 ac_srcdir_defaulted=yes
1188 # Try the directory containing this script, then the parent directory.
1189 ac_confdir=`$as_dirname -- "$as_myself" ||
1190 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1191 X"$as_myself" : 'X\(//\)[^/]' \| \
1192 X"$as_myself" : 'X\(//\)$' \| \
1193 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1194 $as_echo X"$as_myself" |
1195 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1196 s//\1/
1199 /^X\(\/\/\)[^/].*/{
1200 s//\1/
1203 /^X\(\/\/\)$/{
1204 s//\1/
1207 /^X\(\/\).*/{
1208 s//\1/
1211 s/.*/./; q'`
1212 srcdir=$ac_confdir
1213 if test ! -r "$srcdir/$ac_unique_file"; then
1214 srcdir=..
1216 else
1217 ac_srcdir_defaulted=no
1219 if test ! -r "$srcdir/$ac_unique_file"; then
1220 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1221 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1223 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1224 ac_abs_confdir=`(
1225 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1226 pwd)`
1227 # When building in place, set srcdir=.
1228 if test "$ac_abs_confdir" = "$ac_pwd"; then
1229 srcdir=.
1231 # Remove unnecessary trailing slashes from srcdir.
1232 # Double slashes in file names in object file debugging info
1233 # mess up M-x gdb in Emacs.
1234 case $srcdir in
1235 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1236 esac
1237 for ac_var in $ac_precious_vars; do
1238 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1239 eval ac_env_${ac_var}_value=\$${ac_var}
1240 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1241 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1242 done
1245 # Report the --help message.
1247 if test "$ac_init_help" = "long"; then
1248 # Omit some internal or obsolete options to make the list less imposing.
1249 # This message is too long to be a string in the A/UX 3.1 sh.
1250 cat <<_ACEOF
1251 \`configure' configures ocurl 0.8.1 to adapt to many kinds of systems.
1253 Usage: $0 [OPTION]... [VAR=VALUE]...
1255 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1256 VAR=VALUE. See below for descriptions of some of the useful variables.
1258 Defaults for the options are specified in brackets.
1260 Configuration:
1261 -h, --help display this help and exit
1262 --help=short display options specific to this package
1263 --help=recursive display the short help of all the included packages
1264 -V, --version display version information and exit
1265 -q, --quiet, --silent do not print \`checking ...' messages
1266 --cache-file=FILE cache test results in FILE [disabled]
1267 -C, --config-cache alias for \`--cache-file=config.cache'
1268 -n, --no-create do not create output files
1269 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1271 Installation directories:
1272 --prefix=PREFIX install architecture-independent files in PREFIX
1273 [$ac_default_prefix]
1274 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1275 [PREFIX]
1277 By default, \`make install' will install all the files in
1278 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1279 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1280 for instance \`--prefix=\$HOME'.
1282 For better control, use the options below.
1284 Fine tuning of the installation directories:
1285 --bindir=DIR user executables [EPREFIX/bin]
1286 --sbindir=DIR system admin executables [EPREFIX/sbin]
1287 --libexecdir=DIR program executables [EPREFIX/libexec]
1288 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1289 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1290 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1291 --libdir=DIR object code libraries [EPREFIX/lib]
1292 --includedir=DIR C header files [PREFIX/include]
1293 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1294 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1295 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1296 --infodir=DIR info documentation [DATAROOTDIR/info]
1297 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1298 --mandir=DIR man documentation [DATAROOTDIR/man]
1299 --docdir=DIR documentation root [DATAROOTDIR/doc/ocurl]
1300 --htmldir=DIR html documentation [DOCDIR]
1301 --dvidir=DIR dvi documentation [DOCDIR]
1302 --pdfdir=DIR pdf documentation [DOCDIR]
1303 --psdir=DIR ps documentation [DOCDIR]
1304 _ACEOF
1306 cat <<\_ACEOF
1307 _ACEOF
1310 if test -n "$ac_init_help"; then
1311 case $ac_init_help in
1312 short | recursive ) echo "Configuration of ocurl 0.8.1:";;
1313 esac
1314 cat <<\_ACEOF
1316 Some influential environment variables:
1317 CC C compiler command
1318 CFLAGS C compiler flags
1319 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1320 nonstandard directory <lib dir>
1321 LIBS libraries to pass to the linker, e.g. -l<library>
1322 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1323 you have headers in a nonstandard directory <include dir>
1324 CPP C preprocessor
1326 Use these variables to override the choices made by `configure' or to help
1327 it to find libraries and programs with nonstandard names/locations.
1329 Report bugs to the package provider.
1330 _ACEOF
1331 ac_status=$?
1334 if test "$ac_init_help" = "recursive"; then
1335 # If there are subdirs, report their specific --help.
1336 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1337 test -d "$ac_dir" ||
1338 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1339 continue
1340 ac_builddir=.
1342 case "$ac_dir" in
1343 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1345 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1346 # A ".." for each directory in $ac_dir_suffix.
1347 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1348 case $ac_top_builddir_sub in
1349 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1350 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1351 esac ;;
1352 esac
1353 ac_abs_top_builddir=$ac_pwd
1354 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1355 # for backward compatibility:
1356 ac_top_builddir=$ac_top_build_prefix
1358 case $srcdir in
1359 .) # We are building in place.
1360 ac_srcdir=.
1361 ac_top_srcdir=$ac_top_builddir_sub
1362 ac_abs_top_srcdir=$ac_pwd ;;
1363 [\\/]* | ?:[\\/]* ) # Absolute name.
1364 ac_srcdir=$srcdir$ac_dir_suffix;
1365 ac_top_srcdir=$srcdir
1366 ac_abs_top_srcdir=$srcdir ;;
1367 *) # Relative name.
1368 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1369 ac_top_srcdir=$ac_top_build_prefix$srcdir
1370 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1371 esac
1372 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1374 cd "$ac_dir" || { ac_status=$?; continue; }
1375 # Check for guested configure.
1376 if test -f "$ac_srcdir/configure.gnu"; then
1377 echo &&
1378 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1379 elif test -f "$ac_srcdir/configure"; then
1380 echo &&
1381 $SHELL "$ac_srcdir/configure" --help=recursive
1382 else
1383 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1384 fi || ac_status=$?
1385 cd "$ac_pwd" || { ac_status=$?; break; }
1386 done
1389 test -n "$ac_init_help" && exit $ac_status
1390 if $ac_init_version; then
1391 cat <<\_ACEOF
1392 ocurl configure 0.8.1
1393 generated by GNU Autoconf 2.69
1395 Copyright (C) 2012 Free Software Foundation, Inc.
1396 This configure script is free software; the Free Software Foundation
1397 gives unlimited permission to copy, distribute and modify it.
1398 _ACEOF
1399 exit
1402 ## ------------------------ ##
1403 ## Autoconf initialization. ##
1404 ## ------------------------ ##
1406 # ac_fn_c_try_compile LINENO
1407 # --------------------------
1408 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1409 ac_fn_c_try_compile ()
1411 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1412 rm -f conftest.$ac_objext
1413 if { { ac_try="$ac_compile"
1414 case "(($ac_try" in
1415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1416 *) ac_try_echo=$ac_try;;
1417 esac
1418 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1419 $as_echo "$ac_try_echo"; } >&5
1420 (eval "$ac_compile") 2>conftest.err
1421 ac_status=$?
1422 if test -s conftest.err; then
1423 grep -v '^ *+' conftest.err >conftest.er1
1424 cat conftest.er1 >&5
1425 mv -f conftest.er1 conftest.err
1427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1428 test $ac_status = 0; } && {
1429 test -z "$ac_c_werror_flag" ||
1430 test ! -s conftest.err
1431 } && test -s conftest.$ac_objext; then :
1432 ac_retval=0
1433 else
1434 $as_echo "$as_me: failed program was:" >&5
1435 sed 's/^/| /' conftest.$ac_ext >&5
1437 ac_retval=1
1439 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1440 as_fn_set_status $ac_retval
1442 } # ac_fn_c_try_compile
1444 # ac_fn_c_try_cpp LINENO
1445 # ----------------------
1446 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1447 ac_fn_c_try_cpp ()
1449 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1450 if { { ac_try="$ac_cpp conftest.$ac_ext"
1451 case "(($ac_try" in
1452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1453 *) ac_try_echo=$ac_try;;
1454 esac
1455 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1456 $as_echo "$ac_try_echo"; } >&5
1457 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1458 ac_status=$?
1459 if test -s conftest.err; then
1460 grep -v '^ *+' conftest.err >conftest.er1
1461 cat conftest.er1 >&5
1462 mv -f conftest.er1 conftest.err
1464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1465 test $ac_status = 0; } > conftest.i && {
1466 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1467 test ! -s conftest.err
1468 }; then :
1469 ac_retval=0
1470 else
1471 $as_echo "$as_me: failed program was:" >&5
1472 sed 's/^/| /' conftest.$ac_ext >&5
1474 ac_retval=1
1476 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1477 as_fn_set_status $ac_retval
1479 } # ac_fn_c_try_cpp
1481 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1482 # -------------------------------------------------------
1483 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1484 # the include files in INCLUDES and setting the cache variable VAR
1485 # accordingly.
1486 ac_fn_c_check_header_mongrel ()
1488 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1489 if eval \${$3+:} false; then :
1490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1491 $as_echo_n "checking for $2... " >&6; }
1492 if eval \${$3+:} false; then :
1493 $as_echo_n "(cached) " >&6
1495 eval ac_res=\$$3
1496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1497 $as_echo "$ac_res" >&6; }
1498 else
1499 # Is the header compilable?
1500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1501 $as_echo_n "checking $2 usability... " >&6; }
1502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1503 /* end confdefs.h. */
1505 #include <$2>
1506 _ACEOF
1507 if ac_fn_c_try_compile "$LINENO"; then :
1508 ac_header_compiler=yes
1509 else
1510 ac_header_compiler=no
1512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1514 $as_echo "$ac_header_compiler" >&6; }
1516 # Is the header present?
1517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1518 $as_echo_n "checking $2 presence... " >&6; }
1519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1520 /* end confdefs.h. */
1521 #include <$2>
1522 _ACEOF
1523 if ac_fn_c_try_cpp "$LINENO"; then :
1524 ac_header_preproc=yes
1525 else
1526 ac_header_preproc=no
1528 rm -f conftest.err conftest.i conftest.$ac_ext
1529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1530 $as_echo "$ac_header_preproc" >&6; }
1532 # So? What about this header?
1533 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1534 yes:no: )
1535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1536 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1538 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1540 no:yes:* )
1541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1542 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1544 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1546 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1548 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1550 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1552 esac
1553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1554 $as_echo_n "checking for $2... " >&6; }
1555 if eval \${$3+:} false; then :
1556 $as_echo_n "(cached) " >&6
1557 else
1558 eval "$3=\$ac_header_compiler"
1560 eval ac_res=\$$3
1561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1562 $as_echo "$ac_res" >&6; }
1564 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1566 } # ac_fn_c_check_header_mongrel
1568 # ac_fn_c_try_run LINENO
1569 # ----------------------
1570 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1571 # that executables *can* be run.
1572 ac_fn_c_try_run ()
1574 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1575 if { { ac_try="$ac_link"
1576 case "(($ac_try" in
1577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1578 *) ac_try_echo=$ac_try;;
1579 esac
1580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1581 $as_echo "$ac_try_echo"; } >&5
1582 (eval "$ac_link") 2>&5
1583 ac_status=$?
1584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1585 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1586 { { case "(($ac_try" in
1587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1588 *) ac_try_echo=$ac_try;;
1589 esac
1590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1591 $as_echo "$ac_try_echo"; } >&5
1592 (eval "$ac_try") 2>&5
1593 ac_status=$?
1594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1595 test $ac_status = 0; }; }; then :
1596 ac_retval=0
1597 else
1598 $as_echo "$as_me: program exited with status $ac_status" >&5
1599 $as_echo "$as_me: failed program was:" >&5
1600 sed 's/^/| /' conftest.$ac_ext >&5
1602 ac_retval=$ac_status
1604 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1605 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1606 as_fn_set_status $ac_retval
1608 } # ac_fn_c_try_run
1610 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1611 # -------------------------------------------------------
1612 # Tests whether HEADER exists and can be compiled using the include files in
1613 # INCLUDES, setting the cache variable VAR accordingly.
1614 ac_fn_c_check_header_compile ()
1616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1618 $as_echo_n "checking for $2... " >&6; }
1619 if eval \${$3+:} false; then :
1620 $as_echo_n "(cached) " >&6
1621 else
1622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1623 /* end confdefs.h. */
1625 #include <$2>
1626 _ACEOF
1627 if ac_fn_c_try_compile "$LINENO"; then :
1628 eval "$3=yes"
1629 else
1630 eval "$3=no"
1632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1634 eval ac_res=\$$3
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1636 $as_echo "$ac_res" >&6; }
1637 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1639 } # ac_fn_c_check_header_compile
1641 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1642 # ---------------------------------------------
1643 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1644 # accordingly.
1645 ac_fn_c_check_decl ()
1647 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1648 as_decl_name=`echo $2|sed 's/ *(.*//'`
1649 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1651 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1652 if eval \${$3+:} false; then :
1653 $as_echo_n "(cached) " >&6
1654 else
1655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1656 /* end confdefs.h. */
1659 main ()
1661 #ifndef $as_decl_name
1662 #ifdef __cplusplus
1663 (void) $as_decl_use;
1664 #else
1665 (void) $as_decl_name;
1666 #endif
1667 #endif
1670 return 0;
1672 _ACEOF
1673 if ac_fn_c_try_compile "$LINENO"; then :
1674 eval "$3=yes"
1675 else
1676 eval "$3=no"
1678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1680 eval ac_res=\$$3
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1682 $as_echo "$ac_res" >&6; }
1683 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1685 } # ac_fn_c_check_decl
1686 cat >config.log <<_ACEOF
1687 This file contains any messages produced by compilers while
1688 running configure, to aid debugging if configure makes a mistake.
1690 It was created by ocurl $as_me 0.8.1, which was
1691 generated by GNU Autoconf 2.69. Invocation command line was
1693 $ $0 $@
1695 _ACEOF
1696 exec 5>>config.log
1698 cat <<_ASUNAME
1699 ## --------- ##
1700 ## Platform. ##
1701 ## --------- ##
1703 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1704 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1705 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1706 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1707 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1709 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1710 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1712 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1713 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1714 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1715 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1716 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1717 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1718 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1720 _ASUNAME
1722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1723 for as_dir in $PATH
1725 IFS=$as_save_IFS
1726 test -z "$as_dir" && as_dir=.
1727 $as_echo "PATH: $as_dir"
1728 done
1729 IFS=$as_save_IFS
1731 } >&5
1733 cat >&5 <<_ACEOF
1736 ## ----------- ##
1737 ## Core tests. ##
1738 ## ----------- ##
1740 _ACEOF
1743 # Keep a trace of the command line.
1744 # Strip out --no-create and --no-recursion so they do not pile up.
1745 # Strip out --silent because we don't want to record it for future runs.
1746 # Also quote any args containing shell meta-characters.
1747 # Make two passes to allow for proper duplicate-argument suppression.
1748 ac_configure_args=
1749 ac_configure_args0=
1750 ac_configure_args1=
1751 ac_must_keep_next=false
1752 for ac_pass in 1 2
1754 for ac_arg
1756 case $ac_arg in
1757 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1758 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1759 | -silent | --silent | --silen | --sile | --sil)
1760 continue ;;
1761 *\'*)
1762 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1763 esac
1764 case $ac_pass in
1765 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1767 as_fn_append ac_configure_args1 " '$ac_arg'"
1768 if test $ac_must_keep_next = true; then
1769 ac_must_keep_next=false # Got value, back to normal.
1770 else
1771 case $ac_arg in
1772 *=* | --config-cache | -C | -disable-* | --disable-* \
1773 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1774 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1775 | -with-* | --with-* | -without-* | --without-* | --x)
1776 case "$ac_configure_args0 " in
1777 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1778 esac
1780 -* ) ac_must_keep_next=true ;;
1781 esac
1783 as_fn_append ac_configure_args " '$ac_arg'"
1785 esac
1786 done
1787 done
1788 { ac_configure_args0=; unset ac_configure_args0;}
1789 { ac_configure_args1=; unset ac_configure_args1;}
1791 # When interrupted or exit'd, cleanup temporary files, and complete
1792 # config.log. We remove comments because anyway the quotes in there
1793 # would cause problems or look ugly.
1794 # WARNING: Use '\'' to represent an apostrophe within the trap.
1795 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1796 trap 'exit_status=$?
1797 # Save into config.log some information that might help in debugging.
1799 echo
1801 $as_echo "## ---------------- ##
1802 ## Cache variables. ##
1803 ## ---------------- ##"
1804 echo
1805 # The following way of writing the cache mishandles newlines in values,
1807 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1808 eval ac_val=\$$ac_var
1809 case $ac_val in #(
1810 *${as_nl}*)
1811 case $ac_var in #(
1812 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1813 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1814 esac
1815 case $ac_var in #(
1816 _ | IFS | as_nl) ;; #(
1817 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1818 *) { eval $ac_var=; unset $ac_var;} ;;
1819 esac ;;
1820 esac
1821 done
1822 (set) 2>&1 |
1823 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1824 *${as_nl}ac_space=\ *)
1825 sed -n \
1826 "s/'\''/'\''\\\\'\'''\''/g;
1827 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1828 ;; #(
1830 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1832 esac |
1833 sort
1835 echo
1837 $as_echo "## ----------------- ##
1838 ## Output variables. ##
1839 ## ----------------- ##"
1840 echo
1841 for ac_var in $ac_subst_vars
1843 eval ac_val=\$$ac_var
1844 case $ac_val in
1845 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1846 esac
1847 $as_echo "$ac_var='\''$ac_val'\''"
1848 done | sort
1849 echo
1851 if test -n "$ac_subst_files"; then
1852 $as_echo "## ------------------- ##
1853 ## File substitutions. ##
1854 ## ------------------- ##"
1855 echo
1856 for ac_var in $ac_subst_files
1858 eval ac_val=\$$ac_var
1859 case $ac_val in
1860 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1861 esac
1862 $as_echo "$ac_var='\''$ac_val'\''"
1863 done | sort
1864 echo
1867 if test -s confdefs.h; then
1868 $as_echo "## ----------- ##
1869 ## confdefs.h. ##
1870 ## ----------- ##"
1871 echo
1872 cat confdefs.h
1873 echo
1875 test "$ac_signal" != 0 &&
1876 $as_echo "$as_me: caught signal $ac_signal"
1877 $as_echo "$as_me: exit $exit_status"
1878 } >&5
1879 rm -f core *.core core.conftest.* &&
1880 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1881 exit $exit_status
1883 for ac_signal in 1 2 13 15; do
1884 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1885 done
1886 ac_signal=0
1888 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1889 rm -f -r conftest* confdefs.h
1891 $as_echo "/* confdefs.h */" > confdefs.h
1893 # Predefined preprocessor variables.
1895 cat >>confdefs.h <<_ACEOF
1896 #define PACKAGE_NAME "$PACKAGE_NAME"
1897 _ACEOF
1899 cat >>confdefs.h <<_ACEOF
1900 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1901 _ACEOF
1903 cat >>confdefs.h <<_ACEOF
1904 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1905 _ACEOF
1907 cat >>confdefs.h <<_ACEOF
1908 #define PACKAGE_STRING "$PACKAGE_STRING"
1909 _ACEOF
1911 cat >>confdefs.h <<_ACEOF
1912 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1913 _ACEOF
1915 cat >>confdefs.h <<_ACEOF
1916 #define PACKAGE_URL "$PACKAGE_URL"
1917 _ACEOF
1920 # Let the site file select an alternate cache file if it wants to.
1921 # Prefer an explicitly selected file to automatically selected ones.
1922 ac_site_file1=NONE
1923 ac_site_file2=NONE
1924 if test -n "$CONFIG_SITE"; then
1925 # We do not want a PATH search for config.site.
1926 case $CONFIG_SITE in #((
1927 -*) ac_site_file1=./$CONFIG_SITE;;
1928 */*) ac_site_file1=$CONFIG_SITE;;
1929 *) ac_site_file1=./$CONFIG_SITE;;
1930 esac
1931 elif test "x$prefix" != xNONE; then
1932 ac_site_file1=$prefix/share/config.site
1933 ac_site_file2=$prefix/etc/config.site
1934 else
1935 ac_site_file1=$ac_default_prefix/share/config.site
1936 ac_site_file2=$ac_default_prefix/etc/config.site
1938 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1940 test "x$ac_site_file" = xNONE && continue
1941 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1943 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1944 sed 's/^/| /' "$ac_site_file" >&5
1945 . "$ac_site_file" \
1946 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1948 as_fn_error $? "failed to load site script $ac_site_file
1949 See \`config.log' for more details" "$LINENO" 5; }
1951 done
1953 if test -r "$cache_file"; then
1954 # Some versions of bash will fail to source /dev/null (special files
1955 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1956 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1958 $as_echo "$as_me: loading cache $cache_file" >&6;}
1959 case $cache_file in
1960 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1961 *) . "./$cache_file";;
1962 esac
1964 else
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1966 $as_echo "$as_me: creating cache $cache_file" >&6;}
1967 >$cache_file
1970 # Check that the precious variables saved in the cache have kept the same
1971 # value.
1972 ac_cache_corrupted=false
1973 for ac_var in $ac_precious_vars; do
1974 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1975 eval ac_new_set=\$ac_env_${ac_var}_set
1976 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1977 eval ac_new_val=\$ac_env_${ac_var}_value
1978 case $ac_old_set,$ac_new_set in
1979 set,)
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1981 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1982 ac_cache_corrupted=: ;;
1983 ,set)
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1985 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1986 ac_cache_corrupted=: ;;
1987 ,);;
1989 if test "x$ac_old_val" != "x$ac_new_val"; then
1990 # differences in whitespace do not lead to failure.
1991 ac_old_val_w=`echo x $ac_old_val`
1992 ac_new_val_w=`echo x $ac_new_val`
1993 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1995 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1996 ac_cache_corrupted=:
1997 else
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1999 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2000 eval $ac_var=\$ac_old_val
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2003 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2005 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2006 fi;;
2007 esac
2008 # Pass precious variables to config.status.
2009 if test "$ac_new_set" = set; then
2010 case $ac_new_val in
2011 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2012 *) ac_arg=$ac_var=$ac_new_val ;;
2013 esac
2014 case " $ac_configure_args " in
2015 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2016 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2017 esac
2019 done
2020 if $ac_cache_corrupted; then
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2024 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2025 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2027 ## -------------------- ##
2028 ## Main body of script. ##
2029 ## -------------------- ##
2031 ac_ext=c
2032 ac_cpp='$CPP $CPPFLAGS'
2033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2039 MIN_LIBCURL_VERSION=7.28.0
2041 ac_ext=c
2042 ac_cpp='$CPP $CPPFLAGS'
2043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2046 if test -n "$ac_tool_prefix"; then
2047 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2048 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2050 $as_echo_n "checking for $ac_word... " >&6; }
2051 if ${ac_cv_prog_CC+:} false; then :
2052 $as_echo_n "(cached) " >&6
2053 else
2054 if test -n "$CC"; then
2055 ac_cv_prog_CC="$CC" # Let the user override the test.
2056 else
2057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2058 for as_dir in $PATH
2060 IFS=$as_save_IFS
2061 test -z "$as_dir" && as_dir=.
2062 for ac_exec_ext in '' $ac_executable_extensions; do
2063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2064 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2066 break 2
2068 done
2069 done
2070 IFS=$as_save_IFS
2074 CC=$ac_cv_prog_CC
2075 if test -n "$CC"; then
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2077 $as_echo "$CC" >&6; }
2078 else
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2080 $as_echo "no" >&6; }
2085 if test -z "$ac_cv_prog_CC"; then
2086 ac_ct_CC=$CC
2087 # Extract the first word of "gcc", so it can be a program name with args.
2088 set dummy gcc; ac_word=$2
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2090 $as_echo_n "checking for $ac_word... " >&6; }
2091 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2092 $as_echo_n "(cached) " >&6
2093 else
2094 if test -n "$ac_ct_CC"; then
2095 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2096 else
2097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2098 for as_dir in $PATH
2100 IFS=$as_save_IFS
2101 test -z "$as_dir" && as_dir=.
2102 for ac_exec_ext in '' $ac_executable_extensions; do
2103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2104 ac_cv_prog_ac_ct_CC="gcc"
2105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2106 break 2
2108 done
2109 done
2110 IFS=$as_save_IFS
2114 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2115 if test -n "$ac_ct_CC"; then
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2117 $as_echo "$ac_ct_CC" >&6; }
2118 else
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2120 $as_echo "no" >&6; }
2123 if test "x$ac_ct_CC" = x; then
2124 CC=""
2125 else
2126 case $cross_compiling:$ac_tool_warned in
2127 yes:)
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2129 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2130 ac_tool_warned=yes ;;
2131 esac
2132 CC=$ac_ct_CC
2134 else
2135 CC="$ac_cv_prog_CC"
2138 if test -z "$CC"; then
2139 if test -n "$ac_tool_prefix"; then
2140 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2141 set dummy ${ac_tool_prefix}cc; ac_word=$2
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2143 $as_echo_n "checking for $ac_word... " >&6; }
2144 if ${ac_cv_prog_CC+:} false; then :
2145 $as_echo_n "(cached) " >&6
2146 else
2147 if test -n "$CC"; then
2148 ac_cv_prog_CC="$CC" # Let the user override the test.
2149 else
2150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2151 for as_dir in $PATH
2153 IFS=$as_save_IFS
2154 test -z "$as_dir" && as_dir=.
2155 for ac_exec_ext in '' $ac_executable_extensions; do
2156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2157 ac_cv_prog_CC="${ac_tool_prefix}cc"
2158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2159 break 2
2161 done
2162 done
2163 IFS=$as_save_IFS
2167 CC=$ac_cv_prog_CC
2168 if test -n "$CC"; then
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2170 $as_echo "$CC" >&6; }
2171 else
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2173 $as_echo "no" >&6; }
2179 if test -z "$CC"; then
2180 # Extract the first word of "cc", so it can be a program name with args.
2181 set dummy cc; ac_word=$2
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2183 $as_echo_n "checking for $ac_word... " >&6; }
2184 if ${ac_cv_prog_CC+:} false; then :
2185 $as_echo_n "(cached) " >&6
2186 else
2187 if test -n "$CC"; then
2188 ac_cv_prog_CC="$CC" # Let the user override the test.
2189 else
2190 ac_prog_rejected=no
2191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2192 for as_dir in $PATH
2194 IFS=$as_save_IFS
2195 test -z "$as_dir" && as_dir=.
2196 for ac_exec_ext in '' $ac_executable_extensions; do
2197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2198 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2199 ac_prog_rejected=yes
2200 continue
2202 ac_cv_prog_CC="cc"
2203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2204 break 2
2206 done
2207 done
2208 IFS=$as_save_IFS
2210 if test $ac_prog_rejected = yes; then
2211 # We found a bogon in the path, so make sure we never use it.
2212 set dummy $ac_cv_prog_CC
2213 shift
2214 if test $# != 0; then
2215 # We chose a different compiler from the bogus one.
2216 # However, it has the same basename, so the bogon will be chosen
2217 # first if we set CC to just the basename; use the full file name.
2218 shift
2219 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2224 CC=$ac_cv_prog_CC
2225 if test -n "$CC"; then
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2227 $as_echo "$CC" >&6; }
2228 else
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2230 $as_echo "no" >&6; }
2235 if test -z "$CC"; then
2236 if test -n "$ac_tool_prefix"; then
2237 for ac_prog in cl.exe
2239 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2240 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2242 $as_echo_n "checking for $ac_word... " >&6; }
2243 if ${ac_cv_prog_CC+:} false; then :
2244 $as_echo_n "(cached) " >&6
2245 else
2246 if test -n "$CC"; then
2247 ac_cv_prog_CC="$CC" # Let the user override the test.
2248 else
2249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2250 for as_dir in $PATH
2252 IFS=$as_save_IFS
2253 test -z "$as_dir" && as_dir=.
2254 for ac_exec_ext in '' $ac_executable_extensions; do
2255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2256 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2258 break 2
2260 done
2261 done
2262 IFS=$as_save_IFS
2266 CC=$ac_cv_prog_CC
2267 if test -n "$CC"; then
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2269 $as_echo "$CC" >&6; }
2270 else
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2272 $as_echo "no" >&6; }
2276 test -n "$CC" && break
2277 done
2279 if test -z "$CC"; then
2280 ac_ct_CC=$CC
2281 for ac_prog in cl.exe
2283 # Extract the first word of "$ac_prog", so it can be a program name with args.
2284 set dummy $ac_prog; ac_word=$2
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2286 $as_echo_n "checking for $ac_word... " >&6; }
2287 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2288 $as_echo_n "(cached) " >&6
2289 else
2290 if test -n "$ac_ct_CC"; then
2291 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2292 else
2293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2294 for as_dir in $PATH
2296 IFS=$as_save_IFS
2297 test -z "$as_dir" && as_dir=.
2298 for ac_exec_ext in '' $ac_executable_extensions; do
2299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2300 ac_cv_prog_ac_ct_CC="$ac_prog"
2301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2302 break 2
2304 done
2305 done
2306 IFS=$as_save_IFS
2310 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2311 if test -n "$ac_ct_CC"; then
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2313 $as_echo "$ac_ct_CC" >&6; }
2314 else
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2316 $as_echo "no" >&6; }
2320 test -n "$ac_ct_CC" && break
2321 done
2323 if test "x$ac_ct_CC" = x; then
2324 CC=""
2325 else
2326 case $cross_compiling:$ac_tool_warned in
2327 yes:)
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2330 ac_tool_warned=yes ;;
2331 esac
2332 CC=$ac_ct_CC
2339 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2341 as_fn_error $? "no acceptable C compiler found in \$PATH
2342 See \`config.log' for more details" "$LINENO" 5; }
2344 # Provide some information about the compiler.
2345 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2346 set X $ac_compile
2347 ac_compiler=$2
2348 for ac_option in --version -v -V -qversion; do
2349 { { ac_try="$ac_compiler $ac_option >&5"
2350 case "(($ac_try" in
2351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2352 *) ac_try_echo=$ac_try;;
2353 esac
2354 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2355 $as_echo "$ac_try_echo"; } >&5
2356 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2357 ac_status=$?
2358 if test -s conftest.err; then
2359 sed '10a\
2360 ... rest of stderr output deleted ...
2361 10q' conftest.err >conftest.er1
2362 cat conftest.er1 >&5
2364 rm -f conftest.er1 conftest.err
2365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2366 test $ac_status = 0; }
2367 done
2369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2370 /* end confdefs.h. */
2373 main ()
2377 return 0;
2379 _ACEOF
2380 ac_clean_files_save=$ac_clean_files
2381 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2382 # Try to create an executable without -o first, disregard a.out.
2383 # It will help us diagnose broken compilers, and finding out an intuition
2384 # of exeext.
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2386 $as_echo_n "checking whether the C compiler works... " >&6; }
2387 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2389 # The possible output files:
2390 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2392 ac_rmfiles=
2393 for ac_file in $ac_files
2395 case $ac_file in
2396 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2397 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2398 esac
2399 done
2400 rm -f $ac_rmfiles
2402 if { { ac_try="$ac_link_default"
2403 case "(($ac_try" in
2404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2405 *) ac_try_echo=$ac_try;;
2406 esac
2407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2408 $as_echo "$ac_try_echo"; } >&5
2409 (eval "$ac_link_default") 2>&5
2410 ac_status=$?
2411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2412 test $ac_status = 0; }; then :
2413 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2414 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2415 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2416 # so that the user can short-circuit this test for compilers unknown to
2417 # Autoconf.
2418 for ac_file in $ac_files ''
2420 test -f "$ac_file" || continue
2421 case $ac_file in
2422 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2424 [ab].out )
2425 # We found the default executable, but exeext='' is most
2426 # certainly right.
2427 break;;
2428 *.* )
2429 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2430 then :; else
2431 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2433 # We set ac_cv_exeext here because the later test for it is not
2434 # safe: cross compilers may not add the suffix if given an `-o'
2435 # argument, so we may need to know it at that point already.
2436 # Even if this section looks crufty: it has the advantage of
2437 # actually working.
2438 break;;
2440 break;;
2441 esac
2442 done
2443 test "$ac_cv_exeext" = no && ac_cv_exeext=
2445 else
2446 ac_file=''
2448 if test -z "$ac_file"; then :
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2450 $as_echo "no" >&6; }
2451 $as_echo "$as_me: failed program was:" >&5
2452 sed 's/^/| /' conftest.$ac_ext >&5
2454 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2456 as_fn_error 77 "C compiler cannot create executables
2457 See \`config.log' for more details" "$LINENO" 5; }
2458 else
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2460 $as_echo "yes" >&6; }
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2463 $as_echo_n "checking for C compiler default output file name... " >&6; }
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2465 $as_echo "$ac_file" >&6; }
2466 ac_exeext=$ac_cv_exeext
2468 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2469 ac_clean_files=$ac_clean_files_save
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2471 $as_echo_n "checking for suffix of executables... " >&6; }
2472 if { { ac_try="$ac_link"
2473 case "(($ac_try" in
2474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2475 *) ac_try_echo=$ac_try;;
2476 esac
2477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2478 $as_echo "$ac_try_echo"; } >&5
2479 (eval "$ac_link") 2>&5
2480 ac_status=$?
2481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2482 test $ac_status = 0; }; then :
2483 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2484 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2485 # work properly (i.e., refer to `conftest.exe'), while it won't with
2486 # `rm'.
2487 for ac_file in conftest.exe conftest conftest.*; do
2488 test -f "$ac_file" || continue
2489 case $ac_file in
2490 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2491 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2492 break;;
2493 * ) break;;
2494 esac
2495 done
2496 else
2497 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2499 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2500 See \`config.log' for more details" "$LINENO" 5; }
2502 rm -f conftest conftest$ac_cv_exeext
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2504 $as_echo "$ac_cv_exeext" >&6; }
2506 rm -f conftest.$ac_ext
2507 EXEEXT=$ac_cv_exeext
2508 ac_exeext=$EXEEXT
2509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2510 /* end confdefs.h. */
2511 #include <stdio.h>
2513 main ()
2515 FILE *f = fopen ("conftest.out", "w");
2516 return ferror (f) || fclose (f) != 0;
2519 return 0;
2521 _ACEOF
2522 ac_clean_files="$ac_clean_files conftest.out"
2523 # Check that the compiler produces executables we can run. If not, either
2524 # the compiler is broken, or we cross compile.
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2526 $as_echo_n "checking whether we are cross compiling... " >&6; }
2527 if test "$cross_compiling" != yes; then
2528 { { ac_try="$ac_link"
2529 case "(($ac_try" in
2530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2531 *) ac_try_echo=$ac_try;;
2532 esac
2533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2534 $as_echo "$ac_try_echo"; } >&5
2535 (eval "$ac_link") 2>&5
2536 ac_status=$?
2537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2538 test $ac_status = 0; }
2539 if { ac_try='./conftest$ac_cv_exeext'
2540 { { case "(($ac_try" in
2541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2542 *) ac_try_echo=$ac_try;;
2543 esac
2544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2545 $as_echo "$ac_try_echo"; } >&5
2546 (eval "$ac_try") 2>&5
2547 ac_status=$?
2548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2549 test $ac_status = 0; }; }; then
2550 cross_compiling=no
2551 else
2552 if test "$cross_compiling" = maybe; then
2553 cross_compiling=yes
2554 else
2555 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2556 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2557 as_fn_error $? "cannot run C compiled programs.
2558 If you meant to cross compile, use \`--host'.
2559 See \`config.log' for more details" "$LINENO" 5; }
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2564 $as_echo "$cross_compiling" >&6; }
2566 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2567 ac_clean_files=$ac_clean_files_save
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2569 $as_echo_n "checking for suffix of object files... " >&6; }
2570 if ${ac_cv_objext+:} false; then :
2571 $as_echo_n "(cached) " >&6
2572 else
2573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2574 /* end confdefs.h. */
2577 main ()
2581 return 0;
2583 _ACEOF
2584 rm -f conftest.o conftest.obj
2585 if { { ac_try="$ac_compile"
2586 case "(($ac_try" in
2587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2588 *) ac_try_echo=$ac_try;;
2589 esac
2590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2591 $as_echo "$ac_try_echo"; } >&5
2592 (eval "$ac_compile") 2>&5
2593 ac_status=$?
2594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2595 test $ac_status = 0; }; then :
2596 for ac_file in conftest.o conftest.obj conftest.*; do
2597 test -f "$ac_file" || continue;
2598 case $ac_file in
2599 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2600 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2601 break;;
2602 esac
2603 done
2604 else
2605 $as_echo "$as_me: failed program was:" >&5
2606 sed 's/^/| /' conftest.$ac_ext >&5
2608 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2610 as_fn_error $? "cannot compute suffix of object files: cannot compile
2611 See \`config.log' for more details" "$LINENO" 5; }
2613 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2616 $as_echo "$ac_cv_objext" >&6; }
2617 OBJEXT=$ac_cv_objext
2618 ac_objext=$OBJEXT
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2620 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2621 if ${ac_cv_c_compiler_gnu+:} false; then :
2622 $as_echo_n "(cached) " >&6
2623 else
2624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2625 /* end confdefs.h. */
2628 main ()
2630 #ifndef __GNUC__
2631 choke me
2632 #endif
2635 return 0;
2637 _ACEOF
2638 if ac_fn_c_try_compile "$LINENO"; then :
2639 ac_compiler_gnu=yes
2640 else
2641 ac_compiler_gnu=no
2643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2644 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2648 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2649 if test $ac_compiler_gnu = yes; then
2650 GCC=yes
2651 else
2652 GCC=
2654 ac_test_CFLAGS=${CFLAGS+set}
2655 ac_save_CFLAGS=$CFLAGS
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2657 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2658 if ${ac_cv_prog_cc_g+:} false; then :
2659 $as_echo_n "(cached) " >&6
2660 else
2661 ac_save_c_werror_flag=$ac_c_werror_flag
2662 ac_c_werror_flag=yes
2663 ac_cv_prog_cc_g=no
2664 CFLAGS="-g"
2665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2666 /* end confdefs.h. */
2669 main ()
2673 return 0;
2675 _ACEOF
2676 if ac_fn_c_try_compile "$LINENO"; then :
2677 ac_cv_prog_cc_g=yes
2678 else
2679 CFLAGS=""
2680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2681 /* end confdefs.h. */
2684 main ()
2688 return 0;
2690 _ACEOF
2691 if ac_fn_c_try_compile "$LINENO"; then :
2693 else
2694 ac_c_werror_flag=$ac_save_c_werror_flag
2695 CFLAGS="-g"
2696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2697 /* end confdefs.h. */
2700 main ()
2704 return 0;
2706 _ACEOF
2707 if ac_fn_c_try_compile "$LINENO"; then :
2708 ac_cv_prog_cc_g=yes
2710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2715 ac_c_werror_flag=$ac_save_c_werror_flag
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2718 $as_echo "$ac_cv_prog_cc_g" >&6; }
2719 if test "$ac_test_CFLAGS" = set; then
2720 CFLAGS=$ac_save_CFLAGS
2721 elif test $ac_cv_prog_cc_g = yes; then
2722 if test "$GCC" = yes; then
2723 CFLAGS="-g -O2"
2724 else
2725 CFLAGS="-g"
2727 else
2728 if test "$GCC" = yes; then
2729 CFLAGS="-O2"
2730 else
2731 CFLAGS=
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2735 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2736 if ${ac_cv_prog_cc_c89+:} false; then :
2737 $as_echo_n "(cached) " >&6
2738 else
2739 ac_cv_prog_cc_c89=no
2740 ac_save_CC=$CC
2741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2742 /* end confdefs.h. */
2743 #include <stdarg.h>
2744 #include <stdio.h>
2745 struct stat;
2746 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2747 struct buf { int x; };
2748 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2749 static char *e (p, i)
2750 char **p;
2751 int i;
2753 return p[i];
2755 static char *f (char * (*g) (char **, int), char **p, ...)
2757 char *s;
2758 va_list v;
2759 va_start (v,p);
2760 s = g (p, va_arg (v,int));
2761 va_end (v);
2762 return s;
2765 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2766 function prototypes and stuff, but not '\xHH' hex character constants.
2767 These don't provoke an error unfortunately, instead are silently treated
2768 as 'x'. The following induces an error, until -std is added to get
2769 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2770 array size at least. It's necessary to write '\x00'==0 to get something
2771 that's true only with -std. */
2772 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2774 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2775 inside strings and character constants. */
2776 #define FOO(x) 'x'
2777 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2779 int test (int i, double x);
2780 struct s1 {int (*f) (int a);};
2781 struct s2 {int (*f) (double a);};
2782 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2783 int argc;
2784 char **argv;
2786 main ()
2788 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2790 return 0;
2792 _ACEOF
2793 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2794 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2796 CC="$ac_save_CC $ac_arg"
2797 if ac_fn_c_try_compile "$LINENO"; then :
2798 ac_cv_prog_cc_c89=$ac_arg
2800 rm -f core conftest.err conftest.$ac_objext
2801 test "x$ac_cv_prog_cc_c89" != "xno" && break
2802 done
2803 rm -f conftest.$ac_ext
2804 CC=$ac_save_CC
2807 # AC_CACHE_VAL
2808 case "x$ac_cv_prog_cc_c89" in
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2811 $as_echo "none needed" >&6; } ;;
2812 xno)
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2814 $as_echo "unsupported" >&6; } ;;
2816 CC="$CC $ac_cv_prog_cc_c89"
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2818 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2819 esac
2820 if test "x$ac_cv_prog_cc_c89" != xno; then :
2824 ac_ext=c
2825 ac_cpp='$CPP $CPPFLAGS'
2826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl cflags" >&5
2832 $as_echo_n "checking for libcurl cflags... " >&6; }
2833 CURLCFLAGS=`pkg-config libcurl --cflags || curl-config --cflags`
2834 if test "$?" -eq 0 ; then :
2836 else
2837 as_fn_error $? "libcurl was not found" "$LINENO" 5
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURLCFLAGS" >&5
2840 $as_echo "$CURLCFLAGS" >&6; }
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl libs" >&5
2843 $as_echo_n "checking for libcurl libs... " >&6; }
2844 CURLLIBS=`pkg-config libcurl --libs || curl-config --libs`
2845 if test "$?" -eq 0 ; then :
2847 else
2848 as_fn_error $? "libcurl was not found" "$LINENO" 5
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURLLIBS" >&5
2851 $as_echo "$CURLLIBS" >&6; }
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl version >= $MIN_LIBCURL_VERSION" >&5
2854 $as_echo_n "checking for libcurl version >= $MIN_LIBCURL_VERSION... " >&6; }
2855 LIBCURL_VERSION=`pkg-config libcurl --modversion || curl-config --version`
2856 (pkg-config libcurl && pkg-config libcurl --atleast-version=${MIN_LIBCURL_VERSION}) || curl-config --checkfor ${MIN_LIBCURL_VERSION}
2857 if test "$?" -eq 0 ; then :
2859 else
2860 as_fn_error $? "${LIBCURL_VERSION} is too old" "$LINENO" 5
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${LIBCURL_VERSION}" >&5
2863 $as_echo "${LIBCURL_VERSION}" >&6; }
2865 ac_aux_dir=
2866 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2867 if test -f "$ac_dir/install-sh"; then
2868 ac_aux_dir=$ac_dir
2869 ac_install_sh="$ac_aux_dir/install-sh -c"
2870 break
2871 elif test -f "$ac_dir/install.sh"; then
2872 ac_aux_dir=$ac_dir
2873 ac_install_sh="$ac_aux_dir/install.sh -c"
2874 break
2875 elif test -f "$ac_dir/shtool"; then
2876 ac_aux_dir=$ac_dir
2877 ac_install_sh="$ac_aux_dir/shtool install -c"
2878 break
2880 done
2881 if test -z "$ac_aux_dir"; then
2882 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2885 # These three variables are undocumented and unsupported,
2886 # and are intended to be withdrawn in a future Autoconf release.
2887 # They can cause serious problems if a builder's source tree is in a directory
2888 # whose full name contains unusual characters.
2889 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2890 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2891 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2894 # Find a good install program. We prefer a C program (faster),
2895 # so one script is as good as another. But avoid the broken or
2896 # incompatible versions:
2897 # SysV /etc/install, /usr/sbin/install
2898 # SunOS /usr/etc/install
2899 # IRIX /sbin/install
2900 # AIX /bin/install
2901 # AmigaOS /C/install, which installs bootblocks on floppy discs
2902 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2903 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2904 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2905 # OS/2's system install, which has a completely different semantic
2906 # ./install, which can be erroneously created by make from ./install.sh.
2907 # Reject install programs that cannot install multiple files.
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2909 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2910 if test -z "$INSTALL"; then
2911 if ${ac_cv_path_install+:} false; then :
2912 $as_echo_n "(cached) " >&6
2913 else
2914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2915 for as_dir in $PATH
2917 IFS=$as_save_IFS
2918 test -z "$as_dir" && as_dir=.
2919 # Account for people who put trailing slashes in PATH elements.
2920 case $as_dir/ in #((
2921 ./ | .// | /[cC]/* | \
2922 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2923 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2924 /usr/ucb/* ) ;;
2926 # OSF1 and SCO ODT 3.0 have their own names for install.
2927 # Don't use installbsd from OSF since it installs stuff as root
2928 # by default.
2929 for ac_prog in ginstall scoinst install; do
2930 for ac_exec_ext in '' $ac_executable_extensions; do
2931 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2932 if test $ac_prog = install &&
2933 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2934 # AIX install. It has an incompatible calling convention.
2936 elif test $ac_prog = install &&
2937 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2938 # program-specific install script used by HP pwplus--don't use.
2940 else
2941 rm -rf conftest.one conftest.two conftest.dir
2942 echo one > conftest.one
2943 echo two > conftest.two
2944 mkdir conftest.dir
2945 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2946 test -s conftest.one && test -s conftest.two &&
2947 test -s conftest.dir/conftest.one &&
2948 test -s conftest.dir/conftest.two
2949 then
2950 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2951 break 3
2955 done
2956 done
2958 esac
2960 done
2961 IFS=$as_save_IFS
2963 rm -rf conftest.one conftest.two conftest.dir
2966 if test "${ac_cv_path_install+set}" = set; then
2967 INSTALL=$ac_cv_path_install
2968 else
2969 # As a last resort, use the slow shell script. Don't cache a
2970 # value for INSTALL within a source directory, because that will
2971 # break other packages using the cache if that directory is
2972 # removed, or if the value is a relative name.
2973 INSTALL=$ac_install_sh
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2977 $as_echo "$INSTALL" >&6; }
2979 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2980 # It thinks the first close brace ends the variable substitution.
2981 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2983 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2985 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2987 # checking for ocamlc
2988 if test -n "$ac_tool_prefix"; then
2989 # Extract the first word of "${ac_tool_prefix}ocamlc", so it can be a program name with args.
2990 set dummy ${ac_tool_prefix}ocamlc; ac_word=$2
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2992 $as_echo_n "checking for $ac_word... " >&6; }
2993 if ${ac_cv_prog_OCAMLC+:} false; then :
2994 $as_echo_n "(cached) " >&6
2995 else
2996 if test -n "$OCAMLC"; then
2997 ac_cv_prog_OCAMLC="$OCAMLC" # Let the user override the test.
2998 else
2999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3000 for as_dir in $PATH
3002 IFS=$as_save_IFS
3003 test -z "$as_dir" && as_dir=.
3004 for ac_exec_ext in '' $ac_executable_extensions; do
3005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3006 ac_cv_prog_OCAMLC="${ac_tool_prefix}ocamlc"
3007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3008 break 2
3010 done
3011 done
3012 IFS=$as_save_IFS
3016 OCAMLC=$ac_cv_prog_OCAMLC
3017 if test -n "$OCAMLC"; then
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLC" >&5
3019 $as_echo "$OCAMLC" >&6; }
3020 else
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3022 $as_echo "no" >&6; }
3027 if test -z "$ac_cv_prog_OCAMLC"; then
3028 ac_ct_OCAMLC=$OCAMLC
3029 # Extract the first word of "ocamlc", so it can be a program name with args.
3030 set dummy ocamlc; ac_word=$2
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3032 $as_echo_n "checking for $ac_word... " >&6; }
3033 if ${ac_cv_prog_ac_ct_OCAMLC+:} false; then :
3034 $as_echo_n "(cached) " >&6
3035 else
3036 if test -n "$ac_ct_OCAMLC"; then
3037 ac_cv_prog_ac_ct_OCAMLC="$ac_ct_OCAMLC" # Let the user override the test.
3038 else
3039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3040 for as_dir in $PATH
3042 IFS=$as_save_IFS
3043 test -z "$as_dir" && as_dir=.
3044 for ac_exec_ext in '' $ac_executable_extensions; do
3045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3046 ac_cv_prog_ac_ct_OCAMLC="ocamlc"
3047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3048 break 2
3050 done
3051 done
3052 IFS=$as_save_IFS
3056 ac_ct_OCAMLC=$ac_cv_prog_ac_ct_OCAMLC
3057 if test -n "$ac_ct_OCAMLC"; then
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLC" >&5
3059 $as_echo "$ac_ct_OCAMLC" >&6; }
3060 else
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3062 $as_echo "no" >&6; }
3065 if test "x$ac_ct_OCAMLC" = x; then
3066 OCAMLC="no"
3067 else
3068 case $cross_compiling:$ac_tool_warned in
3069 yes:)
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3072 ac_tool_warned=yes ;;
3073 esac
3074 OCAMLC=$ac_ct_OCAMLC
3076 else
3077 OCAMLC="$ac_cv_prog_OCAMLC"
3081 if test "$OCAMLC" != "no"; then
3082 OCAMLVERSION=`$OCAMLC -v | sed -n -e 's|.*version* *\(.*\)$|\1|p'`
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml version is $OCAMLVERSION" >&5
3084 $as_echo "OCaml version is $OCAMLVERSION" >&6; }
3085 # If OCAMLLIB is set, use it
3086 if test "$OCAMLLIB" = ""; then
3087 OCAMLLIB=`$OCAMLC -where 2>/dev/null || $OCAMLC -v|tail -1|cut -d ' ' -f 4`
3088 else
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCAMLLIB previously set; preserving it." >&5
3090 $as_echo "OCAMLLIB previously set; preserving it." >&6; }
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml library path is $OCAMLLIB" >&5
3093 $as_echo "OCaml library path is $OCAMLLIB" >&6; }
3098 # checking for ocamlopt
3099 if test -n "$ac_tool_prefix"; then
3100 # Extract the first word of "${ac_tool_prefix}ocamlopt", so it can be a program name with args.
3101 set dummy ${ac_tool_prefix}ocamlopt; ac_word=$2
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3103 $as_echo_n "checking for $ac_word... " >&6; }
3104 if ${ac_cv_prog_OCAMLOPT+:} false; then :
3105 $as_echo_n "(cached) " >&6
3106 else
3107 if test -n "$OCAMLOPT"; then
3108 ac_cv_prog_OCAMLOPT="$OCAMLOPT" # Let the user override the test.
3109 else
3110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3111 for as_dir in $PATH
3113 IFS=$as_save_IFS
3114 test -z "$as_dir" && as_dir=.
3115 for ac_exec_ext in '' $ac_executable_extensions; do
3116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3117 ac_cv_prog_OCAMLOPT="${ac_tool_prefix}ocamlopt"
3118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3119 break 2
3121 done
3122 done
3123 IFS=$as_save_IFS
3127 OCAMLOPT=$ac_cv_prog_OCAMLOPT
3128 if test -n "$OCAMLOPT"; then
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPT" >&5
3130 $as_echo "$OCAMLOPT" >&6; }
3131 else
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3133 $as_echo "no" >&6; }
3138 if test -z "$ac_cv_prog_OCAMLOPT"; then
3139 ac_ct_OCAMLOPT=$OCAMLOPT
3140 # Extract the first word of "ocamlopt", so it can be a program name with args.
3141 set dummy ocamlopt; ac_word=$2
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3143 $as_echo_n "checking for $ac_word... " >&6; }
3144 if ${ac_cv_prog_ac_ct_OCAMLOPT+:} false; then :
3145 $as_echo_n "(cached) " >&6
3146 else
3147 if test -n "$ac_ct_OCAMLOPT"; then
3148 ac_cv_prog_ac_ct_OCAMLOPT="$ac_ct_OCAMLOPT" # Let the user override the test.
3149 else
3150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3151 for as_dir in $PATH
3153 IFS=$as_save_IFS
3154 test -z "$as_dir" && as_dir=.
3155 for ac_exec_ext in '' $ac_executable_extensions; do
3156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3157 ac_cv_prog_ac_ct_OCAMLOPT="ocamlopt"
3158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3159 break 2
3161 done
3162 done
3163 IFS=$as_save_IFS
3167 ac_ct_OCAMLOPT=$ac_cv_prog_ac_ct_OCAMLOPT
3168 if test -n "$ac_ct_OCAMLOPT"; then
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPT" >&5
3170 $as_echo "$ac_ct_OCAMLOPT" >&6; }
3171 else
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3173 $as_echo "no" >&6; }
3176 if test "x$ac_ct_OCAMLOPT" = x; then
3177 OCAMLOPT="no"
3178 else
3179 case $cross_compiling:$ac_tool_warned in
3180 yes:)
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3183 ac_tool_warned=yes ;;
3184 esac
3185 OCAMLOPT=$ac_ct_OCAMLOPT
3187 else
3188 OCAMLOPT="$ac_cv_prog_OCAMLOPT"
3191 OCAMLBEST=byte
3192 if test "$OCAMLOPT" = "no"; then
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find ocamlopt; bytecode compilation only." >&5
3194 $as_echo "$as_me: WARNING: Cannot find ocamlopt; bytecode compilation only." >&2;}
3195 else
3196 TMPVERSION=`$OCAMLOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3197 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlopt discarded." >&5
3199 $as_echo "versions differs from ocamlc; ocamlopt discarded." >&6; }
3200 OCAMLOPT=no
3201 else
3202 OCAMLBEST=opt
3208 # checking for ocamlc.opt
3209 if test -n "$ac_tool_prefix"; then
3210 # Extract the first word of "${ac_tool_prefix}ocamlc.opt", so it can be a program name with args.
3211 set dummy ${ac_tool_prefix}ocamlc.opt; ac_word=$2
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3213 $as_echo_n "checking for $ac_word... " >&6; }
3214 if ${ac_cv_prog_OCAMLCDOTOPT+:} false; then :
3215 $as_echo_n "(cached) " >&6
3216 else
3217 if test -n "$OCAMLCDOTOPT"; then
3218 ac_cv_prog_OCAMLCDOTOPT="$OCAMLCDOTOPT" # Let the user override the test.
3219 else
3220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3221 for as_dir in $PATH
3223 IFS=$as_save_IFS
3224 test -z "$as_dir" && as_dir=.
3225 for ac_exec_ext in '' $ac_executable_extensions; do
3226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3227 ac_cv_prog_OCAMLCDOTOPT="${ac_tool_prefix}ocamlc.opt"
3228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3229 break 2
3231 done
3232 done
3233 IFS=$as_save_IFS
3237 OCAMLCDOTOPT=$ac_cv_prog_OCAMLCDOTOPT
3238 if test -n "$OCAMLCDOTOPT"; then
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLCDOTOPT" >&5
3240 $as_echo "$OCAMLCDOTOPT" >&6; }
3241 else
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3243 $as_echo "no" >&6; }
3248 if test -z "$ac_cv_prog_OCAMLCDOTOPT"; then
3249 ac_ct_OCAMLCDOTOPT=$OCAMLCDOTOPT
3250 # Extract the first word of "ocamlc.opt", so it can be a program name with args.
3251 set dummy ocamlc.opt; ac_word=$2
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3253 $as_echo_n "checking for $ac_word... " >&6; }
3254 if ${ac_cv_prog_ac_ct_OCAMLCDOTOPT+:} false; then :
3255 $as_echo_n "(cached) " >&6
3256 else
3257 if test -n "$ac_ct_OCAMLCDOTOPT"; then
3258 ac_cv_prog_ac_ct_OCAMLCDOTOPT="$ac_ct_OCAMLCDOTOPT" # Let the user override the test.
3259 else
3260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3261 for as_dir in $PATH
3263 IFS=$as_save_IFS
3264 test -z "$as_dir" && as_dir=.
3265 for ac_exec_ext in '' $ac_executable_extensions; do
3266 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3267 ac_cv_prog_ac_ct_OCAMLCDOTOPT="ocamlc.opt"
3268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3269 break 2
3271 done
3272 done
3273 IFS=$as_save_IFS
3277 ac_ct_OCAMLCDOTOPT=$ac_cv_prog_ac_ct_OCAMLCDOTOPT
3278 if test -n "$ac_ct_OCAMLCDOTOPT"; then
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLCDOTOPT" >&5
3280 $as_echo "$ac_ct_OCAMLCDOTOPT" >&6; }
3281 else
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3283 $as_echo "no" >&6; }
3286 if test "x$ac_ct_OCAMLCDOTOPT" = x; then
3287 OCAMLCDOTOPT="no"
3288 else
3289 case $cross_compiling:$ac_tool_warned in
3290 yes:)
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3292 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3293 ac_tool_warned=yes ;;
3294 esac
3295 OCAMLCDOTOPT=$ac_ct_OCAMLCDOTOPT
3297 else
3298 OCAMLCDOTOPT="$ac_cv_prog_OCAMLCDOTOPT"
3301 if test "$OCAMLCDOTOPT" != "no"; then
3302 TMPVERSION=`$OCAMLCDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3303 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlc.opt discarded." >&5
3305 $as_echo "versions differs from ocamlc; ocamlc.opt discarded." >&6; }
3306 else
3307 OCAMLC=$OCAMLCDOTOPT
3311 # checking for ocamlopt.opt
3312 if test "$OCAMLOPT" != "no" ; then
3313 if test -n "$ac_tool_prefix"; then
3314 # Extract the first word of "${ac_tool_prefix}ocamlopt.opt", so it can be a program name with args.
3315 set dummy ${ac_tool_prefix}ocamlopt.opt; ac_word=$2
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3317 $as_echo_n "checking for $ac_word... " >&6; }
3318 if ${ac_cv_prog_OCAMLOPTDOTOPT+:} false; then :
3319 $as_echo_n "(cached) " >&6
3320 else
3321 if test -n "$OCAMLOPTDOTOPT"; then
3322 ac_cv_prog_OCAMLOPTDOTOPT="$OCAMLOPTDOTOPT" # Let the user override the test.
3323 else
3324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3325 for as_dir in $PATH
3327 IFS=$as_save_IFS
3328 test -z "$as_dir" && as_dir=.
3329 for ac_exec_ext in '' $ac_executable_extensions; do
3330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3331 ac_cv_prog_OCAMLOPTDOTOPT="${ac_tool_prefix}ocamlopt.opt"
3332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3333 break 2
3335 done
3336 done
3337 IFS=$as_save_IFS
3341 OCAMLOPTDOTOPT=$ac_cv_prog_OCAMLOPTDOTOPT
3342 if test -n "$OCAMLOPTDOTOPT"; then
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPTDOTOPT" >&5
3344 $as_echo "$OCAMLOPTDOTOPT" >&6; }
3345 else
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3347 $as_echo "no" >&6; }
3352 if test -z "$ac_cv_prog_OCAMLOPTDOTOPT"; then
3353 ac_ct_OCAMLOPTDOTOPT=$OCAMLOPTDOTOPT
3354 # Extract the first word of "ocamlopt.opt", so it can be a program name with args.
3355 set dummy ocamlopt.opt; ac_word=$2
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3357 $as_echo_n "checking for $ac_word... " >&6; }
3358 if ${ac_cv_prog_ac_ct_OCAMLOPTDOTOPT+:} false; then :
3359 $as_echo_n "(cached) " >&6
3360 else
3361 if test -n "$ac_ct_OCAMLOPTDOTOPT"; then
3362 ac_cv_prog_ac_ct_OCAMLOPTDOTOPT="$ac_ct_OCAMLOPTDOTOPT" # Let the user override the test.
3363 else
3364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3365 for as_dir in $PATH
3367 IFS=$as_save_IFS
3368 test -z "$as_dir" && as_dir=.
3369 for ac_exec_ext in '' $ac_executable_extensions; do
3370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3371 ac_cv_prog_ac_ct_OCAMLOPTDOTOPT="ocamlopt.opt"
3372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3373 break 2
3375 done
3376 done
3377 IFS=$as_save_IFS
3381 ac_ct_OCAMLOPTDOTOPT=$ac_cv_prog_ac_ct_OCAMLOPTDOTOPT
3382 if test -n "$ac_ct_OCAMLOPTDOTOPT"; then
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPTDOTOPT" >&5
3384 $as_echo "$ac_ct_OCAMLOPTDOTOPT" >&6; }
3385 else
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3387 $as_echo "no" >&6; }
3390 if test "x$ac_ct_OCAMLOPTDOTOPT" = x; then
3391 OCAMLOPTDOTOPT="no"
3392 else
3393 case $cross_compiling:$ac_tool_warned in
3394 yes:)
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3396 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3397 ac_tool_warned=yes ;;
3398 esac
3399 OCAMLOPTDOTOPT=$ac_ct_OCAMLOPTDOTOPT
3401 else
3402 OCAMLOPTDOTOPT="$ac_cv_prog_OCAMLOPTDOTOPT"
3405 if test "$OCAMLOPTDOTOPT" != "no"; then
3406 TMPVERSION=`$OCAMLOPTDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3407 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: version differs from ocamlc; ocamlopt.opt discarded." >&5
3409 $as_echo "version differs from ocamlc; ocamlopt.opt discarded." >&6; }
3410 else
3411 OCAMLOPT=$OCAMLOPTDOTOPT
3421 # checking for ocaml toplevel
3422 if test -n "$ac_tool_prefix"; then
3423 # Extract the first word of "${ac_tool_prefix}ocaml", so it can be a program name with args.
3424 set dummy ${ac_tool_prefix}ocaml; ac_word=$2
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3426 $as_echo_n "checking for $ac_word... " >&6; }
3427 if ${ac_cv_prog_OCAML+:} false; then :
3428 $as_echo_n "(cached) " >&6
3429 else
3430 if test -n "$OCAML"; then
3431 ac_cv_prog_OCAML="$OCAML" # Let the user override the test.
3432 else
3433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3434 for as_dir in $PATH
3436 IFS=$as_save_IFS
3437 test -z "$as_dir" && as_dir=.
3438 for ac_exec_ext in '' $ac_executable_extensions; do
3439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3440 ac_cv_prog_OCAML="${ac_tool_prefix}ocaml"
3441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3442 break 2
3444 done
3445 done
3446 IFS=$as_save_IFS
3450 OCAML=$ac_cv_prog_OCAML
3451 if test -n "$OCAML"; then
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAML" >&5
3453 $as_echo "$OCAML" >&6; }
3454 else
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3456 $as_echo "no" >&6; }
3461 if test -z "$ac_cv_prog_OCAML"; then
3462 ac_ct_OCAML=$OCAML
3463 # Extract the first word of "ocaml", so it can be a program name with args.
3464 set dummy ocaml; ac_word=$2
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3466 $as_echo_n "checking for $ac_word... " >&6; }
3467 if ${ac_cv_prog_ac_ct_OCAML+:} false; then :
3468 $as_echo_n "(cached) " >&6
3469 else
3470 if test -n "$ac_ct_OCAML"; then
3471 ac_cv_prog_ac_ct_OCAML="$ac_ct_OCAML" # Let the user override the test.
3472 else
3473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3474 for as_dir in $PATH
3476 IFS=$as_save_IFS
3477 test -z "$as_dir" && as_dir=.
3478 for ac_exec_ext in '' $ac_executable_extensions; do
3479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3480 ac_cv_prog_ac_ct_OCAML="ocaml"
3481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3482 break 2
3484 done
3485 done
3486 IFS=$as_save_IFS
3490 ac_ct_OCAML=$ac_cv_prog_ac_ct_OCAML
3491 if test -n "$ac_ct_OCAML"; then
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAML" >&5
3493 $as_echo "$ac_ct_OCAML" >&6; }
3494 else
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3496 $as_echo "no" >&6; }
3499 if test "x$ac_ct_OCAML" = x; then
3500 OCAML="no"
3501 else
3502 case $cross_compiling:$ac_tool_warned in
3503 yes:)
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3506 ac_tool_warned=yes ;;
3507 esac
3508 OCAML=$ac_ct_OCAML
3510 else
3511 OCAML="$ac_cv_prog_OCAML"
3515 # checking for ocamldep
3516 if test -n "$ac_tool_prefix"; then
3517 # Extract the first word of "${ac_tool_prefix}ocamldep", so it can be a program name with args.
3518 set dummy ${ac_tool_prefix}ocamldep; ac_word=$2
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3520 $as_echo_n "checking for $ac_word... " >&6; }
3521 if ${ac_cv_prog_OCAMLDEP+:} false; then :
3522 $as_echo_n "(cached) " >&6
3523 else
3524 if test -n "$OCAMLDEP"; then
3525 ac_cv_prog_OCAMLDEP="$OCAMLDEP" # Let the user override the test.
3526 else
3527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3528 for as_dir in $PATH
3530 IFS=$as_save_IFS
3531 test -z "$as_dir" && as_dir=.
3532 for ac_exec_ext in '' $ac_executable_extensions; do
3533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3534 ac_cv_prog_OCAMLDEP="${ac_tool_prefix}ocamldep"
3535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3536 break 2
3538 done
3539 done
3540 IFS=$as_save_IFS
3544 OCAMLDEP=$ac_cv_prog_OCAMLDEP
3545 if test -n "$OCAMLDEP"; then
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDEP" >&5
3547 $as_echo "$OCAMLDEP" >&6; }
3548 else
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3550 $as_echo "no" >&6; }
3555 if test -z "$ac_cv_prog_OCAMLDEP"; then
3556 ac_ct_OCAMLDEP=$OCAMLDEP
3557 # Extract the first word of "ocamldep", so it can be a program name with args.
3558 set dummy ocamldep; ac_word=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if ${ac_cv_prog_ac_ct_OCAMLDEP+:} false; then :
3562 $as_echo_n "(cached) " >&6
3563 else
3564 if test -n "$ac_ct_OCAMLDEP"; then
3565 ac_cv_prog_ac_ct_OCAMLDEP="$ac_ct_OCAMLDEP" # Let the user override the test.
3566 else
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 for as_dir in $PATH
3570 IFS=$as_save_IFS
3571 test -z "$as_dir" && as_dir=.
3572 for ac_exec_ext in '' $ac_executable_extensions; do
3573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3574 ac_cv_prog_ac_ct_OCAMLDEP="ocamldep"
3575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 break 2
3578 done
3579 done
3580 IFS=$as_save_IFS
3584 ac_ct_OCAMLDEP=$ac_cv_prog_ac_ct_OCAMLDEP
3585 if test -n "$ac_ct_OCAMLDEP"; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDEP" >&5
3587 $as_echo "$ac_ct_OCAMLDEP" >&6; }
3588 else
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3593 if test "x$ac_ct_OCAMLDEP" = x; then
3594 OCAMLDEP="no"
3595 else
3596 case $cross_compiling:$ac_tool_warned in
3597 yes:)
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3600 ac_tool_warned=yes ;;
3601 esac
3602 OCAMLDEP=$ac_ct_OCAMLDEP
3604 else
3605 OCAMLDEP="$ac_cv_prog_OCAMLDEP"
3609 # checking for ocamlmktop
3610 if test -n "$ac_tool_prefix"; then
3611 # Extract the first word of "${ac_tool_prefix}ocamlmktop", so it can be a program name with args.
3612 set dummy ${ac_tool_prefix}ocamlmktop; ac_word=$2
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3614 $as_echo_n "checking for $ac_word... " >&6; }
3615 if ${ac_cv_prog_OCAMLMKTOP+:} false; then :
3616 $as_echo_n "(cached) " >&6
3617 else
3618 if test -n "$OCAMLMKTOP"; then
3619 ac_cv_prog_OCAMLMKTOP="$OCAMLMKTOP" # Let the user override the test.
3620 else
3621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3622 for as_dir in $PATH
3624 IFS=$as_save_IFS
3625 test -z "$as_dir" && as_dir=.
3626 for ac_exec_ext in '' $ac_executable_extensions; do
3627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3628 ac_cv_prog_OCAMLMKTOP="${ac_tool_prefix}ocamlmktop"
3629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3630 break 2
3632 done
3633 done
3634 IFS=$as_save_IFS
3638 OCAMLMKTOP=$ac_cv_prog_OCAMLMKTOP
3639 if test -n "$OCAMLMKTOP"; then
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKTOP" >&5
3641 $as_echo "$OCAMLMKTOP" >&6; }
3642 else
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3644 $as_echo "no" >&6; }
3649 if test -z "$ac_cv_prog_OCAMLMKTOP"; then
3650 ac_ct_OCAMLMKTOP=$OCAMLMKTOP
3651 # Extract the first word of "ocamlmktop", so it can be a program name with args.
3652 set dummy ocamlmktop; ac_word=$2
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3654 $as_echo_n "checking for $ac_word... " >&6; }
3655 if ${ac_cv_prog_ac_ct_OCAMLMKTOP+:} false; then :
3656 $as_echo_n "(cached) " >&6
3657 else
3658 if test -n "$ac_ct_OCAMLMKTOP"; then
3659 ac_cv_prog_ac_ct_OCAMLMKTOP="$ac_ct_OCAMLMKTOP" # Let the user override the test.
3660 else
3661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3662 for as_dir in $PATH
3664 IFS=$as_save_IFS
3665 test -z "$as_dir" && as_dir=.
3666 for ac_exec_ext in '' $ac_executable_extensions; do
3667 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3668 ac_cv_prog_ac_ct_OCAMLMKTOP="ocamlmktop"
3669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3670 break 2
3672 done
3673 done
3674 IFS=$as_save_IFS
3678 ac_ct_OCAMLMKTOP=$ac_cv_prog_ac_ct_OCAMLMKTOP
3679 if test -n "$ac_ct_OCAMLMKTOP"; then
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKTOP" >&5
3681 $as_echo "$ac_ct_OCAMLMKTOP" >&6; }
3682 else
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3684 $as_echo "no" >&6; }
3687 if test "x$ac_ct_OCAMLMKTOP" = x; then
3688 OCAMLMKTOP="no"
3689 else
3690 case $cross_compiling:$ac_tool_warned in
3691 yes:)
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3694 ac_tool_warned=yes ;;
3695 esac
3696 OCAMLMKTOP=$ac_ct_OCAMLMKTOP
3698 else
3699 OCAMLMKTOP="$ac_cv_prog_OCAMLMKTOP"
3703 # checking for ocamlmklib
3704 if test -n "$ac_tool_prefix"; then
3705 # Extract the first word of "${ac_tool_prefix}ocamlmklib", so it can be a program name with args.
3706 set dummy ${ac_tool_prefix}ocamlmklib; ac_word=$2
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3708 $as_echo_n "checking for $ac_word... " >&6; }
3709 if ${ac_cv_prog_OCAMLMKLIB+:} false; then :
3710 $as_echo_n "(cached) " >&6
3711 else
3712 if test -n "$OCAMLMKLIB"; then
3713 ac_cv_prog_OCAMLMKLIB="$OCAMLMKLIB" # Let the user override the test.
3714 else
3715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3716 for as_dir in $PATH
3718 IFS=$as_save_IFS
3719 test -z "$as_dir" && as_dir=.
3720 for ac_exec_ext in '' $ac_executable_extensions; do
3721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3722 ac_cv_prog_OCAMLMKLIB="${ac_tool_prefix}ocamlmklib"
3723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3724 break 2
3726 done
3727 done
3728 IFS=$as_save_IFS
3732 OCAMLMKLIB=$ac_cv_prog_OCAMLMKLIB
3733 if test -n "$OCAMLMKLIB"; then
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKLIB" >&5
3735 $as_echo "$OCAMLMKLIB" >&6; }
3736 else
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3738 $as_echo "no" >&6; }
3743 if test -z "$ac_cv_prog_OCAMLMKLIB"; then
3744 ac_ct_OCAMLMKLIB=$OCAMLMKLIB
3745 # Extract the first word of "ocamlmklib", so it can be a program name with args.
3746 set dummy ocamlmklib; ac_word=$2
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3748 $as_echo_n "checking for $ac_word... " >&6; }
3749 if ${ac_cv_prog_ac_ct_OCAMLMKLIB+:} false; then :
3750 $as_echo_n "(cached) " >&6
3751 else
3752 if test -n "$ac_ct_OCAMLMKLIB"; then
3753 ac_cv_prog_ac_ct_OCAMLMKLIB="$ac_ct_OCAMLMKLIB" # Let the user override the test.
3754 else
3755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3756 for as_dir in $PATH
3758 IFS=$as_save_IFS
3759 test -z "$as_dir" && as_dir=.
3760 for ac_exec_ext in '' $ac_executable_extensions; do
3761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3762 ac_cv_prog_ac_ct_OCAMLMKLIB="ocamlmklib"
3763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3764 break 2
3766 done
3767 done
3768 IFS=$as_save_IFS
3772 ac_ct_OCAMLMKLIB=$ac_cv_prog_ac_ct_OCAMLMKLIB
3773 if test -n "$ac_ct_OCAMLMKLIB"; then
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKLIB" >&5
3775 $as_echo "$ac_ct_OCAMLMKLIB" >&6; }
3776 else
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3778 $as_echo "no" >&6; }
3781 if test "x$ac_ct_OCAMLMKLIB" = x; then
3782 OCAMLMKLIB="no"
3783 else
3784 case $cross_compiling:$ac_tool_warned in
3785 yes:)
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3788 ac_tool_warned=yes ;;
3789 esac
3790 OCAMLMKLIB=$ac_ct_OCAMLMKLIB
3792 else
3793 OCAMLMKLIB="$ac_cv_prog_OCAMLMKLIB"
3797 # checking for ocamldoc
3798 if test -n "$ac_tool_prefix"; then
3799 # Extract the first word of "${ac_tool_prefix}ocamldoc", so it can be a program name with args.
3800 set dummy ${ac_tool_prefix}ocamldoc; ac_word=$2
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3802 $as_echo_n "checking for $ac_word... " >&6; }
3803 if ${ac_cv_prog_OCAMLDOC+:} false; then :
3804 $as_echo_n "(cached) " >&6
3805 else
3806 if test -n "$OCAMLDOC"; then
3807 ac_cv_prog_OCAMLDOC="$OCAMLDOC" # Let the user override the test.
3808 else
3809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3810 for as_dir in $PATH
3812 IFS=$as_save_IFS
3813 test -z "$as_dir" && as_dir=.
3814 for ac_exec_ext in '' $ac_executable_extensions; do
3815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3816 ac_cv_prog_OCAMLDOC="${ac_tool_prefix}ocamldoc"
3817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3818 break 2
3820 done
3821 done
3822 IFS=$as_save_IFS
3826 OCAMLDOC=$ac_cv_prog_OCAMLDOC
3827 if test -n "$OCAMLDOC"; then
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDOC" >&5
3829 $as_echo "$OCAMLDOC" >&6; }
3830 else
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3832 $as_echo "no" >&6; }
3837 if test -z "$ac_cv_prog_OCAMLDOC"; then
3838 ac_ct_OCAMLDOC=$OCAMLDOC
3839 # Extract the first word of "ocamldoc", so it can be a program name with args.
3840 set dummy ocamldoc; ac_word=$2
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3842 $as_echo_n "checking for $ac_word... " >&6; }
3843 if ${ac_cv_prog_ac_ct_OCAMLDOC+:} false; then :
3844 $as_echo_n "(cached) " >&6
3845 else
3846 if test -n "$ac_ct_OCAMLDOC"; then
3847 ac_cv_prog_ac_ct_OCAMLDOC="$ac_ct_OCAMLDOC" # Let the user override the test.
3848 else
3849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3850 for as_dir in $PATH
3852 IFS=$as_save_IFS
3853 test -z "$as_dir" && as_dir=.
3854 for ac_exec_ext in '' $ac_executable_extensions; do
3855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3856 ac_cv_prog_ac_ct_OCAMLDOC="ocamldoc"
3857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3858 break 2
3860 done
3861 done
3862 IFS=$as_save_IFS
3866 ac_ct_OCAMLDOC=$ac_cv_prog_ac_ct_OCAMLDOC
3867 if test -n "$ac_ct_OCAMLDOC"; then
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDOC" >&5
3869 $as_echo "$ac_ct_OCAMLDOC" >&6; }
3870 else
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3872 $as_echo "no" >&6; }
3875 if test "x$ac_ct_OCAMLDOC" = x; then
3876 OCAMLDOC="no"
3877 else
3878 case $cross_compiling:$ac_tool_warned in
3879 yes:)
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3882 ac_tool_warned=yes ;;
3883 esac
3884 OCAMLDOC=$ac_ct_OCAMLDOC
3886 else
3887 OCAMLDOC="$ac_cv_prog_OCAMLDOC"
3891 # checking for ocamlbuild
3892 if test -n "$ac_tool_prefix"; then
3893 # Extract the first word of "${ac_tool_prefix}ocamlbuild", so it can be a program name with args.
3894 set dummy ${ac_tool_prefix}ocamlbuild; ac_word=$2
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3896 $as_echo_n "checking for $ac_word... " >&6; }
3897 if ${ac_cv_prog_OCAMLBUILD+:} false; then :
3898 $as_echo_n "(cached) " >&6
3899 else
3900 if test -n "$OCAMLBUILD"; then
3901 ac_cv_prog_OCAMLBUILD="$OCAMLBUILD" # Let the user override the test.
3902 else
3903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3904 for as_dir in $PATH
3906 IFS=$as_save_IFS
3907 test -z "$as_dir" && as_dir=.
3908 for ac_exec_ext in '' $ac_executable_extensions; do
3909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3910 ac_cv_prog_OCAMLBUILD="${ac_tool_prefix}ocamlbuild"
3911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3912 break 2
3914 done
3915 done
3916 IFS=$as_save_IFS
3920 OCAMLBUILD=$ac_cv_prog_OCAMLBUILD
3921 if test -n "$OCAMLBUILD"; then
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLBUILD" >&5
3923 $as_echo "$OCAMLBUILD" >&6; }
3924 else
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3926 $as_echo "no" >&6; }
3931 if test -z "$ac_cv_prog_OCAMLBUILD"; then
3932 ac_ct_OCAMLBUILD=$OCAMLBUILD
3933 # Extract the first word of "ocamlbuild", so it can be a program name with args.
3934 set dummy ocamlbuild; ac_word=$2
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3936 $as_echo_n "checking for $ac_word... " >&6; }
3937 if ${ac_cv_prog_ac_ct_OCAMLBUILD+:} false; then :
3938 $as_echo_n "(cached) " >&6
3939 else
3940 if test -n "$ac_ct_OCAMLBUILD"; then
3941 ac_cv_prog_ac_ct_OCAMLBUILD="$ac_ct_OCAMLBUILD" # Let the user override the test.
3942 else
3943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3944 for as_dir in $PATH
3946 IFS=$as_save_IFS
3947 test -z "$as_dir" && as_dir=.
3948 for ac_exec_ext in '' $ac_executable_extensions; do
3949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3950 ac_cv_prog_ac_ct_OCAMLBUILD="ocamlbuild"
3951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3952 break 2
3954 done
3955 done
3956 IFS=$as_save_IFS
3960 ac_ct_OCAMLBUILD=$ac_cv_prog_ac_ct_OCAMLBUILD
3961 if test -n "$ac_ct_OCAMLBUILD"; then
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLBUILD" >&5
3963 $as_echo "$ac_ct_OCAMLBUILD" >&6; }
3964 else
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3966 $as_echo "no" >&6; }
3969 if test "x$ac_ct_OCAMLBUILD" = x; then
3970 OCAMLBUILD="no"
3971 else
3972 case $cross_compiling:$ac_tool_warned in
3973 yes:)
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3976 ac_tool_warned=yes ;;
3977 esac
3978 OCAMLBUILD=$ac_ct_OCAMLBUILD
3980 else
3981 OCAMLBUILD="$ac_cv_prog_OCAMLBUILD"
3986 # checking for ocamlfind
3987 if test -n "$ac_tool_prefix"; then
3988 # Extract the first word of "${ac_tool_prefix}ocamlfind", so it can be a program name with args.
3989 set dummy ${ac_tool_prefix}ocamlfind; ac_word=$2
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3991 $as_echo_n "checking for $ac_word... " >&6; }
3992 if ${ac_cv_prog_OCAMLFIND+:} false; then :
3993 $as_echo_n "(cached) " >&6
3994 else
3995 if test -n "$OCAMLFIND"; then
3996 ac_cv_prog_OCAMLFIND="$OCAMLFIND" # Let the user override the test.
3997 else
3998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3999 for as_dir in $PATH
4001 IFS=$as_save_IFS
4002 test -z "$as_dir" && as_dir=.
4003 for ac_exec_ext in '' $ac_executable_extensions; do
4004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4005 ac_cv_prog_OCAMLFIND="${ac_tool_prefix}ocamlfind"
4006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4007 break 2
4009 done
4010 done
4011 IFS=$as_save_IFS
4015 OCAMLFIND=$ac_cv_prog_OCAMLFIND
4016 if test -n "$OCAMLFIND"; then
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLFIND" >&5
4018 $as_echo "$OCAMLFIND" >&6; }
4019 else
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4021 $as_echo "no" >&6; }
4026 if test -z "$ac_cv_prog_OCAMLFIND"; then
4027 ac_ct_OCAMLFIND=$OCAMLFIND
4028 # Extract the first word of "ocamlfind", so it can be a program name with args.
4029 set dummy ocamlfind; ac_word=$2
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4031 $as_echo_n "checking for $ac_word... " >&6; }
4032 if ${ac_cv_prog_ac_ct_OCAMLFIND+:} false; then :
4033 $as_echo_n "(cached) " >&6
4034 else
4035 if test -n "$ac_ct_OCAMLFIND"; then
4036 ac_cv_prog_ac_ct_OCAMLFIND="$ac_ct_OCAMLFIND" # Let the user override the test.
4037 else
4038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4039 for as_dir in $PATH
4041 IFS=$as_save_IFS
4042 test -z "$as_dir" && as_dir=.
4043 for ac_exec_ext in '' $ac_executable_extensions; do
4044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4045 ac_cv_prog_ac_ct_OCAMLFIND="ocamlfind"
4046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4047 break 2
4049 done
4050 done
4051 IFS=$as_save_IFS
4055 ac_ct_OCAMLFIND=$ac_cv_prog_ac_ct_OCAMLFIND
4056 if test -n "$ac_ct_OCAMLFIND"; then
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLFIND" >&5
4058 $as_echo "$ac_ct_OCAMLFIND" >&6; }
4059 else
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4061 $as_echo "no" >&6; }
4064 if test "x$ac_ct_OCAMLFIND" = x; then
4065 OCAMLFIND="no"
4066 else
4067 case $cross_compiling:$ac_tool_warned in
4068 yes:)
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4071 ac_tool_warned=yes ;;
4072 esac
4073 OCAMLFIND=$ac_ct_OCAMLFIND
4075 else
4076 OCAMLFIND="$ac_cv_prog_OCAMLFIND"
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package bytes" >&5
4084 $as_echo_n "checking for OCaml findlib package bytes... " >&6; }
4086 unset found
4087 unset pkg
4088 found=no
4089 for pkg in bytes ; do
4090 if $OCAMLFIND query $pkg >/dev/null 2>/dev/null; then
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
4092 $as_echo "found" >&6; }
4093 OCAML_PKG_bytes=$pkg
4094 found=yes
4095 break
4097 done
4098 if test "$found" = "no" ; then
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
4100 $as_echo "not found" >&6; }
4101 OCAML_PKG_bytes=no
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package lwt.unix" >&5
4108 $as_echo_n "checking for OCaml findlib package lwt.unix... " >&6; }
4110 unset found
4111 unset pkg
4112 found=no
4113 for pkg in lwt.unix ; do
4114 if $OCAMLFIND query $pkg >/dev/null 2>/dev/null; then
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
4116 $as_echo "found" >&6; }
4117 OCAML_PKG_lwt_unix=$pkg
4118 found=yes
4119 break
4121 done
4122 if test "$found" = "no" ; then
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
4124 $as_echo "not found" >&6; }
4125 OCAML_PKG_lwt_unix=no
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package lwt_ppx" >&5
4132 $as_echo_n "checking for OCaml findlib package lwt_ppx... " >&6; }
4134 unset found
4135 unset pkg
4136 found=no
4137 for pkg in lwt_ppx lwt.ppx ; do
4138 if $OCAMLFIND query $pkg >/dev/null 2>/dev/null; then
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
4140 $as_echo "found" >&6; }
4141 OCAML_PKG_lwt_ppx=$pkg
4142 found=yes
4143 break
4145 done
4146 if test "$found" = "no" ; then
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
4148 $as_echo "not found" >&6; }
4149 OCAML_PKG_lwt_ppx=no
4155 INSTALLDIR=$OCAMLLIB/curl
4157 if test "x$prefix" = xNONE; then
4158 $as_echo_n "checking for prefix by " >&6
4159 # Extract the first word of "ocamlc", so it can be a program name with args.
4160 set dummy ocamlc; ac_word=$2
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4162 $as_echo_n "checking for $ac_word... " >&6; }
4163 if ${ac_cv_path_ac_prefix_program+:} false; then :
4164 $as_echo_n "(cached) " >&6
4165 else
4166 case $ac_prefix_program in
4167 [\\/]* | ?:[\\/]*)
4168 ac_cv_path_ac_prefix_program="$ac_prefix_program" # Let the user override the test with a path.
4171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4172 for as_dir in $PATH
4174 IFS=$as_save_IFS
4175 test -z "$as_dir" && as_dir=.
4176 for ac_exec_ext in '' $ac_executable_extensions; do
4177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4178 ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
4179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4180 break 2
4182 done
4183 done
4184 IFS=$as_save_IFS
4187 esac
4189 ac_prefix_program=$ac_cv_path_ac_prefix_program
4190 if test -n "$ac_prefix_program"; then
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prefix_program" >&5
4192 $as_echo "$ac_prefix_program" >&6; }
4193 else
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4195 $as_echo "no" >&6; }
4199 if test -n "$ac_prefix_program"; then
4200 prefix=`$as_dirname -- "$ac_prefix_program" ||
4201 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4202 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
4203 X"$ac_prefix_program" : 'X\(//\)$' \| \
4204 X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
4205 $as_echo X"$ac_prefix_program" |
4206 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4207 s//\1/
4210 /^X\(\/\/\)[^/].*/{
4211 s//\1/
4214 /^X\(\/\/\)$/{
4215 s//\1/
4218 /^X\(\/\).*/{
4219 s//\1/
4222 s/.*/./; q'`
4223 prefix=`$as_dirname -- "$prefix" ||
4224 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4225 X"$prefix" : 'X\(//\)[^/]' \| \
4226 X"$prefix" : 'X\(//\)$' \| \
4227 X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
4228 $as_echo X"$prefix" |
4229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4230 s//\1/
4233 /^X\(\/\/\)[^/].*/{
4234 s//\1/
4237 /^X\(\/\/\)$/{
4238 s//\1/
4241 /^X\(\/\).*/{
4242 s//\1/
4245 s/.*/./; q'`
4258 if test "$OCAMLFIND" == "no"; then :
4259 $OCAMLC -I +compiler-libs ocamlcommon.cma print_ext.ml -o print_ext
4260 else
4261 $OCAMLFIND c -linkpkg -package compiler-libs.common print_ext.ml -o print_ext
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bin-annot support" >&5
4265 $as_echo_n "checking for bin-annot support... " >&6; }
4266 if test "$OCAMLVERSION" \> "4"; then :
4267 OCAML_HAS_BIN_ANNOT=yes
4268 else
4269 OCAML_HAS_BIN_ANNOT=no
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAML_HAS_BIN_ANNOT" >&5
4272 $as_echo "$OCAML_HAS_BIN_ANNOT" >&6; }
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext_dll" >&5
4277 $as_echo_n "checking for ext_dll... " >&6; }
4278 EXT_DLL=`./print_ext dll || $OCAMLC -config | fgrep ext_dll | sed -e "s/.*: //"`
4279 if test "$?" -eq 0 ; then :
4281 else
4282 as_fn_error $? "failed" "$LINENO" 5
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXT_DLL" >&5
4285 $as_echo "$EXT_DLL" >&6; }
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext_lib" >&5
4288 $as_echo_n "checking for ext_lib... " >&6; }
4289 EXT_LIB=`./print_ext lib || $OCAMLC -config | fgrep ext_lib | sed -e "s/.*: //"`
4290 if test "$?" -eq 0 ; then :
4292 else
4293 as_fn_error $? "failed" "$LINENO" 5
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXT_LIB" >&5
4296 $as_echo "$EXT_LIB" >&6; }
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext_obj" >&5
4299 $as_echo_n "checking for ext_obj... " >&6; }
4300 EXT_OBJ=`./print_ext obj || $OCAMLC -config | fgrep ext_obj | sed -e "s/.*: //"`
4301 if test "$?" -eq 0 ; then :
4303 else
4304 as_fn_error $? "failed" "$LINENO" 5
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXT_OBJ" >&5
4307 $as_echo "$EXT_OBJ" >&6; }
4313 # set CFLAGS for tests below
4314 CFLAGS="$CFLAGS $CURLCFLAGS"
4317 ac_ext=c
4318 ac_cpp='$CPP $CPPFLAGS'
4319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4323 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4324 # On Suns, sometimes $CPP names a directory.
4325 if test -n "$CPP" && test -d "$CPP"; then
4326 CPP=
4328 if test -z "$CPP"; then
4329 if ${ac_cv_prog_CPP+:} false; then :
4330 $as_echo_n "(cached) " >&6
4331 else
4332 # Double quotes because CPP needs to be expanded
4333 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4335 ac_preproc_ok=false
4336 for ac_c_preproc_warn_flag in '' yes
4338 # Use a header file that comes with gcc, so configuring glibc
4339 # with a fresh cross-compiler works.
4340 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4341 # <limits.h> exists even on freestanding compilers.
4342 # On the NeXT, cc -E runs the code through the compiler's parser,
4343 # not just through cpp. "Syntax error" is here to catch this case.
4344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4345 /* end confdefs.h. */
4346 #ifdef __STDC__
4347 # include <limits.h>
4348 #else
4349 # include <assert.h>
4350 #endif
4351 Syntax error
4352 _ACEOF
4353 if ac_fn_c_try_cpp "$LINENO"; then :
4355 else
4356 # Broken: fails on valid input.
4357 continue
4359 rm -f conftest.err conftest.i conftest.$ac_ext
4361 # OK, works on sane cases. Now check whether nonexistent headers
4362 # can be detected and how.
4363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4364 /* end confdefs.h. */
4365 #include <ac_nonexistent.h>
4366 _ACEOF
4367 if ac_fn_c_try_cpp "$LINENO"; then :
4368 # Broken: success on invalid input.
4369 continue
4370 else
4371 # Passes both tests.
4372 ac_preproc_ok=:
4373 break
4375 rm -f conftest.err conftest.i conftest.$ac_ext
4377 done
4378 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4379 rm -f conftest.i conftest.err conftest.$ac_ext
4380 if $ac_preproc_ok; then :
4381 break
4384 done
4385 ac_cv_prog_CPP=$CPP
4388 CPP=$ac_cv_prog_CPP
4389 else
4390 ac_cv_prog_CPP=$CPP
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4393 $as_echo "$CPP" >&6; }
4394 ac_preproc_ok=false
4395 for ac_c_preproc_warn_flag in '' yes
4397 # Use a header file that comes with gcc, so configuring glibc
4398 # with a fresh cross-compiler works.
4399 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4400 # <limits.h> exists even on freestanding compilers.
4401 # On the NeXT, cc -E runs the code through the compiler's parser,
4402 # not just through cpp. "Syntax error" is here to catch this case.
4403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4404 /* end confdefs.h. */
4405 #ifdef __STDC__
4406 # include <limits.h>
4407 #else
4408 # include <assert.h>
4409 #endif
4410 Syntax error
4411 _ACEOF
4412 if ac_fn_c_try_cpp "$LINENO"; then :
4414 else
4415 # Broken: fails on valid input.
4416 continue
4418 rm -f conftest.err conftest.i conftest.$ac_ext
4420 # OK, works on sane cases. Now check whether nonexistent headers
4421 # can be detected and how.
4422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4423 /* end confdefs.h. */
4424 #include <ac_nonexistent.h>
4425 _ACEOF
4426 if ac_fn_c_try_cpp "$LINENO"; then :
4427 # Broken: success on invalid input.
4428 continue
4429 else
4430 # Passes both tests.
4431 ac_preproc_ok=:
4432 break
4434 rm -f conftest.err conftest.i conftest.$ac_ext
4436 done
4437 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4438 rm -f conftest.i conftest.err conftest.$ac_ext
4439 if $ac_preproc_ok; then :
4441 else
4442 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4444 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4445 See \`config.log' for more details" "$LINENO" 5; }
4448 ac_ext=c
4449 ac_cpp='$CPP $CPPFLAGS'
4450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4456 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4457 if ${ac_cv_path_GREP+:} false; then :
4458 $as_echo_n "(cached) " >&6
4459 else
4460 if test -z "$GREP"; then
4461 ac_path_GREP_found=false
4462 # Loop through the user's path and test for each of PROGNAME-LIST
4463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4464 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4466 IFS=$as_save_IFS
4467 test -z "$as_dir" && as_dir=.
4468 for ac_prog in grep ggrep; do
4469 for ac_exec_ext in '' $ac_executable_extensions; do
4470 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4471 as_fn_executable_p "$ac_path_GREP" || continue
4472 # Check for GNU ac_path_GREP and select it if it is found.
4473 # Check for GNU $ac_path_GREP
4474 case `"$ac_path_GREP" --version 2>&1` in
4475 *GNU*)
4476 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4478 ac_count=0
4479 $as_echo_n 0123456789 >"conftest.in"
4480 while :
4482 cat "conftest.in" "conftest.in" >"conftest.tmp"
4483 mv "conftest.tmp" "conftest.in"
4484 cp "conftest.in" "conftest.nl"
4485 $as_echo 'GREP' >> "conftest.nl"
4486 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4487 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4488 as_fn_arith $ac_count + 1 && ac_count=$as_val
4489 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4490 # Best one so far, save it but keep looking for a better one
4491 ac_cv_path_GREP="$ac_path_GREP"
4492 ac_path_GREP_max=$ac_count
4494 # 10*(2^10) chars as input seems more than enough
4495 test $ac_count -gt 10 && break
4496 done
4497 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4498 esac
4500 $ac_path_GREP_found && break 3
4501 done
4502 done
4503 done
4504 IFS=$as_save_IFS
4505 if test -z "$ac_cv_path_GREP"; then
4506 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4508 else
4509 ac_cv_path_GREP=$GREP
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4514 $as_echo "$ac_cv_path_GREP" >&6; }
4515 GREP="$ac_cv_path_GREP"
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4519 $as_echo_n "checking for egrep... " >&6; }
4520 if ${ac_cv_path_EGREP+:} false; then :
4521 $as_echo_n "(cached) " >&6
4522 else
4523 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4524 then ac_cv_path_EGREP="$GREP -E"
4525 else
4526 if test -z "$EGREP"; then
4527 ac_path_EGREP_found=false
4528 # Loop through the user's path and test for each of PROGNAME-LIST
4529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4530 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4532 IFS=$as_save_IFS
4533 test -z "$as_dir" && as_dir=.
4534 for ac_prog in egrep; do
4535 for ac_exec_ext in '' $ac_executable_extensions; do
4536 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4537 as_fn_executable_p "$ac_path_EGREP" || continue
4538 # Check for GNU ac_path_EGREP and select it if it is found.
4539 # Check for GNU $ac_path_EGREP
4540 case `"$ac_path_EGREP" --version 2>&1` in
4541 *GNU*)
4542 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4544 ac_count=0
4545 $as_echo_n 0123456789 >"conftest.in"
4546 while :
4548 cat "conftest.in" "conftest.in" >"conftest.tmp"
4549 mv "conftest.tmp" "conftest.in"
4550 cp "conftest.in" "conftest.nl"
4551 $as_echo 'EGREP' >> "conftest.nl"
4552 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4553 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4554 as_fn_arith $ac_count + 1 && ac_count=$as_val
4555 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4556 # Best one so far, save it but keep looking for a better one
4557 ac_cv_path_EGREP="$ac_path_EGREP"
4558 ac_path_EGREP_max=$ac_count
4560 # 10*(2^10) chars as input seems more than enough
4561 test $ac_count -gt 10 && break
4562 done
4563 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4564 esac
4566 $ac_path_EGREP_found && break 3
4567 done
4568 done
4569 done
4570 IFS=$as_save_IFS
4571 if test -z "$ac_cv_path_EGREP"; then
4572 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4574 else
4575 ac_cv_path_EGREP=$EGREP
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4581 $as_echo "$ac_cv_path_EGREP" >&6; }
4582 EGREP="$ac_cv_path_EGREP"
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4586 $as_echo_n "checking for ANSI C header files... " >&6; }
4587 if ${ac_cv_header_stdc+:} false; then :
4588 $as_echo_n "(cached) " >&6
4589 else
4590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4591 /* end confdefs.h. */
4592 #include <stdlib.h>
4593 #include <stdarg.h>
4594 #include <string.h>
4595 #include <float.h>
4598 main ()
4602 return 0;
4604 _ACEOF
4605 if ac_fn_c_try_compile "$LINENO"; then :
4606 ac_cv_header_stdc=yes
4607 else
4608 ac_cv_header_stdc=no
4610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4612 if test $ac_cv_header_stdc = yes; then
4613 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4615 /* end confdefs.h. */
4616 #include <string.h>
4618 _ACEOF
4619 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4620 $EGREP "memchr" >/dev/null 2>&1; then :
4622 else
4623 ac_cv_header_stdc=no
4625 rm -f conftest*
4629 if test $ac_cv_header_stdc = yes; then
4630 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4632 /* end confdefs.h. */
4633 #include <stdlib.h>
4635 _ACEOF
4636 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4637 $EGREP "free" >/dev/null 2>&1; then :
4639 else
4640 ac_cv_header_stdc=no
4642 rm -f conftest*
4646 if test $ac_cv_header_stdc = yes; then
4647 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4648 if test "$cross_compiling" = yes; then :
4650 else
4651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4652 /* end confdefs.h. */
4653 #include <ctype.h>
4654 #include <stdlib.h>
4655 #if ((' ' & 0x0FF) == 0x020)
4656 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4657 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4658 #else
4659 # define ISLOWER(c) \
4660 (('a' <= (c) && (c) <= 'i') \
4661 || ('j' <= (c) && (c) <= 'r') \
4662 || ('s' <= (c) && (c) <= 'z'))
4663 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4664 #endif
4666 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4668 main ()
4670 int i;
4671 for (i = 0; i < 256; i++)
4672 if (XOR (islower (i), ISLOWER (i))
4673 || toupper (i) != TOUPPER (i))
4674 return 2;
4675 return 0;
4677 _ACEOF
4678 if ac_fn_c_try_run "$LINENO"; then :
4680 else
4681 ac_cv_header_stdc=no
4683 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4684 conftest.$ac_objext conftest.beam conftest.$ac_ext
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4690 $as_echo "$ac_cv_header_stdc" >&6; }
4691 if test $ac_cv_header_stdc = yes; then
4693 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4697 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4698 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4699 inttypes.h stdint.h unistd.h
4700 do :
4701 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4702 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4704 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4705 cat >>confdefs.h <<_ACEOF
4706 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4707 _ACEOF
4711 done
4714 for ac_header in curl/curl.h
4715 do :
4716 ac_fn_c_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
4717 if test "x$ac_cv_header_curl_curl_h" = xyes; then :
4718 cat >>confdefs.h <<_ACEOF
4719 #define HAVE_CURL_CURL_H 1
4720 _ACEOF
4722 else
4723 as_fn_error $? "libcurl header file missing" "$LINENO" 5
4726 done
4729 ac_fn_c_check_decl "$LINENO" "CURLMOPT_TIMERFUNCTION" "ac_cv_have_decl_CURLMOPT_TIMERFUNCTION" "
4730 #include \"curl/curl.h\"
4733 if test "x$ac_cv_have_decl_CURLMOPT_TIMERFUNCTION" = xyes; then :
4734 ac_have_decl=1
4735 else
4736 ac_have_decl=0
4739 cat >>confdefs.h <<_ACEOF
4740 #define HAVE_DECL_CURLMOPT_TIMERFUNCTION $ac_have_decl
4741 _ACEOF
4742 if test $ac_have_decl = 1; then :
4744 else
4745 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4747 ac_fn_c_check_decl "$LINENO" "CURLMOPT_TIMERDATA" "ac_cv_have_decl_CURLMOPT_TIMERDATA" "
4748 #include \"curl/curl.h\"
4751 if test "x$ac_cv_have_decl_CURLMOPT_TIMERDATA" = xyes; then :
4752 ac_have_decl=1
4753 else
4754 ac_have_decl=0
4757 cat >>confdefs.h <<_ACEOF
4758 #define HAVE_DECL_CURLMOPT_TIMERDATA $ac_have_decl
4759 _ACEOF
4760 if test $ac_have_decl = 1; then :
4762 else
4763 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4765 ac_fn_c_check_decl "$LINENO" "CURLMOPT_SOCKETFUNCTION" "ac_cv_have_decl_CURLMOPT_SOCKETFUNCTION" "
4766 #include \"curl/curl.h\"
4769 if test "x$ac_cv_have_decl_CURLMOPT_SOCKETFUNCTION" = xyes; then :
4770 ac_have_decl=1
4771 else
4772 ac_have_decl=0
4775 cat >>confdefs.h <<_ACEOF
4776 #define HAVE_DECL_CURLMOPT_SOCKETFUNCTION $ac_have_decl
4777 _ACEOF
4778 if test $ac_have_decl = 1; then :
4780 else
4781 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4783 ac_fn_c_check_decl "$LINENO" "CURLMOPT_SOCKETDATA" "ac_cv_have_decl_CURLMOPT_SOCKETDATA" "
4784 #include \"curl/curl.h\"
4787 if test "x$ac_cv_have_decl_CURLMOPT_SOCKETDATA" = xyes; then :
4788 ac_have_decl=1
4789 else
4790 ac_have_decl=0
4793 cat >>confdefs.h <<_ACEOF
4794 #define HAVE_DECL_CURLMOPT_SOCKETDATA $ac_have_decl
4795 _ACEOF
4796 if test $ac_have_decl = 1; then :
4798 else
4799 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4803 ac_fn_c_check_decl "$LINENO" "CURLOPT_FILE" "ac_cv_have_decl_CURLOPT_FILE" "
4804 #include \"curl/curl.h\"
4807 if test "x$ac_cv_have_decl_CURLOPT_FILE" = xyes; then :
4808 ac_have_decl=1
4809 else
4810 ac_have_decl=0
4813 cat >>confdefs.h <<_ACEOF
4814 #define HAVE_DECL_CURLOPT_FILE $ac_have_decl
4815 _ACEOF
4816 ac_fn_c_check_decl "$LINENO" "CURLOPT_URL" "ac_cv_have_decl_CURLOPT_URL" "
4817 #include \"curl/curl.h\"
4820 if test "x$ac_cv_have_decl_CURLOPT_URL" = xyes; then :
4821 ac_have_decl=1
4822 else
4823 ac_have_decl=0
4826 cat >>confdefs.h <<_ACEOF
4827 #define HAVE_DECL_CURLOPT_URL $ac_have_decl
4828 _ACEOF
4829 ac_fn_c_check_decl "$LINENO" "CURLOPT_PORT" "ac_cv_have_decl_CURLOPT_PORT" "
4830 #include \"curl/curl.h\"
4833 if test "x$ac_cv_have_decl_CURLOPT_PORT" = xyes; then :
4834 ac_have_decl=1
4835 else
4836 ac_have_decl=0
4839 cat >>confdefs.h <<_ACEOF
4840 #define HAVE_DECL_CURLOPT_PORT $ac_have_decl
4841 _ACEOF
4842 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXY" "ac_cv_have_decl_CURLOPT_PROXY" "
4843 #include \"curl/curl.h\"
4846 if test "x$ac_cv_have_decl_CURLOPT_PROXY" = xyes; then :
4847 ac_have_decl=1
4848 else
4849 ac_have_decl=0
4852 cat >>confdefs.h <<_ACEOF
4853 #define HAVE_DECL_CURLOPT_PROXY $ac_have_decl
4854 _ACEOF
4855 ac_fn_c_check_decl "$LINENO" "CURLOPT_USERPWD" "ac_cv_have_decl_CURLOPT_USERPWD" "
4856 #include \"curl/curl.h\"
4859 if test "x$ac_cv_have_decl_CURLOPT_USERPWD" = xyes; then :
4860 ac_have_decl=1
4861 else
4862 ac_have_decl=0
4865 cat >>confdefs.h <<_ACEOF
4866 #define HAVE_DECL_CURLOPT_USERPWD $ac_have_decl
4867 _ACEOF
4868 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYUSERPWD" "ac_cv_have_decl_CURLOPT_PROXYUSERPWD" "
4869 #include \"curl/curl.h\"
4872 if test "x$ac_cv_have_decl_CURLOPT_PROXYUSERPWD" = xyes; then :
4873 ac_have_decl=1
4874 else
4875 ac_have_decl=0
4878 cat >>confdefs.h <<_ACEOF
4879 #define HAVE_DECL_CURLOPT_PROXYUSERPWD $ac_have_decl
4880 _ACEOF
4881 ac_fn_c_check_decl "$LINENO" "CURLOPT_RANGE" "ac_cv_have_decl_CURLOPT_RANGE" "
4882 #include \"curl/curl.h\"
4885 if test "x$ac_cv_have_decl_CURLOPT_RANGE" = xyes; then :
4886 ac_have_decl=1
4887 else
4888 ac_have_decl=0
4891 cat >>confdefs.h <<_ACEOF
4892 #define HAVE_DECL_CURLOPT_RANGE $ac_have_decl
4893 _ACEOF
4894 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILE" "ac_cv_have_decl_CURLOPT_INFILE" "
4895 #include \"curl/curl.h\"
4898 if test "x$ac_cv_have_decl_CURLOPT_INFILE" = xyes; then :
4899 ac_have_decl=1
4900 else
4901 ac_have_decl=0
4904 cat >>confdefs.h <<_ACEOF
4905 #define HAVE_DECL_CURLOPT_INFILE $ac_have_decl
4906 _ACEOF
4907 ac_fn_c_check_decl "$LINENO" "CURLOPT_ERRORBUFFER" "ac_cv_have_decl_CURLOPT_ERRORBUFFER" "
4908 #include \"curl/curl.h\"
4911 if test "x$ac_cv_have_decl_CURLOPT_ERRORBUFFER" = xyes; then :
4912 ac_have_decl=1
4913 else
4914 ac_have_decl=0
4917 cat >>confdefs.h <<_ACEOF
4918 #define HAVE_DECL_CURLOPT_ERRORBUFFER $ac_have_decl
4919 _ACEOF
4920 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEFUNCTION" "ac_cv_have_decl_CURLOPT_WRITEFUNCTION" "
4921 #include \"curl/curl.h\"
4924 if test "x$ac_cv_have_decl_CURLOPT_WRITEFUNCTION" = xyes; then :
4925 ac_have_decl=1
4926 else
4927 ac_have_decl=0
4930 cat >>confdefs.h <<_ACEOF
4931 #define HAVE_DECL_CURLOPT_WRITEFUNCTION $ac_have_decl
4932 _ACEOF
4933 ac_fn_c_check_decl "$LINENO" "CURLOPT_READFUNCTION" "ac_cv_have_decl_CURLOPT_READFUNCTION" "
4934 #include \"curl/curl.h\"
4937 if test "x$ac_cv_have_decl_CURLOPT_READFUNCTION" = xyes; then :
4938 ac_have_decl=1
4939 else
4940 ac_have_decl=0
4943 cat >>confdefs.h <<_ACEOF
4944 #define HAVE_DECL_CURLOPT_READFUNCTION $ac_have_decl
4945 _ACEOF
4946 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEOUT" "ac_cv_have_decl_CURLOPT_TIMEOUT" "
4947 #include \"curl/curl.h\"
4950 if test "x$ac_cv_have_decl_CURLOPT_TIMEOUT" = xyes; then :
4951 ac_have_decl=1
4952 else
4953 ac_have_decl=0
4956 cat >>confdefs.h <<_ACEOF
4957 #define HAVE_DECL_CURLOPT_TIMEOUT $ac_have_decl
4958 _ACEOF
4959 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILESIZE" "ac_cv_have_decl_CURLOPT_INFILESIZE" "
4960 #include \"curl/curl.h\"
4963 if test "x$ac_cv_have_decl_CURLOPT_INFILESIZE" = xyes; then :
4964 ac_have_decl=1
4965 else
4966 ac_have_decl=0
4969 cat >>confdefs.h <<_ACEOF
4970 #define HAVE_DECL_CURLOPT_INFILESIZE $ac_have_decl
4971 _ACEOF
4972 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDS" "ac_cv_have_decl_CURLOPT_POSTFIELDS" "
4973 #include \"curl/curl.h\"
4976 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDS" = xyes; then :
4977 ac_have_decl=1
4978 else
4979 ac_have_decl=0
4982 cat >>confdefs.h <<_ACEOF
4983 #define HAVE_DECL_CURLOPT_POSTFIELDS $ac_have_decl
4984 _ACEOF
4985 ac_fn_c_check_decl "$LINENO" "CURLOPT_REFERER" "ac_cv_have_decl_CURLOPT_REFERER" "
4986 #include \"curl/curl.h\"
4989 if test "x$ac_cv_have_decl_CURLOPT_REFERER" = xyes; then :
4990 ac_have_decl=1
4991 else
4992 ac_have_decl=0
4995 cat >>confdefs.h <<_ACEOF
4996 #define HAVE_DECL_CURLOPT_REFERER $ac_have_decl
4997 _ACEOF
4998 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPPORT" "ac_cv_have_decl_CURLOPT_FTPPORT" "
4999 #include \"curl/curl.h\"
5002 if test "x$ac_cv_have_decl_CURLOPT_FTPPORT" = xyes; then :
5003 ac_have_decl=1
5004 else
5005 ac_have_decl=0
5008 cat >>confdefs.h <<_ACEOF
5009 #define HAVE_DECL_CURLOPT_FTPPORT $ac_have_decl
5010 _ACEOF
5011 ac_fn_c_check_decl "$LINENO" "CURLOPT_USERAGENT" "ac_cv_have_decl_CURLOPT_USERAGENT" "
5012 #include \"curl/curl.h\"
5015 if test "x$ac_cv_have_decl_CURLOPT_USERAGENT" = xyes; then :
5016 ac_have_decl=1
5017 else
5018 ac_have_decl=0
5021 cat >>confdefs.h <<_ACEOF
5022 #define HAVE_DECL_CURLOPT_USERAGENT $ac_have_decl
5023 _ACEOF
5024 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOW_SPEED_LIMIT" "ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" "
5025 #include \"curl/curl.h\"
5028 if test "x$ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" = xyes; then :
5029 ac_have_decl=1
5030 else
5031 ac_have_decl=0
5034 cat >>confdefs.h <<_ACEOF
5035 #define HAVE_DECL_CURLOPT_LOW_SPEED_LIMIT $ac_have_decl
5036 _ACEOF
5037 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOW_SPEED_TIME" "ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" "
5038 #include \"curl/curl.h\"
5041 if test "x$ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" = xyes; then :
5042 ac_have_decl=1
5043 else
5044 ac_have_decl=0
5047 cat >>confdefs.h <<_ACEOF
5048 #define HAVE_DECL_CURLOPT_LOW_SPEED_TIME $ac_have_decl
5049 _ACEOF
5050 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESUME_FROM" "ac_cv_have_decl_CURLOPT_RESUME_FROM" "
5051 #include \"curl/curl.h\"
5054 if test "x$ac_cv_have_decl_CURLOPT_RESUME_FROM" = xyes; then :
5055 ac_have_decl=1
5056 else
5057 ac_have_decl=0
5060 cat >>confdefs.h <<_ACEOF
5061 #define HAVE_DECL_CURLOPT_RESUME_FROM $ac_have_decl
5062 _ACEOF
5063 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIE" "ac_cv_have_decl_CURLOPT_COOKIE" "
5064 #include \"curl/curl.h\"
5067 if test "x$ac_cv_have_decl_CURLOPT_COOKIE" = xyes; then :
5068 ac_have_decl=1
5069 else
5070 ac_have_decl=0
5073 cat >>confdefs.h <<_ACEOF
5074 #define HAVE_DECL_CURLOPT_COOKIE $ac_have_decl
5075 _ACEOF
5076 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPHEADER" "ac_cv_have_decl_CURLOPT_HTTPHEADER" "
5077 #include \"curl/curl.h\"
5080 if test "x$ac_cv_have_decl_CURLOPT_HTTPHEADER" = xyes; then :
5081 ac_have_decl=1
5082 else
5083 ac_have_decl=0
5086 cat >>confdefs.h <<_ACEOF
5087 #define HAVE_DECL_CURLOPT_HTTPHEADER $ac_have_decl
5088 _ACEOF
5089 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPPOST" "ac_cv_have_decl_CURLOPT_HTTPPOST" "
5090 #include \"curl/curl.h\"
5093 if test "x$ac_cv_have_decl_CURLOPT_HTTPPOST" = xyes; then :
5094 ac_have_decl=1
5095 else
5096 ac_have_decl=0
5099 cat >>confdefs.h <<_ACEOF
5100 #define HAVE_DECL_CURLOPT_HTTPPOST $ac_have_decl
5101 _ACEOF
5102 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERT" "ac_cv_have_decl_CURLOPT_SSLCERT" "
5103 #include \"curl/curl.h\"
5106 if test "x$ac_cv_have_decl_CURLOPT_SSLCERT" = xyes; then :
5107 ac_have_decl=1
5108 else
5109 ac_have_decl=0
5112 cat >>confdefs.h <<_ACEOF
5113 #define HAVE_DECL_CURLOPT_SSLCERT $ac_have_decl
5114 _ACEOF
5115 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERTPASSWD" "ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" "
5116 #include \"curl/curl.h\"
5119 if test "x$ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" = xyes; then :
5120 ac_have_decl=1
5121 else
5122 ac_have_decl=0
5125 cat >>confdefs.h <<_ACEOF
5126 #define HAVE_DECL_CURLOPT_SSLCERTPASSWD $ac_have_decl
5127 _ACEOF
5128 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEYPASSWD" "ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" "
5129 #include \"curl/curl.h\"
5132 if test "x$ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" = xyes; then :
5133 ac_have_decl=1
5134 else
5135 ac_have_decl=0
5138 cat >>confdefs.h <<_ACEOF
5139 #define HAVE_DECL_CURLOPT_SSLKEYPASSWD $ac_have_decl
5140 _ACEOF
5141 ac_fn_c_check_decl "$LINENO" "CURLOPT_CRLF" "ac_cv_have_decl_CURLOPT_CRLF" "
5142 #include \"curl/curl.h\"
5145 if test "x$ac_cv_have_decl_CURLOPT_CRLF" = xyes; then :
5146 ac_have_decl=1
5147 else
5148 ac_have_decl=0
5151 cat >>confdefs.h <<_ACEOF
5152 #define HAVE_DECL_CURLOPT_CRLF $ac_have_decl
5153 _ACEOF
5154 ac_fn_c_check_decl "$LINENO" "CURLOPT_QUOTE" "ac_cv_have_decl_CURLOPT_QUOTE" "
5155 #include \"curl/curl.h\"
5158 if test "x$ac_cv_have_decl_CURLOPT_QUOTE" = xyes; then :
5159 ac_have_decl=1
5160 else
5161 ac_have_decl=0
5164 cat >>confdefs.h <<_ACEOF
5165 #define HAVE_DECL_CURLOPT_QUOTE $ac_have_decl
5166 _ACEOF
5167 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEHEADER" "ac_cv_have_decl_CURLOPT_WRITEHEADER" "
5168 #include \"curl/curl.h\"
5171 if test "x$ac_cv_have_decl_CURLOPT_WRITEHEADER" = xyes; then :
5172 ac_have_decl=1
5173 else
5174 ac_have_decl=0
5177 cat >>confdefs.h <<_ACEOF
5178 #define HAVE_DECL_CURLOPT_WRITEHEADER $ac_have_decl
5179 _ACEOF
5180 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIEFILE" "ac_cv_have_decl_CURLOPT_COOKIEFILE" "
5181 #include \"curl/curl.h\"
5184 if test "x$ac_cv_have_decl_CURLOPT_COOKIEFILE" = xyes; then :
5185 ac_have_decl=1
5186 else
5187 ac_have_decl=0
5190 cat >>confdefs.h <<_ACEOF
5191 #define HAVE_DECL_CURLOPT_COOKIEFILE $ac_have_decl
5192 _ACEOF
5193 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLVERSION" "ac_cv_have_decl_CURLOPT_SSLVERSION" "
5194 #include \"curl/curl.h\"
5197 if test "x$ac_cv_have_decl_CURLOPT_SSLVERSION" = xyes; then :
5198 ac_have_decl=1
5199 else
5200 ac_have_decl=0
5203 cat >>confdefs.h <<_ACEOF
5204 #define HAVE_DECL_CURLOPT_SSLVERSION $ac_have_decl
5205 _ACEOF
5206 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMECONDITION" "ac_cv_have_decl_CURLOPT_TIMECONDITION" "
5207 #include \"curl/curl.h\"
5210 if test "x$ac_cv_have_decl_CURLOPT_TIMECONDITION" = xyes; then :
5211 ac_have_decl=1
5212 else
5213 ac_have_decl=0
5216 cat >>confdefs.h <<_ACEOF
5217 #define HAVE_DECL_CURLOPT_TIMECONDITION $ac_have_decl
5218 _ACEOF
5219 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEVALUE" "ac_cv_have_decl_CURLOPT_TIMEVALUE" "
5220 #include \"curl/curl.h\"
5223 if test "x$ac_cv_have_decl_CURLOPT_TIMEVALUE" = xyes; then :
5224 ac_have_decl=1
5225 else
5226 ac_have_decl=0
5229 cat >>confdefs.h <<_ACEOF
5230 #define HAVE_DECL_CURLOPT_TIMEVALUE $ac_have_decl
5231 _ACEOF
5232 ac_fn_c_check_decl "$LINENO" "CURLOPT_CUSTOMREQUEST" "ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" "
5233 #include \"curl/curl.h\"
5236 if test "x$ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" = xyes; then :
5237 ac_have_decl=1
5238 else
5239 ac_have_decl=0
5242 cat >>confdefs.h <<_ACEOF
5243 #define HAVE_DECL_CURLOPT_CUSTOMREQUEST $ac_have_decl
5244 _ACEOF
5245 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTQUOTE" "ac_cv_have_decl_CURLOPT_POSTQUOTE" "
5246 #include \"curl/curl.h\"
5249 if test "x$ac_cv_have_decl_CURLOPT_POSTQUOTE" = xyes; then :
5250 ac_have_decl=1
5251 else
5252 ac_have_decl=0
5255 cat >>confdefs.h <<_ACEOF
5256 #define HAVE_DECL_CURLOPT_POSTQUOTE $ac_have_decl
5257 _ACEOF
5258 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEINFO" "ac_cv_have_decl_CURLOPT_WRITEINFO" "
5259 #include \"curl/curl.h\"
5262 if test "x$ac_cv_have_decl_CURLOPT_WRITEINFO" = xyes; then :
5263 ac_have_decl=1
5264 else
5265 ac_have_decl=0
5268 cat >>confdefs.h <<_ACEOF
5269 #define HAVE_DECL_CURLOPT_WRITEINFO $ac_have_decl
5270 _ACEOF
5271 ac_fn_c_check_decl "$LINENO" "CURLOPT_VERBOSE" "ac_cv_have_decl_CURLOPT_VERBOSE" "
5272 #include \"curl/curl.h\"
5275 if test "x$ac_cv_have_decl_CURLOPT_VERBOSE" = xyes; then :
5276 ac_have_decl=1
5277 else
5278 ac_have_decl=0
5281 cat >>confdefs.h <<_ACEOF
5282 #define HAVE_DECL_CURLOPT_VERBOSE $ac_have_decl
5283 _ACEOF
5284 ac_fn_c_check_decl "$LINENO" "CURLOPT_HEADER" "ac_cv_have_decl_CURLOPT_HEADER" "
5285 #include \"curl/curl.h\"
5288 if test "x$ac_cv_have_decl_CURLOPT_HEADER" = xyes; then :
5289 ac_have_decl=1
5290 else
5291 ac_have_decl=0
5294 cat >>confdefs.h <<_ACEOF
5295 #define HAVE_DECL_CURLOPT_HEADER $ac_have_decl
5296 _ACEOF
5297 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOPROGRESS" "ac_cv_have_decl_CURLOPT_NOPROGRESS" "
5298 #include \"curl/curl.h\"
5301 if test "x$ac_cv_have_decl_CURLOPT_NOPROGRESS" = xyes; then :
5302 ac_have_decl=1
5303 else
5304 ac_have_decl=0
5307 cat >>confdefs.h <<_ACEOF
5308 #define HAVE_DECL_CURLOPT_NOPROGRESS $ac_have_decl
5309 _ACEOF
5310 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOBODY" "ac_cv_have_decl_CURLOPT_NOBODY" "
5311 #include \"curl/curl.h\"
5314 if test "x$ac_cv_have_decl_CURLOPT_NOBODY" = xyes; then :
5315 ac_have_decl=1
5316 else
5317 ac_have_decl=0
5320 cat >>confdefs.h <<_ACEOF
5321 #define HAVE_DECL_CURLOPT_NOBODY $ac_have_decl
5322 _ACEOF
5323 ac_fn_c_check_decl "$LINENO" "CURLOPT_FAILONERROR" "ac_cv_have_decl_CURLOPT_FAILONERROR" "
5324 #include \"curl/curl.h\"
5327 if test "x$ac_cv_have_decl_CURLOPT_FAILONERROR" = xyes; then :
5328 ac_have_decl=1
5329 else
5330 ac_have_decl=0
5333 cat >>confdefs.h <<_ACEOF
5334 #define HAVE_DECL_CURLOPT_FAILONERROR $ac_have_decl
5335 _ACEOF
5336 ac_fn_c_check_decl "$LINENO" "CURLOPT_UPLOAD" "ac_cv_have_decl_CURLOPT_UPLOAD" "
5337 #include \"curl/curl.h\"
5340 if test "x$ac_cv_have_decl_CURLOPT_UPLOAD" = xyes; then :
5341 ac_have_decl=1
5342 else
5343 ac_have_decl=0
5346 cat >>confdefs.h <<_ACEOF
5347 #define HAVE_DECL_CURLOPT_UPLOAD $ac_have_decl
5348 _ACEOF
5349 ac_fn_c_check_decl "$LINENO" "CURLOPT_POST" "ac_cv_have_decl_CURLOPT_POST" "
5350 #include \"curl/curl.h\"
5353 if test "x$ac_cv_have_decl_CURLOPT_POST" = xyes; then :
5354 ac_have_decl=1
5355 else
5356 ac_have_decl=0
5359 cat >>confdefs.h <<_ACEOF
5360 #define HAVE_DECL_CURLOPT_POST $ac_have_decl
5361 _ACEOF
5362 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPLISTONLY" "ac_cv_have_decl_CURLOPT_FTPLISTONLY" "
5363 #include \"curl/curl.h\"
5366 if test "x$ac_cv_have_decl_CURLOPT_FTPLISTONLY" = xyes; then :
5367 ac_have_decl=1
5368 else
5369 ac_have_decl=0
5372 cat >>confdefs.h <<_ACEOF
5373 #define HAVE_DECL_CURLOPT_FTPLISTONLY $ac_have_decl
5374 _ACEOF
5375 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPAPPEND" "ac_cv_have_decl_CURLOPT_FTPAPPEND" "
5376 #include \"curl/curl.h\"
5379 if test "x$ac_cv_have_decl_CURLOPT_FTPAPPEND" = xyes; then :
5380 ac_have_decl=1
5381 else
5382 ac_have_decl=0
5385 cat >>confdefs.h <<_ACEOF
5386 #define HAVE_DECL_CURLOPT_FTPAPPEND $ac_have_decl
5387 _ACEOF
5388 ac_fn_c_check_decl "$LINENO" "CURLOPT_NETRC" "ac_cv_have_decl_CURLOPT_NETRC" "
5389 #include \"curl/curl.h\"
5392 if test "x$ac_cv_have_decl_CURLOPT_NETRC" = xyes; then :
5393 ac_have_decl=1
5394 else
5395 ac_have_decl=0
5398 cat >>confdefs.h <<_ACEOF
5399 #define HAVE_DECL_CURLOPT_NETRC $ac_have_decl
5400 _ACEOF
5401 ac_fn_c_check_decl "$LINENO" "CURLOPT_FOLLOWLOCATION" "ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" "
5402 #include \"curl/curl.h\"
5405 if test "x$ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" = xyes; then :
5406 ac_have_decl=1
5407 else
5408 ac_have_decl=0
5411 cat >>confdefs.h <<_ACEOF
5412 #define HAVE_DECL_CURLOPT_FOLLOWLOCATION $ac_have_decl
5413 _ACEOF
5414 ac_fn_c_check_decl "$LINENO" "CURLOPT_TRANSFERTEXT" "ac_cv_have_decl_CURLOPT_TRANSFERTEXT" "
5415 #include \"curl/curl.h\"
5418 if test "x$ac_cv_have_decl_CURLOPT_TRANSFERTEXT" = xyes; then :
5419 ac_have_decl=1
5420 else
5421 ac_have_decl=0
5424 cat >>confdefs.h <<_ACEOF
5425 #define HAVE_DECL_CURLOPT_TRANSFERTEXT $ac_have_decl
5426 _ACEOF
5427 ac_fn_c_check_decl "$LINENO" "CURLOPT_PUT" "ac_cv_have_decl_CURLOPT_PUT" "
5428 #include \"curl/curl.h\"
5431 if test "x$ac_cv_have_decl_CURLOPT_PUT" = xyes; then :
5432 ac_have_decl=1
5433 else
5434 ac_have_decl=0
5437 cat >>confdefs.h <<_ACEOF
5438 #define HAVE_DECL_CURLOPT_PUT $ac_have_decl
5439 _ACEOF
5440 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROGRESSFUNCTION" "ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" "
5441 #include \"curl/curl.h\"
5444 if test "x$ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" = xyes; then :
5445 ac_have_decl=1
5446 else
5447 ac_have_decl=0
5450 cat >>confdefs.h <<_ACEOF
5451 #define HAVE_DECL_CURLOPT_PROGRESSFUNCTION $ac_have_decl
5452 _ACEOF
5453 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROGRESSDATA" "ac_cv_have_decl_CURLOPT_PROGRESSDATA" "
5454 #include \"curl/curl.h\"
5457 if test "x$ac_cv_have_decl_CURLOPT_PROGRESSDATA" = xyes; then :
5458 ac_have_decl=1
5459 else
5460 ac_have_decl=0
5463 cat >>confdefs.h <<_ACEOF
5464 #define HAVE_DECL_CURLOPT_PROGRESSDATA $ac_have_decl
5465 _ACEOF
5466 ac_fn_c_check_decl "$LINENO" "CURLOPT_AUTOREFERER" "ac_cv_have_decl_CURLOPT_AUTOREFERER" "
5467 #include \"curl/curl.h\"
5470 if test "x$ac_cv_have_decl_CURLOPT_AUTOREFERER" = xyes; then :
5471 ac_have_decl=1
5472 else
5473 ac_have_decl=0
5476 cat >>confdefs.h <<_ACEOF
5477 #define HAVE_DECL_CURLOPT_AUTOREFERER $ac_have_decl
5478 _ACEOF
5479 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYPORT" "ac_cv_have_decl_CURLOPT_PROXYPORT" "
5480 #include \"curl/curl.h\"
5483 if test "x$ac_cv_have_decl_CURLOPT_PROXYPORT" = xyes; then :
5484 ac_have_decl=1
5485 else
5486 ac_have_decl=0
5489 cat >>confdefs.h <<_ACEOF
5490 #define HAVE_DECL_CURLOPT_PROXYPORT $ac_have_decl
5491 _ACEOF
5492 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDSIZE" "ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" "
5493 #include \"curl/curl.h\"
5496 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" = xyes; then :
5497 ac_have_decl=1
5498 else
5499 ac_have_decl=0
5502 cat >>confdefs.h <<_ACEOF
5503 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE $ac_have_decl
5504 _ACEOF
5505 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPPROXYTUNNEL" "ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" "
5506 #include \"curl/curl.h\"
5509 if test "x$ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" = xyes; then :
5510 ac_have_decl=1
5511 else
5512 ac_have_decl=0
5515 cat >>confdefs.h <<_ACEOF
5516 #define HAVE_DECL_CURLOPT_HTTPPROXYTUNNEL $ac_have_decl
5517 _ACEOF
5518 ac_fn_c_check_decl "$LINENO" "CURLOPT_INTERFACE" "ac_cv_have_decl_CURLOPT_INTERFACE" "
5519 #include \"curl/curl.h\"
5522 if test "x$ac_cv_have_decl_CURLOPT_INTERFACE" = xyes; then :
5523 ac_have_decl=1
5524 else
5525 ac_have_decl=0
5528 cat >>confdefs.h <<_ACEOF
5529 #define HAVE_DECL_CURLOPT_INTERFACE $ac_have_decl
5530 _ACEOF
5531 ac_fn_c_check_decl "$LINENO" "CURLOPT_KRB4LEVEL" "ac_cv_have_decl_CURLOPT_KRB4LEVEL" "
5532 #include \"curl/curl.h\"
5535 if test "x$ac_cv_have_decl_CURLOPT_KRB4LEVEL" = xyes; then :
5536 ac_have_decl=1
5537 else
5538 ac_have_decl=0
5541 cat >>confdefs.h <<_ACEOF
5542 #define HAVE_DECL_CURLOPT_KRB4LEVEL $ac_have_decl
5543 _ACEOF
5544 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_VERIFYPEER" "ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" "
5545 #include \"curl/curl.h\"
5548 if test "x$ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" = xyes; then :
5549 ac_have_decl=1
5550 else
5551 ac_have_decl=0
5554 cat >>confdefs.h <<_ACEOF
5555 #define HAVE_DECL_CURLOPT_SSL_VERIFYPEER $ac_have_decl
5556 _ACEOF
5557 ac_fn_c_check_decl "$LINENO" "CURLOPT_CAINFO" "ac_cv_have_decl_CURLOPT_CAINFO" "
5558 #include \"curl/curl.h\"
5561 if test "x$ac_cv_have_decl_CURLOPT_CAINFO" = xyes; then :
5562 ac_have_decl=1
5563 else
5564 ac_have_decl=0
5567 cat >>confdefs.h <<_ACEOF
5568 #define HAVE_DECL_CURLOPT_CAINFO $ac_have_decl
5569 _ACEOF
5570 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXREDIRS" "ac_cv_have_decl_CURLOPT_MAXREDIRS" "
5571 #include \"curl/curl.h\"
5574 if test "x$ac_cv_have_decl_CURLOPT_MAXREDIRS" = xyes; then :
5575 ac_have_decl=1
5576 else
5577 ac_have_decl=0
5580 cat >>confdefs.h <<_ACEOF
5581 #define HAVE_DECL_CURLOPT_MAXREDIRS $ac_have_decl
5582 _ACEOF
5583 ac_fn_c_check_decl "$LINENO" "CURLOPT_FILETIME" "ac_cv_have_decl_CURLOPT_FILETIME" "
5584 #include \"curl/curl.h\"
5587 if test "x$ac_cv_have_decl_CURLOPT_FILETIME" = xyes; then :
5588 ac_have_decl=1
5589 else
5590 ac_have_decl=0
5593 cat >>confdefs.h <<_ACEOF
5594 #define HAVE_DECL_CURLOPT_FILETIME $ac_have_decl
5595 _ACEOF
5596 ac_fn_c_check_decl "$LINENO" "CURLOPT_TELNETOPTIONS" "ac_cv_have_decl_CURLOPT_TELNETOPTIONS" "
5597 #include \"curl/curl.h\"
5600 if test "x$ac_cv_have_decl_CURLOPT_TELNETOPTIONS" = xyes; then :
5601 ac_have_decl=1
5602 else
5603 ac_have_decl=0
5606 cat >>confdefs.h <<_ACEOF
5607 #define HAVE_DECL_CURLOPT_TELNETOPTIONS $ac_have_decl
5608 _ACEOF
5609 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXCONNECTS" "ac_cv_have_decl_CURLOPT_MAXCONNECTS" "
5610 #include \"curl/curl.h\"
5613 if test "x$ac_cv_have_decl_CURLOPT_MAXCONNECTS" = xyes; then :
5614 ac_have_decl=1
5615 else
5616 ac_have_decl=0
5619 cat >>confdefs.h <<_ACEOF
5620 #define HAVE_DECL_CURLOPT_MAXCONNECTS $ac_have_decl
5621 _ACEOF
5622 ac_fn_c_check_decl "$LINENO" "CURLOPT_CLOSEPOLICY" "ac_cv_have_decl_CURLOPT_CLOSEPOLICY" "
5623 #include \"curl/curl.h\"
5626 if test "x$ac_cv_have_decl_CURLOPT_CLOSEPOLICY" = xyes; then :
5627 ac_have_decl=1
5628 else
5629 ac_have_decl=0
5632 cat >>confdefs.h <<_ACEOF
5633 #define HAVE_DECL_CURLOPT_CLOSEPOLICY $ac_have_decl
5634 _ACEOF
5635 ac_fn_c_check_decl "$LINENO" "CURLOPT_FRESH_CONNECT" "ac_cv_have_decl_CURLOPT_FRESH_CONNECT" "
5636 #include \"curl/curl.h\"
5639 if test "x$ac_cv_have_decl_CURLOPT_FRESH_CONNECT" = xyes; then :
5640 ac_have_decl=1
5641 else
5642 ac_have_decl=0
5645 cat >>confdefs.h <<_ACEOF
5646 #define HAVE_DECL_CURLOPT_FRESH_CONNECT $ac_have_decl
5647 _ACEOF
5648 ac_fn_c_check_decl "$LINENO" "CURLOPT_FORBID_REUSE" "ac_cv_have_decl_CURLOPT_FORBID_REUSE" "
5649 #include \"curl/curl.h\"
5652 if test "x$ac_cv_have_decl_CURLOPT_FORBID_REUSE" = xyes; then :
5653 ac_have_decl=1
5654 else
5655 ac_have_decl=0
5658 cat >>confdefs.h <<_ACEOF
5659 #define HAVE_DECL_CURLOPT_FORBID_REUSE $ac_have_decl
5660 _ACEOF
5661 ac_fn_c_check_decl "$LINENO" "CURLOPT_RANDOM_FILE" "ac_cv_have_decl_CURLOPT_RANDOM_FILE" "
5662 #include \"curl/curl.h\"
5665 if test "x$ac_cv_have_decl_CURLOPT_RANDOM_FILE" = xyes; then :
5666 ac_have_decl=1
5667 else
5668 ac_have_decl=0
5671 cat >>confdefs.h <<_ACEOF
5672 #define HAVE_DECL_CURLOPT_RANDOM_FILE $ac_have_decl
5673 _ACEOF
5674 ac_fn_c_check_decl "$LINENO" "CURLOPT_EGDSOCKET" "ac_cv_have_decl_CURLOPT_EGDSOCKET" "
5675 #include \"curl/curl.h\"
5678 if test "x$ac_cv_have_decl_CURLOPT_EGDSOCKET" = xyes; then :
5679 ac_have_decl=1
5680 else
5681 ac_have_decl=0
5684 cat >>confdefs.h <<_ACEOF
5685 #define HAVE_DECL_CURLOPT_EGDSOCKET $ac_have_decl
5686 _ACEOF
5687 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECTTIMEOUT" "ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" "
5688 #include \"curl/curl.h\"
5691 if test "x$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" = xyes; then :
5692 ac_have_decl=1
5693 else
5694 ac_have_decl=0
5697 cat >>confdefs.h <<_ACEOF
5698 #define HAVE_DECL_CURLOPT_CONNECTTIMEOUT $ac_have_decl
5699 _ACEOF
5700 ac_fn_c_check_decl "$LINENO" "CURLOPT_HEADERFUNCTION" "ac_cv_have_decl_CURLOPT_HEADERFUNCTION" "
5701 #include \"curl/curl.h\"
5704 if test "x$ac_cv_have_decl_CURLOPT_HEADERFUNCTION" = xyes; then :
5705 ac_have_decl=1
5706 else
5707 ac_have_decl=0
5710 cat >>confdefs.h <<_ACEOF
5711 #define HAVE_DECL_CURLOPT_HEADERFUNCTION $ac_have_decl
5712 _ACEOF
5713 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPGET" "ac_cv_have_decl_CURLOPT_HTTPGET" "
5714 #include \"curl/curl.h\"
5717 if test "x$ac_cv_have_decl_CURLOPT_HTTPGET" = xyes; then :
5718 ac_have_decl=1
5719 else
5720 ac_have_decl=0
5723 cat >>confdefs.h <<_ACEOF
5724 #define HAVE_DECL_CURLOPT_HTTPGET $ac_have_decl
5725 _ACEOF
5726 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_VERIFYHOST" "ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" "
5727 #include \"curl/curl.h\"
5730 if test "x$ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" = xyes; then :
5731 ac_have_decl=1
5732 else
5733 ac_have_decl=0
5736 cat >>confdefs.h <<_ACEOF
5737 #define HAVE_DECL_CURLOPT_SSL_VERIFYHOST $ac_have_decl
5738 _ACEOF
5739 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIEJAR" "ac_cv_have_decl_CURLOPT_COOKIEJAR" "
5740 #include \"curl/curl.h\"
5743 if test "x$ac_cv_have_decl_CURLOPT_COOKIEJAR" = xyes; then :
5744 ac_have_decl=1
5745 else
5746 ac_have_decl=0
5749 cat >>confdefs.h <<_ACEOF
5750 #define HAVE_DECL_CURLOPT_COOKIEJAR $ac_have_decl
5751 _ACEOF
5752 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_CIPHER_LIST" "ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" "
5753 #include \"curl/curl.h\"
5756 if test "x$ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" = xyes; then :
5757 ac_have_decl=1
5758 else
5759 ac_have_decl=0
5762 cat >>confdefs.h <<_ACEOF
5763 #define HAVE_DECL_CURLOPT_SSL_CIPHER_LIST $ac_have_decl
5764 _ACEOF
5765 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_VERSION" "ac_cv_have_decl_CURLOPT_HTTP_VERSION" "
5766 #include \"curl/curl.h\"
5769 if test "x$ac_cv_have_decl_CURLOPT_HTTP_VERSION" = xyes; then :
5770 ac_have_decl=1
5771 else
5772 ac_have_decl=0
5775 cat >>confdefs.h <<_ACEOF
5776 #define HAVE_DECL_CURLOPT_HTTP_VERSION $ac_have_decl
5777 _ACEOF
5778 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_USE_EPSV" "ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" "
5779 #include \"curl/curl.h\"
5782 if test "x$ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" = xyes; then :
5783 ac_have_decl=1
5784 else
5785 ac_have_decl=0
5788 cat >>confdefs.h <<_ACEOF
5789 #define HAVE_DECL_CURLOPT_FTP_USE_EPSV $ac_have_decl
5790 _ACEOF
5791 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERTTYPE" "ac_cv_have_decl_CURLOPT_SSLCERTTYPE" "
5792 #include \"curl/curl.h\"
5795 if test "x$ac_cv_have_decl_CURLOPT_SSLCERTTYPE" = xyes; then :
5796 ac_have_decl=1
5797 else
5798 ac_have_decl=0
5801 cat >>confdefs.h <<_ACEOF
5802 #define HAVE_DECL_CURLOPT_SSLCERTTYPE $ac_have_decl
5803 _ACEOF
5804 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEY" "ac_cv_have_decl_CURLOPT_SSLKEY" "
5805 #include \"curl/curl.h\"
5808 if test "x$ac_cv_have_decl_CURLOPT_SSLKEY" = xyes; then :
5809 ac_have_decl=1
5810 else
5811 ac_have_decl=0
5814 cat >>confdefs.h <<_ACEOF
5815 #define HAVE_DECL_CURLOPT_SSLKEY $ac_have_decl
5816 _ACEOF
5817 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEYTYPE" "ac_cv_have_decl_CURLOPT_SSLKEYTYPE" "
5818 #include \"curl/curl.h\"
5821 if test "x$ac_cv_have_decl_CURLOPT_SSLKEYTYPE" = xyes; then :
5822 ac_have_decl=1
5823 else
5824 ac_have_decl=0
5827 cat >>confdefs.h <<_ACEOF
5828 #define HAVE_DECL_CURLOPT_SSLKEYTYPE $ac_have_decl
5829 _ACEOF
5830 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLENGINE" "ac_cv_have_decl_CURLOPT_SSLENGINE" "
5831 #include \"curl/curl.h\"
5834 if test "x$ac_cv_have_decl_CURLOPT_SSLENGINE" = xyes; then :
5835 ac_have_decl=1
5836 else
5837 ac_have_decl=0
5840 cat >>confdefs.h <<_ACEOF
5841 #define HAVE_DECL_CURLOPT_SSLENGINE $ac_have_decl
5842 _ACEOF
5843 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLENGINE_DEFAULT" "ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" "
5844 #include \"curl/curl.h\"
5847 if test "x$ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" = xyes; then :
5848 ac_have_decl=1
5849 else
5850 ac_have_decl=0
5853 cat >>confdefs.h <<_ACEOF
5854 #define HAVE_DECL_CURLOPT_SSLENGINE_DEFAULT $ac_have_decl
5855 _ACEOF
5856 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_USE_GLOBAL_CACHE" "ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" "
5857 #include \"curl/curl.h\"
5860 if test "x$ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" = xyes; then :
5861 ac_have_decl=1
5862 else
5863 ac_have_decl=0
5866 cat >>confdefs.h <<_ACEOF
5867 #define HAVE_DECL_CURLOPT_DNS_USE_GLOBAL_CACHE $ac_have_decl
5868 _ACEOF
5869 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_CACHE_TIMEOUT" "ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" "
5870 #include \"curl/curl.h\"
5873 if test "x$ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" = xyes; then :
5874 ac_have_decl=1
5875 else
5876 ac_have_decl=0
5879 cat >>confdefs.h <<_ACEOF
5880 #define HAVE_DECL_CURLOPT_DNS_CACHE_TIMEOUT $ac_have_decl
5881 _ACEOF
5882 ac_fn_c_check_decl "$LINENO" "CURLOPT_PREQUOTE" "ac_cv_have_decl_CURLOPT_PREQUOTE" "
5883 #include \"curl/curl.h\"
5886 if test "x$ac_cv_have_decl_CURLOPT_PREQUOTE" = xyes; then :
5887 ac_have_decl=1
5888 else
5889 ac_have_decl=0
5892 cat >>confdefs.h <<_ACEOF
5893 #define HAVE_DECL_CURLOPT_PREQUOTE $ac_have_decl
5894 _ACEOF
5895 ac_fn_c_check_decl "$LINENO" "CURLOPT_DEBUGFUNCTION" "ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" "
5896 #include \"curl/curl.h\"
5899 if test "x$ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" = xyes; then :
5900 ac_have_decl=1
5901 else
5902 ac_have_decl=0
5905 cat >>confdefs.h <<_ACEOF
5906 #define HAVE_DECL_CURLOPT_DEBUGFUNCTION $ac_have_decl
5907 _ACEOF
5908 ac_fn_c_check_decl "$LINENO" "CURLOPT_DEBUGDATA" "ac_cv_have_decl_CURLOPT_DEBUGDATA" "
5909 #include \"curl/curl.h\"
5912 if test "x$ac_cv_have_decl_CURLOPT_DEBUGDATA" = xyes; then :
5913 ac_have_decl=1
5914 else
5915 ac_have_decl=0
5918 cat >>confdefs.h <<_ACEOF
5919 #define HAVE_DECL_CURLOPT_DEBUGDATA $ac_have_decl
5920 _ACEOF
5921 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIESESSION" "ac_cv_have_decl_CURLOPT_COOKIESESSION" "
5922 #include \"curl/curl.h\"
5925 if test "x$ac_cv_have_decl_CURLOPT_COOKIESESSION" = xyes; then :
5926 ac_have_decl=1
5927 else
5928 ac_have_decl=0
5931 cat >>confdefs.h <<_ACEOF
5932 #define HAVE_DECL_CURLOPT_COOKIESESSION $ac_have_decl
5933 _ACEOF
5934 ac_fn_c_check_decl "$LINENO" "CURLOPT_CAPATH" "ac_cv_have_decl_CURLOPT_CAPATH" "
5935 #include \"curl/curl.h\"
5938 if test "x$ac_cv_have_decl_CURLOPT_CAPATH" = xyes; then :
5939 ac_have_decl=1
5940 else
5941 ac_have_decl=0
5944 cat >>confdefs.h <<_ACEOF
5945 #define HAVE_DECL_CURLOPT_CAPATH $ac_have_decl
5946 _ACEOF
5947 ac_fn_c_check_decl "$LINENO" "CURLOPT_BUFFERSIZE" "ac_cv_have_decl_CURLOPT_BUFFERSIZE" "
5948 #include \"curl/curl.h\"
5951 if test "x$ac_cv_have_decl_CURLOPT_BUFFERSIZE" = xyes; then :
5952 ac_have_decl=1
5953 else
5954 ac_have_decl=0
5957 cat >>confdefs.h <<_ACEOF
5958 #define HAVE_DECL_CURLOPT_BUFFERSIZE $ac_have_decl
5959 _ACEOF
5960 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOSIGNAL" "ac_cv_have_decl_CURLOPT_NOSIGNAL" "
5961 #include \"curl/curl.h\"
5964 if test "x$ac_cv_have_decl_CURLOPT_NOSIGNAL" = xyes; then :
5965 ac_have_decl=1
5966 else
5967 ac_have_decl=0
5970 cat >>confdefs.h <<_ACEOF
5971 #define HAVE_DECL_CURLOPT_NOSIGNAL $ac_have_decl
5972 _ACEOF
5973 ac_fn_c_check_decl "$LINENO" "CURLOPT_SHARE" "ac_cv_have_decl_CURLOPT_SHARE" "
5974 #include \"curl/curl.h\"
5977 if test "x$ac_cv_have_decl_CURLOPT_SHARE" = xyes; then :
5978 ac_have_decl=1
5979 else
5980 ac_have_decl=0
5983 cat >>confdefs.h <<_ACEOF
5984 #define HAVE_DECL_CURLOPT_SHARE $ac_have_decl
5985 _ACEOF
5986 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYTYPE" "ac_cv_have_decl_CURLOPT_PROXYTYPE" "
5987 #include \"curl/curl.h\"
5990 if test "x$ac_cv_have_decl_CURLOPT_PROXYTYPE" = xyes; then :
5991 ac_have_decl=1
5992 else
5993 ac_have_decl=0
5996 cat >>confdefs.h <<_ACEOF
5997 #define HAVE_DECL_CURLOPT_PROXYTYPE $ac_have_decl
5998 _ACEOF
5999 ac_fn_c_check_decl "$LINENO" "CURLOPT_ENCODING" "ac_cv_have_decl_CURLOPT_ENCODING" "
6000 #include \"curl/curl.h\"
6003 if test "x$ac_cv_have_decl_CURLOPT_ENCODING" = xyes; then :
6004 ac_have_decl=1
6005 else
6006 ac_have_decl=0
6009 cat >>confdefs.h <<_ACEOF
6010 #define HAVE_DECL_CURLOPT_ENCODING $ac_have_decl
6011 _ACEOF
6012 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP200ALIASES" "ac_cv_have_decl_CURLOPT_HTTP200ALIASES" "
6013 #include \"curl/curl.h\"
6016 if test "x$ac_cv_have_decl_CURLOPT_HTTP200ALIASES" = xyes; then :
6017 ac_have_decl=1
6018 else
6019 ac_have_decl=0
6022 cat >>confdefs.h <<_ACEOF
6023 #define HAVE_DECL_CURLOPT_HTTP200ALIASES $ac_have_decl
6024 _ACEOF
6025 ac_fn_c_check_decl "$LINENO" "CURLOPT_UNRESTRICTED_AUTH" "ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" "
6026 #include \"curl/curl.h\"
6029 if test "x$ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" = xyes; then :
6030 ac_have_decl=1
6031 else
6032 ac_have_decl=0
6035 cat >>confdefs.h <<_ACEOF
6036 #define HAVE_DECL_CURLOPT_UNRESTRICTED_AUTH $ac_have_decl
6037 _ACEOF
6038 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_USE_EPRT" "ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" "
6039 #include \"curl/curl.h\"
6042 if test "x$ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" = xyes; then :
6043 ac_have_decl=1
6044 else
6045 ac_have_decl=0
6048 cat >>confdefs.h <<_ACEOF
6049 #define HAVE_DECL_CURLOPT_FTP_USE_EPRT $ac_have_decl
6050 _ACEOF
6051 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPAUTH" "ac_cv_have_decl_CURLOPT_HTTPAUTH" "
6052 #include \"curl/curl.h\"
6055 if test "x$ac_cv_have_decl_CURLOPT_HTTPAUTH" = xyes; then :
6056 ac_have_decl=1
6057 else
6058 ac_have_decl=0
6061 cat >>confdefs.h <<_ACEOF
6062 #define HAVE_DECL_CURLOPT_HTTPAUTH $ac_have_decl
6063 _ACEOF
6064 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_CREATE_MISSING_DIRS" "ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" "
6065 #include \"curl/curl.h\"
6068 if test "x$ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" = xyes; then :
6069 ac_have_decl=1
6070 else
6071 ac_have_decl=0
6074 cat >>confdefs.h <<_ACEOF
6075 #define HAVE_DECL_CURLOPT_FTP_CREATE_MISSING_DIRS $ac_have_decl
6076 _ACEOF
6077 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYAUTH" "ac_cv_have_decl_CURLOPT_PROXYAUTH" "
6078 #include \"curl/curl.h\"
6081 if test "x$ac_cv_have_decl_CURLOPT_PROXYAUTH" = xyes; then :
6082 ac_have_decl=1
6083 else
6084 ac_have_decl=0
6087 cat >>confdefs.h <<_ACEOF
6088 #define HAVE_DECL_CURLOPT_PROXYAUTH $ac_have_decl
6089 _ACEOF
6090 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_RESPONSE_TIMEOUT" "ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" "
6091 #include \"curl/curl.h\"
6094 if test "x$ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" = xyes; then :
6095 ac_have_decl=1
6096 else
6097 ac_have_decl=0
6100 cat >>confdefs.h <<_ACEOF
6101 #define HAVE_DECL_CURLOPT_FTP_RESPONSE_TIMEOUT $ac_have_decl
6102 _ACEOF
6103 ac_fn_c_check_decl "$LINENO" "CURLOPT_IPRESOLVE" "ac_cv_have_decl_CURLOPT_IPRESOLVE" "
6104 #include \"curl/curl.h\"
6107 if test "x$ac_cv_have_decl_CURLOPT_IPRESOLVE" = xyes; then :
6108 ac_have_decl=1
6109 else
6110 ac_have_decl=0
6113 cat >>confdefs.h <<_ACEOF
6114 #define HAVE_DECL_CURLOPT_IPRESOLVE $ac_have_decl
6115 _ACEOF
6116 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXFILESIZE" "ac_cv_have_decl_CURLOPT_MAXFILESIZE" "
6117 #include \"curl/curl.h\"
6120 if test "x$ac_cv_have_decl_CURLOPT_MAXFILESIZE" = xyes; then :
6121 ac_have_decl=1
6122 else
6123 ac_have_decl=0
6126 cat >>confdefs.h <<_ACEOF
6127 #define HAVE_DECL_CURLOPT_MAXFILESIZE $ac_have_decl
6128 _ACEOF
6129 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILESIZE_LARGE" "ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" "
6130 #include \"curl/curl.h\"
6133 if test "x$ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" = xyes; then :
6134 ac_have_decl=1
6135 else
6136 ac_have_decl=0
6139 cat >>confdefs.h <<_ACEOF
6140 #define HAVE_DECL_CURLOPT_INFILESIZE_LARGE $ac_have_decl
6141 _ACEOF
6142 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESUME_FROM_LARGE" "ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE" "
6143 #include \"curl/curl.h\"
6146 if test "x$ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE" = xyes; then :
6147 ac_have_decl=1
6148 else
6149 ac_have_decl=0
6152 cat >>confdefs.h <<_ACEOF
6153 #define HAVE_DECL_CURLOPT_RESUME_FROM_LARGE $ac_have_decl
6154 _ACEOF
6155 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXFILESIZE_LARGE" "ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE" "
6156 #include \"curl/curl.h\"
6159 if test "x$ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE" = xyes; then :
6160 ac_have_decl=1
6161 else
6162 ac_have_decl=0
6165 cat >>confdefs.h <<_ACEOF
6166 #define HAVE_DECL_CURLOPT_MAXFILESIZE_LARGE $ac_have_decl
6167 _ACEOF
6168 ac_fn_c_check_decl "$LINENO" "CURLOPT_NETRC_FILE" "ac_cv_have_decl_CURLOPT_NETRC_FILE" "
6169 #include \"curl/curl.h\"
6172 if test "x$ac_cv_have_decl_CURLOPT_NETRC_FILE" = xyes; then :
6173 ac_have_decl=1
6174 else
6175 ac_have_decl=0
6178 cat >>confdefs.h <<_ACEOF
6179 #define HAVE_DECL_CURLOPT_NETRC_FILE $ac_have_decl
6180 _ACEOF
6181 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SSL" "ac_cv_have_decl_CURLOPT_FTP_SSL" "
6182 #include \"curl/curl.h\"
6185 if test "x$ac_cv_have_decl_CURLOPT_FTP_SSL" = xyes; then :
6186 ac_have_decl=1
6187 else
6188 ac_have_decl=0
6191 cat >>confdefs.h <<_ACEOF
6192 #define HAVE_DECL_CURLOPT_FTP_SSL $ac_have_decl
6193 _ACEOF
6194 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDSIZE_LARGE" "ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" "
6195 #include \"curl/curl.h\"
6198 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" = xyes; then :
6199 ac_have_decl=1
6200 else
6201 ac_have_decl=0
6204 cat >>confdefs.h <<_ACEOF
6205 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE_LARGE $ac_have_decl
6206 _ACEOF
6207 ac_fn_c_check_decl "$LINENO" "CURLOPT_TCP_NODELAY" "ac_cv_have_decl_CURLOPT_TCP_NODELAY" "
6208 #include \"curl/curl.h\"
6211 if test "x$ac_cv_have_decl_CURLOPT_TCP_NODELAY" = xyes; then :
6212 ac_have_decl=1
6213 else
6214 ac_have_decl=0
6217 cat >>confdefs.h <<_ACEOF
6218 #define HAVE_DECL_CURLOPT_TCP_NODELAY $ac_have_decl
6219 _ACEOF
6220 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPSSLAUTH" "ac_cv_have_decl_CURLOPT_FTPSSLAUTH" "
6221 #include \"curl/curl.h\"
6224 if test "x$ac_cv_have_decl_CURLOPT_FTPSSLAUTH" = xyes; then :
6225 ac_have_decl=1
6226 else
6227 ac_have_decl=0
6230 cat >>confdefs.h <<_ACEOF
6231 #define HAVE_DECL_CURLOPT_FTPSSLAUTH $ac_have_decl
6232 _ACEOF
6233 ac_fn_c_check_decl "$LINENO" "CURLOPT_IOCTLFUNCTION" "ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" "
6234 #include \"curl/curl.h\"
6237 if test "x$ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" = xyes; then :
6238 ac_have_decl=1
6239 else
6240 ac_have_decl=0
6243 cat >>confdefs.h <<_ACEOF
6244 #define HAVE_DECL_CURLOPT_IOCTLFUNCTION $ac_have_decl
6245 _ACEOF
6246 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_ACCOUNT" "ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" "
6247 #include \"curl/curl.h\"
6250 if test "x$ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" = xyes; then :
6251 ac_have_decl=1
6252 else
6253 ac_have_decl=0
6256 cat >>confdefs.h <<_ACEOF
6257 #define HAVE_DECL_CURLOPT_FTP_ACCOUNT $ac_have_decl
6258 _ACEOF
6259 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIELIST" "ac_cv_have_decl_CURLOPT_COOKIELIST" "
6260 #include \"curl/curl.h\"
6263 if test "x$ac_cv_have_decl_CURLOPT_COOKIELIST" = xyes; then :
6264 ac_have_decl=1
6265 else
6266 ac_have_decl=0
6269 cat >>confdefs.h <<_ACEOF
6270 #define HAVE_DECL_CURLOPT_COOKIELIST $ac_have_decl
6271 _ACEOF
6272 ac_fn_c_check_decl "$LINENO" "CURLOPT_IGNORE_CONTENT_LENGTH" "ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" "
6273 #include \"curl/curl.h\"
6276 if test "x$ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" = xyes; then :
6277 ac_have_decl=1
6278 else
6279 ac_have_decl=0
6282 cat >>confdefs.h <<_ACEOF
6283 #define HAVE_DECL_CURLOPT_IGNORE_CONTENT_LENGTH $ac_have_decl
6284 _ACEOF
6285 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SKIP_PASV_IP" "ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" "
6286 #include \"curl/curl.h\"
6289 if test "x$ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" = xyes; then :
6290 ac_have_decl=1
6291 else
6292 ac_have_decl=0
6295 cat >>confdefs.h <<_ACEOF
6296 #define HAVE_DECL_CURLOPT_FTP_SKIP_PASV_IP $ac_have_decl
6297 _ACEOF
6298 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_FILEMETHOD" "ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" "
6299 #include \"curl/curl.h\"
6302 if test "x$ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" = xyes; then :
6303 ac_have_decl=1
6304 else
6305 ac_have_decl=0
6308 cat >>confdefs.h <<_ACEOF
6309 #define HAVE_DECL_CURLOPT_FTP_FILEMETHOD $ac_have_decl
6310 _ACEOF
6311 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOCALPORT" "ac_cv_have_decl_CURLOPT_LOCALPORT" "
6312 #include \"curl/curl.h\"
6315 if test "x$ac_cv_have_decl_CURLOPT_LOCALPORT" = xyes; then :
6316 ac_have_decl=1
6317 else
6318 ac_have_decl=0
6321 cat >>confdefs.h <<_ACEOF
6322 #define HAVE_DECL_CURLOPT_LOCALPORT $ac_have_decl
6323 _ACEOF
6324 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOCALPORTRANGE" "ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" "
6325 #include \"curl/curl.h\"
6328 if test "x$ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" = xyes; then :
6329 ac_have_decl=1
6330 else
6331 ac_have_decl=0
6334 cat >>confdefs.h <<_ACEOF
6335 #define HAVE_DECL_CURLOPT_LOCALPORTRANGE $ac_have_decl
6336 _ACEOF
6337 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECT_ONLY" "ac_cv_have_decl_CURLOPT_CONNECT_ONLY" "
6338 #include \"curl/curl.h\"
6341 if test "x$ac_cv_have_decl_CURLOPT_CONNECT_ONLY" = xyes; then :
6342 ac_have_decl=1
6343 else
6344 ac_have_decl=0
6347 cat >>confdefs.h <<_ACEOF
6348 #define HAVE_DECL_CURLOPT_CONNECT_ONLY $ac_have_decl
6349 _ACEOF
6350 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAX_SEND_SPEED_LARGE" "ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" "
6351 #include \"curl/curl.h\"
6354 if test "x$ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" = xyes; then :
6355 ac_have_decl=1
6356 else
6357 ac_have_decl=0
6360 cat >>confdefs.h <<_ACEOF
6361 #define HAVE_DECL_CURLOPT_MAX_SEND_SPEED_LARGE $ac_have_decl
6362 _ACEOF
6363 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAX_RECV_SPEED_LARGE" "ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE" "
6364 #include \"curl/curl.h\"
6367 if test "x$ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE" = xyes; then :
6368 ac_have_decl=1
6369 else
6370 ac_have_decl=0
6373 cat >>confdefs.h <<_ACEOF
6374 #define HAVE_DECL_CURLOPT_MAX_RECV_SPEED_LARGE $ac_have_decl
6375 _ACEOF
6376 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_ALTERNATIVE_TO_USER" "ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" "
6377 #include \"curl/curl.h\"
6380 if test "x$ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" = xyes; then :
6381 ac_have_decl=1
6382 else
6383 ac_have_decl=0
6386 cat >>confdefs.h <<_ACEOF
6387 #define HAVE_DECL_CURLOPT_FTP_ALTERNATIVE_TO_USER $ac_have_decl
6388 _ACEOF
6389 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_SESSIONID_CACHE" "ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" "
6390 #include \"curl/curl.h\"
6393 if test "x$ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" = xyes; then :
6394 ac_have_decl=1
6395 else
6396 ac_have_decl=0
6399 cat >>confdefs.h <<_ACEOF
6400 #define HAVE_DECL_CURLOPT_SSL_SESSIONID_CACHE $ac_have_decl
6401 _ACEOF
6402 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_AUTH_TYPES" "ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" "
6403 #include \"curl/curl.h\"
6406 if test "x$ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" = xyes; then :
6407 ac_have_decl=1
6408 else
6409 ac_have_decl=0
6412 cat >>confdefs.h <<_ACEOF
6413 #define HAVE_DECL_CURLOPT_SSH_AUTH_TYPES $ac_have_decl
6414 _ACEOF
6415 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_PUBLIC_KEYFILE" "ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" "
6416 #include \"curl/curl.h\"
6419 if test "x$ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" = xyes; then :
6420 ac_have_decl=1
6421 else
6422 ac_have_decl=0
6425 cat >>confdefs.h <<_ACEOF
6426 #define HAVE_DECL_CURLOPT_SSH_PUBLIC_KEYFILE $ac_have_decl
6427 _ACEOF
6428 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_PRIVATE_KEYFILE" "ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE" "
6429 #include \"curl/curl.h\"
6432 if test "x$ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE" = xyes; then :
6433 ac_have_decl=1
6434 else
6435 ac_have_decl=0
6438 cat >>confdefs.h <<_ACEOF
6439 #define HAVE_DECL_CURLOPT_SSH_PRIVATE_KEYFILE $ac_have_decl
6440 _ACEOF
6441 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SSL_CCC" "ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" "
6442 #include \"curl/curl.h\"
6445 if test "x$ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" = xyes; then :
6446 ac_have_decl=1
6447 else
6448 ac_have_decl=0
6451 cat >>confdefs.h <<_ACEOF
6452 #define HAVE_DECL_CURLOPT_FTP_SSL_CCC $ac_have_decl
6453 _ACEOF
6454 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEOUT_MS" "ac_cv_have_decl_CURLOPT_TIMEOUT_MS" "
6455 #include \"curl/curl.h\"
6458 if test "x$ac_cv_have_decl_CURLOPT_TIMEOUT_MS" = xyes; then :
6459 ac_have_decl=1
6460 else
6461 ac_have_decl=0
6464 cat >>confdefs.h <<_ACEOF
6465 #define HAVE_DECL_CURLOPT_TIMEOUT_MS $ac_have_decl
6466 _ACEOF
6467 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECTTIMEOUT_MS" "ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS" "
6468 #include \"curl/curl.h\"
6471 if test "x$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS" = xyes; then :
6472 ac_have_decl=1
6473 else
6474 ac_have_decl=0
6477 cat >>confdefs.h <<_ACEOF
6478 #define HAVE_DECL_CURLOPT_CONNECTTIMEOUT_MS $ac_have_decl
6479 _ACEOF
6480 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_TRANSFER_DECODING" "ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" "
6481 #include \"curl/curl.h\"
6484 if test "x$ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" = xyes; then :
6485 ac_have_decl=1
6486 else
6487 ac_have_decl=0
6490 cat >>confdefs.h <<_ACEOF
6491 #define HAVE_DECL_CURLOPT_HTTP_TRANSFER_DECODING $ac_have_decl
6492 _ACEOF
6493 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_CONTENT_DECODING" "ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING" "
6494 #include \"curl/curl.h\"
6497 if test "x$ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING" = xyes; then :
6498 ac_have_decl=1
6499 else
6500 ac_have_decl=0
6503 cat >>confdefs.h <<_ACEOF
6504 #define HAVE_DECL_CURLOPT_HTTP_CONTENT_DECODING $ac_have_decl
6505 _ACEOF
6506 ac_fn_c_check_decl "$LINENO" "CURLOPT_NEW_FILE_PERMS" "ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" "
6507 #include \"curl/curl.h\"
6510 if test "x$ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" = xyes; then :
6511 ac_have_decl=1
6512 else
6513 ac_have_decl=0
6516 cat >>confdefs.h <<_ACEOF
6517 #define HAVE_DECL_CURLOPT_NEW_FILE_PERMS $ac_have_decl
6518 _ACEOF
6519 ac_fn_c_check_decl "$LINENO" "CURLOPT_NEW_DIRECTORY_PERMS" "ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS" "
6520 #include \"curl/curl.h\"
6523 if test "x$ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS" = xyes; then :
6524 ac_have_decl=1
6525 else
6526 ac_have_decl=0
6529 cat >>confdefs.h <<_ACEOF
6530 #define HAVE_DECL_CURLOPT_NEW_DIRECTORY_PERMS $ac_have_decl
6531 _ACEOF
6532 ac_fn_c_check_decl "$LINENO" "CURLOPT_POST301" "ac_cv_have_decl_CURLOPT_POST301" "
6533 #include \"curl/curl.h\"
6536 if test "x$ac_cv_have_decl_CURLOPT_POST301" = xyes; then :
6537 ac_have_decl=1
6538 else
6539 ac_have_decl=0
6542 cat >>confdefs.h <<_ACEOF
6543 #define HAVE_DECL_CURLOPT_POST301 $ac_have_decl
6544 _ACEOF
6545 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" "ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" "
6546 #include \"curl/curl.h\"
6549 if test "x$ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" = xyes; then :
6550 ac_have_decl=1
6551 else
6552 ac_have_decl=0
6555 cat >>confdefs.h <<_ACEOF
6556 #define HAVE_DECL_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 $ac_have_decl
6557 _ACEOF
6558 ac_fn_c_check_decl "$LINENO" "CURLOPT_COPYPOSTFIELDS" "ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" "
6559 #include \"curl/curl.h\"
6562 if test "x$ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" = xyes; then :
6563 ac_have_decl=1
6564 else
6565 ac_have_decl=0
6568 cat >>confdefs.h <<_ACEOF
6569 #define HAVE_DECL_CURLOPT_COPYPOSTFIELDS $ac_have_decl
6570 _ACEOF
6571 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXY_TRANSFER_MODE" "ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" "
6572 #include \"curl/curl.h\"
6575 if test "x$ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" = xyes; then :
6576 ac_have_decl=1
6577 else
6578 ac_have_decl=0
6581 cat >>confdefs.h <<_ACEOF
6582 #define HAVE_DECL_CURLOPT_PROXY_TRANSFER_MODE $ac_have_decl
6583 _ACEOF
6584 ac_fn_c_check_decl "$LINENO" "CURLOPT_SEEKFUNCTION" "ac_cv_have_decl_CURLOPT_SEEKFUNCTION" "
6585 #include \"curl/curl.h\"
6588 if test "x$ac_cv_have_decl_CURLOPT_SEEKFUNCTION" = xyes; then :
6589 ac_have_decl=1
6590 else
6591 ac_have_decl=0
6594 cat >>confdefs.h <<_ACEOF
6595 #define HAVE_DECL_CURLOPT_SEEKFUNCTION $ac_have_decl
6596 _ACEOF
6597 ac_fn_c_check_decl "$LINENO" "CURLOPT_OPENSOCKETFUNCTION" "ac_cv_have_decl_CURLOPT_OPENSOCKETFUNCTION" "
6598 #include \"curl/curl.h\"
6601 if test "x$ac_cv_have_decl_CURLOPT_OPENSOCKETFUNCTION" = xyes; then :
6602 ac_have_decl=1
6603 else
6604 ac_have_decl=0
6607 cat >>confdefs.h <<_ACEOF
6608 #define HAVE_DECL_CURLOPT_OPENSOCKETFUNCTION $ac_have_decl
6609 _ACEOF
6610 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROTOCOLS" "ac_cv_have_decl_CURLOPT_PROTOCOLS" "
6611 #include \"curl/curl.h\"
6614 if test "x$ac_cv_have_decl_CURLOPT_PROTOCOLS" = xyes; then :
6615 ac_have_decl=1
6616 else
6617 ac_have_decl=0
6620 cat >>confdefs.h <<_ACEOF
6621 #define HAVE_DECL_CURLOPT_PROTOCOLS $ac_have_decl
6622 _ACEOF
6623 ac_fn_c_check_decl "$LINENO" "CURLOPT_REDIR_PROTOCOLS" "ac_cv_have_decl_CURLOPT_REDIR_PROTOCOLS" "
6624 #include \"curl/curl.h\"
6627 if test "x$ac_cv_have_decl_CURLOPT_REDIR_PROTOCOLS" = xyes; then :
6628 ac_have_decl=1
6629 else
6630 ac_have_decl=0
6633 cat >>confdefs.h <<_ACEOF
6634 #define HAVE_DECL_CURLOPT_REDIR_PROTOCOLS $ac_have_decl
6635 _ACEOF
6636 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESOLVE" "ac_cv_have_decl_CURLOPT_RESOLVE" "
6637 #include \"curl/curl.h\"
6640 if test "x$ac_cv_have_decl_CURLOPT_RESOLVE" = xyes; then :
6641 ac_have_decl=1
6642 else
6643 ac_have_decl=0
6646 cat >>confdefs.h <<_ACEOF
6647 #define HAVE_DECL_CURLOPT_RESOLVE $ac_have_decl
6648 _ACEOF
6649 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_SERVERS" "ac_cv_have_decl_CURLOPT_DNS_SERVERS" "
6650 #include \"curl/curl.h\"
6653 if test "x$ac_cv_have_decl_CURLOPT_DNS_SERVERS" = xyes; then :
6654 ac_have_decl=1
6655 else
6656 ac_have_decl=0
6659 cat >>confdefs.h <<_ACEOF
6660 #define HAVE_DECL_CURLOPT_DNS_SERVERS $ac_have_decl
6661 _ACEOF
6662 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAIL_FROM" "ac_cv_have_decl_CURLOPT_MAIL_FROM" "
6663 #include \"curl/curl.h\"
6666 if test "x$ac_cv_have_decl_CURLOPT_MAIL_FROM" = xyes; then :
6667 ac_have_decl=1
6668 else
6669 ac_have_decl=0
6672 cat >>confdefs.h <<_ACEOF
6673 #define HAVE_DECL_CURLOPT_MAIL_FROM $ac_have_decl
6674 _ACEOF
6675 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAIL_RCPT" "ac_cv_have_decl_CURLOPT_MAIL_RCPT" "
6676 #include \"curl/curl.h\"
6679 if test "x$ac_cv_have_decl_CURLOPT_MAIL_RCPT" = xyes; then :
6680 ac_have_decl=1
6681 else
6682 ac_have_decl=0
6685 cat >>confdefs.h <<_ACEOF
6686 #define HAVE_DECL_CURLOPT_MAIL_RCPT $ac_have_decl
6687 _ACEOF
6688 ac_fn_c_check_decl "$LINENO" "CURLOPT_PIPEWAIT" "ac_cv_have_decl_CURLOPT_PIPEWAIT" "
6689 #include \"curl/curl.h\"
6692 if test "x$ac_cv_have_decl_CURLOPT_PIPEWAIT" = xyes; then :
6693 ac_have_decl=1
6694 else
6695 ac_have_decl=0
6698 cat >>confdefs.h <<_ACEOF
6699 #define HAVE_DECL_CURLOPT_PIPEWAIT $ac_have_decl
6700 _ACEOF
6701 ac_fn_c_check_decl "$LINENO" "CURLOPT_CERTINFO" "ac_cv_have_decl_CURLOPT_CERTINFO" "
6702 #include \"curl/curl.h\"
6705 if test "x$ac_cv_have_decl_CURLOPT_CERTINFO" = xyes; then :
6706 ac_have_decl=1
6707 else
6708 ac_have_decl=0
6711 cat >>confdefs.h <<_ACEOF
6712 #define HAVE_DECL_CURLOPT_CERTINFO $ac_have_decl
6713 _ACEOF
6714 ac_fn_c_check_decl "$LINENO" "CURLOPT_USERNAME" "ac_cv_have_decl_CURLOPT_USERNAME" "
6715 #include \"curl/curl.h\"
6718 if test "x$ac_cv_have_decl_CURLOPT_USERNAME" = xyes; then :
6719 ac_have_decl=1
6720 else
6721 ac_have_decl=0
6724 cat >>confdefs.h <<_ACEOF
6725 #define HAVE_DECL_CURLOPT_USERNAME $ac_have_decl
6726 _ACEOF
6727 ac_fn_c_check_decl "$LINENO" "CURLOPT_PASSWORD" "ac_cv_have_decl_CURLOPT_PASSWORD" "
6728 #include \"curl/curl.h\"
6731 if test "x$ac_cv_have_decl_CURLOPT_PASSWORD" = xyes; then :
6732 ac_have_decl=1
6733 else
6734 ac_have_decl=0
6737 cat >>confdefs.h <<_ACEOF
6738 #define HAVE_DECL_CURLOPT_PASSWORD $ac_have_decl
6739 _ACEOF
6740 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOGIN_OPTIONS" "ac_cv_have_decl_CURLOPT_LOGIN_OPTIONS" "
6741 #include \"curl/curl.h\"
6744 if test "x$ac_cv_have_decl_CURLOPT_LOGIN_OPTIONS" = xyes; then :
6745 ac_have_decl=1
6746 else
6747 ac_have_decl=0
6750 cat >>confdefs.h <<_ACEOF
6751 #define HAVE_DECL_CURLOPT_LOGIN_OPTIONS $ac_have_decl
6752 _ACEOF
6753 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECT_TO" "ac_cv_have_decl_CURLOPT_CONNECT_TO" "
6754 #include \"curl/curl.h\"
6757 if test "x$ac_cv_have_decl_CURLOPT_CONNECT_TO" = xyes; then :
6758 ac_have_decl=1
6759 else
6760 ac_have_decl=0
6763 cat >>confdefs.h <<_ACEOF
6764 #define HAVE_DECL_CURLOPT_CONNECT_TO $ac_have_decl
6765 _ACEOF
6766 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTREDIR" "ac_cv_have_decl_CURLOPT_POSTREDIR" "
6767 #include \"curl/curl.h\"
6770 if test "x$ac_cv_have_decl_CURLOPT_POSTREDIR" = xyes; then :
6771 ac_have_decl=1
6772 else
6773 ac_have_decl=0
6776 cat >>confdefs.h <<_ACEOF
6777 #define HAVE_DECL_CURLOPT_POSTREDIR $ac_have_decl
6778 _ACEOF
6779 ac_fn_c_check_decl "$LINENO" "CURLOPT_MIMEPOST" "ac_cv_have_decl_CURLOPT_MIMEPOST" "
6780 #include \"curl/curl.h\"
6783 if test "x$ac_cv_have_decl_CURLOPT_MIMEPOST" = xyes; then :
6784 ac_have_decl=1
6785 else
6786 ac_have_decl=0
6789 cat >>confdefs.h <<_ACEOF
6790 #define HAVE_DECL_CURLOPT_MIMEPOST $ac_have_decl
6791 _ACEOF
6792 ac_fn_c_check_decl "$LINENO" "CURLINFO_EFFECTIVE_URL" "ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" "
6793 #include \"curl/curl.h\"
6796 if test "x$ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" = xyes; then :
6797 ac_have_decl=1
6798 else
6799 ac_have_decl=0
6802 cat >>confdefs.h <<_ACEOF
6803 #define HAVE_DECL_CURLINFO_EFFECTIVE_URL $ac_have_decl
6804 _ACEOF
6805 ac_fn_c_check_decl "$LINENO" "CURLINFO_RESPONSE_CODE" "ac_cv_have_decl_CURLINFO_RESPONSE_CODE" "
6806 #include \"curl/curl.h\"
6809 if test "x$ac_cv_have_decl_CURLINFO_RESPONSE_CODE" = xyes; then :
6810 ac_have_decl=1
6811 else
6812 ac_have_decl=0
6815 cat >>confdefs.h <<_ACEOF
6816 #define HAVE_DECL_CURLINFO_RESPONSE_CODE $ac_have_decl
6817 _ACEOF
6818 ac_fn_c_check_decl "$LINENO" "CURLINFO_TOTAL_TIME" "ac_cv_have_decl_CURLINFO_TOTAL_TIME" "
6819 #include \"curl/curl.h\"
6822 if test "x$ac_cv_have_decl_CURLINFO_TOTAL_TIME" = xyes; then :
6823 ac_have_decl=1
6824 else
6825 ac_have_decl=0
6828 cat >>confdefs.h <<_ACEOF
6829 #define HAVE_DECL_CURLINFO_TOTAL_TIME $ac_have_decl
6830 _ACEOF
6831 ac_fn_c_check_decl "$LINENO" "CURLINFO_NAMELOOKUP_TIME" "ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" "
6832 #include \"curl/curl.h\"
6835 if test "x$ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" = xyes; then :
6836 ac_have_decl=1
6837 else
6838 ac_have_decl=0
6841 cat >>confdefs.h <<_ACEOF
6842 #define HAVE_DECL_CURLINFO_NAMELOOKUP_TIME $ac_have_decl
6843 _ACEOF
6844 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONNECT_TIME" "ac_cv_have_decl_CURLINFO_CONNECT_TIME" "
6845 #include \"curl/curl.h\"
6848 if test "x$ac_cv_have_decl_CURLINFO_CONNECT_TIME" = xyes; then :
6849 ac_have_decl=1
6850 else
6851 ac_have_decl=0
6854 cat >>confdefs.h <<_ACEOF
6855 #define HAVE_DECL_CURLINFO_CONNECT_TIME $ac_have_decl
6856 _ACEOF
6857 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRETRANSFER_TIME" "ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" "
6858 #include \"curl/curl.h\"
6861 if test "x$ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" = xyes; then :
6862 ac_have_decl=1
6863 else
6864 ac_have_decl=0
6867 cat >>confdefs.h <<_ACEOF
6868 #define HAVE_DECL_CURLINFO_PRETRANSFER_TIME $ac_have_decl
6869 _ACEOF
6870 ac_fn_c_check_decl "$LINENO" "CURLINFO_SIZE_UPLOAD" "ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" "
6871 #include \"curl/curl.h\"
6874 if test "x$ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" = xyes; then :
6875 ac_have_decl=1
6876 else
6877 ac_have_decl=0
6880 cat >>confdefs.h <<_ACEOF
6881 #define HAVE_DECL_CURLINFO_SIZE_UPLOAD $ac_have_decl
6882 _ACEOF
6883 ac_fn_c_check_decl "$LINENO" "CURLINFO_SIZE_DOWNLOAD" "ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" "
6884 #include \"curl/curl.h\"
6887 if test "x$ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" = xyes; then :
6888 ac_have_decl=1
6889 else
6890 ac_have_decl=0
6893 cat >>confdefs.h <<_ACEOF
6894 #define HAVE_DECL_CURLINFO_SIZE_DOWNLOAD $ac_have_decl
6895 _ACEOF
6896 ac_fn_c_check_decl "$LINENO" "CURLINFO_SPEED_DOWNLOAD" "ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" "
6897 #include \"curl/curl.h\"
6900 if test "x$ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" = xyes; then :
6901 ac_have_decl=1
6902 else
6903 ac_have_decl=0
6906 cat >>confdefs.h <<_ACEOF
6907 #define HAVE_DECL_CURLINFO_SPEED_DOWNLOAD $ac_have_decl
6908 _ACEOF
6909 ac_fn_c_check_decl "$LINENO" "CURLINFO_SPEED_UPLOAD" "ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" "
6910 #include \"curl/curl.h\"
6913 if test "x$ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" = xyes; then :
6914 ac_have_decl=1
6915 else
6916 ac_have_decl=0
6919 cat >>confdefs.h <<_ACEOF
6920 #define HAVE_DECL_CURLINFO_SPEED_UPLOAD $ac_have_decl
6921 _ACEOF
6922 ac_fn_c_check_decl "$LINENO" "CURLINFO_HEADER_SIZE" "ac_cv_have_decl_CURLINFO_HEADER_SIZE" "
6923 #include \"curl/curl.h\"
6926 if test "x$ac_cv_have_decl_CURLINFO_HEADER_SIZE" = xyes; then :
6927 ac_have_decl=1
6928 else
6929 ac_have_decl=0
6932 cat >>confdefs.h <<_ACEOF
6933 #define HAVE_DECL_CURLINFO_HEADER_SIZE $ac_have_decl
6934 _ACEOF
6935 ac_fn_c_check_decl "$LINENO" "CURLINFO_REQUEST_SIZE" "ac_cv_have_decl_CURLINFO_REQUEST_SIZE" "
6936 #include \"curl/curl.h\"
6939 if test "x$ac_cv_have_decl_CURLINFO_REQUEST_SIZE" = xyes; then :
6940 ac_have_decl=1
6941 else
6942 ac_have_decl=0
6945 cat >>confdefs.h <<_ACEOF
6946 #define HAVE_DECL_CURLINFO_REQUEST_SIZE $ac_have_decl
6947 _ACEOF
6948 ac_fn_c_check_decl "$LINENO" "CURLINFO_SSL_VERIFYRESULT" "ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" "
6949 #include \"curl/curl.h\"
6952 if test "x$ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" = xyes; then :
6953 ac_have_decl=1
6954 else
6955 ac_have_decl=0
6958 cat >>confdefs.h <<_ACEOF
6959 #define HAVE_DECL_CURLINFO_SSL_VERIFYRESULT $ac_have_decl
6960 _ACEOF
6961 ac_fn_c_check_decl "$LINENO" "CURLINFO_FILETIME" "ac_cv_have_decl_CURLINFO_FILETIME" "
6962 #include \"curl/curl.h\"
6965 if test "x$ac_cv_have_decl_CURLINFO_FILETIME" = xyes; then :
6966 ac_have_decl=1
6967 else
6968 ac_have_decl=0
6971 cat >>confdefs.h <<_ACEOF
6972 #define HAVE_DECL_CURLINFO_FILETIME $ac_have_decl
6973 _ACEOF
6974 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_LENGTH_DOWNLOAD" "ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" "
6975 #include \"curl/curl.h\"
6978 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" = xyes; then :
6979 ac_have_decl=1
6980 else
6981 ac_have_decl=0
6984 cat >>confdefs.h <<_ACEOF
6985 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_DOWNLOAD $ac_have_decl
6986 _ACEOF
6987 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_LENGTH_UPLOAD" "ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" "
6988 #include \"curl/curl.h\"
6991 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" = xyes; then :
6992 ac_have_decl=1
6993 else
6994 ac_have_decl=0
6997 cat >>confdefs.h <<_ACEOF
6998 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_UPLOAD $ac_have_decl
6999 _ACEOF
7000 ac_fn_c_check_decl "$LINENO" "CURLINFO_STARTTRANSFER_TIME" "ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" "
7001 #include \"curl/curl.h\"
7004 if test "x$ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" = xyes; then :
7005 ac_have_decl=1
7006 else
7007 ac_have_decl=0
7010 cat >>confdefs.h <<_ACEOF
7011 #define HAVE_DECL_CURLINFO_STARTTRANSFER_TIME $ac_have_decl
7012 _ACEOF
7013 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_TYPE" "ac_cv_have_decl_CURLINFO_CONTENT_TYPE" "
7014 #include \"curl/curl.h\"
7017 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_TYPE" = xyes; then :
7018 ac_have_decl=1
7019 else
7020 ac_have_decl=0
7023 cat >>confdefs.h <<_ACEOF
7024 #define HAVE_DECL_CURLINFO_CONTENT_TYPE $ac_have_decl
7025 _ACEOF
7026 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_TIME" "ac_cv_have_decl_CURLINFO_REDIRECT_TIME" "
7027 #include \"curl/curl.h\"
7030 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_TIME" = xyes; then :
7031 ac_have_decl=1
7032 else
7033 ac_have_decl=0
7036 cat >>confdefs.h <<_ACEOF
7037 #define HAVE_DECL_CURLINFO_REDIRECT_TIME $ac_have_decl
7038 _ACEOF
7039 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_COUNT" "ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" "
7040 #include \"curl/curl.h\"
7043 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" = xyes; then :
7044 ac_have_decl=1
7045 else
7046 ac_have_decl=0
7049 cat >>confdefs.h <<_ACEOF
7050 #define HAVE_DECL_CURLINFO_REDIRECT_COUNT $ac_have_decl
7051 _ACEOF
7052 ac_fn_c_check_decl "$LINENO" "CURLINFO_HTTP_CONNECTCODE" "ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" "
7053 #include \"curl/curl.h\"
7056 if test "x$ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" = xyes; then :
7057 ac_have_decl=1
7058 else
7059 ac_have_decl=0
7062 cat >>confdefs.h <<_ACEOF
7063 #define HAVE_DECL_CURLINFO_HTTP_CONNECTCODE $ac_have_decl
7064 _ACEOF
7065 ac_fn_c_check_decl "$LINENO" "CURLINFO_HTTPAUTH_AVAIL" "ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" "
7066 #include \"curl/curl.h\"
7069 if test "x$ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" = xyes; then :
7070 ac_have_decl=1
7071 else
7072 ac_have_decl=0
7075 cat >>confdefs.h <<_ACEOF
7076 #define HAVE_DECL_CURLINFO_HTTPAUTH_AVAIL $ac_have_decl
7077 _ACEOF
7078 ac_fn_c_check_decl "$LINENO" "CURLINFO_PROXYAUTH_AVAIL" "ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" "
7079 #include \"curl/curl.h\"
7082 if test "x$ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" = xyes; then :
7083 ac_have_decl=1
7084 else
7085 ac_have_decl=0
7088 cat >>confdefs.h <<_ACEOF
7089 #define HAVE_DECL_CURLINFO_PROXYAUTH_AVAIL $ac_have_decl
7090 _ACEOF
7091 ac_fn_c_check_decl "$LINENO" "CURLINFO_OS_ERRNO" "ac_cv_have_decl_CURLINFO_OS_ERRNO" "
7092 #include \"curl/curl.h\"
7095 if test "x$ac_cv_have_decl_CURLINFO_OS_ERRNO" = xyes; then :
7096 ac_have_decl=1
7097 else
7098 ac_have_decl=0
7101 cat >>confdefs.h <<_ACEOF
7102 #define HAVE_DECL_CURLINFO_OS_ERRNO $ac_have_decl
7103 _ACEOF
7104 ac_fn_c_check_decl "$LINENO" "CURLINFO_NUM_CONNECTS" "ac_cv_have_decl_CURLINFO_NUM_CONNECTS" "
7105 #include \"curl/curl.h\"
7108 if test "x$ac_cv_have_decl_CURLINFO_NUM_CONNECTS" = xyes; then :
7109 ac_have_decl=1
7110 else
7111 ac_have_decl=0
7114 cat >>confdefs.h <<_ACEOF
7115 #define HAVE_DECL_CURLINFO_NUM_CONNECTS $ac_have_decl
7116 _ACEOF
7117 ac_fn_c_check_decl "$LINENO" "CURLINFO_SSL_ENGINES" "ac_cv_have_decl_CURLINFO_SSL_ENGINES" "
7118 #include \"curl/curl.h\"
7121 if test "x$ac_cv_have_decl_CURLINFO_SSL_ENGINES" = xyes; then :
7122 ac_have_decl=1
7123 else
7124 ac_have_decl=0
7127 cat >>confdefs.h <<_ACEOF
7128 #define HAVE_DECL_CURLINFO_SSL_ENGINES $ac_have_decl
7129 _ACEOF
7130 ac_fn_c_check_decl "$LINENO" "CURLINFO_COOKIELIST" "ac_cv_have_decl_CURLINFO_COOKIELIST" "
7131 #include \"curl/curl.h\"
7134 if test "x$ac_cv_have_decl_CURLINFO_COOKIELIST" = xyes; then :
7135 ac_have_decl=1
7136 else
7137 ac_have_decl=0
7140 cat >>confdefs.h <<_ACEOF
7141 #define HAVE_DECL_CURLINFO_COOKIELIST $ac_have_decl
7142 _ACEOF
7143 ac_fn_c_check_decl "$LINENO" "CURLINFO_LASTSOCKET" "ac_cv_have_decl_CURLINFO_LASTSOCKET" "
7144 #include \"curl/curl.h\"
7147 if test "x$ac_cv_have_decl_CURLINFO_LASTSOCKET" = xyes; then :
7148 ac_have_decl=1
7149 else
7150 ac_have_decl=0
7153 cat >>confdefs.h <<_ACEOF
7154 #define HAVE_DECL_CURLINFO_LASTSOCKET $ac_have_decl
7155 _ACEOF
7156 ac_fn_c_check_decl "$LINENO" "CURLINFO_FTP_ENTRY_PATH" "ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" "
7157 #include \"curl/curl.h\"
7160 if test "x$ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" = xyes; then :
7161 ac_have_decl=1
7162 else
7163 ac_have_decl=0
7166 cat >>confdefs.h <<_ACEOF
7167 #define HAVE_DECL_CURLINFO_FTP_ENTRY_PATH $ac_have_decl
7168 _ACEOF
7169 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_URL" "ac_cv_have_decl_CURLINFO_REDIRECT_URL" "
7170 #include \"curl/curl.h\"
7173 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_URL" = xyes; then :
7174 ac_have_decl=1
7175 else
7176 ac_have_decl=0
7179 cat >>confdefs.h <<_ACEOF
7180 #define HAVE_DECL_CURLINFO_REDIRECT_URL $ac_have_decl
7181 _ACEOF
7182 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRIMARY_IP" "ac_cv_have_decl_CURLINFO_PRIMARY_IP" "
7183 #include \"curl/curl.h\"
7186 if test "x$ac_cv_have_decl_CURLINFO_PRIMARY_IP" = xyes; then :
7187 ac_have_decl=1
7188 else
7189 ac_have_decl=0
7192 cat >>confdefs.h <<_ACEOF
7193 #define HAVE_DECL_CURLINFO_PRIMARY_IP $ac_have_decl
7194 _ACEOF
7195 ac_fn_c_check_decl "$LINENO" "CURLINFO_LOCAL_IP" "ac_cv_have_decl_CURLINFO_LOCAL_IP" "
7196 #include \"curl/curl.h\"
7199 if test "x$ac_cv_have_decl_CURLINFO_LOCAL_IP" = xyes; then :
7200 ac_have_decl=1
7201 else
7202 ac_have_decl=0
7205 cat >>confdefs.h <<_ACEOF
7206 #define HAVE_DECL_CURLINFO_LOCAL_IP $ac_have_decl
7207 _ACEOF
7208 ac_fn_c_check_decl "$LINENO" "CURLINFO_LOCAL_PORT" "ac_cv_have_decl_CURLINFO_LOCAL_PORT" "
7209 #include \"curl/curl.h\"
7212 if test "x$ac_cv_have_decl_CURLINFO_LOCAL_PORT" = xyes; then :
7213 ac_have_decl=1
7214 else
7215 ac_have_decl=0
7218 cat >>confdefs.h <<_ACEOF
7219 #define HAVE_DECL_CURLINFO_LOCAL_PORT $ac_have_decl
7220 _ACEOF
7221 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONDITION_UNMET" "ac_cv_have_decl_CURLINFO_CONDITION_UNMET" "
7222 #include \"curl/curl.h\"
7225 if test "x$ac_cv_have_decl_CURLINFO_CONDITION_UNMET" = xyes; then :
7226 ac_have_decl=1
7227 else
7228 ac_have_decl=0
7231 cat >>confdefs.h <<_ACEOF
7232 #define HAVE_DECL_CURLINFO_CONDITION_UNMET $ac_have_decl
7233 _ACEOF
7234 ac_fn_c_check_decl "$LINENO" "CURLINFO_CERTINFO" "ac_cv_have_decl_CURLINFO_CERTINFO" "
7235 #include \"curl/curl.h\"
7238 if test "x$ac_cv_have_decl_CURLINFO_CERTINFO" = xyes; then :
7239 ac_have_decl=1
7240 else
7241 ac_have_decl=0
7244 cat >>confdefs.h <<_ACEOF
7245 #define HAVE_DECL_CURLINFO_CERTINFO $ac_have_decl
7246 _ACEOF
7247 ac_fn_c_check_decl "$LINENO" "CURLE_UNSUPPORTED_PROTOCOL" "ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" "
7248 #include \"curl/curl.h\"
7251 if test "x$ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" = xyes; then :
7252 ac_have_decl=1
7253 else
7254 ac_have_decl=0
7257 cat >>confdefs.h <<_ACEOF
7258 #define HAVE_DECL_CURLE_UNSUPPORTED_PROTOCOL $ac_have_decl
7259 _ACEOF
7260 ac_fn_c_check_decl "$LINENO" "CURLE_FAILED_INIT" "ac_cv_have_decl_CURLE_FAILED_INIT" "
7261 #include \"curl/curl.h\"
7264 if test "x$ac_cv_have_decl_CURLE_FAILED_INIT" = xyes; then :
7265 ac_have_decl=1
7266 else
7267 ac_have_decl=0
7270 cat >>confdefs.h <<_ACEOF
7271 #define HAVE_DECL_CURLE_FAILED_INIT $ac_have_decl
7272 _ACEOF
7273 ac_fn_c_check_decl "$LINENO" "CURLE_URL_MALFORMAT" "ac_cv_have_decl_CURLE_URL_MALFORMAT" "
7274 #include \"curl/curl.h\"
7277 if test "x$ac_cv_have_decl_CURLE_URL_MALFORMAT" = xyes; then :
7278 ac_have_decl=1
7279 else
7280 ac_have_decl=0
7283 cat >>confdefs.h <<_ACEOF
7284 #define HAVE_DECL_CURLE_URL_MALFORMAT $ac_have_decl
7285 _ACEOF
7286 ac_fn_c_check_decl "$LINENO" "CURLE_URL_MALFORMAT_USER" "ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" "
7287 #include \"curl/curl.h\"
7290 if test "x$ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" = xyes; then :
7291 ac_have_decl=1
7292 else
7293 ac_have_decl=0
7296 cat >>confdefs.h <<_ACEOF
7297 #define HAVE_DECL_CURLE_URL_MALFORMAT_USER $ac_have_decl
7298 _ACEOF
7299 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_RESOLVE_PROXY" "ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" "
7300 #include \"curl/curl.h\"
7303 if test "x$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" = xyes; then :
7304 ac_have_decl=1
7305 else
7306 ac_have_decl=0
7309 cat >>confdefs.h <<_ACEOF
7310 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_PROXY $ac_have_decl
7311 _ACEOF
7312 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_RESOLVE_HOST" "ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" "
7313 #include \"curl/curl.h\"
7316 if test "x$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" = xyes; then :
7317 ac_have_decl=1
7318 else
7319 ac_have_decl=0
7322 cat >>confdefs.h <<_ACEOF
7323 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_HOST $ac_have_decl
7324 _ACEOF
7325 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_CONNECT" "ac_cv_have_decl_CURLE_COULDNT_CONNECT" "
7326 #include \"curl/curl.h\"
7329 if test "x$ac_cv_have_decl_CURLE_COULDNT_CONNECT" = xyes; then :
7330 ac_have_decl=1
7331 else
7332 ac_have_decl=0
7335 cat >>confdefs.h <<_ACEOF
7336 #define HAVE_DECL_CURLE_COULDNT_CONNECT $ac_have_decl
7337 _ACEOF
7338 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_SERVER_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" "
7339 #include \"curl/curl.h\"
7342 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" = xyes; then :
7343 ac_have_decl=1
7344 else
7345 ac_have_decl=0
7348 cat >>confdefs.h <<_ACEOF
7349 #define HAVE_DECL_CURLE_FTP_WEIRD_SERVER_REPLY $ac_have_decl
7350 _ACEOF
7351 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_ACCESS_DENIED" "ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" "
7352 #include \"curl/curl.h\"
7355 if test "x$ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" = xyes; then :
7356 ac_have_decl=1
7357 else
7358 ac_have_decl=0
7361 cat >>confdefs.h <<_ACEOF
7362 #define HAVE_DECL_CURLE_FTP_ACCESS_DENIED $ac_have_decl
7363 _ACEOF
7364 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_USER_PASSWORD_INCORRECT" "ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" "
7365 #include \"curl/curl.h\"
7368 if test "x$ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" = xyes; then :
7369 ac_have_decl=1
7370 else
7371 ac_have_decl=0
7374 cat >>confdefs.h <<_ACEOF
7375 #define HAVE_DECL_CURLE_FTP_USER_PASSWORD_INCORRECT $ac_have_decl
7376 _ACEOF
7377 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_PASS_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" "
7378 #include \"curl/curl.h\"
7381 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" = xyes; then :
7382 ac_have_decl=1
7383 else
7384 ac_have_decl=0
7387 cat >>confdefs.h <<_ACEOF
7388 #define HAVE_DECL_CURLE_FTP_WEIRD_PASS_REPLY $ac_have_decl
7389 _ACEOF
7390 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_USER_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" "
7391 #include \"curl/curl.h\"
7394 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" = xyes; then :
7395 ac_have_decl=1
7396 else
7397 ac_have_decl=0
7400 cat >>confdefs.h <<_ACEOF
7401 #define HAVE_DECL_CURLE_FTP_WEIRD_USER_REPLY $ac_have_decl
7402 _ACEOF
7403 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_PASV_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY" "
7404 #include \"curl/curl.h\"
7407 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY" = xyes; then :
7408 ac_have_decl=1
7409 else
7410 ac_have_decl=0
7413 cat >>confdefs.h <<_ACEOF
7414 #define HAVE_DECL_CURLE_FTP_WEIRD_PASV_REPLY $ac_have_decl
7415 _ACEOF
7416 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_227_FORMAT" "ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" "
7417 #include \"curl/curl.h\"
7420 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" = xyes; then :
7421 ac_have_decl=1
7422 else
7423 ac_have_decl=0
7426 cat >>confdefs.h <<_ACEOF
7427 #define HAVE_DECL_CURLE_FTP_WEIRD_227_FORMAT $ac_have_decl
7428 _ACEOF
7429 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_CANT_GET_HOST" "ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" "
7430 #include \"curl/curl.h\"
7433 if test "x$ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" = xyes; then :
7434 ac_have_decl=1
7435 else
7436 ac_have_decl=0
7439 cat >>confdefs.h <<_ACEOF
7440 #define HAVE_DECL_CURLE_FTP_CANT_GET_HOST $ac_have_decl
7441 _ACEOF
7442 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_CANT_RECONNECT" "ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" "
7443 #include \"curl/curl.h\"
7446 if test "x$ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" = xyes; then :
7447 ac_have_decl=1
7448 else
7449 ac_have_decl=0
7452 cat >>confdefs.h <<_ACEOF
7453 #define HAVE_DECL_CURLE_FTP_CANT_RECONNECT $ac_have_decl
7454 _ACEOF
7455 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_SET_BINARY" "ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" "
7456 #include \"curl/curl.h\"
7459 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" = xyes; then :
7460 ac_have_decl=1
7461 else
7462 ac_have_decl=0
7465 cat >>confdefs.h <<_ACEOF
7466 #define HAVE_DECL_CURLE_FTP_COULDNT_SET_BINARY $ac_have_decl
7467 _ACEOF
7468 ac_fn_c_check_decl "$LINENO" "CURLE_PARTIAL_FILE" "ac_cv_have_decl_CURLE_PARTIAL_FILE" "
7469 #include \"curl/curl.h\"
7472 if test "x$ac_cv_have_decl_CURLE_PARTIAL_FILE" = xyes; then :
7473 ac_have_decl=1
7474 else
7475 ac_have_decl=0
7478 cat >>confdefs.h <<_ACEOF
7479 #define HAVE_DECL_CURLE_PARTIAL_FILE $ac_have_decl
7480 _ACEOF
7481 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_RETR_FILE" "ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" "
7482 #include \"curl/curl.h\"
7485 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" = xyes; then :
7486 ac_have_decl=1
7487 else
7488 ac_have_decl=0
7491 cat >>confdefs.h <<_ACEOF
7492 #define HAVE_DECL_CURLE_FTP_COULDNT_RETR_FILE $ac_have_decl
7493 _ACEOF
7494 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WRITE_ERROR" "ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" "
7495 #include \"curl/curl.h\"
7498 if test "x$ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" = xyes; then :
7499 ac_have_decl=1
7500 else
7501 ac_have_decl=0
7504 cat >>confdefs.h <<_ACEOF
7505 #define HAVE_DECL_CURLE_FTP_WRITE_ERROR $ac_have_decl
7506 _ACEOF
7507 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_QUOTE_ERROR" "ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" "
7508 #include \"curl/curl.h\"
7511 if test "x$ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" = xyes; then :
7512 ac_have_decl=1
7513 else
7514 ac_have_decl=0
7517 cat >>confdefs.h <<_ACEOF
7518 #define HAVE_DECL_CURLE_FTP_QUOTE_ERROR $ac_have_decl
7519 _ACEOF
7520 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_RETURNED_ERROR" "ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" "
7521 #include \"curl/curl.h\"
7524 if test "x$ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" = xyes; then :
7525 ac_have_decl=1
7526 else
7527 ac_have_decl=0
7530 cat >>confdefs.h <<_ACEOF
7531 #define HAVE_DECL_CURLE_HTTP_RETURNED_ERROR $ac_have_decl
7532 _ACEOF
7533 ac_fn_c_check_decl "$LINENO" "CURLE_WRITE_ERROR" "ac_cv_have_decl_CURLE_WRITE_ERROR" "
7534 #include \"curl/curl.h\"
7537 if test "x$ac_cv_have_decl_CURLE_WRITE_ERROR" = xyes; then :
7538 ac_have_decl=1
7539 else
7540 ac_have_decl=0
7543 cat >>confdefs.h <<_ACEOF
7544 #define HAVE_DECL_CURLE_WRITE_ERROR $ac_have_decl
7545 _ACEOF
7546 ac_fn_c_check_decl "$LINENO" "CURLE_MALFORMAT_USER" "ac_cv_have_decl_CURLE_MALFORMAT_USER" "
7547 #include \"curl/curl.h\"
7550 if test "x$ac_cv_have_decl_CURLE_MALFORMAT_USER" = xyes; then :
7551 ac_have_decl=1
7552 else
7553 ac_have_decl=0
7556 cat >>confdefs.h <<_ACEOF
7557 #define HAVE_DECL_CURLE_MALFORMAT_USER $ac_have_decl
7558 _ACEOF
7559 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_STOR_FILE" "ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" "
7560 #include \"curl/curl.h\"
7563 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" = xyes; then :
7564 ac_have_decl=1
7565 else
7566 ac_have_decl=0
7569 cat >>confdefs.h <<_ACEOF
7570 #define HAVE_DECL_CURLE_FTP_COULDNT_STOR_FILE $ac_have_decl
7571 _ACEOF
7572 ac_fn_c_check_decl "$LINENO" "CURLE_READ_ERROR" "ac_cv_have_decl_CURLE_READ_ERROR" "
7573 #include \"curl/curl.h\"
7576 if test "x$ac_cv_have_decl_CURLE_READ_ERROR" = xyes; then :
7577 ac_have_decl=1
7578 else
7579 ac_have_decl=0
7582 cat >>confdefs.h <<_ACEOF
7583 #define HAVE_DECL_CURLE_READ_ERROR $ac_have_decl
7584 _ACEOF
7585 ac_fn_c_check_decl "$LINENO" "CURLE_OUT_OF_MEMORY" "ac_cv_have_decl_CURLE_OUT_OF_MEMORY" "
7586 #include \"curl/curl.h\"
7589 if test "x$ac_cv_have_decl_CURLE_OUT_OF_MEMORY" = xyes; then :
7590 ac_have_decl=1
7591 else
7592 ac_have_decl=0
7595 cat >>confdefs.h <<_ACEOF
7596 #define HAVE_DECL_CURLE_OUT_OF_MEMORY $ac_have_decl
7597 _ACEOF
7598 ac_fn_c_check_decl "$LINENO" "CURLE_OPERATION_TIMEOUTED" "ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" "
7599 #include \"curl/curl.h\"
7602 if test "x$ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" = xyes; then :
7603 ac_have_decl=1
7604 else
7605 ac_have_decl=0
7608 cat >>confdefs.h <<_ACEOF
7609 #define HAVE_DECL_CURLE_OPERATION_TIMEOUTED $ac_have_decl
7610 _ACEOF
7611 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_SET_ASCII" "ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" "
7612 #include \"curl/curl.h\"
7615 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" = xyes; then :
7616 ac_have_decl=1
7617 else
7618 ac_have_decl=0
7621 cat >>confdefs.h <<_ACEOF
7622 #define HAVE_DECL_CURLE_FTP_COULDNT_SET_ASCII $ac_have_decl
7623 _ACEOF
7624 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_PORT_FAILED" "ac_cv_have_decl_CURLE_FTP_PORT_FAILED" "
7625 #include \"curl/curl.h\"
7628 if test "x$ac_cv_have_decl_CURLE_FTP_PORT_FAILED" = xyes; then :
7629 ac_have_decl=1
7630 else
7631 ac_have_decl=0
7634 cat >>confdefs.h <<_ACEOF
7635 #define HAVE_DECL_CURLE_FTP_PORT_FAILED $ac_have_decl
7636 _ACEOF
7637 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_USE_REST" "ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" "
7638 #include \"curl/curl.h\"
7641 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" = xyes; then :
7642 ac_have_decl=1
7643 else
7644 ac_have_decl=0
7647 cat >>confdefs.h <<_ACEOF
7648 #define HAVE_DECL_CURLE_FTP_COULDNT_USE_REST $ac_have_decl
7649 _ACEOF
7650 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_GET_SIZE" "ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" "
7651 #include \"curl/curl.h\"
7654 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" = xyes; then :
7655 ac_have_decl=1
7656 else
7657 ac_have_decl=0
7660 cat >>confdefs.h <<_ACEOF
7661 #define HAVE_DECL_CURLE_FTP_COULDNT_GET_SIZE $ac_have_decl
7662 _ACEOF
7663 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_RANGE_ERROR" "ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" "
7664 #include \"curl/curl.h\"
7667 if test "x$ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" = xyes; then :
7668 ac_have_decl=1
7669 else
7670 ac_have_decl=0
7673 cat >>confdefs.h <<_ACEOF
7674 #define HAVE_DECL_CURLE_HTTP_RANGE_ERROR $ac_have_decl
7675 _ACEOF
7676 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_POST_ERROR" "ac_cv_have_decl_CURLE_HTTP_POST_ERROR" "
7677 #include \"curl/curl.h\"
7680 if test "x$ac_cv_have_decl_CURLE_HTTP_POST_ERROR" = xyes; then :
7681 ac_have_decl=1
7682 else
7683 ac_have_decl=0
7686 cat >>confdefs.h <<_ACEOF
7687 #define HAVE_DECL_CURLE_HTTP_POST_ERROR $ac_have_decl
7688 _ACEOF
7689 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CONNECT_ERROR" "ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" "
7690 #include \"curl/curl.h\"
7693 if test "x$ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" = xyes; then :
7694 ac_have_decl=1
7695 else
7696 ac_have_decl=0
7699 cat >>confdefs.h <<_ACEOF
7700 #define HAVE_DECL_CURLE_SSL_CONNECT_ERROR $ac_have_decl
7701 _ACEOF
7702 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_DOWNLOAD_RESUME" "ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" "
7703 #include \"curl/curl.h\"
7706 if test "x$ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" = xyes; then :
7707 ac_have_decl=1
7708 else
7709 ac_have_decl=0
7712 cat >>confdefs.h <<_ACEOF
7713 #define HAVE_DECL_CURLE_BAD_DOWNLOAD_RESUME $ac_have_decl
7714 _ACEOF
7715 ac_fn_c_check_decl "$LINENO" "CURLE_FILE_COULDNT_READ_FILE" "ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" "
7716 #include \"curl/curl.h\"
7719 if test "x$ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" = xyes; then :
7720 ac_have_decl=1
7721 else
7722 ac_have_decl=0
7725 cat >>confdefs.h <<_ACEOF
7726 #define HAVE_DECL_CURLE_FILE_COULDNT_READ_FILE $ac_have_decl
7727 _ACEOF
7728 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_CANNOT_BIND" "ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" "
7729 #include \"curl/curl.h\"
7732 if test "x$ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" = xyes; then :
7733 ac_have_decl=1
7734 else
7735 ac_have_decl=0
7738 cat >>confdefs.h <<_ACEOF
7739 #define HAVE_DECL_CURLE_LDAP_CANNOT_BIND $ac_have_decl
7740 _ACEOF
7741 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_SEARCH_FAILED" "ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" "
7742 #include \"curl/curl.h\"
7745 if test "x$ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" = xyes; then :
7746 ac_have_decl=1
7747 else
7748 ac_have_decl=0
7751 cat >>confdefs.h <<_ACEOF
7752 #define HAVE_DECL_CURLE_LDAP_SEARCH_FAILED $ac_have_decl
7753 _ACEOF
7754 ac_fn_c_check_decl "$LINENO" "CURLE_LIBRARY_NOT_FOUND" "ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" "
7755 #include \"curl/curl.h\"
7758 if test "x$ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" = xyes; then :
7759 ac_have_decl=1
7760 else
7761 ac_have_decl=0
7764 cat >>confdefs.h <<_ACEOF
7765 #define HAVE_DECL_CURLE_LIBRARY_NOT_FOUND $ac_have_decl
7766 _ACEOF
7767 ac_fn_c_check_decl "$LINENO" "CURLE_FUNCTION_NOT_FOUND" "ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" "
7768 #include \"curl/curl.h\"
7771 if test "x$ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" = xyes; then :
7772 ac_have_decl=1
7773 else
7774 ac_have_decl=0
7777 cat >>confdefs.h <<_ACEOF
7778 #define HAVE_DECL_CURLE_FUNCTION_NOT_FOUND $ac_have_decl
7779 _ACEOF
7780 ac_fn_c_check_decl "$LINENO" "CURLE_ABORTED_BY_CALLBACK" "ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" "
7781 #include \"curl/curl.h\"
7784 if test "x$ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" = xyes; then :
7785 ac_have_decl=1
7786 else
7787 ac_have_decl=0
7790 cat >>confdefs.h <<_ACEOF
7791 #define HAVE_DECL_CURLE_ABORTED_BY_CALLBACK $ac_have_decl
7792 _ACEOF
7793 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_FUNCTION_ARGUMENT" "ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" "
7794 #include \"curl/curl.h\"
7797 if test "x$ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" = xyes; then :
7798 ac_have_decl=1
7799 else
7800 ac_have_decl=0
7803 cat >>confdefs.h <<_ACEOF
7804 #define HAVE_DECL_CURLE_BAD_FUNCTION_ARGUMENT $ac_have_decl
7805 _ACEOF
7806 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_CALLING_ORDER" "ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" "
7807 #include \"curl/curl.h\"
7810 if test "x$ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" = xyes; then :
7811 ac_have_decl=1
7812 else
7813 ac_have_decl=0
7816 cat >>confdefs.h <<_ACEOF
7817 #define HAVE_DECL_CURLE_BAD_CALLING_ORDER $ac_have_decl
7818 _ACEOF
7819 ac_fn_c_check_decl "$LINENO" "CURLE_INTERFACE_FAILED" "ac_cv_have_decl_CURLE_INTERFACE_FAILED" "
7820 #include \"curl/curl.h\"
7823 if test "x$ac_cv_have_decl_CURLE_INTERFACE_FAILED" = xyes; then :
7824 ac_have_decl=1
7825 else
7826 ac_have_decl=0
7829 cat >>confdefs.h <<_ACEOF
7830 #define HAVE_DECL_CURLE_INTERFACE_FAILED $ac_have_decl
7831 _ACEOF
7832 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_PASSWORD_ENTERED" "ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" "
7833 #include \"curl/curl.h\"
7836 if test "x$ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" = xyes; then :
7837 ac_have_decl=1
7838 else
7839 ac_have_decl=0
7842 cat >>confdefs.h <<_ACEOF
7843 #define HAVE_DECL_CURLE_BAD_PASSWORD_ENTERED $ac_have_decl
7844 _ACEOF
7845 ac_fn_c_check_decl "$LINENO" "CURLE_TOO_MANY_REDIRECTS" "ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" "
7846 #include \"curl/curl.h\"
7849 if test "x$ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" = xyes; then :
7850 ac_have_decl=1
7851 else
7852 ac_have_decl=0
7855 cat >>confdefs.h <<_ACEOF
7856 #define HAVE_DECL_CURLE_TOO_MANY_REDIRECTS $ac_have_decl
7857 _ACEOF
7858 ac_fn_c_check_decl "$LINENO" "CURLE_UNKNOWN_TELNET_OPTION" "ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" "
7859 #include \"curl/curl.h\"
7862 if test "x$ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" = xyes; then :
7863 ac_have_decl=1
7864 else
7865 ac_have_decl=0
7868 cat >>confdefs.h <<_ACEOF
7869 #define HAVE_DECL_CURLE_UNKNOWN_TELNET_OPTION $ac_have_decl
7870 _ACEOF
7871 ac_fn_c_check_decl "$LINENO" "CURLE_TELNET_OPTION_SYNTAX" "ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" "
7872 #include \"curl/curl.h\"
7875 if test "x$ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" = xyes; then :
7876 ac_have_decl=1
7877 else
7878 ac_have_decl=0
7881 cat >>confdefs.h <<_ACEOF
7882 #define HAVE_DECL_CURLE_TELNET_OPTION_SYNTAX $ac_have_decl
7883 _ACEOF
7884 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_PEER_CERTIFICATE" "ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" "
7885 #include \"curl/curl.h\"
7888 if test "x$ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" = xyes; then :
7889 ac_have_decl=1
7890 else
7891 ac_have_decl=0
7894 cat >>confdefs.h <<_ACEOF
7895 #define HAVE_DECL_CURLE_SSL_PEER_CERTIFICATE $ac_have_decl
7896 _ACEOF
7897 ac_fn_c_check_decl "$LINENO" "CURLE_GOT_NOTHING" "ac_cv_have_decl_CURLE_GOT_NOTHING" "
7898 #include \"curl/curl.h\"
7901 if test "x$ac_cv_have_decl_CURLE_GOT_NOTHING" = xyes; then :
7902 ac_have_decl=1
7903 else
7904 ac_have_decl=0
7907 cat >>confdefs.h <<_ACEOF
7908 #define HAVE_DECL_CURLE_GOT_NOTHING $ac_have_decl
7909 _ACEOF
7910 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_NOTFOUND" "ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" "
7911 #include \"curl/curl.h\"
7914 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" = xyes; then :
7915 ac_have_decl=1
7916 else
7917 ac_have_decl=0
7920 cat >>confdefs.h <<_ACEOF
7921 #define HAVE_DECL_CURLE_SSL_ENGINE_NOTFOUND $ac_have_decl
7922 _ACEOF
7923 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_SETFAILED" "ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" "
7924 #include \"curl/curl.h\"
7927 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" = xyes; then :
7928 ac_have_decl=1
7929 else
7930 ac_have_decl=0
7933 cat >>confdefs.h <<_ACEOF
7934 #define HAVE_DECL_CURLE_SSL_ENGINE_SETFAILED $ac_have_decl
7935 _ACEOF
7936 ac_fn_c_check_decl "$LINENO" "CURLE_SEND_ERROR" "ac_cv_have_decl_CURLE_SEND_ERROR" "
7937 #include \"curl/curl.h\"
7940 if test "x$ac_cv_have_decl_CURLE_SEND_ERROR" = xyes; then :
7941 ac_have_decl=1
7942 else
7943 ac_have_decl=0
7946 cat >>confdefs.h <<_ACEOF
7947 #define HAVE_DECL_CURLE_SEND_ERROR $ac_have_decl
7948 _ACEOF
7949 ac_fn_c_check_decl "$LINENO" "CURLE_RECV_ERROR" "ac_cv_have_decl_CURLE_RECV_ERROR" "
7950 #include \"curl/curl.h\"
7953 if test "x$ac_cv_have_decl_CURLE_RECV_ERROR" = xyes; then :
7954 ac_have_decl=1
7955 else
7956 ac_have_decl=0
7959 cat >>confdefs.h <<_ACEOF
7960 #define HAVE_DECL_CURLE_RECV_ERROR $ac_have_decl
7961 _ACEOF
7962 ac_fn_c_check_decl "$LINENO" "CURLE_SHARE_IN_USE" "ac_cv_have_decl_CURLE_SHARE_IN_USE" "
7963 #include \"curl/curl.h\"
7966 if test "x$ac_cv_have_decl_CURLE_SHARE_IN_USE" = xyes; then :
7967 ac_have_decl=1
7968 else
7969 ac_have_decl=0
7972 cat >>confdefs.h <<_ACEOF
7973 #define HAVE_DECL_CURLE_SHARE_IN_USE $ac_have_decl
7974 _ACEOF
7975 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CERTPROBLEM" "ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" "
7976 #include \"curl/curl.h\"
7979 if test "x$ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" = xyes; then :
7980 ac_have_decl=1
7981 else
7982 ac_have_decl=0
7985 cat >>confdefs.h <<_ACEOF
7986 #define HAVE_DECL_CURLE_SSL_CERTPROBLEM $ac_have_decl
7987 _ACEOF
7988 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CIPHER" "ac_cv_have_decl_CURLE_SSL_CIPHER" "
7989 #include \"curl/curl.h\"
7992 if test "x$ac_cv_have_decl_CURLE_SSL_CIPHER" = xyes; then :
7993 ac_have_decl=1
7994 else
7995 ac_have_decl=0
7998 cat >>confdefs.h <<_ACEOF
7999 #define HAVE_DECL_CURLE_SSL_CIPHER $ac_have_decl
8000 _ACEOF
8001 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CACERT" "ac_cv_have_decl_CURLE_SSL_CACERT" "
8002 #include \"curl/curl.h\"
8005 if test "x$ac_cv_have_decl_CURLE_SSL_CACERT" = xyes; then :
8006 ac_have_decl=1
8007 else
8008 ac_have_decl=0
8011 cat >>confdefs.h <<_ACEOF
8012 #define HAVE_DECL_CURLE_SSL_CACERT $ac_have_decl
8013 _ACEOF
8014 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_CONTENT_ENCODING" "ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" "
8015 #include \"curl/curl.h\"
8018 if test "x$ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" = xyes; then :
8019 ac_have_decl=1
8020 else
8021 ac_have_decl=0
8024 cat >>confdefs.h <<_ACEOF
8025 #define HAVE_DECL_CURLE_BAD_CONTENT_ENCODING $ac_have_decl
8026 _ACEOF
8027 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_INVALID_URL" "ac_cv_have_decl_CURLE_LDAP_INVALID_URL" "
8028 #include \"curl/curl.h\"
8031 if test "x$ac_cv_have_decl_CURLE_LDAP_INVALID_URL" = xyes; then :
8032 ac_have_decl=1
8033 else
8034 ac_have_decl=0
8037 cat >>confdefs.h <<_ACEOF
8038 #define HAVE_DECL_CURLE_LDAP_INVALID_URL $ac_have_decl
8039 _ACEOF
8040 ac_fn_c_check_decl "$LINENO" "CURLE_FILESIZE_EXCEEDED" "ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" "
8041 #include \"curl/curl.h\"
8044 if test "x$ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" = xyes; then :
8045 ac_have_decl=1
8046 else
8047 ac_have_decl=0
8050 cat >>confdefs.h <<_ACEOF
8051 #define HAVE_DECL_CURLE_FILESIZE_EXCEEDED $ac_have_decl
8052 _ACEOF
8053 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_SSL_FAILED" "ac_cv_have_decl_CURLE_FTP_SSL_FAILED" "
8054 #include \"curl/curl.h\"
8057 if test "x$ac_cv_have_decl_CURLE_FTP_SSL_FAILED" = xyes; then :
8058 ac_have_decl=1
8059 else
8060 ac_have_decl=0
8063 cat >>confdefs.h <<_ACEOF
8064 #define HAVE_DECL_CURLE_FTP_SSL_FAILED $ac_have_decl
8065 _ACEOF
8066 ac_fn_c_check_decl "$LINENO" "CURLE_SEND_FAIL_REWIND" "ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" "
8067 #include \"curl/curl.h\"
8070 if test "x$ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" = xyes; then :
8071 ac_have_decl=1
8072 else
8073 ac_have_decl=0
8076 cat >>confdefs.h <<_ACEOF
8077 #define HAVE_DECL_CURLE_SEND_FAIL_REWIND $ac_have_decl
8078 _ACEOF
8079 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_INITFAILED" "ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" "
8080 #include \"curl/curl.h\"
8083 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" = xyes; then :
8084 ac_have_decl=1
8085 else
8086 ac_have_decl=0
8089 cat >>confdefs.h <<_ACEOF
8090 #define HAVE_DECL_CURLE_SSL_ENGINE_INITFAILED $ac_have_decl
8091 _ACEOF
8092 ac_fn_c_check_decl "$LINENO" "CURLE_LOGIN_DENIED" "ac_cv_have_decl_CURLE_LOGIN_DENIED" "
8093 #include \"curl/curl.h\"
8096 if test "x$ac_cv_have_decl_CURLE_LOGIN_DENIED" = xyes; then :
8097 ac_have_decl=1
8098 else
8099 ac_have_decl=0
8102 cat >>confdefs.h <<_ACEOF
8103 #define HAVE_DECL_CURLE_LOGIN_DENIED $ac_have_decl
8104 _ACEOF
8105 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_NOTFOUND" "ac_cv_have_decl_CURLE_TFTP_NOTFOUND" "
8106 #include \"curl/curl.h\"
8109 if test "x$ac_cv_have_decl_CURLE_TFTP_NOTFOUND" = xyes; then :
8110 ac_have_decl=1
8111 else
8112 ac_have_decl=0
8115 cat >>confdefs.h <<_ACEOF
8116 #define HAVE_DECL_CURLE_TFTP_NOTFOUND $ac_have_decl
8117 _ACEOF
8118 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_PERM" "ac_cv_have_decl_CURLE_TFTP_PERM" "
8119 #include \"curl/curl.h\"
8122 if test "x$ac_cv_have_decl_CURLE_TFTP_PERM" = xyes; then :
8123 ac_have_decl=1
8124 else
8125 ac_have_decl=0
8128 cat >>confdefs.h <<_ACEOF
8129 #define HAVE_DECL_CURLE_TFTP_PERM $ac_have_decl
8130 _ACEOF
8131 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_DISK_FULL" "ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" "
8132 #include \"curl/curl.h\"
8135 if test "x$ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" = xyes; then :
8136 ac_have_decl=1
8137 else
8138 ac_have_decl=0
8141 cat >>confdefs.h <<_ACEOF
8142 #define HAVE_DECL_CURLE_REMOTE_DISK_FULL $ac_have_decl
8143 _ACEOF
8144 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_ILLEGAL" "ac_cv_have_decl_CURLE_TFTP_ILLEGAL" "
8145 #include \"curl/curl.h\"
8148 if test "x$ac_cv_have_decl_CURLE_TFTP_ILLEGAL" = xyes; then :
8149 ac_have_decl=1
8150 else
8151 ac_have_decl=0
8154 cat >>confdefs.h <<_ACEOF
8155 #define HAVE_DECL_CURLE_TFTP_ILLEGAL $ac_have_decl
8156 _ACEOF
8157 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_UNKNOWNID" "ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" "
8158 #include \"curl/curl.h\"
8161 if test "x$ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" = xyes; then :
8162 ac_have_decl=1
8163 else
8164 ac_have_decl=0
8167 cat >>confdefs.h <<_ACEOF
8168 #define HAVE_DECL_CURLE_TFTP_UNKNOWNID $ac_have_decl
8169 _ACEOF
8170 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_FILE_EXISTS" "ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" "
8171 #include \"curl/curl.h\"
8174 if test "x$ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" = xyes; then :
8175 ac_have_decl=1
8176 else
8177 ac_have_decl=0
8180 cat >>confdefs.h <<_ACEOF
8181 #define HAVE_DECL_CURLE_REMOTE_FILE_EXISTS $ac_have_decl
8182 _ACEOF
8183 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_NOSUCHUSER" "ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" "
8184 #include \"curl/curl.h\"
8187 if test "x$ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" = xyes; then :
8188 ac_have_decl=1
8189 else
8190 ac_have_decl=0
8193 cat >>confdefs.h <<_ACEOF
8194 #define HAVE_DECL_CURLE_TFTP_NOSUCHUSER $ac_have_decl
8195 _ACEOF
8196 ac_fn_c_check_decl "$LINENO" "CURLE_CONV_FAILED" "ac_cv_have_decl_CURLE_CONV_FAILED" "
8197 #include \"curl/curl.h\"
8200 if test "x$ac_cv_have_decl_CURLE_CONV_FAILED" = xyes; then :
8201 ac_have_decl=1
8202 else
8203 ac_have_decl=0
8206 cat >>confdefs.h <<_ACEOF
8207 #define HAVE_DECL_CURLE_CONV_FAILED $ac_have_decl
8208 _ACEOF
8209 ac_fn_c_check_decl "$LINENO" "CURLE_CONV_REQD" "ac_cv_have_decl_CURLE_CONV_REQD" "
8210 #include \"curl/curl.h\"
8213 if test "x$ac_cv_have_decl_CURLE_CONV_REQD" = xyes; then :
8214 ac_have_decl=1
8215 else
8216 ac_have_decl=0
8219 cat >>confdefs.h <<_ACEOF
8220 #define HAVE_DECL_CURLE_CONV_REQD $ac_have_decl
8221 _ACEOF
8222 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CACERT_BADFILE" "ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" "
8223 #include \"curl/curl.h\"
8226 if test "x$ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" = xyes; then :
8227 ac_have_decl=1
8228 else
8229 ac_have_decl=0
8232 cat >>confdefs.h <<_ACEOF
8233 #define HAVE_DECL_CURLE_SSL_CACERT_BADFILE $ac_have_decl
8234 _ACEOF
8235 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_FILE_NOT_FOUND" "ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" "
8236 #include \"curl/curl.h\"
8239 if test "x$ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" = xyes; then :
8240 ac_have_decl=1
8241 else
8242 ac_have_decl=0
8245 cat >>confdefs.h <<_ACEOF
8246 #define HAVE_DECL_CURLE_REMOTE_FILE_NOT_FOUND $ac_have_decl
8247 _ACEOF
8248 ac_fn_c_check_decl "$LINENO" "CURLE_SSH" "ac_cv_have_decl_CURLE_SSH" "
8249 #include \"curl/curl.h\"
8252 if test "x$ac_cv_have_decl_CURLE_SSH" = xyes; then :
8253 ac_have_decl=1
8254 else
8255 ac_have_decl=0
8258 cat >>confdefs.h <<_ACEOF
8259 #define HAVE_DECL_CURLE_SSH $ac_have_decl
8260 _ACEOF
8261 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_SHUTDOWN_FAILED" "ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED" "
8262 #include \"curl/curl.h\"
8265 if test "x$ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED" = xyes; then :
8266 ac_have_decl=1
8267 else
8268 ac_have_decl=0
8271 cat >>confdefs.h <<_ACEOF
8272 #define HAVE_DECL_CURLE_SSL_SHUTDOWN_FAILED $ac_have_decl
8273 _ACEOF
8274 ac_fn_c_check_decl "$LINENO" "CURLE_AGAIN" "ac_cv_have_decl_CURLE_AGAIN" "
8275 #include \"curl/curl.h\"
8278 if test "x$ac_cv_have_decl_CURLE_AGAIN" = xyes; then :
8279 ac_have_decl=1
8280 else
8281 ac_have_decl=0
8284 cat >>confdefs.h <<_ACEOF
8285 #define HAVE_DECL_CURLE_AGAIN $ac_have_decl
8286 _ACEOF
8287 ac_fn_c_check_decl "$LINENO" "CURLMOPT_MAXCONNECTS" "ac_cv_have_decl_CURLMOPT_MAXCONNECTS" "
8288 #include \"curl/curl.h\"
8291 if test "x$ac_cv_have_decl_CURLMOPT_MAXCONNECTS" = xyes; then :
8292 ac_have_decl=1
8293 else
8294 ac_have_decl=0
8297 cat >>confdefs.h <<_ACEOF
8298 #define HAVE_DECL_CURLMOPT_MAXCONNECTS $ac_have_decl
8299 _ACEOF
8300 ac_fn_c_check_decl "$LINENO" "CURLMOPT_PIPELINING" "ac_cv_have_decl_CURLMOPT_PIPELINING" "
8301 #include \"curl/curl.h\"
8304 if test "x$ac_cv_have_decl_CURLMOPT_PIPELINING" = xyes; then :
8305 ac_have_decl=1
8306 else
8307 ac_have_decl=0
8310 cat >>confdefs.h <<_ACEOF
8311 #define HAVE_DECL_CURLMOPT_PIPELINING $ac_have_decl
8312 _ACEOF
8313 ac_fn_c_check_decl "$LINENO" "CURLMOPT_MAX_PIPELINE_LENGTH" "ac_cv_have_decl_CURLMOPT_MAX_PIPELINE_LENGTH" "
8314 #include \"curl/curl.h\"
8317 if test "x$ac_cv_have_decl_CURLMOPT_MAX_PIPELINE_LENGTH" = xyes; then :
8318 ac_have_decl=1
8319 else
8320 ac_have_decl=0
8323 cat >>confdefs.h <<_ACEOF
8324 #define HAVE_DECL_CURLMOPT_MAX_PIPELINE_LENGTH $ac_have_decl
8325 _ACEOF
8326 ac_fn_c_check_decl "$LINENO" "CURLMOPT_MAX_HOST_CONNECTIONS" "ac_cv_have_decl_CURLMOPT_MAX_HOST_CONNECTIONS" "
8327 #include \"curl/curl.h\"
8330 if test "x$ac_cv_have_decl_CURLMOPT_MAX_HOST_CONNECTIONS" = xyes; then :
8331 ac_have_decl=1
8332 else
8333 ac_have_decl=0
8336 cat >>confdefs.h <<_ACEOF
8337 #define HAVE_DECL_CURLMOPT_MAX_HOST_CONNECTIONS $ac_have_decl
8338 _ACEOF
8339 ac_fn_c_check_decl "$LINENO" "CURL_VERSION_TLSAUTH_SRP" "ac_cv_have_decl_CURL_VERSION_TLSAUTH_SRP" "
8340 #include \"curl/curl.h\"
8343 if test "x$ac_cv_have_decl_CURL_VERSION_TLSAUTH_SRP" = xyes; then :
8344 ac_have_decl=1
8345 else
8346 ac_have_decl=0
8349 cat >>confdefs.h <<_ACEOF
8350 #define HAVE_DECL_CURL_VERSION_TLSAUTH_SRP $ac_have_decl
8351 _ACEOF
8352 ac_fn_c_check_decl "$LINENO" "CURL_VERSION_NTLM_WB" "ac_cv_have_decl_CURL_VERSION_NTLM_WB" "
8353 #include \"curl/curl.h\"
8356 if test "x$ac_cv_have_decl_CURL_VERSION_NTLM_WB" = xyes; then :
8357 ac_have_decl=1
8358 else
8359 ac_have_decl=0
8362 cat >>confdefs.h <<_ACEOF
8363 #define HAVE_DECL_CURL_VERSION_NTLM_WB $ac_have_decl
8364 _ACEOF
8367 ac_config_headers="$ac_config_headers config.h"
8369 ac_config_files="$ac_config_files Makefile examples/Makefile"
8372 cat >confcache <<\_ACEOF
8373 # This file is a shell script that caches the results of configure
8374 # tests run on this system so they can be shared between configure
8375 # scripts and configure runs, see configure's option --config-cache.
8376 # It is not useful on other systems. If it contains results you don't
8377 # want to keep, you may remove or edit it.
8379 # config.status only pays attention to the cache file if you give it
8380 # the --recheck option to rerun configure.
8382 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8383 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8384 # following values.
8386 _ACEOF
8388 # The following way of writing the cache mishandles newlines in values,
8389 # but we know of no workaround that is simple, portable, and efficient.
8390 # So, we kill variables containing newlines.
8391 # Ultrix sh set writes to stderr and can't be redirected directly,
8392 # and sets the high bit in the cache file unless we assign to the vars.
8394 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8395 eval ac_val=\$$ac_var
8396 case $ac_val in #(
8397 *${as_nl}*)
8398 case $ac_var in #(
8399 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8400 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8401 esac
8402 case $ac_var in #(
8403 _ | IFS | as_nl) ;; #(
8404 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8405 *) { eval $ac_var=; unset $ac_var;} ;;
8406 esac ;;
8407 esac
8408 done
8410 (set) 2>&1 |
8411 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8412 *${as_nl}ac_space=\ *)
8413 # `set' does not quote correctly, so add quotes: double-quote
8414 # substitution turns \\\\ into \\, and sed turns \\ into \.
8415 sed -n \
8416 "s/'/'\\\\''/g;
8417 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8418 ;; #(
8420 # `set' quotes correctly as required by POSIX, so do not add quotes.
8421 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8423 esac |
8424 sort
8426 sed '
8427 /^ac_cv_env_/b end
8428 t clear
8429 :clear
8430 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8431 t end
8432 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8433 :end' >>confcache
8434 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8435 if test -w "$cache_file"; then
8436 if test "x$cache_file" != "x/dev/null"; then
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8438 $as_echo "$as_me: updating cache $cache_file" >&6;}
8439 if test ! -f "$cache_file" || test -h "$cache_file"; then
8440 cat confcache >"$cache_file"
8441 else
8442 case $cache_file in #(
8443 */* | ?:*)
8444 mv -f confcache "$cache_file"$$ &&
8445 mv -f "$cache_file"$$ "$cache_file" ;; #(
8447 mv -f confcache "$cache_file" ;;
8448 esac
8451 else
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8453 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8456 rm -f confcache
8458 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8459 # Let make expand exec_prefix.
8460 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8462 DEFS=-DHAVE_CONFIG_H
8464 ac_libobjs=
8465 ac_ltlibobjs=
8467 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8468 # 1. Remove the extension, and $U if already installed.
8469 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8470 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8471 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8472 # will be set to the directory where LIBOBJS objects are built.
8473 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8474 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8475 done
8476 LIBOBJS=$ac_libobjs
8478 LTLIBOBJS=$ac_ltlibobjs
8482 : "${CONFIG_STATUS=./config.status}"
8483 ac_write_fail=0
8484 ac_clean_files_save=$ac_clean_files
8485 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8487 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8488 as_write_fail=0
8489 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8490 #! $SHELL
8491 # Generated by $as_me.
8492 # Run this file to recreate the current configuration.
8493 # Compiler output produced by configure, useful for debugging
8494 # configure, is in config.log if it exists.
8496 debug=false
8497 ac_cs_recheck=false
8498 ac_cs_silent=false
8500 SHELL=\${CONFIG_SHELL-$SHELL}
8501 export SHELL
8502 _ASEOF
8503 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8504 ## -------------------- ##
8505 ## M4sh Initialization. ##
8506 ## -------------------- ##
8508 # Be more Bourne compatible
8509 DUALCASE=1; export DUALCASE # for MKS sh
8510 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8511 emulate sh
8512 NULLCMD=:
8513 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8514 # is contrary to our usage. Disable this feature.
8515 alias -g '${1+"$@"}'='"$@"'
8516 setopt NO_GLOB_SUBST
8517 else
8518 case `(set -o) 2>/dev/null` in #(
8519 *posix*) :
8520 set -o posix ;; #(
8521 *) :
8523 esac
8527 as_nl='
8529 export as_nl
8530 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8531 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8532 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8533 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8534 # Prefer a ksh shell builtin over an external printf program on Solaris,
8535 # but without wasting forks for bash or zsh.
8536 if test -z "$BASH_VERSION$ZSH_VERSION" \
8537 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8538 as_echo='print -r --'
8539 as_echo_n='print -rn --'
8540 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8541 as_echo='printf %s\n'
8542 as_echo_n='printf %s'
8543 else
8544 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8545 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8546 as_echo_n='/usr/ucb/echo -n'
8547 else
8548 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8549 as_echo_n_body='eval
8550 arg=$1;
8551 case $arg in #(
8552 *"$as_nl"*)
8553 expr "X$arg" : "X\\(.*\\)$as_nl";
8554 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8555 esac;
8556 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8558 export as_echo_n_body
8559 as_echo_n='sh -c $as_echo_n_body as_echo'
8561 export as_echo_body
8562 as_echo='sh -c $as_echo_body as_echo'
8565 # The user is always right.
8566 if test "${PATH_SEPARATOR+set}" != set; then
8567 PATH_SEPARATOR=:
8568 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8569 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8570 PATH_SEPARATOR=';'
8575 # IFS
8576 # We need space, tab and new line, in precisely that order. Quoting is
8577 # there to prevent editors from complaining about space-tab.
8578 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8579 # splitting by setting IFS to empty value.)
8580 IFS=" "" $as_nl"
8582 # Find who we are. Look in the path if we contain no directory separator.
8583 as_myself=
8584 case $0 in #((
8585 *[\\/]* ) as_myself=$0 ;;
8586 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8587 for as_dir in $PATH
8589 IFS=$as_save_IFS
8590 test -z "$as_dir" && as_dir=.
8591 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8592 done
8593 IFS=$as_save_IFS
8596 esac
8597 # We did not find ourselves, most probably we were run as `sh COMMAND'
8598 # in which case we are not to be found in the path.
8599 if test "x$as_myself" = x; then
8600 as_myself=$0
8602 if test ! -f "$as_myself"; then
8603 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8604 exit 1
8607 # Unset variables that we do not need and which cause bugs (e.g. in
8608 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8609 # suppresses any "Segmentation fault" message there. '((' could
8610 # trigger a bug in pdksh 5.2.14.
8611 for as_var in BASH_ENV ENV MAIL MAILPATH
8612 do eval test x\${$as_var+set} = xset \
8613 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8614 done
8615 PS1='$ '
8616 PS2='> '
8617 PS4='+ '
8619 # NLS nuisances.
8620 LC_ALL=C
8621 export LC_ALL
8622 LANGUAGE=C
8623 export LANGUAGE
8625 # CDPATH.
8626 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8629 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8630 # ----------------------------------------
8631 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8632 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8633 # script with STATUS, using 1 if that was 0.
8634 as_fn_error ()
8636 as_status=$1; test $as_status -eq 0 && as_status=1
8637 if test "$4"; then
8638 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8639 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8641 $as_echo "$as_me: error: $2" >&2
8642 as_fn_exit $as_status
8643 } # as_fn_error
8646 # as_fn_set_status STATUS
8647 # -----------------------
8648 # Set $? to STATUS, without forking.
8649 as_fn_set_status ()
8651 return $1
8652 } # as_fn_set_status
8654 # as_fn_exit STATUS
8655 # -----------------
8656 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8657 as_fn_exit ()
8659 set +e
8660 as_fn_set_status $1
8661 exit $1
8662 } # as_fn_exit
8664 # as_fn_unset VAR
8665 # ---------------
8666 # Portably unset VAR.
8667 as_fn_unset ()
8669 { eval $1=; unset $1;}
8671 as_unset=as_fn_unset
8672 # as_fn_append VAR VALUE
8673 # ----------------------
8674 # Append the text in VALUE to the end of the definition contained in VAR. Take
8675 # advantage of any shell optimizations that allow amortized linear growth over
8676 # repeated appends, instead of the typical quadratic growth present in naive
8677 # implementations.
8678 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8679 eval 'as_fn_append ()
8681 eval $1+=\$2
8683 else
8684 as_fn_append ()
8686 eval $1=\$$1\$2
8688 fi # as_fn_append
8690 # as_fn_arith ARG...
8691 # ------------------
8692 # Perform arithmetic evaluation on the ARGs, and store the result in the
8693 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8694 # must be portable across $(()) and expr.
8695 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8696 eval 'as_fn_arith ()
8698 as_val=$(( $* ))
8700 else
8701 as_fn_arith ()
8703 as_val=`expr "$@" || test $? -eq 1`
8705 fi # as_fn_arith
8708 if expr a : '\(a\)' >/dev/null 2>&1 &&
8709 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8710 as_expr=expr
8711 else
8712 as_expr=false
8715 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8716 as_basename=basename
8717 else
8718 as_basename=false
8721 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8722 as_dirname=dirname
8723 else
8724 as_dirname=false
8727 as_me=`$as_basename -- "$0" ||
8728 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8729 X"$0" : 'X\(//\)$' \| \
8730 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8731 $as_echo X/"$0" |
8732 sed '/^.*\/\([^/][^/]*\)\/*$/{
8733 s//\1/
8736 /^X\/\(\/\/\)$/{
8737 s//\1/
8740 /^X\/\(\/\).*/{
8741 s//\1/
8744 s/.*/./; q'`
8746 # Avoid depending upon Character Ranges.
8747 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8748 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8749 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8750 as_cr_digits='0123456789'
8751 as_cr_alnum=$as_cr_Letters$as_cr_digits
8753 ECHO_C= ECHO_N= ECHO_T=
8754 case `echo -n x` in #(((((
8755 -n*)
8756 case `echo 'xy\c'` in
8757 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8758 xy) ECHO_C='\c';;
8759 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8760 ECHO_T=' ';;
8761 esac;;
8763 ECHO_N='-n';;
8764 esac
8766 rm -f conf$$ conf$$.exe conf$$.file
8767 if test -d conf$$.dir; then
8768 rm -f conf$$.dir/conf$$.file
8769 else
8770 rm -f conf$$.dir
8771 mkdir conf$$.dir 2>/dev/null
8773 if (echo >conf$$.file) 2>/dev/null; then
8774 if ln -s conf$$.file conf$$ 2>/dev/null; then
8775 as_ln_s='ln -s'
8776 # ... but there are two gotchas:
8777 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8778 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8779 # In both cases, we have to default to `cp -pR'.
8780 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8781 as_ln_s='cp -pR'
8782 elif ln conf$$.file conf$$ 2>/dev/null; then
8783 as_ln_s=ln
8784 else
8785 as_ln_s='cp -pR'
8787 else
8788 as_ln_s='cp -pR'
8790 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8791 rmdir conf$$.dir 2>/dev/null
8794 # as_fn_mkdir_p
8795 # -------------
8796 # Create "$as_dir" as a directory, including parents if necessary.
8797 as_fn_mkdir_p ()
8800 case $as_dir in #(
8801 -*) as_dir=./$as_dir;;
8802 esac
8803 test -d "$as_dir" || eval $as_mkdir_p || {
8804 as_dirs=
8805 while :; do
8806 case $as_dir in #(
8807 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8808 *) as_qdir=$as_dir;;
8809 esac
8810 as_dirs="'$as_qdir' $as_dirs"
8811 as_dir=`$as_dirname -- "$as_dir" ||
8812 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8813 X"$as_dir" : 'X\(//\)[^/]' \| \
8814 X"$as_dir" : 'X\(//\)$' \| \
8815 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8816 $as_echo X"$as_dir" |
8817 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8818 s//\1/
8821 /^X\(\/\/\)[^/].*/{
8822 s//\1/
8825 /^X\(\/\/\)$/{
8826 s//\1/
8829 /^X\(\/\).*/{
8830 s//\1/
8833 s/.*/./; q'`
8834 test -d "$as_dir" && break
8835 done
8836 test -z "$as_dirs" || eval "mkdir $as_dirs"
8837 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8840 } # as_fn_mkdir_p
8841 if mkdir -p . 2>/dev/null; then
8842 as_mkdir_p='mkdir -p "$as_dir"'
8843 else
8844 test -d ./-p && rmdir ./-p
8845 as_mkdir_p=false
8849 # as_fn_executable_p FILE
8850 # -----------------------
8851 # Test if FILE is an executable regular file.
8852 as_fn_executable_p ()
8854 test -f "$1" && test -x "$1"
8855 } # as_fn_executable_p
8856 as_test_x='test -x'
8857 as_executable_p=as_fn_executable_p
8859 # Sed expression to map a string onto a valid CPP name.
8860 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8862 # Sed expression to map a string onto a valid variable name.
8863 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8866 exec 6>&1
8867 ## ----------------------------------- ##
8868 ## Main body of $CONFIG_STATUS script. ##
8869 ## ----------------------------------- ##
8870 _ASEOF
8871 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8874 # Save the log message, to keep $0 and so on meaningful, and to
8875 # report actual input values of CONFIG_FILES etc. instead of their
8876 # values after options handling.
8877 ac_log="
8878 This file was extended by ocurl $as_me 0.8.1, which was
8879 generated by GNU Autoconf 2.69. Invocation command line was
8881 CONFIG_FILES = $CONFIG_FILES
8882 CONFIG_HEADERS = $CONFIG_HEADERS
8883 CONFIG_LINKS = $CONFIG_LINKS
8884 CONFIG_COMMANDS = $CONFIG_COMMANDS
8885 $ $0 $@
8887 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8890 _ACEOF
8892 case $ac_config_files in *"
8893 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8894 esac
8896 case $ac_config_headers in *"
8897 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8898 esac
8901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8902 # Files that config.status was made for.
8903 config_files="$ac_config_files"
8904 config_headers="$ac_config_headers"
8906 _ACEOF
8908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8909 ac_cs_usage="\
8910 \`$as_me' instantiates files and other configuration actions
8911 from templates according to the current configuration. Unless the files
8912 and actions are specified as TAGs, all are instantiated by default.
8914 Usage: $0 [OPTION]... [TAG]...
8916 -h, --help print this help, then exit
8917 -V, --version print version number and configuration settings, then exit
8918 --config print configuration, then exit
8919 -q, --quiet, --silent
8920 do not print progress messages
8921 -d, --debug don't remove temporary files
8922 --recheck update $as_me by reconfiguring in the same conditions
8923 --file=FILE[:TEMPLATE]
8924 instantiate the configuration file FILE
8925 --header=FILE[:TEMPLATE]
8926 instantiate the configuration header FILE
8928 Configuration files:
8929 $config_files
8931 Configuration headers:
8932 $config_headers
8934 Report bugs to the package provider."
8936 _ACEOF
8937 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8938 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8939 ac_cs_version="\\
8940 ocurl config.status 0.8.1
8941 configured by $0, generated by GNU Autoconf 2.69,
8942 with options \\"\$ac_cs_config\\"
8944 Copyright (C) 2012 Free Software Foundation, Inc.
8945 This config.status script is free software; the Free Software Foundation
8946 gives unlimited permission to copy, distribute and modify it."
8948 ac_pwd='$ac_pwd'
8949 srcdir='$srcdir'
8950 INSTALL='$INSTALL'
8951 test -n "\$AWK" || AWK=awk
8952 _ACEOF
8954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8955 # The default lists apply if the user does not specify any file.
8956 ac_need_defaults=:
8957 while test $# != 0
8959 case $1 in
8960 --*=?*)
8961 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8962 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8963 ac_shift=:
8965 --*=)
8966 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8967 ac_optarg=
8968 ac_shift=:
8971 ac_option=$1
8972 ac_optarg=$2
8973 ac_shift=shift
8975 esac
8977 case $ac_option in
8978 # Handling of the options.
8979 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8980 ac_cs_recheck=: ;;
8981 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8982 $as_echo "$ac_cs_version"; exit ;;
8983 --config | --confi | --conf | --con | --co | --c )
8984 $as_echo "$ac_cs_config"; exit ;;
8985 --debug | --debu | --deb | --de | --d | -d )
8986 debug=: ;;
8987 --file | --fil | --fi | --f )
8988 $ac_shift
8989 case $ac_optarg in
8990 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8991 '') as_fn_error $? "missing file argument" ;;
8992 esac
8993 as_fn_append CONFIG_FILES " '$ac_optarg'"
8994 ac_need_defaults=false;;
8995 --header | --heade | --head | --hea )
8996 $ac_shift
8997 case $ac_optarg in
8998 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8999 esac
9000 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
9001 ac_need_defaults=false;;
9002 --he | --h)
9003 # Conflict between --help and --header
9004 as_fn_error $? "ambiguous option: \`$1'
9005 Try \`$0 --help' for more information.";;
9006 --help | --hel | -h )
9007 $as_echo "$ac_cs_usage"; exit ;;
9008 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9009 | -silent | --silent | --silen | --sile | --sil | --si | --s)
9010 ac_cs_silent=: ;;
9012 # This is an error.
9013 -*) as_fn_error $? "unrecognized option: \`$1'
9014 Try \`$0 --help' for more information." ;;
9016 *) as_fn_append ac_config_targets " $1"
9017 ac_need_defaults=false ;;
9019 esac
9020 shift
9021 done
9023 ac_configure_extra_args=
9025 if $ac_cs_silent; then
9026 exec 6>/dev/null
9027 ac_configure_extra_args="$ac_configure_extra_args --silent"
9030 _ACEOF
9031 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9032 if \$ac_cs_recheck; then
9033 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9034 shift
9035 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9036 CONFIG_SHELL='$SHELL'
9037 export CONFIG_SHELL
9038 exec "\$@"
9041 _ACEOF
9042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9043 exec 5>>config.log
9045 echo
9046 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9047 ## Running $as_me. ##
9048 _ASBOX
9049 $as_echo "$ac_log"
9050 } >&5
9052 _ACEOF
9053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9054 _ACEOF
9056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9058 # Handling of arguments.
9059 for ac_config_target in $ac_config_targets
9061 case $ac_config_target in
9062 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9063 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9064 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
9066 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9067 esac
9068 done
9071 # If the user did not use the arguments to specify the items to instantiate,
9072 # then the envvar interface is used. Set only those that are not.
9073 # We use the long form for the default assignment because of an extremely
9074 # bizarre bug on SunOS 4.1.3.
9075 if $ac_need_defaults; then
9076 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9077 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9080 # Have a temporary directory for convenience. Make it in the build tree
9081 # simply because there is no reason against having it here, and in addition,
9082 # creating and moving files from /tmp can sometimes cause problems.
9083 # Hook for its removal unless debugging.
9084 # Note that there is a small window in which the directory will not be cleaned:
9085 # after its creation but before its name has been assigned to `$tmp'.
9086 $debug ||
9088 tmp= ac_tmp=
9089 trap 'exit_status=$?
9090 : "${ac_tmp:=$tmp}"
9091 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9093 trap 'as_fn_exit 1' 1 2 13 15
9095 # Create a (secure) tmp directory for tmp files.
9098 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9099 test -d "$tmp"
9100 } ||
9102 tmp=./conf$$-$RANDOM
9103 (umask 077 && mkdir "$tmp")
9104 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
9105 ac_tmp=$tmp
9107 # Set up the scripts for CONFIG_FILES section.
9108 # No need to generate them if there are no CONFIG_FILES.
9109 # This happens for instance with `./config.status config.h'.
9110 if test -n "$CONFIG_FILES"; then
9113 ac_cr=`echo X | tr X '\015'`
9114 # On cygwin, bash can eat \r inside `` if the user requested igncr.
9115 # But we know of no other shell where ac_cr would be empty at this
9116 # point, so we can use a bashism as a fallback.
9117 if test "x$ac_cr" = x; then
9118 eval ac_cr=\$\'\\r\'
9120 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9121 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9122 ac_cs_awk_cr='\\r'
9123 else
9124 ac_cs_awk_cr=$ac_cr
9127 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9128 _ACEOF
9132 echo "cat >conf$$subs.awk <<_ACEOF" &&
9133 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9134 echo "_ACEOF"
9135 } >conf$$subs.sh ||
9136 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9137 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9138 ac_delim='%!_!# '
9139 for ac_last_try in false false false false false :; do
9140 . ./conf$$subs.sh ||
9141 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9143 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9144 if test $ac_delim_n = $ac_delim_num; then
9145 break
9146 elif $ac_last_try; then
9147 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9148 else
9149 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9151 done
9152 rm -f conf$$subs.sh
9154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9155 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9156 _ACEOF
9157 sed -n '
9159 s/^/S["/; s/!.*/"]=/
9162 s/^[^!]*!//
9163 :repl
9164 t repl
9165 s/'"$ac_delim"'$//
9166 t delim
9169 s/\(.\{148\}\)..*/\1/
9170 t more1
9171 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9174 b repl
9175 :more1
9176 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9179 s/.\{148\}//
9180 t nl
9181 :delim
9183 s/\(.\{148\}\)..*/\1/
9184 t more2
9185 s/["\\]/\\&/g; s/^/"/; s/$/"/
9188 :more2
9189 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9192 s/.\{148\}//
9193 t delim
9194 ' <conf$$subs.awk | sed '
9195 /^[^""]/{
9197 s/\n//
9199 ' >>$CONFIG_STATUS || ac_write_fail=1
9200 rm -f conf$$subs.awk
9201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9202 _ACAWK
9203 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9204 for (key in S) S_is_set[key] = 1
9205 FS = "\a"
9209 line = $ 0
9210 nfields = split(line, field, "@")
9211 substed = 0
9212 len = length(field[1])
9213 for (i = 2; i < nfields; i++) {
9214 key = field[i]
9215 keylen = length(key)
9216 if (S_is_set[key]) {
9217 value = S[key]
9218 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9219 len += length(value) + length(field[++i])
9220 substed = 1
9221 } else
9222 len += 1 + keylen
9225 print line
9228 _ACAWK
9229 _ACEOF
9230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9231 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9232 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9233 else
9235 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9236 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9237 _ACEOF
9239 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9240 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9241 # trailing colons and then remove the whole line if VPATH becomes empty
9242 # (actually we leave an empty line to preserve line numbers).
9243 if test "x$srcdir" = x.; then
9244 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
9246 s///
9247 s/^/:/
9248 s/[ ]*$/:/
9249 s/:\$(srcdir):/:/g
9250 s/:\${srcdir}:/:/g
9251 s/:@srcdir@:/:/g
9252 s/^:*//
9253 s/:*$//
9255 s/\(=[ ]*\).*/\1/
9257 s/\n//
9258 s/^[^=]*=[ ]*$//
9262 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9263 fi # test -n "$CONFIG_FILES"
9265 # Set up the scripts for CONFIG_HEADERS section.
9266 # No need to generate them if there are no CONFIG_HEADERS.
9267 # This happens for instance with `./config.status Makefile'.
9268 if test -n "$CONFIG_HEADERS"; then
9269 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9270 BEGIN {
9271 _ACEOF
9273 # Transform confdefs.h into an awk script `defines.awk', embedded as
9274 # here-document in config.status, that substitutes the proper values into
9275 # config.h.in to produce config.h.
9277 # Create a delimiter string that does not exist in confdefs.h, to ease
9278 # handling of long lines.
9279 ac_delim='%!_!# '
9280 for ac_last_try in false false :; do
9281 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9282 if test -z "$ac_tt"; then
9283 break
9284 elif $ac_last_try; then
9285 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9286 else
9287 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9289 done
9291 # For the awk script, D is an array of macro values keyed by name,
9292 # likewise P contains macro parameters if any. Preserve backslash
9293 # newline sequences.
9295 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9296 sed -n '
9297 s/.\{148\}/&'"$ac_delim"'/g
9298 t rset
9299 :rset
9300 s/^[ ]*#[ ]*define[ ][ ]*/ /
9301 t def
9303 :def
9304 s/\\$//
9305 t bsnl
9306 s/["\\]/\\&/g
9307 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9308 D["\1"]=" \3"/p
9309 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
9311 :bsnl
9312 s/["\\]/\\&/g
9313 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9314 D["\1"]=" \3\\\\\\n"\\/p
9315 t cont
9316 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9317 t cont
9319 :cont
9321 s/.\{148\}/&'"$ac_delim"'/g
9322 t clear
9323 :clear
9324 s/\\$//
9325 t bsnlc
9326 s/["\\]/\\&/g; s/^/"/; s/$/"/p
9328 :bsnlc
9329 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9330 b cont
9331 ' <confdefs.h | sed '
9332 s/'"$ac_delim"'/"\\\
9333 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9335 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9336 for (key in D) D_is_set[key] = 1
9337 FS = "\a"
9339 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9340 line = \$ 0
9341 split(line, arg, " ")
9342 if (arg[1] == "#") {
9343 defundef = arg[2]
9344 mac1 = arg[3]
9345 } else {
9346 defundef = substr(arg[1], 2)
9347 mac1 = arg[2]
9349 split(mac1, mac2, "(") #)
9350 macro = mac2[1]
9351 prefix = substr(line, 1, index(line, defundef) - 1)
9352 if (D_is_set[macro]) {
9353 # Preserve the white space surrounding the "#".
9354 print prefix "define", macro P[macro] D[macro]
9355 next
9356 } else {
9357 # Replace #undef with comments. This is necessary, for example,
9358 # in the case of _POSIX_SOURCE, which is predefined and required
9359 # on some systems where configure will not decide to define it.
9360 if (defundef == "undef") {
9361 print "/*", prefix defundef, macro, "*/"
9362 next
9366 { print }
9367 _ACAWK
9368 _ACEOF
9369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9370 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
9371 fi # test -n "$CONFIG_HEADERS"
9374 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
9375 shift
9376 for ac_tag
9378 case $ac_tag in
9379 :[FHLC]) ac_mode=$ac_tag; continue;;
9380 esac
9381 case $ac_mode$ac_tag in
9382 :[FHL]*:*);;
9383 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9384 :[FH]-) ac_tag=-:-;;
9385 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9386 esac
9387 ac_save_IFS=$IFS
9388 IFS=:
9389 set x $ac_tag
9390 IFS=$ac_save_IFS
9391 shift
9392 ac_file=$1
9393 shift
9395 case $ac_mode in
9396 :L) ac_source=$1;;
9397 :[FH])
9398 ac_file_inputs=
9399 for ac_f
9401 case $ac_f in
9402 -) ac_f="$ac_tmp/stdin";;
9403 *) # Look for the file first in the build tree, then in the source tree
9404 # (if the path is not absolute). The absolute path cannot be DOS-style,
9405 # because $ac_f cannot contain `:'.
9406 test -f "$ac_f" ||
9407 case $ac_f in
9408 [\\/$]*) false;;
9409 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9410 esac ||
9411 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9412 esac
9413 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9414 as_fn_append ac_file_inputs " '$ac_f'"
9415 done
9417 # Let's still pretend it is `configure' which instantiates (i.e., don't
9418 # use $as_me), people would be surprised to read:
9419 # /* config.h. Generated by config.status. */
9420 configure_input='Generated from '`
9421 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9422 `' by configure.'
9423 if test x"$ac_file" != x-; then
9424 configure_input="$ac_file. $configure_input"
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9426 $as_echo "$as_me: creating $ac_file" >&6;}
9428 # Neutralize special characters interpreted by sed in replacement strings.
9429 case $configure_input in #(
9430 *\&* | *\|* | *\\* )
9431 ac_sed_conf_input=`$as_echo "$configure_input" |
9432 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9433 *) ac_sed_conf_input=$configure_input;;
9434 esac
9436 case $ac_tag in
9437 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9438 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9439 esac
9441 esac
9443 ac_dir=`$as_dirname -- "$ac_file" ||
9444 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9445 X"$ac_file" : 'X\(//\)[^/]' \| \
9446 X"$ac_file" : 'X\(//\)$' \| \
9447 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9448 $as_echo X"$ac_file" |
9449 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9450 s//\1/
9453 /^X\(\/\/\)[^/].*/{
9454 s//\1/
9457 /^X\(\/\/\)$/{
9458 s//\1/
9461 /^X\(\/\).*/{
9462 s//\1/
9465 s/.*/./; q'`
9466 as_dir="$ac_dir"; as_fn_mkdir_p
9467 ac_builddir=.
9469 case "$ac_dir" in
9470 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9472 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9473 # A ".." for each directory in $ac_dir_suffix.
9474 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9475 case $ac_top_builddir_sub in
9476 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9477 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9478 esac ;;
9479 esac
9480 ac_abs_top_builddir=$ac_pwd
9481 ac_abs_builddir=$ac_pwd$ac_dir_suffix
9482 # for backward compatibility:
9483 ac_top_builddir=$ac_top_build_prefix
9485 case $srcdir in
9486 .) # We are building in place.
9487 ac_srcdir=.
9488 ac_top_srcdir=$ac_top_builddir_sub
9489 ac_abs_top_srcdir=$ac_pwd ;;
9490 [\\/]* | ?:[\\/]* ) # Absolute name.
9491 ac_srcdir=$srcdir$ac_dir_suffix;
9492 ac_top_srcdir=$srcdir
9493 ac_abs_top_srcdir=$srcdir ;;
9494 *) # Relative name.
9495 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9496 ac_top_srcdir=$ac_top_build_prefix$srcdir
9497 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9498 esac
9499 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9502 case $ac_mode in
9505 # CONFIG_FILE
9508 case $INSTALL in
9509 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9510 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9511 esac
9512 _ACEOF
9514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9515 # If the template does not know about datarootdir, expand it.
9516 # FIXME: This hack should be removed a few years after 2.60.
9517 ac_datarootdir_hack=; ac_datarootdir_seen=
9518 ac_sed_dataroot='
9519 /datarootdir/ {
9523 /@datadir@/p
9524 /@docdir@/p
9525 /@infodir@/p
9526 /@localedir@/p
9527 /@mandir@/p'
9528 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9529 *datarootdir*) ac_datarootdir_seen=yes;;
9530 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9532 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9533 _ACEOF
9534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9535 ac_datarootdir_hack='
9536 s&@datadir@&$datadir&g
9537 s&@docdir@&$docdir&g
9538 s&@infodir@&$infodir&g
9539 s&@localedir@&$localedir&g
9540 s&@mandir@&$mandir&g
9541 s&\\\${datarootdir}&$datarootdir&g' ;;
9542 esac
9543 _ACEOF
9545 # Neutralize VPATH when `$srcdir' = `.'.
9546 # Shell code in configure.ac might set extrasub.
9547 # FIXME: do we really want to maintain this feature?
9548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9549 ac_sed_extra="$ac_vpsub
9550 $extrasub
9551 _ACEOF
9552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9554 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9555 s|@configure_input@|$ac_sed_conf_input|;t t
9556 s&@top_builddir@&$ac_top_builddir_sub&;t t
9557 s&@top_build_prefix@&$ac_top_build_prefix&;t t
9558 s&@srcdir@&$ac_srcdir&;t t
9559 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9560 s&@top_srcdir@&$ac_top_srcdir&;t t
9561 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9562 s&@builddir@&$ac_builddir&;t t
9563 s&@abs_builddir@&$ac_abs_builddir&;t t
9564 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9565 s&@INSTALL@&$ac_INSTALL&;t t
9566 $ac_datarootdir_hack
9568 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9569 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9571 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9572 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9573 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9574 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9576 which seems to be undefined. Please make sure it is defined" >&5
9577 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9578 which seems to be undefined. Please make sure it is defined" >&2;}
9580 rm -f "$ac_tmp/stdin"
9581 case $ac_file in
9582 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9583 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9584 esac \
9585 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9589 # CONFIG_HEADER
9591 if test x"$ac_file" != x-; then
9593 $as_echo "/* $configure_input */" \
9594 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9595 } >"$ac_tmp/config.h" \
9596 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9597 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9599 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9600 else
9601 rm -f "$ac_file"
9602 mv "$ac_tmp/config.h" "$ac_file" \
9603 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9605 else
9606 $as_echo "/* $configure_input */" \
9607 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9608 || as_fn_error $? "could not create -" "$LINENO" 5
9613 esac
9615 done # for ac_tag
9618 as_fn_exit 0
9619 _ACEOF
9620 ac_clean_files=$ac_clean_files_save
9622 test $ac_write_fail = 0 ||
9623 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9626 # configure is writing to config.log, and then calls config.status.
9627 # config.status does its own redirection, appending to config.log.
9628 # Unfortunately, on DOS this fails, as config.log is still kept open
9629 # by configure, so config.status won't be able to write to it; its
9630 # output is simply discarded. So we exec the FD to /dev/null,
9631 # effectively closing config.log, so it can be properly (re)opened and
9632 # appended to by config.status. When coming back to configure, we
9633 # need to make the FD available again.
9634 if test "$no_create" != yes; then
9635 ac_cs_success=:
9636 ac_config_status_args=
9637 test "$silent" = yes &&
9638 ac_config_status_args="$ac_config_status_args --quiet"
9639 exec 5>/dev/null
9640 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9641 exec 5>>config.log
9642 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9643 # would make configure fail if this is the last instruction.
9644 $ac_cs_success || as_fn_exit 1
9646 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9648 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}