require CURLOPT_PRIVATE and CURLINFO_PRIVATE
[ocurl.git] / configure
blob2814fb99308e0d767beb2283dd4e78d26c31c3ad
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ocurl 0.7.9.
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.9'
581 PACKAGE_STRING='ocurl 0.7.9'
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 runstatedir
679 localstatedir
680 sharedstatedir
681 sysconfdir
682 datadir
683 datarootdir
684 libexecdir
685 sbindir
686 bindir
687 program_transform_name
688 prefix
689 exec_prefix
690 PACKAGE_URL
691 PACKAGE_BUGREPORT
692 PACKAGE_STRING
693 PACKAGE_VERSION
694 PACKAGE_TARNAME
695 PACKAGE_NAME
696 PATH_SEPARATOR
697 SHELL'
698 ac_subst_files=''
699 ac_user_opts='
700 enable_option_checking
702 ac_precious_vars='build_alias
703 host_alias
704 target_alias
706 CFLAGS
707 LDFLAGS
708 LIBS
709 CPPFLAGS
710 CPP'
713 # Initialize some variables set by options.
714 ac_init_help=
715 ac_init_version=false
716 ac_unrecognized_opts=
717 ac_unrecognized_sep=
718 # The variables have the same names as the options, with
719 # dashes changed to underlines.
720 cache_file=/dev/null
721 exec_prefix=NONE
722 no_create=
723 no_recursion=
724 prefix=NONE
725 program_prefix=NONE
726 program_suffix=NONE
727 program_transform_name=s,x,x,
728 silent=
729 site=
730 srcdir=
731 verbose=
732 x_includes=NONE
733 x_libraries=NONE
735 # Installation directory options.
736 # These are left unexpanded so users can "make install exec_prefix=/foo"
737 # and all the variables that are supposed to be based on exec_prefix
738 # by default will actually change.
739 # Use braces instead of parens because sh, perl, etc. also accept them.
740 # (The list follows the same order as the GNU Coding Standards.)
741 bindir='${exec_prefix}/bin'
742 sbindir='${exec_prefix}/sbin'
743 libexecdir='${exec_prefix}/libexec'
744 datarootdir='${prefix}/share'
745 datadir='${datarootdir}'
746 sysconfdir='${prefix}/etc'
747 sharedstatedir='${prefix}/com'
748 localstatedir='${prefix}/var'
749 runstatedir='${localstatedir}/run'
750 includedir='${prefix}/include'
751 oldincludedir='/usr/include'
752 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
753 infodir='${datarootdir}/info'
754 htmldir='${docdir}'
755 dvidir='${docdir}'
756 pdfdir='${docdir}'
757 psdir='${docdir}'
758 libdir='${exec_prefix}/lib'
759 localedir='${datarootdir}/locale'
760 mandir='${datarootdir}/man'
762 ac_prev=
763 ac_dashdash=
764 for ac_option
766 # If the previous option needs an argument, assign it.
767 if test -n "$ac_prev"; then
768 eval $ac_prev=\$ac_option
769 ac_prev=
770 continue
773 case $ac_option in
774 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
775 *=) ac_optarg= ;;
776 *) ac_optarg=yes ;;
777 esac
779 # Accept the important Cygnus configure options, so we can diagnose typos.
781 case $ac_dashdash$ac_option in
783 ac_dashdash=yes ;;
785 -bindir | --bindir | --bindi | --bind | --bin | --bi)
786 ac_prev=bindir ;;
787 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
788 bindir=$ac_optarg ;;
790 -build | --build | --buil | --bui | --bu)
791 ac_prev=build_alias ;;
792 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
793 build_alias=$ac_optarg ;;
795 -cache-file | --cache-file | --cache-fil | --cache-fi \
796 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
797 ac_prev=cache_file ;;
798 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
799 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
800 cache_file=$ac_optarg ;;
802 --config-cache | -C)
803 cache_file=config.cache ;;
805 -datadir | --datadir | --datadi | --datad)
806 ac_prev=datadir ;;
807 -datadir=* | --datadir=* | --datadi=* | --datad=*)
808 datadir=$ac_optarg ;;
810 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
811 | --dataroo | --dataro | --datar)
812 ac_prev=datarootdir ;;
813 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
814 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
815 datarootdir=$ac_optarg ;;
817 -disable-* | --disable-*)
818 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
819 # Reject names that are not valid shell variable names.
820 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
821 as_fn_error $? "invalid feature name: $ac_useropt"
822 ac_useropt_orig=$ac_useropt
823 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
824 case $ac_user_opts in
826 "enable_$ac_useropt"
827 "*) ;;
828 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
829 ac_unrecognized_sep=', ';;
830 esac
831 eval enable_$ac_useropt=no ;;
833 -docdir | --docdir | --docdi | --doc | --do)
834 ac_prev=docdir ;;
835 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
836 docdir=$ac_optarg ;;
838 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
839 ac_prev=dvidir ;;
840 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
841 dvidir=$ac_optarg ;;
843 -enable-* | --enable-*)
844 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
845 # Reject names that are not valid shell variable names.
846 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
847 as_fn_error $? "invalid feature name: $ac_useropt"
848 ac_useropt_orig=$ac_useropt
849 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
850 case $ac_user_opts in
852 "enable_$ac_useropt"
853 "*) ;;
854 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
855 ac_unrecognized_sep=', ';;
856 esac
857 eval enable_$ac_useropt=\$ac_optarg ;;
859 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
860 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
861 | --exec | --exe | --ex)
862 ac_prev=exec_prefix ;;
863 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
864 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
865 | --exec=* | --exe=* | --ex=*)
866 exec_prefix=$ac_optarg ;;
868 -gas | --gas | --ga | --g)
869 # Obsolete; use --with-gas.
870 with_gas=yes ;;
872 -help | --help | --hel | --he | -h)
873 ac_init_help=long ;;
874 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
875 ac_init_help=recursive ;;
876 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
877 ac_init_help=short ;;
879 -host | --host | --hos | --ho)
880 ac_prev=host_alias ;;
881 -host=* | --host=* | --hos=* | --ho=*)
882 host_alias=$ac_optarg ;;
884 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
885 ac_prev=htmldir ;;
886 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
887 | --ht=*)
888 htmldir=$ac_optarg ;;
890 -includedir | --includedir | --includedi | --included | --include \
891 | --includ | --inclu | --incl | --inc)
892 ac_prev=includedir ;;
893 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
894 | --includ=* | --inclu=* | --incl=* | --inc=*)
895 includedir=$ac_optarg ;;
897 -infodir | --infodir | --infodi | --infod | --info | --inf)
898 ac_prev=infodir ;;
899 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
900 infodir=$ac_optarg ;;
902 -libdir | --libdir | --libdi | --libd)
903 ac_prev=libdir ;;
904 -libdir=* | --libdir=* | --libdi=* | --libd=*)
905 libdir=$ac_optarg ;;
907 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
908 | --libexe | --libex | --libe)
909 ac_prev=libexecdir ;;
910 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
911 | --libexe=* | --libex=* | --libe=*)
912 libexecdir=$ac_optarg ;;
914 -localedir | --localedir | --localedi | --localed | --locale)
915 ac_prev=localedir ;;
916 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
917 localedir=$ac_optarg ;;
919 -localstatedir | --localstatedir | --localstatedi | --localstated \
920 | --localstate | --localstat | --localsta | --localst | --locals)
921 ac_prev=localstatedir ;;
922 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
923 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
924 localstatedir=$ac_optarg ;;
926 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
927 ac_prev=mandir ;;
928 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
929 mandir=$ac_optarg ;;
931 -nfp | --nfp | --nf)
932 # Obsolete; use --without-fp.
933 with_fp=no ;;
935 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
936 | --no-cr | --no-c | -n)
937 no_create=yes ;;
939 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
940 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
941 no_recursion=yes ;;
943 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
944 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
945 | --oldin | --oldi | --old | --ol | --o)
946 ac_prev=oldincludedir ;;
947 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
948 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
949 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
950 oldincludedir=$ac_optarg ;;
952 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
953 ac_prev=prefix ;;
954 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
955 prefix=$ac_optarg ;;
957 -program-prefix | --program-prefix | --program-prefi | --program-pref \
958 | --program-pre | --program-pr | --program-p)
959 ac_prev=program_prefix ;;
960 -program-prefix=* | --program-prefix=* | --program-prefi=* \
961 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
962 program_prefix=$ac_optarg ;;
964 -program-suffix | --program-suffix | --program-suffi | --program-suff \
965 | --program-suf | --program-su | --program-s)
966 ac_prev=program_suffix ;;
967 -program-suffix=* | --program-suffix=* | --program-suffi=* \
968 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
969 program_suffix=$ac_optarg ;;
971 -program-transform-name | --program-transform-name \
972 | --program-transform-nam | --program-transform-na \
973 | --program-transform-n | --program-transform- \
974 | --program-transform | --program-transfor \
975 | --program-transfo | --program-transf \
976 | --program-trans | --program-tran \
977 | --progr-tra | --program-tr | --program-t)
978 ac_prev=program_transform_name ;;
979 -program-transform-name=* | --program-transform-name=* \
980 | --program-transform-nam=* | --program-transform-na=* \
981 | --program-transform-n=* | --program-transform-=* \
982 | --program-transform=* | --program-transfor=* \
983 | --program-transfo=* | --program-transf=* \
984 | --program-trans=* | --program-tran=* \
985 | --progr-tra=* | --program-tr=* | --program-t=*)
986 program_transform_name=$ac_optarg ;;
988 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
989 ac_prev=pdfdir ;;
990 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
991 pdfdir=$ac_optarg ;;
993 -psdir | --psdir | --psdi | --psd | --ps)
994 ac_prev=psdir ;;
995 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
996 psdir=$ac_optarg ;;
998 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
999 | -silent | --silent | --silen | --sile | --sil)
1000 silent=yes ;;
1002 -runstatedir | --runstatedir | --runstatedi | --runstated \
1003 | --runstate | --runstat | --runsta | --runst | --runs \
1004 | --run | --ru | --r)
1005 ac_prev=runstatedir ;;
1006 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1007 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1008 | --run=* | --ru=* | --r=*)
1009 runstatedir=$ac_optarg ;;
1011 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1012 ac_prev=sbindir ;;
1013 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1014 | --sbi=* | --sb=*)
1015 sbindir=$ac_optarg ;;
1017 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1018 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1019 | --sharedst | --shareds | --shared | --share | --shar \
1020 | --sha | --sh)
1021 ac_prev=sharedstatedir ;;
1022 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1023 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1024 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1025 | --sha=* | --sh=*)
1026 sharedstatedir=$ac_optarg ;;
1028 -site | --site | --sit)
1029 ac_prev=site ;;
1030 -site=* | --site=* | --sit=*)
1031 site=$ac_optarg ;;
1033 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1034 ac_prev=srcdir ;;
1035 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1036 srcdir=$ac_optarg ;;
1038 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1039 | --syscon | --sysco | --sysc | --sys | --sy)
1040 ac_prev=sysconfdir ;;
1041 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1042 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1043 sysconfdir=$ac_optarg ;;
1045 -target | --target | --targe | --targ | --tar | --ta | --t)
1046 ac_prev=target_alias ;;
1047 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1048 target_alias=$ac_optarg ;;
1050 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1051 verbose=yes ;;
1053 -version | --version | --versio | --versi | --vers | -V)
1054 ac_init_version=: ;;
1056 -with-* | --with-*)
1057 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1058 # Reject names that are not valid shell variable names.
1059 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1060 as_fn_error $? "invalid package name: $ac_useropt"
1061 ac_useropt_orig=$ac_useropt
1062 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1063 case $ac_user_opts in
1065 "with_$ac_useropt"
1066 "*) ;;
1067 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1068 ac_unrecognized_sep=', ';;
1069 esac
1070 eval with_$ac_useropt=\$ac_optarg ;;
1072 -without-* | --without-*)
1073 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1074 # Reject names that are not valid shell variable names.
1075 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1076 as_fn_error $? "invalid package name: $ac_useropt"
1077 ac_useropt_orig=$ac_useropt
1078 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1079 case $ac_user_opts in
1081 "with_$ac_useropt"
1082 "*) ;;
1083 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1084 ac_unrecognized_sep=', ';;
1085 esac
1086 eval with_$ac_useropt=no ;;
1088 --x)
1089 # Obsolete; use --with-x.
1090 with_x=yes ;;
1092 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1093 | --x-incl | --x-inc | --x-in | --x-i)
1094 ac_prev=x_includes ;;
1095 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1096 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1097 x_includes=$ac_optarg ;;
1099 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1100 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1101 ac_prev=x_libraries ;;
1102 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1103 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1104 x_libraries=$ac_optarg ;;
1106 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1107 Try \`$0 --help' for more information"
1110 *=*)
1111 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1112 # Reject names that are not valid shell variable names.
1113 case $ac_envvar in #(
1114 '' | [0-9]* | *[!_$as_cr_alnum]* )
1115 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1116 esac
1117 eval $ac_envvar=\$ac_optarg
1118 export $ac_envvar ;;
1121 # FIXME: should be removed in autoconf 3.0.
1122 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1123 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1124 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1125 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1128 esac
1129 done
1131 if test -n "$ac_prev"; then
1132 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1133 as_fn_error $? "missing argument to $ac_option"
1136 if test -n "$ac_unrecognized_opts"; then
1137 case $enable_option_checking in
1138 no) ;;
1139 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1140 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1141 esac
1144 # Check all directory arguments for consistency.
1145 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1146 datadir sysconfdir sharedstatedir localstatedir includedir \
1147 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1148 libdir localedir mandir runstatedir
1150 eval ac_val=\$$ac_var
1151 # Remove trailing slashes.
1152 case $ac_val in
1153 */ )
1154 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1155 eval $ac_var=\$ac_val;;
1156 esac
1157 # Be sure to have absolute directory names.
1158 case $ac_val in
1159 [\\/$]* | ?:[\\/]* ) continue;;
1160 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1161 esac
1162 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1163 done
1165 # There might be people who depend on the old broken behavior: `$host'
1166 # used to hold the argument of --host etc.
1167 # FIXME: To remove some day.
1168 build=$build_alias
1169 host=$host_alias
1170 target=$target_alias
1172 # FIXME: To remove some day.
1173 if test "x$host_alias" != x; then
1174 if test "x$build_alias" = x; then
1175 cross_compiling=maybe
1176 elif test "x$build_alias" != "x$host_alias"; then
1177 cross_compiling=yes
1181 ac_tool_prefix=
1182 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1184 test "$silent" = yes && exec 6>/dev/null
1187 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1188 ac_ls_di=`ls -di .` &&
1189 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1190 as_fn_error $? "working directory cannot be determined"
1191 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1192 as_fn_error $? "pwd does not report name of working directory"
1195 # Find the source files, if location was not specified.
1196 if test -z "$srcdir"; then
1197 ac_srcdir_defaulted=yes
1198 # Try the directory containing this script, then the parent directory.
1199 ac_confdir=`$as_dirname -- "$as_myself" ||
1200 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1201 X"$as_myself" : 'X\(//\)[^/]' \| \
1202 X"$as_myself" : 'X\(//\)$' \| \
1203 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1204 $as_echo X"$as_myself" |
1205 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1206 s//\1/
1209 /^X\(\/\/\)[^/].*/{
1210 s//\1/
1213 /^X\(\/\/\)$/{
1214 s//\1/
1217 /^X\(\/\).*/{
1218 s//\1/
1221 s/.*/./; q'`
1222 srcdir=$ac_confdir
1223 if test ! -r "$srcdir/$ac_unique_file"; then
1224 srcdir=..
1226 else
1227 ac_srcdir_defaulted=no
1229 if test ! -r "$srcdir/$ac_unique_file"; then
1230 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1231 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1233 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1234 ac_abs_confdir=`(
1235 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1236 pwd)`
1237 # When building in place, set srcdir=.
1238 if test "$ac_abs_confdir" = "$ac_pwd"; then
1239 srcdir=.
1241 # Remove unnecessary trailing slashes from srcdir.
1242 # Double slashes in file names in object file debugging info
1243 # mess up M-x gdb in Emacs.
1244 case $srcdir in
1245 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1246 esac
1247 for ac_var in $ac_precious_vars; do
1248 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1249 eval ac_env_${ac_var}_value=\$${ac_var}
1250 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1251 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1252 done
1255 # Report the --help message.
1257 if test "$ac_init_help" = "long"; then
1258 # Omit some internal or obsolete options to make the list less imposing.
1259 # This message is too long to be a string in the A/UX 3.1 sh.
1260 cat <<_ACEOF
1261 \`configure' configures ocurl 0.7.9 to adapt to many kinds of systems.
1263 Usage: $0 [OPTION]... [VAR=VALUE]...
1265 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1266 VAR=VALUE. See below for descriptions of some of the useful variables.
1268 Defaults for the options are specified in brackets.
1270 Configuration:
1271 -h, --help display this help and exit
1272 --help=short display options specific to this package
1273 --help=recursive display the short help of all the included packages
1274 -V, --version display version information and exit
1275 -q, --quiet, --silent do not print \`checking ...' messages
1276 --cache-file=FILE cache test results in FILE [disabled]
1277 -C, --config-cache alias for \`--cache-file=config.cache'
1278 -n, --no-create do not create output files
1279 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1281 Installation directories:
1282 --prefix=PREFIX install architecture-independent files in PREFIX
1283 [$ac_default_prefix]
1284 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1285 [PREFIX]
1287 By default, \`make install' will install all the files in
1288 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1289 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1290 for instance \`--prefix=\$HOME'.
1292 For better control, use the options below.
1294 Fine tuning of the installation directories:
1295 --bindir=DIR user executables [EPREFIX/bin]
1296 --sbindir=DIR system admin executables [EPREFIX/sbin]
1297 --libexecdir=DIR program executables [EPREFIX/libexec]
1298 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1299 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1300 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1301 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1302 --libdir=DIR object code libraries [EPREFIX/lib]
1303 --includedir=DIR C header files [PREFIX/include]
1304 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1305 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1306 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1307 --infodir=DIR info documentation [DATAROOTDIR/info]
1308 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1309 --mandir=DIR man documentation [DATAROOTDIR/man]
1310 --docdir=DIR documentation root [DATAROOTDIR/doc/ocurl]
1311 --htmldir=DIR html documentation [DOCDIR]
1312 --dvidir=DIR dvi documentation [DOCDIR]
1313 --pdfdir=DIR pdf documentation [DOCDIR]
1314 --psdir=DIR ps documentation [DOCDIR]
1315 _ACEOF
1317 cat <<\_ACEOF
1318 _ACEOF
1321 if test -n "$ac_init_help"; then
1322 case $ac_init_help in
1323 short | recursive ) echo "Configuration of ocurl 0.7.9:";;
1324 esac
1325 cat <<\_ACEOF
1327 Some influential environment variables:
1328 CC C compiler command
1329 CFLAGS C compiler flags
1330 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1331 nonstandard directory <lib dir>
1332 LIBS libraries to pass to the linker, e.g. -l<library>
1333 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1334 you have headers in a nonstandard directory <include dir>
1335 CPP C preprocessor
1337 Use these variables to override the choices made by `configure' or to help
1338 it to find libraries and programs with nonstandard names/locations.
1340 Report bugs to the package provider.
1341 _ACEOF
1342 ac_status=$?
1345 if test "$ac_init_help" = "recursive"; then
1346 # If there are subdirs, report their specific --help.
1347 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1348 test -d "$ac_dir" ||
1349 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1350 continue
1351 ac_builddir=.
1353 case "$ac_dir" in
1354 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1356 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1357 # A ".." for each directory in $ac_dir_suffix.
1358 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1359 case $ac_top_builddir_sub in
1360 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1361 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1362 esac ;;
1363 esac
1364 ac_abs_top_builddir=$ac_pwd
1365 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1366 # for backward compatibility:
1367 ac_top_builddir=$ac_top_build_prefix
1369 case $srcdir in
1370 .) # We are building in place.
1371 ac_srcdir=.
1372 ac_top_srcdir=$ac_top_builddir_sub
1373 ac_abs_top_srcdir=$ac_pwd ;;
1374 [\\/]* | ?:[\\/]* ) # Absolute name.
1375 ac_srcdir=$srcdir$ac_dir_suffix;
1376 ac_top_srcdir=$srcdir
1377 ac_abs_top_srcdir=$srcdir ;;
1378 *) # Relative name.
1379 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1380 ac_top_srcdir=$ac_top_build_prefix$srcdir
1381 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1382 esac
1383 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1385 cd "$ac_dir" || { ac_status=$?; continue; }
1386 # Check for guested configure.
1387 if test -f "$ac_srcdir/configure.gnu"; then
1388 echo &&
1389 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1390 elif test -f "$ac_srcdir/configure"; then
1391 echo &&
1392 $SHELL "$ac_srcdir/configure" --help=recursive
1393 else
1394 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1395 fi || ac_status=$?
1396 cd "$ac_pwd" || { ac_status=$?; break; }
1397 done
1400 test -n "$ac_init_help" && exit $ac_status
1401 if $ac_init_version; then
1402 cat <<\_ACEOF
1403 ocurl configure 0.7.9
1404 generated by GNU Autoconf 2.69
1406 Copyright (C) 2012 Free Software Foundation, Inc.
1407 This configure script is free software; the Free Software Foundation
1408 gives unlimited permission to copy, distribute and modify it.
1409 _ACEOF
1410 exit
1413 ## ------------------------ ##
1414 ## Autoconf initialization. ##
1415 ## ------------------------ ##
1417 # ac_fn_c_try_compile LINENO
1418 # --------------------------
1419 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1420 ac_fn_c_try_compile ()
1422 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1423 rm -f conftest.$ac_objext
1424 if { { ac_try="$ac_compile"
1425 case "(($ac_try" in
1426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1427 *) ac_try_echo=$ac_try;;
1428 esac
1429 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1430 $as_echo "$ac_try_echo"; } >&5
1431 (eval "$ac_compile") 2>conftest.err
1432 ac_status=$?
1433 if test -s conftest.err; then
1434 grep -v '^ *+' conftest.err >conftest.er1
1435 cat conftest.er1 >&5
1436 mv -f conftest.er1 conftest.err
1438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1439 test $ac_status = 0; } && {
1440 test -z "$ac_c_werror_flag" ||
1441 test ! -s conftest.err
1442 } && test -s conftest.$ac_objext; then :
1443 ac_retval=0
1444 else
1445 $as_echo "$as_me: failed program was:" >&5
1446 sed 's/^/| /' conftest.$ac_ext >&5
1448 ac_retval=1
1450 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1451 as_fn_set_status $ac_retval
1453 } # ac_fn_c_try_compile
1455 # ac_fn_c_try_cpp LINENO
1456 # ----------------------
1457 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1458 ac_fn_c_try_cpp ()
1460 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1461 if { { ac_try="$ac_cpp conftest.$ac_ext"
1462 case "(($ac_try" in
1463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1464 *) ac_try_echo=$ac_try;;
1465 esac
1466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1467 $as_echo "$ac_try_echo"; } >&5
1468 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1469 ac_status=$?
1470 if test -s conftest.err; then
1471 grep -v '^ *+' conftest.err >conftest.er1
1472 cat conftest.er1 >&5
1473 mv -f conftest.er1 conftest.err
1475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1476 test $ac_status = 0; } > conftest.i && {
1477 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1478 test ! -s conftest.err
1479 }; then :
1480 ac_retval=0
1481 else
1482 $as_echo "$as_me: failed program was:" >&5
1483 sed 's/^/| /' conftest.$ac_ext >&5
1485 ac_retval=1
1487 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1488 as_fn_set_status $ac_retval
1490 } # ac_fn_c_try_cpp
1492 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1493 # -------------------------------------------------------
1494 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1495 # the include files in INCLUDES and setting the cache variable VAR
1496 # accordingly.
1497 ac_fn_c_check_header_mongrel ()
1499 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1500 if eval \${$3+:} false; then :
1501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1502 $as_echo_n "checking for $2... " >&6; }
1503 if eval \${$3+:} false; then :
1504 $as_echo_n "(cached) " >&6
1506 eval ac_res=\$$3
1507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1508 $as_echo "$ac_res" >&6; }
1509 else
1510 # Is the header compilable?
1511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1512 $as_echo_n "checking $2 usability... " >&6; }
1513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1514 /* end confdefs.h. */
1516 #include <$2>
1517 _ACEOF
1518 if ac_fn_c_try_compile "$LINENO"; then :
1519 ac_header_compiler=yes
1520 else
1521 ac_header_compiler=no
1523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1525 $as_echo "$ac_header_compiler" >&6; }
1527 # Is the header present?
1528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1529 $as_echo_n "checking $2 presence... " >&6; }
1530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1531 /* end confdefs.h. */
1532 #include <$2>
1533 _ACEOF
1534 if ac_fn_c_try_cpp "$LINENO"; then :
1535 ac_header_preproc=yes
1536 else
1537 ac_header_preproc=no
1539 rm -f conftest.err conftest.i conftest.$ac_ext
1540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1541 $as_echo "$ac_header_preproc" >&6; }
1543 # So? What about this header?
1544 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1545 yes:no: )
1546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1547 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1549 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1551 no:yes:* )
1552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1553 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1555 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1557 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1559 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1561 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1563 esac
1564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1565 $as_echo_n "checking for $2... " >&6; }
1566 if eval \${$3+:} false; then :
1567 $as_echo_n "(cached) " >&6
1568 else
1569 eval "$3=\$ac_header_compiler"
1571 eval ac_res=\$$3
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1573 $as_echo "$ac_res" >&6; }
1575 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1577 } # ac_fn_c_check_header_mongrel
1579 # ac_fn_c_try_run LINENO
1580 # ----------------------
1581 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1582 # that executables *can* be run.
1583 ac_fn_c_try_run ()
1585 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1586 if { { ac_try="$ac_link"
1587 case "(($ac_try" in
1588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1589 *) ac_try_echo=$ac_try;;
1590 esac
1591 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1592 $as_echo "$ac_try_echo"; } >&5
1593 (eval "$ac_link") 2>&5
1594 ac_status=$?
1595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1596 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1597 { { case "(($ac_try" in
1598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1599 *) ac_try_echo=$ac_try;;
1600 esac
1601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1602 $as_echo "$ac_try_echo"; } >&5
1603 (eval "$ac_try") 2>&5
1604 ac_status=$?
1605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1606 test $ac_status = 0; }; }; then :
1607 ac_retval=0
1608 else
1609 $as_echo "$as_me: program exited with status $ac_status" >&5
1610 $as_echo "$as_me: failed program was:" >&5
1611 sed 's/^/| /' conftest.$ac_ext >&5
1613 ac_retval=$ac_status
1615 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1616 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1617 as_fn_set_status $ac_retval
1619 } # ac_fn_c_try_run
1621 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1622 # -------------------------------------------------------
1623 # Tests whether HEADER exists and can be compiled using the include files in
1624 # INCLUDES, setting the cache variable VAR accordingly.
1625 ac_fn_c_check_header_compile ()
1627 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1629 $as_echo_n "checking for $2... " >&6; }
1630 if eval \${$3+:} false; then :
1631 $as_echo_n "(cached) " >&6
1632 else
1633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1634 /* end confdefs.h. */
1636 #include <$2>
1637 _ACEOF
1638 if ac_fn_c_try_compile "$LINENO"; then :
1639 eval "$3=yes"
1640 else
1641 eval "$3=no"
1643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1645 eval ac_res=\$$3
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1647 $as_echo "$ac_res" >&6; }
1648 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650 } # ac_fn_c_check_header_compile
1652 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1653 # ---------------------------------------------
1654 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1655 # accordingly.
1656 ac_fn_c_check_decl ()
1658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1659 as_decl_name=`echo $2|sed 's/ *(.*//'`
1660 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1662 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1663 if eval \${$3+:} false; then :
1664 $as_echo_n "(cached) " >&6
1665 else
1666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1667 /* end confdefs.h. */
1670 main ()
1672 #ifndef $as_decl_name
1673 #ifdef __cplusplus
1674 (void) $as_decl_use;
1675 #else
1676 (void) $as_decl_name;
1677 #endif
1678 #endif
1681 return 0;
1683 _ACEOF
1684 if ac_fn_c_try_compile "$LINENO"; then :
1685 eval "$3=yes"
1686 else
1687 eval "$3=no"
1689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1691 eval ac_res=\$$3
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1693 $as_echo "$ac_res" >&6; }
1694 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696 } # ac_fn_c_check_decl
1697 cat >config.log <<_ACEOF
1698 This file contains any messages produced by compilers while
1699 running configure, to aid debugging if configure makes a mistake.
1701 It was created by ocurl $as_me 0.7.9, which was
1702 generated by GNU Autoconf 2.69. Invocation command line was
1704 $ $0 $@
1706 _ACEOF
1707 exec 5>>config.log
1709 cat <<_ASUNAME
1710 ## --------- ##
1711 ## Platform. ##
1712 ## --------- ##
1714 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1715 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1716 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1717 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1718 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1720 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1721 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1723 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1724 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1725 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1726 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1727 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1728 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1729 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1731 _ASUNAME
1733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1734 for as_dir in $PATH
1736 IFS=$as_save_IFS
1737 test -z "$as_dir" && as_dir=.
1738 $as_echo "PATH: $as_dir"
1739 done
1740 IFS=$as_save_IFS
1742 } >&5
1744 cat >&5 <<_ACEOF
1747 ## ----------- ##
1748 ## Core tests. ##
1749 ## ----------- ##
1751 _ACEOF
1754 # Keep a trace of the command line.
1755 # Strip out --no-create and --no-recursion so they do not pile up.
1756 # Strip out --silent because we don't want to record it for future runs.
1757 # Also quote any args containing shell meta-characters.
1758 # Make two passes to allow for proper duplicate-argument suppression.
1759 ac_configure_args=
1760 ac_configure_args0=
1761 ac_configure_args1=
1762 ac_must_keep_next=false
1763 for ac_pass in 1 2
1765 for ac_arg
1767 case $ac_arg in
1768 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1769 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1770 | -silent | --silent | --silen | --sile | --sil)
1771 continue ;;
1772 *\'*)
1773 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1774 esac
1775 case $ac_pass in
1776 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1778 as_fn_append ac_configure_args1 " '$ac_arg'"
1779 if test $ac_must_keep_next = true; then
1780 ac_must_keep_next=false # Got value, back to normal.
1781 else
1782 case $ac_arg in
1783 *=* | --config-cache | -C | -disable-* | --disable-* \
1784 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1785 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1786 | -with-* | --with-* | -without-* | --without-* | --x)
1787 case "$ac_configure_args0 " in
1788 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1789 esac
1791 -* ) ac_must_keep_next=true ;;
1792 esac
1794 as_fn_append ac_configure_args " '$ac_arg'"
1796 esac
1797 done
1798 done
1799 { ac_configure_args0=; unset ac_configure_args0;}
1800 { ac_configure_args1=; unset ac_configure_args1;}
1802 # When interrupted or exit'd, cleanup temporary files, and complete
1803 # config.log. We remove comments because anyway the quotes in there
1804 # would cause problems or look ugly.
1805 # WARNING: Use '\'' to represent an apostrophe within the trap.
1806 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1807 trap 'exit_status=$?
1808 # Save into config.log some information that might help in debugging.
1810 echo
1812 $as_echo "## ---------------- ##
1813 ## Cache variables. ##
1814 ## ---------------- ##"
1815 echo
1816 # The following way of writing the cache mishandles newlines in values,
1818 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1819 eval ac_val=\$$ac_var
1820 case $ac_val in #(
1821 *${as_nl}*)
1822 case $ac_var in #(
1823 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1824 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1825 esac
1826 case $ac_var in #(
1827 _ | IFS | as_nl) ;; #(
1828 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1829 *) { eval $ac_var=; unset $ac_var;} ;;
1830 esac ;;
1831 esac
1832 done
1833 (set) 2>&1 |
1834 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1835 *${as_nl}ac_space=\ *)
1836 sed -n \
1837 "s/'\''/'\''\\\\'\'''\''/g;
1838 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1839 ;; #(
1841 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1843 esac |
1844 sort
1846 echo
1848 $as_echo "## ----------------- ##
1849 ## Output variables. ##
1850 ## ----------------- ##"
1851 echo
1852 for ac_var in $ac_subst_vars
1854 eval ac_val=\$$ac_var
1855 case $ac_val in
1856 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1857 esac
1858 $as_echo "$ac_var='\''$ac_val'\''"
1859 done | sort
1860 echo
1862 if test -n "$ac_subst_files"; then
1863 $as_echo "## ------------------- ##
1864 ## File substitutions. ##
1865 ## ------------------- ##"
1866 echo
1867 for ac_var in $ac_subst_files
1869 eval ac_val=\$$ac_var
1870 case $ac_val in
1871 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1872 esac
1873 $as_echo "$ac_var='\''$ac_val'\''"
1874 done | sort
1875 echo
1878 if test -s confdefs.h; then
1879 $as_echo "## ----------- ##
1880 ## confdefs.h. ##
1881 ## ----------- ##"
1882 echo
1883 cat confdefs.h
1884 echo
1886 test "$ac_signal" != 0 &&
1887 $as_echo "$as_me: caught signal $ac_signal"
1888 $as_echo "$as_me: exit $exit_status"
1889 } >&5
1890 rm -f core *.core core.conftest.* &&
1891 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1892 exit $exit_status
1894 for ac_signal in 1 2 13 15; do
1895 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1896 done
1897 ac_signal=0
1899 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1900 rm -f -r conftest* confdefs.h
1902 $as_echo "/* confdefs.h */" > confdefs.h
1904 # Predefined preprocessor variables.
1906 cat >>confdefs.h <<_ACEOF
1907 #define PACKAGE_NAME "$PACKAGE_NAME"
1908 _ACEOF
1910 cat >>confdefs.h <<_ACEOF
1911 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1912 _ACEOF
1914 cat >>confdefs.h <<_ACEOF
1915 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1916 _ACEOF
1918 cat >>confdefs.h <<_ACEOF
1919 #define PACKAGE_STRING "$PACKAGE_STRING"
1920 _ACEOF
1922 cat >>confdefs.h <<_ACEOF
1923 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1924 _ACEOF
1926 cat >>confdefs.h <<_ACEOF
1927 #define PACKAGE_URL "$PACKAGE_URL"
1928 _ACEOF
1931 # Let the site file select an alternate cache file if it wants to.
1932 # Prefer an explicitly selected file to automatically selected ones.
1933 ac_site_file1=NONE
1934 ac_site_file2=NONE
1935 if test -n "$CONFIG_SITE"; then
1936 # We do not want a PATH search for config.site.
1937 case $CONFIG_SITE in #((
1938 -*) ac_site_file1=./$CONFIG_SITE;;
1939 */*) ac_site_file1=$CONFIG_SITE;;
1940 *) ac_site_file1=./$CONFIG_SITE;;
1941 esac
1942 elif test "x$prefix" != xNONE; then
1943 ac_site_file1=$prefix/share/config.site
1944 ac_site_file2=$prefix/etc/config.site
1945 else
1946 ac_site_file1=$ac_default_prefix/share/config.site
1947 ac_site_file2=$ac_default_prefix/etc/config.site
1949 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1951 test "x$ac_site_file" = xNONE && continue
1952 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1954 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1955 sed 's/^/| /' "$ac_site_file" >&5
1956 . "$ac_site_file" \
1957 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1958 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1959 as_fn_error $? "failed to load site script $ac_site_file
1960 See \`config.log' for more details" "$LINENO" 5; }
1962 done
1964 if test -r "$cache_file"; then
1965 # Some versions of bash will fail to source /dev/null (special files
1966 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1967 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1969 $as_echo "$as_me: loading cache $cache_file" >&6;}
1970 case $cache_file in
1971 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1972 *) . "./$cache_file";;
1973 esac
1975 else
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1977 $as_echo "$as_me: creating cache $cache_file" >&6;}
1978 >$cache_file
1981 # Check that the precious variables saved in the cache have kept the same
1982 # value.
1983 ac_cache_corrupted=false
1984 for ac_var in $ac_precious_vars; do
1985 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1986 eval ac_new_set=\$ac_env_${ac_var}_set
1987 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1988 eval ac_new_val=\$ac_env_${ac_var}_value
1989 case $ac_old_set,$ac_new_set in
1990 set,)
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1992 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1993 ac_cache_corrupted=: ;;
1994 ,set)
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1996 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1997 ac_cache_corrupted=: ;;
1998 ,);;
2000 if test "x$ac_old_val" != "x$ac_new_val"; then
2001 # differences in whitespace do not lead to failure.
2002 ac_old_val_w=`echo x $ac_old_val`
2003 ac_new_val_w=`echo x $ac_new_val`
2004 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2006 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2007 ac_cache_corrupted=:
2008 else
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2010 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2011 eval $ac_var=\$ac_old_val
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2014 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2016 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2017 fi;;
2018 esac
2019 # Pass precious variables to config.status.
2020 if test "$ac_new_set" = set; then
2021 case $ac_new_val in
2022 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2023 *) ac_arg=$ac_var=$ac_new_val ;;
2024 esac
2025 case " $ac_configure_args " in
2026 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2027 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2028 esac
2030 done
2031 if $ac_cache_corrupted; then
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2033 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2035 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2036 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2038 ## -------------------- ##
2039 ## Main body of script. ##
2040 ## -------------------- ##
2042 ac_ext=c
2043 ac_cpp='$CPP $CPPFLAGS'
2044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2050 ac_ext=c
2051 ac_cpp='$CPP $CPPFLAGS'
2052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2055 if test -n "$ac_tool_prefix"; then
2056 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2057 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2059 $as_echo_n "checking for $ac_word... " >&6; }
2060 if ${ac_cv_prog_CC+:} false; then :
2061 $as_echo_n "(cached) " >&6
2062 else
2063 if test -n "$CC"; then
2064 ac_cv_prog_CC="$CC" # Let the user override the test.
2065 else
2066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2067 for as_dir in $PATH
2069 IFS=$as_save_IFS
2070 test -z "$as_dir" && as_dir=.
2071 for ac_exec_ext in '' $ac_executable_extensions; do
2072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2073 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2075 break 2
2077 done
2078 done
2079 IFS=$as_save_IFS
2083 CC=$ac_cv_prog_CC
2084 if test -n "$CC"; then
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2086 $as_echo "$CC" >&6; }
2087 else
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2089 $as_echo "no" >&6; }
2094 if test -z "$ac_cv_prog_CC"; then
2095 ac_ct_CC=$CC
2096 # Extract the first word of "gcc", so it can be a program name with args.
2097 set dummy gcc; ac_word=$2
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2099 $as_echo_n "checking for $ac_word... " >&6; }
2100 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2101 $as_echo_n "(cached) " >&6
2102 else
2103 if test -n "$ac_ct_CC"; then
2104 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2105 else
2106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2107 for as_dir in $PATH
2109 IFS=$as_save_IFS
2110 test -z "$as_dir" && as_dir=.
2111 for ac_exec_ext in '' $ac_executable_extensions; do
2112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2113 ac_cv_prog_ac_ct_CC="gcc"
2114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2115 break 2
2117 done
2118 done
2119 IFS=$as_save_IFS
2123 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2124 if test -n "$ac_ct_CC"; then
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2126 $as_echo "$ac_ct_CC" >&6; }
2127 else
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2129 $as_echo "no" >&6; }
2132 if test "x$ac_ct_CC" = x; then
2133 CC=""
2134 else
2135 case $cross_compiling:$ac_tool_warned in
2136 yes:)
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2138 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2139 ac_tool_warned=yes ;;
2140 esac
2141 CC=$ac_ct_CC
2143 else
2144 CC="$ac_cv_prog_CC"
2147 if test -z "$CC"; then
2148 if test -n "$ac_tool_prefix"; then
2149 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2150 set dummy ${ac_tool_prefix}cc; ac_word=$2
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2152 $as_echo_n "checking for $ac_word... " >&6; }
2153 if ${ac_cv_prog_CC+:} false; then :
2154 $as_echo_n "(cached) " >&6
2155 else
2156 if test -n "$CC"; then
2157 ac_cv_prog_CC="$CC" # Let the user override the test.
2158 else
2159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2160 for as_dir in $PATH
2162 IFS=$as_save_IFS
2163 test -z "$as_dir" && as_dir=.
2164 for ac_exec_ext in '' $ac_executable_extensions; do
2165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2166 ac_cv_prog_CC="${ac_tool_prefix}cc"
2167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2168 break 2
2170 done
2171 done
2172 IFS=$as_save_IFS
2176 CC=$ac_cv_prog_CC
2177 if test -n "$CC"; then
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2179 $as_echo "$CC" >&6; }
2180 else
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2182 $as_echo "no" >&6; }
2188 if test -z "$CC"; then
2189 # Extract the first word of "cc", so it can be a program name with args.
2190 set dummy cc; ac_word=$2
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2192 $as_echo_n "checking for $ac_word... " >&6; }
2193 if ${ac_cv_prog_CC+:} false; then :
2194 $as_echo_n "(cached) " >&6
2195 else
2196 if test -n "$CC"; then
2197 ac_cv_prog_CC="$CC" # Let the user override the test.
2198 else
2199 ac_prog_rejected=no
2200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2201 for as_dir in $PATH
2203 IFS=$as_save_IFS
2204 test -z "$as_dir" && as_dir=.
2205 for ac_exec_ext in '' $ac_executable_extensions; do
2206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2207 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2208 ac_prog_rejected=yes
2209 continue
2211 ac_cv_prog_CC="cc"
2212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2213 break 2
2215 done
2216 done
2217 IFS=$as_save_IFS
2219 if test $ac_prog_rejected = yes; then
2220 # We found a bogon in the path, so make sure we never use it.
2221 set dummy $ac_cv_prog_CC
2222 shift
2223 if test $# != 0; then
2224 # We chose a different compiler from the bogus one.
2225 # However, it has the same basename, so the bogon will be chosen
2226 # first if we set CC to just the basename; use the full file name.
2227 shift
2228 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2233 CC=$ac_cv_prog_CC
2234 if test -n "$CC"; then
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2236 $as_echo "$CC" >&6; }
2237 else
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2239 $as_echo "no" >&6; }
2244 if test -z "$CC"; then
2245 if test -n "$ac_tool_prefix"; then
2246 for ac_prog in cl.exe
2248 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2249 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2251 $as_echo_n "checking for $ac_word... " >&6; }
2252 if ${ac_cv_prog_CC+:} false; then :
2253 $as_echo_n "(cached) " >&6
2254 else
2255 if test -n "$CC"; then
2256 ac_cv_prog_CC="$CC" # Let the user override the test.
2257 else
2258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2259 for as_dir in $PATH
2261 IFS=$as_save_IFS
2262 test -z "$as_dir" && as_dir=.
2263 for ac_exec_ext in '' $ac_executable_extensions; do
2264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2265 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2267 break 2
2269 done
2270 done
2271 IFS=$as_save_IFS
2275 CC=$ac_cv_prog_CC
2276 if test -n "$CC"; then
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2278 $as_echo "$CC" >&6; }
2279 else
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2281 $as_echo "no" >&6; }
2285 test -n "$CC" && break
2286 done
2288 if test -z "$CC"; then
2289 ac_ct_CC=$CC
2290 for ac_prog in cl.exe
2292 # Extract the first word of "$ac_prog", so it can be a program name with args.
2293 set dummy $ac_prog; ac_word=$2
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2295 $as_echo_n "checking for $ac_word... " >&6; }
2296 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2297 $as_echo_n "(cached) " >&6
2298 else
2299 if test -n "$ac_ct_CC"; then
2300 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2301 else
2302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2303 for as_dir in $PATH
2305 IFS=$as_save_IFS
2306 test -z "$as_dir" && as_dir=.
2307 for ac_exec_ext in '' $ac_executable_extensions; do
2308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2309 ac_cv_prog_ac_ct_CC="$ac_prog"
2310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2311 break 2
2313 done
2314 done
2315 IFS=$as_save_IFS
2319 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2320 if test -n "$ac_ct_CC"; then
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2322 $as_echo "$ac_ct_CC" >&6; }
2323 else
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2325 $as_echo "no" >&6; }
2329 test -n "$ac_ct_CC" && break
2330 done
2332 if test "x$ac_ct_CC" = x; then
2333 CC=""
2334 else
2335 case $cross_compiling:$ac_tool_warned in
2336 yes:)
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2339 ac_tool_warned=yes ;;
2340 esac
2341 CC=$ac_ct_CC
2348 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2350 as_fn_error $? "no acceptable C compiler found in \$PATH
2351 See \`config.log' for more details" "$LINENO" 5; }
2353 # Provide some information about the compiler.
2354 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2355 set X $ac_compile
2356 ac_compiler=$2
2357 for ac_option in --version -v -V -qversion; do
2358 { { ac_try="$ac_compiler $ac_option >&5"
2359 case "(($ac_try" in
2360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2361 *) ac_try_echo=$ac_try;;
2362 esac
2363 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2364 $as_echo "$ac_try_echo"; } >&5
2365 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2366 ac_status=$?
2367 if test -s conftest.err; then
2368 sed '10a\
2369 ... rest of stderr output deleted ...
2370 10q' conftest.err >conftest.er1
2371 cat conftest.er1 >&5
2373 rm -f conftest.er1 conftest.err
2374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2375 test $ac_status = 0; }
2376 done
2378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2379 /* end confdefs.h. */
2382 main ()
2386 return 0;
2388 _ACEOF
2389 ac_clean_files_save=$ac_clean_files
2390 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2391 # Try to create an executable without -o first, disregard a.out.
2392 # It will help us diagnose broken compilers, and finding out an intuition
2393 # of exeext.
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2395 $as_echo_n "checking whether the C compiler works... " >&6; }
2396 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2398 # The possible output files:
2399 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2401 ac_rmfiles=
2402 for ac_file in $ac_files
2404 case $ac_file in
2405 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2406 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2407 esac
2408 done
2409 rm -f $ac_rmfiles
2411 if { { ac_try="$ac_link_default"
2412 case "(($ac_try" in
2413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2414 *) ac_try_echo=$ac_try;;
2415 esac
2416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2417 $as_echo "$ac_try_echo"; } >&5
2418 (eval "$ac_link_default") 2>&5
2419 ac_status=$?
2420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2421 test $ac_status = 0; }; then :
2422 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2423 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2424 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2425 # so that the user can short-circuit this test for compilers unknown to
2426 # Autoconf.
2427 for ac_file in $ac_files ''
2429 test -f "$ac_file" || continue
2430 case $ac_file in
2431 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2433 [ab].out )
2434 # We found the default executable, but exeext='' is most
2435 # certainly right.
2436 break;;
2437 *.* )
2438 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2439 then :; else
2440 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2442 # We set ac_cv_exeext here because the later test for it is not
2443 # safe: cross compilers may not add the suffix if given an `-o'
2444 # argument, so we may need to know it at that point already.
2445 # Even if this section looks crufty: it has the advantage of
2446 # actually working.
2447 break;;
2449 break;;
2450 esac
2451 done
2452 test "$ac_cv_exeext" = no && ac_cv_exeext=
2454 else
2455 ac_file=''
2457 if test -z "$ac_file"; then :
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2459 $as_echo "no" >&6; }
2460 $as_echo "$as_me: failed program was:" >&5
2461 sed 's/^/| /' conftest.$ac_ext >&5
2463 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2465 as_fn_error 77 "C compiler cannot create executables
2466 See \`config.log' for more details" "$LINENO" 5; }
2467 else
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2469 $as_echo "yes" >&6; }
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2472 $as_echo_n "checking for C compiler default output file name... " >&6; }
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2474 $as_echo "$ac_file" >&6; }
2475 ac_exeext=$ac_cv_exeext
2477 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2478 ac_clean_files=$ac_clean_files_save
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2480 $as_echo_n "checking for suffix of executables... " >&6; }
2481 if { { ac_try="$ac_link"
2482 case "(($ac_try" in
2483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2484 *) ac_try_echo=$ac_try;;
2485 esac
2486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2487 $as_echo "$ac_try_echo"; } >&5
2488 (eval "$ac_link") 2>&5
2489 ac_status=$?
2490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2491 test $ac_status = 0; }; then :
2492 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2493 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2494 # work properly (i.e., refer to `conftest.exe'), while it won't with
2495 # `rm'.
2496 for ac_file in conftest.exe conftest conftest.*; do
2497 test -f "$ac_file" || continue
2498 case $ac_file in
2499 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2500 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2501 break;;
2502 * ) break;;
2503 esac
2504 done
2505 else
2506 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2508 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2509 See \`config.log' for more details" "$LINENO" 5; }
2511 rm -f conftest conftest$ac_cv_exeext
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2513 $as_echo "$ac_cv_exeext" >&6; }
2515 rm -f conftest.$ac_ext
2516 EXEEXT=$ac_cv_exeext
2517 ac_exeext=$EXEEXT
2518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2519 /* end confdefs.h. */
2520 #include <stdio.h>
2522 main ()
2524 FILE *f = fopen ("conftest.out", "w");
2525 return ferror (f) || fclose (f) != 0;
2528 return 0;
2530 _ACEOF
2531 ac_clean_files="$ac_clean_files conftest.out"
2532 # Check that the compiler produces executables we can run. If not, either
2533 # the compiler is broken, or we cross compile.
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2535 $as_echo_n "checking whether we are cross compiling... " >&6; }
2536 if test "$cross_compiling" != yes; then
2537 { { ac_try="$ac_link"
2538 case "(($ac_try" in
2539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2540 *) ac_try_echo=$ac_try;;
2541 esac
2542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2543 $as_echo "$ac_try_echo"; } >&5
2544 (eval "$ac_link") 2>&5
2545 ac_status=$?
2546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2547 test $ac_status = 0; }
2548 if { ac_try='./conftest$ac_cv_exeext'
2549 { { case "(($ac_try" in
2550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2551 *) ac_try_echo=$ac_try;;
2552 esac
2553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2554 $as_echo "$ac_try_echo"; } >&5
2555 (eval "$ac_try") 2>&5
2556 ac_status=$?
2557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2558 test $ac_status = 0; }; }; then
2559 cross_compiling=no
2560 else
2561 if test "$cross_compiling" = maybe; then
2562 cross_compiling=yes
2563 else
2564 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2566 as_fn_error $? "cannot run C compiled programs.
2567 If you meant to cross compile, use \`--host'.
2568 See \`config.log' for more details" "$LINENO" 5; }
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2573 $as_echo "$cross_compiling" >&6; }
2575 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2576 ac_clean_files=$ac_clean_files_save
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2578 $as_echo_n "checking for suffix of object files... " >&6; }
2579 if ${ac_cv_objext+:} false; then :
2580 $as_echo_n "(cached) " >&6
2581 else
2582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2583 /* end confdefs.h. */
2586 main ()
2590 return 0;
2592 _ACEOF
2593 rm -f conftest.o conftest.obj
2594 if { { ac_try="$ac_compile"
2595 case "(($ac_try" in
2596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2597 *) ac_try_echo=$ac_try;;
2598 esac
2599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2600 $as_echo "$ac_try_echo"; } >&5
2601 (eval "$ac_compile") 2>&5
2602 ac_status=$?
2603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2604 test $ac_status = 0; }; then :
2605 for ac_file in conftest.o conftest.obj conftest.*; do
2606 test -f "$ac_file" || continue;
2607 case $ac_file in
2608 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2609 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2610 break;;
2611 esac
2612 done
2613 else
2614 $as_echo "$as_me: failed program was:" >&5
2615 sed 's/^/| /' conftest.$ac_ext >&5
2617 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2619 as_fn_error $? "cannot compute suffix of object files: cannot compile
2620 See \`config.log' for more details" "$LINENO" 5; }
2622 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2625 $as_echo "$ac_cv_objext" >&6; }
2626 OBJEXT=$ac_cv_objext
2627 ac_objext=$OBJEXT
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2629 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2630 if ${ac_cv_c_compiler_gnu+:} false; then :
2631 $as_echo_n "(cached) " >&6
2632 else
2633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2634 /* end confdefs.h. */
2637 main ()
2639 #ifndef __GNUC__
2640 choke me
2641 #endif
2644 return 0;
2646 _ACEOF
2647 if ac_fn_c_try_compile "$LINENO"; then :
2648 ac_compiler_gnu=yes
2649 else
2650 ac_compiler_gnu=no
2652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2653 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2657 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2658 if test $ac_compiler_gnu = yes; then
2659 GCC=yes
2660 else
2661 GCC=
2663 ac_test_CFLAGS=${CFLAGS+set}
2664 ac_save_CFLAGS=$CFLAGS
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2666 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2667 if ${ac_cv_prog_cc_g+:} false; then :
2668 $as_echo_n "(cached) " >&6
2669 else
2670 ac_save_c_werror_flag=$ac_c_werror_flag
2671 ac_c_werror_flag=yes
2672 ac_cv_prog_cc_g=no
2673 CFLAGS="-g"
2674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2675 /* end confdefs.h. */
2678 main ()
2682 return 0;
2684 _ACEOF
2685 if ac_fn_c_try_compile "$LINENO"; then :
2686 ac_cv_prog_cc_g=yes
2687 else
2688 CFLAGS=""
2689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2690 /* end confdefs.h. */
2693 main ()
2697 return 0;
2699 _ACEOF
2700 if ac_fn_c_try_compile "$LINENO"; then :
2702 else
2703 ac_c_werror_flag=$ac_save_c_werror_flag
2704 CFLAGS="-g"
2705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2706 /* end confdefs.h. */
2709 main ()
2713 return 0;
2715 _ACEOF
2716 if ac_fn_c_try_compile "$LINENO"; then :
2717 ac_cv_prog_cc_g=yes
2719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2724 ac_c_werror_flag=$ac_save_c_werror_flag
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2727 $as_echo "$ac_cv_prog_cc_g" >&6; }
2728 if test "$ac_test_CFLAGS" = set; then
2729 CFLAGS=$ac_save_CFLAGS
2730 elif test $ac_cv_prog_cc_g = yes; then
2731 if test "$GCC" = yes; then
2732 CFLAGS="-g -O2"
2733 else
2734 CFLAGS="-g"
2736 else
2737 if test "$GCC" = yes; then
2738 CFLAGS="-O2"
2739 else
2740 CFLAGS=
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2744 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2745 if ${ac_cv_prog_cc_c89+:} false; then :
2746 $as_echo_n "(cached) " >&6
2747 else
2748 ac_cv_prog_cc_c89=no
2749 ac_save_CC=$CC
2750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2751 /* end confdefs.h. */
2752 #include <stdarg.h>
2753 #include <stdio.h>
2754 struct stat;
2755 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2756 struct buf { int x; };
2757 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2758 static char *e (p, i)
2759 char **p;
2760 int i;
2762 return p[i];
2764 static char *f (char * (*g) (char **, int), char **p, ...)
2766 char *s;
2767 va_list v;
2768 va_start (v,p);
2769 s = g (p, va_arg (v,int));
2770 va_end (v);
2771 return s;
2774 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2775 function prototypes and stuff, but not '\xHH' hex character constants.
2776 These don't provoke an error unfortunately, instead are silently treated
2777 as 'x'. The following induces an error, until -std is added to get
2778 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2779 array size at least. It's necessary to write '\x00'==0 to get something
2780 that's true only with -std. */
2781 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2783 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2784 inside strings and character constants. */
2785 #define FOO(x) 'x'
2786 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2788 int test (int i, double x);
2789 struct s1 {int (*f) (int a);};
2790 struct s2 {int (*f) (double a);};
2791 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2792 int argc;
2793 char **argv;
2795 main ()
2797 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2799 return 0;
2801 _ACEOF
2802 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2803 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2805 CC="$ac_save_CC $ac_arg"
2806 if ac_fn_c_try_compile "$LINENO"; then :
2807 ac_cv_prog_cc_c89=$ac_arg
2809 rm -f core conftest.err conftest.$ac_objext
2810 test "x$ac_cv_prog_cc_c89" != "xno" && break
2811 done
2812 rm -f conftest.$ac_ext
2813 CC=$ac_save_CC
2816 # AC_CACHE_VAL
2817 case "x$ac_cv_prog_cc_c89" in
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2820 $as_echo "none needed" >&6; } ;;
2821 xno)
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2823 $as_echo "unsupported" >&6; } ;;
2825 CC="$CC $ac_cv_prog_cc_c89"
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2827 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2828 esac
2829 if test "x$ac_cv_prog_cc_c89" != xno; then :
2833 ac_ext=c
2834 ac_cpp='$CPP $CPPFLAGS'
2835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl cflags" >&5
2841 $as_echo_n "checking for libcurl cflags... " >&6; }
2842 CURLCFLAGS=`pkg-config libcurl --cflags || curl-config --cflags`
2843 if test "$?" -eq 0 ; then :
2845 else
2846 as_fn_error $? "libcurl was not found" "$LINENO" 5
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURLCFLAGS" >&5
2849 $as_echo "$CURLCFLAGS" >&6; }
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl libs" >&5
2852 $as_echo_n "checking for libcurl libs... " >&6; }
2853 CURLLIBS=`pkg-config libcurl --libs || curl-config --libs`
2854 if test "$?" -eq 0 ; then :
2856 else
2857 as_fn_error $? "libcurl was not found" "$LINENO" 5
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURLLIBS" >&5
2860 $as_echo "$CURLLIBS" >&6; }
2862 ac_aux_dir=
2863 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2864 if test -f "$ac_dir/install-sh"; then
2865 ac_aux_dir=$ac_dir
2866 ac_install_sh="$ac_aux_dir/install-sh -c"
2867 break
2868 elif test -f "$ac_dir/install.sh"; then
2869 ac_aux_dir=$ac_dir
2870 ac_install_sh="$ac_aux_dir/install.sh -c"
2871 break
2872 elif test -f "$ac_dir/shtool"; then
2873 ac_aux_dir=$ac_dir
2874 ac_install_sh="$ac_aux_dir/shtool install -c"
2875 break
2877 done
2878 if test -z "$ac_aux_dir"; then
2879 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2882 # These three variables are undocumented and unsupported,
2883 # and are intended to be withdrawn in a future Autoconf release.
2884 # They can cause serious problems if a builder's source tree is in a directory
2885 # whose full name contains unusual characters.
2886 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2887 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2888 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2891 # Find a good install program. We prefer a C program (faster),
2892 # so one script is as good as another. But avoid the broken or
2893 # incompatible versions:
2894 # SysV /etc/install, /usr/sbin/install
2895 # SunOS /usr/etc/install
2896 # IRIX /sbin/install
2897 # AIX /bin/install
2898 # AmigaOS /C/install, which installs bootblocks on floppy discs
2899 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2900 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2901 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2902 # OS/2's system install, which has a completely different semantic
2903 # ./install, which can be erroneously created by make from ./install.sh.
2904 # Reject install programs that cannot install multiple files.
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2906 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2907 if test -z "$INSTALL"; then
2908 if ${ac_cv_path_install+:} false; then :
2909 $as_echo_n "(cached) " >&6
2910 else
2911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2912 for as_dir in $PATH
2914 IFS=$as_save_IFS
2915 test -z "$as_dir" && as_dir=.
2916 # Account for people who put trailing slashes in PATH elements.
2917 case $as_dir/ in #((
2918 ./ | .// | /[cC]/* | \
2919 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2920 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2921 /usr/ucb/* ) ;;
2923 # OSF1 and SCO ODT 3.0 have their own names for install.
2924 # Don't use installbsd from OSF since it installs stuff as root
2925 # by default.
2926 for ac_prog in ginstall scoinst install; do
2927 for ac_exec_ext in '' $ac_executable_extensions; do
2928 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2929 if test $ac_prog = install &&
2930 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2931 # AIX install. It has an incompatible calling convention.
2933 elif test $ac_prog = install &&
2934 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2935 # program-specific install script used by HP pwplus--don't use.
2937 else
2938 rm -rf conftest.one conftest.two conftest.dir
2939 echo one > conftest.one
2940 echo two > conftest.two
2941 mkdir conftest.dir
2942 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2943 test -s conftest.one && test -s conftest.two &&
2944 test -s conftest.dir/conftest.one &&
2945 test -s conftest.dir/conftest.two
2946 then
2947 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2948 break 3
2952 done
2953 done
2955 esac
2957 done
2958 IFS=$as_save_IFS
2960 rm -rf conftest.one conftest.two conftest.dir
2963 if test "${ac_cv_path_install+set}" = set; then
2964 INSTALL=$ac_cv_path_install
2965 else
2966 # As a last resort, use the slow shell script. Don't cache a
2967 # value for INSTALL within a source directory, because that will
2968 # break other packages using the cache if that directory is
2969 # removed, or if the value is a relative name.
2970 INSTALL=$ac_install_sh
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2974 $as_echo "$INSTALL" >&6; }
2976 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2977 # It thinks the first close brace ends the variable substitution.
2978 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2980 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2982 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2984 # checking for ocamlc
2985 if test -n "$ac_tool_prefix"; then
2986 # Extract the first word of "${ac_tool_prefix}ocamlc", so it can be a program name with args.
2987 set dummy ${ac_tool_prefix}ocamlc; ac_word=$2
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2989 $as_echo_n "checking for $ac_word... " >&6; }
2990 if ${ac_cv_prog_OCAMLC+:} false; then :
2991 $as_echo_n "(cached) " >&6
2992 else
2993 if test -n "$OCAMLC"; then
2994 ac_cv_prog_OCAMLC="$OCAMLC" # Let the user override the test.
2995 else
2996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2997 for as_dir in $PATH
2999 IFS=$as_save_IFS
3000 test -z "$as_dir" && as_dir=.
3001 for ac_exec_ext in '' $ac_executable_extensions; do
3002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3003 ac_cv_prog_OCAMLC="${ac_tool_prefix}ocamlc"
3004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3005 break 2
3007 done
3008 done
3009 IFS=$as_save_IFS
3013 OCAMLC=$ac_cv_prog_OCAMLC
3014 if test -n "$OCAMLC"; then
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLC" >&5
3016 $as_echo "$OCAMLC" >&6; }
3017 else
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3019 $as_echo "no" >&6; }
3024 if test -z "$ac_cv_prog_OCAMLC"; then
3025 ac_ct_OCAMLC=$OCAMLC
3026 # Extract the first word of "ocamlc", so it can be a program name with args.
3027 set dummy ocamlc; ac_word=$2
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3029 $as_echo_n "checking for $ac_word... " >&6; }
3030 if ${ac_cv_prog_ac_ct_OCAMLC+:} false; then :
3031 $as_echo_n "(cached) " >&6
3032 else
3033 if test -n "$ac_ct_OCAMLC"; then
3034 ac_cv_prog_ac_ct_OCAMLC="$ac_ct_OCAMLC" # Let the user override the test.
3035 else
3036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3037 for as_dir in $PATH
3039 IFS=$as_save_IFS
3040 test -z "$as_dir" && as_dir=.
3041 for ac_exec_ext in '' $ac_executable_extensions; do
3042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3043 ac_cv_prog_ac_ct_OCAMLC="ocamlc"
3044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3045 break 2
3047 done
3048 done
3049 IFS=$as_save_IFS
3053 ac_ct_OCAMLC=$ac_cv_prog_ac_ct_OCAMLC
3054 if test -n "$ac_ct_OCAMLC"; then
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLC" >&5
3056 $as_echo "$ac_ct_OCAMLC" >&6; }
3057 else
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3059 $as_echo "no" >&6; }
3062 if test "x$ac_ct_OCAMLC" = x; then
3063 OCAMLC="no"
3064 else
3065 case $cross_compiling:$ac_tool_warned in
3066 yes:)
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3069 ac_tool_warned=yes ;;
3070 esac
3071 OCAMLC=$ac_ct_OCAMLC
3073 else
3074 OCAMLC="$ac_cv_prog_OCAMLC"
3078 if test "$OCAMLC" != "no"; then
3079 OCAMLVERSION=`$OCAMLC -v | sed -n -e 's|.*version* *\(.*\)$|\1|p'`
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml version is $OCAMLVERSION" >&5
3081 $as_echo "OCaml version is $OCAMLVERSION" >&6; }
3082 # If OCAMLLIB is set, use it
3083 if test "$OCAMLLIB" = ""; then
3084 OCAMLLIB=`$OCAMLC -where 2>/dev/null || $OCAMLC -v|tail -1|cut -d ' ' -f 4`
3085 else
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCAMLLIB previously set; preserving it." >&5
3087 $as_echo "OCAMLLIB previously set; preserving it." >&6; }
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml library path is $OCAMLLIB" >&5
3090 $as_echo "OCaml library path is $OCAMLLIB" >&6; }
3095 # checking for ocamlopt
3096 if test -n "$ac_tool_prefix"; then
3097 # Extract the first word of "${ac_tool_prefix}ocamlopt", so it can be a program name with args.
3098 set dummy ${ac_tool_prefix}ocamlopt; ac_word=$2
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3100 $as_echo_n "checking for $ac_word... " >&6; }
3101 if ${ac_cv_prog_OCAMLOPT+:} false; then :
3102 $as_echo_n "(cached) " >&6
3103 else
3104 if test -n "$OCAMLOPT"; then
3105 ac_cv_prog_OCAMLOPT="$OCAMLOPT" # Let the user override the test.
3106 else
3107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3108 for as_dir in $PATH
3110 IFS=$as_save_IFS
3111 test -z "$as_dir" && as_dir=.
3112 for ac_exec_ext in '' $ac_executable_extensions; do
3113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3114 ac_cv_prog_OCAMLOPT="${ac_tool_prefix}ocamlopt"
3115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3116 break 2
3118 done
3119 done
3120 IFS=$as_save_IFS
3124 OCAMLOPT=$ac_cv_prog_OCAMLOPT
3125 if test -n "$OCAMLOPT"; then
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPT" >&5
3127 $as_echo "$OCAMLOPT" >&6; }
3128 else
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3130 $as_echo "no" >&6; }
3135 if test -z "$ac_cv_prog_OCAMLOPT"; then
3136 ac_ct_OCAMLOPT=$OCAMLOPT
3137 # Extract the first word of "ocamlopt", so it can be a program name with args.
3138 set dummy ocamlopt; ac_word=$2
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3140 $as_echo_n "checking for $ac_word... " >&6; }
3141 if ${ac_cv_prog_ac_ct_OCAMLOPT+:} false; then :
3142 $as_echo_n "(cached) " >&6
3143 else
3144 if test -n "$ac_ct_OCAMLOPT"; then
3145 ac_cv_prog_ac_ct_OCAMLOPT="$ac_ct_OCAMLOPT" # Let the user override the test.
3146 else
3147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3148 for as_dir in $PATH
3150 IFS=$as_save_IFS
3151 test -z "$as_dir" && as_dir=.
3152 for ac_exec_ext in '' $ac_executable_extensions; do
3153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3154 ac_cv_prog_ac_ct_OCAMLOPT="ocamlopt"
3155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3156 break 2
3158 done
3159 done
3160 IFS=$as_save_IFS
3164 ac_ct_OCAMLOPT=$ac_cv_prog_ac_ct_OCAMLOPT
3165 if test -n "$ac_ct_OCAMLOPT"; then
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPT" >&5
3167 $as_echo "$ac_ct_OCAMLOPT" >&6; }
3168 else
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3170 $as_echo "no" >&6; }
3173 if test "x$ac_ct_OCAMLOPT" = x; then
3174 OCAMLOPT="no"
3175 else
3176 case $cross_compiling:$ac_tool_warned in
3177 yes:)
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3179 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3180 ac_tool_warned=yes ;;
3181 esac
3182 OCAMLOPT=$ac_ct_OCAMLOPT
3184 else
3185 OCAMLOPT="$ac_cv_prog_OCAMLOPT"
3188 OCAMLBEST=byte
3189 if test "$OCAMLOPT" = "no"; then
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find ocamlopt; bytecode compilation only." >&5
3191 $as_echo "$as_me: WARNING: Cannot find ocamlopt; bytecode compilation only." >&2;}
3192 else
3193 TMPVERSION=`$OCAMLOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3194 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlopt discarded." >&5
3196 $as_echo "versions differs from ocamlc; ocamlopt discarded." >&6; }
3197 OCAMLOPT=no
3198 else
3199 OCAMLBEST=opt
3205 # checking for ocamlc.opt
3206 if test -n "$ac_tool_prefix"; then
3207 # Extract the first word of "${ac_tool_prefix}ocamlc.opt", so it can be a program name with args.
3208 set dummy ${ac_tool_prefix}ocamlc.opt; ac_word=$2
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3210 $as_echo_n "checking for $ac_word... " >&6; }
3211 if ${ac_cv_prog_OCAMLCDOTOPT+:} false; then :
3212 $as_echo_n "(cached) " >&6
3213 else
3214 if test -n "$OCAMLCDOTOPT"; then
3215 ac_cv_prog_OCAMLCDOTOPT="$OCAMLCDOTOPT" # Let the user override the test.
3216 else
3217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3218 for as_dir in $PATH
3220 IFS=$as_save_IFS
3221 test -z "$as_dir" && as_dir=.
3222 for ac_exec_ext in '' $ac_executable_extensions; do
3223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3224 ac_cv_prog_OCAMLCDOTOPT="${ac_tool_prefix}ocamlc.opt"
3225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3226 break 2
3228 done
3229 done
3230 IFS=$as_save_IFS
3234 OCAMLCDOTOPT=$ac_cv_prog_OCAMLCDOTOPT
3235 if test -n "$OCAMLCDOTOPT"; then
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLCDOTOPT" >&5
3237 $as_echo "$OCAMLCDOTOPT" >&6; }
3238 else
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3240 $as_echo "no" >&6; }
3245 if test -z "$ac_cv_prog_OCAMLCDOTOPT"; then
3246 ac_ct_OCAMLCDOTOPT=$OCAMLCDOTOPT
3247 # Extract the first word of "ocamlc.opt", so it can be a program name with args.
3248 set dummy ocamlc.opt; ac_word=$2
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3250 $as_echo_n "checking for $ac_word... " >&6; }
3251 if ${ac_cv_prog_ac_ct_OCAMLCDOTOPT+:} false; then :
3252 $as_echo_n "(cached) " >&6
3253 else
3254 if test -n "$ac_ct_OCAMLCDOTOPT"; then
3255 ac_cv_prog_ac_ct_OCAMLCDOTOPT="$ac_ct_OCAMLCDOTOPT" # Let the user override the test.
3256 else
3257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3258 for as_dir in $PATH
3260 IFS=$as_save_IFS
3261 test -z "$as_dir" && as_dir=.
3262 for ac_exec_ext in '' $ac_executable_extensions; do
3263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3264 ac_cv_prog_ac_ct_OCAMLCDOTOPT="ocamlc.opt"
3265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3266 break 2
3268 done
3269 done
3270 IFS=$as_save_IFS
3274 ac_ct_OCAMLCDOTOPT=$ac_cv_prog_ac_ct_OCAMLCDOTOPT
3275 if test -n "$ac_ct_OCAMLCDOTOPT"; then
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLCDOTOPT" >&5
3277 $as_echo "$ac_ct_OCAMLCDOTOPT" >&6; }
3278 else
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3280 $as_echo "no" >&6; }
3283 if test "x$ac_ct_OCAMLCDOTOPT" = x; then
3284 OCAMLCDOTOPT="no"
3285 else
3286 case $cross_compiling:$ac_tool_warned in
3287 yes:)
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3290 ac_tool_warned=yes ;;
3291 esac
3292 OCAMLCDOTOPT=$ac_ct_OCAMLCDOTOPT
3294 else
3295 OCAMLCDOTOPT="$ac_cv_prog_OCAMLCDOTOPT"
3298 if test "$OCAMLCDOTOPT" != "no"; then
3299 TMPVERSION=`$OCAMLCDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3300 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlc.opt discarded." >&5
3302 $as_echo "versions differs from ocamlc; ocamlc.opt discarded." >&6; }
3303 else
3304 OCAMLC=$OCAMLCDOTOPT
3308 # checking for ocamlopt.opt
3309 if test "$OCAMLOPT" != "no" ; then
3310 if test -n "$ac_tool_prefix"; then
3311 # Extract the first word of "${ac_tool_prefix}ocamlopt.opt", so it can be a program name with args.
3312 set dummy ${ac_tool_prefix}ocamlopt.opt; ac_word=$2
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3314 $as_echo_n "checking for $ac_word... " >&6; }
3315 if ${ac_cv_prog_OCAMLOPTDOTOPT+:} false; then :
3316 $as_echo_n "(cached) " >&6
3317 else
3318 if test -n "$OCAMLOPTDOTOPT"; then
3319 ac_cv_prog_OCAMLOPTDOTOPT="$OCAMLOPTDOTOPT" # Let the user override the test.
3320 else
3321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3322 for as_dir in $PATH
3324 IFS=$as_save_IFS
3325 test -z "$as_dir" && as_dir=.
3326 for ac_exec_ext in '' $ac_executable_extensions; do
3327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3328 ac_cv_prog_OCAMLOPTDOTOPT="${ac_tool_prefix}ocamlopt.opt"
3329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3330 break 2
3332 done
3333 done
3334 IFS=$as_save_IFS
3338 OCAMLOPTDOTOPT=$ac_cv_prog_OCAMLOPTDOTOPT
3339 if test -n "$OCAMLOPTDOTOPT"; then
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPTDOTOPT" >&5
3341 $as_echo "$OCAMLOPTDOTOPT" >&6; }
3342 else
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3344 $as_echo "no" >&6; }
3349 if test -z "$ac_cv_prog_OCAMLOPTDOTOPT"; then
3350 ac_ct_OCAMLOPTDOTOPT=$OCAMLOPTDOTOPT
3351 # Extract the first word of "ocamlopt.opt", so it can be a program name with args.
3352 set dummy ocamlopt.opt; ac_word=$2
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3354 $as_echo_n "checking for $ac_word... " >&6; }
3355 if ${ac_cv_prog_ac_ct_OCAMLOPTDOTOPT+:} false; then :
3356 $as_echo_n "(cached) " >&6
3357 else
3358 if test -n "$ac_ct_OCAMLOPTDOTOPT"; then
3359 ac_cv_prog_ac_ct_OCAMLOPTDOTOPT="$ac_ct_OCAMLOPTDOTOPT" # Let the user override the test.
3360 else
3361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3362 for as_dir in $PATH
3364 IFS=$as_save_IFS
3365 test -z "$as_dir" && as_dir=.
3366 for ac_exec_ext in '' $ac_executable_extensions; do
3367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3368 ac_cv_prog_ac_ct_OCAMLOPTDOTOPT="ocamlopt.opt"
3369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3370 break 2
3372 done
3373 done
3374 IFS=$as_save_IFS
3378 ac_ct_OCAMLOPTDOTOPT=$ac_cv_prog_ac_ct_OCAMLOPTDOTOPT
3379 if test -n "$ac_ct_OCAMLOPTDOTOPT"; then
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPTDOTOPT" >&5
3381 $as_echo "$ac_ct_OCAMLOPTDOTOPT" >&6; }
3382 else
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3384 $as_echo "no" >&6; }
3387 if test "x$ac_ct_OCAMLOPTDOTOPT" = x; then
3388 OCAMLOPTDOTOPT="no"
3389 else
3390 case $cross_compiling:$ac_tool_warned in
3391 yes:)
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3394 ac_tool_warned=yes ;;
3395 esac
3396 OCAMLOPTDOTOPT=$ac_ct_OCAMLOPTDOTOPT
3398 else
3399 OCAMLOPTDOTOPT="$ac_cv_prog_OCAMLOPTDOTOPT"
3402 if test "$OCAMLOPTDOTOPT" != "no"; then
3403 TMPVERSION=`$OCAMLOPTDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3404 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: version differs from ocamlc; ocamlopt.opt discarded." >&5
3406 $as_echo "version differs from ocamlc; ocamlopt.opt discarded." >&6; }
3407 else
3408 OCAMLOPT=$OCAMLOPTDOTOPT
3418 # checking for ocaml toplevel
3419 if test -n "$ac_tool_prefix"; then
3420 # Extract the first word of "${ac_tool_prefix}ocaml", so it can be a program name with args.
3421 set dummy ${ac_tool_prefix}ocaml; ac_word=$2
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3423 $as_echo_n "checking for $ac_word... " >&6; }
3424 if ${ac_cv_prog_OCAML+:} false; then :
3425 $as_echo_n "(cached) " >&6
3426 else
3427 if test -n "$OCAML"; then
3428 ac_cv_prog_OCAML="$OCAML" # Let the user override the test.
3429 else
3430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3431 for as_dir in $PATH
3433 IFS=$as_save_IFS
3434 test -z "$as_dir" && as_dir=.
3435 for ac_exec_ext in '' $ac_executable_extensions; do
3436 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3437 ac_cv_prog_OCAML="${ac_tool_prefix}ocaml"
3438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3439 break 2
3441 done
3442 done
3443 IFS=$as_save_IFS
3447 OCAML=$ac_cv_prog_OCAML
3448 if test -n "$OCAML"; then
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAML" >&5
3450 $as_echo "$OCAML" >&6; }
3451 else
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3453 $as_echo "no" >&6; }
3458 if test -z "$ac_cv_prog_OCAML"; then
3459 ac_ct_OCAML=$OCAML
3460 # Extract the first word of "ocaml", so it can be a program name with args.
3461 set dummy ocaml; ac_word=$2
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3463 $as_echo_n "checking for $ac_word... " >&6; }
3464 if ${ac_cv_prog_ac_ct_OCAML+:} false; then :
3465 $as_echo_n "(cached) " >&6
3466 else
3467 if test -n "$ac_ct_OCAML"; then
3468 ac_cv_prog_ac_ct_OCAML="$ac_ct_OCAML" # Let the user override the test.
3469 else
3470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3471 for as_dir in $PATH
3473 IFS=$as_save_IFS
3474 test -z "$as_dir" && as_dir=.
3475 for ac_exec_ext in '' $ac_executable_extensions; do
3476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3477 ac_cv_prog_ac_ct_OCAML="ocaml"
3478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3479 break 2
3481 done
3482 done
3483 IFS=$as_save_IFS
3487 ac_ct_OCAML=$ac_cv_prog_ac_ct_OCAML
3488 if test -n "$ac_ct_OCAML"; then
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAML" >&5
3490 $as_echo "$ac_ct_OCAML" >&6; }
3491 else
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3493 $as_echo "no" >&6; }
3496 if test "x$ac_ct_OCAML" = x; then
3497 OCAML="no"
3498 else
3499 case $cross_compiling:$ac_tool_warned in
3500 yes:)
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3503 ac_tool_warned=yes ;;
3504 esac
3505 OCAML=$ac_ct_OCAML
3507 else
3508 OCAML="$ac_cv_prog_OCAML"
3512 # checking for ocamldep
3513 if test -n "$ac_tool_prefix"; then
3514 # Extract the first word of "${ac_tool_prefix}ocamldep", so it can be a program name with args.
3515 set dummy ${ac_tool_prefix}ocamldep; ac_word=$2
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3517 $as_echo_n "checking for $ac_word... " >&6; }
3518 if ${ac_cv_prog_OCAMLDEP+:} false; then :
3519 $as_echo_n "(cached) " >&6
3520 else
3521 if test -n "$OCAMLDEP"; then
3522 ac_cv_prog_OCAMLDEP="$OCAMLDEP" # Let the user override the test.
3523 else
3524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3525 for as_dir in $PATH
3527 IFS=$as_save_IFS
3528 test -z "$as_dir" && as_dir=.
3529 for ac_exec_ext in '' $ac_executable_extensions; do
3530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3531 ac_cv_prog_OCAMLDEP="${ac_tool_prefix}ocamldep"
3532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3533 break 2
3535 done
3536 done
3537 IFS=$as_save_IFS
3541 OCAMLDEP=$ac_cv_prog_OCAMLDEP
3542 if test -n "$OCAMLDEP"; then
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDEP" >&5
3544 $as_echo "$OCAMLDEP" >&6; }
3545 else
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3547 $as_echo "no" >&6; }
3552 if test -z "$ac_cv_prog_OCAMLDEP"; then
3553 ac_ct_OCAMLDEP=$OCAMLDEP
3554 # Extract the first word of "ocamldep", so it can be a program name with args.
3555 set dummy ocamldep; ac_word=$2
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3557 $as_echo_n "checking for $ac_word... " >&6; }
3558 if ${ac_cv_prog_ac_ct_OCAMLDEP+:} false; then :
3559 $as_echo_n "(cached) " >&6
3560 else
3561 if test -n "$ac_ct_OCAMLDEP"; then
3562 ac_cv_prog_ac_ct_OCAMLDEP="$ac_ct_OCAMLDEP" # Let the user override the test.
3563 else
3564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3565 for as_dir in $PATH
3567 IFS=$as_save_IFS
3568 test -z "$as_dir" && as_dir=.
3569 for ac_exec_ext in '' $ac_executable_extensions; do
3570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3571 ac_cv_prog_ac_ct_OCAMLDEP="ocamldep"
3572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3573 break 2
3575 done
3576 done
3577 IFS=$as_save_IFS
3581 ac_ct_OCAMLDEP=$ac_cv_prog_ac_ct_OCAMLDEP
3582 if test -n "$ac_ct_OCAMLDEP"; then
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDEP" >&5
3584 $as_echo "$ac_ct_OCAMLDEP" >&6; }
3585 else
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3587 $as_echo "no" >&6; }
3590 if test "x$ac_ct_OCAMLDEP" = x; then
3591 OCAMLDEP="no"
3592 else
3593 case $cross_compiling:$ac_tool_warned in
3594 yes:)
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3597 ac_tool_warned=yes ;;
3598 esac
3599 OCAMLDEP=$ac_ct_OCAMLDEP
3601 else
3602 OCAMLDEP="$ac_cv_prog_OCAMLDEP"
3606 # checking for ocamlmktop
3607 if test -n "$ac_tool_prefix"; then
3608 # Extract the first word of "${ac_tool_prefix}ocamlmktop", so it can be a program name with args.
3609 set dummy ${ac_tool_prefix}ocamlmktop; ac_word=$2
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3611 $as_echo_n "checking for $ac_word... " >&6; }
3612 if ${ac_cv_prog_OCAMLMKTOP+:} false; then :
3613 $as_echo_n "(cached) " >&6
3614 else
3615 if test -n "$OCAMLMKTOP"; then
3616 ac_cv_prog_OCAMLMKTOP="$OCAMLMKTOP" # Let the user override the test.
3617 else
3618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3619 for as_dir in $PATH
3621 IFS=$as_save_IFS
3622 test -z "$as_dir" && as_dir=.
3623 for ac_exec_ext in '' $ac_executable_extensions; do
3624 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3625 ac_cv_prog_OCAMLMKTOP="${ac_tool_prefix}ocamlmktop"
3626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3627 break 2
3629 done
3630 done
3631 IFS=$as_save_IFS
3635 OCAMLMKTOP=$ac_cv_prog_OCAMLMKTOP
3636 if test -n "$OCAMLMKTOP"; then
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKTOP" >&5
3638 $as_echo "$OCAMLMKTOP" >&6; }
3639 else
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3641 $as_echo "no" >&6; }
3646 if test -z "$ac_cv_prog_OCAMLMKTOP"; then
3647 ac_ct_OCAMLMKTOP=$OCAMLMKTOP
3648 # Extract the first word of "ocamlmktop", so it can be a program name with args.
3649 set dummy ocamlmktop; ac_word=$2
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3651 $as_echo_n "checking for $ac_word... " >&6; }
3652 if ${ac_cv_prog_ac_ct_OCAMLMKTOP+:} false; then :
3653 $as_echo_n "(cached) " >&6
3654 else
3655 if test -n "$ac_ct_OCAMLMKTOP"; then
3656 ac_cv_prog_ac_ct_OCAMLMKTOP="$ac_ct_OCAMLMKTOP" # Let the user override the test.
3657 else
3658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3659 for as_dir in $PATH
3661 IFS=$as_save_IFS
3662 test -z "$as_dir" && as_dir=.
3663 for ac_exec_ext in '' $ac_executable_extensions; do
3664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3665 ac_cv_prog_ac_ct_OCAMLMKTOP="ocamlmktop"
3666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3667 break 2
3669 done
3670 done
3671 IFS=$as_save_IFS
3675 ac_ct_OCAMLMKTOP=$ac_cv_prog_ac_ct_OCAMLMKTOP
3676 if test -n "$ac_ct_OCAMLMKTOP"; then
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKTOP" >&5
3678 $as_echo "$ac_ct_OCAMLMKTOP" >&6; }
3679 else
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3681 $as_echo "no" >&6; }
3684 if test "x$ac_ct_OCAMLMKTOP" = x; then
3685 OCAMLMKTOP="no"
3686 else
3687 case $cross_compiling:$ac_tool_warned in
3688 yes:)
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3691 ac_tool_warned=yes ;;
3692 esac
3693 OCAMLMKTOP=$ac_ct_OCAMLMKTOP
3695 else
3696 OCAMLMKTOP="$ac_cv_prog_OCAMLMKTOP"
3700 # checking for ocamlmklib
3701 if test -n "$ac_tool_prefix"; then
3702 # Extract the first word of "${ac_tool_prefix}ocamlmklib", so it can be a program name with args.
3703 set dummy ${ac_tool_prefix}ocamlmklib; ac_word=$2
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3705 $as_echo_n "checking for $ac_word... " >&6; }
3706 if ${ac_cv_prog_OCAMLMKLIB+:} false; then :
3707 $as_echo_n "(cached) " >&6
3708 else
3709 if test -n "$OCAMLMKLIB"; then
3710 ac_cv_prog_OCAMLMKLIB="$OCAMLMKLIB" # Let the user override the test.
3711 else
3712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3713 for as_dir in $PATH
3715 IFS=$as_save_IFS
3716 test -z "$as_dir" && as_dir=.
3717 for ac_exec_ext in '' $ac_executable_extensions; do
3718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3719 ac_cv_prog_OCAMLMKLIB="${ac_tool_prefix}ocamlmklib"
3720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3721 break 2
3723 done
3724 done
3725 IFS=$as_save_IFS
3729 OCAMLMKLIB=$ac_cv_prog_OCAMLMKLIB
3730 if test -n "$OCAMLMKLIB"; then
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKLIB" >&5
3732 $as_echo "$OCAMLMKLIB" >&6; }
3733 else
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3735 $as_echo "no" >&6; }
3740 if test -z "$ac_cv_prog_OCAMLMKLIB"; then
3741 ac_ct_OCAMLMKLIB=$OCAMLMKLIB
3742 # Extract the first word of "ocamlmklib", so it can be a program name with args.
3743 set dummy ocamlmklib; ac_word=$2
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3745 $as_echo_n "checking for $ac_word... " >&6; }
3746 if ${ac_cv_prog_ac_ct_OCAMLMKLIB+:} false; then :
3747 $as_echo_n "(cached) " >&6
3748 else
3749 if test -n "$ac_ct_OCAMLMKLIB"; then
3750 ac_cv_prog_ac_ct_OCAMLMKLIB="$ac_ct_OCAMLMKLIB" # Let the user override the test.
3751 else
3752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3753 for as_dir in $PATH
3755 IFS=$as_save_IFS
3756 test -z "$as_dir" && as_dir=.
3757 for ac_exec_ext in '' $ac_executable_extensions; do
3758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3759 ac_cv_prog_ac_ct_OCAMLMKLIB="ocamlmklib"
3760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3761 break 2
3763 done
3764 done
3765 IFS=$as_save_IFS
3769 ac_ct_OCAMLMKLIB=$ac_cv_prog_ac_ct_OCAMLMKLIB
3770 if test -n "$ac_ct_OCAMLMKLIB"; then
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKLIB" >&5
3772 $as_echo "$ac_ct_OCAMLMKLIB" >&6; }
3773 else
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775 $as_echo "no" >&6; }
3778 if test "x$ac_ct_OCAMLMKLIB" = x; then
3779 OCAMLMKLIB="no"
3780 else
3781 case $cross_compiling:$ac_tool_warned in
3782 yes:)
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3785 ac_tool_warned=yes ;;
3786 esac
3787 OCAMLMKLIB=$ac_ct_OCAMLMKLIB
3789 else
3790 OCAMLMKLIB="$ac_cv_prog_OCAMLMKLIB"
3794 # checking for ocamldoc
3795 if test -n "$ac_tool_prefix"; then
3796 # Extract the first word of "${ac_tool_prefix}ocamldoc", so it can be a program name with args.
3797 set dummy ${ac_tool_prefix}ocamldoc; ac_word=$2
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3799 $as_echo_n "checking for $ac_word... " >&6; }
3800 if ${ac_cv_prog_OCAMLDOC+:} false; then :
3801 $as_echo_n "(cached) " >&6
3802 else
3803 if test -n "$OCAMLDOC"; then
3804 ac_cv_prog_OCAMLDOC="$OCAMLDOC" # Let the user override the test.
3805 else
3806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3807 for as_dir in $PATH
3809 IFS=$as_save_IFS
3810 test -z "$as_dir" && as_dir=.
3811 for ac_exec_ext in '' $ac_executable_extensions; do
3812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3813 ac_cv_prog_OCAMLDOC="${ac_tool_prefix}ocamldoc"
3814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3815 break 2
3817 done
3818 done
3819 IFS=$as_save_IFS
3823 OCAMLDOC=$ac_cv_prog_OCAMLDOC
3824 if test -n "$OCAMLDOC"; then
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDOC" >&5
3826 $as_echo "$OCAMLDOC" >&6; }
3827 else
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3829 $as_echo "no" >&6; }
3834 if test -z "$ac_cv_prog_OCAMLDOC"; then
3835 ac_ct_OCAMLDOC=$OCAMLDOC
3836 # Extract the first word of "ocamldoc", so it can be a program name with args.
3837 set dummy ocamldoc; ac_word=$2
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3839 $as_echo_n "checking for $ac_word... " >&6; }
3840 if ${ac_cv_prog_ac_ct_OCAMLDOC+:} false; then :
3841 $as_echo_n "(cached) " >&6
3842 else
3843 if test -n "$ac_ct_OCAMLDOC"; then
3844 ac_cv_prog_ac_ct_OCAMLDOC="$ac_ct_OCAMLDOC" # Let the user override the test.
3845 else
3846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3847 for as_dir in $PATH
3849 IFS=$as_save_IFS
3850 test -z "$as_dir" && as_dir=.
3851 for ac_exec_ext in '' $ac_executable_extensions; do
3852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3853 ac_cv_prog_ac_ct_OCAMLDOC="ocamldoc"
3854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3855 break 2
3857 done
3858 done
3859 IFS=$as_save_IFS
3863 ac_ct_OCAMLDOC=$ac_cv_prog_ac_ct_OCAMLDOC
3864 if test -n "$ac_ct_OCAMLDOC"; then
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDOC" >&5
3866 $as_echo "$ac_ct_OCAMLDOC" >&6; }
3867 else
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3869 $as_echo "no" >&6; }
3872 if test "x$ac_ct_OCAMLDOC" = x; then
3873 OCAMLDOC="no"
3874 else
3875 case $cross_compiling:$ac_tool_warned in
3876 yes:)
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3878 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3879 ac_tool_warned=yes ;;
3880 esac
3881 OCAMLDOC=$ac_ct_OCAMLDOC
3883 else
3884 OCAMLDOC="$ac_cv_prog_OCAMLDOC"
3888 # checking for ocamlbuild
3889 if test -n "$ac_tool_prefix"; then
3890 # Extract the first word of "${ac_tool_prefix}ocamlbuild", so it can be a program name with args.
3891 set dummy ${ac_tool_prefix}ocamlbuild; ac_word=$2
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3893 $as_echo_n "checking for $ac_word... " >&6; }
3894 if ${ac_cv_prog_OCAMLBUILD+:} false; then :
3895 $as_echo_n "(cached) " >&6
3896 else
3897 if test -n "$OCAMLBUILD"; then
3898 ac_cv_prog_OCAMLBUILD="$OCAMLBUILD" # Let the user override the test.
3899 else
3900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3901 for as_dir in $PATH
3903 IFS=$as_save_IFS
3904 test -z "$as_dir" && as_dir=.
3905 for ac_exec_ext in '' $ac_executable_extensions; do
3906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3907 ac_cv_prog_OCAMLBUILD="${ac_tool_prefix}ocamlbuild"
3908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3909 break 2
3911 done
3912 done
3913 IFS=$as_save_IFS
3917 OCAMLBUILD=$ac_cv_prog_OCAMLBUILD
3918 if test -n "$OCAMLBUILD"; then
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLBUILD" >&5
3920 $as_echo "$OCAMLBUILD" >&6; }
3921 else
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3923 $as_echo "no" >&6; }
3928 if test -z "$ac_cv_prog_OCAMLBUILD"; then
3929 ac_ct_OCAMLBUILD=$OCAMLBUILD
3930 # Extract the first word of "ocamlbuild", so it can be a program name with args.
3931 set dummy ocamlbuild; ac_word=$2
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3933 $as_echo_n "checking for $ac_word... " >&6; }
3934 if ${ac_cv_prog_ac_ct_OCAMLBUILD+:} false; then :
3935 $as_echo_n "(cached) " >&6
3936 else
3937 if test -n "$ac_ct_OCAMLBUILD"; then
3938 ac_cv_prog_ac_ct_OCAMLBUILD="$ac_ct_OCAMLBUILD" # Let the user override the test.
3939 else
3940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3941 for as_dir in $PATH
3943 IFS=$as_save_IFS
3944 test -z "$as_dir" && as_dir=.
3945 for ac_exec_ext in '' $ac_executable_extensions; do
3946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3947 ac_cv_prog_ac_ct_OCAMLBUILD="ocamlbuild"
3948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3949 break 2
3951 done
3952 done
3953 IFS=$as_save_IFS
3957 ac_ct_OCAMLBUILD=$ac_cv_prog_ac_ct_OCAMLBUILD
3958 if test -n "$ac_ct_OCAMLBUILD"; then
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLBUILD" >&5
3960 $as_echo "$ac_ct_OCAMLBUILD" >&6; }
3961 else
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3963 $as_echo "no" >&6; }
3966 if test "x$ac_ct_OCAMLBUILD" = x; then
3967 OCAMLBUILD="no"
3968 else
3969 case $cross_compiling:$ac_tool_warned in
3970 yes:)
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3973 ac_tool_warned=yes ;;
3974 esac
3975 OCAMLBUILD=$ac_ct_OCAMLBUILD
3977 else
3978 OCAMLBUILD="$ac_cv_prog_OCAMLBUILD"
3983 # checking for ocamlfind
3984 if test -n "$ac_tool_prefix"; then
3985 # Extract the first word of "${ac_tool_prefix}ocamlfind", so it can be a program name with args.
3986 set dummy ${ac_tool_prefix}ocamlfind; ac_word=$2
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3988 $as_echo_n "checking for $ac_word... " >&6; }
3989 if ${ac_cv_prog_OCAMLFIND+:} false; then :
3990 $as_echo_n "(cached) " >&6
3991 else
3992 if test -n "$OCAMLFIND"; then
3993 ac_cv_prog_OCAMLFIND="$OCAMLFIND" # Let the user override the test.
3994 else
3995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3996 for as_dir in $PATH
3998 IFS=$as_save_IFS
3999 test -z "$as_dir" && as_dir=.
4000 for ac_exec_ext in '' $ac_executable_extensions; do
4001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4002 ac_cv_prog_OCAMLFIND="${ac_tool_prefix}ocamlfind"
4003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4004 break 2
4006 done
4007 done
4008 IFS=$as_save_IFS
4012 OCAMLFIND=$ac_cv_prog_OCAMLFIND
4013 if test -n "$OCAMLFIND"; then
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLFIND" >&5
4015 $as_echo "$OCAMLFIND" >&6; }
4016 else
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4018 $as_echo "no" >&6; }
4023 if test -z "$ac_cv_prog_OCAMLFIND"; then
4024 ac_ct_OCAMLFIND=$OCAMLFIND
4025 # Extract the first word of "ocamlfind", so it can be a program name with args.
4026 set dummy ocamlfind; ac_word=$2
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4028 $as_echo_n "checking for $ac_word... " >&6; }
4029 if ${ac_cv_prog_ac_ct_OCAMLFIND+:} false; then :
4030 $as_echo_n "(cached) " >&6
4031 else
4032 if test -n "$ac_ct_OCAMLFIND"; then
4033 ac_cv_prog_ac_ct_OCAMLFIND="$ac_ct_OCAMLFIND" # Let the user override the test.
4034 else
4035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4036 for as_dir in $PATH
4038 IFS=$as_save_IFS
4039 test -z "$as_dir" && as_dir=.
4040 for ac_exec_ext in '' $ac_executable_extensions; do
4041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4042 ac_cv_prog_ac_ct_OCAMLFIND="ocamlfind"
4043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4044 break 2
4046 done
4047 done
4048 IFS=$as_save_IFS
4052 ac_ct_OCAMLFIND=$ac_cv_prog_ac_ct_OCAMLFIND
4053 if test -n "$ac_ct_OCAMLFIND"; then
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLFIND" >&5
4055 $as_echo "$ac_ct_OCAMLFIND" >&6; }
4056 else
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4058 $as_echo "no" >&6; }
4061 if test "x$ac_ct_OCAMLFIND" = x; then
4062 OCAMLFIND="no"
4063 else
4064 case $cross_compiling:$ac_tool_warned in
4065 yes:)
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4067 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4068 ac_tool_warned=yes ;;
4069 esac
4070 OCAMLFIND=$ac_ct_OCAMLFIND
4072 else
4073 OCAMLFIND="$ac_cv_prog_OCAMLFIND"
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package lwt" >&5
4081 $as_echo_n "checking for OCaml findlib package lwt... " >&6; }
4083 unset found
4084 unset pkg
4085 found=no
4086 for pkg in lwt ; do
4087 if $OCAMLFIND query $pkg >/dev/null 2>/dev/null; then
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
4089 $as_echo "found" >&6; }
4090 OCAML_PKG_lwt=$pkg
4091 found=yes
4092 break
4094 done
4095 if test "$found" = "no" ; then
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
4097 $as_echo "not found" >&6; }
4098 OCAML_PKG_lwt=no
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package camlp4" >&5
4105 $as_echo_n "checking for OCaml findlib package camlp4... " >&6; }
4107 unset found
4108 unset pkg
4109 found=no
4110 for pkg in camlp4 ; do
4111 if $OCAMLFIND query $pkg >/dev/null 2>/dev/null; then
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
4113 $as_echo "found" >&6; }
4114 OCAML_PKG_camlp4=$pkg
4115 found=yes
4116 break
4118 done
4119 if test "$found" = "no" ; then
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
4121 $as_echo "not found" >&6; }
4122 OCAML_PKG_camlp4=no
4128 INSTALLDIR=$OCAMLLIB/curl
4130 if test "x$prefix" = xNONE; then
4131 $as_echo_n "checking for prefix by " >&6
4132 # Extract the first word of "ocamlc", so it can be a program name with args.
4133 set dummy ocamlc; ac_word=$2
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4135 $as_echo_n "checking for $ac_word... " >&6; }
4136 if ${ac_cv_path_ac_prefix_program+:} false; then :
4137 $as_echo_n "(cached) " >&6
4138 else
4139 case $ac_prefix_program in
4140 [\\/]* | ?:[\\/]*)
4141 ac_cv_path_ac_prefix_program="$ac_prefix_program" # Let the user override the test with a path.
4144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4145 for as_dir in $PATH
4147 IFS=$as_save_IFS
4148 test -z "$as_dir" && as_dir=.
4149 for ac_exec_ext in '' $ac_executable_extensions; do
4150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4151 ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
4152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4153 break 2
4155 done
4156 done
4157 IFS=$as_save_IFS
4160 esac
4162 ac_prefix_program=$ac_cv_path_ac_prefix_program
4163 if test -n "$ac_prefix_program"; then
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prefix_program" >&5
4165 $as_echo "$ac_prefix_program" >&6; }
4166 else
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4168 $as_echo "no" >&6; }
4172 if test -n "$ac_prefix_program"; then
4173 prefix=`$as_dirname -- "$ac_prefix_program" ||
4174 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4175 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
4176 X"$ac_prefix_program" : 'X\(//\)$' \| \
4177 X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
4178 $as_echo X"$ac_prefix_program" |
4179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4180 s//\1/
4183 /^X\(\/\/\)[^/].*/{
4184 s//\1/
4187 /^X\(\/\/\)$/{
4188 s//\1/
4191 /^X\(\/\).*/{
4192 s//\1/
4195 s/.*/./; q'`
4196 prefix=`$as_dirname -- "$prefix" ||
4197 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4198 X"$prefix" : 'X\(//\)[^/]' \| \
4199 X"$prefix" : 'X\(//\)$' \| \
4200 X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
4201 $as_echo X"$prefix" |
4202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4203 s//\1/
4206 /^X\(\/\/\)[^/].*/{
4207 s//\1/
4210 /^X\(\/\/\)$/{
4211 s//\1/
4214 /^X\(\/\).*/{
4215 s//\1/
4218 s/.*/./; q'`
4230 if test "$OCAMLFIND" == "no"; then :
4231 $OCAMLC -I +compiler-libs ocamlcommon.cma print_ext.ml -o print_ext
4232 else
4233 $OCAMLFIND c -linkpkg -package compiler-libs.common print_ext.ml -o print_ext
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bin-annot support" >&5
4237 $as_echo_n "checking for bin-annot support... " >&6; }
4238 if test "$OCAMLVERSION" \> "4"; then :
4239 OCAML_HAS_BIN_ANNOT=yes
4240 else
4241 OCAML_HAS_BIN_ANNOT=no
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAML_HAS_BIN_ANNOT" >&5
4244 $as_echo "$OCAML_HAS_BIN_ANNOT" >&6; }
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext_dll" >&5
4249 $as_echo_n "checking for ext_dll... " >&6; }
4250 EXT_DLL=`./print_ext dll || $OCAMLC -config | fgrep ext_dll | sed -e "s/.*: //"`
4251 if test "$?" -eq 0 ; then :
4253 else
4254 as_fn_error $? "failed" "$LINENO" 5
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXT_DLL" >&5
4257 $as_echo "$EXT_DLL" >&6; }
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext_lib" >&5
4260 $as_echo_n "checking for ext_lib... " >&6; }
4261 EXT_LIB=`./print_ext lib || $OCAMLC -config | fgrep ext_lib | sed -e "s/.*: //"`
4262 if test "$?" -eq 0 ; then :
4264 else
4265 as_fn_error $? "failed" "$LINENO" 5
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXT_LIB" >&5
4268 $as_echo "$EXT_LIB" >&6; }
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext_obj" >&5
4271 $as_echo_n "checking for ext_obj... " >&6; }
4272 EXT_OBJ=`./print_ext obj || $OCAMLC -config | fgrep ext_obj | sed -e "s/.*: //"`
4273 if test "$?" -eq 0 ; then :
4275 else
4276 as_fn_error $? "failed" "$LINENO" 5
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXT_OBJ" >&5
4279 $as_echo "$EXT_OBJ" >&6; }
4285 # set CFLAGS for tests below
4286 CFLAGS="$CFLAGS $CURLCFLAGS"
4289 ac_ext=c
4290 ac_cpp='$CPP $CPPFLAGS'
4291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4295 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4296 # On Suns, sometimes $CPP names a directory.
4297 if test -n "$CPP" && test -d "$CPP"; then
4298 CPP=
4300 if test -z "$CPP"; then
4301 if ${ac_cv_prog_CPP+:} false; then :
4302 $as_echo_n "(cached) " >&6
4303 else
4304 # Double quotes because CPP needs to be expanded
4305 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4307 ac_preproc_ok=false
4308 for ac_c_preproc_warn_flag in '' yes
4310 # Use a header file that comes with gcc, so configuring glibc
4311 # with a fresh cross-compiler works.
4312 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4313 # <limits.h> exists even on freestanding compilers.
4314 # On the NeXT, cc -E runs the code through the compiler's parser,
4315 # not just through cpp. "Syntax error" is here to catch this case.
4316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4317 /* end confdefs.h. */
4318 #ifdef __STDC__
4319 # include <limits.h>
4320 #else
4321 # include <assert.h>
4322 #endif
4323 Syntax error
4324 _ACEOF
4325 if ac_fn_c_try_cpp "$LINENO"; then :
4327 else
4328 # Broken: fails on valid input.
4329 continue
4331 rm -f conftest.err conftest.i conftest.$ac_ext
4333 # OK, works on sane cases. Now check whether nonexistent headers
4334 # can be detected and how.
4335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4336 /* end confdefs.h. */
4337 #include <ac_nonexistent.h>
4338 _ACEOF
4339 if ac_fn_c_try_cpp "$LINENO"; then :
4340 # Broken: success on invalid input.
4341 continue
4342 else
4343 # Passes both tests.
4344 ac_preproc_ok=:
4345 break
4347 rm -f conftest.err conftest.i conftest.$ac_ext
4349 done
4350 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4351 rm -f conftest.i conftest.err conftest.$ac_ext
4352 if $ac_preproc_ok; then :
4353 break
4356 done
4357 ac_cv_prog_CPP=$CPP
4360 CPP=$ac_cv_prog_CPP
4361 else
4362 ac_cv_prog_CPP=$CPP
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4365 $as_echo "$CPP" >&6; }
4366 ac_preproc_ok=false
4367 for ac_c_preproc_warn_flag in '' yes
4369 # Use a header file that comes with gcc, so configuring glibc
4370 # with a fresh cross-compiler works.
4371 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4372 # <limits.h> exists even on freestanding compilers.
4373 # On the NeXT, cc -E runs the code through the compiler's parser,
4374 # not just through cpp. "Syntax error" is here to catch this case.
4375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4376 /* end confdefs.h. */
4377 #ifdef __STDC__
4378 # include <limits.h>
4379 #else
4380 # include <assert.h>
4381 #endif
4382 Syntax error
4383 _ACEOF
4384 if ac_fn_c_try_cpp "$LINENO"; then :
4386 else
4387 # Broken: fails on valid input.
4388 continue
4390 rm -f conftest.err conftest.i conftest.$ac_ext
4392 # OK, works on sane cases. Now check whether nonexistent headers
4393 # can be detected and how.
4394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4395 /* end confdefs.h. */
4396 #include <ac_nonexistent.h>
4397 _ACEOF
4398 if ac_fn_c_try_cpp "$LINENO"; then :
4399 # Broken: success on invalid input.
4400 continue
4401 else
4402 # Passes both tests.
4403 ac_preproc_ok=:
4404 break
4406 rm -f conftest.err conftest.i conftest.$ac_ext
4408 done
4409 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4410 rm -f conftest.i conftest.err conftest.$ac_ext
4411 if $ac_preproc_ok; then :
4413 else
4414 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4415 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4416 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4417 See \`config.log' for more details" "$LINENO" 5; }
4420 ac_ext=c
4421 ac_cpp='$CPP $CPPFLAGS'
4422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4428 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4429 if ${ac_cv_path_GREP+:} false; then :
4430 $as_echo_n "(cached) " >&6
4431 else
4432 if test -z "$GREP"; then
4433 ac_path_GREP_found=false
4434 # Loop through the user's path and test for each of PROGNAME-LIST
4435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4436 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4438 IFS=$as_save_IFS
4439 test -z "$as_dir" && as_dir=.
4440 for ac_prog in grep ggrep; do
4441 for ac_exec_ext in '' $ac_executable_extensions; do
4442 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4443 as_fn_executable_p "$ac_path_GREP" || continue
4444 # Check for GNU ac_path_GREP and select it if it is found.
4445 # Check for GNU $ac_path_GREP
4446 case `"$ac_path_GREP" --version 2>&1` in
4447 *GNU*)
4448 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4450 ac_count=0
4451 $as_echo_n 0123456789 >"conftest.in"
4452 while :
4454 cat "conftest.in" "conftest.in" >"conftest.tmp"
4455 mv "conftest.tmp" "conftest.in"
4456 cp "conftest.in" "conftest.nl"
4457 $as_echo 'GREP' >> "conftest.nl"
4458 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4459 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4460 as_fn_arith $ac_count + 1 && ac_count=$as_val
4461 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4462 # Best one so far, save it but keep looking for a better one
4463 ac_cv_path_GREP="$ac_path_GREP"
4464 ac_path_GREP_max=$ac_count
4466 # 10*(2^10) chars as input seems more than enough
4467 test $ac_count -gt 10 && break
4468 done
4469 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4470 esac
4472 $ac_path_GREP_found && break 3
4473 done
4474 done
4475 done
4476 IFS=$as_save_IFS
4477 if test -z "$ac_cv_path_GREP"; then
4478 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4480 else
4481 ac_cv_path_GREP=$GREP
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4486 $as_echo "$ac_cv_path_GREP" >&6; }
4487 GREP="$ac_cv_path_GREP"
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4491 $as_echo_n "checking for egrep... " >&6; }
4492 if ${ac_cv_path_EGREP+:} false; then :
4493 $as_echo_n "(cached) " >&6
4494 else
4495 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4496 then ac_cv_path_EGREP="$GREP -E"
4497 else
4498 if test -z "$EGREP"; then
4499 ac_path_EGREP_found=false
4500 # Loop through the user's path and test for each of PROGNAME-LIST
4501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4502 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4504 IFS=$as_save_IFS
4505 test -z "$as_dir" && as_dir=.
4506 for ac_prog in egrep; do
4507 for ac_exec_ext in '' $ac_executable_extensions; do
4508 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4509 as_fn_executable_p "$ac_path_EGREP" || continue
4510 # Check for GNU ac_path_EGREP and select it if it is found.
4511 # Check for GNU $ac_path_EGREP
4512 case `"$ac_path_EGREP" --version 2>&1` in
4513 *GNU*)
4514 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4516 ac_count=0
4517 $as_echo_n 0123456789 >"conftest.in"
4518 while :
4520 cat "conftest.in" "conftest.in" >"conftest.tmp"
4521 mv "conftest.tmp" "conftest.in"
4522 cp "conftest.in" "conftest.nl"
4523 $as_echo 'EGREP' >> "conftest.nl"
4524 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4525 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4526 as_fn_arith $ac_count + 1 && ac_count=$as_val
4527 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4528 # Best one so far, save it but keep looking for a better one
4529 ac_cv_path_EGREP="$ac_path_EGREP"
4530 ac_path_EGREP_max=$ac_count
4532 # 10*(2^10) chars as input seems more than enough
4533 test $ac_count -gt 10 && break
4534 done
4535 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4536 esac
4538 $ac_path_EGREP_found && break 3
4539 done
4540 done
4541 done
4542 IFS=$as_save_IFS
4543 if test -z "$ac_cv_path_EGREP"; then
4544 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4546 else
4547 ac_cv_path_EGREP=$EGREP
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4553 $as_echo "$ac_cv_path_EGREP" >&6; }
4554 EGREP="$ac_cv_path_EGREP"
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4558 $as_echo_n "checking for ANSI C header files... " >&6; }
4559 if ${ac_cv_header_stdc+:} false; then :
4560 $as_echo_n "(cached) " >&6
4561 else
4562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4563 /* end confdefs.h. */
4564 #include <stdlib.h>
4565 #include <stdarg.h>
4566 #include <string.h>
4567 #include <float.h>
4570 main ()
4574 return 0;
4576 _ACEOF
4577 if ac_fn_c_try_compile "$LINENO"; then :
4578 ac_cv_header_stdc=yes
4579 else
4580 ac_cv_header_stdc=no
4582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4584 if test $ac_cv_header_stdc = yes; then
4585 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4587 /* end confdefs.h. */
4588 #include <string.h>
4590 _ACEOF
4591 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4592 $EGREP "memchr" >/dev/null 2>&1; then :
4594 else
4595 ac_cv_header_stdc=no
4597 rm -f conftest*
4601 if test $ac_cv_header_stdc = yes; then
4602 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4605 #include <stdlib.h>
4607 _ACEOF
4608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4609 $EGREP "free" >/dev/null 2>&1; then :
4611 else
4612 ac_cv_header_stdc=no
4614 rm -f conftest*
4618 if test $ac_cv_header_stdc = yes; then
4619 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4620 if test "$cross_compiling" = yes; then :
4622 else
4623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4624 /* end confdefs.h. */
4625 #include <ctype.h>
4626 #include <stdlib.h>
4627 #if ((' ' & 0x0FF) == 0x020)
4628 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4629 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4630 #else
4631 # define ISLOWER(c) \
4632 (('a' <= (c) && (c) <= 'i') \
4633 || ('j' <= (c) && (c) <= 'r') \
4634 || ('s' <= (c) && (c) <= 'z'))
4635 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4636 #endif
4638 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4640 main ()
4642 int i;
4643 for (i = 0; i < 256; i++)
4644 if (XOR (islower (i), ISLOWER (i))
4645 || toupper (i) != TOUPPER (i))
4646 return 2;
4647 return 0;
4649 _ACEOF
4650 if ac_fn_c_try_run "$LINENO"; then :
4652 else
4653 ac_cv_header_stdc=no
4655 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4656 conftest.$ac_objext conftest.beam conftest.$ac_ext
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4662 $as_echo "$ac_cv_header_stdc" >&6; }
4663 if test $ac_cv_header_stdc = yes; then
4665 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4669 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4670 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4671 inttypes.h stdint.h unistd.h
4672 do :
4673 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4674 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4676 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4677 cat >>confdefs.h <<_ACEOF
4678 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4679 _ACEOF
4683 done
4686 for ac_header in curl/curl.h
4687 do :
4688 ac_fn_c_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
4689 if test "x$ac_cv_header_curl_curl_h" = xyes; then :
4690 cat >>confdefs.h <<_ACEOF
4691 #define HAVE_CURL_CURL_H 1
4692 _ACEOF
4694 else
4695 as_fn_error $? "libcurl header file missing" "$LINENO" 5
4698 done
4701 ac_fn_c_check_decl "$LINENO" "CURLMOPT_TIMERFUNCTION" "ac_cv_have_decl_CURLMOPT_TIMERFUNCTION" "
4702 #include \"curl/curl.h\"
4705 if test "x$ac_cv_have_decl_CURLMOPT_TIMERFUNCTION" = xyes; then :
4706 ac_have_decl=1
4707 else
4708 ac_have_decl=0
4711 cat >>confdefs.h <<_ACEOF
4712 #define HAVE_DECL_CURLMOPT_TIMERFUNCTION $ac_have_decl
4713 _ACEOF
4714 if test $ac_have_decl = 1; then :
4716 else
4717 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4719 ac_fn_c_check_decl "$LINENO" "CURLMOPT_TIMERDATA" "ac_cv_have_decl_CURLMOPT_TIMERDATA" "
4720 #include \"curl/curl.h\"
4723 if test "x$ac_cv_have_decl_CURLMOPT_TIMERDATA" = xyes; then :
4724 ac_have_decl=1
4725 else
4726 ac_have_decl=0
4729 cat >>confdefs.h <<_ACEOF
4730 #define HAVE_DECL_CURLMOPT_TIMERDATA $ac_have_decl
4731 _ACEOF
4732 if test $ac_have_decl = 1; then :
4734 else
4735 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4737 ac_fn_c_check_decl "$LINENO" "CURLMOPT_SOCKETFUNCTION" "ac_cv_have_decl_CURLMOPT_SOCKETFUNCTION" "
4738 #include \"curl/curl.h\"
4741 if test "x$ac_cv_have_decl_CURLMOPT_SOCKETFUNCTION" = xyes; then :
4742 ac_have_decl=1
4743 else
4744 ac_have_decl=0
4747 cat >>confdefs.h <<_ACEOF
4748 #define HAVE_DECL_CURLMOPT_SOCKETFUNCTION $ac_have_decl
4749 _ACEOF
4750 if test $ac_have_decl = 1; then :
4752 else
4753 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4755 ac_fn_c_check_decl "$LINENO" "CURLMOPT_SOCKETDATA" "ac_cv_have_decl_CURLMOPT_SOCKETDATA" "
4756 #include \"curl/curl.h\"
4759 if test "x$ac_cv_have_decl_CURLMOPT_SOCKETDATA" = xyes; then :
4760 ac_have_decl=1
4761 else
4762 ac_have_decl=0
4765 cat >>confdefs.h <<_ACEOF
4766 #define HAVE_DECL_CURLMOPT_SOCKETDATA $ac_have_decl
4767 _ACEOF
4768 if test $ac_have_decl = 1; then :
4770 else
4771 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4775 ac_fn_c_check_decl "$LINENO" "CURLOPT_FILE" "ac_cv_have_decl_CURLOPT_FILE" "
4776 #include \"curl/curl.h\"
4779 if test "x$ac_cv_have_decl_CURLOPT_FILE" = xyes; then :
4780 ac_have_decl=1
4781 else
4782 ac_have_decl=0
4785 cat >>confdefs.h <<_ACEOF
4786 #define HAVE_DECL_CURLOPT_FILE $ac_have_decl
4787 _ACEOF
4788 ac_fn_c_check_decl "$LINENO" "CURLOPT_URL" "ac_cv_have_decl_CURLOPT_URL" "
4789 #include \"curl/curl.h\"
4792 if test "x$ac_cv_have_decl_CURLOPT_URL" = xyes; then :
4793 ac_have_decl=1
4794 else
4795 ac_have_decl=0
4798 cat >>confdefs.h <<_ACEOF
4799 #define HAVE_DECL_CURLOPT_URL $ac_have_decl
4800 _ACEOF
4801 ac_fn_c_check_decl "$LINENO" "CURLOPT_PORT" "ac_cv_have_decl_CURLOPT_PORT" "
4802 #include \"curl/curl.h\"
4805 if test "x$ac_cv_have_decl_CURLOPT_PORT" = xyes; then :
4806 ac_have_decl=1
4807 else
4808 ac_have_decl=0
4811 cat >>confdefs.h <<_ACEOF
4812 #define HAVE_DECL_CURLOPT_PORT $ac_have_decl
4813 _ACEOF
4814 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXY" "ac_cv_have_decl_CURLOPT_PROXY" "
4815 #include \"curl/curl.h\"
4818 if test "x$ac_cv_have_decl_CURLOPT_PROXY" = xyes; then :
4819 ac_have_decl=1
4820 else
4821 ac_have_decl=0
4824 cat >>confdefs.h <<_ACEOF
4825 #define HAVE_DECL_CURLOPT_PROXY $ac_have_decl
4826 _ACEOF
4827 ac_fn_c_check_decl "$LINENO" "CURLOPT_USERPWD" "ac_cv_have_decl_CURLOPT_USERPWD" "
4828 #include \"curl/curl.h\"
4831 if test "x$ac_cv_have_decl_CURLOPT_USERPWD" = xyes; then :
4832 ac_have_decl=1
4833 else
4834 ac_have_decl=0
4837 cat >>confdefs.h <<_ACEOF
4838 #define HAVE_DECL_CURLOPT_USERPWD $ac_have_decl
4839 _ACEOF
4840 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYUSERPWD" "ac_cv_have_decl_CURLOPT_PROXYUSERPWD" "
4841 #include \"curl/curl.h\"
4844 if test "x$ac_cv_have_decl_CURLOPT_PROXYUSERPWD" = xyes; then :
4845 ac_have_decl=1
4846 else
4847 ac_have_decl=0
4850 cat >>confdefs.h <<_ACEOF
4851 #define HAVE_DECL_CURLOPT_PROXYUSERPWD $ac_have_decl
4852 _ACEOF
4853 ac_fn_c_check_decl "$LINENO" "CURLOPT_RANGE" "ac_cv_have_decl_CURLOPT_RANGE" "
4854 #include \"curl/curl.h\"
4857 if test "x$ac_cv_have_decl_CURLOPT_RANGE" = xyes; then :
4858 ac_have_decl=1
4859 else
4860 ac_have_decl=0
4863 cat >>confdefs.h <<_ACEOF
4864 #define HAVE_DECL_CURLOPT_RANGE $ac_have_decl
4865 _ACEOF
4866 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILE" "ac_cv_have_decl_CURLOPT_INFILE" "
4867 #include \"curl/curl.h\"
4870 if test "x$ac_cv_have_decl_CURLOPT_INFILE" = xyes; then :
4871 ac_have_decl=1
4872 else
4873 ac_have_decl=0
4876 cat >>confdefs.h <<_ACEOF
4877 #define HAVE_DECL_CURLOPT_INFILE $ac_have_decl
4878 _ACEOF
4879 ac_fn_c_check_decl "$LINENO" "CURLOPT_ERRORBUFFER" "ac_cv_have_decl_CURLOPT_ERRORBUFFER" "
4880 #include \"curl/curl.h\"
4883 if test "x$ac_cv_have_decl_CURLOPT_ERRORBUFFER" = xyes; then :
4884 ac_have_decl=1
4885 else
4886 ac_have_decl=0
4889 cat >>confdefs.h <<_ACEOF
4890 #define HAVE_DECL_CURLOPT_ERRORBUFFER $ac_have_decl
4891 _ACEOF
4892 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEFUNCTION" "ac_cv_have_decl_CURLOPT_WRITEFUNCTION" "
4893 #include \"curl/curl.h\"
4896 if test "x$ac_cv_have_decl_CURLOPT_WRITEFUNCTION" = xyes; then :
4897 ac_have_decl=1
4898 else
4899 ac_have_decl=0
4902 cat >>confdefs.h <<_ACEOF
4903 #define HAVE_DECL_CURLOPT_WRITEFUNCTION $ac_have_decl
4904 _ACEOF
4905 ac_fn_c_check_decl "$LINENO" "CURLOPT_READFUNCTION" "ac_cv_have_decl_CURLOPT_READFUNCTION" "
4906 #include \"curl/curl.h\"
4909 if test "x$ac_cv_have_decl_CURLOPT_READFUNCTION" = xyes; then :
4910 ac_have_decl=1
4911 else
4912 ac_have_decl=0
4915 cat >>confdefs.h <<_ACEOF
4916 #define HAVE_DECL_CURLOPT_READFUNCTION $ac_have_decl
4917 _ACEOF
4918 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEOUT" "ac_cv_have_decl_CURLOPT_TIMEOUT" "
4919 #include \"curl/curl.h\"
4922 if test "x$ac_cv_have_decl_CURLOPT_TIMEOUT" = xyes; then :
4923 ac_have_decl=1
4924 else
4925 ac_have_decl=0
4928 cat >>confdefs.h <<_ACEOF
4929 #define HAVE_DECL_CURLOPT_TIMEOUT $ac_have_decl
4930 _ACEOF
4931 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILESIZE" "ac_cv_have_decl_CURLOPT_INFILESIZE" "
4932 #include \"curl/curl.h\"
4935 if test "x$ac_cv_have_decl_CURLOPT_INFILESIZE" = xyes; then :
4936 ac_have_decl=1
4937 else
4938 ac_have_decl=0
4941 cat >>confdefs.h <<_ACEOF
4942 #define HAVE_DECL_CURLOPT_INFILESIZE $ac_have_decl
4943 _ACEOF
4944 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDS" "ac_cv_have_decl_CURLOPT_POSTFIELDS" "
4945 #include \"curl/curl.h\"
4948 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDS" = xyes; then :
4949 ac_have_decl=1
4950 else
4951 ac_have_decl=0
4954 cat >>confdefs.h <<_ACEOF
4955 #define HAVE_DECL_CURLOPT_POSTFIELDS $ac_have_decl
4956 _ACEOF
4957 ac_fn_c_check_decl "$LINENO" "CURLOPT_REFERER" "ac_cv_have_decl_CURLOPT_REFERER" "
4958 #include \"curl/curl.h\"
4961 if test "x$ac_cv_have_decl_CURLOPT_REFERER" = xyes; then :
4962 ac_have_decl=1
4963 else
4964 ac_have_decl=0
4967 cat >>confdefs.h <<_ACEOF
4968 #define HAVE_DECL_CURLOPT_REFERER $ac_have_decl
4969 _ACEOF
4970 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPPORT" "ac_cv_have_decl_CURLOPT_FTPPORT" "
4971 #include \"curl/curl.h\"
4974 if test "x$ac_cv_have_decl_CURLOPT_FTPPORT" = xyes; then :
4975 ac_have_decl=1
4976 else
4977 ac_have_decl=0
4980 cat >>confdefs.h <<_ACEOF
4981 #define HAVE_DECL_CURLOPT_FTPPORT $ac_have_decl
4982 _ACEOF
4983 ac_fn_c_check_decl "$LINENO" "CURLOPT_USERAGENT" "ac_cv_have_decl_CURLOPT_USERAGENT" "
4984 #include \"curl/curl.h\"
4987 if test "x$ac_cv_have_decl_CURLOPT_USERAGENT" = xyes; then :
4988 ac_have_decl=1
4989 else
4990 ac_have_decl=0
4993 cat >>confdefs.h <<_ACEOF
4994 #define HAVE_DECL_CURLOPT_USERAGENT $ac_have_decl
4995 _ACEOF
4996 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOW_SPEED_LIMIT" "ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" "
4997 #include \"curl/curl.h\"
5000 if test "x$ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" = xyes; then :
5001 ac_have_decl=1
5002 else
5003 ac_have_decl=0
5006 cat >>confdefs.h <<_ACEOF
5007 #define HAVE_DECL_CURLOPT_LOW_SPEED_LIMIT $ac_have_decl
5008 _ACEOF
5009 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOW_SPEED_TIME" "ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" "
5010 #include \"curl/curl.h\"
5013 if test "x$ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" = xyes; then :
5014 ac_have_decl=1
5015 else
5016 ac_have_decl=0
5019 cat >>confdefs.h <<_ACEOF
5020 #define HAVE_DECL_CURLOPT_LOW_SPEED_TIME $ac_have_decl
5021 _ACEOF
5022 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESUME_FROM" "ac_cv_have_decl_CURLOPT_RESUME_FROM" "
5023 #include \"curl/curl.h\"
5026 if test "x$ac_cv_have_decl_CURLOPT_RESUME_FROM" = xyes; then :
5027 ac_have_decl=1
5028 else
5029 ac_have_decl=0
5032 cat >>confdefs.h <<_ACEOF
5033 #define HAVE_DECL_CURLOPT_RESUME_FROM $ac_have_decl
5034 _ACEOF
5035 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIE" "ac_cv_have_decl_CURLOPT_COOKIE" "
5036 #include \"curl/curl.h\"
5039 if test "x$ac_cv_have_decl_CURLOPT_COOKIE" = xyes; then :
5040 ac_have_decl=1
5041 else
5042 ac_have_decl=0
5045 cat >>confdefs.h <<_ACEOF
5046 #define HAVE_DECL_CURLOPT_COOKIE $ac_have_decl
5047 _ACEOF
5048 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPHEADER" "ac_cv_have_decl_CURLOPT_HTTPHEADER" "
5049 #include \"curl/curl.h\"
5052 if test "x$ac_cv_have_decl_CURLOPT_HTTPHEADER" = xyes; then :
5053 ac_have_decl=1
5054 else
5055 ac_have_decl=0
5058 cat >>confdefs.h <<_ACEOF
5059 #define HAVE_DECL_CURLOPT_HTTPHEADER $ac_have_decl
5060 _ACEOF
5061 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPPOST" "ac_cv_have_decl_CURLOPT_HTTPPOST" "
5062 #include \"curl/curl.h\"
5065 if test "x$ac_cv_have_decl_CURLOPT_HTTPPOST" = xyes; then :
5066 ac_have_decl=1
5067 else
5068 ac_have_decl=0
5071 cat >>confdefs.h <<_ACEOF
5072 #define HAVE_DECL_CURLOPT_HTTPPOST $ac_have_decl
5073 _ACEOF
5074 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERT" "ac_cv_have_decl_CURLOPT_SSLCERT" "
5075 #include \"curl/curl.h\"
5078 if test "x$ac_cv_have_decl_CURLOPT_SSLCERT" = xyes; then :
5079 ac_have_decl=1
5080 else
5081 ac_have_decl=0
5084 cat >>confdefs.h <<_ACEOF
5085 #define HAVE_DECL_CURLOPT_SSLCERT $ac_have_decl
5086 _ACEOF
5087 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERTPASSWD" "ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" "
5088 #include \"curl/curl.h\"
5091 if test "x$ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" = xyes; then :
5092 ac_have_decl=1
5093 else
5094 ac_have_decl=0
5097 cat >>confdefs.h <<_ACEOF
5098 #define HAVE_DECL_CURLOPT_SSLCERTPASSWD $ac_have_decl
5099 _ACEOF
5100 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEYPASSWD" "ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" "
5101 #include \"curl/curl.h\"
5104 if test "x$ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" = xyes; then :
5105 ac_have_decl=1
5106 else
5107 ac_have_decl=0
5110 cat >>confdefs.h <<_ACEOF
5111 #define HAVE_DECL_CURLOPT_SSLKEYPASSWD $ac_have_decl
5112 _ACEOF
5113 ac_fn_c_check_decl "$LINENO" "CURLOPT_CRLF" "ac_cv_have_decl_CURLOPT_CRLF" "
5114 #include \"curl/curl.h\"
5117 if test "x$ac_cv_have_decl_CURLOPT_CRLF" = xyes; then :
5118 ac_have_decl=1
5119 else
5120 ac_have_decl=0
5123 cat >>confdefs.h <<_ACEOF
5124 #define HAVE_DECL_CURLOPT_CRLF $ac_have_decl
5125 _ACEOF
5126 ac_fn_c_check_decl "$LINENO" "CURLOPT_QUOTE" "ac_cv_have_decl_CURLOPT_QUOTE" "
5127 #include \"curl/curl.h\"
5130 if test "x$ac_cv_have_decl_CURLOPT_QUOTE" = xyes; then :
5131 ac_have_decl=1
5132 else
5133 ac_have_decl=0
5136 cat >>confdefs.h <<_ACEOF
5137 #define HAVE_DECL_CURLOPT_QUOTE $ac_have_decl
5138 _ACEOF
5139 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEHEADER" "ac_cv_have_decl_CURLOPT_WRITEHEADER" "
5140 #include \"curl/curl.h\"
5143 if test "x$ac_cv_have_decl_CURLOPT_WRITEHEADER" = xyes; then :
5144 ac_have_decl=1
5145 else
5146 ac_have_decl=0
5149 cat >>confdefs.h <<_ACEOF
5150 #define HAVE_DECL_CURLOPT_WRITEHEADER $ac_have_decl
5151 _ACEOF
5152 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIEFILE" "ac_cv_have_decl_CURLOPT_COOKIEFILE" "
5153 #include \"curl/curl.h\"
5156 if test "x$ac_cv_have_decl_CURLOPT_COOKIEFILE" = xyes; then :
5157 ac_have_decl=1
5158 else
5159 ac_have_decl=0
5162 cat >>confdefs.h <<_ACEOF
5163 #define HAVE_DECL_CURLOPT_COOKIEFILE $ac_have_decl
5164 _ACEOF
5165 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLVERSION" "ac_cv_have_decl_CURLOPT_SSLVERSION" "
5166 #include \"curl/curl.h\"
5169 if test "x$ac_cv_have_decl_CURLOPT_SSLVERSION" = xyes; then :
5170 ac_have_decl=1
5171 else
5172 ac_have_decl=0
5175 cat >>confdefs.h <<_ACEOF
5176 #define HAVE_DECL_CURLOPT_SSLVERSION $ac_have_decl
5177 _ACEOF
5178 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMECONDITION" "ac_cv_have_decl_CURLOPT_TIMECONDITION" "
5179 #include \"curl/curl.h\"
5182 if test "x$ac_cv_have_decl_CURLOPT_TIMECONDITION" = xyes; then :
5183 ac_have_decl=1
5184 else
5185 ac_have_decl=0
5188 cat >>confdefs.h <<_ACEOF
5189 #define HAVE_DECL_CURLOPT_TIMECONDITION $ac_have_decl
5190 _ACEOF
5191 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEVALUE" "ac_cv_have_decl_CURLOPT_TIMEVALUE" "
5192 #include \"curl/curl.h\"
5195 if test "x$ac_cv_have_decl_CURLOPT_TIMEVALUE" = xyes; then :
5196 ac_have_decl=1
5197 else
5198 ac_have_decl=0
5201 cat >>confdefs.h <<_ACEOF
5202 #define HAVE_DECL_CURLOPT_TIMEVALUE $ac_have_decl
5203 _ACEOF
5204 ac_fn_c_check_decl "$LINENO" "CURLOPT_CUSTOMREQUEST" "ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" "
5205 #include \"curl/curl.h\"
5208 if test "x$ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" = xyes; then :
5209 ac_have_decl=1
5210 else
5211 ac_have_decl=0
5214 cat >>confdefs.h <<_ACEOF
5215 #define HAVE_DECL_CURLOPT_CUSTOMREQUEST $ac_have_decl
5216 _ACEOF
5217 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTQUOTE" "ac_cv_have_decl_CURLOPT_POSTQUOTE" "
5218 #include \"curl/curl.h\"
5221 if test "x$ac_cv_have_decl_CURLOPT_POSTQUOTE" = xyes; then :
5222 ac_have_decl=1
5223 else
5224 ac_have_decl=0
5227 cat >>confdefs.h <<_ACEOF
5228 #define HAVE_DECL_CURLOPT_POSTQUOTE $ac_have_decl
5229 _ACEOF
5230 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEINFO" "ac_cv_have_decl_CURLOPT_WRITEINFO" "
5231 #include \"curl/curl.h\"
5234 if test "x$ac_cv_have_decl_CURLOPT_WRITEINFO" = xyes; then :
5235 ac_have_decl=1
5236 else
5237 ac_have_decl=0
5240 cat >>confdefs.h <<_ACEOF
5241 #define HAVE_DECL_CURLOPT_WRITEINFO $ac_have_decl
5242 _ACEOF
5243 ac_fn_c_check_decl "$LINENO" "CURLOPT_VERBOSE" "ac_cv_have_decl_CURLOPT_VERBOSE" "
5244 #include \"curl/curl.h\"
5247 if test "x$ac_cv_have_decl_CURLOPT_VERBOSE" = xyes; then :
5248 ac_have_decl=1
5249 else
5250 ac_have_decl=0
5253 cat >>confdefs.h <<_ACEOF
5254 #define HAVE_DECL_CURLOPT_VERBOSE $ac_have_decl
5255 _ACEOF
5256 ac_fn_c_check_decl "$LINENO" "CURLOPT_HEADER" "ac_cv_have_decl_CURLOPT_HEADER" "
5257 #include \"curl/curl.h\"
5260 if test "x$ac_cv_have_decl_CURLOPT_HEADER" = xyes; then :
5261 ac_have_decl=1
5262 else
5263 ac_have_decl=0
5266 cat >>confdefs.h <<_ACEOF
5267 #define HAVE_DECL_CURLOPT_HEADER $ac_have_decl
5268 _ACEOF
5269 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOPROGRESS" "ac_cv_have_decl_CURLOPT_NOPROGRESS" "
5270 #include \"curl/curl.h\"
5273 if test "x$ac_cv_have_decl_CURLOPT_NOPROGRESS" = xyes; then :
5274 ac_have_decl=1
5275 else
5276 ac_have_decl=0
5279 cat >>confdefs.h <<_ACEOF
5280 #define HAVE_DECL_CURLOPT_NOPROGRESS $ac_have_decl
5281 _ACEOF
5282 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOBODY" "ac_cv_have_decl_CURLOPT_NOBODY" "
5283 #include \"curl/curl.h\"
5286 if test "x$ac_cv_have_decl_CURLOPT_NOBODY" = xyes; then :
5287 ac_have_decl=1
5288 else
5289 ac_have_decl=0
5292 cat >>confdefs.h <<_ACEOF
5293 #define HAVE_DECL_CURLOPT_NOBODY $ac_have_decl
5294 _ACEOF
5295 ac_fn_c_check_decl "$LINENO" "CURLOPT_FAILONERROR" "ac_cv_have_decl_CURLOPT_FAILONERROR" "
5296 #include \"curl/curl.h\"
5299 if test "x$ac_cv_have_decl_CURLOPT_FAILONERROR" = xyes; then :
5300 ac_have_decl=1
5301 else
5302 ac_have_decl=0
5305 cat >>confdefs.h <<_ACEOF
5306 #define HAVE_DECL_CURLOPT_FAILONERROR $ac_have_decl
5307 _ACEOF
5308 ac_fn_c_check_decl "$LINENO" "CURLOPT_UPLOAD" "ac_cv_have_decl_CURLOPT_UPLOAD" "
5309 #include \"curl/curl.h\"
5312 if test "x$ac_cv_have_decl_CURLOPT_UPLOAD" = xyes; then :
5313 ac_have_decl=1
5314 else
5315 ac_have_decl=0
5318 cat >>confdefs.h <<_ACEOF
5319 #define HAVE_DECL_CURLOPT_UPLOAD $ac_have_decl
5320 _ACEOF
5321 ac_fn_c_check_decl "$LINENO" "CURLOPT_POST" "ac_cv_have_decl_CURLOPT_POST" "
5322 #include \"curl/curl.h\"
5325 if test "x$ac_cv_have_decl_CURLOPT_POST" = xyes; then :
5326 ac_have_decl=1
5327 else
5328 ac_have_decl=0
5331 cat >>confdefs.h <<_ACEOF
5332 #define HAVE_DECL_CURLOPT_POST $ac_have_decl
5333 _ACEOF
5334 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPLISTONLY" "ac_cv_have_decl_CURLOPT_FTPLISTONLY" "
5335 #include \"curl/curl.h\"
5338 if test "x$ac_cv_have_decl_CURLOPT_FTPLISTONLY" = xyes; then :
5339 ac_have_decl=1
5340 else
5341 ac_have_decl=0
5344 cat >>confdefs.h <<_ACEOF
5345 #define HAVE_DECL_CURLOPT_FTPLISTONLY $ac_have_decl
5346 _ACEOF
5347 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPAPPEND" "ac_cv_have_decl_CURLOPT_FTPAPPEND" "
5348 #include \"curl/curl.h\"
5351 if test "x$ac_cv_have_decl_CURLOPT_FTPAPPEND" = xyes; then :
5352 ac_have_decl=1
5353 else
5354 ac_have_decl=0
5357 cat >>confdefs.h <<_ACEOF
5358 #define HAVE_DECL_CURLOPT_FTPAPPEND $ac_have_decl
5359 _ACEOF
5360 ac_fn_c_check_decl "$LINENO" "CURLOPT_NETRC" "ac_cv_have_decl_CURLOPT_NETRC" "
5361 #include \"curl/curl.h\"
5364 if test "x$ac_cv_have_decl_CURLOPT_NETRC" = xyes; then :
5365 ac_have_decl=1
5366 else
5367 ac_have_decl=0
5370 cat >>confdefs.h <<_ACEOF
5371 #define HAVE_DECL_CURLOPT_NETRC $ac_have_decl
5372 _ACEOF
5373 ac_fn_c_check_decl "$LINENO" "CURLOPT_FOLLOWLOCATION" "ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" "
5374 #include \"curl/curl.h\"
5377 if test "x$ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" = xyes; then :
5378 ac_have_decl=1
5379 else
5380 ac_have_decl=0
5383 cat >>confdefs.h <<_ACEOF
5384 #define HAVE_DECL_CURLOPT_FOLLOWLOCATION $ac_have_decl
5385 _ACEOF
5386 ac_fn_c_check_decl "$LINENO" "CURLOPT_TRANSFERTEXT" "ac_cv_have_decl_CURLOPT_TRANSFERTEXT" "
5387 #include \"curl/curl.h\"
5390 if test "x$ac_cv_have_decl_CURLOPT_TRANSFERTEXT" = xyes; then :
5391 ac_have_decl=1
5392 else
5393 ac_have_decl=0
5396 cat >>confdefs.h <<_ACEOF
5397 #define HAVE_DECL_CURLOPT_TRANSFERTEXT $ac_have_decl
5398 _ACEOF
5399 ac_fn_c_check_decl "$LINENO" "CURLOPT_PUT" "ac_cv_have_decl_CURLOPT_PUT" "
5400 #include \"curl/curl.h\"
5403 if test "x$ac_cv_have_decl_CURLOPT_PUT" = xyes; then :
5404 ac_have_decl=1
5405 else
5406 ac_have_decl=0
5409 cat >>confdefs.h <<_ACEOF
5410 #define HAVE_DECL_CURLOPT_PUT $ac_have_decl
5411 _ACEOF
5412 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROGRESSFUNCTION" "ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" "
5413 #include \"curl/curl.h\"
5416 if test "x$ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" = xyes; then :
5417 ac_have_decl=1
5418 else
5419 ac_have_decl=0
5422 cat >>confdefs.h <<_ACEOF
5423 #define HAVE_DECL_CURLOPT_PROGRESSFUNCTION $ac_have_decl
5424 _ACEOF
5425 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROGRESSDATA" "ac_cv_have_decl_CURLOPT_PROGRESSDATA" "
5426 #include \"curl/curl.h\"
5429 if test "x$ac_cv_have_decl_CURLOPT_PROGRESSDATA" = xyes; then :
5430 ac_have_decl=1
5431 else
5432 ac_have_decl=0
5435 cat >>confdefs.h <<_ACEOF
5436 #define HAVE_DECL_CURLOPT_PROGRESSDATA $ac_have_decl
5437 _ACEOF
5438 ac_fn_c_check_decl "$LINENO" "CURLOPT_AUTOREFERER" "ac_cv_have_decl_CURLOPT_AUTOREFERER" "
5439 #include \"curl/curl.h\"
5442 if test "x$ac_cv_have_decl_CURLOPT_AUTOREFERER" = xyes; then :
5443 ac_have_decl=1
5444 else
5445 ac_have_decl=0
5448 cat >>confdefs.h <<_ACEOF
5449 #define HAVE_DECL_CURLOPT_AUTOREFERER $ac_have_decl
5450 _ACEOF
5451 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYPORT" "ac_cv_have_decl_CURLOPT_PROXYPORT" "
5452 #include \"curl/curl.h\"
5455 if test "x$ac_cv_have_decl_CURLOPT_PROXYPORT" = xyes; then :
5456 ac_have_decl=1
5457 else
5458 ac_have_decl=0
5461 cat >>confdefs.h <<_ACEOF
5462 #define HAVE_DECL_CURLOPT_PROXYPORT $ac_have_decl
5463 _ACEOF
5464 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDSIZE" "ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" "
5465 #include \"curl/curl.h\"
5468 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" = xyes; then :
5469 ac_have_decl=1
5470 else
5471 ac_have_decl=0
5474 cat >>confdefs.h <<_ACEOF
5475 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE $ac_have_decl
5476 _ACEOF
5477 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPPROXYTUNNEL" "ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" "
5478 #include \"curl/curl.h\"
5481 if test "x$ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" = xyes; then :
5482 ac_have_decl=1
5483 else
5484 ac_have_decl=0
5487 cat >>confdefs.h <<_ACEOF
5488 #define HAVE_DECL_CURLOPT_HTTPPROXYTUNNEL $ac_have_decl
5489 _ACEOF
5490 ac_fn_c_check_decl "$LINENO" "CURLOPT_INTERFACE" "ac_cv_have_decl_CURLOPT_INTERFACE" "
5491 #include \"curl/curl.h\"
5494 if test "x$ac_cv_have_decl_CURLOPT_INTERFACE" = xyes; then :
5495 ac_have_decl=1
5496 else
5497 ac_have_decl=0
5500 cat >>confdefs.h <<_ACEOF
5501 #define HAVE_DECL_CURLOPT_INTERFACE $ac_have_decl
5502 _ACEOF
5503 ac_fn_c_check_decl "$LINENO" "CURLOPT_KRB4LEVEL" "ac_cv_have_decl_CURLOPT_KRB4LEVEL" "
5504 #include \"curl/curl.h\"
5507 if test "x$ac_cv_have_decl_CURLOPT_KRB4LEVEL" = xyes; then :
5508 ac_have_decl=1
5509 else
5510 ac_have_decl=0
5513 cat >>confdefs.h <<_ACEOF
5514 #define HAVE_DECL_CURLOPT_KRB4LEVEL $ac_have_decl
5515 _ACEOF
5516 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_VERIFYPEER" "ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" "
5517 #include \"curl/curl.h\"
5520 if test "x$ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" = xyes; then :
5521 ac_have_decl=1
5522 else
5523 ac_have_decl=0
5526 cat >>confdefs.h <<_ACEOF
5527 #define HAVE_DECL_CURLOPT_SSL_VERIFYPEER $ac_have_decl
5528 _ACEOF
5529 ac_fn_c_check_decl "$LINENO" "CURLOPT_CAINFO" "ac_cv_have_decl_CURLOPT_CAINFO" "
5530 #include \"curl/curl.h\"
5533 if test "x$ac_cv_have_decl_CURLOPT_CAINFO" = xyes; then :
5534 ac_have_decl=1
5535 else
5536 ac_have_decl=0
5539 cat >>confdefs.h <<_ACEOF
5540 #define HAVE_DECL_CURLOPT_CAINFO $ac_have_decl
5541 _ACEOF
5542 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXREDIRS" "ac_cv_have_decl_CURLOPT_MAXREDIRS" "
5543 #include \"curl/curl.h\"
5546 if test "x$ac_cv_have_decl_CURLOPT_MAXREDIRS" = xyes; then :
5547 ac_have_decl=1
5548 else
5549 ac_have_decl=0
5552 cat >>confdefs.h <<_ACEOF
5553 #define HAVE_DECL_CURLOPT_MAXREDIRS $ac_have_decl
5554 _ACEOF
5555 ac_fn_c_check_decl "$LINENO" "CURLOPT_FILETIME" "ac_cv_have_decl_CURLOPT_FILETIME" "
5556 #include \"curl/curl.h\"
5559 if test "x$ac_cv_have_decl_CURLOPT_FILETIME" = xyes; then :
5560 ac_have_decl=1
5561 else
5562 ac_have_decl=0
5565 cat >>confdefs.h <<_ACEOF
5566 #define HAVE_DECL_CURLOPT_FILETIME $ac_have_decl
5567 _ACEOF
5568 ac_fn_c_check_decl "$LINENO" "CURLOPT_TELNETOPTIONS" "ac_cv_have_decl_CURLOPT_TELNETOPTIONS" "
5569 #include \"curl/curl.h\"
5572 if test "x$ac_cv_have_decl_CURLOPT_TELNETOPTIONS" = xyes; then :
5573 ac_have_decl=1
5574 else
5575 ac_have_decl=0
5578 cat >>confdefs.h <<_ACEOF
5579 #define HAVE_DECL_CURLOPT_TELNETOPTIONS $ac_have_decl
5580 _ACEOF
5581 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXCONNECTS" "ac_cv_have_decl_CURLOPT_MAXCONNECTS" "
5582 #include \"curl/curl.h\"
5585 if test "x$ac_cv_have_decl_CURLOPT_MAXCONNECTS" = xyes; then :
5586 ac_have_decl=1
5587 else
5588 ac_have_decl=0
5591 cat >>confdefs.h <<_ACEOF
5592 #define HAVE_DECL_CURLOPT_MAXCONNECTS $ac_have_decl
5593 _ACEOF
5594 ac_fn_c_check_decl "$LINENO" "CURLOPT_CLOSEPOLICY" "ac_cv_have_decl_CURLOPT_CLOSEPOLICY" "
5595 #include \"curl/curl.h\"
5598 if test "x$ac_cv_have_decl_CURLOPT_CLOSEPOLICY" = xyes; then :
5599 ac_have_decl=1
5600 else
5601 ac_have_decl=0
5604 cat >>confdefs.h <<_ACEOF
5605 #define HAVE_DECL_CURLOPT_CLOSEPOLICY $ac_have_decl
5606 _ACEOF
5607 ac_fn_c_check_decl "$LINENO" "CURLOPT_FRESH_CONNECT" "ac_cv_have_decl_CURLOPT_FRESH_CONNECT" "
5608 #include \"curl/curl.h\"
5611 if test "x$ac_cv_have_decl_CURLOPT_FRESH_CONNECT" = xyes; then :
5612 ac_have_decl=1
5613 else
5614 ac_have_decl=0
5617 cat >>confdefs.h <<_ACEOF
5618 #define HAVE_DECL_CURLOPT_FRESH_CONNECT $ac_have_decl
5619 _ACEOF
5620 ac_fn_c_check_decl "$LINENO" "CURLOPT_FORBID_REUSE" "ac_cv_have_decl_CURLOPT_FORBID_REUSE" "
5621 #include \"curl/curl.h\"
5624 if test "x$ac_cv_have_decl_CURLOPT_FORBID_REUSE" = xyes; then :
5625 ac_have_decl=1
5626 else
5627 ac_have_decl=0
5630 cat >>confdefs.h <<_ACEOF
5631 #define HAVE_DECL_CURLOPT_FORBID_REUSE $ac_have_decl
5632 _ACEOF
5633 ac_fn_c_check_decl "$LINENO" "CURLOPT_RANDOM_FILE" "ac_cv_have_decl_CURLOPT_RANDOM_FILE" "
5634 #include \"curl/curl.h\"
5637 if test "x$ac_cv_have_decl_CURLOPT_RANDOM_FILE" = xyes; then :
5638 ac_have_decl=1
5639 else
5640 ac_have_decl=0
5643 cat >>confdefs.h <<_ACEOF
5644 #define HAVE_DECL_CURLOPT_RANDOM_FILE $ac_have_decl
5645 _ACEOF
5646 ac_fn_c_check_decl "$LINENO" "CURLOPT_EGDSOCKET" "ac_cv_have_decl_CURLOPT_EGDSOCKET" "
5647 #include \"curl/curl.h\"
5650 if test "x$ac_cv_have_decl_CURLOPT_EGDSOCKET" = xyes; then :
5651 ac_have_decl=1
5652 else
5653 ac_have_decl=0
5656 cat >>confdefs.h <<_ACEOF
5657 #define HAVE_DECL_CURLOPT_EGDSOCKET $ac_have_decl
5658 _ACEOF
5659 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECTTIMEOUT" "ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" "
5660 #include \"curl/curl.h\"
5663 if test "x$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" = xyes; then :
5664 ac_have_decl=1
5665 else
5666 ac_have_decl=0
5669 cat >>confdefs.h <<_ACEOF
5670 #define HAVE_DECL_CURLOPT_CONNECTTIMEOUT $ac_have_decl
5671 _ACEOF
5672 ac_fn_c_check_decl "$LINENO" "CURLOPT_HEADERFUNCTION" "ac_cv_have_decl_CURLOPT_HEADERFUNCTION" "
5673 #include \"curl/curl.h\"
5676 if test "x$ac_cv_have_decl_CURLOPT_HEADERFUNCTION" = xyes; then :
5677 ac_have_decl=1
5678 else
5679 ac_have_decl=0
5682 cat >>confdefs.h <<_ACEOF
5683 #define HAVE_DECL_CURLOPT_HEADERFUNCTION $ac_have_decl
5684 _ACEOF
5685 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPGET" "ac_cv_have_decl_CURLOPT_HTTPGET" "
5686 #include \"curl/curl.h\"
5689 if test "x$ac_cv_have_decl_CURLOPT_HTTPGET" = xyes; then :
5690 ac_have_decl=1
5691 else
5692 ac_have_decl=0
5695 cat >>confdefs.h <<_ACEOF
5696 #define HAVE_DECL_CURLOPT_HTTPGET $ac_have_decl
5697 _ACEOF
5698 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_VERIFYHOST" "ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" "
5699 #include \"curl/curl.h\"
5702 if test "x$ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" = xyes; then :
5703 ac_have_decl=1
5704 else
5705 ac_have_decl=0
5708 cat >>confdefs.h <<_ACEOF
5709 #define HAVE_DECL_CURLOPT_SSL_VERIFYHOST $ac_have_decl
5710 _ACEOF
5711 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIEJAR" "ac_cv_have_decl_CURLOPT_COOKIEJAR" "
5712 #include \"curl/curl.h\"
5715 if test "x$ac_cv_have_decl_CURLOPT_COOKIEJAR" = xyes; then :
5716 ac_have_decl=1
5717 else
5718 ac_have_decl=0
5721 cat >>confdefs.h <<_ACEOF
5722 #define HAVE_DECL_CURLOPT_COOKIEJAR $ac_have_decl
5723 _ACEOF
5724 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_CIPHER_LIST" "ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" "
5725 #include \"curl/curl.h\"
5728 if test "x$ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" = xyes; then :
5729 ac_have_decl=1
5730 else
5731 ac_have_decl=0
5734 cat >>confdefs.h <<_ACEOF
5735 #define HAVE_DECL_CURLOPT_SSL_CIPHER_LIST $ac_have_decl
5736 _ACEOF
5737 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_VERSION" "ac_cv_have_decl_CURLOPT_HTTP_VERSION" "
5738 #include \"curl/curl.h\"
5741 if test "x$ac_cv_have_decl_CURLOPT_HTTP_VERSION" = xyes; then :
5742 ac_have_decl=1
5743 else
5744 ac_have_decl=0
5747 cat >>confdefs.h <<_ACEOF
5748 #define HAVE_DECL_CURLOPT_HTTP_VERSION $ac_have_decl
5749 _ACEOF
5750 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_USE_EPSV" "ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" "
5751 #include \"curl/curl.h\"
5754 if test "x$ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" = xyes; then :
5755 ac_have_decl=1
5756 else
5757 ac_have_decl=0
5760 cat >>confdefs.h <<_ACEOF
5761 #define HAVE_DECL_CURLOPT_FTP_USE_EPSV $ac_have_decl
5762 _ACEOF
5763 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERTTYPE" "ac_cv_have_decl_CURLOPT_SSLCERTTYPE" "
5764 #include \"curl/curl.h\"
5767 if test "x$ac_cv_have_decl_CURLOPT_SSLCERTTYPE" = xyes; then :
5768 ac_have_decl=1
5769 else
5770 ac_have_decl=0
5773 cat >>confdefs.h <<_ACEOF
5774 #define HAVE_DECL_CURLOPT_SSLCERTTYPE $ac_have_decl
5775 _ACEOF
5776 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEY" "ac_cv_have_decl_CURLOPT_SSLKEY" "
5777 #include \"curl/curl.h\"
5780 if test "x$ac_cv_have_decl_CURLOPT_SSLKEY" = xyes; then :
5781 ac_have_decl=1
5782 else
5783 ac_have_decl=0
5786 cat >>confdefs.h <<_ACEOF
5787 #define HAVE_DECL_CURLOPT_SSLKEY $ac_have_decl
5788 _ACEOF
5789 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEYTYPE" "ac_cv_have_decl_CURLOPT_SSLKEYTYPE" "
5790 #include \"curl/curl.h\"
5793 if test "x$ac_cv_have_decl_CURLOPT_SSLKEYTYPE" = xyes; then :
5794 ac_have_decl=1
5795 else
5796 ac_have_decl=0
5799 cat >>confdefs.h <<_ACEOF
5800 #define HAVE_DECL_CURLOPT_SSLKEYTYPE $ac_have_decl
5801 _ACEOF
5802 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLENGINE" "ac_cv_have_decl_CURLOPT_SSLENGINE" "
5803 #include \"curl/curl.h\"
5806 if test "x$ac_cv_have_decl_CURLOPT_SSLENGINE" = xyes; then :
5807 ac_have_decl=1
5808 else
5809 ac_have_decl=0
5812 cat >>confdefs.h <<_ACEOF
5813 #define HAVE_DECL_CURLOPT_SSLENGINE $ac_have_decl
5814 _ACEOF
5815 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLENGINE_DEFAULT" "ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" "
5816 #include \"curl/curl.h\"
5819 if test "x$ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" = xyes; then :
5820 ac_have_decl=1
5821 else
5822 ac_have_decl=0
5825 cat >>confdefs.h <<_ACEOF
5826 #define HAVE_DECL_CURLOPT_SSLENGINE_DEFAULT $ac_have_decl
5827 _ACEOF
5828 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_USE_GLOBAL_CACHE" "ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" "
5829 #include \"curl/curl.h\"
5832 if test "x$ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" = xyes; then :
5833 ac_have_decl=1
5834 else
5835 ac_have_decl=0
5838 cat >>confdefs.h <<_ACEOF
5839 #define HAVE_DECL_CURLOPT_DNS_USE_GLOBAL_CACHE $ac_have_decl
5840 _ACEOF
5841 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_CACHE_TIMEOUT" "ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" "
5842 #include \"curl/curl.h\"
5845 if test "x$ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" = xyes; then :
5846 ac_have_decl=1
5847 else
5848 ac_have_decl=0
5851 cat >>confdefs.h <<_ACEOF
5852 #define HAVE_DECL_CURLOPT_DNS_CACHE_TIMEOUT $ac_have_decl
5853 _ACEOF
5854 ac_fn_c_check_decl "$LINENO" "CURLOPT_PREQUOTE" "ac_cv_have_decl_CURLOPT_PREQUOTE" "
5855 #include \"curl/curl.h\"
5858 if test "x$ac_cv_have_decl_CURLOPT_PREQUOTE" = xyes; then :
5859 ac_have_decl=1
5860 else
5861 ac_have_decl=0
5864 cat >>confdefs.h <<_ACEOF
5865 #define HAVE_DECL_CURLOPT_PREQUOTE $ac_have_decl
5866 _ACEOF
5867 ac_fn_c_check_decl "$LINENO" "CURLOPT_DEBUGFUNCTION" "ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" "
5868 #include \"curl/curl.h\"
5871 if test "x$ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" = xyes; then :
5872 ac_have_decl=1
5873 else
5874 ac_have_decl=0
5877 cat >>confdefs.h <<_ACEOF
5878 #define HAVE_DECL_CURLOPT_DEBUGFUNCTION $ac_have_decl
5879 _ACEOF
5880 ac_fn_c_check_decl "$LINENO" "CURLOPT_DEBUGDATA" "ac_cv_have_decl_CURLOPT_DEBUGDATA" "
5881 #include \"curl/curl.h\"
5884 if test "x$ac_cv_have_decl_CURLOPT_DEBUGDATA" = xyes; then :
5885 ac_have_decl=1
5886 else
5887 ac_have_decl=0
5890 cat >>confdefs.h <<_ACEOF
5891 #define HAVE_DECL_CURLOPT_DEBUGDATA $ac_have_decl
5892 _ACEOF
5893 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIESESSION" "ac_cv_have_decl_CURLOPT_COOKIESESSION" "
5894 #include \"curl/curl.h\"
5897 if test "x$ac_cv_have_decl_CURLOPT_COOKIESESSION" = xyes; then :
5898 ac_have_decl=1
5899 else
5900 ac_have_decl=0
5903 cat >>confdefs.h <<_ACEOF
5904 #define HAVE_DECL_CURLOPT_COOKIESESSION $ac_have_decl
5905 _ACEOF
5906 ac_fn_c_check_decl "$LINENO" "CURLOPT_CAPATH" "ac_cv_have_decl_CURLOPT_CAPATH" "
5907 #include \"curl/curl.h\"
5910 if test "x$ac_cv_have_decl_CURLOPT_CAPATH" = xyes; then :
5911 ac_have_decl=1
5912 else
5913 ac_have_decl=0
5916 cat >>confdefs.h <<_ACEOF
5917 #define HAVE_DECL_CURLOPT_CAPATH $ac_have_decl
5918 _ACEOF
5919 ac_fn_c_check_decl "$LINENO" "CURLOPT_BUFFERSIZE" "ac_cv_have_decl_CURLOPT_BUFFERSIZE" "
5920 #include \"curl/curl.h\"
5923 if test "x$ac_cv_have_decl_CURLOPT_BUFFERSIZE" = xyes; then :
5924 ac_have_decl=1
5925 else
5926 ac_have_decl=0
5929 cat >>confdefs.h <<_ACEOF
5930 #define HAVE_DECL_CURLOPT_BUFFERSIZE $ac_have_decl
5931 _ACEOF
5932 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOSIGNAL" "ac_cv_have_decl_CURLOPT_NOSIGNAL" "
5933 #include \"curl/curl.h\"
5936 if test "x$ac_cv_have_decl_CURLOPT_NOSIGNAL" = xyes; then :
5937 ac_have_decl=1
5938 else
5939 ac_have_decl=0
5942 cat >>confdefs.h <<_ACEOF
5943 #define HAVE_DECL_CURLOPT_NOSIGNAL $ac_have_decl
5944 _ACEOF
5945 ac_fn_c_check_decl "$LINENO" "CURLOPT_SHARE" "ac_cv_have_decl_CURLOPT_SHARE" "
5946 #include \"curl/curl.h\"
5949 if test "x$ac_cv_have_decl_CURLOPT_SHARE" = xyes; then :
5950 ac_have_decl=1
5951 else
5952 ac_have_decl=0
5955 cat >>confdefs.h <<_ACEOF
5956 #define HAVE_DECL_CURLOPT_SHARE $ac_have_decl
5957 _ACEOF
5958 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYTYPE" "ac_cv_have_decl_CURLOPT_PROXYTYPE" "
5959 #include \"curl/curl.h\"
5962 if test "x$ac_cv_have_decl_CURLOPT_PROXYTYPE" = xyes; then :
5963 ac_have_decl=1
5964 else
5965 ac_have_decl=0
5968 cat >>confdefs.h <<_ACEOF
5969 #define HAVE_DECL_CURLOPT_PROXYTYPE $ac_have_decl
5970 _ACEOF
5971 ac_fn_c_check_decl "$LINENO" "CURLOPT_ENCODING" "ac_cv_have_decl_CURLOPT_ENCODING" "
5972 #include \"curl/curl.h\"
5975 if test "x$ac_cv_have_decl_CURLOPT_ENCODING" = xyes; then :
5976 ac_have_decl=1
5977 else
5978 ac_have_decl=0
5981 cat >>confdefs.h <<_ACEOF
5982 #define HAVE_DECL_CURLOPT_ENCODING $ac_have_decl
5983 _ACEOF
5984 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP200ALIASES" "ac_cv_have_decl_CURLOPT_HTTP200ALIASES" "
5985 #include \"curl/curl.h\"
5988 if test "x$ac_cv_have_decl_CURLOPT_HTTP200ALIASES" = xyes; then :
5989 ac_have_decl=1
5990 else
5991 ac_have_decl=0
5994 cat >>confdefs.h <<_ACEOF
5995 #define HAVE_DECL_CURLOPT_HTTP200ALIASES $ac_have_decl
5996 _ACEOF
5997 ac_fn_c_check_decl "$LINENO" "CURLOPT_UNRESTRICTED_AUTH" "ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" "
5998 #include \"curl/curl.h\"
6001 if test "x$ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" = xyes; then :
6002 ac_have_decl=1
6003 else
6004 ac_have_decl=0
6007 cat >>confdefs.h <<_ACEOF
6008 #define HAVE_DECL_CURLOPT_UNRESTRICTED_AUTH $ac_have_decl
6009 _ACEOF
6010 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_USE_EPRT" "ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" "
6011 #include \"curl/curl.h\"
6014 if test "x$ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" = xyes; then :
6015 ac_have_decl=1
6016 else
6017 ac_have_decl=0
6020 cat >>confdefs.h <<_ACEOF
6021 #define HAVE_DECL_CURLOPT_FTP_USE_EPRT $ac_have_decl
6022 _ACEOF
6023 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPAUTH" "ac_cv_have_decl_CURLOPT_HTTPAUTH" "
6024 #include \"curl/curl.h\"
6027 if test "x$ac_cv_have_decl_CURLOPT_HTTPAUTH" = xyes; then :
6028 ac_have_decl=1
6029 else
6030 ac_have_decl=0
6033 cat >>confdefs.h <<_ACEOF
6034 #define HAVE_DECL_CURLOPT_HTTPAUTH $ac_have_decl
6035 _ACEOF
6036 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_CREATE_MISSING_DIRS" "ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" "
6037 #include \"curl/curl.h\"
6040 if test "x$ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" = xyes; then :
6041 ac_have_decl=1
6042 else
6043 ac_have_decl=0
6046 cat >>confdefs.h <<_ACEOF
6047 #define HAVE_DECL_CURLOPT_FTP_CREATE_MISSING_DIRS $ac_have_decl
6048 _ACEOF
6049 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYAUTH" "ac_cv_have_decl_CURLOPT_PROXYAUTH" "
6050 #include \"curl/curl.h\"
6053 if test "x$ac_cv_have_decl_CURLOPT_PROXYAUTH" = xyes; then :
6054 ac_have_decl=1
6055 else
6056 ac_have_decl=0
6059 cat >>confdefs.h <<_ACEOF
6060 #define HAVE_DECL_CURLOPT_PROXYAUTH $ac_have_decl
6061 _ACEOF
6062 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_RESPONSE_TIMEOUT" "ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" "
6063 #include \"curl/curl.h\"
6066 if test "x$ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" = xyes; then :
6067 ac_have_decl=1
6068 else
6069 ac_have_decl=0
6072 cat >>confdefs.h <<_ACEOF
6073 #define HAVE_DECL_CURLOPT_FTP_RESPONSE_TIMEOUT $ac_have_decl
6074 _ACEOF
6075 ac_fn_c_check_decl "$LINENO" "CURLOPT_IPRESOLVE" "ac_cv_have_decl_CURLOPT_IPRESOLVE" "
6076 #include \"curl/curl.h\"
6079 if test "x$ac_cv_have_decl_CURLOPT_IPRESOLVE" = xyes; then :
6080 ac_have_decl=1
6081 else
6082 ac_have_decl=0
6085 cat >>confdefs.h <<_ACEOF
6086 #define HAVE_DECL_CURLOPT_IPRESOLVE $ac_have_decl
6087 _ACEOF
6088 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXFILESIZE" "ac_cv_have_decl_CURLOPT_MAXFILESIZE" "
6089 #include \"curl/curl.h\"
6092 if test "x$ac_cv_have_decl_CURLOPT_MAXFILESIZE" = xyes; then :
6093 ac_have_decl=1
6094 else
6095 ac_have_decl=0
6098 cat >>confdefs.h <<_ACEOF
6099 #define HAVE_DECL_CURLOPT_MAXFILESIZE $ac_have_decl
6100 _ACEOF
6101 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILESIZE_LARGE" "ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" "
6102 #include \"curl/curl.h\"
6105 if test "x$ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" = xyes; then :
6106 ac_have_decl=1
6107 else
6108 ac_have_decl=0
6111 cat >>confdefs.h <<_ACEOF
6112 #define HAVE_DECL_CURLOPT_INFILESIZE_LARGE $ac_have_decl
6113 _ACEOF
6114 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESUME_FROM_LARGE" "ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE" "
6115 #include \"curl/curl.h\"
6118 if test "x$ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE" = xyes; then :
6119 ac_have_decl=1
6120 else
6121 ac_have_decl=0
6124 cat >>confdefs.h <<_ACEOF
6125 #define HAVE_DECL_CURLOPT_RESUME_FROM_LARGE $ac_have_decl
6126 _ACEOF
6127 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXFILESIZE_LARGE" "ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE" "
6128 #include \"curl/curl.h\"
6131 if test "x$ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE" = xyes; then :
6132 ac_have_decl=1
6133 else
6134 ac_have_decl=0
6137 cat >>confdefs.h <<_ACEOF
6138 #define HAVE_DECL_CURLOPT_MAXFILESIZE_LARGE $ac_have_decl
6139 _ACEOF
6140 ac_fn_c_check_decl "$LINENO" "CURLOPT_NETRC_FILE" "ac_cv_have_decl_CURLOPT_NETRC_FILE" "
6141 #include \"curl/curl.h\"
6144 if test "x$ac_cv_have_decl_CURLOPT_NETRC_FILE" = xyes; then :
6145 ac_have_decl=1
6146 else
6147 ac_have_decl=0
6150 cat >>confdefs.h <<_ACEOF
6151 #define HAVE_DECL_CURLOPT_NETRC_FILE $ac_have_decl
6152 _ACEOF
6153 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SSL" "ac_cv_have_decl_CURLOPT_FTP_SSL" "
6154 #include \"curl/curl.h\"
6157 if test "x$ac_cv_have_decl_CURLOPT_FTP_SSL" = xyes; then :
6158 ac_have_decl=1
6159 else
6160 ac_have_decl=0
6163 cat >>confdefs.h <<_ACEOF
6164 #define HAVE_DECL_CURLOPT_FTP_SSL $ac_have_decl
6165 _ACEOF
6166 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDSIZE_LARGE" "ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" "
6167 #include \"curl/curl.h\"
6170 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" = xyes; then :
6171 ac_have_decl=1
6172 else
6173 ac_have_decl=0
6176 cat >>confdefs.h <<_ACEOF
6177 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE_LARGE $ac_have_decl
6178 _ACEOF
6179 ac_fn_c_check_decl "$LINENO" "CURLOPT_TCP_NODELAY" "ac_cv_have_decl_CURLOPT_TCP_NODELAY" "
6180 #include \"curl/curl.h\"
6183 if test "x$ac_cv_have_decl_CURLOPT_TCP_NODELAY" = xyes; then :
6184 ac_have_decl=1
6185 else
6186 ac_have_decl=0
6189 cat >>confdefs.h <<_ACEOF
6190 #define HAVE_DECL_CURLOPT_TCP_NODELAY $ac_have_decl
6191 _ACEOF
6192 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPSSLAUTH" "ac_cv_have_decl_CURLOPT_FTPSSLAUTH" "
6193 #include \"curl/curl.h\"
6196 if test "x$ac_cv_have_decl_CURLOPT_FTPSSLAUTH" = xyes; then :
6197 ac_have_decl=1
6198 else
6199 ac_have_decl=0
6202 cat >>confdefs.h <<_ACEOF
6203 #define HAVE_DECL_CURLOPT_FTPSSLAUTH $ac_have_decl
6204 _ACEOF
6205 ac_fn_c_check_decl "$LINENO" "CURLOPT_IOCTLFUNCTION" "ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" "
6206 #include \"curl/curl.h\"
6209 if test "x$ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" = xyes; then :
6210 ac_have_decl=1
6211 else
6212 ac_have_decl=0
6215 cat >>confdefs.h <<_ACEOF
6216 #define HAVE_DECL_CURLOPT_IOCTLFUNCTION $ac_have_decl
6217 _ACEOF
6218 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_ACCOUNT" "ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" "
6219 #include \"curl/curl.h\"
6222 if test "x$ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" = xyes; then :
6223 ac_have_decl=1
6224 else
6225 ac_have_decl=0
6228 cat >>confdefs.h <<_ACEOF
6229 #define HAVE_DECL_CURLOPT_FTP_ACCOUNT $ac_have_decl
6230 _ACEOF
6231 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIELIST" "ac_cv_have_decl_CURLOPT_COOKIELIST" "
6232 #include \"curl/curl.h\"
6235 if test "x$ac_cv_have_decl_CURLOPT_COOKIELIST" = xyes; then :
6236 ac_have_decl=1
6237 else
6238 ac_have_decl=0
6241 cat >>confdefs.h <<_ACEOF
6242 #define HAVE_DECL_CURLOPT_COOKIELIST $ac_have_decl
6243 _ACEOF
6244 ac_fn_c_check_decl "$LINENO" "CURLOPT_IGNORE_CONTENT_LENGTH" "ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" "
6245 #include \"curl/curl.h\"
6248 if test "x$ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" = xyes; then :
6249 ac_have_decl=1
6250 else
6251 ac_have_decl=0
6254 cat >>confdefs.h <<_ACEOF
6255 #define HAVE_DECL_CURLOPT_IGNORE_CONTENT_LENGTH $ac_have_decl
6256 _ACEOF
6257 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SKIP_PASV_IP" "ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" "
6258 #include \"curl/curl.h\"
6261 if test "x$ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" = xyes; then :
6262 ac_have_decl=1
6263 else
6264 ac_have_decl=0
6267 cat >>confdefs.h <<_ACEOF
6268 #define HAVE_DECL_CURLOPT_FTP_SKIP_PASV_IP $ac_have_decl
6269 _ACEOF
6270 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_FILEMETHOD" "ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" "
6271 #include \"curl/curl.h\"
6274 if test "x$ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" = xyes; then :
6275 ac_have_decl=1
6276 else
6277 ac_have_decl=0
6280 cat >>confdefs.h <<_ACEOF
6281 #define HAVE_DECL_CURLOPT_FTP_FILEMETHOD $ac_have_decl
6282 _ACEOF
6283 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOCALPORT" "ac_cv_have_decl_CURLOPT_LOCALPORT" "
6284 #include \"curl/curl.h\"
6287 if test "x$ac_cv_have_decl_CURLOPT_LOCALPORT" = xyes; then :
6288 ac_have_decl=1
6289 else
6290 ac_have_decl=0
6293 cat >>confdefs.h <<_ACEOF
6294 #define HAVE_DECL_CURLOPT_LOCALPORT $ac_have_decl
6295 _ACEOF
6296 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOCALPORTRANGE" "ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" "
6297 #include \"curl/curl.h\"
6300 if test "x$ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" = xyes; then :
6301 ac_have_decl=1
6302 else
6303 ac_have_decl=0
6306 cat >>confdefs.h <<_ACEOF
6307 #define HAVE_DECL_CURLOPT_LOCALPORTRANGE $ac_have_decl
6308 _ACEOF
6309 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECT_ONLY" "ac_cv_have_decl_CURLOPT_CONNECT_ONLY" "
6310 #include \"curl/curl.h\"
6313 if test "x$ac_cv_have_decl_CURLOPT_CONNECT_ONLY" = xyes; then :
6314 ac_have_decl=1
6315 else
6316 ac_have_decl=0
6319 cat >>confdefs.h <<_ACEOF
6320 #define HAVE_DECL_CURLOPT_CONNECT_ONLY $ac_have_decl
6321 _ACEOF
6322 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAX_SEND_SPEED_LARGE" "ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" "
6323 #include \"curl/curl.h\"
6326 if test "x$ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" = xyes; then :
6327 ac_have_decl=1
6328 else
6329 ac_have_decl=0
6332 cat >>confdefs.h <<_ACEOF
6333 #define HAVE_DECL_CURLOPT_MAX_SEND_SPEED_LARGE $ac_have_decl
6334 _ACEOF
6335 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAX_RECV_SPEED_LARGE" "ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE" "
6336 #include \"curl/curl.h\"
6339 if test "x$ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE" = xyes; then :
6340 ac_have_decl=1
6341 else
6342 ac_have_decl=0
6345 cat >>confdefs.h <<_ACEOF
6346 #define HAVE_DECL_CURLOPT_MAX_RECV_SPEED_LARGE $ac_have_decl
6347 _ACEOF
6348 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_ALTERNATIVE_TO_USER" "ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" "
6349 #include \"curl/curl.h\"
6352 if test "x$ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" = xyes; then :
6353 ac_have_decl=1
6354 else
6355 ac_have_decl=0
6358 cat >>confdefs.h <<_ACEOF
6359 #define HAVE_DECL_CURLOPT_FTP_ALTERNATIVE_TO_USER $ac_have_decl
6360 _ACEOF
6361 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_SESSIONID_CACHE" "ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" "
6362 #include \"curl/curl.h\"
6365 if test "x$ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" = xyes; then :
6366 ac_have_decl=1
6367 else
6368 ac_have_decl=0
6371 cat >>confdefs.h <<_ACEOF
6372 #define HAVE_DECL_CURLOPT_SSL_SESSIONID_CACHE $ac_have_decl
6373 _ACEOF
6374 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_AUTH_TYPES" "ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" "
6375 #include \"curl/curl.h\"
6378 if test "x$ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" = xyes; then :
6379 ac_have_decl=1
6380 else
6381 ac_have_decl=0
6384 cat >>confdefs.h <<_ACEOF
6385 #define HAVE_DECL_CURLOPT_SSH_AUTH_TYPES $ac_have_decl
6386 _ACEOF
6387 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_PUBLIC_KEYFILE" "ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" "
6388 #include \"curl/curl.h\"
6391 if test "x$ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" = xyes; then :
6392 ac_have_decl=1
6393 else
6394 ac_have_decl=0
6397 cat >>confdefs.h <<_ACEOF
6398 #define HAVE_DECL_CURLOPT_SSH_PUBLIC_KEYFILE $ac_have_decl
6399 _ACEOF
6400 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_PRIVATE_KEYFILE" "ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE" "
6401 #include \"curl/curl.h\"
6404 if test "x$ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE" = xyes; then :
6405 ac_have_decl=1
6406 else
6407 ac_have_decl=0
6410 cat >>confdefs.h <<_ACEOF
6411 #define HAVE_DECL_CURLOPT_SSH_PRIVATE_KEYFILE $ac_have_decl
6412 _ACEOF
6413 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SSL_CCC" "ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" "
6414 #include \"curl/curl.h\"
6417 if test "x$ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" = xyes; then :
6418 ac_have_decl=1
6419 else
6420 ac_have_decl=0
6423 cat >>confdefs.h <<_ACEOF
6424 #define HAVE_DECL_CURLOPT_FTP_SSL_CCC $ac_have_decl
6425 _ACEOF
6426 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEOUT_MS" "ac_cv_have_decl_CURLOPT_TIMEOUT_MS" "
6427 #include \"curl/curl.h\"
6430 if test "x$ac_cv_have_decl_CURLOPT_TIMEOUT_MS" = xyes; then :
6431 ac_have_decl=1
6432 else
6433 ac_have_decl=0
6436 cat >>confdefs.h <<_ACEOF
6437 #define HAVE_DECL_CURLOPT_TIMEOUT_MS $ac_have_decl
6438 _ACEOF
6439 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECTTIMEOUT_MS" "ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS" "
6440 #include \"curl/curl.h\"
6443 if test "x$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS" = xyes; then :
6444 ac_have_decl=1
6445 else
6446 ac_have_decl=0
6449 cat >>confdefs.h <<_ACEOF
6450 #define HAVE_DECL_CURLOPT_CONNECTTIMEOUT_MS $ac_have_decl
6451 _ACEOF
6452 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_TRANSFER_DECODING" "ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" "
6453 #include \"curl/curl.h\"
6456 if test "x$ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" = xyes; then :
6457 ac_have_decl=1
6458 else
6459 ac_have_decl=0
6462 cat >>confdefs.h <<_ACEOF
6463 #define HAVE_DECL_CURLOPT_HTTP_TRANSFER_DECODING $ac_have_decl
6464 _ACEOF
6465 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_CONTENT_DECODING" "ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING" "
6466 #include \"curl/curl.h\"
6469 if test "x$ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING" = xyes; then :
6470 ac_have_decl=1
6471 else
6472 ac_have_decl=0
6475 cat >>confdefs.h <<_ACEOF
6476 #define HAVE_DECL_CURLOPT_HTTP_CONTENT_DECODING $ac_have_decl
6477 _ACEOF
6478 ac_fn_c_check_decl "$LINENO" "CURLOPT_NEW_FILE_PERMS" "ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" "
6479 #include \"curl/curl.h\"
6482 if test "x$ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" = xyes; then :
6483 ac_have_decl=1
6484 else
6485 ac_have_decl=0
6488 cat >>confdefs.h <<_ACEOF
6489 #define HAVE_DECL_CURLOPT_NEW_FILE_PERMS $ac_have_decl
6490 _ACEOF
6491 ac_fn_c_check_decl "$LINENO" "CURLOPT_NEW_DIRECTORY_PERMS" "ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS" "
6492 #include \"curl/curl.h\"
6495 if test "x$ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS" = xyes; then :
6496 ac_have_decl=1
6497 else
6498 ac_have_decl=0
6501 cat >>confdefs.h <<_ACEOF
6502 #define HAVE_DECL_CURLOPT_NEW_DIRECTORY_PERMS $ac_have_decl
6503 _ACEOF
6504 ac_fn_c_check_decl "$LINENO" "CURLOPT_POST301" "ac_cv_have_decl_CURLOPT_POST301" "
6505 #include \"curl/curl.h\"
6508 if test "x$ac_cv_have_decl_CURLOPT_POST301" = xyes; then :
6509 ac_have_decl=1
6510 else
6511 ac_have_decl=0
6514 cat >>confdefs.h <<_ACEOF
6515 #define HAVE_DECL_CURLOPT_POST301 $ac_have_decl
6516 _ACEOF
6517 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" "ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" "
6518 #include \"curl/curl.h\"
6521 if test "x$ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" = xyes; then :
6522 ac_have_decl=1
6523 else
6524 ac_have_decl=0
6527 cat >>confdefs.h <<_ACEOF
6528 #define HAVE_DECL_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 $ac_have_decl
6529 _ACEOF
6530 ac_fn_c_check_decl "$LINENO" "CURLOPT_COPYPOSTFIELDS" "ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" "
6531 #include \"curl/curl.h\"
6534 if test "x$ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" = xyes; then :
6535 ac_have_decl=1
6536 else
6537 ac_have_decl=0
6540 cat >>confdefs.h <<_ACEOF
6541 #define HAVE_DECL_CURLOPT_COPYPOSTFIELDS $ac_have_decl
6542 _ACEOF
6543 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXY_TRANSFER_MODE" "ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" "
6544 #include \"curl/curl.h\"
6547 if test "x$ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" = xyes; then :
6548 ac_have_decl=1
6549 else
6550 ac_have_decl=0
6553 cat >>confdefs.h <<_ACEOF
6554 #define HAVE_DECL_CURLOPT_PROXY_TRANSFER_MODE $ac_have_decl
6555 _ACEOF
6556 ac_fn_c_check_decl "$LINENO" "CURLOPT_SEEKFUNCTION" "ac_cv_have_decl_CURLOPT_SEEKFUNCTION" "
6557 #include \"curl/curl.h\"
6560 if test "x$ac_cv_have_decl_CURLOPT_SEEKFUNCTION" = xyes; then :
6561 ac_have_decl=1
6562 else
6563 ac_have_decl=0
6566 cat >>confdefs.h <<_ACEOF
6567 #define HAVE_DECL_CURLOPT_SEEKFUNCTION $ac_have_decl
6568 _ACEOF
6569 ac_fn_c_check_decl "$LINENO" "CURLOPT_OPENSOCKETFUNCTION" "ac_cv_have_decl_CURLOPT_OPENSOCKETFUNCTION" "
6570 #include \"curl/curl.h\"
6573 if test "x$ac_cv_have_decl_CURLOPT_OPENSOCKETFUNCTION" = xyes; then :
6574 ac_have_decl=1
6575 else
6576 ac_have_decl=0
6579 cat >>confdefs.h <<_ACEOF
6580 #define HAVE_DECL_CURLOPT_OPENSOCKETFUNCTION $ac_have_decl
6581 _ACEOF
6582 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROTOCOLS" "ac_cv_have_decl_CURLOPT_PROTOCOLS" "
6583 #include \"curl/curl.h\"
6586 if test "x$ac_cv_have_decl_CURLOPT_PROTOCOLS" = xyes; then :
6587 ac_have_decl=1
6588 else
6589 ac_have_decl=0
6592 cat >>confdefs.h <<_ACEOF
6593 #define HAVE_DECL_CURLOPT_PROTOCOLS $ac_have_decl
6594 _ACEOF
6595 ac_fn_c_check_decl "$LINENO" "CURLOPT_REDIR_PROTOCOLS" "ac_cv_have_decl_CURLOPT_REDIR_PROTOCOLS" "
6596 #include \"curl/curl.h\"
6599 if test "x$ac_cv_have_decl_CURLOPT_REDIR_PROTOCOLS" = xyes; then :
6600 ac_have_decl=1
6601 else
6602 ac_have_decl=0
6605 cat >>confdefs.h <<_ACEOF
6606 #define HAVE_DECL_CURLOPT_REDIR_PROTOCOLS $ac_have_decl
6607 _ACEOF
6608 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESOLVE" "ac_cv_have_decl_CURLOPT_RESOLVE" "
6609 #include \"curl/curl.h\"
6612 if test "x$ac_cv_have_decl_CURLOPT_RESOLVE" = xyes; then :
6613 ac_have_decl=1
6614 else
6615 ac_have_decl=0
6618 cat >>confdefs.h <<_ACEOF
6619 #define HAVE_DECL_CURLOPT_RESOLVE $ac_have_decl
6620 _ACEOF
6621 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_SERVERS" "ac_cv_have_decl_CURLOPT_DNS_SERVERS" "
6622 #include \"curl/curl.h\"
6625 if test "x$ac_cv_have_decl_CURLOPT_DNS_SERVERS" = xyes; then :
6626 ac_have_decl=1
6627 else
6628 ac_have_decl=0
6631 cat >>confdefs.h <<_ACEOF
6632 #define HAVE_DECL_CURLOPT_DNS_SERVERS $ac_have_decl
6633 _ACEOF
6634 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAIL_FROM" "ac_cv_have_decl_CURLOPT_MAIL_FROM" "
6635 #include \"curl/curl.h\"
6638 if test "x$ac_cv_have_decl_CURLOPT_MAIL_FROM" = xyes; then :
6639 ac_have_decl=1
6640 else
6641 ac_have_decl=0
6644 cat >>confdefs.h <<_ACEOF
6645 #define HAVE_DECL_CURLOPT_MAIL_FROM $ac_have_decl
6646 _ACEOF
6647 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAIL_RCPT" "ac_cv_have_decl_CURLOPT_MAIL_RCPT" "
6648 #include \"curl/curl.h\"
6651 if test "x$ac_cv_have_decl_CURLOPT_MAIL_RCPT" = xyes; then :
6652 ac_have_decl=1
6653 else
6654 ac_have_decl=0
6657 cat >>confdefs.h <<_ACEOF
6658 #define HAVE_DECL_CURLOPT_MAIL_RCPT $ac_have_decl
6659 _ACEOF
6660 ac_fn_c_check_decl "$LINENO" "CURLOPT_PIPEWAIT" "ac_cv_have_decl_CURLOPT_PIPEWAIT" "
6661 #include \"curl/curl.h\"
6664 if test "x$ac_cv_have_decl_CURLOPT_PIPEWAIT" = xyes; then :
6665 ac_have_decl=1
6666 else
6667 ac_have_decl=0
6670 cat >>confdefs.h <<_ACEOF
6671 #define HAVE_DECL_CURLOPT_PIPEWAIT $ac_have_decl
6672 _ACEOF
6673 ac_fn_c_check_decl "$LINENO" "CURLOPT_CERTINFO" "ac_cv_have_decl_CURLOPT_CERTINFO" "
6674 #include \"curl/curl.h\"
6677 if test "x$ac_cv_have_decl_CURLOPT_CERTINFO" = xyes; then :
6678 ac_have_decl=1
6679 else
6680 ac_have_decl=0
6683 cat >>confdefs.h <<_ACEOF
6684 #define HAVE_DECL_CURLOPT_CERTINFO $ac_have_decl
6685 _ACEOF
6686 ac_fn_c_check_decl "$LINENO" "CURLINFO_EFFECTIVE_URL" "ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" "
6687 #include \"curl/curl.h\"
6690 if test "x$ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" = xyes; then :
6691 ac_have_decl=1
6692 else
6693 ac_have_decl=0
6696 cat >>confdefs.h <<_ACEOF
6697 #define HAVE_DECL_CURLINFO_EFFECTIVE_URL $ac_have_decl
6698 _ACEOF
6699 ac_fn_c_check_decl "$LINENO" "CURLINFO_RESPONSE_CODE" "ac_cv_have_decl_CURLINFO_RESPONSE_CODE" "
6700 #include \"curl/curl.h\"
6703 if test "x$ac_cv_have_decl_CURLINFO_RESPONSE_CODE" = xyes; then :
6704 ac_have_decl=1
6705 else
6706 ac_have_decl=0
6709 cat >>confdefs.h <<_ACEOF
6710 #define HAVE_DECL_CURLINFO_RESPONSE_CODE $ac_have_decl
6711 _ACEOF
6712 ac_fn_c_check_decl "$LINENO" "CURLINFO_TOTAL_TIME" "ac_cv_have_decl_CURLINFO_TOTAL_TIME" "
6713 #include \"curl/curl.h\"
6716 if test "x$ac_cv_have_decl_CURLINFO_TOTAL_TIME" = xyes; then :
6717 ac_have_decl=1
6718 else
6719 ac_have_decl=0
6722 cat >>confdefs.h <<_ACEOF
6723 #define HAVE_DECL_CURLINFO_TOTAL_TIME $ac_have_decl
6724 _ACEOF
6725 ac_fn_c_check_decl "$LINENO" "CURLINFO_NAMELOOKUP_TIME" "ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" "
6726 #include \"curl/curl.h\"
6729 if test "x$ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" = xyes; then :
6730 ac_have_decl=1
6731 else
6732 ac_have_decl=0
6735 cat >>confdefs.h <<_ACEOF
6736 #define HAVE_DECL_CURLINFO_NAMELOOKUP_TIME $ac_have_decl
6737 _ACEOF
6738 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONNECT_TIME" "ac_cv_have_decl_CURLINFO_CONNECT_TIME" "
6739 #include \"curl/curl.h\"
6742 if test "x$ac_cv_have_decl_CURLINFO_CONNECT_TIME" = xyes; then :
6743 ac_have_decl=1
6744 else
6745 ac_have_decl=0
6748 cat >>confdefs.h <<_ACEOF
6749 #define HAVE_DECL_CURLINFO_CONNECT_TIME $ac_have_decl
6750 _ACEOF
6751 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRETRANSFER_TIME" "ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" "
6752 #include \"curl/curl.h\"
6755 if test "x$ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" = xyes; then :
6756 ac_have_decl=1
6757 else
6758 ac_have_decl=0
6761 cat >>confdefs.h <<_ACEOF
6762 #define HAVE_DECL_CURLINFO_PRETRANSFER_TIME $ac_have_decl
6763 _ACEOF
6764 ac_fn_c_check_decl "$LINENO" "CURLINFO_SIZE_UPLOAD" "ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" "
6765 #include \"curl/curl.h\"
6768 if test "x$ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" = xyes; then :
6769 ac_have_decl=1
6770 else
6771 ac_have_decl=0
6774 cat >>confdefs.h <<_ACEOF
6775 #define HAVE_DECL_CURLINFO_SIZE_UPLOAD $ac_have_decl
6776 _ACEOF
6777 ac_fn_c_check_decl "$LINENO" "CURLINFO_SIZE_DOWNLOAD" "ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" "
6778 #include \"curl/curl.h\"
6781 if test "x$ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" = xyes; then :
6782 ac_have_decl=1
6783 else
6784 ac_have_decl=0
6787 cat >>confdefs.h <<_ACEOF
6788 #define HAVE_DECL_CURLINFO_SIZE_DOWNLOAD $ac_have_decl
6789 _ACEOF
6790 ac_fn_c_check_decl "$LINENO" "CURLINFO_SPEED_DOWNLOAD" "ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" "
6791 #include \"curl/curl.h\"
6794 if test "x$ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" = xyes; then :
6795 ac_have_decl=1
6796 else
6797 ac_have_decl=0
6800 cat >>confdefs.h <<_ACEOF
6801 #define HAVE_DECL_CURLINFO_SPEED_DOWNLOAD $ac_have_decl
6802 _ACEOF
6803 ac_fn_c_check_decl "$LINENO" "CURLINFO_SPEED_UPLOAD" "ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" "
6804 #include \"curl/curl.h\"
6807 if test "x$ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" = xyes; then :
6808 ac_have_decl=1
6809 else
6810 ac_have_decl=0
6813 cat >>confdefs.h <<_ACEOF
6814 #define HAVE_DECL_CURLINFO_SPEED_UPLOAD $ac_have_decl
6815 _ACEOF
6816 ac_fn_c_check_decl "$LINENO" "CURLINFO_HEADER_SIZE" "ac_cv_have_decl_CURLINFO_HEADER_SIZE" "
6817 #include \"curl/curl.h\"
6820 if test "x$ac_cv_have_decl_CURLINFO_HEADER_SIZE" = xyes; then :
6821 ac_have_decl=1
6822 else
6823 ac_have_decl=0
6826 cat >>confdefs.h <<_ACEOF
6827 #define HAVE_DECL_CURLINFO_HEADER_SIZE $ac_have_decl
6828 _ACEOF
6829 ac_fn_c_check_decl "$LINENO" "CURLINFO_REQUEST_SIZE" "ac_cv_have_decl_CURLINFO_REQUEST_SIZE" "
6830 #include \"curl/curl.h\"
6833 if test "x$ac_cv_have_decl_CURLINFO_REQUEST_SIZE" = xyes; then :
6834 ac_have_decl=1
6835 else
6836 ac_have_decl=0
6839 cat >>confdefs.h <<_ACEOF
6840 #define HAVE_DECL_CURLINFO_REQUEST_SIZE $ac_have_decl
6841 _ACEOF
6842 ac_fn_c_check_decl "$LINENO" "CURLINFO_SSL_VERIFYRESULT" "ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" "
6843 #include \"curl/curl.h\"
6846 if test "x$ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" = xyes; then :
6847 ac_have_decl=1
6848 else
6849 ac_have_decl=0
6852 cat >>confdefs.h <<_ACEOF
6853 #define HAVE_DECL_CURLINFO_SSL_VERIFYRESULT $ac_have_decl
6854 _ACEOF
6855 ac_fn_c_check_decl "$LINENO" "CURLINFO_FILETIME" "ac_cv_have_decl_CURLINFO_FILETIME" "
6856 #include \"curl/curl.h\"
6859 if test "x$ac_cv_have_decl_CURLINFO_FILETIME" = xyes; then :
6860 ac_have_decl=1
6861 else
6862 ac_have_decl=0
6865 cat >>confdefs.h <<_ACEOF
6866 #define HAVE_DECL_CURLINFO_FILETIME $ac_have_decl
6867 _ACEOF
6868 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_LENGTH_DOWNLOAD" "ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" "
6869 #include \"curl/curl.h\"
6872 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" = xyes; then :
6873 ac_have_decl=1
6874 else
6875 ac_have_decl=0
6878 cat >>confdefs.h <<_ACEOF
6879 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_DOWNLOAD $ac_have_decl
6880 _ACEOF
6881 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_LENGTH_UPLOAD" "ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" "
6882 #include \"curl/curl.h\"
6885 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" = xyes; then :
6886 ac_have_decl=1
6887 else
6888 ac_have_decl=0
6891 cat >>confdefs.h <<_ACEOF
6892 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_UPLOAD $ac_have_decl
6893 _ACEOF
6894 ac_fn_c_check_decl "$LINENO" "CURLINFO_STARTTRANSFER_TIME" "ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" "
6895 #include \"curl/curl.h\"
6898 if test "x$ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" = xyes; then :
6899 ac_have_decl=1
6900 else
6901 ac_have_decl=0
6904 cat >>confdefs.h <<_ACEOF
6905 #define HAVE_DECL_CURLINFO_STARTTRANSFER_TIME $ac_have_decl
6906 _ACEOF
6907 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_TYPE" "ac_cv_have_decl_CURLINFO_CONTENT_TYPE" "
6908 #include \"curl/curl.h\"
6911 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_TYPE" = xyes; then :
6912 ac_have_decl=1
6913 else
6914 ac_have_decl=0
6917 cat >>confdefs.h <<_ACEOF
6918 #define HAVE_DECL_CURLINFO_CONTENT_TYPE $ac_have_decl
6919 _ACEOF
6920 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_TIME" "ac_cv_have_decl_CURLINFO_REDIRECT_TIME" "
6921 #include \"curl/curl.h\"
6924 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_TIME" = xyes; then :
6925 ac_have_decl=1
6926 else
6927 ac_have_decl=0
6930 cat >>confdefs.h <<_ACEOF
6931 #define HAVE_DECL_CURLINFO_REDIRECT_TIME $ac_have_decl
6932 _ACEOF
6933 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_COUNT" "ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" "
6934 #include \"curl/curl.h\"
6937 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" = xyes; then :
6938 ac_have_decl=1
6939 else
6940 ac_have_decl=0
6943 cat >>confdefs.h <<_ACEOF
6944 #define HAVE_DECL_CURLINFO_REDIRECT_COUNT $ac_have_decl
6945 _ACEOF
6946 ac_fn_c_check_decl "$LINENO" "CURLINFO_HTTP_CONNECTCODE" "ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" "
6947 #include \"curl/curl.h\"
6950 if test "x$ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" = xyes; then :
6951 ac_have_decl=1
6952 else
6953 ac_have_decl=0
6956 cat >>confdefs.h <<_ACEOF
6957 #define HAVE_DECL_CURLINFO_HTTP_CONNECTCODE $ac_have_decl
6958 _ACEOF
6959 ac_fn_c_check_decl "$LINENO" "CURLINFO_HTTPAUTH_AVAIL" "ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" "
6960 #include \"curl/curl.h\"
6963 if test "x$ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" = xyes; then :
6964 ac_have_decl=1
6965 else
6966 ac_have_decl=0
6969 cat >>confdefs.h <<_ACEOF
6970 #define HAVE_DECL_CURLINFO_HTTPAUTH_AVAIL $ac_have_decl
6971 _ACEOF
6972 ac_fn_c_check_decl "$LINENO" "CURLINFO_PROXYAUTH_AVAIL" "ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" "
6973 #include \"curl/curl.h\"
6976 if test "x$ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" = xyes; then :
6977 ac_have_decl=1
6978 else
6979 ac_have_decl=0
6982 cat >>confdefs.h <<_ACEOF
6983 #define HAVE_DECL_CURLINFO_PROXYAUTH_AVAIL $ac_have_decl
6984 _ACEOF
6985 ac_fn_c_check_decl "$LINENO" "CURLINFO_OS_ERRNO" "ac_cv_have_decl_CURLINFO_OS_ERRNO" "
6986 #include \"curl/curl.h\"
6989 if test "x$ac_cv_have_decl_CURLINFO_OS_ERRNO" = xyes; then :
6990 ac_have_decl=1
6991 else
6992 ac_have_decl=0
6995 cat >>confdefs.h <<_ACEOF
6996 #define HAVE_DECL_CURLINFO_OS_ERRNO $ac_have_decl
6997 _ACEOF
6998 ac_fn_c_check_decl "$LINENO" "CURLINFO_NUM_CONNECTS" "ac_cv_have_decl_CURLINFO_NUM_CONNECTS" "
6999 #include \"curl/curl.h\"
7002 if test "x$ac_cv_have_decl_CURLINFO_NUM_CONNECTS" = xyes; then :
7003 ac_have_decl=1
7004 else
7005 ac_have_decl=0
7008 cat >>confdefs.h <<_ACEOF
7009 #define HAVE_DECL_CURLINFO_NUM_CONNECTS $ac_have_decl
7010 _ACEOF
7011 ac_fn_c_check_decl "$LINENO" "CURLINFO_SSL_ENGINES" "ac_cv_have_decl_CURLINFO_SSL_ENGINES" "
7012 #include \"curl/curl.h\"
7015 if test "x$ac_cv_have_decl_CURLINFO_SSL_ENGINES" = xyes; then :
7016 ac_have_decl=1
7017 else
7018 ac_have_decl=0
7021 cat >>confdefs.h <<_ACEOF
7022 #define HAVE_DECL_CURLINFO_SSL_ENGINES $ac_have_decl
7023 _ACEOF
7024 ac_fn_c_check_decl "$LINENO" "CURLINFO_COOKIELIST" "ac_cv_have_decl_CURLINFO_COOKIELIST" "
7025 #include \"curl/curl.h\"
7028 if test "x$ac_cv_have_decl_CURLINFO_COOKIELIST" = xyes; then :
7029 ac_have_decl=1
7030 else
7031 ac_have_decl=0
7034 cat >>confdefs.h <<_ACEOF
7035 #define HAVE_DECL_CURLINFO_COOKIELIST $ac_have_decl
7036 _ACEOF
7037 ac_fn_c_check_decl "$LINENO" "CURLINFO_LASTSOCKET" "ac_cv_have_decl_CURLINFO_LASTSOCKET" "
7038 #include \"curl/curl.h\"
7041 if test "x$ac_cv_have_decl_CURLINFO_LASTSOCKET" = xyes; then :
7042 ac_have_decl=1
7043 else
7044 ac_have_decl=0
7047 cat >>confdefs.h <<_ACEOF
7048 #define HAVE_DECL_CURLINFO_LASTSOCKET $ac_have_decl
7049 _ACEOF
7050 ac_fn_c_check_decl "$LINENO" "CURLINFO_FTP_ENTRY_PATH" "ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" "
7051 #include \"curl/curl.h\"
7054 if test "x$ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" = xyes; then :
7055 ac_have_decl=1
7056 else
7057 ac_have_decl=0
7060 cat >>confdefs.h <<_ACEOF
7061 #define HAVE_DECL_CURLINFO_FTP_ENTRY_PATH $ac_have_decl
7062 _ACEOF
7063 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_URL" "ac_cv_have_decl_CURLINFO_REDIRECT_URL" "
7064 #include \"curl/curl.h\"
7067 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_URL" = xyes; then :
7068 ac_have_decl=1
7069 else
7070 ac_have_decl=0
7073 cat >>confdefs.h <<_ACEOF
7074 #define HAVE_DECL_CURLINFO_REDIRECT_URL $ac_have_decl
7075 _ACEOF
7076 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRIMARY_IP" "ac_cv_have_decl_CURLINFO_PRIMARY_IP" "
7077 #include \"curl/curl.h\"
7080 if test "x$ac_cv_have_decl_CURLINFO_PRIMARY_IP" = xyes; then :
7081 ac_have_decl=1
7082 else
7083 ac_have_decl=0
7086 cat >>confdefs.h <<_ACEOF
7087 #define HAVE_DECL_CURLINFO_PRIMARY_IP $ac_have_decl
7088 _ACEOF
7089 ac_fn_c_check_decl "$LINENO" "CURLINFO_LOCAL_IP" "ac_cv_have_decl_CURLINFO_LOCAL_IP" "
7090 #include \"curl/curl.h\"
7093 if test "x$ac_cv_have_decl_CURLINFO_LOCAL_IP" = xyes; then :
7094 ac_have_decl=1
7095 else
7096 ac_have_decl=0
7099 cat >>confdefs.h <<_ACEOF
7100 #define HAVE_DECL_CURLINFO_LOCAL_IP $ac_have_decl
7101 _ACEOF
7102 ac_fn_c_check_decl "$LINENO" "CURLINFO_LOCAL_PORT" "ac_cv_have_decl_CURLINFO_LOCAL_PORT" "
7103 #include \"curl/curl.h\"
7106 if test "x$ac_cv_have_decl_CURLINFO_LOCAL_PORT" = xyes; then :
7107 ac_have_decl=1
7108 else
7109 ac_have_decl=0
7112 cat >>confdefs.h <<_ACEOF
7113 #define HAVE_DECL_CURLINFO_LOCAL_PORT $ac_have_decl
7114 _ACEOF
7115 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONDITION_UNMET" "ac_cv_have_decl_CURLINFO_CONDITION_UNMET" "
7116 #include \"curl/curl.h\"
7119 if test "x$ac_cv_have_decl_CURLINFO_CONDITION_UNMET" = xyes; then :
7120 ac_have_decl=1
7121 else
7122 ac_have_decl=0
7125 cat >>confdefs.h <<_ACEOF
7126 #define HAVE_DECL_CURLINFO_CONDITION_UNMET $ac_have_decl
7127 _ACEOF
7128 ac_fn_c_check_decl "$LINENO" "CURLINFO_CERTINFO" "ac_cv_have_decl_CURLINFO_CERTINFO" "
7129 #include \"curl/curl.h\"
7132 if test "x$ac_cv_have_decl_CURLINFO_CERTINFO" = xyes; then :
7133 ac_have_decl=1
7134 else
7135 ac_have_decl=0
7138 cat >>confdefs.h <<_ACEOF
7139 #define HAVE_DECL_CURLINFO_CERTINFO $ac_have_decl
7140 _ACEOF
7141 ac_fn_c_check_decl "$LINENO" "CURLE_UNSUPPORTED_PROTOCOL" "ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" "
7142 #include \"curl/curl.h\"
7145 if test "x$ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" = xyes; then :
7146 ac_have_decl=1
7147 else
7148 ac_have_decl=0
7151 cat >>confdefs.h <<_ACEOF
7152 #define HAVE_DECL_CURLE_UNSUPPORTED_PROTOCOL $ac_have_decl
7153 _ACEOF
7154 ac_fn_c_check_decl "$LINENO" "CURLE_FAILED_INIT" "ac_cv_have_decl_CURLE_FAILED_INIT" "
7155 #include \"curl/curl.h\"
7158 if test "x$ac_cv_have_decl_CURLE_FAILED_INIT" = xyes; then :
7159 ac_have_decl=1
7160 else
7161 ac_have_decl=0
7164 cat >>confdefs.h <<_ACEOF
7165 #define HAVE_DECL_CURLE_FAILED_INIT $ac_have_decl
7166 _ACEOF
7167 ac_fn_c_check_decl "$LINENO" "CURLE_URL_MALFORMAT" "ac_cv_have_decl_CURLE_URL_MALFORMAT" "
7168 #include \"curl/curl.h\"
7171 if test "x$ac_cv_have_decl_CURLE_URL_MALFORMAT" = xyes; then :
7172 ac_have_decl=1
7173 else
7174 ac_have_decl=0
7177 cat >>confdefs.h <<_ACEOF
7178 #define HAVE_DECL_CURLE_URL_MALFORMAT $ac_have_decl
7179 _ACEOF
7180 ac_fn_c_check_decl "$LINENO" "CURLE_URL_MALFORMAT_USER" "ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" "
7181 #include \"curl/curl.h\"
7184 if test "x$ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" = xyes; then :
7185 ac_have_decl=1
7186 else
7187 ac_have_decl=0
7190 cat >>confdefs.h <<_ACEOF
7191 #define HAVE_DECL_CURLE_URL_MALFORMAT_USER $ac_have_decl
7192 _ACEOF
7193 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_RESOLVE_PROXY" "ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" "
7194 #include \"curl/curl.h\"
7197 if test "x$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" = xyes; then :
7198 ac_have_decl=1
7199 else
7200 ac_have_decl=0
7203 cat >>confdefs.h <<_ACEOF
7204 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_PROXY $ac_have_decl
7205 _ACEOF
7206 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_RESOLVE_HOST" "ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" "
7207 #include \"curl/curl.h\"
7210 if test "x$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" = xyes; then :
7211 ac_have_decl=1
7212 else
7213 ac_have_decl=0
7216 cat >>confdefs.h <<_ACEOF
7217 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_HOST $ac_have_decl
7218 _ACEOF
7219 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_CONNECT" "ac_cv_have_decl_CURLE_COULDNT_CONNECT" "
7220 #include \"curl/curl.h\"
7223 if test "x$ac_cv_have_decl_CURLE_COULDNT_CONNECT" = xyes; then :
7224 ac_have_decl=1
7225 else
7226 ac_have_decl=0
7229 cat >>confdefs.h <<_ACEOF
7230 #define HAVE_DECL_CURLE_COULDNT_CONNECT $ac_have_decl
7231 _ACEOF
7232 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_SERVER_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" "
7233 #include \"curl/curl.h\"
7236 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" = xyes; then :
7237 ac_have_decl=1
7238 else
7239 ac_have_decl=0
7242 cat >>confdefs.h <<_ACEOF
7243 #define HAVE_DECL_CURLE_FTP_WEIRD_SERVER_REPLY $ac_have_decl
7244 _ACEOF
7245 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_ACCESS_DENIED" "ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" "
7246 #include \"curl/curl.h\"
7249 if test "x$ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" = xyes; then :
7250 ac_have_decl=1
7251 else
7252 ac_have_decl=0
7255 cat >>confdefs.h <<_ACEOF
7256 #define HAVE_DECL_CURLE_FTP_ACCESS_DENIED $ac_have_decl
7257 _ACEOF
7258 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_USER_PASSWORD_INCORRECT" "ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" "
7259 #include \"curl/curl.h\"
7262 if test "x$ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" = xyes; then :
7263 ac_have_decl=1
7264 else
7265 ac_have_decl=0
7268 cat >>confdefs.h <<_ACEOF
7269 #define HAVE_DECL_CURLE_FTP_USER_PASSWORD_INCORRECT $ac_have_decl
7270 _ACEOF
7271 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_PASS_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" "
7272 #include \"curl/curl.h\"
7275 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" = xyes; then :
7276 ac_have_decl=1
7277 else
7278 ac_have_decl=0
7281 cat >>confdefs.h <<_ACEOF
7282 #define HAVE_DECL_CURLE_FTP_WEIRD_PASS_REPLY $ac_have_decl
7283 _ACEOF
7284 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_USER_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" "
7285 #include \"curl/curl.h\"
7288 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" = xyes; then :
7289 ac_have_decl=1
7290 else
7291 ac_have_decl=0
7294 cat >>confdefs.h <<_ACEOF
7295 #define HAVE_DECL_CURLE_FTP_WEIRD_USER_REPLY $ac_have_decl
7296 _ACEOF
7297 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_PASV_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY" "
7298 #include \"curl/curl.h\"
7301 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY" = xyes; then :
7302 ac_have_decl=1
7303 else
7304 ac_have_decl=0
7307 cat >>confdefs.h <<_ACEOF
7308 #define HAVE_DECL_CURLE_FTP_WEIRD_PASV_REPLY $ac_have_decl
7309 _ACEOF
7310 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_227_FORMAT" "ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" "
7311 #include \"curl/curl.h\"
7314 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" = xyes; then :
7315 ac_have_decl=1
7316 else
7317 ac_have_decl=0
7320 cat >>confdefs.h <<_ACEOF
7321 #define HAVE_DECL_CURLE_FTP_WEIRD_227_FORMAT $ac_have_decl
7322 _ACEOF
7323 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_CANT_GET_HOST" "ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" "
7324 #include \"curl/curl.h\"
7327 if test "x$ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" = xyes; then :
7328 ac_have_decl=1
7329 else
7330 ac_have_decl=0
7333 cat >>confdefs.h <<_ACEOF
7334 #define HAVE_DECL_CURLE_FTP_CANT_GET_HOST $ac_have_decl
7335 _ACEOF
7336 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_CANT_RECONNECT" "ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" "
7337 #include \"curl/curl.h\"
7340 if test "x$ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" = xyes; then :
7341 ac_have_decl=1
7342 else
7343 ac_have_decl=0
7346 cat >>confdefs.h <<_ACEOF
7347 #define HAVE_DECL_CURLE_FTP_CANT_RECONNECT $ac_have_decl
7348 _ACEOF
7349 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_SET_BINARY" "ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" "
7350 #include \"curl/curl.h\"
7353 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" = xyes; then :
7354 ac_have_decl=1
7355 else
7356 ac_have_decl=0
7359 cat >>confdefs.h <<_ACEOF
7360 #define HAVE_DECL_CURLE_FTP_COULDNT_SET_BINARY $ac_have_decl
7361 _ACEOF
7362 ac_fn_c_check_decl "$LINENO" "CURLE_PARTIAL_FILE" "ac_cv_have_decl_CURLE_PARTIAL_FILE" "
7363 #include \"curl/curl.h\"
7366 if test "x$ac_cv_have_decl_CURLE_PARTIAL_FILE" = xyes; then :
7367 ac_have_decl=1
7368 else
7369 ac_have_decl=0
7372 cat >>confdefs.h <<_ACEOF
7373 #define HAVE_DECL_CURLE_PARTIAL_FILE $ac_have_decl
7374 _ACEOF
7375 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_RETR_FILE" "ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" "
7376 #include \"curl/curl.h\"
7379 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" = xyes; then :
7380 ac_have_decl=1
7381 else
7382 ac_have_decl=0
7385 cat >>confdefs.h <<_ACEOF
7386 #define HAVE_DECL_CURLE_FTP_COULDNT_RETR_FILE $ac_have_decl
7387 _ACEOF
7388 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WRITE_ERROR" "ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" "
7389 #include \"curl/curl.h\"
7392 if test "x$ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" = xyes; then :
7393 ac_have_decl=1
7394 else
7395 ac_have_decl=0
7398 cat >>confdefs.h <<_ACEOF
7399 #define HAVE_DECL_CURLE_FTP_WRITE_ERROR $ac_have_decl
7400 _ACEOF
7401 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_QUOTE_ERROR" "ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" "
7402 #include \"curl/curl.h\"
7405 if test "x$ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" = xyes; then :
7406 ac_have_decl=1
7407 else
7408 ac_have_decl=0
7411 cat >>confdefs.h <<_ACEOF
7412 #define HAVE_DECL_CURLE_FTP_QUOTE_ERROR $ac_have_decl
7413 _ACEOF
7414 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_RETURNED_ERROR" "ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" "
7415 #include \"curl/curl.h\"
7418 if test "x$ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" = xyes; then :
7419 ac_have_decl=1
7420 else
7421 ac_have_decl=0
7424 cat >>confdefs.h <<_ACEOF
7425 #define HAVE_DECL_CURLE_HTTP_RETURNED_ERROR $ac_have_decl
7426 _ACEOF
7427 ac_fn_c_check_decl "$LINENO" "CURLE_WRITE_ERROR" "ac_cv_have_decl_CURLE_WRITE_ERROR" "
7428 #include \"curl/curl.h\"
7431 if test "x$ac_cv_have_decl_CURLE_WRITE_ERROR" = xyes; then :
7432 ac_have_decl=1
7433 else
7434 ac_have_decl=0
7437 cat >>confdefs.h <<_ACEOF
7438 #define HAVE_DECL_CURLE_WRITE_ERROR $ac_have_decl
7439 _ACEOF
7440 ac_fn_c_check_decl "$LINENO" "CURLE_MALFORMAT_USER" "ac_cv_have_decl_CURLE_MALFORMAT_USER" "
7441 #include \"curl/curl.h\"
7444 if test "x$ac_cv_have_decl_CURLE_MALFORMAT_USER" = xyes; then :
7445 ac_have_decl=1
7446 else
7447 ac_have_decl=0
7450 cat >>confdefs.h <<_ACEOF
7451 #define HAVE_DECL_CURLE_MALFORMAT_USER $ac_have_decl
7452 _ACEOF
7453 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_STOR_FILE" "ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" "
7454 #include \"curl/curl.h\"
7457 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" = xyes; then :
7458 ac_have_decl=1
7459 else
7460 ac_have_decl=0
7463 cat >>confdefs.h <<_ACEOF
7464 #define HAVE_DECL_CURLE_FTP_COULDNT_STOR_FILE $ac_have_decl
7465 _ACEOF
7466 ac_fn_c_check_decl "$LINENO" "CURLE_READ_ERROR" "ac_cv_have_decl_CURLE_READ_ERROR" "
7467 #include \"curl/curl.h\"
7470 if test "x$ac_cv_have_decl_CURLE_READ_ERROR" = xyes; then :
7471 ac_have_decl=1
7472 else
7473 ac_have_decl=0
7476 cat >>confdefs.h <<_ACEOF
7477 #define HAVE_DECL_CURLE_READ_ERROR $ac_have_decl
7478 _ACEOF
7479 ac_fn_c_check_decl "$LINENO" "CURLE_OUT_OF_MEMORY" "ac_cv_have_decl_CURLE_OUT_OF_MEMORY" "
7480 #include \"curl/curl.h\"
7483 if test "x$ac_cv_have_decl_CURLE_OUT_OF_MEMORY" = xyes; then :
7484 ac_have_decl=1
7485 else
7486 ac_have_decl=0
7489 cat >>confdefs.h <<_ACEOF
7490 #define HAVE_DECL_CURLE_OUT_OF_MEMORY $ac_have_decl
7491 _ACEOF
7492 ac_fn_c_check_decl "$LINENO" "CURLE_OPERATION_TIMEOUTED" "ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" "
7493 #include \"curl/curl.h\"
7496 if test "x$ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" = xyes; then :
7497 ac_have_decl=1
7498 else
7499 ac_have_decl=0
7502 cat >>confdefs.h <<_ACEOF
7503 #define HAVE_DECL_CURLE_OPERATION_TIMEOUTED $ac_have_decl
7504 _ACEOF
7505 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_SET_ASCII" "ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" "
7506 #include \"curl/curl.h\"
7509 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" = xyes; then :
7510 ac_have_decl=1
7511 else
7512 ac_have_decl=0
7515 cat >>confdefs.h <<_ACEOF
7516 #define HAVE_DECL_CURLE_FTP_COULDNT_SET_ASCII $ac_have_decl
7517 _ACEOF
7518 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_PORT_FAILED" "ac_cv_have_decl_CURLE_FTP_PORT_FAILED" "
7519 #include \"curl/curl.h\"
7522 if test "x$ac_cv_have_decl_CURLE_FTP_PORT_FAILED" = xyes; then :
7523 ac_have_decl=1
7524 else
7525 ac_have_decl=0
7528 cat >>confdefs.h <<_ACEOF
7529 #define HAVE_DECL_CURLE_FTP_PORT_FAILED $ac_have_decl
7530 _ACEOF
7531 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_USE_REST" "ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" "
7532 #include \"curl/curl.h\"
7535 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" = xyes; then :
7536 ac_have_decl=1
7537 else
7538 ac_have_decl=0
7541 cat >>confdefs.h <<_ACEOF
7542 #define HAVE_DECL_CURLE_FTP_COULDNT_USE_REST $ac_have_decl
7543 _ACEOF
7544 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_GET_SIZE" "ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" "
7545 #include \"curl/curl.h\"
7548 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" = xyes; then :
7549 ac_have_decl=1
7550 else
7551 ac_have_decl=0
7554 cat >>confdefs.h <<_ACEOF
7555 #define HAVE_DECL_CURLE_FTP_COULDNT_GET_SIZE $ac_have_decl
7556 _ACEOF
7557 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_RANGE_ERROR" "ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" "
7558 #include \"curl/curl.h\"
7561 if test "x$ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" = xyes; then :
7562 ac_have_decl=1
7563 else
7564 ac_have_decl=0
7567 cat >>confdefs.h <<_ACEOF
7568 #define HAVE_DECL_CURLE_HTTP_RANGE_ERROR $ac_have_decl
7569 _ACEOF
7570 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_POST_ERROR" "ac_cv_have_decl_CURLE_HTTP_POST_ERROR" "
7571 #include \"curl/curl.h\"
7574 if test "x$ac_cv_have_decl_CURLE_HTTP_POST_ERROR" = xyes; then :
7575 ac_have_decl=1
7576 else
7577 ac_have_decl=0
7580 cat >>confdefs.h <<_ACEOF
7581 #define HAVE_DECL_CURLE_HTTP_POST_ERROR $ac_have_decl
7582 _ACEOF
7583 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CONNECT_ERROR" "ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" "
7584 #include \"curl/curl.h\"
7587 if test "x$ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" = xyes; then :
7588 ac_have_decl=1
7589 else
7590 ac_have_decl=0
7593 cat >>confdefs.h <<_ACEOF
7594 #define HAVE_DECL_CURLE_SSL_CONNECT_ERROR $ac_have_decl
7595 _ACEOF
7596 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_DOWNLOAD_RESUME" "ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" "
7597 #include \"curl/curl.h\"
7600 if test "x$ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" = xyes; then :
7601 ac_have_decl=1
7602 else
7603 ac_have_decl=0
7606 cat >>confdefs.h <<_ACEOF
7607 #define HAVE_DECL_CURLE_BAD_DOWNLOAD_RESUME $ac_have_decl
7608 _ACEOF
7609 ac_fn_c_check_decl "$LINENO" "CURLE_FILE_COULDNT_READ_FILE" "ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" "
7610 #include \"curl/curl.h\"
7613 if test "x$ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" = xyes; then :
7614 ac_have_decl=1
7615 else
7616 ac_have_decl=0
7619 cat >>confdefs.h <<_ACEOF
7620 #define HAVE_DECL_CURLE_FILE_COULDNT_READ_FILE $ac_have_decl
7621 _ACEOF
7622 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_CANNOT_BIND" "ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" "
7623 #include \"curl/curl.h\"
7626 if test "x$ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" = xyes; then :
7627 ac_have_decl=1
7628 else
7629 ac_have_decl=0
7632 cat >>confdefs.h <<_ACEOF
7633 #define HAVE_DECL_CURLE_LDAP_CANNOT_BIND $ac_have_decl
7634 _ACEOF
7635 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_SEARCH_FAILED" "ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" "
7636 #include \"curl/curl.h\"
7639 if test "x$ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" = xyes; then :
7640 ac_have_decl=1
7641 else
7642 ac_have_decl=0
7645 cat >>confdefs.h <<_ACEOF
7646 #define HAVE_DECL_CURLE_LDAP_SEARCH_FAILED $ac_have_decl
7647 _ACEOF
7648 ac_fn_c_check_decl "$LINENO" "CURLE_LIBRARY_NOT_FOUND" "ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" "
7649 #include \"curl/curl.h\"
7652 if test "x$ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" = xyes; then :
7653 ac_have_decl=1
7654 else
7655 ac_have_decl=0
7658 cat >>confdefs.h <<_ACEOF
7659 #define HAVE_DECL_CURLE_LIBRARY_NOT_FOUND $ac_have_decl
7660 _ACEOF
7661 ac_fn_c_check_decl "$LINENO" "CURLE_FUNCTION_NOT_FOUND" "ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" "
7662 #include \"curl/curl.h\"
7665 if test "x$ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" = xyes; then :
7666 ac_have_decl=1
7667 else
7668 ac_have_decl=0
7671 cat >>confdefs.h <<_ACEOF
7672 #define HAVE_DECL_CURLE_FUNCTION_NOT_FOUND $ac_have_decl
7673 _ACEOF
7674 ac_fn_c_check_decl "$LINENO" "CURLE_ABORTED_BY_CALLBACK" "ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" "
7675 #include \"curl/curl.h\"
7678 if test "x$ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" = xyes; then :
7679 ac_have_decl=1
7680 else
7681 ac_have_decl=0
7684 cat >>confdefs.h <<_ACEOF
7685 #define HAVE_DECL_CURLE_ABORTED_BY_CALLBACK $ac_have_decl
7686 _ACEOF
7687 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_FUNCTION_ARGUMENT" "ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" "
7688 #include \"curl/curl.h\"
7691 if test "x$ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" = xyes; then :
7692 ac_have_decl=1
7693 else
7694 ac_have_decl=0
7697 cat >>confdefs.h <<_ACEOF
7698 #define HAVE_DECL_CURLE_BAD_FUNCTION_ARGUMENT $ac_have_decl
7699 _ACEOF
7700 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_CALLING_ORDER" "ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" "
7701 #include \"curl/curl.h\"
7704 if test "x$ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" = xyes; then :
7705 ac_have_decl=1
7706 else
7707 ac_have_decl=0
7710 cat >>confdefs.h <<_ACEOF
7711 #define HAVE_DECL_CURLE_BAD_CALLING_ORDER $ac_have_decl
7712 _ACEOF
7713 ac_fn_c_check_decl "$LINENO" "CURLE_INTERFACE_FAILED" "ac_cv_have_decl_CURLE_INTERFACE_FAILED" "
7714 #include \"curl/curl.h\"
7717 if test "x$ac_cv_have_decl_CURLE_INTERFACE_FAILED" = xyes; then :
7718 ac_have_decl=1
7719 else
7720 ac_have_decl=0
7723 cat >>confdefs.h <<_ACEOF
7724 #define HAVE_DECL_CURLE_INTERFACE_FAILED $ac_have_decl
7725 _ACEOF
7726 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_PASSWORD_ENTERED" "ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" "
7727 #include \"curl/curl.h\"
7730 if test "x$ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" = xyes; then :
7731 ac_have_decl=1
7732 else
7733 ac_have_decl=0
7736 cat >>confdefs.h <<_ACEOF
7737 #define HAVE_DECL_CURLE_BAD_PASSWORD_ENTERED $ac_have_decl
7738 _ACEOF
7739 ac_fn_c_check_decl "$LINENO" "CURLE_TOO_MANY_REDIRECTS" "ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" "
7740 #include \"curl/curl.h\"
7743 if test "x$ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" = xyes; then :
7744 ac_have_decl=1
7745 else
7746 ac_have_decl=0
7749 cat >>confdefs.h <<_ACEOF
7750 #define HAVE_DECL_CURLE_TOO_MANY_REDIRECTS $ac_have_decl
7751 _ACEOF
7752 ac_fn_c_check_decl "$LINENO" "CURLE_UNKNOWN_TELNET_OPTION" "ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" "
7753 #include \"curl/curl.h\"
7756 if test "x$ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" = xyes; then :
7757 ac_have_decl=1
7758 else
7759 ac_have_decl=0
7762 cat >>confdefs.h <<_ACEOF
7763 #define HAVE_DECL_CURLE_UNKNOWN_TELNET_OPTION $ac_have_decl
7764 _ACEOF
7765 ac_fn_c_check_decl "$LINENO" "CURLE_TELNET_OPTION_SYNTAX" "ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" "
7766 #include \"curl/curl.h\"
7769 if test "x$ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" = xyes; then :
7770 ac_have_decl=1
7771 else
7772 ac_have_decl=0
7775 cat >>confdefs.h <<_ACEOF
7776 #define HAVE_DECL_CURLE_TELNET_OPTION_SYNTAX $ac_have_decl
7777 _ACEOF
7778 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_PEER_CERTIFICATE" "ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" "
7779 #include \"curl/curl.h\"
7782 if test "x$ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" = xyes; then :
7783 ac_have_decl=1
7784 else
7785 ac_have_decl=0
7788 cat >>confdefs.h <<_ACEOF
7789 #define HAVE_DECL_CURLE_SSL_PEER_CERTIFICATE $ac_have_decl
7790 _ACEOF
7791 ac_fn_c_check_decl "$LINENO" "CURLE_GOT_NOTHING" "ac_cv_have_decl_CURLE_GOT_NOTHING" "
7792 #include \"curl/curl.h\"
7795 if test "x$ac_cv_have_decl_CURLE_GOT_NOTHING" = xyes; then :
7796 ac_have_decl=1
7797 else
7798 ac_have_decl=0
7801 cat >>confdefs.h <<_ACEOF
7802 #define HAVE_DECL_CURLE_GOT_NOTHING $ac_have_decl
7803 _ACEOF
7804 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_NOTFOUND" "ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" "
7805 #include \"curl/curl.h\"
7808 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" = xyes; then :
7809 ac_have_decl=1
7810 else
7811 ac_have_decl=0
7814 cat >>confdefs.h <<_ACEOF
7815 #define HAVE_DECL_CURLE_SSL_ENGINE_NOTFOUND $ac_have_decl
7816 _ACEOF
7817 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_SETFAILED" "ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" "
7818 #include \"curl/curl.h\"
7821 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" = xyes; then :
7822 ac_have_decl=1
7823 else
7824 ac_have_decl=0
7827 cat >>confdefs.h <<_ACEOF
7828 #define HAVE_DECL_CURLE_SSL_ENGINE_SETFAILED $ac_have_decl
7829 _ACEOF
7830 ac_fn_c_check_decl "$LINENO" "CURLE_SEND_ERROR" "ac_cv_have_decl_CURLE_SEND_ERROR" "
7831 #include \"curl/curl.h\"
7834 if test "x$ac_cv_have_decl_CURLE_SEND_ERROR" = xyes; then :
7835 ac_have_decl=1
7836 else
7837 ac_have_decl=0
7840 cat >>confdefs.h <<_ACEOF
7841 #define HAVE_DECL_CURLE_SEND_ERROR $ac_have_decl
7842 _ACEOF
7843 ac_fn_c_check_decl "$LINENO" "CURLE_RECV_ERROR" "ac_cv_have_decl_CURLE_RECV_ERROR" "
7844 #include \"curl/curl.h\"
7847 if test "x$ac_cv_have_decl_CURLE_RECV_ERROR" = xyes; then :
7848 ac_have_decl=1
7849 else
7850 ac_have_decl=0
7853 cat >>confdefs.h <<_ACEOF
7854 #define HAVE_DECL_CURLE_RECV_ERROR $ac_have_decl
7855 _ACEOF
7856 ac_fn_c_check_decl "$LINENO" "CURLE_SHARE_IN_USE" "ac_cv_have_decl_CURLE_SHARE_IN_USE" "
7857 #include \"curl/curl.h\"
7860 if test "x$ac_cv_have_decl_CURLE_SHARE_IN_USE" = xyes; then :
7861 ac_have_decl=1
7862 else
7863 ac_have_decl=0
7866 cat >>confdefs.h <<_ACEOF
7867 #define HAVE_DECL_CURLE_SHARE_IN_USE $ac_have_decl
7868 _ACEOF
7869 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CERTPROBLEM" "ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" "
7870 #include \"curl/curl.h\"
7873 if test "x$ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" = xyes; then :
7874 ac_have_decl=1
7875 else
7876 ac_have_decl=0
7879 cat >>confdefs.h <<_ACEOF
7880 #define HAVE_DECL_CURLE_SSL_CERTPROBLEM $ac_have_decl
7881 _ACEOF
7882 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CIPHER" "ac_cv_have_decl_CURLE_SSL_CIPHER" "
7883 #include \"curl/curl.h\"
7886 if test "x$ac_cv_have_decl_CURLE_SSL_CIPHER" = xyes; then :
7887 ac_have_decl=1
7888 else
7889 ac_have_decl=0
7892 cat >>confdefs.h <<_ACEOF
7893 #define HAVE_DECL_CURLE_SSL_CIPHER $ac_have_decl
7894 _ACEOF
7895 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CACERT" "ac_cv_have_decl_CURLE_SSL_CACERT" "
7896 #include \"curl/curl.h\"
7899 if test "x$ac_cv_have_decl_CURLE_SSL_CACERT" = xyes; then :
7900 ac_have_decl=1
7901 else
7902 ac_have_decl=0
7905 cat >>confdefs.h <<_ACEOF
7906 #define HAVE_DECL_CURLE_SSL_CACERT $ac_have_decl
7907 _ACEOF
7908 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_CONTENT_ENCODING" "ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" "
7909 #include \"curl/curl.h\"
7912 if test "x$ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" = xyes; then :
7913 ac_have_decl=1
7914 else
7915 ac_have_decl=0
7918 cat >>confdefs.h <<_ACEOF
7919 #define HAVE_DECL_CURLE_BAD_CONTENT_ENCODING $ac_have_decl
7920 _ACEOF
7921 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_INVALID_URL" "ac_cv_have_decl_CURLE_LDAP_INVALID_URL" "
7922 #include \"curl/curl.h\"
7925 if test "x$ac_cv_have_decl_CURLE_LDAP_INVALID_URL" = xyes; then :
7926 ac_have_decl=1
7927 else
7928 ac_have_decl=0
7931 cat >>confdefs.h <<_ACEOF
7932 #define HAVE_DECL_CURLE_LDAP_INVALID_URL $ac_have_decl
7933 _ACEOF
7934 ac_fn_c_check_decl "$LINENO" "CURLE_FILESIZE_EXCEEDED" "ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" "
7935 #include \"curl/curl.h\"
7938 if test "x$ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" = xyes; then :
7939 ac_have_decl=1
7940 else
7941 ac_have_decl=0
7944 cat >>confdefs.h <<_ACEOF
7945 #define HAVE_DECL_CURLE_FILESIZE_EXCEEDED $ac_have_decl
7946 _ACEOF
7947 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_SSL_FAILED" "ac_cv_have_decl_CURLE_FTP_SSL_FAILED" "
7948 #include \"curl/curl.h\"
7951 if test "x$ac_cv_have_decl_CURLE_FTP_SSL_FAILED" = xyes; then :
7952 ac_have_decl=1
7953 else
7954 ac_have_decl=0
7957 cat >>confdefs.h <<_ACEOF
7958 #define HAVE_DECL_CURLE_FTP_SSL_FAILED $ac_have_decl
7959 _ACEOF
7960 ac_fn_c_check_decl "$LINENO" "CURLE_SEND_FAIL_REWIND" "ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" "
7961 #include \"curl/curl.h\"
7964 if test "x$ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" = xyes; then :
7965 ac_have_decl=1
7966 else
7967 ac_have_decl=0
7970 cat >>confdefs.h <<_ACEOF
7971 #define HAVE_DECL_CURLE_SEND_FAIL_REWIND $ac_have_decl
7972 _ACEOF
7973 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_INITFAILED" "ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" "
7974 #include \"curl/curl.h\"
7977 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" = xyes; then :
7978 ac_have_decl=1
7979 else
7980 ac_have_decl=0
7983 cat >>confdefs.h <<_ACEOF
7984 #define HAVE_DECL_CURLE_SSL_ENGINE_INITFAILED $ac_have_decl
7985 _ACEOF
7986 ac_fn_c_check_decl "$LINENO" "CURLE_LOGIN_DENIED" "ac_cv_have_decl_CURLE_LOGIN_DENIED" "
7987 #include \"curl/curl.h\"
7990 if test "x$ac_cv_have_decl_CURLE_LOGIN_DENIED" = xyes; then :
7991 ac_have_decl=1
7992 else
7993 ac_have_decl=0
7996 cat >>confdefs.h <<_ACEOF
7997 #define HAVE_DECL_CURLE_LOGIN_DENIED $ac_have_decl
7998 _ACEOF
7999 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_NOTFOUND" "ac_cv_have_decl_CURLE_TFTP_NOTFOUND" "
8000 #include \"curl/curl.h\"
8003 if test "x$ac_cv_have_decl_CURLE_TFTP_NOTFOUND" = xyes; then :
8004 ac_have_decl=1
8005 else
8006 ac_have_decl=0
8009 cat >>confdefs.h <<_ACEOF
8010 #define HAVE_DECL_CURLE_TFTP_NOTFOUND $ac_have_decl
8011 _ACEOF
8012 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_PERM" "ac_cv_have_decl_CURLE_TFTP_PERM" "
8013 #include \"curl/curl.h\"
8016 if test "x$ac_cv_have_decl_CURLE_TFTP_PERM" = xyes; then :
8017 ac_have_decl=1
8018 else
8019 ac_have_decl=0
8022 cat >>confdefs.h <<_ACEOF
8023 #define HAVE_DECL_CURLE_TFTP_PERM $ac_have_decl
8024 _ACEOF
8025 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_DISK_FULL" "ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" "
8026 #include \"curl/curl.h\"
8029 if test "x$ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" = xyes; then :
8030 ac_have_decl=1
8031 else
8032 ac_have_decl=0
8035 cat >>confdefs.h <<_ACEOF
8036 #define HAVE_DECL_CURLE_REMOTE_DISK_FULL $ac_have_decl
8037 _ACEOF
8038 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_ILLEGAL" "ac_cv_have_decl_CURLE_TFTP_ILLEGAL" "
8039 #include \"curl/curl.h\"
8042 if test "x$ac_cv_have_decl_CURLE_TFTP_ILLEGAL" = xyes; then :
8043 ac_have_decl=1
8044 else
8045 ac_have_decl=0
8048 cat >>confdefs.h <<_ACEOF
8049 #define HAVE_DECL_CURLE_TFTP_ILLEGAL $ac_have_decl
8050 _ACEOF
8051 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_UNKNOWNID" "ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" "
8052 #include \"curl/curl.h\"
8055 if test "x$ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" = xyes; then :
8056 ac_have_decl=1
8057 else
8058 ac_have_decl=0
8061 cat >>confdefs.h <<_ACEOF
8062 #define HAVE_DECL_CURLE_TFTP_UNKNOWNID $ac_have_decl
8063 _ACEOF
8064 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_FILE_EXISTS" "ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" "
8065 #include \"curl/curl.h\"
8068 if test "x$ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" = xyes; then :
8069 ac_have_decl=1
8070 else
8071 ac_have_decl=0
8074 cat >>confdefs.h <<_ACEOF
8075 #define HAVE_DECL_CURLE_REMOTE_FILE_EXISTS $ac_have_decl
8076 _ACEOF
8077 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_NOSUCHUSER" "ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" "
8078 #include \"curl/curl.h\"
8081 if test "x$ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" = xyes; then :
8082 ac_have_decl=1
8083 else
8084 ac_have_decl=0
8087 cat >>confdefs.h <<_ACEOF
8088 #define HAVE_DECL_CURLE_TFTP_NOSUCHUSER $ac_have_decl
8089 _ACEOF
8090 ac_fn_c_check_decl "$LINENO" "CURLE_CONV_FAILED" "ac_cv_have_decl_CURLE_CONV_FAILED" "
8091 #include \"curl/curl.h\"
8094 if test "x$ac_cv_have_decl_CURLE_CONV_FAILED" = xyes; then :
8095 ac_have_decl=1
8096 else
8097 ac_have_decl=0
8100 cat >>confdefs.h <<_ACEOF
8101 #define HAVE_DECL_CURLE_CONV_FAILED $ac_have_decl
8102 _ACEOF
8103 ac_fn_c_check_decl "$LINENO" "CURLE_CONV_REQD" "ac_cv_have_decl_CURLE_CONV_REQD" "
8104 #include \"curl/curl.h\"
8107 if test "x$ac_cv_have_decl_CURLE_CONV_REQD" = xyes; then :
8108 ac_have_decl=1
8109 else
8110 ac_have_decl=0
8113 cat >>confdefs.h <<_ACEOF
8114 #define HAVE_DECL_CURLE_CONV_REQD $ac_have_decl
8115 _ACEOF
8116 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CACERT_BADFILE" "ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" "
8117 #include \"curl/curl.h\"
8120 if test "x$ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" = xyes; then :
8121 ac_have_decl=1
8122 else
8123 ac_have_decl=0
8126 cat >>confdefs.h <<_ACEOF
8127 #define HAVE_DECL_CURLE_SSL_CACERT_BADFILE $ac_have_decl
8128 _ACEOF
8129 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_FILE_NOT_FOUND" "ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" "
8130 #include \"curl/curl.h\"
8133 if test "x$ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" = xyes; then :
8134 ac_have_decl=1
8135 else
8136 ac_have_decl=0
8139 cat >>confdefs.h <<_ACEOF
8140 #define HAVE_DECL_CURLE_REMOTE_FILE_NOT_FOUND $ac_have_decl
8141 _ACEOF
8142 ac_fn_c_check_decl "$LINENO" "CURLE_SSH" "ac_cv_have_decl_CURLE_SSH" "
8143 #include \"curl/curl.h\"
8146 if test "x$ac_cv_have_decl_CURLE_SSH" = xyes; then :
8147 ac_have_decl=1
8148 else
8149 ac_have_decl=0
8152 cat >>confdefs.h <<_ACEOF
8153 #define HAVE_DECL_CURLE_SSH $ac_have_decl
8154 _ACEOF
8155 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_SHUTDOWN_FAILED" "ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED" "
8156 #include \"curl/curl.h\"
8159 if test "x$ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED" = xyes; then :
8160 ac_have_decl=1
8161 else
8162 ac_have_decl=0
8165 cat >>confdefs.h <<_ACEOF
8166 #define HAVE_DECL_CURLE_SSL_SHUTDOWN_FAILED $ac_have_decl
8167 _ACEOF
8168 ac_fn_c_check_decl "$LINENO" "CURLE_AGAIN" "ac_cv_have_decl_CURLE_AGAIN" "
8169 #include \"curl/curl.h\"
8172 if test "x$ac_cv_have_decl_CURLE_AGAIN" = xyes; then :
8173 ac_have_decl=1
8174 else
8175 ac_have_decl=0
8178 cat >>confdefs.h <<_ACEOF
8179 #define HAVE_DECL_CURLE_AGAIN $ac_have_decl
8180 _ACEOF
8181 ac_fn_c_check_decl "$LINENO" "CURLMOPT_MAXCONNECTS" "ac_cv_have_decl_CURLMOPT_MAXCONNECTS" "
8182 #include \"curl/curl.h\"
8185 if test "x$ac_cv_have_decl_CURLMOPT_MAXCONNECTS" = xyes; then :
8186 ac_have_decl=1
8187 else
8188 ac_have_decl=0
8191 cat >>confdefs.h <<_ACEOF
8192 #define HAVE_DECL_CURLMOPT_MAXCONNECTS $ac_have_decl
8193 _ACEOF
8194 ac_fn_c_check_decl "$LINENO" "CURLMOPT_PIPELINING" "ac_cv_have_decl_CURLMOPT_PIPELINING" "
8195 #include \"curl/curl.h\"
8198 if test "x$ac_cv_have_decl_CURLMOPT_PIPELINING" = xyes; then :
8199 ac_have_decl=1
8200 else
8201 ac_have_decl=0
8204 cat >>confdefs.h <<_ACEOF
8205 #define HAVE_DECL_CURLMOPT_PIPELINING $ac_have_decl
8206 _ACEOF
8207 ac_fn_c_check_decl "$LINENO" "CURLMOPT_MAX_PIPELINE_LENGTH" "ac_cv_have_decl_CURLMOPT_MAX_PIPELINE_LENGTH" "
8208 #include \"curl/curl.h\"
8211 if test "x$ac_cv_have_decl_CURLMOPT_MAX_PIPELINE_LENGTH" = xyes; then :
8212 ac_have_decl=1
8213 else
8214 ac_have_decl=0
8217 cat >>confdefs.h <<_ACEOF
8218 #define HAVE_DECL_CURLMOPT_MAX_PIPELINE_LENGTH $ac_have_decl
8219 _ACEOF
8220 ac_fn_c_check_decl "$LINENO" "CURLMOPT_MAX_HOST_CONNECTIONS" "ac_cv_have_decl_CURLMOPT_MAX_HOST_CONNECTIONS" "
8221 #include \"curl/curl.h\"
8224 if test "x$ac_cv_have_decl_CURLMOPT_MAX_HOST_CONNECTIONS" = xyes; then :
8225 ac_have_decl=1
8226 else
8227 ac_have_decl=0
8230 cat >>confdefs.h <<_ACEOF
8231 #define HAVE_DECL_CURLMOPT_MAX_HOST_CONNECTIONS $ac_have_decl
8232 _ACEOF
8233 ac_fn_c_check_decl "$LINENO" "CURL_VERSION_TLSAUTH_SRP" "ac_cv_have_decl_CURL_VERSION_TLSAUTH_SRP" "
8234 #include \"curl/curl.h\"
8237 if test "x$ac_cv_have_decl_CURL_VERSION_TLSAUTH_SRP" = xyes; then :
8238 ac_have_decl=1
8239 else
8240 ac_have_decl=0
8243 cat >>confdefs.h <<_ACEOF
8244 #define HAVE_DECL_CURL_VERSION_TLSAUTH_SRP $ac_have_decl
8245 _ACEOF
8246 ac_fn_c_check_decl "$LINENO" "CURL_VERSION_NTLM_WB" "ac_cv_have_decl_CURL_VERSION_NTLM_WB" "
8247 #include \"curl/curl.h\"
8250 if test "x$ac_cv_have_decl_CURL_VERSION_NTLM_WB" = xyes; then :
8251 ac_have_decl=1
8252 else
8253 ac_have_decl=0
8256 cat >>confdefs.h <<_ACEOF
8257 #define HAVE_DECL_CURL_VERSION_NTLM_WB $ac_have_decl
8258 _ACEOF
8261 ac_config_headers="$ac_config_headers config.h"
8263 ac_config_files="$ac_config_files Makefile examples/Makefile"
8266 cat >confcache <<\_ACEOF
8267 # This file is a shell script that caches the results of configure
8268 # tests run on this system so they can be shared between configure
8269 # scripts and configure runs, see configure's option --config-cache.
8270 # It is not useful on other systems. If it contains results you don't
8271 # want to keep, you may remove or edit it.
8273 # config.status only pays attention to the cache file if you give it
8274 # the --recheck option to rerun configure.
8276 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8277 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8278 # following values.
8280 _ACEOF
8282 # The following way of writing the cache mishandles newlines in values,
8283 # but we know of no workaround that is simple, portable, and efficient.
8284 # So, we kill variables containing newlines.
8285 # Ultrix sh set writes to stderr and can't be redirected directly,
8286 # and sets the high bit in the cache file unless we assign to the vars.
8288 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8289 eval ac_val=\$$ac_var
8290 case $ac_val in #(
8291 *${as_nl}*)
8292 case $ac_var in #(
8293 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8294 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8295 esac
8296 case $ac_var in #(
8297 _ | IFS | as_nl) ;; #(
8298 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8299 *) { eval $ac_var=; unset $ac_var;} ;;
8300 esac ;;
8301 esac
8302 done
8304 (set) 2>&1 |
8305 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8306 *${as_nl}ac_space=\ *)
8307 # `set' does not quote correctly, so add quotes: double-quote
8308 # substitution turns \\\\ into \\, and sed turns \\ into \.
8309 sed -n \
8310 "s/'/'\\\\''/g;
8311 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8312 ;; #(
8314 # `set' quotes correctly as required by POSIX, so do not add quotes.
8315 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8317 esac |
8318 sort
8320 sed '
8321 /^ac_cv_env_/b end
8322 t clear
8323 :clear
8324 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8325 t end
8326 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8327 :end' >>confcache
8328 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8329 if test -w "$cache_file"; then
8330 if test "x$cache_file" != "x/dev/null"; then
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8332 $as_echo "$as_me: updating cache $cache_file" >&6;}
8333 if test ! -f "$cache_file" || test -h "$cache_file"; then
8334 cat confcache >"$cache_file"
8335 else
8336 case $cache_file in #(
8337 */* | ?:*)
8338 mv -f confcache "$cache_file"$$ &&
8339 mv -f "$cache_file"$$ "$cache_file" ;; #(
8341 mv -f confcache "$cache_file" ;;
8342 esac
8345 else
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8347 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8350 rm -f confcache
8352 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8353 # Let make expand exec_prefix.
8354 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8356 DEFS=-DHAVE_CONFIG_H
8358 ac_libobjs=
8359 ac_ltlibobjs=
8361 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8362 # 1. Remove the extension, and $U if already installed.
8363 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8364 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8365 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8366 # will be set to the directory where LIBOBJS objects are built.
8367 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8368 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8369 done
8370 LIBOBJS=$ac_libobjs
8372 LTLIBOBJS=$ac_ltlibobjs
8376 : "${CONFIG_STATUS=./config.status}"
8377 ac_write_fail=0
8378 ac_clean_files_save=$ac_clean_files
8379 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8381 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8382 as_write_fail=0
8383 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8384 #! $SHELL
8385 # Generated by $as_me.
8386 # Run this file to recreate the current configuration.
8387 # Compiler output produced by configure, useful for debugging
8388 # configure, is in config.log if it exists.
8390 debug=false
8391 ac_cs_recheck=false
8392 ac_cs_silent=false
8394 SHELL=\${CONFIG_SHELL-$SHELL}
8395 export SHELL
8396 _ASEOF
8397 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8398 ## -------------------- ##
8399 ## M4sh Initialization. ##
8400 ## -------------------- ##
8402 # Be more Bourne compatible
8403 DUALCASE=1; export DUALCASE # for MKS sh
8404 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8405 emulate sh
8406 NULLCMD=:
8407 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8408 # is contrary to our usage. Disable this feature.
8409 alias -g '${1+"$@"}'='"$@"'
8410 setopt NO_GLOB_SUBST
8411 else
8412 case `(set -o) 2>/dev/null` in #(
8413 *posix*) :
8414 set -o posix ;; #(
8415 *) :
8417 esac
8421 as_nl='
8423 export as_nl
8424 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8425 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8426 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8427 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8428 # Prefer a ksh shell builtin over an external printf program on Solaris,
8429 # but without wasting forks for bash or zsh.
8430 if test -z "$BASH_VERSION$ZSH_VERSION" \
8431 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8432 as_echo='print -r --'
8433 as_echo_n='print -rn --'
8434 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8435 as_echo='printf %s\n'
8436 as_echo_n='printf %s'
8437 else
8438 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8439 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8440 as_echo_n='/usr/ucb/echo -n'
8441 else
8442 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8443 as_echo_n_body='eval
8444 arg=$1;
8445 case $arg in #(
8446 *"$as_nl"*)
8447 expr "X$arg" : "X\\(.*\\)$as_nl";
8448 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8449 esac;
8450 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8452 export as_echo_n_body
8453 as_echo_n='sh -c $as_echo_n_body as_echo'
8455 export as_echo_body
8456 as_echo='sh -c $as_echo_body as_echo'
8459 # The user is always right.
8460 if test "${PATH_SEPARATOR+set}" != set; then
8461 PATH_SEPARATOR=:
8462 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8463 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8464 PATH_SEPARATOR=';'
8469 # IFS
8470 # We need space, tab and new line, in precisely that order. Quoting is
8471 # there to prevent editors from complaining about space-tab.
8472 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8473 # splitting by setting IFS to empty value.)
8474 IFS=" "" $as_nl"
8476 # Find who we are. Look in the path if we contain no directory separator.
8477 as_myself=
8478 case $0 in #((
8479 *[\\/]* ) as_myself=$0 ;;
8480 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8481 for as_dir in $PATH
8483 IFS=$as_save_IFS
8484 test -z "$as_dir" && as_dir=.
8485 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8486 done
8487 IFS=$as_save_IFS
8490 esac
8491 # We did not find ourselves, most probably we were run as `sh COMMAND'
8492 # in which case we are not to be found in the path.
8493 if test "x$as_myself" = x; then
8494 as_myself=$0
8496 if test ! -f "$as_myself"; then
8497 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8498 exit 1
8501 # Unset variables that we do not need and which cause bugs (e.g. in
8502 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8503 # suppresses any "Segmentation fault" message there. '((' could
8504 # trigger a bug in pdksh 5.2.14.
8505 for as_var in BASH_ENV ENV MAIL MAILPATH
8506 do eval test x\${$as_var+set} = xset \
8507 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8508 done
8509 PS1='$ '
8510 PS2='> '
8511 PS4='+ '
8513 # NLS nuisances.
8514 LC_ALL=C
8515 export LC_ALL
8516 LANGUAGE=C
8517 export LANGUAGE
8519 # CDPATH.
8520 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8523 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8524 # ----------------------------------------
8525 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8526 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8527 # script with STATUS, using 1 if that was 0.
8528 as_fn_error ()
8530 as_status=$1; test $as_status -eq 0 && as_status=1
8531 if test "$4"; then
8532 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8533 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8535 $as_echo "$as_me: error: $2" >&2
8536 as_fn_exit $as_status
8537 } # as_fn_error
8540 # as_fn_set_status STATUS
8541 # -----------------------
8542 # Set $? to STATUS, without forking.
8543 as_fn_set_status ()
8545 return $1
8546 } # as_fn_set_status
8548 # as_fn_exit STATUS
8549 # -----------------
8550 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8551 as_fn_exit ()
8553 set +e
8554 as_fn_set_status $1
8555 exit $1
8556 } # as_fn_exit
8558 # as_fn_unset VAR
8559 # ---------------
8560 # Portably unset VAR.
8561 as_fn_unset ()
8563 { eval $1=; unset $1;}
8565 as_unset=as_fn_unset
8566 # as_fn_append VAR VALUE
8567 # ----------------------
8568 # Append the text in VALUE to the end of the definition contained in VAR. Take
8569 # advantage of any shell optimizations that allow amortized linear growth over
8570 # repeated appends, instead of the typical quadratic growth present in naive
8571 # implementations.
8572 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8573 eval 'as_fn_append ()
8575 eval $1+=\$2
8577 else
8578 as_fn_append ()
8580 eval $1=\$$1\$2
8582 fi # as_fn_append
8584 # as_fn_arith ARG...
8585 # ------------------
8586 # Perform arithmetic evaluation on the ARGs, and store the result in the
8587 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8588 # must be portable across $(()) and expr.
8589 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8590 eval 'as_fn_arith ()
8592 as_val=$(( $* ))
8594 else
8595 as_fn_arith ()
8597 as_val=`expr "$@" || test $? -eq 1`
8599 fi # as_fn_arith
8602 if expr a : '\(a\)' >/dev/null 2>&1 &&
8603 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8604 as_expr=expr
8605 else
8606 as_expr=false
8609 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8610 as_basename=basename
8611 else
8612 as_basename=false
8615 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8616 as_dirname=dirname
8617 else
8618 as_dirname=false
8621 as_me=`$as_basename -- "$0" ||
8622 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8623 X"$0" : 'X\(//\)$' \| \
8624 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8625 $as_echo X/"$0" |
8626 sed '/^.*\/\([^/][^/]*\)\/*$/{
8627 s//\1/
8630 /^X\/\(\/\/\)$/{
8631 s//\1/
8634 /^X\/\(\/\).*/{
8635 s//\1/
8638 s/.*/./; q'`
8640 # Avoid depending upon Character Ranges.
8641 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8642 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8643 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8644 as_cr_digits='0123456789'
8645 as_cr_alnum=$as_cr_Letters$as_cr_digits
8647 ECHO_C= ECHO_N= ECHO_T=
8648 case `echo -n x` in #(((((
8649 -n*)
8650 case `echo 'xy\c'` in
8651 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8652 xy) ECHO_C='\c';;
8653 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8654 ECHO_T=' ';;
8655 esac;;
8657 ECHO_N='-n';;
8658 esac
8660 rm -f conf$$ conf$$.exe conf$$.file
8661 if test -d conf$$.dir; then
8662 rm -f conf$$.dir/conf$$.file
8663 else
8664 rm -f conf$$.dir
8665 mkdir conf$$.dir 2>/dev/null
8667 if (echo >conf$$.file) 2>/dev/null; then
8668 if ln -s conf$$.file conf$$ 2>/dev/null; then
8669 as_ln_s='ln -s'
8670 # ... but there are two gotchas:
8671 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8672 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8673 # In both cases, we have to default to `cp -pR'.
8674 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8675 as_ln_s='cp -pR'
8676 elif ln conf$$.file conf$$ 2>/dev/null; then
8677 as_ln_s=ln
8678 else
8679 as_ln_s='cp -pR'
8681 else
8682 as_ln_s='cp -pR'
8684 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8685 rmdir conf$$.dir 2>/dev/null
8688 # as_fn_mkdir_p
8689 # -------------
8690 # Create "$as_dir" as a directory, including parents if necessary.
8691 as_fn_mkdir_p ()
8694 case $as_dir in #(
8695 -*) as_dir=./$as_dir;;
8696 esac
8697 test -d "$as_dir" || eval $as_mkdir_p || {
8698 as_dirs=
8699 while :; do
8700 case $as_dir in #(
8701 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8702 *) as_qdir=$as_dir;;
8703 esac
8704 as_dirs="'$as_qdir' $as_dirs"
8705 as_dir=`$as_dirname -- "$as_dir" ||
8706 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8707 X"$as_dir" : 'X\(//\)[^/]' \| \
8708 X"$as_dir" : 'X\(//\)$' \| \
8709 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8710 $as_echo X"$as_dir" |
8711 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8712 s//\1/
8715 /^X\(\/\/\)[^/].*/{
8716 s//\1/
8719 /^X\(\/\/\)$/{
8720 s//\1/
8723 /^X\(\/\).*/{
8724 s//\1/
8727 s/.*/./; q'`
8728 test -d "$as_dir" && break
8729 done
8730 test -z "$as_dirs" || eval "mkdir $as_dirs"
8731 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8734 } # as_fn_mkdir_p
8735 if mkdir -p . 2>/dev/null; then
8736 as_mkdir_p='mkdir -p "$as_dir"'
8737 else
8738 test -d ./-p && rmdir ./-p
8739 as_mkdir_p=false
8743 # as_fn_executable_p FILE
8744 # -----------------------
8745 # Test if FILE is an executable regular file.
8746 as_fn_executable_p ()
8748 test -f "$1" && test -x "$1"
8749 } # as_fn_executable_p
8750 as_test_x='test -x'
8751 as_executable_p=as_fn_executable_p
8753 # Sed expression to map a string onto a valid CPP name.
8754 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8756 # Sed expression to map a string onto a valid variable name.
8757 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8760 exec 6>&1
8761 ## ----------------------------------- ##
8762 ## Main body of $CONFIG_STATUS script. ##
8763 ## ----------------------------------- ##
8764 _ASEOF
8765 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8768 # Save the log message, to keep $0 and so on meaningful, and to
8769 # report actual input values of CONFIG_FILES etc. instead of their
8770 # values after options handling.
8771 ac_log="
8772 This file was extended by ocurl $as_me 0.7.9, which was
8773 generated by GNU Autoconf 2.69. Invocation command line was
8775 CONFIG_FILES = $CONFIG_FILES
8776 CONFIG_HEADERS = $CONFIG_HEADERS
8777 CONFIG_LINKS = $CONFIG_LINKS
8778 CONFIG_COMMANDS = $CONFIG_COMMANDS
8779 $ $0 $@
8781 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8784 _ACEOF
8786 case $ac_config_files in *"
8787 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8788 esac
8790 case $ac_config_headers in *"
8791 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8792 esac
8795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8796 # Files that config.status was made for.
8797 config_files="$ac_config_files"
8798 config_headers="$ac_config_headers"
8800 _ACEOF
8802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8803 ac_cs_usage="\
8804 \`$as_me' instantiates files and other configuration actions
8805 from templates according to the current configuration. Unless the files
8806 and actions are specified as TAGs, all are instantiated by default.
8808 Usage: $0 [OPTION]... [TAG]...
8810 -h, --help print this help, then exit
8811 -V, --version print version number and configuration settings, then exit
8812 --config print configuration, then exit
8813 -q, --quiet, --silent
8814 do not print progress messages
8815 -d, --debug don't remove temporary files
8816 --recheck update $as_me by reconfiguring in the same conditions
8817 --file=FILE[:TEMPLATE]
8818 instantiate the configuration file FILE
8819 --header=FILE[:TEMPLATE]
8820 instantiate the configuration header FILE
8822 Configuration files:
8823 $config_files
8825 Configuration headers:
8826 $config_headers
8828 Report bugs to the package provider."
8830 _ACEOF
8831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8832 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8833 ac_cs_version="\\
8834 ocurl config.status 0.7.9
8835 configured by $0, generated by GNU Autoconf 2.69,
8836 with options \\"\$ac_cs_config\\"
8838 Copyright (C) 2012 Free Software Foundation, Inc.
8839 This config.status script is free software; the Free Software Foundation
8840 gives unlimited permission to copy, distribute and modify it."
8842 ac_pwd='$ac_pwd'
8843 srcdir='$srcdir'
8844 INSTALL='$INSTALL'
8845 test -n "\$AWK" || AWK=awk
8846 _ACEOF
8848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8849 # The default lists apply if the user does not specify any file.
8850 ac_need_defaults=:
8851 while test $# != 0
8853 case $1 in
8854 --*=?*)
8855 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8856 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8857 ac_shift=:
8859 --*=)
8860 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8861 ac_optarg=
8862 ac_shift=:
8865 ac_option=$1
8866 ac_optarg=$2
8867 ac_shift=shift
8869 esac
8871 case $ac_option in
8872 # Handling of the options.
8873 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8874 ac_cs_recheck=: ;;
8875 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8876 $as_echo "$ac_cs_version"; exit ;;
8877 --config | --confi | --conf | --con | --co | --c )
8878 $as_echo "$ac_cs_config"; exit ;;
8879 --debug | --debu | --deb | --de | --d | -d )
8880 debug=: ;;
8881 --file | --fil | --fi | --f )
8882 $ac_shift
8883 case $ac_optarg in
8884 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8885 '') as_fn_error $? "missing file argument" ;;
8886 esac
8887 as_fn_append CONFIG_FILES " '$ac_optarg'"
8888 ac_need_defaults=false;;
8889 --header | --heade | --head | --hea )
8890 $ac_shift
8891 case $ac_optarg in
8892 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8893 esac
8894 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8895 ac_need_defaults=false;;
8896 --he | --h)
8897 # Conflict between --help and --header
8898 as_fn_error $? "ambiguous option: \`$1'
8899 Try \`$0 --help' for more information.";;
8900 --help | --hel | -h )
8901 $as_echo "$ac_cs_usage"; exit ;;
8902 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8903 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8904 ac_cs_silent=: ;;
8906 # This is an error.
8907 -*) as_fn_error $? "unrecognized option: \`$1'
8908 Try \`$0 --help' for more information." ;;
8910 *) as_fn_append ac_config_targets " $1"
8911 ac_need_defaults=false ;;
8913 esac
8914 shift
8915 done
8917 ac_configure_extra_args=
8919 if $ac_cs_silent; then
8920 exec 6>/dev/null
8921 ac_configure_extra_args="$ac_configure_extra_args --silent"
8924 _ACEOF
8925 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8926 if \$ac_cs_recheck; then
8927 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8928 shift
8929 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8930 CONFIG_SHELL='$SHELL'
8931 export CONFIG_SHELL
8932 exec "\$@"
8935 _ACEOF
8936 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8937 exec 5>>config.log
8939 echo
8940 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8941 ## Running $as_me. ##
8942 _ASBOX
8943 $as_echo "$ac_log"
8944 } >&5
8946 _ACEOF
8947 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8948 _ACEOF
8950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8952 # Handling of arguments.
8953 for ac_config_target in $ac_config_targets
8955 case $ac_config_target in
8956 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8957 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8958 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
8960 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8961 esac
8962 done
8965 # If the user did not use the arguments to specify the items to instantiate,
8966 # then the envvar interface is used. Set only those that are not.
8967 # We use the long form for the default assignment because of an extremely
8968 # bizarre bug on SunOS 4.1.3.
8969 if $ac_need_defaults; then
8970 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8971 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8974 # Have a temporary directory for convenience. Make it in the build tree
8975 # simply because there is no reason against having it here, and in addition,
8976 # creating and moving files from /tmp can sometimes cause problems.
8977 # Hook for its removal unless debugging.
8978 # Note that there is a small window in which the directory will not be cleaned:
8979 # after its creation but before its name has been assigned to `$tmp'.
8980 $debug ||
8982 tmp= ac_tmp=
8983 trap 'exit_status=$?
8984 : "${ac_tmp:=$tmp}"
8985 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8987 trap 'as_fn_exit 1' 1 2 13 15
8989 # Create a (secure) tmp directory for tmp files.
8992 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8993 test -d "$tmp"
8994 } ||
8996 tmp=./conf$$-$RANDOM
8997 (umask 077 && mkdir "$tmp")
8998 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8999 ac_tmp=$tmp
9001 # Set up the scripts for CONFIG_FILES section.
9002 # No need to generate them if there are no CONFIG_FILES.
9003 # This happens for instance with `./config.status config.h'.
9004 if test -n "$CONFIG_FILES"; then
9007 ac_cr=`echo X | tr X '\015'`
9008 # On cygwin, bash can eat \r inside `` if the user requested igncr.
9009 # But we know of no other shell where ac_cr would be empty at this
9010 # point, so we can use a bashism as a fallback.
9011 if test "x$ac_cr" = x; then
9012 eval ac_cr=\$\'\\r\'
9014 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9015 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9016 ac_cs_awk_cr='\\r'
9017 else
9018 ac_cs_awk_cr=$ac_cr
9021 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9022 _ACEOF
9026 echo "cat >conf$$subs.awk <<_ACEOF" &&
9027 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9028 echo "_ACEOF"
9029 } >conf$$subs.sh ||
9030 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9031 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9032 ac_delim='%!_!# '
9033 for ac_last_try in false false false false false :; do
9034 . ./conf$$subs.sh ||
9035 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9037 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9038 if test $ac_delim_n = $ac_delim_num; then
9039 break
9040 elif $ac_last_try; then
9041 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9042 else
9043 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9045 done
9046 rm -f conf$$subs.sh
9048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9049 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9050 _ACEOF
9051 sed -n '
9053 s/^/S["/; s/!.*/"]=/
9056 s/^[^!]*!//
9057 :repl
9058 t repl
9059 s/'"$ac_delim"'$//
9060 t delim
9063 s/\(.\{148\}\)..*/\1/
9064 t more1
9065 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9068 b repl
9069 :more1
9070 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9073 s/.\{148\}//
9074 t nl
9075 :delim
9077 s/\(.\{148\}\)..*/\1/
9078 t more2
9079 s/["\\]/\\&/g; s/^/"/; s/$/"/
9082 :more2
9083 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9086 s/.\{148\}//
9087 t delim
9088 ' <conf$$subs.awk | sed '
9089 /^[^""]/{
9091 s/\n//
9093 ' >>$CONFIG_STATUS || ac_write_fail=1
9094 rm -f conf$$subs.awk
9095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9096 _ACAWK
9097 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9098 for (key in S) S_is_set[key] = 1
9099 FS = "\a"
9103 line = $ 0
9104 nfields = split(line, field, "@")
9105 substed = 0
9106 len = length(field[1])
9107 for (i = 2; i < nfields; i++) {
9108 key = field[i]
9109 keylen = length(key)
9110 if (S_is_set[key]) {
9111 value = S[key]
9112 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9113 len += length(value) + length(field[++i])
9114 substed = 1
9115 } else
9116 len += 1 + keylen
9119 print line
9122 _ACAWK
9123 _ACEOF
9124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9125 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9126 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9127 else
9129 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9130 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9131 _ACEOF
9133 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9134 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9135 # trailing colons and then remove the whole line if VPATH becomes empty
9136 # (actually we leave an empty line to preserve line numbers).
9137 if test "x$srcdir" = x.; then
9138 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
9140 s///
9141 s/^/:/
9142 s/[ ]*$/:/
9143 s/:\$(srcdir):/:/g
9144 s/:\${srcdir}:/:/g
9145 s/:@srcdir@:/:/g
9146 s/^:*//
9147 s/:*$//
9149 s/\(=[ ]*\).*/\1/
9151 s/\n//
9152 s/^[^=]*=[ ]*$//
9156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9157 fi # test -n "$CONFIG_FILES"
9159 # Set up the scripts for CONFIG_HEADERS section.
9160 # No need to generate them if there are no CONFIG_HEADERS.
9161 # This happens for instance with `./config.status Makefile'.
9162 if test -n "$CONFIG_HEADERS"; then
9163 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9164 BEGIN {
9165 _ACEOF
9167 # Transform confdefs.h into an awk script `defines.awk', embedded as
9168 # here-document in config.status, that substitutes the proper values into
9169 # config.h.in to produce config.h.
9171 # Create a delimiter string that does not exist in confdefs.h, to ease
9172 # handling of long lines.
9173 ac_delim='%!_!# '
9174 for ac_last_try in false false :; do
9175 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9176 if test -z "$ac_tt"; then
9177 break
9178 elif $ac_last_try; then
9179 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9180 else
9181 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9183 done
9185 # For the awk script, D is an array of macro values keyed by name,
9186 # likewise P contains macro parameters if any. Preserve backslash
9187 # newline sequences.
9189 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9190 sed -n '
9191 s/.\{148\}/&'"$ac_delim"'/g
9192 t rset
9193 :rset
9194 s/^[ ]*#[ ]*define[ ][ ]*/ /
9195 t def
9197 :def
9198 s/\\$//
9199 t bsnl
9200 s/["\\]/\\&/g
9201 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9202 D["\1"]=" \3"/p
9203 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
9205 :bsnl
9206 s/["\\]/\\&/g
9207 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9208 D["\1"]=" \3\\\\\\n"\\/p
9209 t cont
9210 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9211 t cont
9213 :cont
9215 s/.\{148\}/&'"$ac_delim"'/g
9216 t clear
9217 :clear
9218 s/\\$//
9219 t bsnlc
9220 s/["\\]/\\&/g; s/^/"/; s/$/"/p
9222 :bsnlc
9223 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9224 b cont
9225 ' <confdefs.h | sed '
9226 s/'"$ac_delim"'/"\\\
9227 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9229 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9230 for (key in D) D_is_set[key] = 1
9231 FS = "\a"
9233 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9234 line = \$ 0
9235 split(line, arg, " ")
9236 if (arg[1] == "#") {
9237 defundef = arg[2]
9238 mac1 = arg[3]
9239 } else {
9240 defundef = substr(arg[1], 2)
9241 mac1 = arg[2]
9243 split(mac1, mac2, "(") #)
9244 macro = mac2[1]
9245 prefix = substr(line, 1, index(line, defundef) - 1)
9246 if (D_is_set[macro]) {
9247 # Preserve the white space surrounding the "#".
9248 print prefix "define", macro P[macro] D[macro]
9249 next
9250 } else {
9251 # Replace #undef with comments. This is necessary, for example,
9252 # in the case of _POSIX_SOURCE, which is predefined and required
9253 # on some systems where configure will not decide to define it.
9254 if (defundef == "undef") {
9255 print "/*", prefix defundef, macro, "*/"
9256 next
9260 { print }
9261 _ACAWK
9262 _ACEOF
9263 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9264 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
9265 fi # test -n "$CONFIG_HEADERS"
9268 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
9269 shift
9270 for ac_tag
9272 case $ac_tag in
9273 :[FHLC]) ac_mode=$ac_tag; continue;;
9274 esac
9275 case $ac_mode$ac_tag in
9276 :[FHL]*:*);;
9277 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9278 :[FH]-) ac_tag=-:-;;
9279 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9280 esac
9281 ac_save_IFS=$IFS
9282 IFS=:
9283 set x $ac_tag
9284 IFS=$ac_save_IFS
9285 shift
9286 ac_file=$1
9287 shift
9289 case $ac_mode in
9290 :L) ac_source=$1;;
9291 :[FH])
9292 ac_file_inputs=
9293 for ac_f
9295 case $ac_f in
9296 -) ac_f="$ac_tmp/stdin";;
9297 *) # Look for the file first in the build tree, then in the source tree
9298 # (if the path is not absolute). The absolute path cannot be DOS-style,
9299 # because $ac_f cannot contain `:'.
9300 test -f "$ac_f" ||
9301 case $ac_f in
9302 [\\/$]*) false;;
9303 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9304 esac ||
9305 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9306 esac
9307 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9308 as_fn_append ac_file_inputs " '$ac_f'"
9309 done
9311 # Let's still pretend it is `configure' which instantiates (i.e., don't
9312 # use $as_me), people would be surprised to read:
9313 # /* config.h. Generated by config.status. */
9314 configure_input='Generated from '`
9315 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9316 `' by configure.'
9317 if test x"$ac_file" != x-; then
9318 configure_input="$ac_file. $configure_input"
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9320 $as_echo "$as_me: creating $ac_file" >&6;}
9322 # Neutralize special characters interpreted by sed in replacement strings.
9323 case $configure_input in #(
9324 *\&* | *\|* | *\\* )
9325 ac_sed_conf_input=`$as_echo "$configure_input" |
9326 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9327 *) ac_sed_conf_input=$configure_input;;
9328 esac
9330 case $ac_tag in
9331 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9332 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9333 esac
9335 esac
9337 ac_dir=`$as_dirname -- "$ac_file" ||
9338 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9339 X"$ac_file" : 'X\(//\)[^/]' \| \
9340 X"$ac_file" : 'X\(//\)$' \| \
9341 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9342 $as_echo X"$ac_file" |
9343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9344 s//\1/
9347 /^X\(\/\/\)[^/].*/{
9348 s//\1/
9351 /^X\(\/\/\)$/{
9352 s//\1/
9355 /^X\(\/\).*/{
9356 s//\1/
9359 s/.*/./; q'`
9360 as_dir="$ac_dir"; as_fn_mkdir_p
9361 ac_builddir=.
9363 case "$ac_dir" in
9364 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9366 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9367 # A ".." for each directory in $ac_dir_suffix.
9368 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9369 case $ac_top_builddir_sub in
9370 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9371 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9372 esac ;;
9373 esac
9374 ac_abs_top_builddir=$ac_pwd
9375 ac_abs_builddir=$ac_pwd$ac_dir_suffix
9376 # for backward compatibility:
9377 ac_top_builddir=$ac_top_build_prefix
9379 case $srcdir in
9380 .) # We are building in place.
9381 ac_srcdir=.
9382 ac_top_srcdir=$ac_top_builddir_sub
9383 ac_abs_top_srcdir=$ac_pwd ;;
9384 [\\/]* | ?:[\\/]* ) # Absolute name.
9385 ac_srcdir=$srcdir$ac_dir_suffix;
9386 ac_top_srcdir=$srcdir
9387 ac_abs_top_srcdir=$srcdir ;;
9388 *) # Relative name.
9389 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9390 ac_top_srcdir=$ac_top_build_prefix$srcdir
9391 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9392 esac
9393 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9396 case $ac_mode in
9399 # CONFIG_FILE
9402 case $INSTALL in
9403 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9404 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9405 esac
9406 _ACEOF
9408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9409 # If the template does not know about datarootdir, expand it.
9410 # FIXME: This hack should be removed a few years after 2.60.
9411 ac_datarootdir_hack=; ac_datarootdir_seen=
9412 ac_sed_dataroot='
9413 /datarootdir/ {
9417 /@datadir@/p
9418 /@docdir@/p
9419 /@infodir@/p
9420 /@localedir@/p
9421 /@mandir@/p'
9422 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9423 *datarootdir*) ac_datarootdir_seen=yes;;
9424 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9426 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9427 _ACEOF
9428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9429 ac_datarootdir_hack='
9430 s&@datadir@&$datadir&g
9431 s&@docdir@&$docdir&g
9432 s&@infodir@&$infodir&g
9433 s&@localedir@&$localedir&g
9434 s&@mandir@&$mandir&g
9435 s&\\\${datarootdir}&$datarootdir&g' ;;
9436 esac
9437 _ACEOF
9439 # Neutralize VPATH when `$srcdir' = `.'.
9440 # Shell code in configure.ac might set extrasub.
9441 # FIXME: do we really want to maintain this feature?
9442 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9443 ac_sed_extra="$ac_vpsub
9444 $extrasub
9445 _ACEOF
9446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9448 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9449 s|@configure_input@|$ac_sed_conf_input|;t t
9450 s&@top_builddir@&$ac_top_builddir_sub&;t t
9451 s&@top_build_prefix@&$ac_top_build_prefix&;t t
9452 s&@srcdir@&$ac_srcdir&;t t
9453 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9454 s&@top_srcdir@&$ac_top_srcdir&;t t
9455 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9456 s&@builddir@&$ac_builddir&;t t
9457 s&@abs_builddir@&$ac_abs_builddir&;t t
9458 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9459 s&@INSTALL@&$ac_INSTALL&;t t
9460 $ac_datarootdir_hack
9462 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9463 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9465 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9466 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9467 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9468 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9470 which seems to be undefined. Please make sure it is defined" >&5
9471 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9472 which seems to be undefined. Please make sure it is defined" >&2;}
9474 rm -f "$ac_tmp/stdin"
9475 case $ac_file in
9476 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9477 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9478 esac \
9479 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9483 # CONFIG_HEADER
9485 if test x"$ac_file" != x-; then
9487 $as_echo "/* $configure_input */" \
9488 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9489 } >"$ac_tmp/config.h" \
9490 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9491 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9493 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9494 else
9495 rm -f "$ac_file"
9496 mv "$ac_tmp/config.h" "$ac_file" \
9497 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9499 else
9500 $as_echo "/* $configure_input */" \
9501 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9502 || as_fn_error $? "could not create -" "$LINENO" 5
9507 esac
9509 done # for ac_tag
9512 as_fn_exit 0
9513 _ACEOF
9514 ac_clean_files=$ac_clean_files_save
9516 test $ac_write_fail = 0 ||
9517 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9520 # configure is writing to config.log, and then calls config.status.
9521 # config.status does its own redirection, appending to config.log.
9522 # Unfortunately, on DOS this fails, as config.log is still kept open
9523 # by configure, so config.status won't be able to write to it; its
9524 # output is simply discarded. So we exec the FD to /dev/null,
9525 # effectively closing config.log, so it can be properly (re)opened and
9526 # appended to by config.status. When coming back to configure, we
9527 # need to make the FD available again.
9528 if test "$no_create" != yes; then
9529 ac_cs_success=:
9530 ac_config_status_args=
9531 test "$silent" = yes &&
9532 ac_config_status_args="$ac_config_status_args --quiet"
9533 exec 5>/dev/null
9534 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9535 exec 5>>config.log
9536 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9537 # would make configure fail if this is the last instruction.
9538 $ac_cs_success || as_fn_exit 1
9540 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9542 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}