release 0.7.1
[ocurl.git] / configure
blob823e4402250470762ba4ef717afc6899b7dfc5ca
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ocurl 0.7.1.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 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.1'
581 PACKAGE_STRING='ocurl 0.7.1'
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.1 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.1:";;
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.1
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.1, 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" "CURLOPT_FILE" "ac_cv_have_decl_CURLOPT_FILE" "
4605 #include \"curl/curl.h\"
4608 if test "x$ac_cv_have_decl_CURLOPT_FILE" = xyes; then :
4609 ac_have_decl=1
4610 else
4611 ac_have_decl=0
4614 cat >>confdefs.h <<_ACEOF
4615 #define HAVE_DECL_CURLOPT_FILE $ac_have_decl
4616 _ACEOF
4617 ac_fn_c_check_decl "$LINENO" "CURLOPT_URL" "ac_cv_have_decl_CURLOPT_URL" "
4618 #include \"curl/curl.h\"
4621 if test "x$ac_cv_have_decl_CURLOPT_URL" = xyes; then :
4622 ac_have_decl=1
4623 else
4624 ac_have_decl=0
4627 cat >>confdefs.h <<_ACEOF
4628 #define HAVE_DECL_CURLOPT_URL $ac_have_decl
4629 _ACEOF
4630 ac_fn_c_check_decl "$LINENO" "CURLOPT_PORT" "ac_cv_have_decl_CURLOPT_PORT" "
4631 #include \"curl/curl.h\"
4634 if test "x$ac_cv_have_decl_CURLOPT_PORT" = xyes; then :
4635 ac_have_decl=1
4636 else
4637 ac_have_decl=0
4640 cat >>confdefs.h <<_ACEOF
4641 #define HAVE_DECL_CURLOPT_PORT $ac_have_decl
4642 _ACEOF
4643 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXY" "ac_cv_have_decl_CURLOPT_PROXY" "
4644 #include \"curl/curl.h\"
4647 if test "x$ac_cv_have_decl_CURLOPT_PROXY" = xyes; then :
4648 ac_have_decl=1
4649 else
4650 ac_have_decl=0
4653 cat >>confdefs.h <<_ACEOF
4654 #define HAVE_DECL_CURLOPT_PROXY $ac_have_decl
4655 _ACEOF
4656 ac_fn_c_check_decl "$LINENO" "CURLOPT_USERPWD" "ac_cv_have_decl_CURLOPT_USERPWD" "
4657 #include \"curl/curl.h\"
4660 if test "x$ac_cv_have_decl_CURLOPT_USERPWD" = xyes; then :
4661 ac_have_decl=1
4662 else
4663 ac_have_decl=0
4666 cat >>confdefs.h <<_ACEOF
4667 #define HAVE_DECL_CURLOPT_USERPWD $ac_have_decl
4668 _ACEOF
4669 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYUSERPWD" "ac_cv_have_decl_CURLOPT_PROXYUSERPWD" "
4670 #include \"curl/curl.h\"
4673 if test "x$ac_cv_have_decl_CURLOPT_PROXYUSERPWD" = xyes; then :
4674 ac_have_decl=1
4675 else
4676 ac_have_decl=0
4679 cat >>confdefs.h <<_ACEOF
4680 #define HAVE_DECL_CURLOPT_PROXYUSERPWD $ac_have_decl
4681 _ACEOF
4682 ac_fn_c_check_decl "$LINENO" "CURLOPT_RANGE" "ac_cv_have_decl_CURLOPT_RANGE" "
4683 #include \"curl/curl.h\"
4686 if test "x$ac_cv_have_decl_CURLOPT_RANGE" = xyes; then :
4687 ac_have_decl=1
4688 else
4689 ac_have_decl=0
4692 cat >>confdefs.h <<_ACEOF
4693 #define HAVE_DECL_CURLOPT_RANGE $ac_have_decl
4694 _ACEOF
4695 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILE" "ac_cv_have_decl_CURLOPT_INFILE" "
4696 #include \"curl/curl.h\"
4699 if test "x$ac_cv_have_decl_CURLOPT_INFILE" = xyes; then :
4700 ac_have_decl=1
4701 else
4702 ac_have_decl=0
4705 cat >>confdefs.h <<_ACEOF
4706 #define HAVE_DECL_CURLOPT_INFILE $ac_have_decl
4707 _ACEOF
4708 ac_fn_c_check_decl "$LINENO" "CURLOPT_ERRORBUFFER" "ac_cv_have_decl_CURLOPT_ERRORBUFFER" "
4709 #include \"curl/curl.h\"
4712 if test "x$ac_cv_have_decl_CURLOPT_ERRORBUFFER" = xyes; then :
4713 ac_have_decl=1
4714 else
4715 ac_have_decl=0
4718 cat >>confdefs.h <<_ACEOF
4719 #define HAVE_DECL_CURLOPT_ERRORBUFFER $ac_have_decl
4720 _ACEOF
4721 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEFUNCTION" "ac_cv_have_decl_CURLOPT_WRITEFUNCTION" "
4722 #include \"curl/curl.h\"
4725 if test "x$ac_cv_have_decl_CURLOPT_WRITEFUNCTION" = xyes; then :
4726 ac_have_decl=1
4727 else
4728 ac_have_decl=0
4731 cat >>confdefs.h <<_ACEOF
4732 #define HAVE_DECL_CURLOPT_WRITEFUNCTION $ac_have_decl
4733 _ACEOF
4734 ac_fn_c_check_decl "$LINENO" "CURLOPT_READFUNCTION" "ac_cv_have_decl_CURLOPT_READFUNCTION" "
4735 #include \"curl/curl.h\"
4738 if test "x$ac_cv_have_decl_CURLOPT_READFUNCTION" = xyes; then :
4739 ac_have_decl=1
4740 else
4741 ac_have_decl=0
4744 cat >>confdefs.h <<_ACEOF
4745 #define HAVE_DECL_CURLOPT_READFUNCTION $ac_have_decl
4746 _ACEOF
4747 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEOUT" "ac_cv_have_decl_CURLOPT_TIMEOUT" "
4748 #include \"curl/curl.h\"
4751 if test "x$ac_cv_have_decl_CURLOPT_TIMEOUT" = xyes; then :
4752 ac_have_decl=1
4753 else
4754 ac_have_decl=0
4757 cat >>confdefs.h <<_ACEOF
4758 #define HAVE_DECL_CURLOPT_TIMEOUT $ac_have_decl
4759 _ACEOF
4760 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILESIZE" "ac_cv_have_decl_CURLOPT_INFILESIZE" "
4761 #include \"curl/curl.h\"
4764 if test "x$ac_cv_have_decl_CURLOPT_INFILESIZE" = xyes; then :
4765 ac_have_decl=1
4766 else
4767 ac_have_decl=0
4770 cat >>confdefs.h <<_ACEOF
4771 #define HAVE_DECL_CURLOPT_INFILESIZE $ac_have_decl
4772 _ACEOF
4773 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDS" "ac_cv_have_decl_CURLOPT_POSTFIELDS" "
4774 #include \"curl/curl.h\"
4777 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDS" = xyes; then :
4778 ac_have_decl=1
4779 else
4780 ac_have_decl=0
4783 cat >>confdefs.h <<_ACEOF
4784 #define HAVE_DECL_CURLOPT_POSTFIELDS $ac_have_decl
4785 _ACEOF
4786 ac_fn_c_check_decl "$LINENO" "CURLOPT_REFERER" "ac_cv_have_decl_CURLOPT_REFERER" "
4787 #include \"curl/curl.h\"
4790 if test "x$ac_cv_have_decl_CURLOPT_REFERER" = xyes; then :
4791 ac_have_decl=1
4792 else
4793 ac_have_decl=0
4796 cat >>confdefs.h <<_ACEOF
4797 #define HAVE_DECL_CURLOPT_REFERER $ac_have_decl
4798 _ACEOF
4799 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPPORT" "ac_cv_have_decl_CURLOPT_FTPPORT" "
4800 #include \"curl/curl.h\"
4803 if test "x$ac_cv_have_decl_CURLOPT_FTPPORT" = xyes; then :
4804 ac_have_decl=1
4805 else
4806 ac_have_decl=0
4809 cat >>confdefs.h <<_ACEOF
4810 #define HAVE_DECL_CURLOPT_FTPPORT $ac_have_decl
4811 _ACEOF
4812 ac_fn_c_check_decl "$LINENO" "CURLOPT_USERAGENT" "ac_cv_have_decl_CURLOPT_USERAGENT" "
4813 #include \"curl/curl.h\"
4816 if test "x$ac_cv_have_decl_CURLOPT_USERAGENT" = xyes; then :
4817 ac_have_decl=1
4818 else
4819 ac_have_decl=0
4822 cat >>confdefs.h <<_ACEOF
4823 #define HAVE_DECL_CURLOPT_USERAGENT $ac_have_decl
4824 _ACEOF
4825 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOW_SPEED_LIMIT" "ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" "
4826 #include \"curl/curl.h\"
4829 if test "x$ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" = xyes; then :
4830 ac_have_decl=1
4831 else
4832 ac_have_decl=0
4835 cat >>confdefs.h <<_ACEOF
4836 #define HAVE_DECL_CURLOPT_LOW_SPEED_LIMIT $ac_have_decl
4837 _ACEOF
4838 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOW_SPEED_TIME" "ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" "
4839 #include \"curl/curl.h\"
4842 if test "x$ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" = xyes; then :
4843 ac_have_decl=1
4844 else
4845 ac_have_decl=0
4848 cat >>confdefs.h <<_ACEOF
4849 #define HAVE_DECL_CURLOPT_LOW_SPEED_TIME $ac_have_decl
4850 _ACEOF
4851 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESUME_FROM" "ac_cv_have_decl_CURLOPT_RESUME_FROM" "
4852 #include \"curl/curl.h\"
4855 if test "x$ac_cv_have_decl_CURLOPT_RESUME_FROM" = xyes; then :
4856 ac_have_decl=1
4857 else
4858 ac_have_decl=0
4861 cat >>confdefs.h <<_ACEOF
4862 #define HAVE_DECL_CURLOPT_RESUME_FROM $ac_have_decl
4863 _ACEOF
4864 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIE" "ac_cv_have_decl_CURLOPT_COOKIE" "
4865 #include \"curl/curl.h\"
4868 if test "x$ac_cv_have_decl_CURLOPT_COOKIE" = xyes; then :
4869 ac_have_decl=1
4870 else
4871 ac_have_decl=0
4874 cat >>confdefs.h <<_ACEOF
4875 #define HAVE_DECL_CURLOPT_COOKIE $ac_have_decl
4876 _ACEOF
4877 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPHEADER" "ac_cv_have_decl_CURLOPT_HTTPHEADER" "
4878 #include \"curl/curl.h\"
4881 if test "x$ac_cv_have_decl_CURLOPT_HTTPHEADER" = xyes; then :
4882 ac_have_decl=1
4883 else
4884 ac_have_decl=0
4887 cat >>confdefs.h <<_ACEOF
4888 #define HAVE_DECL_CURLOPT_HTTPHEADER $ac_have_decl
4889 _ACEOF
4890 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPPOST" "ac_cv_have_decl_CURLOPT_HTTPPOST" "
4891 #include \"curl/curl.h\"
4894 if test "x$ac_cv_have_decl_CURLOPT_HTTPPOST" = xyes; then :
4895 ac_have_decl=1
4896 else
4897 ac_have_decl=0
4900 cat >>confdefs.h <<_ACEOF
4901 #define HAVE_DECL_CURLOPT_HTTPPOST $ac_have_decl
4902 _ACEOF
4903 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERT" "ac_cv_have_decl_CURLOPT_SSLCERT" "
4904 #include \"curl/curl.h\"
4907 if test "x$ac_cv_have_decl_CURLOPT_SSLCERT" = xyes; then :
4908 ac_have_decl=1
4909 else
4910 ac_have_decl=0
4913 cat >>confdefs.h <<_ACEOF
4914 #define HAVE_DECL_CURLOPT_SSLCERT $ac_have_decl
4915 _ACEOF
4916 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERTPASSWD" "ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" "
4917 #include \"curl/curl.h\"
4920 if test "x$ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" = xyes; then :
4921 ac_have_decl=1
4922 else
4923 ac_have_decl=0
4926 cat >>confdefs.h <<_ACEOF
4927 #define HAVE_DECL_CURLOPT_SSLCERTPASSWD $ac_have_decl
4928 _ACEOF
4929 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEYPASSWD" "ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" "
4930 #include \"curl/curl.h\"
4933 if test "x$ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" = xyes; then :
4934 ac_have_decl=1
4935 else
4936 ac_have_decl=0
4939 cat >>confdefs.h <<_ACEOF
4940 #define HAVE_DECL_CURLOPT_SSLKEYPASSWD $ac_have_decl
4941 _ACEOF
4942 ac_fn_c_check_decl "$LINENO" "CURLOPT_CRLF" "ac_cv_have_decl_CURLOPT_CRLF" "
4943 #include \"curl/curl.h\"
4946 if test "x$ac_cv_have_decl_CURLOPT_CRLF" = xyes; then :
4947 ac_have_decl=1
4948 else
4949 ac_have_decl=0
4952 cat >>confdefs.h <<_ACEOF
4953 #define HAVE_DECL_CURLOPT_CRLF $ac_have_decl
4954 _ACEOF
4955 ac_fn_c_check_decl "$LINENO" "CURLOPT_QUOTE" "ac_cv_have_decl_CURLOPT_QUOTE" "
4956 #include \"curl/curl.h\"
4959 if test "x$ac_cv_have_decl_CURLOPT_QUOTE" = xyes; then :
4960 ac_have_decl=1
4961 else
4962 ac_have_decl=0
4965 cat >>confdefs.h <<_ACEOF
4966 #define HAVE_DECL_CURLOPT_QUOTE $ac_have_decl
4967 _ACEOF
4968 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEHEADER" "ac_cv_have_decl_CURLOPT_WRITEHEADER" "
4969 #include \"curl/curl.h\"
4972 if test "x$ac_cv_have_decl_CURLOPT_WRITEHEADER" = xyes; then :
4973 ac_have_decl=1
4974 else
4975 ac_have_decl=0
4978 cat >>confdefs.h <<_ACEOF
4979 #define HAVE_DECL_CURLOPT_WRITEHEADER $ac_have_decl
4980 _ACEOF
4981 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIEFILE" "ac_cv_have_decl_CURLOPT_COOKIEFILE" "
4982 #include \"curl/curl.h\"
4985 if test "x$ac_cv_have_decl_CURLOPT_COOKIEFILE" = xyes; then :
4986 ac_have_decl=1
4987 else
4988 ac_have_decl=0
4991 cat >>confdefs.h <<_ACEOF
4992 #define HAVE_DECL_CURLOPT_COOKIEFILE $ac_have_decl
4993 _ACEOF
4994 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLVERSION" "ac_cv_have_decl_CURLOPT_SSLVERSION" "
4995 #include \"curl/curl.h\"
4998 if test "x$ac_cv_have_decl_CURLOPT_SSLVERSION" = xyes; then :
4999 ac_have_decl=1
5000 else
5001 ac_have_decl=0
5004 cat >>confdefs.h <<_ACEOF
5005 #define HAVE_DECL_CURLOPT_SSLVERSION $ac_have_decl
5006 _ACEOF
5007 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMECONDITION" "ac_cv_have_decl_CURLOPT_TIMECONDITION" "
5008 #include \"curl/curl.h\"
5011 if test "x$ac_cv_have_decl_CURLOPT_TIMECONDITION" = xyes; then :
5012 ac_have_decl=1
5013 else
5014 ac_have_decl=0
5017 cat >>confdefs.h <<_ACEOF
5018 #define HAVE_DECL_CURLOPT_TIMECONDITION $ac_have_decl
5019 _ACEOF
5020 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEVALUE" "ac_cv_have_decl_CURLOPT_TIMEVALUE" "
5021 #include \"curl/curl.h\"
5024 if test "x$ac_cv_have_decl_CURLOPT_TIMEVALUE" = xyes; then :
5025 ac_have_decl=1
5026 else
5027 ac_have_decl=0
5030 cat >>confdefs.h <<_ACEOF
5031 #define HAVE_DECL_CURLOPT_TIMEVALUE $ac_have_decl
5032 _ACEOF
5033 ac_fn_c_check_decl "$LINENO" "CURLOPT_CUSTOMREQUEST" "ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" "
5034 #include \"curl/curl.h\"
5037 if test "x$ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" = xyes; then :
5038 ac_have_decl=1
5039 else
5040 ac_have_decl=0
5043 cat >>confdefs.h <<_ACEOF
5044 #define HAVE_DECL_CURLOPT_CUSTOMREQUEST $ac_have_decl
5045 _ACEOF
5046 ac_fn_c_check_decl "$LINENO" "CURLOPT_STDERR" "ac_cv_have_decl_CURLOPT_STDERR" "
5047 #include \"curl/curl.h\"
5050 if test "x$ac_cv_have_decl_CURLOPT_STDERR" = xyes; then :
5051 ac_have_decl=1
5052 else
5053 ac_have_decl=0
5056 cat >>confdefs.h <<_ACEOF
5057 #define HAVE_DECL_CURLOPT_STDERR $ac_have_decl
5058 _ACEOF
5059 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTQUOTE" "ac_cv_have_decl_CURLOPT_POSTQUOTE" "
5060 #include \"curl/curl.h\"
5063 if test "x$ac_cv_have_decl_CURLOPT_POSTQUOTE" = xyes; then :
5064 ac_have_decl=1
5065 else
5066 ac_have_decl=0
5069 cat >>confdefs.h <<_ACEOF
5070 #define HAVE_DECL_CURLOPT_POSTQUOTE $ac_have_decl
5071 _ACEOF
5072 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEINFO" "ac_cv_have_decl_CURLOPT_WRITEINFO" "
5073 #include \"curl/curl.h\"
5076 if test "x$ac_cv_have_decl_CURLOPT_WRITEINFO" = xyes; then :
5077 ac_have_decl=1
5078 else
5079 ac_have_decl=0
5082 cat >>confdefs.h <<_ACEOF
5083 #define HAVE_DECL_CURLOPT_WRITEINFO $ac_have_decl
5084 _ACEOF
5085 ac_fn_c_check_decl "$LINENO" "CURLOPT_VERBOSE" "ac_cv_have_decl_CURLOPT_VERBOSE" "
5086 #include \"curl/curl.h\"
5089 if test "x$ac_cv_have_decl_CURLOPT_VERBOSE" = xyes; then :
5090 ac_have_decl=1
5091 else
5092 ac_have_decl=0
5095 cat >>confdefs.h <<_ACEOF
5096 #define HAVE_DECL_CURLOPT_VERBOSE $ac_have_decl
5097 _ACEOF
5098 ac_fn_c_check_decl "$LINENO" "CURLOPT_HEADER" "ac_cv_have_decl_CURLOPT_HEADER" "
5099 #include \"curl/curl.h\"
5102 if test "x$ac_cv_have_decl_CURLOPT_HEADER" = xyes; then :
5103 ac_have_decl=1
5104 else
5105 ac_have_decl=0
5108 cat >>confdefs.h <<_ACEOF
5109 #define HAVE_DECL_CURLOPT_HEADER $ac_have_decl
5110 _ACEOF
5111 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOPROGRESS" "ac_cv_have_decl_CURLOPT_NOPROGRESS" "
5112 #include \"curl/curl.h\"
5115 if test "x$ac_cv_have_decl_CURLOPT_NOPROGRESS" = xyes; then :
5116 ac_have_decl=1
5117 else
5118 ac_have_decl=0
5121 cat >>confdefs.h <<_ACEOF
5122 #define HAVE_DECL_CURLOPT_NOPROGRESS $ac_have_decl
5123 _ACEOF
5124 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOBODY" "ac_cv_have_decl_CURLOPT_NOBODY" "
5125 #include \"curl/curl.h\"
5128 if test "x$ac_cv_have_decl_CURLOPT_NOBODY" = xyes; then :
5129 ac_have_decl=1
5130 else
5131 ac_have_decl=0
5134 cat >>confdefs.h <<_ACEOF
5135 #define HAVE_DECL_CURLOPT_NOBODY $ac_have_decl
5136 _ACEOF
5137 ac_fn_c_check_decl "$LINENO" "CURLOPT_FAILONERROR" "ac_cv_have_decl_CURLOPT_FAILONERROR" "
5138 #include \"curl/curl.h\"
5141 if test "x$ac_cv_have_decl_CURLOPT_FAILONERROR" = xyes; then :
5142 ac_have_decl=1
5143 else
5144 ac_have_decl=0
5147 cat >>confdefs.h <<_ACEOF
5148 #define HAVE_DECL_CURLOPT_FAILONERROR $ac_have_decl
5149 _ACEOF
5150 ac_fn_c_check_decl "$LINENO" "CURLOPT_UPLOAD" "ac_cv_have_decl_CURLOPT_UPLOAD" "
5151 #include \"curl/curl.h\"
5154 if test "x$ac_cv_have_decl_CURLOPT_UPLOAD" = xyes; then :
5155 ac_have_decl=1
5156 else
5157 ac_have_decl=0
5160 cat >>confdefs.h <<_ACEOF
5161 #define HAVE_DECL_CURLOPT_UPLOAD $ac_have_decl
5162 _ACEOF
5163 ac_fn_c_check_decl "$LINENO" "CURLOPT_POST" "ac_cv_have_decl_CURLOPT_POST" "
5164 #include \"curl/curl.h\"
5167 if test "x$ac_cv_have_decl_CURLOPT_POST" = xyes; then :
5168 ac_have_decl=1
5169 else
5170 ac_have_decl=0
5173 cat >>confdefs.h <<_ACEOF
5174 #define HAVE_DECL_CURLOPT_POST $ac_have_decl
5175 _ACEOF
5176 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPLISTONLY" "ac_cv_have_decl_CURLOPT_FTPLISTONLY" "
5177 #include \"curl/curl.h\"
5180 if test "x$ac_cv_have_decl_CURLOPT_FTPLISTONLY" = xyes; then :
5181 ac_have_decl=1
5182 else
5183 ac_have_decl=0
5186 cat >>confdefs.h <<_ACEOF
5187 #define HAVE_DECL_CURLOPT_FTPLISTONLY $ac_have_decl
5188 _ACEOF
5189 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPAPPEND" "ac_cv_have_decl_CURLOPT_FTPAPPEND" "
5190 #include \"curl/curl.h\"
5193 if test "x$ac_cv_have_decl_CURLOPT_FTPAPPEND" = xyes; then :
5194 ac_have_decl=1
5195 else
5196 ac_have_decl=0
5199 cat >>confdefs.h <<_ACEOF
5200 #define HAVE_DECL_CURLOPT_FTPAPPEND $ac_have_decl
5201 _ACEOF
5202 ac_fn_c_check_decl "$LINENO" "CURLOPT_NETRC" "ac_cv_have_decl_CURLOPT_NETRC" "
5203 #include \"curl/curl.h\"
5206 if test "x$ac_cv_have_decl_CURLOPT_NETRC" = xyes; then :
5207 ac_have_decl=1
5208 else
5209 ac_have_decl=0
5212 cat >>confdefs.h <<_ACEOF
5213 #define HAVE_DECL_CURLOPT_NETRC $ac_have_decl
5214 _ACEOF
5215 ac_fn_c_check_decl "$LINENO" "CURLOPT_FOLLOWLOCATION" "ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" "
5216 #include \"curl/curl.h\"
5219 if test "x$ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" = xyes; then :
5220 ac_have_decl=1
5221 else
5222 ac_have_decl=0
5225 cat >>confdefs.h <<_ACEOF
5226 #define HAVE_DECL_CURLOPT_FOLLOWLOCATION $ac_have_decl
5227 _ACEOF
5228 ac_fn_c_check_decl "$LINENO" "CURLOPT_TRANSFERTEXT" "ac_cv_have_decl_CURLOPT_TRANSFERTEXT" "
5229 #include \"curl/curl.h\"
5232 if test "x$ac_cv_have_decl_CURLOPT_TRANSFERTEXT" = xyes; then :
5233 ac_have_decl=1
5234 else
5235 ac_have_decl=0
5238 cat >>confdefs.h <<_ACEOF
5239 #define HAVE_DECL_CURLOPT_TRANSFERTEXT $ac_have_decl
5240 _ACEOF
5241 ac_fn_c_check_decl "$LINENO" "CURLOPT_PUT" "ac_cv_have_decl_CURLOPT_PUT" "
5242 #include \"curl/curl.h\"
5245 if test "x$ac_cv_have_decl_CURLOPT_PUT" = xyes; then :
5246 ac_have_decl=1
5247 else
5248 ac_have_decl=0
5251 cat >>confdefs.h <<_ACEOF
5252 #define HAVE_DECL_CURLOPT_PUT $ac_have_decl
5253 _ACEOF
5254 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROGRESSFUNCTION" "ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" "
5255 #include \"curl/curl.h\"
5258 if test "x$ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" = xyes; then :
5259 ac_have_decl=1
5260 else
5261 ac_have_decl=0
5264 cat >>confdefs.h <<_ACEOF
5265 #define HAVE_DECL_CURLOPT_PROGRESSFUNCTION $ac_have_decl
5266 _ACEOF
5267 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROGRESSDATA" "ac_cv_have_decl_CURLOPT_PROGRESSDATA" "
5268 #include \"curl/curl.h\"
5271 if test "x$ac_cv_have_decl_CURLOPT_PROGRESSDATA" = xyes; then :
5272 ac_have_decl=1
5273 else
5274 ac_have_decl=0
5277 cat >>confdefs.h <<_ACEOF
5278 #define HAVE_DECL_CURLOPT_PROGRESSDATA $ac_have_decl
5279 _ACEOF
5280 ac_fn_c_check_decl "$LINENO" "CURLOPT_AUTOREFERER" "ac_cv_have_decl_CURLOPT_AUTOREFERER" "
5281 #include \"curl/curl.h\"
5284 if test "x$ac_cv_have_decl_CURLOPT_AUTOREFERER" = xyes; then :
5285 ac_have_decl=1
5286 else
5287 ac_have_decl=0
5290 cat >>confdefs.h <<_ACEOF
5291 #define HAVE_DECL_CURLOPT_AUTOREFERER $ac_have_decl
5292 _ACEOF
5293 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYPORT" "ac_cv_have_decl_CURLOPT_PROXYPORT" "
5294 #include \"curl/curl.h\"
5297 if test "x$ac_cv_have_decl_CURLOPT_PROXYPORT" = xyes; then :
5298 ac_have_decl=1
5299 else
5300 ac_have_decl=0
5303 cat >>confdefs.h <<_ACEOF
5304 #define HAVE_DECL_CURLOPT_PROXYPORT $ac_have_decl
5305 _ACEOF
5306 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDSIZE" "ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" "
5307 #include \"curl/curl.h\"
5310 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" = xyes; then :
5311 ac_have_decl=1
5312 else
5313 ac_have_decl=0
5316 cat >>confdefs.h <<_ACEOF
5317 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE $ac_have_decl
5318 _ACEOF
5319 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPPROXYTUNNEL" "ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" "
5320 #include \"curl/curl.h\"
5323 if test "x$ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" = xyes; then :
5324 ac_have_decl=1
5325 else
5326 ac_have_decl=0
5329 cat >>confdefs.h <<_ACEOF
5330 #define HAVE_DECL_CURLOPT_HTTPPROXYTUNNEL $ac_have_decl
5331 _ACEOF
5332 ac_fn_c_check_decl "$LINENO" "CURLOPT_INTERFACE" "ac_cv_have_decl_CURLOPT_INTERFACE" "
5333 #include \"curl/curl.h\"
5336 if test "x$ac_cv_have_decl_CURLOPT_INTERFACE" = xyes; then :
5337 ac_have_decl=1
5338 else
5339 ac_have_decl=0
5342 cat >>confdefs.h <<_ACEOF
5343 #define HAVE_DECL_CURLOPT_INTERFACE $ac_have_decl
5344 _ACEOF
5345 ac_fn_c_check_decl "$LINENO" "CURLOPT_KRB4LEVEL" "ac_cv_have_decl_CURLOPT_KRB4LEVEL" "
5346 #include \"curl/curl.h\"
5349 if test "x$ac_cv_have_decl_CURLOPT_KRB4LEVEL" = xyes; then :
5350 ac_have_decl=1
5351 else
5352 ac_have_decl=0
5355 cat >>confdefs.h <<_ACEOF
5356 #define HAVE_DECL_CURLOPT_KRB4LEVEL $ac_have_decl
5357 _ACEOF
5358 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_VERIFYPEER" "ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" "
5359 #include \"curl/curl.h\"
5362 if test "x$ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" = xyes; then :
5363 ac_have_decl=1
5364 else
5365 ac_have_decl=0
5368 cat >>confdefs.h <<_ACEOF
5369 #define HAVE_DECL_CURLOPT_SSL_VERIFYPEER $ac_have_decl
5370 _ACEOF
5371 ac_fn_c_check_decl "$LINENO" "CURLOPT_CAINFO" "ac_cv_have_decl_CURLOPT_CAINFO" "
5372 #include \"curl/curl.h\"
5375 if test "x$ac_cv_have_decl_CURLOPT_CAINFO" = xyes; then :
5376 ac_have_decl=1
5377 else
5378 ac_have_decl=0
5381 cat >>confdefs.h <<_ACEOF
5382 #define HAVE_DECL_CURLOPT_CAINFO $ac_have_decl
5383 _ACEOF
5384 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXREDIRS" "ac_cv_have_decl_CURLOPT_MAXREDIRS" "
5385 #include \"curl/curl.h\"
5388 if test "x$ac_cv_have_decl_CURLOPT_MAXREDIRS" = xyes; then :
5389 ac_have_decl=1
5390 else
5391 ac_have_decl=0
5394 cat >>confdefs.h <<_ACEOF
5395 #define HAVE_DECL_CURLOPT_MAXREDIRS $ac_have_decl
5396 _ACEOF
5397 ac_fn_c_check_decl "$LINENO" "CURLOPT_FILETIME" "ac_cv_have_decl_CURLOPT_FILETIME" "
5398 #include \"curl/curl.h\"
5401 if test "x$ac_cv_have_decl_CURLOPT_FILETIME" = xyes; then :
5402 ac_have_decl=1
5403 else
5404 ac_have_decl=0
5407 cat >>confdefs.h <<_ACEOF
5408 #define HAVE_DECL_CURLOPT_FILETIME $ac_have_decl
5409 _ACEOF
5410 ac_fn_c_check_decl "$LINENO" "CURLOPT_TELNETOPTIONS" "ac_cv_have_decl_CURLOPT_TELNETOPTIONS" "
5411 #include \"curl/curl.h\"
5414 if test "x$ac_cv_have_decl_CURLOPT_TELNETOPTIONS" = xyes; then :
5415 ac_have_decl=1
5416 else
5417 ac_have_decl=0
5420 cat >>confdefs.h <<_ACEOF
5421 #define HAVE_DECL_CURLOPT_TELNETOPTIONS $ac_have_decl
5422 _ACEOF
5423 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXCONNECTS" "ac_cv_have_decl_CURLOPT_MAXCONNECTS" "
5424 #include \"curl/curl.h\"
5427 if test "x$ac_cv_have_decl_CURLOPT_MAXCONNECTS" = xyes; then :
5428 ac_have_decl=1
5429 else
5430 ac_have_decl=0
5433 cat >>confdefs.h <<_ACEOF
5434 #define HAVE_DECL_CURLOPT_MAXCONNECTS $ac_have_decl
5435 _ACEOF
5436 ac_fn_c_check_decl "$LINENO" "CURLOPT_CLOSEPOLICY" "ac_cv_have_decl_CURLOPT_CLOSEPOLICY" "
5437 #include \"curl/curl.h\"
5440 if test "x$ac_cv_have_decl_CURLOPT_CLOSEPOLICY" = xyes; then :
5441 ac_have_decl=1
5442 else
5443 ac_have_decl=0
5446 cat >>confdefs.h <<_ACEOF
5447 #define HAVE_DECL_CURLOPT_CLOSEPOLICY $ac_have_decl
5448 _ACEOF
5449 ac_fn_c_check_decl "$LINENO" "CURLOPT_FRESH_CONNECT" "ac_cv_have_decl_CURLOPT_FRESH_CONNECT" "
5450 #include \"curl/curl.h\"
5453 if test "x$ac_cv_have_decl_CURLOPT_FRESH_CONNECT" = xyes; then :
5454 ac_have_decl=1
5455 else
5456 ac_have_decl=0
5459 cat >>confdefs.h <<_ACEOF
5460 #define HAVE_DECL_CURLOPT_FRESH_CONNECT $ac_have_decl
5461 _ACEOF
5462 ac_fn_c_check_decl "$LINENO" "CURLOPT_FORBID_REUSE" "ac_cv_have_decl_CURLOPT_FORBID_REUSE" "
5463 #include \"curl/curl.h\"
5466 if test "x$ac_cv_have_decl_CURLOPT_FORBID_REUSE" = xyes; then :
5467 ac_have_decl=1
5468 else
5469 ac_have_decl=0
5472 cat >>confdefs.h <<_ACEOF
5473 #define HAVE_DECL_CURLOPT_FORBID_REUSE $ac_have_decl
5474 _ACEOF
5475 ac_fn_c_check_decl "$LINENO" "CURLOPT_RANDOM_FILE" "ac_cv_have_decl_CURLOPT_RANDOM_FILE" "
5476 #include \"curl/curl.h\"
5479 if test "x$ac_cv_have_decl_CURLOPT_RANDOM_FILE" = xyes; then :
5480 ac_have_decl=1
5481 else
5482 ac_have_decl=0
5485 cat >>confdefs.h <<_ACEOF
5486 #define HAVE_DECL_CURLOPT_RANDOM_FILE $ac_have_decl
5487 _ACEOF
5488 ac_fn_c_check_decl "$LINENO" "CURLOPT_EGDSOCKET" "ac_cv_have_decl_CURLOPT_EGDSOCKET" "
5489 #include \"curl/curl.h\"
5492 if test "x$ac_cv_have_decl_CURLOPT_EGDSOCKET" = xyes; then :
5493 ac_have_decl=1
5494 else
5495 ac_have_decl=0
5498 cat >>confdefs.h <<_ACEOF
5499 #define HAVE_DECL_CURLOPT_EGDSOCKET $ac_have_decl
5500 _ACEOF
5501 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECTTIMEOUT" "ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" "
5502 #include \"curl/curl.h\"
5505 if test "x$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" = xyes; then :
5506 ac_have_decl=1
5507 else
5508 ac_have_decl=0
5511 cat >>confdefs.h <<_ACEOF
5512 #define HAVE_DECL_CURLOPT_CONNECTTIMEOUT $ac_have_decl
5513 _ACEOF
5514 ac_fn_c_check_decl "$LINENO" "CURLOPT_HEADERFUNCTION" "ac_cv_have_decl_CURLOPT_HEADERFUNCTION" "
5515 #include \"curl/curl.h\"
5518 if test "x$ac_cv_have_decl_CURLOPT_HEADERFUNCTION" = xyes; then :
5519 ac_have_decl=1
5520 else
5521 ac_have_decl=0
5524 cat >>confdefs.h <<_ACEOF
5525 #define HAVE_DECL_CURLOPT_HEADERFUNCTION $ac_have_decl
5526 _ACEOF
5527 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPGET" "ac_cv_have_decl_CURLOPT_HTTPGET" "
5528 #include \"curl/curl.h\"
5531 if test "x$ac_cv_have_decl_CURLOPT_HTTPGET" = xyes; then :
5532 ac_have_decl=1
5533 else
5534 ac_have_decl=0
5537 cat >>confdefs.h <<_ACEOF
5538 #define HAVE_DECL_CURLOPT_HTTPGET $ac_have_decl
5539 _ACEOF
5540 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_VERIFYHOST" "ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" "
5541 #include \"curl/curl.h\"
5544 if test "x$ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" = xyes; then :
5545 ac_have_decl=1
5546 else
5547 ac_have_decl=0
5550 cat >>confdefs.h <<_ACEOF
5551 #define HAVE_DECL_CURLOPT_SSL_VERIFYHOST $ac_have_decl
5552 _ACEOF
5553 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIEJAR" "ac_cv_have_decl_CURLOPT_COOKIEJAR" "
5554 #include \"curl/curl.h\"
5557 if test "x$ac_cv_have_decl_CURLOPT_COOKIEJAR" = xyes; then :
5558 ac_have_decl=1
5559 else
5560 ac_have_decl=0
5563 cat >>confdefs.h <<_ACEOF
5564 #define HAVE_DECL_CURLOPT_COOKIEJAR $ac_have_decl
5565 _ACEOF
5566 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_CIPHER_LIST" "ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" "
5567 #include \"curl/curl.h\"
5570 if test "x$ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" = xyes; then :
5571 ac_have_decl=1
5572 else
5573 ac_have_decl=0
5576 cat >>confdefs.h <<_ACEOF
5577 #define HAVE_DECL_CURLOPT_SSL_CIPHER_LIST $ac_have_decl
5578 _ACEOF
5579 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_VERSION" "ac_cv_have_decl_CURLOPT_HTTP_VERSION" "
5580 #include \"curl/curl.h\"
5583 if test "x$ac_cv_have_decl_CURLOPT_HTTP_VERSION" = xyes; then :
5584 ac_have_decl=1
5585 else
5586 ac_have_decl=0
5589 cat >>confdefs.h <<_ACEOF
5590 #define HAVE_DECL_CURLOPT_HTTP_VERSION $ac_have_decl
5591 _ACEOF
5592 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_USE_EPSV" "ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" "
5593 #include \"curl/curl.h\"
5596 if test "x$ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" = xyes; then :
5597 ac_have_decl=1
5598 else
5599 ac_have_decl=0
5602 cat >>confdefs.h <<_ACEOF
5603 #define HAVE_DECL_CURLOPT_FTP_USE_EPSV $ac_have_decl
5604 _ACEOF
5605 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERTTYPE" "ac_cv_have_decl_CURLOPT_SSLCERTTYPE" "
5606 #include \"curl/curl.h\"
5609 if test "x$ac_cv_have_decl_CURLOPT_SSLCERTTYPE" = xyes; then :
5610 ac_have_decl=1
5611 else
5612 ac_have_decl=0
5615 cat >>confdefs.h <<_ACEOF
5616 #define HAVE_DECL_CURLOPT_SSLCERTTYPE $ac_have_decl
5617 _ACEOF
5618 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEY" "ac_cv_have_decl_CURLOPT_SSLKEY" "
5619 #include \"curl/curl.h\"
5622 if test "x$ac_cv_have_decl_CURLOPT_SSLKEY" = xyes; then :
5623 ac_have_decl=1
5624 else
5625 ac_have_decl=0
5628 cat >>confdefs.h <<_ACEOF
5629 #define HAVE_DECL_CURLOPT_SSLKEY $ac_have_decl
5630 _ACEOF
5631 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEYTYPE" "ac_cv_have_decl_CURLOPT_SSLKEYTYPE" "
5632 #include \"curl/curl.h\"
5635 if test "x$ac_cv_have_decl_CURLOPT_SSLKEYTYPE" = xyes; then :
5636 ac_have_decl=1
5637 else
5638 ac_have_decl=0
5641 cat >>confdefs.h <<_ACEOF
5642 #define HAVE_DECL_CURLOPT_SSLKEYTYPE $ac_have_decl
5643 _ACEOF
5644 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLENGINE" "ac_cv_have_decl_CURLOPT_SSLENGINE" "
5645 #include \"curl/curl.h\"
5648 if test "x$ac_cv_have_decl_CURLOPT_SSLENGINE" = xyes; then :
5649 ac_have_decl=1
5650 else
5651 ac_have_decl=0
5654 cat >>confdefs.h <<_ACEOF
5655 #define HAVE_DECL_CURLOPT_SSLENGINE $ac_have_decl
5656 _ACEOF
5657 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLENGINE_DEFAULT" "ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" "
5658 #include \"curl/curl.h\"
5661 if test "x$ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" = xyes; then :
5662 ac_have_decl=1
5663 else
5664 ac_have_decl=0
5667 cat >>confdefs.h <<_ACEOF
5668 #define HAVE_DECL_CURLOPT_SSLENGINE_DEFAULT $ac_have_decl
5669 _ACEOF
5670 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_USE_GLOBAL_CACHE" "ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" "
5671 #include \"curl/curl.h\"
5674 if test "x$ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" = xyes; then :
5675 ac_have_decl=1
5676 else
5677 ac_have_decl=0
5680 cat >>confdefs.h <<_ACEOF
5681 #define HAVE_DECL_CURLOPT_DNS_USE_GLOBAL_CACHE $ac_have_decl
5682 _ACEOF
5683 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_CACHE_TIMEOUT" "ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" "
5684 #include \"curl/curl.h\"
5687 if test "x$ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" = xyes; then :
5688 ac_have_decl=1
5689 else
5690 ac_have_decl=0
5693 cat >>confdefs.h <<_ACEOF
5694 #define HAVE_DECL_CURLOPT_DNS_CACHE_TIMEOUT $ac_have_decl
5695 _ACEOF
5696 ac_fn_c_check_decl "$LINENO" "CURLOPT_PREQUOTE" "ac_cv_have_decl_CURLOPT_PREQUOTE" "
5697 #include \"curl/curl.h\"
5700 if test "x$ac_cv_have_decl_CURLOPT_PREQUOTE" = xyes; then :
5701 ac_have_decl=1
5702 else
5703 ac_have_decl=0
5706 cat >>confdefs.h <<_ACEOF
5707 #define HAVE_DECL_CURLOPT_PREQUOTE $ac_have_decl
5708 _ACEOF
5709 ac_fn_c_check_decl "$LINENO" "CURLOPT_DEBUGFUNCTION" "ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" "
5710 #include \"curl/curl.h\"
5713 if test "x$ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" = xyes; then :
5714 ac_have_decl=1
5715 else
5716 ac_have_decl=0
5719 cat >>confdefs.h <<_ACEOF
5720 #define HAVE_DECL_CURLOPT_DEBUGFUNCTION $ac_have_decl
5721 _ACEOF
5722 ac_fn_c_check_decl "$LINENO" "CURLOPT_DEBUGDATA" "ac_cv_have_decl_CURLOPT_DEBUGDATA" "
5723 #include \"curl/curl.h\"
5726 if test "x$ac_cv_have_decl_CURLOPT_DEBUGDATA" = xyes; then :
5727 ac_have_decl=1
5728 else
5729 ac_have_decl=0
5732 cat >>confdefs.h <<_ACEOF
5733 #define HAVE_DECL_CURLOPT_DEBUGDATA $ac_have_decl
5734 _ACEOF
5735 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIESESSION" "ac_cv_have_decl_CURLOPT_COOKIESESSION" "
5736 #include \"curl/curl.h\"
5739 if test "x$ac_cv_have_decl_CURLOPT_COOKIESESSION" = xyes; then :
5740 ac_have_decl=1
5741 else
5742 ac_have_decl=0
5745 cat >>confdefs.h <<_ACEOF
5746 #define HAVE_DECL_CURLOPT_COOKIESESSION $ac_have_decl
5747 _ACEOF
5748 ac_fn_c_check_decl "$LINENO" "CURLOPT_CAPATH" "ac_cv_have_decl_CURLOPT_CAPATH" "
5749 #include \"curl/curl.h\"
5752 if test "x$ac_cv_have_decl_CURLOPT_CAPATH" = xyes; then :
5753 ac_have_decl=1
5754 else
5755 ac_have_decl=0
5758 cat >>confdefs.h <<_ACEOF
5759 #define HAVE_DECL_CURLOPT_CAPATH $ac_have_decl
5760 _ACEOF
5761 ac_fn_c_check_decl "$LINENO" "CURLOPT_BUFFERSIZE" "ac_cv_have_decl_CURLOPT_BUFFERSIZE" "
5762 #include \"curl/curl.h\"
5765 if test "x$ac_cv_have_decl_CURLOPT_BUFFERSIZE" = xyes; then :
5766 ac_have_decl=1
5767 else
5768 ac_have_decl=0
5771 cat >>confdefs.h <<_ACEOF
5772 #define HAVE_DECL_CURLOPT_BUFFERSIZE $ac_have_decl
5773 _ACEOF
5774 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOSIGNAL" "ac_cv_have_decl_CURLOPT_NOSIGNAL" "
5775 #include \"curl/curl.h\"
5778 if test "x$ac_cv_have_decl_CURLOPT_NOSIGNAL" = xyes; then :
5779 ac_have_decl=1
5780 else
5781 ac_have_decl=0
5784 cat >>confdefs.h <<_ACEOF
5785 #define HAVE_DECL_CURLOPT_NOSIGNAL $ac_have_decl
5786 _ACEOF
5787 ac_fn_c_check_decl "$LINENO" "CURLOPT_SHARE" "ac_cv_have_decl_CURLOPT_SHARE" "
5788 #include \"curl/curl.h\"
5791 if test "x$ac_cv_have_decl_CURLOPT_SHARE" = xyes; then :
5792 ac_have_decl=1
5793 else
5794 ac_have_decl=0
5797 cat >>confdefs.h <<_ACEOF
5798 #define HAVE_DECL_CURLOPT_SHARE $ac_have_decl
5799 _ACEOF
5800 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYTYPE" "ac_cv_have_decl_CURLOPT_PROXYTYPE" "
5801 #include \"curl/curl.h\"
5804 if test "x$ac_cv_have_decl_CURLOPT_PROXYTYPE" = xyes; then :
5805 ac_have_decl=1
5806 else
5807 ac_have_decl=0
5810 cat >>confdefs.h <<_ACEOF
5811 #define HAVE_DECL_CURLOPT_PROXYTYPE $ac_have_decl
5812 _ACEOF
5813 ac_fn_c_check_decl "$LINENO" "CURLOPT_ENCODING" "ac_cv_have_decl_CURLOPT_ENCODING" "
5814 #include \"curl/curl.h\"
5817 if test "x$ac_cv_have_decl_CURLOPT_ENCODING" = xyes; then :
5818 ac_have_decl=1
5819 else
5820 ac_have_decl=0
5823 cat >>confdefs.h <<_ACEOF
5824 #define HAVE_DECL_CURLOPT_ENCODING $ac_have_decl
5825 _ACEOF
5826 ac_fn_c_check_decl "$LINENO" "CURLOPT_PRIVATE" "ac_cv_have_decl_CURLOPT_PRIVATE" "
5827 #include \"curl/curl.h\"
5830 if test "x$ac_cv_have_decl_CURLOPT_PRIVATE" = xyes; then :
5831 ac_have_decl=1
5832 else
5833 ac_have_decl=0
5836 cat >>confdefs.h <<_ACEOF
5837 #define HAVE_DECL_CURLOPT_PRIVATE $ac_have_decl
5838 _ACEOF
5839 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP200ALIASES" "ac_cv_have_decl_CURLOPT_HTTP200ALIASES" "
5840 #include \"curl/curl.h\"
5843 if test "x$ac_cv_have_decl_CURLOPT_HTTP200ALIASES" = xyes; then :
5844 ac_have_decl=1
5845 else
5846 ac_have_decl=0
5849 cat >>confdefs.h <<_ACEOF
5850 #define HAVE_DECL_CURLOPT_HTTP200ALIASES $ac_have_decl
5851 _ACEOF
5852 ac_fn_c_check_decl "$LINENO" "CURLOPT_UNRESTRICTED_AUTH" "ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" "
5853 #include \"curl/curl.h\"
5856 if test "x$ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" = xyes; then :
5857 ac_have_decl=1
5858 else
5859 ac_have_decl=0
5862 cat >>confdefs.h <<_ACEOF
5863 #define HAVE_DECL_CURLOPT_UNRESTRICTED_AUTH $ac_have_decl
5864 _ACEOF
5865 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_USE_EPRT" "ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" "
5866 #include \"curl/curl.h\"
5869 if test "x$ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" = xyes; then :
5870 ac_have_decl=1
5871 else
5872 ac_have_decl=0
5875 cat >>confdefs.h <<_ACEOF
5876 #define HAVE_DECL_CURLOPT_FTP_USE_EPRT $ac_have_decl
5877 _ACEOF
5878 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPAUTH" "ac_cv_have_decl_CURLOPT_HTTPAUTH" "
5879 #include \"curl/curl.h\"
5882 if test "x$ac_cv_have_decl_CURLOPT_HTTPAUTH" = xyes; then :
5883 ac_have_decl=1
5884 else
5885 ac_have_decl=0
5888 cat >>confdefs.h <<_ACEOF
5889 #define HAVE_DECL_CURLOPT_HTTPAUTH $ac_have_decl
5890 _ACEOF
5891 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_CREATE_MISSING_DIRS" "ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" "
5892 #include \"curl/curl.h\"
5895 if test "x$ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" = xyes; then :
5896 ac_have_decl=1
5897 else
5898 ac_have_decl=0
5901 cat >>confdefs.h <<_ACEOF
5902 #define HAVE_DECL_CURLOPT_FTP_CREATE_MISSING_DIRS $ac_have_decl
5903 _ACEOF
5904 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYAUTH" "ac_cv_have_decl_CURLOPT_PROXYAUTH" "
5905 #include \"curl/curl.h\"
5908 if test "x$ac_cv_have_decl_CURLOPT_PROXYAUTH" = xyes; then :
5909 ac_have_decl=1
5910 else
5911 ac_have_decl=0
5914 cat >>confdefs.h <<_ACEOF
5915 #define HAVE_DECL_CURLOPT_PROXYAUTH $ac_have_decl
5916 _ACEOF
5917 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_RESPONSE_TIMEOUT" "ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" "
5918 #include \"curl/curl.h\"
5921 if test "x$ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" = xyes; then :
5922 ac_have_decl=1
5923 else
5924 ac_have_decl=0
5927 cat >>confdefs.h <<_ACEOF
5928 #define HAVE_DECL_CURLOPT_FTP_RESPONSE_TIMEOUT $ac_have_decl
5929 _ACEOF
5930 ac_fn_c_check_decl "$LINENO" "CURLOPT_IPRESOLVE" "ac_cv_have_decl_CURLOPT_IPRESOLVE" "
5931 #include \"curl/curl.h\"
5934 if test "x$ac_cv_have_decl_CURLOPT_IPRESOLVE" = xyes; then :
5935 ac_have_decl=1
5936 else
5937 ac_have_decl=0
5940 cat >>confdefs.h <<_ACEOF
5941 #define HAVE_DECL_CURLOPT_IPRESOLVE $ac_have_decl
5942 _ACEOF
5943 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXFILESIZE" "ac_cv_have_decl_CURLOPT_MAXFILESIZE" "
5944 #include \"curl/curl.h\"
5947 if test "x$ac_cv_have_decl_CURLOPT_MAXFILESIZE" = xyes; then :
5948 ac_have_decl=1
5949 else
5950 ac_have_decl=0
5953 cat >>confdefs.h <<_ACEOF
5954 #define HAVE_DECL_CURLOPT_MAXFILESIZE $ac_have_decl
5955 _ACEOF
5956 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILESIZE_LARGE" "ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" "
5957 #include \"curl/curl.h\"
5960 if test "x$ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" = xyes; then :
5961 ac_have_decl=1
5962 else
5963 ac_have_decl=0
5966 cat >>confdefs.h <<_ACEOF
5967 #define HAVE_DECL_CURLOPT_INFILESIZE_LARGE $ac_have_decl
5968 _ACEOF
5969 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESUME_FROM_LARGE" "ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE" "
5970 #include \"curl/curl.h\"
5973 if test "x$ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE" = xyes; then :
5974 ac_have_decl=1
5975 else
5976 ac_have_decl=0
5979 cat >>confdefs.h <<_ACEOF
5980 #define HAVE_DECL_CURLOPT_RESUME_FROM_LARGE $ac_have_decl
5981 _ACEOF
5982 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXFILESIZE_LARGE" "ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE" "
5983 #include \"curl/curl.h\"
5986 if test "x$ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE" = xyes; then :
5987 ac_have_decl=1
5988 else
5989 ac_have_decl=0
5992 cat >>confdefs.h <<_ACEOF
5993 #define HAVE_DECL_CURLOPT_MAXFILESIZE_LARGE $ac_have_decl
5994 _ACEOF
5995 ac_fn_c_check_decl "$LINENO" "CURLOPT_NETRC_FILE" "ac_cv_have_decl_CURLOPT_NETRC_FILE" "
5996 #include \"curl/curl.h\"
5999 if test "x$ac_cv_have_decl_CURLOPT_NETRC_FILE" = xyes; then :
6000 ac_have_decl=1
6001 else
6002 ac_have_decl=0
6005 cat >>confdefs.h <<_ACEOF
6006 #define HAVE_DECL_CURLOPT_NETRC_FILE $ac_have_decl
6007 _ACEOF
6008 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SSL" "ac_cv_have_decl_CURLOPT_FTP_SSL" "
6009 #include \"curl/curl.h\"
6012 if test "x$ac_cv_have_decl_CURLOPT_FTP_SSL" = xyes; then :
6013 ac_have_decl=1
6014 else
6015 ac_have_decl=0
6018 cat >>confdefs.h <<_ACEOF
6019 #define HAVE_DECL_CURLOPT_FTP_SSL $ac_have_decl
6020 _ACEOF
6021 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDSIZE_LARGE" "ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" "
6022 #include \"curl/curl.h\"
6025 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" = xyes; then :
6026 ac_have_decl=1
6027 else
6028 ac_have_decl=0
6031 cat >>confdefs.h <<_ACEOF
6032 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE_LARGE $ac_have_decl
6033 _ACEOF
6034 ac_fn_c_check_decl "$LINENO" "CURLOPT_TCP_NODELAY" "ac_cv_have_decl_CURLOPT_TCP_NODELAY" "
6035 #include \"curl/curl.h\"
6038 if test "x$ac_cv_have_decl_CURLOPT_TCP_NODELAY" = xyes; then :
6039 ac_have_decl=1
6040 else
6041 ac_have_decl=0
6044 cat >>confdefs.h <<_ACEOF
6045 #define HAVE_DECL_CURLOPT_TCP_NODELAY $ac_have_decl
6046 _ACEOF
6047 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPSSLAUTH" "ac_cv_have_decl_CURLOPT_FTPSSLAUTH" "
6048 #include \"curl/curl.h\"
6051 if test "x$ac_cv_have_decl_CURLOPT_FTPSSLAUTH" = xyes; then :
6052 ac_have_decl=1
6053 else
6054 ac_have_decl=0
6057 cat >>confdefs.h <<_ACEOF
6058 #define HAVE_DECL_CURLOPT_FTPSSLAUTH $ac_have_decl
6059 _ACEOF
6060 ac_fn_c_check_decl "$LINENO" "CURLOPT_IOCTLFUNCTION" "ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" "
6061 #include \"curl/curl.h\"
6064 if test "x$ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" = xyes; then :
6065 ac_have_decl=1
6066 else
6067 ac_have_decl=0
6070 cat >>confdefs.h <<_ACEOF
6071 #define HAVE_DECL_CURLOPT_IOCTLFUNCTION $ac_have_decl
6072 _ACEOF
6073 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_ACCOUNT" "ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" "
6074 #include \"curl/curl.h\"
6077 if test "x$ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" = xyes; then :
6078 ac_have_decl=1
6079 else
6080 ac_have_decl=0
6083 cat >>confdefs.h <<_ACEOF
6084 #define HAVE_DECL_CURLOPT_FTP_ACCOUNT $ac_have_decl
6085 _ACEOF
6086 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIELIST" "ac_cv_have_decl_CURLOPT_COOKIELIST" "
6087 #include \"curl/curl.h\"
6090 if test "x$ac_cv_have_decl_CURLOPT_COOKIELIST" = xyes; then :
6091 ac_have_decl=1
6092 else
6093 ac_have_decl=0
6096 cat >>confdefs.h <<_ACEOF
6097 #define HAVE_DECL_CURLOPT_COOKIELIST $ac_have_decl
6098 _ACEOF
6099 ac_fn_c_check_decl "$LINENO" "CURLOPT_IGNORE_CONTENT_LENGTH" "ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" "
6100 #include \"curl/curl.h\"
6103 if test "x$ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" = xyes; then :
6104 ac_have_decl=1
6105 else
6106 ac_have_decl=0
6109 cat >>confdefs.h <<_ACEOF
6110 #define HAVE_DECL_CURLOPT_IGNORE_CONTENT_LENGTH $ac_have_decl
6111 _ACEOF
6112 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SKIP_PASV_IP" "ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" "
6113 #include \"curl/curl.h\"
6116 if test "x$ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" = xyes; then :
6117 ac_have_decl=1
6118 else
6119 ac_have_decl=0
6122 cat >>confdefs.h <<_ACEOF
6123 #define HAVE_DECL_CURLOPT_FTP_SKIP_PASV_IP $ac_have_decl
6124 _ACEOF
6125 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_FILEMETHOD" "ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" "
6126 #include \"curl/curl.h\"
6129 if test "x$ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" = xyes; then :
6130 ac_have_decl=1
6131 else
6132 ac_have_decl=0
6135 cat >>confdefs.h <<_ACEOF
6136 #define HAVE_DECL_CURLOPT_FTP_FILEMETHOD $ac_have_decl
6137 _ACEOF
6138 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOCALPORT" "ac_cv_have_decl_CURLOPT_LOCALPORT" "
6139 #include \"curl/curl.h\"
6142 if test "x$ac_cv_have_decl_CURLOPT_LOCALPORT" = xyes; then :
6143 ac_have_decl=1
6144 else
6145 ac_have_decl=0
6148 cat >>confdefs.h <<_ACEOF
6149 #define HAVE_DECL_CURLOPT_LOCALPORT $ac_have_decl
6150 _ACEOF
6151 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOCALPORTRANGE" "ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" "
6152 #include \"curl/curl.h\"
6155 if test "x$ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" = xyes; then :
6156 ac_have_decl=1
6157 else
6158 ac_have_decl=0
6161 cat >>confdefs.h <<_ACEOF
6162 #define HAVE_DECL_CURLOPT_LOCALPORTRANGE $ac_have_decl
6163 _ACEOF
6164 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECT_ONLY" "ac_cv_have_decl_CURLOPT_CONNECT_ONLY" "
6165 #include \"curl/curl.h\"
6168 if test "x$ac_cv_have_decl_CURLOPT_CONNECT_ONLY" = xyes; then :
6169 ac_have_decl=1
6170 else
6171 ac_have_decl=0
6174 cat >>confdefs.h <<_ACEOF
6175 #define HAVE_DECL_CURLOPT_CONNECT_ONLY $ac_have_decl
6176 _ACEOF
6177 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAX_SEND_SPEED_LARGE" "ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" "
6178 #include \"curl/curl.h\"
6181 if test "x$ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" = xyes; then :
6182 ac_have_decl=1
6183 else
6184 ac_have_decl=0
6187 cat >>confdefs.h <<_ACEOF
6188 #define HAVE_DECL_CURLOPT_MAX_SEND_SPEED_LARGE $ac_have_decl
6189 _ACEOF
6190 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAX_RECV_SPEED_LARGE" "ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE" "
6191 #include \"curl/curl.h\"
6194 if test "x$ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE" = xyes; then :
6195 ac_have_decl=1
6196 else
6197 ac_have_decl=0
6200 cat >>confdefs.h <<_ACEOF
6201 #define HAVE_DECL_CURLOPT_MAX_RECV_SPEED_LARGE $ac_have_decl
6202 _ACEOF
6203 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_ALTERNATIVE_TO_USER" "ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" "
6204 #include \"curl/curl.h\"
6207 if test "x$ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" = xyes; then :
6208 ac_have_decl=1
6209 else
6210 ac_have_decl=0
6213 cat >>confdefs.h <<_ACEOF
6214 #define HAVE_DECL_CURLOPT_FTP_ALTERNATIVE_TO_USER $ac_have_decl
6215 _ACEOF
6216 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_SESSIONID_CACHE" "ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" "
6217 #include \"curl/curl.h\"
6220 if test "x$ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" = xyes; then :
6221 ac_have_decl=1
6222 else
6223 ac_have_decl=0
6226 cat >>confdefs.h <<_ACEOF
6227 #define HAVE_DECL_CURLOPT_SSL_SESSIONID_CACHE $ac_have_decl
6228 _ACEOF
6229 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_AUTH_TYPES" "ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" "
6230 #include \"curl/curl.h\"
6233 if test "x$ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" = xyes; then :
6234 ac_have_decl=1
6235 else
6236 ac_have_decl=0
6239 cat >>confdefs.h <<_ACEOF
6240 #define HAVE_DECL_CURLOPT_SSH_AUTH_TYPES $ac_have_decl
6241 _ACEOF
6242 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_PUBLIC_KEYFILE" "ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" "
6243 #include \"curl/curl.h\"
6246 if test "x$ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" = xyes; then :
6247 ac_have_decl=1
6248 else
6249 ac_have_decl=0
6252 cat >>confdefs.h <<_ACEOF
6253 #define HAVE_DECL_CURLOPT_SSH_PUBLIC_KEYFILE $ac_have_decl
6254 _ACEOF
6255 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_PRIVATE_KEYFILE" "ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE" "
6256 #include \"curl/curl.h\"
6259 if test "x$ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE" = xyes; then :
6260 ac_have_decl=1
6261 else
6262 ac_have_decl=0
6265 cat >>confdefs.h <<_ACEOF
6266 #define HAVE_DECL_CURLOPT_SSH_PRIVATE_KEYFILE $ac_have_decl
6267 _ACEOF
6268 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SSL_CCC" "ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" "
6269 #include \"curl/curl.h\"
6272 if test "x$ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" = xyes; then :
6273 ac_have_decl=1
6274 else
6275 ac_have_decl=0
6278 cat >>confdefs.h <<_ACEOF
6279 #define HAVE_DECL_CURLOPT_FTP_SSL_CCC $ac_have_decl
6280 _ACEOF
6281 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEOUT_MS" "ac_cv_have_decl_CURLOPT_TIMEOUT_MS" "
6282 #include \"curl/curl.h\"
6285 if test "x$ac_cv_have_decl_CURLOPT_TIMEOUT_MS" = xyes; then :
6286 ac_have_decl=1
6287 else
6288 ac_have_decl=0
6291 cat >>confdefs.h <<_ACEOF
6292 #define HAVE_DECL_CURLOPT_TIMEOUT_MS $ac_have_decl
6293 _ACEOF
6294 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECTTIMEOUT_MS" "ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS" "
6295 #include \"curl/curl.h\"
6298 if test "x$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS" = xyes; then :
6299 ac_have_decl=1
6300 else
6301 ac_have_decl=0
6304 cat >>confdefs.h <<_ACEOF
6305 #define HAVE_DECL_CURLOPT_CONNECTTIMEOUT_MS $ac_have_decl
6306 _ACEOF
6307 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_TRANSFER_DECODING" "ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" "
6308 #include \"curl/curl.h\"
6311 if test "x$ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" = xyes; then :
6312 ac_have_decl=1
6313 else
6314 ac_have_decl=0
6317 cat >>confdefs.h <<_ACEOF
6318 #define HAVE_DECL_CURLOPT_HTTP_TRANSFER_DECODING $ac_have_decl
6319 _ACEOF
6320 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_CONTENT_DECODING" "ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING" "
6321 #include \"curl/curl.h\"
6324 if test "x$ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING" = xyes; then :
6325 ac_have_decl=1
6326 else
6327 ac_have_decl=0
6330 cat >>confdefs.h <<_ACEOF
6331 #define HAVE_DECL_CURLOPT_HTTP_CONTENT_DECODING $ac_have_decl
6332 _ACEOF
6333 ac_fn_c_check_decl "$LINENO" "CURLOPT_NEW_FILE_PERMS" "ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" "
6334 #include \"curl/curl.h\"
6337 if test "x$ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" = xyes; then :
6338 ac_have_decl=1
6339 else
6340 ac_have_decl=0
6343 cat >>confdefs.h <<_ACEOF
6344 #define HAVE_DECL_CURLOPT_NEW_FILE_PERMS $ac_have_decl
6345 _ACEOF
6346 ac_fn_c_check_decl "$LINENO" "CURLOPT_NEW_DIRECTORY_PERMS" "ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS" "
6347 #include \"curl/curl.h\"
6350 if test "x$ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS" = xyes; then :
6351 ac_have_decl=1
6352 else
6353 ac_have_decl=0
6356 cat >>confdefs.h <<_ACEOF
6357 #define HAVE_DECL_CURLOPT_NEW_DIRECTORY_PERMS $ac_have_decl
6358 _ACEOF
6359 ac_fn_c_check_decl "$LINENO" "CURLOPT_POST301" "ac_cv_have_decl_CURLOPT_POST301" "
6360 #include \"curl/curl.h\"
6363 if test "x$ac_cv_have_decl_CURLOPT_POST301" = xyes; then :
6364 ac_have_decl=1
6365 else
6366 ac_have_decl=0
6369 cat >>confdefs.h <<_ACEOF
6370 #define HAVE_DECL_CURLOPT_POST301 $ac_have_decl
6371 _ACEOF
6372 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" "ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" "
6373 #include \"curl/curl.h\"
6376 if test "x$ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" = xyes; then :
6377 ac_have_decl=1
6378 else
6379 ac_have_decl=0
6382 cat >>confdefs.h <<_ACEOF
6383 #define HAVE_DECL_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 $ac_have_decl
6384 _ACEOF
6385 ac_fn_c_check_decl "$LINENO" "CURLOPT_COPYPOSTFIELDS" "ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" "
6386 #include \"curl/curl.h\"
6389 if test "x$ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" = xyes; then :
6390 ac_have_decl=1
6391 else
6392 ac_have_decl=0
6395 cat >>confdefs.h <<_ACEOF
6396 #define HAVE_DECL_CURLOPT_COPYPOSTFIELDS $ac_have_decl
6397 _ACEOF
6398 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXY_TRANSFER_MODE" "ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" "
6399 #include \"curl/curl.h\"
6402 if test "x$ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" = xyes; then :
6403 ac_have_decl=1
6404 else
6405 ac_have_decl=0
6408 cat >>confdefs.h <<_ACEOF
6409 #define HAVE_DECL_CURLOPT_PROXY_TRANSFER_MODE $ac_have_decl
6410 _ACEOF
6411 ac_fn_c_check_decl "$LINENO" "CURLOPT_SEEKFUNCTION" "ac_cv_have_decl_CURLOPT_SEEKFUNCTION" "
6412 #include \"curl/curl.h\"
6415 if test "x$ac_cv_have_decl_CURLOPT_SEEKFUNCTION" = xyes; then :
6416 ac_have_decl=1
6417 else
6418 ac_have_decl=0
6421 cat >>confdefs.h <<_ACEOF
6422 #define HAVE_DECL_CURLOPT_SEEKFUNCTION $ac_have_decl
6423 _ACEOF
6424 ac_fn_c_check_decl "$LINENO" "CURLOPT_OPENSOCKETFUNCTION" "ac_cv_have_decl_CURLOPT_OPENSOCKETFUNCTION" "
6425 #include \"curl/curl.h\"
6428 if test "x$ac_cv_have_decl_CURLOPT_OPENSOCKETFUNCTION" = xyes; then :
6429 ac_have_decl=1
6430 else
6431 ac_have_decl=0
6434 cat >>confdefs.h <<_ACEOF
6435 #define HAVE_DECL_CURLOPT_OPENSOCKETFUNCTION $ac_have_decl
6436 _ACEOF
6437 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROTOCOLS" "ac_cv_have_decl_CURLOPT_PROTOCOLS" "
6438 #include \"curl/curl.h\"
6441 if test "x$ac_cv_have_decl_CURLOPT_PROTOCOLS" = xyes; then :
6442 ac_have_decl=1
6443 else
6444 ac_have_decl=0
6447 cat >>confdefs.h <<_ACEOF
6448 #define HAVE_DECL_CURLOPT_PROTOCOLS $ac_have_decl
6449 _ACEOF
6450 ac_fn_c_check_decl "$LINENO" "CURLOPT_REDIR_PROTOCOLS" "ac_cv_have_decl_CURLOPT_REDIR_PROTOCOLS" "
6451 #include \"curl/curl.h\"
6454 if test "x$ac_cv_have_decl_CURLOPT_REDIR_PROTOCOLS" = xyes; then :
6455 ac_have_decl=1
6456 else
6457 ac_have_decl=0
6460 cat >>confdefs.h <<_ACEOF
6461 #define HAVE_DECL_CURLOPT_REDIR_PROTOCOLS $ac_have_decl
6462 _ACEOF
6463 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESOLVE" "ac_cv_have_decl_CURLOPT_RESOLVE" "
6464 #include \"curl/curl.h\"
6467 if test "x$ac_cv_have_decl_CURLOPT_RESOLVE" = xyes; then :
6468 ac_have_decl=1
6469 else
6470 ac_have_decl=0
6473 cat >>confdefs.h <<_ACEOF
6474 #define HAVE_DECL_CURLOPT_RESOLVE $ac_have_decl
6475 _ACEOF
6476 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_SERVERS" "ac_cv_have_decl_CURLOPT_DNS_SERVERS" "
6477 #include \"curl/curl.h\"
6480 if test "x$ac_cv_have_decl_CURLOPT_DNS_SERVERS" = xyes; then :
6481 ac_have_decl=1
6482 else
6483 ac_have_decl=0
6486 cat >>confdefs.h <<_ACEOF
6487 #define HAVE_DECL_CURLOPT_DNS_SERVERS $ac_have_decl
6488 _ACEOF
6489 ac_fn_c_check_decl "$LINENO" "CURLINFO_EFFECTIVE_URL" "ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" "
6490 #include \"curl/curl.h\"
6493 if test "x$ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" = xyes; then :
6494 ac_have_decl=1
6495 else
6496 ac_have_decl=0
6499 cat >>confdefs.h <<_ACEOF
6500 #define HAVE_DECL_CURLINFO_EFFECTIVE_URL $ac_have_decl
6501 _ACEOF
6502 ac_fn_c_check_decl "$LINENO" "CURLINFO_RESPONSE_CODE" "ac_cv_have_decl_CURLINFO_RESPONSE_CODE" "
6503 #include \"curl/curl.h\"
6506 if test "x$ac_cv_have_decl_CURLINFO_RESPONSE_CODE" = xyes; then :
6507 ac_have_decl=1
6508 else
6509 ac_have_decl=0
6512 cat >>confdefs.h <<_ACEOF
6513 #define HAVE_DECL_CURLINFO_RESPONSE_CODE $ac_have_decl
6514 _ACEOF
6515 ac_fn_c_check_decl "$LINENO" "CURLINFO_TOTAL_TIME" "ac_cv_have_decl_CURLINFO_TOTAL_TIME" "
6516 #include \"curl/curl.h\"
6519 if test "x$ac_cv_have_decl_CURLINFO_TOTAL_TIME" = xyes; then :
6520 ac_have_decl=1
6521 else
6522 ac_have_decl=0
6525 cat >>confdefs.h <<_ACEOF
6526 #define HAVE_DECL_CURLINFO_TOTAL_TIME $ac_have_decl
6527 _ACEOF
6528 ac_fn_c_check_decl "$LINENO" "CURLINFO_NAMELOOKUP_TIME" "ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" "
6529 #include \"curl/curl.h\"
6532 if test "x$ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" = xyes; then :
6533 ac_have_decl=1
6534 else
6535 ac_have_decl=0
6538 cat >>confdefs.h <<_ACEOF
6539 #define HAVE_DECL_CURLINFO_NAMELOOKUP_TIME $ac_have_decl
6540 _ACEOF
6541 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONNECT_TIME" "ac_cv_have_decl_CURLINFO_CONNECT_TIME" "
6542 #include \"curl/curl.h\"
6545 if test "x$ac_cv_have_decl_CURLINFO_CONNECT_TIME" = xyes; then :
6546 ac_have_decl=1
6547 else
6548 ac_have_decl=0
6551 cat >>confdefs.h <<_ACEOF
6552 #define HAVE_DECL_CURLINFO_CONNECT_TIME $ac_have_decl
6553 _ACEOF
6554 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRETRANSFER_TIME" "ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" "
6555 #include \"curl/curl.h\"
6558 if test "x$ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" = xyes; then :
6559 ac_have_decl=1
6560 else
6561 ac_have_decl=0
6564 cat >>confdefs.h <<_ACEOF
6565 #define HAVE_DECL_CURLINFO_PRETRANSFER_TIME $ac_have_decl
6566 _ACEOF
6567 ac_fn_c_check_decl "$LINENO" "CURLINFO_SIZE_UPLOAD" "ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" "
6568 #include \"curl/curl.h\"
6571 if test "x$ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" = xyes; then :
6572 ac_have_decl=1
6573 else
6574 ac_have_decl=0
6577 cat >>confdefs.h <<_ACEOF
6578 #define HAVE_DECL_CURLINFO_SIZE_UPLOAD $ac_have_decl
6579 _ACEOF
6580 ac_fn_c_check_decl "$LINENO" "CURLINFO_SIZE_DOWNLOAD" "ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" "
6581 #include \"curl/curl.h\"
6584 if test "x$ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" = xyes; then :
6585 ac_have_decl=1
6586 else
6587 ac_have_decl=0
6590 cat >>confdefs.h <<_ACEOF
6591 #define HAVE_DECL_CURLINFO_SIZE_DOWNLOAD $ac_have_decl
6592 _ACEOF
6593 ac_fn_c_check_decl "$LINENO" "CURLINFO_SPEED_DOWNLOAD" "ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" "
6594 #include \"curl/curl.h\"
6597 if test "x$ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" = xyes; then :
6598 ac_have_decl=1
6599 else
6600 ac_have_decl=0
6603 cat >>confdefs.h <<_ACEOF
6604 #define HAVE_DECL_CURLINFO_SPEED_DOWNLOAD $ac_have_decl
6605 _ACEOF
6606 ac_fn_c_check_decl "$LINENO" "CURLINFO_SPEED_UPLOAD" "ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" "
6607 #include \"curl/curl.h\"
6610 if test "x$ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" = xyes; then :
6611 ac_have_decl=1
6612 else
6613 ac_have_decl=0
6616 cat >>confdefs.h <<_ACEOF
6617 #define HAVE_DECL_CURLINFO_SPEED_UPLOAD $ac_have_decl
6618 _ACEOF
6619 ac_fn_c_check_decl "$LINENO" "CURLINFO_HEADER_SIZE" "ac_cv_have_decl_CURLINFO_HEADER_SIZE" "
6620 #include \"curl/curl.h\"
6623 if test "x$ac_cv_have_decl_CURLINFO_HEADER_SIZE" = xyes; then :
6624 ac_have_decl=1
6625 else
6626 ac_have_decl=0
6629 cat >>confdefs.h <<_ACEOF
6630 #define HAVE_DECL_CURLINFO_HEADER_SIZE $ac_have_decl
6631 _ACEOF
6632 ac_fn_c_check_decl "$LINENO" "CURLINFO_REQUEST_SIZE" "ac_cv_have_decl_CURLINFO_REQUEST_SIZE" "
6633 #include \"curl/curl.h\"
6636 if test "x$ac_cv_have_decl_CURLINFO_REQUEST_SIZE" = xyes; then :
6637 ac_have_decl=1
6638 else
6639 ac_have_decl=0
6642 cat >>confdefs.h <<_ACEOF
6643 #define HAVE_DECL_CURLINFO_REQUEST_SIZE $ac_have_decl
6644 _ACEOF
6645 ac_fn_c_check_decl "$LINENO" "CURLINFO_SSL_VERIFYRESULT" "ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" "
6646 #include \"curl/curl.h\"
6649 if test "x$ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" = xyes; then :
6650 ac_have_decl=1
6651 else
6652 ac_have_decl=0
6655 cat >>confdefs.h <<_ACEOF
6656 #define HAVE_DECL_CURLINFO_SSL_VERIFYRESULT $ac_have_decl
6657 _ACEOF
6658 ac_fn_c_check_decl "$LINENO" "CURLINFO_FILETIME" "ac_cv_have_decl_CURLINFO_FILETIME" "
6659 #include \"curl/curl.h\"
6662 if test "x$ac_cv_have_decl_CURLINFO_FILETIME" = xyes; then :
6663 ac_have_decl=1
6664 else
6665 ac_have_decl=0
6668 cat >>confdefs.h <<_ACEOF
6669 #define HAVE_DECL_CURLINFO_FILETIME $ac_have_decl
6670 _ACEOF
6671 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_LENGTH_DOWNLOAD" "ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" "
6672 #include \"curl/curl.h\"
6675 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" = xyes; then :
6676 ac_have_decl=1
6677 else
6678 ac_have_decl=0
6681 cat >>confdefs.h <<_ACEOF
6682 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_DOWNLOAD $ac_have_decl
6683 _ACEOF
6684 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_LENGTH_UPLOAD" "ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" "
6685 #include \"curl/curl.h\"
6688 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" = xyes; then :
6689 ac_have_decl=1
6690 else
6691 ac_have_decl=0
6694 cat >>confdefs.h <<_ACEOF
6695 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_UPLOAD $ac_have_decl
6696 _ACEOF
6697 ac_fn_c_check_decl "$LINENO" "CURLINFO_STARTTRANSFER_TIME" "ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" "
6698 #include \"curl/curl.h\"
6701 if test "x$ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" = xyes; then :
6702 ac_have_decl=1
6703 else
6704 ac_have_decl=0
6707 cat >>confdefs.h <<_ACEOF
6708 #define HAVE_DECL_CURLINFO_STARTTRANSFER_TIME $ac_have_decl
6709 _ACEOF
6710 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_TYPE" "ac_cv_have_decl_CURLINFO_CONTENT_TYPE" "
6711 #include \"curl/curl.h\"
6714 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_TYPE" = xyes; then :
6715 ac_have_decl=1
6716 else
6717 ac_have_decl=0
6720 cat >>confdefs.h <<_ACEOF
6721 #define HAVE_DECL_CURLINFO_CONTENT_TYPE $ac_have_decl
6722 _ACEOF
6723 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_TIME" "ac_cv_have_decl_CURLINFO_REDIRECT_TIME" "
6724 #include \"curl/curl.h\"
6727 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_TIME" = xyes; then :
6728 ac_have_decl=1
6729 else
6730 ac_have_decl=0
6733 cat >>confdefs.h <<_ACEOF
6734 #define HAVE_DECL_CURLINFO_REDIRECT_TIME $ac_have_decl
6735 _ACEOF
6736 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_COUNT" "ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" "
6737 #include \"curl/curl.h\"
6740 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" = xyes; then :
6741 ac_have_decl=1
6742 else
6743 ac_have_decl=0
6746 cat >>confdefs.h <<_ACEOF
6747 #define HAVE_DECL_CURLINFO_REDIRECT_COUNT $ac_have_decl
6748 _ACEOF
6749 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRIVATE" "ac_cv_have_decl_CURLINFO_PRIVATE" "
6750 #include \"curl/curl.h\"
6753 if test "x$ac_cv_have_decl_CURLINFO_PRIVATE" = xyes; then :
6754 ac_have_decl=1
6755 else
6756 ac_have_decl=0
6759 cat >>confdefs.h <<_ACEOF
6760 #define HAVE_DECL_CURLINFO_PRIVATE $ac_have_decl
6761 _ACEOF
6762 ac_fn_c_check_decl "$LINENO" "CURLINFO_HTTP_CONNECTCODE" "ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" "
6763 #include \"curl/curl.h\"
6766 if test "x$ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" = xyes; then :
6767 ac_have_decl=1
6768 else
6769 ac_have_decl=0
6772 cat >>confdefs.h <<_ACEOF
6773 #define HAVE_DECL_CURLINFO_HTTP_CONNECTCODE $ac_have_decl
6774 _ACEOF
6775 ac_fn_c_check_decl "$LINENO" "CURLINFO_HTTPAUTH_AVAIL" "ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" "
6776 #include \"curl/curl.h\"
6779 if test "x$ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" = xyes; then :
6780 ac_have_decl=1
6781 else
6782 ac_have_decl=0
6785 cat >>confdefs.h <<_ACEOF
6786 #define HAVE_DECL_CURLINFO_HTTPAUTH_AVAIL $ac_have_decl
6787 _ACEOF
6788 ac_fn_c_check_decl "$LINENO" "CURLINFO_PROXYAUTH_AVAIL" "ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" "
6789 #include \"curl/curl.h\"
6792 if test "x$ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" = xyes; then :
6793 ac_have_decl=1
6794 else
6795 ac_have_decl=0
6798 cat >>confdefs.h <<_ACEOF
6799 #define HAVE_DECL_CURLINFO_PROXYAUTH_AVAIL $ac_have_decl
6800 _ACEOF
6801 ac_fn_c_check_decl "$LINENO" "CURLINFO_OS_ERRNO" "ac_cv_have_decl_CURLINFO_OS_ERRNO" "
6802 #include \"curl/curl.h\"
6805 if test "x$ac_cv_have_decl_CURLINFO_OS_ERRNO" = xyes; then :
6806 ac_have_decl=1
6807 else
6808 ac_have_decl=0
6811 cat >>confdefs.h <<_ACEOF
6812 #define HAVE_DECL_CURLINFO_OS_ERRNO $ac_have_decl
6813 _ACEOF
6814 ac_fn_c_check_decl "$LINENO" "CURLINFO_NUM_CONNECTS" "ac_cv_have_decl_CURLINFO_NUM_CONNECTS" "
6815 #include \"curl/curl.h\"
6818 if test "x$ac_cv_have_decl_CURLINFO_NUM_CONNECTS" = xyes; then :
6819 ac_have_decl=1
6820 else
6821 ac_have_decl=0
6824 cat >>confdefs.h <<_ACEOF
6825 #define HAVE_DECL_CURLINFO_NUM_CONNECTS $ac_have_decl
6826 _ACEOF
6827 ac_fn_c_check_decl "$LINENO" "CURLINFO_SSL_ENGINES" "ac_cv_have_decl_CURLINFO_SSL_ENGINES" "
6828 #include \"curl/curl.h\"
6831 if test "x$ac_cv_have_decl_CURLINFO_SSL_ENGINES" = xyes; then :
6832 ac_have_decl=1
6833 else
6834 ac_have_decl=0
6837 cat >>confdefs.h <<_ACEOF
6838 #define HAVE_DECL_CURLINFO_SSL_ENGINES $ac_have_decl
6839 _ACEOF
6840 ac_fn_c_check_decl "$LINENO" "CURLINFO_COOKIELIST" "ac_cv_have_decl_CURLINFO_COOKIELIST" "
6841 #include \"curl/curl.h\"
6844 if test "x$ac_cv_have_decl_CURLINFO_COOKIELIST" = xyes; then :
6845 ac_have_decl=1
6846 else
6847 ac_have_decl=0
6850 cat >>confdefs.h <<_ACEOF
6851 #define HAVE_DECL_CURLINFO_COOKIELIST $ac_have_decl
6852 _ACEOF
6853 ac_fn_c_check_decl "$LINENO" "CURLINFO_LASTSOCKET" "ac_cv_have_decl_CURLINFO_LASTSOCKET" "
6854 #include \"curl/curl.h\"
6857 if test "x$ac_cv_have_decl_CURLINFO_LASTSOCKET" = xyes; then :
6858 ac_have_decl=1
6859 else
6860 ac_have_decl=0
6863 cat >>confdefs.h <<_ACEOF
6864 #define HAVE_DECL_CURLINFO_LASTSOCKET $ac_have_decl
6865 _ACEOF
6866 ac_fn_c_check_decl "$LINENO" "CURLINFO_FTP_ENTRY_PATH" "ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" "
6867 #include \"curl/curl.h\"
6870 if test "x$ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" = xyes; then :
6871 ac_have_decl=1
6872 else
6873 ac_have_decl=0
6876 cat >>confdefs.h <<_ACEOF
6877 #define HAVE_DECL_CURLINFO_FTP_ENTRY_PATH $ac_have_decl
6878 _ACEOF
6879 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_URL" "ac_cv_have_decl_CURLINFO_REDIRECT_URL" "
6880 #include \"curl/curl.h\"
6883 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_URL" = xyes; then :
6884 ac_have_decl=1
6885 else
6886 ac_have_decl=0
6889 cat >>confdefs.h <<_ACEOF
6890 #define HAVE_DECL_CURLINFO_REDIRECT_URL $ac_have_decl
6891 _ACEOF
6892 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRIMARY_IP" "ac_cv_have_decl_CURLINFO_PRIMARY_IP" "
6893 #include \"curl/curl.h\"
6896 if test "x$ac_cv_have_decl_CURLINFO_PRIMARY_IP" = xyes; then :
6897 ac_have_decl=1
6898 else
6899 ac_have_decl=0
6902 cat >>confdefs.h <<_ACEOF
6903 #define HAVE_DECL_CURLINFO_PRIMARY_IP $ac_have_decl
6904 _ACEOF
6905 ac_fn_c_check_decl "$LINENO" "CURLINFO_LOCAL_IP" "ac_cv_have_decl_CURLINFO_LOCAL_IP" "
6906 #include \"curl/curl.h\"
6909 if test "x$ac_cv_have_decl_CURLINFO_LOCAL_IP" = xyes; then :
6910 ac_have_decl=1
6911 else
6912 ac_have_decl=0
6915 cat >>confdefs.h <<_ACEOF
6916 #define HAVE_DECL_CURLINFO_LOCAL_IP $ac_have_decl
6917 _ACEOF
6918 ac_fn_c_check_decl "$LINENO" "CURLINFO_LOCAL_PORT" "ac_cv_have_decl_CURLINFO_LOCAL_PORT" "
6919 #include \"curl/curl.h\"
6922 if test "x$ac_cv_have_decl_CURLINFO_LOCAL_PORT" = xyes; then :
6923 ac_have_decl=1
6924 else
6925 ac_have_decl=0
6928 cat >>confdefs.h <<_ACEOF
6929 #define HAVE_DECL_CURLINFO_LOCAL_PORT $ac_have_decl
6930 _ACEOF
6931 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONDITION_UNMET" "ac_cv_have_decl_CURLINFO_CONDITION_UNMET" "
6932 #include \"curl/curl.h\"
6935 if test "x$ac_cv_have_decl_CURLINFO_CONDITION_UNMET" = xyes; then :
6936 ac_have_decl=1
6937 else
6938 ac_have_decl=0
6941 cat >>confdefs.h <<_ACEOF
6942 #define HAVE_DECL_CURLINFO_CONDITION_UNMET $ac_have_decl
6943 _ACEOF
6944 ac_fn_c_check_decl "$LINENO" "CURLE_UNSUPPORTED_PROTOCOL" "ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" "
6945 #include \"curl/curl.h\"
6948 if test "x$ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" = xyes; then :
6949 ac_have_decl=1
6950 else
6951 ac_have_decl=0
6954 cat >>confdefs.h <<_ACEOF
6955 #define HAVE_DECL_CURLE_UNSUPPORTED_PROTOCOL $ac_have_decl
6956 _ACEOF
6957 ac_fn_c_check_decl "$LINENO" "CURLE_FAILED_INIT" "ac_cv_have_decl_CURLE_FAILED_INIT" "
6958 #include \"curl/curl.h\"
6961 if test "x$ac_cv_have_decl_CURLE_FAILED_INIT" = xyes; then :
6962 ac_have_decl=1
6963 else
6964 ac_have_decl=0
6967 cat >>confdefs.h <<_ACEOF
6968 #define HAVE_DECL_CURLE_FAILED_INIT $ac_have_decl
6969 _ACEOF
6970 ac_fn_c_check_decl "$LINENO" "CURLE_URL_MALFORMAT" "ac_cv_have_decl_CURLE_URL_MALFORMAT" "
6971 #include \"curl/curl.h\"
6974 if test "x$ac_cv_have_decl_CURLE_URL_MALFORMAT" = xyes; then :
6975 ac_have_decl=1
6976 else
6977 ac_have_decl=0
6980 cat >>confdefs.h <<_ACEOF
6981 #define HAVE_DECL_CURLE_URL_MALFORMAT $ac_have_decl
6982 _ACEOF
6983 ac_fn_c_check_decl "$LINENO" "CURLE_URL_MALFORMAT_USER" "ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" "
6984 #include \"curl/curl.h\"
6987 if test "x$ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" = xyes; then :
6988 ac_have_decl=1
6989 else
6990 ac_have_decl=0
6993 cat >>confdefs.h <<_ACEOF
6994 #define HAVE_DECL_CURLE_URL_MALFORMAT_USER $ac_have_decl
6995 _ACEOF
6996 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_RESOLVE_PROXY" "ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" "
6997 #include \"curl/curl.h\"
7000 if test "x$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" = xyes; then :
7001 ac_have_decl=1
7002 else
7003 ac_have_decl=0
7006 cat >>confdefs.h <<_ACEOF
7007 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_PROXY $ac_have_decl
7008 _ACEOF
7009 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_RESOLVE_HOST" "ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" "
7010 #include \"curl/curl.h\"
7013 if test "x$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" = xyes; then :
7014 ac_have_decl=1
7015 else
7016 ac_have_decl=0
7019 cat >>confdefs.h <<_ACEOF
7020 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_HOST $ac_have_decl
7021 _ACEOF
7022 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_CONNECT" "ac_cv_have_decl_CURLE_COULDNT_CONNECT" "
7023 #include \"curl/curl.h\"
7026 if test "x$ac_cv_have_decl_CURLE_COULDNT_CONNECT" = xyes; then :
7027 ac_have_decl=1
7028 else
7029 ac_have_decl=0
7032 cat >>confdefs.h <<_ACEOF
7033 #define HAVE_DECL_CURLE_COULDNT_CONNECT $ac_have_decl
7034 _ACEOF
7035 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_SERVER_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" "
7036 #include \"curl/curl.h\"
7039 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" = xyes; then :
7040 ac_have_decl=1
7041 else
7042 ac_have_decl=0
7045 cat >>confdefs.h <<_ACEOF
7046 #define HAVE_DECL_CURLE_FTP_WEIRD_SERVER_REPLY $ac_have_decl
7047 _ACEOF
7048 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_ACCESS_DENIED" "ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" "
7049 #include \"curl/curl.h\"
7052 if test "x$ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" = xyes; then :
7053 ac_have_decl=1
7054 else
7055 ac_have_decl=0
7058 cat >>confdefs.h <<_ACEOF
7059 #define HAVE_DECL_CURLE_FTP_ACCESS_DENIED $ac_have_decl
7060 _ACEOF
7061 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_USER_PASSWORD_INCORRECT" "ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" "
7062 #include \"curl/curl.h\"
7065 if test "x$ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" = xyes; then :
7066 ac_have_decl=1
7067 else
7068 ac_have_decl=0
7071 cat >>confdefs.h <<_ACEOF
7072 #define HAVE_DECL_CURLE_FTP_USER_PASSWORD_INCORRECT $ac_have_decl
7073 _ACEOF
7074 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_PASS_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" "
7075 #include \"curl/curl.h\"
7078 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" = xyes; then :
7079 ac_have_decl=1
7080 else
7081 ac_have_decl=0
7084 cat >>confdefs.h <<_ACEOF
7085 #define HAVE_DECL_CURLE_FTP_WEIRD_PASS_REPLY $ac_have_decl
7086 _ACEOF
7087 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_USER_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" "
7088 #include \"curl/curl.h\"
7091 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" = xyes; then :
7092 ac_have_decl=1
7093 else
7094 ac_have_decl=0
7097 cat >>confdefs.h <<_ACEOF
7098 #define HAVE_DECL_CURLE_FTP_WEIRD_USER_REPLY $ac_have_decl
7099 _ACEOF
7100 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_PASV_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY" "
7101 #include \"curl/curl.h\"
7104 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY" = xyes; then :
7105 ac_have_decl=1
7106 else
7107 ac_have_decl=0
7110 cat >>confdefs.h <<_ACEOF
7111 #define HAVE_DECL_CURLE_FTP_WEIRD_PASV_REPLY $ac_have_decl
7112 _ACEOF
7113 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_227_FORMAT" "ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" "
7114 #include \"curl/curl.h\"
7117 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" = xyes; then :
7118 ac_have_decl=1
7119 else
7120 ac_have_decl=0
7123 cat >>confdefs.h <<_ACEOF
7124 #define HAVE_DECL_CURLE_FTP_WEIRD_227_FORMAT $ac_have_decl
7125 _ACEOF
7126 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_CANT_GET_HOST" "ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" "
7127 #include \"curl/curl.h\"
7130 if test "x$ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" = xyes; then :
7131 ac_have_decl=1
7132 else
7133 ac_have_decl=0
7136 cat >>confdefs.h <<_ACEOF
7137 #define HAVE_DECL_CURLE_FTP_CANT_GET_HOST $ac_have_decl
7138 _ACEOF
7139 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_CANT_RECONNECT" "ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" "
7140 #include \"curl/curl.h\"
7143 if test "x$ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" = xyes; then :
7144 ac_have_decl=1
7145 else
7146 ac_have_decl=0
7149 cat >>confdefs.h <<_ACEOF
7150 #define HAVE_DECL_CURLE_FTP_CANT_RECONNECT $ac_have_decl
7151 _ACEOF
7152 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_SET_BINARY" "ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" "
7153 #include \"curl/curl.h\"
7156 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" = xyes; then :
7157 ac_have_decl=1
7158 else
7159 ac_have_decl=0
7162 cat >>confdefs.h <<_ACEOF
7163 #define HAVE_DECL_CURLE_FTP_COULDNT_SET_BINARY $ac_have_decl
7164 _ACEOF
7165 ac_fn_c_check_decl "$LINENO" "CURLE_PARTIAL_FILE" "ac_cv_have_decl_CURLE_PARTIAL_FILE" "
7166 #include \"curl/curl.h\"
7169 if test "x$ac_cv_have_decl_CURLE_PARTIAL_FILE" = xyes; then :
7170 ac_have_decl=1
7171 else
7172 ac_have_decl=0
7175 cat >>confdefs.h <<_ACEOF
7176 #define HAVE_DECL_CURLE_PARTIAL_FILE $ac_have_decl
7177 _ACEOF
7178 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_RETR_FILE" "ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" "
7179 #include \"curl/curl.h\"
7182 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" = xyes; then :
7183 ac_have_decl=1
7184 else
7185 ac_have_decl=0
7188 cat >>confdefs.h <<_ACEOF
7189 #define HAVE_DECL_CURLE_FTP_COULDNT_RETR_FILE $ac_have_decl
7190 _ACEOF
7191 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WRITE_ERROR" "ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" "
7192 #include \"curl/curl.h\"
7195 if test "x$ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" = xyes; then :
7196 ac_have_decl=1
7197 else
7198 ac_have_decl=0
7201 cat >>confdefs.h <<_ACEOF
7202 #define HAVE_DECL_CURLE_FTP_WRITE_ERROR $ac_have_decl
7203 _ACEOF
7204 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_QUOTE_ERROR" "ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" "
7205 #include \"curl/curl.h\"
7208 if test "x$ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" = xyes; then :
7209 ac_have_decl=1
7210 else
7211 ac_have_decl=0
7214 cat >>confdefs.h <<_ACEOF
7215 #define HAVE_DECL_CURLE_FTP_QUOTE_ERROR $ac_have_decl
7216 _ACEOF
7217 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_RETURNED_ERROR" "ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" "
7218 #include \"curl/curl.h\"
7221 if test "x$ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" = xyes; then :
7222 ac_have_decl=1
7223 else
7224 ac_have_decl=0
7227 cat >>confdefs.h <<_ACEOF
7228 #define HAVE_DECL_CURLE_HTTP_RETURNED_ERROR $ac_have_decl
7229 _ACEOF
7230 ac_fn_c_check_decl "$LINENO" "CURLE_WRITE_ERROR" "ac_cv_have_decl_CURLE_WRITE_ERROR" "
7231 #include \"curl/curl.h\"
7234 if test "x$ac_cv_have_decl_CURLE_WRITE_ERROR" = xyes; then :
7235 ac_have_decl=1
7236 else
7237 ac_have_decl=0
7240 cat >>confdefs.h <<_ACEOF
7241 #define HAVE_DECL_CURLE_WRITE_ERROR $ac_have_decl
7242 _ACEOF
7243 ac_fn_c_check_decl "$LINENO" "CURLE_MALFORMAT_USER" "ac_cv_have_decl_CURLE_MALFORMAT_USER" "
7244 #include \"curl/curl.h\"
7247 if test "x$ac_cv_have_decl_CURLE_MALFORMAT_USER" = xyes; then :
7248 ac_have_decl=1
7249 else
7250 ac_have_decl=0
7253 cat >>confdefs.h <<_ACEOF
7254 #define HAVE_DECL_CURLE_MALFORMAT_USER $ac_have_decl
7255 _ACEOF
7256 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_STOR_FILE" "ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" "
7257 #include \"curl/curl.h\"
7260 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" = xyes; then :
7261 ac_have_decl=1
7262 else
7263 ac_have_decl=0
7266 cat >>confdefs.h <<_ACEOF
7267 #define HAVE_DECL_CURLE_FTP_COULDNT_STOR_FILE $ac_have_decl
7268 _ACEOF
7269 ac_fn_c_check_decl "$LINENO" "CURLE_READ_ERROR" "ac_cv_have_decl_CURLE_READ_ERROR" "
7270 #include \"curl/curl.h\"
7273 if test "x$ac_cv_have_decl_CURLE_READ_ERROR" = xyes; then :
7274 ac_have_decl=1
7275 else
7276 ac_have_decl=0
7279 cat >>confdefs.h <<_ACEOF
7280 #define HAVE_DECL_CURLE_READ_ERROR $ac_have_decl
7281 _ACEOF
7282 ac_fn_c_check_decl "$LINENO" "CURLE_OUT_OF_MEMORY" "ac_cv_have_decl_CURLE_OUT_OF_MEMORY" "
7283 #include \"curl/curl.h\"
7286 if test "x$ac_cv_have_decl_CURLE_OUT_OF_MEMORY" = xyes; then :
7287 ac_have_decl=1
7288 else
7289 ac_have_decl=0
7292 cat >>confdefs.h <<_ACEOF
7293 #define HAVE_DECL_CURLE_OUT_OF_MEMORY $ac_have_decl
7294 _ACEOF
7295 ac_fn_c_check_decl "$LINENO" "CURLE_OPERATION_TIMEOUTED" "ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" "
7296 #include \"curl/curl.h\"
7299 if test "x$ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" = xyes; then :
7300 ac_have_decl=1
7301 else
7302 ac_have_decl=0
7305 cat >>confdefs.h <<_ACEOF
7306 #define HAVE_DECL_CURLE_OPERATION_TIMEOUTED $ac_have_decl
7307 _ACEOF
7308 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_SET_ASCII" "ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" "
7309 #include \"curl/curl.h\"
7312 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" = xyes; then :
7313 ac_have_decl=1
7314 else
7315 ac_have_decl=0
7318 cat >>confdefs.h <<_ACEOF
7319 #define HAVE_DECL_CURLE_FTP_COULDNT_SET_ASCII $ac_have_decl
7320 _ACEOF
7321 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_PORT_FAILED" "ac_cv_have_decl_CURLE_FTP_PORT_FAILED" "
7322 #include \"curl/curl.h\"
7325 if test "x$ac_cv_have_decl_CURLE_FTP_PORT_FAILED" = xyes; then :
7326 ac_have_decl=1
7327 else
7328 ac_have_decl=0
7331 cat >>confdefs.h <<_ACEOF
7332 #define HAVE_DECL_CURLE_FTP_PORT_FAILED $ac_have_decl
7333 _ACEOF
7334 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_USE_REST" "ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" "
7335 #include \"curl/curl.h\"
7338 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" = xyes; then :
7339 ac_have_decl=1
7340 else
7341 ac_have_decl=0
7344 cat >>confdefs.h <<_ACEOF
7345 #define HAVE_DECL_CURLE_FTP_COULDNT_USE_REST $ac_have_decl
7346 _ACEOF
7347 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_GET_SIZE" "ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" "
7348 #include \"curl/curl.h\"
7351 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" = xyes; then :
7352 ac_have_decl=1
7353 else
7354 ac_have_decl=0
7357 cat >>confdefs.h <<_ACEOF
7358 #define HAVE_DECL_CURLE_FTP_COULDNT_GET_SIZE $ac_have_decl
7359 _ACEOF
7360 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_RANGE_ERROR" "ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" "
7361 #include \"curl/curl.h\"
7364 if test "x$ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" = xyes; then :
7365 ac_have_decl=1
7366 else
7367 ac_have_decl=0
7370 cat >>confdefs.h <<_ACEOF
7371 #define HAVE_DECL_CURLE_HTTP_RANGE_ERROR $ac_have_decl
7372 _ACEOF
7373 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_POST_ERROR" "ac_cv_have_decl_CURLE_HTTP_POST_ERROR" "
7374 #include \"curl/curl.h\"
7377 if test "x$ac_cv_have_decl_CURLE_HTTP_POST_ERROR" = xyes; then :
7378 ac_have_decl=1
7379 else
7380 ac_have_decl=0
7383 cat >>confdefs.h <<_ACEOF
7384 #define HAVE_DECL_CURLE_HTTP_POST_ERROR $ac_have_decl
7385 _ACEOF
7386 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CONNECT_ERROR" "ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" "
7387 #include \"curl/curl.h\"
7390 if test "x$ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" = xyes; then :
7391 ac_have_decl=1
7392 else
7393 ac_have_decl=0
7396 cat >>confdefs.h <<_ACEOF
7397 #define HAVE_DECL_CURLE_SSL_CONNECT_ERROR $ac_have_decl
7398 _ACEOF
7399 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_DOWNLOAD_RESUME" "ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" "
7400 #include \"curl/curl.h\"
7403 if test "x$ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" = xyes; then :
7404 ac_have_decl=1
7405 else
7406 ac_have_decl=0
7409 cat >>confdefs.h <<_ACEOF
7410 #define HAVE_DECL_CURLE_BAD_DOWNLOAD_RESUME $ac_have_decl
7411 _ACEOF
7412 ac_fn_c_check_decl "$LINENO" "CURLE_FILE_COULDNT_READ_FILE" "ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" "
7413 #include \"curl/curl.h\"
7416 if test "x$ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" = xyes; then :
7417 ac_have_decl=1
7418 else
7419 ac_have_decl=0
7422 cat >>confdefs.h <<_ACEOF
7423 #define HAVE_DECL_CURLE_FILE_COULDNT_READ_FILE $ac_have_decl
7424 _ACEOF
7425 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_CANNOT_BIND" "ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" "
7426 #include \"curl/curl.h\"
7429 if test "x$ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" = xyes; then :
7430 ac_have_decl=1
7431 else
7432 ac_have_decl=0
7435 cat >>confdefs.h <<_ACEOF
7436 #define HAVE_DECL_CURLE_LDAP_CANNOT_BIND $ac_have_decl
7437 _ACEOF
7438 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_SEARCH_FAILED" "ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" "
7439 #include \"curl/curl.h\"
7442 if test "x$ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" = xyes; then :
7443 ac_have_decl=1
7444 else
7445 ac_have_decl=0
7448 cat >>confdefs.h <<_ACEOF
7449 #define HAVE_DECL_CURLE_LDAP_SEARCH_FAILED $ac_have_decl
7450 _ACEOF
7451 ac_fn_c_check_decl "$LINENO" "CURLE_LIBRARY_NOT_FOUND" "ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" "
7452 #include \"curl/curl.h\"
7455 if test "x$ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" = xyes; then :
7456 ac_have_decl=1
7457 else
7458 ac_have_decl=0
7461 cat >>confdefs.h <<_ACEOF
7462 #define HAVE_DECL_CURLE_LIBRARY_NOT_FOUND $ac_have_decl
7463 _ACEOF
7464 ac_fn_c_check_decl "$LINENO" "CURLE_FUNCTION_NOT_FOUND" "ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" "
7465 #include \"curl/curl.h\"
7468 if test "x$ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" = xyes; then :
7469 ac_have_decl=1
7470 else
7471 ac_have_decl=0
7474 cat >>confdefs.h <<_ACEOF
7475 #define HAVE_DECL_CURLE_FUNCTION_NOT_FOUND $ac_have_decl
7476 _ACEOF
7477 ac_fn_c_check_decl "$LINENO" "CURLE_ABORTED_BY_CALLBACK" "ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" "
7478 #include \"curl/curl.h\"
7481 if test "x$ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" = xyes; then :
7482 ac_have_decl=1
7483 else
7484 ac_have_decl=0
7487 cat >>confdefs.h <<_ACEOF
7488 #define HAVE_DECL_CURLE_ABORTED_BY_CALLBACK $ac_have_decl
7489 _ACEOF
7490 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_FUNCTION_ARGUMENT" "ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" "
7491 #include \"curl/curl.h\"
7494 if test "x$ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" = xyes; then :
7495 ac_have_decl=1
7496 else
7497 ac_have_decl=0
7500 cat >>confdefs.h <<_ACEOF
7501 #define HAVE_DECL_CURLE_BAD_FUNCTION_ARGUMENT $ac_have_decl
7502 _ACEOF
7503 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_CALLING_ORDER" "ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" "
7504 #include \"curl/curl.h\"
7507 if test "x$ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" = xyes; then :
7508 ac_have_decl=1
7509 else
7510 ac_have_decl=0
7513 cat >>confdefs.h <<_ACEOF
7514 #define HAVE_DECL_CURLE_BAD_CALLING_ORDER $ac_have_decl
7515 _ACEOF
7516 ac_fn_c_check_decl "$LINENO" "CURLE_INTERFACE_FAILED" "ac_cv_have_decl_CURLE_INTERFACE_FAILED" "
7517 #include \"curl/curl.h\"
7520 if test "x$ac_cv_have_decl_CURLE_INTERFACE_FAILED" = xyes; then :
7521 ac_have_decl=1
7522 else
7523 ac_have_decl=0
7526 cat >>confdefs.h <<_ACEOF
7527 #define HAVE_DECL_CURLE_INTERFACE_FAILED $ac_have_decl
7528 _ACEOF
7529 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_PASSWORD_ENTERED" "ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" "
7530 #include \"curl/curl.h\"
7533 if test "x$ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" = xyes; then :
7534 ac_have_decl=1
7535 else
7536 ac_have_decl=0
7539 cat >>confdefs.h <<_ACEOF
7540 #define HAVE_DECL_CURLE_BAD_PASSWORD_ENTERED $ac_have_decl
7541 _ACEOF
7542 ac_fn_c_check_decl "$LINENO" "CURLE_TOO_MANY_REDIRECTS" "ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" "
7543 #include \"curl/curl.h\"
7546 if test "x$ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" = xyes; then :
7547 ac_have_decl=1
7548 else
7549 ac_have_decl=0
7552 cat >>confdefs.h <<_ACEOF
7553 #define HAVE_DECL_CURLE_TOO_MANY_REDIRECTS $ac_have_decl
7554 _ACEOF
7555 ac_fn_c_check_decl "$LINENO" "CURLE_UNKNOWN_TELNET_OPTION" "ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" "
7556 #include \"curl/curl.h\"
7559 if test "x$ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" = xyes; then :
7560 ac_have_decl=1
7561 else
7562 ac_have_decl=0
7565 cat >>confdefs.h <<_ACEOF
7566 #define HAVE_DECL_CURLE_UNKNOWN_TELNET_OPTION $ac_have_decl
7567 _ACEOF
7568 ac_fn_c_check_decl "$LINENO" "CURLE_TELNET_OPTION_SYNTAX" "ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" "
7569 #include \"curl/curl.h\"
7572 if test "x$ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" = xyes; then :
7573 ac_have_decl=1
7574 else
7575 ac_have_decl=0
7578 cat >>confdefs.h <<_ACEOF
7579 #define HAVE_DECL_CURLE_TELNET_OPTION_SYNTAX $ac_have_decl
7580 _ACEOF
7581 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_PEER_CERTIFICATE" "ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" "
7582 #include \"curl/curl.h\"
7585 if test "x$ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" = xyes; then :
7586 ac_have_decl=1
7587 else
7588 ac_have_decl=0
7591 cat >>confdefs.h <<_ACEOF
7592 #define HAVE_DECL_CURLE_SSL_PEER_CERTIFICATE $ac_have_decl
7593 _ACEOF
7594 ac_fn_c_check_decl "$LINENO" "CURLE_GOT_NOTHING" "ac_cv_have_decl_CURLE_GOT_NOTHING" "
7595 #include \"curl/curl.h\"
7598 if test "x$ac_cv_have_decl_CURLE_GOT_NOTHING" = xyes; then :
7599 ac_have_decl=1
7600 else
7601 ac_have_decl=0
7604 cat >>confdefs.h <<_ACEOF
7605 #define HAVE_DECL_CURLE_GOT_NOTHING $ac_have_decl
7606 _ACEOF
7607 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_NOTFOUND" "ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" "
7608 #include \"curl/curl.h\"
7611 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" = xyes; then :
7612 ac_have_decl=1
7613 else
7614 ac_have_decl=0
7617 cat >>confdefs.h <<_ACEOF
7618 #define HAVE_DECL_CURLE_SSL_ENGINE_NOTFOUND $ac_have_decl
7619 _ACEOF
7620 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_SETFAILED" "ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" "
7621 #include \"curl/curl.h\"
7624 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" = xyes; then :
7625 ac_have_decl=1
7626 else
7627 ac_have_decl=0
7630 cat >>confdefs.h <<_ACEOF
7631 #define HAVE_DECL_CURLE_SSL_ENGINE_SETFAILED $ac_have_decl
7632 _ACEOF
7633 ac_fn_c_check_decl "$LINENO" "CURLE_SEND_ERROR" "ac_cv_have_decl_CURLE_SEND_ERROR" "
7634 #include \"curl/curl.h\"
7637 if test "x$ac_cv_have_decl_CURLE_SEND_ERROR" = xyes; then :
7638 ac_have_decl=1
7639 else
7640 ac_have_decl=0
7643 cat >>confdefs.h <<_ACEOF
7644 #define HAVE_DECL_CURLE_SEND_ERROR $ac_have_decl
7645 _ACEOF
7646 ac_fn_c_check_decl "$LINENO" "CURLE_RECV_ERROR" "ac_cv_have_decl_CURLE_RECV_ERROR" "
7647 #include \"curl/curl.h\"
7650 if test "x$ac_cv_have_decl_CURLE_RECV_ERROR" = xyes; then :
7651 ac_have_decl=1
7652 else
7653 ac_have_decl=0
7656 cat >>confdefs.h <<_ACEOF
7657 #define HAVE_DECL_CURLE_RECV_ERROR $ac_have_decl
7658 _ACEOF
7659 ac_fn_c_check_decl "$LINENO" "CURLE_SHARE_IN_USE" "ac_cv_have_decl_CURLE_SHARE_IN_USE" "
7660 #include \"curl/curl.h\"
7663 if test "x$ac_cv_have_decl_CURLE_SHARE_IN_USE" = xyes; then :
7664 ac_have_decl=1
7665 else
7666 ac_have_decl=0
7669 cat >>confdefs.h <<_ACEOF
7670 #define HAVE_DECL_CURLE_SHARE_IN_USE $ac_have_decl
7671 _ACEOF
7672 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CERTPROBLEM" "ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" "
7673 #include \"curl/curl.h\"
7676 if test "x$ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" = xyes; then :
7677 ac_have_decl=1
7678 else
7679 ac_have_decl=0
7682 cat >>confdefs.h <<_ACEOF
7683 #define HAVE_DECL_CURLE_SSL_CERTPROBLEM $ac_have_decl
7684 _ACEOF
7685 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CIPHER" "ac_cv_have_decl_CURLE_SSL_CIPHER" "
7686 #include \"curl/curl.h\"
7689 if test "x$ac_cv_have_decl_CURLE_SSL_CIPHER" = xyes; then :
7690 ac_have_decl=1
7691 else
7692 ac_have_decl=0
7695 cat >>confdefs.h <<_ACEOF
7696 #define HAVE_DECL_CURLE_SSL_CIPHER $ac_have_decl
7697 _ACEOF
7698 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CACERT" "ac_cv_have_decl_CURLE_SSL_CACERT" "
7699 #include \"curl/curl.h\"
7702 if test "x$ac_cv_have_decl_CURLE_SSL_CACERT" = xyes; then :
7703 ac_have_decl=1
7704 else
7705 ac_have_decl=0
7708 cat >>confdefs.h <<_ACEOF
7709 #define HAVE_DECL_CURLE_SSL_CACERT $ac_have_decl
7710 _ACEOF
7711 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_CONTENT_ENCODING" "ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" "
7712 #include \"curl/curl.h\"
7715 if test "x$ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" = xyes; then :
7716 ac_have_decl=1
7717 else
7718 ac_have_decl=0
7721 cat >>confdefs.h <<_ACEOF
7722 #define HAVE_DECL_CURLE_BAD_CONTENT_ENCODING $ac_have_decl
7723 _ACEOF
7724 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_INVALID_URL" "ac_cv_have_decl_CURLE_LDAP_INVALID_URL" "
7725 #include \"curl/curl.h\"
7728 if test "x$ac_cv_have_decl_CURLE_LDAP_INVALID_URL" = xyes; then :
7729 ac_have_decl=1
7730 else
7731 ac_have_decl=0
7734 cat >>confdefs.h <<_ACEOF
7735 #define HAVE_DECL_CURLE_LDAP_INVALID_URL $ac_have_decl
7736 _ACEOF
7737 ac_fn_c_check_decl "$LINENO" "CURLE_FILESIZE_EXCEEDED" "ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" "
7738 #include \"curl/curl.h\"
7741 if test "x$ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" = xyes; then :
7742 ac_have_decl=1
7743 else
7744 ac_have_decl=0
7747 cat >>confdefs.h <<_ACEOF
7748 #define HAVE_DECL_CURLE_FILESIZE_EXCEEDED $ac_have_decl
7749 _ACEOF
7750 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_SSL_FAILED" "ac_cv_have_decl_CURLE_FTP_SSL_FAILED" "
7751 #include \"curl/curl.h\"
7754 if test "x$ac_cv_have_decl_CURLE_FTP_SSL_FAILED" = xyes; then :
7755 ac_have_decl=1
7756 else
7757 ac_have_decl=0
7760 cat >>confdefs.h <<_ACEOF
7761 #define HAVE_DECL_CURLE_FTP_SSL_FAILED $ac_have_decl
7762 _ACEOF
7763 ac_fn_c_check_decl "$LINENO" "CURLE_SEND_FAIL_REWIND" "ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" "
7764 #include \"curl/curl.h\"
7767 if test "x$ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" = xyes; then :
7768 ac_have_decl=1
7769 else
7770 ac_have_decl=0
7773 cat >>confdefs.h <<_ACEOF
7774 #define HAVE_DECL_CURLE_SEND_FAIL_REWIND $ac_have_decl
7775 _ACEOF
7776 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_INITFAILED" "ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" "
7777 #include \"curl/curl.h\"
7780 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" = xyes; then :
7781 ac_have_decl=1
7782 else
7783 ac_have_decl=0
7786 cat >>confdefs.h <<_ACEOF
7787 #define HAVE_DECL_CURLE_SSL_ENGINE_INITFAILED $ac_have_decl
7788 _ACEOF
7789 ac_fn_c_check_decl "$LINENO" "CURLE_LOGIN_DENIED" "ac_cv_have_decl_CURLE_LOGIN_DENIED" "
7790 #include \"curl/curl.h\"
7793 if test "x$ac_cv_have_decl_CURLE_LOGIN_DENIED" = xyes; then :
7794 ac_have_decl=1
7795 else
7796 ac_have_decl=0
7799 cat >>confdefs.h <<_ACEOF
7800 #define HAVE_DECL_CURLE_LOGIN_DENIED $ac_have_decl
7801 _ACEOF
7802 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_NOTFOUND" "ac_cv_have_decl_CURLE_TFTP_NOTFOUND" "
7803 #include \"curl/curl.h\"
7806 if test "x$ac_cv_have_decl_CURLE_TFTP_NOTFOUND" = xyes; then :
7807 ac_have_decl=1
7808 else
7809 ac_have_decl=0
7812 cat >>confdefs.h <<_ACEOF
7813 #define HAVE_DECL_CURLE_TFTP_NOTFOUND $ac_have_decl
7814 _ACEOF
7815 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_PERM" "ac_cv_have_decl_CURLE_TFTP_PERM" "
7816 #include \"curl/curl.h\"
7819 if test "x$ac_cv_have_decl_CURLE_TFTP_PERM" = xyes; then :
7820 ac_have_decl=1
7821 else
7822 ac_have_decl=0
7825 cat >>confdefs.h <<_ACEOF
7826 #define HAVE_DECL_CURLE_TFTP_PERM $ac_have_decl
7827 _ACEOF
7828 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_DISK_FULL" "ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" "
7829 #include \"curl/curl.h\"
7832 if test "x$ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" = xyes; then :
7833 ac_have_decl=1
7834 else
7835 ac_have_decl=0
7838 cat >>confdefs.h <<_ACEOF
7839 #define HAVE_DECL_CURLE_REMOTE_DISK_FULL $ac_have_decl
7840 _ACEOF
7841 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_ILLEGAL" "ac_cv_have_decl_CURLE_TFTP_ILLEGAL" "
7842 #include \"curl/curl.h\"
7845 if test "x$ac_cv_have_decl_CURLE_TFTP_ILLEGAL" = xyes; then :
7846 ac_have_decl=1
7847 else
7848 ac_have_decl=0
7851 cat >>confdefs.h <<_ACEOF
7852 #define HAVE_DECL_CURLE_TFTP_ILLEGAL $ac_have_decl
7853 _ACEOF
7854 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_UNKNOWNID" "ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" "
7855 #include \"curl/curl.h\"
7858 if test "x$ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" = xyes; then :
7859 ac_have_decl=1
7860 else
7861 ac_have_decl=0
7864 cat >>confdefs.h <<_ACEOF
7865 #define HAVE_DECL_CURLE_TFTP_UNKNOWNID $ac_have_decl
7866 _ACEOF
7867 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_FILE_EXISTS" "ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" "
7868 #include \"curl/curl.h\"
7871 if test "x$ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" = xyes; then :
7872 ac_have_decl=1
7873 else
7874 ac_have_decl=0
7877 cat >>confdefs.h <<_ACEOF
7878 #define HAVE_DECL_CURLE_REMOTE_FILE_EXISTS $ac_have_decl
7879 _ACEOF
7880 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_NOSUCHUSER" "ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" "
7881 #include \"curl/curl.h\"
7884 if test "x$ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" = xyes; then :
7885 ac_have_decl=1
7886 else
7887 ac_have_decl=0
7890 cat >>confdefs.h <<_ACEOF
7891 #define HAVE_DECL_CURLE_TFTP_NOSUCHUSER $ac_have_decl
7892 _ACEOF
7893 ac_fn_c_check_decl "$LINENO" "CURLE_CONV_FAILED" "ac_cv_have_decl_CURLE_CONV_FAILED" "
7894 #include \"curl/curl.h\"
7897 if test "x$ac_cv_have_decl_CURLE_CONV_FAILED" = xyes; then :
7898 ac_have_decl=1
7899 else
7900 ac_have_decl=0
7903 cat >>confdefs.h <<_ACEOF
7904 #define HAVE_DECL_CURLE_CONV_FAILED $ac_have_decl
7905 _ACEOF
7906 ac_fn_c_check_decl "$LINENO" "CURLE_CONV_REQD" "ac_cv_have_decl_CURLE_CONV_REQD" "
7907 #include \"curl/curl.h\"
7910 if test "x$ac_cv_have_decl_CURLE_CONV_REQD" = xyes; then :
7911 ac_have_decl=1
7912 else
7913 ac_have_decl=0
7916 cat >>confdefs.h <<_ACEOF
7917 #define HAVE_DECL_CURLE_CONV_REQD $ac_have_decl
7918 _ACEOF
7919 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CACERT_BADFILE" "ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" "
7920 #include \"curl/curl.h\"
7923 if test "x$ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" = xyes; then :
7924 ac_have_decl=1
7925 else
7926 ac_have_decl=0
7929 cat >>confdefs.h <<_ACEOF
7930 #define HAVE_DECL_CURLE_SSL_CACERT_BADFILE $ac_have_decl
7931 _ACEOF
7932 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_FILE_NOT_FOUND" "ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" "
7933 #include \"curl/curl.h\"
7936 if test "x$ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" = xyes; then :
7937 ac_have_decl=1
7938 else
7939 ac_have_decl=0
7942 cat >>confdefs.h <<_ACEOF
7943 #define HAVE_DECL_CURLE_REMOTE_FILE_NOT_FOUND $ac_have_decl
7944 _ACEOF
7945 ac_fn_c_check_decl "$LINENO" "CURLE_SSH" "ac_cv_have_decl_CURLE_SSH" "
7946 #include \"curl/curl.h\"
7949 if test "x$ac_cv_have_decl_CURLE_SSH" = xyes; then :
7950 ac_have_decl=1
7951 else
7952 ac_have_decl=0
7955 cat >>confdefs.h <<_ACEOF
7956 #define HAVE_DECL_CURLE_SSH $ac_have_decl
7957 _ACEOF
7958 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_SHUTDOWN_FAILED" "ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED" "
7959 #include \"curl/curl.h\"
7962 if test "x$ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED" = xyes; then :
7963 ac_have_decl=1
7964 else
7965 ac_have_decl=0
7968 cat >>confdefs.h <<_ACEOF
7969 #define HAVE_DECL_CURLE_SSL_SHUTDOWN_FAILED $ac_have_decl
7970 _ACEOF
7971 ac_fn_c_check_decl "$LINENO" "CURLE_AGAIN" "ac_cv_have_decl_CURLE_AGAIN" "
7972 #include \"curl/curl.h\"
7975 if test "x$ac_cv_have_decl_CURLE_AGAIN" = xyes; then :
7976 ac_have_decl=1
7977 else
7978 ac_have_decl=0
7981 cat >>confdefs.h <<_ACEOF
7982 #define HAVE_DECL_CURLE_AGAIN $ac_have_decl
7983 _ACEOF
7984 ac_fn_c_check_decl "$LINENO" "CURL_VERSION_TLSAUTH_SRP" "ac_cv_have_decl_CURL_VERSION_TLSAUTH_SRP" "
7985 #include \"curl/curl.h\"
7988 if test "x$ac_cv_have_decl_CURL_VERSION_TLSAUTH_SRP" = xyes; then :
7989 ac_have_decl=1
7990 else
7991 ac_have_decl=0
7994 cat >>confdefs.h <<_ACEOF
7995 #define HAVE_DECL_CURL_VERSION_TLSAUTH_SRP $ac_have_decl
7996 _ACEOF
7997 ac_fn_c_check_decl "$LINENO" "CURL_VERSION_NTLM_WB" "ac_cv_have_decl_CURL_VERSION_NTLM_WB" "
7998 #include \"curl/curl.h\"
8001 if test "x$ac_cv_have_decl_CURL_VERSION_NTLM_WB" = xyes; then :
8002 ac_have_decl=1
8003 else
8004 ac_have_decl=0
8007 cat >>confdefs.h <<_ACEOF
8008 #define HAVE_DECL_CURL_VERSION_NTLM_WB $ac_have_decl
8009 _ACEOF
8012 ac_config_headers="$ac_config_headers config.h"
8014 ac_config_files="$ac_config_files Makefile examples/Makefile"
8017 cat >confcache <<\_ACEOF
8018 # This file is a shell script that caches the results of configure
8019 # tests run on this system so they can be shared between configure
8020 # scripts and configure runs, see configure's option --config-cache.
8021 # It is not useful on other systems. If it contains results you don't
8022 # want to keep, you may remove or edit it.
8024 # config.status only pays attention to the cache file if you give it
8025 # the --recheck option to rerun configure.
8027 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8028 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8029 # following values.
8031 _ACEOF
8033 # The following way of writing the cache mishandles newlines in values,
8034 # but we know of no workaround that is simple, portable, and efficient.
8035 # So, we kill variables containing newlines.
8036 # Ultrix sh set writes to stderr and can't be redirected directly,
8037 # and sets the high bit in the cache file unless we assign to the vars.
8039 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8040 eval ac_val=\$$ac_var
8041 case $ac_val in #(
8042 *${as_nl}*)
8043 case $ac_var in #(
8044 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8045 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8046 esac
8047 case $ac_var in #(
8048 _ | IFS | as_nl) ;; #(
8049 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8050 *) { eval $ac_var=; unset $ac_var;} ;;
8051 esac ;;
8052 esac
8053 done
8055 (set) 2>&1 |
8056 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8057 *${as_nl}ac_space=\ *)
8058 # `set' does not quote correctly, so add quotes: double-quote
8059 # substitution turns \\\\ into \\, and sed turns \\ into \.
8060 sed -n \
8061 "s/'/'\\\\''/g;
8062 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8063 ;; #(
8065 # `set' quotes correctly as required by POSIX, so do not add quotes.
8066 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8068 esac |
8069 sort
8071 sed '
8072 /^ac_cv_env_/b end
8073 t clear
8074 :clear
8075 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8076 t end
8077 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8078 :end' >>confcache
8079 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8080 if test -w "$cache_file"; then
8081 if test "x$cache_file" != "x/dev/null"; then
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8083 $as_echo "$as_me: updating cache $cache_file" >&6;}
8084 if test ! -f "$cache_file" || test -h "$cache_file"; then
8085 cat confcache >"$cache_file"
8086 else
8087 case $cache_file in #(
8088 */* | ?:*)
8089 mv -f confcache "$cache_file"$$ &&
8090 mv -f "$cache_file"$$ "$cache_file" ;; #(
8092 mv -f confcache "$cache_file" ;;
8093 esac
8096 else
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8098 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8101 rm -f confcache
8103 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8104 # Let make expand exec_prefix.
8105 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8107 DEFS=-DHAVE_CONFIG_H
8109 ac_libobjs=
8110 ac_ltlibobjs=
8112 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8113 # 1. Remove the extension, and $U if already installed.
8114 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8115 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8116 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8117 # will be set to the directory where LIBOBJS objects are built.
8118 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8119 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8120 done
8121 LIBOBJS=$ac_libobjs
8123 LTLIBOBJS=$ac_ltlibobjs
8127 : "${CONFIG_STATUS=./config.status}"
8128 ac_write_fail=0
8129 ac_clean_files_save=$ac_clean_files
8130 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8132 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8133 as_write_fail=0
8134 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8135 #! $SHELL
8136 # Generated by $as_me.
8137 # Run this file to recreate the current configuration.
8138 # Compiler output produced by configure, useful for debugging
8139 # configure, is in config.log if it exists.
8141 debug=false
8142 ac_cs_recheck=false
8143 ac_cs_silent=false
8145 SHELL=\${CONFIG_SHELL-$SHELL}
8146 export SHELL
8147 _ASEOF
8148 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8149 ## -------------------- ##
8150 ## M4sh Initialization. ##
8151 ## -------------------- ##
8153 # Be more Bourne compatible
8154 DUALCASE=1; export DUALCASE # for MKS sh
8155 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8156 emulate sh
8157 NULLCMD=:
8158 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8159 # is contrary to our usage. Disable this feature.
8160 alias -g '${1+"$@"}'='"$@"'
8161 setopt NO_GLOB_SUBST
8162 else
8163 case `(set -o) 2>/dev/null` in #(
8164 *posix*) :
8165 set -o posix ;; #(
8166 *) :
8168 esac
8172 as_nl='
8174 export as_nl
8175 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8176 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8177 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8178 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8179 # Prefer a ksh shell builtin over an external printf program on Solaris,
8180 # but without wasting forks for bash or zsh.
8181 if test -z "$BASH_VERSION$ZSH_VERSION" \
8182 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8183 as_echo='print -r --'
8184 as_echo_n='print -rn --'
8185 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8186 as_echo='printf %s\n'
8187 as_echo_n='printf %s'
8188 else
8189 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8190 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8191 as_echo_n='/usr/ucb/echo -n'
8192 else
8193 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8194 as_echo_n_body='eval
8195 arg=$1;
8196 case $arg in #(
8197 *"$as_nl"*)
8198 expr "X$arg" : "X\\(.*\\)$as_nl";
8199 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8200 esac;
8201 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8203 export as_echo_n_body
8204 as_echo_n='sh -c $as_echo_n_body as_echo'
8206 export as_echo_body
8207 as_echo='sh -c $as_echo_body as_echo'
8210 # The user is always right.
8211 if test "${PATH_SEPARATOR+set}" != set; then
8212 PATH_SEPARATOR=:
8213 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8214 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8215 PATH_SEPARATOR=';'
8220 # IFS
8221 # We need space, tab and new line, in precisely that order. Quoting is
8222 # there to prevent editors from complaining about space-tab.
8223 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8224 # splitting by setting IFS to empty value.)
8225 IFS=" "" $as_nl"
8227 # Find who we are. Look in the path if we contain no directory separator.
8228 as_myself=
8229 case $0 in #((
8230 *[\\/]* ) as_myself=$0 ;;
8231 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8232 for as_dir in $PATH
8234 IFS=$as_save_IFS
8235 test -z "$as_dir" && as_dir=.
8236 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8237 done
8238 IFS=$as_save_IFS
8241 esac
8242 # We did not find ourselves, most probably we were run as `sh COMMAND'
8243 # in which case we are not to be found in the path.
8244 if test "x$as_myself" = x; then
8245 as_myself=$0
8247 if test ! -f "$as_myself"; then
8248 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8249 exit 1
8252 # Unset variables that we do not need and which cause bugs (e.g. in
8253 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8254 # suppresses any "Segmentation fault" message there. '((' could
8255 # trigger a bug in pdksh 5.2.14.
8256 for as_var in BASH_ENV ENV MAIL MAILPATH
8257 do eval test x\${$as_var+set} = xset \
8258 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8259 done
8260 PS1='$ '
8261 PS2='> '
8262 PS4='+ '
8264 # NLS nuisances.
8265 LC_ALL=C
8266 export LC_ALL
8267 LANGUAGE=C
8268 export LANGUAGE
8270 # CDPATH.
8271 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8274 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8275 # ----------------------------------------
8276 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8277 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8278 # script with STATUS, using 1 if that was 0.
8279 as_fn_error ()
8281 as_status=$1; test $as_status -eq 0 && as_status=1
8282 if test "$4"; then
8283 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8284 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8286 $as_echo "$as_me: error: $2" >&2
8287 as_fn_exit $as_status
8288 } # as_fn_error
8291 # as_fn_set_status STATUS
8292 # -----------------------
8293 # Set $? to STATUS, without forking.
8294 as_fn_set_status ()
8296 return $1
8297 } # as_fn_set_status
8299 # as_fn_exit STATUS
8300 # -----------------
8301 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8302 as_fn_exit ()
8304 set +e
8305 as_fn_set_status $1
8306 exit $1
8307 } # as_fn_exit
8309 # as_fn_unset VAR
8310 # ---------------
8311 # Portably unset VAR.
8312 as_fn_unset ()
8314 { eval $1=; unset $1;}
8316 as_unset=as_fn_unset
8317 # as_fn_append VAR VALUE
8318 # ----------------------
8319 # Append the text in VALUE to the end of the definition contained in VAR. Take
8320 # advantage of any shell optimizations that allow amortized linear growth over
8321 # repeated appends, instead of the typical quadratic growth present in naive
8322 # implementations.
8323 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8324 eval 'as_fn_append ()
8326 eval $1+=\$2
8328 else
8329 as_fn_append ()
8331 eval $1=\$$1\$2
8333 fi # as_fn_append
8335 # as_fn_arith ARG...
8336 # ------------------
8337 # Perform arithmetic evaluation on the ARGs, and store the result in the
8338 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8339 # must be portable across $(()) and expr.
8340 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8341 eval 'as_fn_arith ()
8343 as_val=$(( $* ))
8345 else
8346 as_fn_arith ()
8348 as_val=`expr "$@" || test $? -eq 1`
8350 fi # as_fn_arith
8353 if expr a : '\(a\)' >/dev/null 2>&1 &&
8354 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8355 as_expr=expr
8356 else
8357 as_expr=false
8360 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8361 as_basename=basename
8362 else
8363 as_basename=false
8366 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8367 as_dirname=dirname
8368 else
8369 as_dirname=false
8372 as_me=`$as_basename -- "$0" ||
8373 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8374 X"$0" : 'X\(//\)$' \| \
8375 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8376 $as_echo X/"$0" |
8377 sed '/^.*\/\([^/][^/]*\)\/*$/{
8378 s//\1/
8381 /^X\/\(\/\/\)$/{
8382 s//\1/
8385 /^X\/\(\/\).*/{
8386 s//\1/
8389 s/.*/./; q'`
8391 # Avoid depending upon Character Ranges.
8392 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8393 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8394 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8395 as_cr_digits='0123456789'
8396 as_cr_alnum=$as_cr_Letters$as_cr_digits
8398 ECHO_C= ECHO_N= ECHO_T=
8399 case `echo -n x` in #(((((
8400 -n*)
8401 case `echo 'xy\c'` in
8402 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8403 xy) ECHO_C='\c';;
8404 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8405 ECHO_T=' ';;
8406 esac;;
8408 ECHO_N='-n';;
8409 esac
8411 rm -f conf$$ conf$$.exe conf$$.file
8412 if test -d conf$$.dir; then
8413 rm -f conf$$.dir/conf$$.file
8414 else
8415 rm -f conf$$.dir
8416 mkdir conf$$.dir 2>/dev/null
8418 if (echo >conf$$.file) 2>/dev/null; then
8419 if ln -s conf$$.file conf$$ 2>/dev/null; then
8420 as_ln_s='ln -s'
8421 # ... but there are two gotchas:
8422 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8423 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8424 # In both cases, we have to default to `cp -pR'.
8425 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8426 as_ln_s='cp -pR'
8427 elif ln conf$$.file conf$$ 2>/dev/null; then
8428 as_ln_s=ln
8429 else
8430 as_ln_s='cp -pR'
8432 else
8433 as_ln_s='cp -pR'
8435 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8436 rmdir conf$$.dir 2>/dev/null
8439 # as_fn_mkdir_p
8440 # -------------
8441 # Create "$as_dir" as a directory, including parents if necessary.
8442 as_fn_mkdir_p ()
8445 case $as_dir in #(
8446 -*) as_dir=./$as_dir;;
8447 esac
8448 test -d "$as_dir" || eval $as_mkdir_p || {
8449 as_dirs=
8450 while :; do
8451 case $as_dir in #(
8452 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8453 *) as_qdir=$as_dir;;
8454 esac
8455 as_dirs="'$as_qdir' $as_dirs"
8456 as_dir=`$as_dirname -- "$as_dir" ||
8457 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8458 X"$as_dir" : 'X\(//\)[^/]' \| \
8459 X"$as_dir" : 'X\(//\)$' \| \
8460 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8461 $as_echo X"$as_dir" |
8462 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8463 s//\1/
8466 /^X\(\/\/\)[^/].*/{
8467 s//\1/
8470 /^X\(\/\/\)$/{
8471 s//\1/
8474 /^X\(\/\).*/{
8475 s//\1/
8478 s/.*/./; q'`
8479 test -d "$as_dir" && break
8480 done
8481 test -z "$as_dirs" || eval "mkdir $as_dirs"
8482 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8485 } # as_fn_mkdir_p
8486 if mkdir -p . 2>/dev/null; then
8487 as_mkdir_p='mkdir -p "$as_dir"'
8488 else
8489 test -d ./-p && rmdir ./-p
8490 as_mkdir_p=false
8494 # as_fn_executable_p FILE
8495 # -----------------------
8496 # Test if FILE is an executable regular file.
8497 as_fn_executable_p ()
8499 test -f "$1" && test -x "$1"
8500 } # as_fn_executable_p
8501 as_test_x='test -x'
8502 as_executable_p=as_fn_executable_p
8504 # Sed expression to map a string onto a valid CPP name.
8505 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8507 # Sed expression to map a string onto a valid variable name.
8508 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8511 exec 6>&1
8512 ## ----------------------------------- ##
8513 ## Main body of $CONFIG_STATUS script. ##
8514 ## ----------------------------------- ##
8515 _ASEOF
8516 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8519 # Save the log message, to keep $0 and so on meaningful, and to
8520 # report actual input values of CONFIG_FILES etc. instead of their
8521 # values after options handling.
8522 ac_log="
8523 This file was extended by ocurl $as_me 0.7.1, which was
8524 generated by GNU Autoconf 2.69. Invocation command line was
8526 CONFIG_FILES = $CONFIG_FILES
8527 CONFIG_HEADERS = $CONFIG_HEADERS
8528 CONFIG_LINKS = $CONFIG_LINKS
8529 CONFIG_COMMANDS = $CONFIG_COMMANDS
8530 $ $0 $@
8532 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8535 _ACEOF
8537 case $ac_config_files in *"
8538 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8539 esac
8541 case $ac_config_headers in *"
8542 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8543 esac
8546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8547 # Files that config.status was made for.
8548 config_files="$ac_config_files"
8549 config_headers="$ac_config_headers"
8551 _ACEOF
8553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8554 ac_cs_usage="\
8555 \`$as_me' instantiates files and other configuration actions
8556 from templates according to the current configuration. Unless the files
8557 and actions are specified as TAGs, all are instantiated by default.
8559 Usage: $0 [OPTION]... [TAG]...
8561 -h, --help print this help, then exit
8562 -V, --version print version number and configuration settings, then exit
8563 --config print configuration, then exit
8564 -q, --quiet, --silent
8565 do not print progress messages
8566 -d, --debug don't remove temporary files
8567 --recheck update $as_me by reconfiguring in the same conditions
8568 --file=FILE[:TEMPLATE]
8569 instantiate the configuration file FILE
8570 --header=FILE[:TEMPLATE]
8571 instantiate the configuration header FILE
8573 Configuration files:
8574 $config_files
8576 Configuration headers:
8577 $config_headers
8579 Report bugs to the package provider."
8581 _ACEOF
8582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8583 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8584 ac_cs_version="\\
8585 ocurl config.status 0.7.1
8586 configured by $0, generated by GNU Autoconf 2.69,
8587 with options \\"\$ac_cs_config\\"
8589 Copyright (C) 2012 Free Software Foundation, Inc.
8590 This config.status script is free software; the Free Software Foundation
8591 gives unlimited permission to copy, distribute and modify it."
8593 ac_pwd='$ac_pwd'
8594 srcdir='$srcdir'
8595 INSTALL='$INSTALL'
8596 test -n "\$AWK" || AWK=awk
8597 _ACEOF
8599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8600 # The default lists apply if the user does not specify any file.
8601 ac_need_defaults=:
8602 while test $# != 0
8604 case $1 in
8605 --*=?*)
8606 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8607 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8608 ac_shift=:
8610 --*=)
8611 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8612 ac_optarg=
8613 ac_shift=:
8616 ac_option=$1
8617 ac_optarg=$2
8618 ac_shift=shift
8620 esac
8622 case $ac_option in
8623 # Handling of the options.
8624 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8625 ac_cs_recheck=: ;;
8626 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8627 $as_echo "$ac_cs_version"; exit ;;
8628 --config | --confi | --conf | --con | --co | --c )
8629 $as_echo "$ac_cs_config"; exit ;;
8630 --debug | --debu | --deb | --de | --d | -d )
8631 debug=: ;;
8632 --file | --fil | --fi | --f )
8633 $ac_shift
8634 case $ac_optarg in
8635 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8636 '') as_fn_error $? "missing file argument" ;;
8637 esac
8638 as_fn_append CONFIG_FILES " '$ac_optarg'"
8639 ac_need_defaults=false;;
8640 --header | --heade | --head | --hea )
8641 $ac_shift
8642 case $ac_optarg in
8643 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8644 esac
8645 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8646 ac_need_defaults=false;;
8647 --he | --h)
8648 # Conflict between --help and --header
8649 as_fn_error $? "ambiguous option: \`$1'
8650 Try \`$0 --help' for more information.";;
8651 --help | --hel | -h )
8652 $as_echo "$ac_cs_usage"; exit ;;
8653 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8654 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8655 ac_cs_silent=: ;;
8657 # This is an error.
8658 -*) as_fn_error $? "unrecognized option: \`$1'
8659 Try \`$0 --help' for more information." ;;
8661 *) as_fn_append ac_config_targets " $1"
8662 ac_need_defaults=false ;;
8664 esac
8665 shift
8666 done
8668 ac_configure_extra_args=
8670 if $ac_cs_silent; then
8671 exec 6>/dev/null
8672 ac_configure_extra_args="$ac_configure_extra_args --silent"
8675 _ACEOF
8676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8677 if \$ac_cs_recheck; then
8678 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8679 shift
8680 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8681 CONFIG_SHELL='$SHELL'
8682 export CONFIG_SHELL
8683 exec "\$@"
8686 _ACEOF
8687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8688 exec 5>>config.log
8690 echo
8691 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8692 ## Running $as_me. ##
8693 _ASBOX
8694 $as_echo "$ac_log"
8695 } >&5
8697 _ACEOF
8698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8699 _ACEOF
8701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8703 # Handling of arguments.
8704 for ac_config_target in $ac_config_targets
8706 case $ac_config_target in
8707 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8708 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8709 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
8711 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8712 esac
8713 done
8716 # If the user did not use the arguments to specify the items to instantiate,
8717 # then the envvar interface is used. Set only those that are not.
8718 # We use the long form for the default assignment because of an extremely
8719 # bizarre bug on SunOS 4.1.3.
8720 if $ac_need_defaults; then
8721 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8722 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8725 # Have a temporary directory for convenience. Make it in the build tree
8726 # simply because there is no reason against having it here, and in addition,
8727 # creating and moving files from /tmp can sometimes cause problems.
8728 # Hook for its removal unless debugging.
8729 # Note that there is a small window in which the directory will not be cleaned:
8730 # after its creation but before its name has been assigned to `$tmp'.
8731 $debug ||
8733 tmp= ac_tmp=
8734 trap 'exit_status=$?
8735 : "${ac_tmp:=$tmp}"
8736 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8738 trap 'as_fn_exit 1' 1 2 13 15
8740 # Create a (secure) tmp directory for tmp files.
8743 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8744 test -d "$tmp"
8745 } ||
8747 tmp=./conf$$-$RANDOM
8748 (umask 077 && mkdir "$tmp")
8749 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8750 ac_tmp=$tmp
8752 # Set up the scripts for CONFIG_FILES section.
8753 # No need to generate them if there are no CONFIG_FILES.
8754 # This happens for instance with `./config.status config.h'.
8755 if test -n "$CONFIG_FILES"; then
8758 ac_cr=`echo X | tr X '\015'`
8759 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8760 # But we know of no other shell where ac_cr would be empty at this
8761 # point, so we can use a bashism as a fallback.
8762 if test "x$ac_cr" = x; then
8763 eval ac_cr=\$\'\\r\'
8765 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8766 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8767 ac_cs_awk_cr='\\r'
8768 else
8769 ac_cs_awk_cr=$ac_cr
8772 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8773 _ACEOF
8777 echo "cat >conf$$subs.awk <<_ACEOF" &&
8778 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8779 echo "_ACEOF"
8780 } >conf$$subs.sh ||
8781 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8782 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8783 ac_delim='%!_!# '
8784 for ac_last_try in false false false false false :; do
8785 . ./conf$$subs.sh ||
8786 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8788 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8789 if test $ac_delim_n = $ac_delim_num; then
8790 break
8791 elif $ac_last_try; then
8792 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8793 else
8794 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8796 done
8797 rm -f conf$$subs.sh
8799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8800 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8801 _ACEOF
8802 sed -n '
8804 s/^/S["/; s/!.*/"]=/
8807 s/^[^!]*!//
8808 :repl
8809 t repl
8810 s/'"$ac_delim"'$//
8811 t delim
8814 s/\(.\{148\}\)..*/\1/
8815 t more1
8816 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8819 b repl
8820 :more1
8821 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8824 s/.\{148\}//
8825 t nl
8826 :delim
8828 s/\(.\{148\}\)..*/\1/
8829 t more2
8830 s/["\\]/\\&/g; s/^/"/; s/$/"/
8833 :more2
8834 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8837 s/.\{148\}//
8838 t delim
8839 ' <conf$$subs.awk | sed '
8840 /^[^""]/{
8842 s/\n//
8844 ' >>$CONFIG_STATUS || ac_write_fail=1
8845 rm -f conf$$subs.awk
8846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8847 _ACAWK
8848 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8849 for (key in S) S_is_set[key] = 1
8850 FS = "\a"
8854 line = $ 0
8855 nfields = split(line, field, "@")
8856 substed = 0
8857 len = length(field[1])
8858 for (i = 2; i < nfields; i++) {
8859 key = field[i]
8860 keylen = length(key)
8861 if (S_is_set[key]) {
8862 value = S[key]
8863 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8864 len += length(value) + length(field[++i])
8865 substed = 1
8866 } else
8867 len += 1 + keylen
8870 print line
8873 _ACAWK
8874 _ACEOF
8875 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8876 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8877 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8878 else
8880 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8881 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8882 _ACEOF
8884 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8885 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8886 # trailing colons and then remove the whole line if VPATH becomes empty
8887 # (actually we leave an empty line to preserve line numbers).
8888 if test "x$srcdir" = x.; then
8889 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8891 s///
8892 s/^/:/
8893 s/[ ]*$/:/
8894 s/:\$(srcdir):/:/g
8895 s/:\${srcdir}:/:/g
8896 s/:@srcdir@:/:/g
8897 s/^:*//
8898 s/:*$//
8900 s/\(=[ ]*\).*/\1/
8902 s/\n//
8903 s/^[^=]*=[ ]*$//
8907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8908 fi # test -n "$CONFIG_FILES"
8910 # Set up the scripts for CONFIG_HEADERS section.
8911 # No need to generate them if there are no CONFIG_HEADERS.
8912 # This happens for instance with `./config.status Makefile'.
8913 if test -n "$CONFIG_HEADERS"; then
8914 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
8915 BEGIN {
8916 _ACEOF
8918 # Transform confdefs.h into an awk script `defines.awk', embedded as
8919 # here-document in config.status, that substitutes the proper values into
8920 # config.h.in to produce config.h.
8922 # Create a delimiter string that does not exist in confdefs.h, to ease
8923 # handling of long lines.
8924 ac_delim='%!_!# '
8925 for ac_last_try in false false :; do
8926 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
8927 if test -z "$ac_tt"; then
8928 break
8929 elif $ac_last_try; then
8930 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8931 else
8932 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8934 done
8936 # For the awk script, D is an array of macro values keyed by name,
8937 # likewise P contains macro parameters if any. Preserve backslash
8938 # newline sequences.
8940 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8941 sed -n '
8942 s/.\{148\}/&'"$ac_delim"'/g
8943 t rset
8944 :rset
8945 s/^[ ]*#[ ]*define[ ][ ]*/ /
8946 t def
8948 :def
8949 s/\\$//
8950 t bsnl
8951 s/["\\]/\\&/g
8952 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8953 D["\1"]=" \3"/p
8954 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8956 :bsnl
8957 s/["\\]/\\&/g
8958 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8959 D["\1"]=" \3\\\\\\n"\\/p
8960 t cont
8961 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8962 t cont
8964 :cont
8966 s/.\{148\}/&'"$ac_delim"'/g
8967 t clear
8968 :clear
8969 s/\\$//
8970 t bsnlc
8971 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8973 :bsnlc
8974 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8975 b cont
8976 ' <confdefs.h | sed '
8977 s/'"$ac_delim"'/"\\\
8978 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8981 for (key in D) D_is_set[key] = 1
8982 FS = "\a"
8984 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8985 line = \$ 0
8986 split(line, arg, " ")
8987 if (arg[1] == "#") {
8988 defundef = arg[2]
8989 mac1 = arg[3]
8990 } else {
8991 defundef = substr(arg[1], 2)
8992 mac1 = arg[2]
8994 split(mac1, mac2, "(") #)
8995 macro = mac2[1]
8996 prefix = substr(line, 1, index(line, defundef) - 1)
8997 if (D_is_set[macro]) {
8998 # Preserve the white space surrounding the "#".
8999 print prefix "define", macro P[macro] D[macro]
9000 next
9001 } else {
9002 # Replace #undef with comments. This is necessary, for example,
9003 # in the case of _POSIX_SOURCE, which is predefined and required
9004 # on some systems where configure will not decide to define it.
9005 if (defundef == "undef") {
9006 print "/*", prefix defundef, macro, "*/"
9007 next
9011 { print }
9012 _ACAWK
9013 _ACEOF
9014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9015 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
9016 fi # test -n "$CONFIG_HEADERS"
9019 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
9020 shift
9021 for ac_tag
9023 case $ac_tag in
9024 :[FHLC]) ac_mode=$ac_tag; continue;;
9025 esac
9026 case $ac_mode$ac_tag in
9027 :[FHL]*:*);;
9028 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9029 :[FH]-) ac_tag=-:-;;
9030 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9031 esac
9032 ac_save_IFS=$IFS
9033 IFS=:
9034 set x $ac_tag
9035 IFS=$ac_save_IFS
9036 shift
9037 ac_file=$1
9038 shift
9040 case $ac_mode in
9041 :L) ac_source=$1;;
9042 :[FH])
9043 ac_file_inputs=
9044 for ac_f
9046 case $ac_f in
9047 -) ac_f="$ac_tmp/stdin";;
9048 *) # Look for the file first in the build tree, then in the source tree
9049 # (if the path is not absolute). The absolute path cannot be DOS-style,
9050 # because $ac_f cannot contain `:'.
9051 test -f "$ac_f" ||
9052 case $ac_f in
9053 [\\/$]*) false;;
9054 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9055 esac ||
9056 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9057 esac
9058 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9059 as_fn_append ac_file_inputs " '$ac_f'"
9060 done
9062 # Let's still pretend it is `configure' which instantiates (i.e., don't
9063 # use $as_me), people would be surprised to read:
9064 # /* config.h. Generated by config.status. */
9065 configure_input='Generated from '`
9066 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9067 `' by configure.'
9068 if test x"$ac_file" != x-; then
9069 configure_input="$ac_file. $configure_input"
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9071 $as_echo "$as_me: creating $ac_file" >&6;}
9073 # Neutralize special characters interpreted by sed in replacement strings.
9074 case $configure_input in #(
9075 *\&* | *\|* | *\\* )
9076 ac_sed_conf_input=`$as_echo "$configure_input" |
9077 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9078 *) ac_sed_conf_input=$configure_input;;
9079 esac
9081 case $ac_tag in
9082 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9083 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9084 esac
9086 esac
9088 ac_dir=`$as_dirname -- "$ac_file" ||
9089 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9090 X"$ac_file" : 'X\(//\)[^/]' \| \
9091 X"$ac_file" : 'X\(//\)$' \| \
9092 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9093 $as_echo X"$ac_file" |
9094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9095 s//\1/
9098 /^X\(\/\/\)[^/].*/{
9099 s//\1/
9102 /^X\(\/\/\)$/{
9103 s//\1/
9106 /^X\(\/\).*/{
9107 s//\1/
9110 s/.*/./; q'`
9111 as_dir="$ac_dir"; as_fn_mkdir_p
9112 ac_builddir=.
9114 case "$ac_dir" in
9115 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9117 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9118 # A ".." for each directory in $ac_dir_suffix.
9119 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9120 case $ac_top_builddir_sub in
9121 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9122 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9123 esac ;;
9124 esac
9125 ac_abs_top_builddir=$ac_pwd
9126 ac_abs_builddir=$ac_pwd$ac_dir_suffix
9127 # for backward compatibility:
9128 ac_top_builddir=$ac_top_build_prefix
9130 case $srcdir in
9131 .) # We are building in place.
9132 ac_srcdir=.
9133 ac_top_srcdir=$ac_top_builddir_sub
9134 ac_abs_top_srcdir=$ac_pwd ;;
9135 [\\/]* | ?:[\\/]* ) # Absolute name.
9136 ac_srcdir=$srcdir$ac_dir_suffix;
9137 ac_top_srcdir=$srcdir
9138 ac_abs_top_srcdir=$srcdir ;;
9139 *) # Relative name.
9140 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9141 ac_top_srcdir=$ac_top_build_prefix$srcdir
9142 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9143 esac
9144 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9147 case $ac_mode in
9150 # CONFIG_FILE
9153 case $INSTALL in
9154 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9155 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9156 esac
9157 _ACEOF
9159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9160 # If the template does not know about datarootdir, expand it.
9161 # FIXME: This hack should be removed a few years after 2.60.
9162 ac_datarootdir_hack=; ac_datarootdir_seen=
9163 ac_sed_dataroot='
9164 /datarootdir/ {
9168 /@datadir@/p
9169 /@docdir@/p
9170 /@infodir@/p
9171 /@localedir@/p
9172 /@mandir@/p'
9173 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9174 *datarootdir*) ac_datarootdir_seen=yes;;
9175 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9177 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9178 _ACEOF
9179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9180 ac_datarootdir_hack='
9181 s&@datadir@&$datadir&g
9182 s&@docdir@&$docdir&g
9183 s&@infodir@&$infodir&g
9184 s&@localedir@&$localedir&g
9185 s&@mandir@&$mandir&g
9186 s&\\\${datarootdir}&$datarootdir&g' ;;
9187 esac
9188 _ACEOF
9190 # Neutralize VPATH when `$srcdir' = `.'.
9191 # Shell code in configure.ac might set extrasub.
9192 # FIXME: do we really want to maintain this feature?
9193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9194 ac_sed_extra="$ac_vpsub
9195 $extrasub
9196 _ACEOF
9197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9199 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9200 s|@configure_input@|$ac_sed_conf_input|;t t
9201 s&@top_builddir@&$ac_top_builddir_sub&;t t
9202 s&@top_build_prefix@&$ac_top_build_prefix&;t t
9203 s&@srcdir@&$ac_srcdir&;t t
9204 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9205 s&@top_srcdir@&$ac_top_srcdir&;t t
9206 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9207 s&@builddir@&$ac_builddir&;t t
9208 s&@abs_builddir@&$ac_abs_builddir&;t t
9209 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9210 s&@INSTALL@&$ac_INSTALL&;t t
9211 $ac_datarootdir_hack
9213 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9214 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9216 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9217 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9218 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9219 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9221 which seems to be undefined. Please make sure it is defined" >&5
9222 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9223 which seems to be undefined. Please make sure it is defined" >&2;}
9225 rm -f "$ac_tmp/stdin"
9226 case $ac_file in
9227 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9228 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9229 esac \
9230 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9234 # CONFIG_HEADER
9236 if test x"$ac_file" != x-; then
9238 $as_echo "/* $configure_input */" \
9239 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9240 } >"$ac_tmp/config.h" \
9241 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9242 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9244 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9245 else
9246 rm -f "$ac_file"
9247 mv "$ac_tmp/config.h" "$ac_file" \
9248 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9250 else
9251 $as_echo "/* $configure_input */" \
9252 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9253 || as_fn_error $? "could not create -" "$LINENO" 5
9258 esac
9260 done # for ac_tag
9263 as_fn_exit 0
9264 _ACEOF
9265 ac_clean_files=$ac_clean_files_save
9267 test $ac_write_fail = 0 ||
9268 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9271 # configure is writing to config.log, and then calls config.status.
9272 # config.status does its own redirection, appending to config.log.
9273 # Unfortunately, on DOS this fails, as config.log is still kept open
9274 # by configure, so config.status won't be able to write to it; its
9275 # output is simply discarded. So we exec the FD to /dev/null,
9276 # effectively closing config.log, so it can be properly (re)opened and
9277 # appended to by config.status. When coming back to configure, we
9278 # need to make the FD available again.
9279 if test "$no_create" != yes; then
9280 ac_cs_success=:
9281 ac_config_status_args=
9282 test "$silent" = yes &&
9283 ac_config_status_args="$ac_config_status_args --quiet"
9284 exec 5>/dev/null
9285 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9286 exec 5>>config.log
9287 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9288 # would make configure fail if this is the last instruction.
9289 $ac_cs_success || as_fn_exit 1
9291 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9293 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}