release 0.5.5
[ocurl.git] / configure
blob277d500fb9cc9394e9c6df2f51e32c346c6677da
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ocurl 0.5.5.
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.5.5'
580 PACKAGE_STRING='ocurl 0.5.5'
581 PACKAGE_BUGREPORT=''
582 PACKAGE_URL=''
584 ac_subst_vars='LTLIBOBJS
585 LIBOBJS
586 INSTALLDIR
587 CURLLIBS
588 CURLFLAGS
589 CURLDIR
590 ac_prefix_program
591 OCAMLFIND
592 OCAMLBUILD
593 OCAMLDOC
594 OCAMLMKLIB
595 OCAMLMKTOP
596 OCAMLDEP
597 OCAML
598 OCAMLOPTDOTOPT
599 OCAMLCDOTOPT
600 OCAMLBEST
601 OCAMLOPT
602 OCAMLLIB
603 OCAMLVERSION
604 OCAMLC
605 INSTALL_DATA
606 INSTALL_SCRIPT
607 INSTALL_PROGRAM
608 OBJEXT
609 EXEEXT
610 ac_ct_CC
611 CPPFLAGS
612 LDFLAGS
613 CFLAGS
615 target_alias
616 host_alias
617 build_alias
618 LIBS
619 ECHO_T
620 ECHO_N
621 ECHO_C
622 DEFS
623 mandir
624 localedir
625 libdir
626 psdir
627 pdfdir
628 dvidir
629 htmldir
630 infodir
631 docdir
632 oldincludedir
633 includedir
634 localstatedir
635 sharedstatedir
636 sysconfdir
637 datadir
638 datarootdir
639 libexecdir
640 sbindir
641 bindir
642 program_transform_name
643 prefix
644 exec_prefix
645 PACKAGE_URL
646 PACKAGE_BUGREPORT
647 PACKAGE_STRING
648 PACKAGE_VERSION
649 PACKAGE_TARNAME
650 PACKAGE_NAME
651 PATH_SEPARATOR
652 SHELL'
653 ac_subst_files=''
654 ac_user_opts='
655 enable_option_checking
657 ac_precious_vars='build_alias
658 host_alias
659 target_alias
661 CFLAGS
662 LDFLAGS
663 LIBS
664 CPPFLAGS'
667 # Initialize some variables set by options.
668 ac_init_help=
669 ac_init_version=false
670 ac_unrecognized_opts=
671 ac_unrecognized_sep=
672 # The variables have the same names as the options, with
673 # dashes changed to underlines.
674 cache_file=/dev/null
675 exec_prefix=NONE
676 no_create=
677 no_recursion=
678 prefix=NONE
679 program_prefix=NONE
680 program_suffix=NONE
681 program_transform_name=s,x,x,
682 silent=
683 site=
684 srcdir=
685 verbose=
686 x_includes=NONE
687 x_libraries=NONE
689 # Installation directory options.
690 # These are left unexpanded so users can "make install exec_prefix=/foo"
691 # and all the variables that are supposed to be based on exec_prefix
692 # by default will actually change.
693 # Use braces instead of parens because sh, perl, etc. also accept them.
694 # (The list follows the same order as the GNU Coding Standards.)
695 bindir='${exec_prefix}/bin'
696 sbindir='${exec_prefix}/sbin'
697 libexecdir='${exec_prefix}/libexec'
698 datarootdir='${prefix}/share'
699 datadir='${datarootdir}'
700 sysconfdir='${prefix}/etc'
701 sharedstatedir='${prefix}/com'
702 localstatedir='${prefix}/var'
703 includedir='${prefix}/include'
704 oldincludedir='/usr/include'
705 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
706 infodir='${datarootdir}/info'
707 htmldir='${docdir}'
708 dvidir='${docdir}'
709 pdfdir='${docdir}'
710 psdir='${docdir}'
711 libdir='${exec_prefix}/lib'
712 localedir='${datarootdir}/locale'
713 mandir='${datarootdir}/man'
715 ac_prev=
716 ac_dashdash=
717 for ac_option
719 # If the previous option needs an argument, assign it.
720 if test -n "$ac_prev"; then
721 eval $ac_prev=\$ac_option
722 ac_prev=
723 continue
726 case $ac_option in
727 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
728 *=) ac_optarg= ;;
729 *) ac_optarg=yes ;;
730 esac
732 # Accept the important Cygnus configure options, so we can diagnose typos.
734 case $ac_dashdash$ac_option in
736 ac_dashdash=yes ;;
738 -bindir | --bindir | --bindi | --bind | --bin | --bi)
739 ac_prev=bindir ;;
740 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
741 bindir=$ac_optarg ;;
743 -build | --build | --buil | --bui | --bu)
744 ac_prev=build_alias ;;
745 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
746 build_alias=$ac_optarg ;;
748 -cache-file | --cache-file | --cache-fil | --cache-fi \
749 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
750 ac_prev=cache_file ;;
751 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
752 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
753 cache_file=$ac_optarg ;;
755 --config-cache | -C)
756 cache_file=config.cache ;;
758 -datadir | --datadir | --datadi | --datad)
759 ac_prev=datadir ;;
760 -datadir=* | --datadir=* | --datadi=* | --datad=*)
761 datadir=$ac_optarg ;;
763 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
764 | --dataroo | --dataro | --datar)
765 ac_prev=datarootdir ;;
766 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
767 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
768 datarootdir=$ac_optarg ;;
770 -disable-* | --disable-*)
771 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
772 # Reject names that are not valid shell variable names.
773 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
774 as_fn_error $? "invalid feature name: $ac_useropt"
775 ac_useropt_orig=$ac_useropt
776 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
777 case $ac_user_opts in
779 "enable_$ac_useropt"
780 "*) ;;
781 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
782 ac_unrecognized_sep=', ';;
783 esac
784 eval enable_$ac_useropt=no ;;
786 -docdir | --docdir | --docdi | --doc | --do)
787 ac_prev=docdir ;;
788 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
789 docdir=$ac_optarg ;;
791 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
792 ac_prev=dvidir ;;
793 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
794 dvidir=$ac_optarg ;;
796 -enable-* | --enable-*)
797 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
798 # Reject names that are not valid shell variable names.
799 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
800 as_fn_error $? "invalid feature name: $ac_useropt"
801 ac_useropt_orig=$ac_useropt
802 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
803 case $ac_user_opts in
805 "enable_$ac_useropt"
806 "*) ;;
807 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
808 ac_unrecognized_sep=', ';;
809 esac
810 eval enable_$ac_useropt=\$ac_optarg ;;
812 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
813 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
814 | --exec | --exe | --ex)
815 ac_prev=exec_prefix ;;
816 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
817 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
818 | --exec=* | --exe=* | --ex=*)
819 exec_prefix=$ac_optarg ;;
821 -gas | --gas | --ga | --g)
822 # Obsolete; use --with-gas.
823 with_gas=yes ;;
825 -help | --help | --hel | --he | -h)
826 ac_init_help=long ;;
827 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
828 ac_init_help=recursive ;;
829 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
830 ac_init_help=short ;;
832 -host | --host | --hos | --ho)
833 ac_prev=host_alias ;;
834 -host=* | --host=* | --hos=* | --ho=*)
835 host_alias=$ac_optarg ;;
837 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
838 ac_prev=htmldir ;;
839 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
840 | --ht=*)
841 htmldir=$ac_optarg ;;
843 -includedir | --includedir | --includedi | --included | --include \
844 | --includ | --inclu | --incl | --inc)
845 ac_prev=includedir ;;
846 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
847 | --includ=* | --inclu=* | --incl=* | --inc=*)
848 includedir=$ac_optarg ;;
850 -infodir | --infodir | --infodi | --infod | --info | --inf)
851 ac_prev=infodir ;;
852 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
853 infodir=$ac_optarg ;;
855 -libdir | --libdir | --libdi | --libd)
856 ac_prev=libdir ;;
857 -libdir=* | --libdir=* | --libdi=* | --libd=*)
858 libdir=$ac_optarg ;;
860 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
861 | --libexe | --libex | --libe)
862 ac_prev=libexecdir ;;
863 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
864 | --libexe=* | --libex=* | --libe=*)
865 libexecdir=$ac_optarg ;;
867 -localedir | --localedir | --localedi | --localed | --locale)
868 ac_prev=localedir ;;
869 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
870 localedir=$ac_optarg ;;
872 -localstatedir | --localstatedir | --localstatedi | --localstated \
873 | --localstate | --localstat | --localsta | --localst | --locals)
874 ac_prev=localstatedir ;;
875 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
876 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
877 localstatedir=$ac_optarg ;;
879 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
880 ac_prev=mandir ;;
881 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
882 mandir=$ac_optarg ;;
884 -nfp | --nfp | --nf)
885 # Obsolete; use --without-fp.
886 with_fp=no ;;
888 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
889 | --no-cr | --no-c | -n)
890 no_create=yes ;;
892 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
893 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
894 no_recursion=yes ;;
896 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
897 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
898 | --oldin | --oldi | --old | --ol | --o)
899 ac_prev=oldincludedir ;;
900 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
901 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
902 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
903 oldincludedir=$ac_optarg ;;
905 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
906 ac_prev=prefix ;;
907 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
908 prefix=$ac_optarg ;;
910 -program-prefix | --program-prefix | --program-prefi | --program-pref \
911 | --program-pre | --program-pr | --program-p)
912 ac_prev=program_prefix ;;
913 -program-prefix=* | --program-prefix=* | --program-prefi=* \
914 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
915 program_prefix=$ac_optarg ;;
917 -program-suffix | --program-suffix | --program-suffi | --program-suff \
918 | --program-suf | --program-su | --program-s)
919 ac_prev=program_suffix ;;
920 -program-suffix=* | --program-suffix=* | --program-suffi=* \
921 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
922 program_suffix=$ac_optarg ;;
924 -program-transform-name | --program-transform-name \
925 | --program-transform-nam | --program-transform-na \
926 | --program-transform-n | --program-transform- \
927 | --program-transform | --program-transfor \
928 | --program-transfo | --program-transf \
929 | --program-trans | --program-tran \
930 | --progr-tra | --program-tr | --program-t)
931 ac_prev=program_transform_name ;;
932 -program-transform-name=* | --program-transform-name=* \
933 | --program-transform-nam=* | --program-transform-na=* \
934 | --program-transform-n=* | --program-transform-=* \
935 | --program-transform=* | --program-transfor=* \
936 | --program-transfo=* | --program-transf=* \
937 | --program-trans=* | --program-tran=* \
938 | --progr-tra=* | --program-tr=* | --program-t=*)
939 program_transform_name=$ac_optarg ;;
941 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
942 ac_prev=pdfdir ;;
943 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
944 pdfdir=$ac_optarg ;;
946 -psdir | --psdir | --psdi | --psd | --ps)
947 ac_prev=psdir ;;
948 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
949 psdir=$ac_optarg ;;
951 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
952 | -silent | --silent | --silen | --sile | --sil)
953 silent=yes ;;
955 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
956 ac_prev=sbindir ;;
957 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
958 | --sbi=* | --sb=*)
959 sbindir=$ac_optarg ;;
961 -sharedstatedir | --sharedstatedir | --sharedstatedi \
962 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
963 | --sharedst | --shareds | --shared | --share | --shar \
964 | --sha | --sh)
965 ac_prev=sharedstatedir ;;
966 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
967 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
968 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
969 | --sha=* | --sh=*)
970 sharedstatedir=$ac_optarg ;;
972 -site | --site | --sit)
973 ac_prev=site ;;
974 -site=* | --site=* | --sit=*)
975 site=$ac_optarg ;;
977 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
978 ac_prev=srcdir ;;
979 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
980 srcdir=$ac_optarg ;;
982 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
983 | --syscon | --sysco | --sysc | --sys | --sy)
984 ac_prev=sysconfdir ;;
985 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
986 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
987 sysconfdir=$ac_optarg ;;
989 -target | --target | --targe | --targ | --tar | --ta | --t)
990 ac_prev=target_alias ;;
991 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
992 target_alias=$ac_optarg ;;
994 -v | -verbose | --verbose | --verbos | --verbo | --verb)
995 verbose=yes ;;
997 -version | --version | --versio | --versi | --vers | -V)
998 ac_init_version=: ;;
1000 -with-* | --with-*)
1001 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1002 # Reject names that are not valid shell variable names.
1003 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1004 as_fn_error $? "invalid package name: $ac_useropt"
1005 ac_useropt_orig=$ac_useropt
1006 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1007 case $ac_user_opts in
1009 "with_$ac_useropt"
1010 "*) ;;
1011 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1012 ac_unrecognized_sep=', ';;
1013 esac
1014 eval with_$ac_useropt=\$ac_optarg ;;
1016 -without-* | --without-*)
1017 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020 as_fn_error $? "invalid package name: $ac_useropt"
1021 ac_useropt_orig=$ac_useropt
1022 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1025 "with_$ac_useropt"
1026 "*) ;;
1027 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1028 ac_unrecognized_sep=', ';;
1029 esac
1030 eval with_$ac_useropt=no ;;
1032 --x)
1033 # Obsolete; use --with-x.
1034 with_x=yes ;;
1036 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1037 | --x-incl | --x-inc | --x-in | --x-i)
1038 ac_prev=x_includes ;;
1039 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1040 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1041 x_includes=$ac_optarg ;;
1043 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1044 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1045 ac_prev=x_libraries ;;
1046 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1047 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1048 x_libraries=$ac_optarg ;;
1050 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1051 Try \`$0 --help' for more information"
1054 *=*)
1055 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1056 # Reject names that are not valid shell variable names.
1057 case $ac_envvar in #(
1058 '' | [0-9]* | *[!_$as_cr_alnum]* )
1059 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1060 esac
1061 eval $ac_envvar=\$ac_optarg
1062 export $ac_envvar ;;
1065 # FIXME: should be removed in autoconf 3.0.
1066 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1067 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1068 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1069 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1072 esac
1073 done
1075 if test -n "$ac_prev"; then
1076 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1077 as_fn_error $? "missing argument to $ac_option"
1080 if test -n "$ac_unrecognized_opts"; then
1081 case $enable_option_checking in
1082 no) ;;
1083 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1084 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1085 esac
1088 # Check all directory arguments for consistency.
1089 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1090 datadir sysconfdir sharedstatedir localstatedir includedir \
1091 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1092 libdir localedir mandir
1094 eval ac_val=\$$ac_var
1095 # Remove trailing slashes.
1096 case $ac_val in
1097 */ )
1098 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1099 eval $ac_var=\$ac_val;;
1100 esac
1101 # Be sure to have absolute directory names.
1102 case $ac_val in
1103 [\\/$]* | ?:[\\/]* ) continue;;
1104 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1105 esac
1106 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1107 done
1109 # There might be people who depend on the old broken behavior: `$host'
1110 # used to hold the argument of --host etc.
1111 # FIXME: To remove some day.
1112 build=$build_alias
1113 host=$host_alias
1114 target=$target_alias
1116 # FIXME: To remove some day.
1117 if test "x$host_alias" != x; then
1118 if test "x$build_alias" = x; then
1119 cross_compiling=maybe
1120 elif test "x$build_alias" != "x$host_alias"; then
1121 cross_compiling=yes
1125 ac_tool_prefix=
1126 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1128 test "$silent" = yes && exec 6>/dev/null
1131 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1132 ac_ls_di=`ls -di .` &&
1133 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1134 as_fn_error $? "working directory cannot be determined"
1135 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1136 as_fn_error $? "pwd does not report name of working directory"
1139 # Find the source files, if location was not specified.
1140 if test -z "$srcdir"; then
1141 ac_srcdir_defaulted=yes
1142 # Try the directory containing this script, then the parent directory.
1143 ac_confdir=`$as_dirname -- "$as_myself" ||
1144 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1145 X"$as_myself" : 'X\(//\)[^/]' \| \
1146 X"$as_myself" : 'X\(//\)$' \| \
1147 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1148 $as_echo X"$as_myself" |
1149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1150 s//\1/
1153 /^X\(\/\/\)[^/].*/{
1154 s//\1/
1157 /^X\(\/\/\)$/{
1158 s//\1/
1161 /^X\(\/\).*/{
1162 s//\1/
1165 s/.*/./; q'`
1166 srcdir=$ac_confdir
1167 if test ! -r "$srcdir/$ac_unique_file"; then
1168 srcdir=..
1170 else
1171 ac_srcdir_defaulted=no
1173 if test ! -r "$srcdir/$ac_unique_file"; then
1174 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1175 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1177 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1178 ac_abs_confdir=`(
1179 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1180 pwd)`
1181 # When building in place, set srcdir=.
1182 if test "$ac_abs_confdir" = "$ac_pwd"; then
1183 srcdir=.
1185 # Remove unnecessary trailing slashes from srcdir.
1186 # Double slashes in file names in object file debugging info
1187 # mess up M-x gdb in Emacs.
1188 case $srcdir in
1189 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1190 esac
1191 for ac_var in $ac_precious_vars; do
1192 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1193 eval ac_env_${ac_var}_value=\$${ac_var}
1194 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1195 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1196 done
1199 # Report the --help message.
1201 if test "$ac_init_help" = "long"; then
1202 # Omit some internal or obsolete options to make the list less imposing.
1203 # This message is too long to be a string in the A/UX 3.1 sh.
1204 cat <<_ACEOF
1205 \`configure' configures ocurl 0.5.5 to adapt to many kinds of systems.
1207 Usage: $0 [OPTION]... [VAR=VALUE]...
1209 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1210 VAR=VALUE. See below for descriptions of some of the useful variables.
1212 Defaults for the options are specified in brackets.
1214 Configuration:
1215 -h, --help display this help and exit
1216 --help=short display options specific to this package
1217 --help=recursive display the short help of all the included packages
1218 -V, --version display version information and exit
1219 -q, --quiet, --silent do not print \`checking ...' messages
1220 --cache-file=FILE cache test results in FILE [disabled]
1221 -C, --config-cache alias for \`--cache-file=config.cache'
1222 -n, --no-create do not create output files
1223 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1225 Installation directories:
1226 --prefix=PREFIX install architecture-independent files in PREFIX
1227 [$ac_default_prefix]
1228 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1229 [PREFIX]
1231 By default, \`make install' will install all the files in
1232 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1233 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1234 for instance \`--prefix=\$HOME'.
1236 For better control, use the options below.
1238 Fine tuning of the installation directories:
1239 --bindir=DIR user executables [EPREFIX/bin]
1240 --sbindir=DIR system admin executables [EPREFIX/sbin]
1241 --libexecdir=DIR program executables [EPREFIX/libexec]
1242 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1243 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1244 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1245 --libdir=DIR object code libraries [EPREFIX/lib]
1246 --includedir=DIR C header files [PREFIX/include]
1247 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1248 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1249 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1250 --infodir=DIR info documentation [DATAROOTDIR/info]
1251 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1252 --mandir=DIR man documentation [DATAROOTDIR/man]
1253 --docdir=DIR documentation root [DATAROOTDIR/doc/ocurl]
1254 --htmldir=DIR html documentation [DOCDIR]
1255 --dvidir=DIR dvi documentation [DOCDIR]
1256 --pdfdir=DIR pdf documentation [DOCDIR]
1257 --psdir=DIR ps documentation [DOCDIR]
1258 _ACEOF
1260 cat <<\_ACEOF
1261 _ACEOF
1264 if test -n "$ac_init_help"; then
1265 case $ac_init_help in
1266 short | recursive ) echo "Configuration of ocurl 0.5.5:";;
1267 esac
1268 cat <<\_ACEOF
1270 Some influential environment variables:
1271 CC C compiler command
1272 CFLAGS C compiler flags
1273 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1274 nonstandard directory <lib dir>
1275 LIBS libraries to pass to the linker, e.g. -l<library>
1276 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1277 you have headers in a nonstandard directory <include dir>
1279 Use these variables to override the choices made by `configure' or to help
1280 it to find libraries and programs with nonstandard names/locations.
1282 Report bugs to the package provider.
1283 _ACEOF
1284 ac_status=$?
1287 if test "$ac_init_help" = "recursive"; then
1288 # If there are subdirs, report their specific --help.
1289 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1290 test -d "$ac_dir" ||
1291 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1292 continue
1293 ac_builddir=.
1295 case "$ac_dir" in
1296 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1298 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1299 # A ".." for each directory in $ac_dir_suffix.
1300 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1301 case $ac_top_builddir_sub in
1302 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1303 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1304 esac ;;
1305 esac
1306 ac_abs_top_builddir=$ac_pwd
1307 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1308 # for backward compatibility:
1309 ac_top_builddir=$ac_top_build_prefix
1311 case $srcdir in
1312 .) # We are building in place.
1313 ac_srcdir=.
1314 ac_top_srcdir=$ac_top_builddir_sub
1315 ac_abs_top_srcdir=$ac_pwd ;;
1316 [\\/]* | ?:[\\/]* ) # Absolute name.
1317 ac_srcdir=$srcdir$ac_dir_suffix;
1318 ac_top_srcdir=$srcdir
1319 ac_abs_top_srcdir=$srcdir ;;
1320 *) # Relative name.
1321 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1322 ac_top_srcdir=$ac_top_build_prefix$srcdir
1323 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1324 esac
1325 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1327 cd "$ac_dir" || { ac_status=$?; continue; }
1328 # Check for guested configure.
1329 if test -f "$ac_srcdir/configure.gnu"; then
1330 echo &&
1331 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1332 elif test -f "$ac_srcdir/configure"; then
1333 echo &&
1334 $SHELL "$ac_srcdir/configure" --help=recursive
1335 else
1336 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1337 fi || ac_status=$?
1338 cd "$ac_pwd" || { ac_status=$?; break; }
1339 done
1342 test -n "$ac_init_help" && exit $ac_status
1343 if $ac_init_version; then
1344 cat <<\_ACEOF
1345 ocurl configure 0.5.5
1346 generated by GNU Autoconf 2.69
1348 Copyright (C) 2012 Free Software Foundation, Inc.
1349 This configure script is free software; the Free Software Foundation
1350 gives unlimited permission to copy, distribute and modify it.
1351 _ACEOF
1352 exit
1355 ## ------------------------ ##
1356 ## Autoconf initialization. ##
1357 ## ------------------------ ##
1359 # ac_fn_c_try_compile LINENO
1360 # --------------------------
1361 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1362 ac_fn_c_try_compile ()
1364 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1365 rm -f conftest.$ac_objext
1366 if { { ac_try="$ac_compile"
1367 case "(($ac_try" in
1368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1369 *) ac_try_echo=$ac_try;;
1370 esac
1371 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1372 $as_echo "$ac_try_echo"; } >&5
1373 (eval "$ac_compile") 2>conftest.err
1374 ac_status=$?
1375 if test -s conftest.err; then
1376 grep -v '^ *+' conftest.err >conftest.er1
1377 cat conftest.er1 >&5
1378 mv -f conftest.er1 conftest.err
1380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1381 test $ac_status = 0; } && {
1382 test -z "$ac_c_werror_flag" ||
1383 test ! -s conftest.err
1384 } && test -s conftest.$ac_objext; then :
1385 ac_retval=0
1386 else
1387 $as_echo "$as_me: failed program was:" >&5
1388 sed 's/^/| /' conftest.$ac_ext >&5
1390 ac_retval=1
1392 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1393 as_fn_set_status $ac_retval
1395 } # ac_fn_c_try_compile
1397 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1398 # ---------------------------------------------
1399 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1400 # accordingly.
1401 ac_fn_c_check_decl ()
1403 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1404 as_decl_name=`echo $2|sed 's/ *(.*//'`
1405 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1407 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1408 if eval \${$3+:} false; then :
1409 $as_echo_n "(cached) " >&6
1410 else
1411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1412 /* end confdefs.h. */
1415 main ()
1417 #ifndef $as_decl_name
1418 #ifdef __cplusplus
1419 (void) $as_decl_use;
1420 #else
1421 (void) $as_decl_name;
1422 #endif
1423 #endif
1426 return 0;
1428 _ACEOF
1429 if ac_fn_c_try_compile "$LINENO"; then :
1430 eval "$3=yes"
1431 else
1432 eval "$3=no"
1434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1436 eval ac_res=\$$3
1437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1438 $as_echo "$ac_res" >&6; }
1439 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1441 } # ac_fn_c_check_decl
1442 cat >config.log <<_ACEOF
1443 This file contains any messages produced by compilers while
1444 running configure, to aid debugging if configure makes a mistake.
1446 It was created by ocurl $as_me 0.5.5, which was
1447 generated by GNU Autoconf 2.69. Invocation command line was
1449 $ $0 $@
1451 _ACEOF
1452 exec 5>>config.log
1454 cat <<_ASUNAME
1455 ## --------- ##
1456 ## Platform. ##
1457 ## --------- ##
1459 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1460 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1461 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1462 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1463 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1465 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1466 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1468 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1469 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1470 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1471 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1472 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1473 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1474 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1476 _ASUNAME
1478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1479 for as_dir in $PATH
1481 IFS=$as_save_IFS
1482 test -z "$as_dir" && as_dir=.
1483 $as_echo "PATH: $as_dir"
1484 done
1485 IFS=$as_save_IFS
1487 } >&5
1489 cat >&5 <<_ACEOF
1492 ## ----------- ##
1493 ## Core tests. ##
1494 ## ----------- ##
1496 _ACEOF
1499 # Keep a trace of the command line.
1500 # Strip out --no-create and --no-recursion so they do not pile up.
1501 # Strip out --silent because we don't want to record it for future runs.
1502 # Also quote any args containing shell meta-characters.
1503 # Make two passes to allow for proper duplicate-argument suppression.
1504 ac_configure_args=
1505 ac_configure_args0=
1506 ac_configure_args1=
1507 ac_must_keep_next=false
1508 for ac_pass in 1 2
1510 for ac_arg
1512 case $ac_arg in
1513 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1514 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1515 | -silent | --silent | --silen | --sile | --sil)
1516 continue ;;
1517 *\'*)
1518 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1519 esac
1520 case $ac_pass in
1521 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1523 as_fn_append ac_configure_args1 " '$ac_arg'"
1524 if test $ac_must_keep_next = true; then
1525 ac_must_keep_next=false # Got value, back to normal.
1526 else
1527 case $ac_arg in
1528 *=* | --config-cache | -C | -disable-* | --disable-* \
1529 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1530 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1531 | -with-* | --with-* | -without-* | --without-* | --x)
1532 case "$ac_configure_args0 " in
1533 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1534 esac
1536 -* ) ac_must_keep_next=true ;;
1537 esac
1539 as_fn_append ac_configure_args " '$ac_arg'"
1541 esac
1542 done
1543 done
1544 { ac_configure_args0=; unset ac_configure_args0;}
1545 { ac_configure_args1=; unset ac_configure_args1;}
1547 # When interrupted or exit'd, cleanup temporary files, and complete
1548 # config.log. We remove comments because anyway the quotes in there
1549 # would cause problems or look ugly.
1550 # WARNING: Use '\'' to represent an apostrophe within the trap.
1551 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1552 trap 'exit_status=$?
1553 # Save into config.log some information that might help in debugging.
1555 echo
1557 $as_echo "## ---------------- ##
1558 ## Cache variables. ##
1559 ## ---------------- ##"
1560 echo
1561 # The following way of writing the cache mishandles newlines in values,
1563 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1564 eval ac_val=\$$ac_var
1565 case $ac_val in #(
1566 *${as_nl}*)
1567 case $ac_var in #(
1568 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1569 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1570 esac
1571 case $ac_var in #(
1572 _ | IFS | as_nl) ;; #(
1573 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1574 *) { eval $ac_var=; unset $ac_var;} ;;
1575 esac ;;
1576 esac
1577 done
1578 (set) 2>&1 |
1579 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1580 *${as_nl}ac_space=\ *)
1581 sed -n \
1582 "s/'\''/'\''\\\\'\'''\''/g;
1583 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1584 ;; #(
1586 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1588 esac |
1589 sort
1591 echo
1593 $as_echo "## ----------------- ##
1594 ## Output variables. ##
1595 ## ----------------- ##"
1596 echo
1597 for ac_var in $ac_subst_vars
1599 eval ac_val=\$$ac_var
1600 case $ac_val in
1601 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1602 esac
1603 $as_echo "$ac_var='\''$ac_val'\''"
1604 done | sort
1605 echo
1607 if test -n "$ac_subst_files"; then
1608 $as_echo "## ------------------- ##
1609 ## File substitutions. ##
1610 ## ------------------- ##"
1611 echo
1612 for ac_var in $ac_subst_files
1614 eval ac_val=\$$ac_var
1615 case $ac_val in
1616 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1617 esac
1618 $as_echo "$ac_var='\''$ac_val'\''"
1619 done | sort
1620 echo
1623 if test -s confdefs.h; then
1624 $as_echo "## ----------- ##
1625 ## confdefs.h. ##
1626 ## ----------- ##"
1627 echo
1628 cat confdefs.h
1629 echo
1631 test "$ac_signal" != 0 &&
1632 $as_echo "$as_me: caught signal $ac_signal"
1633 $as_echo "$as_me: exit $exit_status"
1634 } >&5
1635 rm -f core *.core core.conftest.* &&
1636 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1637 exit $exit_status
1639 for ac_signal in 1 2 13 15; do
1640 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1641 done
1642 ac_signal=0
1644 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1645 rm -f -r conftest* confdefs.h
1647 $as_echo "/* confdefs.h */" > confdefs.h
1649 # Predefined preprocessor variables.
1651 cat >>confdefs.h <<_ACEOF
1652 #define PACKAGE_NAME "$PACKAGE_NAME"
1653 _ACEOF
1655 cat >>confdefs.h <<_ACEOF
1656 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1657 _ACEOF
1659 cat >>confdefs.h <<_ACEOF
1660 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1661 _ACEOF
1663 cat >>confdefs.h <<_ACEOF
1664 #define PACKAGE_STRING "$PACKAGE_STRING"
1665 _ACEOF
1667 cat >>confdefs.h <<_ACEOF
1668 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1669 _ACEOF
1671 cat >>confdefs.h <<_ACEOF
1672 #define PACKAGE_URL "$PACKAGE_URL"
1673 _ACEOF
1676 # Let the site file select an alternate cache file if it wants to.
1677 # Prefer an explicitly selected file to automatically selected ones.
1678 ac_site_file1=NONE
1679 ac_site_file2=NONE
1680 if test -n "$CONFIG_SITE"; then
1681 # We do not want a PATH search for config.site.
1682 case $CONFIG_SITE in #((
1683 -*) ac_site_file1=./$CONFIG_SITE;;
1684 */*) ac_site_file1=$CONFIG_SITE;;
1685 *) ac_site_file1=./$CONFIG_SITE;;
1686 esac
1687 elif test "x$prefix" != xNONE; then
1688 ac_site_file1=$prefix/share/config.site
1689 ac_site_file2=$prefix/etc/config.site
1690 else
1691 ac_site_file1=$ac_default_prefix/share/config.site
1692 ac_site_file2=$ac_default_prefix/etc/config.site
1694 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1696 test "x$ac_site_file" = xNONE && continue
1697 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1699 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1700 sed 's/^/| /' "$ac_site_file" >&5
1701 . "$ac_site_file" \
1702 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1704 as_fn_error $? "failed to load site script $ac_site_file
1705 See \`config.log' for more details" "$LINENO" 5; }
1707 done
1709 if test -r "$cache_file"; then
1710 # Some versions of bash will fail to source /dev/null (special files
1711 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1712 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1714 $as_echo "$as_me: loading cache $cache_file" >&6;}
1715 case $cache_file in
1716 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1717 *) . "./$cache_file";;
1718 esac
1720 else
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1722 $as_echo "$as_me: creating cache $cache_file" >&6;}
1723 >$cache_file
1726 # Check that the precious variables saved in the cache have kept the same
1727 # value.
1728 ac_cache_corrupted=false
1729 for ac_var in $ac_precious_vars; do
1730 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1731 eval ac_new_set=\$ac_env_${ac_var}_set
1732 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1733 eval ac_new_val=\$ac_env_${ac_var}_value
1734 case $ac_old_set,$ac_new_set in
1735 set,)
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1737 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1738 ac_cache_corrupted=: ;;
1739 ,set)
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1741 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1742 ac_cache_corrupted=: ;;
1743 ,);;
1745 if test "x$ac_old_val" != "x$ac_new_val"; then
1746 # differences in whitespace do not lead to failure.
1747 ac_old_val_w=`echo x $ac_old_val`
1748 ac_new_val_w=`echo x $ac_new_val`
1749 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1751 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1752 ac_cache_corrupted=:
1753 else
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1755 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1756 eval $ac_var=\$ac_old_val
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1759 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1761 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1762 fi;;
1763 esac
1764 # Pass precious variables to config.status.
1765 if test "$ac_new_set" = set; then
1766 case $ac_new_val in
1767 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1768 *) ac_arg=$ac_var=$ac_new_val ;;
1769 esac
1770 case " $ac_configure_args " in
1771 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1772 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1773 esac
1775 done
1776 if $ac_cache_corrupted; then
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1778 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1780 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1781 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1783 ## -------------------- ##
1784 ## Main body of script. ##
1785 ## -------------------- ##
1787 ac_ext=c
1788 ac_cpp='$CPP $CPPFLAGS'
1789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1795 CURLDIR=`curl-config --cflags`
1796 CURLFLAGS=`curl-config --libs | cut -d ' ' -f 1`
1797 CURLLIBS=`curl-config --libs | cut -d ' ' -f 2-`
1799 CFLAGS=$CURLDIR
1801 ac_ext=c
1802 ac_cpp='$CPP $CPPFLAGS'
1803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1806 if test -n "$ac_tool_prefix"; then
1807 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1808 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1810 $as_echo_n "checking for $ac_word... " >&6; }
1811 if ${ac_cv_prog_CC+:} false; then :
1812 $as_echo_n "(cached) " >&6
1813 else
1814 if test -n "$CC"; then
1815 ac_cv_prog_CC="$CC" # Let the user override the test.
1816 else
1817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1818 for as_dir in $PATH
1820 IFS=$as_save_IFS
1821 test -z "$as_dir" && as_dir=.
1822 for ac_exec_ext in '' $ac_executable_extensions; do
1823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1824 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1826 break 2
1828 done
1829 done
1830 IFS=$as_save_IFS
1834 CC=$ac_cv_prog_CC
1835 if test -n "$CC"; then
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1837 $as_echo "$CC" >&6; }
1838 else
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1840 $as_echo "no" >&6; }
1845 if test -z "$ac_cv_prog_CC"; then
1846 ac_ct_CC=$CC
1847 # Extract the first word of "gcc", so it can be a program name with args.
1848 set dummy gcc; ac_word=$2
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1850 $as_echo_n "checking for $ac_word... " >&6; }
1851 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1852 $as_echo_n "(cached) " >&6
1853 else
1854 if test -n "$ac_ct_CC"; then
1855 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1856 else
1857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1858 for as_dir in $PATH
1860 IFS=$as_save_IFS
1861 test -z "$as_dir" && as_dir=.
1862 for ac_exec_ext in '' $ac_executable_extensions; do
1863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1864 ac_cv_prog_ac_ct_CC="gcc"
1865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1866 break 2
1868 done
1869 done
1870 IFS=$as_save_IFS
1874 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1875 if test -n "$ac_ct_CC"; then
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1877 $as_echo "$ac_ct_CC" >&6; }
1878 else
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1880 $as_echo "no" >&6; }
1883 if test "x$ac_ct_CC" = x; then
1884 CC=""
1885 else
1886 case $cross_compiling:$ac_tool_warned in
1887 yes:)
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1890 ac_tool_warned=yes ;;
1891 esac
1892 CC=$ac_ct_CC
1894 else
1895 CC="$ac_cv_prog_CC"
1898 if test -z "$CC"; then
1899 if test -n "$ac_tool_prefix"; then
1900 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1901 set dummy ${ac_tool_prefix}cc; ac_word=$2
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1903 $as_echo_n "checking for $ac_word... " >&6; }
1904 if ${ac_cv_prog_CC+:} false; then :
1905 $as_echo_n "(cached) " >&6
1906 else
1907 if test -n "$CC"; then
1908 ac_cv_prog_CC="$CC" # Let the user override the test.
1909 else
1910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1911 for as_dir in $PATH
1913 IFS=$as_save_IFS
1914 test -z "$as_dir" && as_dir=.
1915 for ac_exec_ext in '' $ac_executable_extensions; do
1916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1917 ac_cv_prog_CC="${ac_tool_prefix}cc"
1918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1919 break 2
1921 done
1922 done
1923 IFS=$as_save_IFS
1927 CC=$ac_cv_prog_CC
1928 if test -n "$CC"; then
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1930 $as_echo "$CC" >&6; }
1931 else
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1933 $as_echo "no" >&6; }
1939 if test -z "$CC"; then
1940 # Extract the first word of "cc", so it can be a program name with args.
1941 set dummy cc; ac_word=$2
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1943 $as_echo_n "checking for $ac_word... " >&6; }
1944 if ${ac_cv_prog_CC+:} false; then :
1945 $as_echo_n "(cached) " >&6
1946 else
1947 if test -n "$CC"; then
1948 ac_cv_prog_CC="$CC" # Let the user override the test.
1949 else
1950 ac_prog_rejected=no
1951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1952 for as_dir in $PATH
1954 IFS=$as_save_IFS
1955 test -z "$as_dir" && as_dir=.
1956 for ac_exec_ext in '' $ac_executable_extensions; do
1957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1958 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1959 ac_prog_rejected=yes
1960 continue
1962 ac_cv_prog_CC="cc"
1963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1964 break 2
1966 done
1967 done
1968 IFS=$as_save_IFS
1970 if test $ac_prog_rejected = yes; then
1971 # We found a bogon in the path, so make sure we never use it.
1972 set dummy $ac_cv_prog_CC
1973 shift
1974 if test $# != 0; then
1975 # We chose a different compiler from the bogus one.
1976 # However, it has the same basename, so the bogon will be chosen
1977 # first if we set CC to just the basename; use the full file name.
1978 shift
1979 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1984 CC=$ac_cv_prog_CC
1985 if test -n "$CC"; then
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1987 $as_echo "$CC" >&6; }
1988 else
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1990 $as_echo "no" >&6; }
1995 if test -z "$CC"; then
1996 if test -n "$ac_tool_prefix"; then
1997 for ac_prog in cl.exe
1999 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2000 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2002 $as_echo_n "checking for $ac_word... " >&6; }
2003 if ${ac_cv_prog_CC+:} false; then :
2004 $as_echo_n "(cached) " >&6
2005 else
2006 if test -n "$CC"; then
2007 ac_cv_prog_CC="$CC" # Let the user override the test.
2008 else
2009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2010 for as_dir in $PATH
2012 IFS=$as_save_IFS
2013 test -z "$as_dir" && as_dir=.
2014 for ac_exec_ext in '' $ac_executable_extensions; do
2015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2016 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2018 break 2
2020 done
2021 done
2022 IFS=$as_save_IFS
2026 CC=$ac_cv_prog_CC
2027 if test -n "$CC"; then
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2029 $as_echo "$CC" >&6; }
2030 else
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2032 $as_echo "no" >&6; }
2036 test -n "$CC" && break
2037 done
2039 if test -z "$CC"; then
2040 ac_ct_CC=$CC
2041 for ac_prog in cl.exe
2043 # Extract the first word of "$ac_prog", so it can be a program name with args.
2044 set dummy $ac_prog; ac_word=$2
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2046 $as_echo_n "checking for $ac_word... " >&6; }
2047 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2048 $as_echo_n "(cached) " >&6
2049 else
2050 if test -n "$ac_ct_CC"; then
2051 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2052 else
2053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2054 for as_dir in $PATH
2056 IFS=$as_save_IFS
2057 test -z "$as_dir" && as_dir=.
2058 for ac_exec_ext in '' $ac_executable_extensions; do
2059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2060 ac_cv_prog_ac_ct_CC="$ac_prog"
2061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2062 break 2
2064 done
2065 done
2066 IFS=$as_save_IFS
2070 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2071 if test -n "$ac_ct_CC"; then
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2073 $as_echo "$ac_ct_CC" >&6; }
2074 else
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2076 $as_echo "no" >&6; }
2080 test -n "$ac_ct_CC" && break
2081 done
2083 if test "x$ac_ct_CC" = x; then
2084 CC=""
2085 else
2086 case $cross_compiling:$ac_tool_warned in
2087 yes:)
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2090 ac_tool_warned=yes ;;
2091 esac
2092 CC=$ac_ct_CC
2099 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2101 as_fn_error $? "no acceptable C compiler found in \$PATH
2102 See \`config.log' for more details" "$LINENO" 5; }
2104 # Provide some information about the compiler.
2105 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2106 set X $ac_compile
2107 ac_compiler=$2
2108 for ac_option in --version -v -V -qversion; do
2109 { { ac_try="$ac_compiler $ac_option >&5"
2110 case "(($ac_try" in
2111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2112 *) ac_try_echo=$ac_try;;
2113 esac
2114 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2115 $as_echo "$ac_try_echo"; } >&5
2116 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2117 ac_status=$?
2118 if test -s conftest.err; then
2119 sed '10a\
2120 ... rest of stderr output deleted ...
2121 10q' conftest.err >conftest.er1
2122 cat conftest.er1 >&5
2124 rm -f conftest.er1 conftest.err
2125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2126 test $ac_status = 0; }
2127 done
2129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2130 /* end confdefs.h. */
2133 main ()
2137 return 0;
2139 _ACEOF
2140 ac_clean_files_save=$ac_clean_files
2141 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2142 # Try to create an executable without -o first, disregard a.out.
2143 # It will help us diagnose broken compilers, and finding out an intuition
2144 # of exeext.
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2146 $as_echo_n "checking whether the C compiler works... " >&6; }
2147 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2149 # The possible output files:
2150 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2152 ac_rmfiles=
2153 for ac_file in $ac_files
2155 case $ac_file in
2156 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2157 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2158 esac
2159 done
2160 rm -f $ac_rmfiles
2162 if { { ac_try="$ac_link_default"
2163 case "(($ac_try" in
2164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2165 *) ac_try_echo=$ac_try;;
2166 esac
2167 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2168 $as_echo "$ac_try_echo"; } >&5
2169 (eval "$ac_link_default") 2>&5
2170 ac_status=$?
2171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2172 test $ac_status = 0; }; then :
2173 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2174 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2175 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2176 # so that the user can short-circuit this test for compilers unknown to
2177 # Autoconf.
2178 for ac_file in $ac_files ''
2180 test -f "$ac_file" || continue
2181 case $ac_file in
2182 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2184 [ab].out )
2185 # We found the default executable, but exeext='' is most
2186 # certainly right.
2187 break;;
2188 *.* )
2189 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2190 then :; else
2191 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2193 # We set ac_cv_exeext here because the later test for it is not
2194 # safe: cross compilers may not add the suffix if given an `-o'
2195 # argument, so we may need to know it at that point already.
2196 # Even if this section looks crufty: it has the advantage of
2197 # actually working.
2198 break;;
2200 break;;
2201 esac
2202 done
2203 test "$ac_cv_exeext" = no && ac_cv_exeext=
2205 else
2206 ac_file=''
2208 if test -z "$ac_file"; then :
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2210 $as_echo "no" >&6; }
2211 $as_echo "$as_me: failed program was:" >&5
2212 sed 's/^/| /' conftest.$ac_ext >&5
2214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2216 as_fn_error 77 "C compiler cannot create executables
2217 See \`config.log' for more details" "$LINENO" 5; }
2218 else
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2220 $as_echo "yes" >&6; }
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2223 $as_echo_n "checking for C compiler default output file name... " >&6; }
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2225 $as_echo "$ac_file" >&6; }
2226 ac_exeext=$ac_cv_exeext
2228 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2229 ac_clean_files=$ac_clean_files_save
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2231 $as_echo_n "checking for suffix of executables... " >&6; }
2232 if { { ac_try="$ac_link"
2233 case "(($ac_try" in
2234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2235 *) ac_try_echo=$ac_try;;
2236 esac
2237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2238 $as_echo "$ac_try_echo"; } >&5
2239 (eval "$ac_link") 2>&5
2240 ac_status=$?
2241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2242 test $ac_status = 0; }; then :
2243 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2244 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2245 # work properly (i.e., refer to `conftest.exe'), while it won't with
2246 # `rm'.
2247 for ac_file in conftest.exe conftest conftest.*; do
2248 test -f "$ac_file" || continue
2249 case $ac_file in
2250 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2251 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2252 break;;
2253 * ) break;;
2254 esac
2255 done
2256 else
2257 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2259 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2260 See \`config.log' for more details" "$LINENO" 5; }
2262 rm -f conftest conftest$ac_cv_exeext
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2264 $as_echo "$ac_cv_exeext" >&6; }
2266 rm -f conftest.$ac_ext
2267 EXEEXT=$ac_cv_exeext
2268 ac_exeext=$EXEEXT
2269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2270 /* end confdefs.h. */
2271 #include <stdio.h>
2273 main ()
2275 FILE *f = fopen ("conftest.out", "w");
2276 return ferror (f) || fclose (f) != 0;
2279 return 0;
2281 _ACEOF
2282 ac_clean_files="$ac_clean_files conftest.out"
2283 # Check that the compiler produces executables we can run. If not, either
2284 # the compiler is broken, or we cross compile.
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2286 $as_echo_n "checking whether we are cross compiling... " >&6; }
2287 if test "$cross_compiling" != yes; then
2288 { { ac_try="$ac_link"
2289 case "(($ac_try" in
2290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2291 *) ac_try_echo=$ac_try;;
2292 esac
2293 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2294 $as_echo "$ac_try_echo"; } >&5
2295 (eval "$ac_link") 2>&5
2296 ac_status=$?
2297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2298 test $ac_status = 0; }
2299 if { ac_try='./conftest$ac_cv_exeext'
2300 { { case "(($ac_try" in
2301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2302 *) ac_try_echo=$ac_try;;
2303 esac
2304 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2305 $as_echo "$ac_try_echo"; } >&5
2306 (eval "$ac_try") 2>&5
2307 ac_status=$?
2308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2309 test $ac_status = 0; }; }; then
2310 cross_compiling=no
2311 else
2312 if test "$cross_compiling" = maybe; then
2313 cross_compiling=yes
2314 else
2315 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2316 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2317 as_fn_error $? "cannot run C compiled programs.
2318 If you meant to cross compile, use \`--host'.
2319 See \`config.log' for more details" "$LINENO" 5; }
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2324 $as_echo "$cross_compiling" >&6; }
2326 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2327 ac_clean_files=$ac_clean_files_save
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2329 $as_echo_n "checking for suffix of object files... " >&6; }
2330 if ${ac_cv_objext+:} false; then :
2331 $as_echo_n "(cached) " >&6
2332 else
2333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2334 /* end confdefs.h. */
2337 main ()
2341 return 0;
2343 _ACEOF
2344 rm -f conftest.o conftest.obj
2345 if { { ac_try="$ac_compile"
2346 case "(($ac_try" in
2347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2348 *) ac_try_echo=$ac_try;;
2349 esac
2350 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2351 $as_echo "$ac_try_echo"; } >&5
2352 (eval "$ac_compile") 2>&5
2353 ac_status=$?
2354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2355 test $ac_status = 0; }; then :
2356 for ac_file in conftest.o conftest.obj conftest.*; do
2357 test -f "$ac_file" || continue;
2358 case $ac_file in
2359 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2360 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2361 break;;
2362 esac
2363 done
2364 else
2365 $as_echo "$as_me: failed program was:" >&5
2366 sed 's/^/| /' conftest.$ac_ext >&5
2368 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2370 as_fn_error $? "cannot compute suffix of object files: cannot compile
2371 See \`config.log' for more details" "$LINENO" 5; }
2373 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2376 $as_echo "$ac_cv_objext" >&6; }
2377 OBJEXT=$ac_cv_objext
2378 ac_objext=$OBJEXT
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2380 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2381 if ${ac_cv_c_compiler_gnu+:} false; then :
2382 $as_echo_n "(cached) " >&6
2383 else
2384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2385 /* end confdefs.h. */
2388 main ()
2390 #ifndef __GNUC__
2391 choke me
2392 #endif
2395 return 0;
2397 _ACEOF
2398 if ac_fn_c_try_compile "$LINENO"; then :
2399 ac_compiler_gnu=yes
2400 else
2401 ac_compiler_gnu=no
2403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2404 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2408 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2409 if test $ac_compiler_gnu = yes; then
2410 GCC=yes
2411 else
2412 GCC=
2414 ac_test_CFLAGS=${CFLAGS+set}
2415 ac_save_CFLAGS=$CFLAGS
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2417 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2418 if ${ac_cv_prog_cc_g+:} false; then :
2419 $as_echo_n "(cached) " >&6
2420 else
2421 ac_save_c_werror_flag=$ac_c_werror_flag
2422 ac_c_werror_flag=yes
2423 ac_cv_prog_cc_g=no
2424 CFLAGS="-g"
2425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2426 /* end confdefs.h. */
2429 main ()
2433 return 0;
2435 _ACEOF
2436 if ac_fn_c_try_compile "$LINENO"; then :
2437 ac_cv_prog_cc_g=yes
2438 else
2439 CFLAGS=""
2440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2441 /* end confdefs.h. */
2444 main ()
2448 return 0;
2450 _ACEOF
2451 if ac_fn_c_try_compile "$LINENO"; then :
2453 else
2454 ac_c_werror_flag=$ac_save_c_werror_flag
2455 CFLAGS="-g"
2456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2457 /* end confdefs.h. */
2460 main ()
2464 return 0;
2466 _ACEOF
2467 if ac_fn_c_try_compile "$LINENO"; then :
2468 ac_cv_prog_cc_g=yes
2470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2475 ac_c_werror_flag=$ac_save_c_werror_flag
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2478 $as_echo "$ac_cv_prog_cc_g" >&6; }
2479 if test "$ac_test_CFLAGS" = set; then
2480 CFLAGS=$ac_save_CFLAGS
2481 elif test $ac_cv_prog_cc_g = yes; then
2482 if test "$GCC" = yes; then
2483 CFLAGS="-g -O2"
2484 else
2485 CFLAGS="-g"
2487 else
2488 if test "$GCC" = yes; then
2489 CFLAGS="-O2"
2490 else
2491 CFLAGS=
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2495 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2496 if ${ac_cv_prog_cc_c89+:} false; then :
2497 $as_echo_n "(cached) " >&6
2498 else
2499 ac_cv_prog_cc_c89=no
2500 ac_save_CC=$CC
2501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2502 /* end confdefs.h. */
2503 #include <stdarg.h>
2504 #include <stdio.h>
2505 struct stat;
2506 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2507 struct buf { int x; };
2508 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2509 static char *e (p, i)
2510 char **p;
2511 int i;
2513 return p[i];
2515 static char *f (char * (*g) (char **, int), char **p, ...)
2517 char *s;
2518 va_list v;
2519 va_start (v,p);
2520 s = g (p, va_arg (v,int));
2521 va_end (v);
2522 return s;
2525 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2526 function prototypes and stuff, but not '\xHH' hex character constants.
2527 These don't provoke an error unfortunately, instead are silently treated
2528 as 'x'. The following induces an error, until -std is added to get
2529 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2530 array size at least. It's necessary to write '\x00'==0 to get something
2531 that's true only with -std. */
2532 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2534 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2535 inside strings and character constants. */
2536 #define FOO(x) 'x'
2537 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2539 int test (int i, double x);
2540 struct s1 {int (*f) (int a);};
2541 struct s2 {int (*f) (double a);};
2542 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2543 int argc;
2544 char **argv;
2546 main ()
2548 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2550 return 0;
2552 _ACEOF
2553 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2554 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2556 CC="$ac_save_CC $ac_arg"
2557 if ac_fn_c_try_compile "$LINENO"; then :
2558 ac_cv_prog_cc_c89=$ac_arg
2560 rm -f core conftest.err conftest.$ac_objext
2561 test "x$ac_cv_prog_cc_c89" != "xno" && break
2562 done
2563 rm -f conftest.$ac_ext
2564 CC=$ac_save_CC
2567 # AC_CACHE_VAL
2568 case "x$ac_cv_prog_cc_c89" in
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2571 $as_echo "none needed" >&6; } ;;
2572 xno)
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2574 $as_echo "unsupported" >&6; } ;;
2576 CC="$CC $ac_cv_prog_cc_c89"
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2578 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2579 esac
2580 if test "x$ac_cv_prog_cc_c89" != xno; then :
2584 ac_ext=c
2585 ac_cpp='$CPP $CPPFLAGS'
2586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2590 ac_aux_dir=
2591 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2592 if test -f "$ac_dir/install-sh"; then
2593 ac_aux_dir=$ac_dir
2594 ac_install_sh="$ac_aux_dir/install-sh -c"
2595 break
2596 elif test -f "$ac_dir/install.sh"; then
2597 ac_aux_dir=$ac_dir
2598 ac_install_sh="$ac_aux_dir/install.sh -c"
2599 break
2600 elif test -f "$ac_dir/shtool"; then
2601 ac_aux_dir=$ac_dir
2602 ac_install_sh="$ac_aux_dir/shtool install -c"
2603 break
2605 done
2606 if test -z "$ac_aux_dir"; then
2607 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2610 # These three variables are undocumented and unsupported,
2611 # and are intended to be withdrawn in a future Autoconf release.
2612 # They can cause serious problems if a builder's source tree is in a directory
2613 # whose full name contains unusual characters.
2614 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2615 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2616 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2619 # Find a good install program. We prefer a C program (faster),
2620 # so one script is as good as another. But avoid the broken or
2621 # incompatible versions:
2622 # SysV /etc/install, /usr/sbin/install
2623 # SunOS /usr/etc/install
2624 # IRIX /sbin/install
2625 # AIX /bin/install
2626 # AmigaOS /C/install, which installs bootblocks on floppy discs
2627 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2628 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2629 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2630 # OS/2's system install, which has a completely different semantic
2631 # ./install, which can be erroneously created by make from ./install.sh.
2632 # Reject install programs that cannot install multiple files.
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2634 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2635 if test -z "$INSTALL"; then
2636 if ${ac_cv_path_install+:} false; then :
2637 $as_echo_n "(cached) " >&6
2638 else
2639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2640 for as_dir in $PATH
2642 IFS=$as_save_IFS
2643 test -z "$as_dir" && as_dir=.
2644 # Account for people who put trailing slashes in PATH elements.
2645 case $as_dir/ in #((
2646 ./ | .// | /[cC]/* | \
2647 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2648 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2649 /usr/ucb/* ) ;;
2651 # OSF1 and SCO ODT 3.0 have their own names for install.
2652 # Don't use installbsd from OSF since it installs stuff as root
2653 # by default.
2654 for ac_prog in ginstall scoinst install; do
2655 for ac_exec_ext in '' $ac_executable_extensions; do
2656 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2657 if test $ac_prog = install &&
2658 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2659 # AIX install. It has an incompatible calling convention.
2661 elif test $ac_prog = install &&
2662 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2663 # program-specific install script used by HP pwplus--don't use.
2665 else
2666 rm -rf conftest.one conftest.two conftest.dir
2667 echo one > conftest.one
2668 echo two > conftest.two
2669 mkdir conftest.dir
2670 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2671 test -s conftest.one && test -s conftest.two &&
2672 test -s conftest.dir/conftest.one &&
2673 test -s conftest.dir/conftest.two
2674 then
2675 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2676 break 3
2680 done
2681 done
2683 esac
2685 done
2686 IFS=$as_save_IFS
2688 rm -rf conftest.one conftest.two conftest.dir
2691 if test "${ac_cv_path_install+set}" = set; then
2692 INSTALL=$ac_cv_path_install
2693 else
2694 # As a last resort, use the slow shell script. Don't cache a
2695 # value for INSTALL within a source directory, because that will
2696 # break other packages using the cache if that directory is
2697 # removed, or if the value is a relative name.
2698 INSTALL=$ac_install_sh
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2702 $as_echo "$INSTALL" >&6; }
2704 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2705 # It thinks the first close brace ends the variable substitution.
2706 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2708 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2710 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2712 # checking for ocamlc
2713 if test -n "$ac_tool_prefix"; then
2714 # Extract the first word of "${ac_tool_prefix}ocamlc", so it can be a program name with args.
2715 set dummy ${ac_tool_prefix}ocamlc; ac_word=$2
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2717 $as_echo_n "checking for $ac_word... " >&6; }
2718 if ${ac_cv_prog_OCAMLC+:} false; then :
2719 $as_echo_n "(cached) " >&6
2720 else
2721 if test -n "$OCAMLC"; then
2722 ac_cv_prog_OCAMLC="$OCAMLC" # Let the user override the test.
2723 else
2724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2725 for as_dir in $PATH
2727 IFS=$as_save_IFS
2728 test -z "$as_dir" && as_dir=.
2729 for ac_exec_ext in '' $ac_executable_extensions; do
2730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2731 ac_cv_prog_OCAMLC="${ac_tool_prefix}ocamlc"
2732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2733 break 2
2735 done
2736 done
2737 IFS=$as_save_IFS
2741 OCAMLC=$ac_cv_prog_OCAMLC
2742 if test -n "$OCAMLC"; then
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLC" >&5
2744 $as_echo "$OCAMLC" >&6; }
2745 else
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2747 $as_echo "no" >&6; }
2752 if test -z "$ac_cv_prog_OCAMLC"; then
2753 ac_ct_OCAMLC=$OCAMLC
2754 # Extract the first word of "ocamlc", so it can be a program name with args.
2755 set dummy ocamlc; ac_word=$2
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2757 $as_echo_n "checking for $ac_word... " >&6; }
2758 if ${ac_cv_prog_ac_ct_OCAMLC+:} false; then :
2759 $as_echo_n "(cached) " >&6
2760 else
2761 if test -n "$ac_ct_OCAMLC"; then
2762 ac_cv_prog_ac_ct_OCAMLC="$ac_ct_OCAMLC" # Let the user override the test.
2763 else
2764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2765 for as_dir in $PATH
2767 IFS=$as_save_IFS
2768 test -z "$as_dir" && as_dir=.
2769 for ac_exec_ext in '' $ac_executable_extensions; do
2770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2771 ac_cv_prog_ac_ct_OCAMLC="ocamlc"
2772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2773 break 2
2775 done
2776 done
2777 IFS=$as_save_IFS
2781 ac_ct_OCAMLC=$ac_cv_prog_ac_ct_OCAMLC
2782 if test -n "$ac_ct_OCAMLC"; then
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLC" >&5
2784 $as_echo "$ac_ct_OCAMLC" >&6; }
2785 else
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2787 $as_echo "no" >&6; }
2790 if test "x$ac_ct_OCAMLC" = x; then
2791 OCAMLC="no"
2792 else
2793 case $cross_compiling:$ac_tool_warned in
2794 yes:)
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2797 ac_tool_warned=yes ;;
2798 esac
2799 OCAMLC=$ac_ct_OCAMLC
2801 else
2802 OCAMLC="$ac_cv_prog_OCAMLC"
2806 if test "$OCAMLC" != "no"; then
2807 OCAMLVERSION=`$OCAMLC -v | sed -n -e 's|.*version* *\(.*\)$|\1|p'`
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml version is $OCAMLVERSION" >&5
2809 $as_echo "OCaml version is $OCAMLVERSION" >&6; }
2810 # If OCAMLLIB is set, use it
2811 if test "$OCAMLLIB" = ""; then
2812 OCAMLLIB=`$OCAMLC -where 2>/dev/null || $OCAMLC -v|tail -1|cut -d ' ' -f 4`
2813 else
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCAMLLIB previously set; preserving it." >&5
2815 $as_echo "OCAMLLIB previously set; preserving it." >&6; }
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml library path is $OCAMLLIB" >&5
2818 $as_echo "OCaml library path is $OCAMLLIB" >&6; }
2823 # checking for ocamlopt
2824 if test -n "$ac_tool_prefix"; then
2825 # Extract the first word of "${ac_tool_prefix}ocamlopt", so it can be a program name with args.
2826 set dummy ${ac_tool_prefix}ocamlopt; ac_word=$2
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2828 $as_echo_n "checking for $ac_word... " >&6; }
2829 if ${ac_cv_prog_OCAMLOPT+:} false; then :
2830 $as_echo_n "(cached) " >&6
2831 else
2832 if test -n "$OCAMLOPT"; then
2833 ac_cv_prog_OCAMLOPT="$OCAMLOPT" # Let the user override the test.
2834 else
2835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2836 for as_dir in $PATH
2838 IFS=$as_save_IFS
2839 test -z "$as_dir" && as_dir=.
2840 for ac_exec_ext in '' $ac_executable_extensions; do
2841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2842 ac_cv_prog_OCAMLOPT="${ac_tool_prefix}ocamlopt"
2843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2844 break 2
2846 done
2847 done
2848 IFS=$as_save_IFS
2852 OCAMLOPT=$ac_cv_prog_OCAMLOPT
2853 if test -n "$OCAMLOPT"; then
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPT" >&5
2855 $as_echo "$OCAMLOPT" >&6; }
2856 else
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2858 $as_echo "no" >&6; }
2863 if test -z "$ac_cv_prog_OCAMLOPT"; then
2864 ac_ct_OCAMLOPT=$OCAMLOPT
2865 # Extract the first word of "ocamlopt", so it can be a program name with args.
2866 set dummy ocamlopt; ac_word=$2
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2868 $as_echo_n "checking for $ac_word... " >&6; }
2869 if ${ac_cv_prog_ac_ct_OCAMLOPT+:} false; then :
2870 $as_echo_n "(cached) " >&6
2871 else
2872 if test -n "$ac_ct_OCAMLOPT"; then
2873 ac_cv_prog_ac_ct_OCAMLOPT="$ac_ct_OCAMLOPT" # Let the user override the test.
2874 else
2875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2876 for as_dir in $PATH
2878 IFS=$as_save_IFS
2879 test -z "$as_dir" && as_dir=.
2880 for ac_exec_ext in '' $ac_executable_extensions; do
2881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2882 ac_cv_prog_ac_ct_OCAMLOPT="ocamlopt"
2883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2884 break 2
2886 done
2887 done
2888 IFS=$as_save_IFS
2892 ac_ct_OCAMLOPT=$ac_cv_prog_ac_ct_OCAMLOPT
2893 if test -n "$ac_ct_OCAMLOPT"; then
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPT" >&5
2895 $as_echo "$ac_ct_OCAMLOPT" >&6; }
2896 else
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2898 $as_echo "no" >&6; }
2901 if test "x$ac_ct_OCAMLOPT" = x; then
2902 OCAMLOPT="no"
2903 else
2904 case $cross_compiling:$ac_tool_warned in
2905 yes:)
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2908 ac_tool_warned=yes ;;
2909 esac
2910 OCAMLOPT=$ac_ct_OCAMLOPT
2912 else
2913 OCAMLOPT="$ac_cv_prog_OCAMLOPT"
2916 OCAMLBEST=byte
2917 if test "$OCAMLOPT" = "no"; then
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find ocamlopt; bytecode compilation only." >&5
2919 $as_echo "$as_me: WARNING: Cannot find ocamlopt; bytecode compilation only." >&2;}
2920 else
2921 TMPVERSION=`$OCAMLOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
2922 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlopt discarded." >&5
2924 $as_echo "versions differs from ocamlc; ocamlopt discarded." >&6; }
2925 OCAMLOPT=no
2926 else
2927 OCAMLBEST=opt
2933 # checking for ocamlc.opt
2934 if test -n "$ac_tool_prefix"; then
2935 # Extract the first word of "${ac_tool_prefix}ocamlc.opt", so it can be a program name with args.
2936 set dummy ${ac_tool_prefix}ocamlc.opt; ac_word=$2
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2938 $as_echo_n "checking for $ac_word... " >&6; }
2939 if ${ac_cv_prog_OCAMLCDOTOPT+:} false; then :
2940 $as_echo_n "(cached) " >&6
2941 else
2942 if test -n "$OCAMLCDOTOPT"; then
2943 ac_cv_prog_OCAMLCDOTOPT="$OCAMLCDOTOPT" # Let the user override the test.
2944 else
2945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2946 for as_dir in $PATH
2948 IFS=$as_save_IFS
2949 test -z "$as_dir" && as_dir=.
2950 for ac_exec_ext in '' $ac_executable_extensions; do
2951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2952 ac_cv_prog_OCAMLCDOTOPT="${ac_tool_prefix}ocamlc.opt"
2953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2954 break 2
2956 done
2957 done
2958 IFS=$as_save_IFS
2962 OCAMLCDOTOPT=$ac_cv_prog_OCAMLCDOTOPT
2963 if test -n "$OCAMLCDOTOPT"; then
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLCDOTOPT" >&5
2965 $as_echo "$OCAMLCDOTOPT" >&6; }
2966 else
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2968 $as_echo "no" >&6; }
2973 if test -z "$ac_cv_prog_OCAMLCDOTOPT"; then
2974 ac_ct_OCAMLCDOTOPT=$OCAMLCDOTOPT
2975 # Extract the first word of "ocamlc.opt", so it can be a program name with args.
2976 set dummy ocamlc.opt; ac_word=$2
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2978 $as_echo_n "checking for $ac_word... " >&6; }
2979 if ${ac_cv_prog_ac_ct_OCAMLCDOTOPT+:} false; then :
2980 $as_echo_n "(cached) " >&6
2981 else
2982 if test -n "$ac_ct_OCAMLCDOTOPT"; then
2983 ac_cv_prog_ac_ct_OCAMLCDOTOPT="$ac_ct_OCAMLCDOTOPT" # Let the user override the test.
2984 else
2985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2986 for as_dir in $PATH
2988 IFS=$as_save_IFS
2989 test -z "$as_dir" && as_dir=.
2990 for ac_exec_ext in '' $ac_executable_extensions; do
2991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2992 ac_cv_prog_ac_ct_OCAMLCDOTOPT="ocamlc.opt"
2993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2994 break 2
2996 done
2997 done
2998 IFS=$as_save_IFS
3002 ac_ct_OCAMLCDOTOPT=$ac_cv_prog_ac_ct_OCAMLCDOTOPT
3003 if test -n "$ac_ct_OCAMLCDOTOPT"; then
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLCDOTOPT" >&5
3005 $as_echo "$ac_ct_OCAMLCDOTOPT" >&6; }
3006 else
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3008 $as_echo "no" >&6; }
3011 if test "x$ac_ct_OCAMLCDOTOPT" = x; then
3012 OCAMLCDOTOPT="no"
3013 else
3014 case $cross_compiling:$ac_tool_warned in
3015 yes:)
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3018 ac_tool_warned=yes ;;
3019 esac
3020 OCAMLCDOTOPT=$ac_ct_OCAMLCDOTOPT
3022 else
3023 OCAMLCDOTOPT="$ac_cv_prog_OCAMLCDOTOPT"
3026 if test "$OCAMLCDOTOPT" != "no"; then
3027 TMPVERSION=`$OCAMLCDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3028 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlc.opt discarded." >&5
3030 $as_echo "versions differs from ocamlc; ocamlc.opt discarded." >&6; }
3031 else
3032 OCAMLC=$OCAMLCDOTOPT
3036 # checking for ocamlopt.opt
3037 if test "$OCAMLOPT" != "no" ; then
3038 if test -n "$ac_tool_prefix"; then
3039 # Extract the first word of "${ac_tool_prefix}ocamlopt.opt", so it can be a program name with args.
3040 set dummy ${ac_tool_prefix}ocamlopt.opt; ac_word=$2
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3042 $as_echo_n "checking for $ac_word... " >&6; }
3043 if ${ac_cv_prog_OCAMLOPTDOTOPT+:} false; then :
3044 $as_echo_n "(cached) " >&6
3045 else
3046 if test -n "$OCAMLOPTDOTOPT"; then
3047 ac_cv_prog_OCAMLOPTDOTOPT="$OCAMLOPTDOTOPT" # Let the user override the test.
3048 else
3049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3050 for as_dir in $PATH
3052 IFS=$as_save_IFS
3053 test -z "$as_dir" && as_dir=.
3054 for ac_exec_ext in '' $ac_executable_extensions; do
3055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3056 ac_cv_prog_OCAMLOPTDOTOPT="${ac_tool_prefix}ocamlopt.opt"
3057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3058 break 2
3060 done
3061 done
3062 IFS=$as_save_IFS
3066 OCAMLOPTDOTOPT=$ac_cv_prog_OCAMLOPTDOTOPT
3067 if test -n "$OCAMLOPTDOTOPT"; then
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPTDOTOPT" >&5
3069 $as_echo "$OCAMLOPTDOTOPT" >&6; }
3070 else
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3072 $as_echo "no" >&6; }
3077 if test -z "$ac_cv_prog_OCAMLOPTDOTOPT"; then
3078 ac_ct_OCAMLOPTDOTOPT=$OCAMLOPTDOTOPT
3079 # Extract the first word of "ocamlopt.opt", so it can be a program name with args.
3080 set dummy ocamlopt.opt; ac_word=$2
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3082 $as_echo_n "checking for $ac_word... " >&6; }
3083 if ${ac_cv_prog_ac_ct_OCAMLOPTDOTOPT+:} false; then :
3084 $as_echo_n "(cached) " >&6
3085 else
3086 if test -n "$ac_ct_OCAMLOPTDOTOPT"; then
3087 ac_cv_prog_ac_ct_OCAMLOPTDOTOPT="$ac_ct_OCAMLOPTDOTOPT" # Let the user override the test.
3088 else
3089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3090 for as_dir in $PATH
3092 IFS=$as_save_IFS
3093 test -z "$as_dir" && as_dir=.
3094 for ac_exec_ext in '' $ac_executable_extensions; do
3095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3096 ac_cv_prog_ac_ct_OCAMLOPTDOTOPT="ocamlopt.opt"
3097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3098 break 2
3100 done
3101 done
3102 IFS=$as_save_IFS
3106 ac_ct_OCAMLOPTDOTOPT=$ac_cv_prog_ac_ct_OCAMLOPTDOTOPT
3107 if test -n "$ac_ct_OCAMLOPTDOTOPT"; then
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPTDOTOPT" >&5
3109 $as_echo "$ac_ct_OCAMLOPTDOTOPT" >&6; }
3110 else
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3112 $as_echo "no" >&6; }
3115 if test "x$ac_ct_OCAMLOPTDOTOPT" = x; then
3116 OCAMLOPTDOTOPT="no"
3117 else
3118 case $cross_compiling:$ac_tool_warned in
3119 yes:)
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3122 ac_tool_warned=yes ;;
3123 esac
3124 OCAMLOPTDOTOPT=$ac_ct_OCAMLOPTDOTOPT
3126 else
3127 OCAMLOPTDOTOPT="$ac_cv_prog_OCAMLOPTDOTOPT"
3130 if test "$OCAMLOPTDOTOPT" != "no"; then
3131 TMPVERSION=`$OCAMLOPTDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3132 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: version differs from ocamlc; ocamlopt.opt discarded." >&5
3134 $as_echo "version differs from ocamlc; ocamlopt.opt discarded." >&6; }
3135 else
3136 OCAMLOPT=$OCAMLOPTDOTOPT
3146 # checking for ocaml toplevel
3147 if test -n "$ac_tool_prefix"; then
3148 # Extract the first word of "${ac_tool_prefix}ocaml", so it can be a program name with args.
3149 set dummy ${ac_tool_prefix}ocaml; ac_word=$2
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3151 $as_echo_n "checking for $ac_word... " >&6; }
3152 if ${ac_cv_prog_OCAML+:} false; then :
3153 $as_echo_n "(cached) " >&6
3154 else
3155 if test -n "$OCAML"; then
3156 ac_cv_prog_OCAML="$OCAML" # Let the user override the test.
3157 else
3158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3159 for as_dir in $PATH
3161 IFS=$as_save_IFS
3162 test -z "$as_dir" && as_dir=.
3163 for ac_exec_ext in '' $ac_executable_extensions; do
3164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3165 ac_cv_prog_OCAML="${ac_tool_prefix}ocaml"
3166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3167 break 2
3169 done
3170 done
3171 IFS=$as_save_IFS
3175 OCAML=$ac_cv_prog_OCAML
3176 if test -n "$OCAML"; then
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAML" >&5
3178 $as_echo "$OCAML" >&6; }
3179 else
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3181 $as_echo "no" >&6; }
3186 if test -z "$ac_cv_prog_OCAML"; then
3187 ac_ct_OCAML=$OCAML
3188 # Extract the first word of "ocaml", so it can be a program name with args.
3189 set dummy ocaml; ac_word=$2
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3191 $as_echo_n "checking for $ac_word... " >&6; }
3192 if ${ac_cv_prog_ac_ct_OCAML+:} false; then :
3193 $as_echo_n "(cached) " >&6
3194 else
3195 if test -n "$ac_ct_OCAML"; then
3196 ac_cv_prog_ac_ct_OCAML="$ac_ct_OCAML" # Let the user override the test.
3197 else
3198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3199 for as_dir in $PATH
3201 IFS=$as_save_IFS
3202 test -z "$as_dir" && as_dir=.
3203 for ac_exec_ext in '' $ac_executable_extensions; do
3204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3205 ac_cv_prog_ac_ct_OCAML="ocaml"
3206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3207 break 2
3209 done
3210 done
3211 IFS=$as_save_IFS
3215 ac_ct_OCAML=$ac_cv_prog_ac_ct_OCAML
3216 if test -n "$ac_ct_OCAML"; then
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAML" >&5
3218 $as_echo "$ac_ct_OCAML" >&6; }
3219 else
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3221 $as_echo "no" >&6; }
3224 if test "x$ac_ct_OCAML" = x; then
3225 OCAML="no"
3226 else
3227 case $cross_compiling:$ac_tool_warned in
3228 yes:)
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3231 ac_tool_warned=yes ;;
3232 esac
3233 OCAML=$ac_ct_OCAML
3235 else
3236 OCAML="$ac_cv_prog_OCAML"
3240 # checking for ocamldep
3241 if test -n "$ac_tool_prefix"; then
3242 # Extract the first word of "${ac_tool_prefix}ocamldep", so it can be a program name with args.
3243 set dummy ${ac_tool_prefix}ocamldep; ac_word=$2
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3245 $as_echo_n "checking for $ac_word... " >&6; }
3246 if ${ac_cv_prog_OCAMLDEP+:} false; then :
3247 $as_echo_n "(cached) " >&6
3248 else
3249 if test -n "$OCAMLDEP"; then
3250 ac_cv_prog_OCAMLDEP="$OCAMLDEP" # Let the user override the test.
3251 else
3252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3253 for as_dir in $PATH
3255 IFS=$as_save_IFS
3256 test -z "$as_dir" && as_dir=.
3257 for ac_exec_ext in '' $ac_executable_extensions; do
3258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3259 ac_cv_prog_OCAMLDEP="${ac_tool_prefix}ocamldep"
3260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3261 break 2
3263 done
3264 done
3265 IFS=$as_save_IFS
3269 OCAMLDEP=$ac_cv_prog_OCAMLDEP
3270 if test -n "$OCAMLDEP"; then
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDEP" >&5
3272 $as_echo "$OCAMLDEP" >&6; }
3273 else
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3275 $as_echo "no" >&6; }
3280 if test -z "$ac_cv_prog_OCAMLDEP"; then
3281 ac_ct_OCAMLDEP=$OCAMLDEP
3282 # Extract the first word of "ocamldep", so it can be a program name with args.
3283 set dummy ocamldep; ac_word=$2
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3285 $as_echo_n "checking for $ac_word... " >&6; }
3286 if ${ac_cv_prog_ac_ct_OCAMLDEP+:} false; then :
3287 $as_echo_n "(cached) " >&6
3288 else
3289 if test -n "$ac_ct_OCAMLDEP"; then
3290 ac_cv_prog_ac_ct_OCAMLDEP="$ac_ct_OCAMLDEP" # Let the user override the test.
3291 else
3292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3293 for as_dir in $PATH
3295 IFS=$as_save_IFS
3296 test -z "$as_dir" && as_dir=.
3297 for ac_exec_ext in '' $ac_executable_extensions; do
3298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3299 ac_cv_prog_ac_ct_OCAMLDEP="ocamldep"
3300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3301 break 2
3303 done
3304 done
3305 IFS=$as_save_IFS
3309 ac_ct_OCAMLDEP=$ac_cv_prog_ac_ct_OCAMLDEP
3310 if test -n "$ac_ct_OCAMLDEP"; then
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDEP" >&5
3312 $as_echo "$ac_ct_OCAMLDEP" >&6; }
3313 else
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3315 $as_echo "no" >&6; }
3318 if test "x$ac_ct_OCAMLDEP" = x; then
3319 OCAMLDEP="no"
3320 else
3321 case $cross_compiling:$ac_tool_warned in
3322 yes:)
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3325 ac_tool_warned=yes ;;
3326 esac
3327 OCAMLDEP=$ac_ct_OCAMLDEP
3329 else
3330 OCAMLDEP="$ac_cv_prog_OCAMLDEP"
3334 # checking for ocamlmktop
3335 if test -n "$ac_tool_prefix"; then
3336 # Extract the first word of "${ac_tool_prefix}ocamlmktop", so it can be a program name with args.
3337 set dummy ${ac_tool_prefix}ocamlmktop; ac_word=$2
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3339 $as_echo_n "checking for $ac_word... " >&6; }
3340 if ${ac_cv_prog_OCAMLMKTOP+:} false; then :
3341 $as_echo_n "(cached) " >&6
3342 else
3343 if test -n "$OCAMLMKTOP"; then
3344 ac_cv_prog_OCAMLMKTOP="$OCAMLMKTOP" # Let the user override the test.
3345 else
3346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3347 for as_dir in $PATH
3349 IFS=$as_save_IFS
3350 test -z "$as_dir" && as_dir=.
3351 for ac_exec_ext in '' $ac_executable_extensions; do
3352 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3353 ac_cv_prog_OCAMLMKTOP="${ac_tool_prefix}ocamlmktop"
3354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3355 break 2
3357 done
3358 done
3359 IFS=$as_save_IFS
3363 OCAMLMKTOP=$ac_cv_prog_OCAMLMKTOP
3364 if test -n "$OCAMLMKTOP"; then
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKTOP" >&5
3366 $as_echo "$OCAMLMKTOP" >&6; }
3367 else
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3369 $as_echo "no" >&6; }
3374 if test -z "$ac_cv_prog_OCAMLMKTOP"; then
3375 ac_ct_OCAMLMKTOP=$OCAMLMKTOP
3376 # Extract the first word of "ocamlmktop", so it can be a program name with args.
3377 set dummy ocamlmktop; ac_word=$2
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3379 $as_echo_n "checking for $ac_word... " >&6; }
3380 if ${ac_cv_prog_ac_ct_OCAMLMKTOP+:} false; then :
3381 $as_echo_n "(cached) " >&6
3382 else
3383 if test -n "$ac_ct_OCAMLMKTOP"; then
3384 ac_cv_prog_ac_ct_OCAMLMKTOP="$ac_ct_OCAMLMKTOP" # Let the user override the test.
3385 else
3386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3387 for as_dir in $PATH
3389 IFS=$as_save_IFS
3390 test -z "$as_dir" && as_dir=.
3391 for ac_exec_ext in '' $ac_executable_extensions; do
3392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3393 ac_cv_prog_ac_ct_OCAMLMKTOP="ocamlmktop"
3394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3395 break 2
3397 done
3398 done
3399 IFS=$as_save_IFS
3403 ac_ct_OCAMLMKTOP=$ac_cv_prog_ac_ct_OCAMLMKTOP
3404 if test -n "$ac_ct_OCAMLMKTOP"; then
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKTOP" >&5
3406 $as_echo "$ac_ct_OCAMLMKTOP" >&6; }
3407 else
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3409 $as_echo "no" >&6; }
3412 if test "x$ac_ct_OCAMLMKTOP" = x; then
3413 OCAMLMKTOP="no"
3414 else
3415 case $cross_compiling:$ac_tool_warned in
3416 yes:)
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3419 ac_tool_warned=yes ;;
3420 esac
3421 OCAMLMKTOP=$ac_ct_OCAMLMKTOP
3423 else
3424 OCAMLMKTOP="$ac_cv_prog_OCAMLMKTOP"
3428 # checking for ocamlmklib
3429 if test -n "$ac_tool_prefix"; then
3430 # Extract the first word of "${ac_tool_prefix}ocamlmklib", so it can be a program name with args.
3431 set dummy ${ac_tool_prefix}ocamlmklib; ac_word=$2
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3433 $as_echo_n "checking for $ac_word... " >&6; }
3434 if ${ac_cv_prog_OCAMLMKLIB+:} false; then :
3435 $as_echo_n "(cached) " >&6
3436 else
3437 if test -n "$OCAMLMKLIB"; then
3438 ac_cv_prog_OCAMLMKLIB="$OCAMLMKLIB" # Let the user override the test.
3439 else
3440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3441 for as_dir in $PATH
3443 IFS=$as_save_IFS
3444 test -z "$as_dir" && as_dir=.
3445 for ac_exec_ext in '' $ac_executable_extensions; do
3446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3447 ac_cv_prog_OCAMLMKLIB="${ac_tool_prefix}ocamlmklib"
3448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3449 break 2
3451 done
3452 done
3453 IFS=$as_save_IFS
3457 OCAMLMKLIB=$ac_cv_prog_OCAMLMKLIB
3458 if test -n "$OCAMLMKLIB"; then
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKLIB" >&5
3460 $as_echo "$OCAMLMKLIB" >&6; }
3461 else
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3463 $as_echo "no" >&6; }
3468 if test -z "$ac_cv_prog_OCAMLMKLIB"; then
3469 ac_ct_OCAMLMKLIB=$OCAMLMKLIB
3470 # Extract the first word of "ocamlmklib", so it can be a program name with args.
3471 set dummy ocamlmklib; ac_word=$2
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3473 $as_echo_n "checking for $ac_word... " >&6; }
3474 if ${ac_cv_prog_ac_ct_OCAMLMKLIB+:} false; then :
3475 $as_echo_n "(cached) " >&6
3476 else
3477 if test -n "$ac_ct_OCAMLMKLIB"; then
3478 ac_cv_prog_ac_ct_OCAMLMKLIB="$ac_ct_OCAMLMKLIB" # Let the user override the test.
3479 else
3480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3481 for as_dir in $PATH
3483 IFS=$as_save_IFS
3484 test -z "$as_dir" && as_dir=.
3485 for ac_exec_ext in '' $ac_executable_extensions; do
3486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3487 ac_cv_prog_ac_ct_OCAMLMKLIB="ocamlmklib"
3488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3489 break 2
3491 done
3492 done
3493 IFS=$as_save_IFS
3497 ac_ct_OCAMLMKLIB=$ac_cv_prog_ac_ct_OCAMLMKLIB
3498 if test -n "$ac_ct_OCAMLMKLIB"; then
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKLIB" >&5
3500 $as_echo "$ac_ct_OCAMLMKLIB" >&6; }
3501 else
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3503 $as_echo "no" >&6; }
3506 if test "x$ac_ct_OCAMLMKLIB" = x; then
3507 OCAMLMKLIB="no"
3508 else
3509 case $cross_compiling:$ac_tool_warned in
3510 yes:)
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3513 ac_tool_warned=yes ;;
3514 esac
3515 OCAMLMKLIB=$ac_ct_OCAMLMKLIB
3517 else
3518 OCAMLMKLIB="$ac_cv_prog_OCAMLMKLIB"
3522 # checking for ocamldoc
3523 if test -n "$ac_tool_prefix"; then
3524 # Extract the first word of "${ac_tool_prefix}ocamldoc", so it can be a program name with args.
3525 set dummy ${ac_tool_prefix}ocamldoc; ac_word=$2
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3527 $as_echo_n "checking for $ac_word... " >&6; }
3528 if ${ac_cv_prog_OCAMLDOC+:} false; then :
3529 $as_echo_n "(cached) " >&6
3530 else
3531 if test -n "$OCAMLDOC"; then
3532 ac_cv_prog_OCAMLDOC="$OCAMLDOC" # Let the user override the test.
3533 else
3534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3535 for as_dir in $PATH
3537 IFS=$as_save_IFS
3538 test -z "$as_dir" && as_dir=.
3539 for ac_exec_ext in '' $ac_executable_extensions; do
3540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3541 ac_cv_prog_OCAMLDOC="${ac_tool_prefix}ocamldoc"
3542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3543 break 2
3545 done
3546 done
3547 IFS=$as_save_IFS
3551 OCAMLDOC=$ac_cv_prog_OCAMLDOC
3552 if test -n "$OCAMLDOC"; then
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDOC" >&5
3554 $as_echo "$OCAMLDOC" >&6; }
3555 else
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3557 $as_echo "no" >&6; }
3562 if test -z "$ac_cv_prog_OCAMLDOC"; then
3563 ac_ct_OCAMLDOC=$OCAMLDOC
3564 # Extract the first word of "ocamldoc", so it can be a program name with args.
3565 set dummy ocamldoc; ac_word=$2
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3567 $as_echo_n "checking for $ac_word... " >&6; }
3568 if ${ac_cv_prog_ac_ct_OCAMLDOC+:} false; then :
3569 $as_echo_n "(cached) " >&6
3570 else
3571 if test -n "$ac_ct_OCAMLDOC"; then
3572 ac_cv_prog_ac_ct_OCAMLDOC="$ac_ct_OCAMLDOC" # Let the user override the test.
3573 else
3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3575 for as_dir in $PATH
3577 IFS=$as_save_IFS
3578 test -z "$as_dir" && as_dir=.
3579 for ac_exec_ext in '' $ac_executable_extensions; do
3580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3581 ac_cv_prog_ac_ct_OCAMLDOC="ocamldoc"
3582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3583 break 2
3585 done
3586 done
3587 IFS=$as_save_IFS
3591 ac_ct_OCAMLDOC=$ac_cv_prog_ac_ct_OCAMLDOC
3592 if test -n "$ac_ct_OCAMLDOC"; then
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDOC" >&5
3594 $as_echo "$ac_ct_OCAMLDOC" >&6; }
3595 else
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597 $as_echo "no" >&6; }
3600 if test "x$ac_ct_OCAMLDOC" = x; then
3601 OCAMLDOC="no"
3602 else
3603 case $cross_compiling:$ac_tool_warned in
3604 yes:)
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3606 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3607 ac_tool_warned=yes ;;
3608 esac
3609 OCAMLDOC=$ac_ct_OCAMLDOC
3611 else
3612 OCAMLDOC="$ac_cv_prog_OCAMLDOC"
3616 # checking for ocamlbuild
3617 if test -n "$ac_tool_prefix"; then
3618 # Extract the first word of "${ac_tool_prefix}ocamlbuild", so it can be a program name with args.
3619 set dummy ${ac_tool_prefix}ocamlbuild; ac_word=$2
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3621 $as_echo_n "checking for $ac_word... " >&6; }
3622 if ${ac_cv_prog_OCAMLBUILD+:} false; then :
3623 $as_echo_n "(cached) " >&6
3624 else
3625 if test -n "$OCAMLBUILD"; then
3626 ac_cv_prog_OCAMLBUILD="$OCAMLBUILD" # Let the user override the test.
3627 else
3628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3629 for as_dir in $PATH
3631 IFS=$as_save_IFS
3632 test -z "$as_dir" && as_dir=.
3633 for ac_exec_ext in '' $ac_executable_extensions; do
3634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3635 ac_cv_prog_OCAMLBUILD="${ac_tool_prefix}ocamlbuild"
3636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3637 break 2
3639 done
3640 done
3641 IFS=$as_save_IFS
3645 OCAMLBUILD=$ac_cv_prog_OCAMLBUILD
3646 if test -n "$OCAMLBUILD"; then
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLBUILD" >&5
3648 $as_echo "$OCAMLBUILD" >&6; }
3649 else
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3651 $as_echo "no" >&6; }
3656 if test -z "$ac_cv_prog_OCAMLBUILD"; then
3657 ac_ct_OCAMLBUILD=$OCAMLBUILD
3658 # Extract the first word of "ocamlbuild", so it can be a program name with args.
3659 set dummy ocamlbuild; ac_word=$2
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3661 $as_echo_n "checking for $ac_word... " >&6; }
3662 if ${ac_cv_prog_ac_ct_OCAMLBUILD+:} false; then :
3663 $as_echo_n "(cached) " >&6
3664 else
3665 if test -n "$ac_ct_OCAMLBUILD"; then
3666 ac_cv_prog_ac_ct_OCAMLBUILD="$ac_ct_OCAMLBUILD" # Let the user override the test.
3667 else
3668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3669 for as_dir in $PATH
3671 IFS=$as_save_IFS
3672 test -z "$as_dir" && as_dir=.
3673 for ac_exec_ext in '' $ac_executable_extensions; do
3674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3675 ac_cv_prog_ac_ct_OCAMLBUILD="ocamlbuild"
3676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3677 break 2
3679 done
3680 done
3681 IFS=$as_save_IFS
3685 ac_ct_OCAMLBUILD=$ac_cv_prog_ac_ct_OCAMLBUILD
3686 if test -n "$ac_ct_OCAMLBUILD"; then
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLBUILD" >&5
3688 $as_echo "$ac_ct_OCAMLBUILD" >&6; }
3689 else
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3691 $as_echo "no" >&6; }
3694 if test "x$ac_ct_OCAMLBUILD" = x; then
3695 OCAMLBUILD="no"
3696 else
3697 case $cross_compiling:$ac_tool_warned in
3698 yes:)
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3701 ac_tool_warned=yes ;;
3702 esac
3703 OCAMLBUILD=$ac_ct_OCAMLBUILD
3705 else
3706 OCAMLBUILD="$ac_cv_prog_OCAMLBUILD"
3711 # checking for ocamlfind
3712 if test -n "$ac_tool_prefix"; then
3713 # Extract the first word of "${ac_tool_prefix}ocamlfind", so it can be a program name with args.
3714 set dummy ${ac_tool_prefix}ocamlfind; ac_word=$2
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3716 $as_echo_n "checking for $ac_word... " >&6; }
3717 if ${ac_cv_prog_OCAMLFIND+:} false; then :
3718 $as_echo_n "(cached) " >&6
3719 else
3720 if test -n "$OCAMLFIND"; then
3721 ac_cv_prog_OCAMLFIND="$OCAMLFIND" # Let the user override the test.
3722 else
3723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3724 for as_dir in $PATH
3726 IFS=$as_save_IFS
3727 test -z "$as_dir" && as_dir=.
3728 for ac_exec_ext in '' $ac_executable_extensions; do
3729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3730 ac_cv_prog_OCAMLFIND="${ac_tool_prefix}ocamlfind"
3731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3732 break 2
3734 done
3735 done
3736 IFS=$as_save_IFS
3740 OCAMLFIND=$ac_cv_prog_OCAMLFIND
3741 if test -n "$OCAMLFIND"; then
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLFIND" >&5
3743 $as_echo "$OCAMLFIND" >&6; }
3744 else
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3746 $as_echo "no" >&6; }
3751 if test -z "$ac_cv_prog_OCAMLFIND"; then
3752 ac_ct_OCAMLFIND=$OCAMLFIND
3753 # Extract the first word of "ocamlfind", so it can be a program name with args.
3754 set dummy ocamlfind; ac_word=$2
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3756 $as_echo_n "checking for $ac_word... " >&6; }
3757 if ${ac_cv_prog_ac_ct_OCAMLFIND+:} false; then :
3758 $as_echo_n "(cached) " >&6
3759 else
3760 if test -n "$ac_ct_OCAMLFIND"; then
3761 ac_cv_prog_ac_ct_OCAMLFIND="$ac_ct_OCAMLFIND" # Let the user override the test.
3762 else
3763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3764 for as_dir in $PATH
3766 IFS=$as_save_IFS
3767 test -z "$as_dir" && as_dir=.
3768 for ac_exec_ext in '' $ac_executable_extensions; do
3769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3770 ac_cv_prog_ac_ct_OCAMLFIND="ocamlfind"
3771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3772 break 2
3774 done
3775 done
3776 IFS=$as_save_IFS
3780 ac_ct_OCAMLFIND=$ac_cv_prog_ac_ct_OCAMLFIND
3781 if test -n "$ac_ct_OCAMLFIND"; then
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLFIND" >&5
3783 $as_echo "$ac_ct_OCAMLFIND" >&6; }
3784 else
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3786 $as_echo "no" >&6; }
3789 if test "x$ac_ct_OCAMLFIND" = x; then
3790 OCAMLFIND="no"
3791 else
3792 case $cross_compiling:$ac_tool_warned in
3793 yes:)
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3796 ac_tool_warned=yes ;;
3797 esac
3798 OCAMLFIND=$ac_ct_OCAMLFIND
3800 else
3801 OCAMLFIND="$ac_cv_prog_OCAMLFIND"
3807 INSTALLDIR=$OCAMLLIB/curl
3809 if test "x$prefix" = xNONE; then
3810 $as_echo_n "checking for prefix by " >&6
3811 # Extract the first word of "ocamlc", so it can be a program name with args.
3812 set dummy ocamlc; ac_word=$2
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3814 $as_echo_n "checking for $ac_word... " >&6; }
3815 if ${ac_cv_path_ac_prefix_program+:} false; then :
3816 $as_echo_n "(cached) " >&6
3817 else
3818 case $ac_prefix_program in
3819 [\\/]* | ?:[\\/]*)
3820 ac_cv_path_ac_prefix_program="$ac_prefix_program" # Let the user override the test with a path.
3823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3824 for as_dir in $PATH
3826 IFS=$as_save_IFS
3827 test -z "$as_dir" && as_dir=.
3828 for ac_exec_ext in '' $ac_executable_extensions; do
3829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3830 ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
3831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3832 break 2
3834 done
3835 done
3836 IFS=$as_save_IFS
3839 esac
3841 ac_prefix_program=$ac_cv_path_ac_prefix_program
3842 if test -n "$ac_prefix_program"; then
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prefix_program" >&5
3844 $as_echo "$ac_prefix_program" >&6; }
3845 else
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3847 $as_echo "no" >&6; }
3851 if test -n "$ac_prefix_program"; then
3852 prefix=`$as_dirname -- "$ac_prefix_program" ||
3853 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3854 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
3855 X"$ac_prefix_program" : 'X\(//\)$' \| \
3856 X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
3857 $as_echo X"$ac_prefix_program" |
3858 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3859 s//\1/
3862 /^X\(\/\/\)[^/].*/{
3863 s//\1/
3866 /^X\(\/\/\)$/{
3867 s//\1/
3870 /^X\(\/\).*/{
3871 s//\1/
3874 s/.*/./; q'`
3875 prefix=`$as_dirname -- "$prefix" ||
3876 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3877 X"$prefix" : 'X\(//\)[^/]' \| \
3878 X"$prefix" : 'X\(//\)$' \| \
3879 X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
3880 $as_echo X"$prefix" |
3881 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3882 s//\1/
3885 /^X\(\/\/\)[^/].*/{
3886 s//\1/
3889 /^X\(\/\/\)$/{
3890 s//\1/
3893 /^X\(\/\).*/{
3894 s//\1/
3897 s/.*/./; q'`
3910 ac_fn_c_check_decl "$LINENO" "CURLOPT_FILE" "ac_cv_have_decl_CURLOPT_FILE" "
3911 #include \"curl/curl.h\"
3914 if test "x$ac_cv_have_decl_CURLOPT_FILE" = xyes; then :
3915 ac_have_decl=1
3916 else
3917 ac_have_decl=0
3920 cat >>confdefs.h <<_ACEOF
3921 #define HAVE_DECL_CURLOPT_FILE $ac_have_decl
3922 _ACEOF
3923 ac_fn_c_check_decl "$LINENO" "CURLOPT_URL" "ac_cv_have_decl_CURLOPT_URL" "
3924 #include \"curl/curl.h\"
3927 if test "x$ac_cv_have_decl_CURLOPT_URL" = xyes; then :
3928 ac_have_decl=1
3929 else
3930 ac_have_decl=0
3933 cat >>confdefs.h <<_ACEOF
3934 #define HAVE_DECL_CURLOPT_URL $ac_have_decl
3935 _ACEOF
3936 ac_fn_c_check_decl "$LINENO" "CURLOPT_PORT" "ac_cv_have_decl_CURLOPT_PORT" "
3937 #include \"curl/curl.h\"
3940 if test "x$ac_cv_have_decl_CURLOPT_PORT" = xyes; then :
3941 ac_have_decl=1
3942 else
3943 ac_have_decl=0
3946 cat >>confdefs.h <<_ACEOF
3947 #define HAVE_DECL_CURLOPT_PORT $ac_have_decl
3948 _ACEOF
3949 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXY" "ac_cv_have_decl_CURLOPT_PROXY" "
3950 #include \"curl/curl.h\"
3953 if test "x$ac_cv_have_decl_CURLOPT_PROXY" = xyes; then :
3954 ac_have_decl=1
3955 else
3956 ac_have_decl=0
3959 cat >>confdefs.h <<_ACEOF
3960 #define HAVE_DECL_CURLOPT_PROXY $ac_have_decl
3961 _ACEOF
3962 ac_fn_c_check_decl "$LINENO" "CURLOPT_USERPWD" "ac_cv_have_decl_CURLOPT_USERPWD" "
3963 #include \"curl/curl.h\"
3966 if test "x$ac_cv_have_decl_CURLOPT_USERPWD" = xyes; then :
3967 ac_have_decl=1
3968 else
3969 ac_have_decl=0
3972 cat >>confdefs.h <<_ACEOF
3973 #define HAVE_DECL_CURLOPT_USERPWD $ac_have_decl
3974 _ACEOF
3975 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYUSERPWD" "ac_cv_have_decl_CURLOPT_PROXYUSERPWD" "
3976 #include \"curl/curl.h\"
3979 if test "x$ac_cv_have_decl_CURLOPT_PROXYUSERPWD" = xyes; then :
3980 ac_have_decl=1
3981 else
3982 ac_have_decl=0
3985 cat >>confdefs.h <<_ACEOF
3986 #define HAVE_DECL_CURLOPT_PROXYUSERPWD $ac_have_decl
3987 _ACEOF
3988 ac_fn_c_check_decl "$LINENO" "CURLOPT_RANGE" "ac_cv_have_decl_CURLOPT_RANGE" "
3989 #include \"curl/curl.h\"
3992 if test "x$ac_cv_have_decl_CURLOPT_RANGE" = xyes; then :
3993 ac_have_decl=1
3994 else
3995 ac_have_decl=0
3998 cat >>confdefs.h <<_ACEOF
3999 #define HAVE_DECL_CURLOPT_RANGE $ac_have_decl
4000 _ACEOF
4001 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILE" "ac_cv_have_decl_CURLOPT_INFILE" "
4002 #include \"curl/curl.h\"
4005 if test "x$ac_cv_have_decl_CURLOPT_INFILE" = xyes; then :
4006 ac_have_decl=1
4007 else
4008 ac_have_decl=0
4011 cat >>confdefs.h <<_ACEOF
4012 #define HAVE_DECL_CURLOPT_INFILE $ac_have_decl
4013 _ACEOF
4014 ac_fn_c_check_decl "$LINENO" "CURLOPT_ERRORBUFFER" "ac_cv_have_decl_CURLOPT_ERRORBUFFER" "
4015 #include \"curl/curl.h\"
4018 if test "x$ac_cv_have_decl_CURLOPT_ERRORBUFFER" = xyes; then :
4019 ac_have_decl=1
4020 else
4021 ac_have_decl=0
4024 cat >>confdefs.h <<_ACEOF
4025 #define HAVE_DECL_CURLOPT_ERRORBUFFER $ac_have_decl
4026 _ACEOF
4027 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEFUNCTION" "ac_cv_have_decl_CURLOPT_WRITEFUNCTION" "
4028 #include \"curl/curl.h\"
4031 if test "x$ac_cv_have_decl_CURLOPT_WRITEFUNCTION" = xyes; then :
4032 ac_have_decl=1
4033 else
4034 ac_have_decl=0
4037 cat >>confdefs.h <<_ACEOF
4038 #define HAVE_DECL_CURLOPT_WRITEFUNCTION $ac_have_decl
4039 _ACEOF
4040 ac_fn_c_check_decl "$LINENO" "CURLOPT_READFUNCTION" "ac_cv_have_decl_CURLOPT_READFUNCTION" "
4041 #include \"curl/curl.h\"
4044 if test "x$ac_cv_have_decl_CURLOPT_READFUNCTION" = xyes; then :
4045 ac_have_decl=1
4046 else
4047 ac_have_decl=0
4050 cat >>confdefs.h <<_ACEOF
4051 #define HAVE_DECL_CURLOPT_READFUNCTION $ac_have_decl
4052 _ACEOF
4053 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEOUT" "ac_cv_have_decl_CURLOPT_TIMEOUT" "
4054 #include \"curl/curl.h\"
4057 if test "x$ac_cv_have_decl_CURLOPT_TIMEOUT" = xyes; then :
4058 ac_have_decl=1
4059 else
4060 ac_have_decl=0
4063 cat >>confdefs.h <<_ACEOF
4064 #define HAVE_DECL_CURLOPT_TIMEOUT $ac_have_decl
4065 _ACEOF
4066 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILESIZE" "ac_cv_have_decl_CURLOPT_INFILESIZE" "
4067 #include \"curl/curl.h\"
4070 if test "x$ac_cv_have_decl_CURLOPT_INFILESIZE" = xyes; then :
4071 ac_have_decl=1
4072 else
4073 ac_have_decl=0
4076 cat >>confdefs.h <<_ACEOF
4077 #define HAVE_DECL_CURLOPT_INFILESIZE $ac_have_decl
4078 _ACEOF
4079 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDS" "ac_cv_have_decl_CURLOPT_POSTFIELDS" "
4080 #include \"curl/curl.h\"
4083 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDS" = xyes; then :
4084 ac_have_decl=1
4085 else
4086 ac_have_decl=0
4089 cat >>confdefs.h <<_ACEOF
4090 #define HAVE_DECL_CURLOPT_POSTFIELDS $ac_have_decl
4091 _ACEOF
4092 ac_fn_c_check_decl "$LINENO" "CURLOPT_REFERER" "ac_cv_have_decl_CURLOPT_REFERER" "
4093 #include \"curl/curl.h\"
4096 if test "x$ac_cv_have_decl_CURLOPT_REFERER" = xyes; then :
4097 ac_have_decl=1
4098 else
4099 ac_have_decl=0
4102 cat >>confdefs.h <<_ACEOF
4103 #define HAVE_DECL_CURLOPT_REFERER $ac_have_decl
4104 _ACEOF
4105 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPPORT" "ac_cv_have_decl_CURLOPT_FTPPORT" "
4106 #include \"curl/curl.h\"
4109 if test "x$ac_cv_have_decl_CURLOPT_FTPPORT" = xyes; then :
4110 ac_have_decl=1
4111 else
4112 ac_have_decl=0
4115 cat >>confdefs.h <<_ACEOF
4116 #define HAVE_DECL_CURLOPT_FTPPORT $ac_have_decl
4117 _ACEOF
4118 ac_fn_c_check_decl "$LINENO" "CURLOPT_USERAGENT" "ac_cv_have_decl_CURLOPT_USERAGENT" "
4119 #include \"curl/curl.h\"
4122 if test "x$ac_cv_have_decl_CURLOPT_USERAGENT" = xyes; then :
4123 ac_have_decl=1
4124 else
4125 ac_have_decl=0
4128 cat >>confdefs.h <<_ACEOF
4129 #define HAVE_DECL_CURLOPT_USERAGENT $ac_have_decl
4130 _ACEOF
4131 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOW_SPEED_LIMIT" "ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" "
4132 #include \"curl/curl.h\"
4135 if test "x$ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" = xyes; then :
4136 ac_have_decl=1
4137 else
4138 ac_have_decl=0
4141 cat >>confdefs.h <<_ACEOF
4142 #define HAVE_DECL_CURLOPT_LOW_SPEED_LIMIT $ac_have_decl
4143 _ACEOF
4144 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOW_SPEED_TIME" "ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" "
4145 #include \"curl/curl.h\"
4148 if test "x$ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" = xyes; then :
4149 ac_have_decl=1
4150 else
4151 ac_have_decl=0
4154 cat >>confdefs.h <<_ACEOF
4155 #define HAVE_DECL_CURLOPT_LOW_SPEED_TIME $ac_have_decl
4156 _ACEOF
4157 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESUME_FROM" "ac_cv_have_decl_CURLOPT_RESUME_FROM" "
4158 #include \"curl/curl.h\"
4161 if test "x$ac_cv_have_decl_CURLOPT_RESUME_FROM" = xyes; then :
4162 ac_have_decl=1
4163 else
4164 ac_have_decl=0
4167 cat >>confdefs.h <<_ACEOF
4168 #define HAVE_DECL_CURLOPT_RESUME_FROM $ac_have_decl
4169 _ACEOF
4170 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIE" "ac_cv_have_decl_CURLOPT_COOKIE" "
4171 #include \"curl/curl.h\"
4174 if test "x$ac_cv_have_decl_CURLOPT_COOKIE" = xyes; then :
4175 ac_have_decl=1
4176 else
4177 ac_have_decl=0
4180 cat >>confdefs.h <<_ACEOF
4181 #define HAVE_DECL_CURLOPT_COOKIE $ac_have_decl
4182 _ACEOF
4183 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPHEADER" "ac_cv_have_decl_CURLOPT_HTTPHEADER" "
4184 #include \"curl/curl.h\"
4187 if test "x$ac_cv_have_decl_CURLOPT_HTTPHEADER" = xyes; then :
4188 ac_have_decl=1
4189 else
4190 ac_have_decl=0
4193 cat >>confdefs.h <<_ACEOF
4194 #define HAVE_DECL_CURLOPT_HTTPHEADER $ac_have_decl
4195 _ACEOF
4196 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPPOST" "ac_cv_have_decl_CURLOPT_HTTPPOST" "
4197 #include \"curl/curl.h\"
4200 if test "x$ac_cv_have_decl_CURLOPT_HTTPPOST" = xyes; then :
4201 ac_have_decl=1
4202 else
4203 ac_have_decl=0
4206 cat >>confdefs.h <<_ACEOF
4207 #define HAVE_DECL_CURLOPT_HTTPPOST $ac_have_decl
4208 _ACEOF
4209 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERT" "ac_cv_have_decl_CURLOPT_SSLCERT" "
4210 #include \"curl/curl.h\"
4213 if test "x$ac_cv_have_decl_CURLOPT_SSLCERT" = xyes; then :
4214 ac_have_decl=1
4215 else
4216 ac_have_decl=0
4219 cat >>confdefs.h <<_ACEOF
4220 #define HAVE_DECL_CURLOPT_SSLCERT $ac_have_decl
4221 _ACEOF
4222 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERTPASSWD" "ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" "
4223 #include \"curl/curl.h\"
4226 if test "x$ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" = xyes; then :
4227 ac_have_decl=1
4228 else
4229 ac_have_decl=0
4232 cat >>confdefs.h <<_ACEOF
4233 #define HAVE_DECL_CURLOPT_SSLCERTPASSWD $ac_have_decl
4234 _ACEOF
4235 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEYPASSWD" "ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" "
4236 #include \"curl/curl.h\"
4239 if test "x$ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" = xyes; then :
4240 ac_have_decl=1
4241 else
4242 ac_have_decl=0
4245 cat >>confdefs.h <<_ACEOF
4246 #define HAVE_DECL_CURLOPT_SSLKEYPASSWD $ac_have_decl
4247 _ACEOF
4248 ac_fn_c_check_decl "$LINENO" "CURLOPT_CRLF" "ac_cv_have_decl_CURLOPT_CRLF" "
4249 #include \"curl/curl.h\"
4252 if test "x$ac_cv_have_decl_CURLOPT_CRLF" = xyes; then :
4253 ac_have_decl=1
4254 else
4255 ac_have_decl=0
4258 cat >>confdefs.h <<_ACEOF
4259 #define HAVE_DECL_CURLOPT_CRLF $ac_have_decl
4260 _ACEOF
4261 ac_fn_c_check_decl "$LINENO" "CURLOPT_QUOTE" "ac_cv_have_decl_CURLOPT_QUOTE" "
4262 #include \"curl/curl.h\"
4265 if test "x$ac_cv_have_decl_CURLOPT_QUOTE" = xyes; then :
4266 ac_have_decl=1
4267 else
4268 ac_have_decl=0
4271 cat >>confdefs.h <<_ACEOF
4272 #define HAVE_DECL_CURLOPT_QUOTE $ac_have_decl
4273 _ACEOF
4274 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEHEADER" "ac_cv_have_decl_CURLOPT_WRITEHEADER" "
4275 #include \"curl/curl.h\"
4278 if test "x$ac_cv_have_decl_CURLOPT_WRITEHEADER" = xyes; then :
4279 ac_have_decl=1
4280 else
4281 ac_have_decl=0
4284 cat >>confdefs.h <<_ACEOF
4285 #define HAVE_DECL_CURLOPT_WRITEHEADER $ac_have_decl
4286 _ACEOF
4287 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIEFILE" "ac_cv_have_decl_CURLOPT_COOKIEFILE" "
4288 #include \"curl/curl.h\"
4291 if test "x$ac_cv_have_decl_CURLOPT_COOKIEFILE" = xyes; then :
4292 ac_have_decl=1
4293 else
4294 ac_have_decl=0
4297 cat >>confdefs.h <<_ACEOF
4298 #define HAVE_DECL_CURLOPT_COOKIEFILE $ac_have_decl
4299 _ACEOF
4300 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLVERSION" "ac_cv_have_decl_CURLOPT_SSLVERSION" "
4301 #include \"curl/curl.h\"
4304 if test "x$ac_cv_have_decl_CURLOPT_SSLVERSION" = xyes; then :
4305 ac_have_decl=1
4306 else
4307 ac_have_decl=0
4310 cat >>confdefs.h <<_ACEOF
4311 #define HAVE_DECL_CURLOPT_SSLVERSION $ac_have_decl
4312 _ACEOF
4313 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMECONDITION" "ac_cv_have_decl_CURLOPT_TIMECONDITION" "
4314 #include \"curl/curl.h\"
4317 if test "x$ac_cv_have_decl_CURLOPT_TIMECONDITION" = xyes; then :
4318 ac_have_decl=1
4319 else
4320 ac_have_decl=0
4323 cat >>confdefs.h <<_ACEOF
4324 #define HAVE_DECL_CURLOPT_TIMECONDITION $ac_have_decl
4325 _ACEOF
4326 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEVALUE" "ac_cv_have_decl_CURLOPT_TIMEVALUE" "
4327 #include \"curl/curl.h\"
4330 if test "x$ac_cv_have_decl_CURLOPT_TIMEVALUE" = xyes; then :
4331 ac_have_decl=1
4332 else
4333 ac_have_decl=0
4336 cat >>confdefs.h <<_ACEOF
4337 #define HAVE_DECL_CURLOPT_TIMEVALUE $ac_have_decl
4338 _ACEOF
4339 ac_fn_c_check_decl "$LINENO" "CURLOPT_CUSTOMREQUEST" "ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" "
4340 #include \"curl/curl.h\"
4343 if test "x$ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" = xyes; then :
4344 ac_have_decl=1
4345 else
4346 ac_have_decl=0
4349 cat >>confdefs.h <<_ACEOF
4350 #define HAVE_DECL_CURLOPT_CUSTOMREQUEST $ac_have_decl
4351 _ACEOF
4352 ac_fn_c_check_decl "$LINENO" "CURLOPT_STDERR" "ac_cv_have_decl_CURLOPT_STDERR" "
4353 #include \"curl/curl.h\"
4356 if test "x$ac_cv_have_decl_CURLOPT_STDERR" = xyes; then :
4357 ac_have_decl=1
4358 else
4359 ac_have_decl=0
4362 cat >>confdefs.h <<_ACEOF
4363 #define HAVE_DECL_CURLOPT_STDERR $ac_have_decl
4364 _ACEOF
4365 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTQUOTE" "ac_cv_have_decl_CURLOPT_POSTQUOTE" "
4366 #include \"curl/curl.h\"
4369 if test "x$ac_cv_have_decl_CURLOPT_POSTQUOTE" = xyes; then :
4370 ac_have_decl=1
4371 else
4372 ac_have_decl=0
4375 cat >>confdefs.h <<_ACEOF
4376 #define HAVE_DECL_CURLOPT_POSTQUOTE $ac_have_decl
4377 _ACEOF
4378 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEINFO" "ac_cv_have_decl_CURLOPT_WRITEINFO" "
4379 #include \"curl/curl.h\"
4382 if test "x$ac_cv_have_decl_CURLOPT_WRITEINFO" = xyes; then :
4383 ac_have_decl=1
4384 else
4385 ac_have_decl=0
4388 cat >>confdefs.h <<_ACEOF
4389 #define HAVE_DECL_CURLOPT_WRITEINFO $ac_have_decl
4390 _ACEOF
4391 ac_fn_c_check_decl "$LINENO" "CURLOPT_VERBOSE" "ac_cv_have_decl_CURLOPT_VERBOSE" "
4392 #include \"curl/curl.h\"
4395 if test "x$ac_cv_have_decl_CURLOPT_VERBOSE" = xyes; then :
4396 ac_have_decl=1
4397 else
4398 ac_have_decl=0
4401 cat >>confdefs.h <<_ACEOF
4402 #define HAVE_DECL_CURLOPT_VERBOSE $ac_have_decl
4403 _ACEOF
4404 ac_fn_c_check_decl "$LINENO" "CURLOPT_HEADER" "ac_cv_have_decl_CURLOPT_HEADER" "
4405 #include \"curl/curl.h\"
4408 if test "x$ac_cv_have_decl_CURLOPT_HEADER" = xyes; then :
4409 ac_have_decl=1
4410 else
4411 ac_have_decl=0
4414 cat >>confdefs.h <<_ACEOF
4415 #define HAVE_DECL_CURLOPT_HEADER $ac_have_decl
4416 _ACEOF
4417 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOPROGRESS" "ac_cv_have_decl_CURLOPT_NOPROGRESS" "
4418 #include \"curl/curl.h\"
4421 if test "x$ac_cv_have_decl_CURLOPT_NOPROGRESS" = xyes; then :
4422 ac_have_decl=1
4423 else
4424 ac_have_decl=0
4427 cat >>confdefs.h <<_ACEOF
4428 #define HAVE_DECL_CURLOPT_NOPROGRESS $ac_have_decl
4429 _ACEOF
4430 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOBODY" "ac_cv_have_decl_CURLOPT_NOBODY" "
4431 #include \"curl/curl.h\"
4434 if test "x$ac_cv_have_decl_CURLOPT_NOBODY" = xyes; then :
4435 ac_have_decl=1
4436 else
4437 ac_have_decl=0
4440 cat >>confdefs.h <<_ACEOF
4441 #define HAVE_DECL_CURLOPT_NOBODY $ac_have_decl
4442 _ACEOF
4443 ac_fn_c_check_decl "$LINENO" "CURLOPT_FAILONERROR" "ac_cv_have_decl_CURLOPT_FAILONERROR" "
4444 #include \"curl/curl.h\"
4447 if test "x$ac_cv_have_decl_CURLOPT_FAILONERROR" = xyes; then :
4448 ac_have_decl=1
4449 else
4450 ac_have_decl=0
4453 cat >>confdefs.h <<_ACEOF
4454 #define HAVE_DECL_CURLOPT_FAILONERROR $ac_have_decl
4455 _ACEOF
4456 ac_fn_c_check_decl "$LINENO" "CURLOPT_UPLOAD" "ac_cv_have_decl_CURLOPT_UPLOAD" "
4457 #include \"curl/curl.h\"
4460 if test "x$ac_cv_have_decl_CURLOPT_UPLOAD" = xyes; then :
4461 ac_have_decl=1
4462 else
4463 ac_have_decl=0
4466 cat >>confdefs.h <<_ACEOF
4467 #define HAVE_DECL_CURLOPT_UPLOAD $ac_have_decl
4468 _ACEOF
4469 ac_fn_c_check_decl "$LINENO" "CURLOPT_POST" "ac_cv_have_decl_CURLOPT_POST" "
4470 #include \"curl/curl.h\"
4473 if test "x$ac_cv_have_decl_CURLOPT_POST" = xyes; then :
4474 ac_have_decl=1
4475 else
4476 ac_have_decl=0
4479 cat >>confdefs.h <<_ACEOF
4480 #define HAVE_DECL_CURLOPT_POST $ac_have_decl
4481 _ACEOF
4482 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPLISTONLY" "ac_cv_have_decl_CURLOPT_FTPLISTONLY" "
4483 #include \"curl/curl.h\"
4486 if test "x$ac_cv_have_decl_CURLOPT_FTPLISTONLY" = xyes; then :
4487 ac_have_decl=1
4488 else
4489 ac_have_decl=0
4492 cat >>confdefs.h <<_ACEOF
4493 #define HAVE_DECL_CURLOPT_FTPLISTONLY $ac_have_decl
4494 _ACEOF
4495 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPAPPEND" "ac_cv_have_decl_CURLOPT_FTPAPPEND" "
4496 #include \"curl/curl.h\"
4499 if test "x$ac_cv_have_decl_CURLOPT_FTPAPPEND" = xyes; then :
4500 ac_have_decl=1
4501 else
4502 ac_have_decl=0
4505 cat >>confdefs.h <<_ACEOF
4506 #define HAVE_DECL_CURLOPT_FTPAPPEND $ac_have_decl
4507 _ACEOF
4508 ac_fn_c_check_decl "$LINENO" "CURLOPT_NETRC" "ac_cv_have_decl_CURLOPT_NETRC" "
4509 #include \"curl/curl.h\"
4512 if test "x$ac_cv_have_decl_CURLOPT_NETRC" = xyes; then :
4513 ac_have_decl=1
4514 else
4515 ac_have_decl=0
4518 cat >>confdefs.h <<_ACEOF
4519 #define HAVE_DECL_CURLOPT_NETRC $ac_have_decl
4520 _ACEOF
4521 ac_fn_c_check_decl "$LINENO" "CURLOPT_FOLLOWLOCATION" "ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" "
4522 #include \"curl/curl.h\"
4525 if test "x$ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" = xyes; then :
4526 ac_have_decl=1
4527 else
4528 ac_have_decl=0
4531 cat >>confdefs.h <<_ACEOF
4532 #define HAVE_DECL_CURLOPT_FOLLOWLOCATION $ac_have_decl
4533 _ACEOF
4534 ac_fn_c_check_decl "$LINENO" "CURLOPT_TRANSFERTEXT" "ac_cv_have_decl_CURLOPT_TRANSFERTEXT" "
4535 #include \"curl/curl.h\"
4538 if test "x$ac_cv_have_decl_CURLOPT_TRANSFERTEXT" = xyes; then :
4539 ac_have_decl=1
4540 else
4541 ac_have_decl=0
4544 cat >>confdefs.h <<_ACEOF
4545 #define HAVE_DECL_CURLOPT_TRANSFERTEXT $ac_have_decl
4546 _ACEOF
4547 ac_fn_c_check_decl "$LINENO" "CURLOPT_PUT" "ac_cv_have_decl_CURLOPT_PUT" "
4548 #include \"curl/curl.h\"
4551 if test "x$ac_cv_have_decl_CURLOPT_PUT" = xyes; then :
4552 ac_have_decl=1
4553 else
4554 ac_have_decl=0
4557 cat >>confdefs.h <<_ACEOF
4558 #define HAVE_DECL_CURLOPT_PUT $ac_have_decl
4559 _ACEOF
4560 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROGRESSFUNCTION" "ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" "
4561 #include \"curl/curl.h\"
4564 if test "x$ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" = xyes; then :
4565 ac_have_decl=1
4566 else
4567 ac_have_decl=0
4570 cat >>confdefs.h <<_ACEOF
4571 #define HAVE_DECL_CURLOPT_PROGRESSFUNCTION $ac_have_decl
4572 _ACEOF
4573 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROGRESSDATA" "ac_cv_have_decl_CURLOPT_PROGRESSDATA" "
4574 #include \"curl/curl.h\"
4577 if test "x$ac_cv_have_decl_CURLOPT_PROGRESSDATA" = xyes; then :
4578 ac_have_decl=1
4579 else
4580 ac_have_decl=0
4583 cat >>confdefs.h <<_ACEOF
4584 #define HAVE_DECL_CURLOPT_PROGRESSDATA $ac_have_decl
4585 _ACEOF
4586 ac_fn_c_check_decl "$LINENO" "CURLOPT_AUTOREFERER" "ac_cv_have_decl_CURLOPT_AUTOREFERER" "
4587 #include \"curl/curl.h\"
4590 if test "x$ac_cv_have_decl_CURLOPT_AUTOREFERER" = xyes; then :
4591 ac_have_decl=1
4592 else
4593 ac_have_decl=0
4596 cat >>confdefs.h <<_ACEOF
4597 #define HAVE_DECL_CURLOPT_AUTOREFERER $ac_have_decl
4598 _ACEOF
4599 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYPORT" "ac_cv_have_decl_CURLOPT_PROXYPORT" "
4600 #include \"curl/curl.h\"
4603 if test "x$ac_cv_have_decl_CURLOPT_PROXYPORT" = xyes; then :
4604 ac_have_decl=1
4605 else
4606 ac_have_decl=0
4609 cat >>confdefs.h <<_ACEOF
4610 #define HAVE_DECL_CURLOPT_PROXYPORT $ac_have_decl
4611 _ACEOF
4612 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDSIZE" "ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" "
4613 #include \"curl/curl.h\"
4616 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" = xyes; then :
4617 ac_have_decl=1
4618 else
4619 ac_have_decl=0
4622 cat >>confdefs.h <<_ACEOF
4623 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE $ac_have_decl
4624 _ACEOF
4625 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPPROXYTUNNEL" "ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" "
4626 #include \"curl/curl.h\"
4629 if test "x$ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" = xyes; then :
4630 ac_have_decl=1
4631 else
4632 ac_have_decl=0
4635 cat >>confdefs.h <<_ACEOF
4636 #define HAVE_DECL_CURLOPT_HTTPPROXYTUNNEL $ac_have_decl
4637 _ACEOF
4638 ac_fn_c_check_decl "$LINENO" "CURLOPT_INTERFACE" "ac_cv_have_decl_CURLOPT_INTERFACE" "
4639 #include \"curl/curl.h\"
4642 if test "x$ac_cv_have_decl_CURLOPT_INTERFACE" = xyes; then :
4643 ac_have_decl=1
4644 else
4645 ac_have_decl=0
4648 cat >>confdefs.h <<_ACEOF
4649 #define HAVE_DECL_CURLOPT_INTERFACE $ac_have_decl
4650 _ACEOF
4651 ac_fn_c_check_decl "$LINENO" "CURLOPT_KRB4LEVEL" "ac_cv_have_decl_CURLOPT_KRB4LEVEL" "
4652 #include \"curl/curl.h\"
4655 if test "x$ac_cv_have_decl_CURLOPT_KRB4LEVEL" = xyes; then :
4656 ac_have_decl=1
4657 else
4658 ac_have_decl=0
4661 cat >>confdefs.h <<_ACEOF
4662 #define HAVE_DECL_CURLOPT_KRB4LEVEL $ac_have_decl
4663 _ACEOF
4664 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_VERIFYPEER" "ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" "
4665 #include \"curl/curl.h\"
4668 if test "x$ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" = xyes; then :
4669 ac_have_decl=1
4670 else
4671 ac_have_decl=0
4674 cat >>confdefs.h <<_ACEOF
4675 #define HAVE_DECL_CURLOPT_SSL_VERIFYPEER $ac_have_decl
4676 _ACEOF
4677 ac_fn_c_check_decl "$LINENO" "CURLOPT_CAINFO" "ac_cv_have_decl_CURLOPT_CAINFO" "
4678 #include \"curl/curl.h\"
4681 if test "x$ac_cv_have_decl_CURLOPT_CAINFO" = xyes; then :
4682 ac_have_decl=1
4683 else
4684 ac_have_decl=0
4687 cat >>confdefs.h <<_ACEOF
4688 #define HAVE_DECL_CURLOPT_CAINFO $ac_have_decl
4689 _ACEOF
4690 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXREDIRS" "ac_cv_have_decl_CURLOPT_MAXREDIRS" "
4691 #include \"curl/curl.h\"
4694 if test "x$ac_cv_have_decl_CURLOPT_MAXREDIRS" = xyes; then :
4695 ac_have_decl=1
4696 else
4697 ac_have_decl=0
4700 cat >>confdefs.h <<_ACEOF
4701 #define HAVE_DECL_CURLOPT_MAXREDIRS $ac_have_decl
4702 _ACEOF
4703 ac_fn_c_check_decl "$LINENO" "CURLOPT_FILETIME" "ac_cv_have_decl_CURLOPT_FILETIME" "
4704 #include \"curl/curl.h\"
4707 if test "x$ac_cv_have_decl_CURLOPT_FILETIME" = xyes; then :
4708 ac_have_decl=1
4709 else
4710 ac_have_decl=0
4713 cat >>confdefs.h <<_ACEOF
4714 #define HAVE_DECL_CURLOPT_FILETIME $ac_have_decl
4715 _ACEOF
4716 ac_fn_c_check_decl "$LINENO" "CURLOPT_TELNETOPTIONS" "ac_cv_have_decl_CURLOPT_TELNETOPTIONS" "
4717 #include \"curl/curl.h\"
4720 if test "x$ac_cv_have_decl_CURLOPT_TELNETOPTIONS" = xyes; then :
4721 ac_have_decl=1
4722 else
4723 ac_have_decl=0
4726 cat >>confdefs.h <<_ACEOF
4727 #define HAVE_DECL_CURLOPT_TELNETOPTIONS $ac_have_decl
4728 _ACEOF
4729 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXCONNECTS" "ac_cv_have_decl_CURLOPT_MAXCONNECTS" "
4730 #include \"curl/curl.h\"
4733 if test "x$ac_cv_have_decl_CURLOPT_MAXCONNECTS" = xyes; then :
4734 ac_have_decl=1
4735 else
4736 ac_have_decl=0
4739 cat >>confdefs.h <<_ACEOF
4740 #define HAVE_DECL_CURLOPT_MAXCONNECTS $ac_have_decl
4741 _ACEOF
4742 ac_fn_c_check_decl "$LINENO" "CURLOPT_CLOSEPOLICY" "ac_cv_have_decl_CURLOPT_CLOSEPOLICY" "
4743 #include \"curl/curl.h\"
4746 if test "x$ac_cv_have_decl_CURLOPT_CLOSEPOLICY" = xyes; then :
4747 ac_have_decl=1
4748 else
4749 ac_have_decl=0
4752 cat >>confdefs.h <<_ACEOF
4753 #define HAVE_DECL_CURLOPT_CLOSEPOLICY $ac_have_decl
4754 _ACEOF
4755 ac_fn_c_check_decl "$LINENO" "CURLOPT_FRESH_CONNECT" "ac_cv_have_decl_CURLOPT_FRESH_CONNECT" "
4756 #include \"curl/curl.h\"
4759 if test "x$ac_cv_have_decl_CURLOPT_FRESH_CONNECT" = xyes; then :
4760 ac_have_decl=1
4761 else
4762 ac_have_decl=0
4765 cat >>confdefs.h <<_ACEOF
4766 #define HAVE_DECL_CURLOPT_FRESH_CONNECT $ac_have_decl
4767 _ACEOF
4768 ac_fn_c_check_decl "$LINENO" "CURLOPT_FORBID_REUSE" "ac_cv_have_decl_CURLOPT_FORBID_REUSE" "
4769 #include \"curl/curl.h\"
4772 if test "x$ac_cv_have_decl_CURLOPT_FORBID_REUSE" = xyes; then :
4773 ac_have_decl=1
4774 else
4775 ac_have_decl=0
4778 cat >>confdefs.h <<_ACEOF
4779 #define HAVE_DECL_CURLOPT_FORBID_REUSE $ac_have_decl
4780 _ACEOF
4781 ac_fn_c_check_decl "$LINENO" "CURLOPT_RANDOM_FILE" "ac_cv_have_decl_CURLOPT_RANDOM_FILE" "
4782 #include \"curl/curl.h\"
4785 if test "x$ac_cv_have_decl_CURLOPT_RANDOM_FILE" = xyes; then :
4786 ac_have_decl=1
4787 else
4788 ac_have_decl=0
4791 cat >>confdefs.h <<_ACEOF
4792 #define HAVE_DECL_CURLOPT_RANDOM_FILE $ac_have_decl
4793 _ACEOF
4794 ac_fn_c_check_decl "$LINENO" "CURLOPT_EGDSOCKET" "ac_cv_have_decl_CURLOPT_EGDSOCKET" "
4795 #include \"curl/curl.h\"
4798 if test "x$ac_cv_have_decl_CURLOPT_EGDSOCKET" = xyes; then :
4799 ac_have_decl=1
4800 else
4801 ac_have_decl=0
4804 cat >>confdefs.h <<_ACEOF
4805 #define HAVE_DECL_CURLOPT_EGDSOCKET $ac_have_decl
4806 _ACEOF
4807 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECTTIMEOUT" "ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" "
4808 #include \"curl/curl.h\"
4811 if test "x$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" = xyes; then :
4812 ac_have_decl=1
4813 else
4814 ac_have_decl=0
4817 cat >>confdefs.h <<_ACEOF
4818 #define HAVE_DECL_CURLOPT_CONNECTTIMEOUT $ac_have_decl
4819 _ACEOF
4820 ac_fn_c_check_decl "$LINENO" "CURLOPT_HEADERFUNCTION" "ac_cv_have_decl_CURLOPT_HEADERFUNCTION" "
4821 #include \"curl/curl.h\"
4824 if test "x$ac_cv_have_decl_CURLOPT_HEADERFUNCTION" = xyes; then :
4825 ac_have_decl=1
4826 else
4827 ac_have_decl=0
4830 cat >>confdefs.h <<_ACEOF
4831 #define HAVE_DECL_CURLOPT_HEADERFUNCTION $ac_have_decl
4832 _ACEOF
4833 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPGET" "ac_cv_have_decl_CURLOPT_HTTPGET" "
4834 #include \"curl/curl.h\"
4837 if test "x$ac_cv_have_decl_CURLOPT_HTTPGET" = xyes; then :
4838 ac_have_decl=1
4839 else
4840 ac_have_decl=0
4843 cat >>confdefs.h <<_ACEOF
4844 #define HAVE_DECL_CURLOPT_HTTPGET $ac_have_decl
4845 _ACEOF
4846 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_VERIFYHOST" "ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" "
4847 #include \"curl/curl.h\"
4850 if test "x$ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" = xyes; then :
4851 ac_have_decl=1
4852 else
4853 ac_have_decl=0
4856 cat >>confdefs.h <<_ACEOF
4857 #define HAVE_DECL_CURLOPT_SSL_VERIFYHOST $ac_have_decl
4858 _ACEOF
4859 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIEJAR" "ac_cv_have_decl_CURLOPT_COOKIEJAR" "
4860 #include \"curl/curl.h\"
4863 if test "x$ac_cv_have_decl_CURLOPT_COOKIEJAR" = xyes; then :
4864 ac_have_decl=1
4865 else
4866 ac_have_decl=0
4869 cat >>confdefs.h <<_ACEOF
4870 #define HAVE_DECL_CURLOPT_COOKIEJAR $ac_have_decl
4871 _ACEOF
4872 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_CIPHER_LIST" "ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" "
4873 #include \"curl/curl.h\"
4876 if test "x$ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" = xyes; then :
4877 ac_have_decl=1
4878 else
4879 ac_have_decl=0
4882 cat >>confdefs.h <<_ACEOF
4883 #define HAVE_DECL_CURLOPT_SSL_CIPHER_LIST $ac_have_decl
4884 _ACEOF
4885 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_VERSION" "ac_cv_have_decl_CURLOPT_HTTP_VERSION" "
4886 #include \"curl/curl.h\"
4889 if test "x$ac_cv_have_decl_CURLOPT_HTTP_VERSION" = xyes; then :
4890 ac_have_decl=1
4891 else
4892 ac_have_decl=0
4895 cat >>confdefs.h <<_ACEOF
4896 #define HAVE_DECL_CURLOPT_HTTP_VERSION $ac_have_decl
4897 _ACEOF
4898 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_USE_EPSV" "ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" "
4899 #include \"curl/curl.h\"
4902 if test "x$ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" = xyes; then :
4903 ac_have_decl=1
4904 else
4905 ac_have_decl=0
4908 cat >>confdefs.h <<_ACEOF
4909 #define HAVE_DECL_CURLOPT_FTP_USE_EPSV $ac_have_decl
4910 _ACEOF
4911 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERTTYPE" "ac_cv_have_decl_CURLOPT_SSLCERTTYPE" "
4912 #include \"curl/curl.h\"
4915 if test "x$ac_cv_have_decl_CURLOPT_SSLCERTTYPE" = xyes; then :
4916 ac_have_decl=1
4917 else
4918 ac_have_decl=0
4921 cat >>confdefs.h <<_ACEOF
4922 #define HAVE_DECL_CURLOPT_SSLCERTTYPE $ac_have_decl
4923 _ACEOF
4924 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEY" "ac_cv_have_decl_CURLOPT_SSLKEY" "
4925 #include \"curl/curl.h\"
4928 if test "x$ac_cv_have_decl_CURLOPT_SSLKEY" = xyes; then :
4929 ac_have_decl=1
4930 else
4931 ac_have_decl=0
4934 cat >>confdefs.h <<_ACEOF
4935 #define HAVE_DECL_CURLOPT_SSLKEY $ac_have_decl
4936 _ACEOF
4937 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEYTYPE" "ac_cv_have_decl_CURLOPT_SSLKEYTYPE" "
4938 #include \"curl/curl.h\"
4941 if test "x$ac_cv_have_decl_CURLOPT_SSLKEYTYPE" = xyes; then :
4942 ac_have_decl=1
4943 else
4944 ac_have_decl=0
4947 cat >>confdefs.h <<_ACEOF
4948 #define HAVE_DECL_CURLOPT_SSLKEYTYPE $ac_have_decl
4949 _ACEOF
4950 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLENGINE" "ac_cv_have_decl_CURLOPT_SSLENGINE" "
4951 #include \"curl/curl.h\"
4954 if test "x$ac_cv_have_decl_CURLOPT_SSLENGINE" = xyes; then :
4955 ac_have_decl=1
4956 else
4957 ac_have_decl=0
4960 cat >>confdefs.h <<_ACEOF
4961 #define HAVE_DECL_CURLOPT_SSLENGINE $ac_have_decl
4962 _ACEOF
4963 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLENGINE_DEFAULT" "ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" "
4964 #include \"curl/curl.h\"
4967 if test "x$ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" = xyes; then :
4968 ac_have_decl=1
4969 else
4970 ac_have_decl=0
4973 cat >>confdefs.h <<_ACEOF
4974 #define HAVE_DECL_CURLOPT_SSLENGINE_DEFAULT $ac_have_decl
4975 _ACEOF
4976 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_USE_GLOBAL_CACHE" "ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" "
4977 #include \"curl/curl.h\"
4980 if test "x$ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" = xyes; then :
4981 ac_have_decl=1
4982 else
4983 ac_have_decl=0
4986 cat >>confdefs.h <<_ACEOF
4987 #define HAVE_DECL_CURLOPT_DNS_USE_GLOBAL_CACHE $ac_have_decl
4988 _ACEOF
4989 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_CACHE_TIMEOUT" "ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" "
4990 #include \"curl/curl.h\"
4993 if test "x$ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" = xyes; then :
4994 ac_have_decl=1
4995 else
4996 ac_have_decl=0
4999 cat >>confdefs.h <<_ACEOF
5000 #define HAVE_DECL_CURLOPT_DNS_CACHE_TIMEOUT $ac_have_decl
5001 _ACEOF
5002 ac_fn_c_check_decl "$LINENO" "CURLOPT_PREQUOTE" "ac_cv_have_decl_CURLOPT_PREQUOTE" "
5003 #include \"curl/curl.h\"
5006 if test "x$ac_cv_have_decl_CURLOPT_PREQUOTE" = xyes; then :
5007 ac_have_decl=1
5008 else
5009 ac_have_decl=0
5012 cat >>confdefs.h <<_ACEOF
5013 #define HAVE_DECL_CURLOPT_PREQUOTE $ac_have_decl
5014 _ACEOF
5015 ac_fn_c_check_decl "$LINENO" "CURLOPT_DEBUGFUNCTION" "ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" "
5016 #include \"curl/curl.h\"
5019 if test "x$ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" = xyes; then :
5020 ac_have_decl=1
5021 else
5022 ac_have_decl=0
5025 cat >>confdefs.h <<_ACEOF
5026 #define HAVE_DECL_CURLOPT_DEBUGFUNCTION $ac_have_decl
5027 _ACEOF
5028 ac_fn_c_check_decl "$LINENO" "CURLOPT_DEBUGDATA" "ac_cv_have_decl_CURLOPT_DEBUGDATA" "
5029 #include \"curl/curl.h\"
5032 if test "x$ac_cv_have_decl_CURLOPT_DEBUGDATA" = xyes; then :
5033 ac_have_decl=1
5034 else
5035 ac_have_decl=0
5038 cat >>confdefs.h <<_ACEOF
5039 #define HAVE_DECL_CURLOPT_DEBUGDATA $ac_have_decl
5040 _ACEOF
5041 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIESESSION" "ac_cv_have_decl_CURLOPT_COOKIESESSION" "
5042 #include \"curl/curl.h\"
5045 if test "x$ac_cv_have_decl_CURLOPT_COOKIESESSION" = xyes; then :
5046 ac_have_decl=1
5047 else
5048 ac_have_decl=0
5051 cat >>confdefs.h <<_ACEOF
5052 #define HAVE_DECL_CURLOPT_COOKIESESSION $ac_have_decl
5053 _ACEOF
5054 ac_fn_c_check_decl "$LINENO" "CURLOPT_CAPATH" "ac_cv_have_decl_CURLOPT_CAPATH" "
5055 #include \"curl/curl.h\"
5058 if test "x$ac_cv_have_decl_CURLOPT_CAPATH" = xyes; then :
5059 ac_have_decl=1
5060 else
5061 ac_have_decl=0
5064 cat >>confdefs.h <<_ACEOF
5065 #define HAVE_DECL_CURLOPT_CAPATH $ac_have_decl
5066 _ACEOF
5067 ac_fn_c_check_decl "$LINENO" "CURLOPT_BUFFERSIZE" "ac_cv_have_decl_CURLOPT_BUFFERSIZE" "
5068 #include \"curl/curl.h\"
5071 if test "x$ac_cv_have_decl_CURLOPT_BUFFERSIZE" = xyes; then :
5072 ac_have_decl=1
5073 else
5074 ac_have_decl=0
5077 cat >>confdefs.h <<_ACEOF
5078 #define HAVE_DECL_CURLOPT_BUFFERSIZE $ac_have_decl
5079 _ACEOF
5080 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOSIGNAL" "ac_cv_have_decl_CURLOPT_NOSIGNAL" "
5081 #include \"curl/curl.h\"
5084 if test "x$ac_cv_have_decl_CURLOPT_NOSIGNAL" = xyes; then :
5085 ac_have_decl=1
5086 else
5087 ac_have_decl=0
5090 cat >>confdefs.h <<_ACEOF
5091 #define HAVE_DECL_CURLOPT_NOSIGNAL $ac_have_decl
5092 _ACEOF
5093 ac_fn_c_check_decl "$LINENO" "CURLOPT_SHARE" "ac_cv_have_decl_CURLOPT_SHARE" "
5094 #include \"curl/curl.h\"
5097 if test "x$ac_cv_have_decl_CURLOPT_SHARE" = xyes; then :
5098 ac_have_decl=1
5099 else
5100 ac_have_decl=0
5103 cat >>confdefs.h <<_ACEOF
5104 #define HAVE_DECL_CURLOPT_SHARE $ac_have_decl
5105 _ACEOF
5106 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYTYPE" "ac_cv_have_decl_CURLOPT_PROXYTYPE" "
5107 #include \"curl/curl.h\"
5110 if test "x$ac_cv_have_decl_CURLOPT_PROXYTYPE" = xyes; then :
5111 ac_have_decl=1
5112 else
5113 ac_have_decl=0
5116 cat >>confdefs.h <<_ACEOF
5117 #define HAVE_DECL_CURLOPT_PROXYTYPE $ac_have_decl
5118 _ACEOF
5119 ac_fn_c_check_decl "$LINENO" "CURLOPT_ENCODING" "ac_cv_have_decl_CURLOPT_ENCODING" "
5120 #include \"curl/curl.h\"
5123 if test "x$ac_cv_have_decl_CURLOPT_ENCODING" = xyes; then :
5124 ac_have_decl=1
5125 else
5126 ac_have_decl=0
5129 cat >>confdefs.h <<_ACEOF
5130 #define HAVE_DECL_CURLOPT_ENCODING $ac_have_decl
5131 _ACEOF
5132 ac_fn_c_check_decl "$LINENO" "CURLOPT_PRIVATE" "ac_cv_have_decl_CURLOPT_PRIVATE" "
5133 #include \"curl/curl.h\"
5136 if test "x$ac_cv_have_decl_CURLOPT_PRIVATE" = xyes; then :
5137 ac_have_decl=1
5138 else
5139 ac_have_decl=0
5142 cat >>confdefs.h <<_ACEOF
5143 #define HAVE_DECL_CURLOPT_PRIVATE $ac_have_decl
5144 _ACEOF
5145 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP200ALIASES" "ac_cv_have_decl_CURLOPT_HTTP200ALIASES" "
5146 #include \"curl/curl.h\"
5149 if test "x$ac_cv_have_decl_CURLOPT_HTTP200ALIASES" = xyes; then :
5150 ac_have_decl=1
5151 else
5152 ac_have_decl=0
5155 cat >>confdefs.h <<_ACEOF
5156 #define HAVE_DECL_CURLOPT_HTTP200ALIASES $ac_have_decl
5157 _ACEOF
5158 ac_fn_c_check_decl "$LINENO" "CURLOPT_UNRESTRICTED_AUTH" "ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" "
5159 #include \"curl/curl.h\"
5162 if test "x$ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" = xyes; then :
5163 ac_have_decl=1
5164 else
5165 ac_have_decl=0
5168 cat >>confdefs.h <<_ACEOF
5169 #define HAVE_DECL_CURLOPT_UNRESTRICTED_AUTH $ac_have_decl
5170 _ACEOF
5171 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_USE_EPRT" "ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" "
5172 #include \"curl/curl.h\"
5175 if test "x$ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" = xyes; then :
5176 ac_have_decl=1
5177 else
5178 ac_have_decl=0
5181 cat >>confdefs.h <<_ACEOF
5182 #define HAVE_DECL_CURLOPT_FTP_USE_EPRT $ac_have_decl
5183 _ACEOF
5184 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPAUTH" "ac_cv_have_decl_CURLOPT_HTTPAUTH" "
5185 #include \"curl/curl.h\"
5188 if test "x$ac_cv_have_decl_CURLOPT_HTTPAUTH" = xyes; then :
5189 ac_have_decl=1
5190 else
5191 ac_have_decl=0
5194 cat >>confdefs.h <<_ACEOF
5195 #define HAVE_DECL_CURLOPT_HTTPAUTH $ac_have_decl
5196 _ACEOF
5197 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_CREATE_MISSING_DIRS" "ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" "
5198 #include \"curl/curl.h\"
5201 if test "x$ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" = xyes; then :
5202 ac_have_decl=1
5203 else
5204 ac_have_decl=0
5207 cat >>confdefs.h <<_ACEOF
5208 #define HAVE_DECL_CURLOPT_FTP_CREATE_MISSING_DIRS $ac_have_decl
5209 _ACEOF
5210 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYAUTH" "ac_cv_have_decl_CURLOPT_PROXYAUTH" "
5211 #include \"curl/curl.h\"
5214 if test "x$ac_cv_have_decl_CURLOPT_PROXYAUTH" = xyes; then :
5215 ac_have_decl=1
5216 else
5217 ac_have_decl=0
5220 cat >>confdefs.h <<_ACEOF
5221 #define HAVE_DECL_CURLOPT_PROXYAUTH $ac_have_decl
5222 _ACEOF
5223 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_RESPONSE_TIMEOUT" "ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" "
5224 #include \"curl/curl.h\"
5227 if test "x$ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" = xyes; then :
5228 ac_have_decl=1
5229 else
5230 ac_have_decl=0
5233 cat >>confdefs.h <<_ACEOF
5234 #define HAVE_DECL_CURLOPT_FTP_RESPONSE_TIMEOUT $ac_have_decl
5235 _ACEOF
5236 ac_fn_c_check_decl "$LINENO" "CURLOPT_IPRESOLVE" "ac_cv_have_decl_CURLOPT_IPRESOLVE" "
5237 #include \"curl/curl.h\"
5240 if test "x$ac_cv_have_decl_CURLOPT_IPRESOLVE" = xyes; then :
5241 ac_have_decl=1
5242 else
5243 ac_have_decl=0
5246 cat >>confdefs.h <<_ACEOF
5247 #define HAVE_DECL_CURLOPT_IPRESOLVE $ac_have_decl
5248 _ACEOF
5249 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXFILESIZE" "ac_cv_have_decl_CURLOPT_MAXFILESIZE" "
5250 #include \"curl/curl.h\"
5253 if test "x$ac_cv_have_decl_CURLOPT_MAXFILESIZE" = xyes; then :
5254 ac_have_decl=1
5255 else
5256 ac_have_decl=0
5259 cat >>confdefs.h <<_ACEOF
5260 #define HAVE_DECL_CURLOPT_MAXFILESIZE $ac_have_decl
5261 _ACEOF
5262 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILESIZE_LARGE" "ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" "
5263 #include \"curl/curl.h\"
5266 if test "x$ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" = xyes; then :
5267 ac_have_decl=1
5268 else
5269 ac_have_decl=0
5272 cat >>confdefs.h <<_ACEOF
5273 #define HAVE_DECL_CURLOPT_INFILESIZE_LARGE $ac_have_decl
5274 _ACEOF
5275 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESUME_FROM_LARGE" "ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE" "
5276 #include \"curl/curl.h\"
5279 if test "x$ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE" = xyes; then :
5280 ac_have_decl=1
5281 else
5282 ac_have_decl=0
5285 cat >>confdefs.h <<_ACEOF
5286 #define HAVE_DECL_CURLOPT_RESUME_FROM_LARGE $ac_have_decl
5287 _ACEOF
5288 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXFILESIZE_LARGE" "ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE" "
5289 #include \"curl/curl.h\"
5292 if test "x$ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE" = xyes; then :
5293 ac_have_decl=1
5294 else
5295 ac_have_decl=0
5298 cat >>confdefs.h <<_ACEOF
5299 #define HAVE_DECL_CURLOPT_MAXFILESIZE_LARGE $ac_have_decl
5300 _ACEOF
5301 ac_fn_c_check_decl "$LINENO" "CURLOPT_NETRC_FILE" "ac_cv_have_decl_CURLOPT_NETRC_FILE" "
5302 #include \"curl/curl.h\"
5305 if test "x$ac_cv_have_decl_CURLOPT_NETRC_FILE" = xyes; then :
5306 ac_have_decl=1
5307 else
5308 ac_have_decl=0
5311 cat >>confdefs.h <<_ACEOF
5312 #define HAVE_DECL_CURLOPT_NETRC_FILE $ac_have_decl
5313 _ACEOF
5314 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SSL" "ac_cv_have_decl_CURLOPT_FTP_SSL" "
5315 #include \"curl/curl.h\"
5318 if test "x$ac_cv_have_decl_CURLOPT_FTP_SSL" = xyes; then :
5319 ac_have_decl=1
5320 else
5321 ac_have_decl=0
5324 cat >>confdefs.h <<_ACEOF
5325 #define HAVE_DECL_CURLOPT_FTP_SSL $ac_have_decl
5326 _ACEOF
5327 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDSIZE_LARGE" "ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" "
5328 #include \"curl/curl.h\"
5331 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" = xyes; then :
5332 ac_have_decl=1
5333 else
5334 ac_have_decl=0
5337 cat >>confdefs.h <<_ACEOF
5338 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE_LARGE $ac_have_decl
5339 _ACEOF
5340 ac_fn_c_check_decl "$LINENO" "CURLOPT_TCP_NODELAY" "ac_cv_have_decl_CURLOPT_TCP_NODELAY" "
5341 #include \"curl/curl.h\"
5344 if test "x$ac_cv_have_decl_CURLOPT_TCP_NODELAY" = xyes; then :
5345 ac_have_decl=1
5346 else
5347 ac_have_decl=0
5350 cat >>confdefs.h <<_ACEOF
5351 #define HAVE_DECL_CURLOPT_TCP_NODELAY $ac_have_decl
5352 _ACEOF
5353 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPSSLAUTH" "ac_cv_have_decl_CURLOPT_FTPSSLAUTH" "
5354 #include \"curl/curl.h\"
5357 if test "x$ac_cv_have_decl_CURLOPT_FTPSSLAUTH" = xyes; then :
5358 ac_have_decl=1
5359 else
5360 ac_have_decl=0
5363 cat >>confdefs.h <<_ACEOF
5364 #define HAVE_DECL_CURLOPT_FTPSSLAUTH $ac_have_decl
5365 _ACEOF
5366 ac_fn_c_check_decl "$LINENO" "CURLOPT_IOCTLFUNCTION" "ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" "
5367 #include \"curl/curl.h\"
5370 if test "x$ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" = xyes; then :
5371 ac_have_decl=1
5372 else
5373 ac_have_decl=0
5376 cat >>confdefs.h <<_ACEOF
5377 #define HAVE_DECL_CURLOPT_IOCTLFUNCTION $ac_have_decl
5378 _ACEOF
5379 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_ACCOUNT" "ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" "
5380 #include \"curl/curl.h\"
5383 if test "x$ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" = xyes; then :
5384 ac_have_decl=1
5385 else
5386 ac_have_decl=0
5389 cat >>confdefs.h <<_ACEOF
5390 #define HAVE_DECL_CURLOPT_FTP_ACCOUNT $ac_have_decl
5391 _ACEOF
5392 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIELIST" "ac_cv_have_decl_CURLOPT_COOKIELIST" "
5393 #include \"curl/curl.h\"
5396 if test "x$ac_cv_have_decl_CURLOPT_COOKIELIST" = xyes; then :
5397 ac_have_decl=1
5398 else
5399 ac_have_decl=0
5402 cat >>confdefs.h <<_ACEOF
5403 #define HAVE_DECL_CURLOPT_COOKIELIST $ac_have_decl
5404 _ACEOF
5405 ac_fn_c_check_decl "$LINENO" "CURLOPT_IGNORE_CONTENT_LENGTH" "ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" "
5406 #include \"curl/curl.h\"
5409 if test "x$ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" = xyes; then :
5410 ac_have_decl=1
5411 else
5412 ac_have_decl=0
5415 cat >>confdefs.h <<_ACEOF
5416 #define HAVE_DECL_CURLOPT_IGNORE_CONTENT_LENGTH $ac_have_decl
5417 _ACEOF
5418 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SKIP_PASV_IP" "ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" "
5419 #include \"curl/curl.h\"
5422 if test "x$ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" = xyes; then :
5423 ac_have_decl=1
5424 else
5425 ac_have_decl=0
5428 cat >>confdefs.h <<_ACEOF
5429 #define HAVE_DECL_CURLOPT_FTP_SKIP_PASV_IP $ac_have_decl
5430 _ACEOF
5431 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_FILEMETHOD" "ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" "
5432 #include \"curl/curl.h\"
5435 if test "x$ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" = xyes; then :
5436 ac_have_decl=1
5437 else
5438 ac_have_decl=0
5441 cat >>confdefs.h <<_ACEOF
5442 #define HAVE_DECL_CURLOPT_FTP_FILEMETHOD $ac_have_decl
5443 _ACEOF
5444 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOCALPORT" "ac_cv_have_decl_CURLOPT_LOCALPORT" "
5445 #include \"curl/curl.h\"
5448 if test "x$ac_cv_have_decl_CURLOPT_LOCALPORT" = xyes; then :
5449 ac_have_decl=1
5450 else
5451 ac_have_decl=0
5454 cat >>confdefs.h <<_ACEOF
5455 #define HAVE_DECL_CURLOPT_LOCALPORT $ac_have_decl
5456 _ACEOF
5457 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOCALPORTRANGE" "ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" "
5458 #include \"curl/curl.h\"
5461 if test "x$ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" = xyes; then :
5462 ac_have_decl=1
5463 else
5464 ac_have_decl=0
5467 cat >>confdefs.h <<_ACEOF
5468 #define HAVE_DECL_CURLOPT_LOCALPORTRANGE $ac_have_decl
5469 _ACEOF
5470 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECT_ONLY" "ac_cv_have_decl_CURLOPT_CONNECT_ONLY" "
5471 #include \"curl/curl.h\"
5474 if test "x$ac_cv_have_decl_CURLOPT_CONNECT_ONLY" = xyes; then :
5475 ac_have_decl=1
5476 else
5477 ac_have_decl=0
5480 cat >>confdefs.h <<_ACEOF
5481 #define HAVE_DECL_CURLOPT_CONNECT_ONLY $ac_have_decl
5482 _ACEOF
5483 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAX_SEND_SPEED_LARGE" "ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" "
5484 #include \"curl/curl.h\"
5487 if test "x$ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" = xyes; then :
5488 ac_have_decl=1
5489 else
5490 ac_have_decl=0
5493 cat >>confdefs.h <<_ACEOF
5494 #define HAVE_DECL_CURLOPT_MAX_SEND_SPEED_LARGE $ac_have_decl
5495 _ACEOF
5496 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAX_RECV_SPEED_LARGE" "ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE" "
5497 #include \"curl/curl.h\"
5500 if test "x$ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE" = xyes; then :
5501 ac_have_decl=1
5502 else
5503 ac_have_decl=0
5506 cat >>confdefs.h <<_ACEOF
5507 #define HAVE_DECL_CURLOPT_MAX_RECV_SPEED_LARGE $ac_have_decl
5508 _ACEOF
5509 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_ALTERNATIVE_TO_USER" "ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" "
5510 #include \"curl/curl.h\"
5513 if test "x$ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" = xyes; then :
5514 ac_have_decl=1
5515 else
5516 ac_have_decl=0
5519 cat >>confdefs.h <<_ACEOF
5520 #define HAVE_DECL_CURLOPT_FTP_ALTERNATIVE_TO_USER $ac_have_decl
5521 _ACEOF
5522 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_SESSIONID_CACHE" "ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" "
5523 #include \"curl/curl.h\"
5526 if test "x$ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" = xyes; then :
5527 ac_have_decl=1
5528 else
5529 ac_have_decl=0
5532 cat >>confdefs.h <<_ACEOF
5533 #define HAVE_DECL_CURLOPT_SSL_SESSIONID_CACHE $ac_have_decl
5534 _ACEOF
5535 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_AUTH_TYPES" "ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" "
5536 #include \"curl/curl.h\"
5539 if test "x$ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" = xyes; then :
5540 ac_have_decl=1
5541 else
5542 ac_have_decl=0
5545 cat >>confdefs.h <<_ACEOF
5546 #define HAVE_DECL_CURLOPT_SSH_AUTH_TYPES $ac_have_decl
5547 _ACEOF
5548 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_PUBLIC_KEYFILE" "ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" "
5549 #include \"curl/curl.h\"
5552 if test "x$ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" = xyes; then :
5553 ac_have_decl=1
5554 else
5555 ac_have_decl=0
5558 cat >>confdefs.h <<_ACEOF
5559 #define HAVE_DECL_CURLOPT_SSH_PUBLIC_KEYFILE $ac_have_decl
5560 _ACEOF
5561 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_PRIVATE_KEYFILE" "ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE" "
5562 #include \"curl/curl.h\"
5565 if test "x$ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE" = xyes; then :
5566 ac_have_decl=1
5567 else
5568 ac_have_decl=0
5571 cat >>confdefs.h <<_ACEOF
5572 #define HAVE_DECL_CURLOPT_SSH_PRIVATE_KEYFILE $ac_have_decl
5573 _ACEOF
5574 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SSL_CCC" "ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" "
5575 #include \"curl/curl.h\"
5578 if test "x$ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" = xyes; then :
5579 ac_have_decl=1
5580 else
5581 ac_have_decl=0
5584 cat >>confdefs.h <<_ACEOF
5585 #define HAVE_DECL_CURLOPT_FTP_SSL_CCC $ac_have_decl
5586 _ACEOF
5587 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEOUT_MS" "ac_cv_have_decl_CURLOPT_TIMEOUT_MS" "
5588 #include \"curl/curl.h\"
5591 if test "x$ac_cv_have_decl_CURLOPT_TIMEOUT_MS" = xyes; then :
5592 ac_have_decl=1
5593 else
5594 ac_have_decl=0
5597 cat >>confdefs.h <<_ACEOF
5598 #define HAVE_DECL_CURLOPT_TIMEOUT_MS $ac_have_decl
5599 _ACEOF
5600 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECTTIMEOUT_MS" "ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS" "
5601 #include \"curl/curl.h\"
5604 if test "x$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS" = xyes; then :
5605 ac_have_decl=1
5606 else
5607 ac_have_decl=0
5610 cat >>confdefs.h <<_ACEOF
5611 #define HAVE_DECL_CURLOPT_CONNECTTIMEOUT_MS $ac_have_decl
5612 _ACEOF
5613 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_TRANSFER_DECODING" "ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" "
5614 #include \"curl/curl.h\"
5617 if test "x$ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" = xyes; then :
5618 ac_have_decl=1
5619 else
5620 ac_have_decl=0
5623 cat >>confdefs.h <<_ACEOF
5624 #define HAVE_DECL_CURLOPT_HTTP_TRANSFER_DECODING $ac_have_decl
5625 _ACEOF
5626 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_CONTENT_DECODING" "ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING" "
5627 #include \"curl/curl.h\"
5630 if test "x$ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING" = xyes; then :
5631 ac_have_decl=1
5632 else
5633 ac_have_decl=0
5636 cat >>confdefs.h <<_ACEOF
5637 #define HAVE_DECL_CURLOPT_HTTP_CONTENT_DECODING $ac_have_decl
5638 _ACEOF
5639 ac_fn_c_check_decl "$LINENO" "CURLOPT_NEW_FILE_PERMS" "ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" "
5640 #include \"curl/curl.h\"
5643 if test "x$ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" = xyes; then :
5644 ac_have_decl=1
5645 else
5646 ac_have_decl=0
5649 cat >>confdefs.h <<_ACEOF
5650 #define HAVE_DECL_CURLOPT_NEW_FILE_PERMS $ac_have_decl
5651 _ACEOF
5652 ac_fn_c_check_decl "$LINENO" "CURLOPT_NEW_DIRECTORY_PERMS" "ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS" "
5653 #include \"curl/curl.h\"
5656 if test "x$ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS" = xyes; then :
5657 ac_have_decl=1
5658 else
5659 ac_have_decl=0
5662 cat >>confdefs.h <<_ACEOF
5663 #define HAVE_DECL_CURLOPT_NEW_DIRECTORY_PERMS $ac_have_decl
5664 _ACEOF
5665 ac_fn_c_check_decl "$LINENO" "CURLOPT_POST301" "ac_cv_have_decl_CURLOPT_POST301" "
5666 #include \"curl/curl.h\"
5669 if test "x$ac_cv_have_decl_CURLOPT_POST301" = xyes; then :
5670 ac_have_decl=1
5671 else
5672 ac_have_decl=0
5675 cat >>confdefs.h <<_ACEOF
5676 #define HAVE_DECL_CURLOPT_POST301 $ac_have_decl
5677 _ACEOF
5678 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" "ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" "
5679 #include \"curl/curl.h\"
5682 if test "x$ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" = xyes; then :
5683 ac_have_decl=1
5684 else
5685 ac_have_decl=0
5688 cat >>confdefs.h <<_ACEOF
5689 #define HAVE_DECL_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 $ac_have_decl
5690 _ACEOF
5691 ac_fn_c_check_decl "$LINENO" "CURLOPT_COPYPOSTFIELDS" "ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" "
5692 #include \"curl/curl.h\"
5695 if test "x$ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" = xyes; then :
5696 ac_have_decl=1
5697 else
5698 ac_have_decl=0
5701 cat >>confdefs.h <<_ACEOF
5702 #define HAVE_DECL_CURLOPT_COPYPOSTFIELDS $ac_have_decl
5703 _ACEOF
5704 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXY_TRANSFER_MODE" "ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" "
5705 #include \"curl/curl.h\"
5708 if test "x$ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" = xyes; then :
5709 ac_have_decl=1
5710 else
5711 ac_have_decl=0
5714 cat >>confdefs.h <<_ACEOF
5715 #define HAVE_DECL_CURLOPT_PROXY_TRANSFER_MODE $ac_have_decl
5716 _ACEOF
5717 ac_fn_c_check_decl "$LINENO" "CURLOPT_SEEKFUNCTION" "ac_cv_have_decl_CURLOPT_SEEKFUNCTION" "
5718 #include \"curl/curl.h\"
5721 if test "x$ac_cv_have_decl_CURLOPT_SEEKFUNCTION" = xyes; then :
5722 ac_have_decl=1
5723 else
5724 ac_have_decl=0
5727 cat >>confdefs.h <<_ACEOF
5728 #define HAVE_DECL_CURLOPT_SEEKFUNCTION $ac_have_decl
5729 _ACEOF
5730 ac_fn_c_check_decl "$LINENO" "CURLOPT_OPENSOCKETFUNCTION" "ac_cv_have_decl_CURLOPT_OPENSOCKETFUNCTION" "
5731 #include \"curl/curl.h\"
5734 if test "x$ac_cv_have_decl_CURLOPT_OPENSOCKETFUNCTION" = xyes; then :
5735 ac_have_decl=1
5736 else
5737 ac_have_decl=0
5740 cat >>confdefs.h <<_ACEOF
5741 #define HAVE_DECL_CURLOPT_OPENSOCKETFUNCTION $ac_have_decl
5742 _ACEOF
5743 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROTOCOLS" "ac_cv_have_decl_CURLOPT_PROTOCOLS" "
5744 #include \"curl/curl.h\"
5747 if test "x$ac_cv_have_decl_CURLOPT_PROTOCOLS" = xyes; then :
5748 ac_have_decl=1
5749 else
5750 ac_have_decl=0
5753 cat >>confdefs.h <<_ACEOF
5754 #define HAVE_DECL_CURLOPT_PROTOCOLS $ac_have_decl
5755 _ACEOF
5756 ac_fn_c_check_decl "$LINENO" "CURLOPT_REDIR_PROTOCOLS" "ac_cv_have_decl_CURLOPT_REDIR_PROTOCOLS" "
5757 #include \"curl/curl.h\"
5760 if test "x$ac_cv_have_decl_CURLOPT_REDIR_PROTOCOLS" = xyes; then :
5761 ac_have_decl=1
5762 else
5763 ac_have_decl=0
5766 cat >>confdefs.h <<_ACEOF
5767 #define HAVE_DECL_CURLOPT_REDIR_PROTOCOLS $ac_have_decl
5768 _ACEOF
5769 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESOLVE" "ac_cv_have_decl_CURLOPT_RESOLVE" "
5770 #include \"curl/curl.h\"
5773 if test "x$ac_cv_have_decl_CURLOPT_RESOLVE" = xyes; then :
5774 ac_have_decl=1
5775 else
5776 ac_have_decl=0
5779 cat >>confdefs.h <<_ACEOF
5780 #define HAVE_DECL_CURLOPT_RESOLVE $ac_have_decl
5781 _ACEOF
5782 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_SERVERS" "ac_cv_have_decl_CURLOPT_DNS_SERVERS" "
5783 #include \"curl/curl.h\"
5786 if test "x$ac_cv_have_decl_CURLOPT_DNS_SERVERS" = xyes; then :
5787 ac_have_decl=1
5788 else
5789 ac_have_decl=0
5792 cat >>confdefs.h <<_ACEOF
5793 #define HAVE_DECL_CURLOPT_DNS_SERVERS $ac_have_decl
5794 _ACEOF
5795 ac_fn_c_check_decl "$LINENO" "CURLINFO_EFFECTIVE_URL" "ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" "
5796 #include \"curl/curl.h\"
5799 if test "x$ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" = xyes; then :
5800 ac_have_decl=1
5801 else
5802 ac_have_decl=0
5805 cat >>confdefs.h <<_ACEOF
5806 #define HAVE_DECL_CURLINFO_EFFECTIVE_URL $ac_have_decl
5807 _ACEOF
5808 ac_fn_c_check_decl "$LINENO" "CURLINFO_RESPONSE_CODE" "ac_cv_have_decl_CURLINFO_RESPONSE_CODE" "
5809 #include \"curl/curl.h\"
5812 if test "x$ac_cv_have_decl_CURLINFO_RESPONSE_CODE" = xyes; then :
5813 ac_have_decl=1
5814 else
5815 ac_have_decl=0
5818 cat >>confdefs.h <<_ACEOF
5819 #define HAVE_DECL_CURLINFO_RESPONSE_CODE $ac_have_decl
5820 _ACEOF
5821 ac_fn_c_check_decl "$LINENO" "CURLINFO_TOTAL_TIME" "ac_cv_have_decl_CURLINFO_TOTAL_TIME" "
5822 #include \"curl/curl.h\"
5825 if test "x$ac_cv_have_decl_CURLINFO_TOTAL_TIME" = xyes; then :
5826 ac_have_decl=1
5827 else
5828 ac_have_decl=0
5831 cat >>confdefs.h <<_ACEOF
5832 #define HAVE_DECL_CURLINFO_TOTAL_TIME $ac_have_decl
5833 _ACEOF
5834 ac_fn_c_check_decl "$LINENO" "CURLINFO_NAMELOOKUP_TIME" "ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" "
5835 #include \"curl/curl.h\"
5838 if test "x$ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" = xyes; then :
5839 ac_have_decl=1
5840 else
5841 ac_have_decl=0
5844 cat >>confdefs.h <<_ACEOF
5845 #define HAVE_DECL_CURLINFO_NAMELOOKUP_TIME $ac_have_decl
5846 _ACEOF
5847 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONNECT_TIME" "ac_cv_have_decl_CURLINFO_CONNECT_TIME" "
5848 #include \"curl/curl.h\"
5851 if test "x$ac_cv_have_decl_CURLINFO_CONNECT_TIME" = xyes; then :
5852 ac_have_decl=1
5853 else
5854 ac_have_decl=0
5857 cat >>confdefs.h <<_ACEOF
5858 #define HAVE_DECL_CURLINFO_CONNECT_TIME $ac_have_decl
5859 _ACEOF
5860 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRETRANSFER_TIME" "ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" "
5861 #include \"curl/curl.h\"
5864 if test "x$ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" = xyes; then :
5865 ac_have_decl=1
5866 else
5867 ac_have_decl=0
5870 cat >>confdefs.h <<_ACEOF
5871 #define HAVE_DECL_CURLINFO_PRETRANSFER_TIME $ac_have_decl
5872 _ACEOF
5873 ac_fn_c_check_decl "$LINENO" "CURLINFO_SIZE_UPLOAD" "ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" "
5874 #include \"curl/curl.h\"
5877 if test "x$ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" = xyes; then :
5878 ac_have_decl=1
5879 else
5880 ac_have_decl=0
5883 cat >>confdefs.h <<_ACEOF
5884 #define HAVE_DECL_CURLINFO_SIZE_UPLOAD $ac_have_decl
5885 _ACEOF
5886 ac_fn_c_check_decl "$LINENO" "CURLINFO_SIZE_DOWNLOAD" "ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" "
5887 #include \"curl/curl.h\"
5890 if test "x$ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" = xyes; then :
5891 ac_have_decl=1
5892 else
5893 ac_have_decl=0
5896 cat >>confdefs.h <<_ACEOF
5897 #define HAVE_DECL_CURLINFO_SIZE_DOWNLOAD $ac_have_decl
5898 _ACEOF
5899 ac_fn_c_check_decl "$LINENO" "CURLINFO_SPEED_DOWNLOAD" "ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" "
5900 #include \"curl/curl.h\"
5903 if test "x$ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" = xyes; then :
5904 ac_have_decl=1
5905 else
5906 ac_have_decl=0
5909 cat >>confdefs.h <<_ACEOF
5910 #define HAVE_DECL_CURLINFO_SPEED_DOWNLOAD $ac_have_decl
5911 _ACEOF
5912 ac_fn_c_check_decl "$LINENO" "CURLINFO_SPEED_UPLOAD" "ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" "
5913 #include \"curl/curl.h\"
5916 if test "x$ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" = xyes; then :
5917 ac_have_decl=1
5918 else
5919 ac_have_decl=0
5922 cat >>confdefs.h <<_ACEOF
5923 #define HAVE_DECL_CURLINFO_SPEED_UPLOAD $ac_have_decl
5924 _ACEOF
5925 ac_fn_c_check_decl "$LINENO" "CURLINFO_HEADER_SIZE" "ac_cv_have_decl_CURLINFO_HEADER_SIZE" "
5926 #include \"curl/curl.h\"
5929 if test "x$ac_cv_have_decl_CURLINFO_HEADER_SIZE" = xyes; then :
5930 ac_have_decl=1
5931 else
5932 ac_have_decl=0
5935 cat >>confdefs.h <<_ACEOF
5936 #define HAVE_DECL_CURLINFO_HEADER_SIZE $ac_have_decl
5937 _ACEOF
5938 ac_fn_c_check_decl "$LINENO" "CURLINFO_REQUEST_SIZE" "ac_cv_have_decl_CURLINFO_REQUEST_SIZE" "
5939 #include \"curl/curl.h\"
5942 if test "x$ac_cv_have_decl_CURLINFO_REQUEST_SIZE" = xyes; then :
5943 ac_have_decl=1
5944 else
5945 ac_have_decl=0
5948 cat >>confdefs.h <<_ACEOF
5949 #define HAVE_DECL_CURLINFO_REQUEST_SIZE $ac_have_decl
5950 _ACEOF
5951 ac_fn_c_check_decl "$LINENO" "CURLINFO_SSL_VERIFYRESULT" "ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" "
5952 #include \"curl/curl.h\"
5955 if test "x$ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" = xyes; then :
5956 ac_have_decl=1
5957 else
5958 ac_have_decl=0
5961 cat >>confdefs.h <<_ACEOF
5962 #define HAVE_DECL_CURLINFO_SSL_VERIFYRESULT $ac_have_decl
5963 _ACEOF
5964 ac_fn_c_check_decl "$LINENO" "CURLINFO_FILETIME" "ac_cv_have_decl_CURLINFO_FILETIME" "
5965 #include \"curl/curl.h\"
5968 if test "x$ac_cv_have_decl_CURLINFO_FILETIME" = xyes; then :
5969 ac_have_decl=1
5970 else
5971 ac_have_decl=0
5974 cat >>confdefs.h <<_ACEOF
5975 #define HAVE_DECL_CURLINFO_FILETIME $ac_have_decl
5976 _ACEOF
5977 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_LENGTH_DOWNLOAD" "ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" "
5978 #include \"curl/curl.h\"
5981 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" = xyes; then :
5982 ac_have_decl=1
5983 else
5984 ac_have_decl=0
5987 cat >>confdefs.h <<_ACEOF
5988 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_DOWNLOAD $ac_have_decl
5989 _ACEOF
5990 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_LENGTH_UPLOAD" "ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" "
5991 #include \"curl/curl.h\"
5994 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" = xyes; then :
5995 ac_have_decl=1
5996 else
5997 ac_have_decl=0
6000 cat >>confdefs.h <<_ACEOF
6001 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_UPLOAD $ac_have_decl
6002 _ACEOF
6003 ac_fn_c_check_decl "$LINENO" "CURLINFO_STARTTRANSFER_TIME" "ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" "
6004 #include \"curl/curl.h\"
6007 if test "x$ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" = xyes; then :
6008 ac_have_decl=1
6009 else
6010 ac_have_decl=0
6013 cat >>confdefs.h <<_ACEOF
6014 #define HAVE_DECL_CURLINFO_STARTTRANSFER_TIME $ac_have_decl
6015 _ACEOF
6016 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_TYPE" "ac_cv_have_decl_CURLINFO_CONTENT_TYPE" "
6017 #include \"curl/curl.h\"
6020 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_TYPE" = xyes; then :
6021 ac_have_decl=1
6022 else
6023 ac_have_decl=0
6026 cat >>confdefs.h <<_ACEOF
6027 #define HAVE_DECL_CURLINFO_CONTENT_TYPE $ac_have_decl
6028 _ACEOF
6029 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_TIME" "ac_cv_have_decl_CURLINFO_REDIRECT_TIME" "
6030 #include \"curl/curl.h\"
6033 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_TIME" = xyes; then :
6034 ac_have_decl=1
6035 else
6036 ac_have_decl=0
6039 cat >>confdefs.h <<_ACEOF
6040 #define HAVE_DECL_CURLINFO_REDIRECT_TIME $ac_have_decl
6041 _ACEOF
6042 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_COUNT" "ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" "
6043 #include \"curl/curl.h\"
6046 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" = xyes; then :
6047 ac_have_decl=1
6048 else
6049 ac_have_decl=0
6052 cat >>confdefs.h <<_ACEOF
6053 #define HAVE_DECL_CURLINFO_REDIRECT_COUNT $ac_have_decl
6054 _ACEOF
6055 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRIVATE" "ac_cv_have_decl_CURLINFO_PRIVATE" "
6056 #include \"curl/curl.h\"
6059 if test "x$ac_cv_have_decl_CURLINFO_PRIVATE" = xyes; then :
6060 ac_have_decl=1
6061 else
6062 ac_have_decl=0
6065 cat >>confdefs.h <<_ACEOF
6066 #define HAVE_DECL_CURLINFO_PRIVATE $ac_have_decl
6067 _ACEOF
6068 ac_fn_c_check_decl "$LINENO" "CURLINFO_HTTP_CONNECTCODE" "ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" "
6069 #include \"curl/curl.h\"
6072 if test "x$ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" = xyes; then :
6073 ac_have_decl=1
6074 else
6075 ac_have_decl=0
6078 cat >>confdefs.h <<_ACEOF
6079 #define HAVE_DECL_CURLINFO_HTTP_CONNECTCODE $ac_have_decl
6080 _ACEOF
6081 ac_fn_c_check_decl "$LINENO" "CURLINFO_HTTPAUTH_AVAIL" "ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" "
6082 #include \"curl/curl.h\"
6085 if test "x$ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" = xyes; then :
6086 ac_have_decl=1
6087 else
6088 ac_have_decl=0
6091 cat >>confdefs.h <<_ACEOF
6092 #define HAVE_DECL_CURLINFO_HTTPAUTH_AVAIL $ac_have_decl
6093 _ACEOF
6094 ac_fn_c_check_decl "$LINENO" "CURLINFO_PROXYAUTH_AVAIL" "ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" "
6095 #include \"curl/curl.h\"
6098 if test "x$ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" = xyes; then :
6099 ac_have_decl=1
6100 else
6101 ac_have_decl=0
6104 cat >>confdefs.h <<_ACEOF
6105 #define HAVE_DECL_CURLINFO_PROXYAUTH_AVAIL $ac_have_decl
6106 _ACEOF
6107 ac_fn_c_check_decl "$LINENO" "CURLINFO_OS_ERRNO" "ac_cv_have_decl_CURLINFO_OS_ERRNO" "
6108 #include \"curl/curl.h\"
6111 if test "x$ac_cv_have_decl_CURLINFO_OS_ERRNO" = xyes; then :
6112 ac_have_decl=1
6113 else
6114 ac_have_decl=0
6117 cat >>confdefs.h <<_ACEOF
6118 #define HAVE_DECL_CURLINFO_OS_ERRNO $ac_have_decl
6119 _ACEOF
6120 ac_fn_c_check_decl "$LINENO" "CURLINFO_NUM_CONNECTS" "ac_cv_have_decl_CURLINFO_NUM_CONNECTS" "
6121 #include \"curl/curl.h\"
6124 if test "x$ac_cv_have_decl_CURLINFO_NUM_CONNECTS" = xyes; then :
6125 ac_have_decl=1
6126 else
6127 ac_have_decl=0
6130 cat >>confdefs.h <<_ACEOF
6131 #define HAVE_DECL_CURLINFO_NUM_CONNECTS $ac_have_decl
6132 _ACEOF
6133 ac_fn_c_check_decl "$LINENO" "CURLINFO_SSL_ENGINES" "ac_cv_have_decl_CURLINFO_SSL_ENGINES" "
6134 #include \"curl/curl.h\"
6137 if test "x$ac_cv_have_decl_CURLINFO_SSL_ENGINES" = xyes; then :
6138 ac_have_decl=1
6139 else
6140 ac_have_decl=0
6143 cat >>confdefs.h <<_ACEOF
6144 #define HAVE_DECL_CURLINFO_SSL_ENGINES $ac_have_decl
6145 _ACEOF
6146 ac_fn_c_check_decl "$LINENO" "CURLINFO_COOKIELIST" "ac_cv_have_decl_CURLINFO_COOKIELIST" "
6147 #include \"curl/curl.h\"
6150 if test "x$ac_cv_have_decl_CURLINFO_COOKIELIST" = xyes; then :
6151 ac_have_decl=1
6152 else
6153 ac_have_decl=0
6156 cat >>confdefs.h <<_ACEOF
6157 #define HAVE_DECL_CURLINFO_COOKIELIST $ac_have_decl
6158 _ACEOF
6159 ac_fn_c_check_decl "$LINENO" "CURLINFO_LASTSOCKET" "ac_cv_have_decl_CURLINFO_LASTSOCKET" "
6160 #include \"curl/curl.h\"
6163 if test "x$ac_cv_have_decl_CURLINFO_LASTSOCKET" = xyes; then :
6164 ac_have_decl=1
6165 else
6166 ac_have_decl=0
6169 cat >>confdefs.h <<_ACEOF
6170 #define HAVE_DECL_CURLINFO_LASTSOCKET $ac_have_decl
6171 _ACEOF
6172 ac_fn_c_check_decl "$LINENO" "CURLINFO_FTP_ENTRY_PATH" "ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" "
6173 #include \"curl/curl.h\"
6176 if test "x$ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" = xyes; then :
6177 ac_have_decl=1
6178 else
6179 ac_have_decl=0
6182 cat >>confdefs.h <<_ACEOF
6183 #define HAVE_DECL_CURLINFO_FTP_ENTRY_PATH $ac_have_decl
6184 _ACEOF
6185 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_URL" "ac_cv_have_decl_CURLINFO_REDIRECT_URL" "
6186 #include \"curl/curl.h\"
6189 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_URL" = xyes; then :
6190 ac_have_decl=1
6191 else
6192 ac_have_decl=0
6195 cat >>confdefs.h <<_ACEOF
6196 #define HAVE_DECL_CURLINFO_REDIRECT_URL $ac_have_decl
6197 _ACEOF
6198 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRIMARY_IP" "ac_cv_have_decl_CURLINFO_PRIMARY_IP" "
6199 #include \"curl/curl.h\"
6202 if test "x$ac_cv_have_decl_CURLINFO_PRIMARY_IP" = xyes; then :
6203 ac_have_decl=1
6204 else
6205 ac_have_decl=0
6208 cat >>confdefs.h <<_ACEOF
6209 #define HAVE_DECL_CURLINFO_PRIMARY_IP $ac_have_decl
6210 _ACEOF
6211 ac_fn_c_check_decl "$LINENO" "CURLINFO_LOCAL_IP" "ac_cv_have_decl_CURLINFO_LOCAL_IP" "
6212 #include \"curl/curl.h\"
6215 if test "x$ac_cv_have_decl_CURLINFO_LOCAL_IP" = xyes; then :
6216 ac_have_decl=1
6217 else
6218 ac_have_decl=0
6221 cat >>confdefs.h <<_ACEOF
6222 #define HAVE_DECL_CURLINFO_LOCAL_IP $ac_have_decl
6223 _ACEOF
6224 ac_fn_c_check_decl "$LINENO" "CURLINFO_LOCAL_PORT" "ac_cv_have_decl_CURLINFO_LOCAL_PORT" "
6225 #include \"curl/curl.h\"
6228 if test "x$ac_cv_have_decl_CURLINFO_LOCAL_PORT" = xyes; then :
6229 ac_have_decl=1
6230 else
6231 ac_have_decl=0
6234 cat >>confdefs.h <<_ACEOF
6235 #define HAVE_DECL_CURLINFO_LOCAL_PORT $ac_have_decl
6236 _ACEOF
6237 ac_fn_c_check_decl "$LINENO" "CURLE_UNSUPPORTED_PROTOCOL" "ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" "
6238 #include \"curl/curl.h\"
6241 if test "x$ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" = xyes; then :
6242 ac_have_decl=1
6243 else
6244 ac_have_decl=0
6247 cat >>confdefs.h <<_ACEOF
6248 #define HAVE_DECL_CURLE_UNSUPPORTED_PROTOCOL $ac_have_decl
6249 _ACEOF
6250 ac_fn_c_check_decl "$LINENO" "CURLE_FAILED_INIT" "ac_cv_have_decl_CURLE_FAILED_INIT" "
6251 #include \"curl/curl.h\"
6254 if test "x$ac_cv_have_decl_CURLE_FAILED_INIT" = xyes; then :
6255 ac_have_decl=1
6256 else
6257 ac_have_decl=0
6260 cat >>confdefs.h <<_ACEOF
6261 #define HAVE_DECL_CURLE_FAILED_INIT $ac_have_decl
6262 _ACEOF
6263 ac_fn_c_check_decl "$LINENO" "CURLE_URL_MALFORMAT" "ac_cv_have_decl_CURLE_URL_MALFORMAT" "
6264 #include \"curl/curl.h\"
6267 if test "x$ac_cv_have_decl_CURLE_URL_MALFORMAT" = xyes; then :
6268 ac_have_decl=1
6269 else
6270 ac_have_decl=0
6273 cat >>confdefs.h <<_ACEOF
6274 #define HAVE_DECL_CURLE_URL_MALFORMAT $ac_have_decl
6275 _ACEOF
6276 ac_fn_c_check_decl "$LINENO" "CURLE_URL_MALFORMAT_USER" "ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" "
6277 #include \"curl/curl.h\"
6280 if test "x$ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" = xyes; then :
6281 ac_have_decl=1
6282 else
6283 ac_have_decl=0
6286 cat >>confdefs.h <<_ACEOF
6287 #define HAVE_DECL_CURLE_URL_MALFORMAT_USER $ac_have_decl
6288 _ACEOF
6289 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_RESOLVE_PROXY" "ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" "
6290 #include \"curl/curl.h\"
6293 if test "x$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" = xyes; then :
6294 ac_have_decl=1
6295 else
6296 ac_have_decl=0
6299 cat >>confdefs.h <<_ACEOF
6300 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_PROXY $ac_have_decl
6301 _ACEOF
6302 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_RESOLVE_HOST" "ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" "
6303 #include \"curl/curl.h\"
6306 if test "x$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" = xyes; then :
6307 ac_have_decl=1
6308 else
6309 ac_have_decl=0
6312 cat >>confdefs.h <<_ACEOF
6313 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_HOST $ac_have_decl
6314 _ACEOF
6315 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_CONNECT" "ac_cv_have_decl_CURLE_COULDNT_CONNECT" "
6316 #include \"curl/curl.h\"
6319 if test "x$ac_cv_have_decl_CURLE_COULDNT_CONNECT" = xyes; then :
6320 ac_have_decl=1
6321 else
6322 ac_have_decl=0
6325 cat >>confdefs.h <<_ACEOF
6326 #define HAVE_DECL_CURLE_COULDNT_CONNECT $ac_have_decl
6327 _ACEOF
6328 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_SERVER_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" "
6329 #include \"curl/curl.h\"
6332 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" = xyes; then :
6333 ac_have_decl=1
6334 else
6335 ac_have_decl=0
6338 cat >>confdefs.h <<_ACEOF
6339 #define HAVE_DECL_CURLE_FTP_WEIRD_SERVER_REPLY $ac_have_decl
6340 _ACEOF
6341 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_ACCESS_DENIED" "ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" "
6342 #include \"curl/curl.h\"
6345 if test "x$ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" = xyes; then :
6346 ac_have_decl=1
6347 else
6348 ac_have_decl=0
6351 cat >>confdefs.h <<_ACEOF
6352 #define HAVE_DECL_CURLE_FTP_ACCESS_DENIED $ac_have_decl
6353 _ACEOF
6354 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_USER_PASSWORD_INCORRECT" "ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" "
6355 #include \"curl/curl.h\"
6358 if test "x$ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" = xyes; then :
6359 ac_have_decl=1
6360 else
6361 ac_have_decl=0
6364 cat >>confdefs.h <<_ACEOF
6365 #define HAVE_DECL_CURLE_FTP_USER_PASSWORD_INCORRECT $ac_have_decl
6366 _ACEOF
6367 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_PASS_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" "
6368 #include \"curl/curl.h\"
6371 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" = xyes; then :
6372 ac_have_decl=1
6373 else
6374 ac_have_decl=0
6377 cat >>confdefs.h <<_ACEOF
6378 #define HAVE_DECL_CURLE_FTP_WEIRD_PASS_REPLY $ac_have_decl
6379 _ACEOF
6380 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_USER_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" "
6381 #include \"curl/curl.h\"
6384 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" = xyes; then :
6385 ac_have_decl=1
6386 else
6387 ac_have_decl=0
6390 cat >>confdefs.h <<_ACEOF
6391 #define HAVE_DECL_CURLE_FTP_WEIRD_USER_REPLY $ac_have_decl
6392 _ACEOF
6393 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_PASV_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY" "
6394 #include \"curl/curl.h\"
6397 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY" = xyes; then :
6398 ac_have_decl=1
6399 else
6400 ac_have_decl=0
6403 cat >>confdefs.h <<_ACEOF
6404 #define HAVE_DECL_CURLE_FTP_WEIRD_PASV_REPLY $ac_have_decl
6405 _ACEOF
6406 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_227_FORMAT" "ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" "
6407 #include \"curl/curl.h\"
6410 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" = xyes; then :
6411 ac_have_decl=1
6412 else
6413 ac_have_decl=0
6416 cat >>confdefs.h <<_ACEOF
6417 #define HAVE_DECL_CURLE_FTP_WEIRD_227_FORMAT $ac_have_decl
6418 _ACEOF
6419 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_CANT_GET_HOST" "ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" "
6420 #include \"curl/curl.h\"
6423 if test "x$ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" = xyes; then :
6424 ac_have_decl=1
6425 else
6426 ac_have_decl=0
6429 cat >>confdefs.h <<_ACEOF
6430 #define HAVE_DECL_CURLE_FTP_CANT_GET_HOST $ac_have_decl
6431 _ACEOF
6432 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_CANT_RECONNECT" "ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" "
6433 #include \"curl/curl.h\"
6436 if test "x$ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" = xyes; then :
6437 ac_have_decl=1
6438 else
6439 ac_have_decl=0
6442 cat >>confdefs.h <<_ACEOF
6443 #define HAVE_DECL_CURLE_FTP_CANT_RECONNECT $ac_have_decl
6444 _ACEOF
6445 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_SET_BINARY" "ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" "
6446 #include \"curl/curl.h\"
6449 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" = xyes; then :
6450 ac_have_decl=1
6451 else
6452 ac_have_decl=0
6455 cat >>confdefs.h <<_ACEOF
6456 #define HAVE_DECL_CURLE_FTP_COULDNT_SET_BINARY $ac_have_decl
6457 _ACEOF
6458 ac_fn_c_check_decl "$LINENO" "CURLE_PARTIAL_FILE" "ac_cv_have_decl_CURLE_PARTIAL_FILE" "
6459 #include \"curl/curl.h\"
6462 if test "x$ac_cv_have_decl_CURLE_PARTIAL_FILE" = xyes; then :
6463 ac_have_decl=1
6464 else
6465 ac_have_decl=0
6468 cat >>confdefs.h <<_ACEOF
6469 #define HAVE_DECL_CURLE_PARTIAL_FILE $ac_have_decl
6470 _ACEOF
6471 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_RETR_FILE" "ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" "
6472 #include \"curl/curl.h\"
6475 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" = xyes; then :
6476 ac_have_decl=1
6477 else
6478 ac_have_decl=0
6481 cat >>confdefs.h <<_ACEOF
6482 #define HAVE_DECL_CURLE_FTP_COULDNT_RETR_FILE $ac_have_decl
6483 _ACEOF
6484 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WRITE_ERROR" "ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" "
6485 #include \"curl/curl.h\"
6488 if test "x$ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" = xyes; then :
6489 ac_have_decl=1
6490 else
6491 ac_have_decl=0
6494 cat >>confdefs.h <<_ACEOF
6495 #define HAVE_DECL_CURLE_FTP_WRITE_ERROR $ac_have_decl
6496 _ACEOF
6497 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_QUOTE_ERROR" "ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" "
6498 #include \"curl/curl.h\"
6501 if test "x$ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" = xyes; then :
6502 ac_have_decl=1
6503 else
6504 ac_have_decl=0
6507 cat >>confdefs.h <<_ACEOF
6508 #define HAVE_DECL_CURLE_FTP_QUOTE_ERROR $ac_have_decl
6509 _ACEOF
6510 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_RETURNED_ERROR" "ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" "
6511 #include \"curl/curl.h\"
6514 if test "x$ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" = xyes; then :
6515 ac_have_decl=1
6516 else
6517 ac_have_decl=0
6520 cat >>confdefs.h <<_ACEOF
6521 #define HAVE_DECL_CURLE_HTTP_RETURNED_ERROR $ac_have_decl
6522 _ACEOF
6523 ac_fn_c_check_decl "$LINENO" "CURLE_WRITE_ERROR" "ac_cv_have_decl_CURLE_WRITE_ERROR" "
6524 #include \"curl/curl.h\"
6527 if test "x$ac_cv_have_decl_CURLE_WRITE_ERROR" = xyes; then :
6528 ac_have_decl=1
6529 else
6530 ac_have_decl=0
6533 cat >>confdefs.h <<_ACEOF
6534 #define HAVE_DECL_CURLE_WRITE_ERROR $ac_have_decl
6535 _ACEOF
6536 ac_fn_c_check_decl "$LINENO" "CURLE_MALFORMAT_USER" "ac_cv_have_decl_CURLE_MALFORMAT_USER" "
6537 #include \"curl/curl.h\"
6540 if test "x$ac_cv_have_decl_CURLE_MALFORMAT_USER" = xyes; then :
6541 ac_have_decl=1
6542 else
6543 ac_have_decl=0
6546 cat >>confdefs.h <<_ACEOF
6547 #define HAVE_DECL_CURLE_MALFORMAT_USER $ac_have_decl
6548 _ACEOF
6549 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_STOR_FILE" "ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" "
6550 #include \"curl/curl.h\"
6553 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" = xyes; then :
6554 ac_have_decl=1
6555 else
6556 ac_have_decl=0
6559 cat >>confdefs.h <<_ACEOF
6560 #define HAVE_DECL_CURLE_FTP_COULDNT_STOR_FILE $ac_have_decl
6561 _ACEOF
6562 ac_fn_c_check_decl "$LINENO" "CURLE_READ_ERROR" "ac_cv_have_decl_CURLE_READ_ERROR" "
6563 #include \"curl/curl.h\"
6566 if test "x$ac_cv_have_decl_CURLE_READ_ERROR" = xyes; then :
6567 ac_have_decl=1
6568 else
6569 ac_have_decl=0
6572 cat >>confdefs.h <<_ACEOF
6573 #define HAVE_DECL_CURLE_READ_ERROR $ac_have_decl
6574 _ACEOF
6575 ac_fn_c_check_decl "$LINENO" "CURLE_OUT_OF_MEMORY" "ac_cv_have_decl_CURLE_OUT_OF_MEMORY" "
6576 #include \"curl/curl.h\"
6579 if test "x$ac_cv_have_decl_CURLE_OUT_OF_MEMORY" = xyes; then :
6580 ac_have_decl=1
6581 else
6582 ac_have_decl=0
6585 cat >>confdefs.h <<_ACEOF
6586 #define HAVE_DECL_CURLE_OUT_OF_MEMORY $ac_have_decl
6587 _ACEOF
6588 ac_fn_c_check_decl "$LINENO" "CURLE_OPERATION_TIMEOUTED" "ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" "
6589 #include \"curl/curl.h\"
6592 if test "x$ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" = xyes; then :
6593 ac_have_decl=1
6594 else
6595 ac_have_decl=0
6598 cat >>confdefs.h <<_ACEOF
6599 #define HAVE_DECL_CURLE_OPERATION_TIMEOUTED $ac_have_decl
6600 _ACEOF
6601 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_SET_ASCII" "ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" "
6602 #include \"curl/curl.h\"
6605 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" = xyes; then :
6606 ac_have_decl=1
6607 else
6608 ac_have_decl=0
6611 cat >>confdefs.h <<_ACEOF
6612 #define HAVE_DECL_CURLE_FTP_COULDNT_SET_ASCII $ac_have_decl
6613 _ACEOF
6614 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_PORT_FAILED" "ac_cv_have_decl_CURLE_FTP_PORT_FAILED" "
6615 #include \"curl/curl.h\"
6618 if test "x$ac_cv_have_decl_CURLE_FTP_PORT_FAILED" = xyes; then :
6619 ac_have_decl=1
6620 else
6621 ac_have_decl=0
6624 cat >>confdefs.h <<_ACEOF
6625 #define HAVE_DECL_CURLE_FTP_PORT_FAILED $ac_have_decl
6626 _ACEOF
6627 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_USE_REST" "ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" "
6628 #include \"curl/curl.h\"
6631 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" = xyes; then :
6632 ac_have_decl=1
6633 else
6634 ac_have_decl=0
6637 cat >>confdefs.h <<_ACEOF
6638 #define HAVE_DECL_CURLE_FTP_COULDNT_USE_REST $ac_have_decl
6639 _ACEOF
6640 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_GET_SIZE" "ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" "
6641 #include \"curl/curl.h\"
6644 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" = xyes; then :
6645 ac_have_decl=1
6646 else
6647 ac_have_decl=0
6650 cat >>confdefs.h <<_ACEOF
6651 #define HAVE_DECL_CURLE_FTP_COULDNT_GET_SIZE $ac_have_decl
6652 _ACEOF
6653 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_RANGE_ERROR" "ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" "
6654 #include \"curl/curl.h\"
6657 if test "x$ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" = xyes; then :
6658 ac_have_decl=1
6659 else
6660 ac_have_decl=0
6663 cat >>confdefs.h <<_ACEOF
6664 #define HAVE_DECL_CURLE_HTTP_RANGE_ERROR $ac_have_decl
6665 _ACEOF
6666 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_POST_ERROR" "ac_cv_have_decl_CURLE_HTTP_POST_ERROR" "
6667 #include \"curl/curl.h\"
6670 if test "x$ac_cv_have_decl_CURLE_HTTP_POST_ERROR" = xyes; then :
6671 ac_have_decl=1
6672 else
6673 ac_have_decl=0
6676 cat >>confdefs.h <<_ACEOF
6677 #define HAVE_DECL_CURLE_HTTP_POST_ERROR $ac_have_decl
6678 _ACEOF
6679 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CONNECT_ERROR" "ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" "
6680 #include \"curl/curl.h\"
6683 if test "x$ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" = xyes; then :
6684 ac_have_decl=1
6685 else
6686 ac_have_decl=0
6689 cat >>confdefs.h <<_ACEOF
6690 #define HAVE_DECL_CURLE_SSL_CONNECT_ERROR $ac_have_decl
6691 _ACEOF
6692 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_DOWNLOAD_RESUME" "ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" "
6693 #include \"curl/curl.h\"
6696 if test "x$ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" = xyes; then :
6697 ac_have_decl=1
6698 else
6699 ac_have_decl=0
6702 cat >>confdefs.h <<_ACEOF
6703 #define HAVE_DECL_CURLE_BAD_DOWNLOAD_RESUME $ac_have_decl
6704 _ACEOF
6705 ac_fn_c_check_decl "$LINENO" "CURLE_FILE_COULDNT_READ_FILE" "ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" "
6706 #include \"curl/curl.h\"
6709 if test "x$ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" = xyes; then :
6710 ac_have_decl=1
6711 else
6712 ac_have_decl=0
6715 cat >>confdefs.h <<_ACEOF
6716 #define HAVE_DECL_CURLE_FILE_COULDNT_READ_FILE $ac_have_decl
6717 _ACEOF
6718 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_CANNOT_BIND" "ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" "
6719 #include \"curl/curl.h\"
6722 if test "x$ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" = xyes; then :
6723 ac_have_decl=1
6724 else
6725 ac_have_decl=0
6728 cat >>confdefs.h <<_ACEOF
6729 #define HAVE_DECL_CURLE_LDAP_CANNOT_BIND $ac_have_decl
6730 _ACEOF
6731 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_SEARCH_FAILED" "ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" "
6732 #include \"curl/curl.h\"
6735 if test "x$ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" = xyes; then :
6736 ac_have_decl=1
6737 else
6738 ac_have_decl=0
6741 cat >>confdefs.h <<_ACEOF
6742 #define HAVE_DECL_CURLE_LDAP_SEARCH_FAILED $ac_have_decl
6743 _ACEOF
6744 ac_fn_c_check_decl "$LINENO" "CURLE_LIBRARY_NOT_FOUND" "ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" "
6745 #include \"curl/curl.h\"
6748 if test "x$ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" = xyes; then :
6749 ac_have_decl=1
6750 else
6751 ac_have_decl=0
6754 cat >>confdefs.h <<_ACEOF
6755 #define HAVE_DECL_CURLE_LIBRARY_NOT_FOUND $ac_have_decl
6756 _ACEOF
6757 ac_fn_c_check_decl "$LINENO" "CURLE_FUNCTION_NOT_FOUND" "ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" "
6758 #include \"curl/curl.h\"
6761 if test "x$ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" = xyes; then :
6762 ac_have_decl=1
6763 else
6764 ac_have_decl=0
6767 cat >>confdefs.h <<_ACEOF
6768 #define HAVE_DECL_CURLE_FUNCTION_NOT_FOUND $ac_have_decl
6769 _ACEOF
6770 ac_fn_c_check_decl "$LINENO" "CURLE_ABORTED_BY_CALLBACK" "ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" "
6771 #include \"curl/curl.h\"
6774 if test "x$ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" = xyes; then :
6775 ac_have_decl=1
6776 else
6777 ac_have_decl=0
6780 cat >>confdefs.h <<_ACEOF
6781 #define HAVE_DECL_CURLE_ABORTED_BY_CALLBACK $ac_have_decl
6782 _ACEOF
6783 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_FUNCTION_ARGUMENT" "ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" "
6784 #include \"curl/curl.h\"
6787 if test "x$ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" = xyes; then :
6788 ac_have_decl=1
6789 else
6790 ac_have_decl=0
6793 cat >>confdefs.h <<_ACEOF
6794 #define HAVE_DECL_CURLE_BAD_FUNCTION_ARGUMENT $ac_have_decl
6795 _ACEOF
6796 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_CALLING_ORDER" "ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" "
6797 #include \"curl/curl.h\"
6800 if test "x$ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" = xyes; then :
6801 ac_have_decl=1
6802 else
6803 ac_have_decl=0
6806 cat >>confdefs.h <<_ACEOF
6807 #define HAVE_DECL_CURLE_BAD_CALLING_ORDER $ac_have_decl
6808 _ACEOF
6809 ac_fn_c_check_decl "$LINENO" "CURLE_INTERFACE_FAILED" "ac_cv_have_decl_CURLE_INTERFACE_FAILED" "
6810 #include \"curl/curl.h\"
6813 if test "x$ac_cv_have_decl_CURLE_INTERFACE_FAILED" = xyes; then :
6814 ac_have_decl=1
6815 else
6816 ac_have_decl=0
6819 cat >>confdefs.h <<_ACEOF
6820 #define HAVE_DECL_CURLE_INTERFACE_FAILED $ac_have_decl
6821 _ACEOF
6822 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_PASSWORD_ENTERED" "ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" "
6823 #include \"curl/curl.h\"
6826 if test "x$ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" = xyes; then :
6827 ac_have_decl=1
6828 else
6829 ac_have_decl=0
6832 cat >>confdefs.h <<_ACEOF
6833 #define HAVE_DECL_CURLE_BAD_PASSWORD_ENTERED $ac_have_decl
6834 _ACEOF
6835 ac_fn_c_check_decl "$LINENO" "CURLE_TOO_MANY_REDIRECTS" "ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" "
6836 #include \"curl/curl.h\"
6839 if test "x$ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" = xyes; then :
6840 ac_have_decl=1
6841 else
6842 ac_have_decl=0
6845 cat >>confdefs.h <<_ACEOF
6846 #define HAVE_DECL_CURLE_TOO_MANY_REDIRECTS $ac_have_decl
6847 _ACEOF
6848 ac_fn_c_check_decl "$LINENO" "CURLE_UNKNOWN_TELNET_OPTION" "ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" "
6849 #include \"curl/curl.h\"
6852 if test "x$ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" = xyes; then :
6853 ac_have_decl=1
6854 else
6855 ac_have_decl=0
6858 cat >>confdefs.h <<_ACEOF
6859 #define HAVE_DECL_CURLE_UNKNOWN_TELNET_OPTION $ac_have_decl
6860 _ACEOF
6861 ac_fn_c_check_decl "$LINENO" "CURLE_TELNET_OPTION_SYNTAX" "ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" "
6862 #include \"curl/curl.h\"
6865 if test "x$ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" = xyes; then :
6866 ac_have_decl=1
6867 else
6868 ac_have_decl=0
6871 cat >>confdefs.h <<_ACEOF
6872 #define HAVE_DECL_CURLE_TELNET_OPTION_SYNTAX $ac_have_decl
6873 _ACEOF
6874 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_PEER_CERTIFICATE" "ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" "
6875 #include \"curl/curl.h\"
6878 if test "x$ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" = xyes; then :
6879 ac_have_decl=1
6880 else
6881 ac_have_decl=0
6884 cat >>confdefs.h <<_ACEOF
6885 #define HAVE_DECL_CURLE_SSL_PEER_CERTIFICATE $ac_have_decl
6886 _ACEOF
6887 ac_fn_c_check_decl "$LINENO" "CURLE_GOT_NOTHING" "ac_cv_have_decl_CURLE_GOT_NOTHING" "
6888 #include \"curl/curl.h\"
6891 if test "x$ac_cv_have_decl_CURLE_GOT_NOTHING" = xyes; then :
6892 ac_have_decl=1
6893 else
6894 ac_have_decl=0
6897 cat >>confdefs.h <<_ACEOF
6898 #define HAVE_DECL_CURLE_GOT_NOTHING $ac_have_decl
6899 _ACEOF
6900 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_NOTFOUND" "ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" "
6901 #include \"curl/curl.h\"
6904 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" = xyes; then :
6905 ac_have_decl=1
6906 else
6907 ac_have_decl=0
6910 cat >>confdefs.h <<_ACEOF
6911 #define HAVE_DECL_CURLE_SSL_ENGINE_NOTFOUND $ac_have_decl
6912 _ACEOF
6913 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_SETFAILED" "ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" "
6914 #include \"curl/curl.h\"
6917 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" = xyes; then :
6918 ac_have_decl=1
6919 else
6920 ac_have_decl=0
6923 cat >>confdefs.h <<_ACEOF
6924 #define HAVE_DECL_CURLE_SSL_ENGINE_SETFAILED $ac_have_decl
6925 _ACEOF
6926 ac_fn_c_check_decl "$LINENO" "CURLE_SEND_ERROR" "ac_cv_have_decl_CURLE_SEND_ERROR" "
6927 #include \"curl/curl.h\"
6930 if test "x$ac_cv_have_decl_CURLE_SEND_ERROR" = xyes; then :
6931 ac_have_decl=1
6932 else
6933 ac_have_decl=0
6936 cat >>confdefs.h <<_ACEOF
6937 #define HAVE_DECL_CURLE_SEND_ERROR $ac_have_decl
6938 _ACEOF
6939 ac_fn_c_check_decl "$LINENO" "CURLE_RECV_ERROR" "ac_cv_have_decl_CURLE_RECV_ERROR" "
6940 #include \"curl/curl.h\"
6943 if test "x$ac_cv_have_decl_CURLE_RECV_ERROR" = xyes; then :
6944 ac_have_decl=1
6945 else
6946 ac_have_decl=0
6949 cat >>confdefs.h <<_ACEOF
6950 #define HAVE_DECL_CURLE_RECV_ERROR $ac_have_decl
6951 _ACEOF
6952 ac_fn_c_check_decl "$LINENO" "CURLE_SHARE_IN_USE" "ac_cv_have_decl_CURLE_SHARE_IN_USE" "
6953 #include \"curl/curl.h\"
6956 if test "x$ac_cv_have_decl_CURLE_SHARE_IN_USE" = xyes; then :
6957 ac_have_decl=1
6958 else
6959 ac_have_decl=0
6962 cat >>confdefs.h <<_ACEOF
6963 #define HAVE_DECL_CURLE_SHARE_IN_USE $ac_have_decl
6964 _ACEOF
6965 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CERTPROBLEM" "ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" "
6966 #include \"curl/curl.h\"
6969 if test "x$ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" = xyes; then :
6970 ac_have_decl=1
6971 else
6972 ac_have_decl=0
6975 cat >>confdefs.h <<_ACEOF
6976 #define HAVE_DECL_CURLE_SSL_CERTPROBLEM $ac_have_decl
6977 _ACEOF
6978 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CIPHER" "ac_cv_have_decl_CURLE_SSL_CIPHER" "
6979 #include \"curl/curl.h\"
6982 if test "x$ac_cv_have_decl_CURLE_SSL_CIPHER" = xyes; then :
6983 ac_have_decl=1
6984 else
6985 ac_have_decl=0
6988 cat >>confdefs.h <<_ACEOF
6989 #define HAVE_DECL_CURLE_SSL_CIPHER $ac_have_decl
6990 _ACEOF
6991 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CACERT" "ac_cv_have_decl_CURLE_SSL_CACERT" "
6992 #include \"curl/curl.h\"
6995 if test "x$ac_cv_have_decl_CURLE_SSL_CACERT" = xyes; then :
6996 ac_have_decl=1
6997 else
6998 ac_have_decl=0
7001 cat >>confdefs.h <<_ACEOF
7002 #define HAVE_DECL_CURLE_SSL_CACERT $ac_have_decl
7003 _ACEOF
7004 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_CONTENT_ENCODING" "ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" "
7005 #include \"curl/curl.h\"
7008 if test "x$ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" = xyes; then :
7009 ac_have_decl=1
7010 else
7011 ac_have_decl=0
7014 cat >>confdefs.h <<_ACEOF
7015 #define HAVE_DECL_CURLE_BAD_CONTENT_ENCODING $ac_have_decl
7016 _ACEOF
7017 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_INVALID_URL" "ac_cv_have_decl_CURLE_LDAP_INVALID_URL" "
7018 #include \"curl/curl.h\"
7021 if test "x$ac_cv_have_decl_CURLE_LDAP_INVALID_URL" = xyes; then :
7022 ac_have_decl=1
7023 else
7024 ac_have_decl=0
7027 cat >>confdefs.h <<_ACEOF
7028 #define HAVE_DECL_CURLE_LDAP_INVALID_URL $ac_have_decl
7029 _ACEOF
7030 ac_fn_c_check_decl "$LINENO" "CURLE_FILESIZE_EXCEEDED" "ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" "
7031 #include \"curl/curl.h\"
7034 if test "x$ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" = xyes; then :
7035 ac_have_decl=1
7036 else
7037 ac_have_decl=0
7040 cat >>confdefs.h <<_ACEOF
7041 #define HAVE_DECL_CURLE_FILESIZE_EXCEEDED $ac_have_decl
7042 _ACEOF
7043 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_SSL_FAILED" "ac_cv_have_decl_CURLE_FTP_SSL_FAILED" "
7044 #include \"curl/curl.h\"
7047 if test "x$ac_cv_have_decl_CURLE_FTP_SSL_FAILED" = xyes; then :
7048 ac_have_decl=1
7049 else
7050 ac_have_decl=0
7053 cat >>confdefs.h <<_ACEOF
7054 #define HAVE_DECL_CURLE_FTP_SSL_FAILED $ac_have_decl
7055 _ACEOF
7056 ac_fn_c_check_decl "$LINENO" "CURLE_SEND_FAIL_REWIND" "ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" "
7057 #include \"curl/curl.h\"
7060 if test "x$ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" = xyes; then :
7061 ac_have_decl=1
7062 else
7063 ac_have_decl=0
7066 cat >>confdefs.h <<_ACEOF
7067 #define HAVE_DECL_CURLE_SEND_FAIL_REWIND $ac_have_decl
7068 _ACEOF
7069 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_INITFAILED" "ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" "
7070 #include \"curl/curl.h\"
7073 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" = xyes; then :
7074 ac_have_decl=1
7075 else
7076 ac_have_decl=0
7079 cat >>confdefs.h <<_ACEOF
7080 #define HAVE_DECL_CURLE_SSL_ENGINE_INITFAILED $ac_have_decl
7081 _ACEOF
7082 ac_fn_c_check_decl "$LINENO" "CURLE_LOGIN_DENIED" "ac_cv_have_decl_CURLE_LOGIN_DENIED" "
7083 #include \"curl/curl.h\"
7086 if test "x$ac_cv_have_decl_CURLE_LOGIN_DENIED" = xyes; then :
7087 ac_have_decl=1
7088 else
7089 ac_have_decl=0
7092 cat >>confdefs.h <<_ACEOF
7093 #define HAVE_DECL_CURLE_LOGIN_DENIED $ac_have_decl
7094 _ACEOF
7095 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_NOTFOUND" "ac_cv_have_decl_CURLE_TFTP_NOTFOUND" "
7096 #include \"curl/curl.h\"
7099 if test "x$ac_cv_have_decl_CURLE_TFTP_NOTFOUND" = xyes; then :
7100 ac_have_decl=1
7101 else
7102 ac_have_decl=0
7105 cat >>confdefs.h <<_ACEOF
7106 #define HAVE_DECL_CURLE_TFTP_NOTFOUND $ac_have_decl
7107 _ACEOF
7108 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_PERM" "ac_cv_have_decl_CURLE_TFTP_PERM" "
7109 #include \"curl/curl.h\"
7112 if test "x$ac_cv_have_decl_CURLE_TFTP_PERM" = xyes; then :
7113 ac_have_decl=1
7114 else
7115 ac_have_decl=0
7118 cat >>confdefs.h <<_ACEOF
7119 #define HAVE_DECL_CURLE_TFTP_PERM $ac_have_decl
7120 _ACEOF
7121 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_DISK_FULL" "ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" "
7122 #include \"curl/curl.h\"
7125 if test "x$ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" = xyes; then :
7126 ac_have_decl=1
7127 else
7128 ac_have_decl=0
7131 cat >>confdefs.h <<_ACEOF
7132 #define HAVE_DECL_CURLE_REMOTE_DISK_FULL $ac_have_decl
7133 _ACEOF
7134 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_ILLEGAL" "ac_cv_have_decl_CURLE_TFTP_ILLEGAL" "
7135 #include \"curl/curl.h\"
7138 if test "x$ac_cv_have_decl_CURLE_TFTP_ILLEGAL" = xyes; then :
7139 ac_have_decl=1
7140 else
7141 ac_have_decl=0
7144 cat >>confdefs.h <<_ACEOF
7145 #define HAVE_DECL_CURLE_TFTP_ILLEGAL $ac_have_decl
7146 _ACEOF
7147 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_UNKNOWNID" "ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" "
7148 #include \"curl/curl.h\"
7151 if test "x$ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" = xyes; then :
7152 ac_have_decl=1
7153 else
7154 ac_have_decl=0
7157 cat >>confdefs.h <<_ACEOF
7158 #define HAVE_DECL_CURLE_TFTP_UNKNOWNID $ac_have_decl
7159 _ACEOF
7160 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_FILE_EXISTS" "ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" "
7161 #include \"curl/curl.h\"
7164 if test "x$ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" = xyes; then :
7165 ac_have_decl=1
7166 else
7167 ac_have_decl=0
7170 cat >>confdefs.h <<_ACEOF
7171 #define HAVE_DECL_CURLE_REMOTE_FILE_EXISTS $ac_have_decl
7172 _ACEOF
7173 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_NOSUCHUSER" "ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" "
7174 #include \"curl/curl.h\"
7177 if test "x$ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" = xyes; then :
7178 ac_have_decl=1
7179 else
7180 ac_have_decl=0
7183 cat >>confdefs.h <<_ACEOF
7184 #define HAVE_DECL_CURLE_TFTP_NOSUCHUSER $ac_have_decl
7185 _ACEOF
7186 ac_fn_c_check_decl "$LINENO" "CURLE_CONV_FAILED" "ac_cv_have_decl_CURLE_CONV_FAILED" "
7187 #include \"curl/curl.h\"
7190 if test "x$ac_cv_have_decl_CURLE_CONV_FAILED" = xyes; then :
7191 ac_have_decl=1
7192 else
7193 ac_have_decl=0
7196 cat >>confdefs.h <<_ACEOF
7197 #define HAVE_DECL_CURLE_CONV_FAILED $ac_have_decl
7198 _ACEOF
7199 ac_fn_c_check_decl "$LINENO" "CURLE_CONV_REQD" "ac_cv_have_decl_CURLE_CONV_REQD" "
7200 #include \"curl/curl.h\"
7203 if test "x$ac_cv_have_decl_CURLE_CONV_REQD" = xyes; then :
7204 ac_have_decl=1
7205 else
7206 ac_have_decl=0
7209 cat >>confdefs.h <<_ACEOF
7210 #define HAVE_DECL_CURLE_CONV_REQD $ac_have_decl
7211 _ACEOF
7212 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CACERT_BADFILE" "ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" "
7213 #include \"curl/curl.h\"
7216 if test "x$ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" = xyes; then :
7217 ac_have_decl=1
7218 else
7219 ac_have_decl=0
7222 cat >>confdefs.h <<_ACEOF
7223 #define HAVE_DECL_CURLE_SSL_CACERT_BADFILE $ac_have_decl
7224 _ACEOF
7225 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_FILE_NOT_FOUND" "ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" "
7226 #include \"curl/curl.h\"
7229 if test "x$ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" = xyes; then :
7230 ac_have_decl=1
7231 else
7232 ac_have_decl=0
7235 cat >>confdefs.h <<_ACEOF
7236 #define HAVE_DECL_CURLE_REMOTE_FILE_NOT_FOUND $ac_have_decl
7237 _ACEOF
7238 ac_fn_c_check_decl "$LINENO" "CURLE_SSH" "ac_cv_have_decl_CURLE_SSH" "
7239 #include \"curl/curl.h\"
7242 if test "x$ac_cv_have_decl_CURLE_SSH" = xyes; then :
7243 ac_have_decl=1
7244 else
7245 ac_have_decl=0
7248 cat >>confdefs.h <<_ACEOF
7249 #define HAVE_DECL_CURLE_SSH $ac_have_decl
7250 _ACEOF
7251 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_SHUTDOWN_FAILED" "ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED" "
7252 #include \"curl/curl.h\"
7255 if test "x$ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED" = xyes; then :
7256 ac_have_decl=1
7257 else
7258 ac_have_decl=0
7261 cat >>confdefs.h <<_ACEOF
7262 #define HAVE_DECL_CURLE_SSL_SHUTDOWN_FAILED $ac_have_decl
7263 _ACEOF
7264 ac_fn_c_check_decl "$LINENO" "CURLE_AGAIN" "ac_cv_have_decl_CURLE_AGAIN" "
7265 #include \"curl/curl.h\"
7268 if test "x$ac_cv_have_decl_CURLE_AGAIN" = xyes; then :
7269 ac_have_decl=1
7270 else
7271 ac_have_decl=0
7274 cat >>confdefs.h <<_ACEOF
7275 #define HAVE_DECL_CURLE_AGAIN $ac_have_decl
7276 _ACEOF
7277 ac_fn_c_check_decl "$LINENO" "CURL_VERSION_TLSAUTH_SRP" "ac_cv_have_decl_CURL_VERSION_TLSAUTH_SRP" "
7278 #include \"curl/curl.h\"
7281 if test "x$ac_cv_have_decl_CURL_VERSION_TLSAUTH_SRP" = xyes; then :
7282 ac_have_decl=1
7283 else
7284 ac_have_decl=0
7287 cat >>confdefs.h <<_ACEOF
7288 #define HAVE_DECL_CURL_VERSION_TLSAUTH_SRP $ac_have_decl
7289 _ACEOF
7290 ac_fn_c_check_decl "$LINENO" "CURL_VERSION_NTLM_WB" "ac_cv_have_decl_CURL_VERSION_NTLM_WB" "
7291 #include \"curl/curl.h\"
7294 if test "x$ac_cv_have_decl_CURL_VERSION_NTLM_WB" = xyes; then :
7295 ac_have_decl=1
7296 else
7297 ac_have_decl=0
7300 cat >>confdefs.h <<_ACEOF
7301 #define HAVE_DECL_CURL_VERSION_NTLM_WB $ac_have_decl
7302 _ACEOF
7305 ac_config_headers="$ac_config_headers config.h"
7307 ac_config_files="$ac_config_files Makefile examples/Makefile"
7310 cat >confcache <<\_ACEOF
7311 # This file is a shell script that caches the results of configure
7312 # tests run on this system so they can be shared between configure
7313 # scripts and configure runs, see configure's option --config-cache.
7314 # It is not useful on other systems. If it contains results you don't
7315 # want to keep, you may remove or edit it.
7317 # config.status only pays attention to the cache file if you give it
7318 # the --recheck option to rerun configure.
7320 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7321 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7322 # following values.
7324 _ACEOF
7326 # The following way of writing the cache mishandles newlines in values,
7327 # but we know of no workaround that is simple, portable, and efficient.
7328 # So, we kill variables containing newlines.
7329 # Ultrix sh set writes to stderr and can't be redirected directly,
7330 # and sets the high bit in the cache file unless we assign to the vars.
7332 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7333 eval ac_val=\$$ac_var
7334 case $ac_val in #(
7335 *${as_nl}*)
7336 case $ac_var in #(
7337 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7338 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7339 esac
7340 case $ac_var in #(
7341 _ | IFS | as_nl) ;; #(
7342 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7343 *) { eval $ac_var=; unset $ac_var;} ;;
7344 esac ;;
7345 esac
7346 done
7348 (set) 2>&1 |
7349 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7350 *${as_nl}ac_space=\ *)
7351 # `set' does not quote correctly, so add quotes: double-quote
7352 # substitution turns \\\\ into \\, and sed turns \\ into \.
7353 sed -n \
7354 "s/'/'\\\\''/g;
7355 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7356 ;; #(
7358 # `set' quotes correctly as required by POSIX, so do not add quotes.
7359 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7361 esac |
7362 sort
7364 sed '
7365 /^ac_cv_env_/b end
7366 t clear
7367 :clear
7368 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7369 t end
7370 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7371 :end' >>confcache
7372 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7373 if test -w "$cache_file"; then
7374 if test "x$cache_file" != "x/dev/null"; then
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7376 $as_echo "$as_me: updating cache $cache_file" >&6;}
7377 if test ! -f "$cache_file" || test -h "$cache_file"; then
7378 cat confcache >"$cache_file"
7379 else
7380 case $cache_file in #(
7381 */* | ?:*)
7382 mv -f confcache "$cache_file"$$ &&
7383 mv -f "$cache_file"$$ "$cache_file" ;; #(
7385 mv -f confcache "$cache_file" ;;
7386 esac
7389 else
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7391 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7394 rm -f confcache
7396 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7397 # Let make expand exec_prefix.
7398 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7400 DEFS=-DHAVE_CONFIG_H
7402 ac_libobjs=
7403 ac_ltlibobjs=
7405 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7406 # 1. Remove the extension, and $U if already installed.
7407 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7408 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7409 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7410 # will be set to the directory where LIBOBJS objects are built.
7411 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7412 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7413 done
7414 LIBOBJS=$ac_libobjs
7416 LTLIBOBJS=$ac_ltlibobjs
7420 : "${CONFIG_STATUS=./config.status}"
7421 ac_write_fail=0
7422 ac_clean_files_save=$ac_clean_files
7423 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7425 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7426 as_write_fail=0
7427 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7428 #! $SHELL
7429 # Generated by $as_me.
7430 # Run this file to recreate the current configuration.
7431 # Compiler output produced by configure, useful for debugging
7432 # configure, is in config.log if it exists.
7434 debug=false
7435 ac_cs_recheck=false
7436 ac_cs_silent=false
7438 SHELL=\${CONFIG_SHELL-$SHELL}
7439 export SHELL
7440 _ASEOF
7441 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7442 ## -------------------- ##
7443 ## M4sh Initialization. ##
7444 ## -------------------- ##
7446 # Be more Bourne compatible
7447 DUALCASE=1; export DUALCASE # for MKS sh
7448 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7449 emulate sh
7450 NULLCMD=:
7451 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7452 # is contrary to our usage. Disable this feature.
7453 alias -g '${1+"$@"}'='"$@"'
7454 setopt NO_GLOB_SUBST
7455 else
7456 case `(set -o) 2>/dev/null` in #(
7457 *posix*) :
7458 set -o posix ;; #(
7459 *) :
7461 esac
7465 as_nl='
7467 export as_nl
7468 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7469 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7470 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7471 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7472 # Prefer a ksh shell builtin over an external printf program on Solaris,
7473 # but without wasting forks for bash or zsh.
7474 if test -z "$BASH_VERSION$ZSH_VERSION" \
7475 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7476 as_echo='print -r --'
7477 as_echo_n='print -rn --'
7478 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7479 as_echo='printf %s\n'
7480 as_echo_n='printf %s'
7481 else
7482 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7483 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7484 as_echo_n='/usr/ucb/echo -n'
7485 else
7486 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7487 as_echo_n_body='eval
7488 arg=$1;
7489 case $arg in #(
7490 *"$as_nl"*)
7491 expr "X$arg" : "X\\(.*\\)$as_nl";
7492 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7493 esac;
7494 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7496 export as_echo_n_body
7497 as_echo_n='sh -c $as_echo_n_body as_echo'
7499 export as_echo_body
7500 as_echo='sh -c $as_echo_body as_echo'
7503 # The user is always right.
7504 if test "${PATH_SEPARATOR+set}" != set; then
7505 PATH_SEPARATOR=:
7506 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7507 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7508 PATH_SEPARATOR=';'
7513 # IFS
7514 # We need space, tab and new line, in precisely that order. Quoting is
7515 # there to prevent editors from complaining about space-tab.
7516 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7517 # splitting by setting IFS to empty value.)
7518 IFS=" "" $as_nl"
7520 # Find who we are. Look in the path if we contain no directory separator.
7521 as_myself=
7522 case $0 in #((
7523 *[\\/]* ) as_myself=$0 ;;
7524 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7525 for as_dir in $PATH
7527 IFS=$as_save_IFS
7528 test -z "$as_dir" && as_dir=.
7529 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7530 done
7531 IFS=$as_save_IFS
7534 esac
7535 # We did not find ourselves, most probably we were run as `sh COMMAND'
7536 # in which case we are not to be found in the path.
7537 if test "x$as_myself" = x; then
7538 as_myself=$0
7540 if test ! -f "$as_myself"; then
7541 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7542 exit 1
7545 # Unset variables that we do not need and which cause bugs (e.g. in
7546 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7547 # suppresses any "Segmentation fault" message there. '((' could
7548 # trigger a bug in pdksh 5.2.14.
7549 for as_var in BASH_ENV ENV MAIL MAILPATH
7550 do eval test x\${$as_var+set} = xset \
7551 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7552 done
7553 PS1='$ '
7554 PS2='> '
7555 PS4='+ '
7557 # NLS nuisances.
7558 LC_ALL=C
7559 export LC_ALL
7560 LANGUAGE=C
7561 export LANGUAGE
7563 # CDPATH.
7564 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7567 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7568 # ----------------------------------------
7569 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7570 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7571 # script with STATUS, using 1 if that was 0.
7572 as_fn_error ()
7574 as_status=$1; test $as_status -eq 0 && as_status=1
7575 if test "$4"; then
7576 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7577 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7579 $as_echo "$as_me: error: $2" >&2
7580 as_fn_exit $as_status
7581 } # as_fn_error
7584 # as_fn_set_status STATUS
7585 # -----------------------
7586 # Set $? to STATUS, without forking.
7587 as_fn_set_status ()
7589 return $1
7590 } # as_fn_set_status
7592 # as_fn_exit STATUS
7593 # -----------------
7594 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7595 as_fn_exit ()
7597 set +e
7598 as_fn_set_status $1
7599 exit $1
7600 } # as_fn_exit
7602 # as_fn_unset VAR
7603 # ---------------
7604 # Portably unset VAR.
7605 as_fn_unset ()
7607 { eval $1=; unset $1;}
7609 as_unset=as_fn_unset
7610 # as_fn_append VAR VALUE
7611 # ----------------------
7612 # Append the text in VALUE to the end of the definition contained in VAR. Take
7613 # advantage of any shell optimizations that allow amortized linear growth over
7614 # repeated appends, instead of the typical quadratic growth present in naive
7615 # implementations.
7616 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7617 eval 'as_fn_append ()
7619 eval $1+=\$2
7621 else
7622 as_fn_append ()
7624 eval $1=\$$1\$2
7626 fi # as_fn_append
7628 # as_fn_arith ARG...
7629 # ------------------
7630 # Perform arithmetic evaluation on the ARGs, and store the result in the
7631 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7632 # must be portable across $(()) and expr.
7633 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7634 eval 'as_fn_arith ()
7636 as_val=$(( $* ))
7638 else
7639 as_fn_arith ()
7641 as_val=`expr "$@" || test $? -eq 1`
7643 fi # as_fn_arith
7646 if expr a : '\(a\)' >/dev/null 2>&1 &&
7647 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7648 as_expr=expr
7649 else
7650 as_expr=false
7653 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7654 as_basename=basename
7655 else
7656 as_basename=false
7659 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7660 as_dirname=dirname
7661 else
7662 as_dirname=false
7665 as_me=`$as_basename -- "$0" ||
7666 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7667 X"$0" : 'X\(//\)$' \| \
7668 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7669 $as_echo X/"$0" |
7670 sed '/^.*\/\([^/][^/]*\)\/*$/{
7671 s//\1/
7674 /^X\/\(\/\/\)$/{
7675 s//\1/
7678 /^X\/\(\/\).*/{
7679 s//\1/
7682 s/.*/./; q'`
7684 # Avoid depending upon Character Ranges.
7685 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7686 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7687 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7688 as_cr_digits='0123456789'
7689 as_cr_alnum=$as_cr_Letters$as_cr_digits
7691 ECHO_C= ECHO_N= ECHO_T=
7692 case `echo -n x` in #(((((
7693 -n*)
7694 case `echo 'xy\c'` in
7695 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7696 xy) ECHO_C='\c';;
7697 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7698 ECHO_T=' ';;
7699 esac;;
7701 ECHO_N='-n';;
7702 esac
7704 rm -f conf$$ conf$$.exe conf$$.file
7705 if test -d conf$$.dir; then
7706 rm -f conf$$.dir/conf$$.file
7707 else
7708 rm -f conf$$.dir
7709 mkdir conf$$.dir 2>/dev/null
7711 if (echo >conf$$.file) 2>/dev/null; then
7712 if ln -s conf$$.file conf$$ 2>/dev/null; then
7713 as_ln_s='ln -s'
7714 # ... but there are two gotchas:
7715 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7716 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7717 # In both cases, we have to default to `cp -pR'.
7718 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7719 as_ln_s='cp -pR'
7720 elif ln conf$$.file conf$$ 2>/dev/null; then
7721 as_ln_s=ln
7722 else
7723 as_ln_s='cp -pR'
7725 else
7726 as_ln_s='cp -pR'
7728 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7729 rmdir conf$$.dir 2>/dev/null
7732 # as_fn_mkdir_p
7733 # -------------
7734 # Create "$as_dir" as a directory, including parents if necessary.
7735 as_fn_mkdir_p ()
7738 case $as_dir in #(
7739 -*) as_dir=./$as_dir;;
7740 esac
7741 test -d "$as_dir" || eval $as_mkdir_p || {
7742 as_dirs=
7743 while :; do
7744 case $as_dir in #(
7745 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7746 *) as_qdir=$as_dir;;
7747 esac
7748 as_dirs="'$as_qdir' $as_dirs"
7749 as_dir=`$as_dirname -- "$as_dir" ||
7750 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7751 X"$as_dir" : 'X\(//\)[^/]' \| \
7752 X"$as_dir" : 'X\(//\)$' \| \
7753 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7754 $as_echo X"$as_dir" |
7755 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7756 s//\1/
7759 /^X\(\/\/\)[^/].*/{
7760 s//\1/
7763 /^X\(\/\/\)$/{
7764 s//\1/
7767 /^X\(\/\).*/{
7768 s//\1/
7771 s/.*/./; q'`
7772 test -d "$as_dir" && break
7773 done
7774 test -z "$as_dirs" || eval "mkdir $as_dirs"
7775 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7778 } # as_fn_mkdir_p
7779 if mkdir -p . 2>/dev/null; then
7780 as_mkdir_p='mkdir -p "$as_dir"'
7781 else
7782 test -d ./-p && rmdir ./-p
7783 as_mkdir_p=false
7787 # as_fn_executable_p FILE
7788 # -----------------------
7789 # Test if FILE is an executable regular file.
7790 as_fn_executable_p ()
7792 test -f "$1" && test -x "$1"
7793 } # as_fn_executable_p
7794 as_test_x='test -x'
7795 as_executable_p=as_fn_executable_p
7797 # Sed expression to map a string onto a valid CPP name.
7798 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7800 # Sed expression to map a string onto a valid variable name.
7801 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7804 exec 6>&1
7805 ## ----------------------------------- ##
7806 ## Main body of $CONFIG_STATUS script. ##
7807 ## ----------------------------------- ##
7808 _ASEOF
7809 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7812 # Save the log message, to keep $0 and so on meaningful, and to
7813 # report actual input values of CONFIG_FILES etc. instead of their
7814 # values after options handling.
7815 ac_log="
7816 This file was extended by ocurl $as_me 0.5.5, which was
7817 generated by GNU Autoconf 2.69. Invocation command line was
7819 CONFIG_FILES = $CONFIG_FILES
7820 CONFIG_HEADERS = $CONFIG_HEADERS
7821 CONFIG_LINKS = $CONFIG_LINKS
7822 CONFIG_COMMANDS = $CONFIG_COMMANDS
7823 $ $0 $@
7825 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7828 _ACEOF
7830 case $ac_config_files in *"
7831 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7832 esac
7834 case $ac_config_headers in *"
7835 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7836 esac
7839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7840 # Files that config.status was made for.
7841 config_files="$ac_config_files"
7842 config_headers="$ac_config_headers"
7844 _ACEOF
7846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7847 ac_cs_usage="\
7848 \`$as_me' instantiates files and other configuration actions
7849 from templates according to the current configuration. Unless the files
7850 and actions are specified as TAGs, all are instantiated by default.
7852 Usage: $0 [OPTION]... [TAG]...
7854 -h, --help print this help, then exit
7855 -V, --version print version number and configuration settings, then exit
7856 --config print configuration, then exit
7857 -q, --quiet, --silent
7858 do not print progress messages
7859 -d, --debug don't remove temporary files
7860 --recheck update $as_me by reconfiguring in the same conditions
7861 --file=FILE[:TEMPLATE]
7862 instantiate the configuration file FILE
7863 --header=FILE[:TEMPLATE]
7864 instantiate the configuration header FILE
7866 Configuration files:
7867 $config_files
7869 Configuration headers:
7870 $config_headers
7872 Report bugs to the package provider."
7874 _ACEOF
7875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7876 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7877 ac_cs_version="\\
7878 ocurl config.status 0.5.5
7879 configured by $0, generated by GNU Autoconf 2.69,
7880 with options \\"\$ac_cs_config\\"
7882 Copyright (C) 2012 Free Software Foundation, Inc.
7883 This config.status script is free software; the Free Software Foundation
7884 gives unlimited permission to copy, distribute and modify it."
7886 ac_pwd='$ac_pwd'
7887 srcdir='$srcdir'
7888 INSTALL='$INSTALL'
7889 test -n "\$AWK" || AWK=awk
7890 _ACEOF
7892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7893 # The default lists apply if the user does not specify any file.
7894 ac_need_defaults=:
7895 while test $# != 0
7897 case $1 in
7898 --*=?*)
7899 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7900 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7901 ac_shift=:
7903 --*=)
7904 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7905 ac_optarg=
7906 ac_shift=:
7909 ac_option=$1
7910 ac_optarg=$2
7911 ac_shift=shift
7913 esac
7915 case $ac_option in
7916 # Handling of the options.
7917 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7918 ac_cs_recheck=: ;;
7919 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7920 $as_echo "$ac_cs_version"; exit ;;
7921 --config | --confi | --conf | --con | --co | --c )
7922 $as_echo "$ac_cs_config"; exit ;;
7923 --debug | --debu | --deb | --de | --d | -d )
7924 debug=: ;;
7925 --file | --fil | --fi | --f )
7926 $ac_shift
7927 case $ac_optarg in
7928 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7929 '') as_fn_error $? "missing file argument" ;;
7930 esac
7931 as_fn_append CONFIG_FILES " '$ac_optarg'"
7932 ac_need_defaults=false;;
7933 --header | --heade | --head | --hea )
7934 $ac_shift
7935 case $ac_optarg in
7936 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7937 esac
7938 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7939 ac_need_defaults=false;;
7940 --he | --h)
7941 # Conflict between --help and --header
7942 as_fn_error $? "ambiguous option: \`$1'
7943 Try \`$0 --help' for more information.";;
7944 --help | --hel | -h )
7945 $as_echo "$ac_cs_usage"; exit ;;
7946 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7947 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7948 ac_cs_silent=: ;;
7950 # This is an error.
7951 -*) as_fn_error $? "unrecognized option: \`$1'
7952 Try \`$0 --help' for more information." ;;
7954 *) as_fn_append ac_config_targets " $1"
7955 ac_need_defaults=false ;;
7957 esac
7958 shift
7959 done
7961 ac_configure_extra_args=
7963 if $ac_cs_silent; then
7964 exec 6>/dev/null
7965 ac_configure_extra_args="$ac_configure_extra_args --silent"
7968 _ACEOF
7969 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7970 if \$ac_cs_recheck; then
7971 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7972 shift
7973 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7974 CONFIG_SHELL='$SHELL'
7975 export CONFIG_SHELL
7976 exec "\$@"
7979 _ACEOF
7980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7981 exec 5>>config.log
7983 echo
7984 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7985 ## Running $as_me. ##
7986 _ASBOX
7987 $as_echo "$ac_log"
7988 } >&5
7990 _ACEOF
7991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7992 _ACEOF
7994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7996 # Handling of arguments.
7997 for ac_config_target in $ac_config_targets
7999 case $ac_config_target in
8000 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8001 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8002 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
8004 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8005 esac
8006 done
8009 # If the user did not use the arguments to specify the items to instantiate,
8010 # then the envvar interface is used. Set only those that are not.
8011 # We use the long form for the default assignment because of an extremely
8012 # bizarre bug on SunOS 4.1.3.
8013 if $ac_need_defaults; then
8014 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8015 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8018 # Have a temporary directory for convenience. Make it in the build tree
8019 # simply because there is no reason against having it here, and in addition,
8020 # creating and moving files from /tmp can sometimes cause problems.
8021 # Hook for its removal unless debugging.
8022 # Note that there is a small window in which the directory will not be cleaned:
8023 # after its creation but before its name has been assigned to `$tmp'.
8024 $debug ||
8026 tmp= ac_tmp=
8027 trap 'exit_status=$?
8028 : "${ac_tmp:=$tmp}"
8029 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8031 trap 'as_fn_exit 1' 1 2 13 15
8033 # Create a (secure) tmp directory for tmp files.
8036 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8037 test -d "$tmp"
8038 } ||
8040 tmp=./conf$$-$RANDOM
8041 (umask 077 && mkdir "$tmp")
8042 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8043 ac_tmp=$tmp
8045 # Set up the scripts for CONFIG_FILES section.
8046 # No need to generate them if there are no CONFIG_FILES.
8047 # This happens for instance with `./config.status config.h'.
8048 if test -n "$CONFIG_FILES"; then
8051 ac_cr=`echo X | tr X '\015'`
8052 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8053 # But we know of no other shell where ac_cr would be empty at this
8054 # point, so we can use a bashism as a fallback.
8055 if test "x$ac_cr" = x; then
8056 eval ac_cr=\$\'\\r\'
8058 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8059 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8060 ac_cs_awk_cr='\\r'
8061 else
8062 ac_cs_awk_cr=$ac_cr
8065 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8066 _ACEOF
8070 echo "cat >conf$$subs.awk <<_ACEOF" &&
8071 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8072 echo "_ACEOF"
8073 } >conf$$subs.sh ||
8074 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8075 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8076 ac_delim='%!_!# '
8077 for ac_last_try in false false false false false :; do
8078 . ./conf$$subs.sh ||
8079 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8081 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8082 if test $ac_delim_n = $ac_delim_num; then
8083 break
8084 elif $ac_last_try; then
8085 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8086 else
8087 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8089 done
8090 rm -f conf$$subs.sh
8092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8093 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8094 _ACEOF
8095 sed -n '
8097 s/^/S["/; s/!.*/"]=/
8100 s/^[^!]*!//
8101 :repl
8102 t repl
8103 s/'"$ac_delim"'$//
8104 t delim
8107 s/\(.\{148\}\)..*/\1/
8108 t more1
8109 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8112 b repl
8113 :more1
8114 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8117 s/.\{148\}//
8118 t nl
8119 :delim
8121 s/\(.\{148\}\)..*/\1/
8122 t more2
8123 s/["\\]/\\&/g; s/^/"/; s/$/"/
8126 :more2
8127 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8130 s/.\{148\}//
8131 t delim
8132 ' <conf$$subs.awk | sed '
8133 /^[^""]/{
8135 s/\n//
8137 ' >>$CONFIG_STATUS || ac_write_fail=1
8138 rm -f conf$$subs.awk
8139 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8140 _ACAWK
8141 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8142 for (key in S) S_is_set[key] = 1
8143 FS = "\a"
8147 line = $ 0
8148 nfields = split(line, field, "@")
8149 substed = 0
8150 len = length(field[1])
8151 for (i = 2; i < nfields; i++) {
8152 key = field[i]
8153 keylen = length(key)
8154 if (S_is_set[key]) {
8155 value = S[key]
8156 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8157 len += length(value) + length(field[++i])
8158 substed = 1
8159 } else
8160 len += 1 + keylen
8163 print line
8166 _ACAWK
8167 _ACEOF
8168 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8169 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8170 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8171 else
8173 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8174 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8175 _ACEOF
8177 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8178 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8179 # trailing colons and then remove the whole line if VPATH becomes empty
8180 # (actually we leave an empty line to preserve line numbers).
8181 if test "x$srcdir" = x.; then
8182 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8184 s///
8185 s/^/:/
8186 s/[ ]*$/:/
8187 s/:\$(srcdir):/:/g
8188 s/:\${srcdir}:/:/g
8189 s/:@srcdir@:/:/g
8190 s/^:*//
8191 s/:*$//
8193 s/\(=[ ]*\).*/\1/
8195 s/\n//
8196 s/^[^=]*=[ ]*$//
8200 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8201 fi # test -n "$CONFIG_FILES"
8203 # Set up the scripts for CONFIG_HEADERS section.
8204 # No need to generate them if there are no CONFIG_HEADERS.
8205 # This happens for instance with `./config.status Makefile'.
8206 if test -n "$CONFIG_HEADERS"; then
8207 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
8208 BEGIN {
8209 _ACEOF
8211 # Transform confdefs.h into an awk script `defines.awk', embedded as
8212 # here-document in config.status, that substitutes the proper values into
8213 # config.h.in to produce config.h.
8215 # Create a delimiter string that does not exist in confdefs.h, to ease
8216 # handling of long lines.
8217 ac_delim='%!_!# '
8218 for ac_last_try in false false :; do
8219 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
8220 if test -z "$ac_tt"; then
8221 break
8222 elif $ac_last_try; then
8223 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8224 else
8225 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8227 done
8229 # For the awk script, D is an array of macro values keyed by name,
8230 # likewise P contains macro parameters if any. Preserve backslash
8231 # newline sequences.
8233 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8234 sed -n '
8235 s/.\{148\}/&'"$ac_delim"'/g
8236 t rset
8237 :rset
8238 s/^[ ]*#[ ]*define[ ][ ]*/ /
8239 t def
8241 :def
8242 s/\\$//
8243 t bsnl
8244 s/["\\]/\\&/g
8245 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8246 D["\1"]=" \3"/p
8247 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8249 :bsnl
8250 s/["\\]/\\&/g
8251 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8252 D["\1"]=" \3\\\\\\n"\\/p
8253 t cont
8254 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8255 t cont
8257 :cont
8259 s/.\{148\}/&'"$ac_delim"'/g
8260 t clear
8261 :clear
8262 s/\\$//
8263 t bsnlc
8264 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8266 :bsnlc
8267 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8268 b cont
8269 ' <confdefs.h | sed '
8270 s/'"$ac_delim"'/"\\\
8271 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8273 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8274 for (key in D) D_is_set[key] = 1
8275 FS = "\a"
8277 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8278 line = \$ 0
8279 split(line, arg, " ")
8280 if (arg[1] == "#") {
8281 defundef = arg[2]
8282 mac1 = arg[3]
8283 } else {
8284 defundef = substr(arg[1], 2)
8285 mac1 = arg[2]
8287 split(mac1, mac2, "(") #)
8288 macro = mac2[1]
8289 prefix = substr(line, 1, index(line, defundef) - 1)
8290 if (D_is_set[macro]) {
8291 # Preserve the white space surrounding the "#".
8292 print prefix "define", macro P[macro] D[macro]
8293 next
8294 } else {
8295 # Replace #undef with comments. This is necessary, for example,
8296 # in the case of _POSIX_SOURCE, which is predefined and required
8297 # on some systems where configure will not decide to define it.
8298 if (defundef == "undef") {
8299 print "/*", prefix defundef, macro, "*/"
8300 next
8304 { print }
8305 _ACAWK
8306 _ACEOF
8307 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8308 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8309 fi # test -n "$CONFIG_HEADERS"
8312 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
8313 shift
8314 for ac_tag
8316 case $ac_tag in
8317 :[FHLC]) ac_mode=$ac_tag; continue;;
8318 esac
8319 case $ac_mode$ac_tag in
8320 :[FHL]*:*);;
8321 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8322 :[FH]-) ac_tag=-:-;;
8323 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8324 esac
8325 ac_save_IFS=$IFS
8326 IFS=:
8327 set x $ac_tag
8328 IFS=$ac_save_IFS
8329 shift
8330 ac_file=$1
8331 shift
8333 case $ac_mode in
8334 :L) ac_source=$1;;
8335 :[FH])
8336 ac_file_inputs=
8337 for ac_f
8339 case $ac_f in
8340 -) ac_f="$ac_tmp/stdin";;
8341 *) # Look for the file first in the build tree, then in the source tree
8342 # (if the path is not absolute). The absolute path cannot be DOS-style,
8343 # because $ac_f cannot contain `:'.
8344 test -f "$ac_f" ||
8345 case $ac_f in
8346 [\\/$]*) false;;
8347 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8348 esac ||
8349 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8350 esac
8351 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8352 as_fn_append ac_file_inputs " '$ac_f'"
8353 done
8355 # Let's still pretend it is `configure' which instantiates (i.e., don't
8356 # use $as_me), people would be surprised to read:
8357 # /* config.h. Generated by config.status. */
8358 configure_input='Generated from '`
8359 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8360 `' by configure.'
8361 if test x"$ac_file" != x-; then
8362 configure_input="$ac_file. $configure_input"
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8364 $as_echo "$as_me: creating $ac_file" >&6;}
8366 # Neutralize special characters interpreted by sed in replacement strings.
8367 case $configure_input in #(
8368 *\&* | *\|* | *\\* )
8369 ac_sed_conf_input=`$as_echo "$configure_input" |
8370 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8371 *) ac_sed_conf_input=$configure_input;;
8372 esac
8374 case $ac_tag in
8375 *:-:* | *:-) cat >"$ac_tmp/stdin" \
8376 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8377 esac
8379 esac
8381 ac_dir=`$as_dirname -- "$ac_file" ||
8382 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8383 X"$ac_file" : 'X\(//\)[^/]' \| \
8384 X"$ac_file" : 'X\(//\)$' \| \
8385 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8386 $as_echo X"$ac_file" |
8387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8388 s//\1/
8391 /^X\(\/\/\)[^/].*/{
8392 s//\1/
8395 /^X\(\/\/\)$/{
8396 s//\1/
8399 /^X\(\/\).*/{
8400 s//\1/
8403 s/.*/./; q'`
8404 as_dir="$ac_dir"; as_fn_mkdir_p
8405 ac_builddir=.
8407 case "$ac_dir" in
8408 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8410 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8411 # A ".." for each directory in $ac_dir_suffix.
8412 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8413 case $ac_top_builddir_sub in
8414 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8415 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8416 esac ;;
8417 esac
8418 ac_abs_top_builddir=$ac_pwd
8419 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8420 # for backward compatibility:
8421 ac_top_builddir=$ac_top_build_prefix
8423 case $srcdir in
8424 .) # We are building in place.
8425 ac_srcdir=.
8426 ac_top_srcdir=$ac_top_builddir_sub
8427 ac_abs_top_srcdir=$ac_pwd ;;
8428 [\\/]* | ?:[\\/]* ) # Absolute name.
8429 ac_srcdir=$srcdir$ac_dir_suffix;
8430 ac_top_srcdir=$srcdir
8431 ac_abs_top_srcdir=$srcdir ;;
8432 *) # Relative name.
8433 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8434 ac_top_srcdir=$ac_top_build_prefix$srcdir
8435 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8436 esac
8437 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8440 case $ac_mode in
8443 # CONFIG_FILE
8446 case $INSTALL in
8447 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8448 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8449 esac
8450 _ACEOF
8452 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8453 # If the template does not know about datarootdir, expand it.
8454 # FIXME: This hack should be removed a few years after 2.60.
8455 ac_datarootdir_hack=; ac_datarootdir_seen=
8456 ac_sed_dataroot='
8457 /datarootdir/ {
8461 /@datadir@/p
8462 /@docdir@/p
8463 /@infodir@/p
8464 /@localedir@/p
8465 /@mandir@/p'
8466 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8467 *datarootdir*) ac_datarootdir_seen=yes;;
8468 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8470 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8471 _ACEOF
8472 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8473 ac_datarootdir_hack='
8474 s&@datadir@&$datadir&g
8475 s&@docdir@&$docdir&g
8476 s&@infodir@&$infodir&g
8477 s&@localedir@&$localedir&g
8478 s&@mandir@&$mandir&g
8479 s&\\\${datarootdir}&$datarootdir&g' ;;
8480 esac
8481 _ACEOF
8483 # Neutralize VPATH when `$srcdir' = `.'.
8484 # Shell code in configure.ac might set extrasub.
8485 # FIXME: do we really want to maintain this feature?
8486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8487 ac_sed_extra="$ac_vpsub
8488 $extrasub
8489 _ACEOF
8490 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8492 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8493 s|@configure_input@|$ac_sed_conf_input|;t t
8494 s&@top_builddir@&$ac_top_builddir_sub&;t t
8495 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8496 s&@srcdir@&$ac_srcdir&;t t
8497 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8498 s&@top_srcdir@&$ac_top_srcdir&;t t
8499 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8500 s&@builddir@&$ac_builddir&;t t
8501 s&@abs_builddir@&$ac_abs_builddir&;t t
8502 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8503 s&@INSTALL@&$ac_INSTALL&;t t
8504 $ac_datarootdir_hack
8506 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8507 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8509 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8510 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8511 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8512 "$ac_tmp/out"`; test -z "$ac_out"; } &&
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8514 which seems to be undefined. Please make sure it is defined" >&5
8515 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8516 which seems to be undefined. Please make sure it is defined" >&2;}
8518 rm -f "$ac_tmp/stdin"
8519 case $ac_file in
8520 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8521 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8522 esac \
8523 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8527 # CONFIG_HEADER
8529 if test x"$ac_file" != x-; then
8531 $as_echo "/* $configure_input */" \
8532 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8533 } >"$ac_tmp/config.h" \
8534 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8535 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8537 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8538 else
8539 rm -f "$ac_file"
8540 mv "$ac_tmp/config.h" "$ac_file" \
8541 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8543 else
8544 $as_echo "/* $configure_input */" \
8545 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8546 || as_fn_error $? "could not create -" "$LINENO" 5
8551 esac
8553 done # for ac_tag
8556 as_fn_exit 0
8557 _ACEOF
8558 ac_clean_files=$ac_clean_files_save
8560 test $ac_write_fail = 0 ||
8561 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8564 # configure is writing to config.log, and then calls config.status.
8565 # config.status does its own redirection, appending to config.log.
8566 # Unfortunately, on DOS this fails, as config.log is still kept open
8567 # by configure, so config.status won't be able to write to it; its
8568 # output is simply discarded. So we exec the FD to /dev/null,
8569 # effectively closing config.log, so it can be properly (re)opened and
8570 # appended to by config.status. When coming back to configure, we
8571 # need to make the FD available again.
8572 if test "$no_create" != yes; then
8573 ac_cs_success=:
8574 ac_config_status_args=
8575 test "$silent" = yes &&
8576 ac_config_status_args="$ac_config_status_args --quiet"
8577 exec 5>/dev/null
8578 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8579 exec 5>>config.log
8580 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8581 # would make configure fail if this is the last instruction.
8582 $ac_cs_success || as_fn_exit 1
8584 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8586 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}