release 0.6.1
[ocurl.git] / configure
blobc13a25ab80a308b9c97fa75e82c2edde6438edb7
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ocurl 0.6.1.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in #(
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265 else
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
271 exit 1
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 # as_fn_unset VAR
285 # ---------------
286 # Portably unset VAR.
287 as_fn_unset ()
289 { eval $1=; unset $1;}
291 as_unset=as_fn_unset
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
296 as_fn_set_status ()
298 return $1
299 } # as_fn_set_status
301 # as_fn_exit STATUS
302 # -----------------
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } # as_fn_exit
311 # as_fn_mkdir_p
312 # -------------
313 # Create "$as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
342 /^X\(\/\/\)$/{
343 s//\1/
346 /^X\(\/\).*/{
347 s//\1/
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
357 } # as_fn_mkdir_p
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p ()
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
371 # implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
375 eval $1+=\$2
377 else
378 as_fn_append ()
380 eval $1=\$$1\$2
382 fi # as_fn_append
384 # as_fn_arith ARG...
385 # ------------------
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
392 as_val=$(( $* ))
394 else
395 as_fn_arith ()
397 as_val=`expr "$@" || test $? -eq 1`
399 fi # as_fn_arith
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
407 as_fn_error ()
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } # as_fn_error
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
420 as_expr=expr
421 else
422 as_expr=false
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426 as_basename=basename
427 else
428 as_basename=false
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
443 s//\1/
446 /^X\/\(\/\/\)$/{
447 s//\1/
450 /^X\/\(\/\).*/{
451 s//\1/
454 s/.*/./; q'`
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
469 sed -n '
471 /[$]LINENO/=
472 ' <$as_myself |
473 sed '
474 s/[$]LINENO.*/&-/
475 t lineno
477 :lineno
479 :loop
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481 t loop
482 s/-\n.*//
483 ' >$as_me.lineno &&
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
494 . "./$as_me.lineno"
495 # Exit status is that of the last command.
496 exit
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in #(((((
501 -n*)
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
507 esac;;
509 ECHO_N='-n';;
510 esac
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
533 else
534 as_ln_s='cp -pR'
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
541 else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 test -n "$DJDIR" || exec 7<&0 </dev/null
557 exec 6>&1
559 # Name of the host.
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 # Initializations.
567 ac_default_prefix=/usr/local
568 ac_clean_files=
569 ac_config_libobj_dir=.
570 LIBOBJS=
571 cross_compiling=no
572 subdirs=
573 MFLAGS=
574 MAKEFLAGS=
576 # Identity of this package.
577 PACKAGE_NAME='ocurl'
578 PACKAGE_TARNAME='ocurl'
579 PACKAGE_VERSION='0.6.1'
580 PACKAGE_STRING='ocurl 0.6.1'
581 PACKAGE_BUGREPORT=''
582 PACKAGE_URL=''
584 ac_subst_vars='LTLIBOBJS
585 LIBOBJS
586 INSTALLDIR
587 CURLLIBS
588 CURLCFLAGS
589 ac_prefix_program
590 OCAMLFIND
591 OCAMLBUILD
592 OCAMLDOC
593 OCAMLMKLIB
594 OCAMLMKTOP
595 OCAMLDEP
596 OCAML
597 OCAMLOPTDOTOPT
598 OCAMLCDOTOPT
599 OCAMLBEST
600 OCAMLOPT
601 OCAMLLIB
602 OCAMLVERSION
603 OCAMLC
604 INSTALL_DATA
605 INSTALL_SCRIPT
606 INSTALL_PROGRAM
607 OBJEXT
608 EXEEXT
609 ac_ct_CC
610 CPPFLAGS
611 LDFLAGS
612 CFLAGS
614 target_alias
615 host_alias
616 build_alias
617 LIBS
618 ECHO_T
619 ECHO_N
620 ECHO_C
621 DEFS
622 mandir
623 localedir
624 libdir
625 psdir
626 pdfdir
627 dvidir
628 htmldir
629 infodir
630 docdir
631 oldincludedir
632 includedir
633 localstatedir
634 sharedstatedir
635 sysconfdir
636 datadir
637 datarootdir
638 libexecdir
639 sbindir
640 bindir
641 program_transform_name
642 prefix
643 exec_prefix
644 PACKAGE_URL
645 PACKAGE_BUGREPORT
646 PACKAGE_STRING
647 PACKAGE_VERSION
648 PACKAGE_TARNAME
649 PACKAGE_NAME
650 PATH_SEPARATOR
651 SHELL'
652 ac_subst_files=''
653 ac_user_opts='
654 enable_option_checking
656 ac_precious_vars='build_alias
657 host_alias
658 target_alias
660 CFLAGS
661 LDFLAGS
662 LIBS
663 CPPFLAGS'
666 # Initialize some variables set by options.
667 ac_init_help=
668 ac_init_version=false
669 ac_unrecognized_opts=
670 ac_unrecognized_sep=
671 # The variables have the same names as the options, with
672 # dashes changed to underlines.
673 cache_file=/dev/null
674 exec_prefix=NONE
675 no_create=
676 no_recursion=
677 prefix=NONE
678 program_prefix=NONE
679 program_suffix=NONE
680 program_transform_name=s,x,x,
681 silent=
682 site=
683 srcdir=
684 verbose=
685 x_includes=NONE
686 x_libraries=NONE
688 # Installation directory options.
689 # These are left unexpanded so users can "make install exec_prefix=/foo"
690 # and all the variables that are supposed to be based on exec_prefix
691 # by default will actually change.
692 # Use braces instead of parens because sh, perl, etc. also accept them.
693 # (The list follows the same order as the GNU Coding Standards.)
694 bindir='${exec_prefix}/bin'
695 sbindir='${exec_prefix}/sbin'
696 libexecdir='${exec_prefix}/libexec'
697 datarootdir='${prefix}/share'
698 datadir='${datarootdir}'
699 sysconfdir='${prefix}/etc'
700 sharedstatedir='${prefix}/com'
701 localstatedir='${prefix}/var'
702 includedir='${prefix}/include'
703 oldincludedir='/usr/include'
704 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
705 infodir='${datarootdir}/info'
706 htmldir='${docdir}'
707 dvidir='${docdir}'
708 pdfdir='${docdir}'
709 psdir='${docdir}'
710 libdir='${exec_prefix}/lib'
711 localedir='${datarootdir}/locale'
712 mandir='${datarootdir}/man'
714 ac_prev=
715 ac_dashdash=
716 for ac_option
718 # If the previous option needs an argument, assign it.
719 if test -n "$ac_prev"; then
720 eval $ac_prev=\$ac_option
721 ac_prev=
722 continue
725 case $ac_option in
726 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
727 *=) ac_optarg= ;;
728 *) ac_optarg=yes ;;
729 esac
731 # Accept the important Cygnus configure options, so we can diagnose typos.
733 case $ac_dashdash$ac_option in
735 ac_dashdash=yes ;;
737 -bindir | --bindir | --bindi | --bind | --bin | --bi)
738 ac_prev=bindir ;;
739 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
740 bindir=$ac_optarg ;;
742 -build | --build | --buil | --bui | --bu)
743 ac_prev=build_alias ;;
744 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
745 build_alias=$ac_optarg ;;
747 -cache-file | --cache-file | --cache-fil | --cache-fi \
748 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
749 ac_prev=cache_file ;;
750 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
751 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
752 cache_file=$ac_optarg ;;
754 --config-cache | -C)
755 cache_file=config.cache ;;
757 -datadir | --datadir | --datadi | --datad)
758 ac_prev=datadir ;;
759 -datadir=* | --datadir=* | --datadi=* | --datad=*)
760 datadir=$ac_optarg ;;
762 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
763 | --dataroo | --dataro | --datar)
764 ac_prev=datarootdir ;;
765 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
766 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
767 datarootdir=$ac_optarg ;;
769 -disable-* | --disable-*)
770 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
771 # Reject names that are not valid shell variable names.
772 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
773 as_fn_error $? "invalid feature name: $ac_useropt"
774 ac_useropt_orig=$ac_useropt
775 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
776 case $ac_user_opts in
778 "enable_$ac_useropt"
779 "*) ;;
780 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
781 ac_unrecognized_sep=', ';;
782 esac
783 eval enable_$ac_useropt=no ;;
785 -docdir | --docdir | --docdi | --doc | --do)
786 ac_prev=docdir ;;
787 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
788 docdir=$ac_optarg ;;
790 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
791 ac_prev=dvidir ;;
792 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
793 dvidir=$ac_optarg ;;
795 -enable-* | --enable-*)
796 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
797 # Reject names that are not valid shell variable names.
798 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
799 as_fn_error $? "invalid feature name: $ac_useropt"
800 ac_useropt_orig=$ac_useropt
801 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
802 case $ac_user_opts in
804 "enable_$ac_useropt"
805 "*) ;;
806 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
807 ac_unrecognized_sep=', ';;
808 esac
809 eval enable_$ac_useropt=\$ac_optarg ;;
811 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
812 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
813 | --exec | --exe | --ex)
814 ac_prev=exec_prefix ;;
815 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
816 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
817 | --exec=* | --exe=* | --ex=*)
818 exec_prefix=$ac_optarg ;;
820 -gas | --gas | --ga | --g)
821 # Obsolete; use --with-gas.
822 with_gas=yes ;;
824 -help | --help | --hel | --he | -h)
825 ac_init_help=long ;;
826 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
827 ac_init_help=recursive ;;
828 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
829 ac_init_help=short ;;
831 -host | --host | --hos | --ho)
832 ac_prev=host_alias ;;
833 -host=* | --host=* | --hos=* | --ho=*)
834 host_alias=$ac_optarg ;;
836 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
837 ac_prev=htmldir ;;
838 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
839 | --ht=*)
840 htmldir=$ac_optarg ;;
842 -includedir | --includedir | --includedi | --included | --include \
843 | --includ | --inclu | --incl | --inc)
844 ac_prev=includedir ;;
845 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
846 | --includ=* | --inclu=* | --incl=* | --inc=*)
847 includedir=$ac_optarg ;;
849 -infodir | --infodir | --infodi | --infod | --info | --inf)
850 ac_prev=infodir ;;
851 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
852 infodir=$ac_optarg ;;
854 -libdir | --libdir | --libdi | --libd)
855 ac_prev=libdir ;;
856 -libdir=* | --libdir=* | --libdi=* | --libd=*)
857 libdir=$ac_optarg ;;
859 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
860 | --libexe | --libex | --libe)
861 ac_prev=libexecdir ;;
862 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
863 | --libexe=* | --libex=* | --libe=*)
864 libexecdir=$ac_optarg ;;
866 -localedir | --localedir | --localedi | --localed | --locale)
867 ac_prev=localedir ;;
868 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
869 localedir=$ac_optarg ;;
871 -localstatedir | --localstatedir | --localstatedi | --localstated \
872 | --localstate | --localstat | --localsta | --localst | --locals)
873 ac_prev=localstatedir ;;
874 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
875 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
876 localstatedir=$ac_optarg ;;
878 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
879 ac_prev=mandir ;;
880 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
881 mandir=$ac_optarg ;;
883 -nfp | --nfp | --nf)
884 # Obsolete; use --without-fp.
885 with_fp=no ;;
887 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
888 | --no-cr | --no-c | -n)
889 no_create=yes ;;
891 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
892 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
893 no_recursion=yes ;;
895 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
896 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
897 | --oldin | --oldi | --old | --ol | --o)
898 ac_prev=oldincludedir ;;
899 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
900 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
901 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
902 oldincludedir=$ac_optarg ;;
904 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
905 ac_prev=prefix ;;
906 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
907 prefix=$ac_optarg ;;
909 -program-prefix | --program-prefix | --program-prefi | --program-pref \
910 | --program-pre | --program-pr | --program-p)
911 ac_prev=program_prefix ;;
912 -program-prefix=* | --program-prefix=* | --program-prefi=* \
913 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
914 program_prefix=$ac_optarg ;;
916 -program-suffix | --program-suffix | --program-suffi | --program-suff \
917 | --program-suf | --program-su | --program-s)
918 ac_prev=program_suffix ;;
919 -program-suffix=* | --program-suffix=* | --program-suffi=* \
920 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
921 program_suffix=$ac_optarg ;;
923 -program-transform-name | --program-transform-name \
924 | --program-transform-nam | --program-transform-na \
925 | --program-transform-n | --program-transform- \
926 | --program-transform | --program-transfor \
927 | --program-transfo | --program-transf \
928 | --program-trans | --program-tran \
929 | --progr-tra | --program-tr | --program-t)
930 ac_prev=program_transform_name ;;
931 -program-transform-name=* | --program-transform-name=* \
932 | --program-transform-nam=* | --program-transform-na=* \
933 | --program-transform-n=* | --program-transform-=* \
934 | --program-transform=* | --program-transfor=* \
935 | --program-transfo=* | --program-transf=* \
936 | --program-trans=* | --program-tran=* \
937 | --progr-tra=* | --program-tr=* | --program-t=*)
938 program_transform_name=$ac_optarg ;;
940 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
941 ac_prev=pdfdir ;;
942 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
943 pdfdir=$ac_optarg ;;
945 -psdir | --psdir | --psdi | --psd | --ps)
946 ac_prev=psdir ;;
947 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
948 psdir=$ac_optarg ;;
950 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
951 | -silent | --silent | --silen | --sile | --sil)
952 silent=yes ;;
954 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
955 ac_prev=sbindir ;;
956 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
957 | --sbi=* | --sb=*)
958 sbindir=$ac_optarg ;;
960 -sharedstatedir | --sharedstatedir | --sharedstatedi \
961 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
962 | --sharedst | --shareds | --shared | --share | --shar \
963 | --sha | --sh)
964 ac_prev=sharedstatedir ;;
965 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
966 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
967 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
968 | --sha=* | --sh=*)
969 sharedstatedir=$ac_optarg ;;
971 -site | --site | --sit)
972 ac_prev=site ;;
973 -site=* | --site=* | --sit=*)
974 site=$ac_optarg ;;
976 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
977 ac_prev=srcdir ;;
978 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
979 srcdir=$ac_optarg ;;
981 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
982 | --syscon | --sysco | --sysc | --sys | --sy)
983 ac_prev=sysconfdir ;;
984 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
985 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
986 sysconfdir=$ac_optarg ;;
988 -target | --target | --targe | --targ | --tar | --ta | --t)
989 ac_prev=target_alias ;;
990 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
991 target_alias=$ac_optarg ;;
993 -v | -verbose | --verbose | --verbos | --verbo | --verb)
994 verbose=yes ;;
996 -version | --version | --versio | --versi | --vers | -V)
997 ac_init_version=: ;;
999 -with-* | --with-*)
1000 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1001 # Reject names that are not valid shell variable names.
1002 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1003 as_fn_error $? "invalid package name: $ac_useropt"
1004 ac_useropt_orig=$ac_useropt
1005 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1006 case $ac_user_opts in
1008 "with_$ac_useropt"
1009 "*) ;;
1010 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1011 ac_unrecognized_sep=', ';;
1012 esac
1013 eval with_$ac_useropt=\$ac_optarg ;;
1015 -without-* | --without-*)
1016 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1019 as_fn_error $? "invalid package name: $ac_useropt"
1020 ac_useropt_orig=$ac_useropt
1021 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1022 case $ac_user_opts in
1024 "with_$ac_useropt"
1025 "*) ;;
1026 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1027 ac_unrecognized_sep=', ';;
1028 esac
1029 eval with_$ac_useropt=no ;;
1031 --x)
1032 # Obsolete; use --with-x.
1033 with_x=yes ;;
1035 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1036 | --x-incl | --x-inc | --x-in | --x-i)
1037 ac_prev=x_includes ;;
1038 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1039 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1040 x_includes=$ac_optarg ;;
1042 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1043 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1044 ac_prev=x_libraries ;;
1045 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1046 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1047 x_libraries=$ac_optarg ;;
1049 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1050 Try \`$0 --help' for more information"
1053 *=*)
1054 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1055 # Reject names that are not valid shell variable names.
1056 case $ac_envvar in #(
1057 '' | [0-9]* | *[!_$as_cr_alnum]* )
1058 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1059 esac
1060 eval $ac_envvar=\$ac_optarg
1061 export $ac_envvar ;;
1064 # FIXME: should be removed in autoconf 3.0.
1065 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1066 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1067 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1068 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1071 esac
1072 done
1074 if test -n "$ac_prev"; then
1075 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1076 as_fn_error $? "missing argument to $ac_option"
1079 if test -n "$ac_unrecognized_opts"; then
1080 case $enable_option_checking in
1081 no) ;;
1082 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1083 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1084 esac
1087 # Check all directory arguments for consistency.
1088 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1089 datadir sysconfdir sharedstatedir localstatedir includedir \
1090 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1091 libdir localedir mandir
1093 eval ac_val=\$$ac_var
1094 # Remove trailing slashes.
1095 case $ac_val in
1096 */ )
1097 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1098 eval $ac_var=\$ac_val;;
1099 esac
1100 # Be sure to have absolute directory names.
1101 case $ac_val in
1102 [\\/$]* | ?:[\\/]* ) continue;;
1103 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1104 esac
1105 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1106 done
1108 # There might be people who depend on the old broken behavior: `$host'
1109 # used to hold the argument of --host etc.
1110 # FIXME: To remove some day.
1111 build=$build_alias
1112 host=$host_alias
1113 target=$target_alias
1115 # FIXME: To remove some day.
1116 if test "x$host_alias" != x; then
1117 if test "x$build_alias" = x; then
1118 cross_compiling=maybe
1119 elif test "x$build_alias" != "x$host_alias"; then
1120 cross_compiling=yes
1124 ac_tool_prefix=
1125 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1127 test "$silent" = yes && exec 6>/dev/null
1130 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1131 ac_ls_di=`ls -di .` &&
1132 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1133 as_fn_error $? "working directory cannot be determined"
1134 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1135 as_fn_error $? "pwd does not report name of working directory"
1138 # Find the source files, if location was not specified.
1139 if test -z "$srcdir"; then
1140 ac_srcdir_defaulted=yes
1141 # Try the directory containing this script, then the parent directory.
1142 ac_confdir=`$as_dirname -- "$as_myself" ||
1143 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1144 X"$as_myself" : 'X\(//\)[^/]' \| \
1145 X"$as_myself" : 'X\(//\)$' \| \
1146 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1147 $as_echo X"$as_myself" |
1148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1149 s//\1/
1152 /^X\(\/\/\)[^/].*/{
1153 s//\1/
1156 /^X\(\/\/\)$/{
1157 s//\1/
1160 /^X\(\/\).*/{
1161 s//\1/
1164 s/.*/./; q'`
1165 srcdir=$ac_confdir
1166 if test ! -r "$srcdir/$ac_unique_file"; then
1167 srcdir=..
1169 else
1170 ac_srcdir_defaulted=no
1172 if test ! -r "$srcdir/$ac_unique_file"; then
1173 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1174 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1176 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1177 ac_abs_confdir=`(
1178 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1179 pwd)`
1180 # When building in place, set srcdir=.
1181 if test "$ac_abs_confdir" = "$ac_pwd"; then
1182 srcdir=.
1184 # Remove unnecessary trailing slashes from srcdir.
1185 # Double slashes in file names in object file debugging info
1186 # mess up M-x gdb in Emacs.
1187 case $srcdir in
1188 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1189 esac
1190 for ac_var in $ac_precious_vars; do
1191 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1192 eval ac_env_${ac_var}_value=\$${ac_var}
1193 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1194 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1195 done
1198 # Report the --help message.
1200 if test "$ac_init_help" = "long"; then
1201 # Omit some internal or obsolete options to make the list less imposing.
1202 # This message is too long to be a string in the A/UX 3.1 sh.
1203 cat <<_ACEOF
1204 \`configure' configures ocurl 0.6.1 to adapt to many kinds of systems.
1206 Usage: $0 [OPTION]... [VAR=VALUE]...
1208 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1209 VAR=VALUE. See below for descriptions of some of the useful variables.
1211 Defaults for the options are specified in brackets.
1213 Configuration:
1214 -h, --help display this help and exit
1215 --help=short display options specific to this package
1216 --help=recursive display the short help of all the included packages
1217 -V, --version display version information and exit
1218 -q, --quiet, --silent do not print \`checking ...' messages
1219 --cache-file=FILE cache test results in FILE [disabled]
1220 -C, --config-cache alias for \`--cache-file=config.cache'
1221 -n, --no-create do not create output files
1222 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1224 Installation directories:
1225 --prefix=PREFIX install architecture-independent files in PREFIX
1226 [$ac_default_prefix]
1227 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1228 [PREFIX]
1230 By default, \`make install' will install all the files in
1231 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1232 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1233 for instance \`--prefix=\$HOME'.
1235 For better control, use the options below.
1237 Fine tuning of the installation directories:
1238 --bindir=DIR user executables [EPREFIX/bin]
1239 --sbindir=DIR system admin executables [EPREFIX/sbin]
1240 --libexecdir=DIR program executables [EPREFIX/libexec]
1241 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1242 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1243 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1244 --libdir=DIR object code libraries [EPREFIX/lib]
1245 --includedir=DIR C header files [PREFIX/include]
1246 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1247 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1248 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1249 --infodir=DIR info documentation [DATAROOTDIR/info]
1250 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1251 --mandir=DIR man documentation [DATAROOTDIR/man]
1252 --docdir=DIR documentation root [DATAROOTDIR/doc/ocurl]
1253 --htmldir=DIR html documentation [DOCDIR]
1254 --dvidir=DIR dvi documentation [DOCDIR]
1255 --pdfdir=DIR pdf documentation [DOCDIR]
1256 --psdir=DIR ps documentation [DOCDIR]
1257 _ACEOF
1259 cat <<\_ACEOF
1260 _ACEOF
1263 if test -n "$ac_init_help"; then
1264 case $ac_init_help in
1265 short | recursive ) echo "Configuration of ocurl 0.6.1:";;
1266 esac
1267 cat <<\_ACEOF
1269 Some influential environment variables:
1270 CC C compiler command
1271 CFLAGS C compiler flags
1272 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1273 nonstandard directory <lib dir>
1274 LIBS libraries to pass to the linker, e.g. -l<library>
1275 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1276 you have headers in a nonstandard directory <include dir>
1278 Use these variables to override the choices made by `configure' or to help
1279 it to find libraries and programs with nonstandard names/locations.
1281 Report bugs to the package provider.
1282 _ACEOF
1283 ac_status=$?
1286 if test "$ac_init_help" = "recursive"; then
1287 # If there are subdirs, report their specific --help.
1288 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1289 test -d "$ac_dir" ||
1290 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1291 continue
1292 ac_builddir=.
1294 case "$ac_dir" in
1295 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1297 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1298 # A ".." for each directory in $ac_dir_suffix.
1299 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1300 case $ac_top_builddir_sub in
1301 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1302 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1303 esac ;;
1304 esac
1305 ac_abs_top_builddir=$ac_pwd
1306 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1307 # for backward compatibility:
1308 ac_top_builddir=$ac_top_build_prefix
1310 case $srcdir in
1311 .) # We are building in place.
1312 ac_srcdir=.
1313 ac_top_srcdir=$ac_top_builddir_sub
1314 ac_abs_top_srcdir=$ac_pwd ;;
1315 [\\/]* | ?:[\\/]* ) # Absolute name.
1316 ac_srcdir=$srcdir$ac_dir_suffix;
1317 ac_top_srcdir=$srcdir
1318 ac_abs_top_srcdir=$srcdir ;;
1319 *) # Relative name.
1320 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1321 ac_top_srcdir=$ac_top_build_prefix$srcdir
1322 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1323 esac
1324 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1326 cd "$ac_dir" || { ac_status=$?; continue; }
1327 # Check for guested configure.
1328 if test -f "$ac_srcdir/configure.gnu"; then
1329 echo &&
1330 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1331 elif test -f "$ac_srcdir/configure"; then
1332 echo &&
1333 $SHELL "$ac_srcdir/configure" --help=recursive
1334 else
1335 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1336 fi || ac_status=$?
1337 cd "$ac_pwd" || { ac_status=$?; break; }
1338 done
1341 test -n "$ac_init_help" && exit $ac_status
1342 if $ac_init_version; then
1343 cat <<\_ACEOF
1344 ocurl configure 0.6.1
1345 generated by GNU Autoconf 2.69
1347 Copyright (C) 2012 Free Software Foundation, Inc.
1348 This configure script is free software; the Free Software Foundation
1349 gives unlimited permission to copy, distribute and modify it.
1350 _ACEOF
1351 exit
1354 ## ------------------------ ##
1355 ## Autoconf initialization. ##
1356 ## ------------------------ ##
1358 # ac_fn_c_try_compile LINENO
1359 # --------------------------
1360 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1361 ac_fn_c_try_compile ()
1363 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1364 rm -f conftest.$ac_objext
1365 if { { ac_try="$ac_compile"
1366 case "(($ac_try" in
1367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1368 *) ac_try_echo=$ac_try;;
1369 esac
1370 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1371 $as_echo "$ac_try_echo"; } >&5
1372 (eval "$ac_compile") 2>conftest.err
1373 ac_status=$?
1374 if test -s conftest.err; then
1375 grep -v '^ *+' conftest.err >conftest.er1
1376 cat conftest.er1 >&5
1377 mv -f conftest.er1 conftest.err
1379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1380 test $ac_status = 0; } && {
1381 test -z "$ac_c_werror_flag" ||
1382 test ! -s conftest.err
1383 } && test -s conftest.$ac_objext; then :
1384 ac_retval=0
1385 else
1386 $as_echo "$as_me: failed program was:" >&5
1387 sed 's/^/| /' conftest.$ac_ext >&5
1389 ac_retval=1
1391 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1392 as_fn_set_status $ac_retval
1394 } # ac_fn_c_try_compile
1396 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1397 # ---------------------------------------------
1398 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1399 # accordingly.
1400 ac_fn_c_check_decl ()
1402 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1403 as_decl_name=`echo $2|sed 's/ *(.*//'`
1404 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1406 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1407 if eval \${$3+:} false; then :
1408 $as_echo_n "(cached) " >&6
1409 else
1410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1411 /* end confdefs.h. */
1414 main ()
1416 #ifndef $as_decl_name
1417 #ifdef __cplusplus
1418 (void) $as_decl_use;
1419 #else
1420 (void) $as_decl_name;
1421 #endif
1422 #endif
1425 return 0;
1427 _ACEOF
1428 if ac_fn_c_try_compile "$LINENO"; then :
1429 eval "$3=yes"
1430 else
1431 eval "$3=no"
1433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1435 eval ac_res=\$$3
1436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1437 $as_echo "$ac_res" >&6; }
1438 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1440 } # ac_fn_c_check_decl
1441 cat >config.log <<_ACEOF
1442 This file contains any messages produced by compilers while
1443 running configure, to aid debugging if configure makes a mistake.
1445 It was created by ocurl $as_me 0.6.1, which was
1446 generated by GNU Autoconf 2.69. Invocation command line was
1448 $ $0 $@
1450 _ACEOF
1451 exec 5>>config.log
1453 cat <<_ASUNAME
1454 ## --------- ##
1455 ## Platform. ##
1456 ## --------- ##
1458 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1459 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1460 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1461 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1462 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1464 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1465 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1467 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1468 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1469 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1470 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1471 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1472 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1473 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1475 _ASUNAME
1477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1478 for as_dir in $PATH
1480 IFS=$as_save_IFS
1481 test -z "$as_dir" && as_dir=.
1482 $as_echo "PATH: $as_dir"
1483 done
1484 IFS=$as_save_IFS
1486 } >&5
1488 cat >&5 <<_ACEOF
1491 ## ----------- ##
1492 ## Core tests. ##
1493 ## ----------- ##
1495 _ACEOF
1498 # Keep a trace of the command line.
1499 # Strip out --no-create and --no-recursion so they do not pile up.
1500 # Strip out --silent because we don't want to record it for future runs.
1501 # Also quote any args containing shell meta-characters.
1502 # Make two passes to allow for proper duplicate-argument suppression.
1503 ac_configure_args=
1504 ac_configure_args0=
1505 ac_configure_args1=
1506 ac_must_keep_next=false
1507 for ac_pass in 1 2
1509 for ac_arg
1511 case $ac_arg in
1512 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1513 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1514 | -silent | --silent | --silen | --sile | --sil)
1515 continue ;;
1516 *\'*)
1517 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1518 esac
1519 case $ac_pass in
1520 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1522 as_fn_append ac_configure_args1 " '$ac_arg'"
1523 if test $ac_must_keep_next = true; then
1524 ac_must_keep_next=false # Got value, back to normal.
1525 else
1526 case $ac_arg in
1527 *=* | --config-cache | -C | -disable-* | --disable-* \
1528 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1529 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1530 | -with-* | --with-* | -without-* | --without-* | --x)
1531 case "$ac_configure_args0 " in
1532 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1533 esac
1535 -* ) ac_must_keep_next=true ;;
1536 esac
1538 as_fn_append ac_configure_args " '$ac_arg'"
1540 esac
1541 done
1542 done
1543 { ac_configure_args0=; unset ac_configure_args0;}
1544 { ac_configure_args1=; unset ac_configure_args1;}
1546 # When interrupted or exit'd, cleanup temporary files, and complete
1547 # config.log. We remove comments because anyway the quotes in there
1548 # would cause problems or look ugly.
1549 # WARNING: Use '\'' to represent an apostrophe within the trap.
1550 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1551 trap 'exit_status=$?
1552 # Save into config.log some information that might help in debugging.
1554 echo
1556 $as_echo "## ---------------- ##
1557 ## Cache variables. ##
1558 ## ---------------- ##"
1559 echo
1560 # The following way of writing the cache mishandles newlines in values,
1562 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1563 eval ac_val=\$$ac_var
1564 case $ac_val in #(
1565 *${as_nl}*)
1566 case $ac_var in #(
1567 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1568 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1569 esac
1570 case $ac_var in #(
1571 _ | IFS | as_nl) ;; #(
1572 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1573 *) { eval $ac_var=; unset $ac_var;} ;;
1574 esac ;;
1575 esac
1576 done
1577 (set) 2>&1 |
1578 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1579 *${as_nl}ac_space=\ *)
1580 sed -n \
1581 "s/'\''/'\''\\\\'\'''\''/g;
1582 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1583 ;; #(
1585 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1587 esac |
1588 sort
1590 echo
1592 $as_echo "## ----------------- ##
1593 ## Output variables. ##
1594 ## ----------------- ##"
1595 echo
1596 for ac_var in $ac_subst_vars
1598 eval ac_val=\$$ac_var
1599 case $ac_val in
1600 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1601 esac
1602 $as_echo "$ac_var='\''$ac_val'\''"
1603 done | sort
1604 echo
1606 if test -n "$ac_subst_files"; then
1607 $as_echo "## ------------------- ##
1608 ## File substitutions. ##
1609 ## ------------------- ##"
1610 echo
1611 for ac_var in $ac_subst_files
1613 eval ac_val=\$$ac_var
1614 case $ac_val in
1615 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1616 esac
1617 $as_echo "$ac_var='\''$ac_val'\''"
1618 done | sort
1619 echo
1622 if test -s confdefs.h; then
1623 $as_echo "## ----------- ##
1624 ## confdefs.h. ##
1625 ## ----------- ##"
1626 echo
1627 cat confdefs.h
1628 echo
1630 test "$ac_signal" != 0 &&
1631 $as_echo "$as_me: caught signal $ac_signal"
1632 $as_echo "$as_me: exit $exit_status"
1633 } >&5
1634 rm -f core *.core core.conftest.* &&
1635 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1636 exit $exit_status
1638 for ac_signal in 1 2 13 15; do
1639 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1640 done
1641 ac_signal=0
1643 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1644 rm -f -r conftest* confdefs.h
1646 $as_echo "/* confdefs.h */" > confdefs.h
1648 # Predefined preprocessor variables.
1650 cat >>confdefs.h <<_ACEOF
1651 #define PACKAGE_NAME "$PACKAGE_NAME"
1652 _ACEOF
1654 cat >>confdefs.h <<_ACEOF
1655 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1656 _ACEOF
1658 cat >>confdefs.h <<_ACEOF
1659 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1660 _ACEOF
1662 cat >>confdefs.h <<_ACEOF
1663 #define PACKAGE_STRING "$PACKAGE_STRING"
1664 _ACEOF
1666 cat >>confdefs.h <<_ACEOF
1667 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1668 _ACEOF
1670 cat >>confdefs.h <<_ACEOF
1671 #define PACKAGE_URL "$PACKAGE_URL"
1672 _ACEOF
1675 # Let the site file select an alternate cache file if it wants to.
1676 # Prefer an explicitly selected file to automatically selected ones.
1677 ac_site_file1=NONE
1678 ac_site_file2=NONE
1679 if test -n "$CONFIG_SITE"; then
1680 # We do not want a PATH search for config.site.
1681 case $CONFIG_SITE in #((
1682 -*) ac_site_file1=./$CONFIG_SITE;;
1683 */*) ac_site_file1=$CONFIG_SITE;;
1684 *) ac_site_file1=./$CONFIG_SITE;;
1685 esac
1686 elif test "x$prefix" != xNONE; then
1687 ac_site_file1=$prefix/share/config.site
1688 ac_site_file2=$prefix/etc/config.site
1689 else
1690 ac_site_file1=$ac_default_prefix/share/config.site
1691 ac_site_file2=$ac_default_prefix/etc/config.site
1693 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1695 test "x$ac_site_file" = xNONE && continue
1696 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1698 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1699 sed 's/^/| /' "$ac_site_file" >&5
1700 . "$ac_site_file" \
1701 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1702 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1703 as_fn_error $? "failed to load site script $ac_site_file
1704 See \`config.log' for more details" "$LINENO" 5; }
1706 done
1708 if test -r "$cache_file"; then
1709 # Some versions of bash will fail to source /dev/null (special files
1710 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1711 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1713 $as_echo "$as_me: loading cache $cache_file" >&6;}
1714 case $cache_file in
1715 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1716 *) . "./$cache_file";;
1717 esac
1719 else
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1721 $as_echo "$as_me: creating cache $cache_file" >&6;}
1722 >$cache_file
1725 # Check that the precious variables saved in the cache have kept the same
1726 # value.
1727 ac_cache_corrupted=false
1728 for ac_var in $ac_precious_vars; do
1729 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1730 eval ac_new_set=\$ac_env_${ac_var}_set
1731 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1732 eval ac_new_val=\$ac_env_${ac_var}_value
1733 case $ac_old_set,$ac_new_set in
1734 set,)
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1736 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1737 ac_cache_corrupted=: ;;
1738 ,set)
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1740 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1741 ac_cache_corrupted=: ;;
1742 ,);;
1744 if test "x$ac_old_val" != "x$ac_new_val"; then
1745 # differences in whitespace do not lead to failure.
1746 ac_old_val_w=`echo x $ac_old_val`
1747 ac_new_val_w=`echo x $ac_new_val`
1748 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1750 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1751 ac_cache_corrupted=:
1752 else
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1754 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1755 eval $ac_var=\$ac_old_val
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1758 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1760 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1761 fi;;
1762 esac
1763 # Pass precious variables to config.status.
1764 if test "$ac_new_set" = set; then
1765 case $ac_new_val in
1766 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1767 *) ac_arg=$ac_var=$ac_new_val ;;
1768 esac
1769 case " $ac_configure_args " in
1770 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1771 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1772 esac
1774 done
1775 if $ac_cache_corrupted; then
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1777 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1779 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1780 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1782 ## -------------------- ##
1783 ## Main body of script. ##
1784 ## -------------------- ##
1786 ac_ext=c
1787 ac_cpp='$CPP $CPPFLAGS'
1788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1794 ac_ext=c
1795 ac_cpp='$CPP $CPPFLAGS'
1796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1799 if test -n "$ac_tool_prefix"; then
1800 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1801 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1803 $as_echo_n "checking for $ac_word... " >&6; }
1804 if ${ac_cv_prog_CC+:} false; then :
1805 $as_echo_n "(cached) " >&6
1806 else
1807 if test -n "$CC"; then
1808 ac_cv_prog_CC="$CC" # Let the user override the test.
1809 else
1810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1811 for as_dir in $PATH
1813 IFS=$as_save_IFS
1814 test -z "$as_dir" && as_dir=.
1815 for ac_exec_ext in '' $ac_executable_extensions; do
1816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1817 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1819 break 2
1821 done
1822 done
1823 IFS=$as_save_IFS
1827 CC=$ac_cv_prog_CC
1828 if test -n "$CC"; then
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1830 $as_echo "$CC" >&6; }
1831 else
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1833 $as_echo "no" >&6; }
1838 if test -z "$ac_cv_prog_CC"; then
1839 ac_ct_CC=$CC
1840 # Extract the first word of "gcc", so it can be a program name with args.
1841 set dummy gcc; ac_word=$2
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1843 $as_echo_n "checking for $ac_word... " >&6; }
1844 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1845 $as_echo_n "(cached) " >&6
1846 else
1847 if test -n "$ac_ct_CC"; then
1848 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1849 else
1850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1851 for as_dir in $PATH
1853 IFS=$as_save_IFS
1854 test -z "$as_dir" && as_dir=.
1855 for ac_exec_ext in '' $ac_executable_extensions; do
1856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1857 ac_cv_prog_ac_ct_CC="gcc"
1858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1859 break 2
1861 done
1862 done
1863 IFS=$as_save_IFS
1867 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1868 if test -n "$ac_ct_CC"; then
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1870 $as_echo "$ac_ct_CC" >&6; }
1871 else
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1873 $as_echo "no" >&6; }
1876 if test "x$ac_ct_CC" = x; then
1877 CC=""
1878 else
1879 case $cross_compiling:$ac_tool_warned in
1880 yes:)
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1882 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1883 ac_tool_warned=yes ;;
1884 esac
1885 CC=$ac_ct_CC
1887 else
1888 CC="$ac_cv_prog_CC"
1891 if test -z "$CC"; then
1892 if test -n "$ac_tool_prefix"; then
1893 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1894 set dummy ${ac_tool_prefix}cc; ac_word=$2
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1896 $as_echo_n "checking for $ac_word... " >&6; }
1897 if ${ac_cv_prog_CC+:} false; then :
1898 $as_echo_n "(cached) " >&6
1899 else
1900 if test -n "$CC"; then
1901 ac_cv_prog_CC="$CC" # Let the user override the test.
1902 else
1903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1904 for as_dir in $PATH
1906 IFS=$as_save_IFS
1907 test -z "$as_dir" && as_dir=.
1908 for ac_exec_ext in '' $ac_executable_extensions; do
1909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1910 ac_cv_prog_CC="${ac_tool_prefix}cc"
1911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1912 break 2
1914 done
1915 done
1916 IFS=$as_save_IFS
1920 CC=$ac_cv_prog_CC
1921 if test -n "$CC"; then
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1923 $as_echo "$CC" >&6; }
1924 else
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1926 $as_echo "no" >&6; }
1932 if test -z "$CC"; then
1933 # Extract the first word of "cc", so it can be a program name with args.
1934 set dummy cc; ac_word=$2
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1936 $as_echo_n "checking for $ac_word... " >&6; }
1937 if ${ac_cv_prog_CC+:} false; then :
1938 $as_echo_n "(cached) " >&6
1939 else
1940 if test -n "$CC"; then
1941 ac_cv_prog_CC="$CC" # Let the user override the test.
1942 else
1943 ac_prog_rejected=no
1944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1945 for as_dir in $PATH
1947 IFS=$as_save_IFS
1948 test -z "$as_dir" && as_dir=.
1949 for ac_exec_ext in '' $ac_executable_extensions; do
1950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1951 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1952 ac_prog_rejected=yes
1953 continue
1955 ac_cv_prog_CC="cc"
1956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1957 break 2
1959 done
1960 done
1961 IFS=$as_save_IFS
1963 if test $ac_prog_rejected = yes; then
1964 # We found a bogon in the path, so make sure we never use it.
1965 set dummy $ac_cv_prog_CC
1966 shift
1967 if test $# != 0; then
1968 # We chose a different compiler from the bogus one.
1969 # However, it has the same basename, so the bogon will be chosen
1970 # first if we set CC to just the basename; use the full file name.
1971 shift
1972 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1977 CC=$ac_cv_prog_CC
1978 if test -n "$CC"; then
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1980 $as_echo "$CC" >&6; }
1981 else
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1983 $as_echo "no" >&6; }
1988 if test -z "$CC"; then
1989 if test -n "$ac_tool_prefix"; then
1990 for ac_prog in cl.exe
1992 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1993 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1995 $as_echo_n "checking for $ac_word... " >&6; }
1996 if ${ac_cv_prog_CC+:} false; then :
1997 $as_echo_n "(cached) " >&6
1998 else
1999 if test -n "$CC"; then
2000 ac_cv_prog_CC="$CC" # Let the user override the test.
2001 else
2002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2003 for as_dir in $PATH
2005 IFS=$as_save_IFS
2006 test -z "$as_dir" && as_dir=.
2007 for ac_exec_ext in '' $ac_executable_extensions; do
2008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2009 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2011 break 2
2013 done
2014 done
2015 IFS=$as_save_IFS
2019 CC=$ac_cv_prog_CC
2020 if test -n "$CC"; then
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2022 $as_echo "$CC" >&6; }
2023 else
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2025 $as_echo "no" >&6; }
2029 test -n "$CC" && break
2030 done
2032 if test -z "$CC"; then
2033 ac_ct_CC=$CC
2034 for ac_prog in cl.exe
2036 # Extract the first word of "$ac_prog", so it can be a program name with args.
2037 set dummy $ac_prog; ac_word=$2
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2039 $as_echo_n "checking for $ac_word... " >&6; }
2040 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2041 $as_echo_n "(cached) " >&6
2042 else
2043 if test -n "$ac_ct_CC"; then
2044 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2045 else
2046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2047 for as_dir in $PATH
2049 IFS=$as_save_IFS
2050 test -z "$as_dir" && as_dir=.
2051 for ac_exec_ext in '' $ac_executable_extensions; do
2052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2053 ac_cv_prog_ac_ct_CC="$ac_prog"
2054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2055 break 2
2057 done
2058 done
2059 IFS=$as_save_IFS
2063 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2064 if test -n "$ac_ct_CC"; then
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2066 $as_echo "$ac_ct_CC" >&6; }
2067 else
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2069 $as_echo "no" >&6; }
2073 test -n "$ac_ct_CC" && break
2074 done
2076 if test "x$ac_ct_CC" = x; then
2077 CC=""
2078 else
2079 case $cross_compiling:$ac_tool_warned in
2080 yes:)
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2083 ac_tool_warned=yes ;;
2084 esac
2085 CC=$ac_ct_CC
2092 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2093 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2094 as_fn_error $? "no acceptable C compiler found in \$PATH
2095 See \`config.log' for more details" "$LINENO" 5; }
2097 # Provide some information about the compiler.
2098 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2099 set X $ac_compile
2100 ac_compiler=$2
2101 for ac_option in --version -v -V -qversion; do
2102 { { ac_try="$ac_compiler $ac_option >&5"
2103 case "(($ac_try" in
2104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2105 *) ac_try_echo=$ac_try;;
2106 esac
2107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2108 $as_echo "$ac_try_echo"; } >&5
2109 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2110 ac_status=$?
2111 if test -s conftest.err; then
2112 sed '10a\
2113 ... rest of stderr output deleted ...
2114 10q' conftest.err >conftest.er1
2115 cat conftest.er1 >&5
2117 rm -f conftest.er1 conftest.err
2118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2119 test $ac_status = 0; }
2120 done
2122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2123 /* end confdefs.h. */
2126 main ()
2130 return 0;
2132 _ACEOF
2133 ac_clean_files_save=$ac_clean_files
2134 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2135 # Try to create an executable without -o first, disregard a.out.
2136 # It will help us diagnose broken compilers, and finding out an intuition
2137 # of exeext.
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2139 $as_echo_n "checking whether the C compiler works... " >&6; }
2140 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2142 # The possible output files:
2143 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2145 ac_rmfiles=
2146 for ac_file in $ac_files
2148 case $ac_file in
2149 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2150 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2151 esac
2152 done
2153 rm -f $ac_rmfiles
2155 if { { ac_try="$ac_link_default"
2156 case "(($ac_try" in
2157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2158 *) ac_try_echo=$ac_try;;
2159 esac
2160 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2161 $as_echo "$ac_try_echo"; } >&5
2162 (eval "$ac_link_default") 2>&5
2163 ac_status=$?
2164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2165 test $ac_status = 0; }; then :
2166 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2167 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2168 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2169 # so that the user can short-circuit this test for compilers unknown to
2170 # Autoconf.
2171 for ac_file in $ac_files ''
2173 test -f "$ac_file" || continue
2174 case $ac_file in
2175 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2177 [ab].out )
2178 # We found the default executable, but exeext='' is most
2179 # certainly right.
2180 break;;
2181 *.* )
2182 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2183 then :; else
2184 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2186 # We set ac_cv_exeext here because the later test for it is not
2187 # safe: cross compilers may not add the suffix if given an `-o'
2188 # argument, so we may need to know it at that point already.
2189 # Even if this section looks crufty: it has the advantage of
2190 # actually working.
2191 break;;
2193 break;;
2194 esac
2195 done
2196 test "$ac_cv_exeext" = no && ac_cv_exeext=
2198 else
2199 ac_file=''
2201 if test -z "$ac_file"; then :
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2203 $as_echo "no" >&6; }
2204 $as_echo "$as_me: failed program was:" >&5
2205 sed 's/^/| /' conftest.$ac_ext >&5
2207 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2209 as_fn_error 77 "C compiler cannot create executables
2210 See \`config.log' for more details" "$LINENO" 5; }
2211 else
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2213 $as_echo "yes" >&6; }
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2216 $as_echo_n "checking for C compiler default output file name... " >&6; }
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2218 $as_echo "$ac_file" >&6; }
2219 ac_exeext=$ac_cv_exeext
2221 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2222 ac_clean_files=$ac_clean_files_save
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2224 $as_echo_n "checking for suffix of executables... " >&6; }
2225 if { { ac_try="$ac_link"
2226 case "(($ac_try" in
2227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2228 *) ac_try_echo=$ac_try;;
2229 esac
2230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2231 $as_echo "$ac_try_echo"; } >&5
2232 (eval "$ac_link") 2>&5
2233 ac_status=$?
2234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2235 test $ac_status = 0; }; then :
2236 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2237 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2238 # work properly (i.e., refer to `conftest.exe'), while it won't with
2239 # `rm'.
2240 for ac_file in conftest.exe conftest conftest.*; do
2241 test -f "$ac_file" || continue
2242 case $ac_file in
2243 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2244 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2245 break;;
2246 * ) break;;
2247 esac
2248 done
2249 else
2250 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2252 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2253 See \`config.log' for more details" "$LINENO" 5; }
2255 rm -f conftest conftest$ac_cv_exeext
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2257 $as_echo "$ac_cv_exeext" >&6; }
2259 rm -f conftest.$ac_ext
2260 EXEEXT=$ac_cv_exeext
2261 ac_exeext=$EXEEXT
2262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2263 /* end confdefs.h. */
2264 #include <stdio.h>
2266 main ()
2268 FILE *f = fopen ("conftest.out", "w");
2269 return ferror (f) || fclose (f) != 0;
2272 return 0;
2274 _ACEOF
2275 ac_clean_files="$ac_clean_files conftest.out"
2276 # Check that the compiler produces executables we can run. If not, either
2277 # the compiler is broken, or we cross compile.
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2279 $as_echo_n "checking whether we are cross compiling... " >&6; }
2280 if test "$cross_compiling" != yes; then
2281 { { ac_try="$ac_link"
2282 case "(($ac_try" in
2283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2284 *) ac_try_echo=$ac_try;;
2285 esac
2286 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2287 $as_echo "$ac_try_echo"; } >&5
2288 (eval "$ac_link") 2>&5
2289 ac_status=$?
2290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2291 test $ac_status = 0; }
2292 if { ac_try='./conftest$ac_cv_exeext'
2293 { { case "(($ac_try" in
2294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2295 *) ac_try_echo=$ac_try;;
2296 esac
2297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2298 $as_echo "$ac_try_echo"; } >&5
2299 (eval "$ac_try") 2>&5
2300 ac_status=$?
2301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2302 test $ac_status = 0; }; }; then
2303 cross_compiling=no
2304 else
2305 if test "$cross_compiling" = maybe; then
2306 cross_compiling=yes
2307 else
2308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2310 as_fn_error $? "cannot run C compiled programs.
2311 If you meant to cross compile, use \`--host'.
2312 See \`config.log' for more details" "$LINENO" 5; }
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2317 $as_echo "$cross_compiling" >&6; }
2319 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2320 ac_clean_files=$ac_clean_files_save
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2322 $as_echo_n "checking for suffix of object files... " >&6; }
2323 if ${ac_cv_objext+:} false; then :
2324 $as_echo_n "(cached) " >&6
2325 else
2326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2327 /* end confdefs.h. */
2330 main ()
2334 return 0;
2336 _ACEOF
2337 rm -f conftest.o conftest.obj
2338 if { { ac_try="$ac_compile"
2339 case "(($ac_try" in
2340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2341 *) ac_try_echo=$ac_try;;
2342 esac
2343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2344 $as_echo "$ac_try_echo"; } >&5
2345 (eval "$ac_compile") 2>&5
2346 ac_status=$?
2347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2348 test $ac_status = 0; }; then :
2349 for ac_file in conftest.o conftest.obj conftest.*; do
2350 test -f "$ac_file" || continue;
2351 case $ac_file in
2352 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2353 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2354 break;;
2355 esac
2356 done
2357 else
2358 $as_echo "$as_me: failed program was:" >&5
2359 sed 's/^/| /' conftest.$ac_ext >&5
2361 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2363 as_fn_error $? "cannot compute suffix of object files: cannot compile
2364 See \`config.log' for more details" "$LINENO" 5; }
2366 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2369 $as_echo "$ac_cv_objext" >&6; }
2370 OBJEXT=$ac_cv_objext
2371 ac_objext=$OBJEXT
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2373 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2374 if ${ac_cv_c_compiler_gnu+:} false; then :
2375 $as_echo_n "(cached) " >&6
2376 else
2377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2378 /* end confdefs.h. */
2381 main ()
2383 #ifndef __GNUC__
2384 choke me
2385 #endif
2388 return 0;
2390 _ACEOF
2391 if ac_fn_c_try_compile "$LINENO"; then :
2392 ac_compiler_gnu=yes
2393 else
2394 ac_compiler_gnu=no
2396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2397 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2401 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2402 if test $ac_compiler_gnu = yes; then
2403 GCC=yes
2404 else
2405 GCC=
2407 ac_test_CFLAGS=${CFLAGS+set}
2408 ac_save_CFLAGS=$CFLAGS
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2410 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2411 if ${ac_cv_prog_cc_g+:} false; then :
2412 $as_echo_n "(cached) " >&6
2413 else
2414 ac_save_c_werror_flag=$ac_c_werror_flag
2415 ac_c_werror_flag=yes
2416 ac_cv_prog_cc_g=no
2417 CFLAGS="-g"
2418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2419 /* end confdefs.h. */
2422 main ()
2426 return 0;
2428 _ACEOF
2429 if ac_fn_c_try_compile "$LINENO"; then :
2430 ac_cv_prog_cc_g=yes
2431 else
2432 CFLAGS=""
2433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2434 /* end confdefs.h. */
2437 main ()
2441 return 0;
2443 _ACEOF
2444 if ac_fn_c_try_compile "$LINENO"; then :
2446 else
2447 ac_c_werror_flag=$ac_save_c_werror_flag
2448 CFLAGS="-g"
2449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2450 /* end confdefs.h. */
2453 main ()
2457 return 0;
2459 _ACEOF
2460 if ac_fn_c_try_compile "$LINENO"; then :
2461 ac_cv_prog_cc_g=yes
2463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2468 ac_c_werror_flag=$ac_save_c_werror_flag
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2471 $as_echo "$ac_cv_prog_cc_g" >&6; }
2472 if test "$ac_test_CFLAGS" = set; then
2473 CFLAGS=$ac_save_CFLAGS
2474 elif test $ac_cv_prog_cc_g = yes; then
2475 if test "$GCC" = yes; then
2476 CFLAGS="-g -O2"
2477 else
2478 CFLAGS="-g"
2480 else
2481 if test "$GCC" = yes; then
2482 CFLAGS="-O2"
2483 else
2484 CFLAGS=
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2488 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2489 if ${ac_cv_prog_cc_c89+:} false; then :
2490 $as_echo_n "(cached) " >&6
2491 else
2492 ac_cv_prog_cc_c89=no
2493 ac_save_CC=$CC
2494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2495 /* end confdefs.h. */
2496 #include <stdarg.h>
2497 #include <stdio.h>
2498 struct stat;
2499 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2500 struct buf { int x; };
2501 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2502 static char *e (p, i)
2503 char **p;
2504 int i;
2506 return p[i];
2508 static char *f (char * (*g) (char **, int), char **p, ...)
2510 char *s;
2511 va_list v;
2512 va_start (v,p);
2513 s = g (p, va_arg (v,int));
2514 va_end (v);
2515 return s;
2518 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2519 function prototypes and stuff, but not '\xHH' hex character constants.
2520 These don't provoke an error unfortunately, instead are silently treated
2521 as 'x'. The following induces an error, until -std is added to get
2522 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2523 array size at least. It's necessary to write '\x00'==0 to get something
2524 that's true only with -std. */
2525 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2527 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2528 inside strings and character constants. */
2529 #define FOO(x) 'x'
2530 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2532 int test (int i, double x);
2533 struct s1 {int (*f) (int a);};
2534 struct s2 {int (*f) (double a);};
2535 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2536 int argc;
2537 char **argv;
2539 main ()
2541 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2543 return 0;
2545 _ACEOF
2546 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2547 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2549 CC="$ac_save_CC $ac_arg"
2550 if ac_fn_c_try_compile "$LINENO"; then :
2551 ac_cv_prog_cc_c89=$ac_arg
2553 rm -f core conftest.err conftest.$ac_objext
2554 test "x$ac_cv_prog_cc_c89" != "xno" && break
2555 done
2556 rm -f conftest.$ac_ext
2557 CC=$ac_save_CC
2560 # AC_CACHE_VAL
2561 case "x$ac_cv_prog_cc_c89" in
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2564 $as_echo "none needed" >&6; } ;;
2565 xno)
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2567 $as_echo "unsupported" >&6; } ;;
2569 CC="$CC $ac_cv_prog_cc_c89"
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2571 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2572 esac
2573 if test "x$ac_cv_prog_cc_c89" != xno; then :
2577 ac_ext=c
2578 ac_cpp='$CPP $CPPFLAGS'
2579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl cflags" >&5
2585 $as_echo_n "checking for libcurl cflags... " >&6; }
2586 CURLCFLAGS=`pkg-config libcurl --cflags || curl-config --cflags`
2587 if test "$?" -eq 0 ; then :
2589 else
2590 as_fn_error $? "libcurl was not found" "$LINENO" 5
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURLCFLAGS" >&5
2593 $as_echo "$CURLCFLAGS" >&6; }
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl libs" >&5
2596 $as_echo_n "checking for libcurl libs... " >&6; }
2597 CURLLIBS=`pkg-config libcurl --libs || curl-config --libs`
2598 if test "$?" -eq 0 ; then :
2600 else
2601 as_fn_error $? "libcurl was not found" "$LINENO" 5
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURLLIBS" >&5
2604 $as_echo "$CURLLIBS" >&6; }
2606 ac_aux_dir=
2607 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2608 if test -f "$ac_dir/install-sh"; then
2609 ac_aux_dir=$ac_dir
2610 ac_install_sh="$ac_aux_dir/install-sh -c"
2611 break
2612 elif test -f "$ac_dir/install.sh"; then
2613 ac_aux_dir=$ac_dir
2614 ac_install_sh="$ac_aux_dir/install.sh -c"
2615 break
2616 elif test -f "$ac_dir/shtool"; then
2617 ac_aux_dir=$ac_dir
2618 ac_install_sh="$ac_aux_dir/shtool install -c"
2619 break
2621 done
2622 if test -z "$ac_aux_dir"; then
2623 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2626 # These three variables are undocumented and unsupported,
2627 # and are intended to be withdrawn in a future Autoconf release.
2628 # They can cause serious problems if a builder's source tree is in a directory
2629 # whose full name contains unusual characters.
2630 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2631 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2632 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2635 # Find a good install program. We prefer a C program (faster),
2636 # so one script is as good as another. But avoid the broken or
2637 # incompatible versions:
2638 # SysV /etc/install, /usr/sbin/install
2639 # SunOS /usr/etc/install
2640 # IRIX /sbin/install
2641 # AIX /bin/install
2642 # AmigaOS /C/install, which installs bootblocks on floppy discs
2643 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2644 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2645 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2646 # OS/2's system install, which has a completely different semantic
2647 # ./install, which can be erroneously created by make from ./install.sh.
2648 # Reject install programs that cannot install multiple files.
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2650 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2651 if test -z "$INSTALL"; then
2652 if ${ac_cv_path_install+:} false; then :
2653 $as_echo_n "(cached) " >&6
2654 else
2655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2656 for as_dir in $PATH
2658 IFS=$as_save_IFS
2659 test -z "$as_dir" && as_dir=.
2660 # Account for people who put trailing slashes in PATH elements.
2661 case $as_dir/ in #((
2662 ./ | .// | /[cC]/* | \
2663 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2664 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2665 /usr/ucb/* ) ;;
2667 # OSF1 and SCO ODT 3.0 have their own names for install.
2668 # Don't use installbsd from OSF since it installs stuff as root
2669 # by default.
2670 for ac_prog in ginstall scoinst install; do
2671 for ac_exec_ext in '' $ac_executable_extensions; do
2672 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2673 if test $ac_prog = install &&
2674 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2675 # AIX install. It has an incompatible calling convention.
2677 elif test $ac_prog = install &&
2678 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2679 # program-specific install script used by HP pwplus--don't use.
2681 else
2682 rm -rf conftest.one conftest.two conftest.dir
2683 echo one > conftest.one
2684 echo two > conftest.two
2685 mkdir conftest.dir
2686 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2687 test -s conftest.one && test -s conftest.two &&
2688 test -s conftest.dir/conftest.one &&
2689 test -s conftest.dir/conftest.two
2690 then
2691 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2692 break 3
2696 done
2697 done
2699 esac
2701 done
2702 IFS=$as_save_IFS
2704 rm -rf conftest.one conftest.two conftest.dir
2707 if test "${ac_cv_path_install+set}" = set; then
2708 INSTALL=$ac_cv_path_install
2709 else
2710 # As a last resort, use the slow shell script. Don't cache a
2711 # value for INSTALL within a source directory, because that will
2712 # break other packages using the cache if that directory is
2713 # removed, or if the value is a relative name.
2714 INSTALL=$ac_install_sh
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2718 $as_echo "$INSTALL" >&6; }
2720 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2721 # It thinks the first close brace ends the variable substitution.
2722 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2724 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2726 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2728 # checking for ocamlc
2729 if test -n "$ac_tool_prefix"; then
2730 # Extract the first word of "${ac_tool_prefix}ocamlc", so it can be a program name with args.
2731 set dummy ${ac_tool_prefix}ocamlc; ac_word=$2
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2733 $as_echo_n "checking for $ac_word... " >&6; }
2734 if ${ac_cv_prog_OCAMLC+:} false; then :
2735 $as_echo_n "(cached) " >&6
2736 else
2737 if test -n "$OCAMLC"; then
2738 ac_cv_prog_OCAMLC="$OCAMLC" # Let the user override the test.
2739 else
2740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2741 for as_dir in $PATH
2743 IFS=$as_save_IFS
2744 test -z "$as_dir" && as_dir=.
2745 for ac_exec_ext in '' $ac_executable_extensions; do
2746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2747 ac_cv_prog_OCAMLC="${ac_tool_prefix}ocamlc"
2748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2749 break 2
2751 done
2752 done
2753 IFS=$as_save_IFS
2757 OCAMLC=$ac_cv_prog_OCAMLC
2758 if test -n "$OCAMLC"; then
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLC" >&5
2760 $as_echo "$OCAMLC" >&6; }
2761 else
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2763 $as_echo "no" >&6; }
2768 if test -z "$ac_cv_prog_OCAMLC"; then
2769 ac_ct_OCAMLC=$OCAMLC
2770 # Extract the first word of "ocamlc", so it can be a program name with args.
2771 set dummy ocamlc; ac_word=$2
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2773 $as_echo_n "checking for $ac_word... " >&6; }
2774 if ${ac_cv_prog_ac_ct_OCAMLC+:} false; then :
2775 $as_echo_n "(cached) " >&6
2776 else
2777 if test -n "$ac_ct_OCAMLC"; then
2778 ac_cv_prog_ac_ct_OCAMLC="$ac_ct_OCAMLC" # Let the user override the test.
2779 else
2780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2781 for as_dir in $PATH
2783 IFS=$as_save_IFS
2784 test -z "$as_dir" && as_dir=.
2785 for ac_exec_ext in '' $ac_executable_extensions; do
2786 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2787 ac_cv_prog_ac_ct_OCAMLC="ocamlc"
2788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2789 break 2
2791 done
2792 done
2793 IFS=$as_save_IFS
2797 ac_ct_OCAMLC=$ac_cv_prog_ac_ct_OCAMLC
2798 if test -n "$ac_ct_OCAMLC"; then
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLC" >&5
2800 $as_echo "$ac_ct_OCAMLC" >&6; }
2801 else
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2803 $as_echo "no" >&6; }
2806 if test "x$ac_ct_OCAMLC" = x; then
2807 OCAMLC="no"
2808 else
2809 case $cross_compiling:$ac_tool_warned in
2810 yes:)
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2813 ac_tool_warned=yes ;;
2814 esac
2815 OCAMLC=$ac_ct_OCAMLC
2817 else
2818 OCAMLC="$ac_cv_prog_OCAMLC"
2822 if test "$OCAMLC" != "no"; then
2823 OCAMLVERSION=`$OCAMLC -v | sed -n -e 's|.*version* *\(.*\)$|\1|p'`
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml version is $OCAMLVERSION" >&5
2825 $as_echo "OCaml version is $OCAMLVERSION" >&6; }
2826 # If OCAMLLIB is set, use it
2827 if test "$OCAMLLIB" = ""; then
2828 OCAMLLIB=`$OCAMLC -where 2>/dev/null || $OCAMLC -v|tail -1|cut -d ' ' -f 4`
2829 else
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCAMLLIB previously set; preserving it." >&5
2831 $as_echo "OCAMLLIB previously set; preserving it." >&6; }
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml library path is $OCAMLLIB" >&5
2834 $as_echo "OCaml library path is $OCAMLLIB" >&6; }
2839 # checking for ocamlopt
2840 if test -n "$ac_tool_prefix"; then
2841 # Extract the first word of "${ac_tool_prefix}ocamlopt", so it can be a program name with args.
2842 set dummy ${ac_tool_prefix}ocamlopt; ac_word=$2
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2844 $as_echo_n "checking for $ac_word... " >&6; }
2845 if ${ac_cv_prog_OCAMLOPT+:} false; then :
2846 $as_echo_n "(cached) " >&6
2847 else
2848 if test -n "$OCAMLOPT"; then
2849 ac_cv_prog_OCAMLOPT="$OCAMLOPT" # Let the user override the test.
2850 else
2851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2852 for as_dir in $PATH
2854 IFS=$as_save_IFS
2855 test -z "$as_dir" && as_dir=.
2856 for ac_exec_ext in '' $ac_executable_extensions; do
2857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2858 ac_cv_prog_OCAMLOPT="${ac_tool_prefix}ocamlopt"
2859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2860 break 2
2862 done
2863 done
2864 IFS=$as_save_IFS
2868 OCAMLOPT=$ac_cv_prog_OCAMLOPT
2869 if test -n "$OCAMLOPT"; then
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPT" >&5
2871 $as_echo "$OCAMLOPT" >&6; }
2872 else
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2874 $as_echo "no" >&6; }
2879 if test -z "$ac_cv_prog_OCAMLOPT"; then
2880 ac_ct_OCAMLOPT=$OCAMLOPT
2881 # Extract the first word of "ocamlopt", so it can be a program name with args.
2882 set dummy ocamlopt; ac_word=$2
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2884 $as_echo_n "checking for $ac_word... " >&6; }
2885 if ${ac_cv_prog_ac_ct_OCAMLOPT+:} false; then :
2886 $as_echo_n "(cached) " >&6
2887 else
2888 if test -n "$ac_ct_OCAMLOPT"; then
2889 ac_cv_prog_ac_ct_OCAMLOPT="$ac_ct_OCAMLOPT" # Let the user override the test.
2890 else
2891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2892 for as_dir in $PATH
2894 IFS=$as_save_IFS
2895 test -z "$as_dir" && as_dir=.
2896 for ac_exec_ext in '' $ac_executable_extensions; do
2897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2898 ac_cv_prog_ac_ct_OCAMLOPT="ocamlopt"
2899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2900 break 2
2902 done
2903 done
2904 IFS=$as_save_IFS
2908 ac_ct_OCAMLOPT=$ac_cv_prog_ac_ct_OCAMLOPT
2909 if test -n "$ac_ct_OCAMLOPT"; then
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPT" >&5
2911 $as_echo "$ac_ct_OCAMLOPT" >&6; }
2912 else
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2914 $as_echo "no" >&6; }
2917 if test "x$ac_ct_OCAMLOPT" = x; then
2918 OCAMLOPT="no"
2919 else
2920 case $cross_compiling:$ac_tool_warned in
2921 yes:)
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2923 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2924 ac_tool_warned=yes ;;
2925 esac
2926 OCAMLOPT=$ac_ct_OCAMLOPT
2928 else
2929 OCAMLOPT="$ac_cv_prog_OCAMLOPT"
2932 OCAMLBEST=byte
2933 if test "$OCAMLOPT" = "no"; then
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find ocamlopt; bytecode compilation only." >&5
2935 $as_echo "$as_me: WARNING: Cannot find ocamlopt; bytecode compilation only." >&2;}
2936 else
2937 TMPVERSION=`$OCAMLOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
2938 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlopt discarded." >&5
2940 $as_echo "versions differs from ocamlc; ocamlopt discarded." >&6; }
2941 OCAMLOPT=no
2942 else
2943 OCAMLBEST=opt
2949 # checking for ocamlc.opt
2950 if test -n "$ac_tool_prefix"; then
2951 # Extract the first word of "${ac_tool_prefix}ocamlc.opt", so it can be a program name with args.
2952 set dummy ${ac_tool_prefix}ocamlc.opt; ac_word=$2
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2954 $as_echo_n "checking for $ac_word... " >&6; }
2955 if ${ac_cv_prog_OCAMLCDOTOPT+:} false; then :
2956 $as_echo_n "(cached) " >&6
2957 else
2958 if test -n "$OCAMLCDOTOPT"; then
2959 ac_cv_prog_OCAMLCDOTOPT="$OCAMLCDOTOPT" # Let the user override the test.
2960 else
2961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2962 for as_dir in $PATH
2964 IFS=$as_save_IFS
2965 test -z "$as_dir" && as_dir=.
2966 for ac_exec_ext in '' $ac_executable_extensions; do
2967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2968 ac_cv_prog_OCAMLCDOTOPT="${ac_tool_prefix}ocamlc.opt"
2969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2970 break 2
2972 done
2973 done
2974 IFS=$as_save_IFS
2978 OCAMLCDOTOPT=$ac_cv_prog_OCAMLCDOTOPT
2979 if test -n "$OCAMLCDOTOPT"; then
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLCDOTOPT" >&5
2981 $as_echo "$OCAMLCDOTOPT" >&6; }
2982 else
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2984 $as_echo "no" >&6; }
2989 if test -z "$ac_cv_prog_OCAMLCDOTOPT"; then
2990 ac_ct_OCAMLCDOTOPT=$OCAMLCDOTOPT
2991 # Extract the first word of "ocamlc.opt", so it can be a program name with args.
2992 set dummy ocamlc.opt; ac_word=$2
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2994 $as_echo_n "checking for $ac_word... " >&6; }
2995 if ${ac_cv_prog_ac_ct_OCAMLCDOTOPT+:} false; then :
2996 $as_echo_n "(cached) " >&6
2997 else
2998 if test -n "$ac_ct_OCAMLCDOTOPT"; then
2999 ac_cv_prog_ac_ct_OCAMLCDOTOPT="$ac_ct_OCAMLCDOTOPT" # Let the user override the test.
3000 else
3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3002 for as_dir in $PATH
3004 IFS=$as_save_IFS
3005 test -z "$as_dir" && as_dir=.
3006 for ac_exec_ext in '' $ac_executable_extensions; do
3007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3008 ac_cv_prog_ac_ct_OCAMLCDOTOPT="ocamlc.opt"
3009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3010 break 2
3012 done
3013 done
3014 IFS=$as_save_IFS
3018 ac_ct_OCAMLCDOTOPT=$ac_cv_prog_ac_ct_OCAMLCDOTOPT
3019 if test -n "$ac_ct_OCAMLCDOTOPT"; then
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLCDOTOPT" >&5
3021 $as_echo "$ac_ct_OCAMLCDOTOPT" >&6; }
3022 else
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3024 $as_echo "no" >&6; }
3027 if test "x$ac_ct_OCAMLCDOTOPT" = x; then
3028 OCAMLCDOTOPT="no"
3029 else
3030 case $cross_compiling:$ac_tool_warned in
3031 yes:)
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3033 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3034 ac_tool_warned=yes ;;
3035 esac
3036 OCAMLCDOTOPT=$ac_ct_OCAMLCDOTOPT
3038 else
3039 OCAMLCDOTOPT="$ac_cv_prog_OCAMLCDOTOPT"
3042 if test "$OCAMLCDOTOPT" != "no"; then
3043 TMPVERSION=`$OCAMLCDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3044 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlc.opt discarded." >&5
3046 $as_echo "versions differs from ocamlc; ocamlc.opt discarded." >&6; }
3047 else
3048 OCAMLC=$OCAMLCDOTOPT
3052 # checking for ocamlopt.opt
3053 if test "$OCAMLOPT" != "no" ; then
3054 if test -n "$ac_tool_prefix"; then
3055 # Extract the first word of "${ac_tool_prefix}ocamlopt.opt", so it can be a program name with args.
3056 set dummy ${ac_tool_prefix}ocamlopt.opt; ac_word=$2
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3058 $as_echo_n "checking for $ac_word... " >&6; }
3059 if ${ac_cv_prog_OCAMLOPTDOTOPT+:} false; then :
3060 $as_echo_n "(cached) " >&6
3061 else
3062 if test -n "$OCAMLOPTDOTOPT"; then
3063 ac_cv_prog_OCAMLOPTDOTOPT="$OCAMLOPTDOTOPT" # Let the user override the test.
3064 else
3065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3066 for as_dir in $PATH
3068 IFS=$as_save_IFS
3069 test -z "$as_dir" && as_dir=.
3070 for ac_exec_ext in '' $ac_executable_extensions; do
3071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3072 ac_cv_prog_OCAMLOPTDOTOPT="${ac_tool_prefix}ocamlopt.opt"
3073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3074 break 2
3076 done
3077 done
3078 IFS=$as_save_IFS
3082 OCAMLOPTDOTOPT=$ac_cv_prog_OCAMLOPTDOTOPT
3083 if test -n "$OCAMLOPTDOTOPT"; then
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPTDOTOPT" >&5
3085 $as_echo "$OCAMLOPTDOTOPT" >&6; }
3086 else
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3088 $as_echo "no" >&6; }
3093 if test -z "$ac_cv_prog_OCAMLOPTDOTOPT"; then
3094 ac_ct_OCAMLOPTDOTOPT=$OCAMLOPTDOTOPT
3095 # Extract the first word of "ocamlopt.opt", so it can be a program name with args.
3096 set dummy ocamlopt.opt; ac_word=$2
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3098 $as_echo_n "checking for $ac_word... " >&6; }
3099 if ${ac_cv_prog_ac_ct_OCAMLOPTDOTOPT+:} false; then :
3100 $as_echo_n "(cached) " >&6
3101 else
3102 if test -n "$ac_ct_OCAMLOPTDOTOPT"; then
3103 ac_cv_prog_ac_ct_OCAMLOPTDOTOPT="$ac_ct_OCAMLOPTDOTOPT" # Let the user override the test.
3104 else
3105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3106 for as_dir in $PATH
3108 IFS=$as_save_IFS
3109 test -z "$as_dir" && as_dir=.
3110 for ac_exec_ext in '' $ac_executable_extensions; do
3111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3112 ac_cv_prog_ac_ct_OCAMLOPTDOTOPT="ocamlopt.opt"
3113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3114 break 2
3116 done
3117 done
3118 IFS=$as_save_IFS
3122 ac_ct_OCAMLOPTDOTOPT=$ac_cv_prog_ac_ct_OCAMLOPTDOTOPT
3123 if test -n "$ac_ct_OCAMLOPTDOTOPT"; then
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPTDOTOPT" >&5
3125 $as_echo "$ac_ct_OCAMLOPTDOTOPT" >&6; }
3126 else
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3128 $as_echo "no" >&6; }
3131 if test "x$ac_ct_OCAMLOPTDOTOPT" = x; then
3132 OCAMLOPTDOTOPT="no"
3133 else
3134 case $cross_compiling:$ac_tool_warned in
3135 yes:)
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3137 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3138 ac_tool_warned=yes ;;
3139 esac
3140 OCAMLOPTDOTOPT=$ac_ct_OCAMLOPTDOTOPT
3142 else
3143 OCAMLOPTDOTOPT="$ac_cv_prog_OCAMLOPTDOTOPT"
3146 if test "$OCAMLOPTDOTOPT" != "no"; then
3147 TMPVERSION=`$OCAMLOPTDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3148 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: version differs from ocamlc; ocamlopt.opt discarded." >&5
3150 $as_echo "version differs from ocamlc; ocamlopt.opt discarded." >&6; }
3151 else
3152 OCAMLOPT=$OCAMLOPTDOTOPT
3162 # checking for ocaml toplevel
3163 if test -n "$ac_tool_prefix"; then
3164 # Extract the first word of "${ac_tool_prefix}ocaml", so it can be a program name with args.
3165 set dummy ${ac_tool_prefix}ocaml; ac_word=$2
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3167 $as_echo_n "checking for $ac_word... " >&6; }
3168 if ${ac_cv_prog_OCAML+:} false; then :
3169 $as_echo_n "(cached) " >&6
3170 else
3171 if test -n "$OCAML"; then
3172 ac_cv_prog_OCAML="$OCAML" # Let the user override the test.
3173 else
3174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3175 for as_dir in $PATH
3177 IFS=$as_save_IFS
3178 test -z "$as_dir" && as_dir=.
3179 for ac_exec_ext in '' $ac_executable_extensions; do
3180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3181 ac_cv_prog_OCAML="${ac_tool_prefix}ocaml"
3182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3183 break 2
3185 done
3186 done
3187 IFS=$as_save_IFS
3191 OCAML=$ac_cv_prog_OCAML
3192 if test -n "$OCAML"; then
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAML" >&5
3194 $as_echo "$OCAML" >&6; }
3195 else
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3197 $as_echo "no" >&6; }
3202 if test -z "$ac_cv_prog_OCAML"; then
3203 ac_ct_OCAML=$OCAML
3204 # Extract the first word of "ocaml", so it can be a program name with args.
3205 set dummy ocaml; ac_word=$2
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3207 $as_echo_n "checking for $ac_word... " >&6; }
3208 if ${ac_cv_prog_ac_ct_OCAML+:} false; then :
3209 $as_echo_n "(cached) " >&6
3210 else
3211 if test -n "$ac_ct_OCAML"; then
3212 ac_cv_prog_ac_ct_OCAML="$ac_ct_OCAML" # Let the user override the test.
3213 else
3214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3215 for as_dir in $PATH
3217 IFS=$as_save_IFS
3218 test -z "$as_dir" && as_dir=.
3219 for ac_exec_ext in '' $ac_executable_extensions; do
3220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3221 ac_cv_prog_ac_ct_OCAML="ocaml"
3222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3223 break 2
3225 done
3226 done
3227 IFS=$as_save_IFS
3231 ac_ct_OCAML=$ac_cv_prog_ac_ct_OCAML
3232 if test -n "$ac_ct_OCAML"; then
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAML" >&5
3234 $as_echo "$ac_ct_OCAML" >&6; }
3235 else
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3237 $as_echo "no" >&6; }
3240 if test "x$ac_ct_OCAML" = x; then
3241 OCAML="no"
3242 else
3243 case $cross_compiling:$ac_tool_warned in
3244 yes:)
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3247 ac_tool_warned=yes ;;
3248 esac
3249 OCAML=$ac_ct_OCAML
3251 else
3252 OCAML="$ac_cv_prog_OCAML"
3256 # checking for ocamldep
3257 if test -n "$ac_tool_prefix"; then
3258 # Extract the first word of "${ac_tool_prefix}ocamldep", so it can be a program name with args.
3259 set dummy ${ac_tool_prefix}ocamldep; ac_word=$2
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3261 $as_echo_n "checking for $ac_word... " >&6; }
3262 if ${ac_cv_prog_OCAMLDEP+:} false; then :
3263 $as_echo_n "(cached) " >&6
3264 else
3265 if test -n "$OCAMLDEP"; then
3266 ac_cv_prog_OCAMLDEP="$OCAMLDEP" # Let the user override the test.
3267 else
3268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3269 for as_dir in $PATH
3271 IFS=$as_save_IFS
3272 test -z "$as_dir" && as_dir=.
3273 for ac_exec_ext in '' $ac_executable_extensions; do
3274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3275 ac_cv_prog_OCAMLDEP="${ac_tool_prefix}ocamldep"
3276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3277 break 2
3279 done
3280 done
3281 IFS=$as_save_IFS
3285 OCAMLDEP=$ac_cv_prog_OCAMLDEP
3286 if test -n "$OCAMLDEP"; then
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDEP" >&5
3288 $as_echo "$OCAMLDEP" >&6; }
3289 else
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3291 $as_echo "no" >&6; }
3296 if test -z "$ac_cv_prog_OCAMLDEP"; then
3297 ac_ct_OCAMLDEP=$OCAMLDEP
3298 # Extract the first word of "ocamldep", so it can be a program name with args.
3299 set dummy ocamldep; ac_word=$2
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3301 $as_echo_n "checking for $ac_word... " >&6; }
3302 if ${ac_cv_prog_ac_ct_OCAMLDEP+:} false; then :
3303 $as_echo_n "(cached) " >&6
3304 else
3305 if test -n "$ac_ct_OCAMLDEP"; then
3306 ac_cv_prog_ac_ct_OCAMLDEP="$ac_ct_OCAMLDEP" # Let the user override the test.
3307 else
3308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3309 for as_dir in $PATH
3311 IFS=$as_save_IFS
3312 test -z "$as_dir" && as_dir=.
3313 for ac_exec_ext in '' $ac_executable_extensions; do
3314 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3315 ac_cv_prog_ac_ct_OCAMLDEP="ocamldep"
3316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3317 break 2
3319 done
3320 done
3321 IFS=$as_save_IFS
3325 ac_ct_OCAMLDEP=$ac_cv_prog_ac_ct_OCAMLDEP
3326 if test -n "$ac_ct_OCAMLDEP"; then
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDEP" >&5
3328 $as_echo "$ac_ct_OCAMLDEP" >&6; }
3329 else
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3331 $as_echo "no" >&6; }
3334 if test "x$ac_ct_OCAMLDEP" = x; then
3335 OCAMLDEP="no"
3336 else
3337 case $cross_compiling:$ac_tool_warned in
3338 yes:)
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3341 ac_tool_warned=yes ;;
3342 esac
3343 OCAMLDEP=$ac_ct_OCAMLDEP
3345 else
3346 OCAMLDEP="$ac_cv_prog_OCAMLDEP"
3350 # checking for ocamlmktop
3351 if test -n "$ac_tool_prefix"; then
3352 # Extract the first word of "${ac_tool_prefix}ocamlmktop", so it can be a program name with args.
3353 set dummy ${ac_tool_prefix}ocamlmktop; ac_word=$2
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3355 $as_echo_n "checking for $ac_word... " >&6; }
3356 if ${ac_cv_prog_OCAMLMKTOP+:} false; then :
3357 $as_echo_n "(cached) " >&6
3358 else
3359 if test -n "$OCAMLMKTOP"; then
3360 ac_cv_prog_OCAMLMKTOP="$OCAMLMKTOP" # Let the user override the test.
3361 else
3362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3363 for as_dir in $PATH
3365 IFS=$as_save_IFS
3366 test -z "$as_dir" && as_dir=.
3367 for ac_exec_ext in '' $ac_executable_extensions; do
3368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3369 ac_cv_prog_OCAMLMKTOP="${ac_tool_prefix}ocamlmktop"
3370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3371 break 2
3373 done
3374 done
3375 IFS=$as_save_IFS
3379 OCAMLMKTOP=$ac_cv_prog_OCAMLMKTOP
3380 if test -n "$OCAMLMKTOP"; then
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKTOP" >&5
3382 $as_echo "$OCAMLMKTOP" >&6; }
3383 else
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3385 $as_echo "no" >&6; }
3390 if test -z "$ac_cv_prog_OCAMLMKTOP"; then
3391 ac_ct_OCAMLMKTOP=$OCAMLMKTOP
3392 # Extract the first word of "ocamlmktop", so it can be a program name with args.
3393 set dummy ocamlmktop; ac_word=$2
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3395 $as_echo_n "checking for $ac_word... " >&6; }
3396 if ${ac_cv_prog_ac_ct_OCAMLMKTOP+:} false; then :
3397 $as_echo_n "(cached) " >&6
3398 else
3399 if test -n "$ac_ct_OCAMLMKTOP"; then
3400 ac_cv_prog_ac_ct_OCAMLMKTOP="$ac_ct_OCAMLMKTOP" # Let the user override the test.
3401 else
3402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3403 for as_dir in $PATH
3405 IFS=$as_save_IFS
3406 test -z "$as_dir" && as_dir=.
3407 for ac_exec_ext in '' $ac_executable_extensions; do
3408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3409 ac_cv_prog_ac_ct_OCAMLMKTOP="ocamlmktop"
3410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3411 break 2
3413 done
3414 done
3415 IFS=$as_save_IFS
3419 ac_ct_OCAMLMKTOP=$ac_cv_prog_ac_ct_OCAMLMKTOP
3420 if test -n "$ac_ct_OCAMLMKTOP"; then
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKTOP" >&5
3422 $as_echo "$ac_ct_OCAMLMKTOP" >&6; }
3423 else
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3425 $as_echo "no" >&6; }
3428 if test "x$ac_ct_OCAMLMKTOP" = x; then
3429 OCAMLMKTOP="no"
3430 else
3431 case $cross_compiling:$ac_tool_warned in
3432 yes:)
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3435 ac_tool_warned=yes ;;
3436 esac
3437 OCAMLMKTOP=$ac_ct_OCAMLMKTOP
3439 else
3440 OCAMLMKTOP="$ac_cv_prog_OCAMLMKTOP"
3444 # checking for ocamlmklib
3445 if test -n "$ac_tool_prefix"; then
3446 # Extract the first word of "${ac_tool_prefix}ocamlmklib", so it can be a program name with args.
3447 set dummy ${ac_tool_prefix}ocamlmklib; ac_word=$2
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3449 $as_echo_n "checking for $ac_word... " >&6; }
3450 if ${ac_cv_prog_OCAMLMKLIB+:} false; then :
3451 $as_echo_n "(cached) " >&6
3452 else
3453 if test -n "$OCAMLMKLIB"; then
3454 ac_cv_prog_OCAMLMKLIB="$OCAMLMKLIB" # Let the user override the test.
3455 else
3456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3457 for as_dir in $PATH
3459 IFS=$as_save_IFS
3460 test -z "$as_dir" && as_dir=.
3461 for ac_exec_ext in '' $ac_executable_extensions; do
3462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3463 ac_cv_prog_OCAMLMKLIB="${ac_tool_prefix}ocamlmklib"
3464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3465 break 2
3467 done
3468 done
3469 IFS=$as_save_IFS
3473 OCAMLMKLIB=$ac_cv_prog_OCAMLMKLIB
3474 if test -n "$OCAMLMKLIB"; then
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKLIB" >&5
3476 $as_echo "$OCAMLMKLIB" >&6; }
3477 else
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3479 $as_echo "no" >&6; }
3484 if test -z "$ac_cv_prog_OCAMLMKLIB"; then
3485 ac_ct_OCAMLMKLIB=$OCAMLMKLIB
3486 # Extract the first word of "ocamlmklib", so it can be a program name with args.
3487 set dummy ocamlmklib; ac_word=$2
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3489 $as_echo_n "checking for $ac_word... " >&6; }
3490 if ${ac_cv_prog_ac_ct_OCAMLMKLIB+:} false; then :
3491 $as_echo_n "(cached) " >&6
3492 else
3493 if test -n "$ac_ct_OCAMLMKLIB"; then
3494 ac_cv_prog_ac_ct_OCAMLMKLIB="$ac_ct_OCAMLMKLIB" # Let the user override the test.
3495 else
3496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3497 for as_dir in $PATH
3499 IFS=$as_save_IFS
3500 test -z "$as_dir" && as_dir=.
3501 for ac_exec_ext in '' $ac_executable_extensions; do
3502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3503 ac_cv_prog_ac_ct_OCAMLMKLIB="ocamlmklib"
3504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3505 break 2
3507 done
3508 done
3509 IFS=$as_save_IFS
3513 ac_ct_OCAMLMKLIB=$ac_cv_prog_ac_ct_OCAMLMKLIB
3514 if test -n "$ac_ct_OCAMLMKLIB"; then
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKLIB" >&5
3516 $as_echo "$ac_ct_OCAMLMKLIB" >&6; }
3517 else
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3519 $as_echo "no" >&6; }
3522 if test "x$ac_ct_OCAMLMKLIB" = x; then
3523 OCAMLMKLIB="no"
3524 else
3525 case $cross_compiling:$ac_tool_warned in
3526 yes:)
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3529 ac_tool_warned=yes ;;
3530 esac
3531 OCAMLMKLIB=$ac_ct_OCAMLMKLIB
3533 else
3534 OCAMLMKLIB="$ac_cv_prog_OCAMLMKLIB"
3538 # checking for ocamldoc
3539 if test -n "$ac_tool_prefix"; then
3540 # Extract the first word of "${ac_tool_prefix}ocamldoc", so it can be a program name with args.
3541 set dummy ${ac_tool_prefix}ocamldoc; ac_word=$2
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3543 $as_echo_n "checking for $ac_word... " >&6; }
3544 if ${ac_cv_prog_OCAMLDOC+:} false; then :
3545 $as_echo_n "(cached) " >&6
3546 else
3547 if test -n "$OCAMLDOC"; then
3548 ac_cv_prog_OCAMLDOC="$OCAMLDOC" # Let the user override the test.
3549 else
3550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3551 for as_dir in $PATH
3553 IFS=$as_save_IFS
3554 test -z "$as_dir" && as_dir=.
3555 for ac_exec_ext in '' $ac_executable_extensions; do
3556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3557 ac_cv_prog_OCAMLDOC="${ac_tool_prefix}ocamldoc"
3558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3559 break 2
3561 done
3562 done
3563 IFS=$as_save_IFS
3567 OCAMLDOC=$ac_cv_prog_OCAMLDOC
3568 if test -n "$OCAMLDOC"; then
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDOC" >&5
3570 $as_echo "$OCAMLDOC" >&6; }
3571 else
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3573 $as_echo "no" >&6; }
3578 if test -z "$ac_cv_prog_OCAMLDOC"; then
3579 ac_ct_OCAMLDOC=$OCAMLDOC
3580 # Extract the first word of "ocamldoc", so it can be a program name with args.
3581 set dummy ocamldoc; ac_word=$2
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3583 $as_echo_n "checking for $ac_word... " >&6; }
3584 if ${ac_cv_prog_ac_ct_OCAMLDOC+:} false; then :
3585 $as_echo_n "(cached) " >&6
3586 else
3587 if test -n "$ac_ct_OCAMLDOC"; then
3588 ac_cv_prog_ac_ct_OCAMLDOC="$ac_ct_OCAMLDOC" # Let the user override the test.
3589 else
3590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3591 for as_dir in $PATH
3593 IFS=$as_save_IFS
3594 test -z "$as_dir" && as_dir=.
3595 for ac_exec_ext in '' $ac_executable_extensions; do
3596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3597 ac_cv_prog_ac_ct_OCAMLDOC="ocamldoc"
3598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3599 break 2
3601 done
3602 done
3603 IFS=$as_save_IFS
3607 ac_ct_OCAMLDOC=$ac_cv_prog_ac_ct_OCAMLDOC
3608 if test -n "$ac_ct_OCAMLDOC"; then
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDOC" >&5
3610 $as_echo "$ac_ct_OCAMLDOC" >&6; }
3611 else
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3613 $as_echo "no" >&6; }
3616 if test "x$ac_ct_OCAMLDOC" = x; then
3617 OCAMLDOC="no"
3618 else
3619 case $cross_compiling:$ac_tool_warned in
3620 yes:)
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3623 ac_tool_warned=yes ;;
3624 esac
3625 OCAMLDOC=$ac_ct_OCAMLDOC
3627 else
3628 OCAMLDOC="$ac_cv_prog_OCAMLDOC"
3632 # checking for ocamlbuild
3633 if test -n "$ac_tool_prefix"; then
3634 # Extract the first word of "${ac_tool_prefix}ocamlbuild", so it can be a program name with args.
3635 set dummy ${ac_tool_prefix}ocamlbuild; ac_word=$2
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3637 $as_echo_n "checking for $ac_word... " >&6; }
3638 if ${ac_cv_prog_OCAMLBUILD+:} false; then :
3639 $as_echo_n "(cached) " >&6
3640 else
3641 if test -n "$OCAMLBUILD"; then
3642 ac_cv_prog_OCAMLBUILD="$OCAMLBUILD" # Let the user override the test.
3643 else
3644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3645 for as_dir in $PATH
3647 IFS=$as_save_IFS
3648 test -z "$as_dir" && as_dir=.
3649 for ac_exec_ext in '' $ac_executable_extensions; do
3650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3651 ac_cv_prog_OCAMLBUILD="${ac_tool_prefix}ocamlbuild"
3652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3653 break 2
3655 done
3656 done
3657 IFS=$as_save_IFS
3661 OCAMLBUILD=$ac_cv_prog_OCAMLBUILD
3662 if test -n "$OCAMLBUILD"; then
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLBUILD" >&5
3664 $as_echo "$OCAMLBUILD" >&6; }
3665 else
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3667 $as_echo "no" >&6; }
3672 if test -z "$ac_cv_prog_OCAMLBUILD"; then
3673 ac_ct_OCAMLBUILD=$OCAMLBUILD
3674 # Extract the first word of "ocamlbuild", so it can be a program name with args.
3675 set dummy ocamlbuild; ac_word=$2
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3677 $as_echo_n "checking for $ac_word... " >&6; }
3678 if ${ac_cv_prog_ac_ct_OCAMLBUILD+:} false; then :
3679 $as_echo_n "(cached) " >&6
3680 else
3681 if test -n "$ac_ct_OCAMLBUILD"; then
3682 ac_cv_prog_ac_ct_OCAMLBUILD="$ac_ct_OCAMLBUILD" # Let the user override the test.
3683 else
3684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3685 for as_dir in $PATH
3687 IFS=$as_save_IFS
3688 test -z "$as_dir" && as_dir=.
3689 for ac_exec_ext in '' $ac_executable_extensions; do
3690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3691 ac_cv_prog_ac_ct_OCAMLBUILD="ocamlbuild"
3692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3693 break 2
3695 done
3696 done
3697 IFS=$as_save_IFS
3701 ac_ct_OCAMLBUILD=$ac_cv_prog_ac_ct_OCAMLBUILD
3702 if test -n "$ac_ct_OCAMLBUILD"; then
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLBUILD" >&5
3704 $as_echo "$ac_ct_OCAMLBUILD" >&6; }
3705 else
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3707 $as_echo "no" >&6; }
3710 if test "x$ac_ct_OCAMLBUILD" = x; then
3711 OCAMLBUILD="no"
3712 else
3713 case $cross_compiling:$ac_tool_warned in
3714 yes:)
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3717 ac_tool_warned=yes ;;
3718 esac
3719 OCAMLBUILD=$ac_ct_OCAMLBUILD
3721 else
3722 OCAMLBUILD="$ac_cv_prog_OCAMLBUILD"
3727 # checking for ocamlfind
3728 if test -n "$ac_tool_prefix"; then
3729 # Extract the first word of "${ac_tool_prefix}ocamlfind", so it can be a program name with args.
3730 set dummy ${ac_tool_prefix}ocamlfind; ac_word=$2
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3732 $as_echo_n "checking for $ac_word... " >&6; }
3733 if ${ac_cv_prog_OCAMLFIND+:} false; then :
3734 $as_echo_n "(cached) " >&6
3735 else
3736 if test -n "$OCAMLFIND"; then
3737 ac_cv_prog_OCAMLFIND="$OCAMLFIND" # Let the user override the test.
3738 else
3739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3740 for as_dir in $PATH
3742 IFS=$as_save_IFS
3743 test -z "$as_dir" && as_dir=.
3744 for ac_exec_ext in '' $ac_executable_extensions; do
3745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3746 ac_cv_prog_OCAMLFIND="${ac_tool_prefix}ocamlfind"
3747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3748 break 2
3750 done
3751 done
3752 IFS=$as_save_IFS
3756 OCAMLFIND=$ac_cv_prog_OCAMLFIND
3757 if test -n "$OCAMLFIND"; then
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLFIND" >&5
3759 $as_echo "$OCAMLFIND" >&6; }
3760 else
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3762 $as_echo "no" >&6; }
3767 if test -z "$ac_cv_prog_OCAMLFIND"; then
3768 ac_ct_OCAMLFIND=$OCAMLFIND
3769 # Extract the first word of "ocamlfind", so it can be a program name with args.
3770 set dummy ocamlfind; ac_word=$2
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3772 $as_echo_n "checking for $ac_word... " >&6; }
3773 if ${ac_cv_prog_ac_ct_OCAMLFIND+:} false; then :
3774 $as_echo_n "(cached) " >&6
3775 else
3776 if test -n "$ac_ct_OCAMLFIND"; then
3777 ac_cv_prog_ac_ct_OCAMLFIND="$ac_ct_OCAMLFIND" # Let the user override the test.
3778 else
3779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3780 for as_dir in $PATH
3782 IFS=$as_save_IFS
3783 test -z "$as_dir" && as_dir=.
3784 for ac_exec_ext in '' $ac_executable_extensions; do
3785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3786 ac_cv_prog_ac_ct_OCAMLFIND="ocamlfind"
3787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3788 break 2
3790 done
3791 done
3792 IFS=$as_save_IFS
3796 ac_ct_OCAMLFIND=$ac_cv_prog_ac_ct_OCAMLFIND
3797 if test -n "$ac_ct_OCAMLFIND"; then
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLFIND" >&5
3799 $as_echo "$ac_ct_OCAMLFIND" >&6; }
3800 else
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3802 $as_echo "no" >&6; }
3805 if test "x$ac_ct_OCAMLFIND" = x; then
3806 OCAMLFIND="no"
3807 else
3808 case $cross_compiling:$ac_tool_warned in
3809 yes:)
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3812 ac_tool_warned=yes ;;
3813 esac
3814 OCAMLFIND=$ac_ct_OCAMLFIND
3816 else
3817 OCAMLFIND="$ac_cv_prog_OCAMLFIND"
3823 INSTALLDIR=$OCAMLLIB/curl
3825 if test "x$prefix" = xNONE; then
3826 $as_echo_n "checking for prefix by " >&6
3827 # Extract the first word of "ocamlc", so it can be a program name with args.
3828 set dummy ocamlc; ac_word=$2
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3830 $as_echo_n "checking for $ac_word... " >&6; }
3831 if ${ac_cv_path_ac_prefix_program+:} false; then :
3832 $as_echo_n "(cached) " >&6
3833 else
3834 case $ac_prefix_program in
3835 [\\/]* | ?:[\\/]*)
3836 ac_cv_path_ac_prefix_program="$ac_prefix_program" # Let the user override the test with a path.
3839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3840 for as_dir in $PATH
3842 IFS=$as_save_IFS
3843 test -z "$as_dir" && as_dir=.
3844 for ac_exec_ext in '' $ac_executable_extensions; do
3845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3846 ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
3847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3848 break 2
3850 done
3851 done
3852 IFS=$as_save_IFS
3855 esac
3857 ac_prefix_program=$ac_cv_path_ac_prefix_program
3858 if test -n "$ac_prefix_program"; then
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prefix_program" >&5
3860 $as_echo "$ac_prefix_program" >&6; }
3861 else
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3863 $as_echo "no" >&6; }
3867 if test -n "$ac_prefix_program"; then
3868 prefix=`$as_dirname -- "$ac_prefix_program" ||
3869 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3870 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
3871 X"$ac_prefix_program" : 'X\(//\)$' \| \
3872 X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
3873 $as_echo X"$ac_prefix_program" |
3874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3875 s//\1/
3878 /^X\(\/\/\)[^/].*/{
3879 s//\1/
3882 /^X\(\/\/\)$/{
3883 s//\1/
3886 /^X\(\/\).*/{
3887 s//\1/
3890 s/.*/./; q'`
3891 prefix=`$as_dirname -- "$prefix" ||
3892 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3893 X"$prefix" : 'X\(//\)[^/]' \| \
3894 X"$prefix" : 'X\(//\)$' \| \
3895 X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
3896 $as_echo X"$prefix" |
3897 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3898 s//\1/
3901 /^X\(\/\/\)[^/].*/{
3902 s//\1/
3905 /^X\(\/\/\)$/{
3906 s//\1/
3909 /^X\(\/\).*/{
3910 s//\1/
3913 s/.*/./; q'`
3925 ac_fn_c_check_decl "$LINENO" "CURLOPT_FILE" "ac_cv_have_decl_CURLOPT_FILE" "
3926 #include \"curl/curl.h\"
3929 if test "x$ac_cv_have_decl_CURLOPT_FILE" = xyes; then :
3930 ac_have_decl=1
3931 else
3932 ac_have_decl=0
3935 cat >>confdefs.h <<_ACEOF
3936 #define HAVE_DECL_CURLOPT_FILE $ac_have_decl
3937 _ACEOF
3938 ac_fn_c_check_decl "$LINENO" "CURLOPT_URL" "ac_cv_have_decl_CURLOPT_URL" "
3939 #include \"curl/curl.h\"
3942 if test "x$ac_cv_have_decl_CURLOPT_URL" = xyes; then :
3943 ac_have_decl=1
3944 else
3945 ac_have_decl=0
3948 cat >>confdefs.h <<_ACEOF
3949 #define HAVE_DECL_CURLOPT_URL $ac_have_decl
3950 _ACEOF
3951 ac_fn_c_check_decl "$LINENO" "CURLOPT_PORT" "ac_cv_have_decl_CURLOPT_PORT" "
3952 #include \"curl/curl.h\"
3955 if test "x$ac_cv_have_decl_CURLOPT_PORT" = xyes; then :
3956 ac_have_decl=1
3957 else
3958 ac_have_decl=0
3961 cat >>confdefs.h <<_ACEOF
3962 #define HAVE_DECL_CURLOPT_PORT $ac_have_decl
3963 _ACEOF
3964 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXY" "ac_cv_have_decl_CURLOPT_PROXY" "
3965 #include \"curl/curl.h\"
3968 if test "x$ac_cv_have_decl_CURLOPT_PROXY" = xyes; then :
3969 ac_have_decl=1
3970 else
3971 ac_have_decl=0
3974 cat >>confdefs.h <<_ACEOF
3975 #define HAVE_DECL_CURLOPT_PROXY $ac_have_decl
3976 _ACEOF
3977 ac_fn_c_check_decl "$LINENO" "CURLOPT_USERPWD" "ac_cv_have_decl_CURLOPT_USERPWD" "
3978 #include \"curl/curl.h\"
3981 if test "x$ac_cv_have_decl_CURLOPT_USERPWD" = xyes; then :
3982 ac_have_decl=1
3983 else
3984 ac_have_decl=0
3987 cat >>confdefs.h <<_ACEOF
3988 #define HAVE_DECL_CURLOPT_USERPWD $ac_have_decl
3989 _ACEOF
3990 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYUSERPWD" "ac_cv_have_decl_CURLOPT_PROXYUSERPWD" "
3991 #include \"curl/curl.h\"
3994 if test "x$ac_cv_have_decl_CURLOPT_PROXYUSERPWD" = xyes; then :
3995 ac_have_decl=1
3996 else
3997 ac_have_decl=0
4000 cat >>confdefs.h <<_ACEOF
4001 #define HAVE_DECL_CURLOPT_PROXYUSERPWD $ac_have_decl
4002 _ACEOF
4003 ac_fn_c_check_decl "$LINENO" "CURLOPT_RANGE" "ac_cv_have_decl_CURLOPT_RANGE" "
4004 #include \"curl/curl.h\"
4007 if test "x$ac_cv_have_decl_CURLOPT_RANGE" = xyes; then :
4008 ac_have_decl=1
4009 else
4010 ac_have_decl=0
4013 cat >>confdefs.h <<_ACEOF
4014 #define HAVE_DECL_CURLOPT_RANGE $ac_have_decl
4015 _ACEOF
4016 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILE" "ac_cv_have_decl_CURLOPT_INFILE" "
4017 #include \"curl/curl.h\"
4020 if test "x$ac_cv_have_decl_CURLOPT_INFILE" = xyes; then :
4021 ac_have_decl=1
4022 else
4023 ac_have_decl=0
4026 cat >>confdefs.h <<_ACEOF
4027 #define HAVE_DECL_CURLOPT_INFILE $ac_have_decl
4028 _ACEOF
4029 ac_fn_c_check_decl "$LINENO" "CURLOPT_ERRORBUFFER" "ac_cv_have_decl_CURLOPT_ERRORBUFFER" "
4030 #include \"curl/curl.h\"
4033 if test "x$ac_cv_have_decl_CURLOPT_ERRORBUFFER" = xyes; then :
4034 ac_have_decl=1
4035 else
4036 ac_have_decl=0
4039 cat >>confdefs.h <<_ACEOF
4040 #define HAVE_DECL_CURLOPT_ERRORBUFFER $ac_have_decl
4041 _ACEOF
4042 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEFUNCTION" "ac_cv_have_decl_CURLOPT_WRITEFUNCTION" "
4043 #include \"curl/curl.h\"
4046 if test "x$ac_cv_have_decl_CURLOPT_WRITEFUNCTION" = xyes; then :
4047 ac_have_decl=1
4048 else
4049 ac_have_decl=0
4052 cat >>confdefs.h <<_ACEOF
4053 #define HAVE_DECL_CURLOPT_WRITEFUNCTION $ac_have_decl
4054 _ACEOF
4055 ac_fn_c_check_decl "$LINENO" "CURLOPT_READFUNCTION" "ac_cv_have_decl_CURLOPT_READFUNCTION" "
4056 #include \"curl/curl.h\"
4059 if test "x$ac_cv_have_decl_CURLOPT_READFUNCTION" = xyes; then :
4060 ac_have_decl=1
4061 else
4062 ac_have_decl=0
4065 cat >>confdefs.h <<_ACEOF
4066 #define HAVE_DECL_CURLOPT_READFUNCTION $ac_have_decl
4067 _ACEOF
4068 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEOUT" "ac_cv_have_decl_CURLOPT_TIMEOUT" "
4069 #include \"curl/curl.h\"
4072 if test "x$ac_cv_have_decl_CURLOPT_TIMEOUT" = xyes; then :
4073 ac_have_decl=1
4074 else
4075 ac_have_decl=0
4078 cat >>confdefs.h <<_ACEOF
4079 #define HAVE_DECL_CURLOPT_TIMEOUT $ac_have_decl
4080 _ACEOF
4081 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILESIZE" "ac_cv_have_decl_CURLOPT_INFILESIZE" "
4082 #include \"curl/curl.h\"
4085 if test "x$ac_cv_have_decl_CURLOPT_INFILESIZE" = xyes; then :
4086 ac_have_decl=1
4087 else
4088 ac_have_decl=0
4091 cat >>confdefs.h <<_ACEOF
4092 #define HAVE_DECL_CURLOPT_INFILESIZE $ac_have_decl
4093 _ACEOF
4094 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDS" "ac_cv_have_decl_CURLOPT_POSTFIELDS" "
4095 #include \"curl/curl.h\"
4098 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDS" = xyes; then :
4099 ac_have_decl=1
4100 else
4101 ac_have_decl=0
4104 cat >>confdefs.h <<_ACEOF
4105 #define HAVE_DECL_CURLOPT_POSTFIELDS $ac_have_decl
4106 _ACEOF
4107 ac_fn_c_check_decl "$LINENO" "CURLOPT_REFERER" "ac_cv_have_decl_CURLOPT_REFERER" "
4108 #include \"curl/curl.h\"
4111 if test "x$ac_cv_have_decl_CURLOPT_REFERER" = xyes; then :
4112 ac_have_decl=1
4113 else
4114 ac_have_decl=0
4117 cat >>confdefs.h <<_ACEOF
4118 #define HAVE_DECL_CURLOPT_REFERER $ac_have_decl
4119 _ACEOF
4120 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPPORT" "ac_cv_have_decl_CURLOPT_FTPPORT" "
4121 #include \"curl/curl.h\"
4124 if test "x$ac_cv_have_decl_CURLOPT_FTPPORT" = xyes; then :
4125 ac_have_decl=1
4126 else
4127 ac_have_decl=0
4130 cat >>confdefs.h <<_ACEOF
4131 #define HAVE_DECL_CURLOPT_FTPPORT $ac_have_decl
4132 _ACEOF
4133 ac_fn_c_check_decl "$LINENO" "CURLOPT_USERAGENT" "ac_cv_have_decl_CURLOPT_USERAGENT" "
4134 #include \"curl/curl.h\"
4137 if test "x$ac_cv_have_decl_CURLOPT_USERAGENT" = xyes; then :
4138 ac_have_decl=1
4139 else
4140 ac_have_decl=0
4143 cat >>confdefs.h <<_ACEOF
4144 #define HAVE_DECL_CURLOPT_USERAGENT $ac_have_decl
4145 _ACEOF
4146 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOW_SPEED_LIMIT" "ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" "
4147 #include \"curl/curl.h\"
4150 if test "x$ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" = xyes; then :
4151 ac_have_decl=1
4152 else
4153 ac_have_decl=0
4156 cat >>confdefs.h <<_ACEOF
4157 #define HAVE_DECL_CURLOPT_LOW_SPEED_LIMIT $ac_have_decl
4158 _ACEOF
4159 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOW_SPEED_TIME" "ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" "
4160 #include \"curl/curl.h\"
4163 if test "x$ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" = xyes; then :
4164 ac_have_decl=1
4165 else
4166 ac_have_decl=0
4169 cat >>confdefs.h <<_ACEOF
4170 #define HAVE_DECL_CURLOPT_LOW_SPEED_TIME $ac_have_decl
4171 _ACEOF
4172 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESUME_FROM" "ac_cv_have_decl_CURLOPT_RESUME_FROM" "
4173 #include \"curl/curl.h\"
4176 if test "x$ac_cv_have_decl_CURLOPT_RESUME_FROM" = xyes; then :
4177 ac_have_decl=1
4178 else
4179 ac_have_decl=0
4182 cat >>confdefs.h <<_ACEOF
4183 #define HAVE_DECL_CURLOPT_RESUME_FROM $ac_have_decl
4184 _ACEOF
4185 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIE" "ac_cv_have_decl_CURLOPT_COOKIE" "
4186 #include \"curl/curl.h\"
4189 if test "x$ac_cv_have_decl_CURLOPT_COOKIE" = xyes; then :
4190 ac_have_decl=1
4191 else
4192 ac_have_decl=0
4195 cat >>confdefs.h <<_ACEOF
4196 #define HAVE_DECL_CURLOPT_COOKIE $ac_have_decl
4197 _ACEOF
4198 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPHEADER" "ac_cv_have_decl_CURLOPT_HTTPHEADER" "
4199 #include \"curl/curl.h\"
4202 if test "x$ac_cv_have_decl_CURLOPT_HTTPHEADER" = xyes; then :
4203 ac_have_decl=1
4204 else
4205 ac_have_decl=0
4208 cat >>confdefs.h <<_ACEOF
4209 #define HAVE_DECL_CURLOPT_HTTPHEADER $ac_have_decl
4210 _ACEOF
4211 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPPOST" "ac_cv_have_decl_CURLOPT_HTTPPOST" "
4212 #include \"curl/curl.h\"
4215 if test "x$ac_cv_have_decl_CURLOPT_HTTPPOST" = xyes; then :
4216 ac_have_decl=1
4217 else
4218 ac_have_decl=0
4221 cat >>confdefs.h <<_ACEOF
4222 #define HAVE_DECL_CURLOPT_HTTPPOST $ac_have_decl
4223 _ACEOF
4224 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERT" "ac_cv_have_decl_CURLOPT_SSLCERT" "
4225 #include \"curl/curl.h\"
4228 if test "x$ac_cv_have_decl_CURLOPT_SSLCERT" = xyes; then :
4229 ac_have_decl=1
4230 else
4231 ac_have_decl=0
4234 cat >>confdefs.h <<_ACEOF
4235 #define HAVE_DECL_CURLOPT_SSLCERT $ac_have_decl
4236 _ACEOF
4237 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERTPASSWD" "ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" "
4238 #include \"curl/curl.h\"
4241 if test "x$ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" = xyes; then :
4242 ac_have_decl=1
4243 else
4244 ac_have_decl=0
4247 cat >>confdefs.h <<_ACEOF
4248 #define HAVE_DECL_CURLOPT_SSLCERTPASSWD $ac_have_decl
4249 _ACEOF
4250 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEYPASSWD" "ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" "
4251 #include \"curl/curl.h\"
4254 if test "x$ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" = xyes; then :
4255 ac_have_decl=1
4256 else
4257 ac_have_decl=0
4260 cat >>confdefs.h <<_ACEOF
4261 #define HAVE_DECL_CURLOPT_SSLKEYPASSWD $ac_have_decl
4262 _ACEOF
4263 ac_fn_c_check_decl "$LINENO" "CURLOPT_CRLF" "ac_cv_have_decl_CURLOPT_CRLF" "
4264 #include \"curl/curl.h\"
4267 if test "x$ac_cv_have_decl_CURLOPT_CRLF" = xyes; then :
4268 ac_have_decl=1
4269 else
4270 ac_have_decl=0
4273 cat >>confdefs.h <<_ACEOF
4274 #define HAVE_DECL_CURLOPT_CRLF $ac_have_decl
4275 _ACEOF
4276 ac_fn_c_check_decl "$LINENO" "CURLOPT_QUOTE" "ac_cv_have_decl_CURLOPT_QUOTE" "
4277 #include \"curl/curl.h\"
4280 if test "x$ac_cv_have_decl_CURLOPT_QUOTE" = xyes; then :
4281 ac_have_decl=1
4282 else
4283 ac_have_decl=0
4286 cat >>confdefs.h <<_ACEOF
4287 #define HAVE_DECL_CURLOPT_QUOTE $ac_have_decl
4288 _ACEOF
4289 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEHEADER" "ac_cv_have_decl_CURLOPT_WRITEHEADER" "
4290 #include \"curl/curl.h\"
4293 if test "x$ac_cv_have_decl_CURLOPT_WRITEHEADER" = xyes; then :
4294 ac_have_decl=1
4295 else
4296 ac_have_decl=0
4299 cat >>confdefs.h <<_ACEOF
4300 #define HAVE_DECL_CURLOPT_WRITEHEADER $ac_have_decl
4301 _ACEOF
4302 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIEFILE" "ac_cv_have_decl_CURLOPT_COOKIEFILE" "
4303 #include \"curl/curl.h\"
4306 if test "x$ac_cv_have_decl_CURLOPT_COOKIEFILE" = xyes; then :
4307 ac_have_decl=1
4308 else
4309 ac_have_decl=0
4312 cat >>confdefs.h <<_ACEOF
4313 #define HAVE_DECL_CURLOPT_COOKIEFILE $ac_have_decl
4314 _ACEOF
4315 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLVERSION" "ac_cv_have_decl_CURLOPT_SSLVERSION" "
4316 #include \"curl/curl.h\"
4319 if test "x$ac_cv_have_decl_CURLOPT_SSLVERSION" = xyes; then :
4320 ac_have_decl=1
4321 else
4322 ac_have_decl=0
4325 cat >>confdefs.h <<_ACEOF
4326 #define HAVE_DECL_CURLOPT_SSLVERSION $ac_have_decl
4327 _ACEOF
4328 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMECONDITION" "ac_cv_have_decl_CURLOPT_TIMECONDITION" "
4329 #include \"curl/curl.h\"
4332 if test "x$ac_cv_have_decl_CURLOPT_TIMECONDITION" = xyes; then :
4333 ac_have_decl=1
4334 else
4335 ac_have_decl=0
4338 cat >>confdefs.h <<_ACEOF
4339 #define HAVE_DECL_CURLOPT_TIMECONDITION $ac_have_decl
4340 _ACEOF
4341 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEVALUE" "ac_cv_have_decl_CURLOPT_TIMEVALUE" "
4342 #include \"curl/curl.h\"
4345 if test "x$ac_cv_have_decl_CURLOPT_TIMEVALUE" = xyes; then :
4346 ac_have_decl=1
4347 else
4348 ac_have_decl=0
4351 cat >>confdefs.h <<_ACEOF
4352 #define HAVE_DECL_CURLOPT_TIMEVALUE $ac_have_decl
4353 _ACEOF
4354 ac_fn_c_check_decl "$LINENO" "CURLOPT_CUSTOMREQUEST" "ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" "
4355 #include \"curl/curl.h\"
4358 if test "x$ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" = xyes; then :
4359 ac_have_decl=1
4360 else
4361 ac_have_decl=0
4364 cat >>confdefs.h <<_ACEOF
4365 #define HAVE_DECL_CURLOPT_CUSTOMREQUEST $ac_have_decl
4366 _ACEOF
4367 ac_fn_c_check_decl "$LINENO" "CURLOPT_STDERR" "ac_cv_have_decl_CURLOPT_STDERR" "
4368 #include \"curl/curl.h\"
4371 if test "x$ac_cv_have_decl_CURLOPT_STDERR" = xyes; then :
4372 ac_have_decl=1
4373 else
4374 ac_have_decl=0
4377 cat >>confdefs.h <<_ACEOF
4378 #define HAVE_DECL_CURLOPT_STDERR $ac_have_decl
4379 _ACEOF
4380 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTQUOTE" "ac_cv_have_decl_CURLOPT_POSTQUOTE" "
4381 #include \"curl/curl.h\"
4384 if test "x$ac_cv_have_decl_CURLOPT_POSTQUOTE" = xyes; then :
4385 ac_have_decl=1
4386 else
4387 ac_have_decl=0
4390 cat >>confdefs.h <<_ACEOF
4391 #define HAVE_DECL_CURLOPT_POSTQUOTE $ac_have_decl
4392 _ACEOF
4393 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEINFO" "ac_cv_have_decl_CURLOPT_WRITEINFO" "
4394 #include \"curl/curl.h\"
4397 if test "x$ac_cv_have_decl_CURLOPT_WRITEINFO" = xyes; then :
4398 ac_have_decl=1
4399 else
4400 ac_have_decl=0
4403 cat >>confdefs.h <<_ACEOF
4404 #define HAVE_DECL_CURLOPT_WRITEINFO $ac_have_decl
4405 _ACEOF
4406 ac_fn_c_check_decl "$LINENO" "CURLOPT_VERBOSE" "ac_cv_have_decl_CURLOPT_VERBOSE" "
4407 #include \"curl/curl.h\"
4410 if test "x$ac_cv_have_decl_CURLOPT_VERBOSE" = xyes; then :
4411 ac_have_decl=1
4412 else
4413 ac_have_decl=0
4416 cat >>confdefs.h <<_ACEOF
4417 #define HAVE_DECL_CURLOPT_VERBOSE $ac_have_decl
4418 _ACEOF
4419 ac_fn_c_check_decl "$LINENO" "CURLOPT_HEADER" "ac_cv_have_decl_CURLOPT_HEADER" "
4420 #include \"curl/curl.h\"
4423 if test "x$ac_cv_have_decl_CURLOPT_HEADER" = xyes; then :
4424 ac_have_decl=1
4425 else
4426 ac_have_decl=0
4429 cat >>confdefs.h <<_ACEOF
4430 #define HAVE_DECL_CURLOPT_HEADER $ac_have_decl
4431 _ACEOF
4432 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOPROGRESS" "ac_cv_have_decl_CURLOPT_NOPROGRESS" "
4433 #include \"curl/curl.h\"
4436 if test "x$ac_cv_have_decl_CURLOPT_NOPROGRESS" = xyes; then :
4437 ac_have_decl=1
4438 else
4439 ac_have_decl=0
4442 cat >>confdefs.h <<_ACEOF
4443 #define HAVE_DECL_CURLOPT_NOPROGRESS $ac_have_decl
4444 _ACEOF
4445 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOBODY" "ac_cv_have_decl_CURLOPT_NOBODY" "
4446 #include \"curl/curl.h\"
4449 if test "x$ac_cv_have_decl_CURLOPT_NOBODY" = xyes; then :
4450 ac_have_decl=1
4451 else
4452 ac_have_decl=0
4455 cat >>confdefs.h <<_ACEOF
4456 #define HAVE_DECL_CURLOPT_NOBODY $ac_have_decl
4457 _ACEOF
4458 ac_fn_c_check_decl "$LINENO" "CURLOPT_FAILONERROR" "ac_cv_have_decl_CURLOPT_FAILONERROR" "
4459 #include \"curl/curl.h\"
4462 if test "x$ac_cv_have_decl_CURLOPT_FAILONERROR" = xyes; then :
4463 ac_have_decl=1
4464 else
4465 ac_have_decl=0
4468 cat >>confdefs.h <<_ACEOF
4469 #define HAVE_DECL_CURLOPT_FAILONERROR $ac_have_decl
4470 _ACEOF
4471 ac_fn_c_check_decl "$LINENO" "CURLOPT_UPLOAD" "ac_cv_have_decl_CURLOPT_UPLOAD" "
4472 #include \"curl/curl.h\"
4475 if test "x$ac_cv_have_decl_CURLOPT_UPLOAD" = xyes; then :
4476 ac_have_decl=1
4477 else
4478 ac_have_decl=0
4481 cat >>confdefs.h <<_ACEOF
4482 #define HAVE_DECL_CURLOPT_UPLOAD $ac_have_decl
4483 _ACEOF
4484 ac_fn_c_check_decl "$LINENO" "CURLOPT_POST" "ac_cv_have_decl_CURLOPT_POST" "
4485 #include \"curl/curl.h\"
4488 if test "x$ac_cv_have_decl_CURLOPT_POST" = xyes; then :
4489 ac_have_decl=1
4490 else
4491 ac_have_decl=0
4494 cat >>confdefs.h <<_ACEOF
4495 #define HAVE_DECL_CURLOPT_POST $ac_have_decl
4496 _ACEOF
4497 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPLISTONLY" "ac_cv_have_decl_CURLOPT_FTPLISTONLY" "
4498 #include \"curl/curl.h\"
4501 if test "x$ac_cv_have_decl_CURLOPT_FTPLISTONLY" = xyes; then :
4502 ac_have_decl=1
4503 else
4504 ac_have_decl=0
4507 cat >>confdefs.h <<_ACEOF
4508 #define HAVE_DECL_CURLOPT_FTPLISTONLY $ac_have_decl
4509 _ACEOF
4510 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPAPPEND" "ac_cv_have_decl_CURLOPT_FTPAPPEND" "
4511 #include \"curl/curl.h\"
4514 if test "x$ac_cv_have_decl_CURLOPT_FTPAPPEND" = xyes; then :
4515 ac_have_decl=1
4516 else
4517 ac_have_decl=0
4520 cat >>confdefs.h <<_ACEOF
4521 #define HAVE_DECL_CURLOPT_FTPAPPEND $ac_have_decl
4522 _ACEOF
4523 ac_fn_c_check_decl "$LINENO" "CURLOPT_NETRC" "ac_cv_have_decl_CURLOPT_NETRC" "
4524 #include \"curl/curl.h\"
4527 if test "x$ac_cv_have_decl_CURLOPT_NETRC" = xyes; then :
4528 ac_have_decl=1
4529 else
4530 ac_have_decl=0
4533 cat >>confdefs.h <<_ACEOF
4534 #define HAVE_DECL_CURLOPT_NETRC $ac_have_decl
4535 _ACEOF
4536 ac_fn_c_check_decl "$LINENO" "CURLOPT_FOLLOWLOCATION" "ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" "
4537 #include \"curl/curl.h\"
4540 if test "x$ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" = xyes; then :
4541 ac_have_decl=1
4542 else
4543 ac_have_decl=0
4546 cat >>confdefs.h <<_ACEOF
4547 #define HAVE_DECL_CURLOPT_FOLLOWLOCATION $ac_have_decl
4548 _ACEOF
4549 ac_fn_c_check_decl "$LINENO" "CURLOPT_TRANSFERTEXT" "ac_cv_have_decl_CURLOPT_TRANSFERTEXT" "
4550 #include \"curl/curl.h\"
4553 if test "x$ac_cv_have_decl_CURLOPT_TRANSFERTEXT" = xyes; then :
4554 ac_have_decl=1
4555 else
4556 ac_have_decl=0
4559 cat >>confdefs.h <<_ACEOF
4560 #define HAVE_DECL_CURLOPT_TRANSFERTEXT $ac_have_decl
4561 _ACEOF
4562 ac_fn_c_check_decl "$LINENO" "CURLOPT_PUT" "ac_cv_have_decl_CURLOPT_PUT" "
4563 #include \"curl/curl.h\"
4566 if test "x$ac_cv_have_decl_CURLOPT_PUT" = xyes; then :
4567 ac_have_decl=1
4568 else
4569 ac_have_decl=0
4572 cat >>confdefs.h <<_ACEOF
4573 #define HAVE_DECL_CURLOPT_PUT $ac_have_decl
4574 _ACEOF
4575 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROGRESSFUNCTION" "ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" "
4576 #include \"curl/curl.h\"
4579 if test "x$ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" = xyes; then :
4580 ac_have_decl=1
4581 else
4582 ac_have_decl=0
4585 cat >>confdefs.h <<_ACEOF
4586 #define HAVE_DECL_CURLOPT_PROGRESSFUNCTION $ac_have_decl
4587 _ACEOF
4588 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROGRESSDATA" "ac_cv_have_decl_CURLOPT_PROGRESSDATA" "
4589 #include \"curl/curl.h\"
4592 if test "x$ac_cv_have_decl_CURLOPT_PROGRESSDATA" = xyes; then :
4593 ac_have_decl=1
4594 else
4595 ac_have_decl=0
4598 cat >>confdefs.h <<_ACEOF
4599 #define HAVE_DECL_CURLOPT_PROGRESSDATA $ac_have_decl
4600 _ACEOF
4601 ac_fn_c_check_decl "$LINENO" "CURLOPT_AUTOREFERER" "ac_cv_have_decl_CURLOPT_AUTOREFERER" "
4602 #include \"curl/curl.h\"
4605 if test "x$ac_cv_have_decl_CURLOPT_AUTOREFERER" = xyes; then :
4606 ac_have_decl=1
4607 else
4608 ac_have_decl=0
4611 cat >>confdefs.h <<_ACEOF
4612 #define HAVE_DECL_CURLOPT_AUTOREFERER $ac_have_decl
4613 _ACEOF
4614 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYPORT" "ac_cv_have_decl_CURLOPT_PROXYPORT" "
4615 #include \"curl/curl.h\"
4618 if test "x$ac_cv_have_decl_CURLOPT_PROXYPORT" = xyes; then :
4619 ac_have_decl=1
4620 else
4621 ac_have_decl=0
4624 cat >>confdefs.h <<_ACEOF
4625 #define HAVE_DECL_CURLOPT_PROXYPORT $ac_have_decl
4626 _ACEOF
4627 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDSIZE" "ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" "
4628 #include \"curl/curl.h\"
4631 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" = xyes; then :
4632 ac_have_decl=1
4633 else
4634 ac_have_decl=0
4637 cat >>confdefs.h <<_ACEOF
4638 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE $ac_have_decl
4639 _ACEOF
4640 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPPROXYTUNNEL" "ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" "
4641 #include \"curl/curl.h\"
4644 if test "x$ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" = xyes; then :
4645 ac_have_decl=1
4646 else
4647 ac_have_decl=0
4650 cat >>confdefs.h <<_ACEOF
4651 #define HAVE_DECL_CURLOPT_HTTPPROXYTUNNEL $ac_have_decl
4652 _ACEOF
4653 ac_fn_c_check_decl "$LINENO" "CURLOPT_INTERFACE" "ac_cv_have_decl_CURLOPT_INTERFACE" "
4654 #include \"curl/curl.h\"
4657 if test "x$ac_cv_have_decl_CURLOPT_INTERFACE" = xyes; then :
4658 ac_have_decl=1
4659 else
4660 ac_have_decl=0
4663 cat >>confdefs.h <<_ACEOF
4664 #define HAVE_DECL_CURLOPT_INTERFACE $ac_have_decl
4665 _ACEOF
4666 ac_fn_c_check_decl "$LINENO" "CURLOPT_KRB4LEVEL" "ac_cv_have_decl_CURLOPT_KRB4LEVEL" "
4667 #include \"curl/curl.h\"
4670 if test "x$ac_cv_have_decl_CURLOPT_KRB4LEVEL" = xyes; then :
4671 ac_have_decl=1
4672 else
4673 ac_have_decl=0
4676 cat >>confdefs.h <<_ACEOF
4677 #define HAVE_DECL_CURLOPT_KRB4LEVEL $ac_have_decl
4678 _ACEOF
4679 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_VERIFYPEER" "ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" "
4680 #include \"curl/curl.h\"
4683 if test "x$ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" = xyes; then :
4684 ac_have_decl=1
4685 else
4686 ac_have_decl=0
4689 cat >>confdefs.h <<_ACEOF
4690 #define HAVE_DECL_CURLOPT_SSL_VERIFYPEER $ac_have_decl
4691 _ACEOF
4692 ac_fn_c_check_decl "$LINENO" "CURLOPT_CAINFO" "ac_cv_have_decl_CURLOPT_CAINFO" "
4693 #include \"curl/curl.h\"
4696 if test "x$ac_cv_have_decl_CURLOPT_CAINFO" = xyes; then :
4697 ac_have_decl=1
4698 else
4699 ac_have_decl=0
4702 cat >>confdefs.h <<_ACEOF
4703 #define HAVE_DECL_CURLOPT_CAINFO $ac_have_decl
4704 _ACEOF
4705 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXREDIRS" "ac_cv_have_decl_CURLOPT_MAXREDIRS" "
4706 #include \"curl/curl.h\"
4709 if test "x$ac_cv_have_decl_CURLOPT_MAXREDIRS" = xyes; then :
4710 ac_have_decl=1
4711 else
4712 ac_have_decl=0
4715 cat >>confdefs.h <<_ACEOF
4716 #define HAVE_DECL_CURLOPT_MAXREDIRS $ac_have_decl
4717 _ACEOF
4718 ac_fn_c_check_decl "$LINENO" "CURLOPT_FILETIME" "ac_cv_have_decl_CURLOPT_FILETIME" "
4719 #include \"curl/curl.h\"
4722 if test "x$ac_cv_have_decl_CURLOPT_FILETIME" = xyes; then :
4723 ac_have_decl=1
4724 else
4725 ac_have_decl=0
4728 cat >>confdefs.h <<_ACEOF
4729 #define HAVE_DECL_CURLOPT_FILETIME $ac_have_decl
4730 _ACEOF
4731 ac_fn_c_check_decl "$LINENO" "CURLOPT_TELNETOPTIONS" "ac_cv_have_decl_CURLOPT_TELNETOPTIONS" "
4732 #include \"curl/curl.h\"
4735 if test "x$ac_cv_have_decl_CURLOPT_TELNETOPTIONS" = xyes; then :
4736 ac_have_decl=1
4737 else
4738 ac_have_decl=0
4741 cat >>confdefs.h <<_ACEOF
4742 #define HAVE_DECL_CURLOPT_TELNETOPTIONS $ac_have_decl
4743 _ACEOF
4744 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXCONNECTS" "ac_cv_have_decl_CURLOPT_MAXCONNECTS" "
4745 #include \"curl/curl.h\"
4748 if test "x$ac_cv_have_decl_CURLOPT_MAXCONNECTS" = xyes; then :
4749 ac_have_decl=1
4750 else
4751 ac_have_decl=0
4754 cat >>confdefs.h <<_ACEOF
4755 #define HAVE_DECL_CURLOPT_MAXCONNECTS $ac_have_decl
4756 _ACEOF
4757 ac_fn_c_check_decl "$LINENO" "CURLOPT_CLOSEPOLICY" "ac_cv_have_decl_CURLOPT_CLOSEPOLICY" "
4758 #include \"curl/curl.h\"
4761 if test "x$ac_cv_have_decl_CURLOPT_CLOSEPOLICY" = xyes; then :
4762 ac_have_decl=1
4763 else
4764 ac_have_decl=0
4767 cat >>confdefs.h <<_ACEOF
4768 #define HAVE_DECL_CURLOPT_CLOSEPOLICY $ac_have_decl
4769 _ACEOF
4770 ac_fn_c_check_decl "$LINENO" "CURLOPT_FRESH_CONNECT" "ac_cv_have_decl_CURLOPT_FRESH_CONNECT" "
4771 #include \"curl/curl.h\"
4774 if test "x$ac_cv_have_decl_CURLOPT_FRESH_CONNECT" = xyes; then :
4775 ac_have_decl=1
4776 else
4777 ac_have_decl=0
4780 cat >>confdefs.h <<_ACEOF
4781 #define HAVE_DECL_CURLOPT_FRESH_CONNECT $ac_have_decl
4782 _ACEOF
4783 ac_fn_c_check_decl "$LINENO" "CURLOPT_FORBID_REUSE" "ac_cv_have_decl_CURLOPT_FORBID_REUSE" "
4784 #include \"curl/curl.h\"
4787 if test "x$ac_cv_have_decl_CURLOPT_FORBID_REUSE" = xyes; then :
4788 ac_have_decl=1
4789 else
4790 ac_have_decl=0
4793 cat >>confdefs.h <<_ACEOF
4794 #define HAVE_DECL_CURLOPT_FORBID_REUSE $ac_have_decl
4795 _ACEOF
4796 ac_fn_c_check_decl "$LINENO" "CURLOPT_RANDOM_FILE" "ac_cv_have_decl_CURLOPT_RANDOM_FILE" "
4797 #include \"curl/curl.h\"
4800 if test "x$ac_cv_have_decl_CURLOPT_RANDOM_FILE" = xyes; then :
4801 ac_have_decl=1
4802 else
4803 ac_have_decl=0
4806 cat >>confdefs.h <<_ACEOF
4807 #define HAVE_DECL_CURLOPT_RANDOM_FILE $ac_have_decl
4808 _ACEOF
4809 ac_fn_c_check_decl "$LINENO" "CURLOPT_EGDSOCKET" "ac_cv_have_decl_CURLOPT_EGDSOCKET" "
4810 #include \"curl/curl.h\"
4813 if test "x$ac_cv_have_decl_CURLOPT_EGDSOCKET" = xyes; then :
4814 ac_have_decl=1
4815 else
4816 ac_have_decl=0
4819 cat >>confdefs.h <<_ACEOF
4820 #define HAVE_DECL_CURLOPT_EGDSOCKET $ac_have_decl
4821 _ACEOF
4822 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECTTIMEOUT" "ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" "
4823 #include \"curl/curl.h\"
4826 if test "x$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" = xyes; then :
4827 ac_have_decl=1
4828 else
4829 ac_have_decl=0
4832 cat >>confdefs.h <<_ACEOF
4833 #define HAVE_DECL_CURLOPT_CONNECTTIMEOUT $ac_have_decl
4834 _ACEOF
4835 ac_fn_c_check_decl "$LINENO" "CURLOPT_HEADERFUNCTION" "ac_cv_have_decl_CURLOPT_HEADERFUNCTION" "
4836 #include \"curl/curl.h\"
4839 if test "x$ac_cv_have_decl_CURLOPT_HEADERFUNCTION" = xyes; then :
4840 ac_have_decl=1
4841 else
4842 ac_have_decl=0
4845 cat >>confdefs.h <<_ACEOF
4846 #define HAVE_DECL_CURLOPT_HEADERFUNCTION $ac_have_decl
4847 _ACEOF
4848 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPGET" "ac_cv_have_decl_CURLOPT_HTTPGET" "
4849 #include \"curl/curl.h\"
4852 if test "x$ac_cv_have_decl_CURLOPT_HTTPGET" = xyes; then :
4853 ac_have_decl=1
4854 else
4855 ac_have_decl=0
4858 cat >>confdefs.h <<_ACEOF
4859 #define HAVE_DECL_CURLOPT_HTTPGET $ac_have_decl
4860 _ACEOF
4861 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_VERIFYHOST" "ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" "
4862 #include \"curl/curl.h\"
4865 if test "x$ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" = xyes; then :
4866 ac_have_decl=1
4867 else
4868 ac_have_decl=0
4871 cat >>confdefs.h <<_ACEOF
4872 #define HAVE_DECL_CURLOPT_SSL_VERIFYHOST $ac_have_decl
4873 _ACEOF
4874 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIEJAR" "ac_cv_have_decl_CURLOPT_COOKIEJAR" "
4875 #include \"curl/curl.h\"
4878 if test "x$ac_cv_have_decl_CURLOPT_COOKIEJAR" = xyes; then :
4879 ac_have_decl=1
4880 else
4881 ac_have_decl=0
4884 cat >>confdefs.h <<_ACEOF
4885 #define HAVE_DECL_CURLOPT_COOKIEJAR $ac_have_decl
4886 _ACEOF
4887 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_CIPHER_LIST" "ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" "
4888 #include \"curl/curl.h\"
4891 if test "x$ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" = xyes; then :
4892 ac_have_decl=1
4893 else
4894 ac_have_decl=0
4897 cat >>confdefs.h <<_ACEOF
4898 #define HAVE_DECL_CURLOPT_SSL_CIPHER_LIST $ac_have_decl
4899 _ACEOF
4900 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_VERSION" "ac_cv_have_decl_CURLOPT_HTTP_VERSION" "
4901 #include \"curl/curl.h\"
4904 if test "x$ac_cv_have_decl_CURLOPT_HTTP_VERSION" = xyes; then :
4905 ac_have_decl=1
4906 else
4907 ac_have_decl=0
4910 cat >>confdefs.h <<_ACEOF
4911 #define HAVE_DECL_CURLOPT_HTTP_VERSION $ac_have_decl
4912 _ACEOF
4913 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_USE_EPSV" "ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" "
4914 #include \"curl/curl.h\"
4917 if test "x$ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" = xyes; then :
4918 ac_have_decl=1
4919 else
4920 ac_have_decl=0
4923 cat >>confdefs.h <<_ACEOF
4924 #define HAVE_DECL_CURLOPT_FTP_USE_EPSV $ac_have_decl
4925 _ACEOF
4926 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERTTYPE" "ac_cv_have_decl_CURLOPT_SSLCERTTYPE" "
4927 #include \"curl/curl.h\"
4930 if test "x$ac_cv_have_decl_CURLOPT_SSLCERTTYPE" = xyes; then :
4931 ac_have_decl=1
4932 else
4933 ac_have_decl=0
4936 cat >>confdefs.h <<_ACEOF
4937 #define HAVE_DECL_CURLOPT_SSLCERTTYPE $ac_have_decl
4938 _ACEOF
4939 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEY" "ac_cv_have_decl_CURLOPT_SSLKEY" "
4940 #include \"curl/curl.h\"
4943 if test "x$ac_cv_have_decl_CURLOPT_SSLKEY" = xyes; then :
4944 ac_have_decl=1
4945 else
4946 ac_have_decl=0
4949 cat >>confdefs.h <<_ACEOF
4950 #define HAVE_DECL_CURLOPT_SSLKEY $ac_have_decl
4951 _ACEOF
4952 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEYTYPE" "ac_cv_have_decl_CURLOPT_SSLKEYTYPE" "
4953 #include \"curl/curl.h\"
4956 if test "x$ac_cv_have_decl_CURLOPT_SSLKEYTYPE" = xyes; then :
4957 ac_have_decl=1
4958 else
4959 ac_have_decl=0
4962 cat >>confdefs.h <<_ACEOF
4963 #define HAVE_DECL_CURLOPT_SSLKEYTYPE $ac_have_decl
4964 _ACEOF
4965 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLENGINE" "ac_cv_have_decl_CURLOPT_SSLENGINE" "
4966 #include \"curl/curl.h\"
4969 if test "x$ac_cv_have_decl_CURLOPT_SSLENGINE" = xyes; then :
4970 ac_have_decl=1
4971 else
4972 ac_have_decl=0
4975 cat >>confdefs.h <<_ACEOF
4976 #define HAVE_DECL_CURLOPT_SSLENGINE $ac_have_decl
4977 _ACEOF
4978 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLENGINE_DEFAULT" "ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" "
4979 #include \"curl/curl.h\"
4982 if test "x$ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" = xyes; then :
4983 ac_have_decl=1
4984 else
4985 ac_have_decl=0
4988 cat >>confdefs.h <<_ACEOF
4989 #define HAVE_DECL_CURLOPT_SSLENGINE_DEFAULT $ac_have_decl
4990 _ACEOF
4991 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_USE_GLOBAL_CACHE" "ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" "
4992 #include \"curl/curl.h\"
4995 if test "x$ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" = xyes; then :
4996 ac_have_decl=1
4997 else
4998 ac_have_decl=0
5001 cat >>confdefs.h <<_ACEOF
5002 #define HAVE_DECL_CURLOPT_DNS_USE_GLOBAL_CACHE $ac_have_decl
5003 _ACEOF
5004 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_CACHE_TIMEOUT" "ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" "
5005 #include \"curl/curl.h\"
5008 if test "x$ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" = xyes; then :
5009 ac_have_decl=1
5010 else
5011 ac_have_decl=0
5014 cat >>confdefs.h <<_ACEOF
5015 #define HAVE_DECL_CURLOPT_DNS_CACHE_TIMEOUT $ac_have_decl
5016 _ACEOF
5017 ac_fn_c_check_decl "$LINENO" "CURLOPT_PREQUOTE" "ac_cv_have_decl_CURLOPT_PREQUOTE" "
5018 #include \"curl/curl.h\"
5021 if test "x$ac_cv_have_decl_CURLOPT_PREQUOTE" = xyes; then :
5022 ac_have_decl=1
5023 else
5024 ac_have_decl=0
5027 cat >>confdefs.h <<_ACEOF
5028 #define HAVE_DECL_CURLOPT_PREQUOTE $ac_have_decl
5029 _ACEOF
5030 ac_fn_c_check_decl "$LINENO" "CURLOPT_DEBUGFUNCTION" "ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" "
5031 #include \"curl/curl.h\"
5034 if test "x$ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" = xyes; then :
5035 ac_have_decl=1
5036 else
5037 ac_have_decl=0
5040 cat >>confdefs.h <<_ACEOF
5041 #define HAVE_DECL_CURLOPT_DEBUGFUNCTION $ac_have_decl
5042 _ACEOF
5043 ac_fn_c_check_decl "$LINENO" "CURLOPT_DEBUGDATA" "ac_cv_have_decl_CURLOPT_DEBUGDATA" "
5044 #include \"curl/curl.h\"
5047 if test "x$ac_cv_have_decl_CURLOPT_DEBUGDATA" = xyes; then :
5048 ac_have_decl=1
5049 else
5050 ac_have_decl=0
5053 cat >>confdefs.h <<_ACEOF
5054 #define HAVE_DECL_CURLOPT_DEBUGDATA $ac_have_decl
5055 _ACEOF
5056 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIESESSION" "ac_cv_have_decl_CURLOPT_COOKIESESSION" "
5057 #include \"curl/curl.h\"
5060 if test "x$ac_cv_have_decl_CURLOPT_COOKIESESSION" = xyes; then :
5061 ac_have_decl=1
5062 else
5063 ac_have_decl=0
5066 cat >>confdefs.h <<_ACEOF
5067 #define HAVE_DECL_CURLOPT_COOKIESESSION $ac_have_decl
5068 _ACEOF
5069 ac_fn_c_check_decl "$LINENO" "CURLOPT_CAPATH" "ac_cv_have_decl_CURLOPT_CAPATH" "
5070 #include \"curl/curl.h\"
5073 if test "x$ac_cv_have_decl_CURLOPT_CAPATH" = xyes; then :
5074 ac_have_decl=1
5075 else
5076 ac_have_decl=0
5079 cat >>confdefs.h <<_ACEOF
5080 #define HAVE_DECL_CURLOPT_CAPATH $ac_have_decl
5081 _ACEOF
5082 ac_fn_c_check_decl "$LINENO" "CURLOPT_BUFFERSIZE" "ac_cv_have_decl_CURLOPT_BUFFERSIZE" "
5083 #include \"curl/curl.h\"
5086 if test "x$ac_cv_have_decl_CURLOPT_BUFFERSIZE" = xyes; then :
5087 ac_have_decl=1
5088 else
5089 ac_have_decl=0
5092 cat >>confdefs.h <<_ACEOF
5093 #define HAVE_DECL_CURLOPT_BUFFERSIZE $ac_have_decl
5094 _ACEOF
5095 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOSIGNAL" "ac_cv_have_decl_CURLOPT_NOSIGNAL" "
5096 #include \"curl/curl.h\"
5099 if test "x$ac_cv_have_decl_CURLOPT_NOSIGNAL" = xyes; then :
5100 ac_have_decl=1
5101 else
5102 ac_have_decl=0
5105 cat >>confdefs.h <<_ACEOF
5106 #define HAVE_DECL_CURLOPT_NOSIGNAL $ac_have_decl
5107 _ACEOF
5108 ac_fn_c_check_decl "$LINENO" "CURLOPT_SHARE" "ac_cv_have_decl_CURLOPT_SHARE" "
5109 #include \"curl/curl.h\"
5112 if test "x$ac_cv_have_decl_CURLOPT_SHARE" = xyes; then :
5113 ac_have_decl=1
5114 else
5115 ac_have_decl=0
5118 cat >>confdefs.h <<_ACEOF
5119 #define HAVE_DECL_CURLOPT_SHARE $ac_have_decl
5120 _ACEOF
5121 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYTYPE" "ac_cv_have_decl_CURLOPT_PROXYTYPE" "
5122 #include \"curl/curl.h\"
5125 if test "x$ac_cv_have_decl_CURLOPT_PROXYTYPE" = xyes; then :
5126 ac_have_decl=1
5127 else
5128 ac_have_decl=0
5131 cat >>confdefs.h <<_ACEOF
5132 #define HAVE_DECL_CURLOPT_PROXYTYPE $ac_have_decl
5133 _ACEOF
5134 ac_fn_c_check_decl "$LINENO" "CURLOPT_ENCODING" "ac_cv_have_decl_CURLOPT_ENCODING" "
5135 #include \"curl/curl.h\"
5138 if test "x$ac_cv_have_decl_CURLOPT_ENCODING" = xyes; then :
5139 ac_have_decl=1
5140 else
5141 ac_have_decl=0
5144 cat >>confdefs.h <<_ACEOF
5145 #define HAVE_DECL_CURLOPT_ENCODING $ac_have_decl
5146 _ACEOF
5147 ac_fn_c_check_decl "$LINENO" "CURLOPT_PRIVATE" "ac_cv_have_decl_CURLOPT_PRIVATE" "
5148 #include \"curl/curl.h\"
5151 if test "x$ac_cv_have_decl_CURLOPT_PRIVATE" = xyes; then :
5152 ac_have_decl=1
5153 else
5154 ac_have_decl=0
5157 cat >>confdefs.h <<_ACEOF
5158 #define HAVE_DECL_CURLOPT_PRIVATE $ac_have_decl
5159 _ACEOF
5160 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP200ALIASES" "ac_cv_have_decl_CURLOPT_HTTP200ALIASES" "
5161 #include \"curl/curl.h\"
5164 if test "x$ac_cv_have_decl_CURLOPT_HTTP200ALIASES" = xyes; then :
5165 ac_have_decl=1
5166 else
5167 ac_have_decl=0
5170 cat >>confdefs.h <<_ACEOF
5171 #define HAVE_DECL_CURLOPT_HTTP200ALIASES $ac_have_decl
5172 _ACEOF
5173 ac_fn_c_check_decl "$LINENO" "CURLOPT_UNRESTRICTED_AUTH" "ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" "
5174 #include \"curl/curl.h\"
5177 if test "x$ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" = xyes; then :
5178 ac_have_decl=1
5179 else
5180 ac_have_decl=0
5183 cat >>confdefs.h <<_ACEOF
5184 #define HAVE_DECL_CURLOPT_UNRESTRICTED_AUTH $ac_have_decl
5185 _ACEOF
5186 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_USE_EPRT" "ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" "
5187 #include \"curl/curl.h\"
5190 if test "x$ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" = xyes; then :
5191 ac_have_decl=1
5192 else
5193 ac_have_decl=0
5196 cat >>confdefs.h <<_ACEOF
5197 #define HAVE_DECL_CURLOPT_FTP_USE_EPRT $ac_have_decl
5198 _ACEOF
5199 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPAUTH" "ac_cv_have_decl_CURLOPT_HTTPAUTH" "
5200 #include \"curl/curl.h\"
5203 if test "x$ac_cv_have_decl_CURLOPT_HTTPAUTH" = xyes; then :
5204 ac_have_decl=1
5205 else
5206 ac_have_decl=0
5209 cat >>confdefs.h <<_ACEOF
5210 #define HAVE_DECL_CURLOPT_HTTPAUTH $ac_have_decl
5211 _ACEOF
5212 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_CREATE_MISSING_DIRS" "ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" "
5213 #include \"curl/curl.h\"
5216 if test "x$ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" = xyes; then :
5217 ac_have_decl=1
5218 else
5219 ac_have_decl=0
5222 cat >>confdefs.h <<_ACEOF
5223 #define HAVE_DECL_CURLOPT_FTP_CREATE_MISSING_DIRS $ac_have_decl
5224 _ACEOF
5225 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYAUTH" "ac_cv_have_decl_CURLOPT_PROXYAUTH" "
5226 #include \"curl/curl.h\"
5229 if test "x$ac_cv_have_decl_CURLOPT_PROXYAUTH" = xyes; then :
5230 ac_have_decl=1
5231 else
5232 ac_have_decl=0
5235 cat >>confdefs.h <<_ACEOF
5236 #define HAVE_DECL_CURLOPT_PROXYAUTH $ac_have_decl
5237 _ACEOF
5238 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_RESPONSE_TIMEOUT" "ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" "
5239 #include \"curl/curl.h\"
5242 if test "x$ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" = xyes; then :
5243 ac_have_decl=1
5244 else
5245 ac_have_decl=0
5248 cat >>confdefs.h <<_ACEOF
5249 #define HAVE_DECL_CURLOPT_FTP_RESPONSE_TIMEOUT $ac_have_decl
5250 _ACEOF
5251 ac_fn_c_check_decl "$LINENO" "CURLOPT_IPRESOLVE" "ac_cv_have_decl_CURLOPT_IPRESOLVE" "
5252 #include \"curl/curl.h\"
5255 if test "x$ac_cv_have_decl_CURLOPT_IPRESOLVE" = xyes; then :
5256 ac_have_decl=1
5257 else
5258 ac_have_decl=0
5261 cat >>confdefs.h <<_ACEOF
5262 #define HAVE_DECL_CURLOPT_IPRESOLVE $ac_have_decl
5263 _ACEOF
5264 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXFILESIZE" "ac_cv_have_decl_CURLOPT_MAXFILESIZE" "
5265 #include \"curl/curl.h\"
5268 if test "x$ac_cv_have_decl_CURLOPT_MAXFILESIZE" = xyes; then :
5269 ac_have_decl=1
5270 else
5271 ac_have_decl=0
5274 cat >>confdefs.h <<_ACEOF
5275 #define HAVE_DECL_CURLOPT_MAXFILESIZE $ac_have_decl
5276 _ACEOF
5277 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILESIZE_LARGE" "ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" "
5278 #include \"curl/curl.h\"
5281 if test "x$ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" = xyes; then :
5282 ac_have_decl=1
5283 else
5284 ac_have_decl=0
5287 cat >>confdefs.h <<_ACEOF
5288 #define HAVE_DECL_CURLOPT_INFILESIZE_LARGE $ac_have_decl
5289 _ACEOF
5290 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESUME_FROM_LARGE" "ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE" "
5291 #include \"curl/curl.h\"
5294 if test "x$ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE" = xyes; then :
5295 ac_have_decl=1
5296 else
5297 ac_have_decl=0
5300 cat >>confdefs.h <<_ACEOF
5301 #define HAVE_DECL_CURLOPT_RESUME_FROM_LARGE $ac_have_decl
5302 _ACEOF
5303 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXFILESIZE_LARGE" "ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE" "
5304 #include \"curl/curl.h\"
5307 if test "x$ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE" = xyes; then :
5308 ac_have_decl=1
5309 else
5310 ac_have_decl=0
5313 cat >>confdefs.h <<_ACEOF
5314 #define HAVE_DECL_CURLOPT_MAXFILESIZE_LARGE $ac_have_decl
5315 _ACEOF
5316 ac_fn_c_check_decl "$LINENO" "CURLOPT_NETRC_FILE" "ac_cv_have_decl_CURLOPT_NETRC_FILE" "
5317 #include \"curl/curl.h\"
5320 if test "x$ac_cv_have_decl_CURLOPT_NETRC_FILE" = xyes; then :
5321 ac_have_decl=1
5322 else
5323 ac_have_decl=0
5326 cat >>confdefs.h <<_ACEOF
5327 #define HAVE_DECL_CURLOPT_NETRC_FILE $ac_have_decl
5328 _ACEOF
5329 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SSL" "ac_cv_have_decl_CURLOPT_FTP_SSL" "
5330 #include \"curl/curl.h\"
5333 if test "x$ac_cv_have_decl_CURLOPT_FTP_SSL" = xyes; then :
5334 ac_have_decl=1
5335 else
5336 ac_have_decl=0
5339 cat >>confdefs.h <<_ACEOF
5340 #define HAVE_DECL_CURLOPT_FTP_SSL $ac_have_decl
5341 _ACEOF
5342 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDSIZE_LARGE" "ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" "
5343 #include \"curl/curl.h\"
5346 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" = xyes; then :
5347 ac_have_decl=1
5348 else
5349 ac_have_decl=0
5352 cat >>confdefs.h <<_ACEOF
5353 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE_LARGE $ac_have_decl
5354 _ACEOF
5355 ac_fn_c_check_decl "$LINENO" "CURLOPT_TCP_NODELAY" "ac_cv_have_decl_CURLOPT_TCP_NODELAY" "
5356 #include \"curl/curl.h\"
5359 if test "x$ac_cv_have_decl_CURLOPT_TCP_NODELAY" = xyes; then :
5360 ac_have_decl=1
5361 else
5362 ac_have_decl=0
5365 cat >>confdefs.h <<_ACEOF
5366 #define HAVE_DECL_CURLOPT_TCP_NODELAY $ac_have_decl
5367 _ACEOF
5368 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPSSLAUTH" "ac_cv_have_decl_CURLOPT_FTPSSLAUTH" "
5369 #include \"curl/curl.h\"
5372 if test "x$ac_cv_have_decl_CURLOPT_FTPSSLAUTH" = xyes; then :
5373 ac_have_decl=1
5374 else
5375 ac_have_decl=0
5378 cat >>confdefs.h <<_ACEOF
5379 #define HAVE_DECL_CURLOPT_FTPSSLAUTH $ac_have_decl
5380 _ACEOF
5381 ac_fn_c_check_decl "$LINENO" "CURLOPT_IOCTLFUNCTION" "ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" "
5382 #include \"curl/curl.h\"
5385 if test "x$ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" = xyes; then :
5386 ac_have_decl=1
5387 else
5388 ac_have_decl=0
5391 cat >>confdefs.h <<_ACEOF
5392 #define HAVE_DECL_CURLOPT_IOCTLFUNCTION $ac_have_decl
5393 _ACEOF
5394 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_ACCOUNT" "ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" "
5395 #include \"curl/curl.h\"
5398 if test "x$ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" = xyes; then :
5399 ac_have_decl=1
5400 else
5401 ac_have_decl=0
5404 cat >>confdefs.h <<_ACEOF
5405 #define HAVE_DECL_CURLOPT_FTP_ACCOUNT $ac_have_decl
5406 _ACEOF
5407 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIELIST" "ac_cv_have_decl_CURLOPT_COOKIELIST" "
5408 #include \"curl/curl.h\"
5411 if test "x$ac_cv_have_decl_CURLOPT_COOKIELIST" = xyes; then :
5412 ac_have_decl=1
5413 else
5414 ac_have_decl=0
5417 cat >>confdefs.h <<_ACEOF
5418 #define HAVE_DECL_CURLOPT_COOKIELIST $ac_have_decl
5419 _ACEOF
5420 ac_fn_c_check_decl "$LINENO" "CURLOPT_IGNORE_CONTENT_LENGTH" "ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" "
5421 #include \"curl/curl.h\"
5424 if test "x$ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" = xyes; then :
5425 ac_have_decl=1
5426 else
5427 ac_have_decl=0
5430 cat >>confdefs.h <<_ACEOF
5431 #define HAVE_DECL_CURLOPT_IGNORE_CONTENT_LENGTH $ac_have_decl
5432 _ACEOF
5433 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SKIP_PASV_IP" "ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" "
5434 #include \"curl/curl.h\"
5437 if test "x$ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" = xyes; then :
5438 ac_have_decl=1
5439 else
5440 ac_have_decl=0
5443 cat >>confdefs.h <<_ACEOF
5444 #define HAVE_DECL_CURLOPT_FTP_SKIP_PASV_IP $ac_have_decl
5445 _ACEOF
5446 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_FILEMETHOD" "ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" "
5447 #include \"curl/curl.h\"
5450 if test "x$ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" = xyes; then :
5451 ac_have_decl=1
5452 else
5453 ac_have_decl=0
5456 cat >>confdefs.h <<_ACEOF
5457 #define HAVE_DECL_CURLOPT_FTP_FILEMETHOD $ac_have_decl
5458 _ACEOF
5459 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOCALPORT" "ac_cv_have_decl_CURLOPT_LOCALPORT" "
5460 #include \"curl/curl.h\"
5463 if test "x$ac_cv_have_decl_CURLOPT_LOCALPORT" = xyes; then :
5464 ac_have_decl=1
5465 else
5466 ac_have_decl=0
5469 cat >>confdefs.h <<_ACEOF
5470 #define HAVE_DECL_CURLOPT_LOCALPORT $ac_have_decl
5471 _ACEOF
5472 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOCALPORTRANGE" "ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" "
5473 #include \"curl/curl.h\"
5476 if test "x$ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" = xyes; then :
5477 ac_have_decl=1
5478 else
5479 ac_have_decl=0
5482 cat >>confdefs.h <<_ACEOF
5483 #define HAVE_DECL_CURLOPT_LOCALPORTRANGE $ac_have_decl
5484 _ACEOF
5485 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECT_ONLY" "ac_cv_have_decl_CURLOPT_CONNECT_ONLY" "
5486 #include \"curl/curl.h\"
5489 if test "x$ac_cv_have_decl_CURLOPT_CONNECT_ONLY" = xyes; then :
5490 ac_have_decl=1
5491 else
5492 ac_have_decl=0
5495 cat >>confdefs.h <<_ACEOF
5496 #define HAVE_DECL_CURLOPT_CONNECT_ONLY $ac_have_decl
5497 _ACEOF
5498 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAX_SEND_SPEED_LARGE" "ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" "
5499 #include \"curl/curl.h\"
5502 if test "x$ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" = xyes; then :
5503 ac_have_decl=1
5504 else
5505 ac_have_decl=0
5508 cat >>confdefs.h <<_ACEOF
5509 #define HAVE_DECL_CURLOPT_MAX_SEND_SPEED_LARGE $ac_have_decl
5510 _ACEOF
5511 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAX_RECV_SPEED_LARGE" "ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE" "
5512 #include \"curl/curl.h\"
5515 if test "x$ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE" = xyes; then :
5516 ac_have_decl=1
5517 else
5518 ac_have_decl=0
5521 cat >>confdefs.h <<_ACEOF
5522 #define HAVE_DECL_CURLOPT_MAX_RECV_SPEED_LARGE $ac_have_decl
5523 _ACEOF
5524 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_ALTERNATIVE_TO_USER" "ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" "
5525 #include \"curl/curl.h\"
5528 if test "x$ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" = xyes; then :
5529 ac_have_decl=1
5530 else
5531 ac_have_decl=0
5534 cat >>confdefs.h <<_ACEOF
5535 #define HAVE_DECL_CURLOPT_FTP_ALTERNATIVE_TO_USER $ac_have_decl
5536 _ACEOF
5537 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_SESSIONID_CACHE" "ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" "
5538 #include \"curl/curl.h\"
5541 if test "x$ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" = xyes; then :
5542 ac_have_decl=1
5543 else
5544 ac_have_decl=0
5547 cat >>confdefs.h <<_ACEOF
5548 #define HAVE_DECL_CURLOPT_SSL_SESSIONID_CACHE $ac_have_decl
5549 _ACEOF
5550 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_AUTH_TYPES" "ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" "
5551 #include \"curl/curl.h\"
5554 if test "x$ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" = xyes; then :
5555 ac_have_decl=1
5556 else
5557 ac_have_decl=0
5560 cat >>confdefs.h <<_ACEOF
5561 #define HAVE_DECL_CURLOPT_SSH_AUTH_TYPES $ac_have_decl
5562 _ACEOF
5563 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_PUBLIC_KEYFILE" "ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" "
5564 #include \"curl/curl.h\"
5567 if test "x$ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" = xyes; then :
5568 ac_have_decl=1
5569 else
5570 ac_have_decl=0
5573 cat >>confdefs.h <<_ACEOF
5574 #define HAVE_DECL_CURLOPT_SSH_PUBLIC_KEYFILE $ac_have_decl
5575 _ACEOF
5576 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_PRIVATE_KEYFILE" "ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE" "
5577 #include \"curl/curl.h\"
5580 if test "x$ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE" = xyes; then :
5581 ac_have_decl=1
5582 else
5583 ac_have_decl=0
5586 cat >>confdefs.h <<_ACEOF
5587 #define HAVE_DECL_CURLOPT_SSH_PRIVATE_KEYFILE $ac_have_decl
5588 _ACEOF
5589 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SSL_CCC" "ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" "
5590 #include \"curl/curl.h\"
5593 if test "x$ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" = xyes; then :
5594 ac_have_decl=1
5595 else
5596 ac_have_decl=0
5599 cat >>confdefs.h <<_ACEOF
5600 #define HAVE_DECL_CURLOPT_FTP_SSL_CCC $ac_have_decl
5601 _ACEOF
5602 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEOUT_MS" "ac_cv_have_decl_CURLOPT_TIMEOUT_MS" "
5603 #include \"curl/curl.h\"
5606 if test "x$ac_cv_have_decl_CURLOPT_TIMEOUT_MS" = xyes; then :
5607 ac_have_decl=1
5608 else
5609 ac_have_decl=0
5612 cat >>confdefs.h <<_ACEOF
5613 #define HAVE_DECL_CURLOPT_TIMEOUT_MS $ac_have_decl
5614 _ACEOF
5615 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECTTIMEOUT_MS" "ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS" "
5616 #include \"curl/curl.h\"
5619 if test "x$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS" = xyes; then :
5620 ac_have_decl=1
5621 else
5622 ac_have_decl=0
5625 cat >>confdefs.h <<_ACEOF
5626 #define HAVE_DECL_CURLOPT_CONNECTTIMEOUT_MS $ac_have_decl
5627 _ACEOF
5628 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_TRANSFER_DECODING" "ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" "
5629 #include \"curl/curl.h\"
5632 if test "x$ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" = xyes; then :
5633 ac_have_decl=1
5634 else
5635 ac_have_decl=0
5638 cat >>confdefs.h <<_ACEOF
5639 #define HAVE_DECL_CURLOPT_HTTP_TRANSFER_DECODING $ac_have_decl
5640 _ACEOF
5641 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_CONTENT_DECODING" "ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING" "
5642 #include \"curl/curl.h\"
5645 if test "x$ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING" = xyes; then :
5646 ac_have_decl=1
5647 else
5648 ac_have_decl=0
5651 cat >>confdefs.h <<_ACEOF
5652 #define HAVE_DECL_CURLOPT_HTTP_CONTENT_DECODING $ac_have_decl
5653 _ACEOF
5654 ac_fn_c_check_decl "$LINENO" "CURLOPT_NEW_FILE_PERMS" "ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" "
5655 #include \"curl/curl.h\"
5658 if test "x$ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" = xyes; then :
5659 ac_have_decl=1
5660 else
5661 ac_have_decl=0
5664 cat >>confdefs.h <<_ACEOF
5665 #define HAVE_DECL_CURLOPT_NEW_FILE_PERMS $ac_have_decl
5666 _ACEOF
5667 ac_fn_c_check_decl "$LINENO" "CURLOPT_NEW_DIRECTORY_PERMS" "ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS" "
5668 #include \"curl/curl.h\"
5671 if test "x$ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS" = xyes; then :
5672 ac_have_decl=1
5673 else
5674 ac_have_decl=0
5677 cat >>confdefs.h <<_ACEOF
5678 #define HAVE_DECL_CURLOPT_NEW_DIRECTORY_PERMS $ac_have_decl
5679 _ACEOF
5680 ac_fn_c_check_decl "$LINENO" "CURLOPT_POST301" "ac_cv_have_decl_CURLOPT_POST301" "
5681 #include \"curl/curl.h\"
5684 if test "x$ac_cv_have_decl_CURLOPT_POST301" = xyes; then :
5685 ac_have_decl=1
5686 else
5687 ac_have_decl=0
5690 cat >>confdefs.h <<_ACEOF
5691 #define HAVE_DECL_CURLOPT_POST301 $ac_have_decl
5692 _ACEOF
5693 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" "ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" "
5694 #include \"curl/curl.h\"
5697 if test "x$ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" = xyes; then :
5698 ac_have_decl=1
5699 else
5700 ac_have_decl=0
5703 cat >>confdefs.h <<_ACEOF
5704 #define HAVE_DECL_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 $ac_have_decl
5705 _ACEOF
5706 ac_fn_c_check_decl "$LINENO" "CURLOPT_COPYPOSTFIELDS" "ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" "
5707 #include \"curl/curl.h\"
5710 if test "x$ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" = xyes; then :
5711 ac_have_decl=1
5712 else
5713 ac_have_decl=0
5716 cat >>confdefs.h <<_ACEOF
5717 #define HAVE_DECL_CURLOPT_COPYPOSTFIELDS $ac_have_decl
5718 _ACEOF
5719 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXY_TRANSFER_MODE" "ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" "
5720 #include \"curl/curl.h\"
5723 if test "x$ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" = xyes; then :
5724 ac_have_decl=1
5725 else
5726 ac_have_decl=0
5729 cat >>confdefs.h <<_ACEOF
5730 #define HAVE_DECL_CURLOPT_PROXY_TRANSFER_MODE $ac_have_decl
5731 _ACEOF
5732 ac_fn_c_check_decl "$LINENO" "CURLOPT_SEEKFUNCTION" "ac_cv_have_decl_CURLOPT_SEEKFUNCTION" "
5733 #include \"curl/curl.h\"
5736 if test "x$ac_cv_have_decl_CURLOPT_SEEKFUNCTION" = xyes; then :
5737 ac_have_decl=1
5738 else
5739 ac_have_decl=0
5742 cat >>confdefs.h <<_ACEOF
5743 #define HAVE_DECL_CURLOPT_SEEKFUNCTION $ac_have_decl
5744 _ACEOF
5745 ac_fn_c_check_decl "$LINENO" "CURLOPT_OPENSOCKETFUNCTION" "ac_cv_have_decl_CURLOPT_OPENSOCKETFUNCTION" "
5746 #include \"curl/curl.h\"
5749 if test "x$ac_cv_have_decl_CURLOPT_OPENSOCKETFUNCTION" = xyes; then :
5750 ac_have_decl=1
5751 else
5752 ac_have_decl=0
5755 cat >>confdefs.h <<_ACEOF
5756 #define HAVE_DECL_CURLOPT_OPENSOCKETFUNCTION $ac_have_decl
5757 _ACEOF
5758 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROTOCOLS" "ac_cv_have_decl_CURLOPT_PROTOCOLS" "
5759 #include \"curl/curl.h\"
5762 if test "x$ac_cv_have_decl_CURLOPT_PROTOCOLS" = xyes; then :
5763 ac_have_decl=1
5764 else
5765 ac_have_decl=0
5768 cat >>confdefs.h <<_ACEOF
5769 #define HAVE_DECL_CURLOPT_PROTOCOLS $ac_have_decl
5770 _ACEOF
5771 ac_fn_c_check_decl "$LINENO" "CURLOPT_REDIR_PROTOCOLS" "ac_cv_have_decl_CURLOPT_REDIR_PROTOCOLS" "
5772 #include \"curl/curl.h\"
5775 if test "x$ac_cv_have_decl_CURLOPT_REDIR_PROTOCOLS" = xyes; then :
5776 ac_have_decl=1
5777 else
5778 ac_have_decl=0
5781 cat >>confdefs.h <<_ACEOF
5782 #define HAVE_DECL_CURLOPT_REDIR_PROTOCOLS $ac_have_decl
5783 _ACEOF
5784 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESOLVE" "ac_cv_have_decl_CURLOPT_RESOLVE" "
5785 #include \"curl/curl.h\"
5788 if test "x$ac_cv_have_decl_CURLOPT_RESOLVE" = xyes; then :
5789 ac_have_decl=1
5790 else
5791 ac_have_decl=0
5794 cat >>confdefs.h <<_ACEOF
5795 #define HAVE_DECL_CURLOPT_RESOLVE $ac_have_decl
5796 _ACEOF
5797 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_SERVERS" "ac_cv_have_decl_CURLOPT_DNS_SERVERS" "
5798 #include \"curl/curl.h\"
5801 if test "x$ac_cv_have_decl_CURLOPT_DNS_SERVERS" = xyes; then :
5802 ac_have_decl=1
5803 else
5804 ac_have_decl=0
5807 cat >>confdefs.h <<_ACEOF
5808 #define HAVE_DECL_CURLOPT_DNS_SERVERS $ac_have_decl
5809 _ACEOF
5810 ac_fn_c_check_decl "$LINENO" "CURLINFO_EFFECTIVE_URL" "ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" "
5811 #include \"curl/curl.h\"
5814 if test "x$ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" = xyes; then :
5815 ac_have_decl=1
5816 else
5817 ac_have_decl=0
5820 cat >>confdefs.h <<_ACEOF
5821 #define HAVE_DECL_CURLINFO_EFFECTIVE_URL $ac_have_decl
5822 _ACEOF
5823 ac_fn_c_check_decl "$LINENO" "CURLINFO_RESPONSE_CODE" "ac_cv_have_decl_CURLINFO_RESPONSE_CODE" "
5824 #include \"curl/curl.h\"
5827 if test "x$ac_cv_have_decl_CURLINFO_RESPONSE_CODE" = xyes; then :
5828 ac_have_decl=1
5829 else
5830 ac_have_decl=0
5833 cat >>confdefs.h <<_ACEOF
5834 #define HAVE_DECL_CURLINFO_RESPONSE_CODE $ac_have_decl
5835 _ACEOF
5836 ac_fn_c_check_decl "$LINENO" "CURLINFO_TOTAL_TIME" "ac_cv_have_decl_CURLINFO_TOTAL_TIME" "
5837 #include \"curl/curl.h\"
5840 if test "x$ac_cv_have_decl_CURLINFO_TOTAL_TIME" = xyes; then :
5841 ac_have_decl=1
5842 else
5843 ac_have_decl=0
5846 cat >>confdefs.h <<_ACEOF
5847 #define HAVE_DECL_CURLINFO_TOTAL_TIME $ac_have_decl
5848 _ACEOF
5849 ac_fn_c_check_decl "$LINENO" "CURLINFO_NAMELOOKUP_TIME" "ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" "
5850 #include \"curl/curl.h\"
5853 if test "x$ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" = xyes; then :
5854 ac_have_decl=1
5855 else
5856 ac_have_decl=0
5859 cat >>confdefs.h <<_ACEOF
5860 #define HAVE_DECL_CURLINFO_NAMELOOKUP_TIME $ac_have_decl
5861 _ACEOF
5862 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONNECT_TIME" "ac_cv_have_decl_CURLINFO_CONNECT_TIME" "
5863 #include \"curl/curl.h\"
5866 if test "x$ac_cv_have_decl_CURLINFO_CONNECT_TIME" = xyes; then :
5867 ac_have_decl=1
5868 else
5869 ac_have_decl=0
5872 cat >>confdefs.h <<_ACEOF
5873 #define HAVE_DECL_CURLINFO_CONNECT_TIME $ac_have_decl
5874 _ACEOF
5875 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRETRANSFER_TIME" "ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" "
5876 #include \"curl/curl.h\"
5879 if test "x$ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" = xyes; then :
5880 ac_have_decl=1
5881 else
5882 ac_have_decl=0
5885 cat >>confdefs.h <<_ACEOF
5886 #define HAVE_DECL_CURLINFO_PRETRANSFER_TIME $ac_have_decl
5887 _ACEOF
5888 ac_fn_c_check_decl "$LINENO" "CURLINFO_SIZE_UPLOAD" "ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" "
5889 #include \"curl/curl.h\"
5892 if test "x$ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" = xyes; then :
5893 ac_have_decl=1
5894 else
5895 ac_have_decl=0
5898 cat >>confdefs.h <<_ACEOF
5899 #define HAVE_DECL_CURLINFO_SIZE_UPLOAD $ac_have_decl
5900 _ACEOF
5901 ac_fn_c_check_decl "$LINENO" "CURLINFO_SIZE_DOWNLOAD" "ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" "
5902 #include \"curl/curl.h\"
5905 if test "x$ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" = xyes; then :
5906 ac_have_decl=1
5907 else
5908 ac_have_decl=0
5911 cat >>confdefs.h <<_ACEOF
5912 #define HAVE_DECL_CURLINFO_SIZE_DOWNLOAD $ac_have_decl
5913 _ACEOF
5914 ac_fn_c_check_decl "$LINENO" "CURLINFO_SPEED_DOWNLOAD" "ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" "
5915 #include \"curl/curl.h\"
5918 if test "x$ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" = xyes; then :
5919 ac_have_decl=1
5920 else
5921 ac_have_decl=0
5924 cat >>confdefs.h <<_ACEOF
5925 #define HAVE_DECL_CURLINFO_SPEED_DOWNLOAD $ac_have_decl
5926 _ACEOF
5927 ac_fn_c_check_decl "$LINENO" "CURLINFO_SPEED_UPLOAD" "ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" "
5928 #include \"curl/curl.h\"
5931 if test "x$ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" = xyes; then :
5932 ac_have_decl=1
5933 else
5934 ac_have_decl=0
5937 cat >>confdefs.h <<_ACEOF
5938 #define HAVE_DECL_CURLINFO_SPEED_UPLOAD $ac_have_decl
5939 _ACEOF
5940 ac_fn_c_check_decl "$LINENO" "CURLINFO_HEADER_SIZE" "ac_cv_have_decl_CURLINFO_HEADER_SIZE" "
5941 #include \"curl/curl.h\"
5944 if test "x$ac_cv_have_decl_CURLINFO_HEADER_SIZE" = xyes; then :
5945 ac_have_decl=1
5946 else
5947 ac_have_decl=0
5950 cat >>confdefs.h <<_ACEOF
5951 #define HAVE_DECL_CURLINFO_HEADER_SIZE $ac_have_decl
5952 _ACEOF
5953 ac_fn_c_check_decl "$LINENO" "CURLINFO_REQUEST_SIZE" "ac_cv_have_decl_CURLINFO_REQUEST_SIZE" "
5954 #include \"curl/curl.h\"
5957 if test "x$ac_cv_have_decl_CURLINFO_REQUEST_SIZE" = xyes; then :
5958 ac_have_decl=1
5959 else
5960 ac_have_decl=0
5963 cat >>confdefs.h <<_ACEOF
5964 #define HAVE_DECL_CURLINFO_REQUEST_SIZE $ac_have_decl
5965 _ACEOF
5966 ac_fn_c_check_decl "$LINENO" "CURLINFO_SSL_VERIFYRESULT" "ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" "
5967 #include \"curl/curl.h\"
5970 if test "x$ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" = xyes; then :
5971 ac_have_decl=1
5972 else
5973 ac_have_decl=0
5976 cat >>confdefs.h <<_ACEOF
5977 #define HAVE_DECL_CURLINFO_SSL_VERIFYRESULT $ac_have_decl
5978 _ACEOF
5979 ac_fn_c_check_decl "$LINENO" "CURLINFO_FILETIME" "ac_cv_have_decl_CURLINFO_FILETIME" "
5980 #include \"curl/curl.h\"
5983 if test "x$ac_cv_have_decl_CURLINFO_FILETIME" = xyes; then :
5984 ac_have_decl=1
5985 else
5986 ac_have_decl=0
5989 cat >>confdefs.h <<_ACEOF
5990 #define HAVE_DECL_CURLINFO_FILETIME $ac_have_decl
5991 _ACEOF
5992 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_LENGTH_DOWNLOAD" "ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" "
5993 #include \"curl/curl.h\"
5996 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" = xyes; then :
5997 ac_have_decl=1
5998 else
5999 ac_have_decl=0
6002 cat >>confdefs.h <<_ACEOF
6003 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_DOWNLOAD $ac_have_decl
6004 _ACEOF
6005 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_LENGTH_UPLOAD" "ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" "
6006 #include \"curl/curl.h\"
6009 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" = xyes; then :
6010 ac_have_decl=1
6011 else
6012 ac_have_decl=0
6015 cat >>confdefs.h <<_ACEOF
6016 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_UPLOAD $ac_have_decl
6017 _ACEOF
6018 ac_fn_c_check_decl "$LINENO" "CURLINFO_STARTTRANSFER_TIME" "ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" "
6019 #include \"curl/curl.h\"
6022 if test "x$ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" = xyes; then :
6023 ac_have_decl=1
6024 else
6025 ac_have_decl=0
6028 cat >>confdefs.h <<_ACEOF
6029 #define HAVE_DECL_CURLINFO_STARTTRANSFER_TIME $ac_have_decl
6030 _ACEOF
6031 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_TYPE" "ac_cv_have_decl_CURLINFO_CONTENT_TYPE" "
6032 #include \"curl/curl.h\"
6035 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_TYPE" = xyes; then :
6036 ac_have_decl=1
6037 else
6038 ac_have_decl=0
6041 cat >>confdefs.h <<_ACEOF
6042 #define HAVE_DECL_CURLINFO_CONTENT_TYPE $ac_have_decl
6043 _ACEOF
6044 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_TIME" "ac_cv_have_decl_CURLINFO_REDIRECT_TIME" "
6045 #include \"curl/curl.h\"
6048 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_TIME" = xyes; then :
6049 ac_have_decl=1
6050 else
6051 ac_have_decl=0
6054 cat >>confdefs.h <<_ACEOF
6055 #define HAVE_DECL_CURLINFO_REDIRECT_TIME $ac_have_decl
6056 _ACEOF
6057 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_COUNT" "ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" "
6058 #include \"curl/curl.h\"
6061 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" = xyes; then :
6062 ac_have_decl=1
6063 else
6064 ac_have_decl=0
6067 cat >>confdefs.h <<_ACEOF
6068 #define HAVE_DECL_CURLINFO_REDIRECT_COUNT $ac_have_decl
6069 _ACEOF
6070 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRIVATE" "ac_cv_have_decl_CURLINFO_PRIVATE" "
6071 #include \"curl/curl.h\"
6074 if test "x$ac_cv_have_decl_CURLINFO_PRIVATE" = xyes; then :
6075 ac_have_decl=1
6076 else
6077 ac_have_decl=0
6080 cat >>confdefs.h <<_ACEOF
6081 #define HAVE_DECL_CURLINFO_PRIVATE $ac_have_decl
6082 _ACEOF
6083 ac_fn_c_check_decl "$LINENO" "CURLINFO_HTTP_CONNECTCODE" "ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" "
6084 #include \"curl/curl.h\"
6087 if test "x$ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" = xyes; then :
6088 ac_have_decl=1
6089 else
6090 ac_have_decl=0
6093 cat >>confdefs.h <<_ACEOF
6094 #define HAVE_DECL_CURLINFO_HTTP_CONNECTCODE $ac_have_decl
6095 _ACEOF
6096 ac_fn_c_check_decl "$LINENO" "CURLINFO_HTTPAUTH_AVAIL" "ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" "
6097 #include \"curl/curl.h\"
6100 if test "x$ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" = xyes; then :
6101 ac_have_decl=1
6102 else
6103 ac_have_decl=0
6106 cat >>confdefs.h <<_ACEOF
6107 #define HAVE_DECL_CURLINFO_HTTPAUTH_AVAIL $ac_have_decl
6108 _ACEOF
6109 ac_fn_c_check_decl "$LINENO" "CURLINFO_PROXYAUTH_AVAIL" "ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" "
6110 #include \"curl/curl.h\"
6113 if test "x$ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" = xyes; then :
6114 ac_have_decl=1
6115 else
6116 ac_have_decl=0
6119 cat >>confdefs.h <<_ACEOF
6120 #define HAVE_DECL_CURLINFO_PROXYAUTH_AVAIL $ac_have_decl
6121 _ACEOF
6122 ac_fn_c_check_decl "$LINENO" "CURLINFO_OS_ERRNO" "ac_cv_have_decl_CURLINFO_OS_ERRNO" "
6123 #include \"curl/curl.h\"
6126 if test "x$ac_cv_have_decl_CURLINFO_OS_ERRNO" = xyes; then :
6127 ac_have_decl=1
6128 else
6129 ac_have_decl=0
6132 cat >>confdefs.h <<_ACEOF
6133 #define HAVE_DECL_CURLINFO_OS_ERRNO $ac_have_decl
6134 _ACEOF
6135 ac_fn_c_check_decl "$LINENO" "CURLINFO_NUM_CONNECTS" "ac_cv_have_decl_CURLINFO_NUM_CONNECTS" "
6136 #include \"curl/curl.h\"
6139 if test "x$ac_cv_have_decl_CURLINFO_NUM_CONNECTS" = xyes; then :
6140 ac_have_decl=1
6141 else
6142 ac_have_decl=0
6145 cat >>confdefs.h <<_ACEOF
6146 #define HAVE_DECL_CURLINFO_NUM_CONNECTS $ac_have_decl
6147 _ACEOF
6148 ac_fn_c_check_decl "$LINENO" "CURLINFO_SSL_ENGINES" "ac_cv_have_decl_CURLINFO_SSL_ENGINES" "
6149 #include \"curl/curl.h\"
6152 if test "x$ac_cv_have_decl_CURLINFO_SSL_ENGINES" = xyes; then :
6153 ac_have_decl=1
6154 else
6155 ac_have_decl=0
6158 cat >>confdefs.h <<_ACEOF
6159 #define HAVE_DECL_CURLINFO_SSL_ENGINES $ac_have_decl
6160 _ACEOF
6161 ac_fn_c_check_decl "$LINENO" "CURLINFO_COOKIELIST" "ac_cv_have_decl_CURLINFO_COOKIELIST" "
6162 #include \"curl/curl.h\"
6165 if test "x$ac_cv_have_decl_CURLINFO_COOKIELIST" = xyes; then :
6166 ac_have_decl=1
6167 else
6168 ac_have_decl=0
6171 cat >>confdefs.h <<_ACEOF
6172 #define HAVE_DECL_CURLINFO_COOKIELIST $ac_have_decl
6173 _ACEOF
6174 ac_fn_c_check_decl "$LINENO" "CURLINFO_LASTSOCKET" "ac_cv_have_decl_CURLINFO_LASTSOCKET" "
6175 #include \"curl/curl.h\"
6178 if test "x$ac_cv_have_decl_CURLINFO_LASTSOCKET" = xyes; then :
6179 ac_have_decl=1
6180 else
6181 ac_have_decl=0
6184 cat >>confdefs.h <<_ACEOF
6185 #define HAVE_DECL_CURLINFO_LASTSOCKET $ac_have_decl
6186 _ACEOF
6187 ac_fn_c_check_decl "$LINENO" "CURLINFO_FTP_ENTRY_PATH" "ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" "
6188 #include \"curl/curl.h\"
6191 if test "x$ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" = xyes; then :
6192 ac_have_decl=1
6193 else
6194 ac_have_decl=0
6197 cat >>confdefs.h <<_ACEOF
6198 #define HAVE_DECL_CURLINFO_FTP_ENTRY_PATH $ac_have_decl
6199 _ACEOF
6200 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_URL" "ac_cv_have_decl_CURLINFO_REDIRECT_URL" "
6201 #include \"curl/curl.h\"
6204 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_URL" = xyes; then :
6205 ac_have_decl=1
6206 else
6207 ac_have_decl=0
6210 cat >>confdefs.h <<_ACEOF
6211 #define HAVE_DECL_CURLINFO_REDIRECT_URL $ac_have_decl
6212 _ACEOF
6213 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRIMARY_IP" "ac_cv_have_decl_CURLINFO_PRIMARY_IP" "
6214 #include \"curl/curl.h\"
6217 if test "x$ac_cv_have_decl_CURLINFO_PRIMARY_IP" = xyes; then :
6218 ac_have_decl=1
6219 else
6220 ac_have_decl=0
6223 cat >>confdefs.h <<_ACEOF
6224 #define HAVE_DECL_CURLINFO_PRIMARY_IP $ac_have_decl
6225 _ACEOF
6226 ac_fn_c_check_decl "$LINENO" "CURLINFO_LOCAL_IP" "ac_cv_have_decl_CURLINFO_LOCAL_IP" "
6227 #include \"curl/curl.h\"
6230 if test "x$ac_cv_have_decl_CURLINFO_LOCAL_IP" = xyes; then :
6231 ac_have_decl=1
6232 else
6233 ac_have_decl=0
6236 cat >>confdefs.h <<_ACEOF
6237 #define HAVE_DECL_CURLINFO_LOCAL_IP $ac_have_decl
6238 _ACEOF
6239 ac_fn_c_check_decl "$LINENO" "CURLINFO_LOCAL_PORT" "ac_cv_have_decl_CURLINFO_LOCAL_PORT" "
6240 #include \"curl/curl.h\"
6243 if test "x$ac_cv_have_decl_CURLINFO_LOCAL_PORT" = xyes; then :
6244 ac_have_decl=1
6245 else
6246 ac_have_decl=0
6249 cat >>confdefs.h <<_ACEOF
6250 #define HAVE_DECL_CURLINFO_LOCAL_PORT $ac_have_decl
6251 _ACEOF
6252 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONDITION_UNMET" "ac_cv_have_decl_CURLINFO_CONDITION_UNMET" "
6253 #include \"curl/curl.h\"
6256 if test "x$ac_cv_have_decl_CURLINFO_CONDITION_UNMET" = xyes; then :
6257 ac_have_decl=1
6258 else
6259 ac_have_decl=0
6262 cat >>confdefs.h <<_ACEOF
6263 #define HAVE_DECL_CURLINFO_CONDITION_UNMET $ac_have_decl
6264 _ACEOF
6265 ac_fn_c_check_decl "$LINENO" "CURLE_UNSUPPORTED_PROTOCOL" "ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" "
6266 #include \"curl/curl.h\"
6269 if test "x$ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" = xyes; then :
6270 ac_have_decl=1
6271 else
6272 ac_have_decl=0
6275 cat >>confdefs.h <<_ACEOF
6276 #define HAVE_DECL_CURLE_UNSUPPORTED_PROTOCOL $ac_have_decl
6277 _ACEOF
6278 ac_fn_c_check_decl "$LINENO" "CURLE_FAILED_INIT" "ac_cv_have_decl_CURLE_FAILED_INIT" "
6279 #include \"curl/curl.h\"
6282 if test "x$ac_cv_have_decl_CURLE_FAILED_INIT" = xyes; then :
6283 ac_have_decl=1
6284 else
6285 ac_have_decl=0
6288 cat >>confdefs.h <<_ACEOF
6289 #define HAVE_DECL_CURLE_FAILED_INIT $ac_have_decl
6290 _ACEOF
6291 ac_fn_c_check_decl "$LINENO" "CURLE_URL_MALFORMAT" "ac_cv_have_decl_CURLE_URL_MALFORMAT" "
6292 #include \"curl/curl.h\"
6295 if test "x$ac_cv_have_decl_CURLE_URL_MALFORMAT" = xyes; then :
6296 ac_have_decl=1
6297 else
6298 ac_have_decl=0
6301 cat >>confdefs.h <<_ACEOF
6302 #define HAVE_DECL_CURLE_URL_MALFORMAT $ac_have_decl
6303 _ACEOF
6304 ac_fn_c_check_decl "$LINENO" "CURLE_URL_MALFORMAT_USER" "ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" "
6305 #include \"curl/curl.h\"
6308 if test "x$ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" = xyes; then :
6309 ac_have_decl=1
6310 else
6311 ac_have_decl=0
6314 cat >>confdefs.h <<_ACEOF
6315 #define HAVE_DECL_CURLE_URL_MALFORMAT_USER $ac_have_decl
6316 _ACEOF
6317 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_RESOLVE_PROXY" "ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" "
6318 #include \"curl/curl.h\"
6321 if test "x$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" = xyes; then :
6322 ac_have_decl=1
6323 else
6324 ac_have_decl=0
6327 cat >>confdefs.h <<_ACEOF
6328 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_PROXY $ac_have_decl
6329 _ACEOF
6330 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_RESOLVE_HOST" "ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" "
6331 #include \"curl/curl.h\"
6334 if test "x$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" = xyes; then :
6335 ac_have_decl=1
6336 else
6337 ac_have_decl=0
6340 cat >>confdefs.h <<_ACEOF
6341 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_HOST $ac_have_decl
6342 _ACEOF
6343 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_CONNECT" "ac_cv_have_decl_CURLE_COULDNT_CONNECT" "
6344 #include \"curl/curl.h\"
6347 if test "x$ac_cv_have_decl_CURLE_COULDNT_CONNECT" = xyes; then :
6348 ac_have_decl=1
6349 else
6350 ac_have_decl=0
6353 cat >>confdefs.h <<_ACEOF
6354 #define HAVE_DECL_CURLE_COULDNT_CONNECT $ac_have_decl
6355 _ACEOF
6356 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_SERVER_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" "
6357 #include \"curl/curl.h\"
6360 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" = xyes; then :
6361 ac_have_decl=1
6362 else
6363 ac_have_decl=0
6366 cat >>confdefs.h <<_ACEOF
6367 #define HAVE_DECL_CURLE_FTP_WEIRD_SERVER_REPLY $ac_have_decl
6368 _ACEOF
6369 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_ACCESS_DENIED" "ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" "
6370 #include \"curl/curl.h\"
6373 if test "x$ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" = xyes; then :
6374 ac_have_decl=1
6375 else
6376 ac_have_decl=0
6379 cat >>confdefs.h <<_ACEOF
6380 #define HAVE_DECL_CURLE_FTP_ACCESS_DENIED $ac_have_decl
6381 _ACEOF
6382 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_USER_PASSWORD_INCORRECT" "ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" "
6383 #include \"curl/curl.h\"
6386 if test "x$ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" = xyes; then :
6387 ac_have_decl=1
6388 else
6389 ac_have_decl=0
6392 cat >>confdefs.h <<_ACEOF
6393 #define HAVE_DECL_CURLE_FTP_USER_PASSWORD_INCORRECT $ac_have_decl
6394 _ACEOF
6395 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_PASS_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" "
6396 #include \"curl/curl.h\"
6399 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" = xyes; then :
6400 ac_have_decl=1
6401 else
6402 ac_have_decl=0
6405 cat >>confdefs.h <<_ACEOF
6406 #define HAVE_DECL_CURLE_FTP_WEIRD_PASS_REPLY $ac_have_decl
6407 _ACEOF
6408 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_USER_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" "
6409 #include \"curl/curl.h\"
6412 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" = xyes; then :
6413 ac_have_decl=1
6414 else
6415 ac_have_decl=0
6418 cat >>confdefs.h <<_ACEOF
6419 #define HAVE_DECL_CURLE_FTP_WEIRD_USER_REPLY $ac_have_decl
6420 _ACEOF
6421 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_PASV_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY" "
6422 #include \"curl/curl.h\"
6425 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY" = xyes; then :
6426 ac_have_decl=1
6427 else
6428 ac_have_decl=0
6431 cat >>confdefs.h <<_ACEOF
6432 #define HAVE_DECL_CURLE_FTP_WEIRD_PASV_REPLY $ac_have_decl
6433 _ACEOF
6434 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_227_FORMAT" "ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" "
6435 #include \"curl/curl.h\"
6438 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" = xyes; then :
6439 ac_have_decl=1
6440 else
6441 ac_have_decl=0
6444 cat >>confdefs.h <<_ACEOF
6445 #define HAVE_DECL_CURLE_FTP_WEIRD_227_FORMAT $ac_have_decl
6446 _ACEOF
6447 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_CANT_GET_HOST" "ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" "
6448 #include \"curl/curl.h\"
6451 if test "x$ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" = xyes; then :
6452 ac_have_decl=1
6453 else
6454 ac_have_decl=0
6457 cat >>confdefs.h <<_ACEOF
6458 #define HAVE_DECL_CURLE_FTP_CANT_GET_HOST $ac_have_decl
6459 _ACEOF
6460 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_CANT_RECONNECT" "ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" "
6461 #include \"curl/curl.h\"
6464 if test "x$ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" = xyes; then :
6465 ac_have_decl=1
6466 else
6467 ac_have_decl=0
6470 cat >>confdefs.h <<_ACEOF
6471 #define HAVE_DECL_CURLE_FTP_CANT_RECONNECT $ac_have_decl
6472 _ACEOF
6473 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_SET_BINARY" "ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" "
6474 #include \"curl/curl.h\"
6477 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" = xyes; then :
6478 ac_have_decl=1
6479 else
6480 ac_have_decl=0
6483 cat >>confdefs.h <<_ACEOF
6484 #define HAVE_DECL_CURLE_FTP_COULDNT_SET_BINARY $ac_have_decl
6485 _ACEOF
6486 ac_fn_c_check_decl "$LINENO" "CURLE_PARTIAL_FILE" "ac_cv_have_decl_CURLE_PARTIAL_FILE" "
6487 #include \"curl/curl.h\"
6490 if test "x$ac_cv_have_decl_CURLE_PARTIAL_FILE" = xyes; then :
6491 ac_have_decl=1
6492 else
6493 ac_have_decl=0
6496 cat >>confdefs.h <<_ACEOF
6497 #define HAVE_DECL_CURLE_PARTIAL_FILE $ac_have_decl
6498 _ACEOF
6499 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_RETR_FILE" "ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" "
6500 #include \"curl/curl.h\"
6503 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" = xyes; then :
6504 ac_have_decl=1
6505 else
6506 ac_have_decl=0
6509 cat >>confdefs.h <<_ACEOF
6510 #define HAVE_DECL_CURLE_FTP_COULDNT_RETR_FILE $ac_have_decl
6511 _ACEOF
6512 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WRITE_ERROR" "ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" "
6513 #include \"curl/curl.h\"
6516 if test "x$ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" = xyes; then :
6517 ac_have_decl=1
6518 else
6519 ac_have_decl=0
6522 cat >>confdefs.h <<_ACEOF
6523 #define HAVE_DECL_CURLE_FTP_WRITE_ERROR $ac_have_decl
6524 _ACEOF
6525 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_QUOTE_ERROR" "ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" "
6526 #include \"curl/curl.h\"
6529 if test "x$ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" = xyes; then :
6530 ac_have_decl=1
6531 else
6532 ac_have_decl=0
6535 cat >>confdefs.h <<_ACEOF
6536 #define HAVE_DECL_CURLE_FTP_QUOTE_ERROR $ac_have_decl
6537 _ACEOF
6538 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_RETURNED_ERROR" "ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" "
6539 #include \"curl/curl.h\"
6542 if test "x$ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" = xyes; then :
6543 ac_have_decl=1
6544 else
6545 ac_have_decl=0
6548 cat >>confdefs.h <<_ACEOF
6549 #define HAVE_DECL_CURLE_HTTP_RETURNED_ERROR $ac_have_decl
6550 _ACEOF
6551 ac_fn_c_check_decl "$LINENO" "CURLE_WRITE_ERROR" "ac_cv_have_decl_CURLE_WRITE_ERROR" "
6552 #include \"curl/curl.h\"
6555 if test "x$ac_cv_have_decl_CURLE_WRITE_ERROR" = xyes; then :
6556 ac_have_decl=1
6557 else
6558 ac_have_decl=0
6561 cat >>confdefs.h <<_ACEOF
6562 #define HAVE_DECL_CURLE_WRITE_ERROR $ac_have_decl
6563 _ACEOF
6564 ac_fn_c_check_decl "$LINENO" "CURLE_MALFORMAT_USER" "ac_cv_have_decl_CURLE_MALFORMAT_USER" "
6565 #include \"curl/curl.h\"
6568 if test "x$ac_cv_have_decl_CURLE_MALFORMAT_USER" = xyes; then :
6569 ac_have_decl=1
6570 else
6571 ac_have_decl=0
6574 cat >>confdefs.h <<_ACEOF
6575 #define HAVE_DECL_CURLE_MALFORMAT_USER $ac_have_decl
6576 _ACEOF
6577 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_STOR_FILE" "ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" "
6578 #include \"curl/curl.h\"
6581 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" = xyes; then :
6582 ac_have_decl=1
6583 else
6584 ac_have_decl=0
6587 cat >>confdefs.h <<_ACEOF
6588 #define HAVE_DECL_CURLE_FTP_COULDNT_STOR_FILE $ac_have_decl
6589 _ACEOF
6590 ac_fn_c_check_decl "$LINENO" "CURLE_READ_ERROR" "ac_cv_have_decl_CURLE_READ_ERROR" "
6591 #include \"curl/curl.h\"
6594 if test "x$ac_cv_have_decl_CURLE_READ_ERROR" = xyes; then :
6595 ac_have_decl=1
6596 else
6597 ac_have_decl=0
6600 cat >>confdefs.h <<_ACEOF
6601 #define HAVE_DECL_CURLE_READ_ERROR $ac_have_decl
6602 _ACEOF
6603 ac_fn_c_check_decl "$LINENO" "CURLE_OUT_OF_MEMORY" "ac_cv_have_decl_CURLE_OUT_OF_MEMORY" "
6604 #include \"curl/curl.h\"
6607 if test "x$ac_cv_have_decl_CURLE_OUT_OF_MEMORY" = xyes; then :
6608 ac_have_decl=1
6609 else
6610 ac_have_decl=0
6613 cat >>confdefs.h <<_ACEOF
6614 #define HAVE_DECL_CURLE_OUT_OF_MEMORY $ac_have_decl
6615 _ACEOF
6616 ac_fn_c_check_decl "$LINENO" "CURLE_OPERATION_TIMEOUTED" "ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" "
6617 #include \"curl/curl.h\"
6620 if test "x$ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" = xyes; then :
6621 ac_have_decl=1
6622 else
6623 ac_have_decl=0
6626 cat >>confdefs.h <<_ACEOF
6627 #define HAVE_DECL_CURLE_OPERATION_TIMEOUTED $ac_have_decl
6628 _ACEOF
6629 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_SET_ASCII" "ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" "
6630 #include \"curl/curl.h\"
6633 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" = xyes; then :
6634 ac_have_decl=1
6635 else
6636 ac_have_decl=0
6639 cat >>confdefs.h <<_ACEOF
6640 #define HAVE_DECL_CURLE_FTP_COULDNT_SET_ASCII $ac_have_decl
6641 _ACEOF
6642 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_PORT_FAILED" "ac_cv_have_decl_CURLE_FTP_PORT_FAILED" "
6643 #include \"curl/curl.h\"
6646 if test "x$ac_cv_have_decl_CURLE_FTP_PORT_FAILED" = xyes; then :
6647 ac_have_decl=1
6648 else
6649 ac_have_decl=0
6652 cat >>confdefs.h <<_ACEOF
6653 #define HAVE_DECL_CURLE_FTP_PORT_FAILED $ac_have_decl
6654 _ACEOF
6655 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_USE_REST" "ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" "
6656 #include \"curl/curl.h\"
6659 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" = xyes; then :
6660 ac_have_decl=1
6661 else
6662 ac_have_decl=0
6665 cat >>confdefs.h <<_ACEOF
6666 #define HAVE_DECL_CURLE_FTP_COULDNT_USE_REST $ac_have_decl
6667 _ACEOF
6668 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_GET_SIZE" "ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" "
6669 #include \"curl/curl.h\"
6672 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" = xyes; then :
6673 ac_have_decl=1
6674 else
6675 ac_have_decl=0
6678 cat >>confdefs.h <<_ACEOF
6679 #define HAVE_DECL_CURLE_FTP_COULDNT_GET_SIZE $ac_have_decl
6680 _ACEOF
6681 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_RANGE_ERROR" "ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" "
6682 #include \"curl/curl.h\"
6685 if test "x$ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" = xyes; then :
6686 ac_have_decl=1
6687 else
6688 ac_have_decl=0
6691 cat >>confdefs.h <<_ACEOF
6692 #define HAVE_DECL_CURLE_HTTP_RANGE_ERROR $ac_have_decl
6693 _ACEOF
6694 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_POST_ERROR" "ac_cv_have_decl_CURLE_HTTP_POST_ERROR" "
6695 #include \"curl/curl.h\"
6698 if test "x$ac_cv_have_decl_CURLE_HTTP_POST_ERROR" = xyes; then :
6699 ac_have_decl=1
6700 else
6701 ac_have_decl=0
6704 cat >>confdefs.h <<_ACEOF
6705 #define HAVE_DECL_CURLE_HTTP_POST_ERROR $ac_have_decl
6706 _ACEOF
6707 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CONNECT_ERROR" "ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" "
6708 #include \"curl/curl.h\"
6711 if test "x$ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" = xyes; then :
6712 ac_have_decl=1
6713 else
6714 ac_have_decl=0
6717 cat >>confdefs.h <<_ACEOF
6718 #define HAVE_DECL_CURLE_SSL_CONNECT_ERROR $ac_have_decl
6719 _ACEOF
6720 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_DOWNLOAD_RESUME" "ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" "
6721 #include \"curl/curl.h\"
6724 if test "x$ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" = xyes; then :
6725 ac_have_decl=1
6726 else
6727 ac_have_decl=0
6730 cat >>confdefs.h <<_ACEOF
6731 #define HAVE_DECL_CURLE_BAD_DOWNLOAD_RESUME $ac_have_decl
6732 _ACEOF
6733 ac_fn_c_check_decl "$LINENO" "CURLE_FILE_COULDNT_READ_FILE" "ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" "
6734 #include \"curl/curl.h\"
6737 if test "x$ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" = xyes; then :
6738 ac_have_decl=1
6739 else
6740 ac_have_decl=0
6743 cat >>confdefs.h <<_ACEOF
6744 #define HAVE_DECL_CURLE_FILE_COULDNT_READ_FILE $ac_have_decl
6745 _ACEOF
6746 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_CANNOT_BIND" "ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" "
6747 #include \"curl/curl.h\"
6750 if test "x$ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" = xyes; then :
6751 ac_have_decl=1
6752 else
6753 ac_have_decl=0
6756 cat >>confdefs.h <<_ACEOF
6757 #define HAVE_DECL_CURLE_LDAP_CANNOT_BIND $ac_have_decl
6758 _ACEOF
6759 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_SEARCH_FAILED" "ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" "
6760 #include \"curl/curl.h\"
6763 if test "x$ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" = xyes; then :
6764 ac_have_decl=1
6765 else
6766 ac_have_decl=0
6769 cat >>confdefs.h <<_ACEOF
6770 #define HAVE_DECL_CURLE_LDAP_SEARCH_FAILED $ac_have_decl
6771 _ACEOF
6772 ac_fn_c_check_decl "$LINENO" "CURLE_LIBRARY_NOT_FOUND" "ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" "
6773 #include \"curl/curl.h\"
6776 if test "x$ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" = xyes; then :
6777 ac_have_decl=1
6778 else
6779 ac_have_decl=0
6782 cat >>confdefs.h <<_ACEOF
6783 #define HAVE_DECL_CURLE_LIBRARY_NOT_FOUND $ac_have_decl
6784 _ACEOF
6785 ac_fn_c_check_decl "$LINENO" "CURLE_FUNCTION_NOT_FOUND" "ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" "
6786 #include \"curl/curl.h\"
6789 if test "x$ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" = xyes; then :
6790 ac_have_decl=1
6791 else
6792 ac_have_decl=0
6795 cat >>confdefs.h <<_ACEOF
6796 #define HAVE_DECL_CURLE_FUNCTION_NOT_FOUND $ac_have_decl
6797 _ACEOF
6798 ac_fn_c_check_decl "$LINENO" "CURLE_ABORTED_BY_CALLBACK" "ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" "
6799 #include \"curl/curl.h\"
6802 if test "x$ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" = xyes; then :
6803 ac_have_decl=1
6804 else
6805 ac_have_decl=0
6808 cat >>confdefs.h <<_ACEOF
6809 #define HAVE_DECL_CURLE_ABORTED_BY_CALLBACK $ac_have_decl
6810 _ACEOF
6811 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_FUNCTION_ARGUMENT" "ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" "
6812 #include \"curl/curl.h\"
6815 if test "x$ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" = xyes; then :
6816 ac_have_decl=1
6817 else
6818 ac_have_decl=0
6821 cat >>confdefs.h <<_ACEOF
6822 #define HAVE_DECL_CURLE_BAD_FUNCTION_ARGUMENT $ac_have_decl
6823 _ACEOF
6824 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_CALLING_ORDER" "ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" "
6825 #include \"curl/curl.h\"
6828 if test "x$ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" = xyes; then :
6829 ac_have_decl=1
6830 else
6831 ac_have_decl=0
6834 cat >>confdefs.h <<_ACEOF
6835 #define HAVE_DECL_CURLE_BAD_CALLING_ORDER $ac_have_decl
6836 _ACEOF
6837 ac_fn_c_check_decl "$LINENO" "CURLE_INTERFACE_FAILED" "ac_cv_have_decl_CURLE_INTERFACE_FAILED" "
6838 #include \"curl/curl.h\"
6841 if test "x$ac_cv_have_decl_CURLE_INTERFACE_FAILED" = xyes; then :
6842 ac_have_decl=1
6843 else
6844 ac_have_decl=0
6847 cat >>confdefs.h <<_ACEOF
6848 #define HAVE_DECL_CURLE_INTERFACE_FAILED $ac_have_decl
6849 _ACEOF
6850 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_PASSWORD_ENTERED" "ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" "
6851 #include \"curl/curl.h\"
6854 if test "x$ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" = xyes; then :
6855 ac_have_decl=1
6856 else
6857 ac_have_decl=0
6860 cat >>confdefs.h <<_ACEOF
6861 #define HAVE_DECL_CURLE_BAD_PASSWORD_ENTERED $ac_have_decl
6862 _ACEOF
6863 ac_fn_c_check_decl "$LINENO" "CURLE_TOO_MANY_REDIRECTS" "ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" "
6864 #include \"curl/curl.h\"
6867 if test "x$ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" = xyes; then :
6868 ac_have_decl=1
6869 else
6870 ac_have_decl=0
6873 cat >>confdefs.h <<_ACEOF
6874 #define HAVE_DECL_CURLE_TOO_MANY_REDIRECTS $ac_have_decl
6875 _ACEOF
6876 ac_fn_c_check_decl "$LINENO" "CURLE_UNKNOWN_TELNET_OPTION" "ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" "
6877 #include \"curl/curl.h\"
6880 if test "x$ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" = xyes; then :
6881 ac_have_decl=1
6882 else
6883 ac_have_decl=0
6886 cat >>confdefs.h <<_ACEOF
6887 #define HAVE_DECL_CURLE_UNKNOWN_TELNET_OPTION $ac_have_decl
6888 _ACEOF
6889 ac_fn_c_check_decl "$LINENO" "CURLE_TELNET_OPTION_SYNTAX" "ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" "
6890 #include \"curl/curl.h\"
6893 if test "x$ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" = xyes; then :
6894 ac_have_decl=1
6895 else
6896 ac_have_decl=0
6899 cat >>confdefs.h <<_ACEOF
6900 #define HAVE_DECL_CURLE_TELNET_OPTION_SYNTAX $ac_have_decl
6901 _ACEOF
6902 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_PEER_CERTIFICATE" "ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" "
6903 #include \"curl/curl.h\"
6906 if test "x$ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" = xyes; then :
6907 ac_have_decl=1
6908 else
6909 ac_have_decl=0
6912 cat >>confdefs.h <<_ACEOF
6913 #define HAVE_DECL_CURLE_SSL_PEER_CERTIFICATE $ac_have_decl
6914 _ACEOF
6915 ac_fn_c_check_decl "$LINENO" "CURLE_GOT_NOTHING" "ac_cv_have_decl_CURLE_GOT_NOTHING" "
6916 #include \"curl/curl.h\"
6919 if test "x$ac_cv_have_decl_CURLE_GOT_NOTHING" = xyes; then :
6920 ac_have_decl=1
6921 else
6922 ac_have_decl=0
6925 cat >>confdefs.h <<_ACEOF
6926 #define HAVE_DECL_CURLE_GOT_NOTHING $ac_have_decl
6927 _ACEOF
6928 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_NOTFOUND" "ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" "
6929 #include \"curl/curl.h\"
6932 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" = xyes; then :
6933 ac_have_decl=1
6934 else
6935 ac_have_decl=0
6938 cat >>confdefs.h <<_ACEOF
6939 #define HAVE_DECL_CURLE_SSL_ENGINE_NOTFOUND $ac_have_decl
6940 _ACEOF
6941 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_SETFAILED" "ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" "
6942 #include \"curl/curl.h\"
6945 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" = xyes; then :
6946 ac_have_decl=1
6947 else
6948 ac_have_decl=0
6951 cat >>confdefs.h <<_ACEOF
6952 #define HAVE_DECL_CURLE_SSL_ENGINE_SETFAILED $ac_have_decl
6953 _ACEOF
6954 ac_fn_c_check_decl "$LINENO" "CURLE_SEND_ERROR" "ac_cv_have_decl_CURLE_SEND_ERROR" "
6955 #include \"curl/curl.h\"
6958 if test "x$ac_cv_have_decl_CURLE_SEND_ERROR" = xyes; then :
6959 ac_have_decl=1
6960 else
6961 ac_have_decl=0
6964 cat >>confdefs.h <<_ACEOF
6965 #define HAVE_DECL_CURLE_SEND_ERROR $ac_have_decl
6966 _ACEOF
6967 ac_fn_c_check_decl "$LINENO" "CURLE_RECV_ERROR" "ac_cv_have_decl_CURLE_RECV_ERROR" "
6968 #include \"curl/curl.h\"
6971 if test "x$ac_cv_have_decl_CURLE_RECV_ERROR" = xyes; then :
6972 ac_have_decl=1
6973 else
6974 ac_have_decl=0
6977 cat >>confdefs.h <<_ACEOF
6978 #define HAVE_DECL_CURLE_RECV_ERROR $ac_have_decl
6979 _ACEOF
6980 ac_fn_c_check_decl "$LINENO" "CURLE_SHARE_IN_USE" "ac_cv_have_decl_CURLE_SHARE_IN_USE" "
6981 #include \"curl/curl.h\"
6984 if test "x$ac_cv_have_decl_CURLE_SHARE_IN_USE" = xyes; then :
6985 ac_have_decl=1
6986 else
6987 ac_have_decl=0
6990 cat >>confdefs.h <<_ACEOF
6991 #define HAVE_DECL_CURLE_SHARE_IN_USE $ac_have_decl
6992 _ACEOF
6993 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CERTPROBLEM" "ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" "
6994 #include \"curl/curl.h\"
6997 if test "x$ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" = xyes; then :
6998 ac_have_decl=1
6999 else
7000 ac_have_decl=0
7003 cat >>confdefs.h <<_ACEOF
7004 #define HAVE_DECL_CURLE_SSL_CERTPROBLEM $ac_have_decl
7005 _ACEOF
7006 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CIPHER" "ac_cv_have_decl_CURLE_SSL_CIPHER" "
7007 #include \"curl/curl.h\"
7010 if test "x$ac_cv_have_decl_CURLE_SSL_CIPHER" = xyes; then :
7011 ac_have_decl=1
7012 else
7013 ac_have_decl=0
7016 cat >>confdefs.h <<_ACEOF
7017 #define HAVE_DECL_CURLE_SSL_CIPHER $ac_have_decl
7018 _ACEOF
7019 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CACERT" "ac_cv_have_decl_CURLE_SSL_CACERT" "
7020 #include \"curl/curl.h\"
7023 if test "x$ac_cv_have_decl_CURLE_SSL_CACERT" = xyes; then :
7024 ac_have_decl=1
7025 else
7026 ac_have_decl=0
7029 cat >>confdefs.h <<_ACEOF
7030 #define HAVE_DECL_CURLE_SSL_CACERT $ac_have_decl
7031 _ACEOF
7032 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_CONTENT_ENCODING" "ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" "
7033 #include \"curl/curl.h\"
7036 if test "x$ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" = xyes; then :
7037 ac_have_decl=1
7038 else
7039 ac_have_decl=0
7042 cat >>confdefs.h <<_ACEOF
7043 #define HAVE_DECL_CURLE_BAD_CONTENT_ENCODING $ac_have_decl
7044 _ACEOF
7045 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_INVALID_URL" "ac_cv_have_decl_CURLE_LDAP_INVALID_URL" "
7046 #include \"curl/curl.h\"
7049 if test "x$ac_cv_have_decl_CURLE_LDAP_INVALID_URL" = xyes; then :
7050 ac_have_decl=1
7051 else
7052 ac_have_decl=0
7055 cat >>confdefs.h <<_ACEOF
7056 #define HAVE_DECL_CURLE_LDAP_INVALID_URL $ac_have_decl
7057 _ACEOF
7058 ac_fn_c_check_decl "$LINENO" "CURLE_FILESIZE_EXCEEDED" "ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" "
7059 #include \"curl/curl.h\"
7062 if test "x$ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" = xyes; then :
7063 ac_have_decl=1
7064 else
7065 ac_have_decl=0
7068 cat >>confdefs.h <<_ACEOF
7069 #define HAVE_DECL_CURLE_FILESIZE_EXCEEDED $ac_have_decl
7070 _ACEOF
7071 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_SSL_FAILED" "ac_cv_have_decl_CURLE_FTP_SSL_FAILED" "
7072 #include \"curl/curl.h\"
7075 if test "x$ac_cv_have_decl_CURLE_FTP_SSL_FAILED" = xyes; then :
7076 ac_have_decl=1
7077 else
7078 ac_have_decl=0
7081 cat >>confdefs.h <<_ACEOF
7082 #define HAVE_DECL_CURLE_FTP_SSL_FAILED $ac_have_decl
7083 _ACEOF
7084 ac_fn_c_check_decl "$LINENO" "CURLE_SEND_FAIL_REWIND" "ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" "
7085 #include \"curl/curl.h\"
7088 if test "x$ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" = xyes; then :
7089 ac_have_decl=1
7090 else
7091 ac_have_decl=0
7094 cat >>confdefs.h <<_ACEOF
7095 #define HAVE_DECL_CURLE_SEND_FAIL_REWIND $ac_have_decl
7096 _ACEOF
7097 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_INITFAILED" "ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" "
7098 #include \"curl/curl.h\"
7101 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" = xyes; then :
7102 ac_have_decl=1
7103 else
7104 ac_have_decl=0
7107 cat >>confdefs.h <<_ACEOF
7108 #define HAVE_DECL_CURLE_SSL_ENGINE_INITFAILED $ac_have_decl
7109 _ACEOF
7110 ac_fn_c_check_decl "$LINENO" "CURLE_LOGIN_DENIED" "ac_cv_have_decl_CURLE_LOGIN_DENIED" "
7111 #include \"curl/curl.h\"
7114 if test "x$ac_cv_have_decl_CURLE_LOGIN_DENIED" = xyes; then :
7115 ac_have_decl=1
7116 else
7117 ac_have_decl=0
7120 cat >>confdefs.h <<_ACEOF
7121 #define HAVE_DECL_CURLE_LOGIN_DENIED $ac_have_decl
7122 _ACEOF
7123 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_NOTFOUND" "ac_cv_have_decl_CURLE_TFTP_NOTFOUND" "
7124 #include \"curl/curl.h\"
7127 if test "x$ac_cv_have_decl_CURLE_TFTP_NOTFOUND" = xyes; then :
7128 ac_have_decl=1
7129 else
7130 ac_have_decl=0
7133 cat >>confdefs.h <<_ACEOF
7134 #define HAVE_DECL_CURLE_TFTP_NOTFOUND $ac_have_decl
7135 _ACEOF
7136 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_PERM" "ac_cv_have_decl_CURLE_TFTP_PERM" "
7137 #include \"curl/curl.h\"
7140 if test "x$ac_cv_have_decl_CURLE_TFTP_PERM" = xyes; then :
7141 ac_have_decl=1
7142 else
7143 ac_have_decl=0
7146 cat >>confdefs.h <<_ACEOF
7147 #define HAVE_DECL_CURLE_TFTP_PERM $ac_have_decl
7148 _ACEOF
7149 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_DISK_FULL" "ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" "
7150 #include \"curl/curl.h\"
7153 if test "x$ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" = xyes; then :
7154 ac_have_decl=1
7155 else
7156 ac_have_decl=0
7159 cat >>confdefs.h <<_ACEOF
7160 #define HAVE_DECL_CURLE_REMOTE_DISK_FULL $ac_have_decl
7161 _ACEOF
7162 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_ILLEGAL" "ac_cv_have_decl_CURLE_TFTP_ILLEGAL" "
7163 #include \"curl/curl.h\"
7166 if test "x$ac_cv_have_decl_CURLE_TFTP_ILLEGAL" = xyes; then :
7167 ac_have_decl=1
7168 else
7169 ac_have_decl=0
7172 cat >>confdefs.h <<_ACEOF
7173 #define HAVE_DECL_CURLE_TFTP_ILLEGAL $ac_have_decl
7174 _ACEOF
7175 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_UNKNOWNID" "ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" "
7176 #include \"curl/curl.h\"
7179 if test "x$ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" = xyes; then :
7180 ac_have_decl=1
7181 else
7182 ac_have_decl=0
7185 cat >>confdefs.h <<_ACEOF
7186 #define HAVE_DECL_CURLE_TFTP_UNKNOWNID $ac_have_decl
7187 _ACEOF
7188 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_FILE_EXISTS" "ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" "
7189 #include \"curl/curl.h\"
7192 if test "x$ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" = xyes; then :
7193 ac_have_decl=1
7194 else
7195 ac_have_decl=0
7198 cat >>confdefs.h <<_ACEOF
7199 #define HAVE_DECL_CURLE_REMOTE_FILE_EXISTS $ac_have_decl
7200 _ACEOF
7201 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_NOSUCHUSER" "ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" "
7202 #include \"curl/curl.h\"
7205 if test "x$ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" = xyes; then :
7206 ac_have_decl=1
7207 else
7208 ac_have_decl=0
7211 cat >>confdefs.h <<_ACEOF
7212 #define HAVE_DECL_CURLE_TFTP_NOSUCHUSER $ac_have_decl
7213 _ACEOF
7214 ac_fn_c_check_decl "$LINENO" "CURLE_CONV_FAILED" "ac_cv_have_decl_CURLE_CONV_FAILED" "
7215 #include \"curl/curl.h\"
7218 if test "x$ac_cv_have_decl_CURLE_CONV_FAILED" = xyes; then :
7219 ac_have_decl=1
7220 else
7221 ac_have_decl=0
7224 cat >>confdefs.h <<_ACEOF
7225 #define HAVE_DECL_CURLE_CONV_FAILED $ac_have_decl
7226 _ACEOF
7227 ac_fn_c_check_decl "$LINENO" "CURLE_CONV_REQD" "ac_cv_have_decl_CURLE_CONV_REQD" "
7228 #include \"curl/curl.h\"
7231 if test "x$ac_cv_have_decl_CURLE_CONV_REQD" = xyes; then :
7232 ac_have_decl=1
7233 else
7234 ac_have_decl=0
7237 cat >>confdefs.h <<_ACEOF
7238 #define HAVE_DECL_CURLE_CONV_REQD $ac_have_decl
7239 _ACEOF
7240 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CACERT_BADFILE" "ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" "
7241 #include \"curl/curl.h\"
7244 if test "x$ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" = xyes; then :
7245 ac_have_decl=1
7246 else
7247 ac_have_decl=0
7250 cat >>confdefs.h <<_ACEOF
7251 #define HAVE_DECL_CURLE_SSL_CACERT_BADFILE $ac_have_decl
7252 _ACEOF
7253 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_FILE_NOT_FOUND" "ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" "
7254 #include \"curl/curl.h\"
7257 if test "x$ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" = xyes; then :
7258 ac_have_decl=1
7259 else
7260 ac_have_decl=0
7263 cat >>confdefs.h <<_ACEOF
7264 #define HAVE_DECL_CURLE_REMOTE_FILE_NOT_FOUND $ac_have_decl
7265 _ACEOF
7266 ac_fn_c_check_decl "$LINENO" "CURLE_SSH" "ac_cv_have_decl_CURLE_SSH" "
7267 #include \"curl/curl.h\"
7270 if test "x$ac_cv_have_decl_CURLE_SSH" = xyes; then :
7271 ac_have_decl=1
7272 else
7273 ac_have_decl=0
7276 cat >>confdefs.h <<_ACEOF
7277 #define HAVE_DECL_CURLE_SSH $ac_have_decl
7278 _ACEOF
7279 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_SHUTDOWN_FAILED" "ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED" "
7280 #include \"curl/curl.h\"
7283 if test "x$ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED" = xyes; then :
7284 ac_have_decl=1
7285 else
7286 ac_have_decl=0
7289 cat >>confdefs.h <<_ACEOF
7290 #define HAVE_DECL_CURLE_SSL_SHUTDOWN_FAILED $ac_have_decl
7291 _ACEOF
7292 ac_fn_c_check_decl "$LINENO" "CURLE_AGAIN" "ac_cv_have_decl_CURLE_AGAIN" "
7293 #include \"curl/curl.h\"
7296 if test "x$ac_cv_have_decl_CURLE_AGAIN" = xyes; then :
7297 ac_have_decl=1
7298 else
7299 ac_have_decl=0
7302 cat >>confdefs.h <<_ACEOF
7303 #define HAVE_DECL_CURLE_AGAIN $ac_have_decl
7304 _ACEOF
7305 ac_fn_c_check_decl "$LINENO" "CURL_VERSION_TLSAUTH_SRP" "ac_cv_have_decl_CURL_VERSION_TLSAUTH_SRP" "
7306 #include \"curl/curl.h\"
7309 if test "x$ac_cv_have_decl_CURL_VERSION_TLSAUTH_SRP" = xyes; then :
7310 ac_have_decl=1
7311 else
7312 ac_have_decl=0
7315 cat >>confdefs.h <<_ACEOF
7316 #define HAVE_DECL_CURL_VERSION_TLSAUTH_SRP $ac_have_decl
7317 _ACEOF
7318 ac_fn_c_check_decl "$LINENO" "CURL_VERSION_NTLM_WB" "ac_cv_have_decl_CURL_VERSION_NTLM_WB" "
7319 #include \"curl/curl.h\"
7322 if test "x$ac_cv_have_decl_CURL_VERSION_NTLM_WB" = xyes; then :
7323 ac_have_decl=1
7324 else
7325 ac_have_decl=0
7328 cat >>confdefs.h <<_ACEOF
7329 #define HAVE_DECL_CURL_VERSION_NTLM_WB $ac_have_decl
7330 _ACEOF
7333 ac_config_headers="$ac_config_headers config.h"
7335 ac_config_files="$ac_config_files Makefile examples/Makefile"
7338 cat >confcache <<\_ACEOF
7339 # This file is a shell script that caches the results of configure
7340 # tests run on this system so they can be shared between configure
7341 # scripts and configure runs, see configure's option --config-cache.
7342 # It is not useful on other systems. If it contains results you don't
7343 # want to keep, you may remove or edit it.
7345 # config.status only pays attention to the cache file if you give it
7346 # the --recheck option to rerun configure.
7348 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7349 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7350 # following values.
7352 _ACEOF
7354 # The following way of writing the cache mishandles newlines in values,
7355 # but we know of no workaround that is simple, portable, and efficient.
7356 # So, we kill variables containing newlines.
7357 # Ultrix sh set writes to stderr and can't be redirected directly,
7358 # and sets the high bit in the cache file unless we assign to the vars.
7360 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7361 eval ac_val=\$$ac_var
7362 case $ac_val in #(
7363 *${as_nl}*)
7364 case $ac_var in #(
7365 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7366 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7367 esac
7368 case $ac_var in #(
7369 _ | IFS | as_nl) ;; #(
7370 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7371 *) { eval $ac_var=; unset $ac_var;} ;;
7372 esac ;;
7373 esac
7374 done
7376 (set) 2>&1 |
7377 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7378 *${as_nl}ac_space=\ *)
7379 # `set' does not quote correctly, so add quotes: double-quote
7380 # substitution turns \\\\ into \\, and sed turns \\ into \.
7381 sed -n \
7382 "s/'/'\\\\''/g;
7383 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7384 ;; #(
7386 # `set' quotes correctly as required by POSIX, so do not add quotes.
7387 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7389 esac |
7390 sort
7392 sed '
7393 /^ac_cv_env_/b end
7394 t clear
7395 :clear
7396 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7397 t end
7398 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7399 :end' >>confcache
7400 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7401 if test -w "$cache_file"; then
7402 if test "x$cache_file" != "x/dev/null"; then
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7404 $as_echo "$as_me: updating cache $cache_file" >&6;}
7405 if test ! -f "$cache_file" || test -h "$cache_file"; then
7406 cat confcache >"$cache_file"
7407 else
7408 case $cache_file in #(
7409 */* | ?:*)
7410 mv -f confcache "$cache_file"$$ &&
7411 mv -f "$cache_file"$$ "$cache_file" ;; #(
7413 mv -f confcache "$cache_file" ;;
7414 esac
7417 else
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7419 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7422 rm -f confcache
7424 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7425 # Let make expand exec_prefix.
7426 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7428 DEFS=-DHAVE_CONFIG_H
7430 ac_libobjs=
7431 ac_ltlibobjs=
7433 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7434 # 1. Remove the extension, and $U if already installed.
7435 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7436 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7437 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7438 # will be set to the directory where LIBOBJS objects are built.
7439 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7440 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7441 done
7442 LIBOBJS=$ac_libobjs
7444 LTLIBOBJS=$ac_ltlibobjs
7448 : "${CONFIG_STATUS=./config.status}"
7449 ac_write_fail=0
7450 ac_clean_files_save=$ac_clean_files
7451 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7453 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7454 as_write_fail=0
7455 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7456 #! $SHELL
7457 # Generated by $as_me.
7458 # Run this file to recreate the current configuration.
7459 # Compiler output produced by configure, useful for debugging
7460 # configure, is in config.log if it exists.
7462 debug=false
7463 ac_cs_recheck=false
7464 ac_cs_silent=false
7466 SHELL=\${CONFIG_SHELL-$SHELL}
7467 export SHELL
7468 _ASEOF
7469 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7470 ## -------------------- ##
7471 ## M4sh Initialization. ##
7472 ## -------------------- ##
7474 # Be more Bourne compatible
7475 DUALCASE=1; export DUALCASE # for MKS sh
7476 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7477 emulate sh
7478 NULLCMD=:
7479 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7480 # is contrary to our usage. Disable this feature.
7481 alias -g '${1+"$@"}'='"$@"'
7482 setopt NO_GLOB_SUBST
7483 else
7484 case `(set -o) 2>/dev/null` in #(
7485 *posix*) :
7486 set -o posix ;; #(
7487 *) :
7489 esac
7493 as_nl='
7495 export as_nl
7496 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7497 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7498 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7499 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7500 # Prefer a ksh shell builtin over an external printf program on Solaris,
7501 # but without wasting forks for bash or zsh.
7502 if test -z "$BASH_VERSION$ZSH_VERSION" \
7503 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7504 as_echo='print -r --'
7505 as_echo_n='print -rn --'
7506 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7507 as_echo='printf %s\n'
7508 as_echo_n='printf %s'
7509 else
7510 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7511 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7512 as_echo_n='/usr/ucb/echo -n'
7513 else
7514 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7515 as_echo_n_body='eval
7516 arg=$1;
7517 case $arg in #(
7518 *"$as_nl"*)
7519 expr "X$arg" : "X\\(.*\\)$as_nl";
7520 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7521 esac;
7522 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7524 export as_echo_n_body
7525 as_echo_n='sh -c $as_echo_n_body as_echo'
7527 export as_echo_body
7528 as_echo='sh -c $as_echo_body as_echo'
7531 # The user is always right.
7532 if test "${PATH_SEPARATOR+set}" != set; then
7533 PATH_SEPARATOR=:
7534 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7535 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7536 PATH_SEPARATOR=';'
7541 # IFS
7542 # We need space, tab and new line, in precisely that order. Quoting is
7543 # there to prevent editors from complaining about space-tab.
7544 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7545 # splitting by setting IFS to empty value.)
7546 IFS=" "" $as_nl"
7548 # Find who we are. Look in the path if we contain no directory separator.
7549 as_myself=
7550 case $0 in #((
7551 *[\\/]* ) as_myself=$0 ;;
7552 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7553 for as_dir in $PATH
7555 IFS=$as_save_IFS
7556 test -z "$as_dir" && as_dir=.
7557 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7558 done
7559 IFS=$as_save_IFS
7562 esac
7563 # We did not find ourselves, most probably we were run as `sh COMMAND'
7564 # in which case we are not to be found in the path.
7565 if test "x$as_myself" = x; then
7566 as_myself=$0
7568 if test ! -f "$as_myself"; then
7569 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7570 exit 1
7573 # Unset variables that we do not need and which cause bugs (e.g. in
7574 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7575 # suppresses any "Segmentation fault" message there. '((' could
7576 # trigger a bug in pdksh 5.2.14.
7577 for as_var in BASH_ENV ENV MAIL MAILPATH
7578 do eval test x\${$as_var+set} = xset \
7579 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7580 done
7581 PS1='$ '
7582 PS2='> '
7583 PS4='+ '
7585 # NLS nuisances.
7586 LC_ALL=C
7587 export LC_ALL
7588 LANGUAGE=C
7589 export LANGUAGE
7591 # CDPATH.
7592 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7595 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7596 # ----------------------------------------
7597 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7598 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7599 # script with STATUS, using 1 if that was 0.
7600 as_fn_error ()
7602 as_status=$1; test $as_status -eq 0 && as_status=1
7603 if test "$4"; then
7604 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7605 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7607 $as_echo "$as_me: error: $2" >&2
7608 as_fn_exit $as_status
7609 } # as_fn_error
7612 # as_fn_set_status STATUS
7613 # -----------------------
7614 # Set $? to STATUS, without forking.
7615 as_fn_set_status ()
7617 return $1
7618 } # as_fn_set_status
7620 # as_fn_exit STATUS
7621 # -----------------
7622 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7623 as_fn_exit ()
7625 set +e
7626 as_fn_set_status $1
7627 exit $1
7628 } # as_fn_exit
7630 # as_fn_unset VAR
7631 # ---------------
7632 # Portably unset VAR.
7633 as_fn_unset ()
7635 { eval $1=; unset $1;}
7637 as_unset=as_fn_unset
7638 # as_fn_append VAR VALUE
7639 # ----------------------
7640 # Append the text in VALUE to the end of the definition contained in VAR. Take
7641 # advantage of any shell optimizations that allow amortized linear growth over
7642 # repeated appends, instead of the typical quadratic growth present in naive
7643 # implementations.
7644 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7645 eval 'as_fn_append ()
7647 eval $1+=\$2
7649 else
7650 as_fn_append ()
7652 eval $1=\$$1\$2
7654 fi # as_fn_append
7656 # as_fn_arith ARG...
7657 # ------------------
7658 # Perform arithmetic evaluation on the ARGs, and store the result in the
7659 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7660 # must be portable across $(()) and expr.
7661 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7662 eval 'as_fn_arith ()
7664 as_val=$(( $* ))
7666 else
7667 as_fn_arith ()
7669 as_val=`expr "$@" || test $? -eq 1`
7671 fi # as_fn_arith
7674 if expr a : '\(a\)' >/dev/null 2>&1 &&
7675 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7676 as_expr=expr
7677 else
7678 as_expr=false
7681 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7682 as_basename=basename
7683 else
7684 as_basename=false
7687 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7688 as_dirname=dirname
7689 else
7690 as_dirname=false
7693 as_me=`$as_basename -- "$0" ||
7694 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7695 X"$0" : 'X\(//\)$' \| \
7696 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7697 $as_echo X/"$0" |
7698 sed '/^.*\/\([^/][^/]*\)\/*$/{
7699 s//\1/
7702 /^X\/\(\/\/\)$/{
7703 s//\1/
7706 /^X\/\(\/\).*/{
7707 s//\1/
7710 s/.*/./; q'`
7712 # Avoid depending upon Character Ranges.
7713 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7714 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7715 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7716 as_cr_digits='0123456789'
7717 as_cr_alnum=$as_cr_Letters$as_cr_digits
7719 ECHO_C= ECHO_N= ECHO_T=
7720 case `echo -n x` in #(((((
7721 -n*)
7722 case `echo 'xy\c'` in
7723 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7724 xy) ECHO_C='\c';;
7725 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7726 ECHO_T=' ';;
7727 esac;;
7729 ECHO_N='-n';;
7730 esac
7732 rm -f conf$$ conf$$.exe conf$$.file
7733 if test -d conf$$.dir; then
7734 rm -f conf$$.dir/conf$$.file
7735 else
7736 rm -f conf$$.dir
7737 mkdir conf$$.dir 2>/dev/null
7739 if (echo >conf$$.file) 2>/dev/null; then
7740 if ln -s conf$$.file conf$$ 2>/dev/null; then
7741 as_ln_s='ln -s'
7742 # ... but there are two gotchas:
7743 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7744 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7745 # In both cases, we have to default to `cp -pR'.
7746 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7747 as_ln_s='cp -pR'
7748 elif ln conf$$.file conf$$ 2>/dev/null; then
7749 as_ln_s=ln
7750 else
7751 as_ln_s='cp -pR'
7753 else
7754 as_ln_s='cp -pR'
7756 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7757 rmdir conf$$.dir 2>/dev/null
7760 # as_fn_mkdir_p
7761 # -------------
7762 # Create "$as_dir" as a directory, including parents if necessary.
7763 as_fn_mkdir_p ()
7766 case $as_dir in #(
7767 -*) as_dir=./$as_dir;;
7768 esac
7769 test -d "$as_dir" || eval $as_mkdir_p || {
7770 as_dirs=
7771 while :; do
7772 case $as_dir in #(
7773 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7774 *) as_qdir=$as_dir;;
7775 esac
7776 as_dirs="'$as_qdir' $as_dirs"
7777 as_dir=`$as_dirname -- "$as_dir" ||
7778 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7779 X"$as_dir" : 'X\(//\)[^/]' \| \
7780 X"$as_dir" : 'X\(//\)$' \| \
7781 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7782 $as_echo X"$as_dir" |
7783 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7784 s//\1/
7787 /^X\(\/\/\)[^/].*/{
7788 s//\1/
7791 /^X\(\/\/\)$/{
7792 s//\1/
7795 /^X\(\/\).*/{
7796 s//\1/
7799 s/.*/./; q'`
7800 test -d "$as_dir" && break
7801 done
7802 test -z "$as_dirs" || eval "mkdir $as_dirs"
7803 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7806 } # as_fn_mkdir_p
7807 if mkdir -p . 2>/dev/null; then
7808 as_mkdir_p='mkdir -p "$as_dir"'
7809 else
7810 test -d ./-p && rmdir ./-p
7811 as_mkdir_p=false
7815 # as_fn_executable_p FILE
7816 # -----------------------
7817 # Test if FILE is an executable regular file.
7818 as_fn_executable_p ()
7820 test -f "$1" && test -x "$1"
7821 } # as_fn_executable_p
7822 as_test_x='test -x'
7823 as_executable_p=as_fn_executable_p
7825 # Sed expression to map a string onto a valid CPP name.
7826 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7828 # Sed expression to map a string onto a valid variable name.
7829 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7832 exec 6>&1
7833 ## ----------------------------------- ##
7834 ## Main body of $CONFIG_STATUS script. ##
7835 ## ----------------------------------- ##
7836 _ASEOF
7837 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7840 # Save the log message, to keep $0 and so on meaningful, and to
7841 # report actual input values of CONFIG_FILES etc. instead of their
7842 # values after options handling.
7843 ac_log="
7844 This file was extended by ocurl $as_me 0.6.1, which was
7845 generated by GNU Autoconf 2.69. Invocation command line was
7847 CONFIG_FILES = $CONFIG_FILES
7848 CONFIG_HEADERS = $CONFIG_HEADERS
7849 CONFIG_LINKS = $CONFIG_LINKS
7850 CONFIG_COMMANDS = $CONFIG_COMMANDS
7851 $ $0 $@
7853 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7856 _ACEOF
7858 case $ac_config_files in *"
7859 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7860 esac
7862 case $ac_config_headers in *"
7863 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7864 esac
7867 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7868 # Files that config.status was made for.
7869 config_files="$ac_config_files"
7870 config_headers="$ac_config_headers"
7872 _ACEOF
7874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7875 ac_cs_usage="\
7876 \`$as_me' instantiates files and other configuration actions
7877 from templates according to the current configuration. Unless the files
7878 and actions are specified as TAGs, all are instantiated by default.
7880 Usage: $0 [OPTION]... [TAG]...
7882 -h, --help print this help, then exit
7883 -V, --version print version number and configuration settings, then exit
7884 --config print configuration, then exit
7885 -q, --quiet, --silent
7886 do not print progress messages
7887 -d, --debug don't remove temporary files
7888 --recheck update $as_me by reconfiguring in the same conditions
7889 --file=FILE[:TEMPLATE]
7890 instantiate the configuration file FILE
7891 --header=FILE[:TEMPLATE]
7892 instantiate the configuration header FILE
7894 Configuration files:
7895 $config_files
7897 Configuration headers:
7898 $config_headers
7900 Report bugs to the package provider."
7902 _ACEOF
7903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7904 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7905 ac_cs_version="\\
7906 ocurl config.status 0.6.1
7907 configured by $0, generated by GNU Autoconf 2.69,
7908 with options \\"\$ac_cs_config\\"
7910 Copyright (C) 2012 Free Software Foundation, Inc.
7911 This config.status script is free software; the Free Software Foundation
7912 gives unlimited permission to copy, distribute and modify it."
7914 ac_pwd='$ac_pwd'
7915 srcdir='$srcdir'
7916 INSTALL='$INSTALL'
7917 test -n "\$AWK" || AWK=awk
7918 _ACEOF
7920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7921 # The default lists apply if the user does not specify any file.
7922 ac_need_defaults=:
7923 while test $# != 0
7925 case $1 in
7926 --*=?*)
7927 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7928 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7929 ac_shift=:
7931 --*=)
7932 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7933 ac_optarg=
7934 ac_shift=:
7937 ac_option=$1
7938 ac_optarg=$2
7939 ac_shift=shift
7941 esac
7943 case $ac_option in
7944 # Handling of the options.
7945 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7946 ac_cs_recheck=: ;;
7947 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7948 $as_echo "$ac_cs_version"; exit ;;
7949 --config | --confi | --conf | --con | --co | --c )
7950 $as_echo "$ac_cs_config"; exit ;;
7951 --debug | --debu | --deb | --de | --d | -d )
7952 debug=: ;;
7953 --file | --fil | --fi | --f )
7954 $ac_shift
7955 case $ac_optarg in
7956 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7957 '') as_fn_error $? "missing file argument" ;;
7958 esac
7959 as_fn_append CONFIG_FILES " '$ac_optarg'"
7960 ac_need_defaults=false;;
7961 --header | --heade | --head | --hea )
7962 $ac_shift
7963 case $ac_optarg in
7964 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7965 esac
7966 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7967 ac_need_defaults=false;;
7968 --he | --h)
7969 # Conflict between --help and --header
7970 as_fn_error $? "ambiguous option: \`$1'
7971 Try \`$0 --help' for more information.";;
7972 --help | --hel | -h )
7973 $as_echo "$ac_cs_usage"; exit ;;
7974 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7975 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7976 ac_cs_silent=: ;;
7978 # This is an error.
7979 -*) as_fn_error $? "unrecognized option: \`$1'
7980 Try \`$0 --help' for more information." ;;
7982 *) as_fn_append ac_config_targets " $1"
7983 ac_need_defaults=false ;;
7985 esac
7986 shift
7987 done
7989 ac_configure_extra_args=
7991 if $ac_cs_silent; then
7992 exec 6>/dev/null
7993 ac_configure_extra_args="$ac_configure_extra_args --silent"
7996 _ACEOF
7997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7998 if \$ac_cs_recheck; then
7999 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8000 shift
8001 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8002 CONFIG_SHELL='$SHELL'
8003 export CONFIG_SHELL
8004 exec "\$@"
8007 _ACEOF
8008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8009 exec 5>>config.log
8011 echo
8012 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8013 ## Running $as_me. ##
8014 _ASBOX
8015 $as_echo "$ac_log"
8016 } >&5
8018 _ACEOF
8019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8020 _ACEOF
8022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8024 # Handling of arguments.
8025 for ac_config_target in $ac_config_targets
8027 case $ac_config_target in
8028 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8029 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8030 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
8032 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8033 esac
8034 done
8037 # If the user did not use the arguments to specify the items to instantiate,
8038 # then the envvar interface is used. Set only those that are not.
8039 # We use the long form for the default assignment because of an extremely
8040 # bizarre bug on SunOS 4.1.3.
8041 if $ac_need_defaults; then
8042 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8043 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8046 # Have a temporary directory for convenience. Make it in the build tree
8047 # simply because there is no reason against having it here, and in addition,
8048 # creating and moving files from /tmp can sometimes cause problems.
8049 # Hook for its removal unless debugging.
8050 # Note that there is a small window in which the directory will not be cleaned:
8051 # after its creation but before its name has been assigned to `$tmp'.
8052 $debug ||
8054 tmp= ac_tmp=
8055 trap 'exit_status=$?
8056 : "${ac_tmp:=$tmp}"
8057 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8059 trap 'as_fn_exit 1' 1 2 13 15
8061 # Create a (secure) tmp directory for tmp files.
8064 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8065 test -d "$tmp"
8066 } ||
8068 tmp=./conf$$-$RANDOM
8069 (umask 077 && mkdir "$tmp")
8070 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8071 ac_tmp=$tmp
8073 # Set up the scripts for CONFIG_FILES section.
8074 # No need to generate them if there are no CONFIG_FILES.
8075 # This happens for instance with `./config.status config.h'.
8076 if test -n "$CONFIG_FILES"; then
8079 ac_cr=`echo X | tr X '\015'`
8080 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8081 # But we know of no other shell where ac_cr would be empty at this
8082 # point, so we can use a bashism as a fallback.
8083 if test "x$ac_cr" = x; then
8084 eval ac_cr=\$\'\\r\'
8086 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8087 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8088 ac_cs_awk_cr='\\r'
8089 else
8090 ac_cs_awk_cr=$ac_cr
8093 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8094 _ACEOF
8098 echo "cat >conf$$subs.awk <<_ACEOF" &&
8099 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8100 echo "_ACEOF"
8101 } >conf$$subs.sh ||
8102 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8103 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8104 ac_delim='%!_!# '
8105 for ac_last_try in false false false false false :; do
8106 . ./conf$$subs.sh ||
8107 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8109 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8110 if test $ac_delim_n = $ac_delim_num; then
8111 break
8112 elif $ac_last_try; then
8113 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8114 else
8115 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8117 done
8118 rm -f conf$$subs.sh
8120 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8121 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8122 _ACEOF
8123 sed -n '
8125 s/^/S["/; s/!.*/"]=/
8128 s/^[^!]*!//
8129 :repl
8130 t repl
8131 s/'"$ac_delim"'$//
8132 t delim
8135 s/\(.\{148\}\)..*/\1/
8136 t more1
8137 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8140 b repl
8141 :more1
8142 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8145 s/.\{148\}//
8146 t nl
8147 :delim
8149 s/\(.\{148\}\)..*/\1/
8150 t more2
8151 s/["\\]/\\&/g; s/^/"/; s/$/"/
8154 :more2
8155 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8158 s/.\{148\}//
8159 t delim
8160 ' <conf$$subs.awk | sed '
8161 /^[^""]/{
8163 s/\n//
8165 ' >>$CONFIG_STATUS || ac_write_fail=1
8166 rm -f conf$$subs.awk
8167 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8168 _ACAWK
8169 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8170 for (key in S) S_is_set[key] = 1
8171 FS = "\a"
8175 line = $ 0
8176 nfields = split(line, field, "@")
8177 substed = 0
8178 len = length(field[1])
8179 for (i = 2; i < nfields; i++) {
8180 key = field[i]
8181 keylen = length(key)
8182 if (S_is_set[key]) {
8183 value = S[key]
8184 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8185 len += length(value) + length(field[++i])
8186 substed = 1
8187 } else
8188 len += 1 + keylen
8191 print line
8194 _ACAWK
8195 _ACEOF
8196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8197 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8198 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8199 else
8201 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8202 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8203 _ACEOF
8205 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8206 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8207 # trailing colons and then remove the whole line if VPATH becomes empty
8208 # (actually we leave an empty line to preserve line numbers).
8209 if test "x$srcdir" = x.; then
8210 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8212 s///
8213 s/^/:/
8214 s/[ ]*$/:/
8215 s/:\$(srcdir):/:/g
8216 s/:\${srcdir}:/:/g
8217 s/:@srcdir@:/:/g
8218 s/^:*//
8219 s/:*$//
8221 s/\(=[ ]*\).*/\1/
8223 s/\n//
8224 s/^[^=]*=[ ]*$//
8228 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8229 fi # test -n "$CONFIG_FILES"
8231 # Set up the scripts for CONFIG_HEADERS section.
8232 # No need to generate them if there are no CONFIG_HEADERS.
8233 # This happens for instance with `./config.status Makefile'.
8234 if test -n "$CONFIG_HEADERS"; then
8235 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
8236 BEGIN {
8237 _ACEOF
8239 # Transform confdefs.h into an awk script `defines.awk', embedded as
8240 # here-document in config.status, that substitutes the proper values into
8241 # config.h.in to produce config.h.
8243 # Create a delimiter string that does not exist in confdefs.h, to ease
8244 # handling of long lines.
8245 ac_delim='%!_!# '
8246 for ac_last_try in false false :; do
8247 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
8248 if test -z "$ac_tt"; then
8249 break
8250 elif $ac_last_try; then
8251 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8252 else
8253 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8255 done
8257 # For the awk script, D is an array of macro values keyed by name,
8258 # likewise P contains macro parameters if any. Preserve backslash
8259 # newline sequences.
8261 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8262 sed -n '
8263 s/.\{148\}/&'"$ac_delim"'/g
8264 t rset
8265 :rset
8266 s/^[ ]*#[ ]*define[ ][ ]*/ /
8267 t def
8269 :def
8270 s/\\$//
8271 t bsnl
8272 s/["\\]/\\&/g
8273 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8274 D["\1"]=" \3"/p
8275 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8277 :bsnl
8278 s/["\\]/\\&/g
8279 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8280 D["\1"]=" \3\\\\\\n"\\/p
8281 t cont
8282 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8283 t cont
8285 :cont
8287 s/.\{148\}/&'"$ac_delim"'/g
8288 t clear
8289 :clear
8290 s/\\$//
8291 t bsnlc
8292 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8294 :bsnlc
8295 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8296 b cont
8297 ' <confdefs.h | sed '
8298 s/'"$ac_delim"'/"\\\
8299 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8301 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8302 for (key in D) D_is_set[key] = 1
8303 FS = "\a"
8305 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8306 line = \$ 0
8307 split(line, arg, " ")
8308 if (arg[1] == "#") {
8309 defundef = arg[2]
8310 mac1 = arg[3]
8311 } else {
8312 defundef = substr(arg[1], 2)
8313 mac1 = arg[2]
8315 split(mac1, mac2, "(") #)
8316 macro = mac2[1]
8317 prefix = substr(line, 1, index(line, defundef) - 1)
8318 if (D_is_set[macro]) {
8319 # Preserve the white space surrounding the "#".
8320 print prefix "define", macro P[macro] D[macro]
8321 next
8322 } else {
8323 # Replace #undef with comments. This is necessary, for example,
8324 # in the case of _POSIX_SOURCE, which is predefined and required
8325 # on some systems where configure will not decide to define it.
8326 if (defundef == "undef") {
8327 print "/*", prefix defundef, macro, "*/"
8328 next
8332 { print }
8333 _ACAWK
8334 _ACEOF
8335 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8336 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8337 fi # test -n "$CONFIG_HEADERS"
8340 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
8341 shift
8342 for ac_tag
8344 case $ac_tag in
8345 :[FHLC]) ac_mode=$ac_tag; continue;;
8346 esac
8347 case $ac_mode$ac_tag in
8348 :[FHL]*:*);;
8349 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8350 :[FH]-) ac_tag=-:-;;
8351 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8352 esac
8353 ac_save_IFS=$IFS
8354 IFS=:
8355 set x $ac_tag
8356 IFS=$ac_save_IFS
8357 shift
8358 ac_file=$1
8359 shift
8361 case $ac_mode in
8362 :L) ac_source=$1;;
8363 :[FH])
8364 ac_file_inputs=
8365 for ac_f
8367 case $ac_f in
8368 -) ac_f="$ac_tmp/stdin";;
8369 *) # Look for the file first in the build tree, then in the source tree
8370 # (if the path is not absolute). The absolute path cannot be DOS-style,
8371 # because $ac_f cannot contain `:'.
8372 test -f "$ac_f" ||
8373 case $ac_f in
8374 [\\/$]*) false;;
8375 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8376 esac ||
8377 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8378 esac
8379 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8380 as_fn_append ac_file_inputs " '$ac_f'"
8381 done
8383 # Let's still pretend it is `configure' which instantiates (i.e., don't
8384 # use $as_me), people would be surprised to read:
8385 # /* config.h. Generated by config.status. */
8386 configure_input='Generated from '`
8387 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8388 `' by configure.'
8389 if test x"$ac_file" != x-; then
8390 configure_input="$ac_file. $configure_input"
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8392 $as_echo "$as_me: creating $ac_file" >&6;}
8394 # Neutralize special characters interpreted by sed in replacement strings.
8395 case $configure_input in #(
8396 *\&* | *\|* | *\\* )
8397 ac_sed_conf_input=`$as_echo "$configure_input" |
8398 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8399 *) ac_sed_conf_input=$configure_input;;
8400 esac
8402 case $ac_tag in
8403 *:-:* | *:-) cat >"$ac_tmp/stdin" \
8404 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8405 esac
8407 esac
8409 ac_dir=`$as_dirname -- "$ac_file" ||
8410 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8411 X"$ac_file" : 'X\(//\)[^/]' \| \
8412 X"$ac_file" : 'X\(//\)$' \| \
8413 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8414 $as_echo X"$ac_file" |
8415 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8416 s//\1/
8419 /^X\(\/\/\)[^/].*/{
8420 s//\1/
8423 /^X\(\/\/\)$/{
8424 s//\1/
8427 /^X\(\/\).*/{
8428 s//\1/
8431 s/.*/./; q'`
8432 as_dir="$ac_dir"; as_fn_mkdir_p
8433 ac_builddir=.
8435 case "$ac_dir" in
8436 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8438 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8439 # A ".." for each directory in $ac_dir_suffix.
8440 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8441 case $ac_top_builddir_sub in
8442 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8443 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8444 esac ;;
8445 esac
8446 ac_abs_top_builddir=$ac_pwd
8447 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8448 # for backward compatibility:
8449 ac_top_builddir=$ac_top_build_prefix
8451 case $srcdir in
8452 .) # We are building in place.
8453 ac_srcdir=.
8454 ac_top_srcdir=$ac_top_builddir_sub
8455 ac_abs_top_srcdir=$ac_pwd ;;
8456 [\\/]* | ?:[\\/]* ) # Absolute name.
8457 ac_srcdir=$srcdir$ac_dir_suffix;
8458 ac_top_srcdir=$srcdir
8459 ac_abs_top_srcdir=$srcdir ;;
8460 *) # Relative name.
8461 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8462 ac_top_srcdir=$ac_top_build_prefix$srcdir
8463 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8464 esac
8465 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8468 case $ac_mode in
8471 # CONFIG_FILE
8474 case $INSTALL in
8475 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8476 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8477 esac
8478 _ACEOF
8480 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8481 # If the template does not know about datarootdir, expand it.
8482 # FIXME: This hack should be removed a few years after 2.60.
8483 ac_datarootdir_hack=; ac_datarootdir_seen=
8484 ac_sed_dataroot='
8485 /datarootdir/ {
8489 /@datadir@/p
8490 /@docdir@/p
8491 /@infodir@/p
8492 /@localedir@/p
8493 /@mandir@/p'
8494 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8495 *datarootdir*) ac_datarootdir_seen=yes;;
8496 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8498 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8499 _ACEOF
8500 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8501 ac_datarootdir_hack='
8502 s&@datadir@&$datadir&g
8503 s&@docdir@&$docdir&g
8504 s&@infodir@&$infodir&g
8505 s&@localedir@&$localedir&g
8506 s&@mandir@&$mandir&g
8507 s&\\\${datarootdir}&$datarootdir&g' ;;
8508 esac
8509 _ACEOF
8511 # Neutralize VPATH when `$srcdir' = `.'.
8512 # Shell code in configure.ac might set extrasub.
8513 # FIXME: do we really want to maintain this feature?
8514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8515 ac_sed_extra="$ac_vpsub
8516 $extrasub
8517 _ACEOF
8518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8520 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8521 s|@configure_input@|$ac_sed_conf_input|;t t
8522 s&@top_builddir@&$ac_top_builddir_sub&;t t
8523 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8524 s&@srcdir@&$ac_srcdir&;t t
8525 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8526 s&@top_srcdir@&$ac_top_srcdir&;t t
8527 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8528 s&@builddir@&$ac_builddir&;t t
8529 s&@abs_builddir@&$ac_abs_builddir&;t t
8530 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8531 s&@INSTALL@&$ac_INSTALL&;t t
8532 $ac_datarootdir_hack
8534 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8535 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8537 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8538 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8539 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8540 "$ac_tmp/out"`; test -z "$ac_out"; } &&
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8542 which seems to be undefined. Please make sure it is defined" >&5
8543 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8544 which seems to be undefined. Please make sure it is defined" >&2;}
8546 rm -f "$ac_tmp/stdin"
8547 case $ac_file in
8548 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8549 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8550 esac \
8551 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8555 # CONFIG_HEADER
8557 if test x"$ac_file" != x-; then
8559 $as_echo "/* $configure_input */" \
8560 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8561 } >"$ac_tmp/config.h" \
8562 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8563 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8565 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8566 else
8567 rm -f "$ac_file"
8568 mv "$ac_tmp/config.h" "$ac_file" \
8569 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8571 else
8572 $as_echo "/* $configure_input */" \
8573 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8574 || as_fn_error $? "could not create -" "$LINENO" 5
8579 esac
8581 done # for ac_tag
8584 as_fn_exit 0
8585 _ACEOF
8586 ac_clean_files=$ac_clean_files_save
8588 test $ac_write_fail = 0 ||
8589 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8592 # configure is writing to config.log, and then calls config.status.
8593 # config.status does its own redirection, appending to config.log.
8594 # Unfortunately, on DOS this fails, as config.log is still kept open
8595 # by configure, so config.status won't be able to write to it; its
8596 # output is simply discarded. So we exec the FD to /dev/null,
8597 # effectively closing config.log, so it can be properly (re)opened and
8598 # appended to by config.status. When coming back to configure, we
8599 # need to make the FD available again.
8600 if test "$no_create" != yes; then
8601 ac_cs_success=:
8602 ac_config_status_args=
8603 test "$silent" = yes &&
8604 ac_config_status_args="$ac_config_status_args --quiet"
8605 exec 5>/dev/null
8606 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8607 exec 5>>config.log
8608 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8609 # would make configure fail if this is the last instruction.
8610 $ac_cs_success || as_fn_exit 1
8612 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8614 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}