workaround TCP_NODELAY defined in windows headers
[ocurl.git] / configure
blob5ca689003c9dbe2e835566c5458726bb20165012
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ocurl 0.7.2.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
201 as_have_required=yes
202 else
203 as_have_required=no
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
207 else
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209 as_found=false
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
212 IFS=$as_save_IFS
213 test -z "$as_dir" && as_dir=.
214 as_found=:
215 case $as_dir in #(
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 break 2
227 done;;
228 esac
229 as_found=false
230 done
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
234 fi; }
235 IFS=$as_save_IFS
238 if test "x$CONFIG_SHELL" != x; then :
239 export CONFIG_SHELL
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
244 BASH_ENV=/dev/null
245 ENV=/dev/null
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247 case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252 esac
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257 exit 255
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266 else
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
272 exit 1
276 SHELL=${CONFIG_SHELL-/bin/sh}
277 export SHELL
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
285 # as_fn_unset VAR
286 # ---------------
287 # Portably unset VAR.
288 as_fn_unset ()
290 { eval $1=; unset $1;}
292 as_unset=as_fn_unset
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
297 as_fn_set_status ()
299 return $1
300 } # as_fn_set_status
302 # as_fn_exit STATUS
303 # -----------------
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305 as_fn_exit ()
307 set +e
308 as_fn_set_status $1
309 exit $1
310 } # as_fn_exit
312 # as_fn_mkdir_p
313 # -------------
314 # Create "$as_dir" as a directory, including parents if necessary.
315 as_fn_mkdir_p ()
318 case $as_dir in #(
319 -*) as_dir=./$as_dir;;
320 esac
321 test -d "$as_dir" || eval $as_mkdir_p || {
322 as_dirs=
323 while :; do
324 case $as_dir in #(
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326 *) as_qdir=$as_dir;;
327 esac
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 s//\1/
339 /^X\(\/\/\)[^/].*/{
340 s//\1/
343 /^X\(\/\/\)$/{
344 s//\1/
347 /^X\(\/\).*/{
348 s//\1/
351 s/.*/./; q'`
352 test -d "$as_dir" && break
353 done
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
358 } # as_fn_mkdir_p
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
372 # implementations.
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
376 eval $1+=\$2
378 else
379 as_fn_append ()
381 eval $1=\$$1\$2
383 fi # as_fn_append
385 # as_fn_arith ARG...
386 # ------------------
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391 eval 'as_fn_arith ()
393 as_val=$(( $* ))
395 else
396 as_fn_arith ()
398 as_val=`expr "$@" || test $? -eq 1`
400 fi # as_fn_arith
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
408 as_fn_error ()
410 as_status=$1; test $as_status -eq 0 && as_status=1
411 if test "$4"; then
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
417 } # as_fn_error
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
421 as_expr=expr
422 else
423 as_expr=false
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427 as_basename=basename
428 else
429 as_basename=false
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433 as_dirname=dirname
434 else
435 as_dirname=false
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 $as_echo X/"$0" |
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
444 s//\1/
447 /^X\/\(\/\/\)$/{
448 s//\1/
451 /^X\/\(\/\).*/{
452 s//\1/
455 s/.*/./; q'`
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
470 sed -n '
472 /[$]LINENO/=
473 ' <$as_myself |
474 sed '
475 s/[$]LINENO.*/&-/
476 t lineno
478 :lineno
480 :loop
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482 t loop
483 s/-\n.*//
484 ' >$as_me.lineno &&
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
495 . "./$as_me.lineno"
496 # Exit status is that of the last command.
497 exit
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
502 -n*)
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
505 xy) ECHO_C='\c';;
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
507 ECHO_T=' ';;
508 esac;;
510 ECHO_N='-n';;
511 esac
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
516 else
517 rm -f conf$$.dir
518 mkdir conf$$.dir 2>/dev/null
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
522 as_ln_s='ln -s'
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528 as_ln_s='cp -pR'
529 elif ln conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s=ln
531 else
532 as_ln_s='cp -pR'
534 else
535 as_ln_s='cp -pR'
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
542 else
543 test -d ./-p && rmdir ./-p
544 as_mkdir_p=false
547 as_test_x='test -x'
548 as_executable_p=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" || exec 7<&0 </dev/null
558 exec 6>&1
560 # Name of the host.
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
566 # Initializations.
568 ac_default_prefix=/usr/local
569 ac_clean_files=
570 ac_config_libobj_dir=.
571 LIBOBJS=
572 cross_compiling=no
573 subdirs=
574 MFLAGS=
575 MAKEFLAGS=
577 # Identity of this package.
578 PACKAGE_NAME='ocurl'
579 PACKAGE_TARNAME='ocurl'
580 PACKAGE_VERSION='0.7.2'
581 PACKAGE_STRING='ocurl 0.7.2'
582 PACKAGE_BUGREPORT=''
583 PACKAGE_URL=''
585 # Factoring default headers for most tests.
586 ac_includes_default="\
587 #include <stdio.h>
588 #ifdef HAVE_SYS_TYPES_H
589 # include <sys/types.h>
590 #endif
591 #ifdef HAVE_SYS_STAT_H
592 # include <sys/stat.h>
593 #endif
594 #ifdef STDC_HEADERS
595 # include <stdlib.h>
596 # include <stddef.h>
597 #else
598 # ifdef HAVE_STDLIB_H
599 # include <stdlib.h>
600 # endif
601 #endif
602 #ifdef HAVE_STRING_H
603 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
604 # include <memory.h>
605 # endif
606 # include <string.h>
607 #endif
608 #ifdef HAVE_STRINGS_H
609 # include <strings.h>
610 #endif
611 #ifdef HAVE_INTTYPES_H
612 # include <inttypes.h>
613 #endif
614 #ifdef HAVE_STDINT_H
615 # include <stdint.h>
616 #endif
617 #ifdef HAVE_UNISTD_H
618 # include <unistd.h>
619 #endif"
621 ac_subst_vars='LTLIBOBJS
622 LIBOBJS
623 EGREP
624 GREP
626 INSTALLDIR
627 CURLLIBS
628 ac_prefix_program
629 OCAML_PKG_lwt
630 OCAMLFIND
631 OCAMLBUILD
632 OCAMLDOC
633 OCAMLMKLIB
634 OCAMLMKTOP
635 OCAMLDEP
636 OCAML
637 OCAMLOPTDOTOPT
638 OCAMLCDOTOPT
639 OCAMLBEST
640 OCAMLOPT
641 OCAMLLIB
642 OCAMLVERSION
643 OCAMLC
644 INSTALL_DATA
645 INSTALL_SCRIPT
646 INSTALL_PROGRAM
647 OBJEXT
648 EXEEXT
649 ac_ct_CC
650 CPPFLAGS
651 LDFLAGS
652 CFLAGS
654 target_alias
655 host_alias
656 build_alias
657 LIBS
658 ECHO_T
659 ECHO_N
660 ECHO_C
661 DEFS
662 mandir
663 localedir
664 libdir
665 psdir
666 pdfdir
667 dvidir
668 htmldir
669 infodir
670 docdir
671 oldincludedir
672 includedir
673 localstatedir
674 sharedstatedir
675 sysconfdir
676 datadir
677 datarootdir
678 libexecdir
679 sbindir
680 bindir
681 program_transform_name
682 prefix
683 exec_prefix
684 PACKAGE_URL
685 PACKAGE_BUGREPORT
686 PACKAGE_STRING
687 PACKAGE_VERSION
688 PACKAGE_TARNAME
689 PACKAGE_NAME
690 PATH_SEPARATOR
691 SHELL'
692 ac_subst_files=''
693 ac_user_opts='
694 enable_option_checking
696 ac_precious_vars='build_alias
697 host_alias
698 target_alias
700 CFLAGS
701 LDFLAGS
702 LIBS
703 CPPFLAGS
704 CPP'
707 # Initialize some variables set by options.
708 ac_init_help=
709 ac_init_version=false
710 ac_unrecognized_opts=
711 ac_unrecognized_sep=
712 # The variables have the same names as the options, with
713 # dashes changed to underlines.
714 cache_file=/dev/null
715 exec_prefix=NONE
716 no_create=
717 no_recursion=
718 prefix=NONE
719 program_prefix=NONE
720 program_suffix=NONE
721 program_transform_name=s,x,x,
722 silent=
723 site=
724 srcdir=
725 verbose=
726 x_includes=NONE
727 x_libraries=NONE
729 # Installation directory options.
730 # These are left unexpanded so users can "make install exec_prefix=/foo"
731 # and all the variables that are supposed to be based on exec_prefix
732 # by default will actually change.
733 # Use braces instead of parens because sh, perl, etc. also accept them.
734 # (The list follows the same order as the GNU Coding Standards.)
735 bindir='${exec_prefix}/bin'
736 sbindir='${exec_prefix}/sbin'
737 libexecdir='${exec_prefix}/libexec'
738 datarootdir='${prefix}/share'
739 datadir='${datarootdir}'
740 sysconfdir='${prefix}/etc'
741 sharedstatedir='${prefix}/com'
742 localstatedir='${prefix}/var'
743 includedir='${prefix}/include'
744 oldincludedir='/usr/include'
745 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
746 infodir='${datarootdir}/info'
747 htmldir='${docdir}'
748 dvidir='${docdir}'
749 pdfdir='${docdir}'
750 psdir='${docdir}'
751 libdir='${exec_prefix}/lib'
752 localedir='${datarootdir}/locale'
753 mandir='${datarootdir}/man'
755 ac_prev=
756 ac_dashdash=
757 for ac_option
759 # If the previous option needs an argument, assign it.
760 if test -n "$ac_prev"; then
761 eval $ac_prev=\$ac_option
762 ac_prev=
763 continue
766 case $ac_option in
767 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
768 *=) ac_optarg= ;;
769 *) ac_optarg=yes ;;
770 esac
772 # Accept the important Cygnus configure options, so we can diagnose typos.
774 case $ac_dashdash$ac_option in
776 ac_dashdash=yes ;;
778 -bindir | --bindir | --bindi | --bind | --bin | --bi)
779 ac_prev=bindir ;;
780 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
781 bindir=$ac_optarg ;;
783 -build | --build | --buil | --bui | --bu)
784 ac_prev=build_alias ;;
785 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
786 build_alias=$ac_optarg ;;
788 -cache-file | --cache-file | --cache-fil | --cache-fi \
789 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
790 ac_prev=cache_file ;;
791 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
792 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
793 cache_file=$ac_optarg ;;
795 --config-cache | -C)
796 cache_file=config.cache ;;
798 -datadir | --datadir | --datadi | --datad)
799 ac_prev=datadir ;;
800 -datadir=* | --datadir=* | --datadi=* | --datad=*)
801 datadir=$ac_optarg ;;
803 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
804 | --dataroo | --dataro | --datar)
805 ac_prev=datarootdir ;;
806 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
807 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
808 datarootdir=$ac_optarg ;;
810 -disable-* | --disable-*)
811 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
812 # Reject names that are not valid shell variable names.
813 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
814 as_fn_error $? "invalid feature name: $ac_useropt"
815 ac_useropt_orig=$ac_useropt
816 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
817 case $ac_user_opts in
819 "enable_$ac_useropt"
820 "*) ;;
821 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
822 ac_unrecognized_sep=', ';;
823 esac
824 eval enable_$ac_useropt=no ;;
826 -docdir | --docdir | --docdi | --doc | --do)
827 ac_prev=docdir ;;
828 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
829 docdir=$ac_optarg ;;
831 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
832 ac_prev=dvidir ;;
833 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
834 dvidir=$ac_optarg ;;
836 -enable-* | --enable-*)
837 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
838 # Reject names that are not valid shell variable names.
839 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
840 as_fn_error $? "invalid feature name: $ac_useropt"
841 ac_useropt_orig=$ac_useropt
842 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
843 case $ac_user_opts in
845 "enable_$ac_useropt"
846 "*) ;;
847 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
848 ac_unrecognized_sep=', ';;
849 esac
850 eval enable_$ac_useropt=\$ac_optarg ;;
852 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
853 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
854 | --exec | --exe | --ex)
855 ac_prev=exec_prefix ;;
856 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
857 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
858 | --exec=* | --exe=* | --ex=*)
859 exec_prefix=$ac_optarg ;;
861 -gas | --gas | --ga | --g)
862 # Obsolete; use --with-gas.
863 with_gas=yes ;;
865 -help | --help | --hel | --he | -h)
866 ac_init_help=long ;;
867 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
868 ac_init_help=recursive ;;
869 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
870 ac_init_help=short ;;
872 -host | --host | --hos | --ho)
873 ac_prev=host_alias ;;
874 -host=* | --host=* | --hos=* | --ho=*)
875 host_alias=$ac_optarg ;;
877 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
878 ac_prev=htmldir ;;
879 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
880 | --ht=*)
881 htmldir=$ac_optarg ;;
883 -includedir | --includedir | --includedi | --included | --include \
884 | --includ | --inclu | --incl | --inc)
885 ac_prev=includedir ;;
886 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
887 | --includ=* | --inclu=* | --incl=* | --inc=*)
888 includedir=$ac_optarg ;;
890 -infodir | --infodir | --infodi | --infod | --info | --inf)
891 ac_prev=infodir ;;
892 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
893 infodir=$ac_optarg ;;
895 -libdir | --libdir | --libdi | --libd)
896 ac_prev=libdir ;;
897 -libdir=* | --libdir=* | --libdi=* | --libd=*)
898 libdir=$ac_optarg ;;
900 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
901 | --libexe | --libex | --libe)
902 ac_prev=libexecdir ;;
903 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
904 | --libexe=* | --libex=* | --libe=*)
905 libexecdir=$ac_optarg ;;
907 -localedir | --localedir | --localedi | --localed | --locale)
908 ac_prev=localedir ;;
909 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
910 localedir=$ac_optarg ;;
912 -localstatedir | --localstatedir | --localstatedi | --localstated \
913 | --localstate | --localstat | --localsta | --localst | --locals)
914 ac_prev=localstatedir ;;
915 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
916 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
917 localstatedir=$ac_optarg ;;
919 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
920 ac_prev=mandir ;;
921 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
922 mandir=$ac_optarg ;;
924 -nfp | --nfp | --nf)
925 # Obsolete; use --without-fp.
926 with_fp=no ;;
928 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
929 | --no-cr | --no-c | -n)
930 no_create=yes ;;
932 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
933 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
934 no_recursion=yes ;;
936 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
937 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
938 | --oldin | --oldi | --old | --ol | --o)
939 ac_prev=oldincludedir ;;
940 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
941 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
942 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
943 oldincludedir=$ac_optarg ;;
945 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
946 ac_prev=prefix ;;
947 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
948 prefix=$ac_optarg ;;
950 -program-prefix | --program-prefix | --program-prefi | --program-pref \
951 | --program-pre | --program-pr | --program-p)
952 ac_prev=program_prefix ;;
953 -program-prefix=* | --program-prefix=* | --program-prefi=* \
954 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
955 program_prefix=$ac_optarg ;;
957 -program-suffix | --program-suffix | --program-suffi | --program-suff \
958 | --program-suf | --program-su | --program-s)
959 ac_prev=program_suffix ;;
960 -program-suffix=* | --program-suffix=* | --program-suffi=* \
961 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
962 program_suffix=$ac_optarg ;;
964 -program-transform-name | --program-transform-name \
965 | --program-transform-nam | --program-transform-na \
966 | --program-transform-n | --program-transform- \
967 | --program-transform | --program-transfor \
968 | --program-transfo | --program-transf \
969 | --program-trans | --program-tran \
970 | --progr-tra | --program-tr | --program-t)
971 ac_prev=program_transform_name ;;
972 -program-transform-name=* | --program-transform-name=* \
973 | --program-transform-nam=* | --program-transform-na=* \
974 | --program-transform-n=* | --program-transform-=* \
975 | --program-transform=* | --program-transfor=* \
976 | --program-transfo=* | --program-transf=* \
977 | --program-trans=* | --program-tran=* \
978 | --progr-tra=* | --program-tr=* | --program-t=*)
979 program_transform_name=$ac_optarg ;;
981 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
982 ac_prev=pdfdir ;;
983 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
984 pdfdir=$ac_optarg ;;
986 -psdir | --psdir | --psdi | --psd | --ps)
987 ac_prev=psdir ;;
988 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
989 psdir=$ac_optarg ;;
991 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
992 | -silent | --silent | --silen | --sile | --sil)
993 silent=yes ;;
995 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
996 ac_prev=sbindir ;;
997 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
998 | --sbi=* | --sb=*)
999 sbindir=$ac_optarg ;;
1001 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1002 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1003 | --sharedst | --shareds | --shared | --share | --shar \
1004 | --sha | --sh)
1005 ac_prev=sharedstatedir ;;
1006 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1007 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1008 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1009 | --sha=* | --sh=*)
1010 sharedstatedir=$ac_optarg ;;
1012 -site | --site | --sit)
1013 ac_prev=site ;;
1014 -site=* | --site=* | --sit=*)
1015 site=$ac_optarg ;;
1017 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1018 ac_prev=srcdir ;;
1019 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1020 srcdir=$ac_optarg ;;
1022 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1023 | --syscon | --sysco | --sysc | --sys | --sy)
1024 ac_prev=sysconfdir ;;
1025 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1026 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1027 sysconfdir=$ac_optarg ;;
1029 -target | --target | --targe | --targ | --tar | --ta | --t)
1030 ac_prev=target_alias ;;
1031 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1032 target_alias=$ac_optarg ;;
1034 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1035 verbose=yes ;;
1037 -version | --version | --versio | --versi | --vers | -V)
1038 ac_init_version=: ;;
1040 -with-* | --with-*)
1041 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1042 # Reject names that are not valid shell variable names.
1043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1044 as_fn_error $? "invalid package name: $ac_useropt"
1045 ac_useropt_orig=$ac_useropt
1046 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1047 case $ac_user_opts in
1049 "with_$ac_useropt"
1050 "*) ;;
1051 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1052 ac_unrecognized_sep=', ';;
1053 esac
1054 eval with_$ac_useropt=\$ac_optarg ;;
1056 -without-* | --without-*)
1057 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1058 # Reject names that are not valid shell variable names.
1059 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1060 as_fn_error $? "invalid package name: $ac_useropt"
1061 ac_useropt_orig=$ac_useropt
1062 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1063 case $ac_user_opts in
1065 "with_$ac_useropt"
1066 "*) ;;
1067 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1068 ac_unrecognized_sep=', ';;
1069 esac
1070 eval with_$ac_useropt=no ;;
1072 --x)
1073 # Obsolete; use --with-x.
1074 with_x=yes ;;
1076 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1077 | --x-incl | --x-inc | --x-in | --x-i)
1078 ac_prev=x_includes ;;
1079 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1080 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1081 x_includes=$ac_optarg ;;
1083 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1084 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1085 ac_prev=x_libraries ;;
1086 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1087 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1088 x_libraries=$ac_optarg ;;
1090 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1091 Try \`$0 --help' for more information"
1094 *=*)
1095 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1096 # Reject names that are not valid shell variable names.
1097 case $ac_envvar in #(
1098 '' | [0-9]* | *[!_$as_cr_alnum]* )
1099 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1100 esac
1101 eval $ac_envvar=\$ac_optarg
1102 export $ac_envvar ;;
1105 # FIXME: should be removed in autoconf 3.0.
1106 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1107 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1108 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1109 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1112 esac
1113 done
1115 if test -n "$ac_prev"; then
1116 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1117 as_fn_error $? "missing argument to $ac_option"
1120 if test -n "$ac_unrecognized_opts"; then
1121 case $enable_option_checking in
1122 no) ;;
1123 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1124 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1125 esac
1128 # Check all directory arguments for consistency.
1129 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1130 datadir sysconfdir sharedstatedir localstatedir includedir \
1131 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1132 libdir localedir mandir
1134 eval ac_val=\$$ac_var
1135 # Remove trailing slashes.
1136 case $ac_val in
1137 */ )
1138 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1139 eval $ac_var=\$ac_val;;
1140 esac
1141 # Be sure to have absolute directory names.
1142 case $ac_val in
1143 [\\/$]* | ?:[\\/]* ) continue;;
1144 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1145 esac
1146 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1147 done
1149 # There might be people who depend on the old broken behavior: `$host'
1150 # used to hold the argument of --host etc.
1151 # FIXME: To remove some day.
1152 build=$build_alias
1153 host=$host_alias
1154 target=$target_alias
1156 # FIXME: To remove some day.
1157 if test "x$host_alias" != x; then
1158 if test "x$build_alias" = x; then
1159 cross_compiling=maybe
1160 elif test "x$build_alias" != "x$host_alias"; then
1161 cross_compiling=yes
1165 ac_tool_prefix=
1166 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1168 test "$silent" = yes && exec 6>/dev/null
1171 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1172 ac_ls_di=`ls -di .` &&
1173 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1174 as_fn_error $? "working directory cannot be determined"
1175 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1176 as_fn_error $? "pwd does not report name of working directory"
1179 # Find the source files, if location was not specified.
1180 if test -z "$srcdir"; then
1181 ac_srcdir_defaulted=yes
1182 # Try the directory containing this script, then the parent directory.
1183 ac_confdir=`$as_dirname -- "$as_myself" ||
1184 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1185 X"$as_myself" : 'X\(//\)[^/]' \| \
1186 X"$as_myself" : 'X\(//\)$' \| \
1187 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1188 $as_echo X"$as_myself" |
1189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1190 s//\1/
1193 /^X\(\/\/\)[^/].*/{
1194 s//\1/
1197 /^X\(\/\/\)$/{
1198 s//\1/
1201 /^X\(\/\).*/{
1202 s//\1/
1205 s/.*/./; q'`
1206 srcdir=$ac_confdir
1207 if test ! -r "$srcdir/$ac_unique_file"; then
1208 srcdir=..
1210 else
1211 ac_srcdir_defaulted=no
1213 if test ! -r "$srcdir/$ac_unique_file"; then
1214 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1215 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1217 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1218 ac_abs_confdir=`(
1219 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1220 pwd)`
1221 # When building in place, set srcdir=.
1222 if test "$ac_abs_confdir" = "$ac_pwd"; then
1223 srcdir=.
1225 # Remove unnecessary trailing slashes from srcdir.
1226 # Double slashes in file names in object file debugging info
1227 # mess up M-x gdb in Emacs.
1228 case $srcdir in
1229 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1230 esac
1231 for ac_var in $ac_precious_vars; do
1232 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1233 eval ac_env_${ac_var}_value=\$${ac_var}
1234 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1235 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1236 done
1239 # Report the --help message.
1241 if test "$ac_init_help" = "long"; then
1242 # Omit some internal or obsolete options to make the list less imposing.
1243 # This message is too long to be a string in the A/UX 3.1 sh.
1244 cat <<_ACEOF
1245 \`configure' configures ocurl 0.7.2 to adapt to many kinds of systems.
1247 Usage: $0 [OPTION]... [VAR=VALUE]...
1249 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1250 VAR=VALUE. See below for descriptions of some of the useful variables.
1252 Defaults for the options are specified in brackets.
1254 Configuration:
1255 -h, --help display this help and exit
1256 --help=short display options specific to this package
1257 --help=recursive display the short help of all the included packages
1258 -V, --version display version information and exit
1259 -q, --quiet, --silent do not print \`checking ...' messages
1260 --cache-file=FILE cache test results in FILE [disabled]
1261 -C, --config-cache alias for \`--cache-file=config.cache'
1262 -n, --no-create do not create output files
1263 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1265 Installation directories:
1266 --prefix=PREFIX install architecture-independent files in PREFIX
1267 [$ac_default_prefix]
1268 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1269 [PREFIX]
1271 By default, \`make install' will install all the files in
1272 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1273 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1274 for instance \`--prefix=\$HOME'.
1276 For better control, use the options below.
1278 Fine tuning of the installation directories:
1279 --bindir=DIR user executables [EPREFIX/bin]
1280 --sbindir=DIR system admin executables [EPREFIX/sbin]
1281 --libexecdir=DIR program executables [EPREFIX/libexec]
1282 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1283 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1284 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1285 --libdir=DIR object code libraries [EPREFIX/lib]
1286 --includedir=DIR C header files [PREFIX/include]
1287 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1288 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1289 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1290 --infodir=DIR info documentation [DATAROOTDIR/info]
1291 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1292 --mandir=DIR man documentation [DATAROOTDIR/man]
1293 --docdir=DIR documentation root [DATAROOTDIR/doc/ocurl]
1294 --htmldir=DIR html documentation [DOCDIR]
1295 --dvidir=DIR dvi documentation [DOCDIR]
1296 --pdfdir=DIR pdf documentation [DOCDIR]
1297 --psdir=DIR ps documentation [DOCDIR]
1298 _ACEOF
1300 cat <<\_ACEOF
1301 _ACEOF
1304 if test -n "$ac_init_help"; then
1305 case $ac_init_help in
1306 short | recursive ) echo "Configuration of ocurl 0.7.2:";;
1307 esac
1308 cat <<\_ACEOF
1310 Some influential environment variables:
1311 CC C compiler command
1312 CFLAGS C compiler flags
1313 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1314 nonstandard directory <lib dir>
1315 LIBS libraries to pass to the linker, e.g. -l<library>
1316 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1317 you have headers in a nonstandard directory <include dir>
1318 CPP C preprocessor
1320 Use these variables to override the choices made by `configure' or to help
1321 it to find libraries and programs with nonstandard names/locations.
1323 Report bugs to the package provider.
1324 _ACEOF
1325 ac_status=$?
1328 if test "$ac_init_help" = "recursive"; then
1329 # If there are subdirs, report their specific --help.
1330 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1331 test -d "$ac_dir" ||
1332 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1333 continue
1334 ac_builddir=.
1336 case "$ac_dir" in
1337 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1339 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1340 # A ".." for each directory in $ac_dir_suffix.
1341 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1342 case $ac_top_builddir_sub in
1343 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1344 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1345 esac ;;
1346 esac
1347 ac_abs_top_builddir=$ac_pwd
1348 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1349 # for backward compatibility:
1350 ac_top_builddir=$ac_top_build_prefix
1352 case $srcdir in
1353 .) # We are building in place.
1354 ac_srcdir=.
1355 ac_top_srcdir=$ac_top_builddir_sub
1356 ac_abs_top_srcdir=$ac_pwd ;;
1357 [\\/]* | ?:[\\/]* ) # Absolute name.
1358 ac_srcdir=$srcdir$ac_dir_suffix;
1359 ac_top_srcdir=$srcdir
1360 ac_abs_top_srcdir=$srcdir ;;
1361 *) # Relative name.
1362 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1363 ac_top_srcdir=$ac_top_build_prefix$srcdir
1364 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1365 esac
1366 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1368 cd "$ac_dir" || { ac_status=$?; continue; }
1369 # Check for guested configure.
1370 if test -f "$ac_srcdir/configure.gnu"; then
1371 echo &&
1372 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1373 elif test -f "$ac_srcdir/configure"; then
1374 echo &&
1375 $SHELL "$ac_srcdir/configure" --help=recursive
1376 else
1377 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1378 fi || ac_status=$?
1379 cd "$ac_pwd" || { ac_status=$?; break; }
1380 done
1383 test -n "$ac_init_help" && exit $ac_status
1384 if $ac_init_version; then
1385 cat <<\_ACEOF
1386 ocurl configure 0.7.2
1387 generated by GNU Autoconf 2.69
1389 Copyright (C) 2012 Free Software Foundation, Inc.
1390 This configure script is free software; the Free Software Foundation
1391 gives unlimited permission to copy, distribute and modify it.
1392 _ACEOF
1393 exit
1396 ## ------------------------ ##
1397 ## Autoconf initialization. ##
1398 ## ------------------------ ##
1400 # ac_fn_c_try_compile LINENO
1401 # --------------------------
1402 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1403 ac_fn_c_try_compile ()
1405 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1406 rm -f conftest.$ac_objext
1407 if { { ac_try="$ac_compile"
1408 case "(($ac_try" in
1409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1410 *) ac_try_echo=$ac_try;;
1411 esac
1412 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1413 $as_echo "$ac_try_echo"; } >&5
1414 (eval "$ac_compile") 2>conftest.err
1415 ac_status=$?
1416 if test -s conftest.err; then
1417 grep -v '^ *+' conftest.err >conftest.er1
1418 cat conftest.er1 >&5
1419 mv -f conftest.er1 conftest.err
1421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1422 test $ac_status = 0; } && {
1423 test -z "$ac_c_werror_flag" ||
1424 test ! -s conftest.err
1425 } && test -s conftest.$ac_objext; then :
1426 ac_retval=0
1427 else
1428 $as_echo "$as_me: failed program was:" >&5
1429 sed 's/^/| /' conftest.$ac_ext >&5
1431 ac_retval=1
1433 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1434 as_fn_set_status $ac_retval
1436 } # ac_fn_c_try_compile
1438 # ac_fn_c_try_cpp LINENO
1439 # ----------------------
1440 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1441 ac_fn_c_try_cpp ()
1443 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1444 if { { ac_try="$ac_cpp conftest.$ac_ext"
1445 case "(($ac_try" in
1446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1447 *) ac_try_echo=$ac_try;;
1448 esac
1449 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1450 $as_echo "$ac_try_echo"; } >&5
1451 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1452 ac_status=$?
1453 if test -s conftest.err; then
1454 grep -v '^ *+' conftest.err >conftest.er1
1455 cat conftest.er1 >&5
1456 mv -f conftest.er1 conftest.err
1458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1459 test $ac_status = 0; } > conftest.i && {
1460 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1461 test ! -s conftest.err
1462 }; then :
1463 ac_retval=0
1464 else
1465 $as_echo "$as_me: failed program was:" >&5
1466 sed 's/^/| /' conftest.$ac_ext >&5
1468 ac_retval=1
1470 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1471 as_fn_set_status $ac_retval
1473 } # ac_fn_c_try_cpp
1475 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1476 # -------------------------------------------------------
1477 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1478 # the include files in INCLUDES and setting the cache variable VAR
1479 # accordingly.
1480 ac_fn_c_check_header_mongrel ()
1482 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1483 if eval \${$3+:} false; then :
1484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1485 $as_echo_n "checking for $2... " >&6; }
1486 if eval \${$3+:} false; then :
1487 $as_echo_n "(cached) " >&6
1489 eval ac_res=\$$3
1490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1491 $as_echo "$ac_res" >&6; }
1492 else
1493 # Is the header compilable?
1494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1495 $as_echo_n "checking $2 usability... " >&6; }
1496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1497 /* end confdefs.h. */
1499 #include <$2>
1500 _ACEOF
1501 if ac_fn_c_try_compile "$LINENO"; then :
1502 ac_header_compiler=yes
1503 else
1504 ac_header_compiler=no
1506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1508 $as_echo "$ac_header_compiler" >&6; }
1510 # Is the header present?
1511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1512 $as_echo_n "checking $2 presence... " >&6; }
1513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1514 /* end confdefs.h. */
1515 #include <$2>
1516 _ACEOF
1517 if ac_fn_c_try_cpp "$LINENO"; then :
1518 ac_header_preproc=yes
1519 else
1520 ac_header_preproc=no
1522 rm -f conftest.err conftest.i conftest.$ac_ext
1523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1524 $as_echo "$ac_header_preproc" >&6; }
1526 # So? What about this header?
1527 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1528 yes:no: )
1529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1530 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1532 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1534 no:yes:* )
1535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1536 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1538 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1540 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1542 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1544 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1546 esac
1547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1548 $as_echo_n "checking for $2... " >&6; }
1549 if eval \${$3+:} false; then :
1550 $as_echo_n "(cached) " >&6
1551 else
1552 eval "$3=\$ac_header_compiler"
1554 eval ac_res=\$$3
1555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1556 $as_echo "$ac_res" >&6; }
1558 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1560 } # ac_fn_c_check_header_mongrel
1562 # ac_fn_c_try_run LINENO
1563 # ----------------------
1564 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1565 # that executables *can* be run.
1566 ac_fn_c_try_run ()
1568 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1569 if { { ac_try="$ac_link"
1570 case "(($ac_try" in
1571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1572 *) ac_try_echo=$ac_try;;
1573 esac
1574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1575 $as_echo "$ac_try_echo"; } >&5
1576 (eval "$ac_link") 2>&5
1577 ac_status=$?
1578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1579 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1580 { { case "(($ac_try" in
1581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1582 *) ac_try_echo=$ac_try;;
1583 esac
1584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1585 $as_echo "$ac_try_echo"; } >&5
1586 (eval "$ac_try") 2>&5
1587 ac_status=$?
1588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1589 test $ac_status = 0; }; }; then :
1590 ac_retval=0
1591 else
1592 $as_echo "$as_me: program exited with status $ac_status" >&5
1593 $as_echo "$as_me: failed program was:" >&5
1594 sed 's/^/| /' conftest.$ac_ext >&5
1596 ac_retval=$ac_status
1598 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1599 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1600 as_fn_set_status $ac_retval
1602 } # ac_fn_c_try_run
1604 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1605 # -------------------------------------------------------
1606 # Tests whether HEADER exists and can be compiled using the include files in
1607 # INCLUDES, setting the cache variable VAR accordingly.
1608 ac_fn_c_check_header_compile ()
1610 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1612 $as_echo_n "checking for $2... " >&6; }
1613 if eval \${$3+:} false; then :
1614 $as_echo_n "(cached) " >&6
1615 else
1616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1617 /* end confdefs.h. */
1619 #include <$2>
1620 _ACEOF
1621 if ac_fn_c_try_compile "$LINENO"; then :
1622 eval "$3=yes"
1623 else
1624 eval "$3=no"
1626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1628 eval ac_res=\$$3
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1630 $as_echo "$ac_res" >&6; }
1631 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1633 } # ac_fn_c_check_header_compile
1635 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1636 # ---------------------------------------------
1637 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1638 # accordingly.
1639 ac_fn_c_check_decl ()
1641 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1642 as_decl_name=`echo $2|sed 's/ *(.*//'`
1643 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1645 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1646 if eval \${$3+:} false; then :
1647 $as_echo_n "(cached) " >&6
1648 else
1649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1650 /* end confdefs.h. */
1653 main ()
1655 #ifndef $as_decl_name
1656 #ifdef __cplusplus
1657 (void) $as_decl_use;
1658 #else
1659 (void) $as_decl_name;
1660 #endif
1661 #endif
1664 return 0;
1666 _ACEOF
1667 if ac_fn_c_try_compile "$LINENO"; then :
1668 eval "$3=yes"
1669 else
1670 eval "$3=no"
1672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1674 eval ac_res=\$$3
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1676 $as_echo "$ac_res" >&6; }
1677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1679 } # ac_fn_c_check_decl
1680 cat >config.log <<_ACEOF
1681 This file contains any messages produced by compilers while
1682 running configure, to aid debugging if configure makes a mistake.
1684 It was created by ocurl $as_me 0.7.2, which was
1685 generated by GNU Autoconf 2.69. Invocation command line was
1687 $ $0 $@
1689 _ACEOF
1690 exec 5>>config.log
1692 cat <<_ASUNAME
1693 ## --------- ##
1694 ## Platform. ##
1695 ## --------- ##
1697 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1698 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1699 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1700 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1701 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1703 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1704 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1706 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1707 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1708 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1709 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1710 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1711 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1712 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1714 _ASUNAME
1716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1717 for as_dir in $PATH
1719 IFS=$as_save_IFS
1720 test -z "$as_dir" && as_dir=.
1721 $as_echo "PATH: $as_dir"
1722 done
1723 IFS=$as_save_IFS
1725 } >&5
1727 cat >&5 <<_ACEOF
1730 ## ----------- ##
1731 ## Core tests. ##
1732 ## ----------- ##
1734 _ACEOF
1737 # Keep a trace of the command line.
1738 # Strip out --no-create and --no-recursion so they do not pile up.
1739 # Strip out --silent because we don't want to record it for future runs.
1740 # Also quote any args containing shell meta-characters.
1741 # Make two passes to allow for proper duplicate-argument suppression.
1742 ac_configure_args=
1743 ac_configure_args0=
1744 ac_configure_args1=
1745 ac_must_keep_next=false
1746 for ac_pass in 1 2
1748 for ac_arg
1750 case $ac_arg in
1751 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1752 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1753 | -silent | --silent | --silen | --sile | --sil)
1754 continue ;;
1755 *\'*)
1756 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1757 esac
1758 case $ac_pass in
1759 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1761 as_fn_append ac_configure_args1 " '$ac_arg'"
1762 if test $ac_must_keep_next = true; then
1763 ac_must_keep_next=false # Got value, back to normal.
1764 else
1765 case $ac_arg in
1766 *=* | --config-cache | -C | -disable-* | --disable-* \
1767 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1768 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1769 | -with-* | --with-* | -without-* | --without-* | --x)
1770 case "$ac_configure_args0 " in
1771 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1772 esac
1774 -* ) ac_must_keep_next=true ;;
1775 esac
1777 as_fn_append ac_configure_args " '$ac_arg'"
1779 esac
1780 done
1781 done
1782 { ac_configure_args0=; unset ac_configure_args0;}
1783 { ac_configure_args1=; unset ac_configure_args1;}
1785 # When interrupted or exit'd, cleanup temporary files, and complete
1786 # config.log. We remove comments because anyway the quotes in there
1787 # would cause problems or look ugly.
1788 # WARNING: Use '\'' to represent an apostrophe within the trap.
1789 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1790 trap 'exit_status=$?
1791 # Save into config.log some information that might help in debugging.
1793 echo
1795 $as_echo "## ---------------- ##
1796 ## Cache variables. ##
1797 ## ---------------- ##"
1798 echo
1799 # The following way of writing the cache mishandles newlines in values,
1801 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1802 eval ac_val=\$$ac_var
1803 case $ac_val in #(
1804 *${as_nl}*)
1805 case $ac_var in #(
1806 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1807 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1808 esac
1809 case $ac_var in #(
1810 _ | IFS | as_nl) ;; #(
1811 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1812 *) { eval $ac_var=; unset $ac_var;} ;;
1813 esac ;;
1814 esac
1815 done
1816 (set) 2>&1 |
1817 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1818 *${as_nl}ac_space=\ *)
1819 sed -n \
1820 "s/'\''/'\''\\\\'\'''\''/g;
1821 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1822 ;; #(
1824 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1826 esac |
1827 sort
1829 echo
1831 $as_echo "## ----------------- ##
1832 ## Output variables. ##
1833 ## ----------------- ##"
1834 echo
1835 for ac_var in $ac_subst_vars
1837 eval ac_val=\$$ac_var
1838 case $ac_val in
1839 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1840 esac
1841 $as_echo "$ac_var='\''$ac_val'\''"
1842 done | sort
1843 echo
1845 if test -n "$ac_subst_files"; then
1846 $as_echo "## ------------------- ##
1847 ## File substitutions. ##
1848 ## ------------------- ##"
1849 echo
1850 for ac_var in $ac_subst_files
1852 eval ac_val=\$$ac_var
1853 case $ac_val in
1854 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1855 esac
1856 $as_echo "$ac_var='\''$ac_val'\''"
1857 done | sort
1858 echo
1861 if test -s confdefs.h; then
1862 $as_echo "## ----------- ##
1863 ## confdefs.h. ##
1864 ## ----------- ##"
1865 echo
1866 cat confdefs.h
1867 echo
1869 test "$ac_signal" != 0 &&
1870 $as_echo "$as_me: caught signal $ac_signal"
1871 $as_echo "$as_me: exit $exit_status"
1872 } >&5
1873 rm -f core *.core core.conftest.* &&
1874 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1875 exit $exit_status
1877 for ac_signal in 1 2 13 15; do
1878 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1879 done
1880 ac_signal=0
1882 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1883 rm -f -r conftest* confdefs.h
1885 $as_echo "/* confdefs.h */" > confdefs.h
1887 # Predefined preprocessor variables.
1889 cat >>confdefs.h <<_ACEOF
1890 #define PACKAGE_NAME "$PACKAGE_NAME"
1891 _ACEOF
1893 cat >>confdefs.h <<_ACEOF
1894 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1895 _ACEOF
1897 cat >>confdefs.h <<_ACEOF
1898 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1899 _ACEOF
1901 cat >>confdefs.h <<_ACEOF
1902 #define PACKAGE_STRING "$PACKAGE_STRING"
1903 _ACEOF
1905 cat >>confdefs.h <<_ACEOF
1906 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1907 _ACEOF
1909 cat >>confdefs.h <<_ACEOF
1910 #define PACKAGE_URL "$PACKAGE_URL"
1911 _ACEOF
1914 # Let the site file select an alternate cache file if it wants to.
1915 # Prefer an explicitly selected file to automatically selected ones.
1916 ac_site_file1=NONE
1917 ac_site_file2=NONE
1918 if test -n "$CONFIG_SITE"; then
1919 # We do not want a PATH search for config.site.
1920 case $CONFIG_SITE in #((
1921 -*) ac_site_file1=./$CONFIG_SITE;;
1922 */*) ac_site_file1=$CONFIG_SITE;;
1923 *) ac_site_file1=./$CONFIG_SITE;;
1924 esac
1925 elif test "x$prefix" != xNONE; then
1926 ac_site_file1=$prefix/share/config.site
1927 ac_site_file2=$prefix/etc/config.site
1928 else
1929 ac_site_file1=$ac_default_prefix/share/config.site
1930 ac_site_file2=$ac_default_prefix/etc/config.site
1932 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1934 test "x$ac_site_file" = xNONE && continue
1935 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1937 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1938 sed 's/^/| /' "$ac_site_file" >&5
1939 . "$ac_site_file" \
1940 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1941 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1942 as_fn_error $? "failed to load site script $ac_site_file
1943 See \`config.log' for more details" "$LINENO" 5; }
1945 done
1947 if test -r "$cache_file"; then
1948 # Some versions of bash will fail to source /dev/null (special files
1949 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1950 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1952 $as_echo "$as_me: loading cache $cache_file" >&6;}
1953 case $cache_file in
1954 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1955 *) . "./$cache_file";;
1956 esac
1958 else
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1960 $as_echo "$as_me: creating cache $cache_file" >&6;}
1961 >$cache_file
1964 # Check that the precious variables saved in the cache have kept the same
1965 # value.
1966 ac_cache_corrupted=false
1967 for ac_var in $ac_precious_vars; do
1968 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1969 eval ac_new_set=\$ac_env_${ac_var}_set
1970 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1971 eval ac_new_val=\$ac_env_${ac_var}_value
1972 case $ac_old_set,$ac_new_set in
1973 set,)
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1975 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1976 ac_cache_corrupted=: ;;
1977 ,set)
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1979 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1980 ac_cache_corrupted=: ;;
1981 ,);;
1983 if test "x$ac_old_val" != "x$ac_new_val"; then
1984 # differences in whitespace do not lead to failure.
1985 ac_old_val_w=`echo x $ac_old_val`
1986 ac_new_val_w=`echo x $ac_new_val`
1987 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1989 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1990 ac_cache_corrupted=:
1991 else
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1993 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1994 eval $ac_var=\$ac_old_val
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1997 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1999 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2000 fi;;
2001 esac
2002 # Pass precious variables to config.status.
2003 if test "$ac_new_set" = set; then
2004 case $ac_new_val in
2005 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2006 *) ac_arg=$ac_var=$ac_new_val ;;
2007 esac
2008 case " $ac_configure_args " in
2009 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2010 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2011 esac
2013 done
2014 if $ac_cache_corrupted; then
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2018 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2019 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2021 ## -------------------- ##
2022 ## Main body of script. ##
2023 ## -------------------- ##
2025 ac_ext=c
2026 ac_cpp='$CPP $CPPFLAGS'
2027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2033 ac_ext=c
2034 ac_cpp='$CPP $CPPFLAGS'
2035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2038 if test -n "$ac_tool_prefix"; then
2039 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2040 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2042 $as_echo_n "checking for $ac_word... " >&6; }
2043 if ${ac_cv_prog_CC+:} false; then :
2044 $as_echo_n "(cached) " >&6
2045 else
2046 if test -n "$CC"; then
2047 ac_cv_prog_CC="$CC" # Let the user override the test.
2048 else
2049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2050 for as_dir in $PATH
2052 IFS=$as_save_IFS
2053 test -z "$as_dir" && as_dir=.
2054 for ac_exec_ext in '' $ac_executable_extensions; do
2055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2056 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2058 break 2
2060 done
2061 done
2062 IFS=$as_save_IFS
2066 CC=$ac_cv_prog_CC
2067 if test -n "$CC"; then
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2069 $as_echo "$CC" >&6; }
2070 else
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2072 $as_echo "no" >&6; }
2077 if test -z "$ac_cv_prog_CC"; then
2078 ac_ct_CC=$CC
2079 # Extract the first word of "gcc", so it can be a program name with args.
2080 set dummy gcc; ac_word=$2
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2082 $as_echo_n "checking for $ac_word... " >&6; }
2083 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2084 $as_echo_n "(cached) " >&6
2085 else
2086 if test -n "$ac_ct_CC"; then
2087 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2088 else
2089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2090 for as_dir in $PATH
2092 IFS=$as_save_IFS
2093 test -z "$as_dir" && as_dir=.
2094 for ac_exec_ext in '' $ac_executable_extensions; do
2095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2096 ac_cv_prog_ac_ct_CC="gcc"
2097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2098 break 2
2100 done
2101 done
2102 IFS=$as_save_IFS
2106 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2107 if test -n "$ac_ct_CC"; then
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2109 $as_echo "$ac_ct_CC" >&6; }
2110 else
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2112 $as_echo "no" >&6; }
2115 if test "x$ac_ct_CC" = x; then
2116 CC=""
2117 else
2118 case $cross_compiling:$ac_tool_warned in
2119 yes:)
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2122 ac_tool_warned=yes ;;
2123 esac
2124 CC=$ac_ct_CC
2126 else
2127 CC="$ac_cv_prog_CC"
2130 if test -z "$CC"; then
2131 if test -n "$ac_tool_prefix"; then
2132 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2133 set dummy ${ac_tool_prefix}cc; ac_word=$2
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2135 $as_echo_n "checking for $ac_word... " >&6; }
2136 if ${ac_cv_prog_CC+:} false; then :
2137 $as_echo_n "(cached) " >&6
2138 else
2139 if test -n "$CC"; then
2140 ac_cv_prog_CC="$CC" # Let the user override the test.
2141 else
2142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2143 for as_dir in $PATH
2145 IFS=$as_save_IFS
2146 test -z "$as_dir" && as_dir=.
2147 for ac_exec_ext in '' $ac_executable_extensions; do
2148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2149 ac_cv_prog_CC="${ac_tool_prefix}cc"
2150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2151 break 2
2153 done
2154 done
2155 IFS=$as_save_IFS
2159 CC=$ac_cv_prog_CC
2160 if test -n "$CC"; then
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2162 $as_echo "$CC" >&6; }
2163 else
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2165 $as_echo "no" >&6; }
2171 if test -z "$CC"; then
2172 # Extract the first word of "cc", so it can be a program name with args.
2173 set dummy cc; ac_word=$2
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2175 $as_echo_n "checking for $ac_word... " >&6; }
2176 if ${ac_cv_prog_CC+:} false; then :
2177 $as_echo_n "(cached) " >&6
2178 else
2179 if test -n "$CC"; then
2180 ac_cv_prog_CC="$CC" # Let the user override the test.
2181 else
2182 ac_prog_rejected=no
2183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2184 for as_dir in $PATH
2186 IFS=$as_save_IFS
2187 test -z "$as_dir" && as_dir=.
2188 for ac_exec_ext in '' $ac_executable_extensions; do
2189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2190 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2191 ac_prog_rejected=yes
2192 continue
2194 ac_cv_prog_CC="cc"
2195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2196 break 2
2198 done
2199 done
2200 IFS=$as_save_IFS
2202 if test $ac_prog_rejected = yes; then
2203 # We found a bogon in the path, so make sure we never use it.
2204 set dummy $ac_cv_prog_CC
2205 shift
2206 if test $# != 0; then
2207 # We chose a different compiler from the bogus one.
2208 # However, it has the same basename, so the bogon will be chosen
2209 # first if we set CC to just the basename; use the full file name.
2210 shift
2211 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2216 CC=$ac_cv_prog_CC
2217 if test -n "$CC"; then
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2219 $as_echo "$CC" >&6; }
2220 else
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2222 $as_echo "no" >&6; }
2227 if test -z "$CC"; then
2228 if test -n "$ac_tool_prefix"; then
2229 for ac_prog in cl.exe
2231 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2232 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2234 $as_echo_n "checking for $ac_word... " >&6; }
2235 if ${ac_cv_prog_CC+:} false; then :
2236 $as_echo_n "(cached) " >&6
2237 else
2238 if test -n "$CC"; then
2239 ac_cv_prog_CC="$CC" # Let the user override the test.
2240 else
2241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2242 for as_dir in $PATH
2244 IFS=$as_save_IFS
2245 test -z "$as_dir" && as_dir=.
2246 for ac_exec_ext in '' $ac_executable_extensions; do
2247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2248 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2250 break 2
2252 done
2253 done
2254 IFS=$as_save_IFS
2258 CC=$ac_cv_prog_CC
2259 if test -n "$CC"; then
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2261 $as_echo "$CC" >&6; }
2262 else
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2264 $as_echo "no" >&6; }
2268 test -n "$CC" && break
2269 done
2271 if test -z "$CC"; then
2272 ac_ct_CC=$CC
2273 for ac_prog in cl.exe
2275 # Extract the first word of "$ac_prog", so it can be a program name with args.
2276 set dummy $ac_prog; ac_word=$2
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2278 $as_echo_n "checking for $ac_word... " >&6; }
2279 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2280 $as_echo_n "(cached) " >&6
2281 else
2282 if test -n "$ac_ct_CC"; then
2283 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2284 else
2285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2286 for as_dir in $PATH
2288 IFS=$as_save_IFS
2289 test -z "$as_dir" && as_dir=.
2290 for ac_exec_ext in '' $ac_executable_extensions; do
2291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2292 ac_cv_prog_ac_ct_CC="$ac_prog"
2293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2294 break 2
2296 done
2297 done
2298 IFS=$as_save_IFS
2302 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2303 if test -n "$ac_ct_CC"; then
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2305 $as_echo "$ac_ct_CC" >&6; }
2306 else
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2308 $as_echo "no" >&6; }
2312 test -n "$ac_ct_CC" && break
2313 done
2315 if test "x$ac_ct_CC" = x; then
2316 CC=""
2317 else
2318 case $cross_compiling:$ac_tool_warned in
2319 yes:)
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2322 ac_tool_warned=yes ;;
2323 esac
2324 CC=$ac_ct_CC
2331 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2332 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2333 as_fn_error $? "no acceptable C compiler found in \$PATH
2334 See \`config.log' for more details" "$LINENO" 5; }
2336 # Provide some information about the compiler.
2337 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2338 set X $ac_compile
2339 ac_compiler=$2
2340 for ac_option in --version -v -V -qversion; do
2341 { { ac_try="$ac_compiler $ac_option >&5"
2342 case "(($ac_try" in
2343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2344 *) ac_try_echo=$ac_try;;
2345 esac
2346 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2347 $as_echo "$ac_try_echo"; } >&5
2348 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2349 ac_status=$?
2350 if test -s conftest.err; then
2351 sed '10a\
2352 ... rest of stderr output deleted ...
2353 10q' conftest.err >conftest.er1
2354 cat conftest.er1 >&5
2356 rm -f conftest.er1 conftest.err
2357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2358 test $ac_status = 0; }
2359 done
2361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2362 /* end confdefs.h. */
2365 main ()
2369 return 0;
2371 _ACEOF
2372 ac_clean_files_save=$ac_clean_files
2373 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2374 # Try to create an executable without -o first, disregard a.out.
2375 # It will help us diagnose broken compilers, and finding out an intuition
2376 # of exeext.
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2378 $as_echo_n "checking whether the C compiler works... " >&6; }
2379 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2381 # The possible output files:
2382 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2384 ac_rmfiles=
2385 for ac_file in $ac_files
2387 case $ac_file in
2388 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2389 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2390 esac
2391 done
2392 rm -f $ac_rmfiles
2394 if { { ac_try="$ac_link_default"
2395 case "(($ac_try" in
2396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2397 *) ac_try_echo=$ac_try;;
2398 esac
2399 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2400 $as_echo "$ac_try_echo"; } >&5
2401 (eval "$ac_link_default") 2>&5
2402 ac_status=$?
2403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2404 test $ac_status = 0; }; then :
2405 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2406 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2407 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2408 # so that the user can short-circuit this test for compilers unknown to
2409 # Autoconf.
2410 for ac_file in $ac_files ''
2412 test -f "$ac_file" || continue
2413 case $ac_file in
2414 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2416 [ab].out )
2417 # We found the default executable, but exeext='' is most
2418 # certainly right.
2419 break;;
2420 *.* )
2421 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2422 then :; else
2423 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2425 # We set ac_cv_exeext here because the later test for it is not
2426 # safe: cross compilers may not add the suffix if given an `-o'
2427 # argument, so we may need to know it at that point already.
2428 # Even if this section looks crufty: it has the advantage of
2429 # actually working.
2430 break;;
2432 break;;
2433 esac
2434 done
2435 test "$ac_cv_exeext" = no && ac_cv_exeext=
2437 else
2438 ac_file=''
2440 if test -z "$ac_file"; then :
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2442 $as_echo "no" >&6; }
2443 $as_echo "$as_me: failed program was:" >&5
2444 sed 's/^/| /' conftest.$ac_ext >&5
2446 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2448 as_fn_error 77 "C compiler cannot create executables
2449 See \`config.log' for more details" "$LINENO" 5; }
2450 else
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2452 $as_echo "yes" >&6; }
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2455 $as_echo_n "checking for C compiler default output file name... " >&6; }
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2457 $as_echo "$ac_file" >&6; }
2458 ac_exeext=$ac_cv_exeext
2460 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2461 ac_clean_files=$ac_clean_files_save
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2463 $as_echo_n "checking for suffix of executables... " >&6; }
2464 if { { ac_try="$ac_link"
2465 case "(($ac_try" in
2466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2467 *) ac_try_echo=$ac_try;;
2468 esac
2469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2470 $as_echo "$ac_try_echo"; } >&5
2471 (eval "$ac_link") 2>&5
2472 ac_status=$?
2473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2474 test $ac_status = 0; }; then :
2475 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2476 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2477 # work properly (i.e., refer to `conftest.exe'), while it won't with
2478 # `rm'.
2479 for ac_file in conftest.exe conftest conftest.*; do
2480 test -f "$ac_file" || continue
2481 case $ac_file in
2482 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2483 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2484 break;;
2485 * ) break;;
2486 esac
2487 done
2488 else
2489 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2491 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2492 See \`config.log' for more details" "$LINENO" 5; }
2494 rm -f conftest conftest$ac_cv_exeext
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2496 $as_echo "$ac_cv_exeext" >&6; }
2498 rm -f conftest.$ac_ext
2499 EXEEXT=$ac_cv_exeext
2500 ac_exeext=$EXEEXT
2501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2502 /* end confdefs.h. */
2503 #include <stdio.h>
2505 main ()
2507 FILE *f = fopen ("conftest.out", "w");
2508 return ferror (f) || fclose (f) != 0;
2511 return 0;
2513 _ACEOF
2514 ac_clean_files="$ac_clean_files conftest.out"
2515 # Check that the compiler produces executables we can run. If not, either
2516 # the compiler is broken, or we cross compile.
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2518 $as_echo_n "checking whether we are cross compiling... " >&6; }
2519 if test "$cross_compiling" != yes; then
2520 { { ac_try="$ac_link"
2521 case "(($ac_try" in
2522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2523 *) ac_try_echo=$ac_try;;
2524 esac
2525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2526 $as_echo "$ac_try_echo"; } >&5
2527 (eval "$ac_link") 2>&5
2528 ac_status=$?
2529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2530 test $ac_status = 0; }
2531 if { ac_try='./conftest$ac_cv_exeext'
2532 { { case "(($ac_try" in
2533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2534 *) ac_try_echo=$ac_try;;
2535 esac
2536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2537 $as_echo "$ac_try_echo"; } >&5
2538 (eval "$ac_try") 2>&5
2539 ac_status=$?
2540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2541 test $ac_status = 0; }; }; then
2542 cross_compiling=no
2543 else
2544 if test "$cross_compiling" = maybe; then
2545 cross_compiling=yes
2546 else
2547 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2549 as_fn_error $? "cannot run C compiled programs.
2550 If you meant to cross compile, use \`--host'.
2551 See \`config.log' for more details" "$LINENO" 5; }
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2556 $as_echo "$cross_compiling" >&6; }
2558 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2559 ac_clean_files=$ac_clean_files_save
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2561 $as_echo_n "checking for suffix of object files... " >&6; }
2562 if ${ac_cv_objext+:} false; then :
2563 $as_echo_n "(cached) " >&6
2564 else
2565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2566 /* end confdefs.h. */
2569 main ()
2573 return 0;
2575 _ACEOF
2576 rm -f conftest.o conftest.obj
2577 if { { ac_try="$ac_compile"
2578 case "(($ac_try" in
2579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2580 *) ac_try_echo=$ac_try;;
2581 esac
2582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2583 $as_echo "$ac_try_echo"; } >&5
2584 (eval "$ac_compile") 2>&5
2585 ac_status=$?
2586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2587 test $ac_status = 0; }; then :
2588 for ac_file in conftest.o conftest.obj conftest.*; do
2589 test -f "$ac_file" || continue;
2590 case $ac_file in
2591 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2592 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2593 break;;
2594 esac
2595 done
2596 else
2597 $as_echo "$as_me: failed program was:" >&5
2598 sed 's/^/| /' conftest.$ac_ext >&5
2600 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2602 as_fn_error $? "cannot compute suffix of object files: cannot compile
2603 See \`config.log' for more details" "$LINENO" 5; }
2605 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2608 $as_echo "$ac_cv_objext" >&6; }
2609 OBJEXT=$ac_cv_objext
2610 ac_objext=$OBJEXT
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2612 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2613 if ${ac_cv_c_compiler_gnu+:} false; then :
2614 $as_echo_n "(cached) " >&6
2615 else
2616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2617 /* end confdefs.h. */
2620 main ()
2622 #ifndef __GNUC__
2623 choke me
2624 #endif
2627 return 0;
2629 _ACEOF
2630 if ac_fn_c_try_compile "$LINENO"; then :
2631 ac_compiler_gnu=yes
2632 else
2633 ac_compiler_gnu=no
2635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2636 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2640 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2641 if test $ac_compiler_gnu = yes; then
2642 GCC=yes
2643 else
2644 GCC=
2646 ac_test_CFLAGS=${CFLAGS+set}
2647 ac_save_CFLAGS=$CFLAGS
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2649 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2650 if ${ac_cv_prog_cc_g+:} false; then :
2651 $as_echo_n "(cached) " >&6
2652 else
2653 ac_save_c_werror_flag=$ac_c_werror_flag
2654 ac_c_werror_flag=yes
2655 ac_cv_prog_cc_g=no
2656 CFLAGS="-g"
2657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2658 /* end confdefs.h. */
2661 main ()
2665 return 0;
2667 _ACEOF
2668 if ac_fn_c_try_compile "$LINENO"; then :
2669 ac_cv_prog_cc_g=yes
2670 else
2671 CFLAGS=""
2672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2673 /* end confdefs.h. */
2676 main ()
2680 return 0;
2682 _ACEOF
2683 if ac_fn_c_try_compile "$LINENO"; then :
2685 else
2686 ac_c_werror_flag=$ac_save_c_werror_flag
2687 CFLAGS="-g"
2688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2689 /* end confdefs.h. */
2692 main ()
2696 return 0;
2698 _ACEOF
2699 if ac_fn_c_try_compile "$LINENO"; then :
2700 ac_cv_prog_cc_g=yes
2702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2707 ac_c_werror_flag=$ac_save_c_werror_flag
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2710 $as_echo "$ac_cv_prog_cc_g" >&6; }
2711 if test "$ac_test_CFLAGS" = set; then
2712 CFLAGS=$ac_save_CFLAGS
2713 elif test $ac_cv_prog_cc_g = yes; then
2714 if test "$GCC" = yes; then
2715 CFLAGS="-g -O2"
2716 else
2717 CFLAGS="-g"
2719 else
2720 if test "$GCC" = yes; then
2721 CFLAGS="-O2"
2722 else
2723 CFLAGS=
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2727 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2728 if ${ac_cv_prog_cc_c89+:} false; then :
2729 $as_echo_n "(cached) " >&6
2730 else
2731 ac_cv_prog_cc_c89=no
2732 ac_save_CC=$CC
2733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2734 /* end confdefs.h. */
2735 #include <stdarg.h>
2736 #include <stdio.h>
2737 struct stat;
2738 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2739 struct buf { int x; };
2740 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2741 static char *e (p, i)
2742 char **p;
2743 int i;
2745 return p[i];
2747 static char *f (char * (*g) (char **, int), char **p, ...)
2749 char *s;
2750 va_list v;
2751 va_start (v,p);
2752 s = g (p, va_arg (v,int));
2753 va_end (v);
2754 return s;
2757 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2758 function prototypes and stuff, but not '\xHH' hex character constants.
2759 These don't provoke an error unfortunately, instead are silently treated
2760 as 'x'. The following induces an error, until -std is added to get
2761 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2762 array size at least. It's necessary to write '\x00'==0 to get something
2763 that's true only with -std. */
2764 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2766 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2767 inside strings and character constants. */
2768 #define FOO(x) 'x'
2769 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2771 int test (int i, double x);
2772 struct s1 {int (*f) (int a);};
2773 struct s2 {int (*f) (double a);};
2774 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2775 int argc;
2776 char **argv;
2778 main ()
2780 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2782 return 0;
2784 _ACEOF
2785 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2786 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2788 CC="$ac_save_CC $ac_arg"
2789 if ac_fn_c_try_compile "$LINENO"; then :
2790 ac_cv_prog_cc_c89=$ac_arg
2792 rm -f core conftest.err conftest.$ac_objext
2793 test "x$ac_cv_prog_cc_c89" != "xno" && break
2794 done
2795 rm -f conftest.$ac_ext
2796 CC=$ac_save_CC
2799 # AC_CACHE_VAL
2800 case "x$ac_cv_prog_cc_c89" in
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2803 $as_echo "none needed" >&6; } ;;
2804 xno)
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2806 $as_echo "unsupported" >&6; } ;;
2808 CC="$CC $ac_cv_prog_cc_c89"
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2810 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2811 esac
2812 if test "x$ac_cv_prog_cc_c89" != xno; then :
2816 ac_ext=c
2817 ac_cpp='$CPP $CPPFLAGS'
2818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl cflags" >&5
2824 $as_echo_n "checking for libcurl cflags... " >&6; }
2825 CURLCFLAGS=`pkg-config libcurl --cflags || curl-config --cflags`
2826 if test "$?" -eq 0 ; then :
2828 else
2829 as_fn_error $? "libcurl was not found" "$LINENO" 5
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURLCFLAGS" >&5
2832 $as_echo "$CURLCFLAGS" >&6; }
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl libs" >&5
2835 $as_echo_n "checking for libcurl libs... " >&6; }
2836 CURLLIBS=`pkg-config libcurl --libs || curl-config --libs`
2837 if test "$?" -eq 0 ; then :
2839 else
2840 as_fn_error $? "libcurl was not found" "$LINENO" 5
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURLLIBS" >&5
2843 $as_echo "$CURLLIBS" >&6; }
2845 ac_aux_dir=
2846 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2847 if test -f "$ac_dir/install-sh"; then
2848 ac_aux_dir=$ac_dir
2849 ac_install_sh="$ac_aux_dir/install-sh -c"
2850 break
2851 elif test -f "$ac_dir/install.sh"; then
2852 ac_aux_dir=$ac_dir
2853 ac_install_sh="$ac_aux_dir/install.sh -c"
2854 break
2855 elif test -f "$ac_dir/shtool"; then
2856 ac_aux_dir=$ac_dir
2857 ac_install_sh="$ac_aux_dir/shtool install -c"
2858 break
2860 done
2861 if test -z "$ac_aux_dir"; then
2862 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2865 # These three variables are undocumented and unsupported,
2866 # and are intended to be withdrawn in a future Autoconf release.
2867 # They can cause serious problems if a builder's source tree is in a directory
2868 # whose full name contains unusual characters.
2869 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2870 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2871 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2874 # Find a good install program. We prefer a C program (faster),
2875 # so one script is as good as another. But avoid the broken or
2876 # incompatible versions:
2877 # SysV /etc/install, /usr/sbin/install
2878 # SunOS /usr/etc/install
2879 # IRIX /sbin/install
2880 # AIX /bin/install
2881 # AmigaOS /C/install, which installs bootblocks on floppy discs
2882 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2883 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2884 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2885 # OS/2's system install, which has a completely different semantic
2886 # ./install, which can be erroneously created by make from ./install.sh.
2887 # Reject install programs that cannot install multiple files.
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2889 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2890 if test -z "$INSTALL"; then
2891 if ${ac_cv_path_install+:} false; then :
2892 $as_echo_n "(cached) " >&6
2893 else
2894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2895 for as_dir in $PATH
2897 IFS=$as_save_IFS
2898 test -z "$as_dir" && as_dir=.
2899 # Account for people who put trailing slashes in PATH elements.
2900 case $as_dir/ in #((
2901 ./ | .// | /[cC]/* | \
2902 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2903 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2904 /usr/ucb/* ) ;;
2906 # OSF1 and SCO ODT 3.0 have their own names for install.
2907 # Don't use installbsd from OSF since it installs stuff as root
2908 # by default.
2909 for ac_prog in ginstall scoinst install; do
2910 for ac_exec_ext in '' $ac_executable_extensions; do
2911 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2912 if test $ac_prog = install &&
2913 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2914 # AIX install. It has an incompatible calling convention.
2916 elif test $ac_prog = install &&
2917 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2918 # program-specific install script used by HP pwplus--don't use.
2920 else
2921 rm -rf conftest.one conftest.two conftest.dir
2922 echo one > conftest.one
2923 echo two > conftest.two
2924 mkdir conftest.dir
2925 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2926 test -s conftest.one && test -s conftest.two &&
2927 test -s conftest.dir/conftest.one &&
2928 test -s conftest.dir/conftest.two
2929 then
2930 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2931 break 3
2935 done
2936 done
2938 esac
2940 done
2941 IFS=$as_save_IFS
2943 rm -rf conftest.one conftest.two conftest.dir
2946 if test "${ac_cv_path_install+set}" = set; then
2947 INSTALL=$ac_cv_path_install
2948 else
2949 # As a last resort, use the slow shell script. Don't cache a
2950 # value for INSTALL within a source directory, because that will
2951 # break other packages using the cache if that directory is
2952 # removed, or if the value is a relative name.
2953 INSTALL=$ac_install_sh
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2957 $as_echo "$INSTALL" >&6; }
2959 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2960 # It thinks the first close brace ends the variable substitution.
2961 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2963 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2965 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2967 # checking for ocamlc
2968 if test -n "$ac_tool_prefix"; then
2969 # Extract the first word of "${ac_tool_prefix}ocamlc", so it can be a program name with args.
2970 set dummy ${ac_tool_prefix}ocamlc; ac_word=$2
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2972 $as_echo_n "checking for $ac_word... " >&6; }
2973 if ${ac_cv_prog_OCAMLC+:} false; then :
2974 $as_echo_n "(cached) " >&6
2975 else
2976 if test -n "$OCAMLC"; then
2977 ac_cv_prog_OCAMLC="$OCAMLC" # Let the user override the test.
2978 else
2979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2980 for as_dir in $PATH
2982 IFS=$as_save_IFS
2983 test -z "$as_dir" && as_dir=.
2984 for ac_exec_ext in '' $ac_executable_extensions; do
2985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2986 ac_cv_prog_OCAMLC="${ac_tool_prefix}ocamlc"
2987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2988 break 2
2990 done
2991 done
2992 IFS=$as_save_IFS
2996 OCAMLC=$ac_cv_prog_OCAMLC
2997 if test -n "$OCAMLC"; then
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLC" >&5
2999 $as_echo "$OCAMLC" >&6; }
3000 else
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3002 $as_echo "no" >&6; }
3007 if test -z "$ac_cv_prog_OCAMLC"; then
3008 ac_ct_OCAMLC=$OCAMLC
3009 # Extract the first word of "ocamlc", so it can be a program name with args.
3010 set dummy ocamlc; ac_word=$2
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3012 $as_echo_n "checking for $ac_word... " >&6; }
3013 if ${ac_cv_prog_ac_ct_OCAMLC+:} false; then :
3014 $as_echo_n "(cached) " >&6
3015 else
3016 if test -n "$ac_ct_OCAMLC"; then
3017 ac_cv_prog_ac_ct_OCAMLC="$ac_ct_OCAMLC" # Let the user override the test.
3018 else
3019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3020 for as_dir in $PATH
3022 IFS=$as_save_IFS
3023 test -z "$as_dir" && as_dir=.
3024 for ac_exec_ext in '' $ac_executable_extensions; do
3025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3026 ac_cv_prog_ac_ct_OCAMLC="ocamlc"
3027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3028 break 2
3030 done
3031 done
3032 IFS=$as_save_IFS
3036 ac_ct_OCAMLC=$ac_cv_prog_ac_ct_OCAMLC
3037 if test -n "$ac_ct_OCAMLC"; then
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLC" >&5
3039 $as_echo "$ac_ct_OCAMLC" >&6; }
3040 else
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3042 $as_echo "no" >&6; }
3045 if test "x$ac_ct_OCAMLC" = x; then
3046 OCAMLC="no"
3047 else
3048 case $cross_compiling:$ac_tool_warned in
3049 yes:)
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3051 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3052 ac_tool_warned=yes ;;
3053 esac
3054 OCAMLC=$ac_ct_OCAMLC
3056 else
3057 OCAMLC="$ac_cv_prog_OCAMLC"
3061 if test "$OCAMLC" != "no"; then
3062 OCAMLVERSION=`$OCAMLC -v | sed -n -e 's|.*version* *\(.*\)$|\1|p'`
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml version is $OCAMLVERSION" >&5
3064 $as_echo "OCaml version is $OCAMLVERSION" >&6; }
3065 # If OCAMLLIB is set, use it
3066 if test "$OCAMLLIB" = ""; then
3067 OCAMLLIB=`$OCAMLC -where 2>/dev/null || $OCAMLC -v|tail -1|cut -d ' ' -f 4`
3068 else
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCAMLLIB previously set; preserving it." >&5
3070 $as_echo "OCAMLLIB previously set; preserving it." >&6; }
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml library path is $OCAMLLIB" >&5
3073 $as_echo "OCaml library path is $OCAMLLIB" >&6; }
3078 # checking for ocamlopt
3079 if test -n "$ac_tool_prefix"; then
3080 # Extract the first word of "${ac_tool_prefix}ocamlopt", so it can be a program name with args.
3081 set dummy ${ac_tool_prefix}ocamlopt; ac_word=$2
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3083 $as_echo_n "checking for $ac_word... " >&6; }
3084 if ${ac_cv_prog_OCAMLOPT+:} false; then :
3085 $as_echo_n "(cached) " >&6
3086 else
3087 if test -n "$OCAMLOPT"; then
3088 ac_cv_prog_OCAMLOPT="$OCAMLOPT" # Let the user override the test.
3089 else
3090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3091 for as_dir in $PATH
3093 IFS=$as_save_IFS
3094 test -z "$as_dir" && as_dir=.
3095 for ac_exec_ext in '' $ac_executable_extensions; do
3096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3097 ac_cv_prog_OCAMLOPT="${ac_tool_prefix}ocamlopt"
3098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3099 break 2
3101 done
3102 done
3103 IFS=$as_save_IFS
3107 OCAMLOPT=$ac_cv_prog_OCAMLOPT
3108 if test -n "$OCAMLOPT"; then
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPT" >&5
3110 $as_echo "$OCAMLOPT" >&6; }
3111 else
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3113 $as_echo "no" >&6; }
3118 if test -z "$ac_cv_prog_OCAMLOPT"; then
3119 ac_ct_OCAMLOPT=$OCAMLOPT
3120 # Extract the first word of "ocamlopt", so it can be a program name with args.
3121 set dummy ocamlopt; ac_word=$2
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3123 $as_echo_n "checking for $ac_word... " >&6; }
3124 if ${ac_cv_prog_ac_ct_OCAMLOPT+:} false; then :
3125 $as_echo_n "(cached) " >&6
3126 else
3127 if test -n "$ac_ct_OCAMLOPT"; then
3128 ac_cv_prog_ac_ct_OCAMLOPT="$ac_ct_OCAMLOPT" # Let the user override the test.
3129 else
3130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3131 for as_dir in $PATH
3133 IFS=$as_save_IFS
3134 test -z "$as_dir" && as_dir=.
3135 for ac_exec_ext in '' $ac_executable_extensions; do
3136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3137 ac_cv_prog_ac_ct_OCAMLOPT="ocamlopt"
3138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3139 break 2
3141 done
3142 done
3143 IFS=$as_save_IFS
3147 ac_ct_OCAMLOPT=$ac_cv_prog_ac_ct_OCAMLOPT
3148 if test -n "$ac_ct_OCAMLOPT"; then
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPT" >&5
3150 $as_echo "$ac_ct_OCAMLOPT" >&6; }
3151 else
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3153 $as_echo "no" >&6; }
3156 if test "x$ac_ct_OCAMLOPT" = x; then
3157 OCAMLOPT="no"
3158 else
3159 case $cross_compiling:$ac_tool_warned in
3160 yes:)
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3163 ac_tool_warned=yes ;;
3164 esac
3165 OCAMLOPT=$ac_ct_OCAMLOPT
3167 else
3168 OCAMLOPT="$ac_cv_prog_OCAMLOPT"
3171 OCAMLBEST=byte
3172 if test "$OCAMLOPT" = "no"; then
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find ocamlopt; bytecode compilation only." >&5
3174 $as_echo "$as_me: WARNING: Cannot find ocamlopt; bytecode compilation only." >&2;}
3175 else
3176 TMPVERSION=`$OCAMLOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3177 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlopt discarded." >&5
3179 $as_echo "versions differs from ocamlc; ocamlopt discarded." >&6; }
3180 OCAMLOPT=no
3181 else
3182 OCAMLBEST=opt
3188 # checking for ocamlc.opt
3189 if test -n "$ac_tool_prefix"; then
3190 # Extract the first word of "${ac_tool_prefix}ocamlc.opt", so it can be a program name with args.
3191 set dummy ${ac_tool_prefix}ocamlc.opt; ac_word=$2
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3193 $as_echo_n "checking for $ac_word... " >&6; }
3194 if ${ac_cv_prog_OCAMLCDOTOPT+:} false; then :
3195 $as_echo_n "(cached) " >&6
3196 else
3197 if test -n "$OCAMLCDOTOPT"; then
3198 ac_cv_prog_OCAMLCDOTOPT="$OCAMLCDOTOPT" # Let the user override the test.
3199 else
3200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3201 for as_dir in $PATH
3203 IFS=$as_save_IFS
3204 test -z "$as_dir" && as_dir=.
3205 for ac_exec_ext in '' $ac_executable_extensions; do
3206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3207 ac_cv_prog_OCAMLCDOTOPT="${ac_tool_prefix}ocamlc.opt"
3208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3209 break 2
3211 done
3212 done
3213 IFS=$as_save_IFS
3217 OCAMLCDOTOPT=$ac_cv_prog_OCAMLCDOTOPT
3218 if test -n "$OCAMLCDOTOPT"; then
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLCDOTOPT" >&5
3220 $as_echo "$OCAMLCDOTOPT" >&6; }
3221 else
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3223 $as_echo "no" >&6; }
3228 if test -z "$ac_cv_prog_OCAMLCDOTOPT"; then
3229 ac_ct_OCAMLCDOTOPT=$OCAMLCDOTOPT
3230 # Extract the first word of "ocamlc.opt", so it can be a program name with args.
3231 set dummy ocamlc.opt; ac_word=$2
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3233 $as_echo_n "checking for $ac_word... " >&6; }
3234 if ${ac_cv_prog_ac_ct_OCAMLCDOTOPT+:} false; then :
3235 $as_echo_n "(cached) " >&6
3236 else
3237 if test -n "$ac_ct_OCAMLCDOTOPT"; then
3238 ac_cv_prog_ac_ct_OCAMLCDOTOPT="$ac_ct_OCAMLCDOTOPT" # Let the user override the test.
3239 else
3240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3241 for as_dir in $PATH
3243 IFS=$as_save_IFS
3244 test -z "$as_dir" && as_dir=.
3245 for ac_exec_ext in '' $ac_executable_extensions; do
3246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3247 ac_cv_prog_ac_ct_OCAMLCDOTOPT="ocamlc.opt"
3248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3249 break 2
3251 done
3252 done
3253 IFS=$as_save_IFS
3257 ac_ct_OCAMLCDOTOPT=$ac_cv_prog_ac_ct_OCAMLCDOTOPT
3258 if test -n "$ac_ct_OCAMLCDOTOPT"; then
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLCDOTOPT" >&5
3260 $as_echo "$ac_ct_OCAMLCDOTOPT" >&6; }
3261 else
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3263 $as_echo "no" >&6; }
3266 if test "x$ac_ct_OCAMLCDOTOPT" = x; then
3267 OCAMLCDOTOPT="no"
3268 else
3269 case $cross_compiling:$ac_tool_warned in
3270 yes:)
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3273 ac_tool_warned=yes ;;
3274 esac
3275 OCAMLCDOTOPT=$ac_ct_OCAMLCDOTOPT
3277 else
3278 OCAMLCDOTOPT="$ac_cv_prog_OCAMLCDOTOPT"
3281 if test "$OCAMLCDOTOPT" != "no"; then
3282 TMPVERSION=`$OCAMLCDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3283 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlc.opt discarded." >&5
3285 $as_echo "versions differs from ocamlc; ocamlc.opt discarded." >&6; }
3286 else
3287 OCAMLC=$OCAMLCDOTOPT
3291 # checking for ocamlopt.opt
3292 if test "$OCAMLOPT" != "no" ; then
3293 if test -n "$ac_tool_prefix"; then
3294 # Extract the first word of "${ac_tool_prefix}ocamlopt.opt", so it can be a program name with args.
3295 set dummy ${ac_tool_prefix}ocamlopt.opt; ac_word=$2
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3297 $as_echo_n "checking for $ac_word... " >&6; }
3298 if ${ac_cv_prog_OCAMLOPTDOTOPT+:} false; then :
3299 $as_echo_n "(cached) " >&6
3300 else
3301 if test -n "$OCAMLOPTDOTOPT"; then
3302 ac_cv_prog_OCAMLOPTDOTOPT="$OCAMLOPTDOTOPT" # Let the user override the test.
3303 else
3304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3305 for as_dir in $PATH
3307 IFS=$as_save_IFS
3308 test -z "$as_dir" && as_dir=.
3309 for ac_exec_ext in '' $ac_executable_extensions; do
3310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3311 ac_cv_prog_OCAMLOPTDOTOPT="${ac_tool_prefix}ocamlopt.opt"
3312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3313 break 2
3315 done
3316 done
3317 IFS=$as_save_IFS
3321 OCAMLOPTDOTOPT=$ac_cv_prog_OCAMLOPTDOTOPT
3322 if test -n "$OCAMLOPTDOTOPT"; then
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPTDOTOPT" >&5
3324 $as_echo "$OCAMLOPTDOTOPT" >&6; }
3325 else
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3327 $as_echo "no" >&6; }
3332 if test -z "$ac_cv_prog_OCAMLOPTDOTOPT"; then
3333 ac_ct_OCAMLOPTDOTOPT=$OCAMLOPTDOTOPT
3334 # Extract the first word of "ocamlopt.opt", so it can be a program name with args.
3335 set dummy ocamlopt.opt; ac_word=$2
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3337 $as_echo_n "checking for $ac_word... " >&6; }
3338 if ${ac_cv_prog_ac_ct_OCAMLOPTDOTOPT+:} false; then :
3339 $as_echo_n "(cached) " >&6
3340 else
3341 if test -n "$ac_ct_OCAMLOPTDOTOPT"; then
3342 ac_cv_prog_ac_ct_OCAMLOPTDOTOPT="$ac_ct_OCAMLOPTDOTOPT" # Let the user override the test.
3343 else
3344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3345 for as_dir in $PATH
3347 IFS=$as_save_IFS
3348 test -z "$as_dir" && as_dir=.
3349 for ac_exec_ext in '' $ac_executable_extensions; do
3350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3351 ac_cv_prog_ac_ct_OCAMLOPTDOTOPT="ocamlopt.opt"
3352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3353 break 2
3355 done
3356 done
3357 IFS=$as_save_IFS
3361 ac_ct_OCAMLOPTDOTOPT=$ac_cv_prog_ac_ct_OCAMLOPTDOTOPT
3362 if test -n "$ac_ct_OCAMLOPTDOTOPT"; then
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPTDOTOPT" >&5
3364 $as_echo "$ac_ct_OCAMLOPTDOTOPT" >&6; }
3365 else
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3367 $as_echo "no" >&6; }
3370 if test "x$ac_ct_OCAMLOPTDOTOPT" = x; then
3371 OCAMLOPTDOTOPT="no"
3372 else
3373 case $cross_compiling:$ac_tool_warned in
3374 yes:)
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3376 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3377 ac_tool_warned=yes ;;
3378 esac
3379 OCAMLOPTDOTOPT=$ac_ct_OCAMLOPTDOTOPT
3381 else
3382 OCAMLOPTDOTOPT="$ac_cv_prog_OCAMLOPTDOTOPT"
3385 if test "$OCAMLOPTDOTOPT" != "no"; then
3386 TMPVERSION=`$OCAMLOPTDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3387 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: version differs from ocamlc; ocamlopt.opt discarded." >&5
3389 $as_echo "version differs from ocamlc; ocamlopt.opt discarded." >&6; }
3390 else
3391 OCAMLOPT=$OCAMLOPTDOTOPT
3401 # checking for ocaml toplevel
3402 if test -n "$ac_tool_prefix"; then
3403 # Extract the first word of "${ac_tool_prefix}ocaml", so it can be a program name with args.
3404 set dummy ${ac_tool_prefix}ocaml; ac_word=$2
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3406 $as_echo_n "checking for $ac_word... " >&6; }
3407 if ${ac_cv_prog_OCAML+:} false; then :
3408 $as_echo_n "(cached) " >&6
3409 else
3410 if test -n "$OCAML"; then
3411 ac_cv_prog_OCAML="$OCAML" # Let the user override the test.
3412 else
3413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3414 for as_dir in $PATH
3416 IFS=$as_save_IFS
3417 test -z "$as_dir" && as_dir=.
3418 for ac_exec_ext in '' $ac_executable_extensions; do
3419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3420 ac_cv_prog_OCAML="${ac_tool_prefix}ocaml"
3421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3422 break 2
3424 done
3425 done
3426 IFS=$as_save_IFS
3430 OCAML=$ac_cv_prog_OCAML
3431 if test -n "$OCAML"; then
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAML" >&5
3433 $as_echo "$OCAML" >&6; }
3434 else
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3436 $as_echo "no" >&6; }
3441 if test -z "$ac_cv_prog_OCAML"; then
3442 ac_ct_OCAML=$OCAML
3443 # Extract the first word of "ocaml", so it can be a program name with args.
3444 set dummy ocaml; ac_word=$2
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3446 $as_echo_n "checking for $ac_word... " >&6; }
3447 if ${ac_cv_prog_ac_ct_OCAML+:} false; then :
3448 $as_echo_n "(cached) " >&6
3449 else
3450 if test -n "$ac_ct_OCAML"; then
3451 ac_cv_prog_ac_ct_OCAML="$ac_ct_OCAML" # Let the user override the test.
3452 else
3453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3454 for as_dir in $PATH
3456 IFS=$as_save_IFS
3457 test -z "$as_dir" && as_dir=.
3458 for ac_exec_ext in '' $ac_executable_extensions; do
3459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3460 ac_cv_prog_ac_ct_OCAML="ocaml"
3461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3462 break 2
3464 done
3465 done
3466 IFS=$as_save_IFS
3470 ac_ct_OCAML=$ac_cv_prog_ac_ct_OCAML
3471 if test -n "$ac_ct_OCAML"; then
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAML" >&5
3473 $as_echo "$ac_ct_OCAML" >&6; }
3474 else
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3476 $as_echo "no" >&6; }
3479 if test "x$ac_ct_OCAML" = x; then
3480 OCAML="no"
3481 else
3482 case $cross_compiling:$ac_tool_warned in
3483 yes:)
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3485 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3486 ac_tool_warned=yes ;;
3487 esac
3488 OCAML=$ac_ct_OCAML
3490 else
3491 OCAML="$ac_cv_prog_OCAML"
3495 # checking for ocamldep
3496 if test -n "$ac_tool_prefix"; then
3497 # Extract the first word of "${ac_tool_prefix}ocamldep", so it can be a program name with args.
3498 set dummy ${ac_tool_prefix}ocamldep; ac_word=$2
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3500 $as_echo_n "checking for $ac_word... " >&6; }
3501 if ${ac_cv_prog_OCAMLDEP+:} false; then :
3502 $as_echo_n "(cached) " >&6
3503 else
3504 if test -n "$OCAMLDEP"; then
3505 ac_cv_prog_OCAMLDEP="$OCAMLDEP" # Let the user override the test.
3506 else
3507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3508 for as_dir in $PATH
3510 IFS=$as_save_IFS
3511 test -z "$as_dir" && as_dir=.
3512 for ac_exec_ext in '' $ac_executable_extensions; do
3513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3514 ac_cv_prog_OCAMLDEP="${ac_tool_prefix}ocamldep"
3515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3516 break 2
3518 done
3519 done
3520 IFS=$as_save_IFS
3524 OCAMLDEP=$ac_cv_prog_OCAMLDEP
3525 if test -n "$OCAMLDEP"; then
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDEP" >&5
3527 $as_echo "$OCAMLDEP" >&6; }
3528 else
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3530 $as_echo "no" >&6; }
3535 if test -z "$ac_cv_prog_OCAMLDEP"; then
3536 ac_ct_OCAMLDEP=$OCAMLDEP
3537 # Extract the first word of "ocamldep", so it can be a program name with args.
3538 set dummy ocamldep; ac_word=$2
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3540 $as_echo_n "checking for $ac_word... " >&6; }
3541 if ${ac_cv_prog_ac_ct_OCAMLDEP+:} false; then :
3542 $as_echo_n "(cached) " >&6
3543 else
3544 if test -n "$ac_ct_OCAMLDEP"; then
3545 ac_cv_prog_ac_ct_OCAMLDEP="$ac_ct_OCAMLDEP" # Let the user override the test.
3546 else
3547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3548 for as_dir in $PATH
3550 IFS=$as_save_IFS
3551 test -z "$as_dir" && as_dir=.
3552 for ac_exec_ext in '' $ac_executable_extensions; do
3553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3554 ac_cv_prog_ac_ct_OCAMLDEP="ocamldep"
3555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3556 break 2
3558 done
3559 done
3560 IFS=$as_save_IFS
3564 ac_ct_OCAMLDEP=$ac_cv_prog_ac_ct_OCAMLDEP
3565 if test -n "$ac_ct_OCAMLDEP"; then
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDEP" >&5
3567 $as_echo "$ac_ct_OCAMLDEP" >&6; }
3568 else
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3570 $as_echo "no" >&6; }
3573 if test "x$ac_ct_OCAMLDEP" = x; then
3574 OCAMLDEP="no"
3575 else
3576 case $cross_compiling:$ac_tool_warned in
3577 yes:)
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3580 ac_tool_warned=yes ;;
3581 esac
3582 OCAMLDEP=$ac_ct_OCAMLDEP
3584 else
3585 OCAMLDEP="$ac_cv_prog_OCAMLDEP"
3589 # checking for ocamlmktop
3590 if test -n "$ac_tool_prefix"; then
3591 # Extract the first word of "${ac_tool_prefix}ocamlmktop", so it can be a program name with args.
3592 set dummy ${ac_tool_prefix}ocamlmktop; ac_word=$2
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3594 $as_echo_n "checking for $ac_word... " >&6; }
3595 if ${ac_cv_prog_OCAMLMKTOP+:} false; then :
3596 $as_echo_n "(cached) " >&6
3597 else
3598 if test -n "$OCAMLMKTOP"; then
3599 ac_cv_prog_OCAMLMKTOP="$OCAMLMKTOP" # Let the user override the test.
3600 else
3601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3602 for as_dir in $PATH
3604 IFS=$as_save_IFS
3605 test -z "$as_dir" && as_dir=.
3606 for ac_exec_ext in '' $ac_executable_extensions; do
3607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3608 ac_cv_prog_OCAMLMKTOP="${ac_tool_prefix}ocamlmktop"
3609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3610 break 2
3612 done
3613 done
3614 IFS=$as_save_IFS
3618 OCAMLMKTOP=$ac_cv_prog_OCAMLMKTOP
3619 if test -n "$OCAMLMKTOP"; then
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKTOP" >&5
3621 $as_echo "$OCAMLMKTOP" >&6; }
3622 else
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3624 $as_echo "no" >&6; }
3629 if test -z "$ac_cv_prog_OCAMLMKTOP"; then
3630 ac_ct_OCAMLMKTOP=$OCAMLMKTOP
3631 # Extract the first word of "ocamlmktop", so it can be a program name with args.
3632 set dummy ocamlmktop; ac_word=$2
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3634 $as_echo_n "checking for $ac_word... " >&6; }
3635 if ${ac_cv_prog_ac_ct_OCAMLMKTOP+:} false; then :
3636 $as_echo_n "(cached) " >&6
3637 else
3638 if test -n "$ac_ct_OCAMLMKTOP"; then
3639 ac_cv_prog_ac_ct_OCAMLMKTOP="$ac_ct_OCAMLMKTOP" # Let the user override the test.
3640 else
3641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3642 for as_dir in $PATH
3644 IFS=$as_save_IFS
3645 test -z "$as_dir" && as_dir=.
3646 for ac_exec_ext in '' $ac_executable_extensions; do
3647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3648 ac_cv_prog_ac_ct_OCAMLMKTOP="ocamlmktop"
3649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3650 break 2
3652 done
3653 done
3654 IFS=$as_save_IFS
3658 ac_ct_OCAMLMKTOP=$ac_cv_prog_ac_ct_OCAMLMKTOP
3659 if test -n "$ac_ct_OCAMLMKTOP"; then
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKTOP" >&5
3661 $as_echo "$ac_ct_OCAMLMKTOP" >&6; }
3662 else
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3664 $as_echo "no" >&6; }
3667 if test "x$ac_ct_OCAMLMKTOP" = x; then
3668 OCAMLMKTOP="no"
3669 else
3670 case $cross_compiling:$ac_tool_warned in
3671 yes:)
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3674 ac_tool_warned=yes ;;
3675 esac
3676 OCAMLMKTOP=$ac_ct_OCAMLMKTOP
3678 else
3679 OCAMLMKTOP="$ac_cv_prog_OCAMLMKTOP"
3683 # checking for ocamlmklib
3684 if test -n "$ac_tool_prefix"; then
3685 # Extract the first word of "${ac_tool_prefix}ocamlmklib", so it can be a program name with args.
3686 set dummy ${ac_tool_prefix}ocamlmklib; ac_word=$2
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3688 $as_echo_n "checking for $ac_word... " >&6; }
3689 if ${ac_cv_prog_OCAMLMKLIB+:} false; then :
3690 $as_echo_n "(cached) " >&6
3691 else
3692 if test -n "$OCAMLMKLIB"; then
3693 ac_cv_prog_OCAMLMKLIB="$OCAMLMKLIB" # Let the user override the test.
3694 else
3695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3696 for as_dir in $PATH
3698 IFS=$as_save_IFS
3699 test -z "$as_dir" && as_dir=.
3700 for ac_exec_ext in '' $ac_executable_extensions; do
3701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3702 ac_cv_prog_OCAMLMKLIB="${ac_tool_prefix}ocamlmklib"
3703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3704 break 2
3706 done
3707 done
3708 IFS=$as_save_IFS
3712 OCAMLMKLIB=$ac_cv_prog_OCAMLMKLIB
3713 if test -n "$OCAMLMKLIB"; then
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKLIB" >&5
3715 $as_echo "$OCAMLMKLIB" >&6; }
3716 else
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3718 $as_echo "no" >&6; }
3723 if test -z "$ac_cv_prog_OCAMLMKLIB"; then
3724 ac_ct_OCAMLMKLIB=$OCAMLMKLIB
3725 # Extract the first word of "ocamlmklib", so it can be a program name with args.
3726 set dummy ocamlmklib; ac_word=$2
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3728 $as_echo_n "checking for $ac_word... " >&6; }
3729 if ${ac_cv_prog_ac_ct_OCAMLMKLIB+:} false; then :
3730 $as_echo_n "(cached) " >&6
3731 else
3732 if test -n "$ac_ct_OCAMLMKLIB"; then
3733 ac_cv_prog_ac_ct_OCAMLMKLIB="$ac_ct_OCAMLMKLIB" # Let the user override the test.
3734 else
3735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3736 for as_dir in $PATH
3738 IFS=$as_save_IFS
3739 test -z "$as_dir" && as_dir=.
3740 for ac_exec_ext in '' $ac_executable_extensions; do
3741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3742 ac_cv_prog_ac_ct_OCAMLMKLIB="ocamlmklib"
3743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3744 break 2
3746 done
3747 done
3748 IFS=$as_save_IFS
3752 ac_ct_OCAMLMKLIB=$ac_cv_prog_ac_ct_OCAMLMKLIB
3753 if test -n "$ac_ct_OCAMLMKLIB"; then
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKLIB" >&5
3755 $as_echo "$ac_ct_OCAMLMKLIB" >&6; }
3756 else
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3758 $as_echo "no" >&6; }
3761 if test "x$ac_ct_OCAMLMKLIB" = x; then
3762 OCAMLMKLIB="no"
3763 else
3764 case $cross_compiling:$ac_tool_warned in
3765 yes:)
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3767 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3768 ac_tool_warned=yes ;;
3769 esac
3770 OCAMLMKLIB=$ac_ct_OCAMLMKLIB
3772 else
3773 OCAMLMKLIB="$ac_cv_prog_OCAMLMKLIB"
3777 # checking for ocamldoc
3778 if test -n "$ac_tool_prefix"; then
3779 # Extract the first word of "${ac_tool_prefix}ocamldoc", so it can be a program name with args.
3780 set dummy ${ac_tool_prefix}ocamldoc; ac_word=$2
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3782 $as_echo_n "checking for $ac_word... " >&6; }
3783 if ${ac_cv_prog_OCAMLDOC+:} false; then :
3784 $as_echo_n "(cached) " >&6
3785 else
3786 if test -n "$OCAMLDOC"; then
3787 ac_cv_prog_OCAMLDOC="$OCAMLDOC" # Let the user override the test.
3788 else
3789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3790 for as_dir in $PATH
3792 IFS=$as_save_IFS
3793 test -z "$as_dir" && as_dir=.
3794 for ac_exec_ext in '' $ac_executable_extensions; do
3795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3796 ac_cv_prog_OCAMLDOC="${ac_tool_prefix}ocamldoc"
3797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3798 break 2
3800 done
3801 done
3802 IFS=$as_save_IFS
3806 OCAMLDOC=$ac_cv_prog_OCAMLDOC
3807 if test -n "$OCAMLDOC"; then
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDOC" >&5
3809 $as_echo "$OCAMLDOC" >&6; }
3810 else
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3812 $as_echo "no" >&6; }
3817 if test -z "$ac_cv_prog_OCAMLDOC"; then
3818 ac_ct_OCAMLDOC=$OCAMLDOC
3819 # Extract the first word of "ocamldoc", so it can be a program name with args.
3820 set dummy ocamldoc; ac_word=$2
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3822 $as_echo_n "checking for $ac_word... " >&6; }
3823 if ${ac_cv_prog_ac_ct_OCAMLDOC+:} false; then :
3824 $as_echo_n "(cached) " >&6
3825 else
3826 if test -n "$ac_ct_OCAMLDOC"; then
3827 ac_cv_prog_ac_ct_OCAMLDOC="$ac_ct_OCAMLDOC" # Let the user override the test.
3828 else
3829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3830 for as_dir in $PATH
3832 IFS=$as_save_IFS
3833 test -z "$as_dir" && as_dir=.
3834 for ac_exec_ext in '' $ac_executable_extensions; do
3835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3836 ac_cv_prog_ac_ct_OCAMLDOC="ocamldoc"
3837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3838 break 2
3840 done
3841 done
3842 IFS=$as_save_IFS
3846 ac_ct_OCAMLDOC=$ac_cv_prog_ac_ct_OCAMLDOC
3847 if test -n "$ac_ct_OCAMLDOC"; then
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDOC" >&5
3849 $as_echo "$ac_ct_OCAMLDOC" >&6; }
3850 else
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3852 $as_echo "no" >&6; }
3855 if test "x$ac_ct_OCAMLDOC" = x; then
3856 OCAMLDOC="no"
3857 else
3858 case $cross_compiling:$ac_tool_warned in
3859 yes:)
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3861 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3862 ac_tool_warned=yes ;;
3863 esac
3864 OCAMLDOC=$ac_ct_OCAMLDOC
3866 else
3867 OCAMLDOC="$ac_cv_prog_OCAMLDOC"
3871 # checking for ocamlbuild
3872 if test -n "$ac_tool_prefix"; then
3873 # Extract the first word of "${ac_tool_prefix}ocamlbuild", so it can be a program name with args.
3874 set dummy ${ac_tool_prefix}ocamlbuild; ac_word=$2
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3876 $as_echo_n "checking for $ac_word... " >&6; }
3877 if ${ac_cv_prog_OCAMLBUILD+:} false; then :
3878 $as_echo_n "(cached) " >&6
3879 else
3880 if test -n "$OCAMLBUILD"; then
3881 ac_cv_prog_OCAMLBUILD="$OCAMLBUILD" # Let the user override the test.
3882 else
3883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3884 for as_dir in $PATH
3886 IFS=$as_save_IFS
3887 test -z "$as_dir" && as_dir=.
3888 for ac_exec_ext in '' $ac_executable_extensions; do
3889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3890 ac_cv_prog_OCAMLBUILD="${ac_tool_prefix}ocamlbuild"
3891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3892 break 2
3894 done
3895 done
3896 IFS=$as_save_IFS
3900 OCAMLBUILD=$ac_cv_prog_OCAMLBUILD
3901 if test -n "$OCAMLBUILD"; then
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLBUILD" >&5
3903 $as_echo "$OCAMLBUILD" >&6; }
3904 else
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3906 $as_echo "no" >&6; }
3911 if test -z "$ac_cv_prog_OCAMLBUILD"; then
3912 ac_ct_OCAMLBUILD=$OCAMLBUILD
3913 # Extract the first word of "ocamlbuild", so it can be a program name with args.
3914 set dummy ocamlbuild; ac_word=$2
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3916 $as_echo_n "checking for $ac_word... " >&6; }
3917 if ${ac_cv_prog_ac_ct_OCAMLBUILD+:} false; then :
3918 $as_echo_n "(cached) " >&6
3919 else
3920 if test -n "$ac_ct_OCAMLBUILD"; then
3921 ac_cv_prog_ac_ct_OCAMLBUILD="$ac_ct_OCAMLBUILD" # Let the user override the test.
3922 else
3923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3924 for as_dir in $PATH
3926 IFS=$as_save_IFS
3927 test -z "$as_dir" && as_dir=.
3928 for ac_exec_ext in '' $ac_executable_extensions; do
3929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3930 ac_cv_prog_ac_ct_OCAMLBUILD="ocamlbuild"
3931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3932 break 2
3934 done
3935 done
3936 IFS=$as_save_IFS
3940 ac_ct_OCAMLBUILD=$ac_cv_prog_ac_ct_OCAMLBUILD
3941 if test -n "$ac_ct_OCAMLBUILD"; then
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLBUILD" >&5
3943 $as_echo "$ac_ct_OCAMLBUILD" >&6; }
3944 else
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3946 $as_echo "no" >&6; }
3949 if test "x$ac_ct_OCAMLBUILD" = x; then
3950 OCAMLBUILD="no"
3951 else
3952 case $cross_compiling:$ac_tool_warned in
3953 yes:)
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3955 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3956 ac_tool_warned=yes ;;
3957 esac
3958 OCAMLBUILD=$ac_ct_OCAMLBUILD
3960 else
3961 OCAMLBUILD="$ac_cv_prog_OCAMLBUILD"
3966 # checking for ocamlfind
3967 if test -n "$ac_tool_prefix"; then
3968 # Extract the first word of "${ac_tool_prefix}ocamlfind", so it can be a program name with args.
3969 set dummy ${ac_tool_prefix}ocamlfind; ac_word=$2
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3971 $as_echo_n "checking for $ac_word... " >&6; }
3972 if ${ac_cv_prog_OCAMLFIND+:} false; then :
3973 $as_echo_n "(cached) " >&6
3974 else
3975 if test -n "$OCAMLFIND"; then
3976 ac_cv_prog_OCAMLFIND="$OCAMLFIND" # Let the user override the test.
3977 else
3978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3979 for as_dir in $PATH
3981 IFS=$as_save_IFS
3982 test -z "$as_dir" && as_dir=.
3983 for ac_exec_ext in '' $ac_executable_extensions; do
3984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3985 ac_cv_prog_OCAMLFIND="${ac_tool_prefix}ocamlfind"
3986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3987 break 2
3989 done
3990 done
3991 IFS=$as_save_IFS
3995 OCAMLFIND=$ac_cv_prog_OCAMLFIND
3996 if test -n "$OCAMLFIND"; then
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLFIND" >&5
3998 $as_echo "$OCAMLFIND" >&6; }
3999 else
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4001 $as_echo "no" >&6; }
4006 if test -z "$ac_cv_prog_OCAMLFIND"; then
4007 ac_ct_OCAMLFIND=$OCAMLFIND
4008 # Extract the first word of "ocamlfind", so it can be a program name with args.
4009 set dummy ocamlfind; ac_word=$2
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4011 $as_echo_n "checking for $ac_word... " >&6; }
4012 if ${ac_cv_prog_ac_ct_OCAMLFIND+:} false; then :
4013 $as_echo_n "(cached) " >&6
4014 else
4015 if test -n "$ac_ct_OCAMLFIND"; then
4016 ac_cv_prog_ac_ct_OCAMLFIND="$ac_ct_OCAMLFIND" # Let the user override the test.
4017 else
4018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4019 for as_dir in $PATH
4021 IFS=$as_save_IFS
4022 test -z "$as_dir" && as_dir=.
4023 for ac_exec_ext in '' $ac_executable_extensions; do
4024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4025 ac_cv_prog_ac_ct_OCAMLFIND="ocamlfind"
4026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4027 break 2
4029 done
4030 done
4031 IFS=$as_save_IFS
4035 ac_ct_OCAMLFIND=$ac_cv_prog_ac_ct_OCAMLFIND
4036 if test -n "$ac_ct_OCAMLFIND"; then
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLFIND" >&5
4038 $as_echo "$ac_ct_OCAMLFIND" >&6; }
4039 else
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4041 $as_echo "no" >&6; }
4044 if test "x$ac_ct_OCAMLFIND" = x; then
4045 OCAMLFIND="no"
4046 else
4047 case $cross_compiling:$ac_tool_warned in
4048 yes:)
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4051 ac_tool_warned=yes ;;
4052 esac
4053 OCAMLFIND=$ac_ct_OCAMLFIND
4055 else
4056 OCAMLFIND="$ac_cv_prog_OCAMLFIND"
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package lwt" >&5
4064 $as_echo_n "checking for OCaml findlib package lwt... " >&6; }
4066 unset found
4067 unset pkg
4068 found=no
4069 for pkg in lwt ; do
4070 if $OCAMLFIND query $pkg >/dev/null 2>/dev/null; then
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
4072 $as_echo "found" >&6; }
4073 OCAML_PKG_lwt=$pkg
4074 found=yes
4075 break
4077 done
4078 if test "$found" = "no" ; then
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
4080 $as_echo "not found" >&6; }
4081 OCAML_PKG_lwt=no
4087 INSTALLDIR=$OCAMLLIB/curl
4089 if test "x$prefix" = xNONE; then
4090 $as_echo_n "checking for prefix by " >&6
4091 # Extract the first word of "ocamlc", so it can be a program name with args.
4092 set dummy ocamlc; ac_word=$2
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4094 $as_echo_n "checking for $ac_word... " >&6; }
4095 if ${ac_cv_path_ac_prefix_program+:} false; then :
4096 $as_echo_n "(cached) " >&6
4097 else
4098 case $ac_prefix_program in
4099 [\\/]* | ?:[\\/]*)
4100 ac_cv_path_ac_prefix_program="$ac_prefix_program" # Let the user override the test with a path.
4103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4104 for as_dir in $PATH
4106 IFS=$as_save_IFS
4107 test -z "$as_dir" && as_dir=.
4108 for ac_exec_ext in '' $ac_executable_extensions; do
4109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4110 ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
4111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4112 break 2
4114 done
4115 done
4116 IFS=$as_save_IFS
4119 esac
4121 ac_prefix_program=$ac_cv_path_ac_prefix_program
4122 if test -n "$ac_prefix_program"; then
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prefix_program" >&5
4124 $as_echo "$ac_prefix_program" >&6; }
4125 else
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4127 $as_echo "no" >&6; }
4131 if test -n "$ac_prefix_program"; then
4132 prefix=`$as_dirname -- "$ac_prefix_program" ||
4133 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4134 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
4135 X"$ac_prefix_program" : 'X\(//\)$' \| \
4136 X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
4137 $as_echo X"$ac_prefix_program" |
4138 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4139 s//\1/
4142 /^X\(\/\/\)[^/].*/{
4143 s//\1/
4146 /^X\(\/\/\)$/{
4147 s//\1/
4150 /^X\(\/\).*/{
4151 s//\1/
4154 s/.*/./; q'`
4155 prefix=`$as_dirname -- "$prefix" ||
4156 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4157 X"$prefix" : 'X\(//\)[^/]' \| \
4158 X"$prefix" : 'X\(//\)$' \| \
4159 X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
4160 $as_echo X"$prefix" |
4161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4162 s//\1/
4165 /^X\(\/\/\)[^/].*/{
4166 s//\1/
4169 /^X\(\/\/\)$/{
4170 s//\1/
4173 /^X\(\/\).*/{
4174 s//\1/
4177 s/.*/./; q'`
4188 # set CFLAGS for tests below
4189 CFLAGS="$CFLAGS $CURLCFLAGS"
4192 ac_ext=c
4193 ac_cpp='$CPP $CPPFLAGS'
4194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4198 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4199 # On Suns, sometimes $CPP names a directory.
4200 if test -n "$CPP" && test -d "$CPP"; then
4201 CPP=
4203 if test -z "$CPP"; then
4204 if ${ac_cv_prog_CPP+:} false; then :
4205 $as_echo_n "(cached) " >&6
4206 else
4207 # Double quotes because CPP needs to be expanded
4208 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4210 ac_preproc_ok=false
4211 for ac_c_preproc_warn_flag in '' yes
4213 # Use a header file that comes with gcc, so configuring glibc
4214 # with a fresh cross-compiler works.
4215 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4216 # <limits.h> exists even on freestanding compilers.
4217 # On the NeXT, cc -E runs the code through the compiler's parser,
4218 # not just through cpp. "Syntax error" is here to catch this case.
4219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4220 /* end confdefs.h. */
4221 #ifdef __STDC__
4222 # include <limits.h>
4223 #else
4224 # include <assert.h>
4225 #endif
4226 Syntax error
4227 _ACEOF
4228 if ac_fn_c_try_cpp "$LINENO"; then :
4230 else
4231 # Broken: fails on valid input.
4232 continue
4234 rm -f conftest.err conftest.i conftest.$ac_ext
4236 # OK, works on sane cases. Now check whether nonexistent headers
4237 # can be detected and how.
4238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4239 /* end confdefs.h. */
4240 #include <ac_nonexistent.h>
4241 _ACEOF
4242 if ac_fn_c_try_cpp "$LINENO"; then :
4243 # Broken: success on invalid input.
4244 continue
4245 else
4246 # Passes both tests.
4247 ac_preproc_ok=:
4248 break
4250 rm -f conftest.err conftest.i conftest.$ac_ext
4252 done
4253 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4254 rm -f conftest.i conftest.err conftest.$ac_ext
4255 if $ac_preproc_ok; then :
4256 break
4259 done
4260 ac_cv_prog_CPP=$CPP
4263 CPP=$ac_cv_prog_CPP
4264 else
4265 ac_cv_prog_CPP=$CPP
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4268 $as_echo "$CPP" >&6; }
4269 ac_preproc_ok=false
4270 for ac_c_preproc_warn_flag in '' yes
4272 # Use a header file that comes with gcc, so configuring glibc
4273 # with a fresh cross-compiler works.
4274 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4275 # <limits.h> exists even on freestanding compilers.
4276 # On the NeXT, cc -E runs the code through the compiler's parser,
4277 # not just through cpp. "Syntax error" is here to catch this case.
4278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4279 /* end confdefs.h. */
4280 #ifdef __STDC__
4281 # include <limits.h>
4282 #else
4283 # include <assert.h>
4284 #endif
4285 Syntax error
4286 _ACEOF
4287 if ac_fn_c_try_cpp "$LINENO"; then :
4289 else
4290 # Broken: fails on valid input.
4291 continue
4293 rm -f conftest.err conftest.i conftest.$ac_ext
4295 # OK, works on sane cases. Now check whether nonexistent headers
4296 # can be detected and how.
4297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4298 /* end confdefs.h. */
4299 #include <ac_nonexistent.h>
4300 _ACEOF
4301 if ac_fn_c_try_cpp "$LINENO"; then :
4302 # Broken: success on invalid input.
4303 continue
4304 else
4305 # Passes both tests.
4306 ac_preproc_ok=:
4307 break
4309 rm -f conftest.err conftest.i conftest.$ac_ext
4311 done
4312 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4313 rm -f conftest.i conftest.err conftest.$ac_ext
4314 if $ac_preproc_ok; then :
4316 else
4317 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4319 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4320 See \`config.log' for more details" "$LINENO" 5; }
4323 ac_ext=c
4324 ac_cpp='$CPP $CPPFLAGS'
4325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4331 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4332 if ${ac_cv_path_GREP+:} false; then :
4333 $as_echo_n "(cached) " >&6
4334 else
4335 if test -z "$GREP"; then
4336 ac_path_GREP_found=false
4337 # Loop through the user's path and test for each of PROGNAME-LIST
4338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4339 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4341 IFS=$as_save_IFS
4342 test -z "$as_dir" && as_dir=.
4343 for ac_prog in grep ggrep; do
4344 for ac_exec_ext in '' $ac_executable_extensions; do
4345 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4346 as_fn_executable_p "$ac_path_GREP" || continue
4347 # Check for GNU ac_path_GREP and select it if it is found.
4348 # Check for GNU $ac_path_GREP
4349 case `"$ac_path_GREP" --version 2>&1` in
4350 *GNU*)
4351 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4353 ac_count=0
4354 $as_echo_n 0123456789 >"conftest.in"
4355 while :
4357 cat "conftest.in" "conftest.in" >"conftest.tmp"
4358 mv "conftest.tmp" "conftest.in"
4359 cp "conftest.in" "conftest.nl"
4360 $as_echo 'GREP' >> "conftest.nl"
4361 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4362 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4363 as_fn_arith $ac_count + 1 && ac_count=$as_val
4364 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4365 # Best one so far, save it but keep looking for a better one
4366 ac_cv_path_GREP="$ac_path_GREP"
4367 ac_path_GREP_max=$ac_count
4369 # 10*(2^10) chars as input seems more than enough
4370 test $ac_count -gt 10 && break
4371 done
4372 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4373 esac
4375 $ac_path_GREP_found && break 3
4376 done
4377 done
4378 done
4379 IFS=$as_save_IFS
4380 if test -z "$ac_cv_path_GREP"; then
4381 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4383 else
4384 ac_cv_path_GREP=$GREP
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4389 $as_echo "$ac_cv_path_GREP" >&6; }
4390 GREP="$ac_cv_path_GREP"
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4394 $as_echo_n "checking for egrep... " >&6; }
4395 if ${ac_cv_path_EGREP+:} false; then :
4396 $as_echo_n "(cached) " >&6
4397 else
4398 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4399 then ac_cv_path_EGREP="$GREP -E"
4400 else
4401 if test -z "$EGREP"; then
4402 ac_path_EGREP_found=false
4403 # Loop through the user's path and test for each of PROGNAME-LIST
4404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4405 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4407 IFS=$as_save_IFS
4408 test -z "$as_dir" && as_dir=.
4409 for ac_prog in egrep; do
4410 for ac_exec_ext in '' $ac_executable_extensions; do
4411 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4412 as_fn_executable_p "$ac_path_EGREP" || continue
4413 # Check for GNU ac_path_EGREP and select it if it is found.
4414 # Check for GNU $ac_path_EGREP
4415 case `"$ac_path_EGREP" --version 2>&1` in
4416 *GNU*)
4417 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4419 ac_count=0
4420 $as_echo_n 0123456789 >"conftest.in"
4421 while :
4423 cat "conftest.in" "conftest.in" >"conftest.tmp"
4424 mv "conftest.tmp" "conftest.in"
4425 cp "conftest.in" "conftest.nl"
4426 $as_echo 'EGREP' >> "conftest.nl"
4427 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4428 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4429 as_fn_arith $ac_count + 1 && ac_count=$as_val
4430 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4431 # Best one so far, save it but keep looking for a better one
4432 ac_cv_path_EGREP="$ac_path_EGREP"
4433 ac_path_EGREP_max=$ac_count
4435 # 10*(2^10) chars as input seems more than enough
4436 test $ac_count -gt 10 && break
4437 done
4438 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4439 esac
4441 $ac_path_EGREP_found && break 3
4442 done
4443 done
4444 done
4445 IFS=$as_save_IFS
4446 if test -z "$ac_cv_path_EGREP"; then
4447 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4449 else
4450 ac_cv_path_EGREP=$EGREP
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4456 $as_echo "$ac_cv_path_EGREP" >&6; }
4457 EGREP="$ac_cv_path_EGREP"
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4461 $as_echo_n "checking for ANSI C header files... " >&6; }
4462 if ${ac_cv_header_stdc+:} false; then :
4463 $as_echo_n "(cached) " >&6
4464 else
4465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4466 /* end confdefs.h. */
4467 #include <stdlib.h>
4468 #include <stdarg.h>
4469 #include <string.h>
4470 #include <float.h>
4473 main ()
4477 return 0;
4479 _ACEOF
4480 if ac_fn_c_try_compile "$LINENO"; then :
4481 ac_cv_header_stdc=yes
4482 else
4483 ac_cv_header_stdc=no
4485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4487 if test $ac_cv_header_stdc = yes; then
4488 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4490 /* end confdefs.h. */
4491 #include <string.h>
4493 _ACEOF
4494 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4495 $EGREP "memchr" >/dev/null 2>&1; then :
4497 else
4498 ac_cv_header_stdc=no
4500 rm -f conftest*
4504 if test $ac_cv_header_stdc = yes; then
4505 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4507 /* end confdefs.h. */
4508 #include <stdlib.h>
4510 _ACEOF
4511 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4512 $EGREP "free" >/dev/null 2>&1; then :
4514 else
4515 ac_cv_header_stdc=no
4517 rm -f conftest*
4521 if test $ac_cv_header_stdc = yes; then
4522 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4523 if test "$cross_compiling" = yes; then :
4525 else
4526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4527 /* end confdefs.h. */
4528 #include <ctype.h>
4529 #include <stdlib.h>
4530 #if ((' ' & 0x0FF) == 0x020)
4531 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4532 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4533 #else
4534 # define ISLOWER(c) \
4535 (('a' <= (c) && (c) <= 'i') \
4536 || ('j' <= (c) && (c) <= 'r') \
4537 || ('s' <= (c) && (c) <= 'z'))
4538 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4539 #endif
4541 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4543 main ()
4545 int i;
4546 for (i = 0; i < 256; i++)
4547 if (XOR (islower (i), ISLOWER (i))
4548 || toupper (i) != TOUPPER (i))
4549 return 2;
4550 return 0;
4552 _ACEOF
4553 if ac_fn_c_try_run "$LINENO"; then :
4555 else
4556 ac_cv_header_stdc=no
4558 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4559 conftest.$ac_objext conftest.beam conftest.$ac_ext
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4565 $as_echo "$ac_cv_header_stdc" >&6; }
4566 if test $ac_cv_header_stdc = yes; then
4568 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4572 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4573 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4574 inttypes.h stdint.h unistd.h
4575 do :
4576 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4577 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4579 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4580 cat >>confdefs.h <<_ACEOF
4581 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4582 _ACEOF
4586 done
4589 for ac_header in curl/curl.h
4590 do :
4591 ac_fn_c_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
4592 if test "x$ac_cv_header_curl_curl_h" = xyes; then :
4593 cat >>confdefs.h <<_ACEOF
4594 #define HAVE_CURL_CURL_H 1
4595 _ACEOF
4597 else
4598 as_fn_error $? "libcurl header file missing" "$LINENO" 5
4601 done
4604 ac_fn_c_check_decl "$LINENO" "CURLMOPT_TIMERFUNCTION" "ac_cv_have_decl_CURLMOPT_TIMERFUNCTION" "
4605 #include \"curl/curl.h\"
4608 if test "x$ac_cv_have_decl_CURLMOPT_TIMERFUNCTION" = xyes; then :
4609 ac_have_decl=1
4610 else
4611 ac_have_decl=0
4614 cat >>confdefs.h <<_ACEOF
4615 #define HAVE_DECL_CURLMOPT_TIMERFUNCTION $ac_have_decl
4616 _ACEOF
4617 if test $ac_have_decl = 1; then :
4619 else
4620 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4622 ac_fn_c_check_decl "$LINENO" "CURLMOPT_TIMERDATA" "ac_cv_have_decl_CURLMOPT_TIMERDATA" "
4623 #include \"curl/curl.h\"
4626 if test "x$ac_cv_have_decl_CURLMOPT_TIMERDATA" = xyes; then :
4627 ac_have_decl=1
4628 else
4629 ac_have_decl=0
4632 cat >>confdefs.h <<_ACEOF
4633 #define HAVE_DECL_CURLMOPT_TIMERDATA $ac_have_decl
4634 _ACEOF
4635 if test $ac_have_decl = 1; then :
4637 else
4638 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4640 ac_fn_c_check_decl "$LINENO" "CURLMOPT_SOCKETFUNCTION" "ac_cv_have_decl_CURLMOPT_SOCKETFUNCTION" "
4641 #include \"curl/curl.h\"
4644 if test "x$ac_cv_have_decl_CURLMOPT_SOCKETFUNCTION" = xyes; then :
4645 ac_have_decl=1
4646 else
4647 ac_have_decl=0
4650 cat >>confdefs.h <<_ACEOF
4651 #define HAVE_DECL_CURLMOPT_SOCKETFUNCTION $ac_have_decl
4652 _ACEOF
4653 if test $ac_have_decl = 1; then :
4655 else
4656 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4658 ac_fn_c_check_decl "$LINENO" "CURLMOPT_SOCKETDATA" "ac_cv_have_decl_CURLMOPT_SOCKETDATA" "
4659 #include \"curl/curl.h\"
4662 if test "x$ac_cv_have_decl_CURLMOPT_SOCKETDATA" = xyes; then :
4663 ac_have_decl=1
4664 else
4665 ac_have_decl=0
4668 cat >>confdefs.h <<_ACEOF
4669 #define HAVE_DECL_CURLMOPT_SOCKETDATA $ac_have_decl
4670 _ACEOF
4671 if test $ac_have_decl = 1; then :
4673 else
4674 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4678 ac_fn_c_check_decl "$LINENO" "CURLOPT_FILE" "ac_cv_have_decl_CURLOPT_FILE" "
4679 #include \"curl/curl.h\"
4682 if test "x$ac_cv_have_decl_CURLOPT_FILE" = xyes; then :
4683 ac_have_decl=1
4684 else
4685 ac_have_decl=0
4688 cat >>confdefs.h <<_ACEOF
4689 #define HAVE_DECL_CURLOPT_FILE $ac_have_decl
4690 _ACEOF
4691 ac_fn_c_check_decl "$LINENO" "CURLOPT_URL" "ac_cv_have_decl_CURLOPT_URL" "
4692 #include \"curl/curl.h\"
4695 if test "x$ac_cv_have_decl_CURLOPT_URL" = xyes; then :
4696 ac_have_decl=1
4697 else
4698 ac_have_decl=0
4701 cat >>confdefs.h <<_ACEOF
4702 #define HAVE_DECL_CURLOPT_URL $ac_have_decl
4703 _ACEOF
4704 ac_fn_c_check_decl "$LINENO" "CURLOPT_PORT" "ac_cv_have_decl_CURLOPT_PORT" "
4705 #include \"curl/curl.h\"
4708 if test "x$ac_cv_have_decl_CURLOPT_PORT" = xyes; then :
4709 ac_have_decl=1
4710 else
4711 ac_have_decl=0
4714 cat >>confdefs.h <<_ACEOF
4715 #define HAVE_DECL_CURLOPT_PORT $ac_have_decl
4716 _ACEOF
4717 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXY" "ac_cv_have_decl_CURLOPT_PROXY" "
4718 #include \"curl/curl.h\"
4721 if test "x$ac_cv_have_decl_CURLOPT_PROXY" = xyes; then :
4722 ac_have_decl=1
4723 else
4724 ac_have_decl=0
4727 cat >>confdefs.h <<_ACEOF
4728 #define HAVE_DECL_CURLOPT_PROXY $ac_have_decl
4729 _ACEOF
4730 ac_fn_c_check_decl "$LINENO" "CURLOPT_USERPWD" "ac_cv_have_decl_CURLOPT_USERPWD" "
4731 #include \"curl/curl.h\"
4734 if test "x$ac_cv_have_decl_CURLOPT_USERPWD" = xyes; then :
4735 ac_have_decl=1
4736 else
4737 ac_have_decl=0
4740 cat >>confdefs.h <<_ACEOF
4741 #define HAVE_DECL_CURLOPT_USERPWD $ac_have_decl
4742 _ACEOF
4743 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYUSERPWD" "ac_cv_have_decl_CURLOPT_PROXYUSERPWD" "
4744 #include \"curl/curl.h\"
4747 if test "x$ac_cv_have_decl_CURLOPT_PROXYUSERPWD" = xyes; then :
4748 ac_have_decl=1
4749 else
4750 ac_have_decl=0
4753 cat >>confdefs.h <<_ACEOF
4754 #define HAVE_DECL_CURLOPT_PROXYUSERPWD $ac_have_decl
4755 _ACEOF
4756 ac_fn_c_check_decl "$LINENO" "CURLOPT_RANGE" "ac_cv_have_decl_CURLOPT_RANGE" "
4757 #include \"curl/curl.h\"
4760 if test "x$ac_cv_have_decl_CURLOPT_RANGE" = xyes; then :
4761 ac_have_decl=1
4762 else
4763 ac_have_decl=0
4766 cat >>confdefs.h <<_ACEOF
4767 #define HAVE_DECL_CURLOPT_RANGE $ac_have_decl
4768 _ACEOF
4769 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILE" "ac_cv_have_decl_CURLOPT_INFILE" "
4770 #include \"curl/curl.h\"
4773 if test "x$ac_cv_have_decl_CURLOPT_INFILE" = xyes; then :
4774 ac_have_decl=1
4775 else
4776 ac_have_decl=0
4779 cat >>confdefs.h <<_ACEOF
4780 #define HAVE_DECL_CURLOPT_INFILE $ac_have_decl
4781 _ACEOF
4782 ac_fn_c_check_decl "$LINENO" "CURLOPT_ERRORBUFFER" "ac_cv_have_decl_CURLOPT_ERRORBUFFER" "
4783 #include \"curl/curl.h\"
4786 if test "x$ac_cv_have_decl_CURLOPT_ERRORBUFFER" = xyes; then :
4787 ac_have_decl=1
4788 else
4789 ac_have_decl=0
4792 cat >>confdefs.h <<_ACEOF
4793 #define HAVE_DECL_CURLOPT_ERRORBUFFER $ac_have_decl
4794 _ACEOF
4795 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEFUNCTION" "ac_cv_have_decl_CURLOPT_WRITEFUNCTION" "
4796 #include \"curl/curl.h\"
4799 if test "x$ac_cv_have_decl_CURLOPT_WRITEFUNCTION" = xyes; then :
4800 ac_have_decl=1
4801 else
4802 ac_have_decl=0
4805 cat >>confdefs.h <<_ACEOF
4806 #define HAVE_DECL_CURLOPT_WRITEFUNCTION $ac_have_decl
4807 _ACEOF
4808 ac_fn_c_check_decl "$LINENO" "CURLOPT_READFUNCTION" "ac_cv_have_decl_CURLOPT_READFUNCTION" "
4809 #include \"curl/curl.h\"
4812 if test "x$ac_cv_have_decl_CURLOPT_READFUNCTION" = xyes; then :
4813 ac_have_decl=1
4814 else
4815 ac_have_decl=0
4818 cat >>confdefs.h <<_ACEOF
4819 #define HAVE_DECL_CURLOPT_READFUNCTION $ac_have_decl
4820 _ACEOF
4821 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEOUT" "ac_cv_have_decl_CURLOPT_TIMEOUT" "
4822 #include \"curl/curl.h\"
4825 if test "x$ac_cv_have_decl_CURLOPT_TIMEOUT" = xyes; then :
4826 ac_have_decl=1
4827 else
4828 ac_have_decl=0
4831 cat >>confdefs.h <<_ACEOF
4832 #define HAVE_DECL_CURLOPT_TIMEOUT $ac_have_decl
4833 _ACEOF
4834 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILESIZE" "ac_cv_have_decl_CURLOPT_INFILESIZE" "
4835 #include \"curl/curl.h\"
4838 if test "x$ac_cv_have_decl_CURLOPT_INFILESIZE" = xyes; then :
4839 ac_have_decl=1
4840 else
4841 ac_have_decl=0
4844 cat >>confdefs.h <<_ACEOF
4845 #define HAVE_DECL_CURLOPT_INFILESIZE $ac_have_decl
4846 _ACEOF
4847 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDS" "ac_cv_have_decl_CURLOPT_POSTFIELDS" "
4848 #include \"curl/curl.h\"
4851 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDS" = xyes; then :
4852 ac_have_decl=1
4853 else
4854 ac_have_decl=0
4857 cat >>confdefs.h <<_ACEOF
4858 #define HAVE_DECL_CURLOPT_POSTFIELDS $ac_have_decl
4859 _ACEOF
4860 ac_fn_c_check_decl "$LINENO" "CURLOPT_REFERER" "ac_cv_have_decl_CURLOPT_REFERER" "
4861 #include \"curl/curl.h\"
4864 if test "x$ac_cv_have_decl_CURLOPT_REFERER" = xyes; then :
4865 ac_have_decl=1
4866 else
4867 ac_have_decl=0
4870 cat >>confdefs.h <<_ACEOF
4871 #define HAVE_DECL_CURLOPT_REFERER $ac_have_decl
4872 _ACEOF
4873 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPPORT" "ac_cv_have_decl_CURLOPT_FTPPORT" "
4874 #include \"curl/curl.h\"
4877 if test "x$ac_cv_have_decl_CURLOPT_FTPPORT" = xyes; then :
4878 ac_have_decl=1
4879 else
4880 ac_have_decl=0
4883 cat >>confdefs.h <<_ACEOF
4884 #define HAVE_DECL_CURLOPT_FTPPORT $ac_have_decl
4885 _ACEOF
4886 ac_fn_c_check_decl "$LINENO" "CURLOPT_USERAGENT" "ac_cv_have_decl_CURLOPT_USERAGENT" "
4887 #include \"curl/curl.h\"
4890 if test "x$ac_cv_have_decl_CURLOPT_USERAGENT" = xyes; then :
4891 ac_have_decl=1
4892 else
4893 ac_have_decl=0
4896 cat >>confdefs.h <<_ACEOF
4897 #define HAVE_DECL_CURLOPT_USERAGENT $ac_have_decl
4898 _ACEOF
4899 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOW_SPEED_LIMIT" "ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" "
4900 #include \"curl/curl.h\"
4903 if test "x$ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" = xyes; then :
4904 ac_have_decl=1
4905 else
4906 ac_have_decl=0
4909 cat >>confdefs.h <<_ACEOF
4910 #define HAVE_DECL_CURLOPT_LOW_SPEED_LIMIT $ac_have_decl
4911 _ACEOF
4912 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOW_SPEED_TIME" "ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" "
4913 #include \"curl/curl.h\"
4916 if test "x$ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" = xyes; then :
4917 ac_have_decl=1
4918 else
4919 ac_have_decl=0
4922 cat >>confdefs.h <<_ACEOF
4923 #define HAVE_DECL_CURLOPT_LOW_SPEED_TIME $ac_have_decl
4924 _ACEOF
4925 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESUME_FROM" "ac_cv_have_decl_CURLOPT_RESUME_FROM" "
4926 #include \"curl/curl.h\"
4929 if test "x$ac_cv_have_decl_CURLOPT_RESUME_FROM" = xyes; then :
4930 ac_have_decl=1
4931 else
4932 ac_have_decl=0
4935 cat >>confdefs.h <<_ACEOF
4936 #define HAVE_DECL_CURLOPT_RESUME_FROM $ac_have_decl
4937 _ACEOF
4938 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIE" "ac_cv_have_decl_CURLOPT_COOKIE" "
4939 #include \"curl/curl.h\"
4942 if test "x$ac_cv_have_decl_CURLOPT_COOKIE" = xyes; then :
4943 ac_have_decl=1
4944 else
4945 ac_have_decl=0
4948 cat >>confdefs.h <<_ACEOF
4949 #define HAVE_DECL_CURLOPT_COOKIE $ac_have_decl
4950 _ACEOF
4951 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPHEADER" "ac_cv_have_decl_CURLOPT_HTTPHEADER" "
4952 #include \"curl/curl.h\"
4955 if test "x$ac_cv_have_decl_CURLOPT_HTTPHEADER" = xyes; then :
4956 ac_have_decl=1
4957 else
4958 ac_have_decl=0
4961 cat >>confdefs.h <<_ACEOF
4962 #define HAVE_DECL_CURLOPT_HTTPHEADER $ac_have_decl
4963 _ACEOF
4964 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPPOST" "ac_cv_have_decl_CURLOPT_HTTPPOST" "
4965 #include \"curl/curl.h\"
4968 if test "x$ac_cv_have_decl_CURLOPT_HTTPPOST" = xyes; then :
4969 ac_have_decl=1
4970 else
4971 ac_have_decl=0
4974 cat >>confdefs.h <<_ACEOF
4975 #define HAVE_DECL_CURLOPT_HTTPPOST $ac_have_decl
4976 _ACEOF
4977 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERT" "ac_cv_have_decl_CURLOPT_SSLCERT" "
4978 #include \"curl/curl.h\"
4981 if test "x$ac_cv_have_decl_CURLOPT_SSLCERT" = xyes; then :
4982 ac_have_decl=1
4983 else
4984 ac_have_decl=0
4987 cat >>confdefs.h <<_ACEOF
4988 #define HAVE_DECL_CURLOPT_SSLCERT $ac_have_decl
4989 _ACEOF
4990 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERTPASSWD" "ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" "
4991 #include \"curl/curl.h\"
4994 if test "x$ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" = xyes; then :
4995 ac_have_decl=1
4996 else
4997 ac_have_decl=0
5000 cat >>confdefs.h <<_ACEOF
5001 #define HAVE_DECL_CURLOPT_SSLCERTPASSWD $ac_have_decl
5002 _ACEOF
5003 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEYPASSWD" "ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" "
5004 #include \"curl/curl.h\"
5007 if test "x$ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" = xyes; then :
5008 ac_have_decl=1
5009 else
5010 ac_have_decl=0
5013 cat >>confdefs.h <<_ACEOF
5014 #define HAVE_DECL_CURLOPT_SSLKEYPASSWD $ac_have_decl
5015 _ACEOF
5016 ac_fn_c_check_decl "$LINENO" "CURLOPT_CRLF" "ac_cv_have_decl_CURLOPT_CRLF" "
5017 #include \"curl/curl.h\"
5020 if test "x$ac_cv_have_decl_CURLOPT_CRLF" = xyes; then :
5021 ac_have_decl=1
5022 else
5023 ac_have_decl=0
5026 cat >>confdefs.h <<_ACEOF
5027 #define HAVE_DECL_CURLOPT_CRLF $ac_have_decl
5028 _ACEOF
5029 ac_fn_c_check_decl "$LINENO" "CURLOPT_QUOTE" "ac_cv_have_decl_CURLOPT_QUOTE" "
5030 #include \"curl/curl.h\"
5033 if test "x$ac_cv_have_decl_CURLOPT_QUOTE" = xyes; then :
5034 ac_have_decl=1
5035 else
5036 ac_have_decl=0
5039 cat >>confdefs.h <<_ACEOF
5040 #define HAVE_DECL_CURLOPT_QUOTE $ac_have_decl
5041 _ACEOF
5042 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEHEADER" "ac_cv_have_decl_CURLOPT_WRITEHEADER" "
5043 #include \"curl/curl.h\"
5046 if test "x$ac_cv_have_decl_CURLOPT_WRITEHEADER" = xyes; then :
5047 ac_have_decl=1
5048 else
5049 ac_have_decl=0
5052 cat >>confdefs.h <<_ACEOF
5053 #define HAVE_DECL_CURLOPT_WRITEHEADER $ac_have_decl
5054 _ACEOF
5055 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIEFILE" "ac_cv_have_decl_CURLOPT_COOKIEFILE" "
5056 #include \"curl/curl.h\"
5059 if test "x$ac_cv_have_decl_CURLOPT_COOKIEFILE" = xyes; then :
5060 ac_have_decl=1
5061 else
5062 ac_have_decl=0
5065 cat >>confdefs.h <<_ACEOF
5066 #define HAVE_DECL_CURLOPT_COOKIEFILE $ac_have_decl
5067 _ACEOF
5068 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLVERSION" "ac_cv_have_decl_CURLOPT_SSLVERSION" "
5069 #include \"curl/curl.h\"
5072 if test "x$ac_cv_have_decl_CURLOPT_SSLVERSION" = xyes; then :
5073 ac_have_decl=1
5074 else
5075 ac_have_decl=0
5078 cat >>confdefs.h <<_ACEOF
5079 #define HAVE_DECL_CURLOPT_SSLVERSION $ac_have_decl
5080 _ACEOF
5081 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMECONDITION" "ac_cv_have_decl_CURLOPT_TIMECONDITION" "
5082 #include \"curl/curl.h\"
5085 if test "x$ac_cv_have_decl_CURLOPT_TIMECONDITION" = xyes; then :
5086 ac_have_decl=1
5087 else
5088 ac_have_decl=0
5091 cat >>confdefs.h <<_ACEOF
5092 #define HAVE_DECL_CURLOPT_TIMECONDITION $ac_have_decl
5093 _ACEOF
5094 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEVALUE" "ac_cv_have_decl_CURLOPT_TIMEVALUE" "
5095 #include \"curl/curl.h\"
5098 if test "x$ac_cv_have_decl_CURLOPT_TIMEVALUE" = xyes; then :
5099 ac_have_decl=1
5100 else
5101 ac_have_decl=0
5104 cat >>confdefs.h <<_ACEOF
5105 #define HAVE_DECL_CURLOPT_TIMEVALUE $ac_have_decl
5106 _ACEOF
5107 ac_fn_c_check_decl "$LINENO" "CURLOPT_CUSTOMREQUEST" "ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" "
5108 #include \"curl/curl.h\"
5111 if test "x$ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" = xyes; then :
5112 ac_have_decl=1
5113 else
5114 ac_have_decl=0
5117 cat >>confdefs.h <<_ACEOF
5118 #define HAVE_DECL_CURLOPT_CUSTOMREQUEST $ac_have_decl
5119 _ACEOF
5120 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTQUOTE" "ac_cv_have_decl_CURLOPT_POSTQUOTE" "
5121 #include \"curl/curl.h\"
5124 if test "x$ac_cv_have_decl_CURLOPT_POSTQUOTE" = xyes; then :
5125 ac_have_decl=1
5126 else
5127 ac_have_decl=0
5130 cat >>confdefs.h <<_ACEOF
5131 #define HAVE_DECL_CURLOPT_POSTQUOTE $ac_have_decl
5132 _ACEOF
5133 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEINFO" "ac_cv_have_decl_CURLOPT_WRITEINFO" "
5134 #include \"curl/curl.h\"
5137 if test "x$ac_cv_have_decl_CURLOPT_WRITEINFO" = xyes; then :
5138 ac_have_decl=1
5139 else
5140 ac_have_decl=0
5143 cat >>confdefs.h <<_ACEOF
5144 #define HAVE_DECL_CURLOPT_WRITEINFO $ac_have_decl
5145 _ACEOF
5146 ac_fn_c_check_decl "$LINENO" "CURLOPT_VERBOSE" "ac_cv_have_decl_CURLOPT_VERBOSE" "
5147 #include \"curl/curl.h\"
5150 if test "x$ac_cv_have_decl_CURLOPT_VERBOSE" = xyes; then :
5151 ac_have_decl=1
5152 else
5153 ac_have_decl=0
5156 cat >>confdefs.h <<_ACEOF
5157 #define HAVE_DECL_CURLOPT_VERBOSE $ac_have_decl
5158 _ACEOF
5159 ac_fn_c_check_decl "$LINENO" "CURLOPT_HEADER" "ac_cv_have_decl_CURLOPT_HEADER" "
5160 #include \"curl/curl.h\"
5163 if test "x$ac_cv_have_decl_CURLOPT_HEADER" = xyes; then :
5164 ac_have_decl=1
5165 else
5166 ac_have_decl=0
5169 cat >>confdefs.h <<_ACEOF
5170 #define HAVE_DECL_CURLOPT_HEADER $ac_have_decl
5171 _ACEOF
5172 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOPROGRESS" "ac_cv_have_decl_CURLOPT_NOPROGRESS" "
5173 #include \"curl/curl.h\"
5176 if test "x$ac_cv_have_decl_CURLOPT_NOPROGRESS" = xyes; then :
5177 ac_have_decl=1
5178 else
5179 ac_have_decl=0
5182 cat >>confdefs.h <<_ACEOF
5183 #define HAVE_DECL_CURLOPT_NOPROGRESS $ac_have_decl
5184 _ACEOF
5185 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOBODY" "ac_cv_have_decl_CURLOPT_NOBODY" "
5186 #include \"curl/curl.h\"
5189 if test "x$ac_cv_have_decl_CURLOPT_NOBODY" = xyes; then :
5190 ac_have_decl=1
5191 else
5192 ac_have_decl=0
5195 cat >>confdefs.h <<_ACEOF
5196 #define HAVE_DECL_CURLOPT_NOBODY $ac_have_decl
5197 _ACEOF
5198 ac_fn_c_check_decl "$LINENO" "CURLOPT_FAILONERROR" "ac_cv_have_decl_CURLOPT_FAILONERROR" "
5199 #include \"curl/curl.h\"
5202 if test "x$ac_cv_have_decl_CURLOPT_FAILONERROR" = xyes; then :
5203 ac_have_decl=1
5204 else
5205 ac_have_decl=0
5208 cat >>confdefs.h <<_ACEOF
5209 #define HAVE_DECL_CURLOPT_FAILONERROR $ac_have_decl
5210 _ACEOF
5211 ac_fn_c_check_decl "$LINENO" "CURLOPT_UPLOAD" "ac_cv_have_decl_CURLOPT_UPLOAD" "
5212 #include \"curl/curl.h\"
5215 if test "x$ac_cv_have_decl_CURLOPT_UPLOAD" = xyes; then :
5216 ac_have_decl=1
5217 else
5218 ac_have_decl=0
5221 cat >>confdefs.h <<_ACEOF
5222 #define HAVE_DECL_CURLOPT_UPLOAD $ac_have_decl
5223 _ACEOF
5224 ac_fn_c_check_decl "$LINENO" "CURLOPT_POST" "ac_cv_have_decl_CURLOPT_POST" "
5225 #include \"curl/curl.h\"
5228 if test "x$ac_cv_have_decl_CURLOPT_POST" = xyes; then :
5229 ac_have_decl=1
5230 else
5231 ac_have_decl=0
5234 cat >>confdefs.h <<_ACEOF
5235 #define HAVE_DECL_CURLOPT_POST $ac_have_decl
5236 _ACEOF
5237 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPLISTONLY" "ac_cv_have_decl_CURLOPT_FTPLISTONLY" "
5238 #include \"curl/curl.h\"
5241 if test "x$ac_cv_have_decl_CURLOPT_FTPLISTONLY" = xyes; then :
5242 ac_have_decl=1
5243 else
5244 ac_have_decl=0
5247 cat >>confdefs.h <<_ACEOF
5248 #define HAVE_DECL_CURLOPT_FTPLISTONLY $ac_have_decl
5249 _ACEOF
5250 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPAPPEND" "ac_cv_have_decl_CURLOPT_FTPAPPEND" "
5251 #include \"curl/curl.h\"
5254 if test "x$ac_cv_have_decl_CURLOPT_FTPAPPEND" = xyes; then :
5255 ac_have_decl=1
5256 else
5257 ac_have_decl=0
5260 cat >>confdefs.h <<_ACEOF
5261 #define HAVE_DECL_CURLOPT_FTPAPPEND $ac_have_decl
5262 _ACEOF
5263 ac_fn_c_check_decl "$LINENO" "CURLOPT_NETRC" "ac_cv_have_decl_CURLOPT_NETRC" "
5264 #include \"curl/curl.h\"
5267 if test "x$ac_cv_have_decl_CURLOPT_NETRC" = xyes; then :
5268 ac_have_decl=1
5269 else
5270 ac_have_decl=0
5273 cat >>confdefs.h <<_ACEOF
5274 #define HAVE_DECL_CURLOPT_NETRC $ac_have_decl
5275 _ACEOF
5276 ac_fn_c_check_decl "$LINENO" "CURLOPT_FOLLOWLOCATION" "ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" "
5277 #include \"curl/curl.h\"
5280 if test "x$ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" = xyes; then :
5281 ac_have_decl=1
5282 else
5283 ac_have_decl=0
5286 cat >>confdefs.h <<_ACEOF
5287 #define HAVE_DECL_CURLOPT_FOLLOWLOCATION $ac_have_decl
5288 _ACEOF
5289 ac_fn_c_check_decl "$LINENO" "CURLOPT_TRANSFERTEXT" "ac_cv_have_decl_CURLOPT_TRANSFERTEXT" "
5290 #include \"curl/curl.h\"
5293 if test "x$ac_cv_have_decl_CURLOPT_TRANSFERTEXT" = xyes; then :
5294 ac_have_decl=1
5295 else
5296 ac_have_decl=0
5299 cat >>confdefs.h <<_ACEOF
5300 #define HAVE_DECL_CURLOPT_TRANSFERTEXT $ac_have_decl
5301 _ACEOF
5302 ac_fn_c_check_decl "$LINENO" "CURLOPT_PUT" "ac_cv_have_decl_CURLOPT_PUT" "
5303 #include \"curl/curl.h\"
5306 if test "x$ac_cv_have_decl_CURLOPT_PUT" = xyes; then :
5307 ac_have_decl=1
5308 else
5309 ac_have_decl=0
5312 cat >>confdefs.h <<_ACEOF
5313 #define HAVE_DECL_CURLOPT_PUT $ac_have_decl
5314 _ACEOF
5315 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROGRESSFUNCTION" "ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" "
5316 #include \"curl/curl.h\"
5319 if test "x$ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" = xyes; then :
5320 ac_have_decl=1
5321 else
5322 ac_have_decl=0
5325 cat >>confdefs.h <<_ACEOF
5326 #define HAVE_DECL_CURLOPT_PROGRESSFUNCTION $ac_have_decl
5327 _ACEOF
5328 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROGRESSDATA" "ac_cv_have_decl_CURLOPT_PROGRESSDATA" "
5329 #include \"curl/curl.h\"
5332 if test "x$ac_cv_have_decl_CURLOPT_PROGRESSDATA" = xyes; then :
5333 ac_have_decl=1
5334 else
5335 ac_have_decl=0
5338 cat >>confdefs.h <<_ACEOF
5339 #define HAVE_DECL_CURLOPT_PROGRESSDATA $ac_have_decl
5340 _ACEOF
5341 ac_fn_c_check_decl "$LINENO" "CURLOPT_AUTOREFERER" "ac_cv_have_decl_CURLOPT_AUTOREFERER" "
5342 #include \"curl/curl.h\"
5345 if test "x$ac_cv_have_decl_CURLOPT_AUTOREFERER" = xyes; then :
5346 ac_have_decl=1
5347 else
5348 ac_have_decl=0
5351 cat >>confdefs.h <<_ACEOF
5352 #define HAVE_DECL_CURLOPT_AUTOREFERER $ac_have_decl
5353 _ACEOF
5354 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYPORT" "ac_cv_have_decl_CURLOPT_PROXYPORT" "
5355 #include \"curl/curl.h\"
5358 if test "x$ac_cv_have_decl_CURLOPT_PROXYPORT" = xyes; then :
5359 ac_have_decl=1
5360 else
5361 ac_have_decl=0
5364 cat >>confdefs.h <<_ACEOF
5365 #define HAVE_DECL_CURLOPT_PROXYPORT $ac_have_decl
5366 _ACEOF
5367 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDSIZE" "ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" "
5368 #include \"curl/curl.h\"
5371 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" = xyes; then :
5372 ac_have_decl=1
5373 else
5374 ac_have_decl=0
5377 cat >>confdefs.h <<_ACEOF
5378 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE $ac_have_decl
5379 _ACEOF
5380 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPPROXYTUNNEL" "ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" "
5381 #include \"curl/curl.h\"
5384 if test "x$ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" = xyes; then :
5385 ac_have_decl=1
5386 else
5387 ac_have_decl=0
5390 cat >>confdefs.h <<_ACEOF
5391 #define HAVE_DECL_CURLOPT_HTTPPROXYTUNNEL $ac_have_decl
5392 _ACEOF
5393 ac_fn_c_check_decl "$LINENO" "CURLOPT_INTERFACE" "ac_cv_have_decl_CURLOPT_INTERFACE" "
5394 #include \"curl/curl.h\"
5397 if test "x$ac_cv_have_decl_CURLOPT_INTERFACE" = xyes; then :
5398 ac_have_decl=1
5399 else
5400 ac_have_decl=0
5403 cat >>confdefs.h <<_ACEOF
5404 #define HAVE_DECL_CURLOPT_INTERFACE $ac_have_decl
5405 _ACEOF
5406 ac_fn_c_check_decl "$LINENO" "CURLOPT_KRB4LEVEL" "ac_cv_have_decl_CURLOPT_KRB4LEVEL" "
5407 #include \"curl/curl.h\"
5410 if test "x$ac_cv_have_decl_CURLOPT_KRB4LEVEL" = xyes; then :
5411 ac_have_decl=1
5412 else
5413 ac_have_decl=0
5416 cat >>confdefs.h <<_ACEOF
5417 #define HAVE_DECL_CURLOPT_KRB4LEVEL $ac_have_decl
5418 _ACEOF
5419 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_VERIFYPEER" "ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" "
5420 #include \"curl/curl.h\"
5423 if test "x$ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" = xyes; then :
5424 ac_have_decl=1
5425 else
5426 ac_have_decl=0
5429 cat >>confdefs.h <<_ACEOF
5430 #define HAVE_DECL_CURLOPT_SSL_VERIFYPEER $ac_have_decl
5431 _ACEOF
5432 ac_fn_c_check_decl "$LINENO" "CURLOPT_CAINFO" "ac_cv_have_decl_CURLOPT_CAINFO" "
5433 #include \"curl/curl.h\"
5436 if test "x$ac_cv_have_decl_CURLOPT_CAINFO" = xyes; then :
5437 ac_have_decl=1
5438 else
5439 ac_have_decl=0
5442 cat >>confdefs.h <<_ACEOF
5443 #define HAVE_DECL_CURLOPT_CAINFO $ac_have_decl
5444 _ACEOF
5445 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXREDIRS" "ac_cv_have_decl_CURLOPT_MAXREDIRS" "
5446 #include \"curl/curl.h\"
5449 if test "x$ac_cv_have_decl_CURLOPT_MAXREDIRS" = xyes; then :
5450 ac_have_decl=1
5451 else
5452 ac_have_decl=0
5455 cat >>confdefs.h <<_ACEOF
5456 #define HAVE_DECL_CURLOPT_MAXREDIRS $ac_have_decl
5457 _ACEOF
5458 ac_fn_c_check_decl "$LINENO" "CURLOPT_FILETIME" "ac_cv_have_decl_CURLOPT_FILETIME" "
5459 #include \"curl/curl.h\"
5462 if test "x$ac_cv_have_decl_CURLOPT_FILETIME" = xyes; then :
5463 ac_have_decl=1
5464 else
5465 ac_have_decl=0
5468 cat >>confdefs.h <<_ACEOF
5469 #define HAVE_DECL_CURLOPT_FILETIME $ac_have_decl
5470 _ACEOF
5471 ac_fn_c_check_decl "$LINENO" "CURLOPT_TELNETOPTIONS" "ac_cv_have_decl_CURLOPT_TELNETOPTIONS" "
5472 #include \"curl/curl.h\"
5475 if test "x$ac_cv_have_decl_CURLOPT_TELNETOPTIONS" = xyes; then :
5476 ac_have_decl=1
5477 else
5478 ac_have_decl=0
5481 cat >>confdefs.h <<_ACEOF
5482 #define HAVE_DECL_CURLOPT_TELNETOPTIONS $ac_have_decl
5483 _ACEOF
5484 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXCONNECTS" "ac_cv_have_decl_CURLOPT_MAXCONNECTS" "
5485 #include \"curl/curl.h\"
5488 if test "x$ac_cv_have_decl_CURLOPT_MAXCONNECTS" = xyes; then :
5489 ac_have_decl=1
5490 else
5491 ac_have_decl=0
5494 cat >>confdefs.h <<_ACEOF
5495 #define HAVE_DECL_CURLOPT_MAXCONNECTS $ac_have_decl
5496 _ACEOF
5497 ac_fn_c_check_decl "$LINENO" "CURLOPT_CLOSEPOLICY" "ac_cv_have_decl_CURLOPT_CLOSEPOLICY" "
5498 #include \"curl/curl.h\"
5501 if test "x$ac_cv_have_decl_CURLOPT_CLOSEPOLICY" = xyes; then :
5502 ac_have_decl=1
5503 else
5504 ac_have_decl=0
5507 cat >>confdefs.h <<_ACEOF
5508 #define HAVE_DECL_CURLOPT_CLOSEPOLICY $ac_have_decl
5509 _ACEOF
5510 ac_fn_c_check_decl "$LINENO" "CURLOPT_FRESH_CONNECT" "ac_cv_have_decl_CURLOPT_FRESH_CONNECT" "
5511 #include \"curl/curl.h\"
5514 if test "x$ac_cv_have_decl_CURLOPT_FRESH_CONNECT" = xyes; then :
5515 ac_have_decl=1
5516 else
5517 ac_have_decl=0
5520 cat >>confdefs.h <<_ACEOF
5521 #define HAVE_DECL_CURLOPT_FRESH_CONNECT $ac_have_decl
5522 _ACEOF
5523 ac_fn_c_check_decl "$LINENO" "CURLOPT_FORBID_REUSE" "ac_cv_have_decl_CURLOPT_FORBID_REUSE" "
5524 #include \"curl/curl.h\"
5527 if test "x$ac_cv_have_decl_CURLOPT_FORBID_REUSE" = xyes; then :
5528 ac_have_decl=1
5529 else
5530 ac_have_decl=0
5533 cat >>confdefs.h <<_ACEOF
5534 #define HAVE_DECL_CURLOPT_FORBID_REUSE $ac_have_decl
5535 _ACEOF
5536 ac_fn_c_check_decl "$LINENO" "CURLOPT_RANDOM_FILE" "ac_cv_have_decl_CURLOPT_RANDOM_FILE" "
5537 #include \"curl/curl.h\"
5540 if test "x$ac_cv_have_decl_CURLOPT_RANDOM_FILE" = xyes; then :
5541 ac_have_decl=1
5542 else
5543 ac_have_decl=0
5546 cat >>confdefs.h <<_ACEOF
5547 #define HAVE_DECL_CURLOPT_RANDOM_FILE $ac_have_decl
5548 _ACEOF
5549 ac_fn_c_check_decl "$LINENO" "CURLOPT_EGDSOCKET" "ac_cv_have_decl_CURLOPT_EGDSOCKET" "
5550 #include \"curl/curl.h\"
5553 if test "x$ac_cv_have_decl_CURLOPT_EGDSOCKET" = xyes; then :
5554 ac_have_decl=1
5555 else
5556 ac_have_decl=0
5559 cat >>confdefs.h <<_ACEOF
5560 #define HAVE_DECL_CURLOPT_EGDSOCKET $ac_have_decl
5561 _ACEOF
5562 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECTTIMEOUT" "ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" "
5563 #include \"curl/curl.h\"
5566 if test "x$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" = xyes; then :
5567 ac_have_decl=1
5568 else
5569 ac_have_decl=0
5572 cat >>confdefs.h <<_ACEOF
5573 #define HAVE_DECL_CURLOPT_CONNECTTIMEOUT $ac_have_decl
5574 _ACEOF
5575 ac_fn_c_check_decl "$LINENO" "CURLOPT_HEADERFUNCTION" "ac_cv_have_decl_CURLOPT_HEADERFUNCTION" "
5576 #include \"curl/curl.h\"
5579 if test "x$ac_cv_have_decl_CURLOPT_HEADERFUNCTION" = xyes; then :
5580 ac_have_decl=1
5581 else
5582 ac_have_decl=0
5585 cat >>confdefs.h <<_ACEOF
5586 #define HAVE_DECL_CURLOPT_HEADERFUNCTION $ac_have_decl
5587 _ACEOF
5588 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPGET" "ac_cv_have_decl_CURLOPT_HTTPGET" "
5589 #include \"curl/curl.h\"
5592 if test "x$ac_cv_have_decl_CURLOPT_HTTPGET" = xyes; then :
5593 ac_have_decl=1
5594 else
5595 ac_have_decl=0
5598 cat >>confdefs.h <<_ACEOF
5599 #define HAVE_DECL_CURLOPT_HTTPGET $ac_have_decl
5600 _ACEOF
5601 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_VERIFYHOST" "ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" "
5602 #include \"curl/curl.h\"
5605 if test "x$ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" = xyes; then :
5606 ac_have_decl=1
5607 else
5608 ac_have_decl=0
5611 cat >>confdefs.h <<_ACEOF
5612 #define HAVE_DECL_CURLOPT_SSL_VERIFYHOST $ac_have_decl
5613 _ACEOF
5614 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIEJAR" "ac_cv_have_decl_CURLOPT_COOKIEJAR" "
5615 #include \"curl/curl.h\"
5618 if test "x$ac_cv_have_decl_CURLOPT_COOKIEJAR" = xyes; then :
5619 ac_have_decl=1
5620 else
5621 ac_have_decl=0
5624 cat >>confdefs.h <<_ACEOF
5625 #define HAVE_DECL_CURLOPT_COOKIEJAR $ac_have_decl
5626 _ACEOF
5627 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_CIPHER_LIST" "ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" "
5628 #include \"curl/curl.h\"
5631 if test "x$ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" = xyes; then :
5632 ac_have_decl=1
5633 else
5634 ac_have_decl=0
5637 cat >>confdefs.h <<_ACEOF
5638 #define HAVE_DECL_CURLOPT_SSL_CIPHER_LIST $ac_have_decl
5639 _ACEOF
5640 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_VERSION" "ac_cv_have_decl_CURLOPT_HTTP_VERSION" "
5641 #include \"curl/curl.h\"
5644 if test "x$ac_cv_have_decl_CURLOPT_HTTP_VERSION" = xyes; then :
5645 ac_have_decl=1
5646 else
5647 ac_have_decl=0
5650 cat >>confdefs.h <<_ACEOF
5651 #define HAVE_DECL_CURLOPT_HTTP_VERSION $ac_have_decl
5652 _ACEOF
5653 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_USE_EPSV" "ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" "
5654 #include \"curl/curl.h\"
5657 if test "x$ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" = xyes; then :
5658 ac_have_decl=1
5659 else
5660 ac_have_decl=0
5663 cat >>confdefs.h <<_ACEOF
5664 #define HAVE_DECL_CURLOPT_FTP_USE_EPSV $ac_have_decl
5665 _ACEOF
5666 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERTTYPE" "ac_cv_have_decl_CURLOPT_SSLCERTTYPE" "
5667 #include \"curl/curl.h\"
5670 if test "x$ac_cv_have_decl_CURLOPT_SSLCERTTYPE" = xyes; then :
5671 ac_have_decl=1
5672 else
5673 ac_have_decl=0
5676 cat >>confdefs.h <<_ACEOF
5677 #define HAVE_DECL_CURLOPT_SSLCERTTYPE $ac_have_decl
5678 _ACEOF
5679 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEY" "ac_cv_have_decl_CURLOPT_SSLKEY" "
5680 #include \"curl/curl.h\"
5683 if test "x$ac_cv_have_decl_CURLOPT_SSLKEY" = xyes; then :
5684 ac_have_decl=1
5685 else
5686 ac_have_decl=0
5689 cat >>confdefs.h <<_ACEOF
5690 #define HAVE_DECL_CURLOPT_SSLKEY $ac_have_decl
5691 _ACEOF
5692 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEYTYPE" "ac_cv_have_decl_CURLOPT_SSLKEYTYPE" "
5693 #include \"curl/curl.h\"
5696 if test "x$ac_cv_have_decl_CURLOPT_SSLKEYTYPE" = xyes; then :
5697 ac_have_decl=1
5698 else
5699 ac_have_decl=0
5702 cat >>confdefs.h <<_ACEOF
5703 #define HAVE_DECL_CURLOPT_SSLKEYTYPE $ac_have_decl
5704 _ACEOF
5705 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLENGINE" "ac_cv_have_decl_CURLOPT_SSLENGINE" "
5706 #include \"curl/curl.h\"
5709 if test "x$ac_cv_have_decl_CURLOPT_SSLENGINE" = xyes; then :
5710 ac_have_decl=1
5711 else
5712 ac_have_decl=0
5715 cat >>confdefs.h <<_ACEOF
5716 #define HAVE_DECL_CURLOPT_SSLENGINE $ac_have_decl
5717 _ACEOF
5718 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLENGINE_DEFAULT" "ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" "
5719 #include \"curl/curl.h\"
5722 if test "x$ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" = xyes; then :
5723 ac_have_decl=1
5724 else
5725 ac_have_decl=0
5728 cat >>confdefs.h <<_ACEOF
5729 #define HAVE_DECL_CURLOPT_SSLENGINE_DEFAULT $ac_have_decl
5730 _ACEOF
5731 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_USE_GLOBAL_CACHE" "ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" "
5732 #include \"curl/curl.h\"
5735 if test "x$ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" = xyes; then :
5736 ac_have_decl=1
5737 else
5738 ac_have_decl=0
5741 cat >>confdefs.h <<_ACEOF
5742 #define HAVE_DECL_CURLOPT_DNS_USE_GLOBAL_CACHE $ac_have_decl
5743 _ACEOF
5744 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_CACHE_TIMEOUT" "ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" "
5745 #include \"curl/curl.h\"
5748 if test "x$ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" = xyes; then :
5749 ac_have_decl=1
5750 else
5751 ac_have_decl=0
5754 cat >>confdefs.h <<_ACEOF
5755 #define HAVE_DECL_CURLOPT_DNS_CACHE_TIMEOUT $ac_have_decl
5756 _ACEOF
5757 ac_fn_c_check_decl "$LINENO" "CURLOPT_PREQUOTE" "ac_cv_have_decl_CURLOPT_PREQUOTE" "
5758 #include \"curl/curl.h\"
5761 if test "x$ac_cv_have_decl_CURLOPT_PREQUOTE" = xyes; then :
5762 ac_have_decl=1
5763 else
5764 ac_have_decl=0
5767 cat >>confdefs.h <<_ACEOF
5768 #define HAVE_DECL_CURLOPT_PREQUOTE $ac_have_decl
5769 _ACEOF
5770 ac_fn_c_check_decl "$LINENO" "CURLOPT_DEBUGFUNCTION" "ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" "
5771 #include \"curl/curl.h\"
5774 if test "x$ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" = xyes; then :
5775 ac_have_decl=1
5776 else
5777 ac_have_decl=0
5780 cat >>confdefs.h <<_ACEOF
5781 #define HAVE_DECL_CURLOPT_DEBUGFUNCTION $ac_have_decl
5782 _ACEOF
5783 ac_fn_c_check_decl "$LINENO" "CURLOPT_DEBUGDATA" "ac_cv_have_decl_CURLOPT_DEBUGDATA" "
5784 #include \"curl/curl.h\"
5787 if test "x$ac_cv_have_decl_CURLOPT_DEBUGDATA" = xyes; then :
5788 ac_have_decl=1
5789 else
5790 ac_have_decl=0
5793 cat >>confdefs.h <<_ACEOF
5794 #define HAVE_DECL_CURLOPT_DEBUGDATA $ac_have_decl
5795 _ACEOF
5796 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIESESSION" "ac_cv_have_decl_CURLOPT_COOKIESESSION" "
5797 #include \"curl/curl.h\"
5800 if test "x$ac_cv_have_decl_CURLOPT_COOKIESESSION" = xyes; then :
5801 ac_have_decl=1
5802 else
5803 ac_have_decl=0
5806 cat >>confdefs.h <<_ACEOF
5807 #define HAVE_DECL_CURLOPT_COOKIESESSION $ac_have_decl
5808 _ACEOF
5809 ac_fn_c_check_decl "$LINENO" "CURLOPT_CAPATH" "ac_cv_have_decl_CURLOPT_CAPATH" "
5810 #include \"curl/curl.h\"
5813 if test "x$ac_cv_have_decl_CURLOPT_CAPATH" = xyes; then :
5814 ac_have_decl=1
5815 else
5816 ac_have_decl=0
5819 cat >>confdefs.h <<_ACEOF
5820 #define HAVE_DECL_CURLOPT_CAPATH $ac_have_decl
5821 _ACEOF
5822 ac_fn_c_check_decl "$LINENO" "CURLOPT_BUFFERSIZE" "ac_cv_have_decl_CURLOPT_BUFFERSIZE" "
5823 #include \"curl/curl.h\"
5826 if test "x$ac_cv_have_decl_CURLOPT_BUFFERSIZE" = xyes; then :
5827 ac_have_decl=1
5828 else
5829 ac_have_decl=0
5832 cat >>confdefs.h <<_ACEOF
5833 #define HAVE_DECL_CURLOPT_BUFFERSIZE $ac_have_decl
5834 _ACEOF
5835 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOSIGNAL" "ac_cv_have_decl_CURLOPT_NOSIGNAL" "
5836 #include \"curl/curl.h\"
5839 if test "x$ac_cv_have_decl_CURLOPT_NOSIGNAL" = xyes; then :
5840 ac_have_decl=1
5841 else
5842 ac_have_decl=0
5845 cat >>confdefs.h <<_ACEOF
5846 #define HAVE_DECL_CURLOPT_NOSIGNAL $ac_have_decl
5847 _ACEOF
5848 ac_fn_c_check_decl "$LINENO" "CURLOPT_SHARE" "ac_cv_have_decl_CURLOPT_SHARE" "
5849 #include \"curl/curl.h\"
5852 if test "x$ac_cv_have_decl_CURLOPT_SHARE" = xyes; then :
5853 ac_have_decl=1
5854 else
5855 ac_have_decl=0
5858 cat >>confdefs.h <<_ACEOF
5859 #define HAVE_DECL_CURLOPT_SHARE $ac_have_decl
5860 _ACEOF
5861 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYTYPE" "ac_cv_have_decl_CURLOPT_PROXYTYPE" "
5862 #include \"curl/curl.h\"
5865 if test "x$ac_cv_have_decl_CURLOPT_PROXYTYPE" = xyes; then :
5866 ac_have_decl=1
5867 else
5868 ac_have_decl=0
5871 cat >>confdefs.h <<_ACEOF
5872 #define HAVE_DECL_CURLOPT_PROXYTYPE $ac_have_decl
5873 _ACEOF
5874 ac_fn_c_check_decl "$LINENO" "CURLOPT_ENCODING" "ac_cv_have_decl_CURLOPT_ENCODING" "
5875 #include \"curl/curl.h\"
5878 if test "x$ac_cv_have_decl_CURLOPT_ENCODING" = xyes; then :
5879 ac_have_decl=1
5880 else
5881 ac_have_decl=0
5884 cat >>confdefs.h <<_ACEOF
5885 #define HAVE_DECL_CURLOPT_ENCODING $ac_have_decl
5886 _ACEOF
5887 ac_fn_c_check_decl "$LINENO" "CURLOPT_PRIVATE" "ac_cv_have_decl_CURLOPT_PRIVATE" "
5888 #include \"curl/curl.h\"
5891 if test "x$ac_cv_have_decl_CURLOPT_PRIVATE" = xyes; then :
5892 ac_have_decl=1
5893 else
5894 ac_have_decl=0
5897 cat >>confdefs.h <<_ACEOF
5898 #define HAVE_DECL_CURLOPT_PRIVATE $ac_have_decl
5899 _ACEOF
5900 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP200ALIASES" "ac_cv_have_decl_CURLOPT_HTTP200ALIASES" "
5901 #include \"curl/curl.h\"
5904 if test "x$ac_cv_have_decl_CURLOPT_HTTP200ALIASES" = xyes; then :
5905 ac_have_decl=1
5906 else
5907 ac_have_decl=0
5910 cat >>confdefs.h <<_ACEOF
5911 #define HAVE_DECL_CURLOPT_HTTP200ALIASES $ac_have_decl
5912 _ACEOF
5913 ac_fn_c_check_decl "$LINENO" "CURLOPT_UNRESTRICTED_AUTH" "ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" "
5914 #include \"curl/curl.h\"
5917 if test "x$ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" = xyes; then :
5918 ac_have_decl=1
5919 else
5920 ac_have_decl=0
5923 cat >>confdefs.h <<_ACEOF
5924 #define HAVE_DECL_CURLOPT_UNRESTRICTED_AUTH $ac_have_decl
5925 _ACEOF
5926 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_USE_EPRT" "ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" "
5927 #include \"curl/curl.h\"
5930 if test "x$ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" = xyes; then :
5931 ac_have_decl=1
5932 else
5933 ac_have_decl=0
5936 cat >>confdefs.h <<_ACEOF
5937 #define HAVE_DECL_CURLOPT_FTP_USE_EPRT $ac_have_decl
5938 _ACEOF
5939 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPAUTH" "ac_cv_have_decl_CURLOPT_HTTPAUTH" "
5940 #include \"curl/curl.h\"
5943 if test "x$ac_cv_have_decl_CURLOPT_HTTPAUTH" = xyes; then :
5944 ac_have_decl=1
5945 else
5946 ac_have_decl=0
5949 cat >>confdefs.h <<_ACEOF
5950 #define HAVE_DECL_CURLOPT_HTTPAUTH $ac_have_decl
5951 _ACEOF
5952 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_CREATE_MISSING_DIRS" "ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" "
5953 #include \"curl/curl.h\"
5956 if test "x$ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" = xyes; then :
5957 ac_have_decl=1
5958 else
5959 ac_have_decl=0
5962 cat >>confdefs.h <<_ACEOF
5963 #define HAVE_DECL_CURLOPT_FTP_CREATE_MISSING_DIRS $ac_have_decl
5964 _ACEOF
5965 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYAUTH" "ac_cv_have_decl_CURLOPT_PROXYAUTH" "
5966 #include \"curl/curl.h\"
5969 if test "x$ac_cv_have_decl_CURLOPT_PROXYAUTH" = xyes; then :
5970 ac_have_decl=1
5971 else
5972 ac_have_decl=0
5975 cat >>confdefs.h <<_ACEOF
5976 #define HAVE_DECL_CURLOPT_PROXYAUTH $ac_have_decl
5977 _ACEOF
5978 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_RESPONSE_TIMEOUT" "ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" "
5979 #include \"curl/curl.h\"
5982 if test "x$ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" = xyes; then :
5983 ac_have_decl=1
5984 else
5985 ac_have_decl=0
5988 cat >>confdefs.h <<_ACEOF
5989 #define HAVE_DECL_CURLOPT_FTP_RESPONSE_TIMEOUT $ac_have_decl
5990 _ACEOF
5991 ac_fn_c_check_decl "$LINENO" "CURLOPT_IPRESOLVE" "ac_cv_have_decl_CURLOPT_IPRESOLVE" "
5992 #include \"curl/curl.h\"
5995 if test "x$ac_cv_have_decl_CURLOPT_IPRESOLVE" = xyes; then :
5996 ac_have_decl=1
5997 else
5998 ac_have_decl=0
6001 cat >>confdefs.h <<_ACEOF
6002 #define HAVE_DECL_CURLOPT_IPRESOLVE $ac_have_decl
6003 _ACEOF
6004 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXFILESIZE" "ac_cv_have_decl_CURLOPT_MAXFILESIZE" "
6005 #include \"curl/curl.h\"
6008 if test "x$ac_cv_have_decl_CURLOPT_MAXFILESIZE" = xyes; then :
6009 ac_have_decl=1
6010 else
6011 ac_have_decl=0
6014 cat >>confdefs.h <<_ACEOF
6015 #define HAVE_DECL_CURLOPT_MAXFILESIZE $ac_have_decl
6016 _ACEOF
6017 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILESIZE_LARGE" "ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" "
6018 #include \"curl/curl.h\"
6021 if test "x$ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" = xyes; then :
6022 ac_have_decl=1
6023 else
6024 ac_have_decl=0
6027 cat >>confdefs.h <<_ACEOF
6028 #define HAVE_DECL_CURLOPT_INFILESIZE_LARGE $ac_have_decl
6029 _ACEOF
6030 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESUME_FROM_LARGE" "ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE" "
6031 #include \"curl/curl.h\"
6034 if test "x$ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE" = xyes; then :
6035 ac_have_decl=1
6036 else
6037 ac_have_decl=0
6040 cat >>confdefs.h <<_ACEOF
6041 #define HAVE_DECL_CURLOPT_RESUME_FROM_LARGE $ac_have_decl
6042 _ACEOF
6043 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXFILESIZE_LARGE" "ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE" "
6044 #include \"curl/curl.h\"
6047 if test "x$ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE" = xyes; then :
6048 ac_have_decl=1
6049 else
6050 ac_have_decl=0
6053 cat >>confdefs.h <<_ACEOF
6054 #define HAVE_DECL_CURLOPT_MAXFILESIZE_LARGE $ac_have_decl
6055 _ACEOF
6056 ac_fn_c_check_decl "$LINENO" "CURLOPT_NETRC_FILE" "ac_cv_have_decl_CURLOPT_NETRC_FILE" "
6057 #include \"curl/curl.h\"
6060 if test "x$ac_cv_have_decl_CURLOPT_NETRC_FILE" = xyes; then :
6061 ac_have_decl=1
6062 else
6063 ac_have_decl=0
6066 cat >>confdefs.h <<_ACEOF
6067 #define HAVE_DECL_CURLOPT_NETRC_FILE $ac_have_decl
6068 _ACEOF
6069 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SSL" "ac_cv_have_decl_CURLOPT_FTP_SSL" "
6070 #include \"curl/curl.h\"
6073 if test "x$ac_cv_have_decl_CURLOPT_FTP_SSL" = xyes; then :
6074 ac_have_decl=1
6075 else
6076 ac_have_decl=0
6079 cat >>confdefs.h <<_ACEOF
6080 #define HAVE_DECL_CURLOPT_FTP_SSL $ac_have_decl
6081 _ACEOF
6082 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDSIZE_LARGE" "ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" "
6083 #include \"curl/curl.h\"
6086 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" = xyes; then :
6087 ac_have_decl=1
6088 else
6089 ac_have_decl=0
6092 cat >>confdefs.h <<_ACEOF
6093 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE_LARGE $ac_have_decl
6094 _ACEOF
6095 ac_fn_c_check_decl "$LINENO" "CURLOPT_TCP_NODELAY" "ac_cv_have_decl_CURLOPT_TCP_NODELAY" "
6096 #include \"curl/curl.h\"
6099 if test "x$ac_cv_have_decl_CURLOPT_TCP_NODELAY" = xyes; then :
6100 ac_have_decl=1
6101 else
6102 ac_have_decl=0
6105 cat >>confdefs.h <<_ACEOF
6106 #define HAVE_DECL_CURLOPT_TCP_NODELAY $ac_have_decl
6107 _ACEOF
6108 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPSSLAUTH" "ac_cv_have_decl_CURLOPT_FTPSSLAUTH" "
6109 #include \"curl/curl.h\"
6112 if test "x$ac_cv_have_decl_CURLOPT_FTPSSLAUTH" = xyes; then :
6113 ac_have_decl=1
6114 else
6115 ac_have_decl=0
6118 cat >>confdefs.h <<_ACEOF
6119 #define HAVE_DECL_CURLOPT_FTPSSLAUTH $ac_have_decl
6120 _ACEOF
6121 ac_fn_c_check_decl "$LINENO" "CURLOPT_IOCTLFUNCTION" "ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" "
6122 #include \"curl/curl.h\"
6125 if test "x$ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" = xyes; then :
6126 ac_have_decl=1
6127 else
6128 ac_have_decl=0
6131 cat >>confdefs.h <<_ACEOF
6132 #define HAVE_DECL_CURLOPT_IOCTLFUNCTION $ac_have_decl
6133 _ACEOF
6134 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_ACCOUNT" "ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" "
6135 #include \"curl/curl.h\"
6138 if test "x$ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" = xyes; then :
6139 ac_have_decl=1
6140 else
6141 ac_have_decl=0
6144 cat >>confdefs.h <<_ACEOF
6145 #define HAVE_DECL_CURLOPT_FTP_ACCOUNT $ac_have_decl
6146 _ACEOF
6147 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIELIST" "ac_cv_have_decl_CURLOPT_COOKIELIST" "
6148 #include \"curl/curl.h\"
6151 if test "x$ac_cv_have_decl_CURLOPT_COOKIELIST" = xyes; then :
6152 ac_have_decl=1
6153 else
6154 ac_have_decl=0
6157 cat >>confdefs.h <<_ACEOF
6158 #define HAVE_DECL_CURLOPT_COOKIELIST $ac_have_decl
6159 _ACEOF
6160 ac_fn_c_check_decl "$LINENO" "CURLOPT_IGNORE_CONTENT_LENGTH" "ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" "
6161 #include \"curl/curl.h\"
6164 if test "x$ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" = xyes; then :
6165 ac_have_decl=1
6166 else
6167 ac_have_decl=0
6170 cat >>confdefs.h <<_ACEOF
6171 #define HAVE_DECL_CURLOPT_IGNORE_CONTENT_LENGTH $ac_have_decl
6172 _ACEOF
6173 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SKIP_PASV_IP" "ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" "
6174 #include \"curl/curl.h\"
6177 if test "x$ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" = xyes; then :
6178 ac_have_decl=1
6179 else
6180 ac_have_decl=0
6183 cat >>confdefs.h <<_ACEOF
6184 #define HAVE_DECL_CURLOPT_FTP_SKIP_PASV_IP $ac_have_decl
6185 _ACEOF
6186 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_FILEMETHOD" "ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" "
6187 #include \"curl/curl.h\"
6190 if test "x$ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" = xyes; then :
6191 ac_have_decl=1
6192 else
6193 ac_have_decl=0
6196 cat >>confdefs.h <<_ACEOF
6197 #define HAVE_DECL_CURLOPT_FTP_FILEMETHOD $ac_have_decl
6198 _ACEOF
6199 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOCALPORT" "ac_cv_have_decl_CURLOPT_LOCALPORT" "
6200 #include \"curl/curl.h\"
6203 if test "x$ac_cv_have_decl_CURLOPT_LOCALPORT" = xyes; then :
6204 ac_have_decl=1
6205 else
6206 ac_have_decl=0
6209 cat >>confdefs.h <<_ACEOF
6210 #define HAVE_DECL_CURLOPT_LOCALPORT $ac_have_decl
6211 _ACEOF
6212 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOCALPORTRANGE" "ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" "
6213 #include \"curl/curl.h\"
6216 if test "x$ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" = xyes; then :
6217 ac_have_decl=1
6218 else
6219 ac_have_decl=0
6222 cat >>confdefs.h <<_ACEOF
6223 #define HAVE_DECL_CURLOPT_LOCALPORTRANGE $ac_have_decl
6224 _ACEOF
6225 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECT_ONLY" "ac_cv_have_decl_CURLOPT_CONNECT_ONLY" "
6226 #include \"curl/curl.h\"
6229 if test "x$ac_cv_have_decl_CURLOPT_CONNECT_ONLY" = xyes; then :
6230 ac_have_decl=1
6231 else
6232 ac_have_decl=0
6235 cat >>confdefs.h <<_ACEOF
6236 #define HAVE_DECL_CURLOPT_CONNECT_ONLY $ac_have_decl
6237 _ACEOF
6238 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAX_SEND_SPEED_LARGE" "ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" "
6239 #include \"curl/curl.h\"
6242 if test "x$ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" = xyes; then :
6243 ac_have_decl=1
6244 else
6245 ac_have_decl=0
6248 cat >>confdefs.h <<_ACEOF
6249 #define HAVE_DECL_CURLOPT_MAX_SEND_SPEED_LARGE $ac_have_decl
6250 _ACEOF
6251 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAX_RECV_SPEED_LARGE" "ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE" "
6252 #include \"curl/curl.h\"
6255 if test "x$ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE" = xyes; then :
6256 ac_have_decl=1
6257 else
6258 ac_have_decl=0
6261 cat >>confdefs.h <<_ACEOF
6262 #define HAVE_DECL_CURLOPT_MAX_RECV_SPEED_LARGE $ac_have_decl
6263 _ACEOF
6264 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_ALTERNATIVE_TO_USER" "ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" "
6265 #include \"curl/curl.h\"
6268 if test "x$ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" = xyes; then :
6269 ac_have_decl=1
6270 else
6271 ac_have_decl=0
6274 cat >>confdefs.h <<_ACEOF
6275 #define HAVE_DECL_CURLOPT_FTP_ALTERNATIVE_TO_USER $ac_have_decl
6276 _ACEOF
6277 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_SESSIONID_CACHE" "ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" "
6278 #include \"curl/curl.h\"
6281 if test "x$ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" = xyes; then :
6282 ac_have_decl=1
6283 else
6284 ac_have_decl=0
6287 cat >>confdefs.h <<_ACEOF
6288 #define HAVE_DECL_CURLOPT_SSL_SESSIONID_CACHE $ac_have_decl
6289 _ACEOF
6290 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_AUTH_TYPES" "ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" "
6291 #include \"curl/curl.h\"
6294 if test "x$ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" = xyes; then :
6295 ac_have_decl=1
6296 else
6297 ac_have_decl=0
6300 cat >>confdefs.h <<_ACEOF
6301 #define HAVE_DECL_CURLOPT_SSH_AUTH_TYPES $ac_have_decl
6302 _ACEOF
6303 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_PUBLIC_KEYFILE" "ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" "
6304 #include \"curl/curl.h\"
6307 if test "x$ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" = xyes; then :
6308 ac_have_decl=1
6309 else
6310 ac_have_decl=0
6313 cat >>confdefs.h <<_ACEOF
6314 #define HAVE_DECL_CURLOPT_SSH_PUBLIC_KEYFILE $ac_have_decl
6315 _ACEOF
6316 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_PRIVATE_KEYFILE" "ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE" "
6317 #include \"curl/curl.h\"
6320 if test "x$ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE" = xyes; then :
6321 ac_have_decl=1
6322 else
6323 ac_have_decl=0
6326 cat >>confdefs.h <<_ACEOF
6327 #define HAVE_DECL_CURLOPT_SSH_PRIVATE_KEYFILE $ac_have_decl
6328 _ACEOF
6329 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SSL_CCC" "ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" "
6330 #include \"curl/curl.h\"
6333 if test "x$ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" = xyes; then :
6334 ac_have_decl=1
6335 else
6336 ac_have_decl=0
6339 cat >>confdefs.h <<_ACEOF
6340 #define HAVE_DECL_CURLOPT_FTP_SSL_CCC $ac_have_decl
6341 _ACEOF
6342 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEOUT_MS" "ac_cv_have_decl_CURLOPT_TIMEOUT_MS" "
6343 #include \"curl/curl.h\"
6346 if test "x$ac_cv_have_decl_CURLOPT_TIMEOUT_MS" = xyes; then :
6347 ac_have_decl=1
6348 else
6349 ac_have_decl=0
6352 cat >>confdefs.h <<_ACEOF
6353 #define HAVE_DECL_CURLOPT_TIMEOUT_MS $ac_have_decl
6354 _ACEOF
6355 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECTTIMEOUT_MS" "ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS" "
6356 #include \"curl/curl.h\"
6359 if test "x$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS" = xyes; then :
6360 ac_have_decl=1
6361 else
6362 ac_have_decl=0
6365 cat >>confdefs.h <<_ACEOF
6366 #define HAVE_DECL_CURLOPT_CONNECTTIMEOUT_MS $ac_have_decl
6367 _ACEOF
6368 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_TRANSFER_DECODING" "ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" "
6369 #include \"curl/curl.h\"
6372 if test "x$ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" = xyes; then :
6373 ac_have_decl=1
6374 else
6375 ac_have_decl=0
6378 cat >>confdefs.h <<_ACEOF
6379 #define HAVE_DECL_CURLOPT_HTTP_TRANSFER_DECODING $ac_have_decl
6380 _ACEOF
6381 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_CONTENT_DECODING" "ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING" "
6382 #include \"curl/curl.h\"
6385 if test "x$ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING" = xyes; then :
6386 ac_have_decl=1
6387 else
6388 ac_have_decl=0
6391 cat >>confdefs.h <<_ACEOF
6392 #define HAVE_DECL_CURLOPT_HTTP_CONTENT_DECODING $ac_have_decl
6393 _ACEOF
6394 ac_fn_c_check_decl "$LINENO" "CURLOPT_NEW_FILE_PERMS" "ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" "
6395 #include \"curl/curl.h\"
6398 if test "x$ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" = xyes; then :
6399 ac_have_decl=1
6400 else
6401 ac_have_decl=0
6404 cat >>confdefs.h <<_ACEOF
6405 #define HAVE_DECL_CURLOPT_NEW_FILE_PERMS $ac_have_decl
6406 _ACEOF
6407 ac_fn_c_check_decl "$LINENO" "CURLOPT_NEW_DIRECTORY_PERMS" "ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS" "
6408 #include \"curl/curl.h\"
6411 if test "x$ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS" = xyes; then :
6412 ac_have_decl=1
6413 else
6414 ac_have_decl=0
6417 cat >>confdefs.h <<_ACEOF
6418 #define HAVE_DECL_CURLOPT_NEW_DIRECTORY_PERMS $ac_have_decl
6419 _ACEOF
6420 ac_fn_c_check_decl "$LINENO" "CURLOPT_POST301" "ac_cv_have_decl_CURLOPT_POST301" "
6421 #include \"curl/curl.h\"
6424 if test "x$ac_cv_have_decl_CURLOPT_POST301" = xyes; then :
6425 ac_have_decl=1
6426 else
6427 ac_have_decl=0
6430 cat >>confdefs.h <<_ACEOF
6431 #define HAVE_DECL_CURLOPT_POST301 $ac_have_decl
6432 _ACEOF
6433 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" "ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" "
6434 #include \"curl/curl.h\"
6437 if test "x$ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" = xyes; then :
6438 ac_have_decl=1
6439 else
6440 ac_have_decl=0
6443 cat >>confdefs.h <<_ACEOF
6444 #define HAVE_DECL_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 $ac_have_decl
6445 _ACEOF
6446 ac_fn_c_check_decl "$LINENO" "CURLOPT_COPYPOSTFIELDS" "ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" "
6447 #include \"curl/curl.h\"
6450 if test "x$ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" = xyes; then :
6451 ac_have_decl=1
6452 else
6453 ac_have_decl=0
6456 cat >>confdefs.h <<_ACEOF
6457 #define HAVE_DECL_CURLOPT_COPYPOSTFIELDS $ac_have_decl
6458 _ACEOF
6459 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXY_TRANSFER_MODE" "ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" "
6460 #include \"curl/curl.h\"
6463 if test "x$ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" = xyes; then :
6464 ac_have_decl=1
6465 else
6466 ac_have_decl=0
6469 cat >>confdefs.h <<_ACEOF
6470 #define HAVE_DECL_CURLOPT_PROXY_TRANSFER_MODE $ac_have_decl
6471 _ACEOF
6472 ac_fn_c_check_decl "$LINENO" "CURLOPT_SEEKFUNCTION" "ac_cv_have_decl_CURLOPT_SEEKFUNCTION" "
6473 #include \"curl/curl.h\"
6476 if test "x$ac_cv_have_decl_CURLOPT_SEEKFUNCTION" = xyes; then :
6477 ac_have_decl=1
6478 else
6479 ac_have_decl=0
6482 cat >>confdefs.h <<_ACEOF
6483 #define HAVE_DECL_CURLOPT_SEEKFUNCTION $ac_have_decl
6484 _ACEOF
6485 ac_fn_c_check_decl "$LINENO" "CURLOPT_OPENSOCKETFUNCTION" "ac_cv_have_decl_CURLOPT_OPENSOCKETFUNCTION" "
6486 #include \"curl/curl.h\"
6489 if test "x$ac_cv_have_decl_CURLOPT_OPENSOCKETFUNCTION" = xyes; then :
6490 ac_have_decl=1
6491 else
6492 ac_have_decl=0
6495 cat >>confdefs.h <<_ACEOF
6496 #define HAVE_DECL_CURLOPT_OPENSOCKETFUNCTION $ac_have_decl
6497 _ACEOF
6498 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROTOCOLS" "ac_cv_have_decl_CURLOPT_PROTOCOLS" "
6499 #include \"curl/curl.h\"
6502 if test "x$ac_cv_have_decl_CURLOPT_PROTOCOLS" = xyes; then :
6503 ac_have_decl=1
6504 else
6505 ac_have_decl=0
6508 cat >>confdefs.h <<_ACEOF
6509 #define HAVE_DECL_CURLOPT_PROTOCOLS $ac_have_decl
6510 _ACEOF
6511 ac_fn_c_check_decl "$LINENO" "CURLOPT_REDIR_PROTOCOLS" "ac_cv_have_decl_CURLOPT_REDIR_PROTOCOLS" "
6512 #include \"curl/curl.h\"
6515 if test "x$ac_cv_have_decl_CURLOPT_REDIR_PROTOCOLS" = xyes; then :
6516 ac_have_decl=1
6517 else
6518 ac_have_decl=0
6521 cat >>confdefs.h <<_ACEOF
6522 #define HAVE_DECL_CURLOPT_REDIR_PROTOCOLS $ac_have_decl
6523 _ACEOF
6524 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESOLVE" "ac_cv_have_decl_CURLOPT_RESOLVE" "
6525 #include \"curl/curl.h\"
6528 if test "x$ac_cv_have_decl_CURLOPT_RESOLVE" = xyes; then :
6529 ac_have_decl=1
6530 else
6531 ac_have_decl=0
6534 cat >>confdefs.h <<_ACEOF
6535 #define HAVE_DECL_CURLOPT_RESOLVE $ac_have_decl
6536 _ACEOF
6537 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_SERVERS" "ac_cv_have_decl_CURLOPT_DNS_SERVERS" "
6538 #include \"curl/curl.h\"
6541 if test "x$ac_cv_have_decl_CURLOPT_DNS_SERVERS" = xyes; then :
6542 ac_have_decl=1
6543 else
6544 ac_have_decl=0
6547 cat >>confdefs.h <<_ACEOF
6548 #define HAVE_DECL_CURLOPT_DNS_SERVERS $ac_have_decl
6549 _ACEOF
6550 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAIL_FROM" "ac_cv_have_decl_CURLOPT_MAIL_FROM" "
6551 #include \"curl/curl.h\"
6554 if test "x$ac_cv_have_decl_CURLOPT_MAIL_FROM" = xyes; then :
6555 ac_have_decl=1
6556 else
6557 ac_have_decl=0
6560 cat >>confdefs.h <<_ACEOF
6561 #define HAVE_DECL_CURLOPT_MAIL_FROM $ac_have_decl
6562 _ACEOF
6563 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAIL_RCPT" "ac_cv_have_decl_CURLOPT_MAIL_RCPT" "
6564 #include \"curl/curl.h\"
6567 if test "x$ac_cv_have_decl_CURLOPT_MAIL_RCPT" = xyes; then :
6568 ac_have_decl=1
6569 else
6570 ac_have_decl=0
6573 cat >>confdefs.h <<_ACEOF
6574 #define HAVE_DECL_CURLOPT_MAIL_RCPT $ac_have_decl
6575 _ACEOF
6576 ac_fn_c_check_decl "$LINENO" "CURLINFO_EFFECTIVE_URL" "ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" "
6577 #include \"curl/curl.h\"
6580 if test "x$ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" = xyes; then :
6581 ac_have_decl=1
6582 else
6583 ac_have_decl=0
6586 cat >>confdefs.h <<_ACEOF
6587 #define HAVE_DECL_CURLINFO_EFFECTIVE_URL $ac_have_decl
6588 _ACEOF
6589 ac_fn_c_check_decl "$LINENO" "CURLINFO_RESPONSE_CODE" "ac_cv_have_decl_CURLINFO_RESPONSE_CODE" "
6590 #include \"curl/curl.h\"
6593 if test "x$ac_cv_have_decl_CURLINFO_RESPONSE_CODE" = xyes; then :
6594 ac_have_decl=1
6595 else
6596 ac_have_decl=0
6599 cat >>confdefs.h <<_ACEOF
6600 #define HAVE_DECL_CURLINFO_RESPONSE_CODE $ac_have_decl
6601 _ACEOF
6602 ac_fn_c_check_decl "$LINENO" "CURLINFO_TOTAL_TIME" "ac_cv_have_decl_CURLINFO_TOTAL_TIME" "
6603 #include \"curl/curl.h\"
6606 if test "x$ac_cv_have_decl_CURLINFO_TOTAL_TIME" = xyes; then :
6607 ac_have_decl=1
6608 else
6609 ac_have_decl=0
6612 cat >>confdefs.h <<_ACEOF
6613 #define HAVE_DECL_CURLINFO_TOTAL_TIME $ac_have_decl
6614 _ACEOF
6615 ac_fn_c_check_decl "$LINENO" "CURLINFO_NAMELOOKUP_TIME" "ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" "
6616 #include \"curl/curl.h\"
6619 if test "x$ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" = xyes; then :
6620 ac_have_decl=1
6621 else
6622 ac_have_decl=0
6625 cat >>confdefs.h <<_ACEOF
6626 #define HAVE_DECL_CURLINFO_NAMELOOKUP_TIME $ac_have_decl
6627 _ACEOF
6628 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONNECT_TIME" "ac_cv_have_decl_CURLINFO_CONNECT_TIME" "
6629 #include \"curl/curl.h\"
6632 if test "x$ac_cv_have_decl_CURLINFO_CONNECT_TIME" = xyes; then :
6633 ac_have_decl=1
6634 else
6635 ac_have_decl=0
6638 cat >>confdefs.h <<_ACEOF
6639 #define HAVE_DECL_CURLINFO_CONNECT_TIME $ac_have_decl
6640 _ACEOF
6641 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRETRANSFER_TIME" "ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" "
6642 #include \"curl/curl.h\"
6645 if test "x$ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" = xyes; then :
6646 ac_have_decl=1
6647 else
6648 ac_have_decl=0
6651 cat >>confdefs.h <<_ACEOF
6652 #define HAVE_DECL_CURLINFO_PRETRANSFER_TIME $ac_have_decl
6653 _ACEOF
6654 ac_fn_c_check_decl "$LINENO" "CURLINFO_SIZE_UPLOAD" "ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" "
6655 #include \"curl/curl.h\"
6658 if test "x$ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" = xyes; then :
6659 ac_have_decl=1
6660 else
6661 ac_have_decl=0
6664 cat >>confdefs.h <<_ACEOF
6665 #define HAVE_DECL_CURLINFO_SIZE_UPLOAD $ac_have_decl
6666 _ACEOF
6667 ac_fn_c_check_decl "$LINENO" "CURLINFO_SIZE_DOWNLOAD" "ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" "
6668 #include \"curl/curl.h\"
6671 if test "x$ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" = xyes; then :
6672 ac_have_decl=1
6673 else
6674 ac_have_decl=0
6677 cat >>confdefs.h <<_ACEOF
6678 #define HAVE_DECL_CURLINFO_SIZE_DOWNLOAD $ac_have_decl
6679 _ACEOF
6680 ac_fn_c_check_decl "$LINENO" "CURLINFO_SPEED_DOWNLOAD" "ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" "
6681 #include \"curl/curl.h\"
6684 if test "x$ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" = xyes; then :
6685 ac_have_decl=1
6686 else
6687 ac_have_decl=0
6690 cat >>confdefs.h <<_ACEOF
6691 #define HAVE_DECL_CURLINFO_SPEED_DOWNLOAD $ac_have_decl
6692 _ACEOF
6693 ac_fn_c_check_decl "$LINENO" "CURLINFO_SPEED_UPLOAD" "ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" "
6694 #include \"curl/curl.h\"
6697 if test "x$ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" = xyes; then :
6698 ac_have_decl=1
6699 else
6700 ac_have_decl=0
6703 cat >>confdefs.h <<_ACEOF
6704 #define HAVE_DECL_CURLINFO_SPEED_UPLOAD $ac_have_decl
6705 _ACEOF
6706 ac_fn_c_check_decl "$LINENO" "CURLINFO_HEADER_SIZE" "ac_cv_have_decl_CURLINFO_HEADER_SIZE" "
6707 #include \"curl/curl.h\"
6710 if test "x$ac_cv_have_decl_CURLINFO_HEADER_SIZE" = xyes; then :
6711 ac_have_decl=1
6712 else
6713 ac_have_decl=0
6716 cat >>confdefs.h <<_ACEOF
6717 #define HAVE_DECL_CURLINFO_HEADER_SIZE $ac_have_decl
6718 _ACEOF
6719 ac_fn_c_check_decl "$LINENO" "CURLINFO_REQUEST_SIZE" "ac_cv_have_decl_CURLINFO_REQUEST_SIZE" "
6720 #include \"curl/curl.h\"
6723 if test "x$ac_cv_have_decl_CURLINFO_REQUEST_SIZE" = xyes; then :
6724 ac_have_decl=1
6725 else
6726 ac_have_decl=0
6729 cat >>confdefs.h <<_ACEOF
6730 #define HAVE_DECL_CURLINFO_REQUEST_SIZE $ac_have_decl
6731 _ACEOF
6732 ac_fn_c_check_decl "$LINENO" "CURLINFO_SSL_VERIFYRESULT" "ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" "
6733 #include \"curl/curl.h\"
6736 if test "x$ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" = xyes; then :
6737 ac_have_decl=1
6738 else
6739 ac_have_decl=0
6742 cat >>confdefs.h <<_ACEOF
6743 #define HAVE_DECL_CURLINFO_SSL_VERIFYRESULT $ac_have_decl
6744 _ACEOF
6745 ac_fn_c_check_decl "$LINENO" "CURLINFO_FILETIME" "ac_cv_have_decl_CURLINFO_FILETIME" "
6746 #include \"curl/curl.h\"
6749 if test "x$ac_cv_have_decl_CURLINFO_FILETIME" = xyes; then :
6750 ac_have_decl=1
6751 else
6752 ac_have_decl=0
6755 cat >>confdefs.h <<_ACEOF
6756 #define HAVE_DECL_CURLINFO_FILETIME $ac_have_decl
6757 _ACEOF
6758 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_LENGTH_DOWNLOAD" "ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" "
6759 #include \"curl/curl.h\"
6762 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" = xyes; then :
6763 ac_have_decl=1
6764 else
6765 ac_have_decl=0
6768 cat >>confdefs.h <<_ACEOF
6769 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_DOWNLOAD $ac_have_decl
6770 _ACEOF
6771 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_LENGTH_UPLOAD" "ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" "
6772 #include \"curl/curl.h\"
6775 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" = xyes; then :
6776 ac_have_decl=1
6777 else
6778 ac_have_decl=0
6781 cat >>confdefs.h <<_ACEOF
6782 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_UPLOAD $ac_have_decl
6783 _ACEOF
6784 ac_fn_c_check_decl "$LINENO" "CURLINFO_STARTTRANSFER_TIME" "ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" "
6785 #include \"curl/curl.h\"
6788 if test "x$ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" = xyes; then :
6789 ac_have_decl=1
6790 else
6791 ac_have_decl=0
6794 cat >>confdefs.h <<_ACEOF
6795 #define HAVE_DECL_CURLINFO_STARTTRANSFER_TIME $ac_have_decl
6796 _ACEOF
6797 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_TYPE" "ac_cv_have_decl_CURLINFO_CONTENT_TYPE" "
6798 #include \"curl/curl.h\"
6801 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_TYPE" = xyes; then :
6802 ac_have_decl=1
6803 else
6804 ac_have_decl=0
6807 cat >>confdefs.h <<_ACEOF
6808 #define HAVE_DECL_CURLINFO_CONTENT_TYPE $ac_have_decl
6809 _ACEOF
6810 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_TIME" "ac_cv_have_decl_CURLINFO_REDIRECT_TIME" "
6811 #include \"curl/curl.h\"
6814 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_TIME" = xyes; then :
6815 ac_have_decl=1
6816 else
6817 ac_have_decl=0
6820 cat >>confdefs.h <<_ACEOF
6821 #define HAVE_DECL_CURLINFO_REDIRECT_TIME $ac_have_decl
6822 _ACEOF
6823 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_COUNT" "ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" "
6824 #include \"curl/curl.h\"
6827 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" = xyes; then :
6828 ac_have_decl=1
6829 else
6830 ac_have_decl=0
6833 cat >>confdefs.h <<_ACEOF
6834 #define HAVE_DECL_CURLINFO_REDIRECT_COUNT $ac_have_decl
6835 _ACEOF
6836 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRIVATE" "ac_cv_have_decl_CURLINFO_PRIVATE" "
6837 #include \"curl/curl.h\"
6840 if test "x$ac_cv_have_decl_CURLINFO_PRIVATE" = xyes; then :
6841 ac_have_decl=1
6842 else
6843 ac_have_decl=0
6846 cat >>confdefs.h <<_ACEOF
6847 #define HAVE_DECL_CURLINFO_PRIVATE $ac_have_decl
6848 _ACEOF
6849 ac_fn_c_check_decl "$LINENO" "CURLINFO_HTTP_CONNECTCODE" "ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" "
6850 #include \"curl/curl.h\"
6853 if test "x$ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" = xyes; then :
6854 ac_have_decl=1
6855 else
6856 ac_have_decl=0
6859 cat >>confdefs.h <<_ACEOF
6860 #define HAVE_DECL_CURLINFO_HTTP_CONNECTCODE $ac_have_decl
6861 _ACEOF
6862 ac_fn_c_check_decl "$LINENO" "CURLINFO_HTTPAUTH_AVAIL" "ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" "
6863 #include \"curl/curl.h\"
6866 if test "x$ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" = xyes; then :
6867 ac_have_decl=1
6868 else
6869 ac_have_decl=0
6872 cat >>confdefs.h <<_ACEOF
6873 #define HAVE_DECL_CURLINFO_HTTPAUTH_AVAIL $ac_have_decl
6874 _ACEOF
6875 ac_fn_c_check_decl "$LINENO" "CURLINFO_PROXYAUTH_AVAIL" "ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" "
6876 #include \"curl/curl.h\"
6879 if test "x$ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" = xyes; then :
6880 ac_have_decl=1
6881 else
6882 ac_have_decl=0
6885 cat >>confdefs.h <<_ACEOF
6886 #define HAVE_DECL_CURLINFO_PROXYAUTH_AVAIL $ac_have_decl
6887 _ACEOF
6888 ac_fn_c_check_decl "$LINENO" "CURLINFO_OS_ERRNO" "ac_cv_have_decl_CURLINFO_OS_ERRNO" "
6889 #include \"curl/curl.h\"
6892 if test "x$ac_cv_have_decl_CURLINFO_OS_ERRNO" = xyes; then :
6893 ac_have_decl=1
6894 else
6895 ac_have_decl=0
6898 cat >>confdefs.h <<_ACEOF
6899 #define HAVE_DECL_CURLINFO_OS_ERRNO $ac_have_decl
6900 _ACEOF
6901 ac_fn_c_check_decl "$LINENO" "CURLINFO_NUM_CONNECTS" "ac_cv_have_decl_CURLINFO_NUM_CONNECTS" "
6902 #include \"curl/curl.h\"
6905 if test "x$ac_cv_have_decl_CURLINFO_NUM_CONNECTS" = xyes; then :
6906 ac_have_decl=1
6907 else
6908 ac_have_decl=0
6911 cat >>confdefs.h <<_ACEOF
6912 #define HAVE_DECL_CURLINFO_NUM_CONNECTS $ac_have_decl
6913 _ACEOF
6914 ac_fn_c_check_decl "$LINENO" "CURLINFO_SSL_ENGINES" "ac_cv_have_decl_CURLINFO_SSL_ENGINES" "
6915 #include \"curl/curl.h\"
6918 if test "x$ac_cv_have_decl_CURLINFO_SSL_ENGINES" = xyes; then :
6919 ac_have_decl=1
6920 else
6921 ac_have_decl=0
6924 cat >>confdefs.h <<_ACEOF
6925 #define HAVE_DECL_CURLINFO_SSL_ENGINES $ac_have_decl
6926 _ACEOF
6927 ac_fn_c_check_decl "$LINENO" "CURLINFO_COOKIELIST" "ac_cv_have_decl_CURLINFO_COOKIELIST" "
6928 #include \"curl/curl.h\"
6931 if test "x$ac_cv_have_decl_CURLINFO_COOKIELIST" = xyes; then :
6932 ac_have_decl=1
6933 else
6934 ac_have_decl=0
6937 cat >>confdefs.h <<_ACEOF
6938 #define HAVE_DECL_CURLINFO_COOKIELIST $ac_have_decl
6939 _ACEOF
6940 ac_fn_c_check_decl "$LINENO" "CURLINFO_LASTSOCKET" "ac_cv_have_decl_CURLINFO_LASTSOCKET" "
6941 #include \"curl/curl.h\"
6944 if test "x$ac_cv_have_decl_CURLINFO_LASTSOCKET" = xyes; then :
6945 ac_have_decl=1
6946 else
6947 ac_have_decl=0
6950 cat >>confdefs.h <<_ACEOF
6951 #define HAVE_DECL_CURLINFO_LASTSOCKET $ac_have_decl
6952 _ACEOF
6953 ac_fn_c_check_decl "$LINENO" "CURLINFO_FTP_ENTRY_PATH" "ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" "
6954 #include \"curl/curl.h\"
6957 if test "x$ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" = xyes; then :
6958 ac_have_decl=1
6959 else
6960 ac_have_decl=0
6963 cat >>confdefs.h <<_ACEOF
6964 #define HAVE_DECL_CURLINFO_FTP_ENTRY_PATH $ac_have_decl
6965 _ACEOF
6966 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_URL" "ac_cv_have_decl_CURLINFO_REDIRECT_URL" "
6967 #include \"curl/curl.h\"
6970 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_URL" = xyes; then :
6971 ac_have_decl=1
6972 else
6973 ac_have_decl=0
6976 cat >>confdefs.h <<_ACEOF
6977 #define HAVE_DECL_CURLINFO_REDIRECT_URL $ac_have_decl
6978 _ACEOF
6979 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRIMARY_IP" "ac_cv_have_decl_CURLINFO_PRIMARY_IP" "
6980 #include \"curl/curl.h\"
6983 if test "x$ac_cv_have_decl_CURLINFO_PRIMARY_IP" = xyes; then :
6984 ac_have_decl=1
6985 else
6986 ac_have_decl=0
6989 cat >>confdefs.h <<_ACEOF
6990 #define HAVE_DECL_CURLINFO_PRIMARY_IP $ac_have_decl
6991 _ACEOF
6992 ac_fn_c_check_decl "$LINENO" "CURLINFO_LOCAL_IP" "ac_cv_have_decl_CURLINFO_LOCAL_IP" "
6993 #include \"curl/curl.h\"
6996 if test "x$ac_cv_have_decl_CURLINFO_LOCAL_IP" = xyes; then :
6997 ac_have_decl=1
6998 else
6999 ac_have_decl=0
7002 cat >>confdefs.h <<_ACEOF
7003 #define HAVE_DECL_CURLINFO_LOCAL_IP $ac_have_decl
7004 _ACEOF
7005 ac_fn_c_check_decl "$LINENO" "CURLINFO_LOCAL_PORT" "ac_cv_have_decl_CURLINFO_LOCAL_PORT" "
7006 #include \"curl/curl.h\"
7009 if test "x$ac_cv_have_decl_CURLINFO_LOCAL_PORT" = xyes; then :
7010 ac_have_decl=1
7011 else
7012 ac_have_decl=0
7015 cat >>confdefs.h <<_ACEOF
7016 #define HAVE_DECL_CURLINFO_LOCAL_PORT $ac_have_decl
7017 _ACEOF
7018 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONDITION_UNMET" "ac_cv_have_decl_CURLINFO_CONDITION_UNMET" "
7019 #include \"curl/curl.h\"
7022 if test "x$ac_cv_have_decl_CURLINFO_CONDITION_UNMET" = xyes; then :
7023 ac_have_decl=1
7024 else
7025 ac_have_decl=0
7028 cat >>confdefs.h <<_ACEOF
7029 #define HAVE_DECL_CURLINFO_CONDITION_UNMET $ac_have_decl
7030 _ACEOF
7031 ac_fn_c_check_decl "$LINENO" "CURLE_UNSUPPORTED_PROTOCOL" "ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" "
7032 #include \"curl/curl.h\"
7035 if test "x$ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" = xyes; then :
7036 ac_have_decl=1
7037 else
7038 ac_have_decl=0
7041 cat >>confdefs.h <<_ACEOF
7042 #define HAVE_DECL_CURLE_UNSUPPORTED_PROTOCOL $ac_have_decl
7043 _ACEOF
7044 ac_fn_c_check_decl "$LINENO" "CURLE_FAILED_INIT" "ac_cv_have_decl_CURLE_FAILED_INIT" "
7045 #include \"curl/curl.h\"
7048 if test "x$ac_cv_have_decl_CURLE_FAILED_INIT" = xyes; then :
7049 ac_have_decl=1
7050 else
7051 ac_have_decl=0
7054 cat >>confdefs.h <<_ACEOF
7055 #define HAVE_DECL_CURLE_FAILED_INIT $ac_have_decl
7056 _ACEOF
7057 ac_fn_c_check_decl "$LINENO" "CURLE_URL_MALFORMAT" "ac_cv_have_decl_CURLE_URL_MALFORMAT" "
7058 #include \"curl/curl.h\"
7061 if test "x$ac_cv_have_decl_CURLE_URL_MALFORMAT" = xyes; then :
7062 ac_have_decl=1
7063 else
7064 ac_have_decl=0
7067 cat >>confdefs.h <<_ACEOF
7068 #define HAVE_DECL_CURLE_URL_MALFORMAT $ac_have_decl
7069 _ACEOF
7070 ac_fn_c_check_decl "$LINENO" "CURLE_URL_MALFORMAT_USER" "ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" "
7071 #include \"curl/curl.h\"
7074 if test "x$ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" = xyes; then :
7075 ac_have_decl=1
7076 else
7077 ac_have_decl=0
7080 cat >>confdefs.h <<_ACEOF
7081 #define HAVE_DECL_CURLE_URL_MALFORMAT_USER $ac_have_decl
7082 _ACEOF
7083 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_RESOLVE_PROXY" "ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" "
7084 #include \"curl/curl.h\"
7087 if test "x$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" = xyes; then :
7088 ac_have_decl=1
7089 else
7090 ac_have_decl=0
7093 cat >>confdefs.h <<_ACEOF
7094 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_PROXY $ac_have_decl
7095 _ACEOF
7096 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_RESOLVE_HOST" "ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" "
7097 #include \"curl/curl.h\"
7100 if test "x$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" = xyes; then :
7101 ac_have_decl=1
7102 else
7103 ac_have_decl=0
7106 cat >>confdefs.h <<_ACEOF
7107 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_HOST $ac_have_decl
7108 _ACEOF
7109 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_CONNECT" "ac_cv_have_decl_CURLE_COULDNT_CONNECT" "
7110 #include \"curl/curl.h\"
7113 if test "x$ac_cv_have_decl_CURLE_COULDNT_CONNECT" = xyes; then :
7114 ac_have_decl=1
7115 else
7116 ac_have_decl=0
7119 cat >>confdefs.h <<_ACEOF
7120 #define HAVE_DECL_CURLE_COULDNT_CONNECT $ac_have_decl
7121 _ACEOF
7122 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_SERVER_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" "
7123 #include \"curl/curl.h\"
7126 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" = xyes; then :
7127 ac_have_decl=1
7128 else
7129 ac_have_decl=0
7132 cat >>confdefs.h <<_ACEOF
7133 #define HAVE_DECL_CURLE_FTP_WEIRD_SERVER_REPLY $ac_have_decl
7134 _ACEOF
7135 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_ACCESS_DENIED" "ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" "
7136 #include \"curl/curl.h\"
7139 if test "x$ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" = xyes; then :
7140 ac_have_decl=1
7141 else
7142 ac_have_decl=0
7145 cat >>confdefs.h <<_ACEOF
7146 #define HAVE_DECL_CURLE_FTP_ACCESS_DENIED $ac_have_decl
7147 _ACEOF
7148 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_USER_PASSWORD_INCORRECT" "ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" "
7149 #include \"curl/curl.h\"
7152 if test "x$ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" = xyes; then :
7153 ac_have_decl=1
7154 else
7155 ac_have_decl=0
7158 cat >>confdefs.h <<_ACEOF
7159 #define HAVE_DECL_CURLE_FTP_USER_PASSWORD_INCORRECT $ac_have_decl
7160 _ACEOF
7161 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_PASS_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" "
7162 #include \"curl/curl.h\"
7165 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" = xyes; then :
7166 ac_have_decl=1
7167 else
7168 ac_have_decl=0
7171 cat >>confdefs.h <<_ACEOF
7172 #define HAVE_DECL_CURLE_FTP_WEIRD_PASS_REPLY $ac_have_decl
7173 _ACEOF
7174 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_USER_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" "
7175 #include \"curl/curl.h\"
7178 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" = xyes; then :
7179 ac_have_decl=1
7180 else
7181 ac_have_decl=0
7184 cat >>confdefs.h <<_ACEOF
7185 #define HAVE_DECL_CURLE_FTP_WEIRD_USER_REPLY $ac_have_decl
7186 _ACEOF
7187 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_PASV_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY" "
7188 #include \"curl/curl.h\"
7191 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY" = xyes; then :
7192 ac_have_decl=1
7193 else
7194 ac_have_decl=0
7197 cat >>confdefs.h <<_ACEOF
7198 #define HAVE_DECL_CURLE_FTP_WEIRD_PASV_REPLY $ac_have_decl
7199 _ACEOF
7200 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_227_FORMAT" "ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" "
7201 #include \"curl/curl.h\"
7204 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" = xyes; then :
7205 ac_have_decl=1
7206 else
7207 ac_have_decl=0
7210 cat >>confdefs.h <<_ACEOF
7211 #define HAVE_DECL_CURLE_FTP_WEIRD_227_FORMAT $ac_have_decl
7212 _ACEOF
7213 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_CANT_GET_HOST" "ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" "
7214 #include \"curl/curl.h\"
7217 if test "x$ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" = xyes; then :
7218 ac_have_decl=1
7219 else
7220 ac_have_decl=0
7223 cat >>confdefs.h <<_ACEOF
7224 #define HAVE_DECL_CURLE_FTP_CANT_GET_HOST $ac_have_decl
7225 _ACEOF
7226 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_CANT_RECONNECT" "ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" "
7227 #include \"curl/curl.h\"
7230 if test "x$ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" = xyes; then :
7231 ac_have_decl=1
7232 else
7233 ac_have_decl=0
7236 cat >>confdefs.h <<_ACEOF
7237 #define HAVE_DECL_CURLE_FTP_CANT_RECONNECT $ac_have_decl
7238 _ACEOF
7239 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_SET_BINARY" "ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" "
7240 #include \"curl/curl.h\"
7243 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" = xyes; then :
7244 ac_have_decl=1
7245 else
7246 ac_have_decl=0
7249 cat >>confdefs.h <<_ACEOF
7250 #define HAVE_DECL_CURLE_FTP_COULDNT_SET_BINARY $ac_have_decl
7251 _ACEOF
7252 ac_fn_c_check_decl "$LINENO" "CURLE_PARTIAL_FILE" "ac_cv_have_decl_CURLE_PARTIAL_FILE" "
7253 #include \"curl/curl.h\"
7256 if test "x$ac_cv_have_decl_CURLE_PARTIAL_FILE" = xyes; then :
7257 ac_have_decl=1
7258 else
7259 ac_have_decl=0
7262 cat >>confdefs.h <<_ACEOF
7263 #define HAVE_DECL_CURLE_PARTIAL_FILE $ac_have_decl
7264 _ACEOF
7265 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_RETR_FILE" "ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" "
7266 #include \"curl/curl.h\"
7269 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" = xyes; then :
7270 ac_have_decl=1
7271 else
7272 ac_have_decl=0
7275 cat >>confdefs.h <<_ACEOF
7276 #define HAVE_DECL_CURLE_FTP_COULDNT_RETR_FILE $ac_have_decl
7277 _ACEOF
7278 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WRITE_ERROR" "ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" "
7279 #include \"curl/curl.h\"
7282 if test "x$ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" = xyes; then :
7283 ac_have_decl=1
7284 else
7285 ac_have_decl=0
7288 cat >>confdefs.h <<_ACEOF
7289 #define HAVE_DECL_CURLE_FTP_WRITE_ERROR $ac_have_decl
7290 _ACEOF
7291 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_QUOTE_ERROR" "ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" "
7292 #include \"curl/curl.h\"
7295 if test "x$ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" = xyes; then :
7296 ac_have_decl=1
7297 else
7298 ac_have_decl=0
7301 cat >>confdefs.h <<_ACEOF
7302 #define HAVE_DECL_CURLE_FTP_QUOTE_ERROR $ac_have_decl
7303 _ACEOF
7304 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_RETURNED_ERROR" "ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" "
7305 #include \"curl/curl.h\"
7308 if test "x$ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" = xyes; then :
7309 ac_have_decl=1
7310 else
7311 ac_have_decl=0
7314 cat >>confdefs.h <<_ACEOF
7315 #define HAVE_DECL_CURLE_HTTP_RETURNED_ERROR $ac_have_decl
7316 _ACEOF
7317 ac_fn_c_check_decl "$LINENO" "CURLE_WRITE_ERROR" "ac_cv_have_decl_CURLE_WRITE_ERROR" "
7318 #include \"curl/curl.h\"
7321 if test "x$ac_cv_have_decl_CURLE_WRITE_ERROR" = xyes; then :
7322 ac_have_decl=1
7323 else
7324 ac_have_decl=0
7327 cat >>confdefs.h <<_ACEOF
7328 #define HAVE_DECL_CURLE_WRITE_ERROR $ac_have_decl
7329 _ACEOF
7330 ac_fn_c_check_decl "$LINENO" "CURLE_MALFORMAT_USER" "ac_cv_have_decl_CURLE_MALFORMAT_USER" "
7331 #include \"curl/curl.h\"
7334 if test "x$ac_cv_have_decl_CURLE_MALFORMAT_USER" = xyes; then :
7335 ac_have_decl=1
7336 else
7337 ac_have_decl=0
7340 cat >>confdefs.h <<_ACEOF
7341 #define HAVE_DECL_CURLE_MALFORMAT_USER $ac_have_decl
7342 _ACEOF
7343 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_STOR_FILE" "ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" "
7344 #include \"curl/curl.h\"
7347 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" = xyes; then :
7348 ac_have_decl=1
7349 else
7350 ac_have_decl=0
7353 cat >>confdefs.h <<_ACEOF
7354 #define HAVE_DECL_CURLE_FTP_COULDNT_STOR_FILE $ac_have_decl
7355 _ACEOF
7356 ac_fn_c_check_decl "$LINENO" "CURLE_READ_ERROR" "ac_cv_have_decl_CURLE_READ_ERROR" "
7357 #include \"curl/curl.h\"
7360 if test "x$ac_cv_have_decl_CURLE_READ_ERROR" = xyes; then :
7361 ac_have_decl=1
7362 else
7363 ac_have_decl=0
7366 cat >>confdefs.h <<_ACEOF
7367 #define HAVE_DECL_CURLE_READ_ERROR $ac_have_decl
7368 _ACEOF
7369 ac_fn_c_check_decl "$LINENO" "CURLE_OUT_OF_MEMORY" "ac_cv_have_decl_CURLE_OUT_OF_MEMORY" "
7370 #include \"curl/curl.h\"
7373 if test "x$ac_cv_have_decl_CURLE_OUT_OF_MEMORY" = xyes; then :
7374 ac_have_decl=1
7375 else
7376 ac_have_decl=0
7379 cat >>confdefs.h <<_ACEOF
7380 #define HAVE_DECL_CURLE_OUT_OF_MEMORY $ac_have_decl
7381 _ACEOF
7382 ac_fn_c_check_decl "$LINENO" "CURLE_OPERATION_TIMEOUTED" "ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" "
7383 #include \"curl/curl.h\"
7386 if test "x$ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" = xyes; then :
7387 ac_have_decl=1
7388 else
7389 ac_have_decl=0
7392 cat >>confdefs.h <<_ACEOF
7393 #define HAVE_DECL_CURLE_OPERATION_TIMEOUTED $ac_have_decl
7394 _ACEOF
7395 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_SET_ASCII" "ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" "
7396 #include \"curl/curl.h\"
7399 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" = xyes; then :
7400 ac_have_decl=1
7401 else
7402 ac_have_decl=0
7405 cat >>confdefs.h <<_ACEOF
7406 #define HAVE_DECL_CURLE_FTP_COULDNT_SET_ASCII $ac_have_decl
7407 _ACEOF
7408 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_PORT_FAILED" "ac_cv_have_decl_CURLE_FTP_PORT_FAILED" "
7409 #include \"curl/curl.h\"
7412 if test "x$ac_cv_have_decl_CURLE_FTP_PORT_FAILED" = xyes; then :
7413 ac_have_decl=1
7414 else
7415 ac_have_decl=0
7418 cat >>confdefs.h <<_ACEOF
7419 #define HAVE_DECL_CURLE_FTP_PORT_FAILED $ac_have_decl
7420 _ACEOF
7421 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_USE_REST" "ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" "
7422 #include \"curl/curl.h\"
7425 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" = xyes; then :
7426 ac_have_decl=1
7427 else
7428 ac_have_decl=0
7431 cat >>confdefs.h <<_ACEOF
7432 #define HAVE_DECL_CURLE_FTP_COULDNT_USE_REST $ac_have_decl
7433 _ACEOF
7434 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_GET_SIZE" "ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" "
7435 #include \"curl/curl.h\"
7438 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" = xyes; then :
7439 ac_have_decl=1
7440 else
7441 ac_have_decl=0
7444 cat >>confdefs.h <<_ACEOF
7445 #define HAVE_DECL_CURLE_FTP_COULDNT_GET_SIZE $ac_have_decl
7446 _ACEOF
7447 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_RANGE_ERROR" "ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" "
7448 #include \"curl/curl.h\"
7451 if test "x$ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" = xyes; then :
7452 ac_have_decl=1
7453 else
7454 ac_have_decl=0
7457 cat >>confdefs.h <<_ACEOF
7458 #define HAVE_DECL_CURLE_HTTP_RANGE_ERROR $ac_have_decl
7459 _ACEOF
7460 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_POST_ERROR" "ac_cv_have_decl_CURLE_HTTP_POST_ERROR" "
7461 #include \"curl/curl.h\"
7464 if test "x$ac_cv_have_decl_CURLE_HTTP_POST_ERROR" = xyes; then :
7465 ac_have_decl=1
7466 else
7467 ac_have_decl=0
7470 cat >>confdefs.h <<_ACEOF
7471 #define HAVE_DECL_CURLE_HTTP_POST_ERROR $ac_have_decl
7472 _ACEOF
7473 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CONNECT_ERROR" "ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" "
7474 #include \"curl/curl.h\"
7477 if test "x$ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" = xyes; then :
7478 ac_have_decl=1
7479 else
7480 ac_have_decl=0
7483 cat >>confdefs.h <<_ACEOF
7484 #define HAVE_DECL_CURLE_SSL_CONNECT_ERROR $ac_have_decl
7485 _ACEOF
7486 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_DOWNLOAD_RESUME" "ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" "
7487 #include \"curl/curl.h\"
7490 if test "x$ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" = xyes; then :
7491 ac_have_decl=1
7492 else
7493 ac_have_decl=0
7496 cat >>confdefs.h <<_ACEOF
7497 #define HAVE_DECL_CURLE_BAD_DOWNLOAD_RESUME $ac_have_decl
7498 _ACEOF
7499 ac_fn_c_check_decl "$LINENO" "CURLE_FILE_COULDNT_READ_FILE" "ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" "
7500 #include \"curl/curl.h\"
7503 if test "x$ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" = xyes; then :
7504 ac_have_decl=1
7505 else
7506 ac_have_decl=0
7509 cat >>confdefs.h <<_ACEOF
7510 #define HAVE_DECL_CURLE_FILE_COULDNT_READ_FILE $ac_have_decl
7511 _ACEOF
7512 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_CANNOT_BIND" "ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" "
7513 #include \"curl/curl.h\"
7516 if test "x$ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" = xyes; then :
7517 ac_have_decl=1
7518 else
7519 ac_have_decl=0
7522 cat >>confdefs.h <<_ACEOF
7523 #define HAVE_DECL_CURLE_LDAP_CANNOT_BIND $ac_have_decl
7524 _ACEOF
7525 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_SEARCH_FAILED" "ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" "
7526 #include \"curl/curl.h\"
7529 if test "x$ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" = xyes; then :
7530 ac_have_decl=1
7531 else
7532 ac_have_decl=0
7535 cat >>confdefs.h <<_ACEOF
7536 #define HAVE_DECL_CURLE_LDAP_SEARCH_FAILED $ac_have_decl
7537 _ACEOF
7538 ac_fn_c_check_decl "$LINENO" "CURLE_LIBRARY_NOT_FOUND" "ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" "
7539 #include \"curl/curl.h\"
7542 if test "x$ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" = xyes; then :
7543 ac_have_decl=1
7544 else
7545 ac_have_decl=0
7548 cat >>confdefs.h <<_ACEOF
7549 #define HAVE_DECL_CURLE_LIBRARY_NOT_FOUND $ac_have_decl
7550 _ACEOF
7551 ac_fn_c_check_decl "$LINENO" "CURLE_FUNCTION_NOT_FOUND" "ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" "
7552 #include \"curl/curl.h\"
7555 if test "x$ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" = xyes; then :
7556 ac_have_decl=1
7557 else
7558 ac_have_decl=0
7561 cat >>confdefs.h <<_ACEOF
7562 #define HAVE_DECL_CURLE_FUNCTION_NOT_FOUND $ac_have_decl
7563 _ACEOF
7564 ac_fn_c_check_decl "$LINENO" "CURLE_ABORTED_BY_CALLBACK" "ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" "
7565 #include \"curl/curl.h\"
7568 if test "x$ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" = xyes; then :
7569 ac_have_decl=1
7570 else
7571 ac_have_decl=0
7574 cat >>confdefs.h <<_ACEOF
7575 #define HAVE_DECL_CURLE_ABORTED_BY_CALLBACK $ac_have_decl
7576 _ACEOF
7577 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_FUNCTION_ARGUMENT" "ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" "
7578 #include \"curl/curl.h\"
7581 if test "x$ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" = xyes; then :
7582 ac_have_decl=1
7583 else
7584 ac_have_decl=0
7587 cat >>confdefs.h <<_ACEOF
7588 #define HAVE_DECL_CURLE_BAD_FUNCTION_ARGUMENT $ac_have_decl
7589 _ACEOF
7590 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_CALLING_ORDER" "ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" "
7591 #include \"curl/curl.h\"
7594 if test "x$ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" = xyes; then :
7595 ac_have_decl=1
7596 else
7597 ac_have_decl=0
7600 cat >>confdefs.h <<_ACEOF
7601 #define HAVE_DECL_CURLE_BAD_CALLING_ORDER $ac_have_decl
7602 _ACEOF
7603 ac_fn_c_check_decl "$LINENO" "CURLE_INTERFACE_FAILED" "ac_cv_have_decl_CURLE_INTERFACE_FAILED" "
7604 #include \"curl/curl.h\"
7607 if test "x$ac_cv_have_decl_CURLE_INTERFACE_FAILED" = xyes; then :
7608 ac_have_decl=1
7609 else
7610 ac_have_decl=0
7613 cat >>confdefs.h <<_ACEOF
7614 #define HAVE_DECL_CURLE_INTERFACE_FAILED $ac_have_decl
7615 _ACEOF
7616 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_PASSWORD_ENTERED" "ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" "
7617 #include \"curl/curl.h\"
7620 if test "x$ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" = xyes; then :
7621 ac_have_decl=1
7622 else
7623 ac_have_decl=0
7626 cat >>confdefs.h <<_ACEOF
7627 #define HAVE_DECL_CURLE_BAD_PASSWORD_ENTERED $ac_have_decl
7628 _ACEOF
7629 ac_fn_c_check_decl "$LINENO" "CURLE_TOO_MANY_REDIRECTS" "ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" "
7630 #include \"curl/curl.h\"
7633 if test "x$ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" = xyes; then :
7634 ac_have_decl=1
7635 else
7636 ac_have_decl=0
7639 cat >>confdefs.h <<_ACEOF
7640 #define HAVE_DECL_CURLE_TOO_MANY_REDIRECTS $ac_have_decl
7641 _ACEOF
7642 ac_fn_c_check_decl "$LINENO" "CURLE_UNKNOWN_TELNET_OPTION" "ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" "
7643 #include \"curl/curl.h\"
7646 if test "x$ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" = xyes; then :
7647 ac_have_decl=1
7648 else
7649 ac_have_decl=0
7652 cat >>confdefs.h <<_ACEOF
7653 #define HAVE_DECL_CURLE_UNKNOWN_TELNET_OPTION $ac_have_decl
7654 _ACEOF
7655 ac_fn_c_check_decl "$LINENO" "CURLE_TELNET_OPTION_SYNTAX" "ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" "
7656 #include \"curl/curl.h\"
7659 if test "x$ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" = xyes; then :
7660 ac_have_decl=1
7661 else
7662 ac_have_decl=0
7665 cat >>confdefs.h <<_ACEOF
7666 #define HAVE_DECL_CURLE_TELNET_OPTION_SYNTAX $ac_have_decl
7667 _ACEOF
7668 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_PEER_CERTIFICATE" "ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" "
7669 #include \"curl/curl.h\"
7672 if test "x$ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" = xyes; then :
7673 ac_have_decl=1
7674 else
7675 ac_have_decl=0
7678 cat >>confdefs.h <<_ACEOF
7679 #define HAVE_DECL_CURLE_SSL_PEER_CERTIFICATE $ac_have_decl
7680 _ACEOF
7681 ac_fn_c_check_decl "$LINENO" "CURLE_GOT_NOTHING" "ac_cv_have_decl_CURLE_GOT_NOTHING" "
7682 #include \"curl/curl.h\"
7685 if test "x$ac_cv_have_decl_CURLE_GOT_NOTHING" = xyes; then :
7686 ac_have_decl=1
7687 else
7688 ac_have_decl=0
7691 cat >>confdefs.h <<_ACEOF
7692 #define HAVE_DECL_CURLE_GOT_NOTHING $ac_have_decl
7693 _ACEOF
7694 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_NOTFOUND" "ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" "
7695 #include \"curl/curl.h\"
7698 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" = xyes; then :
7699 ac_have_decl=1
7700 else
7701 ac_have_decl=0
7704 cat >>confdefs.h <<_ACEOF
7705 #define HAVE_DECL_CURLE_SSL_ENGINE_NOTFOUND $ac_have_decl
7706 _ACEOF
7707 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_SETFAILED" "ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" "
7708 #include \"curl/curl.h\"
7711 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" = xyes; then :
7712 ac_have_decl=1
7713 else
7714 ac_have_decl=0
7717 cat >>confdefs.h <<_ACEOF
7718 #define HAVE_DECL_CURLE_SSL_ENGINE_SETFAILED $ac_have_decl
7719 _ACEOF
7720 ac_fn_c_check_decl "$LINENO" "CURLE_SEND_ERROR" "ac_cv_have_decl_CURLE_SEND_ERROR" "
7721 #include \"curl/curl.h\"
7724 if test "x$ac_cv_have_decl_CURLE_SEND_ERROR" = xyes; then :
7725 ac_have_decl=1
7726 else
7727 ac_have_decl=0
7730 cat >>confdefs.h <<_ACEOF
7731 #define HAVE_DECL_CURLE_SEND_ERROR $ac_have_decl
7732 _ACEOF
7733 ac_fn_c_check_decl "$LINENO" "CURLE_RECV_ERROR" "ac_cv_have_decl_CURLE_RECV_ERROR" "
7734 #include \"curl/curl.h\"
7737 if test "x$ac_cv_have_decl_CURLE_RECV_ERROR" = xyes; then :
7738 ac_have_decl=1
7739 else
7740 ac_have_decl=0
7743 cat >>confdefs.h <<_ACEOF
7744 #define HAVE_DECL_CURLE_RECV_ERROR $ac_have_decl
7745 _ACEOF
7746 ac_fn_c_check_decl "$LINENO" "CURLE_SHARE_IN_USE" "ac_cv_have_decl_CURLE_SHARE_IN_USE" "
7747 #include \"curl/curl.h\"
7750 if test "x$ac_cv_have_decl_CURLE_SHARE_IN_USE" = xyes; then :
7751 ac_have_decl=1
7752 else
7753 ac_have_decl=0
7756 cat >>confdefs.h <<_ACEOF
7757 #define HAVE_DECL_CURLE_SHARE_IN_USE $ac_have_decl
7758 _ACEOF
7759 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CERTPROBLEM" "ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" "
7760 #include \"curl/curl.h\"
7763 if test "x$ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" = xyes; then :
7764 ac_have_decl=1
7765 else
7766 ac_have_decl=0
7769 cat >>confdefs.h <<_ACEOF
7770 #define HAVE_DECL_CURLE_SSL_CERTPROBLEM $ac_have_decl
7771 _ACEOF
7772 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CIPHER" "ac_cv_have_decl_CURLE_SSL_CIPHER" "
7773 #include \"curl/curl.h\"
7776 if test "x$ac_cv_have_decl_CURLE_SSL_CIPHER" = xyes; then :
7777 ac_have_decl=1
7778 else
7779 ac_have_decl=0
7782 cat >>confdefs.h <<_ACEOF
7783 #define HAVE_DECL_CURLE_SSL_CIPHER $ac_have_decl
7784 _ACEOF
7785 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CACERT" "ac_cv_have_decl_CURLE_SSL_CACERT" "
7786 #include \"curl/curl.h\"
7789 if test "x$ac_cv_have_decl_CURLE_SSL_CACERT" = xyes; then :
7790 ac_have_decl=1
7791 else
7792 ac_have_decl=0
7795 cat >>confdefs.h <<_ACEOF
7796 #define HAVE_DECL_CURLE_SSL_CACERT $ac_have_decl
7797 _ACEOF
7798 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_CONTENT_ENCODING" "ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" "
7799 #include \"curl/curl.h\"
7802 if test "x$ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" = xyes; then :
7803 ac_have_decl=1
7804 else
7805 ac_have_decl=0
7808 cat >>confdefs.h <<_ACEOF
7809 #define HAVE_DECL_CURLE_BAD_CONTENT_ENCODING $ac_have_decl
7810 _ACEOF
7811 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_INVALID_URL" "ac_cv_have_decl_CURLE_LDAP_INVALID_URL" "
7812 #include \"curl/curl.h\"
7815 if test "x$ac_cv_have_decl_CURLE_LDAP_INVALID_URL" = xyes; then :
7816 ac_have_decl=1
7817 else
7818 ac_have_decl=0
7821 cat >>confdefs.h <<_ACEOF
7822 #define HAVE_DECL_CURLE_LDAP_INVALID_URL $ac_have_decl
7823 _ACEOF
7824 ac_fn_c_check_decl "$LINENO" "CURLE_FILESIZE_EXCEEDED" "ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" "
7825 #include \"curl/curl.h\"
7828 if test "x$ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" = xyes; then :
7829 ac_have_decl=1
7830 else
7831 ac_have_decl=0
7834 cat >>confdefs.h <<_ACEOF
7835 #define HAVE_DECL_CURLE_FILESIZE_EXCEEDED $ac_have_decl
7836 _ACEOF
7837 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_SSL_FAILED" "ac_cv_have_decl_CURLE_FTP_SSL_FAILED" "
7838 #include \"curl/curl.h\"
7841 if test "x$ac_cv_have_decl_CURLE_FTP_SSL_FAILED" = xyes; then :
7842 ac_have_decl=1
7843 else
7844 ac_have_decl=0
7847 cat >>confdefs.h <<_ACEOF
7848 #define HAVE_DECL_CURLE_FTP_SSL_FAILED $ac_have_decl
7849 _ACEOF
7850 ac_fn_c_check_decl "$LINENO" "CURLE_SEND_FAIL_REWIND" "ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" "
7851 #include \"curl/curl.h\"
7854 if test "x$ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" = xyes; then :
7855 ac_have_decl=1
7856 else
7857 ac_have_decl=0
7860 cat >>confdefs.h <<_ACEOF
7861 #define HAVE_DECL_CURLE_SEND_FAIL_REWIND $ac_have_decl
7862 _ACEOF
7863 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_INITFAILED" "ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" "
7864 #include \"curl/curl.h\"
7867 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" = xyes; then :
7868 ac_have_decl=1
7869 else
7870 ac_have_decl=0
7873 cat >>confdefs.h <<_ACEOF
7874 #define HAVE_DECL_CURLE_SSL_ENGINE_INITFAILED $ac_have_decl
7875 _ACEOF
7876 ac_fn_c_check_decl "$LINENO" "CURLE_LOGIN_DENIED" "ac_cv_have_decl_CURLE_LOGIN_DENIED" "
7877 #include \"curl/curl.h\"
7880 if test "x$ac_cv_have_decl_CURLE_LOGIN_DENIED" = xyes; then :
7881 ac_have_decl=1
7882 else
7883 ac_have_decl=0
7886 cat >>confdefs.h <<_ACEOF
7887 #define HAVE_DECL_CURLE_LOGIN_DENIED $ac_have_decl
7888 _ACEOF
7889 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_NOTFOUND" "ac_cv_have_decl_CURLE_TFTP_NOTFOUND" "
7890 #include \"curl/curl.h\"
7893 if test "x$ac_cv_have_decl_CURLE_TFTP_NOTFOUND" = xyes; then :
7894 ac_have_decl=1
7895 else
7896 ac_have_decl=0
7899 cat >>confdefs.h <<_ACEOF
7900 #define HAVE_DECL_CURLE_TFTP_NOTFOUND $ac_have_decl
7901 _ACEOF
7902 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_PERM" "ac_cv_have_decl_CURLE_TFTP_PERM" "
7903 #include \"curl/curl.h\"
7906 if test "x$ac_cv_have_decl_CURLE_TFTP_PERM" = xyes; then :
7907 ac_have_decl=1
7908 else
7909 ac_have_decl=0
7912 cat >>confdefs.h <<_ACEOF
7913 #define HAVE_DECL_CURLE_TFTP_PERM $ac_have_decl
7914 _ACEOF
7915 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_DISK_FULL" "ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" "
7916 #include \"curl/curl.h\"
7919 if test "x$ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" = xyes; then :
7920 ac_have_decl=1
7921 else
7922 ac_have_decl=0
7925 cat >>confdefs.h <<_ACEOF
7926 #define HAVE_DECL_CURLE_REMOTE_DISK_FULL $ac_have_decl
7927 _ACEOF
7928 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_ILLEGAL" "ac_cv_have_decl_CURLE_TFTP_ILLEGAL" "
7929 #include \"curl/curl.h\"
7932 if test "x$ac_cv_have_decl_CURLE_TFTP_ILLEGAL" = xyes; then :
7933 ac_have_decl=1
7934 else
7935 ac_have_decl=0
7938 cat >>confdefs.h <<_ACEOF
7939 #define HAVE_DECL_CURLE_TFTP_ILLEGAL $ac_have_decl
7940 _ACEOF
7941 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_UNKNOWNID" "ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" "
7942 #include \"curl/curl.h\"
7945 if test "x$ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" = xyes; then :
7946 ac_have_decl=1
7947 else
7948 ac_have_decl=0
7951 cat >>confdefs.h <<_ACEOF
7952 #define HAVE_DECL_CURLE_TFTP_UNKNOWNID $ac_have_decl
7953 _ACEOF
7954 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_FILE_EXISTS" "ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" "
7955 #include \"curl/curl.h\"
7958 if test "x$ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" = xyes; then :
7959 ac_have_decl=1
7960 else
7961 ac_have_decl=0
7964 cat >>confdefs.h <<_ACEOF
7965 #define HAVE_DECL_CURLE_REMOTE_FILE_EXISTS $ac_have_decl
7966 _ACEOF
7967 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_NOSUCHUSER" "ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" "
7968 #include \"curl/curl.h\"
7971 if test "x$ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" = xyes; then :
7972 ac_have_decl=1
7973 else
7974 ac_have_decl=0
7977 cat >>confdefs.h <<_ACEOF
7978 #define HAVE_DECL_CURLE_TFTP_NOSUCHUSER $ac_have_decl
7979 _ACEOF
7980 ac_fn_c_check_decl "$LINENO" "CURLE_CONV_FAILED" "ac_cv_have_decl_CURLE_CONV_FAILED" "
7981 #include \"curl/curl.h\"
7984 if test "x$ac_cv_have_decl_CURLE_CONV_FAILED" = xyes; then :
7985 ac_have_decl=1
7986 else
7987 ac_have_decl=0
7990 cat >>confdefs.h <<_ACEOF
7991 #define HAVE_DECL_CURLE_CONV_FAILED $ac_have_decl
7992 _ACEOF
7993 ac_fn_c_check_decl "$LINENO" "CURLE_CONV_REQD" "ac_cv_have_decl_CURLE_CONV_REQD" "
7994 #include \"curl/curl.h\"
7997 if test "x$ac_cv_have_decl_CURLE_CONV_REQD" = xyes; then :
7998 ac_have_decl=1
7999 else
8000 ac_have_decl=0
8003 cat >>confdefs.h <<_ACEOF
8004 #define HAVE_DECL_CURLE_CONV_REQD $ac_have_decl
8005 _ACEOF
8006 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CACERT_BADFILE" "ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" "
8007 #include \"curl/curl.h\"
8010 if test "x$ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" = xyes; then :
8011 ac_have_decl=1
8012 else
8013 ac_have_decl=0
8016 cat >>confdefs.h <<_ACEOF
8017 #define HAVE_DECL_CURLE_SSL_CACERT_BADFILE $ac_have_decl
8018 _ACEOF
8019 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_FILE_NOT_FOUND" "ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" "
8020 #include \"curl/curl.h\"
8023 if test "x$ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" = xyes; then :
8024 ac_have_decl=1
8025 else
8026 ac_have_decl=0
8029 cat >>confdefs.h <<_ACEOF
8030 #define HAVE_DECL_CURLE_REMOTE_FILE_NOT_FOUND $ac_have_decl
8031 _ACEOF
8032 ac_fn_c_check_decl "$LINENO" "CURLE_SSH" "ac_cv_have_decl_CURLE_SSH" "
8033 #include \"curl/curl.h\"
8036 if test "x$ac_cv_have_decl_CURLE_SSH" = xyes; then :
8037 ac_have_decl=1
8038 else
8039 ac_have_decl=0
8042 cat >>confdefs.h <<_ACEOF
8043 #define HAVE_DECL_CURLE_SSH $ac_have_decl
8044 _ACEOF
8045 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_SHUTDOWN_FAILED" "ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED" "
8046 #include \"curl/curl.h\"
8049 if test "x$ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED" = xyes; then :
8050 ac_have_decl=1
8051 else
8052 ac_have_decl=0
8055 cat >>confdefs.h <<_ACEOF
8056 #define HAVE_DECL_CURLE_SSL_SHUTDOWN_FAILED $ac_have_decl
8057 _ACEOF
8058 ac_fn_c_check_decl "$LINENO" "CURLE_AGAIN" "ac_cv_have_decl_CURLE_AGAIN" "
8059 #include \"curl/curl.h\"
8062 if test "x$ac_cv_have_decl_CURLE_AGAIN" = xyes; then :
8063 ac_have_decl=1
8064 else
8065 ac_have_decl=0
8068 cat >>confdefs.h <<_ACEOF
8069 #define HAVE_DECL_CURLE_AGAIN $ac_have_decl
8070 _ACEOF
8071 ac_fn_c_check_decl "$LINENO" "CURL_VERSION_TLSAUTH_SRP" "ac_cv_have_decl_CURL_VERSION_TLSAUTH_SRP" "
8072 #include \"curl/curl.h\"
8075 if test "x$ac_cv_have_decl_CURL_VERSION_TLSAUTH_SRP" = xyes; then :
8076 ac_have_decl=1
8077 else
8078 ac_have_decl=0
8081 cat >>confdefs.h <<_ACEOF
8082 #define HAVE_DECL_CURL_VERSION_TLSAUTH_SRP $ac_have_decl
8083 _ACEOF
8084 ac_fn_c_check_decl "$LINENO" "CURL_VERSION_NTLM_WB" "ac_cv_have_decl_CURL_VERSION_NTLM_WB" "
8085 #include \"curl/curl.h\"
8088 if test "x$ac_cv_have_decl_CURL_VERSION_NTLM_WB" = xyes; then :
8089 ac_have_decl=1
8090 else
8091 ac_have_decl=0
8094 cat >>confdefs.h <<_ACEOF
8095 #define HAVE_DECL_CURL_VERSION_NTLM_WB $ac_have_decl
8096 _ACEOF
8099 ac_config_headers="$ac_config_headers config.h"
8101 ac_config_files="$ac_config_files Makefile examples/Makefile"
8104 cat >confcache <<\_ACEOF
8105 # This file is a shell script that caches the results of configure
8106 # tests run on this system so they can be shared between configure
8107 # scripts and configure runs, see configure's option --config-cache.
8108 # It is not useful on other systems. If it contains results you don't
8109 # want to keep, you may remove or edit it.
8111 # config.status only pays attention to the cache file if you give it
8112 # the --recheck option to rerun configure.
8114 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8115 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8116 # following values.
8118 _ACEOF
8120 # The following way of writing the cache mishandles newlines in values,
8121 # but we know of no workaround that is simple, portable, and efficient.
8122 # So, we kill variables containing newlines.
8123 # Ultrix sh set writes to stderr and can't be redirected directly,
8124 # and sets the high bit in the cache file unless we assign to the vars.
8126 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8127 eval ac_val=\$$ac_var
8128 case $ac_val in #(
8129 *${as_nl}*)
8130 case $ac_var in #(
8131 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8132 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8133 esac
8134 case $ac_var in #(
8135 _ | IFS | as_nl) ;; #(
8136 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8137 *) { eval $ac_var=; unset $ac_var;} ;;
8138 esac ;;
8139 esac
8140 done
8142 (set) 2>&1 |
8143 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8144 *${as_nl}ac_space=\ *)
8145 # `set' does not quote correctly, so add quotes: double-quote
8146 # substitution turns \\\\ into \\, and sed turns \\ into \.
8147 sed -n \
8148 "s/'/'\\\\''/g;
8149 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8150 ;; #(
8152 # `set' quotes correctly as required by POSIX, so do not add quotes.
8153 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8155 esac |
8156 sort
8158 sed '
8159 /^ac_cv_env_/b end
8160 t clear
8161 :clear
8162 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8163 t end
8164 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8165 :end' >>confcache
8166 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8167 if test -w "$cache_file"; then
8168 if test "x$cache_file" != "x/dev/null"; then
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8170 $as_echo "$as_me: updating cache $cache_file" >&6;}
8171 if test ! -f "$cache_file" || test -h "$cache_file"; then
8172 cat confcache >"$cache_file"
8173 else
8174 case $cache_file in #(
8175 */* | ?:*)
8176 mv -f confcache "$cache_file"$$ &&
8177 mv -f "$cache_file"$$ "$cache_file" ;; #(
8179 mv -f confcache "$cache_file" ;;
8180 esac
8183 else
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8185 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8188 rm -f confcache
8190 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8191 # Let make expand exec_prefix.
8192 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8194 DEFS=-DHAVE_CONFIG_H
8196 ac_libobjs=
8197 ac_ltlibobjs=
8199 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8200 # 1. Remove the extension, and $U if already installed.
8201 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8202 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8203 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8204 # will be set to the directory where LIBOBJS objects are built.
8205 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8206 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8207 done
8208 LIBOBJS=$ac_libobjs
8210 LTLIBOBJS=$ac_ltlibobjs
8214 : "${CONFIG_STATUS=./config.status}"
8215 ac_write_fail=0
8216 ac_clean_files_save=$ac_clean_files
8217 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8219 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8220 as_write_fail=0
8221 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8222 #! $SHELL
8223 # Generated by $as_me.
8224 # Run this file to recreate the current configuration.
8225 # Compiler output produced by configure, useful for debugging
8226 # configure, is in config.log if it exists.
8228 debug=false
8229 ac_cs_recheck=false
8230 ac_cs_silent=false
8232 SHELL=\${CONFIG_SHELL-$SHELL}
8233 export SHELL
8234 _ASEOF
8235 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8236 ## -------------------- ##
8237 ## M4sh Initialization. ##
8238 ## -------------------- ##
8240 # Be more Bourne compatible
8241 DUALCASE=1; export DUALCASE # for MKS sh
8242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8243 emulate sh
8244 NULLCMD=:
8245 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8246 # is contrary to our usage. Disable this feature.
8247 alias -g '${1+"$@"}'='"$@"'
8248 setopt NO_GLOB_SUBST
8249 else
8250 case `(set -o) 2>/dev/null` in #(
8251 *posix*) :
8252 set -o posix ;; #(
8253 *) :
8255 esac
8259 as_nl='
8261 export as_nl
8262 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8263 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8264 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8265 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8266 # Prefer a ksh shell builtin over an external printf program on Solaris,
8267 # but without wasting forks for bash or zsh.
8268 if test -z "$BASH_VERSION$ZSH_VERSION" \
8269 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8270 as_echo='print -r --'
8271 as_echo_n='print -rn --'
8272 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8273 as_echo='printf %s\n'
8274 as_echo_n='printf %s'
8275 else
8276 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8277 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8278 as_echo_n='/usr/ucb/echo -n'
8279 else
8280 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8281 as_echo_n_body='eval
8282 arg=$1;
8283 case $arg in #(
8284 *"$as_nl"*)
8285 expr "X$arg" : "X\\(.*\\)$as_nl";
8286 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8287 esac;
8288 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8290 export as_echo_n_body
8291 as_echo_n='sh -c $as_echo_n_body as_echo'
8293 export as_echo_body
8294 as_echo='sh -c $as_echo_body as_echo'
8297 # The user is always right.
8298 if test "${PATH_SEPARATOR+set}" != set; then
8299 PATH_SEPARATOR=:
8300 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8301 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8302 PATH_SEPARATOR=';'
8307 # IFS
8308 # We need space, tab and new line, in precisely that order. Quoting is
8309 # there to prevent editors from complaining about space-tab.
8310 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8311 # splitting by setting IFS to empty value.)
8312 IFS=" "" $as_nl"
8314 # Find who we are. Look in the path if we contain no directory separator.
8315 as_myself=
8316 case $0 in #((
8317 *[\\/]* ) as_myself=$0 ;;
8318 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8319 for as_dir in $PATH
8321 IFS=$as_save_IFS
8322 test -z "$as_dir" && as_dir=.
8323 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8324 done
8325 IFS=$as_save_IFS
8328 esac
8329 # We did not find ourselves, most probably we were run as `sh COMMAND'
8330 # in which case we are not to be found in the path.
8331 if test "x$as_myself" = x; then
8332 as_myself=$0
8334 if test ! -f "$as_myself"; then
8335 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8336 exit 1
8339 # Unset variables that we do not need and which cause bugs (e.g. in
8340 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8341 # suppresses any "Segmentation fault" message there. '((' could
8342 # trigger a bug in pdksh 5.2.14.
8343 for as_var in BASH_ENV ENV MAIL MAILPATH
8344 do eval test x\${$as_var+set} = xset \
8345 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8346 done
8347 PS1='$ '
8348 PS2='> '
8349 PS4='+ '
8351 # NLS nuisances.
8352 LC_ALL=C
8353 export LC_ALL
8354 LANGUAGE=C
8355 export LANGUAGE
8357 # CDPATH.
8358 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8361 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8362 # ----------------------------------------
8363 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8364 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8365 # script with STATUS, using 1 if that was 0.
8366 as_fn_error ()
8368 as_status=$1; test $as_status -eq 0 && as_status=1
8369 if test "$4"; then
8370 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8371 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8373 $as_echo "$as_me: error: $2" >&2
8374 as_fn_exit $as_status
8375 } # as_fn_error
8378 # as_fn_set_status STATUS
8379 # -----------------------
8380 # Set $? to STATUS, without forking.
8381 as_fn_set_status ()
8383 return $1
8384 } # as_fn_set_status
8386 # as_fn_exit STATUS
8387 # -----------------
8388 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8389 as_fn_exit ()
8391 set +e
8392 as_fn_set_status $1
8393 exit $1
8394 } # as_fn_exit
8396 # as_fn_unset VAR
8397 # ---------------
8398 # Portably unset VAR.
8399 as_fn_unset ()
8401 { eval $1=; unset $1;}
8403 as_unset=as_fn_unset
8404 # as_fn_append VAR VALUE
8405 # ----------------------
8406 # Append the text in VALUE to the end of the definition contained in VAR. Take
8407 # advantage of any shell optimizations that allow amortized linear growth over
8408 # repeated appends, instead of the typical quadratic growth present in naive
8409 # implementations.
8410 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8411 eval 'as_fn_append ()
8413 eval $1+=\$2
8415 else
8416 as_fn_append ()
8418 eval $1=\$$1\$2
8420 fi # as_fn_append
8422 # as_fn_arith ARG...
8423 # ------------------
8424 # Perform arithmetic evaluation on the ARGs, and store the result in the
8425 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8426 # must be portable across $(()) and expr.
8427 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8428 eval 'as_fn_arith ()
8430 as_val=$(( $* ))
8432 else
8433 as_fn_arith ()
8435 as_val=`expr "$@" || test $? -eq 1`
8437 fi # as_fn_arith
8440 if expr a : '\(a\)' >/dev/null 2>&1 &&
8441 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8442 as_expr=expr
8443 else
8444 as_expr=false
8447 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8448 as_basename=basename
8449 else
8450 as_basename=false
8453 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8454 as_dirname=dirname
8455 else
8456 as_dirname=false
8459 as_me=`$as_basename -- "$0" ||
8460 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8461 X"$0" : 'X\(//\)$' \| \
8462 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8463 $as_echo X/"$0" |
8464 sed '/^.*\/\([^/][^/]*\)\/*$/{
8465 s//\1/
8468 /^X\/\(\/\/\)$/{
8469 s//\1/
8472 /^X\/\(\/\).*/{
8473 s//\1/
8476 s/.*/./; q'`
8478 # Avoid depending upon Character Ranges.
8479 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8480 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8481 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8482 as_cr_digits='0123456789'
8483 as_cr_alnum=$as_cr_Letters$as_cr_digits
8485 ECHO_C= ECHO_N= ECHO_T=
8486 case `echo -n x` in #(((((
8487 -n*)
8488 case `echo 'xy\c'` in
8489 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8490 xy) ECHO_C='\c';;
8491 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8492 ECHO_T=' ';;
8493 esac;;
8495 ECHO_N='-n';;
8496 esac
8498 rm -f conf$$ conf$$.exe conf$$.file
8499 if test -d conf$$.dir; then
8500 rm -f conf$$.dir/conf$$.file
8501 else
8502 rm -f conf$$.dir
8503 mkdir conf$$.dir 2>/dev/null
8505 if (echo >conf$$.file) 2>/dev/null; then
8506 if ln -s conf$$.file conf$$ 2>/dev/null; then
8507 as_ln_s='ln -s'
8508 # ... but there are two gotchas:
8509 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8510 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8511 # In both cases, we have to default to `cp -pR'.
8512 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8513 as_ln_s='cp -pR'
8514 elif ln conf$$.file conf$$ 2>/dev/null; then
8515 as_ln_s=ln
8516 else
8517 as_ln_s='cp -pR'
8519 else
8520 as_ln_s='cp -pR'
8522 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8523 rmdir conf$$.dir 2>/dev/null
8526 # as_fn_mkdir_p
8527 # -------------
8528 # Create "$as_dir" as a directory, including parents if necessary.
8529 as_fn_mkdir_p ()
8532 case $as_dir in #(
8533 -*) as_dir=./$as_dir;;
8534 esac
8535 test -d "$as_dir" || eval $as_mkdir_p || {
8536 as_dirs=
8537 while :; do
8538 case $as_dir in #(
8539 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8540 *) as_qdir=$as_dir;;
8541 esac
8542 as_dirs="'$as_qdir' $as_dirs"
8543 as_dir=`$as_dirname -- "$as_dir" ||
8544 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8545 X"$as_dir" : 'X\(//\)[^/]' \| \
8546 X"$as_dir" : 'X\(//\)$' \| \
8547 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8548 $as_echo X"$as_dir" |
8549 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8550 s//\1/
8553 /^X\(\/\/\)[^/].*/{
8554 s//\1/
8557 /^X\(\/\/\)$/{
8558 s//\1/
8561 /^X\(\/\).*/{
8562 s//\1/
8565 s/.*/./; q'`
8566 test -d "$as_dir" && break
8567 done
8568 test -z "$as_dirs" || eval "mkdir $as_dirs"
8569 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8572 } # as_fn_mkdir_p
8573 if mkdir -p . 2>/dev/null; then
8574 as_mkdir_p='mkdir -p "$as_dir"'
8575 else
8576 test -d ./-p && rmdir ./-p
8577 as_mkdir_p=false
8581 # as_fn_executable_p FILE
8582 # -----------------------
8583 # Test if FILE is an executable regular file.
8584 as_fn_executable_p ()
8586 test -f "$1" && test -x "$1"
8587 } # as_fn_executable_p
8588 as_test_x='test -x'
8589 as_executable_p=as_fn_executable_p
8591 # Sed expression to map a string onto a valid CPP name.
8592 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8594 # Sed expression to map a string onto a valid variable name.
8595 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8598 exec 6>&1
8599 ## ----------------------------------- ##
8600 ## Main body of $CONFIG_STATUS script. ##
8601 ## ----------------------------------- ##
8602 _ASEOF
8603 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8606 # Save the log message, to keep $0 and so on meaningful, and to
8607 # report actual input values of CONFIG_FILES etc. instead of their
8608 # values after options handling.
8609 ac_log="
8610 This file was extended by ocurl $as_me 0.7.2, which was
8611 generated by GNU Autoconf 2.69. Invocation command line was
8613 CONFIG_FILES = $CONFIG_FILES
8614 CONFIG_HEADERS = $CONFIG_HEADERS
8615 CONFIG_LINKS = $CONFIG_LINKS
8616 CONFIG_COMMANDS = $CONFIG_COMMANDS
8617 $ $0 $@
8619 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8622 _ACEOF
8624 case $ac_config_files in *"
8625 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8626 esac
8628 case $ac_config_headers in *"
8629 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8630 esac
8633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8634 # Files that config.status was made for.
8635 config_files="$ac_config_files"
8636 config_headers="$ac_config_headers"
8638 _ACEOF
8640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8641 ac_cs_usage="\
8642 \`$as_me' instantiates files and other configuration actions
8643 from templates according to the current configuration. Unless the files
8644 and actions are specified as TAGs, all are instantiated by default.
8646 Usage: $0 [OPTION]... [TAG]...
8648 -h, --help print this help, then exit
8649 -V, --version print version number and configuration settings, then exit
8650 --config print configuration, then exit
8651 -q, --quiet, --silent
8652 do not print progress messages
8653 -d, --debug don't remove temporary files
8654 --recheck update $as_me by reconfiguring in the same conditions
8655 --file=FILE[:TEMPLATE]
8656 instantiate the configuration file FILE
8657 --header=FILE[:TEMPLATE]
8658 instantiate the configuration header FILE
8660 Configuration files:
8661 $config_files
8663 Configuration headers:
8664 $config_headers
8666 Report bugs to the package provider."
8668 _ACEOF
8669 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8670 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8671 ac_cs_version="\\
8672 ocurl config.status 0.7.2
8673 configured by $0, generated by GNU Autoconf 2.69,
8674 with options \\"\$ac_cs_config\\"
8676 Copyright (C) 2012 Free Software Foundation, Inc.
8677 This config.status script is free software; the Free Software Foundation
8678 gives unlimited permission to copy, distribute and modify it."
8680 ac_pwd='$ac_pwd'
8681 srcdir='$srcdir'
8682 INSTALL='$INSTALL'
8683 test -n "\$AWK" || AWK=awk
8684 _ACEOF
8686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8687 # The default lists apply if the user does not specify any file.
8688 ac_need_defaults=:
8689 while test $# != 0
8691 case $1 in
8692 --*=?*)
8693 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8694 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8695 ac_shift=:
8697 --*=)
8698 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8699 ac_optarg=
8700 ac_shift=:
8703 ac_option=$1
8704 ac_optarg=$2
8705 ac_shift=shift
8707 esac
8709 case $ac_option in
8710 # Handling of the options.
8711 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8712 ac_cs_recheck=: ;;
8713 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8714 $as_echo "$ac_cs_version"; exit ;;
8715 --config | --confi | --conf | --con | --co | --c )
8716 $as_echo "$ac_cs_config"; exit ;;
8717 --debug | --debu | --deb | --de | --d | -d )
8718 debug=: ;;
8719 --file | --fil | --fi | --f )
8720 $ac_shift
8721 case $ac_optarg in
8722 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8723 '') as_fn_error $? "missing file argument" ;;
8724 esac
8725 as_fn_append CONFIG_FILES " '$ac_optarg'"
8726 ac_need_defaults=false;;
8727 --header | --heade | --head | --hea )
8728 $ac_shift
8729 case $ac_optarg in
8730 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8731 esac
8732 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8733 ac_need_defaults=false;;
8734 --he | --h)
8735 # Conflict between --help and --header
8736 as_fn_error $? "ambiguous option: \`$1'
8737 Try \`$0 --help' for more information.";;
8738 --help | --hel | -h )
8739 $as_echo "$ac_cs_usage"; exit ;;
8740 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8741 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8742 ac_cs_silent=: ;;
8744 # This is an error.
8745 -*) as_fn_error $? "unrecognized option: \`$1'
8746 Try \`$0 --help' for more information." ;;
8748 *) as_fn_append ac_config_targets " $1"
8749 ac_need_defaults=false ;;
8751 esac
8752 shift
8753 done
8755 ac_configure_extra_args=
8757 if $ac_cs_silent; then
8758 exec 6>/dev/null
8759 ac_configure_extra_args="$ac_configure_extra_args --silent"
8762 _ACEOF
8763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8764 if \$ac_cs_recheck; then
8765 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8766 shift
8767 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8768 CONFIG_SHELL='$SHELL'
8769 export CONFIG_SHELL
8770 exec "\$@"
8773 _ACEOF
8774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8775 exec 5>>config.log
8777 echo
8778 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8779 ## Running $as_me. ##
8780 _ASBOX
8781 $as_echo "$ac_log"
8782 } >&5
8784 _ACEOF
8785 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8786 _ACEOF
8788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8790 # Handling of arguments.
8791 for ac_config_target in $ac_config_targets
8793 case $ac_config_target in
8794 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8795 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8796 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
8798 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8799 esac
8800 done
8803 # If the user did not use the arguments to specify the items to instantiate,
8804 # then the envvar interface is used. Set only those that are not.
8805 # We use the long form for the default assignment because of an extremely
8806 # bizarre bug on SunOS 4.1.3.
8807 if $ac_need_defaults; then
8808 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8809 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8812 # Have a temporary directory for convenience. Make it in the build tree
8813 # simply because there is no reason against having it here, and in addition,
8814 # creating and moving files from /tmp can sometimes cause problems.
8815 # Hook for its removal unless debugging.
8816 # Note that there is a small window in which the directory will not be cleaned:
8817 # after its creation but before its name has been assigned to `$tmp'.
8818 $debug ||
8820 tmp= ac_tmp=
8821 trap 'exit_status=$?
8822 : "${ac_tmp:=$tmp}"
8823 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8825 trap 'as_fn_exit 1' 1 2 13 15
8827 # Create a (secure) tmp directory for tmp files.
8830 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8831 test -d "$tmp"
8832 } ||
8834 tmp=./conf$$-$RANDOM
8835 (umask 077 && mkdir "$tmp")
8836 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8837 ac_tmp=$tmp
8839 # Set up the scripts for CONFIG_FILES section.
8840 # No need to generate them if there are no CONFIG_FILES.
8841 # This happens for instance with `./config.status config.h'.
8842 if test -n "$CONFIG_FILES"; then
8845 ac_cr=`echo X | tr X '\015'`
8846 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8847 # But we know of no other shell where ac_cr would be empty at this
8848 # point, so we can use a bashism as a fallback.
8849 if test "x$ac_cr" = x; then
8850 eval ac_cr=\$\'\\r\'
8852 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8853 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8854 ac_cs_awk_cr='\\r'
8855 else
8856 ac_cs_awk_cr=$ac_cr
8859 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8860 _ACEOF
8864 echo "cat >conf$$subs.awk <<_ACEOF" &&
8865 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8866 echo "_ACEOF"
8867 } >conf$$subs.sh ||
8868 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8869 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8870 ac_delim='%!_!# '
8871 for ac_last_try in false false false false false :; do
8872 . ./conf$$subs.sh ||
8873 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8875 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8876 if test $ac_delim_n = $ac_delim_num; then
8877 break
8878 elif $ac_last_try; then
8879 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8880 else
8881 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8883 done
8884 rm -f conf$$subs.sh
8886 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8887 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8888 _ACEOF
8889 sed -n '
8891 s/^/S["/; s/!.*/"]=/
8894 s/^[^!]*!//
8895 :repl
8896 t repl
8897 s/'"$ac_delim"'$//
8898 t delim
8901 s/\(.\{148\}\)..*/\1/
8902 t more1
8903 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8906 b repl
8907 :more1
8908 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8911 s/.\{148\}//
8912 t nl
8913 :delim
8915 s/\(.\{148\}\)..*/\1/
8916 t more2
8917 s/["\\]/\\&/g; s/^/"/; s/$/"/
8920 :more2
8921 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8924 s/.\{148\}//
8925 t delim
8926 ' <conf$$subs.awk | sed '
8927 /^[^""]/{
8929 s/\n//
8931 ' >>$CONFIG_STATUS || ac_write_fail=1
8932 rm -f conf$$subs.awk
8933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8934 _ACAWK
8935 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8936 for (key in S) S_is_set[key] = 1
8937 FS = "\a"
8941 line = $ 0
8942 nfields = split(line, field, "@")
8943 substed = 0
8944 len = length(field[1])
8945 for (i = 2; i < nfields; i++) {
8946 key = field[i]
8947 keylen = length(key)
8948 if (S_is_set[key]) {
8949 value = S[key]
8950 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8951 len += length(value) + length(field[++i])
8952 substed = 1
8953 } else
8954 len += 1 + keylen
8957 print line
8960 _ACAWK
8961 _ACEOF
8962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8963 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8964 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8965 else
8967 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8968 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8969 _ACEOF
8971 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8972 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8973 # trailing colons and then remove the whole line if VPATH becomes empty
8974 # (actually we leave an empty line to preserve line numbers).
8975 if test "x$srcdir" = x.; then
8976 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8978 s///
8979 s/^/:/
8980 s/[ ]*$/:/
8981 s/:\$(srcdir):/:/g
8982 s/:\${srcdir}:/:/g
8983 s/:@srcdir@:/:/g
8984 s/^:*//
8985 s/:*$//
8987 s/\(=[ ]*\).*/\1/
8989 s/\n//
8990 s/^[^=]*=[ ]*$//
8994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8995 fi # test -n "$CONFIG_FILES"
8997 # Set up the scripts for CONFIG_HEADERS section.
8998 # No need to generate them if there are no CONFIG_HEADERS.
8999 # This happens for instance with `./config.status Makefile'.
9000 if test -n "$CONFIG_HEADERS"; then
9001 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9002 BEGIN {
9003 _ACEOF
9005 # Transform confdefs.h into an awk script `defines.awk', embedded as
9006 # here-document in config.status, that substitutes the proper values into
9007 # config.h.in to produce config.h.
9009 # Create a delimiter string that does not exist in confdefs.h, to ease
9010 # handling of long lines.
9011 ac_delim='%!_!# '
9012 for ac_last_try in false false :; do
9013 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9014 if test -z "$ac_tt"; then
9015 break
9016 elif $ac_last_try; then
9017 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9018 else
9019 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9021 done
9023 # For the awk script, D is an array of macro values keyed by name,
9024 # likewise P contains macro parameters if any. Preserve backslash
9025 # newline sequences.
9027 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9028 sed -n '
9029 s/.\{148\}/&'"$ac_delim"'/g
9030 t rset
9031 :rset
9032 s/^[ ]*#[ ]*define[ ][ ]*/ /
9033 t def
9035 :def
9036 s/\\$//
9037 t bsnl
9038 s/["\\]/\\&/g
9039 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9040 D["\1"]=" \3"/p
9041 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
9043 :bsnl
9044 s/["\\]/\\&/g
9045 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9046 D["\1"]=" \3\\\\\\n"\\/p
9047 t cont
9048 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9049 t cont
9051 :cont
9053 s/.\{148\}/&'"$ac_delim"'/g
9054 t clear
9055 :clear
9056 s/\\$//
9057 t bsnlc
9058 s/["\\]/\\&/g; s/^/"/; s/$/"/p
9060 :bsnlc
9061 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9062 b cont
9063 ' <confdefs.h | sed '
9064 s/'"$ac_delim"'/"\\\
9065 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9068 for (key in D) D_is_set[key] = 1
9069 FS = "\a"
9071 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9072 line = \$ 0
9073 split(line, arg, " ")
9074 if (arg[1] == "#") {
9075 defundef = arg[2]
9076 mac1 = arg[3]
9077 } else {
9078 defundef = substr(arg[1], 2)
9079 mac1 = arg[2]
9081 split(mac1, mac2, "(") #)
9082 macro = mac2[1]
9083 prefix = substr(line, 1, index(line, defundef) - 1)
9084 if (D_is_set[macro]) {
9085 # Preserve the white space surrounding the "#".
9086 print prefix "define", macro P[macro] D[macro]
9087 next
9088 } else {
9089 # Replace #undef with comments. This is necessary, for example,
9090 # in the case of _POSIX_SOURCE, which is predefined and required
9091 # on some systems where configure will not decide to define it.
9092 if (defundef == "undef") {
9093 print "/*", prefix defundef, macro, "*/"
9094 next
9098 { print }
9099 _ACAWK
9100 _ACEOF
9101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9102 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
9103 fi # test -n "$CONFIG_HEADERS"
9106 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
9107 shift
9108 for ac_tag
9110 case $ac_tag in
9111 :[FHLC]) ac_mode=$ac_tag; continue;;
9112 esac
9113 case $ac_mode$ac_tag in
9114 :[FHL]*:*);;
9115 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9116 :[FH]-) ac_tag=-:-;;
9117 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9118 esac
9119 ac_save_IFS=$IFS
9120 IFS=:
9121 set x $ac_tag
9122 IFS=$ac_save_IFS
9123 shift
9124 ac_file=$1
9125 shift
9127 case $ac_mode in
9128 :L) ac_source=$1;;
9129 :[FH])
9130 ac_file_inputs=
9131 for ac_f
9133 case $ac_f in
9134 -) ac_f="$ac_tmp/stdin";;
9135 *) # Look for the file first in the build tree, then in the source tree
9136 # (if the path is not absolute). The absolute path cannot be DOS-style,
9137 # because $ac_f cannot contain `:'.
9138 test -f "$ac_f" ||
9139 case $ac_f in
9140 [\\/$]*) false;;
9141 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9142 esac ||
9143 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9144 esac
9145 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9146 as_fn_append ac_file_inputs " '$ac_f'"
9147 done
9149 # Let's still pretend it is `configure' which instantiates (i.e., don't
9150 # use $as_me), people would be surprised to read:
9151 # /* config.h. Generated by config.status. */
9152 configure_input='Generated from '`
9153 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9154 `' by configure.'
9155 if test x"$ac_file" != x-; then
9156 configure_input="$ac_file. $configure_input"
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9158 $as_echo "$as_me: creating $ac_file" >&6;}
9160 # Neutralize special characters interpreted by sed in replacement strings.
9161 case $configure_input in #(
9162 *\&* | *\|* | *\\* )
9163 ac_sed_conf_input=`$as_echo "$configure_input" |
9164 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9165 *) ac_sed_conf_input=$configure_input;;
9166 esac
9168 case $ac_tag in
9169 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9170 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9171 esac
9173 esac
9175 ac_dir=`$as_dirname -- "$ac_file" ||
9176 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9177 X"$ac_file" : 'X\(//\)[^/]' \| \
9178 X"$ac_file" : 'X\(//\)$' \| \
9179 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9180 $as_echo X"$ac_file" |
9181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9182 s//\1/
9185 /^X\(\/\/\)[^/].*/{
9186 s//\1/
9189 /^X\(\/\/\)$/{
9190 s//\1/
9193 /^X\(\/\).*/{
9194 s//\1/
9197 s/.*/./; q'`
9198 as_dir="$ac_dir"; as_fn_mkdir_p
9199 ac_builddir=.
9201 case "$ac_dir" in
9202 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9204 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9205 # A ".." for each directory in $ac_dir_suffix.
9206 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9207 case $ac_top_builddir_sub in
9208 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9209 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9210 esac ;;
9211 esac
9212 ac_abs_top_builddir=$ac_pwd
9213 ac_abs_builddir=$ac_pwd$ac_dir_suffix
9214 # for backward compatibility:
9215 ac_top_builddir=$ac_top_build_prefix
9217 case $srcdir in
9218 .) # We are building in place.
9219 ac_srcdir=.
9220 ac_top_srcdir=$ac_top_builddir_sub
9221 ac_abs_top_srcdir=$ac_pwd ;;
9222 [\\/]* | ?:[\\/]* ) # Absolute name.
9223 ac_srcdir=$srcdir$ac_dir_suffix;
9224 ac_top_srcdir=$srcdir
9225 ac_abs_top_srcdir=$srcdir ;;
9226 *) # Relative name.
9227 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9228 ac_top_srcdir=$ac_top_build_prefix$srcdir
9229 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9230 esac
9231 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9234 case $ac_mode in
9237 # CONFIG_FILE
9240 case $INSTALL in
9241 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9242 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9243 esac
9244 _ACEOF
9246 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9247 # If the template does not know about datarootdir, expand it.
9248 # FIXME: This hack should be removed a few years after 2.60.
9249 ac_datarootdir_hack=; ac_datarootdir_seen=
9250 ac_sed_dataroot='
9251 /datarootdir/ {
9255 /@datadir@/p
9256 /@docdir@/p
9257 /@infodir@/p
9258 /@localedir@/p
9259 /@mandir@/p'
9260 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9261 *datarootdir*) ac_datarootdir_seen=yes;;
9262 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9264 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9265 _ACEOF
9266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9267 ac_datarootdir_hack='
9268 s&@datadir@&$datadir&g
9269 s&@docdir@&$docdir&g
9270 s&@infodir@&$infodir&g
9271 s&@localedir@&$localedir&g
9272 s&@mandir@&$mandir&g
9273 s&\\\${datarootdir}&$datarootdir&g' ;;
9274 esac
9275 _ACEOF
9277 # Neutralize VPATH when `$srcdir' = `.'.
9278 # Shell code in configure.ac might set extrasub.
9279 # FIXME: do we really want to maintain this feature?
9280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9281 ac_sed_extra="$ac_vpsub
9282 $extrasub
9283 _ACEOF
9284 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9286 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9287 s|@configure_input@|$ac_sed_conf_input|;t t
9288 s&@top_builddir@&$ac_top_builddir_sub&;t t
9289 s&@top_build_prefix@&$ac_top_build_prefix&;t t
9290 s&@srcdir@&$ac_srcdir&;t t
9291 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9292 s&@top_srcdir@&$ac_top_srcdir&;t t
9293 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9294 s&@builddir@&$ac_builddir&;t t
9295 s&@abs_builddir@&$ac_abs_builddir&;t t
9296 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9297 s&@INSTALL@&$ac_INSTALL&;t t
9298 $ac_datarootdir_hack
9300 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9301 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9303 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9304 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9305 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9306 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9308 which seems to be undefined. Please make sure it is defined" >&5
9309 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9310 which seems to be undefined. Please make sure it is defined" >&2;}
9312 rm -f "$ac_tmp/stdin"
9313 case $ac_file in
9314 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9315 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9316 esac \
9317 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9321 # CONFIG_HEADER
9323 if test x"$ac_file" != x-; then
9325 $as_echo "/* $configure_input */" \
9326 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9327 } >"$ac_tmp/config.h" \
9328 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9329 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9331 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9332 else
9333 rm -f "$ac_file"
9334 mv "$ac_tmp/config.h" "$ac_file" \
9335 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9337 else
9338 $as_echo "/* $configure_input */" \
9339 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9340 || as_fn_error $? "could not create -" "$LINENO" 5
9345 esac
9347 done # for ac_tag
9350 as_fn_exit 0
9351 _ACEOF
9352 ac_clean_files=$ac_clean_files_save
9354 test $ac_write_fail = 0 ||
9355 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9358 # configure is writing to config.log, and then calls config.status.
9359 # config.status does its own redirection, appending to config.log.
9360 # Unfortunately, on DOS this fails, as config.log is still kept open
9361 # by configure, so config.status won't be able to write to it; its
9362 # output is simply discarded. So we exec the FD to /dev/null,
9363 # effectively closing config.log, so it can be properly (re)opened and
9364 # appended to by config.status. When coming back to configure, we
9365 # need to make the FD available again.
9366 if test "$no_create" != yes; then
9367 ac_cs_success=:
9368 ac_config_status_args=
9369 test "$silent" = yes &&
9370 ac_config_status_args="$ac_config_status_args --quiet"
9371 exec 5>/dev/null
9372 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9373 exec 5>>config.log
9374 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9375 # would make configure fail if this is the last instruction.
9376 $ac_cs_success || as_fn_exit 1
9378 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9380 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}