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