+ CURLOPT_POSTREDIR
[ocurl.git] / configure
blobd7b5cee5b64897f59e71a37adc5768a9705ab356
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ocurl 0.8.0.
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.0'
581 PACKAGE_STRING='ocurl 0.8.0'
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 runstatedir
680 localstatedir
681 sharedstatedir
682 sysconfdir
683 datadir
684 datarootdir
685 libexecdir
686 sbindir
687 bindir
688 program_transform_name
689 prefix
690 exec_prefix
691 PACKAGE_URL
692 PACKAGE_BUGREPORT
693 PACKAGE_STRING
694 PACKAGE_VERSION
695 PACKAGE_TARNAME
696 PACKAGE_NAME
697 PATH_SEPARATOR
698 SHELL'
699 ac_subst_files=''
700 ac_user_opts='
701 enable_option_checking
703 ac_precious_vars='build_alias
704 host_alias
705 target_alias
707 CFLAGS
708 LDFLAGS
709 LIBS
710 CPPFLAGS
711 CPP'
714 # Initialize some variables set by options.
715 ac_init_help=
716 ac_init_version=false
717 ac_unrecognized_opts=
718 ac_unrecognized_sep=
719 # The variables have the same names as the options, with
720 # dashes changed to underlines.
721 cache_file=/dev/null
722 exec_prefix=NONE
723 no_create=
724 no_recursion=
725 prefix=NONE
726 program_prefix=NONE
727 program_suffix=NONE
728 program_transform_name=s,x,x,
729 silent=
730 site=
731 srcdir=
732 verbose=
733 x_includes=NONE
734 x_libraries=NONE
736 # Installation directory options.
737 # These are left unexpanded so users can "make install exec_prefix=/foo"
738 # and all the variables that are supposed to be based on exec_prefix
739 # by default will actually change.
740 # Use braces instead of parens because sh, perl, etc. also accept them.
741 # (The list follows the same order as the GNU Coding Standards.)
742 bindir='${exec_prefix}/bin'
743 sbindir='${exec_prefix}/sbin'
744 libexecdir='${exec_prefix}/libexec'
745 datarootdir='${prefix}/share'
746 datadir='${datarootdir}'
747 sysconfdir='${prefix}/etc'
748 sharedstatedir='${prefix}/com'
749 localstatedir='${prefix}/var'
750 runstatedir='${localstatedir}/run'
751 includedir='${prefix}/include'
752 oldincludedir='/usr/include'
753 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
754 infodir='${datarootdir}/info'
755 htmldir='${docdir}'
756 dvidir='${docdir}'
757 pdfdir='${docdir}'
758 psdir='${docdir}'
759 libdir='${exec_prefix}/lib'
760 localedir='${datarootdir}/locale'
761 mandir='${datarootdir}/man'
763 ac_prev=
764 ac_dashdash=
765 for ac_option
767 # If the previous option needs an argument, assign it.
768 if test -n "$ac_prev"; then
769 eval $ac_prev=\$ac_option
770 ac_prev=
771 continue
774 case $ac_option in
775 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
776 *=) ac_optarg= ;;
777 *) ac_optarg=yes ;;
778 esac
780 # Accept the important Cygnus configure options, so we can diagnose typos.
782 case $ac_dashdash$ac_option in
784 ac_dashdash=yes ;;
786 -bindir | --bindir | --bindi | --bind | --bin | --bi)
787 ac_prev=bindir ;;
788 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
789 bindir=$ac_optarg ;;
791 -build | --build | --buil | --bui | --bu)
792 ac_prev=build_alias ;;
793 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
794 build_alias=$ac_optarg ;;
796 -cache-file | --cache-file | --cache-fil | --cache-fi \
797 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
798 ac_prev=cache_file ;;
799 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
800 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
801 cache_file=$ac_optarg ;;
803 --config-cache | -C)
804 cache_file=config.cache ;;
806 -datadir | --datadir | --datadi | --datad)
807 ac_prev=datadir ;;
808 -datadir=* | --datadir=* | --datadi=* | --datad=*)
809 datadir=$ac_optarg ;;
811 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
812 | --dataroo | --dataro | --datar)
813 ac_prev=datarootdir ;;
814 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
815 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
816 datarootdir=$ac_optarg ;;
818 -disable-* | --disable-*)
819 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
820 # Reject names that are not valid shell variable names.
821 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
822 as_fn_error $? "invalid feature name: $ac_useropt"
823 ac_useropt_orig=$ac_useropt
824 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
825 case $ac_user_opts in
827 "enable_$ac_useropt"
828 "*) ;;
829 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
830 ac_unrecognized_sep=', ';;
831 esac
832 eval enable_$ac_useropt=no ;;
834 -docdir | --docdir | --docdi | --doc | --do)
835 ac_prev=docdir ;;
836 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
837 docdir=$ac_optarg ;;
839 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
840 ac_prev=dvidir ;;
841 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
842 dvidir=$ac_optarg ;;
844 -enable-* | --enable-*)
845 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
846 # Reject names that are not valid shell variable names.
847 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
848 as_fn_error $? "invalid feature name: $ac_useropt"
849 ac_useropt_orig=$ac_useropt
850 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
851 case $ac_user_opts in
853 "enable_$ac_useropt"
854 "*) ;;
855 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
856 ac_unrecognized_sep=', ';;
857 esac
858 eval enable_$ac_useropt=\$ac_optarg ;;
860 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
861 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
862 | --exec | --exe | --ex)
863 ac_prev=exec_prefix ;;
864 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
865 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
866 | --exec=* | --exe=* | --ex=*)
867 exec_prefix=$ac_optarg ;;
869 -gas | --gas | --ga | --g)
870 # Obsolete; use --with-gas.
871 with_gas=yes ;;
873 -help | --help | --hel | --he | -h)
874 ac_init_help=long ;;
875 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
876 ac_init_help=recursive ;;
877 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
878 ac_init_help=short ;;
880 -host | --host | --hos | --ho)
881 ac_prev=host_alias ;;
882 -host=* | --host=* | --hos=* | --ho=*)
883 host_alias=$ac_optarg ;;
885 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
886 ac_prev=htmldir ;;
887 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
888 | --ht=*)
889 htmldir=$ac_optarg ;;
891 -includedir | --includedir | --includedi | --included | --include \
892 | --includ | --inclu | --incl | --inc)
893 ac_prev=includedir ;;
894 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
895 | --includ=* | --inclu=* | --incl=* | --inc=*)
896 includedir=$ac_optarg ;;
898 -infodir | --infodir | --infodi | --infod | --info | --inf)
899 ac_prev=infodir ;;
900 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
901 infodir=$ac_optarg ;;
903 -libdir | --libdir | --libdi | --libd)
904 ac_prev=libdir ;;
905 -libdir=* | --libdir=* | --libdi=* | --libd=*)
906 libdir=$ac_optarg ;;
908 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
909 | --libexe | --libex | --libe)
910 ac_prev=libexecdir ;;
911 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
912 | --libexe=* | --libex=* | --libe=*)
913 libexecdir=$ac_optarg ;;
915 -localedir | --localedir | --localedi | --localed | --locale)
916 ac_prev=localedir ;;
917 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
918 localedir=$ac_optarg ;;
920 -localstatedir | --localstatedir | --localstatedi | --localstated \
921 | --localstate | --localstat | --localsta | --localst | --locals)
922 ac_prev=localstatedir ;;
923 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
924 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
925 localstatedir=$ac_optarg ;;
927 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
928 ac_prev=mandir ;;
929 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
930 mandir=$ac_optarg ;;
932 -nfp | --nfp | --nf)
933 # Obsolete; use --without-fp.
934 with_fp=no ;;
936 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
937 | --no-cr | --no-c | -n)
938 no_create=yes ;;
940 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
941 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
942 no_recursion=yes ;;
944 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
945 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
946 | --oldin | --oldi | --old | --ol | --o)
947 ac_prev=oldincludedir ;;
948 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
949 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
950 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
951 oldincludedir=$ac_optarg ;;
953 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
954 ac_prev=prefix ;;
955 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
956 prefix=$ac_optarg ;;
958 -program-prefix | --program-prefix | --program-prefi | --program-pref \
959 | --program-pre | --program-pr | --program-p)
960 ac_prev=program_prefix ;;
961 -program-prefix=* | --program-prefix=* | --program-prefi=* \
962 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
963 program_prefix=$ac_optarg ;;
965 -program-suffix | --program-suffix | --program-suffi | --program-suff \
966 | --program-suf | --program-su | --program-s)
967 ac_prev=program_suffix ;;
968 -program-suffix=* | --program-suffix=* | --program-suffi=* \
969 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
970 program_suffix=$ac_optarg ;;
972 -program-transform-name | --program-transform-name \
973 | --program-transform-nam | --program-transform-na \
974 | --program-transform-n | --program-transform- \
975 | --program-transform | --program-transfor \
976 | --program-transfo | --program-transf \
977 | --program-trans | --program-tran \
978 | --progr-tra | --program-tr | --program-t)
979 ac_prev=program_transform_name ;;
980 -program-transform-name=* | --program-transform-name=* \
981 | --program-transform-nam=* | --program-transform-na=* \
982 | --program-transform-n=* | --program-transform-=* \
983 | --program-transform=* | --program-transfor=* \
984 | --program-transfo=* | --program-transf=* \
985 | --program-trans=* | --program-tran=* \
986 | --progr-tra=* | --program-tr=* | --program-t=*)
987 program_transform_name=$ac_optarg ;;
989 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
990 ac_prev=pdfdir ;;
991 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
992 pdfdir=$ac_optarg ;;
994 -psdir | --psdir | --psdi | --psd | --ps)
995 ac_prev=psdir ;;
996 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
997 psdir=$ac_optarg ;;
999 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1000 | -silent | --silent | --silen | --sile | --sil)
1001 silent=yes ;;
1003 -runstatedir | --runstatedir | --runstatedi | --runstated \
1004 | --runstate | --runstat | --runsta | --runst | --runs \
1005 | --run | --ru | --r)
1006 ac_prev=runstatedir ;;
1007 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1008 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1009 | --run=* | --ru=* | --r=*)
1010 runstatedir=$ac_optarg ;;
1012 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1013 ac_prev=sbindir ;;
1014 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1015 | --sbi=* | --sb=*)
1016 sbindir=$ac_optarg ;;
1018 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1019 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1020 | --sharedst | --shareds | --shared | --share | --shar \
1021 | --sha | --sh)
1022 ac_prev=sharedstatedir ;;
1023 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1024 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1025 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1026 | --sha=* | --sh=*)
1027 sharedstatedir=$ac_optarg ;;
1029 -site | --site | --sit)
1030 ac_prev=site ;;
1031 -site=* | --site=* | --sit=*)
1032 site=$ac_optarg ;;
1034 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1035 ac_prev=srcdir ;;
1036 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1037 srcdir=$ac_optarg ;;
1039 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1040 | --syscon | --sysco | --sysc | --sys | --sy)
1041 ac_prev=sysconfdir ;;
1042 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1043 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1044 sysconfdir=$ac_optarg ;;
1046 -target | --target | --targe | --targ | --tar | --ta | --t)
1047 ac_prev=target_alias ;;
1048 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1049 target_alias=$ac_optarg ;;
1051 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1052 verbose=yes ;;
1054 -version | --version | --versio | --versi | --vers | -V)
1055 ac_init_version=: ;;
1057 -with-* | --with-*)
1058 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1059 # Reject names that are not valid shell variable names.
1060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1061 as_fn_error $? "invalid package name: $ac_useropt"
1062 ac_useropt_orig=$ac_useropt
1063 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1064 case $ac_user_opts in
1066 "with_$ac_useropt"
1067 "*) ;;
1068 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1069 ac_unrecognized_sep=', ';;
1070 esac
1071 eval with_$ac_useropt=\$ac_optarg ;;
1073 -without-* | --without-*)
1074 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1075 # Reject names that are not valid shell variable names.
1076 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1077 as_fn_error $? "invalid package name: $ac_useropt"
1078 ac_useropt_orig=$ac_useropt
1079 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1080 case $ac_user_opts in
1082 "with_$ac_useropt"
1083 "*) ;;
1084 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1085 ac_unrecognized_sep=', ';;
1086 esac
1087 eval with_$ac_useropt=no ;;
1089 --x)
1090 # Obsolete; use --with-x.
1091 with_x=yes ;;
1093 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1094 | --x-incl | --x-inc | --x-in | --x-i)
1095 ac_prev=x_includes ;;
1096 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1097 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1098 x_includes=$ac_optarg ;;
1100 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1101 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1102 ac_prev=x_libraries ;;
1103 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1104 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1105 x_libraries=$ac_optarg ;;
1107 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1108 Try \`$0 --help' for more information"
1111 *=*)
1112 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1113 # Reject names that are not valid shell variable names.
1114 case $ac_envvar in #(
1115 '' | [0-9]* | *[!_$as_cr_alnum]* )
1116 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1117 esac
1118 eval $ac_envvar=\$ac_optarg
1119 export $ac_envvar ;;
1122 # FIXME: should be removed in autoconf 3.0.
1123 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1124 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1125 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1126 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1129 esac
1130 done
1132 if test -n "$ac_prev"; then
1133 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1134 as_fn_error $? "missing argument to $ac_option"
1137 if test -n "$ac_unrecognized_opts"; then
1138 case $enable_option_checking in
1139 no) ;;
1140 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1141 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1142 esac
1145 # Check all directory arguments for consistency.
1146 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1147 datadir sysconfdir sharedstatedir localstatedir includedir \
1148 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1149 libdir localedir mandir runstatedir
1151 eval ac_val=\$$ac_var
1152 # Remove trailing slashes.
1153 case $ac_val in
1154 */ )
1155 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1156 eval $ac_var=\$ac_val;;
1157 esac
1158 # Be sure to have absolute directory names.
1159 case $ac_val in
1160 [\\/$]* | ?:[\\/]* ) continue;;
1161 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1162 esac
1163 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1164 done
1166 # There might be people who depend on the old broken behavior: `$host'
1167 # used to hold the argument of --host etc.
1168 # FIXME: To remove some day.
1169 build=$build_alias
1170 host=$host_alias
1171 target=$target_alias
1173 # FIXME: To remove some day.
1174 if test "x$host_alias" != x; then
1175 if test "x$build_alias" = x; then
1176 cross_compiling=maybe
1177 elif test "x$build_alias" != "x$host_alias"; then
1178 cross_compiling=yes
1182 ac_tool_prefix=
1183 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1185 test "$silent" = yes && exec 6>/dev/null
1188 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1189 ac_ls_di=`ls -di .` &&
1190 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1191 as_fn_error $? "working directory cannot be determined"
1192 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1193 as_fn_error $? "pwd does not report name of working directory"
1196 # Find the source files, if location was not specified.
1197 if test -z "$srcdir"; then
1198 ac_srcdir_defaulted=yes
1199 # Try the directory containing this script, then the parent directory.
1200 ac_confdir=`$as_dirname -- "$as_myself" ||
1201 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1202 X"$as_myself" : 'X\(//\)[^/]' \| \
1203 X"$as_myself" : 'X\(//\)$' \| \
1204 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1205 $as_echo X"$as_myself" |
1206 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1207 s//\1/
1210 /^X\(\/\/\)[^/].*/{
1211 s//\1/
1214 /^X\(\/\/\)$/{
1215 s//\1/
1218 /^X\(\/\).*/{
1219 s//\1/
1222 s/.*/./; q'`
1223 srcdir=$ac_confdir
1224 if test ! -r "$srcdir/$ac_unique_file"; then
1225 srcdir=..
1227 else
1228 ac_srcdir_defaulted=no
1230 if test ! -r "$srcdir/$ac_unique_file"; then
1231 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1232 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1234 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1235 ac_abs_confdir=`(
1236 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1237 pwd)`
1238 # When building in place, set srcdir=.
1239 if test "$ac_abs_confdir" = "$ac_pwd"; then
1240 srcdir=.
1242 # Remove unnecessary trailing slashes from srcdir.
1243 # Double slashes in file names in object file debugging info
1244 # mess up M-x gdb in Emacs.
1245 case $srcdir in
1246 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1247 esac
1248 for ac_var in $ac_precious_vars; do
1249 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1250 eval ac_env_${ac_var}_value=\$${ac_var}
1251 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1252 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1253 done
1256 # Report the --help message.
1258 if test "$ac_init_help" = "long"; then
1259 # Omit some internal or obsolete options to make the list less imposing.
1260 # This message is too long to be a string in the A/UX 3.1 sh.
1261 cat <<_ACEOF
1262 \`configure' configures ocurl 0.8.0 to adapt to many kinds of systems.
1264 Usage: $0 [OPTION]... [VAR=VALUE]...
1266 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1267 VAR=VALUE. See below for descriptions of some of the useful variables.
1269 Defaults for the options are specified in brackets.
1271 Configuration:
1272 -h, --help display this help and exit
1273 --help=short display options specific to this package
1274 --help=recursive display the short help of all the included packages
1275 -V, --version display version information and exit
1276 -q, --quiet, --silent do not print \`checking ...' messages
1277 --cache-file=FILE cache test results in FILE [disabled]
1278 -C, --config-cache alias for \`--cache-file=config.cache'
1279 -n, --no-create do not create output files
1280 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1282 Installation directories:
1283 --prefix=PREFIX install architecture-independent files in PREFIX
1284 [$ac_default_prefix]
1285 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1286 [PREFIX]
1288 By default, \`make install' will install all the files in
1289 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1290 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1291 for instance \`--prefix=\$HOME'.
1293 For better control, use the options below.
1295 Fine tuning of the installation directories:
1296 --bindir=DIR user executables [EPREFIX/bin]
1297 --sbindir=DIR system admin executables [EPREFIX/sbin]
1298 --libexecdir=DIR program executables [EPREFIX/libexec]
1299 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1300 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1301 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1302 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1303 --libdir=DIR object code libraries [EPREFIX/lib]
1304 --includedir=DIR C header files [PREFIX/include]
1305 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1306 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1307 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1308 --infodir=DIR info documentation [DATAROOTDIR/info]
1309 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1310 --mandir=DIR man documentation [DATAROOTDIR/man]
1311 --docdir=DIR documentation root [DATAROOTDIR/doc/ocurl]
1312 --htmldir=DIR html documentation [DOCDIR]
1313 --dvidir=DIR dvi documentation [DOCDIR]
1314 --pdfdir=DIR pdf documentation [DOCDIR]
1315 --psdir=DIR ps documentation [DOCDIR]
1316 _ACEOF
1318 cat <<\_ACEOF
1319 _ACEOF
1322 if test -n "$ac_init_help"; then
1323 case $ac_init_help in
1324 short | recursive ) echo "Configuration of ocurl 0.8.0:";;
1325 esac
1326 cat <<\_ACEOF
1328 Some influential environment variables:
1329 CC C compiler command
1330 CFLAGS C compiler flags
1331 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1332 nonstandard directory <lib dir>
1333 LIBS libraries to pass to the linker, e.g. -l<library>
1334 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1335 you have headers in a nonstandard directory <include dir>
1336 CPP C preprocessor
1338 Use these variables to override the choices made by `configure' or to help
1339 it to find libraries and programs with nonstandard names/locations.
1341 Report bugs to the package provider.
1342 _ACEOF
1343 ac_status=$?
1346 if test "$ac_init_help" = "recursive"; then
1347 # If there are subdirs, report their specific --help.
1348 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1349 test -d "$ac_dir" ||
1350 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1351 continue
1352 ac_builddir=.
1354 case "$ac_dir" in
1355 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1357 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1358 # A ".." for each directory in $ac_dir_suffix.
1359 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1360 case $ac_top_builddir_sub in
1361 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1362 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1363 esac ;;
1364 esac
1365 ac_abs_top_builddir=$ac_pwd
1366 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1367 # for backward compatibility:
1368 ac_top_builddir=$ac_top_build_prefix
1370 case $srcdir in
1371 .) # We are building in place.
1372 ac_srcdir=.
1373 ac_top_srcdir=$ac_top_builddir_sub
1374 ac_abs_top_srcdir=$ac_pwd ;;
1375 [\\/]* | ?:[\\/]* ) # Absolute name.
1376 ac_srcdir=$srcdir$ac_dir_suffix;
1377 ac_top_srcdir=$srcdir
1378 ac_abs_top_srcdir=$srcdir ;;
1379 *) # Relative name.
1380 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1381 ac_top_srcdir=$ac_top_build_prefix$srcdir
1382 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1383 esac
1384 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1386 cd "$ac_dir" || { ac_status=$?; continue; }
1387 # Check for guested configure.
1388 if test -f "$ac_srcdir/configure.gnu"; then
1389 echo &&
1390 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1391 elif test -f "$ac_srcdir/configure"; then
1392 echo &&
1393 $SHELL "$ac_srcdir/configure" --help=recursive
1394 else
1395 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1396 fi || ac_status=$?
1397 cd "$ac_pwd" || { ac_status=$?; break; }
1398 done
1401 test -n "$ac_init_help" && exit $ac_status
1402 if $ac_init_version; then
1403 cat <<\_ACEOF
1404 ocurl configure 0.8.0
1405 generated by GNU Autoconf 2.69
1407 Copyright (C) 2012 Free Software Foundation, Inc.
1408 This configure script is free software; the Free Software Foundation
1409 gives unlimited permission to copy, distribute and modify it.
1410 _ACEOF
1411 exit
1414 ## ------------------------ ##
1415 ## Autoconf initialization. ##
1416 ## ------------------------ ##
1418 # ac_fn_c_try_compile LINENO
1419 # --------------------------
1420 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1421 ac_fn_c_try_compile ()
1423 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1424 rm -f conftest.$ac_objext
1425 if { { ac_try="$ac_compile"
1426 case "(($ac_try" in
1427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1428 *) ac_try_echo=$ac_try;;
1429 esac
1430 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1431 $as_echo "$ac_try_echo"; } >&5
1432 (eval "$ac_compile") 2>conftest.err
1433 ac_status=$?
1434 if test -s conftest.err; then
1435 grep -v '^ *+' conftest.err >conftest.er1
1436 cat conftest.er1 >&5
1437 mv -f conftest.er1 conftest.err
1439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1440 test $ac_status = 0; } && {
1441 test -z "$ac_c_werror_flag" ||
1442 test ! -s conftest.err
1443 } && test -s conftest.$ac_objext; then :
1444 ac_retval=0
1445 else
1446 $as_echo "$as_me: failed program was:" >&5
1447 sed 's/^/| /' conftest.$ac_ext >&5
1449 ac_retval=1
1451 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1452 as_fn_set_status $ac_retval
1454 } # ac_fn_c_try_compile
1456 # ac_fn_c_try_cpp LINENO
1457 # ----------------------
1458 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1459 ac_fn_c_try_cpp ()
1461 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1462 if { { ac_try="$ac_cpp conftest.$ac_ext"
1463 case "(($ac_try" in
1464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1465 *) ac_try_echo=$ac_try;;
1466 esac
1467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1468 $as_echo "$ac_try_echo"; } >&5
1469 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1470 ac_status=$?
1471 if test -s conftest.err; then
1472 grep -v '^ *+' conftest.err >conftest.er1
1473 cat conftest.er1 >&5
1474 mv -f conftest.er1 conftest.err
1476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1477 test $ac_status = 0; } > conftest.i && {
1478 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1479 test ! -s conftest.err
1480 }; then :
1481 ac_retval=0
1482 else
1483 $as_echo "$as_me: failed program was:" >&5
1484 sed 's/^/| /' conftest.$ac_ext >&5
1486 ac_retval=1
1488 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1489 as_fn_set_status $ac_retval
1491 } # ac_fn_c_try_cpp
1493 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1494 # -------------------------------------------------------
1495 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1496 # the include files in INCLUDES and setting the cache variable VAR
1497 # accordingly.
1498 ac_fn_c_check_header_mongrel ()
1500 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1501 if eval \${$3+:} false; then :
1502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1503 $as_echo_n "checking for $2... " >&6; }
1504 if eval \${$3+:} false; then :
1505 $as_echo_n "(cached) " >&6
1507 eval ac_res=\$$3
1508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1509 $as_echo "$ac_res" >&6; }
1510 else
1511 # Is the header compilable?
1512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1513 $as_echo_n "checking $2 usability... " >&6; }
1514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1515 /* end confdefs.h. */
1517 #include <$2>
1518 _ACEOF
1519 if ac_fn_c_try_compile "$LINENO"; then :
1520 ac_header_compiler=yes
1521 else
1522 ac_header_compiler=no
1524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1526 $as_echo "$ac_header_compiler" >&6; }
1528 # Is the header present?
1529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1530 $as_echo_n "checking $2 presence... " >&6; }
1531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1532 /* end confdefs.h. */
1533 #include <$2>
1534 _ACEOF
1535 if ac_fn_c_try_cpp "$LINENO"; then :
1536 ac_header_preproc=yes
1537 else
1538 ac_header_preproc=no
1540 rm -f conftest.err conftest.i conftest.$ac_ext
1541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1542 $as_echo "$ac_header_preproc" >&6; }
1544 # So? What about this header?
1545 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1546 yes:no: )
1547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1548 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&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 no:yes:* )
1553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1554 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1556 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1558 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1560 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1562 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1564 esac
1565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1566 $as_echo_n "checking for $2... " >&6; }
1567 if eval \${$3+:} false; then :
1568 $as_echo_n "(cached) " >&6
1569 else
1570 eval "$3=\$ac_header_compiler"
1572 eval ac_res=\$$3
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1574 $as_echo "$ac_res" >&6; }
1576 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1578 } # ac_fn_c_check_header_mongrel
1580 # ac_fn_c_try_run LINENO
1581 # ----------------------
1582 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1583 # that executables *can* be run.
1584 ac_fn_c_try_run ()
1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1587 if { { ac_try="$ac_link"
1588 case "(($ac_try" in
1589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1590 *) ac_try_echo=$ac_try;;
1591 esac
1592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1593 $as_echo "$ac_try_echo"; } >&5
1594 (eval "$ac_link") 2>&5
1595 ac_status=$?
1596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1597 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1598 { { case "(($ac_try" in
1599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1600 *) ac_try_echo=$ac_try;;
1601 esac
1602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1603 $as_echo "$ac_try_echo"; } >&5
1604 (eval "$ac_try") 2>&5
1605 ac_status=$?
1606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1607 test $ac_status = 0; }; }; then :
1608 ac_retval=0
1609 else
1610 $as_echo "$as_me: program exited with status $ac_status" >&5
1611 $as_echo "$as_me: failed program was:" >&5
1612 sed 's/^/| /' conftest.$ac_ext >&5
1614 ac_retval=$ac_status
1616 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618 as_fn_set_status $ac_retval
1620 } # ac_fn_c_try_run
1622 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1623 # -------------------------------------------------------
1624 # Tests whether HEADER exists and can be compiled using the include files in
1625 # INCLUDES, setting the cache variable VAR accordingly.
1626 ac_fn_c_check_header_compile ()
1628 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1630 $as_echo_n "checking for $2... " >&6; }
1631 if eval \${$3+:} false; then :
1632 $as_echo_n "(cached) " >&6
1633 else
1634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1635 /* end confdefs.h. */
1637 #include <$2>
1638 _ACEOF
1639 if ac_fn_c_try_compile "$LINENO"; then :
1640 eval "$3=yes"
1641 else
1642 eval "$3=no"
1644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1646 eval ac_res=\$$3
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1648 $as_echo "$ac_res" >&6; }
1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1651 } # ac_fn_c_check_header_compile
1653 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1654 # ---------------------------------------------
1655 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1656 # accordingly.
1657 ac_fn_c_check_decl ()
1659 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660 as_decl_name=`echo $2|sed 's/ *(.*//'`
1661 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1663 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1664 if eval \${$3+:} false; then :
1665 $as_echo_n "(cached) " >&6
1666 else
1667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1668 /* end confdefs.h. */
1671 main ()
1673 #ifndef $as_decl_name
1674 #ifdef __cplusplus
1675 (void) $as_decl_use;
1676 #else
1677 (void) $as_decl_name;
1678 #endif
1679 #endif
1682 return 0;
1684 _ACEOF
1685 if ac_fn_c_try_compile "$LINENO"; then :
1686 eval "$3=yes"
1687 else
1688 eval "$3=no"
1690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1692 eval ac_res=\$$3
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1694 $as_echo "$ac_res" >&6; }
1695 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1697 } # ac_fn_c_check_decl
1698 cat >config.log <<_ACEOF
1699 This file contains any messages produced by compilers while
1700 running configure, to aid debugging if configure makes a mistake.
1702 It was created by ocurl $as_me 0.8.0, which was
1703 generated by GNU Autoconf 2.69. Invocation command line was
1705 $ $0 $@
1707 _ACEOF
1708 exec 5>>config.log
1710 cat <<_ASUNAME
1711 ## --------- ##
1712 ## Platform. ##
1713 ## --------- ##
1715 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1716 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1717 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1718 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1719 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1721 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1722 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1724 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1725 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1726 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1727 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1728 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1729 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1730 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1732 _ASUNAME
1734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1735 for as_dir in $PATH
1737 IFS=$as_save_IFS
1738 test -z "$as_dir" && as_dir=.
1739 $as_echo "PATH: $as_dir"
1740 done
1741 IFS=$as_save_IFS
1743 } >&5
1745 cat >&5 <<_ACEOF
1748 ## ----------- ##
1749 ## Core tests. ##
1750 ## ----------- ##
1752 _ACEOF
1755 # Keep a trace of the command line.
1756 # Strip out --no-create and --no-recursion so they do not pile up.
1757 # Strip out --silent because we don't want to record it for future runs.
1758 # Also quote any args containing shell meta-characters.
1759 # Make two passes to allow for proper duplicate-argument suppression.
1760 ac_configure_args=
1761 ac_configure_args0=
1762 ac_configure_args1=
1763 ac_must_keep_next=false
1764 for ac_pass in 1 2
1766 for ac_arg
1768 case $ac_arg in
1769 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1770 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1771 | -silent | --silent | --silen | --sile | --sil)
1772 continue ;;
1773 *\'*)
1774 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1775 esac
1776 case $ac_pass in
1777 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1779 as_fn_append ac_configure_args1 " '$ac_arg'"
1780 if test $ac_must_keep_next = true; then
1781 ac_must_keep_next=false # Got value, back to normal.
1782 else
1783 case $ac_arg in
1784 *=* | --config-cache | -C | -disable-* | --disable-* \
1785 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1786 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1787 | -with-* | --with-* | -without-* | --without-* | --x)
1788 case "$ac_configure_args0 " in
1789 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1790 esac
1792 -* ) ac_must_keep_next=true ;;
1793 esac
1795 as_fn_append ac_configure_args " '$ac_arg'"
1797 esac
1798 done
1799 done
1800 { ac_configure_args0=; unset ac_configure_args0;}
1801 { ac_configure_args1=; unset ac_configure_args1;}
1803 # When interrupted or exit'd, cleanup temporary files, and complete
1804 # config.log. We remove comments because anyway the quotes in there
1805 # would cause problems or look ugly.
1806 # WARNING: Use '\'' to represent an apostrophe within the trap.
1807 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1808 trap 'exit_status=$?
1809 # Save into config.log some information that might help in debugging.
1811 echo
1813 $as_echo "## ---------------- ##
1814 ## Cache variables. ##
1815 ## ---------------- ##"
1816 echo
1817 # The following way of writing the cache mishandles newlines in values,
1819 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1820 eval ac_val=\$$ac_var
1821 case $ac_val in #(
1822 *${as_nl}*)
1823 case $ac_var in #(
1824 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1825 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1826 esac
1827 case $ac_var in #(
1828 _ | IFS | as_nl) ;; #(
1829 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1830 *) { eval $ac_var=; unset $ac_var;} ;;
1831 esac ;;
1832 esac
1833 done
1834 (set) 2>&1 |
1835 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1836 *${as_nl}ac_space=\ *)
1837 sed -n \
1838 "s/'\''/'\''\\\\'\'''\''/g;
1839 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1840 ;; #(
1842 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1844 esac |
1845 sort
1847 echo
1849 $as_echo "## ----------------- ##
1850 ## Output variables. ##
1851 ## ----------------- ##"
1852 echo
1853 for ac_var in $ac_subst_vars
1855 eval ac_val=\$$ac_var
1856 case $ac_val in
1857 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1858 esac
1859 $as_echo "$ac_var='\''$ac_val'\''"
1860 done | sort
1861 echo
1863 if test -n "$ac_subst_files"; then
1864 $as_echo "## ------------------- ##
1865 ## File substitutions. ##
1866 ## ------------------- ##"
1867 echo
1868 for ac_var in $ac_subst_files
1870 eval ac_val=\$$ac_var
1871 case $ac_val in
1872 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1873 esac
1874 $as_echo "$ac_var='\''$ac_val'\''"
1875 done | sort
1876 echo
1879 if test -s confdefs.h; then
1880 $as_echo "## ----------- ##
1881 ## confdefs.h. ##
1882 ## ----------- ##"
1883 echo
1884 cat confdefs.h
1885 echo
1887 test "$ac_signal" != 0 &&
1888 $as_echo "$as_me: caught signal $ac_signal"
1889 $as_echo "$as_me: exit $exit_status"
1890 } >&5
1891 rm -f core *.core core.conftest.* &&
1892 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1893 exit $exit_status
1895 for ac_signal in 1 2 13 15; do
1896 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1897 done
1898 ac_signal=0
1900 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1901 rm -f -r conftest* confdefs.h
1903 $as_echo "/* confdefs.h */" > confdefs.h
1905 # Predefined preprocessor variables.
1907 cat >>confdefs.h <<_ACEOF
1908 #define PACKAGE_NAME "$PACKAGE_NAME"
1909 _ACEOF
1911 cat >>confdefs.h <<_ACEOF
1912 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1913 _ACEOF
1915 cat >>confdefs.h <<_ACEOF
1916 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1917 _ACEOF
1919 cat >>confdefs.h <<_ACEOF
1920 #define PACKAGE_STRING "$PACKAGE_STRING"
1921 _ACEOF
1923 cat >>confdefs.h <<_ACEOF
1924 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1925 _ACEOF
1927 cat >>confdefs.h <<_ACEOF
1928 #define PACKAGE_URL "$PACKAGE_URL"
1929 _ACEOF
1932 # Let the site file select an alternate cache file if it wants to.
1933 # Prefer an explicitly selected file to automatically selected ones.
1934 ac_site_file1=NONE
1935 ac_site_file2=NONE
1936 if test -n "$CONFIG_SITE"; then
1937 # We do not want a PATH search for config.site.
1938 case $CONFIG_SITE in #((
1939 -*) ac_site_file1=./$CONFIG_SITE;;
1940 */*) ac_site_file1=$CONFIG_SITE;;
1941 *) ac_site_file1=./$CONFIG_SITE;;
1942 esac
1943 elif test "x$prefix" != xNONE; then
1944 ac_site_file1=$prefix/share/config.site
1945 ac_site_file2=$prefix/etc/config.site
1946 else
1947 ac_site_file1=$ac_default_prefix/share/config.site
1948 ac_site_file2=$ac_default_prefix/etc/config.site
1950 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1952 test "x$ac_site_file" = xNONE && continue
1953 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1955 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1956 sed 's/^/| /' "$ac_site_file" >&5
1957 . "$ac_site_file" \
1958 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1959 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1960 as_fn_error $? "failed to load site script $ac_site_file
1961 See \`config.log' for more details" "$LINENO" 5; }
1963 done
1965 if test -r "$cache_file"; then
1966 # Some versions of bash will fail to source /dev/null (special files
1967 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1968 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1970 $as_echo "$as_me: loading cache $cache_file" >&6;}
1971 case $cache_file in
1972 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1973 *) . "./$cache_file";;
1974 esac
1976 else
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1978 $as_echo "$as_me: creating cache $cache_file" >&6;}
1979 >$cache_file
1982 # Check that the precious variables saved in the cache have kept the same
1983 # value.
1984 ac_cache_corrupted=false
1985 for ac_var in $ac_precious_vars; do
1986 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1987 eval ac_new_set=\$ac_env_${ac_var}_set
1988 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1989 eval ac_new_val=\$ac_env_${ac_var}_value
1990 case $ac_old_set,$ac_new_set in
1991 set,)
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1993 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1994 ac_cache_corrupted=: ;;
1995 ,set)
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1997 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1998 ac_cache_corrupted=: ;;
1999 ,);;
2001 if test "x$ac_old_val" != "x$ac_new_val"; then
2002 # differences in whitespace do not lead to failure.
2003 ac_old_val_w=`echo x $ac_old_val`
2004 ac_new_val_w=`echo x $ac_new_val`
2005 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2007 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2008 ac_cache_corrupted=:
2009 else
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2011 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2012 eval $ac_var=\$ac_old_val
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2015 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2017 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2018 fi;;
2019 esac
2020 # Pass precious variables to config.status.
2021 if test "$ac_new_set" = set; then
2022 case $ac_new_val in
2023 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2024 *) ac_arg=$ac_var=$ac_new_val ;;
2025 esac
2026 case " $ac_configure_args " in
2027 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2028 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2029 esac
2031 done
2032 if $ac_cache_corrupted; then
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2034 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2036 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2037 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2039 ## -------------------- ##
2040 ## Main body of script. ##
2041 ## -------------------- ##
2043 ac_ext=c
2044 ac_cpp='$CPP $CPPFLAGS'
2045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2051 MIN_LIBCURL_VERSION=7.17.0
2053 ac_ext=c
2054 ac_cpp='$CPP $CPPFLAGS'
2055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2058 if test -n "$ac_tool_prefix"; then
2059 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2060 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2062 $as_echo_n "checking for $ac_word... " >&6; }
2063 if ${ac_cv_prog_CC+:} false; then :
2064 $as_echo_n "(cached) " >&6
2065 else
2066 if test -n "$CC"; then
2067 ac_cv_prog_CC="$CC" # Let the user override the test.
2068 else
2069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2070 for as_dir in $PATH
2072 IFS=$as_save_IFS
2073 test -z "$as_dir" && as_dir=.
2074 for ac_exec_ext in '' $ac_executable_extensions; do
2075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2076 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2078 break 2
2080 done
2081 done
2082 IFS=$as_save_IFS
2086 CC=$ac_cv_prog_CC
2087 if test -n "$CC"; then
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2089 $as_echo "$CC" >&6; }
2090 else
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2092 $as_echo "no" >&6; }
2097 if test -z "$ac_cv_prog_CC"; then
2098 ac_ct_CC=$CC
2099 # Extract the first word of "gcc", so it can be a program name with args.
2100 set dummy gcc; ac_word=$2
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2102 $as_echo_n "checking for $ac_word... " >&6; }
2103 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2104 $as_echo_n "(cached) " >&6
2105 else
2106 if test -n "$ac_ct_CC"; then
2107 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2108 else
2109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2110 for as_dir in $PATH
2112 IFS=$as_save_IFS
2113 test -z "$as_dir" && as_dir=.
2114 for ac_exec_ext in '' $ac_executable_extensions; do
2115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2116 ac_cv_prog_ac_ct_CC="gcc"
2117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2118 break 2
2120 done
2121 done
2122 IFS=$as_save_IFS
2126 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2127 if test -n "$ac_ct_CC"; then
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2129 $as_echo "$ac_ct_CC" >&6; }
2130 else
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2132 $as_echo "no" >&6; }
2135 if test "x$ac_ct_CC" = x; then
2136 CC=""
2137 else
2138 case $cross_compiling:$ac_tool_warned in
2139 yes:)
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2142 ac_tool_warned=yes ;;
2143 esac
2144 CC=$ac_ct_CC
2146 else
2147 CC="$ac_cv_prog_CC"
2150 if test -z "$CC"; then
2151 if test -n "$ac_tool_prefix"; then
2152 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2153 set dummy ${ac_tool_prefix}cc; ac_word=$2
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2155 $as_echo_n "checking for $ac_word... " >&6; }
2156 if ${ac_cv_prog_CC+:} false; then :
2157 $as_echo_n "(cached) " >&6
2158 else
2159 if test -n "$CC"; then
2160 ac_cv_prog_CC="$CC" # Let the user override the test.
2161 else
2162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2163 for as_dir in $PATH
2165 IFS=$as_save_IFS
2166 test -z "$as_dir" && as_dir=.
2167 for ac_exec_ext in '' $ac_executable_extensions; do
2168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2169 ac_cv_prog_CC="${ac_tool_prefix}cc"
2170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2171 break 2
2173 done
2174 done
2175 IFS=$as_save_IFS
2179 CC=$ac_cv_prog_CC
2180 if test -n "$CC"; then
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2182 $as_echo "$CC" >&6; }
2183 else
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2185 $as_echo "no" >&6; }
2191 if test -z "$CC"; then
2192 # Extract the first word of "cc", so it can be a program name with args.
2193 set dummy cc; ac_word=$2
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2195 $as_echo_n "checking for $ac_word... " >&6; }
2196 if ${ac_cv_prog_CC+:} false; then :
2197 $as_echo_n "(cached) " >&6
2198 else
2199 if test -n "$CC"; then
2200 ac_cv_prog_CC="$CC" # Let the user override the test.
2201 else
2202 ac_prog_rejected=no
2203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2204 for as_dir in $PATH
2206 IFS=$as_save_IFS
2207 test -z "$as_dir" && as_dir=.
2208 for ac_exec_ext in '' $ac_executable_extensions; do
2209 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2210 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2211 ac_prog_rejected=yes
2212 continue
2214 ac_cv_prog_CC="cc"
2215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2216 break 2
2218 done
2219 done
2220 IFS=$as_save_IFS
2222 if test $ac_prog_rejected = yes; then
2223 # We found a bogon in the path, so make sure we never use it.
2224 set dummy $ac_cv_prog_CC
2225 shift
2226 if test $# != 0; then
2227 # We chose a different compiler from the bogus one.
2228 # However, it has the same basename, so the bogon will be chosen
2229 # first if we set CC to just the basename; use the full file name.
2230 shift
2231 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2236 CC=$ac_cv_prog_CC
2237 if test -n "$CC"; then
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2239 $as_echo "$CC" >&6; }
2240 else
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2242 $as_echo "no" >&6; }
2247 if test -z "$CC"; then
2248 if test -n "$ac_tool_prefix"; then
2249 for ac_prog in cl.exe
2251 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2252 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2254 $as_echo_n "checking for $ac_word... " >&6; }
2255 if ${ac_cv_prog_CC+:} false; then :
2256 $as_echo_n "(cached) " >&6
2257 else
2258 if test -n "$CC"; then
2259 ac_cv_prog_CC="$CC" # Let the user override the test.
2260 else
2261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2262 for as_dir in $PATH
2264 IFS=$as_save_IFS
2265 test -z "$as_dir" && as_dir=.
2266 for ac_exec_ext in '' $ac_executable_extensions; do
2267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2268 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2270 break 2
2272 done
2273 done
2274 IFS=$as_save_IFS
2278 CC=$ac_cv_prog_CC
2279 if test -n "$CC"; then
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2281 $as_echo "$CC" >&6; }
2282 else
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2284 $as_echo "no" >&6; }
2288 test -n "$CC" && break
2289 done
2291 if test -z "$CC"; then
2292 ac_ct_CC=$CC
2293 for ac_prog in cl.exe
2295 # Extract the first word of "$ac_prog", so it can be a program name with args.
2296 set dummy $ac_prog; ac_word=$2
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2298 $as_echo_n "checking for $ac_word... " >&6; }
2299 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2300 $as_echo_n "(cached) " >&6
2301 else
2302 if test -n "$ac_ct_CC"; then
2303 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2304 else
2305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2306 for as_dir in $PATH
2308 IFS=$as_save_IFS
2309 test -z "$as_dir" && as_dir=.
2310 for ac_exec_ext in '' $ac_executable_extensions; do
2311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2312 ac_cv_prog_ac_ct_CC="$ac_prog"
2313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2314 break 2
2316 done
2317 done
2318 IFS=$as_save_IFS
2322 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2323 if test -n "$ac_ct_CC"; then
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2325 $as_echo "$ac_ct_CC" >&6; }
2326 else
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2328 $as_echo "no" >&6; }
2332 test -n "$ac_ct_CC" && break
2333 done
2335 if test "x$ac_ct_CC" = x; then
2336 CC=""
2337 else
2338 case $cross_compiling:$ac_tool_warned in
2339 yes:)
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2342 ac_tool_warned=yes ;;
2343 esac
2344 CC=$ac_ct_CC
2351 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2353 as_fn_error $? "no acceptable C compiler found in \$PATH
2354 See \`config.log' for more details" "$LINENO" 5; }
2356 # Provide some information about the compiler.
2357 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2358 set X $ac_compile
2359 ac_compiler=$2
2360 for ac_option in --version -v -V -qversion; do
2361 { { ac_try="$ac_compiler $ac_option >&5"
2362 case "(($ac_try" in
2363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2364 *) ac_try_echo=$ac_try;;
2365 esac
2366 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2367 $as_echo "$ac_try_echo"; } >&5
2368 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2369 ac_status=$?
2370 if test -s conftest.err; then
2371 sed '10a\
2372 ... rest of stderr output deleted ...
2373 10q' conftest.err >conftest.er1
2374 cat conftest.er1 >&5
2376 rm -f conftest.er1 conftest.err
2377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2378 test $ac_status = 0; }
2379 done
2381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2382 /* end confdefs.h. */
2385 main ()
2389 return 0;
2391 _ACEOF
2392 ac_clean_files_save=$ac_clean_files
2393 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2394 # Try to create an executable without -o first, disregard a.out.
2395 # It will help us diagnose broken compilers, and finding out an intuition
2396 # of exeext.
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2398 $as_echo_n "checking whether the C compiler works... " >&6; }
2399 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2401 # The possible output files:
2402 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2404 ac_rmfiles=
2405 for ac_file in $ac_files
2407 case $ac_file in
2408 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2409 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2410 esac
2411 done
2412 rm -f $ac_rmfiles
2414 if { { ac_try="$ac_link_default"
2415 case "(($ac_try" in
2416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2417 *) ac_try_echo=$ac_try;;
2418 esac
2419 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2420 $as_echo "$ac_try_echo"; } >&5
2421 (eval "$ac_link_default") 2>&5
2422 ac_status=$?
2423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2424 test $ac_status = 0; }; then :
2425 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2426 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2427 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2428 # so that the user can short-circuit this test for compilers unknown to
2429 # Autoconf.
2430 for ac_file in $ac_files ''
2432 test -f "$ac_file" || continue
2433 case $ac_file in
2434 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2436 [ab].out )
2437 # We found the default executable, but exeext='' is most
2438 # certainly right.
2439 break;;
2440 *.* )
2441 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2442 then :; else
2443 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2445 # We set ac_cv_exeext here because the later test for it is not
2446 # safe: cross compilers may not add the suffix if given an `-o'
2447 # argument, so we may need to know it at that point already.
2448 # Even if this section looks crufty: it has the advantage of
2449 # actually working.
2450 break;;
2452 break;;
2453 esac
2454 done
2455 test "$ac_cv_exeext" = no && ac_cv_exeext=
2457 else
2458 ac_file=''
2460 if test -z "$ac_file"; then :
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2462 $as_echo "no" >&6; }
2463 $as_echo "$as_me: failed program was:" >&5
2464 sed 's/^/| /' conftest.$ac_ext >&5
2466 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2467 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2468 as_fn_error 77 "C compiler cannot create executables
2469 See \`config.log' for more details" "$LINENO" 5; }
2470 else
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2472 $as_echo "yes" >&6; }
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2475 $as_echo_n "checking for C compiler default output file name... " >&6; }
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2477 $as_echo "$ac_file" >&6; }
2478 ac_exeext=$ac_cv_exeext
2480 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2481 ac_clean_files=$ac_clean_files_save
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2483 $as_echo_n "checking for suffix of executables... " >&6; }
2484 if { { ac_try="$ac_link"
2485 case "(($ac_try" in
2486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2487 *) ac_try_echo=$ac_try;;
2488 esac
2489 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2490 $as_echo "$ac_try_echo"; } >&5
2491 (eval "$ac_link") 2>&5
2492 ac_status=$?
2493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2494 test $ac_status = 0; }; then :
2495 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2496 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2497 # work properly (i.e., refer to `conftest.exe'), while it won't with
2498 # `rm'.
2499 for ac_file in conftest.exe conftest conftest.*; do
2500 test -f "$ac_file" || continue
2501 case $ac_file in
2502 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2503 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2504 break;;
2505 * ) break;;
2506 esac
2507 done
2508 else
2509 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2511 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2512 See \`config.log' for more details" "$LINENO" 5; }
2514 rm -f conftest conftest$ac_cv_exeext
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2516 $as_echo "$ac_cv_exeext" >&6; }
2518 rm -f conftest.$ac_ext
2519 EXEEXT=$ac_cv_exeext
2520 ac_exeext=$EXEEXT
2521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2522 /* end confdefs.h. */
2523 #include <stdio.h>
2525 main ()
2527 FILE *f = fopen ("conftest.out", "w");
2528 return ferror (f) || fclose (f) != 0;
2531 return 0;
2533 _ACEOF
2534 ac_clean_files="$ac_clean_files conftest.out"
2535 # Check that the compiler produces executables we can run. If not, either
2536 # the compiler is broken, or we cross compile.
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2538 $as_echo_n "checking whether we are cross compiling... " >&6; }
2539 if test "$cross_compiling" != yes; then
2540 { { ac_try="$ac_link"
2541 case "(($ac_try" in
2542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2543 *) ac_try_echo=$ac_try;;
2544 esac
2545 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2546 $as_echo "$ac_try_echo"; } >&5
2547 (eval "$ac_link") 2>&5
2548 ac_status=$?
2549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2550 test $ac_status = 0; }
2551 if { ac_try='./conftest$ac_cv_exeext'
2552 { { case "(($ac_try" in
2553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2554 *) ac_try_echo=$ac_try;;
2555 esac
2556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2557 $as_echo "$ac_try_echo"; } >&5
2558 (eval "$ac_try") 2>&5
2559 ac_status=$?
2560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2561 test $ac_status = 0; }; }; then
2562 cross_compiling=no
2563 else
2564 if test "$cross_compiling" = maybe; then
2565 cross_compiling=yes
2566 else
2567 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2569 as_fn_error $? "cannot run C compiled programs.
2570 If you meant to cross compile, use \`--host'.
2571 See \`config.log' for more details" "$LINENO" 5; }
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2576 $as_echo "$cross_compiling" >&6; }
2578 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2579 ac_clean_files=$ac_clean_files_save
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2581 $as_echo_n "checking for suffix of object files... " >&6; }
2582 if ${ac_cv_objext+:} false; then :
2583 $as_echo_n "(cached) " >&6
2584 else
2585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2586 /* end confdefs.h. */
2589 main ()
2593 return 0;
2595 _ACEOF
2596 rm -f conftest.o conftest.obj
2597 if { { ac_try="$ac_compile"
2598 case "(($ac_try" in
2599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2600 *) ac_try_echo=$ac_try;;
2601 esac
2602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2603 $as_echo "$ac_try_echo"; } >&5
2604 (eval "$ac_compile") 2>&5
2605 ac_status=$?
2606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2607 test $ac_status = 0; }; then :
2608 for ac_file in conftest.o conftest.obj conftest.*; do
2609 test -f "$ac_file" || continue;
2610 case $ac_file in
2611 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2612 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2613 break;;
2614 esac
2615 done
2616 else
2617 $as_echo "$as_me: failed program was:" >&5
2618 sed 's/^/| /' conftest.$ac_ext >&5
2620 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2621 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2622 as_fn_error $? "cannot compute suffix of object files: cannot compile
2623 See \`config.log' for more details" "$LINENO" 5; }
2625 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2628 $as_echo "$ac_cv_objext" >&6; }
2629 OBJEXT=$ac_cv_objext
2630 ac_objext=$OBJEXT
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2632 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2633 if ${ac_cv_c_compiler_gnu+:} false; then :
2634 $as_echo_n "(cached) " >&6
2635 else
2636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2637 /* end confdefs.h. */
2640 main ()
2642 #ifndef __GNUC__
2643 choke me
2644 #endif
2647 return 0;
2649 _ACEOF
2650 if ac_fn_c_try_compile "$LINENO"; then :
2651 ac_compiler_gnu=yes
2652 else
2653 ac_compiler_gnu=no
2655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2656 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2660 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2661 if test $ac_compiler_gnu = yes; then
2662 GCC=yes
2663 else
2664 GCC=
2666 ac_test_CFLAGS=${CFLAGS+set}
2667 ac_save_CFLAGS=$CFLAGS
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2669 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2670 if ${ac_cv_prog_cc_g+:} false; then :
2671 $as_echo_n "(cached) " >&6
2672 else
2673 ac_save_c_werror_flag=$ac_c_werror_flag
2674 ac_c_werror_flag=yes
2675 ac_cv_prog_cc_g=no
2676 CFLAGS="-g"
2677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2678 /* end confdefs.h. */
2681 main ()
2685 return 0;
2687 _ACEOF
2688 if ac_fn_c_try_compile "$LINENO"; then :
2689 ac_cv_prog_cc_g=yes
2690 else
2691 CFLAGS=""
2692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2693 /* end confdefs.h. */
2696 main ()
2700 return 0;
2702 _ACEOF
2703 if ac_fn_c_try_compile "$LINENO"; then :
2705 else
2706 ac_c_werror_flag=$ac_save_c_werror_flag
2707 CFLAGS="-g"
2708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2709 /* end confdefs.h. */
2712 main ()
2716 return 0;
2718 _ACEOF
2719 if ac_fn_c_try_compile "$LINENO"; then :
2720 ac_cv_prog_cc_g=yes
2722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2727 ac_c_werror_flag=$ac_save_c_werror_flag
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2730 $as_echo "$ac_cv_prog_cc_g" >&6; }
2731 if test "$ac_test_CFLAGS" = set; then
2732 CFLAGS=$ac_save_CFLAGS
2733 elif test $ac_cv_prog_cc_g = yes; then
2734 if test "$GCC" = yes; then
2735 CFLAGS="-g -O2"
2736 else
2737 CFLAGS="-g"
2739 else
2740 if test "$GCC" = yes; then
2741 CFLAGS="-O2"
2742 else
2743 CFLAGS=
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2747 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2748 if ${ac_cv_prog_cc_c89+:} false; then :
2749 $as_echo_n "(cached) " >&6
2750 else
2751 ac_cv_prog_cc_c89=no
2752 ac_save_CC=$CC
2753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2754 /* end confdefs.h. */
2755 #include <stdarg.h>
2756 #include <stdio.h>
2757 struct stat;
2758 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2759 struct buf { int x; };
2760 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2761 static char *e (p, i)
2762 char **p;
2763 int i;
2765 return p[i];
2767 static char *f (char * (*g) (char **, int), char **p, ...)
2769 char *s;
2770 va_list v;
2771 va_start (v,p);
2772 s = g (p, va_arg (v,int));
2773 va_end (v);
2774 return s;
2777 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2778 function prototypes and stuff, but not '\xHH' hex character constants.
2779 These don't provoke an error unfortunately, instead are silently treated
2780 as 'x'. The following induces an error, until -std is added to get
2781 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2782 array size at least. It's necessary to write '\x00'==0 to get something
2783 that's true only with -std. */
2784 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2786 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2787 inside strings and character constants. */
2788 #define FOO(x) 'x'
2789 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2791 int test (int i, double x);
2792 struct s1 {int (*f) (int a);};
2793 struct s2 {int (*f) (double a);};
2794 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2795 int argc;
2796 char **argv;
2798 main ()
2800 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2802 return 0;
2804 _ACEOF
2805 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2806 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2808 CC="$ac_save_CC $ac_arg"
2809 if ac_fn_c_try_compile "$LINENO"; then :
2810 ac_cv_prog_cc_c89=$ac_arg
2812 rm -f core conftest.err conftest.$ac_objext
2813 test "x$ac_cv_prog_cc_c89" != "xno" && break
2814 done
2815 rm -f conftest.$ac_ext
2816 CC=$ac_save_CC
2819 # AC_CACHE_VAL
2820 case "x$ac_cv_prog_cc_c89" in
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2823 $as_echo "none needed" >&6; } ;;
2824 xno)
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2826 $as_echo "unsupported" >&6; } ;;
2828 CC="$CC $ac_cv_prog_cc_c89"
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2830 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2831 esac
2832 if test "x$ac_cv_prog_cc_c89" != xno; then :
2836 ac_ext=c
2837 ac_cpp='$CPP $CPPFLAGS'
2838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl cflags" >&5
2844 $as_echo_n "checking for libcurl cflags... " >&6; }
2845 CURLCFLAGS=`pkg-config libcurl --cflags || curl-config --cflags`
2846 if test "$?" -eq 0 ; then :
2848 else
2849 as_fn_error $? "libcurl was not found" "$LINENO" 5
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURLCFLAGS" >&5
2852 $as_echo "$CURLCFLAGS" >&6; }
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl libs" >&5
2855 $as_echo_n "checking for libcurl libs... " >&6; }
2856 CURLLIBS=`pkg-config libcurl --libs || curl-config --libs`
2857 if test "$?" -eq 0 ; then :
2859 else
2860 as_fn_error $? "libcurl was not found" "$LINENO" 5
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURLLIBS" >&5
2863 $as_echo "$CURLLIBS" >&6; }
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl version >= $MIN_LIBCURL_VERSION" >&5
2866 $as_echo_n "checking for libcurl version >= $MIN_LIBCURL_VERSION... " >&6; }
2867 LIBCURL_VERSION=`pkg-config libcurl --modversion || curl-config --version`
2868 (pkg-config libcurl && pkg-config libcurl --atleast-version=${MIN_LIBCURL_VERSION}) || curl-config --checkfor ${MIN_LIBCURL_VERSION}
2869 if test "$?" -eq 0 ; then :
2871 else
2872 as_fn_error $? "${LIBCURL_VERSION} is too old" "$LINENO" 5
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${LIBCURL_VERSION}" >&5
2875 $as_echo "${LIBCURL_VERSION}" >&6; }
2877 ac_aux_dir=
2878 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2879 if test -f "$ac_dir/install-sh"; then
2880 ac_aux_dir=$ac_dir
2881 ac_install_sh="$ac_aux_dir/install-sh -c"
2882 break
2883 elif test -f "$ac_dir/install.sh"; then
2884 ac_aux_dir=$ac_dir
2885 ac_install_sh="$ac_aux_dir/install.sh -c"
2886 break
2887 elif test -f "$ac_dir/shtool"; then
2888 ac_aux_dir=$ac_dir
2889 ac_install_sh="$ac_aux_dir/shtool install -c"
2890 break
2892 done
2893 if test -z "$ac_aux_dir"; then
2894 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2897 # These three variables are undocumented and unsupported,
2898 # and are intended to be withdrawn in a future Autoconf release.
2899 # They can cause serious problems if a builder's source tree is in a directory
2900 # whose full name contains unusual characters.
2901 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2902 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2903 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2906 # Find a good install program. We prefer a C program (faster),
2907 # so one script is as good as another. But avoid the broken or
2908 # incompatible versions:
2909 # SysV /etc/install, /usr/sbin/install
2910 # SunOS /usr/etc/install
2911 # IRIX /sbin/install
2912 # AIX /bin/install
2913 # AmigaOS /C/install, which installs bootblocks on floppy discs
2914 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2915 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2916 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2917 # OS/2's system install, which has a completely different semantic
2918 # ./install, which can be erroneously created by make from ./install.sh.
2919 # Reject install programs that cannot install multiple files.
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2921 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2922 if test -z "$INSTALL"; then
2923 if ${ac_cv_path_install+:} false; then :
2924 $as_echo_n "(cached) " >&6
2925 else
2926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2927 for as_dir in $PATH
2929 IFS=$as_save_IFS
2930 test -z "$as_dir" && as_dir=.
2931 # Account for people who put trailing slashes in PATH elements.
2932 case $as_dir/ in #((
2933 ./ | .// | /[cC]/* | \
2934 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2935 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2936 /usr/ucb/* ) ;;
2938 # OSF1 and SCO ODT 3.0 have their own names for install.
2939 # Don't use installbsd from OSF since it installs stuff as root
2940 # by default.
2941 for ac_prog in ginstall scoinst install; do
2942 for ac_exec_ext in '' $ac_executable_extensions; do
2943 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2944 if test $ac_prog = install &&
2945 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2946 # AIX install. It has an incompatible calling convention.
2948 elif test $ac_prog = install &&
2949 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2950 # program-specific install script used by HP pwplus--don't use.
2952 else
2953 rm -rf conftest.one conftest.two conftest.dir
2954 echo one > conftest.one
2955 echo two > conftest.two
2956 mkdir conftest.dir
2957 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2958 test -s conftest.one && test -s conftest.two &&
2959 test -s conftest.dir/conftest.one &&
2960 test -s conftest.dir/conftest.two
2961 then
2962 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2963 break 3
2967 done
2968 done
2970 esac
2972 done
2973 IFS=$as_save_IFS
2975 rm -rf conftest.one conftest.two conftest.dir
2978 if test "${ac_cv_path_install+set}" = set; then
2979 INSTALL=$ac_cv_path_install
2980 else
2981 # As a last resort, use the slow shell script. Don't cache a
2982 # value for INSTALL within a source directory, because that will
2983 # break other packages using the cache if that directory is
2984 # removed, or if the value is a relative name.
2985 INSTALL=$ac_install_sh
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2989 $as_echo "$INSTALL" >&6; }
2991 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2992 # It thinks the first close brace ends the variable substitution.
2993 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2995 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2997 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2999 # checking for ocamlc
3000 if test -n "$ac_tool_prefix"; then
3001 # Extract the first word of "${ac_tool_prefix}ocamlc", so it can be a program name with args.
3002 set dummy ${ac_tool_prefix}ocamlc; ac_word=$2
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3004 $as_echo_n "checking for $ac_word... " >&6; }
3005 if ${ac_cv_prog_OCAMLC+:} false; then :
3006 $as_echo_n "(cached) " >&6
3007 else
3008 if test -n "$OCAMLC"; then
3009 ac_cv_prog_OCAMLC="$OCAMLC" # Let the user override the test.
3010 else
3011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3012 for as_dir in $PATH
3014 IFS=$as_save_IFS
3015 test -z "$as_dir" && as_dir=.
3016 for ac_exec_ext in '' $ac_executable_extensions; do
3017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3018 ac_cv_prog_OCAMLC="${ac_tool_prefix}ocamlc"
3019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3020 break 2
3022 done
3023 done
3024 IFS=$as_save_IFS
3028 OCAMLC=$ac_cv_prog_OCAMLC
3029 if test -n "$OCAMLC"; then
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLC" >&5
3031 $as_echo "$OCAMLC" >&6; }
3032 else
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3034 $as_echo "no" >&6; }
3039 if test -z "$ac_cv_prog_OCAMLC"; then
3040 ac_ct_OCAMLC=$OCAMLC
3041 # Extract the first word of "ocamlc", so it can be a program name with args.
3042 set dummy ocamlc; ac_word=$2
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3044 $as_echo_n "checking for $ac_word... " >&6; }
3045 if ${ac_cv_prog_ac_ct_OCAMLC+:} false; then :
3046 $as_echo_n "(cached) " >&6
3047 else
3048 if test -n "$ac_ct_OCAMLC"; then
3049 ac_cv_prog_ac_ct_OCAMLC="$ac_ct_OCAMLC" # Let the user override the test.
3050 else
3051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3052 for as_dir in $PATH
3054 IFS=$as_save_IFS
3055 test -z "$as_dir" && as_dir=.
3056 for ac_exec_ext in '' $ac_executable_extensions; do
3057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3058 ac_cv_prog_ac_ct_OCAMLC="ocamlc"
3059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3060 break 2
3062 done
3063 done
3064 IFS=$as_save_IFS
3068 ac_ct_OCAMLC=$ac_cv_prog_ac_ct_OCAMLC
3069 if test -n "$ac_ct_OCAMLC"; then
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLC" >&5
3071 $as_echo "$ac_ct_OCAMLC" >&6; }
3072 else
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3074 $as_echo "no" >&6; }
3077 if test "x$ac_ct_OCAMLC" = x; then
3078 OCAMLC="no"
3079 else
3080 case $cross_compiling:$ac_tool_warned in
3081 yes:)
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3084 ac_tool_warned=yes ;;
3085 esac
3086 OCAMLC=$ac_ct_OCAMLC
3088 else
3089 OCAMLC="$ac_cv_prog_OCAMLC"
3093 if test "$OCAMLC" != "no"; then
3094 OCAMLVERSION=`$OCAMLC -v | sed -n -e 's|.*version* *\(.*\)$|\1|p'`
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml version is $OCAMLVERSION" >&5
3096 $as_echo "OCaml version is $OCAMLVERSION" >&6; }
3097 # If OCAMLLIB is set, use it
3098 if test "$OCAMLLIB" = ""; then
3099 OCAMLLIB=`$OCAMLC -where 2>/dev/null || $OCAMLC -v|tail -1|cut -d ' ' -f 4`
3100 else
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCAMLLIB previously set; preserving it." >&5
3102 $as_echo "OCAMLLIB previously set; preserving it." >&6; }
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml library path is $OCAMLLIB" >&5
3105 $as_echo "OCaml library path is $OCAMLLIB" >&6; }
3110 # checking for ocamlopt
3111 if test -n "$ac_tool_prefix"; then
3112 # Extract the first word of "${ac_tool_prefix}ocamlopt", so it can be a program name with args.
3113 set dummy ${ac_tool_prefix}ocamlopt; ac_word=$2
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3115 $as_echo_n "checking for $ac_word... " >&6; }
3116 if ${ac_cv_prog_OCAMLOPT+:} false; then :
3117 $as_echo_n "(cached) " >&6
3118 else
3119 if test -n "$OCAMLOPT"; then
3120 ac_cv_prog_OCAMLOPT="$OCAMLOPT" # Let the user override the test.
3121 else
3122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3123 for as_dir in $PATH
3125 IFS=$as_save_IFS
3126 test -z "$as_dir" && as_dir=.
3127 for ac_exec_ext in '' $ac_executable_extensions; do
3128 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3129 ac_cv_prog_OCAMLOPT="${ac_tool_prefix}ocamlopt"
3130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3131 break 2
3133 done
3134 done
3135 IFS=$as_save_IFS
3139 OCAMLOPT=$ac_cv_prog_OCAMLOPT
3140 if test -n "$OCAMLOPT"; then
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPT" >&5
3142 $as_echo "$OCAMLOPT" >&6; }
3143 else
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3145 $as_echo "no" >&6; }
3150 if test -z "$ac_cv_prog_OCAMLOPT"; then
3151 ac_ct_OCAMLOPT=$OCAMLOPT
3152 # Extract the first word of "ocamlopt", so it can be a program name with args.
3153 set dummy ocamlopt; ac_word=$2
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3155 $as_echo_n "checking for $ac_word... " >&6; }
3156 if ${ac_cv_prog_ac_ct_OCAMLOPT+:} false; then :
3157 $as_echo_n "(cached) " >&6
3158 else
3159 if test -n "$ac_ct_OCAMLOPT"; then
3160 ac_cv_prog_ac_ct_OCAMLOPT="$ac_ct_OCAMLOPT" # Let the user override the test.
3161 else
3162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3163 for as_dir in $PATH
3165 IFS=$as_save_IFS
3166 test -z "$as_dir" && as_dir=.
3167 for ac_exec_ext in '' $ac_executable_extensions; do
3168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3169 ac_cv_prog_ac_ct_OCAMLOPT="ocamlopt"
3170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3171 break 2
3173 done
3174 done
3175 IFS=$as_save_IFS
3179 ac_ct_OCAMLOPT=$ac_cv_prog_ac_ct_OCAMLOPT
3180 if test -n "$ac_ct_OCAMLOPT"; then
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPT" >&5
3182 $as_echo "$ac_ct_OCAMLOPT" >&6; }
3183 else
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3185 $as_echo "no" >&6; }
3188 if test "x$ac_ct_OCAMLOPT" = x; then
3189 OCAMLOPT="no"
3190 else
3191 case $cross_compiling:$ac_tool_warned in
3192 yes:)
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3195 ac_tool_warned=yes ;;
3196 esac
3197 OCAMLOPT=$ac_ct_OCAMLOPT
3199 else
3200 OCAMLOPT="$ac_cv_prog_OCAMLOPT"
3203 OCAMLBEST=byte
3204 if test "$OCAMLOPT" = "no"; then
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find ocamlopt; bytecode compilation only." >&5
3206 $as_echo "$as_me: WARNING: Cannot find ocamlopt; bytecode compilation only." >&2;}
3207 else
3208 TMPVERSION=`$OCAMLOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3209 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlopt discarded." >&5
3211 $as_echo "versions differs from ocamlc; ocamlopt discarded." >&6; }
3212 OCAMLOPT=no
3213 else
3214 OCAMLBEST=opt
3220 # checking for ocamlc.opt
3221 if test -n "$ac_tool_prefix"; then
3222 # Extract the first word of "${ac_tool_prefix}ocamlc.opt", so it can be a program name with args.
3223 set dummy ${ac_tool_prefix}ocamlc.opt; ac_word=$2
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3225 $as_echo_n "checking for $ac_word... " >&6; }
3226 if ${ac_cv_prog_OCAMLCDOTOPT+:} false; then :
3227 $as_echo_n "(cached) " >&6
3228 else
3229 if test -n "$OCAMLCDOTOPT"; then
3230 ac_cv_prog_OCAMLCDOTOPT="$OCAMLCDOTOPT" # Let the user override the test.
3231 else
3232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3233 for as_dir in $PATH
3235 IFS=$as_save_IFS
3236 test -z "$as_dir" && as_dir=.
3237 for ac_exec_ext in '' $ac_executable_extensions; do
3238 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3239 ac_cv_prog_OCAMLCDOTOPT="${ac_tool_prefix}ocamlc.opt"
3240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3241 break 2
3243 done
3244 done
3245 IFS=$as_save_IFS
3249 OCAMLCDOTOPT=$ac_cv_prog_OCAMLCDOTOPT
3250 if test -n "$OCAMLCDOTOPT"; then
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLCDOTOPT" >&5
3252 $as_echo "$OCAMLCDOTOPT" >&6; }
3253 else
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3255 $as_echo "no" >&6; }
3260 if test -z "$ac_cv_prog_OCAMLCDOTOPT"; then
3261 ac_ct_OCAMLCDOTOPT=$OCAMLCDOTOPT
3262 # Extract the first word of "ocamlc.opt", so it can be a program name with args.
3263 set dummy ocamlc.opt; ac_word=$2
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3265 $as_echo_n "checking for $ac_word... " >&6; }
3266 if ${ac_cv_prog_ac_ct_OCAMLCDOTOPT+:} false; then :
3267 $as_echo_n "(cached) " >&6
3268 else
3269 if test -n "$ac_ct_OCAMLCDOTOPT"; then
3270 ac_cv_prog_ac_ct_OCAMLCDOTOPT="$ac_ct_OCAMLCDOTOPT" # Let the user override the test.
3271 else
3272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3273 for as_dir in $PATH
3275 IFS=$as_save_IFS
3276 test -z "$as_dir" && as_dir=.
3277 for ac_exec_ext in '' $ac_executable_extensions; do
3278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3279 ac_cv_prog_ac_ct_OCAMLCDOTOPT="ocamlc.opt"
3280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3281 break 2
3283 done
3284 done
3285 IFS=$as_save_IFS
3289 ac_ct_OCAMLCDOTOPT=$ac_cv_prog_ac_ct_OCAMLCDOTOPT
3290 if test -n "$ac_ct_OCAMLCDOTOPT"; then
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLCDOTOPT" >&5
3292 $as_echo "$ac_ct_OCAMLCDOTOPT" >&6; }
3293 else
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3295 $as_echo "no" >&6; }
3298 if test "x$ac_ct_OCAMLCDOTOPT" = x; then
3299 OCAMLCDOTOPT="no"
3300 else
3301 case $cross_compiling:$ac_tool_warned in
3302 yes:)
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3304 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3305 ac_tool_warned=yes ;;
3306 esac
3307 OCAMLCDOTOPT=$ac_ct_OCAMLCDOTOPT
3309 else
3310 OCAMLCDOTOPT="$ac_cv_prog_OCAMLCDOTOPT"
3313 if test "$OCAMLCDOTOPT" != "no"; then
3314 TMPVERSION=`$OCAMLCDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3315 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlc.opt discarded." >&5
3317 $as_echo "versions differs from ocamlc; ocamlc.opt discarded." >&6; }
3318 else
3319 OCAMLC=$OCAMLCDOTOPT
3323 # checking for ocamlopt.opt
3324 if test "$OCAMLOPT" != "no" ; then
3325 if test -n "$ac_tool_prefix"; then
3326 # Extract the first word of "${ac_tool_prefix}ocamlopt.opt", so it can be a program name with args.
3327 set dummy ${ac_tool_prefix}ocamlopt.opt; ac_word=$2
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3329 $as_echo_n "checking for $ac_word... " >&6; }
3330 if ${ac_cv_prog_OCAMLOPTDOTOPT+:} false; then :
3331 $as_echo_n "(cached) " >&6
3332 else
3333 if test -n "$OCAMLOPTDOTOPT"; then
3334 ac_cv_prog_OCAMLOPTDOTOPT="$OCAMLOPTDOTOPT" # Let the user override the test.
3335 else
3336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3337 for as_dir in $PATH
3339 IFS=$as_save_IFS
3340 test -z "$as_dir" && as_dir=.
3341 for ac_exec_ext in '' $ac_executable_extensions; do
3342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3343 ac_cv_prog_OCAMLOPTDOTOPT="${ac_tool_prefix}ocamlopt.opt"
3344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3345 break 2
3347 done
3348 done
3349 IFS=$as_save_IFS
3353 OCAMLOPTDOTOPT=$ac_cv_prog_OCAMLOPTDOTOPT
3354 if test -n "$OCAMLOPTDOTOPT"; then
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPTDOTOPT" >&5
3356 $as_echo "$OCAMLOPTDOTOPT" >&6; }
3357 else
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3359 $as_echo "no" >&6; }
3364 if test -z "$ac_cv_prog_OCAMLOPTDOTOPT"; then
3365 ac_ct_OCAMLOPTDOTOPT=$OCAMLOPTDOTOPT
3366 # Extract the first word of "ocamlopt.opt", so it can be a program name with args.
3367 set dummy ocamlopt.opt; ac_word=$2
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3369 $as_echo_n "checking for $ac_word... " >&6; }
3370 if ${ac_cv_prog_ac_ct_OCAMLOPTDOTOPT+:} false; then :
3371 $as_echo_n "(cached) " >&6
3372 else
3373 if test -n "$ac_ct_OCAMLOPTDOTOPT"; then
3374 ac_cv_prog_ac_ct_OCAMLOPTDOTOPT="$ac_ct_OCAMLOPTDOTOPT" # Let the user override the test.
3375 else
3376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3377 for as_dir in $PATH
3379 IFS=$as_save_IFS
3380 test -z "$as_dir" && as_dir=.
3381 for ac_exec_ext in '' $ac_executable_extensions; do
3382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3383 ac_cv_prog_ac_ct_OCAMLOPTDOTOPT="ocamlopt.opt"
3384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3385 break 2
3387 done
3388 done
3389 IFS=$as_save_IFS
3393 ac_ct_OCAMLOPTDOTOPT=$ac_cv_prog_ac_ct_OCAMLOPTDOTOPT
3394 if test -n "$ac_ct_OCAMLOPTDOTOPT"; then
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPTDOTOPT" >&5
3396 $as_echo "$ac_ct_OCAMLOPTDOTOPT" >&6; }
3397 else
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3399 $as_echo "no" >&6; }
3402 if test "x$ac_ct_OCAMLOPTDOTOPT" = x; then
3403 OCAMLOPTDOTOPT="no"
3404 else
3405 case $cross_compiling:$ac_tool_warned in
3406 yes:)
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3408 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3409 ac_tool_warned=yes ;;
3410 esac
3411 OCAMLOPTDOTOPT=$ac_ct_OCAMLOPTDOTOPT
3413 else
3414 OCAMLOPTDOTOPT="$ac_cv_prog_OCAMLOPTDOTOPT"
3417 if test "$OCAMLOPTDOTOPT" != "no"; then
3418 TMPVERSION=`$OCAMLOPTDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3419 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: version differs from ocamlc; ocamlopt.opt discarded." >&5
3421 $as_echo "version differs from ocamlc; ocamlopt.opt discarded." >&6; }
3422 else
3423 OCAMLOPT=$OCAMLOPTDOTOPT
3433 # checking for ocaml toplevel
3434 if test -n "$ac_tool_prefix"; then
3435 # Extract the first word of "${ac_tool_prefix}ocaml", so it can be a program name with args.
3436 set dummy ${ac_tool_prefix}ocaml; ac_word=$2
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3438 $as_echo_n "checking for $ac_word... " >&6; }
3439 if ${ac_cv_prog_OCAML+:} false; then :
3440 $as_echo_n "(cached) " >&6
3441 else
3442 if test -n "$OCAML"; then
3443 ac_cv_prog_OCAML="$OCAML" # Let the user override the test.
3444 else
3445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3446 for as_dir in $PATH
3448 IFS=$as_save_IFS
3449 test -z "$as_dir" && as_dir=.
3450 for ac_exec_ext in '' $ac_executable_extensions; do
3451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3452 ac_cv_prog_OCAML="${ac_tool_prefix}ocaml"
3453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3454 break 2
3456 done
3457 done
3458 IFS=$as_save_IFS
3462 OCAML=$ac_cv_prog_OCAML
3463 if test -n "$OCAML"; then
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAML" >&5
3465 $as_echo "$OCAML" >&6; }
3466 else
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3468 $as_echo "no" >&6; }
3473 if test -z "$ac_cv_prog_OCAML"; then
3474 ac_ct_OCAML=$OCAML
3475 # Extract the first word of "ocaml", so it can be a program name with args.
3476 set dummy ocaml; ac_word=$2
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3478 $as_echo_n "checking for $ac_word... " >&6; }
3479 if ${ac_cv_prog_ac_ct_OCAML+:} false; then :
3480 $as_echo_n "(cached) " >&6
3481 else
3482 if test -n "$ac_ct_OCAML"; then
3483 ac_cv_prog_ac_ct_OCAML="$ac_ct_OCAML" # Let the user override the test.
3484 else
3485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3486 for as_dir in $PATH
3488 IFS=$as_save_IFS
3489 test -z "$as_dir" && as_dir=.
3490 for ac_exec_ext in '' $ac_executable_extensions; do
3491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3492 ac_cv_prog_ac_ct_OCAML="ocaml"
3493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3494 break 2
3496 done
3497 done
3498 IFS=$as_save_IFS
3502 ac_ct_OCAML=$ac_cv_prog_ac_ct_OCAML
3503 if test -n "$ac_ct_OCAML"; then
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAML" >&5
3505 $as_echo "$ac_ct_OCAML" >&6; }
3506 else
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3508 $as_echo "no" >&6; }
3511 if test "x$ac_ct_OCAML" = x; then
3512 OCAML="no"
3513 else
3514 case $cross_compiling:$ac_tool_warned in
3515 yes:)
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3518 ac_tool_warned=yes ;;
3519 esac
3520 OCAML=$ac_ct_OCAML
3522 else
3523 OCAML="$ac_cv_prog_OCAML"
3527 # checking for ocamldep
3528 if test -n "$ac_tool_prefix"; then
3529 # Extract the first word of "${ac_tool_prefix}ocamldep", so it can be a program name with args.
3530 set dummy ${ac_tool_prefix}ocamldep; ac_word=$2
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3532 $as_echo_n "checking for $ac_word... " >&6; }
3533 if ${ac_cv_prog_OCAMLDEP+:} false; then :
3534 $as_echo_n "(cached) " >&6
3535 else
3536 if test -n "$OCAMLDEP"; then
3537 ac_cv_prog_OCAMLDEP="$OCAMLDEP" # Let the user override the test.
3538 else
3539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3540 for as_dir in $PATH
3542 IFS=$as_save_IFS
3543 test -z "$as_dir" && as_dir=.
3544 for ac_exec_ext in '' $ac_executable_extensions; do
3545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3546 ac_cv_prog_OCAMLDEP="${ac_tool_prefix}ocamldep"
3547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3548 break 2
3550 done
3551 done
3552 IFS=$as_save_IFS
3556 OCAMLDEP=$ac_cv_prog_OCAMLDEP
3557 if test -n "$OCAMLDEP"; then
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDEP" >&5
3559 $as_echo "$OCAMLDEP" >&6; }
3560 else
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3562 $as_echo "no" >&6; }
3567 if test -z "$ac_cv_prog_OCAMLDEP"; then
3568 ac_ct_OCAMLDEP=$OCAMLDEP
3569 # Extract the first word of "ocamldep", so it can be a program name with args.
3570 set dummy ocamldep; ac_word=$2
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3572 $as_echo_n "checking for $ac_word... " >&6; }
3573 if ${ac_cv_prog_ac_ct_OCAMLDEP+:} false; then :
3574 $as_echo_n "(cached) " >&6
3575 else
3576 if test -n "$ac_ct_OCAMLDEP"; then
3577 ac_cv_prog_ac_ct_OCAMLDEP="$ac_ct_OCAMLDEP" # Let the user override the test.
3578 else
3579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3580 for as_dir in $PATH
3582 IFS=$as_save_IFS
3583 test -z "$as_dir" && as_dir=.
3584 for ac_exec_ext in '' $ac_executable_extensions; do
3585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3586 ac_cv_prog_ac_ct_OCAMLDEP="ocamldep"
3587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3588 break 2
3590 done
3591 done
3592 IFS=$as_save_IFS
3596 ac_ct_OCAMLDEP=$ac_cv_prog_ac_ct_OCAMLDEP
3597 if test -n "$ac_ct_OCAMLDEP"; then
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDEP" >&5
3599 $as_echo "$ac_ct_OCAMLDEP" >&6; }
3600 else
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3602 $as_echo "no" >&6; }
3605 if test "x$ac_ct_OCAMLDEP" = x; then
3606 OCAMLDEP="no"
3607 else
3608 case $cross_compiling:$ac_tool_warned in
3609 yes:)
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3612 ac_tool_warned=yes ;;
3613 esac
3614 OCAMLDEP=$ac_ct_OCAMLDEP
3616 else
3617 OCAMLDEP="$ac_cv_prog_OCAMLDEP"
3621 # checking for ocamlmktop
3622 if test -n "$ac_tool_prefix"; then
3623 # Extract the first word of "${ac_tool_prefix}ocamlmktop", so it can be a program name with args.
3624 set dummy ${ac_tool_prefix}ocamlmktop; ac_word=$2
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3626 $as_echo_n "checking for $ac_word... " >&6; }
3627 if ${ac_cv_prog_OCAMLMKTOP+:} false; then :
3628 $as_echo_n "(cached) " >&6
3629 else
3630 if test -n "$OCAMLMKTOP"; then
3631 ac_cv_prog_OCAMLMKTOP="$OCAMLMKTOP" # Let the user override the test.
3632 else
3633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3634 for as_dir in $PATH
3636 IFS=$as_save_IFS
3637 test -z "$as_dir" && as_dir=.
3638 for ac_exec_ext in '' $ac_executable_extensions; do
3639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3640 ac_cv_prog_OCAMLMKTOP="${ac_tool_prefix}ocamlmktop"
3641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3642 break 2
3644 done
3645 done
3646 IFS=$as_save_IFS
3650 OCAMLMKTOP=$ac_cv_prog_OCAMLMKTOP
3651 if test -n "$OCAMLMKTOP"; then
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKTOP" >&5
3653 $as_echo "$OCAMLMKTOP" >&6; }
3654 else
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3656 $as_echo "no" >&6; }
3661 if test -z "$ac_cv_prog_OCAMLMKTOP"; then
3662 ac_ct_OCAMLMKTOP=$OCAMLMKTOP
3663 # Extract the first word of "ocamlmktop", so it can be a program name with args.
3664 set dummy ocamlmktop; ac_word=$2
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3666 $as_echo_n "checking for $ac_word... " >&6; }
3667 if ${ac_cv_prog_ac_ct_OCAMLMKTOP+:} false; then :
3668 $as_echo_n "(cached) " >&6
3669 else
3670 if test -n "$ac_ct_OCAMLMKTOP"; then
3671 ac_cv_prog_ac_ct_OCAMLMKTOP="$ac_ct_OCAMLMKTOP" # Let the user override the test.
3672 else
3673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3674 for as_dir in $PATH
3676 IFS=$as_save_IFS
3677 test -z "$as_dir" && as_dir=.
3678 for ac_exec_ext in '' $ac_executable_extensions; do
3679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3680 ac_cv_prog_ac_ct_OCAMLMKTOP="ocamlmktop"
3681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3682 break 2
3684 done
3685 done
3686 IFS=$as_save_IFS
3690 ac_ct_OCAMLMKTOP=$ac_cv_prog_ac_ct_OCAMLMKTOP
3691 if test -n "$ac_ct_OCAMLMKTOP"; then
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKTOP" >&5
3693 $as_echo "$ac_ct_OCAMLMKTOP" >&6; }
3694 else
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3696 $as_echo "no" >&6; }
3699 if test "x$ac_ct_OCAMLMKTOP" = x; then
3700 OCAMLMKTOP="no"
3701 else
3702 case $cross_compiling:$ac_tool_warned in
3703 yes:)
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3706 ac_tool_warned=yes ;;
3707 esac
3708 OCAMLMKTOP=$ac_ct_OCAMLMKTOP
3710 else
3711 OCAMLMKTOP="$ac_cv_prog_OCAMLMKTOP"
3715 # checking for ocamlmklib
3716 if test -n "$ac_tool_prefix"; then
3717 # Extract the first word of "${ac_tool_prefix}ocamlmklib", so it can be a program name with args.
3718 set dummy ${ac_tool_prefix}ocamlmklib; ac_word=$2
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3720 $as_echo_n "checking for $ac_word... " >&6; }
3721 if ${ac_cv_prog_OCAMLMKLIB+:} false; then :
3722 $as_echo_n "(cached) " >&6
3723 else
3724 if test -n "$OCAMLMKLIB"; then
3725 ac_cv_prog_OCAMLMKLIB="$OCAMLMKLIB" # Let the user override the test.
3726 else
3727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3728 for as_dir in $PATH
3730 IFS=$as_save_IFS
3731 test -z "$as_dir" && as_dir=.
3732 for ac_exec_ext in '' $ac_executable_extensions; do
3733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3734 ac_cv_prog_OCAMLMKLIB="${ac_tool_prefix}ocamlmklib"
3735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3736 break 2
3738 done
3739 done
3740 IFS=$as_save_IFS
3744 OCAMLMKLIB=$ac_cv_prog_OCAMLMKLIB
3745 if test -n "$OCAMLMKLIB"; then
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKLIB" >&5
3747 $as_echo "$OCAMLMKLIB" >&6; }
3748 else
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3750 $as_echo "no" >&6; }
3755 if test -z "$ac_cv_prog_OCAMLMKLIB"; then
3756 ac_ct_OCAMLMKLIB=$OCAMLMKLIB
3757 # Extract the first word of "ocamlmklib", so it can be a program name with args.
3758 set dummy ocamlmklib; ac_word=$2
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3760 $as_echo_n "checking for $ac_word... " >&6; }
3761 if ${ac_cv_prog_ac_ct_OCAMLMKLIB+:} false; then :
3762 $as_echo_n "(cached) " >&6
3763 else
3764 if test -n "$ac_ct_OCAMLMKLIB"; then
3765 ac_cv_prog_ac_ct_OCAMLMKLIB="$ac_ct_OCAMLMKLIB" # Let the user override the test.
3766 else
3767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3768 for as_dir in $PATH
3770 IFS=$as_save_IFS
3771 test -z "$as_dir" && as_dir=.
3772 for ac_exec_ext in '' $ac_executable_extensions; do
3773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3774 ac_cv_prog_ac_ct_OCAMLMKLIB="ocamlmklib"
3775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3776 break 2
3778 done
3779 done
3780 IFS=$as_save_IFS
3784 ac_ct_OCAMLMKLIB=$ac_cv_prog_ac_ct_OCAMLMKLIB
3785 if test -n "$ac_ct_OCAMLMKLIB"; then
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKLIB" >&5
3787 $as_echo "$ac_ct_OCAMLMKLIB" >&6; }
3788 else
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3790 $as_echo "no" >&6; }
3793 if test "x$ac_ct_OCAMLMKLIB" = x; then
3794 OCAMLMKLIB="no"
3795 else
3796 case $cross_compiling:$ac_tool_warned in
3797 yes:)
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3800 ac_tool_warned=yes ;;
3801 esac
3802 OCAMLMKLIB=$ac_ct_OCAMLMKLIB
3804 else
3805 OCAMLMKLIB="$ac_cv_prog_OCAMLMKLIB"
3809 # checking for ocamldoc
3810 if test -n "$ac_tool_prefix"; then
3811 # Extract the first word of "${ac_tool_prefix}ocamldoc", so it can be a program name with args.
3812 set dummy ${ac_tool_prefix}ocamldoc; ac_word=$2
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3814 $as_echo_n "checking for $ac_word... " >&6; }
3815 if ${ac_cv_prog_OCAMLDOC+:} false; then :
3816 $as_echo_n "(cached) " >&6
3817 else
3818 if test -n "$OCAMLDOC"; then
3819 ac_cv_prog_OCAMLDOC="$OCAMLDOC" # Let the user override the test.
3820 else
3821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3822 for as_dir in $PATH
3824 IFS=$as_save_IFS
3825 test -z "$as_dir" && as_dir=.
3826 for ac_exec_ext in '' $ac_executable_extensions; do
3827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3828 ac_cv_prog_OCAMLDOC="${ac_tool_prefix}ocamldoc"
3829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3830 break 2
3832 done
3833 done
3834 IFS=$as_save_IFS
3838 OCAMLDOC=$ac_cv_prog_OCAMLDOC
3839 if test -n "$OCAMLDOC"; then
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDOC" >&5
3841 $as_echo "$OCAMLDOC" >&6; }
3842 else
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3844 $as_echo "no" >&6; }
3849 if test -z "$ac_cv_prog_OCAMLDOC"; then
3850 ac_ct_OCAMLDOC=$OCAMLDOC
3851 # Extract the first word of "ocamldoc", so it can be a program name with args.
3852 set dummy ocamldoc; ac_word=$2
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3854 $as_echo_n "checking for $ac_word... " >&6; }
3855 if ${ac_cv_prog_ac_ct_OCAMLDOC+:} false; then :
3856 $as_echo_n "(cached) " >&6
3857 else
3858 if test -n "$ac_ct_OCAMLDOC"; then
3859 ac_cv_prog_ac_ct_OCAMLDOC="$ac_ct_OCAMLDOC" # Let the user override the test.
3860 else
3861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3862 for as_dir in $PATH
3864 IFS=$as_save_IFS
3865 test -z "$as_dir" && as_dir=.
3866 for ac_exec_ext in '' $ac_executable_extensions; do
3867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3868 ac_cv_prog_ac_ct_OCAMLDOC="ocamldoc"
3869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3870 break 2
3872 done
3873 done
3874 IFS=$as_save_IFS
3878 ac_ct_OCAMLDOC=$ac_cv_prog_ac_ct_OCAMLDOC
3879 if test -n "$ac_ct_OCAMLDOC"; then
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDOC" >&5
3881 $as_echo "$ac_ct_OCAMLDOC" >&6; }
3882 else
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3884 $as_echo "no" >&6; }
3887 if test "x$ac_ct_OCAMLDOC" = x; then
3888 OCAMLDOC="no"
3889 else
3890 case $cross_compiling:$ac_tool_warned in
3891 yes:)
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3894 ac_tool_warned=yes ;;
3895 esac
3896 OCAMLDOC=$ac_ct_OCAMLDOC
3898 else
3899 OCAMLDOC="$ac_cv_prog_OCAMLDOC"
3903 # checking for ocamlbuild
3904 if test -n "$ac_tool_prefix"; then
3905 # Extract the first word of "${ac_tool_prefix}ocamlbuild", so it can be a program name with args.
3906 set dummy ${ac_tool_prefix}ocamlbuild; ac_word=$2
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3908 $as_echo_n "checking for $ac_word... " >&6; }
3909 if ${ac_cv_prog_OCAMLBUILD+:} false; then :
3910 $as_echo_n "(cached) " >&6
3911 else
3912 if test -n "$OCAMLBUILD"; then
3913 ac_cv_prog_OCAMLBUILD="$OCAMLBUILD" # Let the user override the test.
3914 else
3915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3916 for as_dir in $PATH
3918 IFS=$as_save_IFS
3919 test -z "$as_dir" && as_dir=.
3920 for ac_exec_ext in '' $ac_executable_extensions; do
3921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3922 ac_cv_prog_OCAMLBUILD="${ac_tool_prefix}ocamlbuild"
3923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3924 break 2
3926 done
3927 done
3928 IFS=$as_save_IFS
3932 OCAMLBUILD=$ac_cv_prog_OCAMLBUILD
3933 if test -n "$OCAMLBUILD"; then
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLBUILD" >&5
3935 $as_echo "$OCAMLBUILD" >&6; }
3936 else
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3938 $as_echo "no" >&6; }
3943 if test -z "$ac_cv_prog_OCAMLBUILD"; then
3944 ac_ct_OCAMLBUILD=$OCAMLBUILD
3945 # Extract the first word of "ocamlbuild", so it can be a program name with args.
3946 set dummy ocamlbuild; ac_word=$2
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3948 $as_echo_n "checking for $ac_word... " >&6; }
3949 if ${ac_cv_prog_ac_ct_OCAMLBUILD+:} false; then :
3950 $as_echo_n "(cached) " >&6
3951 else
3952 if test -n "$ac_ct_OCAMLBUILD"; then
3953 ac_cv_prog_ac_ct_OCAMLBUILD="$ac_ct_OCAMLBUILD" # Let the user override the test.
3954 else
3955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3956 for as_dir in $PATH
3958 IFS=$as_save_IFS
3959 test -z "$as_dir" && as_dir=.
3960 for ac_exec_ext in '' $ac_executable_extensions; do
3961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3962 ac_cv_prog_ac_ct_OCAMLBUILD="ocamlbuild"
3963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3964 break 2
3966 done
3967 done
3968 IFS=$as_save_IFS
3972 ac_ct_OCAMLBUILD=$ac_cv_prog_ac_ct_OCAMLBUILD
3973 if test -n "$ac_ct_OCAMLBUILD"; then
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLBUILD" >&5
3975 $as_echo "$ac_ct_OCAMLBUILD" >&6; }
3976 else
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3978 $as_echo "no" >&6; }
3981 if test "x$ac_ct_OCAMLBUILD" = x; then
3982 OCAMLBUILD="no"
3983 else
3984 case $cross_compiling:$ac_tool_warned in
3985 yes:)
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3987 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3988 ac_tool_warned=yes ;;
3989 esac
3990 OCAMLBUILD=$ac_ct_OCAMLBUILD
3992 else
3993 OCAMLBUILD="$ac_cv_prog_OCAMLBUILD"
3998 # checking for ocamlfind
3999 if test -n "$ac_tool_prefix"; then
4000 # Extract the first word of "${ac_tool_prefix}ocamlfind", so it can be a program name with args.
4001 set dummy ${ac_tool_prefix}ocamlfind; ac_word=$2
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4003 $as_echo_n "checking for $ac_word... " >&6; }
4004 if ${ac_cv_prog_OCAMLFIND+:} false; then :
4005 $as_echo_n "(cached) " >&6
4006 else
4007 if test -n "$OCAMLFIND"; then
4008 ac_cv_prog_OCAMLFIND="$OCAMLFIND" # Let the user override the test.
4009 else
4010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4011 for as_dir in $PATH
4013 IFS=$as_save_IFS
4014 test -z "$as_dir" && as_dir=.
4015 for ac_exec_ext in '' $ac_executable_extensions; do
4016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4017 ac_cv_prog_OCAMLFIND="${ac_tool_prefix}ocamlfind"
4018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4019 break 2
4021 done
4022 done
4023 IFS=$as_save_IFS
4027 OCAMLFIND=$ac_cv_prog_OCAMLFIND
4028 if test -n "$OCAMLFIND"; then
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLFIND" >&5
4030 $as_echo "$OCAMLFIND" >&6; }
4031 else
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4033 $as_echo "no" >&6; }
4038 if test -z "$ac_cv_prog_OCAMLFIND"; then
4039 ac_ct_OCAMLFIND=$OCAMLFIND
4040 # Extract the first word of "ocamlfind", so it can be a program name with args.
4041 set dummy ocamlfind; ac_word=$2
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4043 $as_echo_n "checking for $ac_word... " >&6; }
4044 if ${ac_cv_prog_ac_ct_OCAMLFIND+:} false; then :
4045 $as_echo_n "(cached) " >&6
4046 else
4047 if test -n "$ac_ct_OCAMLFIND"; then
4048 ac_cv_prog_ac_ct_OCAMLFIND="$ac_ct_OCAMLFIND" # Let the user override the test.
4049 else
4050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4051 for as_dir in $PATH
4053 IFS=$as_save_IFS
4054 test -z "$as_dir" && as_dir=.
4055 for ac_exec_ext in '' $ac_executable_extensions; do
4056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4057 ac_cv_prog_ac_ct_OCAMLFIND="ocamlfind"
4058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4059 break 2
4061 done
4062 done
4063 IFS=$as_save_IFS
4067 ac_ct_OCAMLFIND=$ac_cv_prog_ac_ct_OCAMLFIND
4068 if test -n "$ac_ct_OCAMLFIND"; then
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLFIND" >&5
4070 $as_echo "$ac_ct_OCAMLFIND" >&6; }
4071 else
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4073 $as_echo "no" >&6; }
4076 if test "x$ac_ct_OCAMLFIND" = x; then
4077 OCAMLFIND="no"
4078 else
4079 case $cross_compiling:$ac_tool_warned in
4080 yes:)
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4083 ac_tool_warned=yes ;;
4084 esac
4085 OCAMLFIND=$ac_ct_OCAMLFIND
4087 else
4088 OCAMLFIND="$ac_cv_prog_OCAMLFIND"
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package bytes" >&5
4096 $as_echo_n "checking for OCaml findlib package bytes... " >&6; }
4098 unset found
4099 unset pkg
4100 found=no
4101 for pkg in bytes ; do
4102 if $OCAMLFIND query $pkg >/dev/null 2>/dev/null; then
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
4104 $as_echo "found" >&6; }
4105 OCAML_PKG_bytes=$pkg
4106 found=yes
4107 break
4109 done
4110 if test "$found" = "no" ; then
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
4112 $as_echo "not found" >&6; }
4113 OCAML_PKG_bytes=no
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package lwt.unix" >&5
4120 $as_echo_n "checking for OCaml findlib package lwt.unix... " >&6; }
4122 unset found
4123 unset pkg
4124 found=no
4125 for pkg in lwt.unix ; do
4126 if $OCAMLFIND query $pkg >/dev/null 2>/dev/null; then
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
4128 $as_echo "found" >&6; }
4129 OCAML_PKG_lwt_unix=$pkg
4130 found=yes
4131 break
4133 done
4134 if test "$found" = "no" ; then
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
4136 $as_echo "not found" >&6; }
4137 OCAML_PKG_lwt_unix=no
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package lwt_ppx" >&5
4144 $as_echo_n "checking for OCaml findlib package lwt_ppx... " >&6; }
4146 unset found
4147 unset pkg
4148 found=no
4149 for pkg in lwt_ppx lwt.ppx ; do
4150 if $OCAMLFIND query $pkg >/dev/null 2>/dev/null; then
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
4152 $as_echo "found" >&6; }
4153 OCAML_PKG_lwt_ppx=$pkg
4154 found=yes
4155 break
4157 done
4158 if test "$found" = "no" ; then
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
4160 $as_echo "not found" >&6; }
4161 OCAML_PKG_lwt_ppx=no
4167 INSTALLDIR=$OCAMLLIB/curl
4169 if test "x$prefix" = xNONE; then
4170 $as_echo_n "checking for prefix by " >&6
4171 # Extract the first word of "ocamlc", so it can be a program name with args.
4172 set dummy ocamlc; ac_word=$2
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4174 $as_echo_n "checking for $ac_word... " >&6; }
4175 if ${ac_cv_path_ac_prefix_program+:} false; then :
4176 $as_echo_n "(cached) " >&6
4177 else
4178 case $ac_prefix_program in
4179 [\\/]* | ?:[\\/]*)
4180 ac_cv_path_ac_prefix_program="$ac_prefix_program" # Let the user override the test with a path.
4183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4184 for as_dir in $PATH
4186 IFS=$as_save_IFS
4187 test -z "$as_dir" && as_dir=.
4188 for ac_exec_ext in '' $ac_executable_extensions; do
4189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4190 ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
4191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4192 break 2
4194 done
4195 done
4196 IFS=$as_save_IFS
4199 esac
4201 ac_prefix_program=$ac_cv_path_ac_prefix_program
4202 if test -n "$ac_prefix_program"; then
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prefix_program" >&5
4204 $as_echo "$ac_prefix_program" >&6; }
4205 else
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4207 $as_echo "no" >&6; }
4211 if test -n "$ac_prefix_program"; then
4212 prefix=`$as_dirname -- "$ac_prefix_program" ||
4213 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4214 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
4215 X"$ac_prefix_program" : 'X\(//\)$' \| \
4216 X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
4217 $as_echo X"$ac_prefix_program" |
4218 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4219 s//\1/
4222 /^X\(\/\/\)[^/].*/{
4223 s//\1/
4226 /^X\(\/\/\)$/{
4227 s//\1/
4230 /^X\(\/\).*/{
4231 s//\1/
4234 s/.*/./; q'`
4235 prefix=`$as_dirname -- "$prefix" ||
4236 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4237 X"$prefix" : 'X\(//\)[^/]' \| \
4238 X"$prefix" : 'X\(//\)$' \| \
4239 X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
4240 $as_echo X"$prefix" |
4241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4242 s//\1/
4245 /^X\(\/\/\)[^/].*/{
4246 s//\1/
4249 /^X\(\/\/\)$/{
4250 s//\1/
4253 /^X\(\/\).*/{
4254 s//\1/
4257 s/.*/./; q'`
4270 if test "$OCAMLFIND" == "no"; then :
4271 $OCAMLC -I +compiler-libs ocamlcommon.cma print_ext.ml -o print_ext
4272 else
4273 $OCAMLFIND c -linkpkg -package compiler-libs.common print_ext.ml -o print_ext
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bin-annot support" >&5
4277 $as_echo_n "checking for bin-annot support... " >&6; }
4278 if test "$OCAMLVERSION" \> "4"; then :
4279 OCAML_HAS_BIN_ANNOT=yes
4280 else
4281 OCAML_HAS_BIN_ANNOT=no
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAML_HAS_BIN_ANNOT" >&5
4284 $as_echo "$OCAML_HAS_BIN_ANNOT" >&6; }
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext_dll" >&5
4289 $as_echo_n "checking for ext_dll... " >&6; }
4290 EXT_DLL=`./print_ext dll || $OCAMLC -config | fgrep ext_dll | sed -e "s/.*: //"`
4291 if test "$?" -eq 0 ; then :
4293 else
4294 as_fn_error $? "failed" "$LINENO" 5
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXT_DLL" >&5
4297 $as_echo "$EXT_DLL" >&6; }
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext_lib" >&5
4300 $as_echo_n "checking for ext_lib... " >&6; }
4301 EXT_LIB=`./print_ext lib || $OCAMLC -config | fgrep ext_lib | sed -e "s/.*: //"`
4302 if test "$?" -eq 0 ; then :
4304 else
4305 as_fn_error $? "failed" "$LINENO" 5
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXT_LIB" >&5
4308 $as_echo "$EXT_LIB" >&6; }
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext_obj" >&5
4311 $as_echo_n "checking for ext_obj... " >&6; }
4312 EXT_OBJ=`./print_ext obj || $OCAMLC -config | fgrep ext_obj | sed -e "s/.*: //"`
4313 if test "$?" -eq 0 ; then :
4315 else
4316 as_fn_error $? "failed" "$LINENO" 5
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXT_OBJ" >&5
4319 $as_echo "$EXT_OBJ" >&6; }
4325 # set CFLAGS for tests below
4326 CFLAGS="$CFLAGS $CURLCFLAGS"
4329 ac_ext=c
4330 ac_cpp='$CPP $CPPFLAGS'
4331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4335 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4336 # On Suns, sometimes $CPP names a directory.
4337 if test -n "$CPP" && test -d "$CPP"; then
4338 CPP=
4340 if test -z "$CPP"; then
4341 if ${ac_cv_prog_CPP+:} false; then :
4342 $as_echo_n "(cached) " >&6
4343 else
4344 # Double quotes because CPP needs to be expanded
4345 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4347 ac_preproc_ok=false
4348 for ac_c_preproc_warn_flag in '' yes
4350 # Use a header file that comes with gcc, so configuring glibc
4351 # with a fresh cross-compiler works.
4352 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4353 # <limits.h> exists even on freestanding compilers.
4354 # On the NeXT, cc -E runs the code through the compiler's parser,
4355 # not just through cpp. "Syntax error" is here to catch this case.
4356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4357 /* end confdefs.h. */
4358 #ifdef __STDC__
4359 # include <limits.h>
4360 #else
4361 # include <assert.h>
4362 #endif
4363 Syntax error
4364 _ACEOF
4365 if ac_fn_c_try_cpp "$LINENO"; then :
4367 else
4368 # Broken: fails on valid input.
4369 continue
4371 rm -f conftest.err conftest.i conftest.$ac_ext
4373 # OK, works on sane cases. Now check whether nonexistent headers
4374 # can be detected and how.
4375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4376 /* end confdefs.h. */
4377 #include <ac_nonexistent.h>
4378 _ACEOF
4379 if ac_fn_c_try_cpp "$LINENO"; then :
4380 # Broken: success on invalid input.
4381 continue
4382 else
4383 # Passes both tests.
4384 ac_preproc_ok=:
4385 break
4387 rm -f conftest.err conftest.i conftest.$ac_ext
4389 done
4390 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4391 rm -f conftest.i conftest.err conftest.$ac_ext
4392 if $ac_preproc_ok; then :
4393 break
4396 done
4397 ac_cv_prog_CPP=$CPP
4400 CPP=$ac_cv_prog_CPP
4401 else
4402 ac_cv_prog_CPP=$CPP
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4405 $as_echo "$CPP" >&6; }
4406 ac_preproc_ok=false
4407 for ac_c_preproc_warn_flag in '' yes
4409 # Use a header file that comes with gcc, so configuring glibc
4410 # with a fresh cross-compiler works.
4411 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4412 # <limits.h> exists even on freestanding compilers.
4413 # On the NeXT, cc -E runs the code through the compiler's parser,
4414 # not just through cpp. "Syntax error" is here to catch this case.
4415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4416 /* end confdefs.h. */
4417 #ifdef __STDC__
4418 # include <limits.h>
4419 #else
4420 # include <assert.h>
4421 #endif
4422 Syntax error
4423 _ACEOF
4424 if ac_fn_c_try_cpp "$LINENO"; then :
4426 else
4427 # Broken: fails on valid input.
4428 continue
4430 rm -f conftest.err conftest.i conftest.$ac_ext
4432 # OK, works on sane cases. Now check whether nonexistent headers
4433 # can be detected and how.
4434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4435 /* end confdefs.h. */
4436 #include <ac_nonexistent.h>
4437 _ACEOF
4438 if ac_fn_c_try_cpp "$LINENO"; then :
4439 # Broken: success on invalid input.
4440 continue
4441 else
4442 # Passes both tests.
4443 ac_preproc_ok=:
4444 break
4446 rm -f conftest.err conftest.i conftest.$ac_ext
4448 done
4449 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4450 rm -f conftest.i conftest.err conftest.$ac_ext
4451 if $ac_preproc_ok; then :
4453 else
4454 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4456 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4457 See \`config.log' for more details" "$LINENO" 5; }
4460 ac_ext=c
4461 ac_cpp='$CPP $CPPFLAGS'
4462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4468 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4469 if ${ac_cv_path_GREP+:} false; then :
4470 $as_echo_n "(cached) " >&6
4471 else
4472 if test -z "$GREP"; then
4473 ac_path_GREP_found=false
4474 # Loop through the user's path and test for each of PROGNAME-LIST
4475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4476 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4478 IFS=$as_save_IFS
4479 test -z "$as_dir" && as_dir=.
4480 for ac_prog in grep ggrep; do
4481 for ac_exec_ext in '' $ac_executable_extensions; do
4482 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4483 as_fn_executable_p "$ac_path_GREP" || continue
4484 # Check for GNU ac_path_GREP and select it if it is found.
4485 # Check for GNU $ac_path_GREP
4486 case `"$ac_path_GREP" --version 2>&1` in
4487 *GNU*)
4488 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4490 ac_count=0
4491 $as_echo_n 0123456789 >"conftest.in"
4492 while :
4494 cat "conftest.in" "conftest.in" >"conftest.tmp"
4495 mv "conftest.tmp" "conftest.in"
4496 cp "conftest.in" "conftest.nl"
4497 $as_echo 'GREP' >> "conftest.nl"
4498 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4499 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4500 as_fn_arith $ac_count + 1 && ac_count=$as_val
4501 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4502 # Best one so far, save it but keep looking for a better one
4503 ac_cv_path_GREP="$ac_path_GREP"
4504 ac_path_GREP_max=$ac_count
4506 # 10*(2^10) chars as input seems more than enough
4507 test $ac_count -gt 10 && break
4508 done
4509 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4510 esac
4512 $ac_path_GREP_found && break 3
4513 done
4514 done
4515 done
4516 IFS=$as_save_IFS
4517 if test -z "$ac_cv_path_GREP"; then
4518 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4520 else
4521 ac_cv_path_GREP=$GREP
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4526 $as_echo "$ac_cv_path_GREP" >&6; }
4527 GREP="$ac_cv_path_GREP"
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4531 $as_echo_n "checking for egrep... " >&6; }
4532 if ${ac_cv_path_EGREP+:} false; then :
4533 $as_echo_n "(cached) " >&6
4534 else
4535 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4536 then ac_cv_path_EGREP="$GREP -E"
4537 else
4538 if test -z "$EGREP"; then
4539 ac_path_EGREP_found=false
4540 # Loop through the user's path and test for each of PROGNAME-LIST
4541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4542 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4544 IFS=$as_save_IFS
4545 test -z "$as_dir" && as_dir=.
4546 for ac_prog in egrep; do
4547 for ac_exec_ext in '' $ac_executable_extensions; do
4548 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4549 as_fn_executable_p "$ac_path_EGREP" || continue
4550 # Check for GNU ac_path_EGREP and select it if it is found.
4551 # Check for GNU $ac_path_EGREP
4552 case `"$ac_path_EGREP" --version 2>&1` in
4553 *GNU*)
4554 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4556 ac_count=0
4557 $as_echo_n 0123456789 >"conftest.in"
4558 while :
4560 cat "conftest.in" "conftest.in" >"conftest.tmp"
4561 mv "conftest.tmp" "conftest.in"
4562 cp "conftest.in" "conftest.nl"
4563 $as_echo 'EGREP' >> "conftest.nl"
4564 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4565 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4566 as_fn_arith $ac_count + 1 && ac_count=$as_val
4567 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4568 # Best one so far, save it but keep looking for a better one
4569 ac_cv_path_EGREP="$ac_path_EGREP"
4570 ac_path_EGREP_max=$ac_count
4572 # 10*(2^10) chars as input seems more than enough
4573 test $ac_count -gt 10 && break
4574 done
4575 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4576 esac
4578 $ac_path_EGREP_found && break 3
4579 done
4580 done
4581 done
4582 IFS=$as_save_IFS
4583 if test -z "$ac_cv_path_EGREP"; then
4584 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4586 else
4587 ac_cv_path_EGREP=$EGREP
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4593 $as_echo "$ac_cv_path_EGREP" >&6; }
4594 EGREP="$ac_cv_path_EGREP"
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4598 $as_echo_n "checking for ANSI C header files... " >&6; }
4599 if ${ac_cv_header_stdc+:} false; then :
4600 $as_echo_n "(cached) " >&6
4601 else
4602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4603 /* end confdefs.h. */
4604 #include <stdlib.h>
4605 #include <stdarg.h>
4606 #include <string.h>
4607 #include <float.h>
4610 main ()
4614 return 0;
4616 _ACEOF
4617 if ac_fn_c_try_compile "$LINENO"; then :
4618 ac_cv_header_stdc=yes
4619 else
4620 ac_cv_header_stdc=no
4622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4624 if test $ac_cv_header_stdc = yes; then
4625 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4627 /* end confdefs.h. */
4628 #include <string.h>
4630 _ACEOF
4631 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4632 $EGREP "memchr" >/dev/null 2>&1; then :
4634 else
4635 ac_cv_header_stdc=no
4637 rm -f conftest*
4641 if test $ac_cv_header_stdc = yes; then
4642 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4644 /* end confdefs.h. */
4645 #include <stdlib.h>
4647 _ACEOF
4648 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4649 $EGREP "free" >/dev/null 2>&1; then :
4651 else
4652 ac_cv_header_stdc=no
4654 rm -f conftest*
4658 if test $ac_cv_header_stdc = yes; then
4659 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4660 if test "$cross_compiling" = yes; then :
4662 else
4663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4664 /* end confdefs.h. */
4665 #include <ctype.h>
4666 #include <stdlib.h>
4667 #if ((' ' & 0x0FF) == 0x020)
4668 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4669 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4670 #else
4671 # define ISLOWER(c) \
4672 (('a' <= (c) && (c) <= 'i') \
4673 || ('j' <= (c) && (c) <= 'r') \
4674 || ('s' <= (c) && (c) <= 'z'))
4675 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4676 #endif
4678 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4680 main ()
4682 int i;
4683 for (i = 0; i < 256; i++)
4684 if (XOR (islower (i), ISLOWER (i))
4685 || toupper (i) != TOUPPER (i))
4686 return 2;
4687 return 0;
4689 _ACEOF
4690 if ac_fn_c_try_run "$LINENO"; then :
4692 else
4693 ac_cv_header_stdc=no
4695 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4696 conftest.$ac_objext conftest.beam conftest.$ac_ext
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4702 $as_echo "$ac_cv_header_stdc" >&6; }
4703 if test $ac_cv_header_stdc = yes; then
4705 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4709 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4710 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4711 inttypes.h stdint.h unistd.h
4712 do :
4713 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4714 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4716 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4717 cat >>confdefs.h <<_ACEOF
4718 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4719 _ACEOF
4723 done
4726 for ac_header in curl/curl.h
4727 do :
4728 ac_fn_c_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
4729 if test "x$ac_cv_header_curl_curl_h" = xyes; then :
4730 cat >>confdefs.h <<_ACEOF
4731 #define HAVE_CURL_CURL_H 1
4732 _ACEOF
4734 else
4735 as_fn_error $? "libcurl header file missing" "$LINENO" 5
4738 done
4741 ac_fn_c_check_decl "$LINENO" "CURLMOPT_TIMERFUNCTION" "ac_cv_have_decl_CURLMOPT_TIMERFUNCTION" "
4742 #include \"curl/curl.h\"
4745 if test "x$ac_cv_have_decl_CURLMOPT_TIMERFUNCTION" = xyes; then :
4746 ac_have_decl=1
4747 else
4748 ac_have_decl=0
4751 cat >>confdefs.h <<_ACEOF
4752 #define HAVE_DECL_CURLMOPT_TIMERFUNCTION $ac_have_decl
4753 _ACEOF
4754 if test $ac_have_decl = 1; then :
4756 else
4757 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4759 ac_fn_c_check_decl "$LINENO" "CURLMOPT_TIMERDATA" "ac_cv_have_decl_CURLMOPT_TIMERDATA" "
4760 #include \"curl/curl.h\"
4763 if test "x$ac_cv_have_decl_CURLMOPT_TIMERDATA" = xyes; then :
4764 ac_have_decl=1
4765 else
4766 ac_have_decl=0
4769 cat >>confdefs.h <<_ACEOF
4770 #define HAVE_DECL_CURLMOPT_TIMERDATA $ac_have_decl
4771 _ACEOF
4772 if test $ac_have_decl = 1; then :
4774 else
4775 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4777 ac_fn_c_check_decl "$LINENO" "CURLMOPT_SOCKETFUNCTION" "ac_cv_have_decl_CURLMOPT_SOCKETFUNCTION" "
4778 #include \"curl/curl.h\"
4781 if test "x$ac_cv_have_decl_CURLMOPT_SOCKETFUNCTION" = xyes; then :
4782 ac_have_decl=1
4783 else
4784 ac_have_decl=0
4787 cat >>confdefs.h <<_ACEOF
4788 #define HAVE_DECL_CURLMOPT_SOCKETFUNCTION $ac_have_decl
4789 _ACEOF
4790 if test $ac_have_decl = 1; then :
4792 else
4793 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4795 ac_fn_c_check_decl "$LINENO" "CURLMOPT_SOCKETDATA" "ac_cv_have_decl_CURLMOPT_SOCKETDATA" "
4796 #include \"curl/curl.h\"
4799 if test "x$ac_cv_have_decl_CURLMOPT_SOCKETDATA" = xyes; then :
4800 ac_have_decl=1
4801 else
4802 ac_have_decl=0
4805 cat >>confdefs.h <<_ACEOF
4806 #define HAVE_DECL_CURLMOPT_SOCKETDATA $ac_have_decl
4807 _ACEOF
4808 if test $ac_have_decl = 1; then :
4810 else
4811 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4815 ac_fn_c_check_decl "$LINENO" "CURLOPT_FILE" "ac_cv_have_decl_CURLOPT_FILE" "
4816 #include \"curl/curl.h\"
4819 if test "x$ac_cv_have_decl_CURLOPT_FILE" = xyes; then :
4820 ac_have_decl=1
4821 else
4822 ac_have_decl=0
4825 cat >>confdefs.h <<_ACEOF
4826 #define HAVE_DECL_CURLOPT_FILE $ac_have_decl
4827 _ACEOF
4828 ac_fn_c_check_decl "$LINENO" "CURLOPT_URL" "ac_cv_have_decl_CURLOPT_URL" "
4829 #include \"curl/curl.h\"
4832 if test "x$ac_cv_have_decl_CURLOPT_URL" = xyes; then :
4833 ac_have_decl=1
4834 else
4835 ac_have_decl=0
4838 cat >>confdefs.h <<_ACEOF
4839 #define HAVE_DECL_CURLOPT_URL $ac_have_decl
4840 _ACEOF
4841 ac_fn_c_check_decl "$LINENO" "CURLOPT_PORT" "ac_cv_have_decl_CURLOPT_PORT" "
4842 #include \"curl/curl.h\"
4845 if test "x$ac_cv_have_decl_CURLOPT_PORT" = xyes; then :
4846 ac_have_decl=1
4847 else
4848 ac_have_decl=0
4851 cat >>confdefs.h <<_ACEOF
4852 #define HAVE_DECL_CURLOPT_PORT $ac_have_decl
4853 _ACEOF
4854 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXY" "ac_cv_have_decl_CURLOPT_PROXY" "
4855 #include \"curl/curl.h\"
4858 if test "x$ac_cv_have_decl_CURLOPT_PROXY" = xyes; then :
4859 ac_have_decl=1
4860 else
4861 ac_have_decl=0
4864 cat >>confdefs.h <<_ACEOF
4865 #define HAVE_DECL_CURLOPT_PROXY $ac_have_decl
4866 _ACEOF
4867 ac_fn_c_check_decl "$LINENO" "CURLOPT_USERPWD" "ac_cv_have_decl_CURLOPT_USERPWD" "
4868 #include \"curl/curl.h\"
4871 if test "x$ac_cv_have_decl_CURLOPT_USERPWD" = xyes; then :
4872 ac_have_decl=1
4873 else
4874 ac_have_decl=0
4877 cat >>confdefs.h <<_ACEOF
4878 #define HAVE_DECL_CURLOPT_USERPWD $ac_have_decl
4879 _ACEOF
4880 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYUSERPWD" "ac_cv_have_decl_CURLOPT_PROXYUSERPWD" "
4881 #include \"curl/curl.h\"
4884 if test "x$ac_cv_have_decl_CURLOPT_PROXYUSERPWD" = xyes; then :
4885 ac_have_decl=1
4886 else
4887 ac_have_decl=0
4890 cat >>confdefs.h <<_ACEOF
4891 #define HAVE_DECL_CURLOPT_PROXYUSERPWD $ac_have_decl
4892 _ACEOF
4893 ac_fn_c_check_decl "$LINENO" "CURLOPT_RANGE" "ac_cv_have_decl_CURLOPT_RANGE" "
4894 #include \"curl/curl.h\"
4897 if test "x$ac_cv_have_decl_CURLOPT_RANGE" = xyes; then :
4898 ac_have_decl=1
4899 else
4900 ac_have_decl=0
4903 cat >>confdefs.h <<_ACEOF
4904 #define HAVE_DECL_CURLOPT_RANGE $ac_have_decl
4905 _ACEOF
4906 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILE" "ac_cv_have_decl_CURLOPT_INFILE" "
4907 #include \"curl/curl.h\"
4910 if test "x$ac_cv_have_decl_CURLOPT_INFILE" = xyes; then :
4911 ac_have_decl=1
4912 else
4913 ac_have_decl=0
4916 cat >>confdefs.h <<_ACEOF
4917 #define HAVE_DECL_CURLOPT_INFILE $ac_have_decl
4918 _ACEOF
4919 ac_fn_c_check_decl "$LINENO" "CURLOPT_ERRORBUFFER" "ac_cv_have_decl_CURLOPT_ERRORBUFFER" "
4920 #include \"curl/curl.h\"
4923 if test "x$ac_cv_have_decl_CURLOPT_ERRORBUFFER" = xyes; then :
4924 ac_have_decl=1
4925 else
4926 ac_have_decl=0
4929 cat >>confdefs.h <<_ACEOF
4930 #define HAVE_DECL_CURLOPT_ERRORBUFFER $ac_have_decl
4931 _ACEOF
4932 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEFUNCTION" "ac_cv_have_decl_CURLOPT_WRITEFUNCTION" "
4933 #include \"curl/curl.h\"
4936 if test "x$ac_cv_have_decl_CURLOPT_WRITEFUNCTION" = xyes; then :
4937 ac_have_decl=1
4938 else
4939 ac_have_decl=0
4942 cat >>confdefs.h <<_ACEOF
4943 #define HAVE_DECL_CURLOPT_WRITEFUNCTION $ac_have_decl
4944 _ACEOF
4945 ac_fn_c_check_decl "$LINENO" "CURLOPT_READFUNCTION" "ac_cv_have_decl_CURLOPT_READFUNCTION" "
4946 #include \"curl/curl.h\"
4949 if test "x$ac_cv_have_decl_CURLOPT_READFUNCTION" = xyes; then :
4950 ac_have_decl=1
4951 else
4952 ac_have_decl=0
4955 cat >>confdefs.h <<_ACEOF
4956 #define HAVE_DECL_CURLOPT_READFUNCTION $ac_have_decl
4957 _ACEOF
4958 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEOUT" "ac_cv_have_decl_CURLOPT_TIMEOUT" "
4959 #include \"curl/curl.h\"
4962 if test "x$ac_cv_have_decl_CURLOPT_TIMEOUT" = xyes; then :
4963 ac_have_decl=1
4964 else
4965 ac_have_decl=0
4968 cat >>confdefs.h <<_ACEOF
4969 #define HAVE_DECL_CURLOPT_TIMEOUT $ac_have_decl
4970 _ACEOF
4971 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILESIZE" "ac_cv_have_decl_CURLOPT_INFILESIZE" "
4972 #include \"curl/curl.h\"
4975 if test "x$ac_cv_have_decl_CURLOPT_INFILESIZE" = xyes; then :
4976 ac_have_decl=1
4977 else
4978 ac_have_decl=0
4981 cat >>confdefs.h <<_ACEOF
4982 #define HAVE_DECL_CURLOPT_INFILESIZE $ac_have_decl
4983 _ACEOF
4984 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDS" "ac_cv_have_decl_CURLOPT_POSTFIELDS" "
4985 #include \"curl/curl.h\"
4988 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDS" = xyes; then :
4989 ac_have_decl=1
4990 else
4991 ac_have_decl=0
4994 cat >>confdefs.h <<_ACEOF
4995 #define HAVE_DECL_CURLOPT_POSTFIELDS $ac_have_decl
4996 _ACEOF
4997 ac_fn_c_check_decl "$LINENO" "CURLOPT_REFERER" "ac_cv_have_decl_CURLOPT_REFERER" "
4998 #include \"curl/curl.h\"
5001 if test "x$ac_cv_have_decl_CURLOPT_REFERER" = xyes; then :
5002 ac_have_decl=1
5003 else
5004 ac_have_decl=0
5007 cat >>confdefs.h <<_ACEOF
5008 #define HAVE_DECL_CURLOPT_REFERER $ac_have_decl
5009 _ACEOF
5010 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPPORT" "ac_cv_have_decl_CURLOPT_FTPPORT" "
5011 #include \"curl/curl.h\"
5014 if test "x$ac_cv_have_decl_CURLOPT_FTPPORT" = xyes; then :
5015 ac_have_decl=1
5016 else
5017 ac_have_decl=0
5020 cat >>confdefs.h <<_ACEOF
5021 #define HAVE_DECL_CURLOPT_FTPPORT $ac_have_decl
5022 _ACEOF
5023 ac_fn_c_check_decl "$LINENO" "CURLOPT_USERAGENT" "ac_cv_have_decl_CURLOPT_USERAGENT" "
5024 #include \"curl/curl.h\"
5027 if test "x$ac_cv_have_decl_CURLOPT_USERAGENT" = xyes; then :
5028 ac_have_decl=1
5029 else
5030 ac_have_decl=0
5033 cat >>confdefs.h <<_ACEOF
5034 #define HAVE_DECL_CURLOPT_USERAGENT $ac_have_decl
5035 _ACEOF
5036 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOW_SPEED_LIMIT" "ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" "
5037 #include \"curl/curl.h\"
5040 if test "x$ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" = xyes; then :
5041 ac_have_decl=1
5042 else
5043 ac_have_decl=0
5046 cat >>confdefs.h <<_ACEOF
5047 #define HAVE_DECL_CURLOPT_LOW_SPEED_LIMIT $ac_have_decl
5048 _ACEOF
5049 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOW_SPEED_TIME" "ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" "
5050 #include \"curl/curl.h\"
5053 if test "x$ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" = xyes; then :
5054 ac_have_decl=1
5055 else
5056 ac_have_decl=0
5059 cat >>confdefs.h <<_ACEOF
5060 #define HAVE_DECL_CURLOPT_LOW_SPEED_TIME $ac_have_decl
5061 _ACEOF
5062 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESUME_FROM" "ac_cv_have_decl_CURLOPT_RESUME_FROM" "
5063 #include \"curl/curl.h\"
5066 if test "x$ac_cv_have_decl_CURLOPT_RESUME_FROM" = xyes; then :
5067 ac_have_decl=1
5068 else
5069 ac_have_decl=0
5072 cat >>confdefs.h <<_ACEOF
5073 #define HAVE_DECL_CURLOPT_RESUME_FROM $ac_have_decl
5074 _ACEOF
5075 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIE" "ac_cv_have_decl_CURLOPT_COOKIE" "
5076 #include \"curl/curl.h\"
5079 if test "x$ac_cv_have_decl_CURLOPT_COOKIE" = xyes; then :
5080 ac_have_decl=1
5081 else
5082 ac_have_decl=0
5085 cat >>confdefs.h <<_ACEOF
5086 #define HAVE_DECL_CURLOPT_COOKIE $ac_have_decl
5087 _ACEOF
5088 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPHEADER" "ac_cv_have_decl_CURLOPT_HTTPHEADER" "
5089 #include \"curl/curl.h\"
5092 if test "x$ac_cv_have_decl_CURLOPT_HTTPHEADER" = xyes; then :
5093 ac_have_decl=1
5094 else
5095 ac_have_decl=0
5098 cat >>confdefs.h <<_ACEOF
5099 #define HAVE_DECL_CURLOPT_HTTPHEADER $ac_have_decl
5100 _ACEOF
5101 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPPOST" "ac_cv_have_decl_CURLOPT_HTTPPOST" "
5102 #include \"curl/curl.h\"
5105 if test "x$ac_cv_have_decl_CURLOPT_HTTPPOST" = xyes; then :
5106 ac_have_decl=1
5107 else
5108 ac_have_decl=0
5111 cat >>confdefs.h <<_ACEOF
5112 #define HAVE_DECL_CURLOPT_HTTPPOST $ac_have_decl
5113 _ACEOF
5114 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERT" "ac_cv_have_decl_CURLOPT_SSLCERT" "
5115 #include \"curl/curl.h\"
5118 if test "x$ac_cv_have_decl_CURLOPT_SSLCERT" = xyes; then :
5119 ac_have_decl=1
5120 else
5121 ac_have_decl=0
5124 cat >>confdefs.h <<_ACEOF
5125 #define HAVE_DECL_CURLOPT_SSLCERT $ac_have_decl
5126 _ACEOF
5127 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERTPASSWD" "ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" "
5128 #include \"curl/curl.h\"
5131 if test "x$ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" = xyes; then :
5132 ac_have_decl=1
5133 else
5134 ac_have_decl=0
5137 cat >>confdefs.h <<_ACEOF
5138 #define HAVE_DECL_CURLOPT_SSLCERTPASSWD $ac_have_decl
5139 _ACEOF
5140 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEYPASSWD" "ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" "
5141 #include \"curl/curl.h\"
5144 if test "x$ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" = xyes; then :
5145 ac_have_decl=1
5146 else
5147 ac_have_decl=0
5150 cat >>confdefs.h <<_ACEOF
5151 #define HAVE_DECL_CURLOPT_SSLKEYPASSWD $ac_have_decl
5152 _ACEOF
5153 ac_fn_c_check_decl "$LINENO" "CURLOPT_CRLF" "ac_cv_have_decl_CURLOPT_CRLF" "
5154 #include \"curl/curl.h\"
5157 if test "x$ac_cv_have_decl_CURLOPT_CRLF" = xyes; then :
5158 ac_have_decl=1
5159 else
5160 ac_have_decl=0
5163 cat >>confdefs.h <<_ACEOF
5164 #define HAVE_DECL_CURLOPT_CRLF $ac_have_decl
5165 _ACEOF
5166 ac_fn_c_check_decl "$LINENO" "CURLOPT_QUOTE" "ac_cv_have_decl_CURLOPT_QUOTE" "
5167 #include \"curl/curl.h\"
5170 if test "x$ac_cv_have_decl_CURLOPT_QUOTE" = xyes; then :
5171 ac_have_decl=1
5172 else
5173 ac_have_decl=0
5176 cat >>confdefs.h <<_ACEOF
5177 #define HAVE_DECL_CURLOPT_QUOTE $ac_have_decl
5178 _ACEOF
5179 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEHEADER" "ac_cv_have_decl_CURLOPT_WRITEHEADER" "
5180 #include \"curl/curl.h\"
5183 if test "x$ac_cv_have_decl_CURLOPT_WRITEHEADER" = xyes; then :
5184 ac_have_decl=1
5185 else
5186 ac_have_decl=0
5189 cat >>confdefs.h <<_ACEOF
5190 #define HAVE_DECL_CURLOPT_WRITEHEADER $ac_have_decl
5191 _ACEOF
5192 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIEFILE" "ac_cv_have_decl_CURLOPT_COOKIEFILE" "
5193 #include \"curl/curl.h\"
5196 if test "x$ac_cv_have_decl_CURLOPT_COOKIEFILE" = xyes; then :
5197 ac_have_decl=1
5198 else
5199 ac_have_decl=0
5202 cat >>confdefs.h <<_ACEOF
5203 #define HAVE_DECL_CURLOPT_COOKIEFILE $ac_have_decl
5204 _ACEOF
5205 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLVERSION" "ac_cv_have_decl_CURLOPT_SSLVERSION" "
5206 #include \"curl/curl.h\"
5209 if test "x$ac_cv_have_decl_CURLOPT_SSLVERSION" = xyes; then :
5210 ac_have_decl=1
5211 else
5212 ac_have_decl=0
5215 cat >>confdefs.h <<_ACEOF
5216 #define HAVE_DECL_CURLOPT_SSLVERSION $ac_have_decl
5217 _ACEOF
5218 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMECONDITION" "ac_cv_have_decl_CURLOPT_TIMECONDITION" "
5219 #include \"curl/curl.h\"
5222 if test "x$ac_cv_have_decl_CURLOPT_TIMECONDITION" = xyes; then :
5223 ac_have_decl=1
5224 else
5225 ac_have_decl=0
5228 cat >>confdefs.h <<_ACEOF
5229 #define HAVE_DECL_CURLOPT_TIMECONDITION $ac_have_decl
5230 _ACEOF
5231 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEVALUE" "ac_cv_have_decl_CURLOPT_TIMEVALUE" "
5232 #include \"curl/curl.h\"
5235 if test "x$ac_cv_have_decl_CURLOPT_TIMEVALUE" = xyes; then :
5236 ac_have_decl=1
5237 else
5238 ac_have_decl=0
5241 cat >>confdefs.h <<_ACEOF
5242 #define HAVE_DECL_CURLOPT_TIMEVALUE $ac_have_decl
5243 _ACEOF
5244 ac_fn_c_check_decl "$LINENO" "CURLOPT_CUSTOMREQUEST" "ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" "
5245 #include \"curl/curl.h\"
5248 if test "x$ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" = xyes; then :
5249 ac_have_decl=1
5250 else
5251 ac_have_decl=0
5254 cat >>confdefs.h <<_ACEOF
5255 #define HAVE_DECL_CURLOPT_CUSTOMREQUEST $ac_have_decl
5256 _ACEOF
5257 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTQUOTE" "ac_cv_have_decl_CURLOPT_POSTQUOTE" "
5258 #include \"curl/curl.h\"
5261 if test "x$ac_cv_have_decl_CURLOPT_POSTQUOTE" = xyes; then :
5262 ac_have_decl=1
5263 else
5264 ac_have_decl=0
5267 cat >>confdefs.h <<_ACEOF
5268 #define HAVE_DECL_CURLOPT_POSTQUOTE $ac_have_decl
5269 _ACEOF
5270 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEINFO" "ac_cv_have_decl_CURLOPT_WRITEINFO" "
5271 #include \"curl/curl.h\"
5274 if test "x$ac_cv_have_decl_CURLOPT_WRITEINFO" = xyes; then :
5275 ac_have_decl=1
5276 else
5277 ac_have_decl=0
5280 cat >>confdefs.h <<_ACEOF
5281 #define HAVE_DECL_CURLOPT_WRITEINFO $ac_have_decl
5282 _ACEOF
5283 ac_fn_c_check_decl "$LINENO" "CURLOPT_VERBOSE" "ac_cv_have_decl_CURLOPT_VERBOSE" "
5284 #include \"curl/curl.h\"
5287 if test "x$ac_cv_have_decl_CURLOPT_VERBOSE" = xyes; then :
5288 ac_have_decl=1
5289 else
5290 ac_have_decl=0
5293 cat >>confdefs.h <<_ACEOF
5294 #define HAVE_DECL_CURLOPT_VERBOSE $ac_have_decl
5295 _ACEOF
5296 ac_fn_c_check_decl "$LINENO" "CURLOPT_HEADER" "ac_cv_have_decl_CURLOPT_HEADER" "
5297 #include \"curl/curl.h\"
5300 if test "x$ac_cv_have_decl_CURLOPT_HEADER" = xyes; then :
5301 ac_have_decl=1
5302 else
5303 ac_have_decl=0
5306 cat >>confdefs.h <<_ACEOF
5307 #define HAVE_DECL_CURLOPT_HEADER $ac_have_decl
5308 _ACEOF
5309 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOPROGRESS" "ac_cv_have_decl_CURLOPT_NOPROGRESS" "
5310 #include \"curl/curl.h\"
5313 if test "x$ac_cv_have_decl_CURLOPT_NOPROGRESS" = xyes; then :
5314 ac_have_decl=1
5315 else
5316 ac_have_decl=0
5319 cat >>confdefs.h <<_ACEOF
5320 #define HAVE_DECL_CURLOPT_NOPROGRESS $ac_have_decl
5321 _ACEOF
5322 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOBODY" "ac_cv_have_decl_CURLOPT_NOBODY" "
5323 #include \"curl/curl.h\"
5326 if test "x$ac_cv_have_decl_CURLOPT_NOBODY" = xyes; then :
5327 ac_have_decl=1
5328 else
5329 ac_have_decl=0
5332 cat >>confdefs.h <<_ACEOF
5333 #define HAVE_DECL_CURLOPT_NOBODY $ac_have_decl
5334 _ACEOF
5335 ac_fn_c_check_decl "$LINENO" "CURLOPT_FAILONERROR" "ac_cv_have_decl_CURLOPT_FAILONERROR" "
5336 #include \"curl/curl.h\"
5339 if test "x$ac_cv_have_decl_CURLOPT_FAILONERROR" = xyes; then :
5340 ac_have_decl=1
5341 else
5342 ac_have_decl=0
5345 cat >>confdefs.h <<_ACEOF
5346 #define HAVE_DECL_CURLOPT_FAILONERROR $ac_have_decl
5347 _ACEOF
5348 ac_fn_c_check_decl "$LINENO" "CURLOPT_UPLOAD" "ac_cv_have_decl_CURLOPT_UPLOAD" "
5349 #include \"curl/curl.h\"
5352 if test "x$ac_cv_have_decl_CURLOPT_UPLOAD" = xyes; then :
5353 ac_have_decl=1
5354 else
5355 ac_have_decl=0
5358 cat >>confdefs.h <<_ACEOF
5359 #define HAVE_DECL_CURLOPT_UPLOAD $ac_have_decl
5360 _ACEOF
5361 ac_fn_c_check_decl "$LINENO" "CURLOPT_POST" "ac_cv_have_decl_CURLOPT_POST" "
5362 #include \"curl/curl.h\"
5365 if test "x$ac_cv_have_decl_CURLOPT_POST" = xyes; then :
5366 ac_have_decl=1
5367 else
5368 ac_have_decl=0
5371 cat >>confdefs.h <<_ACEOF
5372 #define HAVE_DECL_CURLOPT_POST $ac_have_decl
5373 _ACEOF
5374 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPLISTONLY" "ac_cv_have_decl_CURLOPT_FTPLISTONLY" "
5375 #include \"curl/curl.h\"
5378 if test "x$ac_cv_have_decl_CURLOPT_FTPLISTONLY" = xyes; then :
5379 ac_have_decl=1
5380 else
5381 ac_have_decl=0
5384 cat >>confdefs.h <<_ACEOF
5385 #define HAVE_DECL_CURLOPT_FTPLISTONLY $ac_have_decl
5386 _ACEOF
5387 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPAPPEND" "ac_cv_have_decl_CURLOPT_FTPAPPEND" "
5388 #include \"curl/curl.h\"
5391 if test "x$ac_cv_have_decl_CURLOPT_FTPAPPEND" = xyes; then :
5392 ac_have_decl=1
5393 else
5394 ac_have_decl=0
5397 cat >>confdefs.h <<_ACEOF
5398 #define HAVE_DECL_CURLOPT_FTPAPPEND $ac_have_decl
5399 _ACEOF
5400 ac_fn_c_check_decl "$LINENO" "CURLOPT_NETRC" "ac_cv_have_decl_CURLOPT_NETRC" "
5401 #include \"curl/curl.h\"
5404 if test "x$ac_cv_have_decl_CURLOPT_NETRC" = xyes; then :
5405 ac_have_decl=1
5406 else
5407 ac_have_decl=0
5410 cat >>confdefs.h <<_ACEOF
5411 #define HAVE_DECL_CURLOPT_NETRC $ac_have_decl
5412 _ACEOF
5413 ac_fn_c_check_decl "$LINENO" "CURLOPT_FOLLOWLOCATION" "ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" "
5414 #include \"curl/curl.h\"
5417 if test "x$ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" = xyes; then :
5418 ac_have_decl=1
5419 else
5420 ac_have_decl=0
5423 cat >>confdefs.h <<_ACEOF
5424 #define HAVE_DECL_CURLOPT_FOLLOWLOCATION $ac_have_decl
5425 _ACEOF
5426 ac_fn_c_check_decl "$LINENO" "CURLOPT_TRANSFERTEXT" "ac_cv_have_decl_CURLOPT_TRANSFERTEXT" "
5427 #include \"curl/curl.h\"
5430 if test "x$ac_cv_have_decl_CURLOPT_TRANSFERTEXT" = xyes; then :
5431 ac_have_decl=1
5432 else
5433 ac_have_decl=0
5436 cat >>confdefs.h <<_ACEOF
5437 #define HAVE_DECL_CURLOPT_TRANSFERTEXT $ac_have_decl
5438 _ACEOF
5439 ac_fn_c_check_decl "$LINENO" "CURLOPT_PUT" "ac_cv_have_decl_CURLOPT_PUT" "
5440 #include \"curl/curl.h\"
5443 if test "x$ac_cv_have_decl_CURLOPT_PUT" = xyes; then :
5444 ac_have_decl=1
5445 else
5446 ac_have_decl=0
5449 cat >>confdefs.h <<_ACEOF
5450 #define HAVE_DECL_CURLOPT_PUT $ac_have_decl
5451 _ACEOF
5452 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROGRESSFUNCTION" "ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" "
5453 #include \"curl/curl.h\"
5456 if test "x$ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" = xyes; then :
5457 ac_have_decl=1
5458 else
5459 ac_have_decl=0
5462 cat >>confdefs.h <<_ACEOF
5463 #define HAVE_DECL_CURLOPT_PROGRESSFUNCTION $ac_have_decl
5464 _ACEOF
5465 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROGRESSDATA" "ac_cv_have_decl_CURLOPT_PROGRESSDATA" "
5466 #include \"curl/curl.h\"
5469 if test "x$ac_cv_have_decl_CURLOPT_PROGRESSDATA" = xyes; then :
5470 ac_have_decl=1
5471 else
5472 ac_have_decl=0
5475 cat >>confdefs.h <<_ACEOF
5476 #define HAVE_DECL_CURLOPT_PROGRESSDATA $ac_have_decl
5477 _ACEOF
5478 ac_fn_c_check_decl "$LINENO" "CURLOPT_AUTOREFERER" "ac_cv_have_decl_CURLOPT_AUTOREFERER" "
5479 #include \"curl/curl.h\"
5482 if test "x$ac_cv_have_decl_CURLOPT_AUTOREFERER" = xyes; then :
5483 ac_have_decl=1
5484 else
5485 ac_have_decl=0
5488 cat >>confdefs.h <<_ACEOF
5489 #define HAVE_DECL_CURLOPT_AUTOREFERER $ac_have_decl
5490 _ACEOF
5491 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYPORT" "ac_cv_have_decl_CURLOPT_PROXYPORT" "
5492 #include \"curl/curl.h\"
5495 if test "x$ac_cv_have_decl_CURLOPT_PROXYPORT" = xyes; then :
5496 ac_have_decl=1
5497 else
5498 ac_have_decl=0
5501 cat >>confdefs.h <<_ACEOF
5502 #define HAVE_DECL_CURLOPT_PROXYPORT $ac_have_decl
5503 _ACEOF
5504 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDSIZE" "ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" "
5505 #include \"curl/curl.h\"
5508 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" = xyes; then :
5509 ac_have_decl=1
5510 else
5511 ac_have_decl=0
5514 cat >>confdefs.h <<_ACEOF
5515 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE $ac_have_decl
5516 _ACEOF
5517 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPPROXYTUNNEL" "ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" "
5518 #include \"curl/curl.h\"
5521 if test "x$ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" = xyes; then :
5522 ac_have_decl=1
5523 else
5524 ac_have_decl=0
5527 cat >>confdefs.h <<_ACEOF
5528 #define HAVE_DECL_CURLOPT_HTTPPROXYTUNNEL $ac_have_decl
5529 _ACEOF
5530 ac_fn_c_check_decl "$LINENO" "CURLOPT_INTERFACE" "ac_cv_have_decl_CURLOPT_INTERFACE" "
5531 #include \"curl/curl.h\"
5534 if test "x$ac_cv_have_decl_CURLOPT_INTERFACE" = xyes; then :
5535 ac_have_decl=1
5536 else
5537 ac_have_decl=0
5540 cat >>confdefs.h <<_ACEOF
5541 #define HAVE_DECL_CURLOPT_INTERFACE $ac_have_decl
5542 _ACEOF
5543 ac_fn_c_check_decl "$LINENO" "CURLOPT_KRB4LEVEL" "ac_cv_have_decl_CURLOPT_KRB4LEVEL" "
5544 #include \"curl/curl.h\"
5547 if test "x$ac_cv_have_decl_CURLOPT_KRB4LEVEL" = xyes; then :
5548 ac_have_decl=1
5549 else
5550 ac_have_decl=0
5553 cat >>confdefs.h <<_ACEOF
5554 #define HAVE_DECL_CURLOPT_KRB4LEVEL $ac_have_decl
5555 _ACEOF
5556 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_VERIFYPEER" "ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" "
5557 #include \"curl/curl.h\"
5560 if test "x$ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" = xyes; then :
5561 ac_have_decl=1
5562 else
5563 ac_have_decl=0
5566 cat >>confdefs.h <<_ACEOF
5567 #define HAVE_DECL_CURLOPT_SSL_VERIFYPEER $ac_have_decl
5568 _ACEOF
5569 ac_fn_c_check_decl "$LINENO" "CURLOPT_CAINFO" "ac_cv_have_decl_CURLOPT_CAINFO" "
5570 #include \"curl/curl.h\"
5573 if test "x$ac_cv_have_decl_CURLOPT_CAINFO" = xyes; then :
5574 ac_have_decl=1
5575 else
5576 ac_have_decl=0
5579 cat >>confdefs.h <<_ACEOF
5580 #define HAVE_DECL_CURLOPT_CAINFO $ac_have_decl
5581 _ACEOF
5582 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXREDIRS" "ac_cv_have_decl_CURLOPT_MAXREDIRS" "
5583 #include \"curl/curl.h\"
5586 if test "x$ac_cv_have_decl_CURLOPT_MAXREDIRS" = xyes; then :
5587 ac_have_decl=1
5588 else
5589 ac_have_decl=0
5592 cat >>confdefs.h <<_ACEOF
5593 #define HAVE_DECL_CURLOPT_MAXREDIRS $ac_have_decl
5594 _ACEOF
5595 ac_fn_c_check_decl "$LINENO" "CURLOPT_FILETIME" "ac_cv_have_decl_CURLOPT_FILETIME" "
5596 #include \"curl/curl.h\"
5599 if test "x$ac_cv_have_decl_CURLOPT_FILETIME" = xyes; then :
5600 ac_have_decl=1
5601 else
5602 ac_have_decl=0
5605 cat >>confdefs.h <<_ACEOF
5606 #define HAVE_DECL_CURLOPT_FILETIME $ac_have_decl
5607 _ACEOF
5608 ac_fn_c_check_decl "$LINENO" "CURLOPT_TELNETOPTIONS" "ac_cv_have_decl_CURLOPT_TELNETOPTIONS" "
5609 #include \"curl/curl.h\"
5612 if test "x$ac_cv_have_decl_CURLOPT_TELNETOPTIONS" = xyes; then :
5613 ac_have_decl=1
5614 else
5615 ac_have_decl=0
5618 cat >>confdefs.h <<_ACEOF
5619 #define HAVE_DECL_CURLOPT_TELNETOPTIONS $ac_have_decl
5620 _ACEOF
5621 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXCONNECTS" "ac_cv_have_decl_CURLOPT_MAXCONNECTS" "
5622 #include \"curl/curl.h\"
5625 if test "x$ac_cv_have_decl_CURLOPT_MAXCONNECTS" = xyes; then :
5626 ac_have_decl=1
5627 else
5628 ac_have_decl=0
5631 cat >>confdefs.h <<_ACEOF
5632 #define HAVE_DECL_CURLOPT_MAXCONNECTS $ac_have_decl
5633 _ACEOF
5634 ac_fn_c_check_decl "$LINENO" "CURLOPT_CLOSEPOLICY" "ac_cv_have_decl_CURLOPT_CLOSEPOLICY" "
5635 #include \"curl/curl.h\"
5638 if test "x$ac_cv_have_decl_CURLOPT_CLOSEPOLICY" = xyes; then :
5639 ac_have_decl=1
5640 else
5641 ac_have_decl=0
5644 cat >>confdefs.h <<_ACEOF
5645 #define HAVE_DECL_CURLOPT_CLOSEPOLICY $ac_have_decl
5646 _ACEOF
5647 ac_fn_c_check_decl "$LINENO" "CURLOPT_FRESH_CONNECT" "ac_cv_have_decl_CURLOPT_FRESH_CONNECT" "
5648 #include \"curl/curl.h\"
5651 if test "x$ac_cv_have_decl_CURLOPT_FRESH_CONNECT" = xyes; then :
5652 ac_have_decl=1
5653 else
5654 ac_have_decl=0
5657 cat >>confdefs.h <<_ACEOF
5658 #define HAVE_DECL_CURLOPT_FRESH_CONNECT $ac_have_decl
5659 _ACEOF
5660 ac_fn_c_check_decl "$LINENO" "CURLOPT_FORBID_REUSE" "ac_cv_have_decl_CURLOPT_FORBID_REUSE" "
5661 #include \"curl/curl.h\"
5664 if test "x$ac_cv_have_decl_CURLOPT_FORBID_REUSE" = xyes; then :
5665 ac_have_decl=1
5666 else
5667 ac_have_decl=0
5670 cat >>confdefs.h <<_ACEOF
5671 #define HAVE_DECL_CURLOPT_FORBID_REUSE $ac_have_decl
5672 _ACEOF
5673 ac_fn_c_check_decl "$LINENO" "CURLOPT_RANDOM_FILE" "ac_cv_have_decl_CURLOPT_RANDOM_FILE" "
5674 #include \"curl/curl.h\"
5677 if test "x$ac_cv_have_decl_CURLOPT_RANDOM_FILE" = xyes; then :
5678 ac_have_decl=1
5679 else
5680 ac_have_decl=0
5683 cat >>confdefs.h <<_ACEOF
5684 #define HAVE_DECL_CURLOPT_RANDOM_FILE $ac_have_decl
5685 _ACEOF
5686 ac_fn_c_check_decl "$LINENO" "CURLOPT_EGDSOCKET" "ac_cv_have_decl_CURLOPT_EGDSOCKET" "
5687 #include \"curl/curl.h\"
5690 if test "x$ac_cv_have_decl_CURLOPT_EGDSOCKET" = xyes; then :
5691 ac_have_decl=1
5692 else
5693 ac_have_decl=0
5696 cat >>confdefs.h <<_ACEOF
5697 #define HAVE_DECL_CURLOPT_EGDSOCKET $ac_have_decl
5698 _ACEOF
5699 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECTTIMEOUT" "ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" "
5700 #include \"curl/curl.h\"
5703 if test "x$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" = xyes; then :
5704 ac_have_decl=1
5705 else
5706 ac_have_decl=0
5709 cat >>confdefs.h <<_ACEOF
5710 #define HAVE_DECL_CURLOPT_CONNECTTIMEOUT $ac_have_decl
5711 _ACEOF
5712 ac_fn_c_check_decl "$LINENO" "CURLOPT_HEADERFUNCTION" "ac_cv_have_decl_CURLOPT_HEADERFUNCTION" "
5713 #include \"curl/curl.h\"
5716 if test "x$ac_cv_have_decl_CURLOPT_HEADERFUNCTION" = xyes; then :
5717 ac_have_decl=1
5718 else
5719 ac_have_decl=0
5722 cat >>confdefs.h <<_ACEOF
5723 #define HAVE_DECL_CURLOPT_HEADERFUNCTION $ac_have_decl
5724 _ACEOF
5725 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPGET" "ac_cv_have_decl_CURLOPT_HTTPGET" "
5726 #include \"curl/curl.h\"
5729 if test "x$ac_cv_have_decl_CURLOPT_HTTPGET" = xyes; then :
5730 ac_have_decl=1
5731 else
5732 ac_have_decl=0
5735 cat >>confdefs.h <<_ACEOF
5736 #define HAVE_DECL_CURLOPT_HTTPGET $ac_have_decl
5737 _ACEOF
5738 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_VERIFYHOST" "ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" "
5739 #include \"curl/curl.h\"
5742 if test "x$ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" = xyes; then :
5743 ac_have_decl=1
5744 else
5745 ac_have_decl=0
5748 cat >>confdefs.h <<_ACEOF
5749 #define HAVE_DECL_CURLOPT_SSL_VERIFYHOST $ac_have_decl
5750 _ACEOF
5751 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIEJAR" "ac_cv_have_decl_CURLOPT_COOKIEJAR" "
5752 #include \"curl/curl.h\"
5755 if test "x$ac_cv_have_decl_CURLOPT_COOKIEJAR" = xyes; then :
5756 ac_have_decl=1
5757 else
5758 ac_have_decl=0
5761 cat >>confdefs.h <<_ACEOF
5762 #define HAVE_DECL_CURLOPT_COOKIEJAR $ac_have_decl
5763 _ACEOF
5764 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_CIPHER_LIST" "ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" "
5765 #include \"curl/curl.h\"
5768 if test "x$ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" = xyes; then :
5769 ac_have_decl=1
5770 else
5771 ac_have_decl=0
5774 cat >>confdefs.h <<_ACEOF
5775 #define HAVE_DECL_CURLOPT_SSL_CIPHER_LIST $ac_have_decl
5776 _ACEOF
5777 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_VERSION" "ac_cv_have_decl_CURLOPT_HTTP_VERSION" "
5778 #include \"curl/curl.h\"
5781 if test "x$ac_cv_have_decl_CURLOPT_HTTP_VERSION" = xyes; then :
5782 ac_have_decl=1
5783 else
5784 ac_have_decl=0
5787 cat >>confdefs.h <<_ACEOF
5788 #define HAVE_DECL_CURLOPT_HTTP_VERSION $ac_have_decl
5789 _ACEOF
5790 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_USE_EPSV" "ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" "
5791 #include \"curl/curl.h\"
5794 if test "x$ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" = xyes; then :
5795 ac_have_decl=1
5796 else
5797 ac_have_decl=0
5800 cat >>confdefs.h <<_ACEOF
5801 #define HAVE_DECL_CURLOPT_FTP_USE_EPSV $ac_have_decl
5802 _ACEOF
5803 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERTTYPE" "ac_cv_have_decl_CURLOPT_SSLCERTTYPE" "
5804 #include \"curl/curl.h\"
5807 if test "x$ac_cv_have_decl_CURLOPT_SSLCERTTYPE" = xyes; then :
5808 ac_have_decl=1
5809 else
5810 ac_have_decl=0
5813 cat >>confdefs.h <<_ACEOF
5814 #define HAVE_DECL_CURLOPT_SSLCERTTYPE $ac_have_decl
5815 _ACEOF
5816 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEY" "ac_cv_have_decl_CURLOPT_SSLKEY" "
5817 #include \"curl/curl.h\"
5820 if test "x$ac_cv_have_decl_CURLOPT_SSLKEY" = xyes; then :
5821 ac_have_decl=1
5822 else
5823 ac_have_decl=0
5826 cat >>confdefs.h <<_ACEOF
5827 #define HAVE_DECL_CURLOPT_SSLKEY $ac_have_decl
5828 _ACEOF
5829 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEYTYPE" "ac_cv_have_decl_CURLOPT_SSLKEYTYPE" "
5830 #include \"curl/curl.h\"
5833 if test "x$ac_cv_have_decl_CURLOPT_SSLKEYTYPE" = xyes; then :
5834 ac_have_decl=1
5835 else
5836 ac_have_decl=0
5839 cat >>confdefs.h <<_ACEOF
5840 #define HAVE_DECL_CURLOPT_SSLKEYTYPE $ac_have_decl
5841 _ACEOF
5842 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLENGINE" "ac_cv_have_decl_CURLOPT_SSLENGINE" "
5843 #include \"curl/curl.h\"
5846 if test "x$ac_cv_have_decl_CURLOPT_SSLENGINE" = xyes; then :
5847 ac_have_decl=1
5848 else
5849 ac_have_decl=0
5852 cat >>confdefs.h <<_ACEOF
5853 #define HAVE_DECL_CURLOPT_SSLENGINE $ac_have_decl
5854 _ACEOF
5855 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLENGINE_DEFAULT" "ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" "
5856 #include \"curl/curl.h\"
5859 if test "x$ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" = xyes; then :
5860 ac_have_decl=1
5861 else
5862 ac_have_decl=0
5865 cat >>confdefs.h <<_ACEOF
5866 #define HAVE_DECL_CURLOPT_SSLENGINE_DEFAULT $ac_have_decl
5867 _ACEOF
5868 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_USE_GLOBAL_CACHE" "ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" "
5869 #include \"curl/curl.h\"
5872 if test "x$ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" = xyes; then :
5873 ac_have_decl=1
5874 else
5875 ac_have_decl=0
5878 cat >>confdefs.h <<_ACEOF
5879 #define HAVE_DECL_CURLOPT_DNS_USE_GLOBAL_CACHE $ac_have_decl
5880 _ACEOF
5881 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_CACHE_TIMEOUT" "ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" "
5882 #include \"curl/curl.h\"
5885 if test "x$ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" = xyes; then :
5886 ac_have_decl=1
5887 else
5888 ac_have_decl=0
5891 cat >>confdefs.h <<_ACEOF
5892 #define HAVE_DECL_CURLOPT_DNS_CACHE_TIMEOUT $ac_have_decl
5893 _ACEOF
5894 ac_fn_c_check_decl "$LINENO" "CURLOPT_PREQUOTE" "ac_cv_have_decl_CURLOPT_PREQUOTE" "
5895 #include \"curl/curl.h\"
5898 if test "x$ac_cv_have_decl_CURLOPT_PREQUOTE" = xyes; then :
5899 ac_have_decl=1
5900 else
5901 ac_have_decl=0
5904 cat >>confdefs.h <<_ACEOF
5905 #define HAVE_DECL_CURLOPT_PREQUOTE $ac_have_decl
5906 _ACEOF
5907 ac_fn_c_check_decl "$LINENO" "CURLOPT_DEBUGFUNCTION" "ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" "
5908 #include \"curl/curl.h\"
5911 if test "x$ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" = xyes; then :
5912 ac_have_decl=1
5913 else
5914 ac_have_decl=0
5917 cat >>confdefs.h <<_ACEOF
5918 #define HAVE_DECL_CURLOPT_DEBUGFUNCTION $ac_have_decl
5919 _ACEOF
5920 ac_fn_c_check_decl "$LINENO" "CURLOPT_DEBUGDATA" "ac_cv_have_decl_CURLOPT_DEBUGDATA" "
5921 #include \"curl/curl.h\"
5924 if test "x$ac_cv_have_decl_CURLOPT_DEBUGDATA" = xyes; then :
5925 ac_have_decl=1
5926 else
5927 ac_have_decl=0
5930 cat >>confdefs.h <<_ACEOF
5931 #define HAVE_DECL_CURLOPT_DEBUGDATA $ac_have_decl
5932 _ACEOF
5933 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIESESSION" "ac_cv_have_decl_CURLOPT_COOKIESESSION" "
5934 #include \"curl/curl.h\"
5937 if test "x$ac_cv_have_decl_CURLOPT_COOKIESESSION" = xyes; then :
5938 ac_have_decl=1
5939 else
5940 ac_have_decl=0
5943 cat >>confdefs.h <<_ACEOF
5944 #define HAVE_DECL_CURLOPT_COOKIESESSION $ac_have_decl
5945 _ACEOF
5946 ac_fn_c_check_decl "$LINENO" "CURLOPT_CAPATH" "ac_cv_have_decl_CURLOPT_CAPATH" "
5947 #include \"curl/curl.h\"
5950 if test "x$ac_cv_have_decl_CURLOPT_CAPATH" = xyes; then :
5951 ac_have_decl=1
5952 else
5953 ac_have_decl=0
5956 cat >>confdefs.h <<_ACEOF
5957 #define HAVE_DECL_CURLOPT_CAPATH $ac_have_decl
5958 _ACEOF
5959 ac_fn_c_check_decl "$LINENO" "CURLOPT_BUFFERSIZE" "ac_cv_have_decl_CURLOPT_BUFFERSIZE" "
5960 #include \"curl/curl.h\"
5963 if test "x$ac_cv_have_decl_CURLOPT_BUFFERSIZE" = xyes; then :
5964 ac_have_decl=1
5965 else
5966 ac_have_decl=0
5969 cat >>confdefs.h <<_ACEOF
5970 #define HAVE_DECL_CURLOPT_BUFFERSIZE $ac_have_decl
5971 _ACEOF
5972 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOSIGNAL" "ac_cv_have_decl_CURLOPT_NOSIGNAL" "
5973 #include \"curl/curl.h\"
5976 if test "x$ac_cv_have_decl_CURLOPT_NOSIGNAL" = xyes; then :
5977 ac_have_decl=1
5978 else
5979 ac_have_decl=0
5982 cat >>confdefs.h <<_ACEOF
5983 #define HAVE_DECL_CURLOPT_NOSIGNAL $ac_have_decl
5984 _ACEOF
5985 ac_fn_c_check_decl "$LINENO" "CURLOPT_SHARE" "ac_cv_have_decl_CURLOPT_SHARE" "
5986 #include \"curl/curl.h\"
5989 if test "x$ac_cv_have_decl_CURLOPT_SHARE" = xyes; then :
5990 ac_have_decl=1
5991 else
5992 ac_have_decl=0
5995 cat >>confdefs.h <<_ACEOF
5996 #define HAVE_DECL_CURLOPT_SHARE $ac_have_decl
5997 _ACEOF
5998 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYTYPE" "ac_cv_have_decl_CURLOPT_PROXYTYPE" "
5999 #include \"curl/curl.h\"
6002 if test "x$ac_cv_have_decl_CURLOPT_PROXYTYPE" = xyes; then :
6003 ac_have_decl=1
6004 else
6005 ac_have_decl=0
6008 cat >>confdefs.h <<_ACEOF
6009 #define HAVE_DECL_CURLOPT_PROXYTYPE $ac_have_decl
6010 _ACEOF
6011 ac_fn_c_check_decl "$LINENO" "CURLOPT_ENCODING" "ac_cv_have_decl_CURLOPT_ENCODING" "
6012 #include \"curl/curl.h\"
6015 if test "x$ac_cv_have_decl_CURLOPT_ENCODING" = xyes; then :
6016 ac_have_decl=1
6017 else
6018 ac_have_decl=0
6021 cat >>confdefs.h <<_ACEOF
6022 #define HAVE_DECL_CURLOPT_ENCODING $ac_have_decl
6023 _ACEOF
6024 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP200ALIASES" "ac_cv_have_decl_CURLOPT_HTTP200ALIASES" "
6025 #include \"curl/curl.h\"
6028 if test "x$ac_cv_have_decl_CURLOPT_HTTP200ALIASES" = xyes; then :
6029 ac_have_decl=1
6030 else
6031 ac_have_decl=0
6034 cat >>confdefs.h <<_ACEOF
6035 #define HAVE_DECL_CURLOPT_HTTP200ALIASES $ac_have_decl
6036 _ACEOF
6037 ac_fn_c_check_decl "$LINENO" "CURLOPT_UNRESTRICTED_AUTH" "ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" "
6038 #include \"curl/curl.h\"
6041 if test "x$ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" = xyes; then :
6042 ac_have_decl=1
6043 else
6044 ac_have_decl=0
6047 cat >>confdefs.h <<_ACEOF
6048 #define HAVE_DECL_CURLOPT_UNRESTRICTED_AUTH $ac_have_decl
6049 _ACEOF
6050 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_USE_EPRT" "ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" "
6051 #include \"curl/curl.h\"
6054 if test "x$ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" = xyes; then :
6055 ac_have_decl=1
6056 else
6057 ac_have_decl=0
6060 cat >>confdefs.h <<_ACEOF
6061 #define HAVE_DECL_CURLOPT_FTP_USE_EPRT $ac_have_decl
6062 _ACEOF
6063 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPAUTH" "ac_cv_have_decl_CURLOPT_HTTPAUTH" "
6064 #include \"curl/curl.h\"
6067 if test "x$ac_cv_have_decl_CURLOPT_HTTPAUTH" = xyes; then :
6068 ac_have_decl=1
6069 else
6070 ac_have_decl=0
6073 cat >>confdefs.h <<_ACEOF
6074 #define HAVE_DECL_CURLOPT_HTTPAUTH $ac_have_decl
6075 _ACEOF
6076 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_CREATE_MISSING_DIRS" "ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" "
6077 #include \"curl/curl.h\"
6080 if test "x$ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" = xyes; then :
6081 ac_have_decl=1
6082 else
6083 ac_have_decl=0
6086 cat >>confdefs.h <<_ACEOF
6087 #define HAVE_DECL_CURLOPT_FTP_CREATE_MISSING_DIRS $ac_have_decl
6088 _ACEOF
6089 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYAUTH" "ac_cv_have_decl_CURLOPT_PROXYAUTH" "
6090 #include \"curl/curl.h\"
6093 if test "x$ac_cv_have_decl_CURLOPT_PROXYAUTH" = xyes; then :
6094 ac_have_decl=1
6095 else
6096 ac_have_decl=0
6099 cat >>confdefs.h <<_ACEOF
6100 #define HAVE_DECL_CURLOPT_PROXYAUTH $ac_have_decl
6101 _ACEOF
6102 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_RESPONSE_TIMEOUT" "ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" "
6103 #include \"curl/curl.h\"
6106 if test "x$ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" = xyes; then :
6107 ac_have_decl=1
6108 else
6109 ac_have_decl=0
6112 cat >>confdefs.h <<_ACEOF
6113 #define HAVE_DECL_CURLOPT_FTP_RESPONSE_TIMEOUT $ac_have_decl
6114 _ACEOF
6115 ac_fn_c_check_decl "$LINENO" "CURLOPT_IPRESOLVE" "ac_cv_have_decl_CURLOPT_IPRESOLVE" "
6116 #include \"curl/curl.h\"
6119 if test "x$ac_cv_have_decl_CURLOPT_IPRESOLVE" = xyes; then :
6120 ac_have_decl=1
6121 else
6122 ac_have_decl=0
6125 cat >>confdefs.h <<_ACEOF
6126 #define HAVE_DECL_CURLOPT_IPRESOLVE $ac_have_decl
6127 _ACEOF
6128 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXFILESIZE" "ac_cv_have_decl_CURLOPT_MAXFILESIZE" "
6129 #include \"curl/curl.h\"
6132 if test "x$ac_cv_have_decl_CURLOPT_MAXFILESIZE" = xyes; then :
6133 ac_have_decl=1
6134 else
6135 ac_have_decl=0
6138 cat >>confdefs.h <<_ACEOF
6139 #define HAVE_DECL_CURLOPT_MAXFILESIZE $ac_have_decl
6140 _ACEOF
6141 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILESIZE_LARGE" "ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" "
6142 #include \"curl/curl.h\"
6145 if test "x$ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" = xyes; then :
6146 ac_have_decl=1
6147 else
6148 ac_have_decl=0
6151 cat >>confdefs.h <<_ACEOF
6152 #define HAVE_DECL_CURLOPT_INFILESIZE_LARGE $ac_have_decl
6153 _ACEOF
6154 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESUME_FROM_LARGE" "ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE" "
6155 #include \"curl/curl.h\"
6158 if test "x$ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE" = xyes; then :
6159 ac_have_decl=1
6160 else
6161 ac_have_decl=0
6164 cat >>confdefs.h <<_ACEOF
6165 #define HAVE_DECL_CURLOPT_RESUME_FROM_LARGE $ac_have_decl
6166 _ACEOF
6167 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXFILESIZE_LARGE" "ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE" "
6168 #include \"curl/curl.h\"
6171 if test "x$ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE" = xyes; then :
6172 ac_have_decl=1
6173 else
6174 ac_have_decl=0
6177 cat >>confdefs.h <<_ACEOF
6178 #define HAVE_DECL_CURLOPT_MAXFILESIZE_LARGE $ac_have_decl
6179 _ACEOF
6180 ac_fn_c_check_decl "$LINENO" "CURLOPT_NETRC_FILE" "ac_cv_have_decl_CURLOPT_NETRC_FILE" "
6181 #include \"curl/curl.h\"
6184 if test "x$ac_cv_have_decl_CURLOPT_NETRC_FILE" = xyes; then :
6185 ac_have_decl=1
6186 else
6187 ac_have_decl=0
6190 cat >>confdefs.h <<_ACEOF
6191 #define HAVE_DECL_CURLOPT_NETRC_FILE $ac_have_decl
6192 _ACEOF
6193 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SSL" "ac_cv_have_decl_CURLOPT_FTP_SSL" "
6194 #include \"curl/curl.h\"
6197 if test "x$ac_cv_have_decl_CURLOPT_FTP_SSL" = xyes; then :
6198 ac_have_decl=1
6199 else
6200 ac_have_decl=0
6203 cat >>confdefs.h <<_ACEOF
6204 #define HAVE_DECL_CURLOPT_FTP_SSL $ac_have_decl
6205 _ACEOF
6206 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDSIZE_LARGE" "ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" "
6207 #include \"curl/curl.h\"
6210 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" = xyes; then :
6211 ac_have_decl=1
6212 else
6213 ac_have_decl=0
6216 cat >>confdefs.h <<_ACEOF
6217 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE_LARGE $ac_have_decl
6218 _ACEOF
6219 ac_fn_c_check_decl "$LINENO" "CURLOPT_TCP_NODELAY" "ac_cv_have_decl_CURLOPT_TCP_NODELAY" "
6220 #include \"curl/curl.h\"
6223 if test "x$ac_cv_have_decl_CURLOPT_TCP_NODELAY" = xyes; then :
6224 ac_have_decl=1
6225 else
6226 ac_have_decl=0
6229 cat >>confdefs.h <<_ACEOF
6230 #define HAVE_DECL_CURLOPT_TCP_NODELAY $ac_have_decl
6231 _ACEOF
6232 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPSSLAUTH" "ac_cv_have_decl_CURLOPT_FTPSSLAUTH" "
6233 #include \"curl/curl.h\"
6236 if test "x$ac_cv_have_decl_CURLOPT_FTPSSLAUTH" = xyes; then :
6237 ac_have_decl=1
6238 else
6239 ac_have_decl=0
6242 cat >>confdefs.h <<_ACEOF
6243 #define HAVE_DECL_CURLOPT_FTPSSLAUTH $ac_have_decl
6244 _ACEOF
6245 ac_fn_c_check_decl "$LINENO" "CURLOPT_IOCTLFUNCTION" "ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" "
6246 #include \"curl/curl.h\"
6249 if test "x$ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" = xyes; then :
6250 ac_have_decl=1
6251 else
6252 ac_have_decl=0
6255 cat >>confdefs.h <<_ACEOF
6256 #define HAVE_DECL_CURLOPT_IOCTLFUNCTION $ac_have_decl
6257 _ACEOF
6258 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_ACCOUNT" "ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" "
6259 #include \"curl/curl.h\"
6262 if test "x$ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" = xyes; then :
6263 ac_have_decl=1
6264 else
6265 ac_have_decl=0
6268 cat >>confdefs.h <<_ACEOF
6269 #define HAVE_DECL_CURLOPT_FTP_ACCOUNT $ac_have_decl
6270 _ACEOF
6271 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIELIST" "ac_cv_have_decl_CURLOPT_COOKIELIST" "
6272 #include \"curl/curl.h\"
6275 if test "x$ac_cv_have_decl_CURLOPT_COOKIELIST" = xyes; then :
6276 ac_have_decl=1
6277 else
6278 ac_have_decl=0
6281 cat >>confdefs.h <<_ACEOF
6282 #define HAVE_DECL_CURLOPT_COOKIELIST $ac_have_decl
6283 _ACEOF
6284 ac_fn_c_check_decl "$LINENO" "CURLOPT_IGNORE_CONTENT_LENGTH" "ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" "
6285 #include \"curl/curl.h\"
6288 if test "x$ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" = xyes; then :
6289 ac_have_decl=1
6290 else
6291 ac_have_decl=0
6294 cat >>confdefs.h <<_ACEOF
6295 #define HAVE_DECL_CURLOPT_IGNORE_CONTENT_LENGTH $ac_have_decl
6296 _ACEOF
6297 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SKIP_PASV_IP" "ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" "
6298 #include \"curl/curl.h\"
6301 if test "x$ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" = xyes; then :
6302 ac_have_decl=1
6303 else
6304 ac_have_decl=0
6307 cat >>confdefs.h <<_ACEOF
6308 #define HAVE_DECL_CURLOPT_FTP_SKIP_PASV_IP $ac_have_decl
6309 _ACEOF
6310 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_FILEMETHOD" "ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" "
6311 #include \"curl/curl.h\"
6314 if test "x$ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" = xyes; then :
6315 ac_have_decl=1
6316 else
6317 ac_have_decl=0
6320 cat >>confdefs.h <<_ACEOF
6321 #define HAVE_DECL_CURLOPT_FTP_FILEMETHOD $ac_have_decl
6322 _ACEOF
6323 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOCALPORT" "ac_cv_have_decl_CURLOPT_LOCALPORT" "
6324 #include \"curl/curl.h\"
6327 if test "x$ac_cv_have_decl_CURLOPT_LOCALPORT" = xyes; then :
6328 ac_have_decl=1
6329 else
6330 ac_have_decl=0
6333 cat >>confdefs.h <<_ACEOF
6334 #define HAVE_DECL_CURLOPT_LOCALPORT $ac_have_decl
6335 _ACEOF
6336 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOCALPORTRANGE" "ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" "
6337 #include \"curl/curl.h\"
6340 if test "x$ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" = xyes; then :
6341 ac_have_decl=1
6342 else
6343 ac_have_decl=0
6346 cat >>confdefs.h <<_ACEOF
6347 #define HAVE_DECL_CURLOPT_LOCALPORTRANGE $ac_have_decl
6348 _ACEOF
6349 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECT_ONLY" "ac_cv_have_decl_CURLOPT_CONNECT_ONLY" "
6350 #include \"curl/curl.h\"
6353 if test "x$ac_cv_have_decl_CURLOPT_CONNECT_ONLY" = xyes; then :
6354 ac_have_decl=1
6355 else
6356 ac_have_decl=0
6359 cat >>confdefs.h <<_ACEOF
6360 #define HAVE_DECL_CURLOPT_CONNECT_ONLY $ac_have_decl
6361 _ACEOF
6362 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAX_SEND_SPEED_LARGE" "ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" "
6363 #include \"curl/curl.h\"
6366 if test "x$ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" = xyes; then :
6367 ac_have_decl=1
6368 else
6369 ac_have_decl=0
6372 cat >>confdefs.h <<_ACEOF
6373 #define HAVE_DECL_CURLOPT_MAX_SEND_SPEED_LARGE $ac_have_decl
6374 _ACEOF
6375 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAX_RECV_SPEED_LARGE" "ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE" "
6376 #include \"curl/curl.h\"
6379 if test "x$ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE" = xyes; then :
6380 ac_have_decl=1
6381 else
6382 ac_have_decl=0
6385 cat >>confdefs.h <<_ACEOF
6386 #define HAVE_DECL_CURLOPT_MAX_RECV_SPEED_LARGE $ac_have_decl
6387 _ACEOF
6388 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_ALTERNATIVE_TO_USER" "ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" "
6389 #include \"curl/curl.h\"
6392 if test "x$ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" = xyes; then :
6393 ac_have_decl=1
6394 else
6395 ac_have_decl=0
6398 cat >>confdefs.h <<_ACEOF
6399 #define HAVE_DECL_CURLOPT_FTP_ALTERNATIVE_TO_USER $ac_have_decl
6400 _ACEOF
6401 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_SESSIONID_CACHE" "ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" "
6402 #include \"curl/curl.h\"
6405 if test "x$ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" = xyes; then :
6406 ac_have_decl=1
6407 else
6408 ac_have_decl=0
6411 cat >>confdefs.h <<_ACEOF
6412 #define HAVE_DECL_CURLOPT_SSL_SESSIONID_CACHE $ac_have_decl
6413 _ACEOF
6414 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_AUTH_TYPES" "ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" "
6415 #include \"curl/curl.h\"
6418 if test "x$ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" = xyes; then :
6419 ac_have_decl=1
6420 else
6421 ac_have_decl=0
6424 cat >>confdefs.h <<_ACEOF
6425 #define HAVE_DECL_CURLOPT_SSH_AUTH_TYPES $ac_have_decl
6426 _ACEOF
6427 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_PUBLIC_KEYFILE" "ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" "
6428 #include \"curl/curl.h\"
6431 if test "x$ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" = xyes; then :
6432 ac_have_decl=1
6433 else
6434 ac_have_decl=0
6437 cat >>confdefs.h <<_ACEOF
6438 #define HAVE_DECL_CURLOPT_SSH_PUBLIC_KEYFILE $ac_have_decl
6439 _ACEOF
6440 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_PRIVATE_KEYFILE" "ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE" "
6441 #include \"curl/curl.h\"
6444 if test "x$ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE" = xyes; then :
6445 ac_have_decl=1
6446 else
6447 ac_have_decl=0
6450 cat >>confdefs.h <<_ACEOF
6451 #define HAVE_DECL_CURLOPT_SSH_PRIVATE_KEYFILE $ac_have_decl
6452 _ACEOF
6453 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SSL_CCC" "ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" "
6454 #include \"curl/curl.h\"
6457 if test "x$ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" = xyes; then :
6458 ac_have_decl=1
6459 else
6460 ac_have_decl=0
6463 cat >>confdefs.h <<_ACEOF
6464 #define HAVE_DECL_CURLOPT_FTP_SSL_CCC $ac_have_decl
6465 _ACEOF
6466 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEOUT_MS" "ac_cv_have_decl_CURLOPT_TIMEOUT_MS" "
6467 #include \"curl/curl.h\"
6470 if test "x$ac_cv_have_decl_CURLOPT_TIMEOUT_MS" = xyes; then :
6471 ac_have_decl=1
6472 else
6473 ac_have_decl=0
6476 cat >>confdefs.h <<_ACEOF
6477 #define HAVE_DECL_CURLOPT_TIMEOUT_MS $ac_have_decl
6478 _ACEOF
6479 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECTTIMEOUT_MS" "ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS" "
6480 #include \"curl/curl.h\"
6483 if test "x$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS" = xyes; then :
6484 ac_have_decl=1
6485 else
6486 ac_have_decl=0
6489 cat >>confdefs.h <<_ACEOF
6490 #define HAVE_DECL_CURLOPT_CONNECTTIMEOUT_MS $ac_have_decl
6491 _ACEOF
6492 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_TRANSFER_DECODING" "ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" "
6493 #include \"curl/curl.h\"
6496 if test "x$ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" = xyes; then :
6497 ac_have_decl=1
6498 else
6499 ac_have_decl=0
6502 cat >>confdefs.h <<_ACEOF
6503 #define HAVE_DECL_CURLOPT_HTTP_TRANSFER_DECODING $ac_have_decl
6504 _ACEOF
6505 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_CONTENT_DECODING" "ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING" "
6506 #include \"curl/curl.h\"
6509 if test "x$ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING" = xyes; then :
6510 ac_have_decl=1
6511 else
6512 ac_have_decl=0
6515 cat >>confdefs.h <<_ACEOF
6516 #define HAVE_DECL_CURLOPT_HTTP_CONTENT_DECODING $ac_have_decl
6517 _ACEOF
6518 ac_fn_c_check_decl "$LINENO" "CURLOPT_NEW_FILE_PERMS" "ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" "
6519 #include \"curl/curl.h\"
6522 if test "x$ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" = xyes; then :
6523 ac_have_decl=1
6524 else
6525 ac_have_decl=0
6528 cat >>confdefs.h <<_ACEOF
6529 #define HAVE_DECL_CURLOPT_NEW_FILE_PERMS $ac_have_decl
6530 _ACEOF
6531 ac_fn_c_check_decl "$LINENO" "CURLOPT_NEW_DIRECTORY_PERMS" "ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS" "
6532 #include \"curl/curl.h\"
6535 if test "x$ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS" = xyes; then :
6536 ac_have_decl=1
6537 else
6538 ac_have_decl=0
6541 cat >>confdefs.h <<_ACEOF
6542 #define HAVE_DECL_CURLOPT_NEW_DIRECTORY_PERMS $ac_have_decl
6543 _ACEOF
6544 ac_fn_c_check_decl "$LINENO" "CURLOPT_POST301" "ac_cv_have_decl_CURLOPT_POST301" "
6545 #include \"curl/curl.h\"
6548 if test "x$ac_cv_have_decl_CURLOPT_POST301" = xyes; then :
6549 ac_have_decl=1
6550 else
6551 ac_have_decl=0
6554 cat >>confdefs.h <<_ACEOF
6555 #define HAVE_DECL_CURLOPT_POST301 $ac_have_decl
6556 _ACEOF
6557 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" "ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" "
6558 #include \"curl/curl.h\"
6561 if test "x$ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" = xyes; then :
6562 ac_have_decl=1
6563 else
6564 ac_have_decl=0
6567 cat >>confdefs.h <<_ACEOF
6568 #define HAVE_DECL_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 $ac_have_decl
6569 _ACEOF
6570 ac_fn_c_check_decl "$LINENO" "CURLOPT_COPYPOSTFIELDS" "ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" "
6571 #include \"curl/curl.h\"
6574 if test "x$ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" = xyes; then :
6575 ac_have_decl=1
6576 else
6577 ac_have_decl=0
6580 cat >>confdefs.h <<_ACEOF
6581 #define HAVE_DECL_CURLOPT_COPYPOSTFIELDS $ac_have_decl
6582 _ACEOF
6583 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXY_TRANSFER_MODE" "ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" "
6584 #include \"curl/curl.h\"
6587 if test "x$ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" = xyes; then :
6588 ac_have_decl=1
6589 else
6590 ac_have_decl=0
6593 cat >>confdefs.h <<_ACEOF
6594 #define HAVE_DECL_CURLOPT_PROXY_TRANSFER_MODE $ac_have_decl
6595 _ACEOF
6596 ac_fn_c_check_decl "$LINENO" "CURLOPT_SEEKFUNCTION" "ac_cv_have_decl_CURLOPT_SEEKFUNCTION" "
6597 #include \"curl/curl.h\"
6600 if test "x$ac_cv_have_decl_CURLOPT_SEEKFUNCTION" = xyes; then :
6601 ac_have_decl=1
6602 else
6603 ac_have_decl=0
6606 cat >>confdefs.h <<_ACEOF
6607 #define HAVE_DECL_CURLOPT_SEEKFUNCTION $ac_have_decl
6608 _ACEOF
6609 ac_fn_c_check_decl "$LINENO" "CURLOPT_OPENSOCKETFUNCTION" "ac_cv_have_decl_CURLOPT_OPENSOCKETFUNCTION" "
6610 #include \"curl/curl.h\"
6613 if test "x$ac_cv_have_decl_CURLOPT_OPENSOCKETFUNCTION" = xyes; then :
6614 ac_have_decl=1
6615 else
6616 ac_have_decl=0
6619 cat >>confdefs.h <<_ACEOF
6620 #define HAVE_DECL_CURLOPT_OPENSOCKETFUNCTION $ac_have_decl
6621 _ACEOF
6622 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROTOCOLS" "ac_cv_have_decl_CURLOPT_PROTOCOLS" "
6623 #include \"curl/curl.h\"
6626 if test "x$ac_cv_have_decl_CURLOPT_PROTOCOLS" = xyes; then :
6627 ac_have_decl=1
6628 else
6629 ac_have_decl=0
6632 cat >>confdefs.h <<_ACEOF
6633 #define HAVE_DECL_CURLOPT_PROTOCOLS $ac_have_decl
6634 _ACEOF
6635 ac_fn_c_check_decl "$LINENO" "CURLOPT_REDIR_PROTOCOLS" "ac_cv_have_decl_CURLOPT_REDIR_PROTOCOLS" "
6636 #include \"curl/curl.h\"
6639 if test "x$ac_cv_have_decl_CURLOPT_REDIR_PROTOCOLS" = xyes; then :
6640 ac_have_decl=1
6641 else
6642 ac_have_decl=0
6645 cat >>confdefs.h <<_ACEOF
6646 #define HAVE_DECL_CURLOPT_REDIR_PROTOCOLS $ac_have_decl
6647 _ACEOF
6648 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESOLVE" "ac_cv_have_decl_CURLOPT_RESOLVE" "
6649 #include \"curl/curl.h\"
6652 if test "x$ac_cv_have_decl_CURLOPT_RESOLVE" = xyes; then :
6653 ac_have_decl=1
6654 else
6655 ac_have_decl=0
6658 cat >>confdefs.h <<_ACEOF
6659 #define HAVE_DECL_CURLOPT_RESOLVE $ac_have_decl
6660 _ACEOF
6661 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_SERVERS" "ac_cv_have_decl_CURLOPT_DNS_SERVERS" "
6662 #include \"curl/curl.h\"
6665 if test "x$ac_cv_have_decl_CURLOPT_DNS_SERVERS" = xyes; then :
6666 ac_have_decl=1
6667 else
6668 ac_have_decl=0
6671 cat >>confdefs.h <<_ACEOF
6672 #define HAVE_DECL_CURLOPT_DNS_SERVERS $ac_have_decl
6673 _ACEOF
6674 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAIL_FROM" "ac_cv_have_decl_CURLOPT_MAIL_FROM" "
6675 #include \"curl/curl.h\"
6678 if test "x$ac_cv_have_decl_CURLOPT_MAIL_FROM" = xyes; then :
6679 ac_have_decl=1
6680 else
6681 ac_have_decl=0
6684 cat >>confdefs.h <<_ACEOF
6685 #define HAVE_DECL_CURLOPT_MAIL_FROM $ac_have_decl
6686 _ACEOF
6687 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAIL_RCPT" "ac_cv_have_decl_CURLOPT_MAIL_RCPT" "
6688 #include \"curl/curl.h\"
6691 if test "x$ac_cv_have_decl_CURLOPT_MAIL_RCPT" = xyes; then :
6692 ac_have_decl=1
6693 else
6694 ac_have_decl=0
6697 cat >>confdefs.h <<_ACEOF
6698 #define HAVE_DECL_CURLOPT_MAIL_RCPT $ac_have_decl
6699 _ACEOF
6700 ac_fn_c_check_decl "$LINENO" "CURLOPT_PIPEWAIT" "ac_cv_have_decl_CURLOPT_PIPEWAIT" "
6701 #include \"curl/curl.h\"
6704 if test "x$ac_cv_have_decl_CURLOPT_PIPEWAIT" = xyes; then :
6705 ac_have_decl=1
6706 else
6707 ac_have_decl=0
6710 cat >>confdefs.h <<_ACEOF
6711 #define HAVE_DECL_CURLOPT_PIPEWAIT $ac_have_decl
6712 _ACEOF
6713 ac_fn_c_check_decl "$LINENO" "CURLOPT_CERTINFO" "ac_cv_have_decl_CURLOPT_CERTINFO" "
6714 #include \"curl/curl.h\"
6717 if test "x$ac_cv_have_decl_CURLOPT_CERTINFO" = xyes; then :
6718 ac_have_decl=1
6719 else
6720 ac_have_decl=0
6723 cat >>confdefs.h <<_ACEOF
6724 #define HAVE_DECL_CURLOPT_CERTINFO $ac_have_decl
6725 _ACEOF
6726 ac_fn_c_check_decl "$LINENO" "CURLOPT_USERNAME" "ac_cv_have_decl_CURLOPT_USERNAME" "
6727 #include \"curl/curl.h\"
6730 if test "x$ac_cv_have_decl_CURLOPT_USERNAME" = xyes; then :
6731 ac_have_decl=1
6732 else
6733 ac_have_decl=0
6736 cat >>confdefs.h <<_ACEOF
6737 #define HAVE_DECL_CURLOPT_USERNAME $ac_have_decl
6738 _ACEOF
6739 ac_fn_c_check_decl "$LINENO" "CURLOPT_PASSWORD" "ac_cv_have_decl_CURLOPT_PASSWORD" "
6740 #include \"curl/curl.h\"
6743 if test "x$ac_cv_have_decl_CURLOPT_PASSWORD" = xyes; then :
6744 ac_have_decl=1
6745 else
6746 ac_have_decl=0
6749 cat >>confdefs.h <<_ACEOF
6750 #define HAVE_DECL_CURLOPT_PASSWORD $ac_have_decl
6751 _ACEOF
6752 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOGIN_OPTIONS" "ac_cv_have_decl_CURLOPT_LOGIN_OPTIONS" "
6753 #include \"curl/curl.h\"
6756 if test "x$ac_cv_have_decl_CURLOPT_LOGIN_OPTIONS" = xyes; then :
6757 ac_have_decl=1
6758 else
6759 ac_have_decl=0
6762 cat >>confdefs.h <<_ACEOF
6763 #define HAVE_DECL_CURLOPT_LOGIN_OPTIONS $ac_have_decl
6764 _ACEOF
6765 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECT_TO" "ac_cv_have_decl_CURLOPT_CONNECT_TO" "
6766 #include \"curl/curl.h\"
6769 if test "x$ac_cv_have_decl_CURLOPT_CONNECT_TO" = xyes; then :
6770 ac_have_decl=1
6771 else
6772 ac_have_decl=0
6775 cat >>confdefs.h <<_ACEOF
6776 #define HAVE_DECL_CURLOPT_CONNECT_TO $ac_have_decl
6777 _ACEOF
6778 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTREDIR" "ac_cv_have_decl_CURLOPT_POSTREDIR" "
6779 #include \"curl/curl.h\"
6782 if test "x$ac_cv_have_decl_CURLOPT_POSTREDIR" = xyes; then :
6783 ac_have_decl=1
6784 else
6785 ac_have_decl=0
6788 cat >>confdefs.h <<_ACEOF
6789 #define HAVE_DECL_CURLOPT_POSTREDIR $ac_have_decl
6790 _ACEOF
6791 ac_fn_c_check_decl "$LINENO" "CURLINFO_EFFECTIVE_URL" "ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" "
6792 #include \"curl/curl.h\"
6795 if test "x$ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" = xyes; then :
6796 ac_have_decl=1
6797 else
6798 ac_have_decl=0
6801 cat >>confdefs.h <<_ACEOF
6802 #define HAVE_DECL_CURLINFO_EFFECTIVE_URL $ac_have_decl
6803 _ACEOF
6804 ac_fn_c_check_decl "$LINENO" "CURLINFO_RESPONSE_CODE" "ac_cv_have_decl_CURLINFO_RESPONSE_CODE" "
6805 #include \"curl/curl.h\"
6808 if test "x$ac_cv_have_decl_CURLINFO_RESPONSE_CODE" = xyes; then :
6809 ac_have_decl=1
6810 else
6811 ac_have_decl=0
6814 cat >>confdefs.h <<_ACEOF
6815 #define HAVE_DECL_CURLINFO_RESPONSE_CODE $ac_have_decl
6816 _ACEOF
6817 ac_fn_c_check_decl "$LINENO" "CURLINFO_TOTAL_TIME" "ac_cv_have_decl_CURLINFO_TOTAL_TIME" "
6818 #include \"curl/curl.h\"
6821 if test "x$ac_cv_have_decl_CURLINFO_TOTAL_TIME" = xyes; then :
6822 ac_have_decl=1
6823 else
6824 ac_have_decl=0
6827 cat >>confdefs.h <<_ACEOF
6828 #define HAVE_DECL_CURLINFO_TOTAL_TIME $ac_have_decl
6829 _ACEOF
6830 ac_fn_c_check_decl "$LINENO" "CURLINFO_NAMELOOKUP_TIME" "ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" "
6831 #include \"curl/curl.h\"
6834 if test "x$ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" = xyes; then :
6835 ac_have_decl=1
6836 else
6837 ac_have_decl=0
6840 cat >>confdefs.h <<_ACEOF
6841 #define HAVE_DECL_CURLINFO_NAMELOOKUP_TIME $ac_have_decl
6842 _ACEOF
6843 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONNECT_TIME" "ac_cv_have_decl_CURLINFO_CONNECT_TIME" "
6844 #include \"curl/curl.h\"
6847 if test "x$ac_cv_have_decl_CURLINFO_CONNECT_TIME" = xyes; then :
6848 ac_have_decl=1
6849 else
6850 ac_have_decl=0
6853 cat >>confdefs.h <<_ACEOF
6854 #define HAVE_DECL_CURLINFO_CONNECT_TIME $ac_have_decl
6855 _ACEOF
6856 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRETRANSFER_TIME" "ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" "
6857 #include \"curl/curl.h\"
6860 if test "x$ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" = xyes; then :
6861 ac_have_decl=1
6862 else
6863 ac_have_decl=0
6866 cat >>confdefs.h <<_ACEOF
6867 #define HAVE_DECL_CURLINFO_PRETRANSFER_TIME $ac_have_decl
6868 _ACEOF
6869 ac_fn_c_check_decl "$LINENO" "CURLINFO_SIZE_UPLOAD" "ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" "
6870 #include \"curl/curl.h\"
6873 if test "x$ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" = xyes; then :
6874 ac_have_decl=1
6875 else
6876 ac_have_decl=0
6879 cat >>confdefs.h <<_ACEOF
6880 #define HAVE_DECL_CURLINFO_SIZE_UPLOAD $ac_have_decl
6881 _ACEOF
6882 ac_fn_c_check_decl "$LINENO" "CURLINFO_SIZE_DOWNLOAD" "ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" "
6883 #include \"curl/curl.h\"
6886 if test "x$ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" = xyes; then :
6887 ac_have_decl=1
6888 else
6889 ac_have_decl=0
6892 cat >>confdefs.h <<_ACEOF
6893 #define HAVE_DECL_CURLINFO_SIZE_DOWNLOAD $ac_have_decl
6894 _ACEOF
6895 ac_fn_c_check_decl "$LINENO" "CURLINFO_SPEED_DOWNLOAD" "ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" "
6896 #include \"curl/curl.h\"
6899 if test "x$ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" = xyes; then :
6900 ac_have_decl=1
6901 else
6902 ac_have_decl=0
6905 cat >>confdefs.h <<_ACEOF
6906 #define HAVE_DECL_CURLINFO_SPEED_DOWNLOAD $ac_have_decl
6907 _ACEOF
6908 ac_fn_c_check_decl "$LINENO" "CURLINFO_SPEED_UPLOAD" "ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" "
6909 #include \"curl/curl.h\"
6912 if test "x$ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" = xyes; then :
6913 ac_have_decl=1
6914 else
6915 ac_have_decl=0
6918 cat >>confdefs.h <<_ACEOF
6919 #define HAVE_DECL_CURLINFO_SPEED_UPLOAD $ac_have_decl
6920 _ACEOF
6921 ac_fn_c_check_decl "$LINENO" "CURLINFO_HEADER_SIZE" "ac_cv_have_decl_CURLINFO_HEADER_SIZE" "
6922 #include \"curl/curl.h\"
6925 if test "x$ac_cv_have_decl_CURLINFO_HEADER_SIZE" = xyes; then :
6926 ac_have_decl=1
6927 else
6928 ac_have_decl=0
6931 cat >>confdefs.h <<_ACEOF
6932 #define HAVE_DECL_CURLINFO_HEADER_SIZE $ac_have_decl
6933 _ACEOF
6934 ac_fn_c_check_decl "$LINENO" "CURLINFO_REQUEST_SIZE" "ac_cv_have_decl_CURLINFO_REQUEST_SIZE" "
6935 #include \"curl/curl.h\"
6938 if test "x$ac_cv_have_decl_CURLINFO_REQUEST_SIZE" = xyes; then :
6939 ac_have_decl=1
6940 else
6941 ac_have_decl=0
6944 cat >>confdefs.h <<_ACEOF
6945 #define HAVE_DECL_CURLINFO_REQUEST_SIZE $ac_have_decl
6946 _ACEOF
6947 ac_fn_c_check_decl "$LINENO" "CURLINFO_SSL_VERIFYRESULT" "ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" "
6948 #include \"curl/curl.h\"
6951 if test "x$ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" = xyes; then :
6952 ac_have_decl=1
6953 else
6954 ac_have_decl=0
6957 cat >>confdefs.h <<_ACEOF
6958 #define HAVE_DECL_CURLINFO_SSL_VERIFYRESULT $ac_have_decl
6959 _ACEOF
6960 ac_fn_c_check_decl "$LINENO" "CURLINFO_FILETIME" "ac_cv_have_decl_CURLINFO_FILETIME" "
6961 #include \"curl/curl.h\"
6964 if test "x$ac_cv_have_decl_CURLINFO_FILETIME" = xyes; then :
6965 ac_have_decl=1
6966 else
6967 ac_have_decl=0
6970 cat >>confdefs.h <<_ACEOF
6971 #define HAVE_DECL_CURLINFO_FILETIME $ac_have_decl
6972 _ACEOF
6973 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_LENGTH_DOWNLOAD" "ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" "
6974 #include \"curl/curl.h\"
6977 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" = xyes; then :
6978 ac_have_decl=1
6979 else
6980 ac_have_decl=0
6983 cat >>confdefs.h <<_ACEOF
6984 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_DOWNLOAD $ac_have_decl
6985 _ACEOF
6986 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_LENGTH_UPLOAD" "ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" "
6987 #include \"curl/curl.h\"
6990 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" = xyes; then :
6991 ac_have_decl=1
6992 else
6993 ac_have_decl=0
6996 cat >>confdefs.h <<_ACEOF
6997 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_UPLOAD $ac_have_decl
6998 _ACEOF
6999 ac_fn_c_check_decl "$LINENO" "CURLINFO_STARTTRANSFER_TIME" "ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" "
7000 #include \"curl/curl.h\"
7003 if test "x$ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" = xyes; then :
7004 ac_have_decl=1
7005 else
7006 ac_have_decl=0
7009 cat >>confdefs.h <<_ACEOF
7010 #define HAVE_DECL_CURLINFO_STARTTRANSFER_TIME $ac_have_decl
7011 _ACEOF
7012 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_TYPE" "ac_cv_have_decl_CURLINFO_CONTENT_TYPE" "
7013 #include \"curl/curl.h\"
7016 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_TYPE" = xyes; then :
7017 ac_have_decl=1
7018 else
7019 ac_have_decl=0
7022 cat >>confdefs.h <<_ACEOF
7023 #define HAVE_DECL_CURLINFO_CONTENT_TYPE $ac_have_decl
7024 _ACEOF
7025 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_TIME" "ac_cv_have_decl_CURLINFO_REDIRECT_TIME" "
7026 #include \"curl/curl.h\"
7029 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_TIME" = xyes; then :
7030 ac_have_decl=1
7031 else
7032 ac_have_decl=0
7035 cat >>confdefs.h <<_ACEOF
7036 #define HAVE_DECL_CURLINFO_REDIRECT_TIME $ac_have_decl
7037 _ACEOF
7038 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_COUNT" "ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" "
7039 #include \"curl/curl.h\"
7042 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" = xyes; then :
7043 ac_have_decl=1
7044 else
7045 ac_have_decl=0
7048 cat >>confdefs.h <<_ACEOF
7049 #define HAVE_DECL_CURLINFO_REDIRECT_COUNT $ac_have_decl
7050 _ACEOF
7051 ac_fn_c_check_decl "$LINENO" "CURLINFO_HTTP_CONNECTCODE" "ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" "
7052 #include \"curl/curl.h\"
7055 if test "x$ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" = xyes; then :
7056 ac_have_decl=1
7057 else
7058 ac_have_decl=0
7061 cat >>confdefs.h <<_ACEOF
7062 #define HAVE_DECL_CURLINFO_HTTP_CONNECTCODE $ac_have_decl
7063 _ACEOF
7064 ac_fn_c_check_decl "$LINENO" "CURLINFO_HTTPAUTH_AVAIL" "ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" "
7065 #include \"curl/curl.h\"
7068 if test "x$ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" = xyes; then :
7069 ac_have_decl=1
7070 else
7071 ac_have_decl=0
7074 cat >>confdefs.h <<_ACEOF
7075 #define HAVE_DECL_CURLINFO_HTTPAUTH_AVAIL $ac_have_decl
7076 _ACEOF
7077 ac_fn_c_check_decl "$LINENO" "CURLINFO_PROXYAUTH_AVAIL" "ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" "
7078 #include \"curl/curl.h\"
7081 if test "x$ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" = xyes; then :
7082 ac_have_decl=1
7083 else
7084 ac_have_decl=0
7087 cat >>confdefs.h <<_ACEOF
7088 #define HAVE_DECL_CURLINFO_PROXYAUTH_AVAIL $ac_have_decl
7089 _ACEOF
7090 ac_fn_c_check_decl "$LINENO" "CURLINFO_OS_ERRNO" "ac_cv_have_decl_CURLINFO_OS_ERRNO" "
7091 #include \"curl/curl.h\"
7094 if test "x$ac_cv_have_decl_CURLINFO_OS_ERRNO" = xyes; then :
7095 ac_have_decl=1
7096 else
7097 ac_have_decl=0
7100 cat >>confdefs.h <<_ACEOF
7101 #define HAVE_DECL_CURLINFO_OS_ERRNO $ac_have_decl
7102 _ACEOF
7103 ac_fn_c_check_decl "$LINENO" "CURLINFO_NUM_CONNECTS" "ac_cv_have_decl_CURLINFO_NUM_CONNECTS" "
7104 #include \"curl/curl.h\"
7107 if test "x$ac_cv_have_decl_CURLINFO_NUM_CONNECTS" = xyes; then :
7108 ac_have_decl=1
7109 else
7110 ac_have_decl=0
7113 cat >>confdefs.h <<_ACEOF
7114 #define HAVE_DECL_CURLINFO_NUM_CONNECTS $ac_have_decl
7115 _ACEOF
7116 ac_fn_c_check_decl "$LINENO" "CURLINFO_SSL_ENGINES" "ac_cv_have_decl_CURLINFO_SSL_ENGINES" "
7117 #include \"curl/curl.h\"
7120 if test "x$ac_cv_have_decl_CURLINFO_SSL_ENGINES" = xyes; then :
7121 ac_have_decl=1
7122 else
7123 ac_have_decl=0
7126 cat >>confdefs.h <<_ACEOF
7127 #define HAVE_DECL_CURLINFO_SSL_ENGINES $ac_have_decl
7128 _ACEOF
7129 ac_fn_c_check_decl "$LINENO" "CURLINFO_COOKIELIST" "ac_cv_have_decl_CURLINFO_COOKIELIST" "
7130 #include \"curl/curl.h\"
7133 if test "x$ac_cv_have_decl_CURLINFO_COOKIELIST" = xyes; then :
7134 ac_have_decl=1
7135 else
7136 ac_have_decl=0
7139 cat >>confdefs.h <<_ACEOF
7140 #define HAVE_DECL_CURLINFO_COOKIELIST $ac_have_decl
7141 _ACEOF
7142 ac_fn_c_check_decl "$LINENO" "CURLINFO_LASTSOCKET" "ac_cv_have_decl_CURLINFO_LASTSOCKET" "
7143 #include \"curl/curl.h\"
7146 if test "x$ac_cv_have_decl_CURLINFO_LASTSOCKET" = xyes; then :
7147 ac_have_decl=1
7148 else
7149 ac_have_decl=0
7152 cat >>confdefs.h <<_ACEOF
7153 #define HAVE_DECL_CURLINFO_LASTSOCKET $ac_have_decl
7154 _ACEOF
7155 ac_fn_c_check_decl "$LINENO" "CURLINFO_FTP_ENTRY_PATH" "ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" "
7156 #include \"curl/curl.h\"
7159 if test "x$ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" = xyes; then :
7160 ac_have_decl=1
7161 else
7162 ac_have_decl=0
7165 cat >>confdefs.h <<_ACEOF
7166 #define HAVE_DECL_CURLINFO_FTP_ENTRY_PATH $ac_have_decl
7167 _ACEOF
7168 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_URL" "ac_cv_have_decl_CURLINFO_REDIRECT_URL" "
7169 #include \"curl/curl.h\"
7172 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_URL" = xyes; then :
7173 ac_have_decl=1
7174 else
7175 ac_have_decl=0
7178 cat >>confdefs.h <<_ACEOF
7179 #define HAVE_DECL_CURLINFO_REDIRECT_URL $ac_have_decl
7180 _ACEOF
7181 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRIMARY_IP" "ac_cv_have_decl_CURLINFO_PRIMARY_IP" "
7182 #include \"curl/curl.h\"
7185 if test "x$ac_cv_have_decl_CURLINFO_PRIMARY_IP" = xyes; then :
7186 ac_have_decl=1
7187 else
7188 ac_have_decl=0
7191 cat >>confdefs.h <<_ACEOF
7192 #define HAVE_DECL_CURLINFO_PRIMARY_IP $ac_have_decl
7193 _ACEOF
7194 ac_fn_c_check_decl "$LINENO" "CURLINFO_LOCAL_IP" "ac_cv_have_decl_CURLINFO_LOCAL_IP" "
7195 #include \"curl/curl.h\"
7198 if test "x$ac_cv_have_decl_CURLINFO_LOCAL_IP" = xyes; then :
7199 ac_have_decl=1
7200 else
7201 ac_have_decl=0
7204 cat >>confdefs.h <<_ACEOF
7205 #define HAVE_DECL_CURLINFO_LOCAL_IP $ac_have_decl
7206 _ACEOF
7207 ac_fn_c_check_decl "$LINENO" "CURLINFO_LOCAL_PORT" "ac_cv_have_decl_CURLINFO_LOCAL_PORT" "
7208 #include \"curl/curl.h\"
7211 if test "x$ac_cv_have_decl_CURLINFO_LOCAL_PORT" = xyes; then :
7212 ac_have_decl=1
7213 else
7214 ac_have_decl=0
7217 cat >>confdefs.h <<_ACEOF
7218 #define HAVE_DECL_CURLINFO_LOCAL_PORT $ac_have_decl
7219 _ACEOF
7220 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONDITION_UNMET" "ac_cv_have_decl_CURLINFO_CONDITION_UNMET" "
7221 #include \"curl/curl.h\"
7224 if test "x$ac_cv_have_decl_CURLINFO_CONDITION_UNMET" = xyes; then :
7225 ac_have_decl=1
7226 else
7227 ac_have_decl=0
7230 cat >>confdefs.h <<_ACEOF
7231 #define HAVE_DECL_CURLINFO_CONDITION_UNMET $ac_have_decl
7232 _ACEOF
7233 ac_fn_c_check_decl "$LINENO" "CURLINFO_CERTINFO" "ac_cv_have_decl_CURLINFO_CERTINFO" "
7234 #include \"curl/curl.h\"
7237 if test "x$ac_cv_have_decl_CURLINFO_CERTINFO" = xyes; then :
7238 ac_have_decl=1
7239 else
7240 ac_have_decl=0
7243 cat >>confdefs.h <<_ACEOF
7244 #define HAVE_DECL_CURLINFO_CERTINFO $ac_have_decl
7245 _ACEOF
7246 ac_fn_c_check_decl "$LINENO" "CURLE_UNSUPPORTED_PROTOCOL" "ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" "
7247 #include \"curl/curl.h\"
7250 if test "x$ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" = xyes; then :
7251 ac_have_decl=1
7252 else
7253 ac_have_decl=0
7256 cat >>confdefs.h <<_ACEOF
7257 #define HAVE_DECL_CURLE_UNSUPPORTED_PROTOCOL $ac_have_decl
7258 _ACEOF
7259 ac_fn_c_check_decl "$LINENO" "CURLE_FAILED_INIT" "ac_cv_have_decl_CURLE_FAILED_INIT" "
7260 #include \"curl/curl.h\"
7263 if test "x$ac_cv_have_decl_CURLE_FAILED_INIT" = xyes; then :
7264 ac_have_decl=1
7265 else
7266 ac_have_decl=0
7269 cat >>confdefs.h <<_ACEOF
7270 #define HAVE_DECL_CURLE_FAILED_INIT $ac_have_decl
7271 _ACEOF
7272 ac_fn_c_check_decl "$LINENO" "CURLE_URL_MALFORMAT" "ac_cv_have_decl_CURLE_URL_MALFORMAT" "
7273 #include \"curl/curl.h\"
7276 if test "x$ac_cv_have_decl_CURLE_URL_MALFORMAT" = xyes; then :
7277 ac_have_decl=1
7278 else
7279 ac_have_decl=0
7282 cat >>confdefs.h <<_ACEOF
7283 #define HAVE_DECL_CURLE_URL_MALFORMAT $ac_have_decl
7284 _ACEOF
7285 ac_fn_c_check_decl "$LINENO" "CURLE_URL_MALFORMAT_USER" "ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" "
7286 #include \"curl/curl.h\"
7289 if test "x$ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" = xyes; then :
7290 ac_have_decl=1
7291 else
7292 ac_have_decl=0
7295 cat >>confdefs.h <<_ACEOF
7296 #define HAVE_DECL_CURLE_URL_MALFORMAT_USER $ac_have_decl
7297 _ACEOF
7298 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_RESOLVE_PROXY" "ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" "
7299 #include \"curl/curl.h\"
7302 if test "x$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" = xyes; then :
7303 ac_have_decl=1
7304 else
7305 ac_have_decl=0
7308 cat >>confdefs.h <<_ACEOF
7309 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_PROXY $ac_have_decl
7310 _ACEOF
7311 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_RESOLVE_HOST" "ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" "
7312 #include \"curl/curl.h\"
7315 if test "x$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" = xyes; then :
7316 ac_have_decl=1
7317 else
7318 ac_have_decl=0
7321 cat >>confdefs.h <<_ACEOF
7322 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_HOST $ac_have_decl
7323 _ACEOF
7324 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_CONNECT" "ac_cv_have_decl_CURLE_COULDNT_CONNECT" "
7325 #include \"curl/curl.h\"
7328 if test "x$ac_cv_have_decl_CURLE_COULDNT_CONNECT" = xyes; then :
7329 ac_have_decl=1
7330 else
7331 ac_have_decl=0
7334 cat >>confdefs.h <<_ACEOF
7335 #define HAVE_DECL_CURLE_COULDNT_CONNECT $ac_have_decl
7336 _ACEOF
7337 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_SERVER_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" "
7338 #include \"curl/curl.h\"
7341 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" = xyes; then :
7342 ac_have_decl=1
7343 else
7344 ac_have_decl=0
7347 cat >>confdefs.h <<_ACEOF
7348 #define HAVE_DECL_CURLE_FTP_WEIRD_SERVER_REPLY $ac_have_decl
7349 _ACEOF
7350 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_ACCESS_DENIED" "ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" "
7351 #include \"curl/curl.h\"
7354 if test "x$ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" = xyes; then :
7355 ac_have_decl=1
7356 else
7357 ac_have_decl=0
7360 cat >>confdefs.h <<_ACEOF
7361 #define HAVE_DECL_CURLE_FTP_ACCESS_DENIED $ac_have_decl
7362 _ACEOF
7363 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_USER_PASSWORD_INCORRECT" "ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" "
7364 #include \"curl/curl.h\"
7367 if test "x$ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" = xyes; then :
7368 ac_have_decl=1
7369 else
7370 ac_have_decl=0
7373 cat >>confdefs.h <<_ACEOF
7374 #define HAVE_DECL_CURLE_FTP_USER_PASSWORD_INCORRECT $ac_have_decl
7375 _ACEOF
7376 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_PASS_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" "
7377 #include \"curl/curl.h\"
7380 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" = xyes; then :
7381 ac_have_decl=1
7382 else
7383 ac_have_decl=0
7386 cat >>confdefs.h <<_ACEOF
7387 #define HAVE_DECL_CURLE_FTP_WEIRD_PASS_REPLY $ac_have_decl
7388 _ACEOF
7389 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_USER_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" "
7390 #include \"curl/curl.h\"
7393 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" = xyes; then :
7394 ac_have_decl=1
7395 else
7396 ac_have_decl=0
7399 cat >>confdefs.h <<_ACEOF
7400 #define HAVE_DECL_CURLE_FTP_WEIRD_USER_REPLY $ac_have_decl
7401 _ACEOF
7402 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_PASV_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY" "
7403 #include \"curl/curl.h\"
7406 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY" = xyes; then :
7407 ac_have_decl=1
7408 else
7409 ac_have_decl=0
7412 cat >>confdefs.h <<_ACEOF
7413 #define HAVE_DECL_CURLE_FTP_WEIRD_PASV_REPLY $ac_have_decl
7414 _ACEOF
7415 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_227_FORMAT" "ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" "
7416 #include \"curl/curl.h\"
7419 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" = xyes; then :
7420 ac_have_decl=1
7421 else
7422 ac_have_decl=0
7425 cat >>confdefs.h <<_ACEOF
7426 #define HAVE_DECL_CURLE_FTP_WEIRD_227_FORMAT $ac_have_decl
7427 _ACEOF
7428 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_CANT_GET_HOST" "ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" "
7429 #include \"curl/curl.h\"
7432 if test "x$ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" = xyes; then :
7433 ac_have_decl=1
7434 else
7435 ac_have_decl=0
7438 cat >>confdefs.h <<_ACEOF
7439 #define HAVE_DECL_CURLE_FTP_CANT_GET_HOST $ac_have_decl
7440 _ACEOF
7441 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_CANT_RECONNECT" "ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" "
7442 #include \"curl/curl.h\"
7445 if test "x$ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" = xyes; then :
7446 ac_have_decl=1
7447 else
7448 ac_have_decl=0
7451 cat >>confdefs.h <<_ACEOF
7452 #define HAVE_DECL_CURLE_FTP_CANT_RECONNECT $ac_have_decl
7453 _ACEOF
7454 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_SET_BINARY" "ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" "
7455 #include \"curl/curl.h\"
7458 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" = xyes; then :
7459 ac_have_decl=1
7460 else
7461 ac_have_decl=0
7464 cat >>confdefs.h <<_ACEOF
7465 #define HAVE_DECL_CURLE_FTP_COULDNT_SET_BINARY $ac_have_decl
7466 _ACEOF
7467 ac_fn_c_check_decl "$LINENO" "CURLE_PARTIAL_FILE" "ac_cv_have_decl_CURLE_PARTIAL_FILE" "
7468 #include \"curl/curl.h\"
7471 if test "x$ac_cv_have_decl_CURLE_PARTIAL_FILE" = xyes; then :
7472 ac_have_decl=1
7473 else
7474 ac_have_decl=0
7477 cat >>confdefs.h <<_ACEOF
7478 #define HAVE_DECL_CURLE_PARTIAL_FILE $ac_have_decl
7479 _ACEOF
7480 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_RETR_FILE" "ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" "
7481 #include \"curl/curl.h\"
7484 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" = xyes; then :
7485 ac_have_decl=1
7486 else
7487 ac_have_decl=0
7490 cat >>confdefs.h <<_ACEOF
7491 #define HAVE_DECL_CURLE_FTP_COULDNT_RETR_FILE $ac_have_decl
7492 _ACEOF
7493 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WRITE_ERROR" "ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" "
7494 #include \"curl/curl.h\"
7497 if test "x$ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" = xyes; then :
7498 ac_have_decl=1
7499 else
7500 ac_have_decl=0
7503 cat >>confdefs.h <<_ACEOF
7504 #define HAVE_DECL_CURLE_FTP_WRITE_ERROR $ac_have_decl
7505 _ACEOF
7506 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_QUOTE_ERROR" "ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" "
7507 #include \"curl/curl.h\"
7510 if test "x$ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" = xyes; then :
7511 ac_have_decl=1
7512 else
7513 ac_have_decl=0
7516 cat >>confdefs.h <<_ACEOF
7517 #define HAVE_DECL_CURLE_FTP_QUOTE_ERROR $ac_have_decl
7518 _ACEOF
7519 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_RETURNED_ERROR" "ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" "
7520 #include \"curl/curl.h\"
7523 if test "x$ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" = xyes; then :
7524 ac_have_decl=1
7525 else
7526 ac_have_decl=0
7529 cat >>confdefs.h <<_ACEOF
7530 #define HAVE_DECL_CURLE_HTTP_RETURNED_ERROR $ac_have_decl
7531 _ACEOF
7532 ac_fn_c_check_decl "$LINENO" "CURLE_WRITE_ERROR" "ac_cv_have_decl_CURLE_WRITE_ERROR" "
7533 #include \"curl/curl.h\"
7536 if test "x$ac_cv_have_decl_CURLE_WRITE_ERROR" = xyes; then :
7537 ac_have_decl=1
7538 else
7539 ac_have_decl=0
7542 cat >>confdefs.h <<_ACEOF
7543 #define HAVE_DECL_CURLE_WRITE_ERROR $ac_have_decl
7544 _ACEOF
7545 ac_fn_c_check_decl "$LINENO" "CURLE_MALFORMAT_USER" "ac_cv_have_decl_CURLE_MALFORMAT_USER" "
7546 #include \"curl/curl.h\"
7549 if test "x$ac_cv_have_decl_CURLE_MALFORMAT_USER" = xyes; then :
7550 ac_have_decl=1
7551 else
7552 ac_have_decl=0
7555 cat >>confdefs.h <<_ACEOF
7556 #define HAVE_DECL_CURLE_MALFORMAT_USER $ac_have_decl
7557 _ACEOF
7558 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_STOR_FILE" "ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" "
7559 #include \"curl/curl.h\"
7562 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" = xyes; then :
7563 ac_have_decl=1
7564 else
7565 ac_have_decl=0
7568 cat >>confdefs.h <<_ACEOF
7569 #define HAVE_DECL_CURLE_FTP_COULDNT_STOR_FILE $ac_have_decl
7570 _ACEOF
7571 ac_fn_c_check_decl "$LINENO" "CURLE_READ_ERROR" "ac_cv_have_decl_CURLE_READ_ERROR" "
7572 #include \"curl/curl.h\"
7575 if test "x$ac_cv_have_decl_CURLE_READ_ERROR" = xyes; then :
7576 ac_have_decl=1
7577 else
7578 ac_have_decl=0
7581 cat >>confdefs.h <<_ACEOF
7582 #define HAVE_DECL_CURLE_READ_ERROR $ac_have_decl
7583 _ACEOF
7584 ac_fn_c_check_decl "$LINENO" "CURLE_OUT_OF_MEMORY" "ac_cv_have_decl_CURLE_OUT_OF_MEMORY" "
7585 #include \"curl/curl.h\"
7588 if test "x$ac_cv_have_decl_CURLE_OUT_OF_MEMORY" = xyes; then :
7589 ac_have_decl=1
7590 else
7591 ac_have_decl=0
7594 cat >>confdefs.h <<_ACEOF
7595 #define HAVE_DECL_CURLE_OUT_OF_MEMORY $ac_have_decl
7596 _ACEOF
7597 ac_fn_c_check_decl "$LINENO" "CURLE_OPERATION_TIMEOUTED" "ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" "
7598 #include \"curl/curl.h\"
7601 if test "x$ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" = xyes; then :
7602 ac_have_decl=1
7603 else
7604 ac_have_decl=0
7607 cat >>confdefs.h <<_ACEOF
7608 #define HAVE_DECL_CURLE_OPERATION_TIMEOUTED $ac_have_decl
7609 _ACEOF
7610 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_SET_ASCII" "ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" "
7611 #include \"curl/curl.h\"
7614 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" = xyes; then :
7615 ac_have_decl=1
7616 else
7617 ac_have_decl=0
7620 cat >>confdefs.h <<_ACEOF
7621 #define HAVE_DECL_CURLE_FTP_COULDNT_SET_ASCII $ac_have_decl
7622 _ACEOF
7623 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_PORT_FAILED" "ac_cv_have_decl_CURLE_FTP_PORT_FAILED" "
7624 #include \"curl/curl.h\"
7627 if test "x$ac_cv_have_decl_CURLE_FTP_PORT_FAILED" = xyes; then :
7628 ac_have_decl=1
7629 else
7630 ac_have_decl=0
7633 cat >>confdefs.h <<_ACEOF
7634 #define HAVE_DECL_CURLE_FTP_PORT_FAILED $ac_have_decl
7635 _ACEOF
7636 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_USE_REST" "ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" "
7637 #include \"curl/curl.h\"
7640 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" = xyes; then :
7641 ac_have_decl=1
7642 else
7643 ac_have_decl=0
7646 cat >>confdefs.h <<_ACEOF
7647 #define HAVE_DECL_CURLE_FTP_COULDNT_USE_REST $ac_have_decl
7648 _ACEOF
7649 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_GET_SIZE" "ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" "
7650 #include \"curl/curl.h\"
7653 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" = xyes; then :
7654 ac_have_decl=1
7655 else
7656 ac_have_decl=0
7659 cat >>confdefs.h <<_ACEOF
7660 #define HAVE_DECL_CURLE_FTP_COULDNT_GET_SIZE $ac_have_decl
7661 _ACEOF
7662 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_RANGE_ERROR" "ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" "
7663 #include \"curl/curl.h\"
7666 if test "x$ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" = xyes; then :
7667 ac_have_decl=1
7668 else
7669 ac_have_decl=0
7672 cat >>confdefs.h <<_ACEOF
7673 #define HAVE_DECL_CURLE_HTTP_RANGE_ERROR $ac_have_decl
7674 _ACEOF
7675 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_POST_ERROR" "ac_cv_have_decl_CURLE_HTTP_POST_ERROR" "
7676 #include \"curl/curl.h\"
7679 if test "x$ac_cv_have_decl_CURLE_HTTP_POST_ERROR" = xyes; then :
7680 ac_have_decl=1
7681 else
7682 ac_have_decl=0
7685 cat >>confdefs.h <<_ACEOF
7686 #define HAVE_DECL_CURLE_HTTP_POST_ERROR $ac_have_decl
7687 _ACEOF
7688 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CONNECT_ERROR" "ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" "
7689 #include \"curl/curl.h\"
7692 if test "x$ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" = xyes; then :
7693 ac_have_decl=1
7694 else
7695 ac_have_decl=0
7698 cat >>confdefs.h <<_ACEOF
7699 #define HAVE_DECL_CURLE_SSL_CONNECT_ERROR $ac_have_decl
7700 _ACEOF
7701 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_DOWNLOAD_RESUME" "ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" "
7702 #include \"curl/curl.h\"
7705 if test "x$ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" = xyes; then :
7706 ac_have_decl=1
7707 else
7708 ac_have_decl=0
7711 cat >>confdefs.h <<_ACEOF
7712 #define HAVE_DECL_CURLE_BAD_DOWNLOAD_RESUME $ac_have_decl
7713 _ACEOF
7714 ac_fn_c_check_decl "$LINENO" "CURLE_FILE_COULDNT_READ_FILE" "ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" "
7715 #include \"curl/curl.h\"
7718 if test "x$ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" = xyes; then :
7719 ac_have_decl=1
7720 else
7721 ac_have_decl=0
7724 cat >>confdefs.h <<_ACEOF
7725 #define HAVE_DECL_CURLE_FILE_COULDNT_READ_FILE $ac_have_decl
7726 _ACEOF
7727 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_CANNOT_BIND" "ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" "
7728 #include \"curl/curl.h\"
7731 if test "x$ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" = xyes; then :
7732 ac_have_decl=1
7733 else
7734 ac_have_decl=0
7737 cat >>confdefs.h <<_ACEOF
7738 #define HAVE_DECL_CURLE_LDAP_CANNOT_BIND $ac_have_decl
7739 _ACEOF
7740 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_SEARCH_FAILED" "ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" "
7741 #include \"curl/curl.h\"
7744 if test "x$ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" = xyes; then :
7745 ac_have_decl=1
7746 else
7747 ac_have_decl=0
7750 cat >>confdefs.h <<_ACEOF
7751 #define HAVE_DECL_CURLE_LDAP_SEARCH_FAILED $ac_have_decl
7752 _ACEOF
7753 ac_fn_c_check_decl "$LINENO" "CURLE_LIBRARY_NOT_FOUND" "ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" "
7754 #include \"curl/curl.h\"
7757 if test "x$ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" = xyes; then :
7758 ac_have_decl=1
7759 else
7760 ac_have_decl=0
7763 cat >>confdefs.h <<_ACEOF
7764 #define HAVE_DECL_CURLE_LIBRARY_NOT_FOUND $ac_have_decl
7765 _ACEOF
7766 ac_fn_c_check_decl "$LINENO" "CURLE_FUNCTION_NOT_FOUND" "ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" "
7767 #include \"curl/curl.h\"
7770 if test "x$ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" = xyes; then :
7771 ac_have_decl=1
7772 else
7773 ac_have_decl=0
7776 cat >>confdefs.h <<_ACEOF
7777 #define HAVE_DECL_CURLE_FUNCTION_NOT_FOUND $ac_have_decl
7778 _ACEOF
7779 ac_fn_c_check_decl "$LINENO" "CURLE_ABORTED_BY_CALLBACK" "ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" "
7780 #include \"curl/curl.h\"
7783 if test "x$ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" = xyes; then :
7784 ac_have_decl=1
7785 else
7786 ac_have_decl=0
7789 cat >>confdefs.h <<_ACEOF
7790 #define HAVE_DECL_CURLE_ABORTED_BY_CALLBACK $ac_have_decl
7791 _ACEOF
7792 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_FUNCTION_ARGUMENT" "ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" "
7793 #include \"curl/curl.h\"
7796 if test "x$ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" = xyes; then :
7797 ac_have_decl=1
7798 else
7799 ac_have_decl=0
7802 cat >>confdefs.h <<_ACEOF
7803 #define HAVE_DECL_CURLE_BAD_FUNCTION_ARGUMENT $ac_have_decl
7804 _ACEOF
7805 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_CALLING_ORDER" "ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" "
7806 #include \"curl/curl.h\"
7809 if test "x$ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" = xyes; then :
7810 ac_have_decl=1
7811 else
7812 ac_have_decl=0
7815 cat >>confdefs.h <<_ACEOF
7816 #define HAVE_DECL_CURLE_BAD_CALLING_ORDER $ac_have_decl
7817 _ACEOF
7818 ac_fn_c_check_decl "$LINENO" "CURLE_INTERFACE_FAILED" "ac_cv_have_decl_CURLE_INTERFACE_FAILED" "
7819 #include \"curl/curl.h\"
7822 if test "x$ac_cv_have_decl_CURLE_INTERFACE_FAILED" = xyes; then :
7823 ac_have_decl=1
7824 else
7825 ac_have_decl=0
7828 cat >>confdefs.h <<_ACEOF
7829 #define HAVE_DECL_CURLE_INTERFACE_FAILED $ac_have_decl
7830 _ACEOF
7831 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_PASSWORD_ENTERED" "ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" "
7832 #include \"curl/curl.h\"
7835 if test "x$ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" = xyes; then :
7836 ac_have_decl=1
7837 else
7838 ac_have_decl=0
7841 cat >>confdefs.h <<_ACEOF
7842 #define HAVE_DECL_CURLE_BAD_PASSWORD_ENTERED $ac_have_decl
7843 _ACEOF
7844 ac_fn_c_check_decl "$LINENO" "CURLE_TOO_MANY_REDIRECTS" "ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" "
7845 #include \"curl/curl.h\"
7848 if test "x$ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" = xyes; then :
7849 ac_have_decl=1
7850 else
7851 ac_have_decl=0
7854 cat >>confdefs.h <<_ACEOF
7855 #define HAVE_DECL_CURLE_TOO_MANY_REDIRECTS $ac_have_decl
7856 _ACEOF
7857 ac_fn_c_check_decl "$LINENO" "CURLE_UNKNOWN_TELNET_OPTION" "ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" "
7858 #include \"curl/curl.h\"
7861 if test "x$ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" = xyes; then :
7862 ac_have_decl=1
7863 else
7864 ac_have_decl=0
7867 cat >>confdefs.h <<_ACEOF
7868 #define HAVE_DECL_CURLE_UNKNOWN_TELNET_OPTION $ac_have_decl
7869 _ACEOF
7870 ac_fn_c_check_decl "$LINENO" "CURLE_TELNET_OPTION_SYNTAX" "ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" "
7871 #include \"curl/curl.h\"
7874 if test "x$ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" = xyes; then :
7875 ac_have_decl=1
7876 else
7877 ac_have_decl=0
7880 cat >>confdefs.h <<_ACEOF
7881 #define HAVE_DECL_CURLE_TELNET_OPTION_SYNTAX $ac_have_decl
7882 _ACEOF
7883 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_PEER_CERTIFICATE" "ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" "
7884 #include \"curl/curl.h\"
7887 if test "x$ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" = xyes; then :
7888 ac_have_decl=1
7889 else
7890 ac_have_decl=0
7893 cat >>confdefs.h <<_ACEOF
7894 #define HAVE_DECL_CURLE_SSL_PEER_CERTIFICATE $ac_have_decl
7895 _ACEOF
7896 ac_fn_c_check_decl "$LINENO" "CURLE_GOT_NOTHING" "ac_cv_have_decl_CURLE_GOT_NOTHING" "
7897 #include \"curl/curl.h\"
7900 if test "x$ac_cv_have_decl_CURLE_GOT_NOTHING" = xyes; then :
7901 ac_have_decl=1
7902 else
7903 ac_have_decl=0
7906 cat >>confdefs.h <<_ACEOF
7907 #define HAVE_DECL_CURLE_GOT_NOTHING $ac_have_decl
7908 _ACEOF
7909 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_NOTFOUND" "ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" "
7910 #include \"curl/curl.h\"
7913 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" = xyes; then :
7914 ac_have_decl=1
7915 else
7916 ac_have_decl=0
7919 cat >>confdefs.h <<_ACEOF
7920 #define HAVE_DECL_CURLE_SSL_ENGINE_NOTFOUND $ac_have_decl
7921 _ACEOF
7922 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_SETFAILED" "ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" "
7923 #include \"curl/curl.h\"
7926 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" = xyes; then :
7927 ac_have_decl=1
7928 else
7929 ac_have_decl=0
7932 cat >>confdefs.h <<_ACEOF
7933 #define HAVE_DECL_CURLE_SSL_ENGINE_SETFAILED $ac_have_decl
7934 _ACEOF
7935 ac_fn_c_check_decl "$LINENO" "CURLE_SEND_ERROR" "ac_cv_have_decl_CURLE_SEND_ERROR" "
7936 #include \"curl/curl.h\"
7939 if test "x$ac_cv_have_decl_CURLE_SEND_ERROR" = xyes; then :
7940 ac_have_decl=1
7941 else
7942 ac_have_decl=0
7945 cat >>confdefs.h <<_ACEOF
7946 #define HAVE_DECL_CURLE_SEND_ERROR $ac_have_decl
7947 _ACEOF
7948 ac_fn_c_check_decl "$LINENO" "CURLE_RECV_ERROR" "ac_cv_have_decl_CURLE_RECV_ERROR" "
7949 #include \"curl/curl.h\"
7952 if test "x$ac_cv_have_decl_CURLE_RECV_ERROR" = xyes; then :
7953 ac_have_decl=1
7954 else
7955 ac_have_decl=0
7958 cat >>confdefs.h <<_ACEOF
7959 #define HAVE_DECL_CURLE_RECV_ERROR $ac_have_decl
7960 _ACEOF
7961 ac_fn_c_check_decl "$LINENO" "CURLE_SHARE_IN_USE" "ac_cv_have_decl_CURLE_SHARE_IN_USE" "
7962 #include \"curl/curl.h\"
7965 if test "x$ac_cv_have_decl_CURLE_SHARE_IN_USE" = xyes; then :
7966 ac_have_decl=1
7967 else
7968 ac_have_decl=0
7971 cat >>confdefs.h <<_ACEOF
7972 #define HAVE_DECL_CURLE_SHARE_IN_USE $ac_have_decl
7973 _ACEOF
7974 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CERTPROBLEM" "ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" "
7975 #include \"curl/curl.h\"
7978 if test "x$ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" = xyes; then :
7979 ac_have_decl=1
7980 else
7981 ac_have_decl=0
7984 cat >>confdefs.h <<_ACEOF
7985 #define HAVE_DECL_CURLE_SSL_CERTPROBLEM $ac_have_decl
7986 _ACEOF
7987 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CIPHER" "ac_cv_have_decl_CURLE_SSL_CIPHER" "
7988 #include \"curl/curl.h\"
7991 if test "x$ac_cv_have_decl_CURLE_SSL_CIPHER" = xyes; then :
7992 ac_have_decl=1
7993 else
7994 ac_have_decl=0
7997 cat >>confdefs.h <<_ACEOF
7998 #define HAVE_DECL_CURLE_SSL_CIPHER $ac_have_decl
7999 _ACEOF
8000 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CACERT" "ac_cv_have_decl_CURLE_SSL_CACERT" "
8001 #include \"curl/curl.h\"
8004 if test "x$ac_cv_have_decl_CURLE_SSL_CACERT" = xyes; then :
8005 ac_have_decl=1
8006 else
8007 ac_have_decl=0
8010 cat >>confdefs.h <<_ACEOF
8011 #define HAVE_DECL_CURLE_SSL_CACERT $ac_have_decl
8012 _ACEOF
8013 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_CONTENT_ENCODING" "ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" "
8014 #include \"curl/curl.h\"
8017 if test "x$ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" = xyes; then :
8018 ac_have_decl=1
8019 else
8020 ac_have_decl=0
8023 cat >>confdefs.h <<_ACEOF
8024 #define HAVE_DECL_CURLE_BAD_CONTENT_ENCODING $ac_have_decl
8025 _ACEOF
8026 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_INVALID_URL" "ac_cv_have_decl_CURLE_LDAP_INVALID_URL" "
8027 #include \"curl/curl.h\"
8030 if test "x$ac_cv_have_decl_CURLE_LDAP_INVALID_URL" = xyes; then :
8031 ac_have_decl=1
8032 else
8033 ac_have_decl=0
8036 cat >>confdefs.h <<_ACEOF
8037 #define HAVE_DECL_CURLE_LDAP_INVALID_URL $ac_have_decl
8038 _ACEOF
8039 ac_fn_c_check_decl "$LINENO" "CURLE_FILESIZE_EXCEEDED" "ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" "
8040 #include \"curl/curl.h\"
8043 if test "x$ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" = xyes; then :
8044 ac_have_decl=1
8045 else
8046 ac_have_decl=0
8049 cat >>confdefs.h <<_ACEOF
8050 #define HAVE_DECL_CURLE_FILESIZE_EXCEEDED $ac_have_decl
8051 _ACEOF
8052 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_SSL_FAILED" "ac_cv_have_decl_CURLE_FTP_SSL_FAILED" "
8053 #include \"curl/curl.h\"
8056 if test "x$ac_cv_have_decl_CURLE_FTP_SSL_FAILED" = xyes; then :
8057 ac_have_decl=1
8058 else
8059 ac_have_decl=0
8062 cat >>confdefs.h <<_ACEOF
8063 #define HAVE_DECL_CURLE_FTP_SSL_FAILED $ac_have_decl
8064 _ACEOF
8065 ac_fn_c_check_decl "$LINENO" "CURLE_SEND_FAIL_REWIND" "ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" "
8066 #include \"curl/curl.h\"
8069 if test "x$ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" = xyes; then :
8070 ac_have_decl=1
8071 else
8072 ac_have_decl=0
8075 cat >>confdefs.h <<_ACEOF
8076 #define HAVE_DECL_CURLE_SEND_FAIL_REWIND $ac_have_decl
8077 _ACEOF
8078 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_INITFAILED" "ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" "
8079 #include \"curl/curl.h\"
8082 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" = xyes; then :
8083 ac_have_decl=1
8084 else
8085 ac_have_decl=0
8088 cat >>confdefs.h <<_ACEOF
8089 #define HAVE_DECL_CURLE_SSL_ENGINE_INITFAILED $ac_have_decl
8090 _ACEOF
8091 ac_fn_c_check_decl "$LINENO" "CURLE_LOGIN_DENIED" "ac_cv_have_decl_CURLE_LOGIN_DENIED" "
8092 #include \"curl/curl.h\"
8095 if test "x$ac_cv_have_decl_CURLE_LOGIN_DENIED" = xyes; then :
8096 ac_have_decl=1
8097 else
8098 ac_have_decl=0
8101 cat >>confdefs.h <<_ACEOF
8102 #define HAVE_DECL_CURLE_LOGIN_DENIED $ac_have_decl
8103 _ACEOF
8104 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_NOTFOUND" "ac_cv_have_decl_CURLE_TFTP_NOTFOUND" "
8105 #include \"curl/curl.h\"
8108 if test "x$ac_cv_have_decl_CURLE_TFTP_NOTFOUND" = xyes; then :
8109 ac_have_decl=1
8110 else
8111 ac_have_decl=0
8114 cat >>confdefs.h <<_ACEOF
8115 #define HAVE_DECL_CURLE_TFTP_NOTFOUND $ac_have_decl
8116 _ACEOF
8117 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_PERM" "ac_cv_have_decl_CURLE_TFTP_PERM" "
8118 #include \"curl/curl.h\"
8121 if test "x$ac_cv_have_decl_CURLE_TFTP_PERM" = xyes; then :
8122 ac_have_decl=1
8123 else
8124 ac_have_decl=0
8127 cat >>confdefs.h <<_ACEOF
8128 #define HAVE_DECL_CURLE_TFTP_PERM $ac_have_decl
8129 _ACEOF
8130 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_DISK_FULL" "ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" "
8131 #include \"curl/curl.h\"
8134 if test "x$ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" = xyes; then :
8135 ac_have_decl=1
8136 else
8137 ac_have_decl=0
8140 cat >>confdefs.h <<_ACEOF
8141 #define HAVE_DECL_CURLE_REMOTE_DISK_FULL $ac_have_decl
8142 _ACEOF
8143 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_ILLEGAL" "ac_cv_have_decl_CURLE_TFTP_ILLEGAL" "
8144 #include \"curl/curl.h\"
8147 if test "x$ac_cv_have_decl_CURLE_TFTP_ILLEGAL" = xyes; then :
8148 ac_have_decl=1
8149 else
8150 ac_have_decl=0
8153 cat >>confdefs.h <<_ACEOF
8154 #define HAVE_DECL_CURLE_TFTP_ILLEGAL $ac_have_decl
8155 _ACEOF
8156 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_UNKNOWNID" "ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" "
8157 #include \"curl/curl.h\"
8160 if test "x$ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" = xyes; then :
8161 ac_have_decl=1
8162 else
8163 ac_have_decl=0
8166 cat >>confdefs.h <<_ACEOF
8167 #define HAVE_DECL_CURLE_TFTP_UNKNOWNID $ac_have_decl
8168 _ACEOF
8169 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_FILE_EXISTS" "ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" "
8170 #include \"curl/curl.h\"
8173 if test "x$ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" = xyes; then :
8174 ac_have_decl=1
8175 else
8176 ac_have_decl=0
8179 cat >>confdefs.h <<_ACEOF
8180 #define HAVE_DECL_CURLE_REMOTE_FILE_EXISTS $ac_have_decl
8181 _ACEOF
8182 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_NOSUCHUSER" "ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" "
8183 #include \"curl/curl.h\"
8186 if test "x$ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" = xyes; then :
8187 ac_have_decl=1
8188 else
8189 ac_have_decl=0
8192 cat >>confdefs.h <<_ACEOF
8193 #define HAVE_DECL_CURLE_TFTP_NOSUCHUSER $ac_have_decl
8194 _ACEOF
8195 ac_fn_c_check_decl "$LINENO" "CURLE_CONV_FAILED" "ac_cv_have_decl_CURLE_CONV_FAILED" "
8196 #include \"curl/curl.h\"
8199 if test "x$ac_cv_have_decl_CURLE_CONV_FAILED" = xyes; then :
8200 ac_have_decl=1
8201 else
8202 ac_have_decl=0
8205 cat >>confdefs.h <<_ACEOF
8206 #define HAVE_DECL_CURLE_CONV_FAILED $ac_have_decl
8207 _ACEOF
8208 ac_fn_c_check_decl "$LINENO" "CURLE_CONV_REQD" "ac_cv_have_decl_CURLE_CONV_REQD" "
8209 #include \"curl/curl.h\"
8212 if test "x$ac_cv_have_decl_CURLE_CONV_REQD" = xyes; then :
8213 ac_have_decl=1
8214 else
8215 ac_have_decl=0
8218 cat >>confdefs.h <<_ACEOF
8219 #define HAVE_DECL_CURLE_CONV_REQD $ac_have_decl
8220 _ACEOF
8221 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CACERT_BADFILE" "ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" "
8222 #include \"curl/curl.h\"
8225 if test "x$ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" = xyes; then :
8226 ac_have_decl=1
8227 else
8228 ac_have_decl=0
8231 cat >>confdefs.h <<_ACEOF
8232 #define HAVE_DECL_CURLE_SSL_CACERT_BADFILE $ac_have_decl
8233 _ACEOF
8234 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_FILE_NOT_FOUND" "ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" "
8235 #include \"curl/curl.h\"
8238 if test "x$ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" = xyes; then :
8239 ac_have_decl=1
8240 else
8241 ac_have_decl=0
8244 cat >>confdefs.h <<_ACEOF
8245 #define HAVE_DECL_CURLE_REMOTE_FILE_NOT_FOUND $ac_have_decl
8246 _ACEOF
8247 ac_fn_c_check_decl "$LINENO" "CURLE_SSH" "ac_cv_have_decl_CURLE_SSH" "
8248 #include \"curl/curl.h\"
8251 if test "x$ac_cv_have_decl_CURLE_SSH" = xyes; then :
8252 ac_have_decl=1
8253 else
8254 ac_have_decl=0
8257 cat >>confdefs.h <<_ACEOF
8258 #define HAVE_DECL_CURLE_SSH $ac_have_decl
8259 _ACEOF
8260 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_SHUTDOWN_FAILED" "ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED" "
8261 #include \"curl/curl.h\"
8264 if test "x$ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED" = xyes; then :
8265 ac_have_decl=1
8266 else
8267 ac_have_decl=0
8270 cat >>confdefs.h <<_ACEOF
8271 #define HAVE_DECL_CURLE_SSL_SHUTDOWN_FAILED $ac_have_decl
8272 _ACEOF
8273 ac_fn_c_check_decl "$LINENO" "CURLE_AGAIN" "ac_cv_have_decl_CURLE_AGAIN" "
8274 #include \"curl/curl.h\"
8277 if test "x$ac_cv_have_decl_CURLE_AGAIN" = xyes; then :
8278 ac_have_decl=1
8279 else
8280 ac_have_decl=0
8283 cat >>confdefs.h <<_ACEOF
8284 #define HAVE_DECL_CURLE_AGAIN $ac_have_decl
8285 _ACEOF
8286 ac_fn_c_check_decl "$LINENO" "CURLMOPT_MAXCONNECTS" "ac_cv_have_decl_CURLMOPT_MAXCONNECTS" "
8287 #include \"curl/curl.h\"
8290 if test "x$ac_cv_have_decl_CURLMOPT_MAXCONNECTS" = xyes; then :
8291 ac_have_decl=1
8292 else
8293 ac_have_decl=0
8296 cat >>confdefs.h <<_ACEOF
8297 #define HAVE_DECL_CURLMOPT_MAXCONNECTS $ac_have_decl
8298 _ACEOF
8299 ac_fn_c_check_decl "$LINENO" "CURLMOPT_PIPELINING" "ac_cv_have_decl_CURLMOPT_PIPELINING" "
8300 #include \"curl/curl.h\"
8303 if test "x$ac_cv_have_decl_CURLMOPT_PIPELINING" = xyes; then :
8304 ac_have_decl=1
8305 else
8306 ac_have_decl=0
8309 cat >>confdefs.h <<_ACEOF
8310 #define HAVE_DECL_CURLMOPT_PIPELINING $ac_have_decl
8311 _ACEOF
8312 ac_fn_c_check_decl "$LINENO" "CURLMOPT_MAX_PIPELINE_LENGTH" "ac_cv_have_decl_CURLMOPT_MAX_PIPELINE_LENGTH" "
8313 #include \"curl/curl.h\"
8316 if test "x$ac_cv_have_decl_CURLMOPT_MAX_PIPELINE_LENGTH" = xyes; then :
8317 ac_have_decl=1
8318 else
8319 ac_have_decl=0
8322 cat >>confdefs.h <<_ACEOF
8323 #define HAVE_DECL_CURLMOPT_MAX_PIPELINE_LENGTH $ac_have_decl
8324 _ACEOF
8325 ac_fn_c_check_decl "$LINENO" "CURLMOPT_MAX_HOST_CONNECTIONS" "ac_cv_have_decl_CURLMOPT_MAX_HOST_CONNECTIONS" "
8326 #include \"curl/curl.h\"
8329 if test "x$ac_cv_have_decl_CURLMOPT_MAX_HOST_CONNECTIONS" = xyes; then :
8330 ac_have_decl=1
8331 else
8332 ac_have_decl=0
8335 cat >>confdefs.h <<_ACEOF
8336 #define HAVE_DECL_CURLMOPT_MAX_HOST_CONNECTIONS $ac_have_decl
8337 _ACEOF
8338 ac_fn_c_check_decl "$LINENO" "CURL_VERSION_TLSAUTH_SRP" "ac_cv_have_decl_CURL_VERSION_TLSAUTH_SRP" "
8339 #include \"curl/curl.h\"
8342 if test "x$ac_cv_have_decl_CURL_VERSION_TLSAUTH_SRP" = xyes; then :
8343 ac_have_decl=1
8344 else
8345 ac_have_decl=0
8348 cat >>confdefs.h <<_ACEOF
8349 #define HAVE_DECL_CURL_VERSION_TLSAUTH_SRP $ac_have_decl
8350 _ACEOF
8351 ac_fn_c_check_decl "$LINENO" "CURL_VERSION_NTLM_WB" "ac_cv_have_decl_CURL_VERSION_NTLM_WB" "
8352 #include \"curl/curl.h\"
8355 if test "x$ac_cv_have_decl_CURL_VERSION_NTLM_WB" = xyes; then :
8356 ac_have_decl=1
8357 else
8358 ac_have_decl=0
8361 cat >>confdefs.h <<_ACEOF
8362 #define HAVE_DECL_CURL_VERSION_NTLM_WB $ac_have_decl
8363 _ACEOF
8366 ac_config_headers="$ac_config_headers config.h"
8368 ac_config_files="$ac_config_files Makefile examples/Makefile"
8371 cat >confcache <<\_ACEOF
8372 # This file is a shell script that caches the results of configure
8373 # tests run on this system so they can be shared between configure
8374 # scripts and configure runs, see configure's option --config-cache.
8375 # It is not useful on other systems. If it contains results you don't
8376 # want to keep, you may remove or edit it.
8378 # config.status only pays attention to the cache file if you give it
8379 # the --recheck option to rerun configure.
8381 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8382 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8383 # following values.
8385 _ACEOF
8387 # The following way of writing the cache mishandles newlines in values,
8388 # but we know of no workaround that is simple, portable, and efficient.
8389 # So, we kill variables containing newlines.
8390 # Ultrix sh set writes to stderr and can't be redirected directly,
8391 # and sets the high bit in the cache file unless we assign to the vars.
8393 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8394 eval ac_val=\$$ac_var
8395 case $ac_val in #(
8396 *${as_nl}*)
8397 case $ac_var in #(
8398 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8399 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8400 esac
8401 case $ac_var in #(
8402 _ | IFS | as_nl) ;; #(
8403 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8404 *) { eval $ac_var=; unset $ac_var;} ;;
8405 esac ;;
8406 esac
8407 done
8409 (set) 2>&1 |
8410 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8411 *${as_nl}ac_space=\ *)
8412 # `set' does not quote correctly, so add quotes: double-quote
8413 # substitution turns \\\\ into \\, and sed turns \\ into \.
8414 sed -n \
8415 "s/'/'\\\\''/g;
8416 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8417 ;; #(
8419 # `set' quotes correctly as required by POSIX, so do not add quotes.
8420 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8422 esac |
8423 sort
8425 sed '
8426 /^ac_cv_env_/b end
8427 t clear
8428 :clear
8429 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8430 t end
8431 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8432 :end' >>confcache
8433 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8434 if test -w "$cache_file"; then
8435 if test "x$cache_file" != "x/dev/null"; then
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8437 $as_echo "$as_me: updating cache $cache_file" >&6;}
8438 if test ! -f "$cache_file" || test -h "$cache_file"; then
8439 cat confcache >"$cache_file"
8440 else
8441 case $cache_file in #(
8442 */* | ?:*)
8443 mv -f confcache "$cache_file"$$ &&
8444 mv -f "$cache_file"$$ "$cache_file" ;; #(
8446 mv -f confcache "$cache_file" ;;
8447 esac
8450 else
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8452 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8455 rm -f confcache
8457 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8458 # Let make expand exec_prefix.
8459 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8461 DEFS=-DHAVE_CONFIG_H
8463 ac_libobjs=
8464 ac_ltlibobjs=
8466 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8467 # 1. Remove the extension, and $U if already installed.
8468 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8469 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8470 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8471 # will be set to the directory where LIBOBJS objects are built.
8472 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8473 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8474 done
8475 LIBOBJS=$ac_libobjs
8477 LTLIBOBJS=$ac_ltlibobjs
8481 : "${CONFIG_STATUS=./config.status}"
8482 ac_write_fail=0
8483 ac_clean_files_save=$ac_clean_files
8484 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8486 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8487 as_write_fail=0
8488 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8489 #! $SHELL
8490 # Generated by $as_me.
8491 # Run this file to recreate the current configuration.
8492 # Compiler output produced by configure, useful for debugging
8493 # configure, is in config.log if it exists.
8495 debug=false
8496 ac_cs_recheck=false
8497 ac_cs_silent=false
8499 SHELL=\${CONFIG_SHELL-$SHELL}
8500 export SHELL
8501 _ASEOF
8502 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8503 ## -------------------- ##
8504 ## M4sh Initialization. ##
8505 ## -------------------- ##
8507 # Be more Bourne compatible
8508 DUALCASE=1; export DUALCASE # for MKS sh
8509 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8510 emulate sh
8511 NULLCMD=:
8512 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8513 # is contrary to our usage. Disable this feature.
8514 alias -g '${1+"$@"}'='"$@"'
8515 setopt NO_GLOB_SUBST
8516 else
8517 case `(set -o) 2>/dev/null` in #(
8518 *posix*) :
8519 set -o posix ;; #(
8520 *) :
8522 esac
8526 as_nl='
8528 export as_nl
8529 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8530 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8531 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8532 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8533 # Prefer a ksh shell builtin over an external printf program on Solaris,
8534 # but without wasting forks for bash or zsh.
8535 if test -z "$BASH_VERSION$ZSH_VERSION" \
8536 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8537 as_echo='print -r --'
8538 as_echo_n='print -rn --'
8539 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8540 as_echo='printf %s\n'
8541 as_echo_n='printf %s'
8542 else
8543 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8544 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8545 as_echo_n='/usr/ucb/echo -n'
8546 else
8547 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8548 as_echo_n_body='eval
8549 arg=$1;
8550 case $arg in #(
8551 *"$as_nl"*)
8552 expr "X$arg" : "X\\(.*\\)$as_nl";
8553 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8554 esac;
8555 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8557 export as_echo_n_body
8558 as_echo_n='sh -c $as_echo_n_body as_echo'
8560 export as_echo_body
8561 as_echo='sh -c $as_echo_body as_echo'
8564 # The user is always right.
8565 if test "${PATH_SEPARATOR+set}" != set; then
8566 PATH_SEPARATOR=:
8567 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8568 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8569 PATH_SEPARATOR=';'
8574 # IFS
8575 # We need space, tab and new line, in precisely that order. Quoting is
8576 # there to prevent editors from complaining about space-tab.
8577 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8578 # splitting by setting IFS to empty value.)
8579 IFS=" "" $as_nl"
8581 # Find who we are. Look in the path if we contain no directory separator.
8582 as_myself=
8583 case $0 in #((
8584 *[\\/]* ) as_myself=$0 ;;
8585 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8586 for as_dir in $PATH
8588 IFS=$as_save_IFS
8589 test -z "$as_dir" && as_dir=.
8590 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8591 done
8592 IFS=$as_save_IFS
8595 esac
8596 # We did not find ourselves, most probably we were run as `sh COMMAND'
8597 # in which case we are not to be found in the path.
8598 if test "x$as_myself" = x; then
8599 as_myself=$0
8601 if test ! -f "$as_myself"; then
8602 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8603 exit 1
8606 # Unset variables that we do not need and which cause bugs (e.g. in
8607 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8608 # suppresses any "Segmentation fault" message there. '((' could
8609 # trigger a bug in pdksh 5.2.14.
8610 for as_var in BASH_ENV ENV MAIL MAILPATH
8611 do eval test x\${$as_var+set} = xset \
8612 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8613 done
8614 PS1='$ '
8615 PS2='> '
8616 PS4='+ '
8618 # NLS nuisances.
8619 LC_ALL=C
8620 export LC_ALL
8621 LANGUAGE=C
8622 export LANGUAGE
8624 # CDPATH.
8625 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8628 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8629 # ----------------------------------------
8630 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8631 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8632 # script with STATUS, using 1 if that was 0.
8633 as_fn_error ()
8635 as_status=$1; test $as_status -eq 0 && as_status=1
8636 if test "$4"; then
8637 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8638 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8640 $as_echo "$as_me: error: $2" >&2
8641 as_fn_exit $as_status
8642 } # as_fn_error
8645 # as_fn_set_status STATUS
8646 # -----------------------
8647 # Set $? to STATUS, without forking.
8648 as_fn_set_status ()
8650 return $1
8651 } # as_fn_set_status
8653 # as_fn_exit STATUS
8654 # -----------------
8655 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8656 as_fn_exit ()
8658 set +e
8659 as_fn_set_status $1
8660 exit $1
8661 } # as_fn_exit
8663 # as_fn_unset VAR
8664 # ---------------
8665 # Portably unset VAR.
8666 as_fn_unset ()
8668 { eval $1=; unset $1;}
8670 as_unset=as_fn_unset
8671 # as_fn_append VAR VALUE
8672 # ----------------------
8673 # Append the text in VALUE to the end of the definition contained in VAR. Take
8674 # advantage of any shell optimizations that allow amortized linear growth over
8675 # repeated appends, instead of the typical quadratic growth present in naive
8676 # implementations.
8677 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8678 eval 'as_fn_append ()
8680 eval $1+=\$2
8682 else
8683 as_fn_append ()
8685 eval $1=\$$1\$2
8687 fi # as_fn_append
8689 # as_fn_arith ARG...
8690 # ------------------
8691 # Perform arithmetic evaluation on the ARGs, and store the result in the
8692 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8693 # must be portable across $(()) and expr.
8694 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8695 eval 'as_fn_arith ()
8697 as_val=$(( $* ))
8699 else
8700 as_fn_arith ()
8702 as_val=`expr "$@" || test $? -eq 1`
8704 fi # as_fn_arith
8707 if expr a : '\(a\)' >/dev/null 2>&1 &&
8708 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8709 as_expr=expr
8710 else
8711 as_expr=false
8714 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8715 as_basename=basename
8716 else
8717 as_basename=false
8720 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8721 as_dirname=dirname
8722 else
8723 as_dirname=false
8726 as_me=`$as_basename -- "$0" ||
8727 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8728 X"$0" : 'X\(//\)$' \| \
8729 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8730 $as_echo X/"$0" |
8731 sed '/^.*\/\([^/][^/]*\)\/*$/{
8732 s//\1/
8735 /^X\/\(\/\/\)$/{
8736 s//\1/
8739 /^X\/\(\/\).*/{
8740 s//\1/
8743 s/.*/./; q'`
8745 # Avoid depending upon Character Ranges.
8746 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8747 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8748 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8749 as_cr_digits='0123456789'
8750 as_cr_alnum=$as_cr_Letters$as_cr_digits
8752 ECHO_C= ECHO_N= ECHO_T=
8753 case `echo -n x` in #(((((
8754 -n*)
8755 case `echo 'xy\c'` in
8756 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8757 xy) ECHO_C='\c';;
8758 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8759 ECHO_T=' ';;
8760 esac;;
8762 ECHO_N='-n';;
8763 esac
8765 rm -f conf$$ conf$$.exe conf$$.file
8766 if test -d conf$$.dir; then
8767 rm -f conf$$.dir/conf$$.file
8768 else
8769 rm -f conf$$.dir
8770 mkdir conf$$.dir 2>/dev/null
8772 if (echo >conf$$.file) 2>/dev/null; then
8773 if ln -s conf$$.file conf$$ 2>/dev/null; then
8774 as_ln_s='ln -s'
8775 # ... but there are two gotchas:
8776 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8777 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8778 # In both cases, we have to default to `cp -pR'.
8779 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8780 as_ln_s='cp -pR'
8781 elif ln conf$$.file conf$$ 2>/dev/null; then
8782 as_ln_s=ln
8783 else
8784 as_ln_s='cp -pR'
8786 else
8787 as_ln_s='cp -pR'
8789 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8790 rmdir conf$$.dir 2>/dev/null
8793 # as_fn_mkdir_p
8794 # -------------
8795 # Create "$as_dir" as a directory, including parents if necessary.
8796 as_fn_mkdir_p ()
8799 case $as_dir in #(
8800 -*) as_dir=./$as_dir;;
8801 esac
8802 test -d "$as_dir" || eval $as_mkdir_p || {
8803 as_dirs=
8804 while :; do
8805 case $as_dir in #(
8806 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8807 *) as_qdir=$as_dir;;
8808 esac
8809 as_dirs="'$as_qdir' $as_dirs"
8810 as_dir=`$as_dirname -- "$as_dir" ||
8811 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8812 X"$as_dir" : 'X\(//\)[^/]' \| \
8813 X"$as_dir" : 'X\(//\)$' \| \
8814 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8815 $as_echo X"$as_dir" |
8816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8817 s//\1/
8820 /^X\(\/\/\)[^/].*/{
8821 s//\1/
8824 /^X\(\/\/\)$/{
8825 s//\1/
8828 /^X\(\/\).*/{
8829 s//\1/
8832 s/.*/./; q'`
8833 test -d "$as_dir" && break
8834 done
8835 test -z "$as_dirs" || eval "mkdir $as_dirs"
8836 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8839 } # as_fn_mkdir_p
8840 if mkdir -p . 2>/dev/null; then
8841 as_mkdir_p='mkdir -p "$as_dir"'
8842 else
8843 test -d ./-p && rmdir ./-p
8844 as_mkdir_p=false
8848 # as_fn_executable_p FILE
8849 # -----------------------
8850 # Test if FILE is an executable regular file.
8851 as_fn_executable_p ()
8853 test -f "$1" && test -x "$1"
8854 } # as_fn_executable_p
8855 as_test_x='test -x'
8856 as_executable_p=as_fn_executable_p
8858 # Sed expression to map a string onto a valid CPP name.
8859 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8861 # Sed expression to map a string onto a valid variable name.
8862 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8865 exec 6>&1
8866 ## ----------------------------------- ##
8867 ## Main body of $CONFIG_STATUS script. ##
8868 ## ----------------------------------- ##
8869 _ASEOF
8870 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8873 # Save the log message, to keep $0 and so on meaningful, and to
8874 # report actual input values of CONFIG_FILES etc. instead of their
8875 # values after options handling.
8876 ac_log="
8877 This file was extended by ocurl $as_me 0.8.0, which was
8878 generated by GNU Autoconf 2.69. Invocation command line was
8880 CONFIG_FILES = $CONFIG_FILES
8881 CONFIG_HEADERS = $CONFIG_HEADERS
8882 CONFIG_LINKS = $CONFIG_LINKS
8883 CONFIG_COMMANDS = $CONFIG_COMMANDS
8884 $ $0 $@
8886 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8889 _ACEOF
8891 case $ac_config_files in *"
8892 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8893 esac
8895 case $ac_config_headers in *"
8896 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8897 esac
8900 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8901 # Files that config.status was made for.
8902 config_files="$ac_config_files"
8903 config_headers="$ac_config_headers"
8905 _ACEOF
8907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8908 ac_cs_usage="\
8909 \`$as_me' instantiates files and other configuration actions
8910 from templates according to the current configuration. Unless the files
8911 and actions are specified as TAGs, all are instantiated by default.
8913 Usage: $0 [OPTION]... [TAG]...
8915 -h, --help print this help, then exit
8916 -V, --version print version number and configuration settings, then exit
8917 --config print configuration, then exit
8918 -q, --quiet, --silent
8919 do not print progress messages
8920 -d, --debug don't remove temporary files
8921 --recheck update $as_me by reconfiguring in the same conditions
8922 --file=FILE[:TEMPLATE]
8923 instantiate the configuration file FILE
8924 --header=FILE[:TEMPLATE]
8925 instantiate the configuration header FILE
8927 Configuration files:
8928 $config_files
8930 Configuration headers:
8931 $config_headers
8933 Report bugs to the package provider."
8935 _ACEOF
8936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8937 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8938 ac_cs_version="\\
8939 ocurl config.status 0.8.0
8940 configured by $0, generated by GNU Autoconf 2.69,
8941 with options \\"\$ac_cs_config\\"
8943 Copyright (C) 2012 Free Software Foundation, Inc.
8944 This config.status script is free software; the Free Software Foundation
8945 gives unlimited permission to copy, distribute and modify it."
8947 ac_pwd='$ac_pwd'
8948 srcdir='$srcdir'
8949 INSTALL='$INSTALL'
8950 test -n "\$AWK" || AWK=awk
8951 _ACEOF
8953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8954 # The default lists apply if the user does not specify any file.
8955 ac_need_defaults=:
8956 while test $# != 0
8958 case $1 in
8959 --*=?*)
8960 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8961 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8962 ac_shift=:
8964 --*=)
8965 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8966 ac_optarg=
8967 ac_shift=:
8970 ac_option=$1
8971 ac_optarg=$2
8972 ac_shift=shift
8974 esac
8976 case $ac_option in
8977 # Handling of the options.
8978 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8979 ac_cs_recheck=: ;;
8980 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8981 $as_echo "$ac_cs_version"; exit ;;
8982 --config | --confi | --conf | --con | --co | --c )
8983 $as_echo "$ac_cs_config"; exit ;;
8984 --debug | --debu | --deb | --de | --d | -d )
8985 debug=: ;;
8986 --file | --fil | --fi | --f )
8987 $ac_shift
8988 case $ac_optarg in
8989 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8990 '') as_fn_error $? "missing file argument" ;;
8991 esac
8992 as_fn_append CONFIG_FILES " '$ac_optarg'"
8993 ac_need_defaults=false;;
8994 --header | --heade | --head | --hea )
8995 $ac_shift
8996 case $ac_optarg in
8997 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8998 esac
8999 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
9000 ac_need_defaults=false;;
9001 --he | --h)
9002 # Conflict between --help and --header
9003 as_fn_error $? "ambiguous option: \`$1'
9004 Try \`$0 --help' for more information.";;
9005 --help | --hel | -h )
9006 $as_echo "$ac_cs_usage"; exit ;;
9007 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9008 | -silent | --silent | --silen | --sile | --sil | --si | --s)
9009 ac_cs_silent=: ;;
9011 # This is an error.
9012 -*) as_fn_error $? "unrecognized option: \`$1'
9013 Try \`$0 --help' for more information." ;;
9015 *) as_fn_append ac_config_targets " $1"
9016 ac_need_defaults=false ;;
9018 esac
9019 shift
9020 done
9022 ac_configure_extra_args=
9024 if $ac_cs_silent; then
9025 exec 6>/dev/null
9026 ac_configure_extra_args="$ac_configure_extra_args --silent"
9029 _ACEOF
9030 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9031 if \$ac_cs_recheck; then
9032 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9033 shift
9034 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9035 CONFIG_SHELL='$SHELL'
9036 export CONFIG_SHELL
9037 exec "\$@"
9040 _ACEOF
9041 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9042 exec 5>>config.log
9044 echo
9045 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9046 ## Running $as_me. ##
9047 _ASBOX
9048 $as_echo "$ac_log"
9049 } >&5
9051 _ACEOF
9052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9053 _ACEOF
9055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9057 # Handling of arguments.
9058 for ac_config_target in $ac_config_targets
9060 case $ac_config_target in
9061 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9062 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9063 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
9065 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9066 esac
9067 done
9070 # If the user did not use the arguments to specify the items to instantiate,
9071 # then the envvar interface is used. Set only those that are not.
9072 # We use the long form for the default assignment because of an extremely
9073 # bizarre bug on SunOS 4.1.3.
9074 if $ac_need_defaults; then
9075 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9076 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9079 # Have a temporary directory for convenience. Make it in the build tree
9080 # simply because there is no reason against having it here, and in addition,
9081 # creating and moving files from /tmp can sometimes cause problems.
9082 # Hook for its removal unless debugging.
9083 # Note that there is a small window in which the directory will not be cleaned:
9084 # after its creation but before its name has been assigned to `$tmp'.
9085 $debug ||
9087 tmp= ac_tmp=
9088 trap 'exit_status=$?
9089 : "${ac_tmp:=$tmp}"
9090 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9092 trap 'as_fn_exit 1' 1 2 13 15
9094 # Create a (secure) tmp directory for tmp files.
9097 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9098 test -d "$tmp"
9099 } ||
9101 tmp=./conf$$-$RANDOM
9102 (umask 077 && mkdir "$tmp")
9103 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
9104 ac_tmp=$tmp
9106 # Set up the scripts for CONFIG_FILES section.
9107 # No need to generate them if there are no CONFIG_FILES.
9108 # This happens for instance with `./config.status config.h'.
9109 if test -n "$CONFIG_FILES"; then
9112 ac_cr=`echo X | tr X '\015'`
9113 # On cygwin, bash can eat \r inside `` if the user requested igncr.
9114 # But we know of no other shell where ac_cr would be empty at this
9115 # point, so we can use a bashism as a fallback.
9116 if test "x$ac_cr" = x; then
9117 eval ac_cr=\$\'\\r\'
9119 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9120 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9121 ac_cs_awk_cr='\\r'
9122 else
9123 ac_cs_awk_cr=$ac_cr
9126 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9127 _ACEOF
9131 echo "cat >conf$$subs.awk <<_ACEOF" &&
9132 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9133 echo "_ACEOF"
9134 } >conf$$subs.sh ||
9135 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9136 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9137 ac_delim='%!_!# '
9138 for ac_last_try in false false false false false :; do
9139 . ./conf$$subs.sh ||
9140 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9142 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9143 if test $ac_delim_n = $ac_delim_num; then
9144 break
9145 elif $ac_last_try; then
9146 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9147 else
9148 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9150 done
9151 rm -f conf$$subs.sh
9153 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9154 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9155 _ACEOF
9156 sed -n '
9158 s/^/S["/; s/!.*/"]=/
9161 s/^[^!]*!//
9162 :repl
9163 t repl
9164 s/'"$ac_delim"'$//
9165 t delim
9168 s/\(.\{148\}\)..*/\1/
9169 t more1
9170 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9173 b repl
9174 :more1
9175 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9178 s/.\{148\}//
9179 t nl
9180 :delim
9182 s/\(.\{148\}\)..*/\1/
9183 t more2
9184 s/["\\]/\\&/g; s/^/"/; s/$/"/
9187 :more2
9188 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9191 s/.\{148\}//
9192 t delim
9193 ' <conf$$subs.awk | sed '
9194 /^[^""]/{
9196 s/\n//
9198 ' >>$CONFIG_STATUS || ac_write_fail=1
9199 rm -f conf$$subs.awk
9200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9201 _ACAWK
9202 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9203 for (key in S) S_is_set[key] = 1
9204 FS = "\a"
9208 line = $ 0
9209 nfields = split(line, field, "@")
9210 substed = 0
9211 len = length(field[1])
9212 for (i = 2; i < nfields; i++) {
9213 key = field[i]
9214 keylen = length(key)
9215 if (S_is_set[key]) {
9216 value = S[key]
9217 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9218 len += length(value) + length(field[++i])
9219 substed = 1
9220 } else
9221 len += 1 + keylen
9224 print line
9227 _ACAWK
9228 _ACEOF
9229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9230 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9231 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9232 else
9234 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9235 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9236 _ACEOF
9238 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9239 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9240 # trailing colons and then remove the whole line if VPATH becomes empty
9241 # (actually we leave an empty line to preserve line numbers).
9242 if test "x$srcdir" = x.; then
9243 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
9245 s///
9246 s/^/:/
9247 s/[ ]*$/:/
9248 s/:\$(srcdir):/:/g
9249 s/:\${srcdir}:/:/g
9250 s/:@srcdir@:/:/g
9251 s/^:*//
9252 s/:*$//
9254 s/\(=[ ]*\).*/\1/
9256 s/\n//
9257 s/^[^=]*=[ ]*$//
9261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9262 fi # test -n "$CONFIG_FILES"
9264 # Set up the scripts for CONFIG_HEADERS section.
9265 # No need to generate them if there are no CONFIG_HEADERS.
9266 # This happens for instance with `./config.status Makefile'.
9267 if test -n "$CONFIG_HEADERS"; then
9268 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9269 BEGIN {
9270 _ACEOF
9272 # Transform confdefs.h into an awk script `defines.awk', embedded as
9273 # here-document in config.status, that substitutes the proper values into
9274 # config.h.in to produce config.h.
9276 # Create a delimiter string that does not exist in confdefs.h, to ease
9277 # handling of long lines.
9278 ac_delim='%!_!# '
9279 for ac_last_try in false false :; do
9280 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9281 if test -z "$ac_tt"; then
9282 break
9283 elif $ac_last_try; then
9284 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9285 else
9286 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9288 done
9290 # For the awk script, D is an array of macro values keyed by name,
9291 # likewise P contains macro parameters if any. Preserve backslash
9292 # newline sequences.
9294 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9295 sed -n '
9296 s/.\{148\}/&'"$ac_delim"'/g
9297 t rset
9298 :rset
9299 s/^[ ]*#[ ]*define[ ][ ]*/ /
9300 t def
9302 :def
9303 s/\\$//
9304 t bsnl
9305 s/["\\]/\\&/g
9306 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9307 D["\1"]=" \3"/p
9308 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
9310 :bsnl
9311 s/["\\]/\\&/g
9312 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9313 D["\1"]=" \3\\\\\\n"\\/p
9314 t cont
9315 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9316 t cont
9318 :cont
9320 s/.\{148\}/&'"$ac_delim"'/g
9321 t clear
9322 :clear
9323 s/\\$//
9324 t bsnlc
9325 s/["\\]/\\&/g; s/^/"/; s/$/"/p
9327 :bsnlc
9328 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9329 b cont
9330 ' <confdefs.h | sed '
9331 s/'"$ac_delim"'/"\\\
9332 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9334 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9335 for (key in D) D_is_set[key] = 1
9336 FS = "\a"
9338 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9339 line = \$ 0
9340 split(line, arg, " ")
9341 if (arg[1] == "#") {
9342 defundef = arg[2]
9343 mac1 = arg[3]
9344 } else {
9345 defundef = substr(arg[1], 2)
9346 mac1 = arg[2]
9348 split(mac1, mac2, "(") #)
9349 macro = mac2[1]
9350 prefix = substr(line, 1, index(line, defundef) - 1)
9351 if (D_is_set[macro]) {
9352 # Preserve the white space surrounding the "#".
9353 print prefix "define", macro P[macro] D[macro]
9354 next
9355 } else {
9356 # Replace #undef with comments. This is necessary, for example,
9357 # in the case of _POSIX_SOURCE, which is predefined and required
9358 # on some systems where configure will not decide to define it.
9359 if (defundef == "undef") {
9360 print "/*", prefix defundef, macro, "*/"
9361 next
9365 { print }
9366 _ACAWK
9367 _ACEOF
9368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9369 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
9370 fi # test -n "$CONFIG_HEADERS"
9373 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
9374 shift
9375 for ac_tag
9377 case $ac_tag in
9378 :[FHLC]) ac_mode=$ac_tag; continue;;
9379 esac
9380 case $ac_mode$ac_tag in
9381 :[FHL]*:*);;
9382 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9383 :[FH]-) ac_tag=-:-;;
9384 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9385 esac
9386 ac_save_IFS=$IFS
9387 IFS=:
9388 set x $ac_tag
9389 IFS=$ac_save_IFS
9390 shift
9391 ac_file=$1
9392 shift
9394 case $ac_mode in
9395 :L) ac_source=$1;;
9396 :[FH])
9397 ac_file_inputs=
9398 for ac_f
9400 case $ac_f in
9401 -) ac_f="$ac_tmp/stdin";;
9402 *) # Look for the file first in the build tree, then in the source tree
9403 # (if the path is not absolute). The absolute path cannot be DOS-style,
9404 # because $ac_f cannot contain `:'.
9405 test -f "$ac_f" ||
9406 case $ac_f in
9407 [\\/$]*) false;;
9408 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9409 esac ||
9410 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9411 esac
9412 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9413 as_fn_append ac_file_inputs " '$ac_f'"
9414 done
9416 # Let's still pretend it is `configure' which instantiates (i.e., don't
9417 # use $as_me), people would be surprised to read:
9418 # /* config.h. Generated by config.status. */
9419 configure_input='Generated from '`
9420 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9421 `' by configure.'
9422 if test x"$ac_file" != x-; then
9423 configure_input="$ac_file. $configure_input"
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9425 $as_echo "$as_me: creating $ac_file" >&6;}
9427 # Neutralize special characters interpreted by sed in replacement strings.
9428 case $configure_input in #(
9429 *\&* | *\|* | *\\* )
9430 ac_sed_conf_input=`$as_echo "$configure_input" |
9431 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9432 *) ac_sed_conf_input=$configure_input;;
9433 esac
9435 case $ac_tag in
9436 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9437 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9438 esac
9440 esac
9442 ac_dir=`$as_dirname -- "$ac_file" ||
9443 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9444 X"$ac_file" : 'X\(//\)[^/]' \| \
9445 X"$ac_file" : 'X\(//\)$' \| \
9446 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9447 $as_echo X"$ac_file" |
9448 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9449 s//\1/
9452 /^X\(\/\/\)[^/].*/{
9453 s//\1/
9456 /^X\(\/\/\)$/{
9457 s//\1/
9460 /^X\(\/\).*/{
9461 s//\1/
9464 s/.*/./; q'`
9465 as_dir="$ac_dir"; as_fn_mkdir_p
9466 ac_builddir=.
9468 case "$ac_dir" in
9469 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9471 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9472 # A ".." for each directory in $ac_dir_suffix.
9473 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9474 case $ac_top_builddir_sub in
9475 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9476 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9477 esac ;;
9478 esac
9479 ac_abs_top_builddir=$ac_pwd
9480 ac_abs_builddir=$ac_pwd$ac_dir_suffix
9481 # for backward compatibility:
9482 ac_top_builddir=$ac_top_build_prefix
9484 case $srcdir in
9485 .) # We are building in place.
9486 ac_srcdir=.
9487 ac_top_srcdir=$ac_top_builddir_sub
9488 ac_abs_top_srcdir=$ac_pwd ;;
9489 [\\/]* | ?:[\\/]* ) # Absolute name.
9490 ac_srcdir=$srcdir$ac_dir_suffix;
9491 ac_top_srcdir=$srcdir
9492 ac_abs_top_srcdir=$srcdir ;;
9493 *) # Relative name.
9494 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9495 ac_top_srcdir=$ac_top_build_prefix$srcdir
9496 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9497 esac
9498 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9501 case $ac_mode in
9504 # CONFIG_FILE
9507 case $INSTALL in
9508 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9509 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9510 esac
9511 _ACEOF
9513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9514 # If the template does not know about datarootdir, expand it.
9515 # FIXME: This hack should be removed a few years after 2.60.
9516 ac_datarootdir_hack=; ac_datarootdir_seen=
9517 ac_sed_dataroot='
9518 /datarootdir/ {
9522 /@datadir@/p
9523 /@docdir@/p
9524 /@infodir@/p
9525 /@localedir@/p
9526 /@mandir@/p'
9527 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9528 *datarootdir*) ac_datarootdir_seen=yes;;
9529 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9531 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9532 _ACEOF
9533 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9534 ac_datarootdir_hack='
9535 s&@datadir@&$datadir&g
9536 s&@docdir@&$docdir&g
9537 s&@infodir@&$infodir&g
9538 s&@localedir@&$localedir&g
9539 s&@mandir@&$mandir&g
9540 s&\\\${datarootdir}&$datarootdir&g' ;;
9541 esac
9542 _ACEOF
9544 # Neutralize VPATH when `$srcdir' = `.'.
9545 # Shell code in configure.ac might set extrasub.
9546 # FIXME: do we really want to maintain this feature?
9547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9548 ac_sed_extra="$ac_vpsub
9549 $extrasub
9550 _ACEOF
9551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9553 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9554 s|@configure_input@|$ac_sed_conf_input|;t t
9555 s&@top_builddir@&$ac_top_builddir_sub&;t t
9556 s&@top_build_prefix@&$ac_top_build_prefix&;t t
9557 s&@srcdir@&$ac_srcdir&;t t
9558 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9559 s&@top_srcdir@&$ac_top_srcdir&;t t
9560 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9561 s&@builddir@&$ac_builddir&;t t
9562 s&@abs_builddir@&$ac_abs_builddir&;t t
9563 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9564 s&@INSTALL@&$ac_INSTALL&;t t
9565 $ac_datarootdir_hack
9567 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9568 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9570 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9571 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9572 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9573 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9575 which seems to be undefined. Please make sure it is defined" >&5
9576 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9577 which seems to be undefined. Please make sure it is defined" >&2;}
9579 rm -f "$ac_tmp/stdin"
9580 case $ac_file in
9581 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9582 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9583 esac \
9584 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9588 # CONFIG_HEADER
9590 if test x"$ac_file" != x-; then
9592 $as_echo "/* $configure_input */" \
9593 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9594 } >"$ac_tmp/config.h" \
9595 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9596 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9598 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9599 else
9600 rm -f "$ac_file"
9601 mv "$ac_tmp/config.h" "$ac_file" \
9602 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9604 else
9605 $as_echo "/* $configure_input */" \
9606 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9607 || as_fn_error $? "could not create -" "$LINENO" 5
9612 esac
9614 done # for ac_tag
9617 as_fn_exit 0
9618 _ACEOF
9619 ac_clean_files=$ac_clean_files_save
9621 test $ac_write_fail = 0 ||
9622 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9625 # configure is writing to config.log, and then calls config.status.
9626 # config.status does its own redirection, appending to config.log.
9627 # Unfortunately, on DOS this fails, as config.log is still kept open
9628 # by configure, so config.status won't be able to write to it; its
9629 # output is simply discarded. So we exec the FD to /dev/null,
9630 # effectively closing config.log, so it can be properly (re)opened and
9631 # appended to by config.status. When coming back to configure, we
9632 # need to make the FD available again.
9633 if test "$no_create" != yes; then
9634 ac_cs_success=:
9635 ac_config_status_args=
9636 test "$silent" = yes &&
9637 ac_config_status_args="$ac_config_status_args --quiet"
9638 exec 5>/dev/null
9639 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9640 exec 5>>config.log
9641 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9642 # would make configure fail if this is the last instruction.
9643 $ac_cs_success || as_fn_exit 1
9645 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9647 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}