simplify callbacks wrappers
[ocurl.git] / configure
blobdbf36391cf891ed33741023334e97ec1dc23c0cf
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ocurl 0.7.7.
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.7'
581 PACKAGE_STRING='ocurl 0.7.7'
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_camlp4
634 OCAML_PKG_lwt
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 localstatedir
679 sharedstatedir
680 sysconfdir
681 datadir
682 datarootdir
683 libexecdir
684 sbindir
685 bindir
686 program_transform_name
687 prefix
688 exec_prefix
689 PACKAGE_URL
690 PACKAGE_BUGREPORT
691 PACKAGE_STRING
692 PACKAGE_VERSION
693 PACKAGE_TARNAME
694 PACKAGE_NAME
695 PATH_SEPARATOR
696 SHELL'
697 ac_subst_files=''
698 ac_user_opts='
699 enable_option_checking
701 ac_precious_vars='build_alias
702 host_alias
703 target_alias
705 CFLAGS
706 LDFLAGS
707 LIBS
708 CPPFLAGS
709 CPP'
712 # Initialize some variables set by options.
713 ac_init_help=
714 ac_init_version=false
715 ac_unrecognized_opts=
716 ac_unrecognized_sep=
717 # The variables have the same names as the options, with
718 # dashes changed to underlines.
719 cache_file=/dev/null
720 exec_prefix=NONE
721 no_create=
722 no_recursion=
723 prefix=NONE
724 program_prefix=NONE
725 program_suffix=NONE
726 program_transform_name=s,x,x,
727 silent=
728 site=
729 srcdir=
730 verbose=
731 x_includes=NONE
732 x_libraries=NONE
734 # Installation directory options.
735 # These are left unexpanded so users can "make install exec_prefix=/foo"
736 # and all the variables that are supposed to be based on exec_prefix
737 # by default will actually change.
738 # Use braces instead of parens because sh, perl, etc. also accept them.
739 # (The list follows the same order as the GNU Coding Standards.)
740 bindir='${exec_prefix}/bin'
741 sbindir='${exec_prefix}/sbin'
742 libexecdir='${exec_prefix}/libexec'
743 datarootdir='${prefix}/share'
744 datadir='${datarootdir}'
745 sysconfdir='${prefix}/etc'
746 sharedstatedir='${prefix}/com'
747 localstatedir='${prefix}/var'
748 includedir='${prefix}/include'
749 oldincludedir='/usr/include'
750 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
751 infodir='${datarootdir}/info'
752 htmldir='${docdir}'
753 dvidir='${docdir}'
754 pdfdir='${docdir}'
755 psdir='${docdir}'
756 libdir='${exec_prefix}/lib'
757 localedir='${datarootdir}/locale'
758 mandir='${datarootdir}/man'
760 ac_prev=
761 ac_dashdash=
762 for ac_option
764 # If the previous option needs an argument, assign it.
765 if test -n "$ac_prev"; then
766 eval $ac_prev=\$ac_option
767 ac_prev=
768 continue
771 case $ac_option in
772 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
773 *=) ac_optarg= ;;
774 *) ac_optarg=yes ;;
775 esac
777 # Accept the important Cygnus configure options, so we can diagnose typos.
779 case $ac_dashdash$ac_option in
781 ac_dashdash=yes ;;
783 -bindir | --bindir | --bindi | --bind | --bin | --bi)
784 ac_prev=bindir ;;
785 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
786 bindir=$ac_optarg ;;
788 -build | --build | --buil | --bui | --bu)
789 ac_prev=build_alias ;;
790 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
791 build_alias=$ac_optarg ;;
793 -cache-file | --cache-file | --cache-fil | --cache-fi \
794 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
795 ac_prev=cache_file ;;
796 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
797 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
798 cache_file=$ac_optarg ;;
800 --config-cache | -C)
801 cache_file=config.cache ;;
803 -datadir | --datadir | --datadi | --datad)
804 ac_prev=datadir ;;
805 -datadir=* | --datadir=* | --datadi=* | --datad=*)
806 datadir=$ac_optarg ;;
808 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
809 | --dataroo | --dataro | --datar)
810 ac_prev=datarootdir ;;
811 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
812 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
813 datarootdir=$ac_optarg ;;
815 -disable-* | --disable-*)
816 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
817 # Reject names that are not valid shell variable names.
818 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
819 as_fn_error $? "invalid feature name: $ac_useropt"
820 ac_useropt_orig=$ac_useropt
821 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
822 case $ac_user_opts in
824 "enable_$ac_useropt"
825 "*) ;;
826 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
827 ac_unrecognized_sep=', ';;
828 esac
829 eval enable_$ac_useropt=no ;;
831 -docdir | --docdir | --docdi | --doc | --do)
832 ac_prev=docdir ;;
833 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
834 docdir=$ac_optarg ;;
836 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
837 ac_prev=dvidir ;;
838 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
839 dvidir=$ac_optarg ;;
841 -enable-* | --enable-*)
842 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
843 # Reject names that are not valid shell variable names.
844 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
845 as_fn_error $? "invalid feature name: $ac_useropt"
846 ac_useropt_orig=$ac_useropt
847 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
848 case $ac_user_opts in
850 "enable_$ac_useropt"
851 "*) ;;
852 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
853 ac_unrecognized_sep=', ';;
854 esac
855 eval enable_$ac_useropt=\$ac_optarg ;;
857 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
858 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
859 | --exec | --exe | --ex)
860 ac_prev=exec_prefix ;;
861 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
862 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
863 | --exec=* | --exe=* | --ex=*)
864 exec_prefix=$ac_optarg ;;
866 -gas | --gas | --ga | --g)
867 # Obsolete; use --with-gas.
868 with_gas=yes ;;
870 -help | --help | --hel | --he | -h)
871 ac_init_help=long ;;
872 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
873 ac_init_help=recursive ;;
874 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
875 ac_init_help=short ;;
877 -host | --host | --hos | --ho)
878 ac_prev=host_alias ;;
879 -host=* | --host=* | --hos=* | --ho=*)
880 host_alias=$ac_optarg ;;
882 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
883 ac_prev=htmldir ;;
884 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
885 | --ht=*)
886 htmldir=$ac_optarg ;;
888 -includedir | --includedir | --includedi | --included | --include \
889 | --includ | --inclu | --incl | --inc)
890 ac_prev=includedir ;;
891 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
892 | --includ=* | --inclu=* | --incl=* | --inc=*)
893 includedir=$ac_optarg ;;
895 -infodir | --infodir | --infodi | --infod | --info | --inf)
896 ac_prev=infodir ;;
897 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
898 infodir=$ac_optarg ;;
900 -libdir | --libdir | --libdi | --libd)
901 ac_prev=libdir ;;
902 -libdir=* | --libdir=* | --libdi=* | --libd=*)
903 libdir=$ac_optarg ;;
905 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
906 | --libexe | --libex | --libe)
907 ac_prev=libexecdir ;;
908 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
909 | --libexe=* | --libex=* | --libe=*)
910 libexecdir=$ac_optarg ;;
912 -localedir | --localedir | --localedi | --localed | --locale)
913 ac_prev=localedir ;;
914 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
915 localedir=$ac_optarg ;;
917 -localstatedir | --localstatedir | --localstatedi | --localstated \
918 | --localstate | --localstat | --localsta | --localst | --locals)
919 ac_prev=localstatedir ;;
920 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
921 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
922 localstatedir=$ac_optarg ;;
924 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
925 ac_prev=mandir ;;
926 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
927 mandir=$ac_optarg ;;
929 -nfp | --nfp | --nf)
930 # Obsolete; use --without-fp.
931 with_fp=no ;;
933 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
934 | --no-cr | --no-c | -n)
935 no_create=yes ;;
937 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
938 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
939 no_recursion=yes ;;
941 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
942 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
943 | --oldin | --oldi | --old | --ol | --o)
944 ac_prev=oldincludedir ;;
945 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
946 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
947 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
948 oldincludedir=$ac_optarg ;;
950 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
951 ac_prev=prefix ;;
952 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
953 prefix=$ac_optarg ;;
955 -program-prefix | --program-prefix | --program-prefi | --program-pref \
956 | --program-pre | --program-pr | --program-p)
957 ac_prev=program_prefix ;;
958 -program-prefix=* | --program-prefix=* | --program-prefi=* \
959 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
960 program_prefix=$ac_optarg ;;
962 -program-suffix | --program-suffix | --program-suffi | --program-suff \
963 | --program-suf | --program-su | --program-s)
964 ac_prev=program_suffix ;;
965 -program-suffix=* | --program-suffix=* | --program-suffi=* \
966 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
967 program_suffix=$ac_optarg ;;
969 -program-transform-name | --program-transform-name \
970 | --program-transform-nam | --program-transform-na \
971 | --program-transform-n | --program-transform- \
972 | --program-transform | --program-transfor \
973 | --program-transfo | --program-transf \
974 | --program-trans | --program-tran \
975 | --progr-tra | --program-tr | --program-t)
976 ac_prev=program_transform_name ;;
977 -program-transform-name=* | --program-transform-name=* \
978 | --program-transform-nam=* | --program-transform-na=* \
979 | --program-transform-n=* | --program-transform-=* \
980 | --program-transform=* | --program-transfor=* \
981 | --program-transfo=* | --program-transf=* \
982 | --program-trans=* | --program-tran=* \
983 | --progr-tra=* | --program-tr=* | --program-t=*)
984 program_transform_name=$ac_optarg ;;
986 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
987 ac_prev=pdfdir ;;
988 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
989 pdfdir=$ac_optarg ;;
991 -psdir | --psdir | --psdi | --psd | --ps)
992 ac_prev=psdir ;;
993 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
994 psdir=$ac_optarg ;;
996 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
997 | -silent | --silent | --silen | --sile | --sil)
998 silent=yes ;;
1000 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1001 ac_prev=sbindir ;;
1002 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1003 | --sbi=* | --sb=*)
1004 sbindir=$ac_optarg ;;
1006 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1007 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1008 | --sharedst | --shareds | --shared | --share | --shar \
1009 | --sha | --sh)
1010 ac_prev=sharedstatedir ;;
1011 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1012 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1013 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1014 | --sha=* | --sh=*)
1015 sharedstatedir=$ac_optarg ;;
1017 -site | --site | --sit)
1018 ac_prev=site ;;
1019 -site=* | --site=* | --sit=*)
1020 site=$ac_optarg ;;
1022 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1023 ac_prev=srcdir ;;
1024 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1025 srcdir=$ac_optarg ;;
1027 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1028 | --syscon | --sysco | --sysc | --sys | --sy)
1029 ac_prev=sysconfdir ;;
1030 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1031 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1032 sysconfdir=$ac_optarg ;;
1034 -target | --target | --targe | --targ | --tar | --ta | --t)
1035 ac_prev=target_alias ;;
1036 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1037 target_alias=$ac_optarg ;;
1039 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1040 verbose=yes ;;
1042 -version | --version | --versio | --versi | --vers | -V)
1043 ac_init_version=: ;;
1045 -with-* | --with-*)
1046 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1047 # Reject names that are not valid shell variable names.
1048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1049 as_fn_error $? "invalid package name: $ac_useropt"
1050 ac_useropt_orig=$ac_useropt
1051 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052 case $ac_user_opts in
1054 "with_$ac_useropt"
1055 "*) ;;
1056 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1057 ac_unrecognized_sep=', ';;
1058 esac
1059 eval with_$ac_useropt=\$ac_optarg ;;
1061 -without-* | --without-*)
1062 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1063 # Reject names that are not valid shell variable names.
1064 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1065 as_fn_error $? "invalid package name: $ac_useropt"
1066 ac_useropt_orig=$ac_useropt
1067 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1068 case $ac_user_opts in
1070 "with_$ac_useropt"
1071 "*) ;;
1072 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1073 ac_unrecognized_sep=', ';;
1074 esac
1075 eval with_$ac_useropt=no ;;
1077 --x)
1078 # Obsolete; use --with-x.
1079 with_x=yes ;;
1081 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1082 | --x-incl | --x-inc | --x-in | --x-i)
1083 ac_prev=x_includes ;;
1084 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1085 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1086 x_includes=$ac_optarg ;;
1088 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1089 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1090 ac_prev=x_libraries ;;
1091 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1092 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1093 x_libraries=$ac_optarg ;;
1095 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1096 Try \`$0 --help' for more information"
1099 *=*)
1100 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1101 # Reject names that are not valid shell variable names.
1102 case $ac_envvar in #(
1103 '' | [0-9]* | *[!_$as_cr_alnum]* )
1104 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1105 esac
1106 eval $ac_envvar=\$ac_optarg
1107 export $ac_envvar ;;
1110 # FIXME: should be removed in autoconf 3.0.
1111 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1112 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1113 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1114 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1117 esac
1118 done
1120 if test -n "$ac_prev"; then
1121 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1122 as_fn_error $? "missing argument to $ac_option"
1125 if test -n "$ac_unrecognized_opts"; then
1126 case $enable_option_checking in
1127 no) ;;
1128 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1129 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1130 esac
1133 # Check all directory arguments for consistency.
1134 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1135 datadir sysconfdir sharedstatedir localstatedir includedir \
1136 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1137 libdir localedir mandir
1139 eval ac_val=\$$ac_var
1140 # Remove trailing slashes.
1141 case $ac_val in
1142 */ )
1143 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1144 eval $ac_var=\$ac_val;;
1145 esac
1146 # Be sure to have absolute directory names.
1147 case $ac_val in
1148 [\\/$]* | ?:[\\/]* ) continue;;
1149 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1150 esac
1151 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1152 done
1154 # There might be people who depend on the old broken behavior: `$host'
1155 # used to hold the argument of --host etc.
1156 # FIXME: To remove some day.
1157 build=$build_alias
1158 host=$host_alias
1159 target=$target_alias
1161 # FIXME: To remove some day.
1162 if test "x$host_alias" != x; then
1163 if test "x$build_alias" = x; then
1164 cross_compiling=maybe
1165 elif test "x$build_alias" != "x$host_alias"; then
1166 cross_compiling=yes
1170 ac_tool_prefix=
1171 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1173 test "$silent" = yes && exec 6>/dev/null
1176 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1177 ac_ls_di=`ls -di .` &&
1178 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1179 as_fn_error $? "working directory cannot be determined"
1180 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1181 as_fn_error $? "pwd does not report name of working directory"
1184 # Find the source files, if location was not specified.
1185 if test -z "$srcdir"; then
1186 ac_srcdir_defaulted=yes
1187 # Try the directory containing this script, then the parent directory.
1188 ac_confdir=`$as_dirname -- "$as_myself" ||
1189 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1190 X"$as_myself" : 'X\(//\)[^/]' \| \
1191 X"$as_myself" : 'X\(//\)$' \| \
1192 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1193 $as_echo X"$as_myself" |
1194 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1195 s//\1/
1198 /^X\(\/\/\)[^/].*/{
1199 s//\1/
1202 /^X\(\/\/\)$/{
1203 s//\1/
1206 /^X\(\/\).*/{
1207 s//\1/
1210 s/.*/./; q'`
1211 srcdir=$ac_confdir
1212 if test ! -r "$srcdir/$ac_unique_file"; then
1213 srcdir=..
1215 else
1216 ac_srcdir_defaulted=no
1218 if test ! -r "$srcdir/$ac_unique_file"; then
1219 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1220 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1222 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1223 ac_abs_confdir=`(
1224 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1225 pwd)`
1226 # When building in place, set srcdir=.
1227 if test "$ac_abs_confdir" = "$ac_pwd"; then
1228 srcdir=.
1230 # Remove unnecessary trailing slashes from srcdir.
1231 # Double slashes in file names in object file debugging info
1232 # mess up M-x gdb in Emacs.
1233 case $srcdir in
1234 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1235 esac
1236 for ac_var in $ac_precious_vars; do
1237 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1238 eval ac_env_${ac_var}_value=\$${ac_var}
1239 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1240 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1241 done
1244 # Report the --help message.
1246 if test "$ac_init_help" = "long"; then
1247 # Omit some internal or obsolete options to make the list less imposing.
1248 # This message is too long to be a string in the A/UX 3.1 sh.
1249 cat <<_ACEOF
1250 \`configure' configures ocurl 0.7.7 to adapt to many kinds of systems.
1252 Usage: $0 [OPTION]... [VAR=VALUE]...
1254 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1255 VAR=VALUE. See below for descriptions of some of the useful variables.
1257 Defaults for the options are specified in brackets.
1259 Configuration:
1260 -h, --help display this help and exit
1261 --help=short display options specific to this package
1262 --help=recursive display the short help of all the included packages
1263 -V, --version display version information and exit
1264 -q, --quiet, --silent do not print \`checking ...' messages
1265 --cache-file=FILE cache test results in FILE [disabled]
1266 -C, --config-cache alias for \`--cache-file=config.cache'
1267 -n, --no-create do not create output files
1268 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1270 Installation directories:
1271 --prefix=PREFIX install architecture-independent files in PREFIX
1272 [$ac_default_prefix]
1273 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1274 [PREFIX]
1276 By default, \`make install' will install all the files in
1277 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1278 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1279 for instance \`--prefix=\$HOME'.
1281 For better control, use the options below.
1283 Fine tuning of the installation directories:
1284 --bindir=DIR user executables [EPREFIX/bin]
1285 --sbindir=DIR system admin executables [EPREFIX/sbin]
1286 --libexecdir=DIR program executables [EPREFIX/libexec]
1287 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1288 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1289 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1290 --libdir=DIR object code libraries [EPREFIX/lib]
1291 --includedir=DIR C header files [PREFIX/include]
1292 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1293 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1294 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1295 --infodir=DIR info documentation [DATAROOTDIR/info]
1296 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1297 --mandir=DIR man documentation [DATAROOTDIR/man]
1298 --docdir=DIR documentation root [DATAROOTDIR/doc/ocurl]
1299 --htmldir=DIR html documentation [DOCDIR]
1300 --dvidir=DIR dvi documentation [DOCDIR]
1301 --pdfdir=DIR pdf documentation [DOCDIR]
1302 --psdir=DIR ps documentation [DOCDIR]
1303 _ACEOF
1305 cat <<\_ACEOF
1306 _ACEOF
1309 if test -n "$ac_init_help"; then
1310 case $ac_init_help in
1311 short | recursive ) echo "Configuration of ocurl 0.7.7:";;
1312 esac
1313 cat <<\_ACEOF
1315 Some influential environment variables:
1316 CC C compiler command
1317 CFLAGS C compiler flags
1318 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1319 nonstandard directory <lib dir>
1320 LIBS libraries to pass to the linker, e.g. -l<library>
1321 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1322 you have headers in a nonstandard directory <include dir>
1323 CPP C preprocessor
1325 Use these variables to override the choices made by `configure' or to help
1326 it to find libraries and programs with nonstandard names/locations.
1328 Report bugs to the package provider.
1329 _ACEOF
1330 ac_status=$?
1333 if test "$ac_init_help" = "recursive"; then
1334 # If there are subdirs, report their specific --help.
1335 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1336 test -d "$ac_dir" ||
1337 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1338 continue
1339 ac_builddir=.
1341 case "$ac_dir" in
1342 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1344 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1345 # A ".." for each directory in $ac_dir_suffix.
1346 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1347 case $ac_top_builddir_sub in
1348 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1349 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1350 esac ;;
1351 esac
1352 ac_abs_top_builddir=$ac_pwd
1353 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1354 # for backward compatibility:
1355 ac_top_builddir=$ac_top_build_prefix
1357 case $srcdir in
1358 .) # We are building in place.
1359 ac_srcdir=.
1360 ac_top_srcdir=$ac_top_builddir_sub
1361 ac_abs_top_srcdir=$ac_pwd ;;
1362 [\\/]* | ?:[\\/]* ) # Absolute name.
1363 ac_srcdir=$srcdir$ac_dir_suffix;
1364 ac_top_srcdir=$srcdir
1365 ac_abs_top_srcdir=$srcdir ;;
1366 *) # Relative name.
1367 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1368 ac_top_srcdir=$ac_top_build_prefix$srcdir
1369 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1370 esac
1371 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1373 cd "$ac_dir" || { ac_status=$?; continue; }
1374 # Check for guested configure.
1375 if test -f "$ac_srcdir/configure.gnu"; then
1376 echo &&
1377 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1378 elif test -f "$ac_srcdir/configure"; then
1379 echo &&
1380 $SHELL "$ac_srcdir/configure" --help=recursive
1381 else
1382 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1383 fi || ac_status=$?
1384 cd "$ac_pwd" || { ac_status=$?; break; }
1385 done
1388 test -n "$ac_init_help" && exit $ac_status
1389 if $ac_init_version; then
1390 cat <<\_ACEOF
1391 ocurl configure 0.7.7
1392 generated by GNU Autoconf 2.69
1394 Copyright (C) 2012 Free Software Foundation, Inc.
1395 This configure script is free software; the Free Software Foundation
1396 gives unlimited permission to copy, distribute and modify it.
1397 _ACEOF
1398 exit
1401 ## ------------------------ ##
1402 ## Autoconf initialization. ##
1403 ## ------------------------ ##
1405 # ac_fn_c_try_compile LINENO
1406 # --------------------------
1407 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1408 ac_fn_c_try_compile ()
1410 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1411 rm -f conftest.$ac_objext
1412 if { { ac_try="$ac_compile"
1413 case "(($ac_try" in
1414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1415 *) ac_try_echo=$ac_try;;
1416 esac
1417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1418 $as_echo "$ac_try_echo"; } >&5
1419 (eval "$ac_compile") 2>conftest.err
1420 ac_status=$?
1421 if test -s conftest.err; then
1422 grep -v '^ *+' conftest.err >conftest.er1
1423 cat conftest.er1 >&5
1424 mv -f conftest.er1 conftest.err
1426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1427 test $ac_status = 0; } && {
1428 test -z "$ac_c_werror_flag" ||
1429 test ! -s conftest.err
1430 } && test -s conftest.$ac_objext; then :
1431 ac_retval=0
1432 else
1433 $as_echo "$as_me: failed program was:" >&5
1434 sed 's/^/| /' conftest.$ac_ext >&5
1436 ac_retval=1
1438 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1439 as_fn_set_status $ac_retval
1441 } # ac_fn_c_try_compile
1443 # ac_fn_c_try_cpp LINENO
1444 # ----------------------
1445 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1446 ac_fn_c_try_cpp ()
1448 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1449 if { { ac_try="$ac_cpp conftest.$ac_ext"
1450 case "(($ac_try" in
1451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1452 *) ac_try_echo=$ac_try;;
1453 esac
1454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1455 $as_echo "$ac_try_echo"; } >&5
1456 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1457 ac_status=$?
1458 if test -s conftest.err; then
1459 grep -v '^ *+' conftest.err >conftest.er1
1460 cat conftest.er1 >&5
1461 mv -f conftest.er1 conftest.err
1463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1464 test $ac_status = 0; } > conftest.i && {
1465 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1466 test ! -s conftest.err
1467 }; then :
1468 ac_retval=0
1469 else
1470 $as_echo "$as_me: failed program was:" >&5
1471 sed 's/^/| /' conftest.$ac_ext >&5
1473 ac_retval=1
1475 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1476 as_fn_set_status $ac_retval
1478 } # ac_fn_c_try_cpp
1480 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1481 # -------------------------------------------------------
1482 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1483 # the include files in INCLUDES and setting the cache variable VAR
1484 # accordingly.
1485 ac_fn_c_check_header_mongrel ()
1487 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1488 if eval \${$3+:} false; then :
1489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1490 $as_echo_n "checking for $2... " >&6; }
1491 if eval \${$3+:} false; then :
1492 $as_echo_n "(cached) " >&6
1494 eval ac_res=\$$3
1495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1496 $as_echo "$ac_res" >&6; }
1497 else
1498 # Is the header compilable?
1499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1500 $as_echo_n "checking $2 usability... " >&6; }
1501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1502 /* end confdefs.h. */
1504 #include <$2>
1505 _ACEOF
1506 if ac_fn_c_try_compile "$LINENO"; then :
1507 ac_header_compiler=yes
1508 else
1509 ac_header_compiler=no
1511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1513 $as_echo "$ac_header_compiler" >&6; }
1515 # Is the header present?
1516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1517 $as_echo_n "checking $2 presence... " >&6; }
1518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1519 /* end confdefs.h. */
1520 #include <$2>
1521 _ACEOF
1522 if ac_fn_c_try_cpp "$LINENO"; then :
1523 ac_header_preproc=yes
1524 else
1525 ac_header_preproc=no
1527 rm -f conftest.err conftest.i conftest.$ac_ext
1528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1529 $as_echo "$ac_header_preproc" >&6; }
1531 # So? What about this header?
1532 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1533 yes:no: )
1534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1535 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1537 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1539 no:yes:* )
1540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1541 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1543 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1545 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1547 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&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 esac
1552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1553 $as_echo_n "checking for $2... " >&6; }
1554 if eval \${$3+:} false; then :
1555 $as_echo_n "(cached) " >&6
1556 else
1557 eval "$3=\$ac_header_compiler"
1559 eval ac_res=\$$3
1560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1561 $as_echo "$ac_res" >&6; }
1563 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1565 } # ac_fn_c_check_header_mongrel
1567 # ac_fn_c_try_run LINENO
1568 # ----------------------
1569 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1570 # that executables *can* be run.
1571 ac_fn_c_try_run ()
1573 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1574 if { { ac_try="$ac_link"
1575 case "(($ac_try" in
1576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1577 *) ac_try_echo=$ac_try;;
1578 esac
1579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1580 $as_echo "$ac_try_echo"; } >&5
1581 (eval "$ac_link") 2>&5
1582 ac_status=$?
1583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1584 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1585 { { case "(($ac_try" in
1586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1587 *) ac_try_echo=$ac_try;;
1588 esac
1589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1590 $as_echo "$ac_try_echo"; } >&5
1591 (eval "$ac_try") 2>&5
1592 ac_status=$?
1593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1594 test $ac_status = 0; }; }; then :
1595 ac_retval=0
1596 else
1597 $as_echo "$as_me: program exited with status $ac_status" >&5
1598 $as_echo "$as_me: failed program was:" >&5
1599 sed 's/^/| /' conftest.$ac_ext >&5
1601 ac_retval=$ac_status
1603 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1604 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1605 as_fn_set_status $ac_retval
1607 } # ac_fn_c_try_run
1609 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1610 # -------------------------------------------------------
1611 # Tests whether HEADER exists and can be compiled using the include files in
1612 # INCLUDES, setting the cache variable VAR accordingly.
1613 ac_fn_c_check_header_compile ()
1615 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1617 $as_echo_n "checking for $2... " >&6; }
1618 if eval \${$3+:} false; then :
1619 $as_echo_n "(cached) " >&6
1620 else
1621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1622 /* end confdefs.h. */
1624 #include <$2>
1625 _ACEOF
1626 if ac_fn_c_try_compile "$LINENO"; then :
1627 eval "$3=yes"
1628 else
1629 eval "$3=no"
1631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1633 eval ac_res=\$$3
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1635 $as_echo "$ac_res" >&6; }
1636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1638 } # ac_fn_c_check_header_compile
1640 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1641 # ---------------------------------------------
1642 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1643 # accordingly.
1644 ac_fn_c_check_decl ()
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 as_decl_name=`echo $2|sed 's/ *(.*//'`
1648 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1650 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1651 if eval \${$3+:} false; then :
1652 $as_echo_n "(cached) " >&6
1653 else
1654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1655 /* end confdefs.h. */
1658 main ()
1660 #ifndef $as_decl_name
1661 #ifdef __cplusplus
1662 (void) $as_decl_use;
1663 #else
1664 (void) $as_decl_name;
1665 #endif
1666 #endif
1669 return 0;
1671 _ACEOF
1672 if ac_fn_c_try_compile "$LINENO"; then :
1673 eval "$3=yes"
1674 else
1675 eval "$3=no"
1677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1679 eval ac_res=\$$3
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1681 $as_echo "$ac_res" >&6; }
1682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1684 } # ac_fn_c_check_decl
1685 cat >config.log <<_ACEOF
1686 This file contains any messages produced by compilers while
1687 running configure, to aid debugging if configure makes a mistake.
1689 It was created by ocurl $as_me 0.7.7, which was
1690 generated by GNU Autoconf 2.69. Invocation command line was
1692 $ $0 $@
1694 _ACEOF
1695 exec 5>>config.log
1697 cat <<_ASUNAME
1698 ## --------- ##
1699 ## Platform. ##
1700 ## --------- ##
1702 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1703 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1704 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1705 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1706 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1708 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1709 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1711 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1712 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1713 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1714 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1715 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1716 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1717 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1719 _ASUNAME
1721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1722 for as_dir in $PATH
1724 IFS=$as_save_IFS
1725 test -z "$as_dir" && as_dir=.
1726 $as_echo "PATH: $as_dir"
1727 done
1728 IFS=$as_save_IFS
1730 } >&5
1732 cat >&5 <<_ACEOF
1735 ## ----------- ##
1736 ## Core tests. ##
1737 ## ----------- ##
1739 _ACEOF
1742 # Keep a trace of the command line.
1743 # Strip out --no-create and --no-recursion so they do not pile up.
1744 # Strip out --silent because we don't want to record it for future runs.
1745 # Also quote any args containing shell meta-characters.
1746 # Make two passes to allow for proper duplicate-argument suppression.
1747 ac_configure_args=
1748 ac_configure_args0=
1749 ac_configure_args1=
1750 ac_must_keep_next=false
1751 for ac_pass in 1 2
1753 for ac_arg
1755 case $ac_arg in
1756 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1757 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1758 | -silent | --silent | --silen | --sile | --sil)
1759 continue ;;
1760 *\'*)
1761 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1762 esac
1763 case $ac_pass in
1764 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1766 as_fn_append ac_configure_args1 " '$ac_arg'"
1767 if test $ac_must_keep_next = true; then
1768 ac_must_keep_next=false # Got value, back to normal.
1769 else
1770 case $ac_arg in
1771 *=* | --config-cache | -C | -disable-* | --disable-* \
1772 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1773 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1774 | -with-* | --with-* | -without-* | --without-* | --x)
1775 case "$ac_configure_args0 " in
1776 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1777 esac
1779 -* ) ac_must_keep_next=true ;;
1780 esac
1782 as_fn_append ac_configure_args " '$ac_arg'"
1784 esac
1785 done
1786 done
1787 { ac_configure_args0=; unset ac_configure_args0;}
1788 { ac_configure_args1=; unset ac_configure_args1;}
1790 # When interrupted or exit'd, cleanup temporary files, and complete
1791 # config.log. We remove comments because anyway the quotes in there
1792 # would cause problems or look ugly.
1793 # WARNING: Use '\'' to represent an apostrophe within the trap.
1794 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1795 trap 'exit_status=$?
1796 # Save into config.log some information that might help in debugging.
1798 echo
1800 $as_echo "## ---------------- ##
1801 ## Cache variables. ##
1802 ## ---------------- ##"
1803 echo
1804 # The following way of writing the cache mishandles newlines in values,
1806 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1807 eval ac_val=\$$ac_var
1808 case $ac_val in #(
1809 *${as_nl}*)
1810 case $ac_var in #(
1811 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1812 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1813 esac
1814 case $ac_var in #(
1815 _ | IFS | as_nl) ;; #(
1816 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1817 *) { eval $ac_var=; unset $ac_var;} ;;
1818 esac ;;
1819 esac
1820 done
1821 (set) 2>&1 |
1822 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1823 *${as_nl}ac_space=\ *)
1824 sed -n \
1825 "s/'\''/'\''\\\\'\'''\''/g;
1826 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1827 ;; #(
1829 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1831 esac |
1832 sort
1834 echo
1836 $as_echo "## ----------------- ##
1837 ## Output variables. ##
1838 ## ----------------- ##"
1839 echo
1840 for ac_var in $ac_subst_vars
1842 eval ac_val=\$$ac_var
1843 case $ac_val in
1844 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1845 esac
1846 $as_echo "$ac_var='\''$ac_val'\''"
1847 done | sort
1848 echo
1850 if test -n "$ac_subst_files"; then
1851 $as_echo "## ------------------- ##
1852 ## File substitutions. ##
1853 ## ------------------- ##"
1854 echo
1855 for ac_var in $ac_subst_files
1857 eval ac_val=\$$ac_var
1858 case $ac_val in
1859 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1860 esac
1861 $as_echo "$ac_var='\''$ac_val'\''"
1862 done | sort
1863 echo
1866 if test -s confdefs.h; then
1867 $as_echo "## ----------- ##
1868 ## confdefs.h. ##
1869 ## ----------- ##"
1870 echo
1871 cat confdefs.h
1872 echo
1874 test "$ac_signal" != 0 &&
1875 $as_echo "$as_me: caught signal $ac_signal"
1876 $as_echo "$as_me: exit $exit_status"
1877 } >&5
1878 rm -f core *.core core.conftest.* &&
1879 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1880 exit $exit_status
1882 for ac_signal in 1 2 13 15; do
1883 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1884 done
1885 ac_signal=0
1887 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1888 rm -f -r conftest* confdefs.h
1890 $as_echo "/* confdefs.h */" > confdefs.h
1892 # Predefined preprocessor variables.
1894 cat >>confdefs.h <<_ACEOF
1895 #define PACKAGE_NAME "$PACKAGE_NAME"
1896 _ACEOF
1898 cat >>confdefs.h <<_ACEOF
1899 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1900 _ACEOF
1902 cat >>confdefs.h <<_ACEOF
1903 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1904 _ACEOF
1906 cat >>confdefs.h <<_ACEOF
1907 #define PACKAGE_STRING "$PACKAGE_STRING"
1908 _ACEOF
1910 cat >>confdefs.h <<_ACEOF
1911 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1912 _ACEOF
1914 cat >>confdefs.h <<_ACEOF
1915 #define PACKAGE_URL "$PACKAGE_URL"
1916 _ACEOF
1919 # Let the site file select an alternate cache file if it wants to.
1920 # Prefer an explicitly selected file to automatically selected ones.
1921 ac_site_file1=NONE
1922 ac_site_file2=NONE
1923 if test -n "$CONFIG_SITE"; then
1924 # We do not want a PATH search for config.site.
1925 case $CONFIG_SITE in #((
1926 -*) ac_site_file1=./$CONFIG_SITE;;
1927 */*) ac_site_file1=$CONFIG_SITE;;
1928 *) ac_site_file1=./$CONFIG_SITE;;
1929 esac
1930 elif test "x$prefix" != xNONE; then
1931 ac_site_file1=$prefix/share/config.site
1932 ac_site_file2=$prefix/etc/config.site
1933 else
1934 ac_site_file1=$ac_default_prefix/share/config.site
1935 ac_site_file2=$ac_default_prefix/etc/config.site
1937 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1939 test "x$ac_site_file" = xNONE && continue
1940 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1942 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1943 sed 's/^/| /' "$ac_site_file" >&5
1944 . "$ac_site_file" \
1945 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1947 as_fn_error $? "failed to load site script $ac_site_file
1948 See \`config.log' for more details" "$LINENO" 5; }
1950 done
1952 if test -r "$cache_file"; then
1953 # Some versions of bash will fail to source /dev/null (special files
1954 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1955 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1957 $as_echo "$as_me: loading cache $cache_file" >&6;}
1958 case $cache_file in
1959 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1960 *) . "./$cache_file";;
1961 esac
1963 else
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1965 $as_echo "$as_me: creating cache $cache_file" >&6;}
1966 >$cache_file
1969 # Check that the precious variables saved in the cache have kept the same
1970 # value.
1971 ac_cache_corrupted=false
1972 for ac_var in $ac_precious_vars; do
1973 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1974 eval ac_new_set=\$ac_env_${ac_var}_set
1975 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1976 eval ac_new_val=\$ac_env_${ac_var}_value
1977 case $ac_old_set,$ac_new_set in
1978 set,)
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1980 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1981 ac_cache_corrupted=: ;;
1982 ,set)
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1984 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1985 ac_cache_corrupted=: ;;
1986 ,);;
1988 if test "x$ac_old_val" != "x$ac_new_val"; then
1989 # differences in whitespace do not lead to failure.
1990 ac_old_val_w=`echo x $ac_old_val`
1991 ac_new_val_w=`echo x $ac_new_val`
1992 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1994 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1995 ac_cache_corrupted=:
1996 else
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1998 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1999 eval $ac_var=\$ac_old_val
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2002 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2004 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2005 fi;;
2006 esac
2007 # Pass precious variables to config.status.
2008 if test "$ac_new_set" = set; then
2009 case $ac_new_val in
2010 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2011 *) ac_arg=$ac_var=$ac_new_val ;;
2012 esac
2013 case " $ac_configure_args " in
2014 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2015 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2016 esac
2018 done
2019 if $ac_cache_corrupted; then
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2023 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2024 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2026 ## -------------------- ##
2027 ## Main body of script. ##
2028 ## -------------------- ##
2030 ac_ext=c
2031 ac_cpp='$CPP $CPPFLAGS'
2032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2038 ac_ext=c
2039 ac_cpp='$CPP $CPPFLAGS'
2040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2043 if test -n "$ac_tool_prefix"; then
2044 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2045 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2047 $as_echo_n "checking for $ac_word... " >&6; }
2048 if ${ac_cv_prog_CC+:} false; then :
2049 $as_echo_n "(cached) " >&6
2050 else
2051 if test -n "$CC"; then
2052 ac_cv_prog_CC="$CC" # Let the user override the test.
2053 else
2054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2055 for as_dir in $PATH
2057 IFS=$as_save_IFS
2058 test -z "$as_dir" && as_dir=.
2059 for ac_exec_ext in '' $ac_executable_extensions; do
2060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2061 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2063 break 2
2065 done
2066 done
2067 IFS=$as_save_IFS
2071 CC=$ac_cv_prog_CC
2072 if test -n "$CC"; then
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2074 $as_echo "$CC" >&6; }
2075 else
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2077 $as_echo "no" >&6; }
2082 if test -z "$ac_cv_prog_CC"; then
2083 ac_ct_CC=$CC
2084 # Extract the first word of "gcc", so it can be a program name with args.
2085 set dummy gcc; ac_word=$2
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2087 $as_echo_n "checking for $ac_word... " >&6; }
2088 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2089 $as_echo_n "(cached) " >&6
2090 else
2091 if test -n "$ac_ct_CC"; then
2092 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2093 else
2094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2095 for as_dir in $PATH
2097 IFS=$as_save_IFS
2098 test -z "$as_dir" && as_dir=.
2099 for ac_exec_ext in '' $ac_executable_extensions; do
2100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2101 ac_cv_prog_ac_ct_CC="gcc"
2102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2103 break 2
2105 done
2106 done
2107 IFS=$as_save_IFS
2111 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2112 if test -n "$ac_ct_CC"; then
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2114 $as_echo "$ac_ct_CC" >&6; }
2115 else
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2117 $as_echo "no" >&6; }
2120 if test "x$ac_ct_CC" = x; then
2121 CC=""
2122 else
2123 case $cross_compiling:$ac_tool_warned in
2124 yes:)
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2127 ac_tool_warned=yes ;;
2128 esac
2129 CC=$ac_ct_CC
2131 else
2132 CC="$ac_cv_prog_CC"
2135 if test -z "$CC"; then
2136 if test -n "$ac_tool_prefix"; then
2137 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2138 set dummy ${ac_tool_prefix}cc; ac_word=$2
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2140 $as_echo_n "checking for $ac_word... " >&6; }
2141 if ${ac_cv_prog_CC+:} false; then :
2142 $as_echo_n "(cached) " >&6
2143 else
2144 if test -n "$CC"; then
2145 ac_cv_prog_CC="$CC" # Let the user override the test.
2146 else
2147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2148 for as_dir in $PATH
2150 IFS=$as_save_IFS
2151 test -z "$as_dir" && as_dir=.
2152 for ac_exec_ext in '' $ac_executable_extensions; do
2153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2154 ac_cv_prog_CC="${ac_tool_prefix}cc"
2155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2156 break 2
2158 done
2159 done
2160 IFS=$as_save_IFS
2164 CC=$ac_cv_prog_CC
2165 if test -n "$CC"; then
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2167 $as_echo "$CC" >&6; }
2168 else
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2170 $as_echo "no" >&6; }
2176 if test -z "$CC"; then
2177 # Extract the first word of "cc", so it can be a program name with args.
2178 set dummy cc; ac_word=$2
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2180 $as_echo_n "checking for $ac_word... " >&6; }
2181 if ${ac_cv_prog_CC+:} false; then :
2182 $as_echo_n "(cached) " >&6
2183 else
2184 if test -n "$CC"; then
2185 ac_cv_prog_CC="$CC" # Let the user override the test.
2186 else
2187 ac_prog_rejected=no
2188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2189 for as_dir in $PATH
2191 IFS=$as_save_IFS
2192 test -z "$as_dir" && as_dir=.
2193 for ac_exec_ext in '' $ac_executable_extensions; do
2194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2195 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2196 ac_prog_rejected=yes
2197 continue
2199 ac_cv_prog_CC="cc"
2200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2201 break 2
2203 done
2204 done
2205 IFS=$as_save_IFS
2207 if test $ac_prog_rejected = yes; then
2208 # We found a bogon in the path, so make sure we never use it.
2209 set dummy $ac_cv_prog_CC
2210 shift
2211 if test $# != 0; then
2212 # We chose a different compiler from the bogus one.
2213 # However, it has the same basename, so the bogon will be chosen
2214 # first if we set CC to just the basename; use the full file name.
2215 shift
2216 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2221 CC=$ac_cv_prog_CC
2222 if test -n "$CC"; then
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2224 $as_echo "$CC" >&6; }
2225 else
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2227 $as_echo "no" >&6; }
2232 if test -z "$CC"; then
2233 if test -n "$ac_tool_prefix"; then
2234 for ac_prog in cl.exe
2236 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2237 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2239 $as_echo_n "checking for $ac_word... " >&6; }
2240 if ${ac_cv_prog_CC+:} false; then :
2241 $as_echo_n "(cached) " >&6
2242 else
2243 if test -n "$CC"; then
2244 ac_cv_prog_CC="$CC" # Let the user override the test.
2245 else
2246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2247 for as_dir in $PATH
2249 IFS=$as_save_IFS
2250 test -z "$as_dir" && as_dir=.
2251 for ac_exec_ext in '' $ac_executable_extensions; do
2252 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2253 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2255 break 2
2257 done
2258 done
2259 IFS=$as_save_IFS
2263 CC=$ac_cv_prog_CC
2264 if test -n "$CC"; then
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2266 $as_echo "$CC" >&6; }
2267 else
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2269 $as_echo "no" >&6; }
2273 test -n "$CC" && break
2274 done
2276 if test -z "$CC"; then
2277 ac_ct_CC=$CC
2278 for ac_prog in cl.exe
2280 # Extract the first word of "$ac_prog", so it can be a program name with args.
2281 set dummy $ac_prog; ac_word=$2
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2283 $as_echo_n "checking for $ac_word... " >&6; }
2284 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2285 $as_echo_n "(cached) " >&6
2286 else
2287 if test -n "$ac_ct_CC"; then
2288 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2289 else
2290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2291 for as_dir in $PATH
2293 IFS=$as_save_IFS
2294 test -z "$as_dir" && as_dir=.
2295 for ac_exec_ext in '' $ac_executable_extensions; do
2296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2297 ac_cv_prog_ac_ct_CC="$ac_prog"
2298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2299 break 2
2301 done
2302 done
2303 IFS=$as_save_IFS
2307 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2308 if test -n "$ac_ct_CC"; then
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2310 $as_echo "$ac_ct_CC" >&6; }
2311 else
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2313 $as_echo "no" >&6; }
2317 test -n "$ac_ct_CC" && break
2318 done
2320 if test "x$ac_ct_CC" = x; then
2321 CC=""
2322 else
2323 case $cross_compiling:$ac_tool_warned in
2324 yes:)
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2327 ac_tool_warned=yes ;;
2328 esac
2329 CC=$ac_ct_CC
2336 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2338 as_fn_error $? "no acceptable C compiler found in \$PATH
2339 See \`config.log' for more details" "$LINENO" 5; }
2341 # Provide some information about the compiler.
2342 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2343 set X $ac_compile
2344 ac_compiler=$2
2345 for ac_option in --version -v -V -qversion; do
2346 { { ac_try="$ac_compiler $ac_option >&5"
2347 case "(($ac_try" in
2348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2349 *) ac_try_echo=$ac_try;;
2350 esac
2351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2352 $as_echo "$ac_try_echo"; } >&5
2353 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2354 ac_status=$?
2355 if test -s conftest.err; then
2356 sed '10a\
2357 ... rest of stderr output deleted ...
2358 10q' conftest.err >conftest.er1
2359 cat conftest.er1 >&5
2361 rm -f conftest.er1 conftest.err
2362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2363 test $ac_status = 0; }
2364 done
2366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2367 /* end confdefs.h. */
2370 main ()
2374 return 0;
2376 _ACEOF
2377 ac_clean_files_save=$ac_clean_files
2378 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2379 # Try to create an executable without -o first, disregard a.out.
2380 # It will help us diagnose broken compilers, and finding out an intuition
2381 # of exeext.
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2383 $as_echo_n "checking whether the C compiler works... " >&6; }
2384 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2386 # The possible output files:
2387 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2389 ac_rmfiles=
2390 for ac_file in $ac_files
2392 case $ac_file in
2393 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2394 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2395 esac
2396 done
2397 rm -f $ac_rmfiles
2399 if { { ac_try="$ac_link_default"
2400 case "(($ac_try" in
2401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2402 *) ac_try_echo=$ac_try;;
2403 esac
2404 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2405 $as_echo "$ac_try_echo"; } >&5
2406 (eval "$ac_link_default") 2>&5
2407 ac_status=$?
2408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2409 test $ac_status = 0; }; then :
2410 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2411 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2412 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2413 # so that the user can short-circuit this test for compilers unknown to
2414 # Autoconf.
2415 for ac_file in $ac_files ''
2417 test -f "$ac_file" || continue
2418 case $ac_file in
2419 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2421 [ab].out )
2422 # We found the default executable, but exeext='' is most
2423 # certainly right.
2424 break;;
2425 *.* )
2426 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2427 then :; else
2428 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2430 # We set ac_cv_exeext here because the later test for it is not
2431 # safe: cross compilers may not add the suffix if given an `-o'
2432 # argument, so we may need to know it at that point already.
2433 # Even if this section looks crufty: it has the advantage of
2434 # actually working.
2435 break;;
2437 break;;
2438 esac
2439 done
2440 test "$ac_cv_exeext" = no && ac_cv_exeext=
2442 else
2443 ac_file=''
2445 if test -z "$ac_file"; then :
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2447 $as_echo "no" >&6; }
2448 $as_echo "$as_me: failed program was:" >&5
2449 sed 's/^/| /' conftest.$ac_ext >&5
2451 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2453 as_fn_error 77 "C compiler cannot create executables
2454 See \`config.log' for more details" "$LINENO" 5; }
2455 else
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2457 $as_echo "yes" >&6; }
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2460 $as_echo_n "checking for C compiler default output file name... " >&6; }
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2462 $as_echo "$ac_file" >&6; }
2463 ac_exeext=$ac_cv_exeext
2465 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2466 ac_clean_files=$ac_clean_files_save
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2468 $as_echo_n "checking for suffix of executables... " >&6; }
2469 if { { ac_try="$ac_link"
2470 case "(($ac_try" in
2471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2472 *) ac_try_echo=$ac_try;;
2473 esac
2474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2475 $as_echo "$ac_try_echo"; } >&5
2476 (eval "$ac_link") 2>&5
2477 ac_status=$?
2478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2479 test $ac_status = 0; }; then :
2480 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2481 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2482 # work properly (i.e., refer to `conftest.exe'), while it won't with
2483 # `rm'.
2484 for ac_file in conftest.exe conftest conftest.*; do
2485 test -f "$ac_file" || continue
2486 case $ac_file in
2487 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2488 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2489 break;;
2490 * ) break;;
2491 esac
2492 done
2493 else
2494 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2495 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2496 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2497 See \`config.log' for more details" "$LINENO" 5; }
2499 rm -f conftest conftest$ac_cv_exeext
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2501 $as_echo "$ac_cv_exeext" >&6; }
2503 rm -f conftest.$ac_ext
2504 EXEEXT=$ac_cv_exeext
2505 ac_exeext=$EXEEXT
2506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2507 /* end confdefs.h. */
2508 #include <stdio.h>
2510 main ()
2512 FILE *f = fopen ("conftest.out", "w");
2513 return ferror (f) || fclose (f) != 0;
2516 return 0;
2518 _ACEOF
2519 ac_clean_files="$ac_clean_files conftest.out"
2520 # Check that the compiler produces executables we can run. If not, either
2521 # the compiler is broken, or we cross compile.
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2523 $as_echo_n "checking whether we are cross compiling... " >&6; }
2524 if test "$cross_compiling" != yes; then
2525 { { ac_try="$ac_link"
2526 case "(($ac_try" in
2527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2528 *) ac_try_echo=$ac_try;;
2529 esac
2530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2531 $as_echo "$ac_try_echo"; } >&5
2532 (eval "$ac_link") 2>&5
2533 ac_status=$?
2534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2535 test $ac_status = 0; }
2536 if { ac_try='./conftest$ac_cv_exeext'
2537 { { case "(($ac_try" in
2538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2539 *) ac_try_echo=$ac_try;;
2540 esac
2541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2542 $as_echo "$ac_try_echo"; } >&5
2543 (eval "$ac_try") 2>&5
2544 ac_status=$?
2545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2546 test $ac_status = 0; }; }; then
2547 cross_compiling=no
2548 else
2549 if test "$cross_compiling" = maybe; then
2550 cross_compiling=yes
2551 else
2552 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2553 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2554 as_fn_error $? "cannot run C compiled programs.
2555 If you meant to cross compile, use \`--host'.
2556 See \`config.log' for more details" "$LINENO" 5; }
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2561 $as_echo "$cross_compiling" >&6; }
2563 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2564 ac_clean_files=$ac_clean_files_save
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2566 $as_echo_n "checking for suffix of object files... " >&6; }
2567 if ${ac_cv_objext+:} false; then :
2568 $as_echo_n "(cached) " >&6
2569 else
2570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2571 /* end confdefs.h. */
2574 main ()
2578 return 0;
2580 _ACEOF
2581 rm -f conftest.o conftest.obj
2582 if { { ac_try="$ac_compile"
2583 case "(($ac_try" in
2584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2585 *) ac_try_echo=$ac_try;;
2586 esac
2587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2588 $as_echo "$ac_try_echo"; } >&5
2589 (eval "$ac_compile") 2>&5
2590 ac_status=$?
2591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2592 test $ac_status = 0; }; then :
2593 for ac_file in conftest.o conftest.obj conftest.*; do
2594 test -f "$ac_file" || continue;
2595 case $ac_file in
2596 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2597 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2598 break;;
2599 esac
2600 done
2601 else
2602 $as_echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.$ac_ext >&5
2605 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2607 as_fn_error $? "cannot compute suffix of object files: cannot compile
2608 See \`config.log' for more details" "$LINENO" 5; }
2610 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2613 $as_echo "$ac_cv_objext" >&6; }
2614 OBJEXT=$ac_cv_objext
2615 ac_objext=$OBJEXT
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2617 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2618 if ${ac_cv_c_compiler_gnu+:} false; then :
2619 $as_echo_n "(cached) " >&6
2620 else
2621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2622 /* end confdefs.h. */
2625 main ()
2627 #ifndef __GNUC__
2628 choke me
2629 #endif
2632 return 0;
2634 _ACEOF
2635 if ac_fn_c_try_compile "$LINENO"; then :
2636 ac_compiler_gnu=yes
2637 else
2638 ac_compiler_gnu=no
2640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2641 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2645 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2646 if test $ac_compiler_gnu = yes; then
2647 GCC=yes
2648 else
2649 GCC=
2651 ac_test_CFLAGS=${CFLAGS+set}
2652 ac_save_CFLAGS=$CFLAGS
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2654 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2655 if ${ac_cv_prog_cc_g+:} false; then :
2656 $as_echo_n "(cached) " >&6
2657 else
2658 ac_save_c_werror_flag=$ac_c_werror_flag
2659 ac_c_werror_flag=yes
2660 ac_cv_prog_cc_g=no
2661 CFLAGS="-g"
2662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2663 /* end confdefs.h. */
2666 main ()
2670 return 0;
2672 _ACEOF
2673 if ac_fn_c_try_compile "$LINENO"; then :
2674 ac_cv_prog_cc_g=yes
2675 else
2676 CFLAGS=""
2677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2678 /* end confdefs.h. */
2681 main ()
2685 return 0;
2687 _ACEOF
2688 if ac_fn_c_try_compile "$LINENO"; then :
2690 else
2691 ac_c_werror_flag=$ac_save_c_werror_flag
2692 CFLAGS="-g"
2693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2694 /* end confdefs.h. */
2697 main ()
2701 return 0;
2703 _ACEOF
2704 if ac_fn_c_try_compile "$LINENO"; then :
2705 ac_cv_prog_cc_g=yes
2707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2712 ac_c_werror_flag=$ac_save_c_werror_flag
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2715 $as_echo "$ac_cv_prog_cc_g" >&6; }
2716 if test "$ac_test_CFLAGS" = set; then
2717 CFLAGS=$ac_save_CFLAGS
2718 elif test $ac_cv_prog_cc_g = yes; then
2719 if test "$GCC" = yes; then
2720 CFLAGS="-g -O2"
2721 else
2722 CFLAGS="-g"
2724 else
2725 if test "$GCC" = yes; then
2726 CFLAGS="-O2"
2727 else
2728 CFLAGS=
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2732 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2733 if ${ac_cv_prog_cc_c89+:} false; then :
2734 $as_echo_n "(cached) " >&6
2735 else
2736 ac_cv_prog_cc_c89=no
2737 ac_save_CC=$CC
2738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2739 /* end confdefs.h. */
2740 #include <stdarg.h>
2741 #include <stdio.h>
2742 struct stat;
2743 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2744 struct buf { int x; };
2745 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2746 static char *e (p, i)
2747 char **p;
2748 int i;
2750 return p[i];
2752 static char *f (char * (*g) (char **, int), char **p, ...)
2754 char *s;
2755 va_list v;
2756 va_start (v,p);
2757 s = g (p, va_arg (v,int));
2758 va_end (v);
2759 return s;
2762 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2763 function prototypes and stuff, but not '\xHH' hex character constants.
2764 These don't provoke an error unfortunately, instead are silently treated
2765 as 'x'. The following induces an error, until -std is added to get
2766 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2767 array size at least. It's necessary to write '\x00'==0 to get something
2768 that's true only with -std. */
2769 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2771 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2772 inside strings and character constants. */
2773 #define FOO(x) 'x'
2774 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2776 int test (int i, double x);
2777 struct s1 {int (*f) (int a);};
2778 struct s2 {int (*f) (double a);};
2779 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2780 int argc;
2781 char **argv;
2783 main ()
2785 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2787 return 0;
2789 _ACEOF
2790 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2791 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2793 CC="$ac_save_CC $ac_arg"
2794 if ac_fn_c_try_compile "$LINENO"; then :
2795 ac_cv_prog_cc_c89=$ac_arg
2797 rm -f core conftest.err conftest.$ac_objext
2798 test "x$ac_cv_prog_cc_c89" != "xno" && break
2799 done
2800 rm -f conftest.$ac_ext
2801 CC=$ac_save_CC
2804 # AC_CACHE_VAL
2805 case "x$ac_cv_prog_cc_c89" in
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2808 $as_echo "none needed" >&6; } ;;
2809 xno)
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2811 $as_echo "unsupported" >&6; } ;;
2813 CC="$CC $ac_cv_prog_cc_c89"
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2815 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2816 esac
2817 if test "x$ac_cv_prog_cc_c89" != xno; then :
2821 ac_ext=c
2822 ac_cpp='$CPP $CPPFLAGS'
2823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl cflags" >&5
2829 $as_echo_n "checking for libcurl cflags... " >&6; }
2830 CURLCFLAGS=`pkg-config libcurl --cflags || curl-config --cflags`
2831 if test "$?" -eq 0 ; then :
2833 else
2834 as_fn_error $? "libcurl was not found" "$LINENO" 5
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURLCFLAGS" >&5
2837 $as_echo "$CURLCFLAGS" >&6; }
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl libs" >&5
2840 $as_echo_n "checking for libcurl libs... " >&6; }
2841 CURLLIBS=`pkg-config libcurl --libs || curl-config --libs`
2842 if test "$?" -eq 0 ; then :
2844 else
2845 as_fn_error $? "libcurl was not found" "$LINENO" 5
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURLLIBS" >&5
2848 $as_echo "$CURLLIBS" >&6; }
2850 ac_aux_dir=
2851 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2852 if test -f "$ac_dir/install-sh"; then
2853 ac_aux_dir=$ac_dir
2854 ac_install_sh="$ac_aux_dir/install-sh -c"
2855 break
2856 elif test -f "$ac_dir/install.sh"; then
2857 ac_aux_dir=$ac_dir
2858 ac_install_sh="$ac_aux_dir/install.sh -c"
2859 break
2860 elif test -f "$ac_dir/shtool"; then
2861 ac_aux_dir=$ac_dir
2862 ac_install_sh="$ac_aux_dir/shtool install -c"
2863 break
2865 done
2866 if test -z "$ac_aux_dir"; then
2867 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2870 # These three variables are undocumented and unsupported,
2871 # and are intended to be withdrawn in a future Autoconf release.
2872 # They can cause serious problems if a builder's source tree is in a directory
2873 # whose full name contains unusual characters.
2874 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2875 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2876 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2879 # Find a good install program. We prefer a C program (faster),
2880 # so one script is as good as another. But avoid the broken or
2881 # incompatible versions:
2882 # SysV /etc/install, /usr/sbin/install
2883 # SunOS /usr/etc/install
2884 # IRIX /sbin/install
2885 # AIX /bin/install
2886 # AmigaOS /C/install, which installs bootblocks on floppy discs
2887 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2888 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2889 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2890 # OS/2's system install, which has a completely different semantic
2891 # ./install, which can be erroneously created by make from ./install.sh.
2892 # Reject install programs that cannot install multiple files.
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2894 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2895 if test -z "$INSTALL"; then
2896 if ${ac_cv_path_install+:} false; then :
2897 $as_echo_n "(cached) " >&6
2898 else
2899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2900 for as_dir in $PATH
2902 IFS=$as_save_IFS
2903 test -z "$as_dir" && as_dir=.
2904 # Account for people who put trailing slashes in PATH elements.
2905 case $as_dir/ in #((
2906 ./ | .// | /[cC]/* | \
2907 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2908 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2909 /usr/ucb/* ) ;;
2911 # OSF1 and SCO ODT 3.0 have their own names for install.
2912 # Don't use installbsd from OSF since it installs stuff as root
2913 # by default.
2914 for ac_prog in ginstall scoinst install; do
2915 for ac_exec_ext in '' $ac_executable_extensions; do
2916 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2917 if test $ac_prog = install &&
2918 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2919 # AIX install. It has an incompatible calling convention.
2921 elif test $ac_prog = install &&
2922 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2923 # program-specific install script used by HP pwplus--don't use.
2925 else
2926 rm -rf conftest.one conftest.two conftest.dir
2927 echo one > conftest.one
2928 echo two > conftest.two
2929 mkdir conftest.dir
2930 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2931 test -s conftest.one && test -s conftest.two &&
2932 test -s conftest.dir/conftest.one &&
2933 test -s conftest.dir/conftest.two
2934 then
2935 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2936 break 3
2940 done
2941 done
2943 esac
2945 done
2946 IFS=$as_save_IFS
2948 rm -rf conftest.one conftest.two conftest.dir
2951 if test "${ac_cv_path_install+set}" = set; then
2952 INSTALL=$ac_cv_path_install
2953 else
2954 # As a last resort, use the slow shell script. Don't cache a
2955 # value for INSTALL within a source directory, because that will
2956 # break other packages using the cache if that directory is
2957 # removed, or if the value is a relative name.
2958 INSTALL=$ac_install_sh
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2962 $as_echo "$INSTALL" >&6; }
2964 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2965 # It thinks the first close brace ends the variable substitution.
2966 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2968 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2970 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2972 # checking for ocamlc
2973 if test -n "$ac_tool_prefix"; then
2974 # Extract the first word of "${ac_tool_prefix}ocamlc", so it can be a program name with args.
2975 set dummy ${ac_tool_prefix}ocamlc; ac_word=$2
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2977 $as_echo_n "checking for $ac_word... " >&6; }
2978 if ${ac_cv_prog_OCAMLC+:} false; then :
2979 $as_echo_n "(cached) " >&6
2980 else
2981 if test -n "$OCAMLC"; then
2982 ac_cv_prog_OCAMLC="$OCAMLC" # Let the user override the test.
2983 else
2984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2985 for as_dir in $PATH
2987 IFS=$as_save_IFS
2988 test -z "$as_dir" && as_dir=.
2989 for ac_exec_ext in '' $ac_executable_extensions; do
2990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2991 ac_cv_prog_OCAMLC="${ac_tool_prefix}ocamlc"
2992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2993 break 2
2995 done
2996 done
2997 IFS=$as_save_IFS
3001 OCAMLC=$ac_cv_prog_OCAMLC
3002 if test -n "$OCAMLC"; then
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLC" >&5
3004 $as_echo "$OCAMLC" >&6; }
3005 else
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3007 $as_echo "no" >&6; }
3012 if test -z "$ac_cv_prog_OCAMLC"; then
3013 ac_ct_OCAMLC=$OCAMLC
3014 # Extract the first word of "ocamlc", so it can be a program name with args.
3015 set dummy ocamlc; ac_word=$2
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3017 $as_echo_n "checking for $ac_word... " >&6; }
3018 if ${ac_cv_prog_ac_ct_OCAMLC+:} false; then :
3019 $as_echo_n "(cached) " >&6
3020 else
3021 if test -n "$ac_ct_OCAMLC"; then
3022 ac_cv_prog_ac_ct_OCAMLC="$ac_ct_OCAMLC" # Let the user override the test.
3023 else
3024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3025 for as_dir in $PATH
3027 IFS=$as_save_IFS
3028 test -z "$as_dir" && as_dir=.
3029 for ac_exec_ext in '' $ac_executable_extensions; do
3030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3031 ac_cv_prog_ac_ct_OCAMLC="ocamlc"
3032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3033 break 2
3035 done
3036 done
3037 IFS=$as_save_IFS
3041 ac_ct_OCAMLC=$ac_cv_prog_ac_ct_OCAMLC
3042 if test -n "$ac_ct_OCAMLC"; then
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLC" >&5
3044 $as_echo "$ac_ct_OCAMLC" >&6; }
3045 else
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3047 $as_echo "no" >&6; }
3050 if test "x$ac_ct_OCAMLC" = x; then
3051 OCAMLC="no"
3052 else
3053 case $cross_compiling:$ac_tool_warned in
3054 yes:)
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3057 ac_tool_warned=yes ;;
3058 esac
3059 OCAMLC=$ac_ct_OCAMLC
3061 else
3062 OCAMLC="$ac_cv_prog_OCAMLC"
3066 if test "$OCAMLC" != "no"; then
3067 OCAMLVERSION=`$OCAMLC -v | sed -n -e 's|.*version* *\(.*\)$|\1|p'`
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml version is $OCAMLVERSION" >&5
3069 $as_echo "OCaml version is $OCAMLVERSION" >&6; }
3070 # If OCAMLLIB is set, use it
3071 if test "$OCAMLLIB" = ""; then
3072 OCAMLLIB=`$OCAMLC -where 2>/dev/null || $OCAMLC -v|tail -1|cut -d ' ' -f 4`
3073 else
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCAMLLIB previously set; preserving it." >&5
3075 $as_echo "OCAMLLIB previously set; preserving it." >&6; }
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml library path is $OCAMLLIB" >&5
3078 $as_echo "OCaml library path is $OCAMLLIB" >&6; }
3083 # checking for ocamlopt
3084 if test -n "$ac_tool_prefix"; then
3085 # Extract the first word of "${ac_tool_prefix}ocamlopt", so it can be a program name with args.
3086 set dummy ${ac_tool_prefix}ocamlopt; ac_word=$2
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3088 $as_echo_n "checking for $ac_word... " >&6; }
3089 if ${ac_cv_prog_OCAMLOPT+:} false; then :
3090 $as_echo_n "(cached) " >&6
3091 else
3092 if test -n "$OCAMLOPT"; then
3093 ac_cv_prog_OCAMLOPT="$OCAMLOPT" # Let the user override the test.
3094 else
3095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3096 for as_dir in $PATH
3098 IFS=$as_save_IFS
3099 test -z "$as_dir" && as_dir=.
3100 for ac_exec_ext in '' $ac_executable_extensions; do
3101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3102 ac_cv_prog_OCAMLOPT="${ac_tool_prefix}ocamlopt"
3103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3104 break 2
3106 done
3107 done
3108 IFS=$as_save_IFS
3112 OCAMLOPT=$ac_cv_prog_OCAMLOPT
3113 if test -n "$OCAMLOPT"; then
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPT" >&5
3115 $as_echo "$OCAMLOPT" >&6; }
3116 else
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3118 $as_echo "no" >&6; }
3123 if test -z "$ac_cv_prog_OCAMLOPT"; then
3124 ac_ct_OCAMLOPT=$OCAMLOPT
3125 # Extract the first word of "ocamlopt", so it can be a program name with args.
3126 set dummy ocamlopt; ac_word=$2
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3128 $as_echo_n "checking for $ac_word... " >&6; }
3129 if ${ac_cv_prog_ac_ct_OCAMLOPT+:} false; then :
3130 $as_echo_n "(cached) " >&6
3131 else
3132 if test -n "$ac_ct_OCAMLOPT"; then
3133 ac_cv_prog_ac_ct_OCAMLOPT="$ac_ct_OCAMLOPT" # Let the user override the test.
3134 else
3135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3136 for as_dir in $PATH
3138 IFS=$as_save_IFS
3139 test -z "$as_dir" && as_dir=.
3140 for ac_exec_ext in '' $ac_executable_extensions; do
3141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3142 ac_cv_prog_ac_ct_OCAMLOPT="ocamlopt"
3143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3144 break 2
3146 done
3147 done
3148 IFS=$as_save_IFS
3152 ac_ct_OCAMLOPT=$ac_cv_prog_ac_ct_OCAMLOPT
3153 if test -n "$ac_ct_OCAMLOPT"; then
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPT" >&5
3155 $as_echo "$ac_ct_OCAMLOPT" >&6; }
3156 else
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3158 $as_echo "no" >&6; }
3161 if test "x$ac_ct_OCAMLOPT" = x; then
3162 OCAMLOPT="no"
3163 else
3164 case $cross_compiling:$ac_tool_warned in
3165 yes:)
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3168 ac_tool_warned=yes ;;
3169 esac
3170 OCAMLOPT=$ac_ct_OCAMLOPT
3172 else
3173 OCAMLOPT="$ac_cv_prog_OCAMLOPT"
3176 OCAMLBEST=byte
3177 if test "$OCAMLOPT" = "no"; then
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find ocamlopt; bytecode compilation only." >&5
3179 $as_echo "$as_me: WARNING: Cannot find ocamlopt; bytecode compilation only." >&2;}
3180 else
3181 TMPVERSION=`$OCAMLOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3182 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlopt discarded." >&5
3184 $as_echo "versions differs from ocamlc; ocamlopt discarded." >&6; }
3185 OCAMLOPT=no
3186 else
3187 OCAMLBEST=opt
3193 # checking for ocamlc.opt
3194 if test -n "$ac_tool_prefix"; then
3195 # Extract the first word of "${ac_tool_prefix}ocamlc.opt", so it can be a program name with args.
3196 set dummy ${ac_tool_prefix}ocamlc.opt; ac_word=$2
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3198 $as_echo_n "checking for $ac_word... " >&6; }
3199 if ${ac_cv_prog_OCAMLCDOTOPT+:} false; then :
3200 $as_echo_n "(cached) " >&6
3201 else
3202 if test -n "$OCAMLCDOTOPT"; then
3203 ac_cv_prog_OCAMLCDOTOPT="$OCAMLCDOTOPT" # Let the user override the test.
3204 else
3205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3206 for as_dir in $PATH
3208 IFS=$as_save_IFS
3209 test -z "$as_dir" && as_dir=.
3210 for ac_exec_ext in '' $ac_executable_extensions; do
3211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3212 ac_cv_prog_OCAMLCDOTOPT="${ac_tool_prefix}ocamlc.opt"
3213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3214 break 2
3216 done
3217 done
3218 IFS=$as_save_IFS
3222 OCAMLCDOTOPT=$ac_cv_prog_OCAMLCDOTOPT
3223 if test -n "$OCAMLCDOTOPT"; then
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLCDOTOPT" >&5
3225 $as_echo "$OCAMLCDOTOPT" >&6; }
3226 else
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3228 $as_echo "no" >&6; }
3233 if test -z "$ac_cv_prog_OCAMLCDOTOPT"; then
3234 ac_ct_OCAMLCDOTOPT=$OCAMLCDOTOPT
3235 # Extract the first word of "ocamlc.opt", so it can be a program name with args.
3236 set dummy ocamlc.opt; ac_word=$2
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3238 $as_echo_n "checking for $ac_word... " >&6; }
3239 if ${ac_cv_prog_ac_ct_OCAMLCDOTOPT+:} false; then :
3240 $as_echo_n "(cached) " >&6
3241 else
3242 if test -n "$ac_ct_OCAMLCDOTOPT"; then
3243 ac_cv_prog_ac_ct_OCAMLCDOTOPT="$ac_ct_OCAMLCDOTOPT" # Let the user override the test.
3244 else
3245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3246 for as_dir in $PATH
3248 IFS=$as_save_IFS
3249 test -z "$as_dir" && as_dir=.
3250 for ac_exec_ext in '' $ac_executable_extensions; do
3251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3252 ac_cv_prog_ac_ct_OCAMLCDOTOPT="ocamlc.opt"
3253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3254 break 2
3256 done
3257 done
3258 IFS=$as_save_IFS
3262 ac_ct_OCAMLCDOTOPT=$ac_cv_prog_ac_ct_OCAMLCDOTOPT
3263 if test -n "$ac_ct_OCAMLCDOTOPT"; then
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLCDOTOPT" >&5
3265 $as_echo "$ac_ct_OCAMLCDOTOPT" >&6; }
3266 else
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3268 $as_echo "no" >&6; }
3271 if test "x$ac_ct_OCAMLCDOTOPT" = x; then
3272 OCAMLCDOTOPT="no"
3273 else
3274 case $cross_compiling:$ac_tool_warned in
3275 yes:)
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3277 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3278 ac_tool_warned=yes ;;
3279 esac
3280 OCAMLCDOTOPT=$ac_ct_OCAMLCDOTOPT
3282 else
3283 OCAMLCDOTOPT="$ac_cv_prog_OCAMLCDOTOPT"
3286 if test "$OCAMLCDOTOPT" != "no"; then
3287 TMPVERSION=`$OCAMLCDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3288 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlc.opt discarded." >&5
3290 $as_echo "versions differs from ocamlc; ocamlc.opt discarded." >&6; }
3291 else
3292 OCAMLC=$OCAMLCDOTOPT
3296 # checking for ocamlopt.opt
3297 if test "$OCAMLOPT" != "no" ; then
3298 if test -n "$ac_tool_prefix"; then
3299 # Extract the first word of "${ac_tool_prefix}ocamlopt.opt", so it can be a program name with args.
3300 set dummy ${ac_tool_prefix}ocamlopt.opt; ac_word=$2
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3302 $as_echo_n "checking for $ac_word... " >&6; }
3303 if ${ac_cv_prog_OCAMLOPTDOTOPT+:} false; then :
3304 $as_echo_n "(cached) " >&6
3305 else
3306 if test -n "$OCAMLOPTDOTOPT"; then
3307 ac_cv_prog_OCAMLOPTDOTOPT="$OCAMLOPTDOTOPT" # Let the user override the test.
3308 else
3309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3310 for as_dir in $PATH
3312 IFS=$as_save_IFS
3313 test -z "$as_dir" && as_dir=.
3314 for ac_exec_ext in '' $ac_executable_extensions; do
3315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3316 ac_cv_prog_OCAMLOPTDOTOPT="${ac_tool_prefix}ocamlopt.opt"
3317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3318 break 2
3320 done
3321 done
3322 IFS=$as_save_IFS
3326 OCAMLOPTDOTOPT=$ac_cv_prog_OCAMLOPTDOTOPT
3327 if test -n "$OCAMLOPTDOTOPT"; then
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPTDOTOPT" >&5
3329 $as_echo "$OCAMLOPTDOTOPT" >&6; }
3330 else
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3332 $as_echo "no" >&6; }
3337 if test -z "$ac_cv_prog_OCAMLOPTDOTOPT"; then
3338 ac_ct_OCAMLOPTDOTOPT=$OCAMLOPTDOTOPT
3339 # Extract the first word of "ocamlopt.opt", so it can be a program name with args.
3340 set dummy ocamlopt.opt; ac_word=$2
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3342 $as_echo_n "checking for $ac_word... " >&6; }
3343 if ${ac_cv_prog_ac_ct_OCAMLOPTDOTOPT+:} false; then :
3344 $as_echo_n "(cached) " >&6
3345 else
3346 if test -n "$ac_ct_OCAMLOPTDOTOPT"; then
3347 ac_cv_prog_ac_ct_OCAMLOPTDOTOPT="$ac_ct_OCAMLOPTDOTOPT" # Let the user override the test.
3348 else
3349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3350 for as_dir in $PATH
3352 IFS=$as_save_IFS
3353 test -z "$as_dir" && as_dir=.
3354 for ac_exec_ext in '' $ac_executable_extensions; do
3355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3356 ac_cv_prog_ac_ct_OCAMLOPTDOTOPT="ocamlopt.opt"
3357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3358 break 2
3360 done
3361 done
3362 IFS=$as_save_IFS
3366 ac_ct_OCAMLOPTDOTOPT=$ac_cv_prog_ac_ct_OCAMLOPTDOTOPT
3367 if test -n "$ac_ct_OCAMLOPTDOTOPT"; then
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPTDOTOPT" >&5
3369 $as_echo "$ac_ct_OCAMLOPTDOTOPT" >&6; }
3370 else
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3372 $as_echo "no" >&6; }
3375 if test "x$ac_ct_OCAMLOPTDOTOPT" = x; then
3376 OCAMLOPTDOTOPT="no"
3377 else
3378 case $cross_compiling:$ac_tool_warned in
3379 yes:)
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3382 ac_tool_warned=yes ;;
3383 esac
3384 OCAMLOPTDOTOPT=$ac_ct_OCAMLOPTDOTOPT
3386 else
3387 OCAMLOPTDOTOPT="$ac_cv_prog_OCAMLOPTDOTOPT"
3390 if test "$OCAMLOPTDOTOPT" != "no"; then
3391 TMPVERSION=`$OCAMLOPTDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3392 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: version differs from ocamlc; ocamlopt.opt discarded." >&5
3394 $as_echo "version differs from ocamlc; ocamlopt.opt discarded." >&6; }
3395 else
3396 OCAMLOPT=$OCAMLOPTDOTOPT
3406 # checking for ocaml toplevel
3407 if test -n "$ac_tool_prefix"; then
3408 # Extract the first word of "${ac_tool_prefix}ocaml", so it can be a program name with args.
3409 set dummy ${ac_tool_prefix}ocaml; ac_word=$2
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3411 $as_echo_n "checking for $ac_word... " >&6; }
3412 if ${ac_cv_prog_OCAML+:} false; then :
3413 $as_echo_n "(cached) " >&6
3414 else
3415 if test -n "$OCAML"; then
3416 ac_cv_prog_OCAML="$OCAML" # Let the user override the test.
3417 else
3418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3419 for as_dir in $PATH
3421 IFS=$as_save_IFS
3422 test -z "$as_dir" && as_dir=.
3423 for ac_exec_ext in '' $ac_executable_extensions; do
3424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3425 ac_cv_prog_OCAML="${ac_tool_prefix}ocaml"
3426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3427 break 2
3429 done
3430 done
3431 IFS=$as_save_IFS
3435 OCAML=$ac_cv_prog_OCAML
3436 if test -n "$OCAML"; then
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAML" >&5
3438 $as_echo "$OCAML" >&6; }
3439 else
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3441 $as_echo "no" >&6; }
3446 if test -z "$ac_cv_prog_OCAML"; then
3447 ac_ct_OCAML=$OCAML
3448 # Extract the first word of "ocaml", so it can be a program name with args.
3449 set dummy ocaml; ac_word=$2
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3451 $as_echo_n "checking for $ac_word... " >&6; }
3452 if ${ac_cv_prog_ac_ct_OCAML+:} false; then :
3453 $as_echo_n "(cached) " >&6
3454 else
3455 if test -n "$ac_ct_OCAML"; then
3456 ac_cv_prog_ac_ct_OCAML="$ac_ct_OCAML" # Let the user override the test.
3457 else
3458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3459 for as_dir in $PATH
3461 IFS=$as_save_IFS
3462 test -z "$as_dir" && as_dir=.
3463 for ac_exec_ext in '' $ac_executable_extensions; do
3464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3465 ac_cv_prog_ac_ct_OCAML="ocaml"
3466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3467 break 2
3469 done
3470 done
3471 IFS=$as_save_IFS
3475 ac_ct_OCAML=$ac_cv_prog_ac_ct_OCAML
3476 if test -n "$ac_ct_OCAML"; then
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAML" >&5
3478 $as_echo "$ac_ct_OCAML" >&6; }
3479 else
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3481 $as_echo "no" >&6; }
3484 if test "x$ac_ct_OCAML" = x; then
3485 OCAML="no"
3486 else
3487 case $cross_compiling:$ac_tool_warned in
3488 yes:)
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3491 ac_tool_warned=yes ;;
3492 esac
3493 OCAML=$ac_ct_OCAML
3495 else
3496 OCAML="$ac_cv_prog_OCAML"
3500 # checking for ocamldep
3501 if test -n "$ac_tool_prefix"; then
3502 # Extract the first word of "${ac_tool_prefix}ocamldep", so it can be a program name with args.
3503 set dummy ${ac_tool_prefix}ocamldep; ac_word=$2
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3505 $as_echo_n "checking for $ac_word... " >&6; }
3506 if ${ac_cv_prog_OCAMLDEP+:} false; then :
3507 $as_echo_n "(cached) " >&6
3508 else
3509 if test -n "$OCAMLDEP"; then
3510 ac_cv_prog_OCAMLDEP="$OCAMLDEP" # Let the user override the test.
3511 else
3512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3513 for as_dir in $PATH
3515 IFS=$as_save_IFS
3516 test -z "$as_dir" && as_dir=.
3517 for ac_exec_ext in '' $ac_executable_extensions; do
3518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3519 ac_cv_prog_OCAMLDEP="${ac_tool_prefix}ocamldep"
3520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3521 break 2
3523 done
3524 done
3525 IFS=$as_save_IFS
3529 OCAMLDEP=$ac_cv_prog_OCAMLDEP
3530 if test -n "$OCAMLDEP"; then
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDEP" >&5
3532 $as_echo "$OCAMLDEP" >&6; }
3533 else
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3535 $as_echo "no" >&6; }
3540 if test -z "$ac_cv_prog_OCAMLDEP"; then
3541 ac_ct_OCAMLDEP=$OCAMLDEP
3542 # Extract the first word of "ocamldep", so it can be a program name with args.
3543 set dummy ocamldep; ac_word=$2
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3545 $as_echo_n "checking for $ac_word... " >&6; }
3546 if ${ac_cv_prog_ac_ct_OCAMLDEP+:} false; then :
3547 $as_echo_n "(cached) " >&6
3548 else
3549 if test -n "$ac_ct_OCAMLDEP"; then
3550 ac_cv_prog_ac_ct_OCAMLDEP="$ac_ct_OCAMLDEP" # Let the user override the test.
3551 else
3552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3553 for as_dir in $PATH
3555 IFS=$as_save_IFS
3556 test -z "$as_dir" && as_dir=.
3557 for ac_exec_ext in '' $ac_executable_extensions; do
3558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3559 ac_cv_prog_ac_ct_OCAMLDEP="ocamldep"
3560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3561 break 2
3563 done
3564 done
3565 IFS=$as_save_IFS
3569 ac_ct_OCAMLDEP=$ac_cv_prog_ac_ct_OCAMLDEP
3570 if test -n "$ac_ct_OCAMLDEP"; then
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDEP" >&5
3572 $as_echo "$ac_ct_OCAMLDEP" >&6; }
3573 else
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3575 $as_echo "no" >&6; }
3578 if test "x$ac_ct_OCAMLDEP" = x; then
3579 OCAMLDEP="no"
3580 else
3581 case $cross_compiling:$ac_tool_warned in
3582 yes:)
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3585 ac_tool_warned=yes ;;
3586 esac
3587 OCAMLDEP=$ac_ct_OCAMLDEP
3589 else
3590 OCAMLDEP="$ac_cv_prog_OCAMLDEP"
3594 # checking for ocamlmktop
3595 if test -n "$ac_tool_prefix"; then
3596 # Extract the first word of "${ac_tool_prefix}ocamlmktop", so it can be a program name with args.
3597 set dummy ${ac_tool_prefix}ocamlmktop; ac_word=$2
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3599 $as_echo_n "checking for $ac_word... " >&6; }
3600 if ${ac_cv_prog_OCAMLMKTOP+:} false; then :
3601 $as_echo_n "(cached) " >&6
3602 else
3603 if test -n "$OCAMLMKTOP"; then
3604 ac_cv_prog_OCAMLMKTOP="$OCAMLMKTOP" # Let the user override the test.
3605 else
3606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3607 for as_dir in $PATH
3609 IFS=$as_save_IFS
3610 test -z "$as_dir" && as_dir=.
3611 for ac_exec_ext in '' $ac_executable_extensions; do
3612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3613 ac_cv_prog_OCAMLMKTOP="${ac_tool_prefix}ocamlmktop"
3614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3615 break 2
3617 done
3618 done
3619 IFS=$as_save_IFS
3623 OCAMLMKTOP=$ac_cv_prog_OCAMLMKTOP
3624 if test -n "$OCAMLMKTOP"; then
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKTOP" >&5
3626 $as_echo "$OCAMLMKTOP" >&6; }
3627 else
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3629 $as_echo "no" >&6; }
3634 if test -z "$ac_cv_prog_OCAMLMKTOP"; then
3635 ac_ct_OCAMLMKTOP=$OCAMLMKTOP
3636 # Extract the first word of "ocamlmktop", so it can be a program name with args.
3637 set dummy ocamlmktop; ac_word=$2
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3639 $as_echo_n "checking for $ac_word... " >&6; }
3640 if ${ac_cv_prog_ac_ct_OCAMLMKTOP+:} false; then :
3641 $as_echo_n "(cached) " >&6
3642 else
3643 if test -n "$ac_ct_OCAMLMKTOP"; then
3644 ac_cv_prog_ac_ct_OCAMLMKTOP="$ac_ct_OCAMLMKTOP" # Let the user override the test.
3645 else
3646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3647 for as_dir in $PATH
3649 IFS=$as_save_IFS
3650 test -z "$as_dir" && as_dir=.
3651 for ac_exec_ext in '' $ac_executable_extensions; do
3652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3653 ac_cv_prog_ac_ct_OCAMLMKTOP="ocamlmktop"
3654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3655 break 2
3657 done
3658 done
3659 IFS=$as_save_IFS
3663 ac_ct_OCAMLMKTOP=$ac_cv_prog_ac_ct_OCAMLMKTOP
3664 if test -n "$ac_ct_OCAMLMKTOP"; then
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKTOP" >&5
3666 $as_echo "$ac_ct_OCAMLMKTOP" >&6; }
3667 else
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3669 $as_echo "no" >&6; }
3672 if test "x$ac_ct_OCAMLMKTOP" = x; then
3673 OCAMLMKTOP="no"
3674 else
3675 case $cross_compiling:$ac_tool_warned in
3676 yes:)
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3678 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3679 ac_tool_warned=yes ;;
3680 esac
3681 OCAMLMKTOP=$ac_ct_OCAMLMKTOP
3683 else
3684 OCAMLMKTOP="$ac_cv_prog_OCAMLMKTOP"
3688 # checking for ocamlmklib
3689 if test -n "$ac_tool_prefix"; then
3690 # Extract the first word of "${ac_tool_prefix}ocamlmklib", so it can be a program name with args.
3691 set dummy ${ac_tool_prefix}ocamlmklib; ac_word=$2
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3693 $as_echo_n "checking for $ac_word... " >&6; }
3694 if ${ac_cv_prog_OCAMLMKLIB+:} false; then :
3695 $as_echo_n "(cached) " >&6
3696 else
3697 if test -n "$OCAMLMKLIB"; then
3698 ac_cv_prog_OCAMLMKLIB="$OCAMLMKLIB" # Let the user override the test.
3699 else
3700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3701 for as_dir in $PATH
3703 IFS=$as_save_IFS
3704 test -z "$as_dir" && as_dir=.
3705 for ac_exec_ext in '' $ac_executable_extensions; do
3706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3707 ac_cv_prog_OCAMLMKLIB="${ac_tool_prefix}ocamlmklib"
3708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3709 break 2
3711 done
3712 done
3713 IFS=$as_save_IFS
3717 OCAMLMKLIB=$ac_cv_prog_OCAMLMKLIB
3718 if test -n "$OCAMLMKLIB"; then
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKLIB" >&5
3720 $as_echo "$OCAMLMKLIB" >&6; }
3721 else
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3723 $as_echo "no" >&6; }
3728 if test -z "$ac_cv_prog_OCAMLMKLIB"; then
3729 ac_ct_OCAMLMKLIB=$OCAMLMKLIB
3730 # Extract the first word of "ocamlmklib", so it can be a program name with args.
3731 set dummy ocamlmklib; ac_word=$2
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3733 $as_echo_n "checking for $ac_word... " >&6; }
3734 if ${ac_cv_prog_ac_ct_OCAMLMKLIB+:} false; then :
3735 $as_echo_n "(cached) " >&6
3736 else
3737 if test -n "$ac_ct_OCAMLMKLIB"; then
3738 ac_cv_prog_ac_ct_OCAMLMKLIB="$ac_ct_OCAMLMKLIB" # Let the user override the test.
3739 else
3740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3741 for as_dir in $PATH
3743 IFS=$as_save_IFS
3744 test -z "$as_dir" && as_dir=.
3745 for ac_exec_ext in '' $ac_executable_extensions; do
3746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3747 ac_cv_prog_ac_ct_OCAMLMKLIB="ocamlmklib"
3748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3749 break 2
3751 done
3752 done
3753 IFS=$as_save_IFS
3757 ac_ct_OCAMLMKLIB=$ac_cv_prog_ac_ct_OCAMLMKLIB
3758 if test -n "$ac_ct_OCAMLMKLIB"; then
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKLIB" >&5
3760 $as_echo "$ac_ct_OCAMLMKLIB" >&6; }
3761 else
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3763 $as_echo "no" >&6; }
3766 if test "x$ac_ct_OCAMLMKLIB" = x; then
3767 OCAMLMKLIB="no"
3768 else
3769 case $cross_compiling:$ac_tool_warned in
3770 yes:)
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3773 ac_tool_warned=yes ;;
3774 esac
3775 OCAMLMKLIB=$ac_ct_OCAMLMKLIB
3777 else
3778 OCAMLMKLIB="$ac_cv_prog_OCAMLMKLIB"
3782 # checking for ocamldoc
3783 if test -n "$ac_tool_prefix"; then
3784 # Extract the first word of "${ac_tool_prefix}ocamldoc", so it can be a program name with args.
3785 set dummy ${ac_tool_prefix}ocamldoc; ac_word=$2
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3787 $as_echo_n "checking for $ac_word... " >&6; }
3788 if ${ac_cv_prog_OCAMLDOC+:} false; then :
3789 $as_echo_n "(cached) " >&6
3790 else
3791 if test -n "$OCAMLDOC"; then
3792 ac_cv_prog_OCAMLDOC="$OCAMLDOC" # Let the user override the test.
3793 else
3794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3795 for as_dir in $PATH
3797 IFS=$as_save_IFS
3798 test -z "$as_dir" && as_dir=.
3799 for ac_exec_ext in '' $ac_executable_extensions; do
3800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3801 ac_cv_prog_OCAMLDOC="${ac_tool_prefix}ocamldoc"
3802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3803 break 2
3805 done
3806 done
3807 IFS=$as_save_IFS
3811 OCAMLDOC=$ac_cv_prog_OCAMLDOC
3812 if test -n "$OCAMLDOC"; then
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDOC" >&5
3814 $as_echo "$OCAMLDOC" >&6; }
3815 else
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3817 $as_echo "no" >&6; }
3822 if test -z "$ac_cv_prog_OCAMLDOC"; then
3823 ac_ct_OCAMLDOC=$OCAMLDOC
3824 # Extract the first word of "ocamldoc", so it can be a program name with args.
3825 set dummy ocamldoc; ac_word=$2
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3827 $as_echo_n "checking for $ac_word... " >&6; }
3828 if ${ac_cv_prog_ac_ct_OCAMLDOC+:} false; then :
3829 $as_echo_n "(cached) " >&6
3830 else
3831 if test -n "$ac_ct_OCAMLDOC"; then
3832 ac_cv_prog_ac_ct_OCAMLDOC="$ac_ct_OCAMLDOC" # Let the user override the test.
3833 else
3834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3835 for as_dir in $PATH
3837 IFS=$as_save_IFS
3838 test -z "$as_dir" && as_dir=.
3839 for ac_exec_ext in '' $ac_executable_extensions; do
3840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3841 ac_cv_prog_ac_ct_OCAMLDOC="ocamldoc"
3842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3843 break 2
3845 done
3846 done
3847 IFS=$as_save_IFS
3851 ac_ct_OCAMLDOC=$ac_cv_prog_ac_ct_OCAMLDOC
3852 if test -n "$ac_ct_OCAMLDOC"; then
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDOC" >&5
3854 $as_echo "$ac_ct_OCAMLDOC" >&6; }
3855 else
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3857 $as_echo "no" >&6; }
3860 if test "x$ac_ct_OCAMLDOC" = x; then
3861 OCAMLDOC="no"
3862 else
3863 case $cross_compiling:$ac_tool_warned in
3864 yes:)
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3866 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3867 ac_tool_warned=yes ;;
3868 esac
3869 OCAMLDOC=$ac_ct_OCAMLDOC
3871 else
3872 OCAMLDOC="$ac_cv_prog_OCAMLDOC"
3876 # checking for ocamlbuild
3877 if test -n "$ac_tool_prefix"; then
3878 # Extract the first word of "${ac_tool_prefix}ocamlbuild", so it can be a program name with args.
3879 set dummy ${ac_tool_prefix}ocamlbuild; ac_word=$2
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3881 $as_echo_n "checking for $ac_word... " >&6; }
3882 if ${ac_cv_prog_OCAMLBUILD+:} false; then :
3883 $as_echo_n "(cached) " >&6
3884 else
3885 if test -n "$OCAMLBUILD"; then
3886 ac_cv_prog_OCAMLBUILD="$OCAMLBUILD" # Let the user override the test.
3887 else
3888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3889 for as_dir in $PATH
3891 IFS=$as_save_IFS
3892 test -z "$as_dir" && as_dir=.
3893 for ac_exec_ext in '' $ac_executable_extensions; do
3894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3895 ac_cv_prog_OCAMLBUILD="${ac_tool_prefix}ocamlbuild"
3896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3897 break 2
3899 done
3900 done
3901 IFS=$as_save_IFS
3905 OCAMLBUILD=$ac_cv_prog_OCAMLBUILD
3906 if test -n "$OCAMLBUILD"; then
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLBUILD" >&5
3908 $as_echo "$OCAMLBUILD" >&6; }
3909 else
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3911 $as_echo "no" >&6; }
3916 if test -z "$ac_cv_prog_OCAMLBUILD"; then
3917 ac_ct_OCAMLBUILD=$OCAMLBUILD
3918 # Extract the first word of "ocamlbuild", so it can be a program name with args.
3919 set dummy ocamlbuild; ac_word=$2
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3921 $as_echo_n "checking for $ac_word... " >&6; }
3922 if ${ac_cv_prog_ac_ct_OCAMLBUILD+:} false; then :
3923 $as_echo_n "(cached) " >&6
3924 else
3925 if test -n "$ac_ct_OCAMLBUILD"; then
3926 ac_cv_prog_ac_ct_OCAMLBUILD="$ac_ct_OCAMLBUILD" # Let the user override the test.
3927 else
3928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3929 for as_dir in $PATH
3931 IFS=$as_save_IFS
3932 test -z "$as_dir" && as_dir=.
3933 for ac_exec_ext in '' $ac_executable_extensions; do
3934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3935 ac_cv_prog_ac_ct_OCAMLBUILD="ocamlbuild"
3936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3937 break 2
3939 done
3940 done
3941 IFS=$as_save_IFS
3945 ac_ct_OCAMLBUILD=$ac_cv_prog_ac_ct_OCAMLBUILD
3946 if test -n "$ac_ct_OCAMLBUILD"; then
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLBUILD" >&5
3948 $as_echo "$ac_ct_OCAMLBUILD" >&6; }
3949 else
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3951 $as_echo "no" >&6; }
3954 if test "x$ac_ct_OCAMLBUILD" = x; then
3955 OCAMLBUILD="no"
3956 else
3957 case $cross_compiling:$ac_tool_warned in
3958 yes:)
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3961 ac_tool_warned=yes ;;
3962 esac
3963 OCAMLBUILD=$ac_ct_OCAMLBUILD
3965 else
3966 OCAMLBUILD="$ac_cv_prog_OCAMLBUILD"
3971 # checking for ocamlfind
3972 if test -n "$ac_tool_prefix"; then
3973 # Extract the first word of "${ac_tool_prefix}ocamlfind", so it can be a program name with args.
3974 set dummy ${ac_tool_prefix}ocamlfind; ac_word=$2
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3976 $as_echo_n "checking for $ac_word... " >&6; }
3977 if ${ac_cv_prog_OCAMLFIND+:} false; then :
3978 $as_echo_n "(cached) " >&6
3979 else
3980 if test -n "$OCAMLFIND"; then
3981 ac_cv_prog_OCAMLFIND="$OCAMLFIND" # Let the user override the test.
3982 else
3983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3984 for as_dir in $PATH
3986 IFS=$as_save_IFS
3987 test -z "$as_dir" && as_dir=.
3988 for ac_exec_ext in '' $ac_executable_extensions; do
3989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3990 ac_cv_prog_OCAMLFIND="${ac_tool_prefix}ocamlfind"
3991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3992 break 2
3994 done
3995 done
3996 IFS=$as_save_IFS
4000 OCAMLFIND=$ac_cv_prog_OCAMLFIND
4001 if test -n "$OCAMLFIND"; then
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLFIND" >&5
4003 $as_echo "$OCAMLFIND" >&6; }
4004 else
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4006 $as_echo "no" >&6; }
4011 if test -z "$ac_cv_prog_OCAMLFIND"; then
4012 ac_ct_OCAMLFIND=$OCAMLFIND
4013 # Extract the first word of "ocamlfind", so it can be a program name with args.
4014 set dummy ocamlfind; ac_word=$2
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4016 $as_echo_n "checking for $ac_word... " >&6; }
4017 if ${ac_cv_prog_ac_ct_OCAMLFIND+:} false; then :
4018 $as_echo_n "(cached) " >&6
4019 else
4020 if test -n "$ac_ct_OCAMLFIND"; then
4021 ac_cv_prog_ac_ct_OCAMLFIND="$ac_ct_OCAMLFIND" # Let the user override the test.
4022 else
4023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4024 for as_dir in $PATH
4026 IFS=$as_save_IFS
4027 test -z "$as_dir" && as_dir=.
4028 for ac_exec_ext in '' $ac_executable_extensions; do
4029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4030 ac_cv_prog_ac_ct_OCAMLFIND="ocamlfind"
4031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4032 break 2
4034 done
4035 done
4036 IFS=$as_save_IFS
4040 ac_ct_OCAMLFIND=$ac_cv_prog_ac_ct_OCAMLFIND
4041 if test -n "$ac_ct_OCAMLFIND"; then
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLFIND" >&5
4043 $as_echo "$ac_ct_OCAMLFIND" >&6; }
4044 else
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4046 $as_echo "no" >&6; }
4049 if test "x$ac_ct_OCAMLFIND" = x; then
4050 OCAMLFIND="no"
4051 else
4052 case $cross_compiling:$ac_tool_warned in
4053 yes:)
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4055 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4056 ac_tool_warned=yes ;;
4057 esac
4058 OCAMLFIND=$ac_ct_OCAMLFIND
4060 else
4061 OCAMLFIND="$ac_cv_prog_OCAMLFIND"
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package lwt" >&5
4069 $as_echo_n "checking for OCaml findlib package lwt... " >&6; }
4071 unset found
4072 unset pkg
4073 found=no
4074 for pkg in lwt ; do
4075 if $OCAMLFIND query $pkg >/dev/null 2>/dev/null; then
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
4077 $as_echo "found" >&6; }
4078 OCAML_PKG_lwt=$pkg
4079 found=yes
4080 break
4082 done
4083 if test "$found" = "no" ; then
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
4085 $as_echo "not found" >&6; }
4086 OCAML_PKG_lwt=no
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package camlp4" >&5
4093 $as_echo_n "checking for OCaml findlib package camlp4... " >&6; }
4095 unset found
4096 unset pkg
4097 found=no
4098 for pkg in camlp4 ; do
4099 if $OCAMLFIND query $pkg >/dev/null 2>/dev/null; then
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
4101 $as_echo "found" >&6; }
4102 OCAML_PKG_camlp4=$pkg
4103 found=yes
4104 break
4106 done
4107 if test "$found" = "no" ; then
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
4109 $as_echo "not found" >&6; }
4110 OCAML_PKG_camlp4=no
4116 INSTALLDIR=$OCAMLLIB/curl
4118 if test "x$prefix" = xNONE; then
4119 $as_echo_n "checking for prefix by " >&6
4120 # Extract the first word of "ocamlc", so it can be a program name with args.
4121 set dummy ocamlc; ac_word=$2
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4123 $as_echo_n "checking for $ac_word... " >&6; }
4124 if ${ac_cv_path_ac_prefix_program+:} false; then :
4125 $as_echo_n "(cached) " >&6
4126 else
4127 case $ac_prefix_program in
4128 [\\/]* | ?:[\\/]*)
4129 ac_cv_path_ac_prefix_program="$ac_prefix_program" # Let the user override the test with a path.
4132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4133 for as_dir in $PATH
4135 IFS=$as_save_IFS
4136 test -z "$as_dir" && as_dir=.
4137 for ac_exec_ext in '' $ac_executable_extensions; do
4138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4139 ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
4140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4141 break 2
4143 done
4144 done
4145 IFS=$as_save_IFS
4148 esac
4150 ac_prefix_program=$ac_cv_path_ac_prefix_program
4151 if test -n "$ac_prefix_program"; then
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prefix_program" >&5
4153 $as_echo "$ac_prefix_program" >&6; }
4154 else
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4156 $as_echo "no" >&6; }
4160 if test -n "$ac_prefix_program"; then
4161 prefix=`$as_dirname -- "$ac_prefix_program" ||
4162 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4163 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
4164 X"$ac_prefix_program" : 'X\(//\)$' \| \
4165 X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
4166 $as_echo X"$ac_prefix_program" |
4167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4168 s//\1/
4171 /^X\(\/\/\)[^/].*/{
4172 s//\1/
4175 /^X\(\/\/\)$/{
4176 s//\1/
4179 /^X\(\/\).*/{
4180 s//\1/
4183 s/.*/./; q'`
4184 prefix=`$as_dirname -- "$prefix" ||
4185 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4186 X"$prefix" : 'X\(//\)[^/]' \| \
4187 X"$prefix" : 'X\(//\)$' \| \
4188 X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
4189 $as_echo X"$prefix" |
4190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4191 s//\1/
4194 /^X\(\/\/\)[^/].*/{
4195 s//\1/
4198 /^X\(\/\/\)$/{
4199 s//\1/
4202 /^X\(\/\).*/{
4203 s//\1/
4206 s/.*/./; q'`
4218 if test "$OCAMLFIND" == "no"; then :
4219 $OCAMLC -I +compiler-libs ocamlcommon.cma print_ext.ml -o print_ext
4220 else
4221 $OCAMLFIND c -linkpkg -package compiler-libs.common print_ext.ml -o print_ext
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bin-annot support" >&5
4225 $as_echo_n "checking for bin-annot support... " >&6; }
4226 if test "$OCAMLVERSION" \> "4"; then :
4227 OCAML_HAS_BIN_ANNOT=yes
4228 else
4229 OCAML_HAS_BIN_ANNOT=no
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAML_HAS_BIN_ANNOT" >&5
4232 $as_echo "$OCAML_HAS_BIN_ANNOT" >&6; }
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext_dll" >&5
4237 $as_echo_n "checking for ext_dll... " >&6; }
4238 EXT_DLL=`./print_ext dll || $OCAMLC -config | fgrep ext_dll | sed -e "s/.*: //"`
4239 if test "$?" -eq 0 ; then :
4241 else
4242 as_fn_error $? "failed" "$LINENO" 5
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXT_DLL" >&5
4245 $as_echo "$EXT_DLL" >&6; }
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext_lib" >&5
4248 $as_echo_n "checking for ext_lib... " >&6; }
4249 EXT_LIB=`./print_ext lib || $OCAMLC -config | fgrep ext_lib | sed -e "s/.*: //"`
4250 if test "$?" -eq 0 ; then :
4252 else
4253 as_fn_error $? "failed" "$LINENO" 5
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXT_LIB" >&5
4256 $as_echo "$EXT_LIB" >&6; }
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext_obj" >&5
4259 $as_echo_n "checking for ext_obj... " >&6; }
4260 EXT_OBJ=`./print_ext obj || $OCAMLC -config | fgrep ext_obj | sed -e "s/.*: //"`
4261 if test "$?" -eq 0 ; then :
4263 else
4264 as_fn_error $? "failed" "$LINENO" 5
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXT_OBJ" >&5
4267 $as_echo "$EXT_OBJ" >&6; }
4273 # set CFLAGS for tests below
4274 CFLAGS="$CFLAGS $CURLCFLAGS"
4277 ac_ext=c
4278 ac_cpp='$CPP $CPPFLAGS'
4279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4283 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4284 # On Suns, sometimes $CPP names a directory.
4285 if test -n "$CPP" && test -d "$CPP"; then
4286 CPP=
4288 if test -z "$CPP"; then
4289 if ${ac_cv_prog_CPP+:} false; then :
4290 $as_echo_n "(cached) " >&6
4291 else
4292 # Double quotes because CPP needs to be expanded
4293 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4295 ac_preproc_ok=false
4296 for ac_c_preproc_warn_flag in '' yes
4298 # Use a header file that comes with gcc, so configuring glibc
4299 # with a fresh cross-compiler works.
4300 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4301 # <limits.h> exists even on freestanding compilers.
4302 # On the NeXT, cc -E runs the code through the compiler's parser,
4303 # not just through cpp. "Syntax error" is here to catch this case.
4304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4305 /* end confdefs.h. */
4306 #ifdef __STDC__
4307 # include <limits.h>
4308 #else
4309 # include <assert.h>
4310 #endif
4311 Syntax error
4312 _ACEOF
4313 if ac_fn_c_try_cpp "$LINENO"; then :
4315 else
4316 # Broken: fails on valid input.
4317 continue
4319 rm -f conftest.err conftest.i conftest.$ac_ext
4321 # OK, works on sane cases. Now check whether nonexistent headers
4322 # can be detected and how.
4323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4324 /* end confdefs.h. */
4325 #include <ac_nonexistent.h>
4326 _ACEOF
4327 if ac_fn_c_try_cpp "$LINENO"; then :
4328 # Broken: success on invalid input.
4329 continue
4330 else
4331 # Passes both tests.
4332 ac_preproc_ok=:
4333 break
4335 rm -f conftest.err conftest.i conftest.$ac_ext
4337 done
4338 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4339 rm -f conftest.i conftest.err conftest.$ac_ext
4340 if $ac_preproc_ok; then :
4341 break
4344 done
4345 ac_cv_prog_CPP=$CPP
4348 CPP=$ac_cv_prog_CPP
4349 else
4350 ac_cv_prog_CPP=$CPP
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4353 $as_echo "$CPP" >&6; }
4354 ac_preproc_ok=false
4355 for ac_c_preproc_warn_flag in '' yes
4357 # Use a header file that comes with gcc, so configuring glibc
4358 # with a fresh cross-compiler works.
4359 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4360 # <limits.h> exists even on freestanding compilers.
4361 # On the NeXT, cc -E runs the code through the compiler's parser,
4362 # not just through cpp. "Syntax error" is here to catch this case.
4363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4364 /* end confdefs.h. */
4365 #ifdef __STDC__
4366 # include <limits.h>
4367 #else
4368 # include <assert.h>
4369 #endif
4370 Syntax error
4371 _ACEOF
4372 if ac_fn_c_try_cpp "$LINENO"; then :
4374 else
4375 # Broken: fails on valid input.
4376 continue
4378 rm -f conftest.err conftest.i conftest.$ac_ext
4380 # OK, works on sane cases. Now check whether nonexistent headers
4381 # can be detected and how.
4382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4383 /* end confdefs.h. */
4384 #include <ac_nonexistent.h>
4385 _ACEOF
4386 if ac_fn_c_try_cpp "$LINENO"; then :
4387 # Broken: success on invalid input.
4388 continue
4389 else
4390 # Passes both tests.
4391 ac_preproc_ok=:
4392 break
4394 rm -f conftest.err conftest.i conftest.$ac_ext
4396 done
4397 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4398 rm -f conftest.i conftest.err conftest.$ac_ext
4399 if $ac_preproc_ok; then :
4401 else
4402 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4403 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4404 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4405 See \`config.log' for more details" "$LINENO" 5; }
4408 ac_ext=c
4409 ac_cpp='$CPP $CPPFLAGS'
4410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4416 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4417 if ${ac_cv_path_GREP+:} false; then :
4418 $as_echo_n "(cached) " >&6
4419 else
4420 if test -z "$GREP"; then
4421 ac_path_GREP_found=false
4422 # Loop through the user's path and test for each of PROGNAME-LIST
4423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4424 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4426 IFS=$as_save_IFS
4427 test -z "$as_dir" && as_dir=.
4428 for ac_prog in grep ggrep; do
4429 for ac_exec_ext in '' $ac_executable_extensions; do
4430 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4431 as_fn_executable_p "$ac_path_GREP" || continue
4432 # Check for GNU ac_path_GREP and select it if it is found.
4433 # Check for GNU $ac_path_GREP
4434 case `"$ac_path_GREP" --version 2>&1` in
4435 *GNU*)
4436 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4438 ac_count=0
4439 $as_echo_n 0123456789 >"conftest.in"
4440 while :
4442 cat "conftest.in" "conftest.in" >"conftest.tmp"
4443 mv "conftest.tmp" "conftest.in"
4444 cp "conftest.in" "conftest.nl"
4445 $as_echo 'GREP' >> "conftest.nl"
4446 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4447 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4448 as_fn_arith $ac_count + 1 && ac_count=$as_val
4449 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4450 # Best one so far, save it but keep looking for a better one
4451 ac_cv_path_GREP="$ac_path_GREP"
4452 ac_path_GREP_max=$ac_count
4454 # 10*(2^10) chars as input seems more than enough
4455 test $ac_count -gt 10 && break
4456 done
4457 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4458 esac
4460 $ac_path_GREP_found && break 3
4461 done
4462 done
4463 done
4464 IFS=$as_save_IFS
4465 if test -z "$ac_cv_path_GREP"; then
4466 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4468 else
4469 ac_cv_path_GREP=$GREP
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4474 $as_echo "$ac_cv_path_GREP" >&6; }
4475 GREP="$ac_cv_path_GREP"
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4479 $as_echo_n "checking for egrep... " >&6; }
4480 if ${ac_cv_path_EGREP+:} false; then :
4481 $as_echo_n "(cached) " >&6
4482 else
4483 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4484 then ac_cv_path_EGREP="$GREP -E"
4485 else
4486 if test -z "$EGREP"; then
4487 ac_path_EGREP_found=false
4488 # Loop through the user's path and test for each of PROGNAME-LIST
4489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4492 IFS=$as_save_IFS
4493 test -z "$as_dir" && as_dir=.
4494 for ac_prog in egrep; do
4495 for ac_exec_ext in '' $ac_executable_extensions; do
4496 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4497 as_fn_executable_p "$ac_path_EGREP" || continue
4498 # Check for GNU ac_path_EGREP and select it if it is found.
4499 # Check for GNU $ac_path_EGREP
4500 case `"$ac_path_EGREP" --version 2>&1` in
4501 *GNU*)
4502 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4504 ac_count=0
4505 $as_echo_n 0123456789 >"conftest.in"
4506 while :
4508 cat "conftest.in" "conftest.in" >"conftest.tmp"
4509 mv "conftest.tmp" "conftest.in"
4510 cp "conftest.in" "conftest.nl"
4511 $as_echo 'EGREP' >> "conftest.nl"
4512 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4513 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4514 as_fn_arith $ac_count + 1 && ac_count=$as_val
4515 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4516 # Best one so far, save it but keep looking for a better one
4517 ac_cv_path_EGREP="$ac_path_EGREP"
4518 ac_path_EGREP_max=$ac_count
4520 # 10*(2^10) chars as input seems more than enough
4521 test $ac_count -gt 10 && break
4522 done
4523 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4524 esac
4526 $ac_path_EGREP_found && break 3
4527 done
4528 done
4529 done
4530 IFS=$as_save_IFS
4531 if test -z "$ac_cv_path_EGREP"; then
4532 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4534 else
4535 ac_cv_path_EGREP=$EGREP
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4541 $as_echo "$ac_cv_path_EGREP" >&6; }
4542 EGREP="$ac_cv_path_EGREP"
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4546 $as_echo_n "checking for ANSI C header files... " >&6; }
4547 if ${ac_cv_header_stdc+:} false; then :
4548 $as_echo_n "(cached) " >&6
4549 else
4550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4551 /* end confdefs.h. */
4552 #include <stdlib.h>
4553 #include <stdarg.h>
4554 #include <string.h>
4555 #include <float.h>
4558 main ()
4562 return 0;
4564 _ACEOF
4565 if ac_fn_c_try_compile "$LINENO"; then :
4566 ac_cv_header_stdc=yes
4567 else
4568 ac_cv_header_stdc=no
4570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4572 if test $ac_cv_header_stdc = yes; then
4573 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4575 /* end confdefs.h. */
4576 #include <string.h>
4578 _ACEOF
4579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4580 $EGREP "memchr" >/dev/null 2>&1; then :
4582 else
4583 ac_cv_header_stdc=no
4585 rm -f conftest*
4589 if test $ac_cv_header_stdc = yes; then
4590 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4592 /* end confdefs.h. */
4593 #include <stdlib.h>
4595 _ACEOF
4596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4597 $EGREP "free" >/dev/null 2>&1; then :
4599 else
4600 ac_cv_header_stdc=no
4602 rm -f conftest*
4606 if test $ac_cv_header_stdc = yes; then
4607 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4608 if test "$cross_compiling" = yes; then :
4610 else
4611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4612 /* end confdefs.h. */
4613 #include <ctype.h>
4614 #include <stdlib.h>
4615 #if ((' ' & 0x0FF) == 0x020)
4616 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4617 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4618 #else
4619 # define ISLOWER(c) \
4620 (('a' <= (c) && (c) <= 'i') \
4621 || ('j' <= (c) && (c) <= 'r') \
4622 || ('s' <= (c) && (c) <= 'z'))
4623 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4624 #endif
4626 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4628 main ()
4630 int i;
4631 for (i = 0; i < 256; i++)
4632 if (XOR (islower (i), ISLOWER (i))
4633 || toupper (i) != TOUPPER (i))
4634 return 2;
4635 return 0;
4637 _ACEOF
4638 if ac_fn_c_try_run "$LINENO"; then :
4640 else
4641 ac_cv_header_stdc=no
4643 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4644 conftest.$ac_objext conftest.beam conftest.$ac_ext
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4650 $as_echo "$ac_cv_header_stdc" >&6; }
4651 if test $ac_cv_header_stdc = yes; then
4653 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4657 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4658 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4659 inttypes.h stdint.h unistd.h
4660 do :
4661 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4662 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4664 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4665 cat >>confdefs.h <<_ACEOF
4666 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4667 _ACEOF
4671 done
4674 for ac_header in curl/curl.h
4675 do :
4676 ac_fn_c_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
4677 if test "x$ac_cv_header_curl_curl_h" = xyes; then :
4678 cat >>confdefs.h <<_ACEOF
4679 #define HAVE_CURL_CURL_H 1
4680 _ACEOF
4682 else
4683 as_fn_error $? "libcurl header file missing" "$LINENO" 5
4686 done
4689 ac_fn_c_check_decl "$LINENO" "CURLMOPT_TIMERFUNCTION" "ac_cv_have_decl_CURLMOPT_TIMERFUNCTION" "
4690 #include \"curl/curl.h\"
4693 if test "x$ac_cv_have_decl_CURLMOPT_TIMERFUNCTION" = xyes; then :
4694 ac_have_decl=1
4695 else
4696 ac_have_decl=0
4699 cat >>confdefs.h <<_ACEOF
4700 #define HAVE_DECL_CURLMOPT_TIMERFUNCTION $ac_have_decl
4701 _ACEOF
4702 if test $ac_have_decl = 1; then :
4704 else
4705 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4707 ac_fn_c_check_decl "$LINENO" "CURLMOPT_TIMERDATA" "ac_cv_have_decl_CURLMOPT_TIMERDATA" "
4708 #include \"curl/curl.h\"
4711 if test "x$ac_cv_have_decl_CURLMOPT_TIMERDATA" = xyes; then :
4712 ac_have_decl=1
4713 else
4714 ac_have_decl=0
4717 cat >>confdefs.h <<_ACEOF
4718 #define HAVE_DECL_CURLMOPT_TIMERDATA $ac_have_decl
4719 _ACEOF
4720 if test $ac_have_decl = 1; then :
4722 else
4723 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4725 ac_fn_c_check_decl "$LINENO" "CURLMOPT_SOCKETFUNCTION" "ac_cv_have_decl_CURLMOPT_SOCKETFUNCTION" "
4726 #include \"curl/curl.h\"
4729 if test "x$ac_cv_have_decl_CURLMOPT_SOCKETFUNCTION" = xyes; then :
4730 ac_have_decl=1
4731 else
4732 ac_have_decl=0
4735 cat >>confdefs.h <<_ACEOF
4736 #define HAVE_DECL_CURLMOPT_SOCKETFUNCTION $ac_have_decl
4737 _ACEOF
4738 if test $ac_have_decl = 1; then :
4740 else
4741 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4743 ac_fn_c_check_decl "$LINENO" "CURLMOPT_SOCKETDATA" "ac_cv_have_decl_CURLMOPT_SOCKETDATA" "
4744 #include \"curl/curl.h\"
4747 if test "x$ac_cv_have_decl_CURLMOPT_SOCKETDATA" = xyes; then :
4748 ac_have_decl=1
4749 else
4750 ac_have_decl=0
4753 cat >>confdefs.h <<_ACEOF
4754 #define HAVE_DECL_CURLMOPT_SOCKETDATA $ac_have_decl
4755 _ACEOF
4756 if test $ac_have_decl = 1; then :
4758 else
4759 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4763 ac_fn_c_check_decl "$LINENO" "CURLOPT_FILE" "ac_cv_have_decl_CURLOPT_FILE" "
4764 #include \"curl/curl.h\"
4767 if test "x$ac_cv_have_decl_CURLOPT_FILE" = xyes; then :
4768 ac_have_decl=1
4769 else
4770 ac_have_decl=0
4773 cat >>confdefs.h <<_ACEOF
4774 #define HAVE_DECL_CURLOPT_FILE $ac_have_decl
4775 _ACEOF
4776 ac_fn_c_check_decl "$LINENO" "CURLOPT_URL" "ac_cv_have_decl_CURLOPT_URL" "
4777 #include \"curl/curl.h\"
4780 if test "x$ac_cv_have_decl_CURLOPT_URL" = xyes; then :
4781 ac_have_decl=1
4782 else
4783 ac_have_decl=0
4786 cat >>confdefs.h <<_ACEOF
4787 #define HAVE_DECL_CURLOPT_URL $ac_have_decl
4788 _ACEOF
4789 ac_fn_c_check_decl "$LINENO" "CURLOPT_PORT" "ac_cv_have_decl_CURLOPT_PORT" "
4790 #include \"curl/curl.h\"
4793 if test "x$ac_cv_have_decl_CURLOPT_PORT" = xyes; then :
4794 ac_have_decl=1
4795 else
4796 ac_have_decl=0
4799 cat >>confdefs.h <<_ACEOF
4800 #define HAVE_DECL_CURLOPT_PORT $ac_have_decl
4801 _ACEOF
4802 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXY" "ac_cv_have_decl_CURLOPT_PROXY" "
4803 #include \"curl/curl.h\"
4806 if test "x$ac_cv_have_decl_CURLOPT_PROXY" = xyes; then :
4807 ac_have_decl=1
4808 else
4809 ac_have_decl=0
4812 cat >>confdefs.h <<_ACEOF
4813 #define HAVE_DECL_CURLOPT_PROXY $ac_have_decl
4814 _ACEOF
4815 ac_fn_c_check_decl "$LINENO" "CURLOPT_USERPWD" "ac_cv_have_decl_CURLOPT_USERPWD" "
4816 #include \"curl/curl.h\"
4819 if test "x$ac_cv_have_decl_CURLOPT_USERPWD" = xyes; then :
4820 ac_have_decl=1
4821 else
4822 ac_have_decl=0
4825 cat >>confdefs.h <<_ACEOF
4826 #define HAVE_DECL_CURLOPT_USERPWD $ac_have_decl
4827 _ACEOF
4828 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYUSERPWD" "ac_cv_have_decl_CURLOPT_PROXYUSERPWD" "
4829 #include \"curl/curl.h\"
4832 if test "x$ac_cv_have_decl_CURLOPT_PROXYUSERPWD" = xyes; then :
4833 ac_have_decl=1
4834 else
4835 ac_have_decl=0
4838 cat >>confdefs.h <<_ACEOF
4839 #define HAVE_DECL_CURLOPT_PROXYUSERPWD $ac_have_decl
4840 _ACEOF
4841 ac_fn_c_check_decl "$LINENO" "CURLOPT_RANGE" "ac_cv_have_decl_CURLOPT_RANGE" "
4842 #include \"curl/curl.h\"
4845 if test "x$ac_cv_have_decl_CURLOPT_RANGE" = xyes; then :
4846 ac_have_decl=1
4847 else
4848 ac_have_decl=0
4851 cat >>confdefs.h <<_ACEOF
4852 #define HAVE_DECL_CURLOPT_RANGE $ac_have_decl
4853 _ACEOF
4854 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILE" "ac_cv_have_decl_CURLOPT_INFILE" "
4855 #include \"curl/curl.h\"
4858 if test "x$ac_cv_have_decl_CURLOPT_INFILE" = xyes; then :
4859 ac_have_decl=1
4860 else
4861 ac_have_decl=0
4864 cat >>confdefs.h <<_ACEOF
4865 #define HAVE_DECL_CURLOPT_INFILE $ac_have_decl
4866 _ACEOF
4867 ac_fn_c_check_decl "$LINENO" "CURLOPT_ERRORBUFFER" "ac_cv_have_decl_CURLOPT_ERRORBUFFER" "
4868 #include \"curl/curl.h\"
4871 if test "x$ac_cv_have_decl_CURLOPT_ERRORBUFFER" = xyes; then :
4872 ac_have_decl=1
4873 else
4874 ac_have_decl=0
4877 cat >>confdefs.h <<_ACEOF
4878 #define HAVE_DECL_CURLOPT_ERRORBUFFER $ac_have_decl
4879 _ACEOF
4880 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEFUNCTION" "ac_cv_have_decl_CURLOPT_WRITEFUNCTION" "
4881 #include \"curl/curl.h\"
4884 if test "x$ac_cv_have_decl_CURLOPT_WRITEFUNCTION" = xyes; then :
4885 ac_have_decl=1
4886 else
4887 ac_have_decl=0
4890 cat >>confdefs.h <<_ACEOF
4891 #define HAVE_DECL_CURLOPT_WRITEFUNCTION $ac_have_decl
4892 _ACEOF
4893 ac_fn_c_check_decl "$LINENO" "CURLOPT_READFUNCTION" "ac_cv_have_decl_CURLOPT_READFUNCTION" "
4894 #include \"curl/curl.h\"
4897 if test "x$ac_cv_have_decl_CURLOPT_READFUNCTION" = xyes; then :
4898 ac_have_decl=1
4899 else
4900 ac_have_decl=0
4903 cat >>confdefs.h <<_ACEOF
4904 #define HAVE_DECL_CURLOPT_READFUNCTION $ac_have_decl
4905 _ACEOF
4906 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEOUT" "ac_cv_have_decl_CURLOPT_TIMEOUT" "
4907 #include \"curl/curl.h\"
4910 if test "x$ac_cv_have_decl_CURLOPT_TIMEOUT" = xyes; then :
4911 ac_have_decl=1
4912 else
4913 ac_have_decl=0
4916 cat >>confdefs.h <<_ACEOF
4917 #define HAVE_DECL_CURLOPT_TIMEOUT $ac_have_decl
4918 _ACEOF
4919 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILESIZE" "ac_cv_have_decl_CURLOPT_INFILESIZE" "
4920 #include \"curl/curl.h\"
4923 if test "x$ac_cv_have_decl_CURLOPT_INFILESIZE" = xyes; then :
4924 ac_have_decl=1
4925 else
4926 ac_have_decl=0
4929 cat >>confdefs.h <<_ACEOF
4930 #define HAVE_DECL_CURLOPT_INFILESIZE $ac_have_decl
4931 _ACEOF
4932 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDS" "ac_cv_have_decl_CURLOPT_POSTFIELDS" "
4933 #include \"curl/curl.h\"
4936 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDS" = xyes; then :
4937 ac_have_decl=1
4938 else
4939 ac_have_decl=0
4942 cat >>confdefs.h <<_ACEOF
4943 #define HAVE_DECL_CURLOPT_POSTFIELDS $ac_have_decl
4944 _ACEOF
4945 ac_fn_c_check_decl "$LINENO" "CURLOPT_REFERER" "ac_cv_have_decl_CURLOPT_REFERER" "
4946 #include \"curl/curl.h\"
4949 if test "x$ac_cv_have_decl_CURLOPT_REFERER" = xyes; then :
4950 ac_have_decl=1
4951 else
4952 ac_have_decl=0
4955 cat >>confdefs.h <<_ACEOF
4956 #define HAVE_DECL_CURLOPT_REFERER $ac_have_decl
4957 _ACEOF
4958 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPPORT" "ac_cv_have_decl_CURLOPT_FTPPORT" "
4959 #include \"curl/curl.h\"
4962 if test "x$ac_cv_have_decl_CURLOPT_FTPPORT" = xyes; then :
4963 ac_have_decl=1
4964 else
4965 ac_have_decl=0
4968 cat >>confdefs.h <<_ACEOF
4969 #define HAVE_DECL_CURLOPT_FTPPORT $ac_have_decl
4970 _ACEOF
4971 ac_fn_c_check_decl "$LINENO" "CURLOPT_USERAGENT" "ac_cv_have_decl_CURLOPT_USERAGENT" "
4972 #include \"curl/curl.h\"
4975 if test "x$ac_cv_have_decl_CURLOPT_USERAGENT" = xyes; then :
4976 ac_have_decl=1
4977 else
4978 ac_have_decl=0
4981 cat >>confdefs.h <<_ACEOF
4982 #define HAVE_DECL_CURLOPT_USERAGENT $ac_have_decl
4983 _ACEOF
4984 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOW_SPEED_LIMIT" "ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" "
4985 #include \"curl/curl.h\"
4988 if test "x$ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" = xyes; then :
4989 ac_have_decl=1
4990 else
4991 ac_have_decl=0
4994 cat >>confdefs.h <<_ACEOF
4995 #define HAVE_DECL_CURLOPT_LOW_SPEED_LIMIT $ac_have_decl
4996 _ACEOF
4997 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOW_SPEED_TIME" "ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" "
4998 #include \"curl/curl.h\"
5001 if test "x$ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" = xyes; then :
5002 ac_have_decl=1
5003 else
5004 ac_have_decl=0
5007 cat >>confdefs.h <<_ACEOF
5008 #define HAVE_DECL_CURLOPT_LOW_SPEED_TIME $ac_have_decl
5009 _ACEOF
5010 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESUME_FROM" "ac_cv_have_decl_CURLOPT_RESUME_FROM" "
5011 #include \"curl/curl.h\"
5014 if test "x$ac_cv_have_decl_CURLOPT_RESUME_FROM" = xyes; then :
5015 ac_have_decl=1
5016 else
5017 ac_have_decl=0
5020 cat >>confdefs.h <<_ACEOF
5021 #define HAVE_DECL_CURLOPT_RESUME_FROM $ac_have_decl
5022 _ACEOF
5023 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIE" "ac_cv_have_decl_CURLOPT_COOKIE" "
5024 #include \"curl/curl.h\"
5027 if test "x$ac_cv_have_decl_CURLOPT_COOKIE" = xyes; then :
5028 ac_have_decl=1
5029 else
5030 ac_have_decl=0
5033 cat >>confdefs.h <<_ACEOF
5034 #define HAVE_DECL_CURLOPT_COOKIE $ac_have_decl
5035 _ACEOF
5036 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPHEADER" "ac_cv_have_decl_CURLOPT_HTTPHEADER" "
5037 #include \"curl/curl.h\"
5040 if test "x$ac_cv_have_decl_CURLOPT_HTTPHEADER" = xyes; then :
5041 ac_have_decl=1
5042 else
5043 ac_have_decl=0
5046 cat >>confdefs.h <<_ACEOF
5047 #define HAVE_DECL_CURLOPT_HTTPHEADER $ac_have_decl
5048 _ACEOF
5049 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPPOST" "ac_cv_have_decl_CURLOPT_HTTPPOST" "
5050 #include \"curl/curl.h\"
5053 if test "x$ac_cv_have_decl_CURLOPT_HTTPPOST" = xyes; then :
5054 ac_have_decl=1
5055 else
5056 ac_have_decl=0
5059 cat >>confdefs.h <<_ACEOF
5060 #define HAVE_DECL_CURLOPT_HTTPPOST $ac_have_decl
5061 _ACEOF
5062 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERT" "ac_cv_have_decl_CURLOPT_SSLCERT" "
5063 #include \"curl/curl.h\"
5066 if test "x$ac_cv_have_decl_CURLOPT_SSLCERT" = xyes; then :
5067 ac_have_decl=1
5068 else
5069 ac_have_decl=0
5072 cat >>confdefs.h <<_ACEOF
5073 #define HAVE_DECL_CURLOPT_SSLCERT $ac_have_decl
5074 _ACEOF
5075 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERTPASSWD" "ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" "
5076 #include \"curl/curl.h\"
5079 if test "x$ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" = xyes; then :
5080 ac_have_decl=1
5081 else
5082 ac_have_decl=0
5085 cat >>confdefs.h <<_ACEOF
5086 #define HAVE_DECL_CURLOPT_SSLCERTPASSWD $ac_have_decl
5087 _ACEOF
5088 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEYPASSWD" "ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" "
5089 #include \"curl/curl.h\"
5092 if test "x$ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" = xyes; then :
5093 ac_have_decl=1
5094 else
5095 ac_have_decl=0
5098 cat >>confdefs.h <<_ACEOF
5099 #define HAVE_DECL_CURLOPT_SSLKEYPASSWD $ac_have_decl
5100 _ACEOF
5101 ac_fn_c_check_decl "$LINENO" "CURLOPT_CRLF" "ac_cv_have_decl_CURLOPT_CRLF" "
5102 #include \"curl/curl.h\"
5105 if test "x$ac_cv_have_decl_CURLOPT_CRLF" = xyes; then :
5106 ac_have_decl=1
5107 else
5108 ac_have_decl=0
5111 cat >>confdefs.h <<_ACEOF
5112 #define HAVE_DECL_CURLOPT_CRLF $ac_have_decl
5113 _ACEOF
5114 ac_fn_c_check_decl "$LINENO" "CURLOPT_QUOTE" "ac_cv_have_decl_CURLOPT_QUOTE" "
5115 #include \"curl/curl.h\"
5118 if test "x$ac_cv_have_decl_CURLOPT_QUOTE" = xyes; then :
5119 ac_have_decl=1
5120 else
5121 ac_have_decl=0
5124 cat >>confdefs.h <<_ACEOF
5125 #define HAVE_DECL_CURLOPT_QUOTE $ac_have_decl
5126 _ACEOF
5127 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEHEADER" "ac_cv_have_decl_CURLOPT_WRITEHEADER" "
5128 #include \"curl/curl.h\"
5131 if test "x$ac_cv_have_decl_CURLOPT_WRITEHEADER" = xyes; then :
5132 ac_have_decl=1
5133 else
5134 ac_have_decl=0
5137 cat >>confdefs.h <<_ACEOF
5138 #define HAVE_DECL_CURLOPT_WRITEHEADER $ac_have_decl
5139 _ACEOF
5140 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIEFILE" "ac_cv_have_decl_CURLOPT_COOKIEFILE" "
5141 #include \"curl/curl.h\"
5144 if test "x$ac_cv_have_decl_CURLOPT_COOKIEFILE" = xyes; then :
5145 ac_have_decl=1
5146 else
5147 ac_have_decl=0
5150 cat >>confdefs.h <<_ACEOF
5151 #define HAVE_DECL_CURLOPT_COOKIEFILE $ac_have_decl
5152 _ACEOF
5153 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLVERSION" "ac_cv_have_decl_CURLOPT_SSLVERSION" "
5154 #include \"curl/curl.h\"
5157 if test "x$ac_cv_have_decl_CURLOPT_SSLVERSION" = xyes; then :
5158 ac_have_decl=1
5159 else
5160 ac_have_decl=0
5163 cat >>confdefs.h <<_ACEOF
5164 #define HAVE_DECL_CURLOPT_SSLVERSION $ac_have_decl
5165 _ACEOF
5166 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMECONDITION" "ac_cv_have_decl_CURLOPT_TIMECONDITION" "
5167 #include \"curl/curl.h\"
5170 if test "x$ac_cv_have_decl_CURLOPT_TIMECONDITION" = xyes; then :
5171 ac_have_decl=1
5172 else
5173 ac_have_decl=0
5176 cat >>confdefs.h <<_ACEOF
5177 #define HAVE_DECL_CURLOPT_TIMECONDITION $ac_have_decl
5178 _ACEOF
5179 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEVALUE" "ac_cv_have_decl_CURLOPT_TIMEVALUE" "
5180 #include \"curl/curl.h\"
5183 if test "x$ac_cv_have_decl_CURLOPT_TIMEVALUE" = xyes; then :
5184 ac_have_decl=1
5185 else
5186 ac_have_decl=0
5189 cat >>confdefs.h <<_ACEOF
5190 #define HAVE_DECL_CURLOPT_TIMEVALUE $ac_have_decl
5191 _ACEOF
5192 ac_fn_c_check_decl "$LINENO" "CURLOPT_CUSTOMREQUEST" "ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" "
5193 #include \"curl/curl.h\"
5196 if test "x$ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" = xyes; then :
5197 ac_have_decl=1
5198 else
5199 ac_have_decl=0
5202 cat >>confdefs.h <<_ACEOF
5203 #define HAVE_DECL_CURLOPT_CUSTOMREQUEST $ac_have_decl
5204 _ACEOF
5205 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTQUOTE" "ac_cv_have_decl_CURLOPT_POSTQUOTE" "
5206 #include \"curl/curl.h\"
5209 if test "x$ac_cv_have_decl_CURLOPT_POSTQUOTE" = xyes; then :
5210 ac_have_decl=1
5211 else
5212 ac_have_decl=0
5215 cat >>confdefs.h <<_ACEOF
5216 #define HAVE_DECL_CURLOPT_POSTQUOTE $ac_have_decl
5217 _ACEOF
5218 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEINFO" "ac_cv_have_decl_CURLOPT_WRITEINFO" "
5219 #include \"curl/curl.h\"
5222 if test "x$ac_cv_have_decl_CURLOPT_WRITEINFO" = xyes; then :
5223 ac_have_decl=1
5224 else
5225 ac_have_decl=0
5228 cat >>confdefs.h <<_ACEOF
5229 #define HAVE_DECL_CURLOPT_WRITEINFO $ac_have_decl
5230 _ACEOF
5231 ac_fn_c_check_decl "$LINENO" "CURLOPT_VERBOSE" "ac_cv_have_decl_CURLOPT_VERBOSE" "
5232 #include \"curl/curl.h\"
5235 if test "x$ac_cv_have_decl_CURLOPT_VERBOSE" = xyes; then :
5236 ac_have_decl=1
5237 else
5238 ac_have_decl=0
5241 cat >>confdefs.h <<_ACEOF
5242 #define HAVE_DECL_CURLOPT_VERBOSE $ac_have_decl
5243 _ACEOF
5244 ac_fn_c_check_decl "$LINENO" "CURLOPT_HEADER" "ac_cv_have_decl_CURLOPT_HEADER" "
5245 #include \"curl/curl.h\"
5248 if test "x$ac_cv_have_decl_CURLOPT_HEADER" = xyes; then :
5249 ac_have_decl=1
5250 else
5251 ac_have_decl=0
5254 cat >>confdefs.h <<_ACEOF
5255 #define HAVE_DECL_CURLOPT_HEADER $ac_have_decl
5256 _ACEOF
5257 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOPROGRESS" "ac_cv_have_decl_CURLOPT_NOPROGRESS" "
5258 #include \"curl/curl.h\"
5261 if test "x$ac_cv_have_decl_CURLOPT_NOPROGRESS" = xyes; then :
5262 ac_have_decl=1
5263 else
5264 ac_have_decl=0
5267 cat >>confdefs.h <<_ACEOF
5268 #define HAVE_DECL_CURLOPT_NOPROGRESS $ac_have_decl
5269 _ACEOF
5270 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOBODY" "ac_cv_have_decl_CURLOPT_NOBODY" "
5271 #include \"curl/curl.h\"
5274 if test "x$ac_cv_have_decl_CURLOPT_NOBODY" = xyes; then :
5275 ac_have_decl=1
5276 else
5277 ac_have_decl=0
5280 cat >>confdefs.h <<_ACEOF
5281 #define HAVE_DECL_CURLOPT_NOBODY $ac_have_decl
5282 _ACEOF
5283 ac_fn_c_check_decl "$LINENO" "CURLOPT_FAILONERROR" "ac_cv_have_decl_CURLOPT_FAILONERROR" "
5284 #include \"curl/curl.h\"
5287 if test "x$ac_cv_have_decl_CURLOPT_FAILONERROR" = xyes; then :
5288 ac_have_decl=1
5289 else
5290 ac_have_decl=0
5293 cat >>confdefs.h <<_ACEOF
5294 #define HAVE_DECL_CURLOPT_FAILONERROR $ac_have_decl
5295 _ACEOF
5296 ac_fn_c_check_decl "$LINENO" "CURLOPT_UPLOAD" "ac_cv_have_decl_CURLOPT_UPLOAD" "
5297 #include \"curl/curl.h\"
5300 if test "x$ac_cv_have_decl_CURLOPT_UPLOAD" = xyes; then :
5301 ac_have_decl=1
5302 else
5303 ac_have_decl=0
5306 cat >>confdefs.h <<_ACEOF
5307 #define HAVE_DECL_CURLOPT_UPLOAD $ac_have_decl
5308 _ACEOF
5309 ac_fn_c_check_decl "$LINENO" "CURLOPT_POST" "ac_cv_have_decl_CURLOPT_POST" "
5310 #include \"curl/curl.h\"
5313 if test "x$ac_cv_have_decl_CURLOPT_POST" = xyes; then :
5314 ac_have_decl=1
5315 else
5316 ac_have_decl=0
5319 cat >>confdefs.h <<_ACEOF
5320 #define HAVE_DECL_CURLOPT_POST $ac_have_decl
5321 _ACEOF
5322 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPLISTONLY" "ac_cv_have_decl_CURLOPT_FTPLISTONLY" "
5323 #include \"curl/curl.h\"
5326 if test "x$ac_cv_have_decl_CURLOPT_FTPLISTONLY" = xyes; then :
5327 ac_have_decl=1
5328 else
5329 ac_have_decl=0
5332 cat >>confdefs.h <<_ACEOF
5333 #define HAVE_DECL_CURLOPT_FTPLISTONLY $ac_have_decl
5334 _ACEOF
5335 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPAPPEND" "ac_cv_have_decl_CURLOPT_FTPAPPEND" "
5336 #include \"curl/curl.h\"
5339 if test "x$ac_cv_have_decl_CURLOPT_FTPAPPEND" = xyes; then :
5340 ac_have_decl=1
5341 else
5342 ac_have_decl=0
5345 cat >>confdefs.h <<_ACEOF
5346 #define HAVE_DECL_CURLOPT_FTPAPPEND $ac_have_decl
5347 _ACEOF
5348 ac_fn_c_check_decl "$LINENO" "CURLOPT_NETRC" "ac_cv_have_decl_CURLOPT_NETRC" "
5349 #include \"curl/curl.h\"
5352 if test "x$ac_cv_have_decl_CURLOPT_NETRC" = xyes; then :
5353 ac_have_decl=1
5354 else
5355 ac_have_decl=0
5358 cat >>confdefs.h <<_ACEOF
5359 #define HAVE_DECL_CURLOPT_NETRC $ac_have_decl
5360 _ACEOF
5361 ac_fn_c_check_decl "$LINENO" "CURLOPT_FOLLOWLOCATION" "ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" "
5362 #include \"curl/curl.h\"
5365 if test "x$ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" = xyes; then :
5366 ac_have_decl=1
5367 else
5368 ac_have_decl=0
5371 cat >>confdefs.h <<_ACEOF
5372 #define HAVE_DECL_CURLOPT_FOLLOWLOCATION $ac_have_decl
5373 _ACEOF
5374 ac_fn_c_check_decl "$LINENO" "CURLOPT_TRANSFERTEXT" "ac_cv_have_decl_CURLOPT_TRANSFERTEXT" "
5375 #include \"curl/curl.h\"
5378 if test "x$ac_cv_have_decl_CURLOPT_TRANSFERTEXT" = xyes; then :
5379 ac_have_decl=1
5380 else
5381 ac_have_decl=0
5384 cat >>confdefs.h <<_ACEOF
5385 #define HAVE_DECL_CURLOPT_TRANSFERTEXT $ac_have_decl
5386 _ACEOF
5387 ac_fn_c_check_decl "$LINENO" "CURLOPT_PUT" "ac_cv_have_decl_CURLOPT_PUT" "
5388 #include \"curl/curl.h\"
5391 if test "x$ac_cv_have_decl_CURLOPT_PUT" = xyes; then :
5392 ac_have_decl=1
5393 else
5394 ac_have_decl=0
5397 cat >>confdefs.h <<_ACEOF
5398 #define HAVE_DECL_CURLOPT_PUT $ac_have_decl
5399 _ACEOF
5400 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROGRESSFUNCTION" "ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" "
5401 #include \"curl/curl.h\"
5404 if test "x$ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" = xyes; then :
5405 ac_have_decl=1
5406 else
5407 ac_have_decl=0
5410 cat >>confdefs.h <<_ACEOF
5411 #define HAVE_DECL_CURLOPT_PROGRESSFUNCTION $ac_have_decl
5412 _ACEOF
5413 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROGRESSDATA" "ac_cv_have_decl_CURLOPT_PROGRESSDATA" "
5414 #include \"curl/curl.h\"
5417 if test "x$ac_cv_have_decl_CURLOPT_PROGRESSDATA" = xyes; then :
5418 ac_have_decl=1
5419 else
5420 ac_have_decl=0
5423 cat >>confdefs.h <<_ACEOF
5424 #define HAVE_DECL_CURLOPT_PROGRESSDATA $ac_have_decl
5425 _ACEOF
5426 ac_fn_c_check_decl "$LINENO" "CURLOPT_AUTOREFERER" "ac_cv_have_decl_CURLOPT_AUTOREFERER" "
5427 #include \"curl/curl.h\"
5430 if test "x$ac_cv_have_decl_CURLOPT_AUTOREFERER" = xyes; then :
5431 ac_have_decl=1
5432 else
5433 ac_have_decl=0
5436 cat >>confdefs.h <<_ACEOF
5437 #define HAVE_DECL_CURLOPT_AUTOREFERER $ac_have_decl
5438 _ACEOF
5439 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYPORT" "ac_cv_have_decl_CURLOPT_PROXYPORT" "
5440 #include \"curl/curl.h\"
5443 if test "x$ac_cv_have_decl_CURLOPT_PROXYPORT" = xyes; then :
5444 ac_have_decl=1
5445 else
5446 ac_have_decl=0
5449 cat >>confdefs.h <<_ACEOF
5450 #define HAVE_DECL_CURLOPT_PROXYPORT $ac_have_decl
5451 _ACEOF
5452 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDSIZE" "ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" "
5453 #include \"curl/curl.h\"
5456 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" = xyes; then :
5457 ac_have_decl=1
5458 else
5459 ac_have_decl=0
5462 cat >>confdefs.h <<_ACEOF
5463 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE $ac_have_decl
5464 _ACEOF
5465 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPPROXYTUNNEL" "ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" "
5466 #include \"curl/curl.h\"
5469 if test "x$ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" = xyes; then :
5470 ac_have_decl=1
5471 else
5472 ac_have_decl=0
5475 cat >>confdefs.h <<_ACEOF
5476 #define HAVE_DECL_CURLOPT_HTTPPROXYTUNNEL $ac_have_decl
5477 _ACEOF
5478 ac_fn_c_check_decl "$LINENO" "CURLOPT_INTERFACE" "ac_cv_have_decl_CURLOPT_INTERFACE" "
5479 #include \"curl/curl.h\"
5482 if test "x$ac_cv_have_decl_CURLOPT_INTERFACE" = xyes; then :
5483 ac_have_decl=1
5484 else
5485 ac_have_decl=0
5488 cat >>confdefs.h <<_ACEOF
5489 #define HAVE_DECL_CURLOPT_INTERFACE $ac_have_decl
5490 _ACEOF
5491 ac_fn_c_check_decl "$LINENO" "CURLOPT_KRB4LEVEL" "ac_cv_have_decl_CURLOPT_KRB4LEVEL" "
5492 #include \"curl/curl.h\"
5495 if test "x$ac_cv_have_decl_CURLOPT_KRB4LEVEL" = xyes; then :
5496 ac_have_decl=1
5497 else
5498 ac_have_decl=0
5501 cat >>confdefs.h <<_ACEOF
5502 #define HAVE_DECL_CURLOPT_KRB4LEVEL $ac_have_decl
5503 _ACEOF
5504 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_VERIFYPEER" "ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" "
5505 #include \"curl/curl.h\"
5508 if test "x$ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" = xyes; then :
5509 ac_have_decl=1
5510 else
5511 ac_have_decl=0
5514 cat >>confdefs.h <<_ACEOF
5515 #define HAVE_DECL_CURLOPT_SSL_VERIFYPEER $ac_have_decl
5516 _ACEOF
5517 ac_fn_c_check_decl "$LINENO" "CURLOPT_CAINFO" "ac_cv_have_decl_CURLOPT_CAINFO" "
5518 #include \"curl/curl.h\"
5521 if test "x$ac_cv_have_decl_CURLOPT_CAINFO" = xyes; then :
5522 ac_have_decl=1
5523 else
5524 ac_have_decl=0
5527 cat >>confdefs.h <<_ACEOF
5528 #define HAVE_DECL_CURLOPT_CAINFO $ac_have_decl
5529 _ACEOF
5530 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXREDIRS" "ac_cv_have_decl_CURLOPT_MAXREDIRS" "
5531 #include \"curl/curl.h\"
5534 if test "x$ac_cv_have_decl_CURLOPT_MAXREDIRS" = xyes; then :
5535 ac_have_decl=1
5536 else
5537 ac_have_decl=0
5540 cat >>confdefs.h <<_ACEOF
5541 #define HAVE_DECL_CURLOPT_MAXREDIRS $ac_have_decl
5542 _ACEOF
5543 ac_fn_c_check_decl "$LINENO" "CURLOPT_FILETIME" "ac_cv_have_decl_CURLOPT_FILETIME" "
5544 #include \"curl/curl.h\"
5547 if test "x$ac_cv_have_decl_CURLOPT_FILETIME" = xyes; then :
5548 ac_have_decl=1
5549 else
5550 ac_have_decl=0
5553 cat >>confdefs.h <<_ACEOF
5554 #define HAVE_DECL_CURLOPT_FILETIME $ac_have_decl
5555 _ACEOF
5556 ac_fn_c_check_decl "$LINENO" "CURLOPT_TELNETOPTIONS" "ac_cv_have_decl_CURLOPT_TELNETOPTIONS" "
5557 #include \"curl/curl.h\"
5560 if test "x$ac_cv_have_decl_CURLOPT_TELNETOPTIONS" = xyes; then :
5561 ac_have_decl=1
5562 else
5563 ac_have_decl=0
5566 cat >>confdefs.h <<_ACEOF
5567 #define HAVE_DECL_CURLOPT_TELNETOPTIONS $ac_have_decl
5568 _ACEOF
5569 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXCONNECTS" "ac_cv_have_decl_CURLOPT_MAXCONNECTS" "
5570 #include \"curl/curl.h\"
5573 if test "x$ac_cv_have_decl_CURLOPT_MAXCONNECTS" = xyes; then :
5574 ac_have_decl=1
5575 else
5576 ac_have_decl=0
5579 cat >>confdefs.h <<_ACEOF
5580 #define HAVE_DECL_CURLOPT_MAXCONNECTS $ac_have_decl
5581 _ACEOF
5582 ac_fn_c_check_decl "$LINENO" "CURLOPT_CLOSEPOLICY" "ac_cv_have_decl_CURLOPT_CLOSEPOLICY" "
5583 #include \"curl/curl.h\"
5586 if test "x$ac_cv_have_decl_CURLOPT_CLOSEPOLICY" = xyes; then :
5587 ac_have_decl=1
5588 else
5589 ac_have_decl=0
5592 cat >>confdefs.h <<_ACEOF
5593 #define HAVE_DECL_CURLOPT_CLOSEPOLICY $ac_have_decl
5594 _ACEOF
5595 ac_fn_c_check_decl "$LINENO" "CURLOPT_FRESH_CONNECT" "ac_cv_have_decl_CURLOPT_FRESH_CONNECT" "
5596 #include \"curl/curl.h\"
5599 if test "x$ac_cv_have_decl_CURLOPT_FRESH_CONNECT" = xyes; then :
5600 ac_have_decl=1
5601 else
5602 ac_have_decl=0
5605 cat >>confdefs.h <<_ACEOF
5606 #define HAVE_DECL_CURLOPT_FRESH_CONNECT $ac_have_decl
5607 _ACEOF
5608 ac_fn_c_check_decl "$LINENO" "CURLOPT_FORBID_REUSE" "ac_cv_have_decl_CURLOPT_FORBID_REUSE" "
5609 #include \"curl/curl.h\"
5612 if test "x$ac_cv_have_decl_CURLOPT_FORBID_REUSE" = xyes; then :
5613 ac_have_decl=1
5614 else
5615 ac_have_decl=0
5618 cat >>confdefs.h <<_ACEOF
5619 #define HAVE_DECL_CURLOPT_FORBID_REUSE $ac_have_decl
5620 _ACEOF
5621 ac_fn_c_check_decl "$LINENO" "CURLOPT_RANDOM_FILE" "ac_cv_have_decl_CURLOPT_RANDOM_FILE" "
5622 #include \"curl/curl.h\"
5625 if test "x$ac_cv_have_decl_CURLOPT_RANDOM_FILE" = xyes; then :
5626 ac_have_decl=1
5627 else
5628 ac_have_decl=0
5631 cat >>confdefs.h <<_ACEOF
5632 #define HAVE_DECL_CURLOPT_RANDOM_FILE $ac_have_decl
5633 _ACEOF
5634 ac_fn_c_check_decl "$LINENO" "CURLOPT_EGDSOCKET" "ac_cv_have_decl_CURLOPT_EGDSOCKET" "
5635 #include \"curl/curl.h\"
5638 if test "x$ac_cv_have_decl_CURLOPT_EGDSOCKET" = xyes; then :
5639 ac_have_decl=1
5640 else
5641 ac_have_decl=0
5644 cat >>confdefs.h <<_ACEOF
5645 #define HAVE_DECL_CURLOPT_EGDSOCKET $ac_have_decl
5646 _ACEOF
5647 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECTTIMEOUT" "ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" "
5648 #include \"curl/curl.h\"
5651 if test "x$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" = xyes; then :
5652 ac_have_decl=1
5653 else
5654 ac_have_decl=0
5657 cat >>confdefs.h <<_ACEOF
5658 #define HAVE_DECL_CURLOPT_CONNECTTIMEOUT $ac_have_decl
5659 _ACEOF
5660 ac_fn_c_check_decl "$LINENO" "CURLOPT_HEADERFUNCTION" "ac_cv_have_decl_CURLOPT_HEADERFUNCTION" "
5661 #include \"curl/curl.h\"
5664 if test "x$ac_cv_have_decl_CURLOPT_HEADERFUNCTION" = xyes; then :
5665 ac_have_decl=1
5666 else
5667 ac_have_decl=0
5670 cat >>confdefs.h <<_ACEOF
5671 #define HAVE_DECL_CURLOPT_HEADERFUNCTION $ac_have_decl
5672 _ACEOF
5673 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPGET" "ac_cv_have_decl_CURLOPT_HTTPGET" "
5674 #include \"curl/curl.h\"
5677 if test "x$ac_cv_have_decl_CURLOPT_HTTPGET" = xyes; then :
5678 ac_have_decl=1
5679 else
5680 ac_have_decl=0
5683 cat >>confdefs.h <<_ACEOF
5684 #define HAVE_DECL_CURLOPT_HTTPGET $ac_have_decl
5685 _ACEOF
5686 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_VERIFYHOST" "ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" "
5687 #include \"curl/curl.h\"
5690 if test "x$ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" = xyes; then :
5691 ac_have_decl=1
5692 else
5693 ac_have_decl=0
5696 cat >>confdefs.h <<_ACEOF
5697 #define HAVE_DECL_CURLOPT_SSL_VERIFYHOST $ac_have_decl
5698 _ACEOF
5699 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIEJAR" "ac_cv_have_decl_CURLOPT_COOKIEJAR" "
5700 #include \"curl/curl.h\"
5703 if test "x$ac_cv_have_decl_CURLOPT_COOKIEJAR" = xyes; then :
5704 ac_have_decl=1
5705 else
5706 ac_have_decl=0
5709 cat >>confdefs.h <<_ACEOF
5710 #define HAVE_DECL_CURLOPT_COOKIEJAR $ac_have_decl
5711 _ACEOF
5712 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_CIPHER_LIST" "ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" "
5713 #include \"curl/curl.h\"
5716 if test "x$ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" = 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_CIPHER_LIST $ac_have_decl
5724 _ACEOF
5725 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_VERSION" "ac_cv_have_decl_CURLOPT_HTTP_VERSION" "
5726 #include \"curl/curl.h\"
5729 if test "x$ac_cv_have_decl_CURLOPT_HTTP_VERSION" = xyes; then :
5730 ac_have_decl=1
5731 else
5732 ac_have_decl=0
5735 cat >>confdefs.h <<_ACEOF
5736 #define HAVE_DECL_CURLOPT_HTTP_VERSION $ac_have_decl
5737 _ACEOF
5738 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_USE_EPSV" "ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" "
5739 #include \"curl/curl.h\"
5742 if test "x$ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" = xyes; then :
5743 ac_have_decl=1
5744 else
5745 ac_have_decl=0
5748 cat >>confdefs.h <<_ACEOF
5749 #define HAVE_DECL_CURLOPT_FTP_USE_EPSV $ac_have_decl
5750 _ACEOF
5751 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERTTYPE" "ac_cv_have_decl_CURLOPT_SSLCERTTYPE" "
5752 #include \"curl/curl.h\"
5755 if test "x$ac_cv_have_decl_CURLOPT_SSLCERTTYPE" = xyes; then :
5756 ac_have_decl=1
5757 else
5758 ac_have_decl=0
5761 cat >>confdefs.h <<_ACEOF
5762 #define HAVE_DECL_CURLOPT_SSLCERTTYPE $ac_have_decl
5763 _ACEOF
5764 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEY" "ac_cv_have_decl_CURLOPT_SSLKEY" "
5765 #include \"curl/curl.h\"
5768 if test "x$ac_cv_have_decl_CURLOPT_SSLKEY" = xyes; then :
5769 ac_have_decl=1
5770 else
5771 ac_have_decl=0
5774 cat >>confdefs.h <<_ACEOF
5775 #define HAVE_DECL_CURLOPT_SSLKEY $ac_have_decl
5776 _ACEOF
5777 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEYTYPE" "ac_cv_have_decl_CURLOPT_SSLKEYTYPE" "
5778 #include \"curl/curl.h\"
5781 if test "x$ac_cv_have_decl_CURLOPT_SSLKEYTYPE" = xyes; then :
5782 ac_have_decl=1
5783 else
5784 ac_have_decl=0
5787 cat >>confdefs.h <<_ACEOF
5788 #define HAVE_DECL_CURLOPT_SSLKEYTYPE $ac_have_decl
5789 _ACEOF
5790 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLENGINE" "ac_cv_have_decl_CURLOPT_SSLENGINE" "
5791 #include \"curl/curl.h\"
5794 if test "x$ac_cv_have_decl_CURLOPT_SSLENGINE" = xyes; then :
5795 ac_have_decl=1
5796 else
5797 ac_have_decl=0
5800 cat >>confdefs.h <<_ACEOF
5801 #define HAVE_DECL_CURLOPT_SSLENGINE $ac_have_decl
5802 _ACEOF
5803 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLENGINE_DEFAULT" "ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" "
5804 #include \"curl/curl.h\"
5807 if test "x$ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" = xyes; then :
5808 ac_have_decl=1
5809 else
5810 ac_have_decl=0
5813 cat >>confdefs.h <<_ACEOF
5814 #define HAVE_DECL_CURLOPT_SSLENGINE_DEFAULT $ac_have_decl
5815 _ACEOF
5816 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_USE_GLOBAL_CACHE" "ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" "
5817 #include \"curl/curl.h\"
5820 if test "x$ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" = xyes; then :
5821 ac_have_decl=1
5822 else
5823 ac_have_decl=0
5826 cat >>confdefs.h <<_ACEOF
5827 #define HAVE_DECL_CURLOPT_DNS_USE_GLOBAL_CACHE $ac_have_decl
5828 _ACEOF
5829 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_CACHE_TIMEOUT" "ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" "
5830 #include \"curl/curl.h\"
5833 if test "x$ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" = xyes; then :
5834 ac_have_decl=1
5835 else
5836 ac_have_decl=0
5839 cat >>confdefs.h <<_ACEOF
5840 #define HAVE_DECL_CURLOPT_DNS_CACHE_TIMEOUT $ac_have_decl
5841 _ACEOF
5842 ac_fn_c_check_decl "$LINENO" "CURLOPT_PREQUOTE" "ac_cv_have_decl_CURLOPT_PREQUOTE" "
5843 #include \"curl/curl.h\"
5846 if test "x$ac_cv_have_decl_CURLOPT_PREQUOTE" = xyes; then :
5847 ac_have_decl=1
5848 else
5849 ac_have_decl=0
5852 cat >>confdefs.h <<_ACEOF
5853 #define HAVE_DECL_CURLOPT_PREQUOTE $ac_have_decl
5854 _ACEOF
5855 ac_fn_c_check_decl "$LINENO" "CURLOPT_DEBUGFUNCTION" "ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" "
5856 #include \"curl/curl.h\"
5859 if test "x$ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" = xyes; then :
5860 ac_have_decl=1
5861 else
5862 ac_have_decl=0
5865 cat >>confdefs.h <<_ACEOF
5866 #define HAVE_DECL_CURLOPT_DEBUGFUNCTION $ac_have_decl
5867 _ACEOF
5868 ac_fn_c_check_decl "$LINENO" "CURLOPT_DEBUGDATA" "ac_cv_have_decl_CURLOPT_DEBUGDATA" "
5869 #include \"curl/curl.h\"
5872 if test "x$ac_cv_have_decl_CURLOPT_DEBUGDATA" = xyes; then :
5873 ac_have_decl=1
5874 else
5875 ac_have_decl=0
5878 cat >>confdefs.h <<_ACEOF
5879 #define HAVE_DECL_CURLOPT_DEBUGDATA $ac_have_decl
5880 _ACEOF
5881 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIESESSION" "ac_cv_have_decl_CURLOPT_COOKIESESSION" "
5882 #include \"curl/curl.h\"
5885 if test "x$ac_cv_have_decl_CURLOPT_COOKIESESSION" = xyes; then :
5886 ac_have_decl=1
5887 else
5888 ac_have_decl=0
5891 cat >>confdefs.h <<_ACEOF
5892 #define HAVE_DECL_CURLOPT_COOKIESESSION $ac_have_decl
5893 _ACEOF
5894 ac_fn_c_check_decl "$LINENO" "CURLOPT_CAPATH" "ac_cv_have_decl_CURLOPT_CAPATH" "
5895 #include \"curl/curl.h\"
5898 if test "x$ac_cv_have_decl_CURLOPT_CAPATH" = xyes; then :
5899 ac_have_decl=1
5900 else
5901 ac_have_decl=0
5904 cat >>confdefs.h <<_ACEOF
5905 #define HAVE_DECL_CURLOPT_CAPATH $ac_have_decl
5906 _ACEOF
5907 ac_fn_c_check_decl "$LINENO" "CURLOPT_BUFFERSIZE" "ac_cv_have_decl_CURLOPT_BUFFERSIZE" "
5908 #include \"curl/curl.h\"
5911 if test "x$ac_cv_have_decl_CURLOPT_BUFFERSIZE" = xyes; then :
5912 ac_have_decl=1
5913 else
5914 ac_have_decl=0
5917 cat >>confdefs.h <<_ACEOF
5918 #define HAVE_DECL_CURLOPT_BUFFERSIZE $ac_have_decl
5919 _ACEOF
5920 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOSIGNAL" "ac_cv_have_decl_CURLOPT_NOSIGNAL" "
5921 #include \"curl/curl.h\"
5924 if test "x$ac_cv_have_decl_CURLOPT_NOSIGNAL" = xyes; then :
5925 ac_have_decl=1
5926 else
5927 ac_have_decl=0
5930 cat >>confdefs.h <<_ACEOF
5931 #define HAVE_DECL_CURLOPT_NOSIGNAL $ac_have_decl
5932 _ACEOF
5933 ac_fn_c_check_decl "$LINENO" "CURLOPT_SHARE" "ac_cv_have_decl_CURLOPT_SHARE" "
5934 #include \"curl/curl.h\"
5937 if test "x$ac_cv_have_decl_CURLOPT_SHARE" = xyes; then :
5938 ac_have_decl=1
5939 else
5940 ac_have_decl=0
5943 cat >>confdefs.h <<_ACEOF
5944 #define HAVE_DECL_CURLOPT_SHARE $ac_have_decl
5945 _ACEOF
5946 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYTYPE" "ac_cv_have_decl_CURLOPT_PROXYTYPE" "
5947 #include \"curl/curl.h\"
5950 if test "x$ac_cv_have_decl_CURLOPT_PROXYTYPE" = xyes; then :
5951 ac_have_decl=1
5952 else
5953 ac_have_decl=0
5956 cat >>confdefs.h <<_ACEOF
5957 #define HAVE_DECL_CURLOPT_PROXYTYPE $ac_have_decl
5958 _ACEOF
5959 ac_fn_c_check_decl "$LINENO" "CURLOPT_ENCODING" "ac_cv_have_decl_CURLOPT_ENCODING" "
5960 #include \"curl/curl.h\"
5963 if test "x$ac_cv_have_decl_CURLOPT_ENCODING" = xyes; then :
5964 ac_have_decl=1
5965 else
5966 ac_have_decl=0
5969 cat >>confdefs.h <<_ACEOF
5970 #define HAVE_DECL_CURLOPT_ENCODING $ac_have_decl
5971 _ACEOF
5972 ac_fn_c_check_decl "$LINENO" "CURLOPT_PRIVATE" "ac_cv_have_decl_CURLOPT_PRIVATE" "
5973 #include \"curl/curl.h\"
5976 if test "x$ac_cv_have_decl_CURLOPT_PRIVATE" = xyes; then :
5977 ac_have_decl=1
5978 else
5979 ac_have_decl=0
5982 cat >>confdefs.h <<_ACEOF
5983 #define HAVE_DECL_CURLOPT_PRIVATE $ac_have_decl
5984 _ACEOF
5985 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP200ALIASES" "ac_cv_have_decl_CURLOPT_HTTP200ALIASES" "
5986 #include \"curl/curl.h\"
5989 if test "x$ac_cv_have_decl_CURLOPT_HTTP200ALIASES" = xyes; then :
5990 ac_have_decl=1
5991 else
5992 ac_have_decl=0
5995 cat >>confdefs.h <<_ACEOF
5996 #define HAVE_DECL_CURLOPT_HTTP200ALIASES $ac_have_decl
5997 _ACEOF
5998 ac_fn_c_check_decl "$LINENO" "CURLOPT_UNRESTRICTED_AUTH" "ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" "
5999 #include \"curl/curl.h\"
6002 if test "x$ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" = xyes; then :
6003 ac_have_decl=1
6004 else
6005 ac_have_decl=0
6008 cat >>confdefs.h <<_ACEOF
6009 #define HAVE_DECL_CURLOPT_UNRESTRICTED_AUTH $ac_have_decl
6010 _ACEOF
6011 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_USE_EPRT" "ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" "
6012 #include \"curl/curl.h\"
6015 if test "x$ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" = xyes; then :
6016 ac_have_decl=1
6017 else
6018 ac_have_decl=0
6021 cat >>confdefs.h <<_ACEOF
6022 #define HAVE_DECL_CURLOPT_FTP_USE_EPRT $ac_have_decl
6023 _ACEOF
6024 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPAUTH" "ac_cv_have_decl_CURLOPT_HTTPAUTH" "
6025 #include \"curl/curl.h\"
6028 if test "x$ac_cv_have_decl_CURLOPT_HTTPAUTH" = xyes; then :
6029 ac_have_decl=1
6030 else
6031 ac_have_decl=0
6034 cat >>confdefs.h <<_ACEOF
6035 #define HAVE_DECL_CURLOPT_HTTPAUTH $ac_have_decl
6036 _ACEOF
6037 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_CREATE_MISSING_DIRS" "ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" "
6038 #include \"curl/curl.h\"
6041 if test "x$ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" = xyes; then :
6042 ac_have_decl=1
6043 else
6044 ac_have_decl=0
6047 cat >>confdefs.h <<_ACEOF
6048 #define HAVE_DECL_CURLOPT_FTP_CREATE_MISSING_DIRS $ac_have_decl
6049 _ACEOF
6050 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYAUTH" "ac_cv_have_decl_CURLOPT_PROXYAUTH" "
6051 #include \"curl/curl.h\"
6054 if test "x$ac_cv_have_decl_CURLOPT_PROXYAUTH" = xyes; then :
6055 ac_have_decl=1
6056 else
6057 ac_have_decl=0
6060 cat >>confdefs.h <<_ACEOF
6061 #define HAVE_DECL_CURLOPT_PROXYAUTH $ac_have_decl
6062 _ACEOF
6063 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_RESPONSE_TIMEOUT" "ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" "
6064 #include \"curl/curl.h\"
6067 if test "x$ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" = xyes; then :
6068 ac_have_decl=1
6069 else
6070 ac_have_decl=0
6073 cat >>confdefs.h <<_ACEOF
6074 #define HAVE_DECL_CURLOPT_FTP_RESPONSE_TIMEOUT $ac_have_decl
6075 _ACEOF
6076 ac_fn_c_check_decl "$LINENO" "CURLOPT_IPRESOLVE" "ac_cv_have_decl_CURLOPT_IPRESOLVE" "
6077 #include \"curl/curl.h\"
6080 if test "x$ac_cv_have_decl_CURLOPT_IPRESOLVE" = xyes; then :
6081 ac_have_decl=1
6082 else
6083 ac_have_decl=0
6086 cat >>confdefs.h <<_ACEOF
6087 #define HAVE_DECL_CURLOPT_IPRESOLVE $ac_have_decl
6088 _ACEOF
6089 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXFILESIZE" "ac_cv_have_decl_CURLOPT_MAXFILESIZE" "
6090 #include \"curl/curl.h\"
6093 if test "x$ac_cv_have_decl_CURLOPT_MAXFILESIZE" = xyes; then :
6094 ac_have_decl=1
6095 else
6096 ac_have_decl=0
6099 cat >>confdefs.h <<_ACEOF
6100 #define HAVE_DECL_CURLOPT_MAXFILESIZE $ac_have_decl
6101 _ACEOF
6102 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILESIZE_LARGE" "ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" "
6103 #include \"curl/curl.h\"
6106 if test "x$ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" = xyes; then :
6107 ac_have_decl=1
6108 else
6109 ac_have_decl=0
6112 cat >>confdefs.h <<_ACEOF
6113 #define HAVE_DECL_CURLOPT_INFILESIZE_LARGE $ac_have_decl
6114 _ACEOF
6115 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESUME_FROM_LARGE" "ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE" "
6116 #include \"curl/curl.h\"
6119 if test "x$ac_cv_have_decl_CURLOPT_RESUME_FROM_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_RESUME_FROM_LARGE $ac_have_decl
6127 _ACEOF
6128 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXFILESIZE_LARGE" "ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE" "
6129 #include \"curl/curl.h\"
6132 if test "x$ac_cv_have_decl_CURLOPT_MAXFILESIZE_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_MAXFILESIZE_LARGE $ac_have_decl
6140 _ACEOF
6141 ac_fn_c_check_decl "$LINENO" "CURLOPT_NETRC_FILE" "ac_cv_have_decl_CURLOPT_NETRC_FILE" "
6142 #include \"curl/curl.h\"
6145 if test "x$ac_cv_have_decl_CURLOPT_NETRC_FILE" = xyes; then :
6146 ac_have_decl=1
6147 else
6148 ac_have_decl=0
6151 cat >>confdefs.h <<_ACEOF
6152 #define HAVE_DECL_CURLOPT_NETRC_FILE $ac_have_decl
6153 _ACEOF
6154 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SSL" "ac_cv_have_decl_CURLOPT_FTP_SSL" "
6155 #include \"curl/curl.h\"
6158 if test "x$ac_cv_have_decl_CURLOPT_FTP_SSL" = xyes; then :
6159 ac_have_decl=1
6160 else
6161 ac_have_decl=0
6164 cat >>confdefs.h <<_ACEOF
6165 #define HAVE_DECL_CURLOPT_FTP_SSL $ac_have_decl
6166 _ACEOF
6167 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDSIZE_LARGE" "ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" "
6168 #include \"curl/curl.h\"
6171 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" = xyes; then :
6172 ac_have_decl=1
6173 else
6174 ac_have_decl=0
6177 cat >>confdefs.h <<_ACEOF
6178 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE_LARGE $ac_have_decl
6179 _ACEOF
6180 ac_fn_c_check_decl "$LINENO" "CURLOPT_TCP_NODELAY" "ac_cv_have_decl_CURLOPT_TCP_NODELAY" "
6181 #include \"curl/curl.h\"
6184 if test "x$ac_cv_have_decl_CURLOPT_TCP_NODELAY" = xyes; then :
6185 ac_have_decl=1
6186 else
6187 ac_have_decl=0
6190 cat >>confdefs.h <<_ACEOF
6191 #define HAVE_DECL_CURLOPT_TCP_NODELAY $ac_have_decl
6192 _ACEOF
6193 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPSSLAUTH" "ac_cv_have_decl_CURLOPT_FTPSSLAUTH" "
6194 #include \"curl/curl.h\"
6197 if test "x$ac_cv_have_decl_CURLOPT_FTPSSLAUTH" = xyes; then :
6198 ac_have_decl=1
6199 else
6200 ac_have_decl=0
6203 cat >>confdefs.h <<_ACEOF
6204 #define HAVE_DECL_CURLOPT_FTPSSLAUTH $ac_have_decl
6205 _ACEOF
6206 ac_fn_c_check_decl "$LINENO" "CURLOPT_IOCTLFUNCTION" "ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" "
6207 #include \"curl/curl.h\"
6210 if test "x$ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" = xyes; then :
6211 ac_have_decl=1
6212 else
6213 ac_have_decl=0
6216 cat >>confdefs.h <<_ACEOF
6217 #define HAVE_DECL_CURLOPT_IOCTLFUNCTION $ac_have_decl
6218 _ACEOF
6219 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_ACCOUNT" "ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" "
6220 #include \"curl/curl.h\"
6223 if test "x$ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" = xyes; then :
6224 ac_have_decl=1
6225 else
6226 ac_have_decl=0
6229 cat >>confdefs.h <<_ACEOF
6230 #define HAVE_DECL_CURLOPT_FTP_ACCOUNT $ac_have_decl
6231 _ACEOF
6232 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIELIST" "ac_cv_have_decl_CURLOPT_COOKIELIST" "
6233 #include \"curl/curl.h\"
6236 if test "x$ac_cv_have_decl_CURLOPT_COOKIELIST" = xyes; then :
6237 ac_have_decl=1
6238 else
6239 ac_have_decl=0
6242 cat >>confdefs.h <<_ACEOF
6243 #define HAVE_DECL_CURLOPT_COOKIELIST $ac_have_decl
6244 _ACEOF
6245 ac_fn_c_check_decl "$LINENO" "CURLOPT_IGNORE_CONTENT_LENGTH" "ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" "
6246 #include \"curl/curl.h\"
6249 if test "x$ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" = xyes; then :
6250 ac_have_decl=1
6251 else
6252 ac_have_decl=0
6255 cat >>confdefs.h <<_ACEOF
6256 #define HAVE_DECL_CURLOPT_IGNORE_CONTENT_LENGTH $ac_have_decl
6257 _ACEOF
6258 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SKIP_PASV_IP" "ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" "
6259 #include \"curl/curl.h\"
6262 if test "x$ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" = xyes; then :
6263 ac_have_decl=1
6264 else
6265 ac_have_decl=0
6268 cat >>confdefs.h <<_ACEOF
6269 #define HAVE_DECL_CURLOPT_FTP_SKIP_PASV_IP $ac_have_decl
6270 _ACEOF
6271 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_FILEMETHOD" "ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" "
6272 #include \"curl/curl.h\"
6275 if test "x$ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" = 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_FILEMETHOD $ac_have_decl
6283 _ACEOF
6284 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOCALPORT" "ac_cv_have_decl_CURLOPT_LOCALPORT" "
6285 #include \"curl/curl.h\"
6288 if test "x$ac_cv_have_decl_CURLOPT_LOCALPORT" = xyes; then :
6289 ac_have_decl=1
6290 else
6291 ac_have_decl=0
6294 cat >>confdefs.h <<_ACEOF
6295 #define HAVE_DECL_CURLOPT_LOCALPORT $ac_have_decl
6296 _ACEOF
6297 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOCALPORTRANGE" "ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" "
6298 #include \"curl/curl.h\"
6301 if test "x$ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" = xyes; then :
6302 ac_have_decl=1
6303 else
6304 ac_have_decl=0
6307 cat >>confdefs.h <<_ACEOF
6308 #define HAVE_DECL_CURLOPT_LOCALPORTRANGE $ac_have_decl
6309 _ACEOF
6310 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECT_ONLY" "ac_cv_have_decl_CURLOPT_CONNECT_ONLY" "
6311 #include \"curl/curl.h\"
6314 if test "x$ac_cv_have_decl_CURLOPT_CONNECT_ONLY" = xyes; then :
6315 ac_have_decl=1
6316 else
6317 ac_have_decl=0
6320 cat >>confdefs.h <<_ACEOF
6321 #define HAVE_DECL_CURLOPT_CONNECT_ONLY $ac_have_decl
6322 _ACEOF
6323 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAX_SEND_SPEED_LARGE" "ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" "
6324 #include \"curl/curl.h\"
6327 if test "x$ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" = xyes; then :
6328 ac_have_decl=1
6329 else
6330 ac_have_decl=0
6333 cat >>confdefs.h <<_ACEOF
6334 #define HAVE_DECL_CURLOPT_MAX_SEND_SPEED_LARGE $ac_have_decl
6335 _ACEOF
6336 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAX_RECV_SPEED_LARGE" "ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE" "
6337 #include \"curl/curl.h\"
6340 if test "x$ac_cv_have_decl_CURLOPT_MAX_RECV_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_RECV_SPEED_LARGE $ac_have_decl
6348 _ACEOF
6349 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_ALTERNATIVE_TO_USER" "ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" "
6350 #include \"curl/curl.h\"
6353 if test "x$ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" = xyes; then :
6354 ac_have_decl=1
6355 else
6356 ac_have_decl=0
6359 cat >>confdefs.h <<_ACEOF
6360 #define HAVE_DECL_CURLOPT_FTP_ALTERNATIVE_TO_USER $ac_have_decl
6361 _ACEOF
6362 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_SESSIONID_CACHE" "ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" "
6363 #include \"curl/curl.h\"
6366 if test "x$ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" = xyes; then :
6367 ac_have_decl=1
6368 else
6369 ac_have_decl=0
6372 cat >>confdefs.h <<_ACEOF
6373 #define HAVE_DECL_CURLOPT_SSL_SESSIONID_CACHE $ac_have_decl
6374 _ACEOF
6375 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_AUTH_TYPES" "ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" "
6376 #include \"curl/curl.h\"
6379 if test "x$ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" = xyes; then :
6380 ac_have_decl=1
6381 else
6382 ac_have_decl=0
6385 cat >>confdefs.h <<_ACEOF
6386 #define HAVE_DECL_CURLOPT_SSH_AUTH_TYPES $ac_have_decl
6387 _ACEOF
6388 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_PUBLIC_KEYFILE" "ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" "
6389 #include \"curl/curl.h\"
6392 if test "x$ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" = 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_PUBLIC_KEYFILE $ac_have_decl
6400 _ACEOF
6401 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_PRIVATE_KEYFILE" "ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE" "
6402 #include \"curl/curl.h\"
6405 if test "x$ac_cv_have_decl_CURLOPT_SSH_PRIVATE_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_PRIVATE_KEYFILE $ac_have_decl
6413 _ACEOF
6414 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SSL_CCC" "ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" "
6415 #include \"curl/curl.h\"
6418 if test "x$ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" = xyes; then :
6419 ac_have_decl=1
6420 else
6421 ac_have_decl=0
6424 cat >>confdefs.h <<_ACEOF
6425 #define HAVE_DECL_CURLOPT_FTP_SSL_CCC $ac_have_decl
6426 _ACEOF
6427 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEOUT_MS" "ac_cv_have_decl_CURLOPT_TIMEOUT_MS" "
6428 #include \"curl/curl.h\"
6431 if test "x$ac_cv_have_decl_CURLOPT_TIMEOUT_MS" = xyes; then :
6432 ac_have_decl=1
6433 else
6434 ac_have_decl=0
6437 cat >>confdefs.h <<_ACEOF
6438 #define HAVE_DECL_CURLOPT_TIMEOUT_MS $ac_have_decl
6439 _ACEOF
6440 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECTTIMEOUT_MS" "ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS" "
6441 #include \"curl/curl.h\"
6444 if test "x$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_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_CONNECTTIMEOUT_MS $ac_have_decl
6452 _ACEOF
6453 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_TRANSFER_DECODING" "ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" "
6454 #include \"curl/curl.h\"
6457 if test "x$ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" = xyes; then :
6458 ac_have_decl=1
6459 else
6460 ac_have_decl=0
6463 cat >>confdefs.h <<_ACEOF
6464 #define HAVE_DECL_CURLOPT_HTTP_TRANSFER_DECODING $ac_have_decl
6465 _ACEOF
6466 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_CONTENT_DECODING" "ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING" "
6467 #include \"curl/curl.h\"
6470 if test "x$ac_cv_have_decl_CURLOPT_HTTP_CONTENT_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_CONTENT_DECODING $ac_have_decl
6478 _ACEOF
6479 ac_fn_c_check_decl "$LINENO" "CURLOPT_NEW_FILE_PERMS" "ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" "
6480 #include \"curl/curl.h\"
6483 if test "x$ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" = xyes; then :
6484 ac_have_decl=1
6485 else
6486 ac_have_decl=0
6489 cat >>confdefs.h <<_ACEOF
6490 #define HAVE_DECL_CURLOPT_NEW_FILE_PERMS $ac_have_decl
6491 _ACEOF
6492 ac_fn_c_check_decl "$LINENO" "CURLOPT_NEW_DIRECTORY_PERMS" "ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS" "
6493 #include \"curl/curl.h\"
6496 if test "x$ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_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_DIRECTORY_PERMS $ac_have_decl
6504 _ACEOF
6505 ac_fn_c_check_decl "$LINENO" "CURLOPT_POST301" "ac_cv_have_decl_CURLOPT_POST301" "
6506 #include \"curl/curl.h\"
6509 if test "x$ac_cv_have_decl_CURLOPT_POST301" = xyes; then :
6510 ac_have_decl=1
6511 else
6512 ac_have_decl=0
6515 cat >>confdefs.h <<_ACEOF
6516 #define HAVE_DECL_CURLOPT_POST301 $ac_have_decl
6517 _ACEOF
6518 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" "ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" "
6519 #include \"curl/curl.h\"
6522 if test "x$ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" = xyes; then :
6523 ac_have_decl=1
6524 else
6525 ac_have_decl=0
6528 cat >>confdefs.h <<_ACEOF
6529 #define HAVE_DECL_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 $ac_have_decl
6530 _ACEOF
6531 ac_fn_c_check_decl "$LINENO" "CURLOPT_COPYPOSTFIELDS" "ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" "
6532 #include \"curl/curl.h\"
6535 if test "x$ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" = xyes; then :
6536 ac_have_decl=1
6537 else
6538 ac_have_decl=0
6541 cat >>confdefs.h <<_ACEOF
6542 #define HAVE_DECL_CURLOPT_COPYPOSTFIELDS $ac_have_decl
6543 _ACEOF
6544 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXY_TRANSFER_MODE" "ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" "
6545 #include \"curl/curl.h\"
6548 if test "x$ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" = xyes; then :
6549 ac_have_decl=1
6550 else
6551 ac_have_decl=0
6554 cat >>confdefs.h <<_ACEOF
6555 #define HAVE_DECL_CURLOPT_PROXY_TRANSFER_MODE $ac_have_decl
6556 _ACEOF
6557 ac_fn_c_check_decl "$LINENO" "CURLOPT_SEEKFUNCTION" "ac_cv_have_decl_CURLOPT_SEEKFUNCTION" "
6558 #include \"curl/curl.h\"
6561 if test "x$ac_cv_have_decl_CURLOPT_SEEKFUNCTION" = xyes; then :
6562 ac_have_decl=1
6563 else
6564 ac_have_decl=0
6567 cat >>confdefs.h <<_ACEOF
6568 #define HAVE_DECL_CURLOPT_SEEKFUNCTION $ac_have_decl
6569 _ACEOF
6570 ac_fn_c_check_decl "$LINENO" "CURLOPT_OPENSOCKETFUNCTION" "ac_cv_have_decl_CURLOPT_OPENSOCKETFUNCTION" "
6571 #include \"curl/curl.h\"
6574 if test "x$ac_cv_have_decl_CURLOPT_OPENSOCKETFUNCTION" = xyes; then :
6575 ac_have_decl=1
6576 else
6577 ac_have_decl=0
6580 cat >>confdefs.h <<_ACEOF
6581 #define HAVE_DECL_CURLOPT_OPENSOCKETFUNCTION $ac_have_decl
6582 _ACEOF
6583 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROTOCOLS" "ac_cv_have_decl_CURLOPT_PROTOCOLS" "
6584 #include \"curl/curl.h\"
6587 if test "x$ac_cv_have_decl_CURLOPT_PROTOCOLS" = xyes; then :
6588 ac_have_decl=1
6589 else
6590 ac_have_decl=0
6593 cat >>confdefs.h <<_ACEOF
6594 #define HAVE_DECL_CURLOPT_PROTOCOLS $ac_have_decl
6595 _ACEOF
6596 ac_fn_c_check_decl "$LINENO" "CURLOPT_REDIR_PROTOCOLS" "ac_cv_have_decl_CURLOPT_REDIR_PROTOCOLS" "
6597 #include \"curl/curl.h\"
6600 if test "x$ac_cv_have_decl_CURLOPT_REDIR_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_REDIR_PROTOCOLS $ac_have_decl
6608 _ACEOF
6609 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESOLVE" "ac_cv_have_decl_CURLOPT_RESOLVE" "
6610 #include \"curl/curl.h\"
6613 if test "x$ac_cv_have_decl_CURLOPT_RESOLVE" = xyes; then :
6614 ac_have_decl=1
6615 else
6616 ac_have_decl=0
6619 cat >>confdefs.h <<_ACEOF
6620 #define HAVE_DECL_CURLOPT_RESOLVE $ac_have_decl
6621 _ACEOF
6622 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_SERVERS" "ac_cv_have_decl_CURLOPT_DNS_SERVERS" "
6623 #include \"curl/curl.h\"
6626 if test "x$ac_cv_have_decl_CURLOPT_DNS_SERVERS" = xyes; then :
6627 ac_have_decl=1
6628 else
6629 ac_have_decl=0
6632 cat >>confdefs.h <<_ACEOF
6633 #define HAVE_DECL_CURLOPT_DNS_SERVERS $ac_have_decl
6634 _ACEOF
6635 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAIL_FROM" "ac_cv_have_decl_CURLOPT_MAIL_FROM" "
6636 #include \"curl/curl.h\"
6639 if test "x$ac_cv_have_decl_CURLOPT_MAIL_FROM" = xyes; then :
6640 ac_have_decl=1
6641 else
6642 ac_have_decl=0
6645 cat >>confdefs.h <<_ACEOF
6646 #define HAVE_DECL_CURLOPT_MAIL_FROM $ac_have_decl
6647 _ACEOF
6648 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAIL_RCPT" "ac_cv_have_decl_CURLOPT_MAIL_RCPT" "
6649 #include \"curl/curl.h\"
6652 if test "x$ac_cv_have_decl_CURLOPT_MAIL_RCPT" = 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_RCPT $ac_have_decl
6660 _ACEOF
6661 ac_fn_c_check_decl "$LINENO" "CURLOPT_PIPEWAIT" "ac_cv_have_decl_CURLOPT_PIPEWAIT" "
6662 #include \"curl/curl.h\"
6665 if test "x$ac_cv_have_decl_CURLOPT_PIPEWAIT" = xyes; then :
6666 ac_have_decl=1
6667 else
6668 ac_have_decl=0
6671 cat >>confdefs.h <<_ACEOF
6672 #define HAVE_DECL_CURLOPT_PIPEWAIT $ac_have_decl
6673 _ACEOF
6674 ac_fn_c_check_decl "$LINENO" "CURLINFO_EFFECTIVE_URL" "ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" "
6675 #include \"curl/curl.h\"
6678 if test "x$ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" = xyes; then :
6679 ac_have_decl=1
6680 else
6681 ac_have_decl=0
6684 cat >>confdefs.h <<_ACEOF
6685 #define HAVE_DECL_CURLINFO_EFFECTIVE_URL $ac_have_decl
6686 _ACEOF
6687 ac_fn_c_check_decl "$LINENO" "CURLINFO_RESPONSE_CODE" "ac_cv_have_decl_CURLINFO_RESPONSE_CODE" "
6688 #include \"curl/curl.h\"
6691 if test "x$ac_cv_have_decl_CURLINFO_RESPONSE_CODE" = xyes; then :
6692 ac_have_decl=1
6693 else
6694 ac_have_decl=0
6697 cat >>confdefs.h <<_ACEOF
6698 #define HAVE_DECL_CURLINFO_RESPONSE_CODE $ac_have_decl
6699 _ACEOF
6700 ac_fn_c_check_decl "$LINENO" "CURLINFO_TOTAL_TIME" "ac_cv_have_decl_CURLINFO_TOTAL_TIME" "
6701 #include \"curl/curl.h\"
6704 if test "x$ac_cv_have_decl_CURLINFO_TOTAL_TIME" = xyes; then :
6705 ac_have_decl=1
6706 else
6707 ac_have_decl=0
6710 cat >>confdefs.h <<_ACEOF
6711 #define HAVE_DECL_CURLINFO_TOTAL_TIME $ac_have_decl
6712 _ACEOF
6713 ac_fn_c_check_decl "$LINENO" "CURLINFO_NAMELOOKUP_TIME" "ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" "
6714 #include \"curl/curl.h\"
6717 if test "x$ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" = xyes; then :
6718 ac_have_decl=1
6719 else
6720 ac_have_decl=0
6723 cat >>confdefs.h <<_ACEOF
6724 #define HAVE_DECL_CURLINFO_NAMELOOKUP_TIME $ac_have_decl
6725 _ACEOF
6726 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONNECT_TIME" "ac_cv_have_decl_CURLINFO_CONNECT_TIME" "
6727 #include \"curl/curl.h\"
6730 if test "x$ac_cv_have_decl_CURLINFO_CONNECT_TIME" = xyes; then :
6731 ac_have_decl=1
6732 else
6733 ac_have_decl=0
6736 cat >>confdefs.h <<_ACEOF
6737 #define HAVE_DECL_CURLINFO_CONNECT_TIME $ac_have_decl
6738 _ACEOF
6739 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRETRANSFER_TIME" "ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" "
6740 #include \"curl/curl.h\"
6743 if test "x$ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" = xyes; then :
6744 ac_have_decl=1
6745 else
6746 ac_have_decl=0
6749 cat >>confdefs.h <<_ACEOF
6750 #define HAVE_DECL_CURLINFO_PRETRANSFER_TIME $ac_have_decl
6751 _ACEOF
6752 ac_fn_c_check_decl "$LINENO" "CURLINFO_SIZE_UPLOAD" "ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" "
6753 #include \"curl/curl.h\"
6756 if test "x$ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" = xyes; then :
6757 ac_have_decl=1
6758 else
6759 ac_have_decl=0
6762 cat >>confdefs.h <<_ACEOF
6763 #define HAVE_DECL_CURLINFO_SIZE_UPLOAD $ac_have_decl
6764 _ACEOF
6765 ac_fn_c_check_decl "$LINENO" "CURLINFO_SIZE_DOWNLOAD" "ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" "
6766 #include \"curl/curl.h\"
6769 if test "x$ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" = xyes; then :
6770 ac_have_decl=1
6771 else
6772 ac_have_decl=0
6775 cat >>confdefs.h <<_ACEOF
6776 #define HAVE_DECL_CURLINFO_SIZE_DOWNLOAD $ac_have_decl
6777 _ACEOF
6778 ac_fn_c_check_decl "$LINENO" "CURLINFO_SPEED_DOWNLOAD" "ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" "
6779 #include \"curl/curl.h\"
6782 if test "x$ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" = xyes; then :
6783 ac_have_decl=1
6784 else
6785 ac_have_decl=0
6788 cat >>confdefs.h <<_ACEOF
6789 #define HAVE_DECL_CURLINFO_SPEED_DOWNLOAD $ac_have_decl
6790 _ACEOF
6791 ac_fn_c_check_decl "$LINENO" "CURLINFO_SPEED_UPLOAD" "ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" "
6792 #include \"curl/curl.h\"
6795 if test "x$ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" = xyes; then :
6796 ac_have_decl=1
6797 else
6798 ac_have_decl=0
6801 cat >>confdefs.h <<_ACEOF
6802 #define HAVE_DECL_CURLINFO_SPEED_UPLOAD $ac_have_decl
6803 _ACEOF
6804 ac_fn_c_check_decl "$LINENO" "CURLINFO_HEADER_SIZE" "ac_cv_have_decl_CURLINFO_HEADER_SIZE" "
6805 #include \"curl/curl.h\"
6808 if test "x$ac_cv_have_decl_CURLINFO_HEADER_SIZE" = xyes; then :
6809 ac_have_decl=1
6810 else
6811 ac_have_decl=0
6814 cat >>confdefs.h <<_ACEOF
6815 #define HAVE_DECL_CURLINFO_HEADER_SIZE $ac_have_decl
6816 _ACEOF
6817 ac_fn_c_check_decl "$LINENO" "CURLINFO_REQUEST_SIZE" "ac_cv_have_decl_CURLINFO_REQUEST_SIZE" "
6818 #include \"curl/curl.h\"
6821 if test "x$ac_cv_have_decl_CURLINFO_REQUEST_SIZE" = xyes; then :
6822 ac_have_decl=1
6823 else
6824 ac_have_decl=0
6827 cat >>confdefs.h <<_ACEOF
6828 #define HAVE_DECL_CURLINFO_REQUEST_SIZE $ac_have_decl
6829 _ACEOF
6830 ac_fn_c_check_decl "$LINENO" "CURLINFO_SSL_VERIFYRESULT" "ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" "
6831 #include \"curl/curl.h\"
6834 if test "x$ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" = xyes; then :
6835 ac_have_decl=1
6836 else
6837 ac_have_decl=0
6840 cat >>confdefs.h <<_ACEOF
6841 #define HAVE_DECL_CURLINFO_SSL_VERIFYRESULT $ac_have_decl
6842 _ACEOF
6843 ac_fn_c_check_decl "$LINENO" "CURLINFO_FILETIME" "ac_cv_have_decl_CURLINFO_FILETIME" "
6844 #include \"curl/curl.h\"
6847 if test "x$ac_cv_have_decl_CURLINFO_FILETIME" = xyes; then :
6848 ac_have_decl=1
6849 else
6850 ac_have_decl=0
6853 cat >>confdefs.h <<_ACEOF
6854 #define HAVE_DECL_CURLINFO_FILETIME $ac_have_decl
6855 _ACEOF
6856 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_LENGTH_DOWNLOAD" "ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" "
6857 #include \"curl/curl.h\"
6860 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" = xyes; then :
6861 ac_have_decl=1
6862 else
6863 ac_have_decl=0
6866 cat >>confdefs.h <<_ACEOF
6867 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_DOWNLOAD $ac_have_decl
6868 _ACEOF
6869 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_LENGTH_UPLOAD" "ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" "
6870 #include \"curl/curl.h\"
6873 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" = xyes; then :
6874 ac_have_decl=1
6875 else
6876 ac_have_decl=0
6879 cat >>confdefs.h <<_ACEOF
6880 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_UPLOAD $ac_have_decl
6881 _ACEOF
6882 ac_fn_c_check_decl "$LINENO" "CURLINFO_STARTTRANSFER_TIME" "ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" "
6883 #include \"curl/curl.h\"
6886 if test "x$ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" = xyes; then :
6887 ac_have_decl=1
6888 else
6889 ac_have_decl=0
6892 cat >>confdefs.h <<_ACEOF
6893 #define HAVE_DECL_CURLINFO_STARTTRANSFER_TIME $ac_have_decl
6894 _ACEOF
6895 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_TYPE" "ac_cv_have_decl_CURLINFO_CONTENT_TYPE" "
6896 #include \"curl/curl.h\"
6899 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_TYPE" = xyes; then :
6900 ac_have_decl=1
6901 else
6902 ac_have_decl=0
6905 cat >>confdefs.h <<_ACEOF
6906 #define HAVE_DECL_CURLINFO_CONTENT_TYPE $ac_have_decl
6907 _ACEOF
6908 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_TIME" "ac_cv_have_decl_CURLINFO_REDIRECT_TIME" "
6909 #include \"curl/curl.h\"
6912 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_TIME" = xyes; then :
6913 ac_have_decl=1
6914 else
6915 ac_have_decl=0
6918 cat >>confdefs.h <<_ACEOF
6919 #define HAVE_DECL_CURLINFO_REDIRECT_TIME $ac_have_decl
6920 _ACEOF
6921 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_COUNT" "ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" "
6922 #include \"curl/curl.h\"
6925 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" = xyes; then :
6926 ac_have_decl=1
6927 else
6928 ac_have_decl=0
6931 cat >>confdefs.h <<_ACEOF
6932 #define HAVE_DECL_CURLINFO_REDIRECT_COUNT $ac_have_decl
6933 _ACEOF
6934 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRIVATE" "ac_cv_have_decl_CURLINFO_PRIVATE" "
6935 #include \"curl/curl.h\"
6938 if test "x$ac_cv_have_decl_CURLINFO_PRIVATE" = xyes; then :
6939 ac_have_decl=1
6940 else
6941 ac_have_decl=0
6944 cat >>confdefs.h <<_ACEOF
6945 #define HAVE_DECL_CURLINFO_PRIVATE $ac_have_decl
6946 _ACEOF
6947 ac_fn_c_check_decl "$LINENO" "CURLINFO_HTTP_CONNECTCODE" "ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" "
6948 #include \"curl/curl.h\"
6951 if test "x$ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" = xyes; then :
6952 ac_have_decl=1
6953 else
6954 ac_have_decl=0
6957 cat >>confdefs.h <<_ACEOF
6958 #define HAVE_DECL_CURLINFO_HTTP_CONNECTCODE $ac_have_decl
6959 _ACEOF
6960 ac_fn_c_check_decl "$LINENO" "CURLINFO_HTTPAUTH_AVAIL" "ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" "
6961 #include \"curl/curl.h\"
6964 if test "x$ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" = xyes; then :
6965 ac_have_decl=1
6966 else
6967 ac_have_decl=0
6970 cat >>confdefs.h <<_ACEOF
6971 #define HAVE_DECL_CURLINFO_HTTPAUTH_AVAIL $ac_have_decl
6972 _ACEOF
6973 ac_fn_c_check_decl "$LINENO" "CURLINFO_PROXYAUTH_AVAIL" "ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" "
6974 #include \"curl/curl.h\"
6977 if test "x$ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" = xyes; then :
6978 ac_have_decl=1
6979 else
6980 ac_have_decl=0
6983 cat >>confdefs.h <<_ACEOF
6984 #define HAVE_DECL_CURLINFO_PROXYAUTH_AVAIL $ac_have_decl
6985 _ACEOF
6986 ac_fn_c_check_decl "$LINENO" "CURLINFO_OS_ERRNO" "ac_cv_have_decl_CURLINFO_OS_ERRNO" "
6987 #include \"curl/curl.h\"
6990 if test "x$ac_cv_have_decl_CURLINFO_OS_ERRNO" = xyes; then :
6991 ac_have_decl=1
6992 else
6993 ac_have_decl=0
6996 cat >>confdefs.h <<_ACEOF
6997 #define HAVE_DECL_CURLINFO_OS_ERRNO $ac_have_decl
6998 _ACEOF
6999 ac_fn_c_check_decl "$LINENO" "CURLINFO_NUM_CONNECTS" "ac_cv_have_decl_CURLINFO_NUM_CONNECTS" "
7000 #include \"curl/curl.h\"
7003 if test "x$ac_cv_have_decl_CURLINFO_NUM_CONNECTS" = xyes; then :
7004 ac_have_decl=1
7005 else
7006 ac_have_decl=0
7009 cat >>confdefs.h <<_ACEOF
7010 #define HAVE_DECL_CURLINFO_NUM_CONNECTS $ac_have_decl
7011 _ACEOF
7012 ac_fn_c_check_decl "$LINENO" "CURLINFO_SSL_ENGINES" "ac_cv_have_decl_CURLINFO_SSL_ENGINES" "
7013 #include \"curl/curl.h\"
7016 if test "x$ac_cv_have_decl_CURLINFO_SSL_ENGINES" = xyes; then :
7017 ac_have_decl=1
7018 else
7019 ac_have_decl=0
7022 cat >>confdefs.h <<_ACEOF
7023 #define HAVE_DECL_CURLINFO_SSL_ENGINES $ac_have_decl
7024 _ACEOF
7025 ac_fn_c_check_decl "$LINENO" "CURLINFO_COOKIELIST" "ac_cv_have_decl_CURLINFO_COOKIELIST" "
7026 #include \"curl/curl.h\"
7029 if test "x$ac_cv_have_decl_CURLINFO_COOKIELIST" = xyes; then :
7030 ac_have_decl=1
7031 else
7032 ac_have_decl=0
7035 cat >>confdefs.h <<_ACEOF
7036 #define HAVE_DECL_CURLINFO_COOKIELIST $ac_have_decl
7037 _ACEOF
7038 ac_fn_c_check_decl "$LINENO" "CURLINFO_LASTSOCKET" "ac_cv_have_decl_CURLINFO_LASTSOCKET" "
7039 #include \"curl/curl.h\"
7042 if test "x$ac_cv_have_decl_CURLINFO_LASTSOCKET" = xyes; then :
7043 ac_have_decl=1
7044 else
7045 ac_have_decl=0
7048 cat >>confdefs.h <<_ACEOF
7049 #define HAVE_DECL_CURLINFO_LASTSOCKET $ac_have_decl
7050 _ACEOF
7051 ac_fn_c_check_decl "$LINENO" "CURLINFO_FTP_ENTRY_PATH" "ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" "
7052 #include \"curl/curl.h\"
7055 if test "x$ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" = xyes; then :
7056 ac_have_decl=1
7057 else
7058 ac_have_decl=0
7061 cat >>confdefs.h <<_ACEOF
7062 #define HAVE_DECL_CURLINFO_FTP_ENTRY_PATH $ac_have_decl
7063 _ACEOF
7064 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_URL" "ac_cv_have_decl_CURLINFO_REDIRECT_URL" "
7065 #include \"curl/curl.h\"
7068 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_URL" = xyes; then :
7069 ac_have_decl=1
7070 else
7071 ac_have_decl=0
7074 cat >>confdefs.h <<_ACEOF
7075 #define HAVE_DECL_CURLINFO_REDIRECT_URL $ac_have_decl
7076 _ACEOF
7077 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRIMARY_IP" "ac_cv_have_decl_CURLINFO_PRIMARY_IP" "
7078 #include \"curl/curl.h\"
7081 if test "x$ac_cv_have_decl_CURLINFO_PRIMARY_IP" = xyes; then :
7082 ac_have_decl=1
7083 else
7084 ac_have_decl=0
7087 cat >>confdefs.h <<_ACEOF
7088 #define HAVE_DECL_CURLINFO_PRIMARY_IP $ac_have_decl
7089 _ACEOF
7090 ac_fn_c_check_decl "$LINENO" "CURLINFO_LOCAL_IP" "ac_cv_have_decl_CURLINFO_LOCAL_IP" "
7091 #include \"curl/curl.h\"
7094 if test "x$ac_cv_have_decl_CURLINFO_LOCAL_IP" = xyes; then :
7095 ac_have_decl=1
7096 else
7097 ac_have_decl=0
7100 cat >>confdefs.h <<_ACEOF
7101 #define HAVE_DECL_CURLINFO_LOCAL_IP $ac_have_decl
7102 _ACEOF
7103 ac_fn_c_check_decl "$LINENO" "CURLINFO_LOCAL_PORT" "ac_cv_have_decl_CURLINFO_LOCAL_PORT" "
7104 #include \"curl/curl.h\"
7107 if test "x$ac_cv_have_decl_CURLINFO_LOCAL_PORT" = xyes; then :
7108 ac_have_decl=1
7109 else
7110 ac_have_decl=0
7113 cat >>confdefs.h <<_ACEOF
7114 #define HAVE_DECL_CURLINFO_LOCAL_PORT $ac_have_decl
7115 _ACEOF
7116 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONDITION_UNMET" "ac_cv_have_decl_CURLINFO_CONDITION_UNMET" "
7117 #include \"curl/curl.h\"
7120 if test "x$ac_cv_have_decl_CURLINFO_CONDITION_UNMET" = xyes; then :
7121 ac_have_decl=1
7122 else
7123 ac_have_decl=0
7126 cat >>confdefs.h <<_ACEOF
7127 #define HAVE_DECL_CURLINFO_CONDITION_UNMET $ac_have_decl
7128 _ACEOF
7129 ac_fn_c_check_decl "$LINENO" "CURLE_UNSUPPORTED_PROTOCOL" "ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" "
7130 #include \"curl/curl.h\"
7133 if test "x$ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" = xyes; then :
7134 ac_have_decl=1
7135 else
7136 ac_have_decl=0
7139 cat >>confdefs.h <<_ACEOF
7140 #define HAVE_DECL_CURLE_UNSUPPORTED_PROTOCOL $ac_have_decl
7141 _ACEOF
7142 ac_fn_c_check_decl "$LINENO" "CURLE_FAILED_INIT" "ac_cv_have_decl_CURLE_FAILED_INIT" "
7143 #include \"curl/curl.h\"
7146 if test "x$ac_cv_have_decl_CURLE_FAILED_INIT" = xyes; then :
7147 ac_have_decl=1
7148 else
7149 ac_have_decl=0
7152 cat >>confdefs.h <<_ACEOF
7153 #define HAVE_DECL_CURLE_FAILED_INIT $ac_have_decl
7154 _ACEOF
7155 ac_fn_c_check_decl "$LINENO" "CURLE_URL_MALFORMAT" "ac_cv_have_decl_CURLE_URL_MALFORMAT" "
7156 #include \"curl/curl.h\"
7159 if test "x$ac_cv_have_decl_CURLE_URL_MALFORMAT" = xyes; then :
7160 ac_have_decl=1
7161 else
7162 ac_have_decl=0
7165 cat >>confdefs.h <<_ACEOF
7166 #define HAVE_DECL_CURLE_URL_MALFORMAT $ac_have_decl
7167 _ACEOF
7168 ac_fn_c_check_decl "$LINENO" "CURLE_URL_MALFORMAT_USER" "ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" "
7169 #include \"curl/curl.h\"
7172 if test "x$ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" = xyes; then :
7173 ac_have_decl=1
7174 else
7175 ac_have_decl=0
7178 cat >>confdefs.h <<_ACEOF
7179 #define HAVE_DECL_CURLE_URL_MALFORMAT_USER $ac_have_decl
7180 _ACEOF
7181 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_RESOLVE_PROXY" "ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" "
7182 #include \"curl/curl.h\"
7185 if test "x$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" = xyes; then :
7186 ac_have_decl=1
7187 else
7188 ac_have_decl=0
7191 cat >>confdefs.h <<_ACEOF
7192 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_PROXY $ac_have_decl
7193 _ACEOF
7194 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_RESOLVE_HOST" "ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" "
7195 #include \"curl/curl.h\"
7198 if test "x$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" = xyes; then :
7199 ac_have_decl=1
7200 else
7201 ac_have_decl=0
7204 cat >>confdefs.h <<_ACEOF
7205 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_HOST $ac_have_decl
7206 _ACEOF
7207 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_CONNECT" "ac_cv_have_decl_CURLE_COULDNT_CONNECT" "
7208 #include \"curl/curl.h\"
7211 if test "x$ac_cv_have_decl_CURLE_COULDNT_CONNECT" = xyes; then :
7212 ac_have_decl=1
7213 else
7214 ac_have_decl=0
7217 cat >>confdefs.h <<_ACEOF
7218 #define HAVE_DECL_CURLE_COULDNT_CONNECT $ac_have_decl
7219 _ACEOF
7220 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_SERVER_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" "
7221 #include \"curl/curl.h\"
7224 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" = xyes; then :
7225 ac_have_decl=1
7226 else
7227 ac_have_decl=0
7230 cat >>confdefs.h <<_ACEOF
7231 #define HAVE_DECL_CURLE_FTP_WEIRD_SERVER_REPLY $ac_have_decl
7232 _ACEOF
7233 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_ACCESS_DENIED" "ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" "
7234 #include \"curl/curl.h\"
7237 if test "x$ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" = xyes; then :
7238 ac_have_decl=1
7239 else
7240 ac_have_decl=0
7243 cat >>confdefs.h <<_ACEOF
7244 #define HAVE_DECL_CURLE_FTP_ACCESS_DENIED $ac_have_decl
7245 _ACEOF
7246 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_USER_PASSWORD_INCORRECT" "ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" "
7247 #include \"curl/curl.h\"
7250 if test "x$ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" = xyes; then :
7251 ac_have_decl=1
7252 else
7253 ac_have_decl=0
7256 cat >>confdefs.h <<_ACEOF
7257 #define HAVE_DECL_CURLE_FTP_USER_PASSWORD_INCORRECT $ac_have_decl
7258 _ACEOF
7259 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_PASS_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" "
7260 #include \"curl/curl.h\"
7263 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" = xyes; then :
7264 ac_have_decl=1
7265 else
7266 ac_have_decl=0
7269 cat >>confdefs.h <<_ACEOF
7270 #define HAVE_DECL_CURLE_FTP_WEIRD_PASS_REPLY $ac_have_decl
7271 _ACEOF
7272 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_USER_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" "
7273 #include \"curl/curl.h\"
7276 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" = xyes; then :
7277 ac_have_decl=1
7278 else
7279 ac_have_decl=0
7282 cat >>confdefs.h <<_ACEOF
7283 #define HAVE_DECL_CURLE_FTP_WEIRD_USER_REPLY $ac_have_decl
7284 _ACEOF
7285 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_PASV_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY" "
7286 #include \"curl/curl.h\"
7289 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_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_PASV_REPLY $ac_have_decl
7297 _ACEOF
7298 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_227_FORMAT" "ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" "
7299 #include \"curl/curl.h\"
7302 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" = 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_WEIRD_227_FORMAT $ac_have_decl
7310 _ACEOF
7311 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_CANT_GET_HOST" "ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" "
7312 #include \"curl/curl.h\"
7315 if test "x$ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" = xyes; then :
7316 ac_have_decl=1
7317 else
7318 ac_have_decl=0
7321 cat >>confdefs.h <<_ACEOF
7322 #define HAVE_DECL_CURLE_FTP_CANT_GET_HOST $ac_have_decl
7323 _ACEOF
7324 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_CANT_RECONNECT" "ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" "
7325 #include \"curl/curl.h\"
7328 if test "x$ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" = 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_CANT_RECONNECT $ac_have_decl
7336 _ACEOF
7337 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_SET_BINARY" "ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" "
7338 #include \"curl/curl.h\"
7341 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" = 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_COULDNT_SET_BINARY $ac_have_decl
7349 _ACEOF
7350 ac_fn_c_check_decl "$LINENO" "CURLE_PARTIAL_FILE" "ac_cv_have_decl_CURLE_PARTIAL_FILE" "
7351 #include \"curl/curl.h\"
7354 if test "x$ac_cv_have_decl_CURLE_PARTIAL_FILE" = xyes; then :
7355 ac_have_decl=1
7356 else
7357 ac_have_decl=0
7360 cat >>confdefs.h <<_ACEOF
7361 #define HAVE_DECL_CURLE_PARTIAL_FILE $ac_have_decl
7362 _ACEOF
7363 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_RETR_FILE" "ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" "
7364 #include \"curl/curl.h\"
7367 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" = 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_COULDNT_RETR_FILE $ac_have_decl
7375 _ACEOF
7376 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WRITE_ERROR" "ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" "
7377 #include \"curl/curl.h\"
7380 if test "x$ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" = 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_WRITE_ERROR $ac_have_decl
7388 _ACEOF
7389 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_QUOTE_ERROR" "ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" "
7390 #include \"curl/curl.h\"
7393 if test "x$ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" = 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_QUOTE_ERROR $ac_have_decl
7401 _ACEOF
7402 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_RETURNED_ERROR" "ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" "
7403 #include \"curl/curl.h\"
7406 if test "x$ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" = xyes; then :
7407 ac_have_decl=1
7408 else
7409 ac_have_decl=0
7412 cat >>confdefs.h <<_ACEOF
7413 #define HAVE_DECL_CURLE_HTTP_RETURNED_ERROR $ac_have_decl
7414 _ACEOF
7415 ac_fn_c_check_decl "$LINENO" "CURLE_WRITE_ERROR" "ac_cv_have_decl_CURLE_WRITE_ERROR" "
7416 #include \"curl/curl.h\"
7419 if test "x$ac_cv_have_decl_CURLE_WRITE_ERROR" = xyes; then :
7420 ac_have_decl=1
7421 else
7422 ac_have_decl=0
7425 cat >>confdefs.h <<_ACEOF
7426 #define HAVE_DECL_CURLE_WRITE_ERROR $ac_have_decl
7427 _ACEOF
7428 ac_fn_c_check_decl "$LINENO" "CURLE_MALFORMAT_USER" "ac_cv_have_decl_CURLE_MALFORMAT_USER" "
7429 #include \"curl/curl.h\"
7432 if test "x$ac_cv_have_decl_CURLE_MALFORMAT_USER" = xyes; then :
7433 ac_have_decl=1
7434 else
7435 ac_have_decl=0
7438 cat >>confdefs.h <<_ACEOF
7439 #define HAVE_DECL_CURLE_MALFORMAT_USER $ac_have_decl
7440 _ACEOF
7441 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_STOR_FILE" "ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" "
7442 #include \"curl/curl.h\"
7445 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" = 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_COULDNT_STOR_FILE $ac_have_decl
7453 _ACEOF
7454 ac_fn_c_check_decl "$LINENO" "CURLE_READ_ERROR" "ac_cv_have_decl_CURLE_READ_ERROR" "
7455 #include \"curl/curl.h\"
7458 if test "x$ac_cv_have_decl_CURLE_READ_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_READ_ERROR $ac_have_decl
7466 _ACEOF
7467 ac_fn_c_check_decl "$LINENO" "CURLE_OUT_OF_MEMORY" "ac_cv_have_decl_CURLE_OUT_OF_MEMORY" "
7468 #include \"curl/curl.h\"
7471 if test "x$ac_cv_have_decl_CURLE_OUT_OF_MEMORY" = xyes; then :
7472 ac_have_decl=1
7473 else
7474 ac_have_decl=0
7477 cat >>confdefs.h <<_ACEOF
7478 #define HAVE_DECL_CURLE_OUT_OF_MEMORY $ac_have_decl
7479 _ACEOF
7480 ac_fn_c_check_decl "$LINENO" "CURLE_OPERATION_TIMEOUTED" "ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" "
7481 #include \"curl/curl.h\"
7484 if test "x$ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" = xyes; then :
7485 ac_have_decl=1
7486 else
7487 ac_have_decl=0
7490 cat >>confdefs.h <<_ACEOF
7491 #define HAVE_DECL_CURLE_OPERATION_TIMEOUTED $ac_have_decl
7492 _ACEOF
7493 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_SET_ASCII" "ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" "
7494 #include \"curl/curl.h\"
7497 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" = xyes; then :
7498 ac_have_decl=1
7499 else
7500 ac_have_decl=0
7503 cat >>confdefs.h <<_ACEOF
7504 #define HAVE_DECL_CURLE_FTP_COULDNT_SET_ASCII $ac_have_decl
7505 _ACEOF
7506 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_PORT_FAILED" "ac_cv_have_decl_CURLE_FTP_PORT_FAILED" "
7507 #include \"curl/curl.h\"
7510 if test "x$ac_cv_have_decl_CURLE_FTP_PORT_FAILED" = 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_PORT_FAILED $ac_have_decl
7518 _ACEOF
7519 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_USE_REST" "ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" "
7520 #include \"curl/curl.h\"
7523 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" = xyes; then :
7524 ac_have_decl=1
7525 else
7526 ac_have_decl=0
7529 cat >>confdefs.h <<_ACEOF
7530 #define HAVE_DECL_CURLE_FTP_COULDNT_USE_REST $ac_have_decl
7531 _ACEOF
7532 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_GET_SIZE" "ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" "
7533 #include \"curl/curl.h\"
7536 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" = xyes; then :
7537 ac_have_decl=1
7538 else
7539 ac_have_decl=0
7542 cat >>confdefs.h <<_ACEOF
7543 #define HAVE_DECL_CURLE_FTP_COULDNT_GET_SIZE $ac_have_decl
7544 _ACEOF
7545 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_RANGE_ERROR" "ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" "
7546 #include \"curl/curl.h\"
7549 if test "x$ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" = xyes; then :
7550 ac_have_decl=1
7551 else
7552 ac_have_decl=0
7555 cat >>confdefs.h <<_ACEOF
7556 #define HAVE_DECL_CURLE_HTTP_RANGE_ERROR $ac_have_decl
7557 _ACEOF
7558 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_POST_ERROR" "ac_cv_have_decl_CURLE_HTTP_POST_ERROR" "
7559 #include \"curl/curl.h\"
7562 if test "x$ac_cv_have_decl_CURLE_HTTP_POST_ERROR" = xyes; then :
7563 ac_have_decl=1
7564 else
7565 ac_have_decl=0
7568 cat >>confdefs.h <<_ACEOF
7569 #define HAVE_DECL_CURLE_HTTP_POST_ERROR $ac_have_decl
7570 _ACEOF
7571 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CONNECT_ERROR" "ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" "
7572 #include \"curl/curl.h\"
7575 if test "x$ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" = xyes; then :
7576 ac_have_decl=1
7577 else
7578 ac_have_decl=0
7581 cat >>confdefs.h <<_ACEOF
7582 #define HAVE_DECL_CURLE_SSL_CONNECT_ERROR $ac_have_decl
7583 _ACEOF
7584 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_DOWNLOAD_RESUME" "ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" "
7585 #include \"curl/curl.h\"
7588 if test "x$ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" = xyes; then :
7589 ac_have_decl=1
7590 else
7591 ac_have_decl=0
7594 cat >>confdefs.h <<_ACEOF
7595 #define HAVE_DECL_CURLE_BAD_DOWNLOAD_RESUME $ac_have_decl
7596 _ACEOF
7597 ac_fn_c_check_decl "$LINENO" "CURLE_FILE_COULDNT_READ_FILE" "ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" "
7598 #include \"curl/curl.h\"
7601 if test "x$ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" = xyes; then :
7602 ac_have_decl=1
7603 else
7604 ac_have_decl=0
7607 cat >>confdefs.h <<_ACEOF
7608 #define HAVE_DECL_CURLE_FILE_COULDNT_READ_FILE $ac_have_decl
7609 _ACEOF
7610 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_CANNOT_BIND" "ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" "
7611 #include \"curl/curl.h\"
7614 if test "x$ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" = xyes; then :
7615 ac_have_decl=1
7616 else
7617 ac_have_decl=0
7620 cat >>confdefs.h <<_ACEOF
7621 #define HAVE_DECL_CURLE_LDAP_CANNOT_BIND $ac_have_decl
7622 _ACEOF
7623 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_SEARCH_FAILED" "ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" "
7624 #include \"curl/curl.h\"
7627 if test "x$ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" = xyes; then :
7628 ac_have_decl=1
7629 else
7630 ac_have_decl=0
7633 cat >>confdefs.h <<_ACEOF
7634 #define HAVE_DECL_CURLE_LDAP_SEARCH_FAILED $ac_have_decl
7635 _ACEOF
7636 ac_fn_c_check_decl "$LINENO" "CURLE_LIBRARY_NOT_FOUND" "ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" "
7637 #include \"curl/curl.h\"
7640 if test "x$ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" = xyes; then :
7641 ac_have_decl=1
7642 else
7643 ac_have_decl=0
7646 cat >>confdefs.h <<_ACEOF
7647 #define HAVE_DECL_CURLE_LIBRARY_NOT_FOUND $ac_have_decl
7648 _ACEOF
7649 ac_fn_c_check_decl "$LINENO" "CURLE_FUNCTION_NOT_FOUND" "ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" "
7650 #include \"curl/curl.h\"
7653 if test "x$ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" = xyes; then :
7654 ac_have_decl=1
7655 else
7656 ac_have_decl=0
7659 cat >>confdefs.h <<_ACEOF
7660 #define HAVE_DECL_CURLE_FUNCTION_NOT_FOUND $ac_have_decl
7661 _ACEOF
7662 ac_fn_c_check_decl "$LINENO" "CURLE_ABORTED_BY_CALLBACK" "ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" "
7663 #include \"curl/curl.h\"
7666 if test "x$ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" = xyes; then :
7667 ac_have_decl=1
7668 else
7669 ac_have_decl=0
7672 cat >>confdefs.h <<_ACEOF
7673 #define HAVE_DECL_CURLE_ABORTED_BY_CALLBACK $ac_have_decl
7674 _ACEOF
7675 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_FUNCTION_ARGUMENT" "ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" "
7676 #include \"curl/curl.h\"
7679 if test "x$ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" = xyes; then :
7680 ac_have_decl=1
7681 else
7682 ac_have_decl=0
7685 cat >>confdefs.h <<_ACEOF
7686 #define HAVE_DECL_CURLE_BAD_FUNCTION_ARGUMENT $ac_have_decl
7687 _ACEOF
7688 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_CALLING_ORDER" "ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" "
7689 #include \"curl/curl.h\"
7692 if test "x$ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" = xyes; then :
7693 ac_have_decl=1
7694 else
7695 ac_have_decl=0
7698 cat >>confdefs.h <<_ACEOF
7699 #define HAVE_DECL_CURLE_BAD_CALLING_ORDER $ac_have_decl
7700 _ACEOF
7701 ac_fn_c_check_decl "$LINENO" "CURLE_INTERFACE_FAILED" "ac_cv_have_decl_CURLE_INTERFACE_FAILED" "
7702 #include \"curl/curl.h\"
7705 if test "x$ac_cv_have_decl_CURLE_INTERFACE_FAILED" = xyes; then :
7706 ac_have_decl=1
7707 else
7708 ac_have_decl=0
7711 cat >>confdefs.h <<_ACEOF
7712 #define HAVE_DECL_CURLE_INTERFACE_FAILED $ac_have_decl
7713 _ACEOF
7714 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_PASSWORD_ENTERED" "ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" "
7715 #include \"curl/curl.h\"
7718 if test "x$ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" = xyes; then :
7719 ac_have_decl=1
7720 else
7721 ac_have_decl=0
7724 cat >>confdefs.h <<_ACEOF
7725 #define HAVE_DECL_CURLE_BAD_PASSWORD_ENTERED $ac_have_decl
7726 _ACEOF
7727 ac_fn_c_check_decl "$LINENO" "CURLE_TOO_MANY_REDIRECTS" "ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" "
7728 #include \"curl/curl.h\"
7731 if test "x$ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" = xyes; then :
7732 ac_have_decl=1
7733 else
7734 ac_have_decl=0
7737 cat >>confdefs.h <<_ACEOF
7738 #define HAVE_DECL_CURLE_TOO_MANY_REDIRECTS $ac_have_decl
7739 _ACEOF
7740 ac_fn_c_check_decl "$LINENO" "CURLE_UNKNOWN_TELNET_OPTION" "ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" "
7741 #include \"curl/curl.h\"
7744 if test "x$ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" = xyes; then :
7745 ac_have_decl=1
7746 else
7747 ac_have_decl=0
7750 cat >>confdefs.h <<_ACEOF
7751 #define HAVE_DECL_CURLE_UNKNOWN_TELNET_OPTION $ac_have_decl
7752 _ACEOF
7753 ac_fn_c_check_decl "$LINENO" "CURLE_TELNET_OPTION_SYNTAX" "ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" "
7754 #include \"curl/curl.h\"
7757 if test "x$ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" = xyes; then :
7758 ac_have_decl=1
7759 else
7760 ac_have_decl=0
7763 cat >>confdefs.h <<_ACEOF
7764 #define HAVE_DECL_CURLE_TELNET_OPTION_SYNTAX $ac_have_decl
7765 _ACEOF
7766 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_PEER_CERTIFICATE" "ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" "
7767 #include \"curl/curl.h\"
7770 if test "x$ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" = xyes; then :
7771 ac_have_decl=1
7772 else
7773 ac_have_decl=0
7776 cat >>confdefs.h <<_ACEOF
7777 #define HAVE_DECL_CURLE_SSL_PEER_CERTIFICATE $ac_have_decl
7778 _ACEOF
7779 ac_fn_c_check_decl "$LINENO" "CURLE_GOT_NOTHING" "ac_cv_have_decl_CURLE_GOT_NOTHING" "
7780 #include \"curl/curl.h\"
7783 if test "x$ac_cv_have_decl_CURLE_GOT_NOTHING" = xyes; then :
7784 ac_have_decl=1
7785 else
7786 ac_have_decl=0
7789 cat >>confdefs.h <<_ACEOF
7790 #define HAVE_DECL_CURLE_GOT_NOTHING $ac_have_decl
7791 _ACEOF
7792 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_NOTFOUND" "ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" "
7793 #include \"curl/curl.h\"
7796 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" = xyes; then :
7797 ac_have_decl=1
7798 else
7799 ac_have_decl=0
7802 cat >>confdefs.h <<_ACEOF
7803 #define HAVE_DECL_CURLE_SSL_ENGINE_NOTFOUND $ac_have_decl
7804 _ACEOF
7805 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_SETFAILED" "ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" "
7806 #include \"curl/curl.h\"
7809 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" = xyes; then :
7810 ac_have_decl=1
7811 else
7812 ac_have_decl=0
7815 cat >>confdefs.h <<_ACEOF
7816 #define HAVE_DECL_CURLE_SSL_ENGINE_SETFAILED $ac_have_decl
7817 _ACEOF
7818 ac_fn_c_check_decl "$LINENO" "CURLE_SEND_ERROR" "ac_cv_have_decl_CURLE_SEND_ERROR" "
7819 #include \"curl/curl.h\"
7822 if test "x$ac_cv_have_decl_CURLE_SEND_ERROR" = xyes; then :
7823 ac_have_decl=1
7824 else
7825 ac_have_decl=0
7828 cat >>confdefs.h <<_ACEOF
7829 #define HAVE_DECL_CURLE_SEND_ERROR $ac_have_decl
7830 _ACEOF
7831 ac_fn_c_check_decl "$LINENO" "CURLE_RECV_ERROR" "ac_cv_have_decl_CURLE_RECV_ERROR" "
7832 #include \"curl/curl.h\"
7835 if test "x$ac_cv_have_decl_CURLE_RECV_ERROR" = xyes; then :
7836 ac_have_decl=1
7837 else
7838 ac_have_decl=0
7841 cat >>confdefs.h <<_ACEOF
7842 #define HAVE_DECL_CURLE_RECV_ERROR $ac_have_decl
7843 _ACEOF
7844 ac_fn_c_check_decl "$LINENO" "CURLE_SHARE_IN_USE" "ac_cv_have_decl_CURLE_SHARE_IN_USE" "
7845 #include \"curl/curl.h\"
7848 if test "x$ac_cv_have_decl_CURLE_SHARE_IN_USE" = xyes; then :
7849 ac_have_decl=1
7850 else
7851 ac_have_decl=0
7854 cat >>confdefs.h <<_ACEOF
7855 #define HAVE_DECL_CURLE_SHARE_IN_USE $ac_have_decl
7856 _ACEOF
7857 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CERTPROBLEM" "ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" "
7858 #include \"curl/curl.h\"
7861 if test "x$ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" = 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_CERTPROBLEM $ac_have_decl
7869 _ACEOF
7870 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CIPHER" "ac_cv_have_decl_CURLE_SSL_CIPHER" "
7871 #include \"curl/curl.h\"
7874 if test "x$ac_cv_have_decl_CURLE_SSL_CIPHER" = 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_CIPHER $ac_have_decl
7882 _ACEOF
7883 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CACERT" "ac_cv_have_decl_CURLE_SSL_CACERT" "
7884 #include \"curl/curl.h\"
7887 if test "x$ac_cv_have_decl_CURLE_SSL_CACERT" = xyes; then :
7888 ac_have_decl=1
7889 else
7890 ac_have_decl=0
7893 cat >>confdefs.h <<_ACEOF
7894 #define HAVE_DECL_CURLE_SSL_CACERT $ac_have_decl
7895 _ACEOF
7896 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_CONTENT_ENCODING" "ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" "
7897 #include \"curl/curl.h\"
7900 if test "x$ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" = xyes; then :
7901 ac_have_decl=1
7902 else
7903 ac_have_decl=0
7906 cat >>confdefs.h <<_ACEOF
7907 #define HAVE_DECL_CURLE_BAD_CONTENT_ENCODING $ac_have_decl
7908 _ACEOF
7909 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_INVALID_URL" "ac_cv_have_decl_CURLE_LDAP_INVALID_URL" "
7910 #include \"curl/curl.h\"
7913 if test "x$ac_cv_have_decl_CURLE_LDAP_INVALID_URL" = xyes; then :
7914 ac_have_decl=1
7915 else
7916 ac_have_decl=0
7919 cat >>confdefs.h <<_ACEOF
7920 #define HAVE_DECL_CURLE_LDAP_INVALID_URL $ac_have_decl
7921 _ACEOF
7922 ac_fn_c_check_decl "$LINENO" "CURLE_FILESIZE_EXCEEDED" "ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" "
7923 #include \"curl/curl.h\"
7926 if test "x$ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" = xyes; then :
7927 ac_have_decl=1
7928 else
7929 ac_have_decl=0
7932 cat >>confdefs.h <<_ACEOF
7933 #define HAVE_DECL_CURLE_FILESIZE_EXCEEDED $ac_have_decl
7934 _ACEOF
7935 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_SSL_FAILED" "ac_cv_have_decl_CURLE_FTP_SSL_FAILED" "
7936 #include \"curl/curl.h\"
7939 if test "x$ac_cv_have_decl_CURLE_FTP_SSL_FAILED" = xyes; then :
7940 ac_have_decl=1
7941 else
7942 ac_have_decl=0
7945 cat >>confdefs.h <<_ACEOF
7946 #define HAVE_DECL_CURLE_FTP_SSL_FAILED $ac_have_decl
7947 _ACEOF
7948 ac_fn_c_check_decl "$LINENO" "CURLE_SEND_FAIL_REWIND" "ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" "
7949 #include \"curl/curl.h\"
7952 if test "x$ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" = xyes; then :
7953 ac_have_decl=1
7954 else
7955 ac_have_decl=0
7958 cat >>confdefs.h <<_ACEOF
7959 #define HAVE_DECL_CURLE_SEND_FAIL_REWIND $ac_have_decl
7960 _ACEOF
7961 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_INITFAILED" "ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" "
7962 #include \"curl/curl.h\"
7965 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" = xyes; then :
7966 ac_have_decl=1
7967 else
7968 ac_have_decl=0
7971 cat >>confdefs.h <<_ACEOF
7972 #define HAVE_DECL_CURLE_SSL_ENGINE_INITFAILED $ac_have_decl
7973 _ACEOF
7974 ac_fn_c_check_decl "$LINENO" "CURLE_LOGIN_DENIED" "ac_cv_have_decl_CURLE_LOGIN_DENIED" "
7975 #include \"curl/curl.h\"
7978 if test "x$ac_cv_have_decl_CURLE_LOGIN_DENIED" = xyes; then :
7979 ac_have_decl=1
7980 else
7981 ac_have_decl=0
7984 cat >>confdefs.h <<_ACEOF
7985 #define HAVE_DECL_CURLE_LOGIN_DENIED $ac_have_decl
7986 _ACEOF
7987 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_NOTFOUND" "ac_cv_have_decl_CURLE_TFTP_NOTFOUND" "
7988 #include \"curl/curl.h\"
7991 if test "x$ac_cv_have_decl_CURLE_TFTP_NOTFOUND" = xyes; then :
7992 ac_have_decl=1
7993 else
7994 ac_have_decl=0
7997 cat >>confdefs.h <<_ACEOF
7998 #define HAVE_DECL_CURLE_TFTP_NOTFOUND $ac_have_decl
7999 _ACEOF
8000 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_PERM" "ac_cv_have_decl_CURLE_TFTP_PERM" "
8001 #include \"curl/curl.h\"
8004 if test "x$ac_cv_have_decl_CURLE_TFTP_PERM" = xyes; then :
8005 ac_have_decl=1
8006 else
8007 ac_have_decl=0
8010 cat >>confdefs.h <<_ACEOF
8011 #define HAVE_DECL_CURLE_TFTP_PERM $ac_have_decl
8012 _ACEOF
8013 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_DISK_FULL" "ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" "
8014 #include \"curl/curl.h\"
8017 if test "x$ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" = xyes; then :
8018 ac_have_decl=1
8019 else
8020 ac_have_decl=0
8023 cat >>confdefs.h <<_ACEOF
8024 #define HAVE_DECL_CURLE_REMOTE_DISK_FULL $ac_have_decl
8025 _ACEOF
8026 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_ILLEGAL" "ac_cv_have_decl_CURLE_TFTP_ILLEGAL" "
8027 #include \"curl/curl.h\"
8030 if test "x$ac_cv_have_decl_CURLE_TFTP_ILLEGAL" = xyes; then :
8031 ac_have_decl=1
8032 else
8033 ac_have_decl=0
8036 cat >>confdefs.h <<_ACEOF
8037 #define HAVE_DECL_CURLE_TFTP_ILLEGAL $ac_have_decl
8038 _ACEOF
8039 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_UNKNOWNID" "ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" "
8040 #include \"curl/curl.h\"
8043 if test "x$ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" = xyes; then :
8044 ac_have_decl=1
8045 else
8046 ac_have_decl=0
8049 cat >>confdefs.h <<_ACEOF
8050 #define HAVE_DECL_CURLE_TFTP_UNKNOWNID $ac_have_decl
8051 _ACEOF
8052 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_FILE_EXISTS" "ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" "
8053 #include \"curl/curl.h\"
8056 if test "x$ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" = xyes; then :
8057 ac_have_decl=1
8058 else
8059 ac_have_decl=0
8062 cat >>confdefs.h <<_ACEOF
8063 #define HAVE_DECL_CURLE_REMOTE_FILE_EXISTS $ac_have_decl
8064 _ACEOF
8065 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_NOSUCHUSER" "ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" "
8066 #include \"curl/curl.h\"
8069 if test "x$ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" = 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_NOSUCHUSER $ac_have_decl
8077 _ACEOF
8078 ac_fn_c_check_decl "$LINENO" "CURLE_CONV_FAILED" "ac_cv_have_decl_CURLE_CONV_FAILED" "
8079 #include \"curl/curl.h\"
8082 if test "x$ac_cv_have_decl_CURLE_CONV_FAILED" = xyes; then :
8083 ac_have_decl=1
8084 else
8085 ac_have_decl=0
8088 cat >>confdefs.h <<_ACEOF
8089 #define HAVE_DECL_CURLE_CONV_FAILED $ac_have_decl
8090 _ACEOF
8091 ac_fn_c_check_decl "$LINENO" "CURLE_CONV_REQD" "ac_cv_have_decl_CURLE_CONV_REQD" "
8092 #include \"curl/curl.h\"
8095 if test "x$ac_cv_have_decl_CURLE_CONV_REQD" = xyes; then :
8096 ac_have_decl=1
8097 else
8098 ac_have_decl=0
8101 cat >>confdefs.h <<_ACEOF
8102 #define HAVE_DECL_CURLE_CONV_REQD $ac_have_decl
8103 _ACEOF
8104 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CACERT_BADFILE" "ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" "
8105 #include \"curl/curl.h\"
8108 if test "x$ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" = xyes; then :
8109 ac_have_decl=1
8110 else
8111 ac_have_decl=0
8114 cat >>confdefs.h <<_ACEOF
8115 #define HAVE_DECL_CURLE_SSL_CACERT_BADFILE $ac_have_decl
8116 _ACEOF
8117 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_FILE_NOT_FOUND" "ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" "
8118 #include \"curl/curl.h\"
8121 if test "x$ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" = 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_NOT_FOUND $ac_have_decl
8129 _ACEOF
8130 ac_fn_c_check_decl "$LINENO" "CURLE_SSH" "ac_cv_have_decl_CURLE_SSH" "
8131 #include \"curl/curl.h\"
8134 if test "x$ac_cv_have_decl_CURLE_SSH" = xyes; then :
8135 ac_have_decl=1
8136 else
8137 ac_have_decl=0
8140 cat >>confdefs.h <<_ACEOF
8141 #define HAVE_DECL_CURLE_SSH $ac_have_decl
8142 _ACEOF
8143 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_SHUTDOWN_FAILED" "ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED" "
8144 #include \"curl/curl.h\"
8147 if test "x$ac_cv_have_decl_CURLE_SSL_SHUTDOWN_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_SSL_SHUTDOWN_FAILED $ac_have_decl
8155 _ACEOF
8156 ac_fn_c_check_decl "$LINENO" "CURLE_AGAIN" "ac_cv_have_decl_CURLE_AGAIN" "
8157 #include \"curl/curl.h\"
8160 if test "x$ac_cv_have_decl_CURLE_AGAIN" = xyes; then :
8161 ac_have_decl=1
8162 else
8163 ac_have_decl=0
8166 cat >>confdefs.h <<_ACEOF
8167 #define HAVE_DECL_CURLE_AGAIN $ac_have_decl
8168 _ACEOF
8169 ac_fn_c_check_decl "$LINENO" "CURLMOPT_MAXCONNECTS" "ac_cv_have_decl_CURLMOPT_MAXCONNECTS" "
8170 #include \"curl/curl.h\"
8173 if test "x$ac_cv_have_decl_CURLMOPT_MAXCONNECTS" = xyes; then :
8174 ac_have_decl=1
8175 else
8176 ac_have_decl=0
8179 cat >>confdefs.h <<_ACEOF
8180 #define HAVE_DECL_CURLMOPT_MAXCONNECTS $ac_have_decl
8181 _ACEOF
8182 ac_fn_c_check_decl "$LINENO" "CURLMOPT_PIPELINING" "ac_cv_have_decl_CURLMOPT_PIPELINING" "
8183 #include \"curl/curl.h\"
8186 if test "x$ac_cv_have_decl_CURLMOPT_PIPELINING" = xyes; then :
8187 ac_have_decl=1
8188 else
8189 ac_have_decl=0
8192 cat >>confdefs.h <<_ACEOF
8193 #define HAVE_DECL_CURLMOPT_PIPELINING $ac_have_decl
8194 _ACEOF
8195 ac_fn_c_check_decl "$LINENO" "CURLMOPT_MAX_PIPELINE_LENGTH" "ac_cv_have_decl_CURLMOPT_MAX_PIPELINE_LENGTH" "
8196 #include \"curl/curl.h\"
8199 if test "x$ac_cv_have_decl_CURLMOPT_MAX_PIPELINE_LENGTH" = xyes; then :
8200 ac_have_decl=1
8201 else
8202 ac_have_decl=0
8205 cat >>confdefs.h <<_ACEOF
8206 #define HAVE_DECL_CURLMOPT_MAX_PIPELINE_LENGTH $ac_have_decl
8207 _ACEOF
8208 ac_fn_c_check_decl "$LINENO" "CURLMOPT_MAX_HOST_CONNECTIONS" "ac_cv_have_decl_CURLMOPT_MAX_HOST_CONNECTIONS" "
8209 #include \"curl/curl.h\"
8212 if test "x$ac_cv_have_decl_CURLMOPT_MAX_HOST_CONNECTIONS" = xyes; then :
8213 ac_have_decl=1
8214 else
8215 ac_have_decl=0
8218 cat >>confdefs.h <<_ACEOF
8219 #define HAVE_DECL_CURLMOPT_MAX_HOST_CONNECTIONS $ac_have_decl
8220 _ACEOF
8221 ac_fn_c_check_decl "$LINENO" "CURL_VERSION_TLSAUTH_SRP" "ac_cv_have_decl_CURL_VERSION_TLSAUTH_SRP" "
8222 #include \"curl/curl.h\"
8225 if test "x$ac_cv_have_decl_CURL_VERSION_TLSAUTH_SRP" = xyes; then :
8226 ac_have_decl=1
8227 else
8228 ac_have_decl=0
8231 cat >>confdefs.h <<_ACEOF
8232 #define HAVE_DECL_CURL_VERSION_TLSAUTH_SRP $ac_have_decl
8233 _ACEOF
8234 ac_fn_c_check_decl "$LINENO" "CURL_VERSION_NTLM_WB" "ac_cv_have_decl_CURL_VERSION_NTLM_WB" "
8235 #include \"curl/curl.h\"
8238 if test "x$ac_cv_have_decl_CURL_VERSION_NTLM_WB" = xyes; then :
8239 ac_have_decl=1
8240 else
8241 ac_have_decl=0
8244 cat >>confdefs.h <<_ACEOF
8245 #define HAVE_DECL_CURL_VERSION_NTLM_WB $ac_have_decl
8246 _ACEOF
8249 ac_config_headers="$ac_config_headers config.h"
8251 ac_config_files="$ac_config_files Makefile examples/Makefile"
8254 cat >confcache <<\_ACEOF
8255 # This file is a shell script that caches the results of configure
8256 # tests run on this system so they can be shared between configure
8257 # scripts and configure runs, see configure's option --config-cache.
8258 # It is not useful on other systems. If it contains results you don't
8259 # want to keep, you may remove or edit it.
8261 # config.status only pays attention to the cache file if you give it
8262 # the --recheck option to rerun configure.
8264 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8265 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8266 # following values.
8268 _ACEOF
8270 # The following way of writing the cache mishandles newlines in values,
8271 # but we know of no workaround that is simple, portable, and efficient.
8272 # So, we kill variables containing newlines.
8273 # Ultrix sh set writes to stderr and can't be redirected directly,
8274 # and sets the high bit in the cache file unless we assign to the vars.
8276 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8277 eval ac_val=\$$ac_var
8278 case $ac_val in #(
8279 *${as_nl}*)
8280 case $ac_var in #(
8281 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8282 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8283 esac
8284 case $ac_var in #(
8285 _ | IFS | as_nl) ;; #(
8286 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8287 *) { eval $ac_var=; unset $ac_var;} ;;
8288 esac ;;
8289 esac
8290 done
8292 (set) 2>&1 |
8293 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8294 *${as_nl}ac_space=\ *)
8295 # `set' does not quote correctly, so add quotes: double-quote
8296 # substitution turns \\\\ into \\, and sed turns \\ into \.
8297 sed -n \
8298 "s/'/'\\\\''/g;
8299 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8300 ;; #(
8302 # `set' quotes correctly as required by POSIX, so do not add quotes.
8303 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8305 esac |
8306 sort
8308 sed '
8309 /^ac_cv_env_/b end
8310 t clear
8311 :clear
8312 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8313 t end
8314 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8315 :end' >>confcache
8316 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8317 if test -w "$cache_file"; then
8318 if test "x$cache_file" != "x/dev/null"; then
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8320 $as_echo "$as_me: updating cache $cache_file" >&6;}
8321 if test ! -f "$cache_file" || test -h "$cache_file"; then
8322 cat confcache >"$cache_file"
8323 else
8324 case $cache_file in #(
8325 */* | ?:*)
8326 mv -f confcache "$cache_file"$$ &&
8327 mv -f "$cache_file"$$ "$cache_file" ;; #(
8329 mv -f confcache "$cache_file" ;;
8330 esac
8333 else
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8335 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8338 rm -f confcache
8340 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8341 # Let make expand exec_prefix.
8342 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8344 DEFS=-DHAVE_CONFIG_H
8346 ac_libobjs=
8347 ac_ltlibobjs=
8349 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8350 # 1. Remove the extension, and $U if already installed.
8351 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8352 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8353 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8354 # will be set to the directory where LIBOBJS objects are built.
8355 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8356 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8357 done
8358 LIBOBJS=$ac_libobjs
8360 LTLIBOBJS=$ac_ltlibobjs
8364 : "${CONFIG_STATUS=./config.status}"
8365 ac_write_fail=0
8366 ac_clean_files_save=$ac_clean_files
8367 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8369 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8370 as_write_fail=0
8371 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8372 #! $SHELL
8373 # Generated by $as_me.
8374 # Run this file to recreate the current configuration.
8375 # Compiler output produced by configure, useful for debugging
8376 # configure, is in config.log if it exists.
8378 debug=false
8379 ac_cs_recheck=false
8380 ac_cs_silent=false
8382 SHELL=\${CONFIG_SHELL-$SHELL}
8383 export SHELL
8384 _ASEOF
8385 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8386 ## -------------------- ##
8387 ## M4sh Initialization. ##
8388 ## -------------------- ##
8390 # Be more Bourne compatible
8391 DUALCASE=1; export DUALCASE # for MKS sh
8392 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8393 emulate sh
8394 NULLCMD=:
8395 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8396 # is contrary to our usage. Disable this feature.
8397 alias -g '${1+"$@"}'='"$@"'
8398 setopt NO_GLOB_SUBST
8399 else
8400 case `(set -o) 2>/dev/null` in #(
8401 *posix*) :
8402 set -o posix ;; #(
8403 *) :
8405 esac
8409 as_nl='
8411 export as_nl
8412 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8413 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8414 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8415 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8416 # Prefer a ksh shell builtin over an external printf program on Solaris,
8417 # but without wasting forks for bash or zsh.
8418 if test -z "$BASH_VERSION$ZSH_VERSION" \
8419 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8420 as_echo='print -r --'
8421 as_echo_n='print -rn --'
8422 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8423 as_echo='printf %s\n'
8424 as_echo_n='printf %s'
8425 else
8426 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8427 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8428 as_echo_n='/usr/ucb/echo -n'
8429 else
8430 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8431 as_echo_n_body='eval
8432 arg=$1;
8433 case $arg in #(
8434 *"$as_nl"*)
8435 expr "X$arg" : "X\\(.*\\)$as_nl";
8436 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8437 esac;
8438 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8440 export as_echo_n_body
8441 as_echo_n='sh -c $as_echo_n_body as_echo'
8443 export as_echo_body
8444 as_echo='sh -c $as_echo_body as_echo'
8447 # The user is always right.
8448 if test "${PATH_SEPARATOR+set}" != set; then
8449 PATH_SEPARATOR=:
8450 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8451 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8452 PATH_SEPARATOR=';'
8457 # IFS
8458 # We need space, tab and new line, in precisely that order. Quoting is
8459 # there to prevent editors from complaining about space-tab.
8460 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8461 # splitting by setting IFS to empty value.)
8462 IFS=" "" $as_nl"
8464 # Find who we are. Look in the path if we contain no directory separator.
8465 as_myself=
8466 case $0 in #((
8467 *[\\/]* ) as_myself=$0 ;;
8468 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8469 for as_dir in $PATH
8471 IFS=$as_save_IFS
8472 test -z "$as_dir" && as_dir=.
8473 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8474 done
8475 IFS=$as_save_IFS
8478 esac
8479 # We did not find ourselves, most probably we were run as `sh COMMAND'
8480 # in which case we are not to be found in the path.
8481 if test "x$as_myself" = x; then
8482 as_myself=$0
8484 if test ! -f "$as_myself"; then
8485 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8486 exit 1
8489 # Unset variables that we do not need and which cause bugs (e.g. in
8490 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8491 # suppresses any "Segmentation fault" message there. '((' could
8492 # trigger a bug in pdksh 5.2.14.
8493 for as_var in BASH_ENV ENV MAIL MAILPATH
8494 do eval test x\${$as_var+set} = xset \
8495 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8496 done
8497 PS1='$ '
8498 PS2='> '
8499 PS4='+ '
8501 # NLS nuisances.
8502 LC_ALL=C
8503 export LC_ALL
8504 LANGUAGE=C
8505 export LANGUAGE
8507 # CDPATH.
8508 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8511 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8512 # ----------------------------------------
8513 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8514 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8515 # script with STATUS, using 1 if that was 0.
8516 as_fn_error ()
8518 as_status=$1; test $as_status -eq 0 && as_status=1
8519 if test "$4"; then
8520 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8521 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8523 $as_echo "$as_me: error: $2" >&2
8524 as_fn_exit $as_status
8525 } # as_fn_error
8528 # as_fn_set_status STATUS
8529 # -----------------------
8530 # Set $? to STATUS, without forking.
8531 as_fn_set_status ()
8533 return $1
8534 } # as_fn_set_status
8536 # as_fn_exit STATUS
8537 # -----------------
8538 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8539 as_fn_exit ()
8541 set +e
8542 as_fn_set_status $1
8543 exit $1
8544 } # as_fn_exit
8546 # as_fn_unset VAR
8547 # ---------------
8548 # Portably unset VAR.
8549 as_fn_unset ()
8551 { eval $1=; unset $1;}
8553 as_unset=as_fn_unset
8554 # as_fn_append VAR VALUE
8555 # ----------------------
8556 # Append the text in VALUE to the end of the definition contained in VAR. Take
8557 # advantage of any shell optimizations that allow amortized linear growth over
8558 # repeated appends, instead of the typical quadratic growth present in naive
8559 # implementations.
8560 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8561 eval 'as_fn_append ()
8563 eval $1+=\$2
8565 else
8566 as_fn_append ()
8568 eval $1=\$$1\$2
8570 fi # as_fn_append
8572 # as_fn_arith ARG...
8573 # ------------------
8574 # Perform arithmetic evaluation on the ARGs, and store the result in the
8575 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8576 # must be portable across $(()) and expr.
8577 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8578 eval 'as_fn_arith ()
8580 as_val=$(( $* ))
8582 else
8583 as_fn_arith ()
8585 as_val=`expr "$@" || test $? -eq 1`
8587 fi # as_fn_arith
8590 if expr a : '\(a\)' >/dev/null 2>&1 &&
8591 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8592 as_expr=expr
8593 else
8594 as_expr=false
8597 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8598 as_basename=basename
8599 else
8600 as_basename=false
8603 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8604 as_dirname=dirname
8605 else
8606 as_dirname=false
8609 as_me=`$as_basename -- "$0" ||
8610 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8611 X"$0" : 'X\(//\)$' \| \
8612 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8613 $as_echo X/"$0" |
8614 sed '/^.*\/\([^/][^/]*\)\/*$/{
8615 s//\1/
8618 /^X\/\(\/\/\)$/{
8619 s//\1/
8622 /^X\/\(\/\).*/{
8623 s//\1/
8626 s/.*/./; q'`
8628 # Avoid depending upon Character Ranges.
8629 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8630 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8631 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8632 as_cr_digits='0123456789'
8633 as_cr_alnum=$as_cr_Letters$as_cr_digits
8635 ECHO_C= ECHO_N= ECHO_T=
8636 case `echo -n x` in #(((((
8637 -n*)
8638 case `echo 'xy\c'` in
8639 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8640 xy) ECHO_C='\c';;
8641 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8642 ECHO_T=' ';;
8643 esac;;
8645 ECHO_N='-n';;
8646 esac
8648 rm -f conf$$ conf$$.exe conf$$.file
8649 if test -d conf$$.dir; then
8650 rm -f conf$$.dir/conf$$.file
8651 else
8652 rm -f conf$$.dir
8653 mkdir conf$$.dir 2>/dev/null
8655 if (echo >conf$$.file) 2>/dev/null; then
8656 if ln -s conf$$.file conf$$ 2>/dev/null; then
8657 as_ln_s='ln -s'
8658 # ... but there are two gotchas:
8659 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8660 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8661 # In both cases, we have to default to `cp -pR'.
8662 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8663 as_ln_s='cp -pR'
8664 elif ln conf$$.file conf$$ 2>/dev/null; then
8665 as_ln_s=ln
8666 else
8667 as_ln_s='cp -pR'
8669 else
8670 as_ln_s='cp -pR'
8672 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8673 rmdir conf$$.dir 2>/dev/null
8676 # as_fn_mkdir_p
8677 # -------------
8678 # Create "$as_dir" as a directory, including parents if necessary.
8679 as_fn_mkdir_p ()
8682 case $as_dir in #(
8683 -*) as_dir=./$as_dir;;
8684 esac
8685 test -d "$as_dir" || eval $as_mkdir_p || {
8686 as_dirs=
8687 while :; do
8688 case $as_dir in #(
8689 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8690 *) as_qdir=$as_dir;;
8691 esac
8692 as_dirs="'$as_qdir' $as_dirs"
8693 as_dir=`$as_dirname -- "$as_dir" ||
8694 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8695 X"$as_dir" : 'X\(//\)[^/]' \| \
8696 X"$as_dir" : 'X\(//\)$' \| \
8697 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8698 $as_echo X"$as_dir" |
8699 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8700 s//\1/
8703 /^X\(\/\/\)[^/].*/{
8704 s//\1/
8707 /^X\(\/\/\)$/{
8708 s//\1/
8711 /^X\(\/\).*/{
8712 s//\1/
8715 s/.*/./; q'`
8716 test -d "$as_dir" && break
8717 done
8718 test -z "$as_dirs" || eval "mkdir $as_dirs"
8719 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8722 } # as_fn_mkdir_p
8723 if mkdir -p . 2>/dev/null; then
8724 as_mkdir_p='mkdir -p "$as_dir"'
8725 else
8726 test -d ./-p && rmdir ./-p
8727 as_mkdir_p=false
8731 # as_fn_executable_p FILE
8732 # -----------------------
8733 # Test if FILE is an executable regular file.
8734 as_fn_executable_p ()
8736 test -f "$1" && test -x "$1"
8737 } # as_fn_executable_p
8738 as_test_x='test -x'
8739 as_executable_p=as_fn_executable_p
8741 # Sed expression to map a string onto a valid CPP name.
8742 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8744 # Sed expression to map a string onto a valid variable name.
8745 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8748 exec 6>&1
8749 ## ----------------------------------- ##
8750 ## Main body of $CONFIG_STATUS script. ##
8751 ## ----------------------------------- ##
8752 _ASEOF
8753 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8755 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8756 # Save the log message, to keep $0 and so on meaningful, and to
8757 # report actual input values of CONFIG_FILES etc. instead of their
8758 # values after options handling.
8759 ac_log="
8760 This file was extended by ocurl $as_me 0.7.7, which was
8761 generated by GNU Autoconf 2.69. Invocation command line was
8763 CONFIG_FILES = $CONFIG_FILES
8764 CONFIG_HEADERS = $CONFIG_HEADERS
8765 CONFIG_LINKS = $CONFIG_LINKS
8766 CONFIG_COMMANDS = $CONFIG_COMMANDS
8767 $ $0 $@
8769 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8772 _ACEOF
8774 case $ac_config_files in *"
8775 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8776 esac
8778 case $ac_config_headers in *"
8779 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8780 esac
8783 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8784 # Files that config.status was made for.
8785 config_files="$ac_config_files"
8786 config_headers="$ac_config_headers"
8788 _ACEOF
8790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8791 ac_cs_usage="\
8792 \`$as_me' instantiates files and other configuration actions
8793 from templates according to the current configuration. Unless the files
8794 and actions are specified as TAGs, all are instantiated by default.
8796 Usage: $0 [OPTION]... [TAG]...
8798 -h, --help print this help, then exit
8799 -V, --version print version number and configuration settings, then exit
8800 --config print configuration, then exit
8801 -q, --quiet, --silent
8802 do not print progress messages
8803 -d, --debug don't remove temporary files
8804 --recheck update $as_me by reconfiguring in the same conditions
8805 --file=FILE[:TEMPLATE]
8806 instantiate the configuration file FILE
8807 --header=FILE[:TEMPLATE]
8808 instantiate the configuration header FILE
8810 Configuration files:
8811 $config_files
8813 Configuration headers:
8814 $config_headers
8816 Report bugs to the package provider."
8818 _ACEOF
8819 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8820 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8821 ac_cs_version="\\
8822 ocurl config.status 0.7.7
8823 configured by $0, generated by GNU Autoconf 2.69,
8824 with options \\"\$ac_cs_config\\"
8826 Copyright (C) 2012 Free Software Foundation, Inc.
8827 This config.status script is free software; the Free Software Foundation
8828 gives unlimited permission to copy, distribute and modify it."
8830 ac_pwd='$ac_pwd'
8831 srcdir='$srcdir'
8832 INSTALL='$INSTALL'
8833 test -n "\$AWK" || AWK=awk
8834 _ACEOF
8836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8837 # The default lists apply if the user does not specify any file.
8838 ac_need_defaults=:
8839 while test $# != 0
8841 case $1 in
8842 --*=?*)
8843 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8844 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8845 ac_shift=:
8847 --*=)
8848 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8849 ac_optarg=
8850 ac_shift=:
8853 ac_option=$1
8854 ac_optarg=$2
8855 ac_shift=shift
8857 esac
8859 case $ac_option in
8860 # Handling of the options.
8861 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8862 ac_cs_recheck=: ;;
8863 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8864 $as_echo "$ac_cs_version"; exit ;;
8865 --config | --confi | --conf | --con | --co | --c )
8866 $as_echo "$ac_cs_config"; exit ;;
8867 --debug | --debu | --deb | --de | --d | -d )
8868 debug=: ;;
8869 --file | --fil | --fi | --f )
8870 $ac_shift
8871 case $ac_optarg in
8872 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8873 '') as_fn_error $? "missing file argument" ;;
8874 esac
8875 as_fn_append CONFIG_FILES " '$ac_optarg'"
8876 ac_need_defaults=false;;
8877 --header | --heade | --head | --hea )
8878 $ac_shift
8879 case $ac_optarg in
8880 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8881 esac
8882 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8883 ac_need_defaults=false;;
8884 --he | --h)
8885 # Conflict between --help and --header
8886 as_fn_error $? "ambiguous option: \`$1'
8887 Try \`$0 --help' for more information.";;
8888 --help | --hel | -h )
8889 $as_echo "$ac_cs_usage"; exit ;;
8890 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8891 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8892 ac_cs_silent=: ;;
8894 # This is an error.
8895 -*) as_fn_error $? "unrecognized option: \`$1'
8896 Try \`$0 --help' for more information." ;;
8898 *) as_fn_append ac_config_targets " $1"
8899 ac_need_defaults=false ;;
8901 esac
8902 shift
8903 done
8905 ac_configure_extra_args=
8907 if $ac_cs_silent; then
8908 exec 6>/dev/null
8909 ac_configure_extra_args="$ac_configure_extra_args --silent"
8912 _ACEOF
8913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8914 if \$ac_cs_recheck; then
8915 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8916 shift
8917 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8918 CONFIG_SHELL='$SHELL'
8919 export CONFIG_SHELL
8920 exec "\$@"
8923 _ACEOF
8924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8925 exec 5>>config.log
8927 echo
8928 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8929 ## Running $as_me. ##
8930 _ASBOX
8931 $as_echo "$ac_log"
8932 } >&5
8934 _ACEOF
8935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8936 _ACEOF
8938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8940 # Handling of arguments.
8941 for ac_config_target in $ac_config_targets
8943 case $ac_config_target in
8944 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8945 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8946 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
8948 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8949 esac
8950 done
8953 # If the user did not use the arguments to specify the items to instantiate,
8954 # then the envvar interface is used. Set only those that are not.
8955 # We use the long form for the default assignment because of an extremely
8956 # bizarre bug on SunOS 4.1.3.
8957 if $ac_need_defaults; then
8958 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8959 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8962 # Have a temporary directory for convenience. Make it in the build tree
8963 # simply because there is no reason against having it here, and in addition,
8964 # creating and moving files from /tmp can sometimes cause problems.
8965 # Hook for its removal unless debugging.
8966 # Note that there is a small window in which the directory will not be cleaned:
8967 # after its creation but before its name has been assigned to `$tmp'.
8968 $debug ||
8970 tmp= ac_tmp=
8971 trap 'exit_status=$?
8972 : "${ac_tmp:=$tmp}"
8973 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8975 trap 'as_fn_exit 1' 1 2 13 15
8977 # Create a (secure) tmp directory for tmp files.
8980 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8981 test -d "$tmp"
8982 } ||
8984 tmp=./conf$$-$RANDOM
8985 (umask 077 && mkdir "$tmp")
8986 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8987 ac_tmp=$tmp
8989 # Set up the scripts for CONFIG_FILES section.
8990 # No need to generate them if there are no CONFIG_FILES.
8991 # This happens for instance with `./config.status config.h'.
8992 if test -n "$CONFIG_FILES"; then
8995 ac_cr=`echo X | tr X '\015'`
8996 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8997 # But we know of no other shell where ac_cr would be empty at this
8998 # point, so we can use a bashism as a fallback.
8999 if test "x$ac_cr" = x; then
9000 eval ac_cr=\$\'\\r\'
9002 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9003 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9004 ac_cs_awk_cr='\\r'
9005 else
9006 ac_cs_awk_cr=$ac_cr
9009 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9010 _ACEOF
9014 echo "cat >conf$$subs.awk <<_ACEOF" &&
9015 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9016 echo "_ACEOF"
9017 } >conf$$subs.sh ||
9018 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9019 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9020 ac_delim='%!_!# '
9021 for ac_last_try in false false false false false :; do
9022 . ./conf$$subs.sh ||
9023 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9025 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9026 if test $ac_delim_n = $ac_delim_num; then
9027 break
9028 elif $ac_last_try; then
9029 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9030 else
9031 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9033 done
9034 rm -f conf$$subs.sh
9036 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9037 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9038 _ACEOF
9039 sed -n '
9041 s/^/S["/; s/!.*/"]=/
9044 s/^[^!]*!//
9045 :repl
9046 t repl
9047 s/'"$ac_delim"'$//
9048 t delim
9051 s/\(.\{148\}\)..*/\1/
9052 t more1
9053 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9056 b repl
9057 :more1
9058 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9061 s/.\{148\}//
9062 t nl
9063 :delim
9065 s/\(.\{148\}\)..*/\1/
9066 t more2
9067 s/["\\]/\\&/g; s/^/"/; s/$/"/
9070 :more2
9071 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9074 s/.\{148\}//
9075 t delim
9076 ' <conf$$subs.awk | sed '
9077 /^[^""]/{
9079 s/\n//
9081 ' >>$CONFIG_STATUS || ac_write_fail=1
9082 rm -f conf$$subs.awk
9083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9084 _ACAWK
9085 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9086 for (key in S) S_is_set[key] = 1
9087 FS = "\a"
9091 line = $ 0
9092 nfields = split(line, field, "@")
9093 substed = 0
9094 len = length(field[1])
9095 for (i = 2; i < nfields; i++) {
9096 key = field[i]
9097 keylen = length(key)
9098 if (S_is_set[key]) {
9099 value = S[key]
9100 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9101 len += length(value) + length(field[++i])
9102 substed = 1
9103 } else
9104 len += 1 + keylen
9107 print line
9110 _ACAWK
9111 _ACEOF
9112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9113 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9114 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9115 else
9117 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9118 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9119 _ACEOF
9121 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9122 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9123 # trailing colons and then remove the whole line if VPATH becomes empty
9124 # (actually we leave an empty line to preserve line numbers).
9125 if test "x$srcdir" = x.; then
9126 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
9128 s///
9129 s/^/:/
9130 s/[ ]*$/:/
9131 s/:\$(srcdir):/:/g
9132 s/:\${srcdir}:/:/g
9133 s/:@srcdir@:/:/g
9134 s/^:*//
9135 s/:*$//
9137 s/\(=[ ]*\).*/\1/
9139 s/\n//
9140 s/^[^=]*=[ ]*$//
9144 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9145 fi # test -n "$CONFIG_FILES"
9147 # Set up the scripts for CONFIG_HEADERS section.
9148 # No need to generate them if there are no CONFIG_HEADERS.
9149 # This happens for instance with `./config.status Makefile'.
9150 if test -n "$CONFIG_HEADERS"; then
9151 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9152 BEGIN {
9153 _ACEOF
9155 # Transform confdefs.h into an awk script `defines.awk', embedded as
9156 # here-document in config.status, that substitutes the proper values into
9157 # config.h.in to produce config.h.
9159 # Create a delimiter string that does not exist in confdefs.h, to ease
9160 # handling of long lines.
9161 ac_delim='%!_!# '
9162 for ac_last_try in false false :; do
9163 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9164 if test -z "$ac_tt"; then
9165 break
9166 elif $ac_last_try; then
9167 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9168 else
9169 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9171 done
9173 # For the awk script, D is an array of macro values keyed by name,
9174 # likewise P contains macro parameters if any. Preserve backslash
9175 # newline sequences.
9177 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9178 sed -n '
9179 s/.\{148\}/&'"$ac_delim"'/g
9180 t rset
9181 :rset
9182 s/^[ ]*#[ ]*define[ ][ ]*/ /
9183 t def
9185 :def
9186 s/\\$//
9187 t bsnl
9188 s/["\\]/\\&/g
9189 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9190 D["\1"]=" \3"/p
9191 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
9193 :bsnl
9194 s/["\\]/\\&/g
9195 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9196 D["\1"]=" \3\\\\\\n"\\/p
9197 t cont
9198 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9199 t cont
9201 :cont
9203 s/.\{148\}/&'"$ac_delim"'/g
9204 t clear
9205 :clear
9206 s/\\$//
9207 t bsnlc
9208 s/["\\]/\\&/g; s/^/"/; s/$/"/p
9210 :bsnlc
9211 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9212 b cont
9213 ' <confdefs.h | sed '
9214 s/'"$ac_delim"'/"\\\
9215 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9217 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9218 for (key in D) D_is_set[key] = 1
9219 FS = "\a"
9221 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9222 line = \$ 0
9223 split(line, arg, " ")
9224 if (arg[1] == "#") {
9225 defundef = arg[2]
9226 mac1 = arg[3]
9227 } else {
9228 defundef = substr(arg[1], 2)
9229 mac1 = arg[2]
9231 split(mac1, mac2, "(") #)
9232 macro = mac2[1]
9233 prefix = substr(line, 1, index(line, defundef) - 1)
9234 if (D_is_set[macro]) {
9235 # Preserve the white space surrounding the "#".
9236 print prefix "define", macro P[macro] D[macro]
9237 next
9238 } else {
9239 # Replace #undef with comments. This is necessary, for example,
9240 # in the case of _POSIX_SOURCE, which is predefined and required
9241 # on some systems where configure will not decide to define it.
9242 if (defundef == "undef") {
9243 print "/*", prefix defundef, macro, "*/"
9244 next
9248 { print }
9249 _ACAWK
9250 _ACEOF
9251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9252 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
9253 fi # test -n "$CONFIG_HEADERS"
9256 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
9257 shift
9258 for ac_tag
9260 case $ac_tag in
9261 :[FHLC]) ac_mode=$ac_tag; continue;;
9262 esac
9263 case $ac_mode$ac_tag in
9264 :[FHL]*:*);;
9265 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9266 :[FH]-) ac_tag=-:-;;
9267 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9268 esac
9269 ac_save_IFS=$IFS
9270 IFS=:
9271 set x $ac_tag
9272 IFS=$ac_save_IFS
9273 shift
9274 ac_file=$1
9275 shift
9277 case $ac_mode in
9278 :L) ac_source=$1;;
9279 :[FH])
9280 ac_file_inputs=
9281 for ac_f
9283 case $ac_f in
9284 -) ac_f="$ac_tmp/stdin";;
9285 *) # Look for the file first in the build tree, then in the source tree
9286 # (if the path is not absolute). The absolute path cannot be DOS-style,
9287 # because $ac_f cannot contain `:'.
9288 test -f "$ac_f" ||
9289 case $ac_f in
9290 [\\/$]*) false;;
9291 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9292 esac ||
9293 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9294 esac
9295 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9296 as_fn_append ac_file_inputs " '$ac_f'"
9297 done
9299 # Let's still pretend it is `configure' which instantiates (i.e., don't
9300 # use $as_me), people would be surprised to read:
9301 # /* config.h. Generated by config.status. */
9302 configure_input='Generated from '`
9303 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9304 `' by configure.'
9305 if test x"$ac_file" != x-; then
9306 configure_input="$ac_file. $configure_input"
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9308 $as_echo "$as_me: creating $ac_file" >&6;}
9310 # Neutralize special characters interpreted by sed in replacement strings.
9311 case $configure_input in #(
9312 *\&* | *\|* | *\\* )
9313 ac_sed_conf_input=`$as_echo "$configure_input" |
9314 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9315 *) ac_sed_conf_input=$configure_input;;
9316 esac
9318 case $ac_tag in
9319 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9320 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9321 esac
9323 esac
9325 ac_dir=`$as_dirname -- "$ac_file" ||
9326 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9327 X"$ac_file" : 'X\(//\)[^/]' \| \
9328 X"$ac_file" : 'X\(//\)$' \| \
9329 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9330 $as_echo X"$ac_file" |
9331 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9332 s//\1/
9335 /^X\(\/\/\)[^/].*/{
9336 s//\1/
9339 /^X\(\/\/\)$/{
9340 s//\1/
9343 /^X\(\/\).*/{
9344 s//\1/
9347 s/.*/./; q'`
9348 as_dir="$ac_dir"; as_fn_mkdir_p
9349 ac_builddir=.
9351 case "$ac_dir" in
9352 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9354 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9355 # A ".." for each directory in $ac_dir_suffix.
9356 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9357 case $ac_top_builddir_sub in
9358 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9359 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9360 esac ;;
9361 esac
9362 ac_abs_top_builddir=$ac_pwd
9363 ac_abs_builddir=$ac_pwd$ac_dir_suffix
9364 # for backward compatibility:
9365 ac_top_builddir=$ac_top_build_prefix
9367 case $srcdir in
9368 .) # We are building in place.
9369 ac_srcdir=.
9370 ac_top_srcdir=$ac_top_builddir_sub
9371 ac_abs_top_srcdir=$ac_pwd ;;
9372 [\\/]* | ?:[\\/]* ) # Absolute name.
9373 ac_srcdir=$srcdir$ac_dir_suffix;
9374 ac_top_srcdir=$srcdir
9375 ac_abs_top_srcdir=$srcdir ;;
9376 *) # Relative name.
9377 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9378 ac_top_srcdir=$ac_top_build_prefix$srcdir
9379 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9380 esac
9381 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9384 case $ac_mode in
9387 # CONFIG_FILE
9390 case $INSTALL in
9391 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9392 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9393 esac
9394 _ACEOF
9396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9397 # If the template does not know about datarootdir, expand it.
9398 # FIXME: This hack should be removed a few years after 2.60.
9399 ac_datarootdir_hack=; ac_datarootdir_seen=
9400 ac_sed_dataroot='
9401 /datarootdir/ {
9405 /@datadir@/p
9406 /@docdir@/p
9407 /@infodir@/p
9408 /@localedir@/p
9409 /@mandir@/p'
9410 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9411 *datarootdir*) ac_datarootdir_seen=yes;;
9412 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9414 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9415 _ACEOF
9416 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9417 ac_datarootdir_hack='
9418 s&@datadir@&$datadir&g
9419 s&@docdir@&$docdir&g
9420 s&@infodir@&$infodir&g
9421 s&@localedir@&$localedir&g
9422 s&@mandir@&$mandir&g
9423 s&\\\${datarootdir}&$datarootdir&g' ;;
9424 esac
9425 _ACEOF
9427 # Neutralize VPATH when `$srcdir' = `.'.
9428 # Shell code in configure.ac might set extrasub.
9429 # FIXME: do we really want to maintain this feature?
9430 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9431 ac_sed_extra="$ac_vpsub
9432 $extrasub
9433 _ACEOF
9434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9436 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9437 s|@configure_input@|$ac_sed_conf_input|;t t
9438 s&@top_builddir@&$ac_top_builddir_sub&;t t
9439 s&@top_build_prefix@&$ac_top_build_prefix&;t t
9440 s&@srcdir@&$ac_srcdir&;t t
9441 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9442 s&@top_srcdir@&$ac_top_srcdir&;t t
9443 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9444 s&@builddir@&$ac_builddir&;t t
9445 s&@abs_builddir@&$ac_abs_builddir&;t t
9446 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9447 s&@INSTALL@&$ac_INSTALL&;t t
9448 $ac_datarootdir_hack
9450 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9451 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9453 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9454 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9455 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9456 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9458 which seems to be undefined. Please make sure it is defined" >&5
9459 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9460 which seems to be undefined. Please make sure it is defined" >&2;}
9462 rm -f "$ac_tmp/stdin"
9463 case $ac_file in
9464 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9465 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9466 esac \
9467 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9471 # CONFIG_HEADER
9473 if test x"$ac_file" != x-; then
9475 $as_echo "/* $configure_input */" \
9476 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9477 } >"$ac_tmp/config.h" \
9478 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9479 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9481 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9482 else
9483 rm -f "$ac_file"
9484 mv "$ac_tmp/config.h" "$ac_file" \
9485 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9487 else
9488 $as_echo "/* $configure_input */" \
9489 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9490 || as_fn_error $? "could not create -" "$LINENO" 5
9495 esac
9497 done # for ac_tag
9500 as_fn_exit 0
9501 _ACEOF
9502 ac_clean_files=$ac_clean_files_save
9504 test $ac_write_fail = 0 ||
9505 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9508 # configure is writing to config.log, and then calls config.status.
9509 # config.status does its own redirection, appending to config.log.
9510 # Unfortunately, on DOS this fails, as config.log is still kept open
9511 # by configure, so config.status won't be able to write to it; its
9512 # output is simply discarded. So we exec the FD to /dev/null,
9513 # effectively closing config.log, so it can be properly (re)opened and
9514 # appended to by config.status. When coming back to configure, we
9515 # need to make the FD available again.
9516 if test "$no_create" != yes; then
9517 ac_cs_success=:
9518 ac_config_status_args=
9519 test "$silent" = yes &&
9520 ac_config_status_args="$ac_config_status_args --quiet"
9521 exec 5>/dev/null
9522 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9523 exec 5>>config.log
9524 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9525 # would make configure fail if this is the last instruction.
9526 $ac_cs_success || as_fn_exit 1
9528 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9530 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}