release 0.7.4
[ocurl.git] / configure
blob21069c5f9403420a0f0d4bfbf8e5b69a10dc2251
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ocurl 0.7.4.
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.4'
581 PACKAGE_STRING='ocurl 0.7.4'
582 PACKAGE_BUGREPORT=''
583 PACKAGE_URL=''
585 # Factoring default headers for most tests.
586 ac_includes_default="\
587 #include <stdio.h>
588 #ifdef HAVE_SYS_TYPES_H
589 # include <sys/types.h>
590 #endif
591 #ifdef HAVE_SYS_STAT_H
592 # include <sys/stat.h>
593 #endif
594 #ifdef STDC_HEADERS
595 # include <stdlib.h>
596 # include <stddef.h>
597 #else
598 # ifdef HAVE_STDLIB_H
599 # include <stdlib.h>
600 # endif
601 #endif
602 #ifdef HAVE_STRING_H
603 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
604 # include <memory.h>
605 # endif
606 # include <string.h>
607 #endif
608 #ifdef HAVE_STRINGS_H
609 # include <strings.h>
610 #endif
611 #ifdef HAVE_INTTYPES_H
612 # include <inttypes.h>
613 #endif
614 #ifdef HAVE_STDINT_H
615 # include <stdint.h>
616 #endif
617 #ifdef HAVE_UNISTD_H
618 # include <unistd.h>
619 #endif"
621 ac_subst_vars='LTLIBOBJS
622 LIBOBJS
623 EGREP
624 GREP
626 EXT_OBJ
627 EXT_LIB
628 EXT_DLL
629 INSTALLDIR
630 CURLLIBS
631 ac_prefix_program
632 OCAML_PKG_lwt
633 OCAMLFIND
634 OCAMLBUILD
635 OCAMLDOC
636 OCAMLMKLIB
637 OCAMLMKTOP
638 OCAMLDEP
639 OCAML
640 OCAMLOPTDOTOPT
641 OCAMLCDOTOPT
642 OCAMLBEST
643 OCAMLOPT
644 OCAMLLIB
645 OCAMLVERSION
646 OCAMLC
647 INSTALL_DATA
648 INSTALL_SCRIPT
649 INSTALL_PROGRAM
650 OBJEXT
651 EXEEXT
652 ac_ct_CC
653 CPPFLAGS
654 LDFLAGS
655 CFLAGS
657 target_alias
658 host_alias
659 build_alias
660 LIBS
661 ECHO_T
662 ECHO_N
663 ECHO_C
664 DEFS
665 mandir
666 localedir
667 libdir
668 psdir
669 pdfdir
670 dvidir
671 htmldir
672 infodir
673 docdir
674 oldincludedir
675 includedir
676 localstatedir
677 sharedstatedir
678 sysconfdir
679 datadir
680 datarootdir
681 libexecdir
682 sbindir
683 bindir
684 program_transform_name
685 prefix
686 exec_prefix
687 PACKAGE_URL
688 PACKAGE_BUGREPORT
689 PACKAGE_STRING
690 PACKAGE_VERSION
691 PACKAGE_TARNAME
692 PACKAGE_NAME
693 PATH_SEPARATOR
694 SHELL'
695 ac_subst_files=''
696 ac_user_opts='
697 enable_option_checking
699 ac_precious_vars='build_alias
700 host_alias
701 target_alias
703 CFLAGS
704 LDFLAGS
705 LIBS
706 CPPFLAGS
707 CPP'
710 # Initialize some variables set by options.
711 ac_init_help=
712 ac_init_version=false
713 ac_unrecognized_opts=
714 ac_unrecognized_sep=
715 # The variables have the same names as the options, with
716 # dashes changed to underlines.
717 cache_file=/dev/null
718 exec_prefix=NONE
719 no_create=
720 no_recursion=
721 prefix=NONE
722 program_prefix=NONE
723 program_suffix=NONE
724 program_transform_name=s,x,x,
725 silent=
726 site=
727 srcdir=
728 verbose=
729 x_includes=NONE
730 x_libraries=NONE
732 # Installation directory options.
733 # These are left unexpanded so users can "make install exec_prefix=/foo"
734 # and all the variables that are supposed to be based on exec_prefix
735 # by default will actually change.
736 # Use braces instead of parens because sh, perl, etc. also accept them.
737 # (The list follows the same order as the GNU Coding Standards.)
738 bindir='${exec_prefix}/bin'
739 sbindir='${exec_prefix}/sbin'
740 libexecdir='${exec_prefix}/libexec'
741 datarootdir='${prefix}/share'
742 datadir='${datarootdir}'
743 sysconfdir='${prefix}/etc'
744 sharedstatedir='${prefix}/com'
745 localstatedir='${prefix}/var'
746 includedir='${prefix}/include'
747 oldincludedir='/usr/include'
748 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
749 infodir='${datarootdir}/info'
750 htmldir='${docdir}'
751 dvidir='${docdir}'
752 pdfdir='${docdir}'
753 psdir='${docdir}'
754 libdir='${exec_prefix}/lib'
755 localedir='${datarootdir}/locale'
756 mandir='${datarootdir}/man'
758 ac_prev=
759 ac_dashdash=
760 for ac_option
762 # If the previous option needs an argument, assign it.
763 if test -n "$ac_prev"; then
764 eval $ac_prev=\$ac_option
765 ac_prev=
766 continue
769 case $ac_option in
770 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
771 *=) ac_optarg= ;;
772 *) ac_optarg=yes ;;
773 esac
775 # Accept the important Cygnus configure options, so we can diagnose typos.
777 case $ac_dashdash$ac_option in
779 ac_dashdash=yes ;;
781 -bindir | --bindir | --bindi | --bind | --bin | --bi)
782 ac_prev=bindir ;;
783 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
784 bindir=$ac_optarg ;;
786 -build | --build | --buil | --bui | --bu)
787 ac_prev=build_alias ;;
788 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
789 build_alias=$ac_optarg ;;
791 -cache-file | --cache-file | --cache-fil | --cache-fi \
792 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
793 ac_prev=cache_file ;;
794 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
795 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
796 cache_file=$ac_optarg ;;
798 --config-cache | -C)
799 cache_file=config.cache ;;
801 -datadir | --datadir | --datadi | --datad)
802 ac_prev=datadir ;;
803 -datadir=* | --datadir=* | --datadi=* | --datad=*)
804 datadir=$ac_optarg ;;
806 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
807 | --dataroo | --dataro | --datar)
808 ac_prev=datarootdir ;;
809 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
810 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
811 datarootdir=$ac_optarg ;;
813 -disable-* | --disable-*)
814 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
815 # Reject names that are not valid shell variable names.
816 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
817 as_fn_error $? "invalid feature name: $ac_useropt"
818 ac_useropt_orig=$ac_useropt
819 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
820 case $ac_user_opts in
822 "enable_$ac_useropt"
823 "*) ;;
824 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
825 ac_unrecognized_sep=', ';;
826 esac
827 eval enable_$ac_useropt=no ;;
829 -docdir | --docdir | --docdi | --doc | --do)
830 ac_prev=docdir ;;
831 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
832 docdir=$ac_optarg ;;
834 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
835 ac_prev=dvidir ;;
836 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
837 dvidir=$ac_optarg ;;
839 -enable-* | --enable-*)
840 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
841 # Reject names that are not valid shell variable names.
842 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
843 as_fn_error $? "invalid feature name: $ac_useropt"
844 ac_useropt_orig=$ac_useropt
845 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
846 case $ac_user_opts in
848 "enable_$ac_useropt"
849 "*) ;;
850 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
851 ac_unrecognized_sep=', ';;
852 esac
853 eval enable_$ac_useropt=\$ac_optarg ;;
855 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
856 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
857 | --exec | --exe | --ex)
858 ac_prev=exec_prefix ;;
859 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
860 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
861 | --exec=* | --exe=* | --ex=*)
862 exec_prefix=$ac_optarg ;;
864 -gas | --gas | --ga | --g)
865 # Obsolete; use --with-gas.
866 with_gas=yes ;;
868 -help | --help | --hel | --he | -h)
869 ac_init_help=long ;;
870 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
871 ac_init_help=recursive ;;
872 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
873 ac_init_help=short ;;
875 -host | --host | --hos | --ho)
876 ac_prev=host_alias ;;
877 -host=* | --host=* | --hos=* | --ho=*)
878 host_alias=$ac_optarg ;;
880 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
881 ac_prev=htmldir ;;
882 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
883 | --ht=*)
884 htmldir=$ac_optarg ;;
886 -includedir | --includedir | --includedi | --included | --include \
887 | --includ | --inclu | --incl | --inc)
888 ac_prev=includedir ;;
889 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
890 | --includ=* | --inclu=* | --incl=* | --inc=*)
891 includedir=$ac_optarg ;;
893 -infodir | --infodir | --infodi | --infod | --info | --inf)
894 ac_prev=infodir ;;
895 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
896 infodir=$ac_optarg ;;
898 -libdir | --libdir | --libdi | --libd)
899 ac_prev=libdir ;;
900 -libdir=* | --libdir=* | --libdi=* | --libd=*)
901 libdir=$ac_optarg ;;
903 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
904 | --libexe | --libex | --libe)
905 ac_prev=libexecdir ;;
906 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
907 | --libexe=* | --libex=* | --libe=*)
908 libexecdir=$ac_optarg ;;
910 -localedir | --localedir | --localedi | --localed | --locale)
911 ac_prev=localedir ;;
912 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
913 localedir=$ac_optarg ;;
915 -localstatedir | --localstatedir | --localstatedi | --localstated \
916 | --localstate | --localstat | --localsta | --localst | --locals)
917 ac_prev=localstatedir ;;
918 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
919 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
920 localstatedir=$ac_optarg ;;
922 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
923 ac_prev=mandir ;;
924 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
925 mandir=$ac_optarg ;;
927 -nfp | --nfp | --nf)
928 # Obsolete; use --without-fp.
929 with_fp=no ;;
931 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
932 | --no-cr | --no-c | -n)
933 no_create=yes ;;
935 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
936 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
937 no_recursion=yes ;;
939 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
940 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
941 | --oldin | --oldi | --old | --ol | --o)
942 ac_prev=oldincludedir ;;
943 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
944 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
945 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
946 oldincludedir=$ac_optarg ;;
948 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
949 ac_prev=prefix ;;
950 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
951 prefix=$ac_optarg ;;
953 -program-prefix | --program-prefix | --program-prefi | --program-pref \
954 | --program-pre | --program-pr | --program-p)
955 ac_prev=program_prefix ;;
956 -program-prefix=* | --program-prefix=* | --program-prefi=* \
957 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
958 program_prefix=$ac_optarg ;;
960 -program-suffix | --program-suffix | --program-suffi | --program-suff \
961 | --program-suf | --program-su | --program-s)
962 ac_prev=program_suffix ;;
963 -program-suffix=* | --program-suffix=* | --program-suffi=* \
964 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
965 program_suffix=$ac_optarg ;;
967 -program-transform-name | --program-transform-name \
968 | --program-transform-nam | --program-transform-na \
969 | --program-transform-n | --program-transform- \
970 | --program-transform | --program-transfor \
971 | --program-transfo | --program-transf \
972 | --program-trans | --program-tran \
973 | --progr-tra | --program-tr | --program-t)
974 ac_prev=program_transform_name ;;
975 -program-transform-name=* | --program-transform-name=* \
976 | --program-transform-nam=* | --program-transform-na=* \
977 | --program-transform-n=* | --program-transform-=* \
978 | --program-transform=* | --program-transfor=* \
979 | --program-transfo=* | --program-transf=* \
980 | --program-trans=* | --program-tran=* \
981 | --progr-tra=* | --program-tr=* | --program-t=*)
982 program_transform_name=$ac_optarg ;;
984 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
985 ac_prev=pdfdir ;;
986 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
987 pdfdir=$ac_optarg ;;
989 -psdir | --psdir | --psdi | --psd | --ps)
990 ac_prev=psdir ;;
991 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
992 psdir=$ac_optarg ;;
994 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
995 | -silent | --silent | --silen | --sile | --sil)
996 silent=yes ;;
998 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
999 ac_prev=sbindir ;;
1000 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1001 | --sbi=* | --sb=*)
1002 sbindir=$ac_optarg ;;
1004 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1005 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1006 | --sharedst | --shareds | --shared | --share | --shar \
1007 | --sha | --sh)
1008 ac_prev=sharedstatedir ;;
1009 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1010 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1011 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1012 | --sha=* | --sh=*)
1013 sharedstatedir=$ac_optarg ;;
1015 -site | --site | --sit)
1016 ac_prev=site ;;
1017 -site=* | --site=* | --sit=*)
1018 site=$ac_optarg ;;
1020 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1021 ac_prev=srcdir ;;
1022 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1023 srcdir=$ac_optarg ;;
1025 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1026 | --syscon | --sysco | --sysc | --sys | --sy)
1027 ac_prev=sysconfdir ;;
1028 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1029 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1030 sysconfdir=$ac_optarg ;;
1032 -target | --target | --targe | --targ | --tar | --ta | --t)
1033 ac_prev=target_alias ;;
1034 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1035 target_alias=$ac_optarg ;;
1037 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1038 verbose=yes ;;
1040 -version | --version | --versio | --versi | --vers | -V)
1041 ac_init_version=: ;;
1043 -with-* | --with-*)
1044 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1045 # Reject names that are not valid shell variable names.
1046 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1047 as_fn_error $? "invalid package name: $ac_useropt"
1048 ac_useropt_orig=$ac_useropt
1049 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1050 case $ac_user_opts in
1052 "with_$ac_useropt"
1053 "*) ;;
1054 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1055 ac_unrecognized_sep=', ';;
1056 esac
1057 eval with_$ac_useropt=\$ac_optarg ;;
1059 -without-* | --without-*)
1060 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1061 # Reject names that are not valid shell variable names.
1062 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1063 as_fn_error $? "invalid package name: $ac_useropt"
1064 ac_useropt_orig=$ac_useropt
1065 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1066 case $ac_user_opts in
1068 "with_$ac_useropt"
1069 "*) ;;
1070 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1071 ac_unrecognized_sep=', ';;
1072 esac
1073 eval with_$ac_useropt=no ;;
1075 --x)
1076 # Obsolete; use --with-x.
1077 with_x=yes ;;
1079 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1080 | --x-incl | --x-inc | --x-in | --x-i)
1081 ac_prev=x_includes ;;
1082 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1083 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1084 x_includes=$ac_optarg ;;
1086 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1087 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1088 ac_prev=x_libraries ;;
1089 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1090 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1091 x_libraries=$ac_optarg ;;
1093 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1094 Try \`$0 --help' for more information"
1097 *=*)
1098 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1099 # Reject names that are not valid shell variable names.
1100 case $ac_envvar in #(
1101 '' | [0-9]* | *[!_$as_cr_alnum]* )
1102 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1103 esac
1104 eval $ac_envvar=\$ac_optarg
1105 export $ac_envvar ;;
1108 # FIXME: should be removed in autoconf 3.0.
1109 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1110 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1111 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1112 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1115 esac
1116 done
1118 if test -n "$ac_prev"; then
1119 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1120 as_fn_error $? "missing argument to $ac_option"
1123 if test -n "$ac_unrecognized_opts"; then
1124 case $enable_option_checking in
1125 no) ;;
1126 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1127 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1128 esac
1131 # Check all directory arguments for consistency.
1132 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1133 datadir sysconfdir sharedstatedir localstatedir includedir \
1134 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1135 libdir localedir mandir
1137 eval ac_val=\$$ac_var
1138 # Remove trailing slashes.
1139 case $ac_val in
1140 */ )
1141 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1142 eval $ac_var=\$ac_val;;
1143 esac
1144 # Be sure to have absolute directory names.
1145 case $ac_val in
1146 [\\/$]* | ?:[\\/]* ) continue;;
1147 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1148 esac
1149 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1150 done
1152 # There might be people who depend on the old broken behavior: `$host'
1153 # used to hold the argument of --host etc.
1154 # FIXME: To remove some day.
1155 build=$build_alias
1156 host=$host_alias
1157 target=$target_alias
1159 # FIXME: To remove some day.
1160 if test "x$host_alias" != x; then
1161 if test "x$build_alias" = x; then
1162 cross_compiling=maybe
1163 elif test "x$build_alias" != "x$host_alias"; then
1164 cross_compiling=yes
1168 ac_tool_prefix=
1169 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1171 test "$silent" = yes && exec 6>/dev/null
1174 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1175 ac_ls_di=`ls -di .` &&
1176 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1177 as_fn_error $? "working directory cannot be determined"
1178 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1179 as_fn_error $? "pwd does not report name of working directory"
1182 # Find the source files, if location was not specified.
1183 if test -z "$srcdir"; then
1184 ac_srcdir_defaulted=yes
1185 # Try the directory containing this script, then the parent directory.
1186 ac_confdir=`$as_dirname -- "$as_myself" ||
1187 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1188 X"$as_myself" : 'X\(//\)[^/]' \| \
1189 X"$as_myself" : 'X\(//\)$' \| \
1190 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1191 $as_echo X"$as_myself" |
1192 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1193 s//\1/
1196 /^X\(\/\/\)[^/].*/{
1197 s//\1/
1200 /^X\(\/\/\)$/{
1201 s//\1/
1204 /^X\(\/\).*/{
1205 s//\1/
1208 s/.*/./; q'`
1209 srcdir=$ac_confdir
1210 if test ! -r "$srcdir/$ac_unique_file"; then
1211 srcdir=..
1213 else
1214 ac_srcdir_defaulted=no
1216 if test ! -r "$srcdir/$ac_unique_file"; then
1217 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1218 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1220 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1221 ac_abs_confdir=`(
1222 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1223 pwd)`
1224 # When building in place, set srcdir=.
1225 if test "$ac_abs_confdir" = "$ac_pwd"; then
1226 srcdir=.
1228 # Remove unnecessary trailing slashes from srcdir.
1229 # Double slashes in file names in object file debugging info
1230 # mess up M-x gdb in Emacs.
1231 case $srcdir in
1232 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1233 esac
1234 for ac_var in $ac_precious_vars; do
1235 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1236 eval ac_env_${ac_var}_value=\$${ac_var}
1237 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1238 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1239 done
1242 # Report the --help message.
1244 if test "$ac_init_help" = "long"; then
1245 # Omit some internal or obsolete options to make the list less imposing.
1246 # This message is too long to be a string in the A/UX 3.1 sh.
1247 cat <<_ACEOF
1248 \`configure' configures ocurl 0.7.4 to adapt to many kinds of systems.
1250 Usage: $0 [OPTION]... [VAR=VALUE]...
1252 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1253 VAR=VALUE. See below for descriptions of some of the useful variables.
1255 Defaults for the options are specified in brackets.
1257 Configuration:
1258 -h, --help display this help and exit
1259 --help=short display options specific to this package
1260 --help=recursive display the short help of all the included packages
1261 -V, --version display version information and exit
1262 -q, --quiet, --silent do not print \`checking ...' messages
1263 --cache-file=FILE cache test results in FILE [disabled]
1264 -C, --config-cache alias for \`--cache-file=config.cache'
1265 -n, --no-create do not create output files
1266 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1268 Installation directories:
1269 --prefix=PREFIX install architecture-independent files in PREFIX
1270 [$ac_default_prefix]
1271 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1272 [PREFIX]
1274 By default, \`make install' will install all the files in
1275 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1276 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1277 for instance \`--prefix=\$HOME'.
1279 For better control, use the options below.
1281 Fine tuning of the installation directories:
1282 --bindir=DIR user executables [EPREFIX/bin]
1283 --sbindir=DIR system admin executables [EPREFIX/sbin]
1284 --libexecdir=DIR program executables [EPREFIX/libexec]
1285 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1286 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1287 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1288 --libdir=DIR object code libraries [EPREFIX/lib]
1289 --includedir=DIR C header files [PREFIX/include]
1290 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1291 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1292 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1293 --infodir=DIR info documentation [DATAROOTDIR/info]
1294 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1295 --mandir=DIR man documentation [DATAROOTDIR/man]
1296 --docdir=DIR documentation root [DATAROOTDIR/doc/ocurl]
1297 --htmldir=DIR html documentation [DOCDIR]
1298 --dvidir=DIR dvi documentation [DOCDIR]
1299 --pdfdir=DIR pdf documentation [DOCDIR]
1300 --psdir=DIR ps documentation [DOCDIR]
1301 _ACEOF
1303 cat <<\_ACEOF
1304 _ACEOF
1307 if test -n "$ac_init_help"; then
1308 case $ac_init_help in
1309 short | recursive ) echo "Configuration of ocurl 0.7.4:";;
1310 esac
1311 cat <<\_ACEOF
1313 Some influential environment variables:
1314 CC C compiler command
1315 CFLAGS C compiler flags
1316 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1317 nonstandard directory <lib dir>
1318 LIBS libraries to pass to the linker, e.g. -l<library>
1319 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1320 you have headers in a nonstandard directory <include dir>
1321 CPP C preprocessor
1323 Use these variables to override the choices made by `configure' or to help
1324 it to find libraries and programs with nonstandard names/locations.
1326 Report bugs to the package provider.
1327 _ACEOF
1328 ac_status=$?
1331 if test "$ac_init_help" = "recursive"; then
1332 # If there are subdirs, report their specific --help.
1333 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1334 test -d "$ac_dir" ||
1335 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1336 continue
1337 ac_builddir=.
1339 case "$ac_dir" in
1340 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1342 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1343 # A ".." for each directory in $ac_dir_suffix.
1344 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1345 case $ac_top_builddir_sub in
1346 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1347 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1348 esac ;;
1349 esac
1350 ac_abs_top_builddir=$ac_pwd
1351 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1352 # for backward compatibility:
1353 ac_top_builddir=$ac_top_build_prefix
1355 case $srcdir in
1356 .) # We are building in place.
1357 ac_srcdir=.
1358 ac_top_srcdir=$ac_top_builddir_sub
1359 ac_abs_top_srcdir=$ac_pwd ;;
1360 [\\/]* | ?:[\\/]* ) # Absolute name.
1361 ac_srcdir=$srcdir$ac_dir_suffix;
1362 ac_top_srcdir=$srcdir
1363 ac_abs_top_srcdir=$srcdir ;;
1364 *) # Relative name.
1365 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1366 ac_top_srcdir=$ac_top_build_prefix$srcdir
1367 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1368 esac
1369 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1371 cd "$ac_dir" || { ac_status=$?; continue; }
1372 # Check for guested configure.
1373 if test -f "$ac_srcdir/configure.gnu"; then
1374 echo &&
1375 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1376 elif test -f "$ac_srcdir/configure"; then
1377 echo &&
1378 $SHELL "$ac_srcdir/configure" --help=recursive
1379 else
1380 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1381 fi || ac_status=$?
1382 cd "$ac_pwd" || { ac_status=$?; break; }
1383 done
1386 test -n "$ac_init_help" && exit $ac_status
1387 if $ac_init_version; then
1388 cat <<\_ACEOF
1389 ocurl configure 0.7.4
1390 generated by GNU Autoconf 2.69
1392 Copyright (C) 2012 Free Software Foundation, Inc.
1393 This configure script is free software; the Free Software Foundation
1394 gives unlimited permission to copy, distribute and modify it.
1395 _ACEOF
1396 exit
1399 ## ------------------------ ##
1400 ## Autoconf initialization. ##
1401 ## ------------------------ ##
1403 # ac_fn_c_try_compile LINENO
1404 # --------------------------
1405 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1406 ac_fn_c_try_compile ()
1408 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1409 rm -f conftest.$ac_objext
1410 if { { ac_try="$ac_compile"
1411 case "(($ac_try" in
1412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1413 *) ac_try_echo=$ac_try;;
1414 esac
1415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1416 $as_echo "$ac_try_echo"; } >&5
1417 (eval "$ac_compile") 2>conftest.err
1418 ac_status=$?
1419 if test -s conftest.err; then
1420 grep -v '^ *+' conftest.err >conftest.er1
1421 cat conftest.er1 >&5
1422 mv -f conftest.er1 conftest.err
1424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1425 test $ac_status = 0; } && {
1426 test -z "$ac_c_werror_flag" ||
1427 test ! -s conftest.err
1428 } && test -s conftest.$ac_objext; then :
1429 ac_retval=0
1430 else
1431 $as_echo "$as_me: failed program was:" >&5
1432 sed 's/^/| /' conftest.$ac_ext >&5
1434 ac_retval=1
1436 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1437 as_fn_set_status $ac_retval
1439 } # ac_fn_c_try_compile
1441 # ac_fn_c_try_cpp LINENO
1442 # ----------------------
1443 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1444 ac_fn_c_try_cpp ()
1446 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1447 if { { ac_try="$ac_cpp conftest.$ac_ext"
1448 case "(($ac_try" in
1449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1450 *) ac_try_echo=$ac_try;;
1451 esac
1452 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1453 $as_echo "$ac_try_echo"; } >&5
1454 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1455 ac_status=$?
1456 if test -s conftest.err; then
1457 grep -v '^ *+' conftest.err >conftest.er1
1458 cat conftest.er1 >&5
1459 mv -f conftest.er1 conftest.err
1461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1462 test $ac_status = 0; } > conftest.i && {
1463 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1464 test ! -s conftest.err
1465 }; then :
1466 ac_retval=0
1467 else
1468 $as_echo "$as_me: failed program was:" >&5
1469 sed 's/^/| /' conftest.$ac_ext >&5
1471 ac_retval=1
1473 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1474 as_fn_set_status $ac_retval
1476 } # ac_fn_c_try_cpp
1478 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1479 # -------------------------------------------------------
1480 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1481 # the include files in INCLUDES and setting the cache variable VAR
1482 # accordingly.
1483 ac_fn_c_check_header_mongrel ()
1485 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1486 if eval \${$3+:} false; then :
1487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1488 $as_echo_n "checking for $2... " >&6; }
1489 if eval \${$3+:} false; then :
1490 $as_echo_n "(cached) " >&6
1492 eval ac_res=\$$3
1493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1494 $as_echo "$ac_res" >&6; }
1495 else
1496 # Is the header compilable?
1497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1498 $as_echo_n "checking $2 usability... " >&6; }
1499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1500 /* end confdefs.h. */
1502 #include <$2>
1503 _ACEOF
1504 if ac_fn_c_try_compile "$LINENO"; then :
1505 ac_header_compiler=yes
1506 else
1507 ac_header_compiler=no
1509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1511 $as_echo "$ac_header_compiler" >&6; }
1513 # Is the header present?
1514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1515 $as_echo_n "checking $2 presence... " >&6; }
1516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1517 /* end confdefs.h. */
1518 #include <$2>
1519 _ACEOF
1520 if ac_fn_c_try_cpp "$LINENO"; then :
1521 ac_header_preproc=yes
1522 else
1523 ac_header_preproc=no
1525 rm -f conftest.err conftest.i conftest.$ac_ext
1526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1527 $as_echo "$ac_header_preproc" >&6; }
1529 # So? What about this header?
1530 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1531 yes:no: )
1532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1533 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1535 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1537 no:yes:* )
1538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1539 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1541 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1543 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1545 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1547 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1549 esac
1550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1551 $as_echo_n "checking for $2... " >&6; }
1552 if eval \${$3+:} false; then :
1553 $as_echo_n "(cached) " >&6
1554 else
1555 eval "$3=\$ac_header_compiler"
1557 eval ac_res=\$$3
1558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1559 $as_echo "$ac_res" >&6; }
1561 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1563 } # ac_fn_c_check_header_mongrel
1565 # ac_fn_c_try_run LINENO
1566 # ----------------------
1567 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1568 # that executables *can* be run.
1569 ac_fn_c_try_run ()
1571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1572 if { { ac_try="$ac_link"
1573 case "(($ac_try" in
1574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1575 *) ac_try_echo=$ac_try;;
1576 esac
1577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1578 $as_echo "$ac_try_echo"; } >&5
1579 (eval "$ac_link") 2>&5
1580 ac_status=$?
1581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1582 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1583 { { case "(($ac_try" in
1584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1585 *) ac_try_echo=$ac_try;;
1586 esac
1587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1588 $as_echo "$ac_try_echo"; } >&5
1589 (eval "$ac_try") 2>&5
1590 ac_status=$?
1591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1592 test $ac_status = 0; }; }; then :
1593 ac_retval=0
1594 else
1595 $as_echo "$as_me: program exited with status $ac_status" >&5
1596 $as_echo "$as_me: failed program was:" >&5
1597 sed 's/^/| /' conftest.$ac_ext >&5
1599 ac_retval=$ac_status
1601 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1602 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1603 as_fn_set_status $ac_retval
1605 } # ac_fn_c_try_run
1607 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1608 # -------------------------------------------------------
1609 # Tests whether HEADER exists and can be compiled using the include files in
1610 # INCLUDES, setting the cache variable VAR accordingly.
1611 ac_fn_c_check_header_compile ()
1613 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1615 $as_echo_n "checking for $2... " >&6; }
1616 if eval \${$3+:} false; then :
1617 $as_echo_n "(cached) " >&6
1618 else
1619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1620 /* end confdefs.h. */
1622 #include <$2>
1623 _ACEOF
1624 if ac_fn_c_try_compile "$LINENO"; then :
1625 eval "$3=yes"
1626 else
1627 eval "$3=no"
1629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1631 eval ac_res=\$$3
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1633 $as_echo "$ac_res" >&6; }
1634 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1636 } # ac_fn_c_check_header_compile
1638 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1639 # ---------------------------------------------
1640 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1641 # accordingly.
1642 ac_fn_c_check_decl ()
1644 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1645 as_decl_name=`echo $2|sed 's/ *(.*//'`
1646 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1648 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1649 if eval \${$3+:} false; then :
1650 $as_echo_n "(cached) " >&6
1651 else
1652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1653 /* end confdefs.h. */
1656 main ()
1658 #ifndef $as_decl_name
1659 #ifdef __cplusplus
1660 (void) $as_decl_use;
1661 #else
1662 (void) $as_decl_name;
1663 #endif
1664 #endif
1667 return 0;
1669 _ACEOF
1670 if ac_fn_c_try_compile "$LINENO"; then :
1671 eval "$3=yes"
1672 else
1673 eval "$3=no"
1675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1677 eval ac_res=\$$3
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1679 $as_echo "$ac_res" >&6; }
1680 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1682 } # ac_fn_c_check_decl
1683 cat >config.log <<_ACEOF
1684 This file contains any messages produced by compilers while
1685 running configure, to aid debugging if configure makes a mistake.
1687 It was created by ocurl $as_me 0.7.4, which was
1688 generated by GNU Autoconf 2.69. Invocation command line was
1690 $ $0 $@
1692 _ACEOF
1693 exec 5>>config.log
1695 cat <<_ASUNAME
1696 ## --------- ##
1697 ## Platform. ##
1698 ## --------- ##
1700 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1701 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1702 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1703 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1704 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1706 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1707 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1709 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1710 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1711 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1712 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1713 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1714 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1715 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1717 _ASUNAME
1719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1720 for as_dir in $PATH
1722 IFS=$as_save_IFS
1723 test -z "$as_dir" && as_dir=.
1724 $as_echo "PATH: $as_dir"
1725 done
1726 IFS=$as_save_IFS
1728 } >&5
1730 cat >&5 <<_ACEOF
1733 ## ----------- ##
1734 ## Core tests. ##
1735 ## ----------- ##
1737 _ACEOF
1740 # Keep a trace of the command line.
1741 # Strip out --no-create and --no-recursion so they do not pile up.
1742 # Strip out --silent because we don't want to record it for future runs.
1743 # Also quote any args containing shell meta-characters.
1744 # Make two passes to allow for proper duplicate-argument suppression.
1745 ac_configure_args=
1746 ac_configure_args0=
1747 ac_configure_args1=
1748 ac_must_keep_next=false
1749 for ac_pass in 1 2
1751 for ac_arg
1753 case $ac_arg in
1754 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1755 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1756 | -silent | --silent | --silen | --sile | --sil)
1757 continue ;;
1758 *\'*)
1759 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1760 esac
1761 case $ac_pass in
1762 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1764 as_fn_append ac_configure_args1 " '$ac_arg'"
1765 if test $ac_must_keep_next = true; then
1766 ac_must_keep_next=false # Got value, back to normal.
1767 else
1768 case $ac_arg in
1769 *=* | --config-cache | -C | -disable-* | --disable-* \
1770 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1771 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1772 | -with-* | --with-* | -without-* | --without-* | --x)
1773 case "$ac_configure_args0 " in
1774 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1775 esac
1777 -* ) ac_must_keep_next=true ;;
1778 esac
1780 as_fn_append ac_configure_args " '$ac_arg'"
1782 esac
1783 done
1784 done
1785 { ac_configure_args0=; unset ac_configure_args0;}
1786 { ac_configure_args1=; unset ac_configure_args1;}
1788 # When interrupted or exit'd, cleanup temporary files, and complete
1789 # config.log. We remove comments because anyway the quotes in there
1790 # would cause problems or look ugly.
1791 # WARNING: Use '\'' to represent an apostrophe within the trap.
1792 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1793 trap 'exit_status=$?
1794 # Save into config.log some information that might help in debugging.
1796 echo
1798 $as_echo "## ---------------- ##
1799 ## Cache variables. ##
1800 ## ---------------- ##"
1801 echo
1802 # The following way of writing the cache mishandles newlines in values,
1804 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1805 eval ac_val=\$$ac_var
1806 case $ac_val in #(
1807 *${as_nl}*)
1808 case $ac_var in #(
1809 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1810 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1811 esac
1812 case $ac_var in #(
1813 _ | IFS | as_nl) ;; #(
1814 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1815 *) { eval $ac_var=; unset $ac_var;} ;;
1816 esac ;;
1817 esac
1818 done
1819 (set) 2>&1 |
1820 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1821 *${as_nl}ac_space=\ *)
1822 sed -n \
1823 "s/'\''/'\''\\\\'\'''\''/g;
1824 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1825 ;; #(
1827 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1829 esac |
1830 sort
1832 echo
1834 $as_echo "## ----------------- ##
1835 ## Output variables. ##
1836 ## ----------------- ##"
1837 echo
1838 for ac_var in $ac_subst_vars
1840 eval ac_val=\$$ac_var
1841 case $ac_val in
1842 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1843 esac
1844 $as_echo "$ac_var='\''$ac_val'\''"
1845 done | sort
1846 echo
1848 if test -n "$ac_subst_files"; then
1849 $as_echo "## ------------------- ##
1850 ## File substitutions. ##
1851 ## ------------------- ##"
1852 echo
1853 for ac_var in $ac_subst_files
1855 eval ac_val=\$$ac_var
1856 case $ac_val in
1857 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1858 esac
1859 $as_echo "$ac_var='\''$ac_val'\''"
1860 done | sort
1861 echo
1864 if test -s confdefs.h; then
1865 $as_echo "## ----------- ##
1866 ## confdefs.h. ##
1867 ## ----------- ##"
1868 echo
1869 cat confdefs.h
1870 echo
1872 test "$ac_signal" != 0 &&
1873 $as_echo "$as_me: caught signal $ac_signal"
1874 $as_echo "$as_me: exit $exit_status"
1875 } >&5
1876 rm -f core *.core core.conftest.* &&
1877 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1878 exit $exit_status
1880 for ac_signal in 1 2 13 15; do
1881 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1882 done
1883 ac_signal=0
1885 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1886 rm -f -r conftest* confdefs.h
1888 $as_echo "/* confdefs.h */" > confdefs.h
1890 # Predefined preprocessor variables.
1892 cat >>confdefs.h <<_ACEOF
1893 #define PACKAGE_NAME "$PACKAGE_NAME"
1894 _ACEOF
1896 cat >>confdefs.h <<_ACEOF
1897 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1898 _ACEOF
1900 cat >>confdefs.h <<_ACEOF
1901 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1902 _ACEOF
1904 cat >>confdefs.h <<_ACEOF
1905 #define PACKAGE_STRING "$PACKAGE_STRING"
1906 _ACEOF
1908 cat >>confdefs.h <<_ACEOF
1909 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1910 _ACEOF
1912 cat >>confdefs.h <<_ACEOF
1913 #define PACKAGE_URL "$PACKAGE_URL"
1914 _ACEOF
1917 # Let the site file select an alternate cache file if it wants to.
1918 # Prefer an explicitly selected file to automatically selected ones.
1919 ac_site_file1=NONE
1920 ac_site_file2=NONE
1921 if test -n "$CONFIG_SITE"; then
1922 # We do not want a PATH search for config.site.
1923 case $CONFIG_SITE in #((
1924 -*) ac_site_file1=./$CONFIG_SITE;;
1925 */*) ac_site_file1=$CONFIG_SITE;;
1926 *) ac_site_file1=./$CONFIG_SITE;;
1927 esac
1928 elif test "x$prefix" != xNONE; then
1929 ac_site_file1=$prefix/share/config.site
1930 ac_site_file2=$prefix/etc/config.site
1931 else
1932 ac_site_file1=$ac_default_prefix/share/config.site
1933 ac_site_file2=$ac_default_prefix/etc/config.site
1935 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1937 test "x$ac_site_file" = xNONE && continue
1938 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1940 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1941 sed 's/^/| /' "$ac_site_file" >&5
1942 . "$ac_site_file" \
1943 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1945 as_fn_error $? "failed to load site script $ac_site_file
1946 See \`config.log' for more details" "$LINENO" 5; }
1948 done
1950 if test -r "$cache_file"; then
1951 # Some versions of bash will fail to source /dev/null (special files
1952 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1953 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1955 $as_echo "$as_me: loading cache $cache_file" >&6;}
1956 case $cache_file in
1957 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1958 *) . "./$cache_file";;
1959 esac
1961 else
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1963 $as_echo "$as_me: creating cache $cache_file" >&6;}
1964 >$cache_file
1967 # Check that the precious variables saved in the cache have kept the same
1968 # value.
1969 ac_cache_corrupted=false
1970 for ac_var in $ac_precious_vars; do
1971 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1972 eval ac_new_set=\$ac_env_${ac_var}_set
1973 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1974 eval ac_new_val=\$ac_env_${ac_var}_value
1975 case $ac_old_set,$ac_new_set in
1976 set,)
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1978 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1979 ac_cache_corrupted=: ;;
1980 ,set)
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1982 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1983 ac_cache_corrupted=: ;;
1984 ,);;
1986 if test "x$ac_old_val" != "x$ac_new_val"; then
1987 # differences in whitespace do not lead to failure.
1988 ac_old_val_w=`echo x $ac_old_val`
1989 ac_new_val_w=`echo x $ac_new_val`
1990 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1992 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1993 ac_cache_corrupted=:
1994 else
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1996 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1997 eval $ac_var=\$ac_old_val
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2000 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2002 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2003 fi;;
2004 esac
2005 # Pass precious variables to config.status.
2006 if test "$ac_new_set" = set; then
2007 case $ac_new_val in
2008 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2009 *) ac_arg=$ac_var=$ac_new_val ;;
2010 esac
2011 case " $ac_configure_args " in
2012 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2013 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2014 esac
2016 done
2017 if $ac_cache_corrupted; then
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2021 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2022 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2024 ## -------------------- ##
2025 ## Main body of script. ##
2026 ## -------------------- ##
2028 ac_ext=c
2029 ac_cpp='$CPP $CPPFLAGS'
2030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2036 ac_ext=c
2037 ac_cpp='$CPP $CPPFLAGS'
2038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2041 if test -n "$ac_tool_prefix"; then
2042 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2043 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2045 $as_echo_n "checking for $ac_word... " >&6; }
2046 if ${ac_cv_prog_CC+:} false; then :
2047 $as_echo_n "(cached) " >&6
2048 else
2049 if test -n "$CC"; then
2050 ac_cv_prog_CC="$CC" # Let the user override the test.
2051 else
2052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2053 for as_dir in $PATH
2055 IFS=$as_save_IFS
2056 test -z "$as_dir" && as_dir=.
2057 for ac_exec_ext in '' $ac_executable_extensions; do
2058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2059 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2061 break 2
2063 done
2064 done
2065 IFS=$as_save_IFS
2069 CC=$ac_cv_prog_CC
2070 if test -n "$CC"; then
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2072 $as_echo "$CC" >&6; }
2073 else
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2075 $as_echo "no" >&6; }
2080 if test -z "$ac_cv_prog_CC"; then
2081 ac_ct_CC=$CC
2082 # Extract the first word of "gcc", so it can be a program name with args.
2083 set dummy gcc; ac_word=$2
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2085 $as_echo_n "checking for $ac_word... " >&6; }
2086 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2087 $as_echo_n "(cached) " >&6
2088 else
2089 if test -n "$ac_ct_CC"; then
2090 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2091 else
2092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2093 for as_dir in $PATH
2095 IFS=$as_save_IFS
2096 test -z "$as_dir" && as_dir=.
2097 for ac_exec_ext in '' $ac_executable_extensions; do
2098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2099 ac_cv_prog_ac_ct_CC="gcc"
2100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2101 break 2
2103 done
2104 done
2105 IFS=$as_save_IFS
2109 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2110 if test -n "$ac_ct_CC"; then
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2112 $as_echo "$ac_ct_CC" >&6; }
2113 else
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2115 $as_echo "no" >&6; }
2118 if test "x$ac_ct_CC" = x; then
2119 CC=""
2120 else
2121 case $cross_compiling:$ac_tool_warned in
2122 yes:)
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2125 ac_tool_warned=yes ;;
2126 esac
2127 CC=$ac_ct_CC
2129 else
2130 CC="$ac_cv_prog_CC"
2133 if test -z "$CC"; then
2134 if test -n "$ac_tool_prefix"; then
2135 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2136 set dummy ${ac_tool_prefix}cc; ac_word=$2
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2138 $as_echo_n "checking for $ac_word... " >&6; }
2139 if ${ac_cv_prog_CC+:} false; then :
2140 $as_echo_n "(cached) " >&6
2141 else
2142 if test -n "$CC"; then
2143 ac_cv_prog_CC="$CC" # Let the user override the test.
2144 else
2145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2146 for as_dir in $PATH
2148 IFS=$as_save_IFS
2149 test -z "$as_dir" && as_dir=.
2150 for ac_exec_ext in '' $ac_executable_extensions; do
2151 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2152 ac_cv_prog_CC="${ac_tool_prefix}cc"
2153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2154 break 2
2156 done
2157 done
2158 IFS=$as_save_IFS
2162 CC=$ac_cv_prog_CC
2163 if test -n "$CC"; then
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2165 $as_echo "$CC" >&6; }
2166 else
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2168 $as_echo "no" >&6; }
2174 if test -z "$CC"; then
2175 # Extract the first word of "cc", so it can be a program name with args.
2176 set dummy cc; ac_word=$2
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2178 $as_echo_n "checking for $ac_word... " >&6; }
2179 if ${ac_cv_prog_CC+:} false; then :
2180 $as_echo_n "(cached) " >&6
2181 else
2182 if test -n "$CC"; then
2183 ac_cv_prog_CC="$CC" # Let the user override the test.
2184 else
2185 ac_prog_rejected=no
2186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2187 for as_dir in $PATH
2189 IFS=$as_save_IFS
2190 test -z "$as_dir" && as_dir=.
2191 for ac_exec_ext in '' $ac_executable_extensions; do
2192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2193 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2194 ac_prog_rejected=yes
2195 continue
2197 ac_cv_prog_CC="cc"
2198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2199 break 2
2201 done
2202 done
2203 IFS=$as_save_IFS
2205 if test $ac_prog_rejected = yes; then
2206 # We found a bogon in the path, so make sure we never use it.
2207 set dummy $ac_cv_prog_CC
2208 shift
2209 if test $# != 0; then
2210 # We chose a different compiler from the bogus one.
2211 # However, it has the same basename, so the bogon will be chosen
2212 # first if we set CC to just the basename; use the full file name.
2213 shift
2214 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2219 CC=$ac_cv_prog_CC
2220 if test -n "$CC"; then
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2222 $as_echo "$CC" >&6; }
2223 else
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2225 $as_echo "no" >&6; }
2230 if test -z "$CC"; then
2231 if test -n "$ac_tool_prefix"; then
2232 for ac_prog in cl.exe
2234 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2235 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2237 $as_echo_n "checking for $ac_word... " >&6; }
2238 if ${ac_cv_prog_CC+:} false; then :
2239 $as_echo_n "(cached) " >&6
2240 else
2241 if test -n "$CC"; then
2242 ac_cv_prog_CC="$CC" # Let the user override the test.
2243 else
2244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2245 for as_dir in $PATH
2247 IFS=$as_save_IFS
2248 test -z "$as_dir" && as_dir=.
2249 for ac_exec_ext in '' $ac_executable_extensions; do
2250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2251 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2253 break 2
2255 done
2256 done
2257 IFS=$as_save_IFS
2261 CC=$ac_cv_prog_CC
2262 if test -n "$CC"; then
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2264 $as_echo "$CC" >&6; }
2265 else
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2267 $as_echo "no" >&6; }
2271 test -n "$CC" && break
2272 done
2274 if test -z "$CC"; then
2275 ac_ct_CC=$CC
2276 for ac_prog in cl.exe
2278 # Extract the first word of "$ac_prog", so it can be a program name with args.
2279 set dummy $ac_prog; ac_word=$2
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2281 $as_echo_n "checking for $ac_word... " >&6; }
2282 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2283 $as_echo_n "(cached) " >&6
2284 else
2285 if test -n "$ac_ct_CC"; then
2286 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2287 else
2288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2289 for as_dir in $PATH
2291 IFS=$as_save_IFS
2292 test -z "$as_dir" && as_dir=.
2293 for ac_exec_ext in '' $ac_executable_extensions; do
2294 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2295 ac_cv_prog_ac_ct_CC="$ac_prog"
2296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2297 break 2
2299 done
2300 done
2301 IFS=$as_save_IFS
2305 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2306 if test -n "$ac_ct_CC"; then
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2308 $as_echo "$ac_ct_CC" >&6; }
2309 else
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2311 $as_echo "no" >&6; }
2315 test -n "$ac_ct_CC" && break
2316 done
2318 if test "x$ac_ct_CC" = x; then
2319 CC=""
2320 else
2321 case $cross_compiling:$ac_tool_warned in
2322 yes:)
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2325 ac_tool_warned=yes ;;
2326 esac
2327 CC=$ac_ct_CC
2334 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2335 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2336 as_fn_error $? "no acceptable C compiler found in \$PATH
2337 See \`config.log' for more details" "$LINENO" 5; }
2339 # Provide some information about the compiler.
2340 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2341 set X $ac_compile
2342 ac_compiler=$2
2343 for ac_option in --version -v -V -qversion; do
2344 { { ac_try="$ac_compiler $ac_option >&5"
2345 case "(($ac_try" in
2346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2347 *) ac_try_echo=$ac_try;;
2348 esac
2349 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2350 $as_echo "$ac_try_echo"; } >&5
2351 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2352 ac_status=$?
2353 if test -s conftest.err; then
2354 sed '10a\
2355 ... rest of stderr output deleted ...
2356 10q' conftest.err >conftest.er1
2357 cat conftest.er1 >&5
2359 rm -f conftest.er1 conftest.err
2360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2361 test $ac_status = 0; }
2362 done
2364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2365 /* end confdefs.h. */
2368 main ()
2372 return 0;
2374 _ACEOF
2375 ac_clean_files_save=$ac_clean_files
2376 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2377 # Try to create an executable without -o first, disregard a.out.
2378 # It will help us diagnose broken compilers, and finding out an intuition
2379 # of exeext.
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2381 $as_echo_n "checking whether the C compiler works... " >&6; }
2382 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2384 # The possible output files:
2385 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2387 ac_rmfiles=
2388 for ac_file in $ac_files
2390 case $ac_file in
2391 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2392 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2393 esac
2394 done
2395 rm -f $ac_rmfiles
2397 if { { ac_try="$ac_link_default"
2398 case "(($ac_try" in
2399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2400 *) ac_try_echo=$ac_try;;
2401 esac
2402 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2403 $as_echo "$ac_try_echo"; } >&5
2404 (eval "$ac_link_default") 2>&5
2405 ac_status=$?
2406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2407 test $ac_status = 0; }; then :
2408 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2409 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2410 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2411 # so that the user can short-circuit this test for compilers unknown to
2412 # Autoconf.
2413 for ac_file in $ac_files ''
2415 test -f "$ac_file" || continue
2416 case $ac_file in
2417 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2419 [ab].out )
2420 # We found the default executable, but exeext='' is most
2421 # certainly right.
2422 break;;
2423 *.* )
2424 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2425 then :; else
2426 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2428 # We set ac_cv_exeext here because the later test for it is not
2429 # safe: cross compilers may not add the suffix if given an `-o'
2430 # argument, so we may need to know it at that point already.
2431 # Even if this section looks crufty: it has the advantage of
2432 # actually working.
2433 break;;
2435 break;;
2436 esac
2437 done
2438 test "$ac_cv_exeext" = no && ac_cv_exeext=
2440 else
2441 ac_file=''
2443 if test -z "$ac_file"; then :
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2445 $as_echo "no" >&6; }
2446 $as_echo "$as_me: failed program was:" >&5
2447 sed 's/^/| /' conftest.$ac_ext >&5
2449 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2450 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2451 as_fn_error 77 "C compiler cannot create executables
2452 See \`config.log' for more details" "$LINENO" 5; }
2453 else
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2455 $as_echo "yes" >&6; }
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2458 $as_echo_n "checking for C compiler default output file name... " >&6; }
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2460 $as_echo "$ac_file" >&6; }
2461 ac_exeext=$ac_cv_exeext
2463 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2464 ac_clean_files=$ac_clean_files_save
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2466 $as_echo_n "checking for suffix of executables... " >&6; }
2467 if { { ac_try="$ac_link"
2468 case "(($ac_try" in
2469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2470 *) ac_try_echo=$ac_try;;
2471 esac
2472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2473 $as_echo "$ac_try_echo"; } >&5
2474 (eval "$ac_link") 2>&5
2475 ac_status=$?
2476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2477 test $ac_status = 0; }; then :
2478 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2479 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2480 # work properly (i.e., refer to `conftest.exe'), while it won't with
2481 # `rm'.
2482 for ac_file in conftest.exe conftest conftest.*; do
2483 test -f "$ac_file" || continue
2484 case $ac_file in
2485 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2486 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2487 break;;
2488 * ) break;;
2489 esac
2490 done
2491 else
2492 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2493 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2494 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2495 See \`config.log' for more details" "$LINENO" 5; }
2497 rm -f conftest conftest$ac_cv_exeext
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2499 $as_echo "$ac_cv_exeext" >&6; }
2501 rm -f conftest.$ac_ext
2502 EXEEXT=$ac_cv_exeext
2503 ac_exeext=$EXEEXT
2504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2505 /* end confdefs.h. */
2506 #include <stdio.h>
2508 main ()
2510 FILE *f = fopen ("conftest.out", "w");
2511 return ferror (f) || fclose (f) != 0;
2514 return 0;
2516 _ACEOF
2517 ac_clean_files="$ac_clean_files conftest.out"
2518 # Check that the compiler produces executables we can run. If not, either
2519 # the compiler is broken, or we cross compile.
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2521 $as_echo_n "checking whether we are cross compiling... " >&6; }
2522 if test "$cross_compiling" != yes; then
2523 { { ac_try="$ac_link"
2524 case "(($ac_try" in
2525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2526 *) ac_try_echo=$ac_try;;
2527 esac
2528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2529 $as_echo "$ac_try_echo"; } >&5
2530 (eval "$ac_link") 2>&5
2531 ac_status=$?
2532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2533 test $ac_status = 0; }
2534 if { ac_try='./conftest$ac_cv_exeext'
2535 { { case "(($ac_try" in
2536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2537 *) ac_try_echo=$ac_try;;
2538 esac
2539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2540 $as_echo "$ac_try_echo"; } >&5
2541 (eval "$ac_try") 2>&5
2542 ac_status=$?
2543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2544 test $ac_status = 0; }; }; then
2545 cross_compiling=no
2546 else
2547 if test "$cross_compiling" = maybe; then
2548 cross_compiling=yes
2549 else
2550 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2552 as_fn_error $? "cannot run C compiled programs.
2553 If you meant to cross compile, use \`--host'.
2554 See \`config.log' for more details" "$LINENO" 5; }
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2559 $as_echo "$cross_compiling" >&6; }
2561 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2562 ac_clean_files=$ac_clean_files_save
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2564 $as_echo_n "checking for suffix of object files... " >&6; }
2565 if ${ac_cv_objext+:} false; then :
2566 $as_echo_n "(cached) " >&6
2567 else
2568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2569 /* end confdefs.h. */
2572 main ()
2576 return 0;
2578 _ACEOF
2579 rm -f conftest.o conftest.obj
2580 if { { ac_try="$ac_compile"
2581 case "(($ac_try" in
2582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2583 *) ac_try_echo=$ac_try;;
2584 esac
2585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2586 $as_echo "$ac_try_echo"; } >&5
2587 (eval "$ac_compile") 2>&5
2588 ac_status=$?
2589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2590 test $ac_status = 0; }; then :
2591 for ac_file in conftest.o conftest.obj conftest.*; do
2592 test -f "$ac_file" || continue;
2593 case $ac_file in
2594 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2595 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2596 break;;
2597 esac
2598 done
2599 else
2600 $as_echo "$as_me: failed program was:" >&5
2601 sed 's/^/| /' conftest.$ac_ext >&5
2603 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2604 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2605 as_fn_error $? "cannot compute suffix of object files: cannot compile
2606 See \`config.log' for more details" "$LINENO" 5; }
2608 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2611 $as_echo "$ac_cv_objext" >&6; }
2612 OBJEXT=$ac_cv_objext
2613 ac_objext=$OBJEXT
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2615 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2616 if ${ac_cv_c_compiler_gnu+:} false; then :
2617 $as_echo_n "(cached) " >&6
2618 else
2619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2620 /* end confdefs.h. */
2623 main ()
2625 #ifndef __GNUC__
2626 choke me
2627 #endif
2630 return 0;
2632 _ACEOF
2633 if ac_fn_c_try_compile "$LINENO"; then :
2634 ac_compiler_gnu=yes
2635 else
2636 ac_compiler_gnu=no
2638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2639 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2643 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2644 if test $ac_compiler_gnu = yes; then
2645 GCC=yes
2646 else
2647 GCC=
2649 ac_test_CFLAGS=${CFLAGS+set}
2650 ac_save_CFLAGS=$CFLAGS
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2652 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2653 if ${ac_cv_prog_cc_g+:} false; then :
2654 $as_echo_n "(cached) " >&6
2655 else
2656 ac_save_c_werror_flag=$ac_c_werror_flag
2657 ac_c_werror_flag=yes
2658 ac_cv_prog_cc_g=no
2659 CFLAGS="-g"
2660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2661 /* end confdefs.h. */
2664 main ()
2668 return 0;
2670 _ACEOF
2671 if ac_fn_c_try_compile "$LINENO"; then :
2672 ac_cv_prog_cc_g=yes
2673 else
2674 CFLAGS=""
2675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2676 /* end confdefs.h. */
2679 main ()
2683 return 0;
2685 _ACEOF
2686 if ac_fn_c_try_compile "$LINENO"; then :
2688 else
2689 ac_c_werror_flag=$ac_save_c_werror_flag
2690 CFLAGS="-g"
2691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2692 /* end confdefs.h. */
2695 main ()
2699 return 0;
2701 _ACEOF
2702 if ac_fn_c_try_compile "$LINENO"; then :
2703 ac_cv_prog_cc_g=yes
2705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2710 ac_c_werror_flag=$ac_save_c_werror_flag
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2713 $as_echo "$ac_cv_prog_cc_g" >&6; }
2714 if test "$ac_test_CFLAGS" = set; then
2715 CFLAGS=$ac_save_CFLAGS
2716 elif test $ac_cv_prog_cc_g = yes; then
2717 if test "$GCC" = yes; then
2718 CFLAGS="-g -O2"
2719 else
2720 CFLAGS="-g"
2722 else
2723 if test "$GCC" = yes; then
2724 CFLAGS="-O2"
2725 else
2726 CFLAGS=
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2730 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2731 if ${ac_cv_prog_cc_c89+:} false; then :
2732 $as_echo_n "(cached) " >&6
2733 else
2734 ac_cv_prog_cc_c89=no
2735 ac_save_CC=$CC
2736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2737 /* end confdefs.h. */
2738 #include <stdarg.h>
2739 #include <stdio.h>
2740 struct stat;
2741 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2742 struct buf { int x; };
2743 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2744 static char *e (p, i)
2745 char **p;
2746 int i;
2748 return p[i];
2750 static char *f (char * (*g) (char **, int), char **p, ...)
2752 char *s;
2753 va_list v;
2754 va_start (v,p);
2755 s = g (p, va_arg (v,int));
2756 va_end (v);
2757 return s;
2760 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2761 function prototypes and stuff, but not '\xHH' hex character constants.
2762 These don't provoke an error unfortunately, instead are silently treated
2763 as 'x'. The following induces an error, until -std is added to get
2764 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2765 array size at least. It's necessary to write '\x00'==0 to get something
2766 that's true only with -std. */
2767 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2769 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2770 inside strings and character constants. */
2771 #define FOO(x) 'x'
2772 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2774 int test (int i, double x);
2775 struct s1 {int (*f) (int a);};
2776 struct s2 {int (*f) (double a);};
2777 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2778 int argc;
2779 char **argv;
2781 main ()
2783 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2785 return 0;
2787 _ACEOF
2788 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2789 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2791 CC="$ac_save_CC $ac_arg"
2792 if ac_fn_c_try_compile "$LINENO"; then :
2793 ac_cv_prog_cc_c89=$ac_arg
2795 rm -f core conftest.err conftest.$ac_objext
2796 test "x$ac_cv_prog_cc_c89" != "xno" && break
2797 done
2798 rm -f conftest.$ac_ext
2799 CC=$ac_save_CC
2802 # AC_CACHE_VAL
2803 case "x$ac_cv_prog_cc_c89" in
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2806 $as_echo "none needed" >&6; } ;;
2807 xno)
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2809 $as_echo "unsupported" >&6; } ;;
2811 CC="$CC $ac_cv_prog_cc_c89"
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2813 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2814 esac
2815 if test "x$ac_cv_prog_cc_c89" != xno; then :
2819 ac_ext=c
2820 ac_cpp='$CPP $CPPFLAGS'
2821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl cflags" >&5
2827 $as_echo_n "checking for libcurl cflags... " >&6; }
2828 CURLCFLAGS=`pkg-config libcurl --cflags || curl-config --cflags`
2829 if test "$?" -eq 0 ; then :
2831 else
2832 as_fn_error $? "libcurl was not found" "$LINENO" 5
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURLCFLAGS" >&5
2835 $as_echo "$CURLCFLAGS" >&6; }
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl libs" >&5
2838 $as_echo_n "checking for libcurl libs... " >&6; }
2839 CURLLIBS=`pkg-config libcurl --libs || curl-config --libs`
2840 if test "$?" -eq 0 ; then :
2842 else
2843 as_fn_error $? "libcurl was not found" "$LINENO" 5
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURLLIBS" >&5
2846 $as_echo "$CURLLIBS" >&6; }
2848 ac_aux_dir=
2849 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2850 if test -f "$ac_dir/install-sh"; then
2851 ac_aux_dir=$ac_dir
2852 ac_install_sh="$ac_aux_dir/install-sh -c"
2853 break
2854 elif test -f "$ac_dir/install.sh"; then
2855 ac_aux_dir=$ac_dir
2856 ac_install_sh="$ac_aux_dir/install.sh -c"
2857 break
2858 elif test -f "$ac_dir/shtool"; then
2859 ac_aux_dir=$ac_dir
2860 ac_install_sh="$ac_aux_dir/shtool install -c"
2861 break
2863 done
2864 if test -z "$ac_aux_dir"; then
2865 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2868 # These three variables are undocumented and unsupported,
2869 # and are intended to be withdrawn in a future Autoconf release.
2870 # They can cause serious problems if a builder's source tree is in a directory
2871 # whose full name contains unusual characters.
2872 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2873 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2874 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2877 # Find a good install program. We prefer a C program (faster),
2878 # so one script is as good as another. But avoid the broken or
2879 # incompatible versions:
2880 # SysV /etc/install, /usr/sbin/install
2881 # SunOS /usr/etc/install
2882 # IRIX /sbin/install
2883 # AIX /bin/install
2884 # AmigaOS /C/install, which installs bootblocks on floppy discs
2885 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2886 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2887 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2888 # OS/2's system install, which has a completely different semantic
2889 # ./install, which can be erroneously created by make from ./install.sh.
2890 # Reject install programs that cannot install multiple files.
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2892 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2893 if test -z "$INSTALL"; then
2894 if ${ac_cv_path_install+:} false; then :
2895 $as_echo_n "(cached) " >&6
2896 else
2897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2898 for as_dir in $PATH
2900 IFS=$as_save_IFS
2901 test -z "$as_dir" && as_dir=.
2902 # Account for people who put trailing slashes in PATH elements.
2903 case $as_dir/ in #((
2904 ./ | .// | /[cC]/* | \
2905 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2906 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2907 /usr/ucb/* ) ;;
2909 # OSF1 and SCO ODT 3.0 have their own names for install.
2910 # Don't use installbsd from OSF since it installs stuff as root
2911 # by default.
2912 for ac_prog in ginstall scoinst install; do
2913 for ac_exec_ext in '' $ac_executable_extensions; do
2914 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2915 if test $ac_prog = install &&
2916 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2917 # AIX install. It has an incompatible calling convention.
2919 elif test $ac_prog = install &&
2920 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2921 # program-specific install script used by HP pwplus--don't use.
2923 else
2924 rm -rf conftest.one conftest.two conftest.dir
2925 echo one > conftest.one
2926 echo two > conftest.two
2927 mkdir conftest.dir
2928 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2929 test -s conftest.one && test -s conftest.two &&
2930 test -s conftest.dir/conftest.one &&
2931 test -s conftest.dir/conftest.two
2932 then
2933 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2934 break 3
2938 done
2939 done
2941 esac
2943 done
2944 IFS=$as_save_IFS
2946 rm -rf conftest.one conftest.two conftest.dir
2949 if test "${ac_cv_path_install+set}" = set; then
2950 INSTALL=$ac_cv_path_install
2951 else
2952 # As a last resort, use the slow shell script. Don't cache a
2953 # value for INSTALL within a source directory, because that will
2954 # break other packages using the cache if that directory is
2955 # removed, or if the value is a relative name.
2956 INSTALL=$ac_install_sh
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2960 $as_echo "$INSTALL" >&6; }
2962 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2963 # It thinks the first close brace ends the variable substitution.
2964 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2966 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2968 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2970 # checking for ocamlc
2971 if test -n "$ac_tool_prefix"; then
2972 # Extract the first word of "${ac_tool_prefix}ocamlc", so it can be a program name with args.
2973 set dummy ${ac_tool_prefix}ocamlc; ac_word=$2
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2975 $as_echo_n "checking for $ac_word... " >&6; }
2976 if ${ac_cv_prog_OCAMLC+:} false; then :
2977 $as_echo_n "(cached) " >&6
2978 else
2979 if test -n "$OCAMLC"; then
2980 ac_cv_prog_OCAMLC="$OCAMLC" # Let the user override the test.
2981 else
2982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2983 for as_dir in $PATH
2985 IFS=$as_save_IFS
2986 test -z "$as_dir" && as_dir=.
2987 for ac_exec_ext in '' $ac_executable_extensions; do
2988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2989 ac_cv_prog_OCAMLC="${ac_tool_prefix}ocamlc"
2990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2991 break 2
2993 done
2994 done
2995 IFS=$as_save_IFS
2999 OCAMLC=$ac_cv_prog_OCAMLC
3000 if test -n "$OCAMLC"; then
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLC" >&5
3002 $as_echo "$OCAMLC" >&6; }
3003 else
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3005 $as_echo "no" >&6; }
3010 if test -z "$ac_cv_prog_OCAMLC"; then
3011 ac_ct_OCAMLC=$OCAMLC
3012 # Extract the first word of "ocamlc", so it can be a program name with args.
3013 set dummy ocamlc; ac_word=$2
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3015 $as_echo_n "checking for $ac_word... " >&6; }
3016 if ${ac_cv_prog_ac_ct_OCAMLC+:} false; then :
3017 $as_echo_n "(cached) " >&6
3018 else
3019 if test -n "$ac_ct_OCAMLC"; then
3020 ac_cv_prog_ac_ct_OCAMLC="$ac_ct_OCAMLC" # Let the user override the test.
3021 else
3022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3023 for as_dir in $PATH
3025 IFS=$as_save_IFS
3026 test -z "$as_dir" && as_dir=.
3027 for ac_exec_ext in '' $ac_executable_extensions; do
3028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3029 ac_cv_prog_ac_ct_OCAMLC="ocamlc"
3030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3031 break 2
3033 done
3034 done
3035 IFS=$as_save_IFS
3039 ac_ct_OCAMLC=$ac_cv_prog_ac_ct_OCAMLC
3040 if test -n "$ac_ct_OCAMLC"; then
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLC" >&5
3042 $as_echo "$ac_ct_OCAMLC" >&6; }
3043 else
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3045 $as_echo "no" >&6; }
3048 if test "x$ac_ct_OCAMLC" = x; then
3049 OCAMLC="no"
3050 else
3051 case $cross_compiling:$ac_tool_warned in
3052 yes:)
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3055 ac_tool_warned=yes ;;
3056 esac
3057 OCAMLC=$ac_ct_OCAMLC
3059 else
3060 OCAMLC="$ac_cv_prog_OCAMLC"
3064 if test "$OCAMLC" != "no"; then
3065 OCAMLVERSION=`$OCAMLC -v | sed -n -e 's|.*version* *\(.*\)$|\1|p'`
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml version is $OCAMLVERSION" >&5
3067 $as_echo "OCaml version is $OCAMLVERSION" >&6; }
3068 # If OCAMLLIB is set, use it
3069 if test "$OCAMLLIB" = ""; then
3070 OCAMLLIB=`$OCAMLC -where 2>/dev/null || $OCAMLC -v|tail -1|cut -d ' ' -f 4`
3071 else
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCAMLLIB previously set; preserving it." >&5
3073 $as_echo "OCAMLLIB previously set; preserving it." >&6; }
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml library path is $OCAMLLIB" >&5
3076 $as_echo "OCaml library path is $OCAMLLIB" >&6; }
3081 # checking for ocamlopt
3082 if test -n "$ac_tool_prefix"; then
3083 # Extract the first word of "${ac_tool_prefix}ocamlopt", so it can be a program name with args.
3084 set dummy ${ac_tool_prefix}ocamlopt; ac_word=$2
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3086 $as_echo_n "checking for $ac_word... " >&6; }
3087 if ${ac_cv_prog_OCAMLOPT+:} false; then :
3088 $as_echo_n "(cached) " >&6
3089 else
3090 if test -n "$OCAMLOPT"; then
3091 ac_cv_prog_OCAMLOPT="$OCAMLOPT" # Let the user override the test.
3092 else
3093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3094 for as_dir in $PATH
3096 IFS=$as_save_IFS
3097 test -z "$as_dir" && as_dir=.
3098 for ac_exec_ext in '' $ac_executable_extensions; do
3099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3100 ac_cv_prog_OCAMLOPT="${ac_tool_prefix}ocamlopt"
3101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3102 break 2
3104 done
3105 done
3106 IFS=$as_save_IFS
3110 OCAMLOPT=$ac_cv_prog_OCAMLOPT
3111 if test -n "$OCAMLOPT"; then
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPT" >&5
3113 $as_echo "$OCAMLOPT" >&6; }
3114 else
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3116 $as_echo "no" >&6; }
3121 if test -z "$ac_cv_prog_OCAMLOPT"; then
3122 ac_ct_OCAMLOPT=$OCAMLOPT
3123 # Extract the first word of "ocamlopt", so it can be a program name with args.
3124 set dummy ocamlopt; ac_word=$2
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3126 $as_echo_n "checking for $ac_word... " >&6; }
3127 if ${ac_cv_prog_ac_ct_OCAMLOPT+:} false; then :
3128 $as_echo_n "(cached) " >&6
3129 else
3130 if test -n "$ac_ct_OCAMLOPT"; then
3131 ac_cv_prog_ac_ct_OCAMLOPT="$ac_ct_OCAMLOPT" # Let the user override the test.
3132 else
3133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3134 for as_dir in $PATH
3136 IFS=$as_save_IFS
3137 test -z "$as_dir" && as_dir=.
3138 for ac_exec_ext in '' $ac_executable_extensions; do
3139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3140 ac_cv_prog_ac_ct_OCAMLOPT="ocamlopt"
3141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3142 break 2
3144 done
3145 done
3146 IFS=$as_save_IFS
3150 ac_ct_OCAMLOPT=$ac_cv_prog_ac_ct_OCAMLOPT
3151 if test -n "$ac_ct_OCAMLOPT"; then
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPT" >&5
3153 $as_echo "$ac_ct_OCAMLOPT" >&6; }
3154 else
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3156 $as_echo "no" >&6; }
3159 if test "x$ac_ct_OCAMLOPT" = x; then
3160 OCAMLOPT="no"
3161 else
3162 case $cross_compiling:$ac_tool_warned in
3163 yes:)
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3165 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3166 ac_tool_warned=yes ;;
3167 esac
3168 OCAMLOPT=$ac_ct_OCAMLOPT
3170 else
3171 OCAMLOPT="$ac_cv_prog_OCAMLOPT"
3174 OCAMLBEST=byte
3175 if test "$OCAMLOPT" = "no"; then
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find ocamlopt; bytecode compilation only." >&5
3177 $as_echo "$as_me: WARNING: Cannot find ocamlopt; bytecode compilation only." >&2;}
3178 else
3179 TMPVERSION=`$OCAMLOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3180 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlopt discarded." >&5
3182 $as_echo "versions differs from ocamlc; ocamlopt discarded." >&6; }
3183 OCAMLOPT=no
3184 else
3185 OCAMLBEST=opt
3191 # checking for ocamlc.opt
3192 if test -n "$ac_tool_prefix"; then
3193 # Extract the first word of "${ac_tool_prefix}ocamlc.opt", so it can be a program name with args.
3194 set dummy ${ac_tool_prefix}ocamlc.opt; ac_word=$2
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3196 $as_echo_n "checking for $ac_word... " >&6; }
3197 if ${ac_cv_prog_OCAMLCDOTOPT+:} false; then :
3198 $as_echo_n "(cached) " >&6
3199 else
3200 if test -n "$OCAMLCDOTOPT"; then
3201 ac_cv_prog_OCAMLCDOTOPT="$OCAMLCDOTOPT" # Let the user override the test.
3202 else
3203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3204 for as_dir in $PATH
3206 IFS=$as_save_IFS
3207 test -z "$as_dir" && as_dir=.
3208 for ac_exec_ext in '' $ac_executable_extensions; do
3209 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3210 ac_cv_prog_OCAMLCDOTOPT="${ac_tool_prefix}ocamlc.opt"
3211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3212 break 2
3214 done
3215 done
3216 IFS=$as_save_IFS
3220 OCAMLCDOTOPT=$ac_cv_prog_OCAMLCDOTOPT
3221 if test -n "$OCAMLCDOTOPT"; then
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLCDOTOPT" >&5
3223 $as_echo "$OCAMLCDOTOPT" >&6; }
3224 else
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3226 $as_echo "no" >&6; }
3231 if test -z "$ac_cv_prog_OCAMLCDOTOPT"; then
3232 ac_ct_OCAMLCDOTOPT=$OCAMLCDOTOPT
3233 # Extract the first word of "ocamlc.opt", so it can be a program name with args.
3234 set dummy ocamlc.opt; ac_word=$2
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3236 $as_echo_n "checking for $ac_word... " >&6; }
3237 if ${ac_cv_prog_ac_ct_OCAMLCDOTOPT+:} false; then :
3238 $as_echo_n "(cached) " >&6
3239 else
3240 if test -n "$ac_ct_OCAMLCDOTOPT"; then
3241 ac_cv_prog_ac_ct_OCAMLCDOTOPT="$ac_ct_OCAMLCDOTOPT" # Let the user override the test.
3242 else
3243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3244 for as_dir in $PATH
3246 IFS=$as_save_IFS
3247 test -z "$as_dir" && as_dir=.
3248 for ac_exec_ext in '' $ac_executable_extensions; do
3249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3250 ac_cv_prog_ac_ct_OCAMLCDOTOPT="ocamlc.opt"
3251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3252 break 2
3254 done
3255 done
3256 IFS=$as_save_IFS
3260 ac_ct_OCAMLCDOTOPT=$ac_cv_prog_ac_ct_OCAMLCDOTOPT
3261 if test -n "$ac_ct_OCAMLCDOTOPT"; then
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLCDOTOPT" >&5
3263 $as_echo "$ac_ct_OCAMLCDOTOPT" >&6; }
3264 else
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3266 $as_echo "no" >&6; }
3269 if test "x$ac_ct_OCAMLCDOTOPT" = x; then
3270 OCAMLCDOTOPT="no"
3271 else
3272 case $cross_compiling:$ac_tool_warned in
3273 yes:)
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3275 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3276 ac_tool_warned=yes ;;
3277 esac
3278 OCAMLCDOTOPT=$ac_ct_OCAMLCDOTOPT
3280 else
3281 OCAMLCDOTOPT="$ac_cv_prog_OCAMLCDOTOPT"
3284 if test "$OCAMLCDOTOPT" != "no"; then
3285 TMPVERSION=`$OCAMLCDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3286 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlc.opt discarded." >&5
3288 $as_echo "versions differs from ocamlc; ocamlc.opt discarded." >&6; }
3289 else
3290 OCAMLC=$OCAMLCDOTOPT
3294 # checking for ocamlopt.opt
3295 if test "$OCAMLOPT" != "no" ; then
3296 if test -n "$ac_tool_prefix"; then
3297 # Extract the first word of "${ac_tool_prefix}ocamlopt.opt", so it can be a program name with args.
3298 set dummy ${ac_tool_prefix}ocamlopt.opt; ac_word=$2
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3300 $as_echo_n "checking for $ac_word... " >&6; }
3301 if ${ac_cv_prog_OCAMLOPTDOTOPT+:} false; then :
3302 $as_echo_n "(cached) " >&6
3303 else
3304 if test -n "$OCAMLOPTDOTOPT"; then
3305 ac_cv_prog_OCAMLOPTDOTOPT="$OCAMLOPTDOTOPT" # Let the user override the test.
3306 else
3307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3308 for as_dir in $PATH
3310 IFS=$as_save_IFS
3311 test -z "$as_dir" && as_dir=.
3312 for ac_exec_ext in '' $ac_executable_extensions; do
3313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3314 ac_cv_prog_OCAMLOPTDOTOPT="${ac_tool_prefix}ocamlopt.opt"
3315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3316 break 2
3318 done
3319 done
3320 IFS=$as_save_IFS
3324 OCAMLOPTDOTOPT=$ac_cv_prog_OCAMLOPTDOTOPT
3325 if test -n "$OCAMLOPTDOTOPT"; then
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPTDOTOPT" >&5
3327 $as_echo "$OCAMLOPTDOTOPT" >&6; }
3328 else
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3330 $as_echo "no" >&6; }
3335 if test -z "$ac_cv_prog_OCAMLOPTDOTOPT"; then
3336 ac_ct_OCAMLOPTDOTOPT=$OCAMLOPTDOTOPT
3337 # Extract the first word of "ocamlopt.opt", so it can be a program name with args.
3338 set dummy ocamlopt.opt; ac_word=$2
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3340 $as_echo_n "checking for $ac_word... " >&6; }
3341 if ${ac_cv_prog_ac_ct_OCAMLOPTDOTOPT+:} false; then :
3342 $as_echo_n "(cached) " >&6
3343 else
3344 if test -n "$ac_ct_OCAMLOPTDOTOPT"; then
3345 ac_cv_prog_ac_ct_OCAMLOPTDOTOPT="$ac_ct_OCAMLOPTDOTOPT" # Let the user override the test.
3346 else
3347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3348 for as_dir in $PATH
3350 IFS=$as_save_IFS
3351 test -z "$as_dir" && as_dir=.
3352 for ac_exec_ext in '' $ac_executable_extensions; do
3353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3354 ac_cv_prog_ac_ct_OCAMLOPTDOTOPT="ocamlopt.opt"
3355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3356 break 2
3358 done
3359 done
3360 IFS=$as_save_IFS
3364 ac_ct_OCAMLOPTDOTOPT=$ac_cv_prog_ac_ct_OCAMLOPTDOTOPT
3365 if test -n "$ac_ct_OCAMLOPTDOTOPT"; then
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPTDOTOPT" >&5
3367 $as_echo "$ac_ct_OCAMLOPTDOTOPT" >&6; }
3368 else
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3370 $as_echo "no" >&6; }
3373 if test "x$ac_ct_OCAMLOPTDOTOPT" = x; then
3374 OCAMLOPTDOTOPT="no"
3375 else
3376 case $cross_compiling:$ac_tool_warned in
3377 yes:)
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3380 ac_tool_warned=yes ;;
3381 esac
3382 OCAMLOPTDOTOPT=$ac_ct_OCAMLOPTDOTOPT
3384 else
3385 OCAMLOPTDOTOPT="$ac_cv_prog_OCAMLOPTDOTOPT"
3388 if test "$OCAMLOPTDOTOPT" != "no"; then
3389 TMPVERSION=`$OCAMLOPTDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3390 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: version differs from ocamlc; ocamlopt.opt discarded." >&5
3392 $as_echo "version differs from ocamlc; ocamlopt.opt discarded." >&6; }
3393 else
3394 OCAMLOPT=$OCAMLOPTDOTOPT
3404 # checking for ocaml toplevel
3405 if test -n "$ac_tool_prefix"; then
3406 # Extract the first word of "${ac_tool_prefix}ocaml", so it can be a program name with args.
3407 set dummy ${ac_tool_prefix}ocaml; ac_word=$2
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3409 $as_echo_n "checking for $ac_word... " >&6; }
3410 if ${ac_cv_prog_OCAML+:} false; then :
3411 $as_echo_n "(cached) " >&6
3412 else
3413 if test -n "$OCAML"; then
3414 ac_cv_prog_OCAML="$OCAML" # Let the user override the test.
3415 else
3416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3417 for as_dir in $PATH
3419 IFS=$as_save_IFS
3420 test -z "$as_dir" && as_dir=.
3421 for ac_exec_ext in '' $ac_executable_extensions; do
3422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3423 ac_cv_prog_OCAML="${ac_tool_prefix}ocaml"
3424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3425 break 2
3427 done
3428 done
3429 IFS=$as_save_IFS
3433 OCAML=$ac_cv_prog_OCAML
3434 if test -n "$OCAML"; then
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAML" >&5
3436 $as_echo "$OCAML" >&6; }
3437 else
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3439 $as_echo "no" >&6; }
3444 if test -z "$ac_cv_prog_OCAML"; then
3445 ac_ct_OCAML=$OCAML
3446 # Extract the first word of "ocaml", so it can be a program name with args.
3447 set dummy ocaml; ac_word=$2
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3449 $as_echo_n "checking for $ac_word... " >&6; }
3450 if ${ac_cv_prog_ac_ct_OCAML+:} false; then :
3451 $as_echo_n "(cached) " >&6
3452 else
3453 if test -n "$ac_ct_OCAML"; then
3454 ac_cv_prog_ac_ct_OCAML="$ac_ct_OCAML" # Let the user override the test.
3455 else
3456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3457 for as_dir in $PATH
3459 IFS=$as_save_IFS
3460 test -z "$as_dir" && as_dir=.
3461 for ac_exec_ext in '' $ac_executable_extensions; do
3462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3463 ac_cv_prog_ac_ct_OCAML="ocaml"
3464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3465 break 2
3467 done
3468 done
3469 IFS=$as_save_IFS
3473 ac_ct_OCAML=$ac_cv_prog_ac_ct_OCAML
3474 if test -n "$ac_ct_OCAML"; then
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAML" >&5
3476 $as_echo "$ac_ct_OCAML" >&6; }
3477 else
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3479 $as_echo "no" >&6; }
3482 if test "x$ac_ct_OCAML" = x; then
3483 OCAML="no"
3484 else
3485 case $cross_compiling:$ac_tool_warned in
3486 yes:)
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3489 ac_tool_warned=yes ;;
3490 esac
3491 OCAML=$ac_ct_OCAML
3493 else
3494 OCAML="$ac_cv_prog_OCAML"
3498 # checking for ocamldep
3499 if test -n "$ac_tool_prefix"; then
3500 # Extract the first word of "${ac_tool_prefix}ocamldep", so it can be a program name with args.
3501 set dummy ${ac_tool_prefix}ocamldep; ac_word=$2
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3503 $as_echo_n "checking for $ac_word... " >&6; }
3504 if ${ac_cv_prog_OCAMLDEP+:} false; then :
3505 $as_echo_n "(cached) " >&6
3506 else
3507 if test -n "$OCAMLDEP"; then
3508 ac_cv_prog_OCAMLDEP="$OCAMLDEP" # Let the user override the test.
3509 else
3510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3511 for as_dir in $PATH
3513 IFS=$as_save_IFS
3514 test -z "$as_dir" && as_dir=.
3515 for ac_exec_ext in '' $ac_executable_extensions; do
3516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3517 ac_cv_prog_OCAMLDEP="${ac_tool_prefix}ocamldep"
3518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3519 break 2
3521 done
3522 done
3523 IFS=$as_save_IFS
3527 OCAMLDEP=$ac_cv_prog_OCAMLDEP
3528 if test -n "$OCAMLDEP"; then
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDEP" >&5
3530 $as_echo "$OCAMLDEP" >&6; }
3531 else
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3533 $as_echo "no" >&6; }
3538 if test -z "$ac_cv_prog_OCAMLDEP"; then
3539 ac_ct_OCAMLDEP=$OCAMLDEP
3540 # Extract the first word of "ocamldep", so it can be a program name with args.
3541 set dummy ocamldep; ac_word=$2
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3543 $as_echo_n "checking for $ac_word... " >&6; }
3544 if ${ac_cv_prog_ac_ct_OCAMLDEP+:} false; then :
3545 $as_echo_n "(cached) " >&6
3546 else
3547 if test -n "$ac_ct_OCAMLDEP"; then
3548 ac_cv_prog_ac_ct_OCAMLDEP="$ac_ct_OCAMLDEP" # Let the user override the test.
3549 else
3550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3551 for as_dir in $PATH
3553 IFS=$as_save_IFS
3554 test -z "$as_dir" && as_dir=.
3555 for ac_exec_ext in '' $ac_executable_extensions; do
3556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3557 ac_cv_prog_ac_ct_OCAMLDEP="ocamldep"
3558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3559 break 2
3561 done
3562 done
3563 IFS=$as_save_IFS
3567 ac_ct_OCAMLDEP=$ac_cv_prog_ac_ct_OCAMLDEP
3568 if test -n "$ac_ct_OCAMLDEP"; then
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDEP" >&5
3570 $as_echo "$ac_ct_OCAMLDEP" >&6; }
3571 else
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3573 $as_echo "no" >&6; }
3576 if test "x$ac_ct_OCAMLDEP" = x; then
3577 OCAMLDEP="no"
3578 else
3579 case $cross_compiling:$ac_tool_warned in
3580 yes:)
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3583 ac_tool_warned=yes ;;
3584 esac
3585 OCAMLDEP=$ac_ct_OCAMLDEP
3587 else
3588 OCAMLDEP="$ac_cv_prog_OCAMLDEP"
3592 # checking for ocamlmktop
3593 if test -n "$ac_tool_prefix"; then
3594 # Extract the first word of "${ac_tool_prefix}ocamlmktop", so it can be a program name with args.
3595 set dummy ${ac_tool_prefix}ocamlmktop; ac_word=$2
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3597 $as_echo_n "checking for $ac_word... " >&6; }
3598 if ${ac_cv_prog_OCAMLMKTOP+:} false; then :
3599 $as_echo_n "(cached) " >&6
3600 else
3601 if test -n "$OCAMLMKTOP"; then
3602 ac_cv_prog_OCAMLMKTOP="$OCAMLMKTOP" # Let the user override the test.
3603 else
3604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3605 for as_dir in $PATH
3607 IFS=$as_save_IFS
3608 test -z "$as_dir" && as_dir=.
3609 for ac_exec_ext in '' $ac_executable_extensions; do
3610 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3611 ac_cv_prog_OCAMLMKTOP="${ac_tool_prefix}ocamlmktop"
3612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3613 break 2
3615 done
3616 done
3617 IFS=$as_save_IFS
3621 OCAMLMKTOP=$ac_cv_prog_OCAMLMKTOP
3622 if test -n "$OCAMLMKTOP"; then
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKTOP" >&5
3624 $as_echo "$OCAMLMKTOP" >&6; }
3625 else
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3627 $as_echo "no" >&6; }
3632 if test -z "$ac_cv_prog_OCAMLMKTOP"; then
3633 ac_ct_OCAMLMKTOP=$OCAMLMKTOP
3634 # Extract the first word of "ocamlmktop", so it can be a program name with args.
3635 set dummy ocamlmktop; ac_word=$2
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3637 $as_echo_n "checking for $ac_word... " >&6; }
3638 if ${ac_cv_prog_ac_ct_OCAMLMKTOP+:} false; then :
3639 $as_echo_n "(cached) " >&6
3640 else
3641 if test -n "$ac_ct_OCAMLMKTOP"; then
3642 ac_cv_prog_ac_ct_OCAMLMKTOP="$ac_ct_OCAMLMKTOP" # Let the user override the test.
3643 else
3644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3645 for as_dir in $PATH
3647 IFS=$as_save_IFS
3648 test -z "$as_dir" && as_dir=.
3649 for ac_exec_ext in '' $ac_executable_extensions; do
3650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3651 ac_cv_prog_ac_ct_OCAMLMKTOP="ocamlmktop"
3652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3653 break 2
3655 done
3656 done
3657 IFS=$as_save_IFS
3661 ac_ct_OCAMLMKTOP=$ac_cv_prog_ac_ct_OCAMLMKTOP
3662 if test -n "$ac_ct_OCAMLMKTOP"; then
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKTOP" >&5
3664 $as_echo "$ac_ct_OCAMLMKTOP" >&6; }
3665 else
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3667 $as_echo "no" >&6; }
3670 if test "x$ac_ct_OCAMLMKTOP" = x; then
3671 OCAMLMKTOP="no"
3672 else
3673 case $cross_compiling:$ac_tool_warned in
3674 yes:)
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3676 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3677 ac_tool_warned=yes ;;
3678 esac
3679 OCAMLMKTOP=$ac_ct_OCAMLMKTOP
3681 else
3682 OCAMLMKTOP="$ac_cv_prog_OCAMLMKTOP"
3686 # checking for ocamlmklib
3687 if test -n "$ac_tool_prefix"; then
3688 # Extract the first word of "${ac_tool_prefix}ocamlmklib", so it can be a program name with args.
3689 set dummy ${ac_tool_prefix}ocamlmklib; ac_word=$2
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3691 $as_echo_n "checking for $ac_word... " >&6; }
3692 if ${ac_cv_prog_OCAMLMKLIB+:} false; then :
3693 $as_echo_n "(cached) " >&6
3694 else
3695 if test -n "$OCAMLMKLIB"; then
3696 ac_cv_prog_OCAMLMKLIB="$OCAMLMKLIB" # Let the user override the test.
3697 else
3698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3699 for as_dir in $PATH
3701 IFS=$as_save_IFS
3702 test -z "$as_dir" && as_dir=.
3703 for ac_exec_ext in '' $ac_executable_extensions; do
3704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3705 ac_cv_prog_OCAMLMKLIB="${ac_tool_prefix}ocamlmklib"
3706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3707 break 2
3709 done
3710 done
3711 IFS=$as_save_IFS
3715 OCAMLMKLIB=$ac_cv_prog_OCAMLMKLIB
3716 if test -n "$OCAMLMKLIB"; then
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKLIB" >&5
3718 $as_echo "$OCAMLMKLIB" >&6; }
3719 else
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3721 $as_echo "no" >&6; }
3726 if test -z "$ac_cv_prog_OCAMLMKLIB"; then
3727 ac_ct_OCAMLMKLIB=$OCAMLMKLIB
3728 # Extract the first word of "ocamlmklib", so it can be a program name with args.
3729 set dummy ocamlmklib; ac_word=$2
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3731 $as_echo_n "checking for $ac_word... " >&6; }
3732 if ${ac_cv_prog_ac_ct_OCAMLMKLIB+:} false; then :
3733 $as_echo_n "(cached) " >&6
3734 else
3735 if test -n "$ac_ct_OCAMLMKLIB"; then
3736 ac_cv_prog_ac_ct_OCAMLMKLIB="$ac_ct_OCAMLMKLIB" # Let the user override the test.
3737 else
3738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3739 for as_dir in $PATH
3741 IFS=$as_save_IFS
3742 test -z "$as_dir" && as_dir=.
3743 for ac_exec_ext in '' $ac_executable_extensions; do
3744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3745 ac_cv_prog_ac_ct_OCAMLMKLIB="ocamlmklib"
3746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3747 break 2
3749 done
3750 done
3751 IFS=$as_save_IFS
3755 ac_ct_OCAMLMKLIB=$ac_cv_prog_ac_ct_OCAMLMKLIB
3756 if test -n "$ac_ct_OCAMLMKLIB"; then
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKLIB" >&5
3758 $as_echo "$ac_ct_OCAMLMKLIB" >&6; }
3759 else
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3761 $as_echo "no" >&6; }
3764 if test "x$ac_ct_OCAMLMKLIB" = x; then
3765 OCAMLMKLIB="no"
3766 else
3767 case $cross_compiling:$ac_tool_warned in
3768 yes:)
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3770 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3771 ac_tool_warned=yes ;;
3772 esac
3773 OCAMLMKLIB=$ac_ct_OCAMLMKLIB
3775 else
3776 OCAMLMKLIB="$ac_cv_prog_OCAMLMKLIB"
3780 # checking for ocamldoc
3781 if test -n "$ac_tool_prefix"; then
3782 # Extract the first word of "${ac_tool_prefix}ocamldoc", so it can be a program name with args.
3783 set dummy ${ac_tool_prefix}ocamldoc; ac_word=$2
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3785 $as_echo_n "checking for $ac_word... " >&6; }
3786 if ${ac_cv_prog_OCAMLDOC+:} false; then :
3787 $as_echo_n "(cached) " >&6
3788 else
3789 if test -n "$OCAMLDOC"; then
3790 ac_cv_prog_OCAMLDOC="$OCAMLDOC" # Let the user override the test.
3791 else
3792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3793 for as_dir in $PATH
3795 IFS=$as_save_IFS
3796 test -z "$as_dir" && as_dir=.
3797 for ac_exec_ext in '' $ac_executable_extensions; do
3798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3799 ac_cv_prog_OCAMLDOC="${ac_tool_prefix}ocamldoc"
3800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3801 break 2
3803 done
3804 done
3805 IFS=$as_save_IFS
3809 OCAMLDOC=$ac_cv_prog_OCAMLDOC
3810 if test -n "$OCAMLDOC"; then
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDOC" >&5
3812 $as_echo "$OCAMLDOC" >&6; }
3813 else
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3815 $as_echo "no" >&6; }
3820 if test -z "$ac_cv_prog_OCAMLDOC"; then
3821 ac_ct_OCAMLDOC=$OCAMLDOC
3822 # Extract the first word of "ocamldoc", so it can be a program name with args.
3823 set dummy ocamldoc; ac_word=$2
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3825 $as_echo_n "checking for $ac_word... " >&6; }
3826 if ${ac_cv_prog_ac_ct_OCAMLDOC+:} false; then :
3827 $as_echo_n "(cached) " >&6
3828 else
3829 if test -n "$ac_ct_OCAMLDOC"; then
3830 ac_cv_prog_ac_ct_OCAMLDOC="$ac_ct_OCAMLDOC" # Let the user override the test.
3831 else
3832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3833 for as_dir in $PATH
3835 IFS=$as_save_IFS
3836 test -z "$as_dir" && as_dir=.
3837 for ac_exec_ext in '' $ac_executable_extensions; do
3838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3839 ac_cv_prog_ac_ct_OCAMLDOC="ocamldoc"
3840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3841 break 2
3843 done
3844 done
3845 IFS=$as_save_IFS
3849 ac_ct_OCAMLDOC=$ac_cv_prog_ac_ct_OCAMLDOC
3850 if test -n "$ac_ct_OCAMLDOC"; then
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDOC" >&5
3852 $as_echo "$ac_ct_OCAMLDOC" >&6; }
3853 else
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3855 $as_echo "no" >&6; }
3858 if test "x$ac_ct_OCAMLDOC" = x; then
3859 OCAMLDOC="no"
3860 else
3861 case $cross_compiling:$ac_tool_warned in
3862 yes:)
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3864 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3865 ac_tool_warned=yes ;;
3866 esac
3867 OCAMLDOC=$ac_ct_OCAMLDOC
3869 else
3870 OCAMLDOC="$ac_cv_prog_OCAMLDOC"
3874 # checking for ocamlbuild
3875 if test -n "$ac_tool_prefix"; then
3876 # Extract the first word of "${ac_tool_prefix}ocamlbuild", so it can be a program name with args.
3877 set dummy ${ac_tool_prefix}ocamlbuild; ac_word=$2
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3879 $as_echo_n "checking for $ac_word... " >&6; }
3880 if ${ac_cv_prog_OCAMLBUILD+:} false; then :
3881 $as_echo_n "(cached) " >&6
3882 else
3883 if test -n "$OCAMLBUILD"; then
3884 ac_cv_prog_OCAMLBUILD="$OCAMLBUILD" # Let the user override the test.
3885 else
3886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3887 for as_dir in $PATH
3889 IFS=$as_save_IFS
3890 test -z "$as_dir" && as_dir=.
3891 for ac_exec_ext in '' $ac_executable_extensions; do
3892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3893 ac_cv_prog_OCAMLBUILD="${ac_tool_prefix}ocamlbuild"
3894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3895 break 2
3897 done
3898 done
3899 IFS=$as_save_IFS
3903 OCAMLBUILD=$ac_cv_prog_OCAMLBUILD
3904 if test -n "$OCAMLBUILD"; then
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLBUILD" >&5
3906 $as_echo "$OCAMLBUILD" >&6; }
3907 else
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3909 $as_echo "no" >&6; }
3914 if test -z "$ac_cv_prog_OCAMLBUILD"; then
3915 ac_ct_OCAMLBUILD=$OCAMLBUILD
3916 # Extract the first word of "ocamlbuild", so it can be a program name with args.
3917 set dummy ocamlbuild; ac_word=$2
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3919 $as_echo_n "checking for $ac_word... " >&6; }
3920 if ${ac_cv_prog_ac_ct_OCAMLBUILD+:} false; then :
3921 $as_echo_n "(cached) " >&6
3922 else
3923 if test -n "$ac_ct_OCAMLBUILD"; then
3924 ac_cv_prog_ac_ct_OCAMLBUILD="$ac_ct_OCAMLBUILD" # Let the user override the test.
3925 else
3926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3927 for as_dir in $PATH
3929 IFS=$as_save_IFS
3930 test -z "$as_dir" && as_dir=.
3931 for ac_exec_ext in '' $ac_executable_extensions; do
3932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3933 ac_cv_prog_ac_ct_OCAMLBUILD="ocamlbuild"
3934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3935 break 2
3937 done
3938 done
3939 IFS=$as_save_IFS
3943 ac_ct_OCAMLBUILD=$ac_cv_prog_ac_ct_OCAMLBUILD
3944 if test -n "$ac_ct_OCAMLBUILD"; then
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLBUILD" >&5
3946 $as_echo "$ac_ct_OCAMLBUILD" >&6; }
3947 else
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3949 $as_echo "no" >&6; }
3952 if test "x$ac_ct_OCAMLBUILD" = x; then
3953 OCAMLBUILD="no"
3954 else
3955 case $cross_compiling:$ac_tool_warned in
3956 yes:)
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3959 ac_tool_warned=yes ;;
3960 esac
3961 OCAMLBUILD=$ac_ct_OCAMLBUILD
3963 else
3964 OCAMLBUILD="$ac_cv_prog_OCAMLBUILD"
3969 # checking for ocamlfind
3970 if test -n "$ac_tool_prefix"; then
3971 # Extract the first word of "${ac_tool_prefix}ocamlfind", so it can be a program name with args.
3972 set dummy ${ac_tool_prefix}ocamlfind; ac_word=$2
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3974 $as_echo_n "checking for $ac_word... " >&6; }
3975 if ${ac_cv_prog_OCAMLFIND+:} false; then :
3976 $as_echo_n "(cached) " >&6
3977 else
3978 if test -n "$OCAMLFIND"; then
3979 ac_cv_prog_OCAMLFIND="$OCAMLFIND" # Let the user override the test.
3980 else
3981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3982 for as_dir in $PATH
3984 IFS=$as_save_IFS
3985 test -z "$as_dir" && as_dir=.
3986 for ac_exec_ext in '' $ac_executable_extensions; do
3987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3988 ac_cv_prog_OCAMLFIND="${ac_tool_prefix}ocamlfind"
3989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3990 break 2
3992 done
3993 done
3994 IFS=$as_save_IFS
3998 OCAMLFIND=$ac_cv_prog_OCAMLFIND
3999 if test -n "$OCAMLFIND"; then
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLFIND" >&5
4001 $as_echo "$OCAMLFIND" >&6; }
4002 else
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4004 $as_echo "no" >&6; }
4009 if test -z "$ac_cv_prog_OCAMLFIND"; then
4010 ac_ct_OCAMLFIND=$OCAMLFIND
4011 # Extract the first word of "ocamlfind", so it can be a program name with args.
4012 set dummy ocamlfind; ac_word=$2
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4014 $as_echo_n "checking for $ac_word... " >&6; }
4015 if ${ac_cv_prog_ac_ct_OCAMLFIND+:} false; then :
4016 $as_echo_n "(cached) " >&6
4017 else
4018 if test -n "$ac_ct_OCAMLFIND"; then
4019 ac_cv_prog_ac_ct_OCAMLFIND="$ac_ct_OCAMLFIND" # Let the user override the test.
4020 else
4021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4022 for as_dir in $PATH
4024 IFS=$as_save_IFS
4025 test -z "$as_dir" && as_dir=.
4026 for ac_exec_ext in '' $ac_executable_extensions; do
4027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4028 ac_cv_prog_ac_ct_OCAMLFIND="ocamlfind"
4029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4030 break 2
4032 done
4033 done
4034 IFS=$as_save_IFS
4038 ac_ct_OCAMLFIND=$ac_cv_prog_ac_ct_OCAMLFIND
4039 if test -n "$ac_ct_OCAMLFIND"; then
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLFIND" >&5
4041 $as_echo "$ac_ct_OCAMLFIND" >&6; }
4042 else
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4044 $as_echo "no" >&6; }
4047 if test "x$ac_ct_OCAMLFIND" = x; then
4048 OCAMLFIND="no"
4049 else
4050 case $cross_compiling:$ac_tool_warned in
4051 yes:)
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4054 ac_tool_warned=yes ;;
4055 esac
4056 OCAMLFIND=$ac_ct_OCAMLFIND
4058 else
4059 OCAMLFIND="$ac_cv_prog_OCAMLFIND"
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package lwt" >&5
4067 $as_echo_n "checking for OCaml findlib package lwt... " >&6; }
4069 unset found
4070 unset pkg
4071 found=no
4072 for pkg in lwt ; do
4073 if $OCAMLFIND query $pkg >/dev/null 2>/dev/null; then
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
4075 $as_echo "found" >&6; }
4076 OCAML_PKG_lwt=$pkg
4077 found=yes
4078 break
4080 done
4081 if test "$found" = "no" ; then
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
4083 $as_echo "not found" >&6; }
4084 OCAML_PKG_lwt=no
4090 INSTALLDIR=$OCAMLLIB/curl
4092 if test "x$prefix" = xNONE; then
4093 $as_echo_n "checking for prefix by " >&6
4094 # Extract the first word of "ocamlc", so it can be a program name with args.
4095 set dummy ocamlc; ac_word=$2
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4097 $as_echo_n "checking for $ac_word... " >&6; }
4098 if ${ac_cv_path_ac_prefix_program+:} false; then :
4099 $as_echo_n "(cached) " >&6
4100 else
4101 case $ac_prefix_program in
4102 [\\/]* | ?:[\\/]*)
4103 ac_cv_path_ac_prefix_program="$ac_prefix_program" # Let the user override the test with a path.
4106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4107 for as_dir in $PATH
4109 IFS=$as_save_IFS
4110 test -z "$as_dir" && as_dir=.
4111 for ac_exec_ext in '' $ac_executable_extensions; do
4112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4113 ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
4114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4115 break 2
4117 done
4118 done
4119 IFS=$as_save_IFS
4122 esac
4124 ac_prefix_program=$ac_cv_path_ac_prefix_program
4125 if test -n "$ac_prefix_program"; then
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prefix_program" >&5
4127 $as_echo "$ac_prefix_program" >&6; }
4128 else
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4130 $as_echo "no" >&6; }
4134 if test -n "$ac_prefix_program"; then
4135 prefix=`$as_dirname -- "$ac_prefix_program" ||
4136 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4137 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
4138 X"$ac_prefix_program" : 'X\(//\)$' \| \
4139 X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
4140 $as_echo X"$ac_prefix_program" |
4141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4142 s//\1/
4145 /^X\(\/\/\)[^/].*/{
4146 s//\1/
4149 /^X\(\/\/\)$/{
4150 s//\1/
4153 /^X\(\/\).*/{
4154 s//\1/
4157 s/.*/./; q'`
4158 prefix=`$as_dirname -- "$prefix" ||
4159 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4160 X"$prefix" : 'X\(//\)[^/]' \| \
4161 X"$prefix" : 'X\(//\)$' \| \
4162 X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
4163 $as_echo X"$prefix" |
4164 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4165 s//\1/
4168 /^X\(\/\/\)[^/].*/{
4169 s//\1/
4172 /^X\(\/\/\)$/{
4173 s//\1/
4176 /^X\(\/\).*/{
4177 s//\1/
4180 s/.*/./; q'`
4191 if test "$OCAMLFIND" == "no"; then :
4192 $OCAMLC -I +compiler-libs ocamlcommon.cma print_ext.ml -o print_ext
4193 else
4194 $OCAMLFIND c -linkpkg -package compiler-libs.common print_ext.ml -o print_ext
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext_dll" >&5
4198 $as_echo_n "checking for ext_dll... " >&6; }
4199 EXT_DLL=`./print_ext dll || $OCAMLC -config | fgrep ext_dll | sed -e "s/.*: //"`
4200 if test "$?" -eq 0 ; then :
4202 else
4203 as_fn_error $? "failed" "$LINENO" 5
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXT_DLL" >&5
4206 $as_echo "$EXT_DLL" >&6; }
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext_lib" >&5
4209 $as_echo_n "checking for ext_lib... " >&6; }
4210 EXT_LIB=`./print_ext lib || $OCAMLC -config | fgrep ext_lib | sed -e "s/.*: //"`
4211 if test "$?" -eq 0 ; then :
4213 else
4214 as_fn_error $? "failed" "$LINENO" 5
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXT_LIB" >&5
4217 $as_echo "$EXT_LIB" >&6; }
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext_obj" >&5
4220 $as_echo_n "checking for ext_obj... " >&6; }
4221 EXT_OBJ=`./print_ext obj || $OCAMLC -config | fgrep ext_obj | sed -e "s/.*: //"`
4222 if test "$?" -eq 0 ; then :
4224 else
4225 as_fn_error $? "failed" "$LINENO" 5
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXT_OBJ" >&5
4228 $as_echo "$EXT_OBJ" >&6; }
4234 # set CFLAGS for tests below
4235 CFLAGS="$CFLAGS $CURLCFLAGS"
4238 ac_ext=c
4239 ac_cpp='$CPP $CPPFLAGS'
4240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4244 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4245 # On Suns, sometimes $CPP names a directory.
4246 if test -n "$CPP" && test -d "$CPP"; then
4247 CPP=
4249 if test -z "$CPP"; then
4250 if ${ac_cv_prog_CPP+:} false; then :
4251 $as_echo_n "(cached) " >&6
4252 else
4253 # Double quotes because CPP needs to be expanded
4254 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4256 ac_preproc_ok=false
4257 for ac_c_preproc_warn_flag in '' yes
4259 # Use a header file that comes with gcc, so configuring glibc
4260 # with a fresh cross-compiler works.
4261 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4262 # <limits.h> exists even on freestanding compilers.
4263 # On the NeXT, cc -E runs the code through the compiler's parser,
4264 # not just through cpp. "Syntax error" is here to catch this case.
4265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4266 /* end confdefs.h. */
4267 #ifdef __STDC__
4268 # include <limits.h>
4269 #else
4270 # include <assert.h>
4271 #endif
4272 Syntax error
4273 _ACEOF
4274 if ac_fn_c_try_cpp "$LINENO"; then :
4276 else
4277 # Broken: fails on valid input.
4278 continue
4280 rm -f conftest.err conftest.i conftest.$ac_ext
4282 # OK, works on sane cases. Now check whether nonexistent headers
4283 # can be detected and how.
4284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4285 /* end confdefs.h. */
4286 #include <ac_nonexistent.h>
4287 _ACEOF
4288 if ac_fn_c_try_cpp "$LINENO"; then :
4289 # Broken: success on invalid input.
4290 continue
4291 else
4292 # Passes both tests.
4293 ac_preproc_ok=:
4294 break
4296 rm -f conftest.err conftest.i conftest.$ac_ext
4298 done
4299 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4300 rm -f conftest.i conftest.err conftest.$ac_ext
4301 if $ac_preproc_ok; then :
4302 break
4305 done
4306 ac_cv_prog_CPP=$CPP
4309 CPP=$ac_cv_prog_CPP
4310 else
4311 ac_cv_prog_CPP=$CPP
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4314 $as_echo "$CPP" >&6; }
4315 ac_preproc_ok=false
4316 for ac_c_preproc_warn_flag in '' yes
4318 # Use a header file that comes with gcc, so configuring glibc
4319 # with a fresh cross-compiler works.
4320 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4321 # <limits.h> exists even on freestanding compilers.
4322 # On the NeXT, cc -E runs the code through the compiler's parser,
4323 # not just through cpp. "Syntax error" is here to catch this case.
4324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4325 /* end confdefs.h. */
4326 #ifdef __STDC__
4327 # include <limits.h>
4328 #else
4329 # include <assert.h>
4330 #endif
4331 Syntax error
4332 _ACEOF
4333 if ac_fn_c_try_cpp "$LINENO"; then :
4335 else
4336 # Broken: fails on valid input.
4337 continue
4339 rm -f conftest.err conftest.i conftest.$ac_ext
4341 # OK, works on sane cases. Now check whether nonexistent headers
4342 # can be detected and how.
4343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4344 /* end confdefs.h. */
4345 #include <ac_nonexistent.h>
4346 _ACEOF
4347 if ac_fn_c_try_cpp "$LINENO"; then :
4348 # Broken: success on invalid input.
4349 continue
4350 else
4351 # Passes both tests.
4352 ac_preproc_ok=:
4353 break
4355 rm -f conftest.err conftest.i conftest.$ac_ext
4357 done
4358 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4359 rm -f conftest.i conftest.err conftest.$ac_ext
4360 if $ac_preproc_ok; then :
4362 else
4363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4365 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4366 See \`config.log' for more details" "$LINENO" 5; }
4369 ac_ext=c
4370 ac_cpp='$CPP $CPPFLAGS'
4371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4377 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4378 if ${ac_cv_path_GREP+:} false; then :
4379 $as_echo_n "(cached) " >&6
4380 else
4381 if test -z "$GREP"; then
4382 ac_path_GREP_found=false
4383 # Loop through the user's path and test for each of PROGNAME-LIST
4384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4385 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4387 IFS=$as_save_IFS
4388 test -z "$as_dir" && as_dir=.
4389 for ac_prog in grep ggrep; do
4390 for ac_exec_ext in '' $ac_executable_extensions; do
4391 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4392 as_fn_executable_p "$ac_path_GREP" || continue
4393 # Check for GNU ac_path_GREP and select it if it is found.
4394 # Check for GNU $ac_path_GREP
4395 case `"$ac_path_GREP" --version 2>&1` in
4396 *GNU*)
4397 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4399 ac_count=0
4400 $as_echo_n 0123456789 >"conftest.in"
4401 while :
4403 cat "conftest.in" "conftest.in" >"conftest.tmp"
4404 mv "conftest.tmp" "conftest.in"
4405 cp "conftest.in" "conftest.nl"
4406 $as_echo 'GREP' >> "conftest.nl"
4407 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4408 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4409 as_fn_arith $ac_count + 1 && ac_count=$as_val
4410 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4411 # Best one so far, save it but keep looking for a better one
4412 ac_cv_path_GREP="$ac_path_GREP"
4413 ac_path_GREP_max=$ac_count
4415 # 10*(2^10) chars as input seems more than enough
4416 test $ac_count -gt 10 && break
4417 done
4418 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4419 esac
4421 $ac_path_GREP_found && break 3
4422 done
4423 done
4424 done
4425 IFS=$as_save_IFS
4426 if test -z "$ac_cv_path_GREP"; then
4427 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4429 else
4430 ac_cv_path_GREP=$GREP
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4435 $as_echo "$ac_cv_path_GREP" >&6; }
4436 GREP="$ac_cv_path_GREP"
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4440 $as_echo_n "checking for egrep... " >&6; }
4441 if ${ac_cv_path_EGREP+:} false; then :
4442 $as_echo_n "(cached) " >&6
4443 else
4444 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4445 then ac_cv_path_EGREP="$GREP -E"
4446 else
4447 if test -z "$EGREP"; then
4448 ac_path_EGREP_found=false
4449 # Loop through the user's path and test for each of PROGNAME-LIST
4450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4451 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4453 IFS=$as_save_IFS
4454 test -z "$as_dir" && as_dir=.
4455 for ac_prog in egrep; do
4456 for ac_exec_ext in '' $ac_executable_extensions; do
4457 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4458 as_fn_executable_p "$ac_path_EGREP" || continue
4459 # Check for GNU ac_path_EGREP and select it if it is found.
4460 # Check for GNU $ac_path_EGREP
4461 case `"$ac_path_EGREP" --version 2>&1` in
4462 *GNU*)
4463 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4465 ac_count=0
4466 $as_echo_n 0123456789 >"conftest.in"
4467 while :
4469 cat "conftest.in" "conftest.in" >"conftest.tmp"
4470 mv "conftest.tmp" "conftest.in"
4471 cp "conftest.in" "conftest.nl"
4472 $as_echo 'EGREP' >> "conftest.nl"
4473 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4474 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4475 as_fn_arith $ac_count + 1 && ac_count=$as_val
4476 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4477 # Best one so far, save it but keep looking for a better one
4478 ac_cv_path_EGREP="$ac_path_EGREP"
4479 ac_path_EGREP_max=$ac_count
4481 # 10*(2^10) chars as input seems more than enough
4482 test $ac_count -gt 10 && break
4483 done
4484 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4485 esac
4487 $ac_path_EGREP_found && break 3
4488 done
4489 done
4490 done
4491 IFS=$as_save_IFS
4492 if test -z "$ac_cv_path_EGREP"; then
4493 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4495 else
4496 ac_cv_path_EGREP=$EGREP
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4502 $as_echo "$ac_cv_path_EGREP" >&6; }
4503 EGREP="$ac_cv_path_EGREP"
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4507 $as_echo_n "checking for ANSI C header files... " >&6; }
4508 if ${ac_cv_header_stdc+:} false; then :
4509 $as_echo_n "(cached) " >&6
4510 else
4511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4512 /* end confdefs.h. */
4513 #include <stdlib.h>
4514 #include <stdarg.h>
4515 #include <string.h>
4516 #include <float.h>
4519 main ()
4523 return 0;
4525 _ACEOF
4526 if ac_fn_c_try_compile "$LINENO"; then :
4527 ac_cv_header_stdc=yes
4528 else
4529 ac_cv_header_stdc=no
4531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4533 if test $ac_cv_header_stdc = yes; then
4534 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h. */
4537 #include <string.h>
4539 _ACEOF
4540 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4541 $EGREP "memchr" >/dev/null 2>&1; then :
4543 else
4544 ac_cv_header_stdc=no
4546 rm -f conftest*
4550 if test $ac_cv_header_stdc = yes; then
4551 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4553 /* end confdefs.h. */
4554 #include <stdlib.h>
4556 _ACEOF
4557 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4558 $EGREP "free" >/dev/null 2>&1; then :
4560 else
4561 ac_cv_header_stdc=no
4563 rm -f conftest*
4567 if test $ac_cv_header_stdc = yes; then
4568 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4569 if test "$cross_compiling" = yes; then :
4571 else
4572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4573 /* end confdefs.h. */
4574 #include <ctype.h>
4575 #include <stdlib.h>
4576 #if ((' ' & 0x0FF) == 0x020)
4577 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4578 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4579 #else
4580 # define ISLOWER(c) \
4581 (('a' <= (c) && (c) <= 'i') \
4582 || ('j' <= (c) && (c) <= 'r') \
4583 || ('s' <= (c) && (c) <= 'z'))
4584 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4585 #endif
4587 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4589 main ()
4591 int i;
4592 for (i = 0; i < 256; i++)
4593 if (XOR (islower (i), ISLOWER (i))
4594 || toupper (i) != TOUPPER (i))
4595 return 2;
4596 return 0;
4598 _ACEOF
4599 if ac_fn_c_try_run "$LINENO"; then :
4601 else
4602 ac_cv_header_stdc=no
4604 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4605 conftest.$ac_objext conftest.beam conftest.$ac_ext
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4611 $as_echo "$ac_cv_header_stdc" >&6; }
4612 if test $ac_cv_header_stdc = yes; then
4614 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4618 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4619 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4620 inttypes.h stdint.h unistd.h
4621 do :
4622 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4623 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4625 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4626 cat >>confdefs.h <<_ACEOF
4627 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4628 _ACEOF
4632 done
4635 for ac_header in curl/curl.h
4636 do :
4637 ac_fn_c_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
4638 if test "x$ac_cv_header_curl_curl_h" = xyes; then :
4639 cat >>confdefs.h <<_ACEOF
4640 #define HAVE_CURL_CURL_H 1
4641 _ACEOF
4643 else
4644 as_fn_error $? "libcurl header file missing" "$LINENO" 5
4647 done
4650 ac_fn_c_check_decl "$LINENO" "CURLMOPT_TIMERFUNCTION" "ac_cv_have_decl_CURLMOPT_TIMERFUNCTION" "
4651 #include \"curl/curl.h\"
4654 if test "x$ac_cv_have_decl_CURLMOPT_TIMERFUNCTION" = xyes; then :
4655 ac_have_decl=1
4656 else
4657 ac_have_decl=0
4660 cat >>confdefs.h <<_ACEOF
4661 #define HAVE_DECL_CURLMOPT_TIMERFUNCTION $ac_have_decl
4662 _ACEOF
4663 if test $ac_have_decl = 1; then :
4665 else
4666 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4668 ac_fn_c_check_decl "$LINENO" "CURLMOPT_TIMERDATA" "ac_cv_have_decl_CURLMOPT_TIMERDATA" "
4669 #include \"curl/curl.h\"
4672 if test "x$ac_cv_have_decl_CURLMOPT_TIMERDATA" = xyes; then :
4673 ac_have_decl=1
4674 else
4675 ac_have_decl=0
4678 cat >>confdefs.h <<_ACEOF
4679 #define HAVE_DECL_CURLMOPT_TIMERDATA $ac_have_decl
4680 _ACEOF
4681 if test $ac_have_decl = 1; then :
4683 else
4684 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4686 ac_fn_c_check_decl "$LINENO" "CURLMOPT_SOCKETFUNCTION" "ac_cv_have_decl_CURLMOPT_SOCKETFUNCTION" "
4687 #include \"curl/curl.h\"
4690 if test "x$ac_cv_have_decl_CURLMOPT_SOCKETFUNCTION" = xyes; then :
4691 ac_have_decl=1
4692 else
4693 ac_have_decl=0
4696 cat >>confdefs.h <<_ACEOF
4697 #define HAVE_DECL_CURLMOPT_SOCKETFUNCTION $ac_have_decl
4698 _ACEOF
4699 if test $ac_have_decl = 1; then :
4701 else
4702 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4704 ac_fn_c_check_decl "$LINENO" "CURLMOPT_SOCKETDATA" "ac_cv_have_decl_CURLMOPT_SOCKETDATA" "
4705 #include \"curl/curl.h\"
4708 if test "x$ac_cv_have_decl_CURLMOPT_SOCKETDATA" = xyes; then :
4709 ac_have_decl=1
4710 else
4711 ac_have_decl=0
4714 cat >>confdefs.h <<_ACEOF
4715 #define HAVE_DECL_CURLMOPT_SOCKETDATA $ac_have_decl
4716 _ACEOF
4717 if test $ac_have_decl = 1; then :
4719 else
4720 as_fn_error $? "multi API is too old, need libcurl >= 7.16.0" "$LINENO" 5
4724 ac_fn_c_check_decl "$LINENO" "CURLOPT_FILE" "ac_cv_have_decl_CURLOPT_FILE" "
4725 #include \"curl/curl.h\"
4728 if test "x$ac_cv_have_decl_CURLOPT_FILE" = xyes; then :
4729 ac_have_decl=1
4730 else
4731 ac_have_decl=0
4734 cat >>confdefs.h <<_ACEOF
4735 #define HAVE_DECL_CURLOPT_FILE $ac_have_decl
4736 _ACEOF
4737 ac_fn_c_check_decl "$LINENO" "CURLOPT_URL" "ac_cv_have_decl_CURLOPT_URL" "
4738 #include \"curl/curl.h\"
4741 if test "x$ac_cv_have_decl_CURLOPT_URL" = xyes; then :
4742 ac_have_decl=1
4743 else
4744 ac_have_decl=0
4747 cat >>confdefs.h <<_ACEOF
4748 #define HAVE_DECL_CURLOPT_URL $ac_have_decl
4749 _ACEOF
4750 ac_fn_c_check_decl "$LINENO" "CURLOPT_PORT" "ac_cv_have_decl_CURLOPT_PORT" "
4751 #include \"curl/curl.h\"
4754 if test "x$ac_cv_have_decl_CURLOPT_PORT" = xyes; then :
4755 ac_have_decl=1
4756 else
4757 ac_have_decl=0
4760 cat >>confdefs.h <<_ACEOF
4761 #define HAVE_DECL_CURLOPT_PORT $ac_have_decl
4762 _ACEOF
4763 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXY" "ac_cv_have_decl_CURLOPT_PROXY" "
4764 #include \"curl/curl.h\"
4767 if test "x$ac_cv_have_decl_CURLOPT_PROXY" = xyes; then :
4768 ac_have_decl=1
4769 else
4770 ac_have_decl=0
4773 cat >>confdefs.h <<_ACEOF
4774 #define HAVE_DECL_CURLOPT_PROXY $ac_have_decl
4775 _ACEOF
4776 ac_fn_c_check_decl "$LINENO" "CURLOPT_USERPWD" "ac_cv_have_decl_CURLOPT_USERPWD" "
4777 #include \"curl/curl.h\"
4780 if test "x$ac_cv_have_decl_CURLOPT_USERPWD" = xyes; then :
4781 ac_have_decl=1
4782 else
4783 ac_have_decl=0
4786 cat >>confdefs.h <<_ACEOF
4787 #define HAVE_DECL_CURLOPT_USERPWD $ac_have_decl
4788 _ACEOF
4789 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYUSERPWD" "ac_cv_have_decl_CURLOPT_PROXYUSERPWD" "
4790 #include \"curl/curl.h\"
4793 if test "x$ac_cv_have_decl_CURLOPT_PROXYUSERPWD" = xyes; then :
4794 ac_have_decl=1
4795 else
4796 ac_have_decl=0
4799 cat >>confdefs.h <<_ACEOF
4800 #define HAVE_DECL_CURLOPT_PROXYUSERPWD $ac_have_decl
4801 _ACEOF
4802 ac_fn_c_check_decl "$LINENO" "CURLOPT_RANGE" "ac_cv_have_decl_CURLOPT_RANGE" "
4803 #include \"curl/curl.h\"
4806 if test "x$ac_cv_have_decl_CURLOPT_RANGE" = xyes; then :
4807 ac_have_decl=1
4808 else
4809 ac_have_decl=0
4812 cat >>confdefs.h <<_ACEOF
4813 #define HAVE_DECL_CURLOPT_RANGE $ac_have_decl
4814 _ACEOF
4815 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILE" "ac_cv_have_decl_CURLOPT_INFILE" "
4816 #include \"curl/curl.h\"
4819 if test "x$ac_cv_have_decl_CURLOPT_INFILE" = xyes; then :
4820 ac_have_decl=1
4821 else
4822 ac_have_decl=0
4825 cat >>confdefs.h <<_ACEOF
4826 #define HAVE_DECL_CURLOPT_INFILE $ac_have_decl
4827 _ACEOF
4828 ac_fn_c_check_decl "$LINENO" "CURLOPT_ERRORBUFFER" "ac_cv_have_decl_CURLOPT_ERRORBUFFER" "
4829 #include \"curl/curl.h\"
4832 if test "x$ac_cv_have_decl_CURLOPT_ERRORBUFFER" = xyes; then :
4833 ac_have_decl=1
4834 else
4835 ac_have_decl=0
4838 cat >>confdefs.h <<_ACEOF
4839 #define HAVE_DECL_CURLOPT_ERRORBUFFER $ac_have_decl
4840 _ACEOF
4841 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEFUNCTION" "ac_cv_have_decl_CURLOPT_WRITEFUNCTION" "
4842 #include \"curl/curl.h\"
4845 if test "x$ac_cv_have_decl_CURLOPT_WRITEFUNCTION" = xyes; then :
4846 ac_have_decl=1
4847 else
4848 ac_have_decl=0
4851 cat >>confdefs.h <<_ACEOF
4852 #define HAVE_DECL_CURLOPT_WRITEFUNCTION $ac_have_decl
4853 _ACEOF
4854 ac_fn_c_check_decl "$LINENO" "CURLOPT_READFUNCTION" "ac_cv_have_decl_CURLOPT_READFUNCTION" "
4855 #include \"curl/curl.h\"
4858 if test "x$ac_cv_have_decl_CURLOPT_READFUNCTION" = xyes; then :
4859 ac_have_decl=1
4860 else
4861 ac_have_decl=0
4864 cat >>confdefs.h <<_ACEOF
4865 #define HAVE_DECL_CURLOPT_READFUNCTION $ac_have_decl
4866 _ACEOF
4867 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEOUT" "ac_cv_have_decl_CURLOPT_TIMEOUT" "
4868 #include \"curl/curl.h\"
4871 if test "x$ac_cv_have_decl_CURLOPT_TIMEOUT" = xyes; then :
4872 ac_have_decl=1
4873 else
4874 ac_have_decl=0
4877 cat >>confdefs.h <<_ACEOF
4878 #define HAVE_DECL_CURLOPT_TIMEOUT $ac_have_decl
4879 _ACEOF
4880 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILESIZE" "ac_cv_have_decl_CURLOPT_INFILESIZE" "
4881 #include \"curl/curl.h\"
4884 if test "x$ac_cv_have_decl_CURLOPT_INFILESIZE" = xyes; then :
4885 ac_have_decl=1
4886 else
4887 ac_have_decl=0
4890 cat >>confdefs.h <<_ACEOF
4891 #define HAVE_DECL_CURLOPT_INFILESIZE $ac_have_decl
4892 _ACEOF
4893 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDS" "ac_cv_have_decl_CURLOPT_POSTFIELDS" "
4894 #include \"curl/curl.h\"
4897 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDS" = xyes; then :
4898 ac_have_decl=1
4899 else
4900 ac_have_decl=0
4903 cat >>confdefs.h <<_ACEOF
4904 #define HAVE_DECL_CURLOPT_POSTFIELDS $ac_have_decl
4905 _ACEOF
4906 ac_fn_c_check_decl "$LINENO" "CURLOPT_REFERER" "ac_cv_have_decl_CURLOPT_REFERER" "
4907 #include \"curl/curl.h\"
4910 if test "x$ac_cv_have_decl_CURLOPT_REFERER" = xyes; then :
4911 ac_have_decl=1
4912 else
4913 ac_have_decl=0
4916 cat >>confdefs.h <<_ACEOF
4917 #define HAVE_DECL_CURLOPT_REFERER $ac_have_decl
4918 _ACEOF
4919 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPPORT" "ac_cv_have_decl_CURLOPT_FTPPORT" "
4920 #include \"curl/curl.h\"
4923 if test "x$ac_cv_have_decl_CURLOPT_FTPPORT" = xyes; then :
4924 ac_have_decl=1
4925 else
4926 ac_have_decl=0
4929 cat >>confdefs.h <<_ACEOF
4930 #define HAVE_DECL_CURLOPT_FTPPORT $ac_have_decl
4931 _ACEOF
4932 ac_fn_c_check_decl "$LINENO" "CURLOPT_USERAGENT" "ac_cv_have_decl_CURLOPT_USERAGENT" "
4933 #include \"curl/curl.h\"
4936 if test "x$ac_cv_have_decl_CURLOPT_USERAGENT" = xyes; then :
4937 ac_have_decl=1
4938 else
4939 ac_have_decl=0
4942 cat >>confdefs.h <<_ACEOF
4943 #define HAVE_DECL_CURLOPT_USERAGENT $ac_have_decl
4944 _ACEOF
4945 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOW_SPEED_LIMIT" "ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" "
4946 #include \"curl/curl.h\"
4949 if test "x$ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" = xyes; then :
4950 ac_have_decl=1
4951 else
4952 ac_have_decl=0
4955 cat >>confdefs.h <<_ACEOF
4956 #define HAVE_DECL_CURLOPT_LOW_SPEED_LIMIT $ac_have_decl
4957 _ACEOF
4958 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOW_SPEED_TIME" "ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" "
4959 #include \"curl/curl.h\"
4962 if test "x$ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" = xyes; then :
4963 ac_have_decl=1
4964 else
4965 ac_have_decl=0
4968 cat >>confdefs.h <<_ACEOF
4969 #define HAVE_DECL_CURLOPT_LOW_SPEED_TIME $ac_have_decl
4970 _ACEOF
4971 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESUME_FROM" "ac_cv_have_decl_CURLOPT_RESUME_FROM" "
4972 #include \"curl/curl.h\"
4975 if test "x$ac_cv_have_decl_CURLOPT_RESUME_FROM" = xyes; then :
4976 ac_have_decl=1
4977 else
4978 ac_have_decl=0
4981 cat >>confdefs.h <<_ACEOF
4982 #define HAVE_DECL_CURLOPT_RESUME_FROM $ac_have_decl
4983 _ACEOF
4984 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIE" "ac_cv_have_decl_CURLOPT_COOKIE" "
4985 #include \"curl/curl.h\"
4988 if test "x$ac_cv_have_decl_CURLOPT_COOKIE" = xyes; then :
4989 ac_have_decl=1
4990 else
4991 ac_have_decl=0
4994 cat >>confdefs.h <<_ACEOF
4995 #define HAVE_DECL_CURLOPT_COOKIE $ac_have_decl
4996 _ACEOF
4997 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPHEADER" "ac_cv_have_decl_CURLOPT_HTTPHEADER" "
4998 #include \"curl/curl.h\"
5001 if test "x$ac_cv_have_decl_CURLOPT_HTTPHEADER" = xyes; then :
5002 ac_have_decl=1
5003 else
5004 ac_have_decl=0
5007 cat >>confdefs.h <<_ACEOF
5008 #define HAVE_DECL_CURLOPT_HTTPHEADER $ac_have_decl
5009 _ACEOF
5010 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPPOST" "ac_cv_have_decl_CURLOPT_HTTPPOST" "
5011 #include \"curl/curl.h\"
5014 if test "x$ac_cv_have_decl_CURLOPT_HTTPPOST" = xyes; then :
5015 ac_have_decl=1
5016 else
5017 ac_have_decl=0
5020 cat >>confdefs.h <<_ACEOF
5021 #define HAVE_DECL_CURLOPT_HTTPPOST $ac_have_decl
5022 _ACEOF
5023 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERT" "ac_cv_have_decl_CURLOPT_SSLCERT" "
5024 #include \"curl/curl.h\"
5027 if test "x$ac_cv_have_decl_CURLOPT_SSLCERT" = xyes; then :
5028 ac_have_decl=1
5029 else
5030 ac_have_decl=0
5033 cat >>confdefs.h <<_ACEOF
5034 #define HAVE_DECL_CURLOPT_SSLCERT $ac_have_decl
5035 _ACEOF
5036 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERTPASSWD" "ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" "
5037 #include \"curl/curl.h\"
5040 if test "x$ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" = xyes; then :
5041 ac_have_decl=1
5042 else
5043 ac_have_decl=0
5046 cat >>confdefs.h <<_ACEOF
5047 #define HAVE_DECL_CURLOPT_SSLCERTPASSWD $ac_have_decl
5048 _ACEOF
5049 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEYPASSWD" "ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" "
5050 #include \"curl/curl.h\"
5053 if test "x$ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" = xyes; then :
5054 ac_have_decl=1
5055 else
5056 ac_have_decl=0
5059 cat >>confdefs.h <<_ACEOF
5060 #define HAVE_DECL_CURLOPT_SSLKEYPASSWD $ac_have_decl
5061 _ACEOF
5062 ac_fn_c_check_decl "$LINENO" "CURLOPT_CRLF" "ac_cv_have_decl_CURLOPT_CRLF" "
5063 #include \"curl/curl.h\"
5066 if test "x$ac_cv_have_decl_CURLOPT_CRLF" = xyes; then :
5067 ac_have_decl=1
5068 else
5069 ac_have_decl=0
5072 cat >>confdefs.h <<_ACEOF
5073 #define HAVE_DECL_CURLOPT_CRLF $ac_have_decl
5074 _ACEOF
5075 ac_fn_c_check_decl "$LINENO" "CURLOPT_QUOTE" "ac_cv_have_decl_CURLOPT_QUOTE" "
5076 #include \"curl/curl.h\"
5079 if test "x$ac_cv_have_decl_CURLOPT_QUOTE" = xyes; then :
5080 ac_have_decl=1
5081 else
5082 ac_have_decl=0
5085 cat >>confdefs.h <<_ACEOF
5086 #define HAVE_DECL_CURLOPT_QUOTE $ac_have_decl
5087 _ACEOF
5088 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEHEADER" "ac_cv_have_decl_CURLOPT_WRITEHEADER" "
5089 #include \"curl/curl.h\"
5092 if test "x$ac_cv_have_decl_CURLOPT_WRITEHEADER" = xyes; then :
5093 ac_have_decl=1
5094 else
5095 ac_have_decl=0
5098 cat >>confdefs.h <<_ACEOF
5099 #define HAVE_DECL_CURLOPT_WRITEHEADER $ac_have_decl
5100 _ACEOF
5101 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIEFILE" "ac_cv_have_decl_CURLOPT_COOKIEFILE" "
5102 #include \"curl/curl.h\"
5105 if test "x$ac_cv_have_decl_CURLOPT_COOKIEFILE" = xyes; then :
5106 ac_have_decl=1
5107 else
5108 ac_have_decl=0
5111 cat >>confdefs.h <<_ACEOF
5112 #define HAVE_DECL_CURLOPT_COOKIEFILE $ac_have_decl
5113 _ACEOF
5114 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLVERSION" "ac_cv_have_decl_CURLOPT_SSLVERSION" "
5115 #include \"curl/curl.h\"
5118 if test "x$ac_cv_have_decl_CURLOPT_SSLVERSION" = xyes; then :
5119 ac_have_decl=1
5120 else
5121 ac_have_decl=0
5124 cat >>confdefs.h <<_ACEOF
5125 #define HAVE_DECL_CURLOPT_SSLVERSION $ac_have_decl
5126 _ACEOF
5127 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMECONDITION" "ac_cv_have_decl_CURLOPT_TIMECONDITION" "
5128 #include \"curl/curl.h\"
5131 if test "x$ac_cv_have_decl_CURLOPT_TIMECONDITION" = xyes; then :
5132 ac_have_decl=1
5133 else
5134 ac_have_decl=0
5137 cat >>confdefs.h <<_ACEOF
5138 #define HAVE_DECL_CURLOPT_TIMECONDITION $ac_have_decl
5139 _ACEOF
5140 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEVALUE" "ac_cv_have_decl_CURLOPT_TIMEVALUE" "
5141 #include \"curl/curl.h\"
5144 if test "x$ac_cv_have_decl_CURLOPT_TIMEVALUE" = xyes; then :
5145 ac_have_decl=1
5146 else
5147 ac_have_decl=0
5150 cat >>confdefs.h <<_ACEOF
5151 #define HAVE_DECL_CURLOPT_TIMEVALUE $ac_have_decl
5152 _ACEOF
5153 ac_fn_c_check_decl "$LINENO" "CURLOPT_CUSTOMREQUEST" "ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" "
5154 #include \"curl/curl.h\"
5157 if test "x$ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" = xyes; then :
5158 ac_have_decl=1
5159 else
5160 ac_have_decl=0
5163 cat >>confdefs.h <<_ACEOF
5164 #define HAVE_DECL_CURLOPT_CUSTOMREQUEST $ac_have_decl
5165 _ACEOF
5166 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTQUOTE" "ac_cv_have_decl_CURLOPT_POSTQUOTE" "
5167 #include \"curl/curl.h\"
5170 if test "x$ac_cv_have_decl_CURLOPT_POSTQUOTE" = xyes; then :
5171 ac_have_decl=1
5172 else
5173 ac_have_decl=0
5176 cat >>confdefs.h <<_ACEOF
5177 #define HAVE_DECL_CURLOPT_POSTQUOTE $ac_have_decl
5178 _ACEOF
5179 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEINFO" "ac_cv_have_decl_CURLOPT_WRITEINFO" "
5180 #include \"curl/curl.h\"
5183 if test "x$ac_cv_have_decl_CURLOPT_WRITEINFO" = xyes; then :
5184 ac_have_decl=1
5185 else
5186 ac_have_decl=0
5189 cat >>confdefs.h <<_ACEOF
5190 #define HAVE_DECL_CURLOPT_WRITEINFO $ac_have_decl
5191 _ACEOF
5192 ac_fn_c_check_decl "$LINENO" "CURLOPT_VERBOSE" "ac_cv_have_decl_CURLOPT_VERBOSE" "
5193 #include \"curl/curl.h\"
5196 if test "x$ac_cv_have_decl_CURLOPT_VERBOSE" = xyes; then :
5197 ac_have_decl=1
5198 else
5199 ac_have_decl=0
5202 cat >>confdefs.h <<_ACEOF
5203 #define HAVE_DECL_CURLOPT_VERBOSE $ac_have_decl
5204 _ACEOF
5205 ac_fn_c_check_decl "$LINENO" "CURLOPT_HEADER" "ac_cv_have_decl_CURLOPT_HEADER" "
5206 #include \"curl/curl.h\"
5209 if test "x$ac_cv_have_decl_CURLOPT_HEADER" = xyes; then :
5210 ac_have_decl=1
5211 else
5212 ac_have_decl=0
5215 cat >>confdefs.h <<_ACEOF
5216 #define HAVE_DECL_CURLOPT_HEADER $ac_have_decl
5217 _ACEOF
5218 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOPROGRESS" "ac_cv_have_decl_CURLOPT_NOPROGRESS" "
5219 #include \"curl/curl.h\"
5222 if test "x$ac_cv_have_decl_CURLOPT_NOPROGRESS" = xyes; then :
5223 ac_have_decl=1
5224 else
5225 ac_have_decl=0
5228 cat >>confdefs.h <<_ACEOF
5229 #define HAVE_DECL_CURLOPT_NOPROGRESS $ac_have_decl
5230 _ACEOF
5231 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOBODY" "ac_cv_have_decl_CURLOPT_NOBODY" "
5232 #include \"curl/curl.h\"
5235 if test "x$ac_cv_have_decl_CURLOPT_NOBODY" = xyes; then :
5236 ac_have_decl=1
5237 else
5238 ac_have_decl=0
5241 cat >>confdefs.h <<_ACEOF
5242 #define HAVE_DECL_CURLOPT_NOBODY $ac_have_decl
5243 _ACEOF
5244 ac_fn_c_check_decl "$LINENO" "CURLOPT_FAILONERROR" "ac_cv_have_decl_CURLOPT_FAILONERROR" "
5245 #include \"curl/curl.h\"
5248 if test "x$ac_cv_have_decl_CURLOPT_FAILONERROR" = xyes; then :
5249 ac_have_decl=1
5250 else
5251 ac_have_decl=0
5254 cat >>confdefs.h <<_ACEOF
5255 #define HAVE_DECL_CURLOPT_FAILONERROR $ac_have_decl
5256 _ACEOF
5257 ac_fn_c_check_decl "$LINENO" "CURLOPT_UPLOAD" "ac_cv_have_decl_CURLOPT_UPLOAD" "
5258 #include \"curl/curl.h\"
5261 if test "x$ac_cv_have_decl_CURLOPT_UPLOAD" = xyes; then :
5262 ac_have_decl=1
5263 else
5264 ac_have_decl=0
5267 cat >>confdefs.h <<_ACEOF
5268 #define HAVE_DECL_CURLOPT_UPLOAD $ac_have_decl
5269 _ACEOF
5270 ac_fn_c_check_decl "$LINENO" "CURLOPT_POST" "ac_cv_have_decl_CURLOPT_POST" "
5271 #include \"curl/curl.h\"
5274 if test "x$ac_cv_have_decl_CURLOPT_POST" = xyes; then :
5275 ac_have_decl=1
5276 else
5277 ac_have_decl=0
5280 cat >>confdefs.h <<_ACEOF
5281 #define HAVE_DECL_CURLOPT_POST $ac_have_decl
5282 _ACEOF
5283 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPLISTONLY" "ac_cv_have_decl_CURLOPT_FTPLISTONLY" "
5284 #include \"curl/curl.h\"
5287 if test "x$ac_cv_have_decl_CURLOPT_FTPLISTONLY" = xyes; then :
5288 ac_have_decl=1
5289 else
5290 ac_have_decl=0
5293 cat >>confdefs.h <<_ACEOF
5294 #define HAVE_DECL_CURLOPT_FTPLISTONLY $ac_have_decl
5295 _ACEOF
5296 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPAPPEND" "ac_cv_have_decl_CURLOPT_FTPAPPEND" "
5297 #include \"curl/curl.h\"
5300 if test "x$ac_cv_have_decl_CURLOPT_FTPAPPEND" = xyes; then :
5301 ac_have_decl=1
5302 else
5303 ac_have_decl=0
5306 cat >>confdefs.h <<_ACEOF
5307 #define HAVE_DECL_CURLOPT_FTPAPPEND $ac_have_decl
5308 _ACEOF
5309 ac_fn_c_check_decl "$LINENO" "CURLOPT_NETRC" "ac_cv_have_decl_CURLOPT_NETRC" "
5310 #include \"curl/curl.h\"
5313 if test "x$ac_cv_have_decl_CURLOPT_NETRC" = xyes; then :
5314 ac_have_decl=1
5315 else
5316 ac_have_decl=0
5319 cat >>confdefs.h <<_ACEOF
5320 #define HAVE_DECL_CURLOPT_NETRC $ac_have_decl
5321 _ACEOF
5322 ac_fn_c_check_decl "$LINENO" "CURLOPT_FOLLOWLOCATION" "ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" "
5323 #include \"curl/curl.h\"
5326 if test "x$ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" = xyes; then :
5327 ac_have_decl=1
5328 else
5329 ac_have_decl=0
5332 cat >>confdefs.h <<_ACEOF
5333 #define HAVE_DECL_CURLOPT_FOLLOWLOCATION $ac_have_decl
5334 _ACEOF
5335 ac_fn_c_check_decl "$LINENO" "CURLOPT_TRANSFERTEXT" "ac_cv_have_decl_CURLOPT_TRANSFERTEXT" "
5336 #include \"curl/curl.h\"
5339 if test "x$ac_cv_have_decl_CURLOPT_TRANSFERTEXT" = xyes; then :
5340 ac_have_decl=1
5341 else
5342 ac_have_decl=0
5345 cat >>confdefs.h <<_ACEOF
5346 #define HAVE_DECL_CURLOPT_TRANSFERTEXT $ac_have_decl
5347 _ACEOF
5348 ac_fn_c_check_decl "$LINENO" "CURLOPT_PUT" "ac_cv_have_decl_CURLOPT_PUT" "
5349 #include \"curl/curl.h\"
5352 if test "x$ac_cv_have_decl_CURLOPT_PUT" = xyes; then :
5353 ac_have_decl=1
5354 else
5355 ac_have_decl=0
5358 cat >>confdefs.h <<_ACEOF
5359 #define HAVE_DECL_CURLOPT_PUT $ac_have_decl
5360 _ACEOF
5361 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROGRESSFUNCTION" "ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" "
5362 #include \"curl/curl.h\"
5365 if test "x$ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" = xyes; then :
5366 ac_have_decl=1
5367 else
5368 ac_have_decl=0
5371 cat >>confdefs.h <<_ACEOF
5372 #define HAVE_DECL_CURLOPT_PROGRESSFUNCTION $ac_have_decl
5373 _ACEOF
5374 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROGRESSDATA" "ac_cv_have_decl_CURLOPT_PROGRESSDATA" "
5375 #include \"curl/curl.h\"
5378 if test "x$ac_cv_have_decl_CURLOPT_PROGRESSDATA" = xyes; then :
5379 ac_have_decl=1
5380 else
5381 ac_have_decl=0
5384 cat >>confdefs.h <<_ACEOF
5385 #define HAVE_DECL_CURLOPT_PROGRESSDATA $ac_have_decl
5386 _ACEOF
5387 ac_fn_c_check_decl "$LINENO" "CURLOPT_AUTOREFERER" "ac_cv_have_decl_CURLOPT_AUTOREFERER" "
5388 #include \"curl/curl.h\"
5391 if test "x$ac_cv_have_decl_CURLOPT_AUTOREFERER" = xyes; then :
5392 ac_have_decl=1
5393 else
5394 ac_have_decl=0
5397 cat >>confdefs.h <<_ACEOF
5398 #define HAVE_DECL_CURLOPT_AUTOREFERER $ac_have_decl
5399 _ACEOF
5400 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYPORT" "ac_cv_have_decl_CURLOPT_PROXYPORT" "
5401 #include \"curl/curl.h\"
5404 if test "x$ac_cv_have_decl_CURLOPT_PROXYPORT" = xyes; then :
5405 ac_have_decl=1
5406 else
5407 ac_have_decl=0
5410 cat >>confdefs.h <<_ACEOF
5411 #define HAVE_DECL_CURLOPT_PROXYPORT $ac_have_decl
5412 _ACEOF
5413 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDSIZE" "ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" "
5414 #include \"curl/curl.h\"
5417 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" = xyes; then :
5418 ac_have_decl=1
5419 else
5420 ac_have_decl=0
5423 cat >>confdefs.h <<_ACEOF
5424 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE $ac_have_decl
5425 _ACEOF
5426 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPPROXYTUNNEL" "ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" "
5427 #include \"curl/curl.h\"
5430 if test "x$ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" = xyes; then :
5431 ac_have_decl=1
5432 else
5433 ac_have_decl=0
5436 cat >>confdefs.h <<_ACEOF
5437 #define HAVE_DECL_CURLOPT_HTTPPROXYTUNNEL $ac_have_decl
5438 _ACEOF
5439 ac_fn_c_check_decl "$LINENO" "CURLOPT_INTERFACE" "ac_cv_have_decl_CURLOPT_INTERFACE" "
5440 #include \"curl/curl.h\"
5443 if test "x$ac_cv_have_decl_CURLOPT_INTERFACE" = xyes; then :
5444 ac_have_decl=1
5445 else
5446 ac_have_decl=0
5449 cat >>confdefs.h <<_ACEOF
5450 #define HAVE_DECL_CURLOPT_INTERFACE $ac_have_decl
5451 _ACEOF
5452 ac_fn_c_check_decl "$LINENO" "CURLOPT_KRB4LEVEL" "ac_cv_have_decl_CURLOPT_KRB4LEVEL" "
5453 #include \"curl/curl.h\"
5456 if test "x$ac_cv_have_decl_CURLOPT_KRB4LEVEL" = xyes; then :
5457 ac_have_decl=1
5458 else
5459 ac_have_decl=0
5462 cat >>confdefs.h <<_ACEOF
5463 #define HAVE_DECL_CURLOPT_KRB4LEVEL $ac_have_decl
5464 _ACEOF
5465 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_VERIFYPEER" "ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" "
5466 #include \"curl/curl.h\"
5469 if test "x$ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" = xyes; then :
5470 ac_have_decl=1
5471 else
5472 ac_have_decl=0
5475 cat >>confdefs.h <<_ACEOF
5476 #define HAVE_DECL_CURLOPT_SSL_VERIFYPEER $ac_have_decl
5477 _ACEOF
5478 ac_fn_c_check_decl "$LINENO" "CURLOPT_CAINFO" "ac_cv_have_decl_CURLOPT_CAINFO" "
5479 #include \"curl/curl.h\"
5482 if test "x$ac_cv_have_decl_CURLOPT_CAINFO" = xyes; then :
5483 ac_have_decl=1
5484 else
5485 ac_have_decl=0
5488 cat >>confdefs.h <<_ACEOF
5489 #define HAVE_DECL_CURLOPT_CAINFO $ac_have_decl
5490 _ACEOF
5491 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXREDIRS" "ac_cv_have_decl_CURLOPT_MAXREDIRS" "
5492 #include \"curl/curl.h\"
5495 if test "x$ac_cv_have_decl_CURLOPT_MAXREDIRS" = xyes; then :
5496 ac_have_decl=1
5497 else
5498 ac_have_decl=0
5501 cat >>confdefs.h <<_ACEOF
5502 #define HAVE_DECL_CURLOPT_MAXREDIRS $ac_have_decl
5503 _ACEOF
5504 ac_fn_c_check_decl "$LINENO" "CURLOPT_FILETIME" "ac_cv_have_decl_CURLOPT_FILETIME" "
5505 #include \"curl/curl.h\"
5508 if test "x$ac_cv_have_decl_CURLOPT_FILETIME" = xyes; then :
5509 ac_have_decl=1
5510 else
5511 ac_have_decl=0
5514 cat >>confdefs.h <<_ACEOF
5515 #define HAVE_DECL_CURLOPT_FILETIME $ac_have_decl
5516 _ACEOF
5517 ac_fn_c_check_decl "$LINENO" "CURLOPT_TELNETOPTIONS" "ac_cv_have_decl_CURLOPT_TELNETOPTIONS" "
5518 #include \"curl/curl.h\"
5521 if test "x$ac_cv_have_decl_CURLOPT_TELNETOPTIONS" = xyes; then :
5522 ac_have_decl=1
5523 else
5524 ac_have_decl=0
5527 cat >>confdefs.h <<_ACEOF
5528 #define HAVE_DECL_CURLOPT_TELNETOPTIONS $ac_have_decl
5529 _ACEOF
5530 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXCONNECTS" "ac_cv_have_decl_CURLOPT_MAXCONNECTS" "
5531 #include \"curl/curl.h\"
5534 if test "x$ac_cv_have_decl_CURLOPT_MAXCONNECTS" = xyes; then :
5535 ac_have_decl=1
5536 else
5537 ac_have_decl=0
5540 cat >>confdefs.h <<_ACEOF
5541 #define HAVE_DECL_CURLOPT_MAXCONNECTS $ac_have_decl
5542 _ACEOF
5543 ac_fn_c_check_decl "$LINENO" "CURLOPT_CLOSEPOLICY" "ac_cv_have_decl_CURLOPT_CLOSEPOLICY" "
5544 #include \"curl/curl.h\"
5547 if test "x$ac_cv_have_decl_CURLOPT_CLOSEPOLICY" = xyes; then :
5548 ac_have_decl=1
5549 else
5550 ac_have_decl=0
5553 cat >>confdefs.h <<_ACEOF
5554 #define HAVE_DECL_CURLOPT_CLOSEPOLICY $ac_have_decl
5555 _ACEOF
5556 ac_fn_c_check_decl "$LINENO" "CURLOPT_FRESH_CONNECT" "ac_cv_have_decl_CURLOPT_FRESH_CONNECT" "
5557 #include \"curl/curl.h\"
5560 if test "x$ac_cv_have_decl_CURLOPT_FRESH_CONNECT" = xyes; then :
5561 ac_have_decl=1
5562 else
5563 ac_have_decl=0
5566 cat >>confdefs.h <<_ACEOF
5567 #define HAVE_DECL_CURLOPT_FRESH_CONNECT $ac_have_decl
5568 _ACEOF
5569 ac_fn_c_check_decl "$LINENO" "CURLOPT_FORBID_REUSE" "ac_cv_have_decl_CURLOPT_FORBID_REUSE" "
5570 #include \"curl/curl.h\"
5573 if test "x$ac_cv_have_decl_CURLOPT_FORBID_REUSE" = xyes; then :
5574 ac_have_decl=1
5575 else
5576 ac_have_decl=0
5579 cat >>confdefs.h <<_ACEOF
5580 #define HAVE_DECL_CURLOPT_FORBID_REUSE $ac_have_decl
5581 _ACEOF
5582 ac_fn_c_check_decl "$LINENO" "CURLOPT_RANDOM_FILE" "ac_cv_have_decl_CURLOPT_RANDOM_FILE" "
5583 #include \"curl/curl.h\"
5586 if test "x$ac_cv_have_decl_CURLOPT_RANDOM_FILE" = xyes; then :
5587 ac_have_decl=1
5588 else
5589 ac_have_decl=0
5592 cat >>confdefs.h <<_ACEOF
5593 #define HAVE_DECL_CURLOPT_RANDOM_FILE $ac_have_decl
5594 _ACEOF
5595 ac_fn_c_check_decl "$LINENO" "CURLOPT_EGDSOCKET" "ac_cv_have_decl_CURLOPT_EGDSOCKET" "
5596 #include \"curl/curl.h\"
5599 if test "x$ac_cv_have_decl_CURLOPT_EGDSOCKET" = xyes; then :
5600 ac_have_decl=1
5601 else
5602 ac_have_decl=0
5605 cat >>confdefs.h <<_ACEOF
5606 #define HAVE_DECL_CURLOPT_EGDSOCKET $ac_have_decl
5607 _ACEOF
5608 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECTTIMEOUT" "ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" "
5609 #include \"curl/curl.h\"
5612 if test "x$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" = xyes; then :
5613 ac_have_decl=1
5614 else
5615 ac_have_decl=0
5618 cat >>confdefs.h <<_ACEOF
5619 #define HAVE_DECL_CURLOPT_CONNECTTIMEOUT $ac_have_decl
5620 _ACEOF
5621 ac_fn_c_check_decl "$LINENO" "CURLOPT_HEADERFUNCTION" "ac_cv_have_decl_CURLOPT_HEADERFUNCTION" "
5622 #include \"curl/curl.h\"
5625 if test "x$ac_cv_have_decl_CURLOPT_HEADERFUNCTION" = xyes; then :
5626 ac_have_decl=1
5627 else
5628 ac_have_decl=0
5631 cat >>confdefs.h <<_ACEOF
5632 #define HAVE_DECL_CURLOPT_HEADERFUNCTION $ac_have_decl
5633 _ACEOF
5634 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPGET" "ac_cv_have_decl_CURLOPT_HTTPGET" "
5635 #include \"curl/curl.h\"
5638 if test "x$ac_cv_have_decl_CURLOPT_HTTPGET" = xyes; then :
5639 ac_have_decl=1
5640 else
5641 ac_have_decl=0
5644 cat >>confdefs.h <<_ACEOF
5645 #define HAVE_DECL_CURLOPT_HTTPGET $ac_have_decl
5646 _ACEOF
5647 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_VERIFYHOST" "ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" "
5648 #include \"curl/curl.h\"
5651 if test "x$ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" = xyes; then :
5652 ac_have_decl=1
5653 else
5654 ac_have_decl=0
5657 cat >>confdefs.h <<_ACEOF
5658 #define HAVE_DECL_CURLOPT_SSL_VERIFYHOST $ac_have_decl
5659 _ACEOF
5660 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIEJAR" "ac_cv_have_decl_CURLOPT_COOKIEJAR" "
5661 #include \"curl/curl.h\"
5664 if test "x$ac_cv_have_decl_CURLOPT_COOKIEJAR" = xyes; then :
5665 ac_have_decl=1
5666 else
5667 ac_have_decl=0
5670 cat >>confdefs.h <<_ACEOF
5671 #define HAVE_DECL_CURLOPT_COOKIEJAR $ac_have_decl
5672 _ACEOF
5673 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_CIPHER_LIST" "ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" "
5674 #include \"curl/curl.h\"
5677 if test "x$ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" = xyes; then :
5678 ac_have_decl=1
5679 else
5680 ac_have_decl=0
5683 cat >>confdefs.h <<_ACEOF
5684 #define HAVE_DECL_CURLOPT_SSL_CIPHER_LIST $ac_have_decl
5685 _ACEOF
5686 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_VERSION" "ac_cv_have_decl_CURLOPT_HTTP_VERSION" "
5687 #include \"curl/curl.h\"
5690 if test "x$ac_cv_have_decl_CURLOPT_HTTP_VERSION" = xyes; then :
5691 ac_have_decl=1
5692 else
5693 ac_have_decl=0
5696 cat >>confdefs.h <<_ACEOF
5697 #define HAVE_DECL_CURLOPT_HTTP_VERSION $ac_have_decl
5698 _ACEOF
5699 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_USE_EPSV" "ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" "
5700 #include \"curl/curl.h\"
5703 if test "x$ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" = xyes; then :
5704 ac_have_decl=1
5705 else
5706 ac_have_decl=0
5709 cat >>confdefs.h <<_ACEOF
5710 #define HAVE_DECL_CURLOPT_FTP_USE_EPSV $ac_have_decl
5711 _ACEOF
5712 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERTTYPE" "ac_cv_have_decl_CURLOPT_SSLCERTTYPE" "
5713 #include \"curl/curl.h\"
5716 if test "x$ac_cv_have_decl_CURLOPT_SSLCERTTYPE" = xyes; then :
5717 ac_have_decl=1
5718 else
5719 ac_have_decl=0
5722 cat >>confdefs.h <<_ACEOF
5723 #define HAVE_DECL_CURLOPT_SSLCERTTYPE $ac_have_decl
5724 _ACEOF
5725 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEY" "ac_cv_have_decl_CURLOPT_SSLKEY" "
5726 #include \"curl/curl.h\"
5729 if test "x$ac_cv_have_decl_CURLOPT_SSLKEY" = xyes; then :
5730 ac_have_decl=1
5731 else
5732 ac_have_decl=0
5735 cat >>confdefs.h <<_ACEOF
5736 #define HAVE_DECL_CURLOPT_SSLKEY $ac_have_decl
5737 _ACEOF
5738 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEYTYPE" "ac_cv_have_decl_CURLOPT_SSLKEYTYPE" "
5739 #include \"curl/curl.h\"
5742 if test "x$ac_cv_have_decl_CURLOPT_SSLKEYTYPE" = xyes; then :
5743 ac_have_decl=1
5744 else
5745 ac_have_decl=0
5748 cat >>confdefs.h <<_ACEOF
5749 #define HAVE_DECL_CURLOPT_SSLKEYTYPE $ac_have_decl
5750 _ACEOF
5751 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLENGINE" "ac_cv_have_decl_CURLOPT_SSLENGINE" "
5752 #include \"curl/curl.h\"
5755 if test "x$ac_cv_have_decl_CURLOPT_SSLENGINE" = xyes; then :
5756 ac_have_decl=1
5757 else
5758 ac_have_decl=0
5761 cat >>confdefs.h <<_ACEOF
5762 #define HAVE_DECL_CURLOPT_SSLENGINE $ac_have_decl
5763 _ACEOF
5764 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLENGINE_DEFAULT" "ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" "
5765 #include \"curl/curl.h\"
5768 if test "x$ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" = xyes; then :
5769 ac_have_decl=1
5770 else
5771 ac_have_decl=0
5774 cat >>confdefs.h <<_ACEOF
5775 #define HAVE_DECL_CURLOPT_SSLENGINE_DEFAULT $ac_have_decl
5776 _ACEOF
5777 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_USE_GLOBAL_CACHE" "ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" "
5778 #include \"curl/curl.h\"
5781 if test "x$ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" = xyes; then :
5782 ac_have_decl=1
5783 else
5784 ac_have_decl=0
5787 cat >>confdefs.h <<_ACEOF
5788 #define HAVE_DECL_CURLOPT_DNS_USE_GLOBAL_CACHE $ac_have_decl
5789 _ACEOF
5790 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_CACHE_TIMEOUT" "ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" "
5791 #include \"curl/curl.h\"
5794 if test "x$ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" = xyes; then :
5795 ac_have_decl=1
5796 else
5797 ac_have_decl=0
5800 cat >>confdefs.h <<_ACEOF
5801 #define HAVE_DECL_CURLOPT_DNS_CACHE_TIMEOUT $ac_have_decl
5802 _ACEOF
5803 ac_fn_c_check_decl "$LINENO" "CURLOPT_PREQUOTE" "ac_cv_have_decl_CURLOPT_PREQUOTE" "
5804 #include \"curl/curl.h\"
5807 if test "x$ac_cv_have_decl_CURLOPT_PREQUOTE" = xyes; then :
5808 ac_have_decl=1
5809 else
5810 ac_have_decl=0
5813 cat >>confdefs.h <<_ACEOF
5814 #define HAVE_DECL_CURLOPT_PREQUOTE $ac_have_decl
5815 _ACEOF
5816 ac_fn_c_check_decl "$LINENO" "CURLOPT_DEBUGFUNCTION" "ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" "
5817 #include \"curl/curl.h\"
5820 if test "x$ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" = xyes; then :
5821 ac_have_decl=1
5822 else
5823 ac_have_decl=0
5826 cat >>confdefs.h <<_ACEOF
5827 #define HAVE_DECL_CURLOPT_DEBUGFUNCTION $ac_have_decl
5828 _ACEOF
5829 ac_fn_c_check_decl "$LINENO" "CURLOPT_DEBUGDATA" "ac_cv_have_decl_CURLOPT_DEBUGDATA" "
5830 #include \"curl/curl.h\"
5833 if test "x$ac_cv_have_decl_CURLOPT_DEBUGDATA" = xyes; then :
5834 ac_have_decl=1
5835 else
5836 ac_have_decl=0
5839 cat >>confdefs.h <<_ACEOF
5840 #define HAVE_DECL_CURLOPT_DEBUGDATA $ac_have_decl
5841 _ACEOF
5842 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIESESSION" "ac_cv_have_decl_CURLOPT_COOKIESESSION" "
5843 #include \"curl/curl.h\"
5846 if test "x$ac_cv_have_decl_CURLOPT_COOKIESESSION" = xyes; then :
5847 ac_have_decl=1
5848 else
5849 ac_have_decl=0
5852 cat >>confdefs.h <<_ACEOF
5853 #define HAVE_DECL_CURLOPT_COOKIESESSION $ac_have_decl
5854 _ACEOF
5855 ac_fn_c_check_decl "$LINENO" "CURLOPT_CAPATH" "ac_cv_have_decl_CURLOPT_CAPATH" "
5856 #include \"curl/curl.h\"
5859 if test "x$ac_cv_have_decl_CURLOPT_CAPATH" = xyes; then :
5860 ac_have_decl=1
5861 else
5862 ac_have_decl=0
5865 cat >>confdefs.h <<_ACEOF
5866 #define HAVE_DECL_CURLOPT_CAPATH $ac_have_decl
5867 _ACEOF
5868 ac_fn_c_check_decl "$LINENO" "CURLOPT_BUFFERSIZE" "ac_cv_have_decl_CURLOPT_BUFFERSIZE" "
5869 #include \"curl/curl.h\"
5872 if test "x$ac_cv_have_decl_CURLOPT_BUFFERSIZE" = xyes; then :
5873 ac_have_decl=1
5874 else
5875 ac_have_decl=0
5878 cat >>confdefs.h <<_ACEOF
5879 #define HAVE_DECL_CURLOPT_BUFFERSIZE $ac_have_decl
5880 _ACEOF
5881 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOSIGNAL" "ac_cv_have_decl_CURLOPT_NOSIGNAL" "
5882 #include \"curl/curl.h\"
5885 if test "x$ac_cv_have_decl_CURLOPT_NOSIGNAL" = xyes; then :
5886 ac_have_decl=1
5887 else
5888 ac_have_decl=0
5891 cat >>confdefs.h <<_ACEOF
5892 #define HAVE_DECL_CURLOPT_NOSIGNAL $ac_have_decl
5893 _ACEOF
5894 ac_fn_c_check_decl "$LINENO" "CURLOPT_SHARE" "ac_cv_have_decl_CURLOPT_SHARE" "
5895 #include \"curl/curl.h\"
5898 if test "x$ac_cv_have_decl_CURLOPT_SHARE" = xyes; then :
5899 ac_have_decl=1
5900 else
5901 ac_have_decl=0
5904 cat >>confdefs.h <<_ACEOF
5905 #define HAVE_DECL_CURLOPT_SHARE $ac_have_decl
5906 _ACEOF
5907 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYTYPE" "ac_cv_have_decl_CURLOPT_PROXYTYPE" "
5908 #include \"curl/curl.h\"
5911 if test "x$ac_cv_have_decl_CURLOPT_PROXYTYPE" = xyes; then :
5912 ac_have_decl=1
5913 else
5914 ac_have_decl=0
5917 cat >>confdefs.h <<_ACEOF
5918 #define HAVE_DECL_CURLOPT_PROXYTYPE $ac_have_decl
5919 _ACEOF
5920 ac_fn_c_check_decl "$LINENO" "CURLOPT_ENCODING" "ac_cv_have_decl_CURLOPT_ENCODING" "
5921 #include \"curl/curl.h\"
5924 if test "x$ac_cv_have_decl_CURLOPT_ENCODING" = xyes; then :
5925 ac_have_decl=1
5926 else
5927 ac_have_decl=0
5930 cat >>confdefs.h <<_ACEOF
5931 #define HAVE_DECL_CURLOPT_ENCODING $ac_have_decl
5932 _ACEOF
5933 ac_fn_c_check_decl "$LINENO" "CURLOPT_PRIVATE" "ac_cv_have_decl_CURLOPT_PRIVATE" "
5934 #include \"curl/curl.h\"
5937 if test "x$ac_cv_have_decl_CURLOPT_PRIVATE" = xyes; then :
5938 ac_have_decl=1
5939 else
5940 ac_have_decl=0
5943 cat >>confdefs.h <<_ACEOF
5944 #define HAVE_DECL_CURLOPT_PRIVATE $ac_have_decl
5945 _ACEOF
5946 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP200ALIASES" "ac_cv_have_decl_CURLOPT_HTTP200ALIASES" "
5947 #include \"curl/curl.h\"
5950 if test "x$ac_cv_have_decl_CURLOPT_HTTP200ALIASES" = xyes; then :
5951 ac_have_decl=1
5952 else
5953 ac_have_decl=0
5956 cat >>confdefs.h <<_ACEOF
5957 #define HAVE_DECL_CURLOPT_HTTP200ALIASES $ac_have_decl
5958 _ACEOF
5959 ac_fn_c_check_decl "$LINENO" "CURLOPT_UNRESTRICTED_AUTH" "ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" "
5960 #include \"curl/curl.h\"
5963 if test "x$ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" = xyes; then :
5964 ac_have_decl=1
5965 else
5966 ac_have_decl=0
5969 cat >>confdefs.h <<_ACEOF
5970 #define HAVE_DECL_CURLOPT_UNRESTRICTED_AUTH $ac_have_decl
5971 _ACEOF
5972 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_USE_EPRT" "ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" "
5973 #include \"curl/curl.h\"
5976 if test "x$ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" = xyes; then :
5977 ac_have_decl=1
5978 else
5979 ac_have_decl=0
5982 cat >>confdefs.h <<_ACEOF
5983 #define HAVE_DECL_CURLOPT_FTP_USE_EPRT $ac_have_decl
5984 _ACEOF
5985 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPAUTH" "ac_cv_have_decl_CURLOPT_HTTPAUTH" "
5986 #include \"curl/curl.h\"
5989 if test "x$ac_cv_have_decl_CURLOPT_HTTPAUTH" = xyes; then :
5990 ac_have_decl=1
5991 else
5992 ac_have_decl=0
5995 cat >>confdefs.h <<_ACEOF
5996 #define HAVE_DECL_CURLOPT_HTTPAUTH $ac_have_decl
5997 _ACEOF
5998 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_CREATE_MISSING_DIRS" "ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" "
5999 #include \"curl/curl.h\"
6002 if test "x$ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" = xyes; then :
6003 ac_have_decl=1
6004 else
6005 ac_have_decl=0
6008 cat >>confdefs.h <<_ACEOF
6009 #define HAVE_DECL_CURLOPT_FTP_CREATE_MISSING_DIRS $ac_have_decl
6010 _ACEOF
6011 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYAUTH" "ac_cv_have_decl_CURLOPT_PROXYAUTH" "
6012 #include \"curl/curl.h\"
6015 if test "x$ac_cv_have_decl_CURLOPT_PROXYAUTH" = xyes; then :
6016 ac_have_decl=1
6017 else
6018 ac_have_decl=0
6021 cat >>confdefs.h <<_ACEOF
6022 #define HAVE_DECL_CURLOPT_PROXYAUTH $ac_have_decl
6023 _ACEOF
6024 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_RESPONSE_TIMEOUT" "ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" "
6025 #include \"curl/curl.h\"
6028 if test "x$ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" = xyes; then :
6029 ac_have_decl=1
6030 else
6031 ac_have_decl=0
6034 cat >>confdefs.h <<_ACEOF
6035 #define HAVE_DECL_CURLOPT_FTP_RESPONSE_TIMEOUT $ac_have_decl
6036 _ACEOF
6037 ac_fn_c_check_decl "$LINENO" "CURLOPT_IPRESOLVE" "ac_cv_have_decl_CURLOPT_IPRESOLVE" "
6038 #include \"curl/curl.h\"
6041 if test "x$ac_cv_have_decl_CURLOPT_IPRESOLVE" = xyes; then :
6042 ac_have_decl=1
6043 else
6044 ac_have_decl=0
6047 cat >>confdefs.h <<_ACEOF
6048 #define HAVE_DECL_CURLOPT_IPRESOLVE $ac_have_decl
6049 _ACEOF
6050 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXFILESIZE" "ac_cv_have_decl_CURLOPT_MAXFILESIZE" "
6051 #include \"curl/curl.h\"
6054 if test "x$ac_cv_have_decl_CURLOPT_MAXFILESIZE" = xyes; then :
6055 ac_have_decl=1
6056 else
6057 ac_have_decl=0
6060 cat >>confdefs.h <<_ACEOF
6061 #define HAVE_DECL_CURLOPT_MAXFILESIZE $ac_have_decl
6062 _ACEOF
6063 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILESIZE_LARGE" "ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" "
6064 #include \"curl/curl.h\"
6067 if test "x$ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" = xyes; then :
6068 ac_have_decl=1
6069 else
6070 ac_have_decl=0
6073 cat >>confdefs.h <<_ACEOF
6074 #define HAVE_DECL_CURLOPT_INFILESIZE_LARGE $ac_have_decl
6075 _ACEOF
6076 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESUME_FROM_LARGE" "ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE" "
6077 #include \"curl/curl.h\"
6080 if test "x$ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE" = xyes; then :
6081 ac_have_decl=1
6082 else
6083 ac_have_decl=0
6086 cat >>confdefs.h <<_ACEOF
6087 #define HAVE_DECL_CURLOPT_RESUME_FROM_LARGE $ac_have_decl
6088 _ACEOF
6089 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXFILESIZE_LARGE" "ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE" "
6090 #include \"curl/curl.h\"
6093 if test "x$ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE" = xyes; then :
6094 ac_have_decl=1
6095 else
6096 ac_have_decl=0
6099 cat >>confdefs.h <<_ACEOF
6100 #define HAVE_DECL_CURLOPT_MAXFILESIZE_LARGE $ac_have_decl
6101 _ACEOF
6102 ac_fn_c_check_decl "$LINENO" "CURLOPT_NETRC_FILE" "ac_cv_have_decl_CURLOPT_NETRC_FILE" "
6103 #include \"curl/curl.h\"
6106 if test "x$ac_cv_have_decl_CURLOPT_NETRC_FILE" = xyes; then :
6107 ac_have_decl=1
6108 else
6109 ac_have_decl=0
6112 cat >>confdefs.h <<_ACEOF
6113 #define HAVE_DECL_CURLOPT_NETRC_FILE $ac_have_decl
6114 _ACEOF
6115 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SSL" "ac_cv_have_decl_CURLOPT_FTP_SSL" "
6116 #include \"curl/curl.h\"
6119 if test "x$ac_cv_have_decl_CURLOPT_FTP_SSL" = xyes; then :
6120 ac_have_decl=1
6121 else
6122 ac_have_decl=0
6125 cat >>confdefs.h <<_ACEOF
6126 #define HAVE_DECL_CURLOPT_FTP_SSL $ac_have_decl
6127 _ACEOF
6128 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDSIZE_LARGE" "ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" "
6129 #include \"curl/curl.h\"
6132 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" = xyes; then :
6133 ac_have_decl=1
6134 else
6135 ac_have_decl=0
6138 cat >>confdefs.h <<_ACEOF
6139 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE_LARGE $ac_have_decl
6140 _ACEOF
6141 ac_fn_c_check_decl "$LINENO" "CURLOPT_TCP_NODELAY" "ac_cv_have_decl_CURLOPT_TCP_NODELAY" "
6142 #include \"curl/curl.h\"
6145 if test "x$ac_cv_have_decl_CURLOPT_TCP_NODELAY" = xyes; then :
6146 ac_have_decl=1
6147 else
6148 ac_have_decl=0
6151 cat >>confdefs.h <<_ACEOF
6152 #define HAVE_DECL_CURLOPT_TCP_NODELAY $ac_have_decl
6153 _ACEOF
6154 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPSSLAUTH" "ac_cv_have_decl_CURLOPT_FTPSSLAUTH" "
6155 #include \"curl/curl.h\"
6158 if test "x$ac_cv_have_decl_CURLOPT_FTPSSLAUTH" = xyes; then :
6159 ac_have_decl=1
6160 else
6161 ac_have_decl=0
6164 cat >>confdefs.h <<_ACEOF
6165 #define HAVE_DECL_CURLOPT_FTPSSLAUTH $ac_have_decl
6166 _ACEOF
6167 ac_fn_c_check_decl "$LINENO" "CURLOPT_IOCTLFUNCTION" "ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" "
6168 #include \"curl/curl.h\"
6171 if test "x$ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" = xyes; then :
6172 ac_have_decl=1
6173 else
6174 ac_have_decl=0
6177 cat >>confdefs.h <<_ACEOF
6178 #define HAVE_DECL_CURLOPT_IOCTLFUNCTION $ac_have_decl
6179 _ACEOF
6180 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_ACCOUNT" "ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" "
6181 #include \"curl/curl.h\"
6184 if test "x$ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" = xyes; then :
6185 ac_have_decl=1
6186 else
6187 ac_have_decl=0
6190 cat >>confdefs.h <<_ACEOF
6191 #define HAVE_DECL_CURLOPT_FTP_ACCOUNT $ac_have_decl
6192 _ACEOF
6193 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIELIST" "ac_cv_have_decl_CURLOPT_COOKIELIST" "
6194 #include \"curl/curl.h\"
6197 if test "x$ac_cv_have_decl_CURLOPT_COOKIELIST" = xyes; then :
6198 ac_have_decl=1
6199 else
6200 ac_have_decl=0
6203 cat >>confdefs.h <<_ACEOF
6204 #define HAVE_DECL_CURLOPT_COOKIELIST $ac_have_decl
6205 _ACEOF
6206 ac_fn_c_check_decl "$LINENO" "CURLOPT_IGNORE_CONTENT_LENGTH" "ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" "
6207 #include \"curl/curl.h\"
6210 if test "x$ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" = xyes; then :
6211 ac_have_decl=1
6212 else
6213 ac_have_decl=0
6216 cat >>confdefs.h <<_ACEOF
6217 #define HAVE_DECL_CURLOPT_IGNORE_CONTENT_LENGTH $ac_have_decl
6218 _ACEOF
6219 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SKIP_PASV_IP" "ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" "
6220 #include \"curl/curl.h\"
6223 if test "x$ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" = xyes; then :
6224 ac_have_decl=1
6225 else
6226 ac_have_decl=0
6229 cat >>confdefs.h <<_ACEOF
6230 #define HAVE_DECL_CURLOPT_FTP_SKIP_PASV_IP $ac_have_decl
6231 _ACEOF
6232 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_FILEMETHOD" "ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" "
6233 #include \"curl/curl.h\"
6236 if test "x$ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" = xyes; then :
6237 ac_have_decl=1
6238 else
6239 ac_have_decl=0
6242 cat >>confdefs.h <<_ACEOF
6243 #define HAVE_DECL_CURLOPT_FTP_FILEMETHOD $ac_have_decl
6244 _ACEOF
6245 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOCALPORT" "ac_cv_have_decl_CURLOPT_LOCALPORT" "
6246 #include \"curl/curl.h\"
6249 if test "x$ac_cv_have_decl_CURLOPT_LOCALPORT" = xyes; then :
6250 ac_have_decl=1
6251 else
6252 ac_have_decl=0
6255 cat >>confdefs.h <<_ACEOF
6256 #define HAVE_DECL_CURLOPT_LOCALPORT $ac_have_decl
6257 _ACEOF
6258 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOCALPORTRANGE" "ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" "
6259 #include \"curl/curl.h\"
6262 if test "x$ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" = xyes; then :
6263 ac_have_decl=1
6264 else
6265 ac_have_decl=0
6268 cat >>confdefs.h <<_ACEOF
6269 #define HAVE_DECL_CURLOPT_LOCALPORTRANGE $ac_have_decl
6270 _ACEOF
6271 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECT_ONLY" "ac_cv_have_decl_CURLOPT_CONNECT_ONLY" "
6272 #include \"curl/curl.h\"
6275 if test "x$ac_cv_have_decl_CURLOPT_CONNECT_ONLY" = xyes; then :
6276 ac_have_decl=1
6277 else
6278 ac_have_decl=0
6281 cat >>confdefs.h <<_ACEOF
6282 #define HAVE_DECL_CURLOPT_CONNECT_ONLY $ac_have_decl
6283 _ACEOF
6284 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAX_SEND_SPEED_LARGE" "ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" "
6285 #include \"curl/curl.h\"
6288 if test "x$ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" = xyes; then :
6289 ac_have_decl=1
6290 else
6291 ac_have_decl=0
6294 cat >>confdefs.h <<_ACEOF
6295 #define HAVE_DECL_CURLOPT_MAX_SEND_SPEED_LARGE $ac_have_decl
6296 _ACEOF
6297 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAX_RECV_SPEED_LARGE" "ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE" "
6298 #include \"curl/curl.h\"
6301 if test "x$ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE" = xyes; then :
6302 ac_have_decl=1
6303 else
6304 ac_have_decl=0
6307 cat >>confdefs.h <<_ACEOF
6308 #define HAVE_DECL_CURLOPT_MAX_RECV_SPEED_LARGE $ac_have_decl
6309 _ACEOF
6310 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_ALTERNATIVE_TO_USER" "ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" "
6311 #include \"curl/curl.h\"
6314 if test "x$ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" = xyes; then :
6315 ac_have_decl=1
6316 else
6317 ac_have_decl=0
6320 cat >>confdefs.h <<_ACEOF
6321 #define HAVE_DECL_CURLOPT_FTP_ALTERNATIVE_TO_USER $ac_have_decl
6322 _ACEOF
6323 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_SESSIONID_CACHE" "ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" "
6324 #include \"curl/curl.h\"
6327 if test "x$ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" = xyes; then :
6328 ac_have_decl=1
6329 else
6330 ac_have_decl=0
6333 cat >>confdefs.h <<_ACEOF
6334 #define HAVE_DECL_CURLOPT_SSL_SESSIONID_CACHE $ac_have_decl
6335 _ACEOF
6336 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_AUTH_TYPES" "ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" "
6337 #include \"curl/curl.h\"
6340 if test "x$ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" = xyes; then :
6341 ac_have_decl=1
6342 else
6343 ac_have_decl=0
6346 cat >>confdefs.h <<_ACEOF
6347 #define HAVE_DECL_CURLOPT_SSH_AUTH_TYPES $ac_have_decl
6348 _ACEOF
6349 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_PUBLIC_KEYFILE" "ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" "
6350 #include \"curl/curl.h\"
6353 if test "x$ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" = xyes; then :
6354 ac_have_decl=1
6355 else
6356 ac_have_decl=0
6359 cat >>confdefs.h <<_ACEOF
6360 #define HAVE_DECL_CURLOPT_SSH_PUBLIC_KEYFILE $ac_have_decl
6361 _ACEOF
6362 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_PRIVATE_KEYFILE" "ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE" "
6363 #include \"curl/curl.h\"
6366 if test "x$ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE" = xyes; then :
6367 ac_have_decl=1
6368 else
6369 ac_have_decl=0
6372 cat >>confdefs.h <<_ACEOF
6373 #define HAVE_DECL_CURLOPT_SSH_PRIVATE_KEYFILE $ac_have_decl
6374 _ACEOF
6375 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SSL_CCC" "ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" "
6376 #include \"curl/curl.h\"
6379 if test "x$ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" = xyes; then :
6380 ac_have_decl=1
6381 else
6382 ac_have_decl=0
6385 cat >>confdefs.h <<_ACEOF
6386 #define HAVE_DECL_CURLOPT_FTP_SSL_CCC $ac_have_decl
6387 _ACEOF
6388 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEOUT_MS" "ac_cv_have_decl_CURLOPT_TIMEOUT_MS" "
6389 #include \"curl/curl.h\"
6392 if test "x$ac_cv_have_decl_CURLOPT_TIMEOUT_MS" = xyes; then :
6393 ac_have_decl=1
6394 else
6395 ac_have_decl=0
6398 cat >>confdefs.h <<_ACEOF
6399 #define HAVE_DECL_CURLOPT_TIMEOUT_MS $ac_have_decl
6400 _ACEOF
6401 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECTTIMEOUT_MS" "ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS" "
6402 #include \"curl/curl.h\"
6405 if test "x$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS" = xyes; then :
6406 ac_have_decl=1
6407 else
6408 ac_have_decl=0
6411 cat >>confdefs.h <<_ACEOF
6412 #define HAVE_DECL_CURLOPT_CONNECTTIMEOUT_MS $ac_have_decl
6413 _ACEOF
6414 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_TRANSFER_DECODING" "ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" "
6415 #include \"curl/curl.h\"
6418 if test "x$ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" = xyes; then :
6419 ac_have_decl=1
6420 else
6421 ac_have_decl=0
6424 cat >>confdefs.h <<_ACEOF
6425 #define HAVE_DECL_CURLOPT_HTTP_TRANSFER_DECODING $ac_have_decl
6426 _ACEOF
6427 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_CONTENT_DECODING" "ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING" "
6428 #include \"curl/curl.h\"
6431 if test "x$ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING" = xyes; then :
6432 ac_have_decl=1
6433 else
6434 ac_have_decl=0
6437 cat >>confdefs.h <<_ACEOF
6438 #define HAVE_DECL_CURLOPT_HTTP_CONTENT_DECODING $ac_have_decl
6439 _ACEOF
6440 ac_fn_c_check_decl "$LINENO" "CURLOPT_NEW_FILE_PERMS" "ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" "
6441 #include \"curl/curl.h\"
6444 if test "x$ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" = xyes; then :
6445 ac_have_decl=1
6446 else
6447 ac_have_decl=0
6450 cat >>confdefs.h <<_ACEOF
6451 #define HAVE_DECL_CURLOPT_NEW_FILE_PERMS $ac_have_decl
6452 _ACEOF
6453 ac_fn_c_check_decl "$LINENO" "CURLOPT_NEW_DIRECTORY_PERMS" "ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS" "
6454 #include \"curl/curl.h\"
6457 if test "x$ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS" = xyes; then :
6458 ac_have_decl=1
6459 else
6460 ac_have_decl=0
6463 cat >>confdefs.h <<_ACEOF
6464 #define HAVE_DECL_CURLOPT_NEW_DIRECTORY_PERMS $ac_have_decl
6465 _ACEOF
6466 ac_fn_c_check_decl "$LINENO" "CURLOPT_POST301" "ac_cv_have_decl_CURLOPT_POST301" "
6467 #include \"curl/curl.h\"
6470 if test "x$ac_cv_have_decl_CURLOPT_POST301" = xyes; then :
6471 ac_have_decl=1
6472 else
6473 ac_have_decl=0
6476 cat >>confdefs.h <<_ACEOF
6477 #define HAVE_DECL_CURLOPT_POST301 $ac_have_decl
6478 _ACEOF
6479 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" "ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" "
6480 #include \"curl/curl.h\"
6483 if test "x$ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" = xyes; then :
6484 ac_have_decl=1
6485 else
6486 ac_have_decl=0
6489 cat >>confdefs.h <<_ACEOF
6490 #define HAVE_DECL_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 $ac_have_decl
6491 _ACEOF
6492 ac_fn_c_check_decl "$LINENO" "CURLOPT_COPYPOSTFIELDS" "ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" "
6493 #include \"curl/curl.h\"
6496 if test "x$ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" = xyes; then :
6497 ac_have_decl=1
6498 else
6499 ac_have_decl=0
6502 cat >>confdefs.h <<_ACEOF
6503 #define HAVE_DECL_CURLOPT_COPYPOSTFIELDS $ac_have_decl
6504 _ACEOF
6505 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXY_TRANSFER_MODE" "ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" "
6506 #include \"curl/curl.h\"
6509 if test "x$ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" = xyes; then :
6510 ac_have_decl=1
6511 else
6512 ac_have_decl=0
6515 cat >>confdefs.h <<_ACEOF
6516 #define HAVE_DECL_CURLOPT_PROXY_TRANSFER_MODE $ac_have_decl
6517 _ACEOF
6518 ac_fn_c_check_decl "$LINENO" "CURLOPT_SEEKFUNCTION" "ac_cv_have_decl_CURLOPT_SEEKFUNCTION" "
6519 #include \"curl/curl.h\"
6522 if test "x$ac_cv_have_decl_CURLOPT_SEEKFUNCTION" = xyes; then :
6523 ac_have_decl=1
6524 else
6525 ac_have_decl=0
6528 cat >>confdefs.h <<_ACEOF
6529 #define HAVE_DECL_CURLOPT_SEEKFUNCTION $ac_have_decl
6530 _ACEOF
6531 ac_fn_c_check_decl "$LINENO" "CURLOPT_OPENSOCKETFUNCTION" "ac_cv_have_decl_CURLOPT_OPENSOCKETFUNCTION" "
6532 #include \"curl/curl.h\"
6535 if test "x$ac_cv_have_decl_CURLOPT_OPENSOCKETFUNCTION" = xyes; then :
6536 ac_have_decl=1
6537 else
6538 ac_have_decl=0
6541 cat >>confdefs.h <<_ACEOF
6542 #define HAVE_DECL_CURLOPT_OPENSOCKETFUNCTION $ac_have_decl
6543 _ACEOF
6544 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROTOCOLS" "ac_cv_have_decl_CURLOPT_PROTOCOLS" "
6545 #include \"curl/curl.h\"
6548 if test "x$ac_cv_have_decl_CURLOPT_PROTOCOLS" = xyes; then :
6549 ac_have_decl=1
6550 else
6551 ac_have_decl=0
6554 cat >>confdefs.h <<_ACEOF
6555 #define HAVE_DECL_CURLOPT_PROTOCOLS $ac_have_decl
6556 _ACEOF
6557 ac_fn_c_check_decl "$LINENO" "CURLOPT_REDIR_PROTOCOLS" "ac_cv_have_decl_CURLOPT_REDIR_PROTOCOLS" "
6558 #include \"curl/curl.h\"
6561 if test "x$ac_cv_have_decl_CURLOPT_REDIR_PROTOCOLS" = xyes; then :
6562 ac_have_decl=1
6563 else
6564 ac_have_decl=0
6567 cat >>confdefs.h <<_ACEOF
6568 #define HAVE_DECL_CURLOPT_REDIR_PROTOCOLS $ac_have_decl
6569 _ACEOF
6570 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESOLVE" "ac_cv_have_decl_CURLOPT_RESOLVE" "
6571 #include \"curl/curl.h\"
6574 if test "x$ac_cv_have_decl_CURLOPT_RESOLVE" = xyes; then :
6575 ac_have_decl=1
6576 else
6577 ac_have_decl=0
6580 cat >>confdefs.h <<_ACEOF
6581 #define HAVE_DECL_CURLOPT_RESOLVE $ac_have_decl
6582 _ACEOF
6583 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_SERVERS" "ac_cv_have_decl_CURLOPT_DNS_SERVERS" "
6584 #include \"curl/curl.h\"
6587 if test "x$ac_cv_have_decl_CURLOPT_DNS_SERVERS" = xyes; then :
6588 ac_have_decl=1
6589 else
6590 ac_have_decl=0
6593 cat >>confdefs.h <<_ACEOF
6594 #define HAVE_DECL_CURLOPT_DNS_SERVERS $ac_have_decl
6595 _ACEOF
6596 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAIL_FROM" "ac_cv_have_decl_CURLOPT_MAIL_FROM" "
6597 #include \"curl/curl.h\"
6600 if test "x$ac_cv_have_decl_CURLOPT_MAIL_FROM" = xyes; then :
6601 ac_have_decl=1
6602 else
6603 ac_have_decl=0
6606 cat >>confdefs.h <<_ACEOF
6607 #define HAVE_DECL_CURLOPT_MAIL_FROM $ac_have_decl
6608 _ACEOF
6609 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAIL_RCPT" "ac_cv_have_decl_CURLOPT_MAIL_RCPT" "
6610 #include \"curl/curl.h\"
6613 if test "x$ac_cv_have_decl_CURLOPT_MAIL_RCPT" = xyes; then :
6614 ac_have_decl=1
6615 else
6616 ac_have_decl=0
6619 cat >>confdefs.h <<_ACEOF
6620 #define HAVE_DECL_CURLOPT_MAIL_RCPT $ac_have_decl
6621 _ACEOF
6622 ac_fn_c_check_decl "$LINENO" "CURLINFO_EFFECTIVE_URL" "ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" "
6623 #include \"curl/curl.h\"
6626 if test "x$ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" = xyes; then :
6627 ac_have_decl=1
6628 else
6629 ac_have_decl=0
6632 cat >>confdefs.h <<_ACEOF
6633 #define HAVE_DECL_CURLINFO_EFFECTIVE_URL $ac_have_decl
6634 _ACEOF
6635 ac_fn_c_check_decl "$LINENO" "CURLINFO_RESPONSE_CODE" "ac_cv_have_decl_CURLINFO_RESPONSE_CODE" "
6636 #include \"curl/curl.h\"
6639 if test "x$ac_cv_have_decl_CURLINFO_RESPONSE_CODE" = xyes; then :
6640 ac_have_decl=1
6641 else
6642 ac_have_decl=0
6645 cat >>confdefs.h <<_ACEOF
6646 #define HAVE_DECL_CURLINFO_RESPONSE_CODE $ac_have_decl
6647 _ACEOF
6648 ac_fn_c_check_decl "$LINENO" "CURLINFO_TOTAL_TIME" "ac_cv_have_decl_CURLINFO_TOTAL_TIME" "
6649 #include \"curl/curl.h\"
6652 if test "x$ac_cv_have_decl_CURLINFO_TOTAL_TIME" = xyes; then :
6653 ac_have_decl=1
6654 else
6655 ac_have_decl=0
6658 cat >>confdefs.h <<_ACEOF
6659 #define HAVE_DECL_CURLINFO_TOTAL_TIME $ac_have_decl
6660 _ACEOF
6661 ac_fn_c_check_decl "$LINENO" "CURLINFO_NAMELOOKUP_TIME" "ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" "
6662 #include \"curl/curl.h\"
6665 if test "x$ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" = xyes; then :
6666 ac_have_decl=1
6667 else
6668 ac_have_decl=0
6671 cat >>confdefs.h <<_ACEOF
6672 #define HAVE_DECL_CURLINFO_NAMELOOKUP_TIME $ac_have_decl
6673 _ACEOF
6674 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONNECT_TIME" "ac_cv_have_decl_CURLINFO_CONNECT_TIME" "
6675 #include \"curl/curl.h\"
6678 if test "x$ac_cv_have_decl_CURLINFO_CONNECT_TIME" = xyes; then :
6679 ac_have_decl=1
6680 else
6681 ac_have_decl=0
6684 cat >>confdefs.h <<_ACEOF
6685 #define HAVE_DECL_CURLINFO_CONNECT_TIME $ac_have_decl
6686 _ACEOF
6687 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRETRANSFER_TIME" "ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" "
6688 #include \"curl/curl.h\"
6691 if test "x$ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" = xyes; then :
6692 ac_have_decl=1
6693 else
6694 ac_have_decl=0
6697 cat >>confdefs.h <<_ACEOF
6698 #define HAVE_DECL_CURLINFO_PRETRANSFER_TIME $ac_have_decl
6699 _ACEOF
6700 ac_fn_c_check_decl "$LINENO" "CURLINFO_SIZE_UPLOAD" "ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" "
6701 #include \"curl/curl.h\"
6704 if test "x$ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" = xyes; then :
6705 ac_have_decl=1
6706 else
6707 ac_have_decl=0
6710 cat >>confdefs.h <<_ACEOF
6711 #define HAVE_DECL_CURLINFO_SIZE_UPLOAD $ac_have_decl
6712 _ACEOF
6713 ac_fn_c_check_decl "$LINENO" "CURLINFO_SIZE_DOWNLOAD" "ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" "
6714 #include \"curl/curl.h\"
6717 if test "x$ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" = xyes; then :
6718 ac_have_decl=1
6719 else
6720 ac_have_decl=0
6723 cat >>confdefs.h <<_ACEOF
6724 #define HAVE_DECL_CURLINFO_SIZE_DOWNLOAD $ac_have_decl
6725 _ACEOF
6726 ac_fn_c_check_decl "$LINENO" "CURLINFO_SPEED_DOWNLOAD" "ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" "
6727 #include \"curl/curl.h\"
6730 if test "x$ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" = xyes; then :
6731 ac_have_decl=1
6732 else
6733 ac_have_decl=0
6736 cat >>confdefs.h <<_ACEOF
6737 #define HAVE_DECL_CURLINFO_SPEED_DOWNLOAD $ac_have_decl
6738 _ACEOF
6739 ac_fn_c_check_decl "$LINENO" "CURLINFO_SPEED_UPLOAD" "ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" "
6740 #include \"curl/curl.h\"
6743 if test "x$ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" = xyes; then :
6744 ac_have_decl=1
6745 else
6746 ac_have_decl=0
6749 cat >>confdefs.h <<_ACEOF
6750 #define HAVE_DECL_CURLINFO_SPEED_UPLOAD $ac_have_decl
6751 _ACEOF
6752 ac_fn_c_check_decl "$LINENO" "CURLINFO_HEADER_SIZE" "ac_cv_have_decl_CURLINFO_HEADER_SIZE" "
6753 #include \"curl/curl.h\"
6756 if test "x$ac_cv_have_decl_CURLINFO_HEADER_SIZE" = xyes; then :
6757 ac_have_decl=1
6758 else
6759 ac_have_decl=0
6762 cat >>confdefs.h <<_ACEOF
6763 #define HAVE_DECL_CURLINFO_HEADER_SIZE $ac_have_decl
6764 _ACEOF
6765 ac_fn_c_check_decl "$LINENO" "CURLINFO_REQUEST_SIZE" "ac_cv_have_decl_CURLINFO_REQUEST_SIZE" "
6766 #include \"curl/curl.h\"
6769 if test "x$ac_cv_have_decl_CURLINFO_REQUEST_SIZE" = xyes; then :
6770 ac_have_decl=1
6771 else
6772 ac_have_decl=0
6775 cat >>confdefs.h <<_ACEOF
6776 #define HAVE_DECL_CURLINFO_REQUEST_SIZE $ac_have_decl
6777 _ACEOF
6778 ac_fn_c_check_decl "$LINENO" "CURLINFO_SSL_VERIFYRESULT" "ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" "
6779 #include \"curl/curl.h\"
6782 if test "x$ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" = xyes; then :
6783 ac_have_decl=1
6784 else
6785 ac_have_decl=0
6788 cat >>confdefs.h <<_ACEOF
6789 #define HAVE_DECL_CURLINFO_SSL_VERIFYRESULT $ac_have_decl
6790 _ACEOF
6791 ac_fn_c_check_decl "$LINENO" "CURLINFO_FILETIME" "ac_cv_have_decl_CURLINFO_FILETIME" "
6792 #include \"curl/curl.h\"
6795 if test "x$ac_cv_have_decl_CURLINFO_FILETIME" = xyes; then :
6796 ac_have_decl=1
6797 else
6798 ac_have_decl=0
6801 cat >>confdefs.h <<_ACEOF
6802 #define HAVE_DECL_CURLINFO_FILETIME $ac_have_decl
6803 _ACEOF
6804 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_LENGTH_DOWNLOAD" "ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" "
6805 #include \"curl/curl.h\"
6808 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" = xyes; then :
6809 ac_have_decl=1
6810 else
6811 ac_have_decl=0
6814 cat >>confdefs.h <<_ACEOF
6815 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_DOWNLOAD $ac_have_decl
6816 _ACEOF
6817 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_LENGTH_UPLOAD" "ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" "
6818 #include \"curl/curl.h\"
6821 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" = xyes; then :
6822 ac_have_decl=1
6823 else
6824 ac_have_decl=0
6827 cat >>confdefs.h <<_ACEOF
6828 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_UPLOAD $ac_have_decl
6829 _ACEOF
6830 ac_fn_c_check_decl "$LINENO" "CURLINFO_STARTTRANSFER_TIME" "ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" "
6831 #include \"curl/curl.h\"
6834 if test "x$ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" = xyes; then :
6835 ac_have_decl=1
6836 else
6837 ac_have_decl=0
6840 cat >>confdefs.h <<_ACEOF
6841 #define HAVE_DECL_CURLINFO_STARTTRANSFER_TIME $ac_have_decl
6842 _ACEOF
6843 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_TYPE" "ac_cv_have_decl_CURLINFO_CONTENT_TYPE" "
6844 #include \"curl/curl.h\"
6847 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_TYPE" = xyes; then :
6848 ac_have_decl=1
6849 else
6850 ac_have_decl=0
6853 cat >>confdefs.h <<_ACEOF
6854 #define HAVE_DECL_CURLINFO_CONTENT_TYPE $ac_have_decl
6855 _ACEOF
6856 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_TIME" "ac_cv_have_decl_CURLINFO_REDIRECT_TIME" "
6857 #include \"curl/curl.h\"
6860 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_TIME" = xyes; then :
6861 ac_have_decl=1
6862 else
6863 ac_have_decl=0
6866 cat >>confdefs.h <<_ACEOF
6867 #define HAVE_DECL_CURLINFO_REDIRECT_TIME $ac_have_decl
6868 _ACEOF
6869 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_COUNT" "ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" "
6870 #include \"curl/curl.h\"
6873 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" = xyes; then :
6874 ac_have_decl=1
6875 else
6876 ac_have_decl=0
6879 cat >>confdefs.h <<_ACEOF
6880 #define HAVE_DECL_CURLINFO_REDIRECT_COUNT $ac_have_decl
6881 _ACEOF
6882 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRIVATE" "ac_cv_have_decl_CURLINFO_PRIVATE" "
6883 #include \"curl/curl.h\"
6886 if test "x$ac_cv_have_decl_CURLINFO_PRIVATE" = xyes; then :
6887 ac_have_decl=1
6888 else
6889 ac_have_decl=0
6892 cat >>confdefs.h <<_ACEOF
6893 #define HAVE_DECL_CURLINFO_PRIVATE $ac_have_decl
6894 _ACEOF
6895 ac_fn_c_check_decl "$LINENO" "CURLINFO_HTTP_CONNECTCODE" "ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" "
6896 #include \"curl/curl.h\"
6899 if test "x$ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" = xyes; then :
6900 ac_have_decl=1
6901 else
6902 ac_have_decl=0
6905 cat >>confdefs.h <<_ACEOF
6906 #define HAVE_DECL_CURLINFO_HTTP_CONNECTCODE $ac_have_decl
6907 _ACEOF
6908 ac_fn_c_check_decl "$LINENO" "CURLINFO_HTTPAUTH_AVAIL" "ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" "
6909 #include \"curl/curl.h\"
6912 if test "x$ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" = xyes; then :
6913 ac_have_decl=1
6914 else
6915 ac_have_decl=0
6918 cat >>confdefs.h <<_ACEOF
6919 #define HAVE_DECL_CURLINFO_HTTPAUTH_AVAIL $ac_have_decl
6920 _ACEOF
6921 ac_fn_c_check_decl "$LINENO" "CURLINFO_PROXYAUTH_AVAIL" "ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" "
6922 #include \"curl/curl.h\"
6925 if test "x$ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" = xyes; then :
6926 ac_have_decl=1
6927 else
6928 ac_have_decl=0
6931 cat >>confdefs.h <<_ACEOF
6932 #define HAVE_DECL_CURLINFO_PROXYAUTH_AVAIL $ac_have_decl
6933 _ACEOF
6934 ac_fn_c_check_decl "$LINENO" "CURLINFO_OS_ERRNO" "ac_cv_have_decl_CURLINFO_OS_ERRNO" "
6935 #include \"curl/curl.h\"
6938 if test "x$ac_cv_have_decl_CURLINFO_OS_ERRNO" = xyes; then :
6939 ac_have_decl=1
6940 else
6941 ac_have_decl=0
6944 cat >>confdefs.h <<_ACEOF
6945 #define HAVE_DECL_CURLINFO_OS_ERRNO $ac_have_decl
6946 _ACEOF
6947 ac_fn_c_check_decl "$LINENO" "CURLINFO_NUM_CONNECTS" "ac_cv_have_decl_CURLINFO_NUM_CONNECTS" "
6948 #include \"curl/curl.h\"
6951 if test "x$ac_cv_have_decl_CURLINFO_NUM_CONNECTS" = xyes; then :
6952 ac_have_decl=1
6953 else
6954 ac_have_decl=0
6957 cat >>confdefs.h <<_ACEOF
6958 #define HAVE_DECL_CURLINFO_NUM_CONNECTS $ac_have_decl
6959 _ACEOF
6960 ac_fn_c_check_decl "$LINENO" "CURLINFO_SSL_ENGINES" "ac_cv_have_decl_CURLINFO_SSL_ENGINES" "
6961 #include \"curl/curl.h\"
6964 if test "x$ac_cv_have_decl_CURLINFO_SSL_ENGINES" = xyes; then :
6965 ac_have_decl=1
6966 else
6967 ac_have_decl=0
6970 cat >>confdefs.h <<_ACEOF
6971 #define HAVE_DECL_CURLINFO_SSL_ENGINES $ac_have_decl
6972 _ACEOF
6973 ac_fn_c_check_decl "$LINENO" "CURLINFO_COOKIELIST" "ac_cv_have_decl_CURLINFO_COOKIELIST" "
6974 #include \"curl/curl.h\"
6977 if test "x$ac_cv_have_decl_CURLINFO_COOKIELIST" = xyes; then :
6978 ac_have_decl=1
6979 else
6980 ac_have_decl=0
6983 cat >>confdefs.h <<_ACEOF
6984 #define HAVE_DECL_CURLINFO_COOKIELIST $ac_have_decl
6985 _ACEOF
6986 ac_fn_c_check_decl "$LINENO" "CURLINFO_LASTSOCKET" "ac_cv_have_decl_CURLINFO_LASTSOCKET" "
6987 #include \"curl/curl.h\"
6990 if test "x$ac_cv_have_decl_CURLINFO_LASTSOCKET" = xyes; then :
6991 ac_have_decl=1
6992 else
6993 ac_have_decl=0
6996 cat >>confdefs.h <<_ACEOF
6997 #define HAVE_DECL_CURLINFO_LASTSOCKET $ac_have_decl
6998 _ACEOF
6999 ac_fn_c_check_decl "$LINENO" "CURLINFO_FTP_ENTRY_PATH" "ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" "
7000 #include \"curl/curl.h\"
7003 if test "x$ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" = xyes; then :
7004 ac_have_decl=1
7005 else
7006 ac_have_decl=0
7009 cat >>confdefs.h <<_ACEOF
7010 #define HAVE_DECL_CURLINFO_FTP_ENTRY_PATH $ac_have_decl
7011 _ACEOF
7012 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_URL" "ac_cv_have_decl_CURLINFO_REDIRECT_URL" "
7013 #include \"curl/curl.h\"
7016 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_URL" = xyes; then :
7017 ac_have_decl=1
7018 else
7019 ac_have_decl=0
7022 cat >>confdefs.h <<_ACEOF
7023 #define HAVE_DECL_CURLINFO_REDIRECT_URL $ac_have_decl
7024 _ACEOF
7025 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRIMARY_IP" "ac_cv_have_decl_CURLINFO_PRIMARY_IP" "
7026 #include \"curl/curl.h\"
7029 if test "x$ac_cv_have_decl_CURLINFO_PRIMARY_IP" = xyes; then :
7030 ac_have_decl=1
7031 else
7032 ac_have_decl=0
7035 cat >>confdefs.h <<_ACEOF
7036 #define HAVE_DECL_CURLINFO_PRIMARY_IP $ac_have_decl
7037 _ACEOF
7038 ac_fn_c_check_decl "$LINENO" "CURLINFO_LOCAL_IP" "ac_cv_have_decl_CURLINFO_LOCAL_IP" "
7039 #include \"curl/curl.h\"
7042 if test "x$ac_cv_have_decl_CURLINFO_LOCAL_IP" = xyes; then :
7043 ac_have_decl=1
7044 else
7045 ac_have_decl=0
7048 cat >>confdefs.h <<_ACEOF
7049 #define HAVE_DECL_CURLINFO_LOCAL_IP $ac_have_decl
7050 _ACEOF
7051 ac_fn_c_check_decl "$LINENO" "CURLINFO_LOCAL_PORT" "ac_cv_have_decl_CURLINFO_LOCAL_PORT" "
7052 #include \"curl/curl.h\"
7055 if test "x$ac_cv_have_decl_CURLINFO_LOCAL_PORT" = xyes; then :
7056 ac_have_decl=1
7057 else
7058 ac_have_decl=0
7061 cat >>confdefs.h <<_ACEOF
7062 #define HAVE_DECL_CURLINFO_LOCAL_PORT $ac_have_decl
7063 _ACEOF
7064 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONDITION_UNMET" "ac_cv_have_decl_CURLINFO_CONDITION_UNMET" "
7065 #include \"curl/curl.h\"
7068 if test "x$ac_cv_have_decl_CURLINFO_CONDITION_UNMET" = xyes; then :
7069 ac_have_decl=1
7070 else
7071 ac_have_decl=0
7074 cat >>confdefs.h <<_ACEOF
7075 #define HAVE_DECL_CURLINFO_CONDITION_UNMET $ac_have_decl
7076 _ACEOF
7077 ac_fn_c_check_decl "$LINENO" "CURLE_UNSUPPORTED_PROTOCOL" "ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" "
7078 #include \"curl/curl.h\"
7081 if test "x$ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" = xyes; then :
7082 ac_have_decl=1
7083 else
7084 ac_have_decl=0
7087 cat >>confdefs.h <<_ACEOF
7088 #define HAVE_DECL_CURLE_UNSUPPORTED_PROTOCOL $ac_have_decl
7089 _ACEOF
7090 ac_fn_c_check_decl "$LINENO" "CURLE_FAILED_INIT" "ac_cv_have_decl_CURLE_FAILED_INIT" "
7091 #include \"curl/curl.h\"
7094 if test "x$ac_cv_have_decl_CURLE_FAILED_INIT" = xyes; then :
7095 ac_have_decl=1
7096 else
7097 ac_have_decl=0
7100 cat >>confdefs.h <<_ACEOF
7101 #define HAVE_DECL_CURLE_FAILED_INIT $ac_have_decl
7102 _ACEOF
7103 ac_fn_c_check_decl "$LINENO" "CURLE_URL_MALFORMAT" "ac_cv_have_decl_CURLE_URL_MALFORMAT" "
7104 #include \"curl/curl.h\"
7107 if test "x$ac_cv_have_decl_CURLE_URL_MALFORMAT" = xyes; then :
7108 ac_have_decl=1
7109 else
7110 ac_have_decl=0
7113 cat >>confdefs.h <<_ACEOF
7114 #define HAVE_DECL_CURLE_URL_MALFORMAT $ac_have_decl
7115 _ACEOF
7116 ac_fn_c_check_decl "$LINENO" "CURLE_URL_MALFORMAT_USER" "ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" "
7117 #include \"curl/curl.h\"
7120 if test "x$ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" = xyes; then :
7121 ac_have_decl=1
7122 else
7123 ac_have_decl=0
7126 cat >>confdefs.h <<_ACEOF
7127 #define HAVE_DECL_CURLE_URL_MALFORMAT_USER $ac_have_decl
7128 _ACEOF
7129 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_RESOLVE_PROXY" "ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" "
7130 #include \"curl/curl.h\"
7133 if test "x$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" = xyes; then :
7134 ac_have_decl=1
7135 else
7136 ac_have_decl=0
7139 cat >>confdefs.h <<_ACEOF
7140 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_PROXY $ac_have_decl
7141 _ACEOF
7142 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_RESOLVE_HOST" "ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" "
7143 #include \"curl/curl.h\"
7146 if test "x$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" = xyes; then :
7147 ac_have_decl=1
7148 else
7149 ac_have_decl=0
7152 cat >>confdefs.h <<_ACEOF
7153 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_HOST $ac_have_decl
7154 _ACEOF
7155 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_CONNECT" "ac_cv_have_decl_CURLE_COULDNT_CONNECT" "
7156 #include \"curl/curl.h\"
7159 if test "x$ac_cv_have_decl_CURLE_COULDNT_CONNECT" = xyes; then :
7160 ac_have_decl=1
7161 else
7162 ac_have_decl=0
7165 cat >>confdefs.h <<_ACEOF
7166 #define HAVE_DECL_CURLE_COULDNT_CONNECT $ac_have_decl
7167 _ACEOF
7168 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_SERVER_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" "
7169 #include \"curl/curl.h\"
7172 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" = xyes; then :
7173 ac_have_decl=1
7174 else
7175 ac_have_decl=0
7178 cat >>confdefs.h <<_ACEOF
7179 #define HAVE_DECL_CURLE_FTP_WEIRD_SERVER_REPLY $ac_have_decl
7180 _ACEOF
7181 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_ACCESS_DENIED" "ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" "
7182 #include \"curl/curl.h\"
7185 if test "x$ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" = xyes; then :
7186 ac_have_decl=1
7187 else
7188 ac_have_decl=0
7191 cat >>confdefs.h <<_ACEOF
7192 #define HAVE_DECL_CURLE_FTP_ACCESS_DENIED $ac_have_decl
7193 _ACEOF
7194 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_USER_PASSWORD_INCORRECT" "ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" "
7195 #include \"curl/curl.h\"
7198 if test "x$ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" = xyes; then :
7199 ac_have_decl=1
7200 else
7201 ac_have_decl=0
7204 cat >>confdefs.h <<_ACEOF
7205 #define HAVE_DECL_CURLE_FTP_USER_PASSWORD_INCORRECT $ac_have_decl
7206 _ACEOF
7207 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_PASS_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" "
7208 #include \"curl/curl.h\"
7211 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" = xyes; then :
7212 ac_have_decl=1
7213 else
7214 ac_have_decl=0
7217 cat >>confdefs.h <<_ACEOF
7218 #define HAVE_DECL_CURLE_FTP_WEIRD_PASS_REPLY $ac_have_decl
7219 _ACEOF
7220 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_USER_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" "
7221 #include \"curl/curl.h\"
7224 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" = xyes; then :
7225 ac_have_decl=1
7226 else
7227 ac_have_decl=0
7230 cat >>confdefs.h <<_ACEOF
7231 #define HAVE_DECL_CURLE_FTP_WEIRD_USER_REPLY $ac_have_decl
7232 _ACEOF
7233 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_PASV_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY" "
7234 #include \"curl/curl.h\"
7237 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY" = xyes; then :
7238 ac_have_decl=1
7239 else
7240 ac_have_decl=0
7243 cat >>confdefs.h <<_ACEOF
7244 #define HAVE_DECL_CURLE_FTP_WEIRD_PASV_REPLY $ac_have_decl
7245 _ACEOF
7246 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_227_FORMAT" "ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" "
7247 #include \"curl/curl.h\"
7250 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" = xyes; then :
7251 ac_have_decl=1
7252 else
7253 ac_have_decl=0
7256 cat >>confdefs.h <<_ACEOF
7257 #define HAVE_DECL_CURLE_FTP_WEIRD_227_FORMAT $ac_have_decl
7258 _ACEOF
7259 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_CANT_GET_HOST" "ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" "
7260 #include \"curl/curl.h\"
7263 if test "x$ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" = xyes; then :
7264 ac_have_decl=1
7265 else
7266 ac_have_decl=0
7269 cat >>confdefs.h <<_ACEOF
7270 #define HAVE_DECL_CURLE_FTP_CANT_GET_HOST $ac_have_decl
7271 _ACEOF
7272 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_CANT_RECONNECT" "ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" "
7273 #include \"curl/curl.h\"
7276 if test "x$ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" = xyes; then :
7277 ac_have_decl=1
7278 else
7279 ac_have_decl=0
7282 cat >>confdefs.h <<_ACEOF
7283 #define HAVE_DECL_CURLE_FTP_CANT_RECONNECT $ac_have_decl
7284 _ACEOF
7285 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_SET_BINARY" "ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" "
7286 #include \"curl/curl.h\"
7289 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" = xyes; then :
7290 ac_have_decl=1
7291 else
7292 ac_have_decl=0
7295 cat >>confdefs.h <<_ACEOF
7296 #define HAVE_DECL_CURLE_FTP_COULDNT_SET_BINARY $ac_have_decl
7297 _ACEOF
7298 ac_fn_c_check_decl "$LINENO" "CURLE_PARTIAL_FILE" "ac_cv_have_decl_CURLE_PARTIAL_FILE" "
7299 #include \"curl/curl.h\"
7302 if test "x$ac_cv_have_decl_CURLE_PARTIAL_FILE" = xyes; then :
7303 ac_have_decl=1
7304 else
7305 ac_have_decl=0
7308 cat >>confdefs.h <<_ACEOF
7309 #define HAVE_DECL_CURLE_PARTIAL_FILE $ac_have_decl
7310 _ACEOF
7311 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_RETR_FILE" "ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" "
7312 #include \"curl/curl.h\"
7315 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" = xyes; then :
7316 ac_have_decl=1
7317 else
7318 ac_have_decl=0
7321 cat >>confdefs.h <<_ACEOF
7322 #define HAVE_DECL_CURLE_FTP_COULDNT_RETR_FILE $ac_have_decl
7323 _ACEOF
7324 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WRITE_ERROR" "ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" "
7325 #include \"curl/curl.h\"
7328 if test "x$ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" = xyes; then :
7329 ac_have_decl=1
7330 else
7331 ac_have_decl=0
7334 cat >>confdefs.h <<_ACEOF
7335 #define HAVE_DECL_CURLE_FTP_WRITE_ERROR $ac_have_decl
7336 _ACEOF
7337 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_QUOTE_ERROR" "ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" "
7338 #include \"curl/curl.h\"
7341 if test "x$ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" = xyes; then :
7342 ac_have_decl=1
7343 else
7344 ac_have_decl=0
7347 cat >>confdefs.h <<_ACEOF
7348 #define HAVE_DECL_CURLE_FTP_QUOTE_ERROR $ac_have_decl
7349 _ACEOF
7350 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_RETURNED_ERROR" "ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" "
7351 #include \"curl/curl.h\"
7354 if test "x$ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" = xyes; then :
7355 ac_have_decl=1
7356 else
7357 ac_have_decl=0
7360 cat >>confdefs.h <<_ACEOF
7361 #define HAVE_DECL_CURLE_HTTP_RETURNED_ERROR $ac_have_decl
7362 _ACEOF
7363 ac_fn_c_check_decl "$LINENO" "CURLE_WRITE_ERROR" "ac_cv_have_decl_CURLE_WRITE_ERROR" "
7364 #include \"curl/curl.h\"
7367 if test "x$ac_cv_have_decl_CURLE_WRITE_ERROR" = xyes; then :
7368 ac_have_decl=1
7369 else
7370 ac_have_decl=0
7373 cat >>confdefs.h <<_ACEOF
7374 #define HAVE_DECL_CURLE_WRITE_ERROR $ac_have_decl
7375 _ACEOF
7376 ac_fn_c_check_decl "$LINENO" "CURLE_MALFORMAT_USER" "ac_cv_have_decl_CURLE_MALFORMAT_USER" "
7377 #include \"curl/curl.h\"
7380 if test "x$ac_cv_have_decl_CURLE_MALFORMAT_USER" = xyes; then :
7381 ac_have_decl=1
7382 else
7383 ac_have_decl=0
7386 cat >>confdefs.h <<_ACEOF
7387 #define HAVE_DECL_CURLE_MALFORMAT_USER $ac_have_decl
7388 _ACEOF
7389 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_STOR_FILE" "ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" "
7390 #include \"curl/curl.h\"
7393 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" = xyes; then :
7394 ac_have_decl=1
7395 else
7396 ac_have_decl=0
7399 cat >>confdefs.h <<_ACEOF
7400 #define HAVE_DECL_CURLE_FTP_COULDNT_STOR_FILE $ac_have_decl
7401 _ACEOF
7402 ac_fn_c_check_decl "$LINENO" "CURLE_READ_ERROR" "ac_cv_have_decl_CURLE_READ_ERROR" "
7403 #include \"curl/curl.h\"
7406 if test "x$ac_cv_have_decl_CURLE_READ_ERROR" = xyes; then :
7407 ac_have_decl=1
7408 else
7409 ac_have_decl=0
7412 cat >>confdefs.h <<_ACEOF
7413 #define HAVE_DECL_CURLE_READ_ERROR $ac_have_decl
7414 _ACEOF
7415 ac_fn_c_check_decl "$LINENO" "CURLE_OUT_OF_MEMORY" "ac_cv_have_decl_CURLE_OUT_OF_MEMORY" "
7416 #include \"curl/curl.h\"
7419 if test "x$ac_cv_have_decl_CURLE_OUT_OF_MEMORY" = xyes; then :
7420 ac_have_decl=1
7421 else
7422 ac_have_decl=0
7425 cat >>confdefs.h <<_ACEOF
7426 #define HAVE_DECL_CURLE_OUT_OF_MEMORY $ac_have_decl
7427 _ACEOF
7428 ac_fn_c_check_decl "$LINENO" "CURLE_OPERATION_TIMEOUTED" "ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" "
7429 #include \"curl/curl.h\"
7432 if test "x$ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" = xyes; then :
7433 ac_have_decl=1
7434 else
7435 ac_have_decl=0
7438 cat >>confdefs.h <<_ACEOF
7439 #define HAVE_DECL_CURLE_OPERATION_TIMEOUTED $ac_have_decl
7440 _ACEOF
7441 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_SET_ASCII" "ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" "
7442 #include \"curl/curl.h\"
7445 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" = xyes; then :
7446 ac_have_decl=1
7447 else
7448 ac_have_decl=0
7451 cat >>confdefs.h <<_ACEOF
7452 #define HAVE_DECL_CURLE_FTP_COULDNT_SET_ASCII $ac_have_decl
7453 _ACEOF
7454 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_PORT_FAILED" "ac_cv_have_decl_CURLE_FTP_PORT_FAILED" "
7455 #include \"curl/curl.h\"
7458 if test "x$ac_cv_have_decl_CURLE_FTP_PORT_FAILED" = xyes; then :
7459 ac_have_decl=1
7460 else
7461 ac_have_decl=0
7464 cat >>confdefs.h <<_ACEOF
7465 #define HAVE_DECL_CURLE_FTP_PORT_FAILED $ac_have_decl
7466 _ACEOF
7467 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_USE_REST" "ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" "
7468 #include \"curl/curl.h\"
7471 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" = xyes; then :
7472 ac_have_decl=1
7473 else
7474 ac_have_decl=0
7477 cat >>confdefs.h <<_ACEOF
7478 #define HAVE_DECL_CURLE_FTP_COULDNT_USE_REST $ac_have_decl
7479 _ACEOF
7480 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_GET_SIZE" "ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" "
7481 #include \"curl/curl.h\"
7484 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" = xyes; then :
7485 ac_have_decl=1
7486 else
7487 ac_have_decl=0
7490 cat >>confdefs.h <<_ACEOF
7491 #define HAVE_DECL_CURLE_FTP_COULDNT_GET_SIZE $ac_have_decl
7492 _ACEOF
7493 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_RANGE_ERROR" "ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" "
7494 #include \"curl/curl.h\"
7497 if test "x$ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" = xyes; then :
7498 ac_have_decl=1
7499 else
7500 ac_have_decl=0
7503 cat >>confdefs.h <<_ACEOF
7504 #define HAVE_DECL_CURLE_HTTP_RANGE_ERROR $ac_have_decl
7505 _ACEOF
7506 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_POST_ERROR" "ac_cv_have_decl_CURLE_HTTP_POST_ERROR" "
7507 #include \"curl/curl.h\"
7510 if test "x$ac_cv_have_decl_CURLE_HTTP_POST_ERROR" = xyes; then :
7511 ac_have_decl=1
7512 else
7513 ac_have_decl=0
7516 cat >>confdefs.h <<_ACEOF
7517 #define HAVE_DECL_CURLE_HTTP_POST_ERROR $ac_have_decl
7518 _ACEOF
7519 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CONNECT_ERROR" "ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" "
7520 #include \"curl/curl.h\"
7523 if test "x$ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" = xyes; then :
7524 ac_have_decl=1
7525 else
7526 ac_have_decl=0
7529 cat >>confdefs.h <<_ACEOF
7530 #define HAVE_DECL_CURLE_SSL_CONNECT_ERROR $ac_have_decl
7531 _ACEOF
7532 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_DOWNLOAD_RESUME" "ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" "
7533 #include \"curl/curl.h\"
7536 if test "x$ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" = xyes; then :
7537 ac_have_decl=1
7538 else
7539 ac_have_decl=0
7542 cat >>confdefs.h <<_ACEOF
7543 #define HAVE_DECL_CURLE_BAD_DOWNLOAD_RESUME $ac_have_decl
7544 _ACEOF
7545 ac_fn_c_check_decl "$LINENO" "CURLE_FILE_COULDNT_READ_FILE" "ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" "
7546 #include \"curl/curl.h\"
7549 if test "x$ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" = xyes; then :
7550 ac_have_decl=1
7551 else
7552 ac_have_decl=0
7555 cat >>confdefs.h <<_ACEOF
7556 #define HAVE_DECL_CURLE_FILE_COULDNT_READ_FILE $ac_have_decl
7557 _ACEOF
7558 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_CANNOT_BIND" "ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" "
7559 #include \"curl/curl.h\"
7562 if test "x$ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" = xyes; then :
7563 ac_have_decl=1
7564 else
7565 ac_have_decl=0
7568 cat >>confdefs.h <<_ACEOF
7569 #define HAVE_DECL_CURLE_LDAP_CANNOT_BIND $ac_have_decl
7570 _ACEOF
7571 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_SEARCH_FAILED" "ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" "
7572 #include \"curl/curl.h\"
7575 if test "x$ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" = xyes; then :
7576 ac_have_decl=1
7577 else
7578 ac_have_decl=0
7581 cat >>confdefs.h <<_ACEOF
7582 #define HAVE_DECL_CURLE_LDAP_SEARCH_FAILED $ac_have_decl
7583 _ACEOF
7584 ac_fn_c_check_decl "$LINENO" "CURLE_LIBRARY_NOT_FOUND" "ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" "
7585 #include \"curl/curl.h\"
7588 if test "x$ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" = xyes; then :
7589 ac_have_decl=1
7590 else
7591 ac_have_decl=0
7594 cat >>confdefs.h <<_ACEOF
7595 #define HAVE_DECL_CURLE_LIBRARY_NOT_FOUND $ac_have_decl
7596 _ACEOF
7597 ac_fn_c_check_decl "$LINENO" "CURLE_FUNCTION_NOT_FOUND" "ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" "
7598 #include \"curl/curl.h\"
7601 if test "x$ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" = xyes; then :
7602 ac_have_decl=1
7603 else
7604 ac_have_decl=0
7607 cat >>confdefs.h <<_ACEOF
7608 #define HAVE_DECL_CURLE_FUNCTION_NOT_FOUND $ac_have_decl
7609 _ACEOF
7610 ac_fn_c_check_decl "$LINENO" "CURLE_ABORTED_BY_CALLBACK" "ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" "
7611 #include \"curl/curl.h\"
7614 if test "x$ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" = xyes; then :
7615 ac_have_decl=1
7616 else
7617 ac_have_decl=0
7620 cat >>confdefs.h <<_ACEOF
7621 #define HAVE_DECL_CURLE_ABORTED_BY_CALLBACK $ac_have_decl
7622 _ACEOF
7623 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_FUNCTION_ARGUMENT" "ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" "
7624 #include \"curl/curl.h\"
7627 if test "x$ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" = xyes; then :
7628 ac_have_decl=1
7629 else
7630 ac_have_decl=0
7633 cat >>confdefs.h <<_ACEOF
7634 #define HAVE_DECL_CURLE_BAD_FUNCTION_ARGUMENT $ac_have_decl
7635 _ACEOF
7636 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_CALLING_ORDER" "ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" "
7637 #include \"curl/curl.h\"
7640 if test "x$ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" = xyes; then :
7641 ac_have_decl=1
7642 else
7643 ac_have_decl=0
7646 cat >>confdefs.h <<_ACEOF
7647 #define HAVE_DECL_CURLE_BAD_CALLING_ORDER $ac_have_decl
7648 _ACEOF
7649 ac_fn_c_check_decl "$LINENO" "CURLE_INTERFACE_FAILED" "ac_cv_have_decl_CURLE_INTERFACE_FAILED" "
7650 #include \"curl/curl.h\"
7653 if test "x$ac_cv_have_decl_CURLE_INTERFACE_FAILED" = xyes; then :
7654 ac_have_decl=1
7655 else
7656 ac_have_decl=0
7659 cat >>confdefs.h <<_ACEOF
7660 #define HAVE_DECL_CURLE_INTERFACE_FAILED $ac_have_decl
7661 _ACEOF
7662 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_PASSWORD_ENTERED" "ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" "
7663 #include \"curl/curl.h\"
7666 if test "x$ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" = xyes; then :
7667 ac_have_decl=1
7668 else
7669 ac_have_decl=0
7672 cat >>confdefs.h <<_ACEOF
7673 #define HAVE_DECL_CURLE_BAD_PASSWORD_ENTERED $ac_have_decl
7674 _ACEOF
7675 ac_fn_c_check_decl "$LINENO" "CURLE_TOO_MANY_REDIRECTS" "ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" "
7676 #include \"curl/curl.h\"
7679 if test "x$ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" = xyes; then :
7680 ac_have_decl=1
7681 else
7682 ac_have_decl=0
7685 cat >>confdefs.h <<_ACEOF
7686 #define HAVE_DECL_CURLE_TOO_MANY_REDIRECTS $ac_have_decl
7687 _ACEOF
7688 ac_fn_c_check_decl "$LINENO" "CURLE_UNKNOWN_TELNET_OPTION" "ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" "
7689 #include \"curl/curl.h\"
7692 if test "x$ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" = xyes; then :
7693 ac_have_decl=1
7694 else
7695 ac_have_decl=0
7698 cat >>confdefs.h <<_ACEOF
7699 #define HAVE_DECL_CURLE_UNKNOWN_TELNET_OPTION $ac_have_decl
7700 _ACEOF
7701 ac_fn_c_check_decl "$LINENO" "CURLE_TELNET_OPTION_SYNTAX" "ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" "
7702 #include \"curl/curl.h\"
7705 if test "x$ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" = xyes; then :
7706 ac_have_decl=1
7707 else
7708 ac_have_decl=0
7711 cat >>confdefs.h <<_ACEOF
7712 #define HAVE_DECL_CURLE_TELNET_OPTION_SYNTAX $ac_have_decl
7713 _ACEOF
7714 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_PEER_CERTIFICATE" "ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" "
7715 #include \"curl/curl.h\"
7718 if test "x$ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" = xyes; then :
7719 ac_have_decl=1
7720 else
7721 ac_have_decl=0
7724 cat >>confdefs.h <<_ACEOF
7725 #define HAVE_DECL_CURLE_SSL_PEER_CERTIFICATE $ac_have_decl
7726 _ACEOF
7727 ac_fn_c_check_decl "$LINENO" "CURLE_GOT_NOTHING" "ac_cv_have_decl_CURLE_GOT_NOTHING" "
7728 #include \"curl/curl.h\"
7731 if test "x$ac_cv_have_decl_CURLE_GOT_NOTHING" = xyes; then :
7732 ac_have_decl=1
7733 else
7734 ac_have_decl=0
7737 cat >>confdefs.h <<_ACEOF
7738 #define HAVE_DECL_CURLE_GOT_NOTHING $ac_have_decl
7739 _ACEOF
7740 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_NOTFOUND" "ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" "
7741 #include \"curl/curl.h\"
7744 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" = xyes; then :
7745 ac_have_decl=1
7746 else
7747 ac_have_decl=0
7750 cat >>confdefs.h <<_ACEOF
7751 #define HAVE_DECL_CURLE_SSL_ENGINE_NOTFOUND $ac_have_decl
7752 _ACEOF
7753 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_SETFAILED" "ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" "
7754 #include \"curl/curl.h\"
7757 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" = xyes; then :
7758 ac_have_decl=1
7759 else
7760 ac_have_decl=0
7763 cat >>confdefs.h <<_ACEOF
7764 #define HAVE_DECL_CURLE_SSL_ENGINE_SETFAILED $ac_have_decl
7765 _ACEOF
7766 ac_fn_c_check_decl "$LINENO" "CURLE_SEND_ERROR" "ac_cv_have_decl_CURLE_SEND_ERROR" "
7767 #include \"curl/curl.h\"
7770 if test "x$ac_cv_have_decl_CURLE_SEND_ERROR" = xyes; then :
7771 ac_have_decl=1
7772 else
7773 ac_have_decl=0
7776 cat >>confdefs.h <<_ACEOF
7777 #define HAVE_DECL_CURLE_SEND_ERROR $ac_have_decl
7778 _ACEOF
7779 ac_fn_c_check_decl "$LINENO" "CURLE_RECV_ERROR" "ac_cv_have_decl_CURLE_RECV_ERROR" "
7780 #include \"curl/curl.h\"
7783 if test "x$ac_cv_have_decl_CURLE_RECV_ERROR" = xyes; then :
7784 ac_have_decl=1
7785 else
7786 ac_have_decl=0
7789 cat >>confdefs.h <<_ACEOF
7790 #define HAVE_DECL_CURLE_RECV_ERROR $ac_have_decl
7791 _ACEOF
7792 ac_fn_c_check_decl "$LINENO" "CURLE_SHARE_IN_USE" "ac_cv_have_decl_CURLE_SHARE_IN_USE" "
7793 #include \"curl/curl.h\"
7796 if test "x$ac_cv_have_decl_CURLE_SHARE_IN_USE" = xyes; then :
7797 ac_have_decl=1
7798 else
7799 ac_have_decl=0
7802 cat >>confdefs.h <<_ACEOF
7803 #define HAVE_DECL_CURLE_SHARE_IN_USE $ac_have_decl
7804 _ACEOF
7805 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CERTPROBLEM" "ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" "
7806 #include \"curl/curl.h\"
7809 if test "x$ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" = xyes; then :
7810 ac_have_decl=1
7811 else
7812 ac_have_decl=0
7815 cat >>confdefs.h <<_ACEOF
7816 #define HAVE_DECL_CURLE_SSL_CERTPROBLEM $ac_have_decl
7817 _ACEOF
7818 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CIPHER" "ac_cv_have_decl_CURLE_SSL_CIPHER" "
7819 #include \"curl/curl.h\"
7822 if test "x$ac_cv_have_decl_CURLE_SSL_CIPHER" = xyes; then :
7823 ac_have_decl=1
7824 else
7825 ac_have_decl=0
7828 cat >>confdefs.h <<_ACEOF
7829 #define HAVE_DECL_CURLE_SSL_CIPHER $ac_have_decl
7830 _ACEOF
7831 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CACERT" "ac_cv_have_decl_CURLE_SSL_CACERT" "
7832 #include \"curl/curl.h\"
7835 if test "x$ac_cv_have_decl_CURLE_SSL_CACERT" = xyes; then :
7836 ac_have_decl=1
7837 else
7838 ac_have_decl=0
7841 cat >>confdefs.h <<_ACEOF
7842 #define HAVE_DECL_CURLE_SSL_CACERT $ac_have_decl
7843 _ACEOF
7844 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_CONTENT_ENCODING" "ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" "
7845 #include \"curl/curl.h\"
7848 if test "x$ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" = xyes; then :
7849 ac_have_decl=1
7850 else
7851 ac_have_decl=0
7854 cat >>confdefs.h <<_ACEOF
7855 #define HAVE_DECL_CURLE_BAD_CONTENT_ENCODING $ac_have_decl
7856 _ACEOF
7857 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_INVALID_URL" "ac_cv_have_decl_CURLE_LDAP_INVALID_URL" "
7858 #include \"curl/curl.h\"
7861 if test "x$ac_cv_have_decl_CURLE_LDAP_INVALID_URL" = xyes; then :
7862 ac_have_decl=1
7863 else
7864 ac_have_decl=0
7867 cat >>confdefs.h <<_ACEOF
7868 #define HAVE_DECL_CURLE_LDAP_INVALID_URL $ac_have_decl
7869 _ACEOF
7870 ac_fn_c_check_decl "$LINENO" "CURLE_FILESIZE_EXCEEDED" "ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" "
7871 #include \"curl/curl.h\"
7874 if test "x$ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" = xyes; then :
7875 ac_have_decl=1
7876 else
7877 ac_have_decl=0
7880 cat >>confdefs.h <<_ACEOF
7881 #define HAVE_DECL_CURLE_FILESIZE_EXCEEDED $ac_have_decl
7882 _ACEOF
7883 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_SSL_FAILED" "ac_cv_have_decl_CURLE_FTP_SSL_FAILED" "
7884 #include \"curl/curl.h\"
7887 if test "x$ac_cv_have_decl_CURLE_FTP_SSL_FAILED" = xyes; then :
7888 ac_have_decl=1
7889 else
7890 ac_have_decl=0
7893 cat >>confdefs.h <<_ACEOF
7894 #define HAVE_DECL_CURLE_FTP_SSL_FAILED $ac_have_decl
7895 _ACEOF
7896 ac_fn_c_check_decl "$LINENO" "CURLE_SEND_FAIL_REWIND" "ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" "
7897 #include \"curl/curl.h\"
7900 if test "x$ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" = xyes; then :
7901 ac_have_decl=1
7902 else
7903 ac_have_decl=0
7906 cat >>confdefs.h <<_ACEOF
7907 #define HAVE_DECL_CURLE_SEND_FAIL_REWIND $ac_have_decl
7908 _ACEOF
7909 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_INITFAILED" "ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" "
7910 #include \"curl/curl.h\"
7913 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" = xyes; then :
7914 ac_have_decl=1
7915 else
7916 ac_have_decl=0
7919 cat >>confdefs.h <<_ACEOF
7920 #define HAVE_DECL_CURLE_SSL_ENGINE_INITFAILED $ac_have_decl
7921 _ACEOF
7922 ac_fn_c_check_decl "$LINENO" "CURLE_LOGIN_DENIED" "ac_cv_have_decl_CURLE_LOGIN_DENIED" "
7923 #include \"curl/curl.h\"
7926 if test "x$ac_cv_have_decl_CURLE_LOGIN_DENIED" = xyes; then :
7927 ac_have_decl=1
7928 else
7929 ac_have_decl=0
7932 cat >>confdefs.h <<_ACEOF
7933 #define HAVE_DECL_CURLE_LOGIN_DENIED $ac_have_decl
7934 _ACEOF
7935 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_NOTFOUND" "ac_cv_have_decl_CURLE_TFTP_NOTFOUND" "
7936 #include \"curl/curl.h\"
7939 if test "x$ac_cv_have_decl_CURLE_TFTP_NOTFOUND" = xyes; then :
7940 ac_have_decl=1
7941 else
7942 ac_have_decl=0
7945 cat >>confdefs.h <<_ACEOF
7946 #define HAVE_DECL_CURLE_TFTP_NOTFOUND $ac_have_decl
7947 _ACEOF
7948 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_PERM" "ac_cv_have_decl_CURLE_TFTP_PERM" "
7949 #include \"curl/curl.h\"
7952 if test "x$ac_cv_have_decl_CURLE_TFTP_PERM" = xyes; then :
7953 ac_have_decl=1
7954 else
7955 ac_have_decl=0
7958 cat >>confdefs.h <<_ACEOF
7959 #define HAVE_DECL_CURLE_TFTP_PERM $ac_have_decl
7960 _ACEOF
7961 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_DISK_FULL" "ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" "
7962 #include \"curl/curl.h\"
7965 if test "x$ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" = xyes; then :
7966 ac_have_decl=1
7967 else
7968 ac_have_decl=0
7971 cat >>confdefs.h <<_ACEOF
7972 #define HAVE_DECL_CURLE_REMOTE_DISK_FULL $ac_have_decl
7973 _ACEOF
7974 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_ILLEGAL" "ac_cv_have_decl_CURLE_TFTP_ILLEGAL" "
7975 #include \"curl/curl.h\"
7978 if test "x$ac_cv_have_decl_CURLE_TFTP_ILLEGAL" = xyes; then :
7979 ac_have_decl=1
7980 else
7981 ac_have_decl=0
7984 cat >>confdefs.h <<_ACEOF
7985 #define HAVE_DECL_CURLE_TFTP_ILLEGAL $ac_have_decl
7986 _ACEOF
7987 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_UNKNOWNID" "ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" "
7988 #include \"curl/curl.h\"
7991 if test "x$ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" = xyes; then :
7992 ac_have_decl=1
7993 else
7994 ac_have_decl=0
7997 cat >>confdefs.h <<_ACEOF
7998 #define HAVE_DECL_CURLE_TFTP_UNKNOWNID $ac_have_decl
7999 _ACEOF
8000 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_FILE_EXISTS" "ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" "
8001 #include \"curl/curl.h\"
8004 if test "x$ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" = xyes; then :
8005 ac_have_decl=1
8006 else
8007 ac_have_decl=0
8010 cat >>confdefs.h <<_ACEOF
8011 #define HAVE_DECL_CURLE_REMOTE_FILE_EXISTS $ac_have_decl
8012 _ACEOF
8013 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_NOSUCHUSER" "ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" "
8014 #include \"curl/curl.h\"
8017 if test "x$ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" = xyes; then :
8018 ac_have_decl=1
8019 else
8020 ac_have_decl=0
8023 cat >>confdefs.h <<_ACEOF
8024 #define HAVE_DECL_CURLE_TFTP_NOSUCHUSER $ac_have_decl
8025 _ACEOF
8026 ac_fn_c_check_decl "$LINENO" "CURLE_CONV_FAILED" "ac_cv_have_decl_CURLE_CONV_FAILED" "
8027 #include \"curl/curl.h\"
8030 if test "x$ac_cv_have_decl_CURLE_CONV_FAILED" = xyes; then :
8031 ac_have_decl=1
8032 else
8033 ac_have_decl=0
8036 cat >>confdefs.h <<_ACEOF
8037 #define HAVE_DECL_CURLE_CONV_FAILED $ac_have_decl
8038 _ACEOF
8039 ac_fn_c_check_decl "$LINENO" "CURLE_CONV_REQD" "ac_cv_have_decl_CURLE_CONV_REQD" "
8040 #include \"curl/curl.h\"
8043 if test "x$ac_cv_have_decl_CURLE_CONV_REQD" = xyes; then :
8044 ac_have_decl=1
8045 else
8046 ac_have_decl=0
8049 cat >>confdefs.h <<_ACEOF
8050 #define HAVE_DECL_CURLE_CONV_REQD $ac_have_decl
8051 _ACEOF
8052 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CACERT_BADFILE" "ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" "
8053 #include \"curl/curl.h\"
8056 if test "x$ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" = xyes; then :
8057 ac_have_decl=1
8058 else
8059 ac_have_decl=0
8062 cat >>confdefs.h <<_ACEOF
8063 #define HAVE_DECL_CURLE_SSL_CACERT_BADFILE $ac_have_decl
8064 _ACEOF
8065 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_FILE_NOT_FOUND" "ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" "
8066 #include \"curl/curl.h\"
8069 if test "x$ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" = xyes; then :
8070 ac_have_decl=1
8071 else
8072 ac_have_decl=0
8075 cat >>confdefs.h <<_ACEOF
8076 #define HAVE_DECL_CURLE_REMOTE_FILE_NOT_FOUND $ac_have_decl
8077 _ACEOF
8078 ac_fn_c_check_decl "$LINENO" "CURLE_SSH" "ac_cv_have_decl_CURLE_SSH" "
8079 #include \"curl/curl.h\"
8082 if test "x$ac_cv_have_decl_CURLE_SSH" = xyes; then :
8083 ac_have_decl=1
8084 else
8085 ac_have_decl=0
8088 cat >>confdefs.h <<_ACEOF
8089 #define HAVE_DECL_CURLE_SSH $ac_have_decl
8090 _ACEOF
8091 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_SHUTDOWN_FAILED" "ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED" "
8092 #include \"curl/curl.h\"
8095 if test "x$ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED" = xyes; then :
8096 ac_have_decl=1
8097 else
8098 ac_have_decl=0
8101 cat >>confdefs.h <<_ACEOF
8102 #define HAVE_DECL_CURLE_SSL_SHUTDOWN_FAILED $ac_have_decl
8103 _ACEOF
8104 ac_fn_c_check_decl "$LINENO" "CURLE_AGAIN" "ac_cv_have_decl_CURLE_AGAIN" "
8105 #include \"curl/curl.h\"
8108 if test "x$ac_cv_have_decl_CURLE_AGAIN" = xyes; then :
8109 ac_have_decl=1
8110 else
8111 ac_have_decl=0
8114 cat >>confdefs.h <<_ACEOF
8115 #define HAVE_DECL_CURLE_AGAIN $ac_have_decl
8116 _ACEOF
8117 ac_fn_c_check_decl "$LINENO" "CURL_VERSION_TLSAUTH_SRP" "ac_cv_have_decl_CURL_VERSION_TLSAUTH_SRP" "
8118 #include \"curl/curl.h\"
8121 if test "x$ac_cv_have_decl_CURL_VERSION_TLSAUTH_SRP" = xyes; then :
8122 ac_have_decl=1
8123 else
8124 ac_have_decl=0
8127 cat >>confdefs.h <<_ACEOF
8128 #define HAVE_DECL_CURL_VERSION_TLSAUTH_SRP $ac_have_decl
8129 _ACEOF
8130 ac_fn_c_check_decl "$LINENO" "CURL_VERSION_NTLM_WB" "ac_cv_have_decl_CURL_VERSION_NTLM_WB" "
8131 #include \"curl/curl.h\"
8134 if test "x$ac_cv_have_decl_CURL_VERSION_NTLM_WB" = xyes; then :
8135 ac_have_decl=1
8136 else
8137 ac_have_decl=0
8140 cat >>confdefs.h <<_ACEOF
8141 #define HAVE_DECL_CURL_VERSION_NTLM_WB $ac_have_decl
8142 _ACEOF
8145 ac_config_headers="$ac_config_headers config.h"
8147 ac_config_files="$ac_config_files Makefile examples/Makefile"
8150 cat >confcache <<\_ACEOF
8151 # This file is a shell script that caches the results of configure
8152 # tests run on this system so they can be shared between configure
8153 # scripts and configure runs, see configure's option --config-cache.
8154 # It is not useful on other systems. If it contains results you don't
8155 # want to keep, you may remove or edit it.
8157 # config.status only pays attention to the cache file if you give it
8158 # the --recheck option to rerun configure.
8160 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8161 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8162 # following values.
8164 _ACEOF
8166 # The following way of writing the cache mishandles newlines in values,
8167 # but we know of no workaround that is simple, portable, and efficient.
8168 # So, we kill variables containing newlines.
8169 # Ultrix sh set writes to stderr and can't be redirected directly,
8170 # and sets the high bit in the cache file unless we assign to the vars.
8172 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8173 eval ac_val=\$$ac_var
8174 case $ac_val in #(
8175 *${as_nl}*)
8176 case $ac_var in #(
8177 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8178 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8179 esac
8180 case $ac_var in #(
8181 _ | IFS | as_nl) ;; #(
8182 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8183 *) { eval $ac_var=; unset $ac_var;} ;;
8184 esac ;;
8185 esac
8186 done
8188 (set) 2>&1 |
8189 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8190 *${as_nl}ac_space=\ *)
8191 # `set' does not quote correctly, so add quotes: double-quote
8192 # substitution turns \\\\ into \\, and sed turns \\ into \.
8193 sed -n \
8194 "s/'/'\\\\''/g;
8195 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8196 ;; #(
8198 # `set' quotes correctly as required by POSIX, so do not add quotes.
8199 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8201 esac |
8202 sort
8204 sed '
8205 /^ac_cv_env_/b end
8206 t clear
8207 :clear
8208 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8209 t end
8210 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8211 :end' >>confcache
8212 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8213 if test -w "$cache_file"; then
8214 if test "x$cache_file" != "x/dev/null"; then
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8216 $as_echo "$as_me: updating cache $cache_file" >&6;}
8217 if test ! -f "$cache_file" || test -h "$cache_file"; then
8218 cat confcache >"$cache_file"
8219 else
8220 case $cache_file in #(
8221 */* | ?:*)
8222 mv -f confcache "$cache_file"$$ &&
8223 mv -f "$cache_file"$$ "$cache_file" ;; #(
8225 mv -f confcache "$cache_file" ;;
8226 esac
8229 else
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8231 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8234 rm -f confcache
8236 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8237 # Let make expand exec_prefix.
8238 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8240 DEFS=-DHAVE_CONFIG_H
8242 ac_libobjs=
8243 ac_ltlibobjs=
8245 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8246 # 1. Remove the extension, and $U if already installed.
8247 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8248 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8249 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8250 # will be set to the directory where LIBOBJS objects are built.
8251 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8252 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8253 done
8254 LIBOBJS=$ac_libobjs
8256 LTLIBOBJS=$ac_ltlibobjs
8260 : "${CONFIG_STATUS=./config.status}"
8261 ac_write_fail=0
8262 ac_clean_files_save=$ac_clean_files
8263 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8265 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8266 as_write_fail=0
8267 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8268 #! $SHELL
8269 # Generated by $as_me.
8270 # Run this file to recreate the current configuration.
8271 # Compiler output produced by configure, useful for debugging
8272 # configure, is in config.log if it exists.
8274 debug=false
8275 ac_cs_recheck=false
8276 ac_cs_silent=false
8278 SHELL=\${CONFIG_SHELL-$SHELL}
8279 export SHELL
8280 _ASEOF
8281 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8282 ## -------------------- ##
8283 ## M4sh Initialization. ##
8284 ## -------------------- ##
8286 # Be more Bourne compatible
8287 DUALCASE=1; export DUALCASE # for MKS sh
8288 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8289 emulate sh
8290 NULLCMD=:
8291 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8292 # is contrary to our usage. Disable this feature.
8293 alias -g '${1+"$@"}'='"$@"'
8294 setopt NO_GLOB_SUBST
8295 else
8296 case `(set -o) 2>/dev/null` in #(
8297 *posix*) :
8298 set -o posix ;; #(
8299 *) :
8301 esac
8305 as_nl='
8307 export as_nl
8308 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8309 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8310 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8311 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8312 # Prefer a ksh shell builtin over an external printf program on Solaris,
8313 # but without wasting forks for bash or zsh.
8314 if test -z "$BASH_VERSION$ZSH_VERSION" \
8315 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8316 as_echo='print -r --'
8317 as_echo_n='print -rn --'
8318 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8319 as_echo='printf %s\n'
8320 as_echo_n='printf %s'
8321 else
8322 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8323 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8324 as_echo_n='/usr/ucb/echo -n'
8325 else
8326 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8327 as_echo_n_body='eval
8328 arg=$1;
8329 case $arg in #(
8330 *"$as_nl"*)
8331 expr "X$arg" : "X\\(.*\\)$as_nl";
8332 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8333 esac;
8334 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8336 export as_echo_n_body
8337 as_echo_n='sh -c $as_echo_n_body as_echo'
8339 export as_echo_body
8340 as_echo='sh -c $as_echo_body as_echo'
8343 # The user is always right.
8344 if test "${PATH_SEPARATOR+set}" != set; then
8345 PATH_SEPARATOR=:
8346 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8347 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8348 PATH_SEPARATOR=';'
8353 # IFS
8354 # We need space, tab and new line, in precisely that order. Quoting is
8355 # there to prevent editors from complaining about space-tab.
8356 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8357 # splitting by setting IFS to empty value.)
8358 IFS=" "" $as_nl"
8360 # Find who we are. Look in the path if we contain no directory separator.
8361 as_myself=
8362 case $0 in #((
8363 *[\\/]* ) as_myself=$0 ;;
8364 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8365 for as_dir in $PATH
8367 IFS=$as_save_IFS
8368 test -z "$as_dir" && as_dir=.
8369 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8370 done
8371 IFS=$as_save_IFS
8374 esac
8375 # We did not find ourselves, most probably we were run as `sh COMMAND'
8376 # in which case we are not to be found in the path.
8377 if test "x$as_myself" = x; then
8378 as_myself=$0
8380 if test ! -f "$as_myself"; then
8381 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8382 exit 1
8385 # Unset variables that we do not need and which cause bugs (e.g. in
8386 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8387 # suppresses any "Segmentation fault" message there. '((' could
8388 # trigger a bug in pdksh 5.2.14.
8389 for as_var in BASH_ENV ENV MAIL MAILPATH
8390 do eval test x\${$as_var+set} = xset \
8391 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8392 done
8393 PS1='$ '
8394 PS2='> '
8395 PS4='+ '
8397 # NLS nuisances.
8398 LC_ALL=C
8399 export LC_ALL
8400 LANGUAGE=C
8401 export LANGUAGE
8403 # CDPATH.
8404 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8408 # ----------------------------------------
8409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8411 # script with STATUS, using 1 if that was 0.
8412 as_fn_error ()
8414 as_status=$1; test $as_status -eq 0 && as_status=1
8415 if test "$4"; then
8416 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8417 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8419 $as_echo "$as_me: error: $2" >&2
8420 as_fn_exit $as_status
8421 } # as_fn_error
8424 # as_fn_set_status STATUS
8425 # -----------------------
8426 # Set $? to STATUS, without forking.
8427 as_fn_set_status ()
8429 return $1
8430 } # as_fn_set_status
8432 # as_fn_exit STATUS
8433 # -----------------
8434 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8435 as_fn_exit ()
8437 set +e
8438 as_fn_set_status $1
8439 exit $1
8440 } # as_fn_exit
8442 # as_fn_unset VAR
8443 # ---------------
8444 # Portably unset VAR.
8445 as_fn_unset ()
8447 { eval $1=; unset $1;}
8449 as_unset=as_fn_unset
8450 # as_fn_append VAR VALUE
8451 # ----------------------
8452 # Append the text in VALUE to the end of the definition contained in VAR. Take
8453 # advantage of any shell optimizations that allow amortized linear growth over
8454 # repeated appends, instead of the typical quadratic growth present in naive
8455 # implementations.
8456 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8457 eval 'as_fn_append ()
8459 eval $1+=\$2
8461 else
8462 as_fn_append ()
8464 eval $1=\$$1\$2
8466 fi # as_fn_append
8468 # as_fn_arith ARG...
8469 # ------------------
8470 # Perform arithmetic evaluation on the ARGs, and store the result in the
8471 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8472 # must be portable across $(()) and expr.
8473 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8474 eval 'as_fn_arith ()
8476 as_val=$(( $* ))
8478 else
8479 as_fn_arith ()
8481 as_val=`expr "$@" || test $? -eq 1`
8483 fi # as_fn_arith
8486 if expr a : '\(a\)' >/dev/null 2>&1 &&
8487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8488 as_expr=expr
8489 else
8490 as_expr=false
8493 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8494 as_basename=basename
8495 else
8496 as_basename=false
8499 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8500 as_dirname=dirname
8501 else
8502 as_dirname=false
8505 as_me=`$as_basename -- "$0" ||
8506 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8507 X"$0" : 'X\(//\)$' \| \
8508 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8509 $as_echo X/"$0" |
8510 sed '/^.*\/\([^/][^/]*\)\/*$/{
8511 s//\1/
8514 /^X\/\(\/\/\)$/{
8515 s//\1/
8518 /^X\/\(\/\).*/{
8519 s//\1/
8522 s/.*/./; q'`
8524 # Avoid depending upon Character Ranges.
8525 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8526 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8527 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8528 as_cr_digits='0123456789'
8529 as_cr_alnum=$as_cr_Letters$as_cr_digits
8531 ECHO_C= ECHO_N= ECHO_T=
8532 case `echo -n x` in #(((((
8533 -n*)
8534 case `echo 'xy\c'` in
8535 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8536 xy) ECHO_C='\c';;
8537 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8538 ECHO_T=' ';;
8539 esac;;
8541 ECHO_N='-n';;
8542 esac
8544 rm -f conf$$ conf$$.exe conf$$.file
8545 if test -d conf$$.dir; then
8546 rm -f conf$$.dir/conf$$.file
8547 else
8548 rm -f conf$$.dir
8549 mkdir conf$$.dir 2>/dev/null
8551 if (echo >conf$$.file) 2>/dev/null; then
8552 if ln -s conf$$.file conf$$ 2>/dev/null; then
8553 as_ln_s='ln -s'
8554 # ... but there are two gotchas:
8555 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8556 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8557 # In both cases, we have to default to `cp -pR'.
8558 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8559 as_ln_s='cp -pR'
8560 elif ln conf$$.file conf$$ 2>/dev/null; then
8561 as_ln_s=ln
8562 else
8563 as_ln_s='cp -pR'
8565 else
8566 as_ln_s='cp -pR'
8568 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8569 rmdir conf$$.dir 2>/dev/null
8572 # as_fn_mkdir_p
8573 # -------------
8574 # Create "$as_dir" as a directory, including parents if necessary.
8575 as_fn_mkdir_p ()
8578 case $as_dir in #(
8579 -*) as_dir=./$as_dir;;
8580 esac
8581 test -d "$as_dir" || eval $as_mkdir_p || {
8582 as_dirs=
8583 while :; do
8584 case $as_dir in #(
8585 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8586 *) as_qdir=$as_dir;;
8587 esac
8588 as_dirs="'$as_qdir' $as_dirs"
8589 as_dir=`$as_dirname -- "$as_dir" ||
8590 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8591 X"$as_dir" : 'X\(//\)[^/]' \| \
8592 X"$as_dir" : 'X\(//\)$' \| \
8593 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8594 $as_echo X"$as_dir" |
8595 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8596 s//\1/
8599 /^X\(\/\/\)[^/].*/{
8600 s//\1/
8603 /^X\(\/\/\)$/{
8604 s//\1/
8607 /^X\(\/\).*/{
8608 s//\1/
8611 s/.*/./; q'`
8612 test -d "$as_dir" && break
8613 done
8614 test -z "$as_dirs" || eval "mkdir $as_dirs"
8615 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8618 } # as_fn_mkdir_p
8619 if mkdir -p . 2>/dev/null; then
8620 as_mkdir_p='mkdir -p "$as_dir"'
8621 else
8622 test -d ./-p && rmdir ./-p
8623 as_mkdir_p=false
8627 # as_fn_executable_p FILE
8628 # -----------------------
8629 # Test if FILE is an executable regular file.
8630 as_fn_executable_p ()
8632 test -f "$1" && test -x "$1"
8633 } # as_fn_executable_p
8634 as_test_x='test -x'
8635 as_executable_p=as_fn_executable_p
8637 # Sed expression to map a string onto a valid CPP name.
8638 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8640 # Sed expression to map a string onto a valid variable name.
8641 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8644 exec 6>&1
8645 ## ----------------------------------- ##
8646 ## Main body of $CONFIG_STATUS script. ##
8647 ## ----------------------------------- ##
8648 _ASEOF
8649 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8652 # Save the log message, to keep $0 and so on meaningful, and to
8653 # report actual input values of CONFIG_FILES etc. instead of their
8654 # values after options handling.
8655 ac_log="
8656 This file was extended by ocurl $as_me 0.7.4, which was
8657 generated by GNU Autoconf 2.69. Invocation command line was
8659 CONFIG_FILES = $CONFIG_FILES
8660 CONFIG_HEADERS = $CONFIG_HEADERS
8661 CONFIG_LINKS = $CONFIG_LINKS
8662 CONFIG_COMMANDS = $CONFIG_COMMANDS
8663 $ $0 $@
8665 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8668 _ACEOF
8670 case $ac_config_files in *"
8671 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8672 esac
8674 case $ac_config_headers in *"
8675 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8676 esac
8679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8680 # Files that config.status was made for.
8681 config_files="$ac_config_files"
8682 config_headers="$ac_config_headers"
8684 _ACEOF
8686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8687 ac_cs_usage="\
8688 \`$as_me' instantiates files and other configuration actions
8689 from templates according to the current configuration. Unless the files
8690 and actions are specified as TAGs, all are instantiated by default.
8692 Usage: $0 [OPTION]... [TAG]...
8694 -h, --help print this help, then exit
8695 -V, --version print version number and configuration settings, then exit
8696 --config print configuration, then exit
8697 -q, --quiet, --silent
8698 do not print progress messages
8699 -d, --debug don't remove temporary files
8700 --recheck update $as_me by reconfiguring in the same conditions
8701 --file=FILE[:TEMPLATE]
8702 instantiate the configuration file FILE
8703 --header=FILE[:TEMPLATE]
8704 instantiate the configuration header FILE
8706 Configuration files:
8707 $config_files
8709 Configuration headers:
8710 $config_headers
8712 Report bugs to the package provider."
8714 _ACEOF
8715 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8716 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8717 ac_cs_version="\\
8718 ocurl config.status 0.7.4
8719 configured by $0, generated by GNU Autoconf 2.69,
8720 with options \\"\$ac_cs_config\\"
8722 Copyright (C) 2012 Free Software Foundation, Inc.
8723 This config.status script is free software; the Free Software Foundation
8724 gives unlimited permission to copy, distribute and modify it."
8726 ac_pwd='$ac_pwd'
8727 srcdir='$srcdir'
8728 INSTALL='$INSTALL'
8729 test -n "\$AWK" || AWK=awk
8730 _ACEOF
8732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8733 # The default lists apply if the user does not specify any file.
8734 ac_need_defaults=:
8735 while test $# != 0
8737 case $1 in
8738 --*=?*)
8739 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8740 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8741 ac_shift=:
8743 --*=)
8744 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8745 ac_optarg=
8746 ac_shift=:
8749 ac_option=$1
8750 ac_optarg=$2
8751 ac_shift=shift
8753 esac
8755 case $ac_option in
8756 # Handling of the options.
8757 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8758 ac_cs_recheck=: ;;
8759 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8760 $as_echo "$ac_cs_version"; exit ;;
8761 --config | --confi | --conf | --con | --co | --c )
8762 $as_echo "$ac_cs_config"; exit ;;
8763 --debug | --debu | --deb | --de | --d | -d )
8764 debug=: ;;
8765 --file | --fil | --fi | --f )
8766 $ac_shift
8767 case $ac_optarg in
8768 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8769 '') as_fn_error $? "missing file argument" ;;
8770 esac
8771 as_fn_append CONFIG_FILES " '$ac_optarg'"
8772 ac_need_defaults=false;;
8773 --header | --heade | --head | --hea )
8774 $ac_shift
8775 case $ac_optarg in
8776 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8777 esac
8778 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8779 ac_need_defaults=false;;
8780 --he | --h)
8781 # Conflict between --help and --header
8782 as_fn_error $? "ambiguous option: \`$1'
8783 Try \`$0 --help' for more information.";;
8784 --help | --hel | -h )
8785 $as_echo "$ac_cs_usage"; exit ;;
8786 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8787 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8788 ac_cs_silent=: ;;
8790 # This is an error.
8791 -*) as_fn_error $? "unrecognized option: \`$1'
8792 Try \`$0 --help' for more information." ;;
8794 *) as_fn_append ac_config_targets " $1"
8795 ac_need_defaults=false ;;
8797 esac
8798 shift
8799 done
8801 ac_configure_extra_args=
8803 if $ac_cs_silent; then
8804 exec 6>/dev/null
8805 ac_configure_extra_args="$ac_configure_extra_args --silent"
8808 _ACEOF
8809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8810 if \$ac_cs_recheck; then
8811 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8812 shift
8813 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8814 CONFIG_SHELL='$SHELL'
8815 export CONFIG_SHELL
8816 exec "\$@"
8819 _ACEOF
8820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8821 exec 5>>config.log
8823 echo
8824 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8825 ## Running $as_me. ##
8826 _ASBOX
8827 $as_echo "$ac_log"
8828 } >&5
8830 _ACEOF
8831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8832 _ACEOF
8834 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8836 # Handling of arguments.
8837 for ac_config_target in $ac_config_targets
8839 case $ac_config_target in
8840 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8841 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8842 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
8844 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8845 esac
8846 done
8849 # If the user did not use the arguments to specify the items to instantiate,
8850 # then the envvar interface is used. Set only those that are not.
8851 # We use the long form for the default assignment because of an extremely
8852 # bizarre bug on SunOS 4.1.3.
8853 if $ac_need_defaults; then
8854 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8855 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8858 # Have a temporary directory for convenience. Make it in the build tree
8859 # simply because there is no reason against having it here, and in addition,
8860 # creating and moving files from /tmp can sometimes cause problems.
8861 # Hook for its removal unless debugging.
8862 # Note that there is a small window in which the directory will not be cleaned:
8863 # after its creation but before its name has been assigned to `$tmp'.
8864 $debug ||
8866 tmp= ac_tmp=
8867 trap 'exit_status=$?
8868 : "${ac_tmp:=$tmp}"
8869 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8871 trap 'as_fn_exit 1' 1 2 13 15
8873 # Create a (secure) tmp directory for tmp files.
8876 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8877 test -d "$tmp"
8878 } ||
8880 tmp=./conf$$-$RANDOM
8881 (umask 077 && mkdir "$tmp")
8882 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8883 ac_tmp=$tmp
8885 # Set up the scripts for CONFIG_FILES section.
8886 # No need to generate them if there are no CONFIG_FILES.
8887 # This happens for instance with `./config.status config.h'.
8888 if test -n "$CONFIG_FILES"; then
8891 ac_cr=`echo X | tr X '\015'`
8892 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8893 # But we know of no other shell where ac_cr would be empty at this
8894 # point, so we can use a bashism as a fallback.
8895 if test "x$ac_cr" = x; then
8896 eval ac_cr=\$\'\\r\'
8898 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8899 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8900 ac_cs_awk_cr='\\r'
8901 else
8902 ac_cs_awk_cr=$ac_cr
8905 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8906 _ACEOF
8910 echo "cat >conf$$subs.awk <<_ACEOF" &&
8911 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8912 echo "_ACEOF"
8913 } >conf$$subs.sh ||
8914 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8915 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8916 ac_delim='%!_!# '
8917 for ac_last_try in false false false false false :; do
8918 . ./conf$$subs.sh ||
8919 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8921 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8922 if test $ac_delim_n = $ac_delim_num; then
8923 break
8924 elif $ac_last_try; then
8925 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8926 else
8927 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8929 done
8930 rm -f conf$$subs.sh
8932 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8933 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8934 _ACEOF
8935 sed -n '
8937 s/^/S["/; s/!.*/"]=/
8940 s/^[^!]*!//
8941 :repl
8942 t repl
8943 s/'"$ac_delim"'$//
8944 t delim
8947 s/\(.\{148\}\)..*/\1/
8948 t more1
8949 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8952 b repl
8953 :more1
8954 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8957 s/.\{148\}//
8958 t nl
8959 :delim
8961 s/\(.\{148\}\)..*/\1/
8962 t more2
8963 s/["\\]/\\&/g; s/^/"/; s/$/"/
8966 :more2
8967 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8970 s/.\{148\}//
8971 t delim
8972 ' <conf$$subs.awk | sed '
8973 /^[^""]/{
8975 s/\n//
8977 ' >>$CONFIG_STATUS || ac_write_fail=1
8978 rm -f conf$$subs.awk
8979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8980 _ACAWK
8981 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8982 for (key in S) S_is_set[key] = 1
8983 FS = "\a"
8987 line = $ 0
8988 nfields = split(line, field, "@")
8989 substed = 0
8990 len = length(field[1])
8991 for (i = 2; i < nfields; i++) {
8992 key = field[i]
8993 keylen = length(key)
8994 if (S_is_set[key]) {
8995 value = S[key]
8996 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8997 len += length(value) + length(field[++i])
8998 substed = 1
8999 } else
9000 len += 1 + keylen
9003 print line
9006 _ACAWK
9007 _ACEOF
9008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9009 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9010 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9011 else
9013 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9014 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9015 _ACEOF
9017 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9018 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9019 # trailing colons and then remove the whole line if VPATH becomes empty
9020 # (actually we leave an empty line to preserve line numbers).
9021 if test "x$srcdir" = x.; then
9022 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
9024 s///
9025 s/^/:/
9026 s/[ ]*$/:/
9027 s/:\$(srcdir):/:/g
9028 s/:\${srcdir}:/:/g
9029 s/:@srcdir@:/:/g
9030 s/^:*//
9031 s/:*$//
9033 s/\(=[ ]*\).*/\1/
9035 s/\n//
9036 s/^[^=]*=[ ]*$//
9040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9041 fi # test -n "$CONFIG_FILES"
9043 # Set up the scripts for CONFIG_HEADERS section.
9044 # No need to generate them if there are no CONFIG_HEADERS.
9045 # This happens for instance with `./config.status Makefile'.
9046 if test -n "$CONFIG_HEADERS"; then
9047 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9048 BEGIN {
9049 _ACEOF
9051 # Transform confdefs.h into an awk script `defines.awk', embedded as
9052 # here-document in config.status, that substitutes the proper values into
9053 # config.h.in to produce config.h.
9055 # Create a delimiter string that does not exist in confdefs.h, to ease
9056 # handling of long lines.
9057 ac_delim='%!_!# '
9058 for ac_last_try in false false :; do
9059 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9060 if test -z "$ac_tt"; then
9061 break
9062 elif $ac_last_try; then
9063 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9064 else
9065 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9067 done
9069 # For the awk script, D is an array of macro values keyed by name,
9070 # likewise P contains macro parameters if any. Preserve backslash
9071 # newline sequences.
9073 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9074 sed -n '
9075 s/.\{148\}/&'"$ac_delim"'/g
9076 t rset
9077 :rset
9078 s/^[ ]*#[ ]*define[ ][ ]*/ /
9079 t def
9081 :def
9082 s/\\$//
9083 t bsnl
9084 s/["\\]/\\&/g
9085 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9086 D["\1"]=" \3"/p
9087 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
9089 :bsnl
9090 s/["\\]/\\&/g
9091 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9092 D["\1"]=" \3\\\\\\n"\\/p
9093 t cont
9094 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9095 t cont
9097 :cont
9099 s/.\{148\}/&'"$ac_delim"'/g
9100 t clear
9101 :clear
9102 s/\\$//
9103 t bsnlc
9104 s/["\\]/\\&/g; s/^/"/; s/$/"/p
9106 :bsnlc
9107 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9108 b cont
9109 ' <confdefs.h | sed '
9110 s/'"$ac_delim"'/"\\\
9111 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9114 for (key in D) D_is_set[key] = 1
9115 FS = "\a"
9117 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9118 line = \$ 0
9119 split(line, arg, " ")
9120 if (arg[1] == "#") {
9121 defundef = arg[2]
9122 mac1 = arg[3]
9123 } else {
9124 defundef = substr(arg[1], 2)
9125 mac1 = arg[2]
9127 split(mac1, mac2, "(") #)
9128 macro = mac2[1]
9129 prefix = substr(line, 1, index(line, defundef) - 1)
9130 if (D_is_set[macro]) {
9131 # Preserve the white space surrounding the "#".
9132 print prefix "define", macro P[macro] D[macro]
9133 next
9134 } else {
9135 # Replace #undef with comments. This is necessary, for example,
9136 # in the case of _POSIX_SOURCE, which is predefined and required
9137 # on some systems where configure will not decide to define it.
9138 if (defundef == "undef") {
9139 print "/*", prefix defundef, macro, "*/"
9140 next
9144 { print }
9145 _ACAWK
9146 _ACEOF
9147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9148 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
9149 fi # test -n "$CONFIG_HEADERS"
9152 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
9153 shift
9154 for ac_tag
9156 case $ac_tag in
9157 :[FHLC]) ac_mode=$ac_tag; continue;;
9158 esac
9159 case $ac_mode$ac_tag in
9160 :[FHL]*:*);;
9161 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9162 :[FH]-) ac_tag=-:-;;
9163 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9164 esac
9165 ac_save_IFS=$IFS
9166 IFS=:
9167 set x $ac_tag
9168 IFS=$ac_save_IFS
9169 shift
9170 ac_file=$1
9171 shift
9173 case $ac_mode in
9174 :L) ac_source=$1;;
9175 :[FH])
9176 ac_file_inputs=
9177 for ac_f
9179 case $ac_f in
9180 -) ac_f="$ac_tmp/stdin";;
9181 *) # Look for the file first in the build tree, then in the source tree
9182 # (if the path is not absolute). The absolute path cannot be DOS-style,
9183 # because $ac_f cannot contain `:'.
9184 test -f "$ac_f" ||
9185 case $ac_f in
9186 [\\/$]*) false;;
9187 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9188 esac ||
9189 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9190 esac
9191 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9192 as_fn_append ac_file_inputs " '$ac_f'"
9193 done
9195 # Let's still pretend it is `configure' which instantiates (i.e., don't
9196 # use $as_me), people would be surprised to read:
9197 # /* config.h. Generated by config.status. */
9198 configure_input='Generated from '`
9199 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9200 `' by configure.'
9201 if test x"$ac_file" != x-; then
9202 configure_input="$ac_file. $configure_input"
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9204 $as_echo "$as_me: creating $ac_file" >&6;}
9206 # Neutralize special characters interpreted by sed in replacement strings.
9207 case $configure_input in #(
9208 *\&* | *\|* | *\\* )
9209 ac_sed_conf_input=`$as_echo "$configure_input" |
9210 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9211 *) ac_sed_conf_input=$configure_input;;
9212 esac
9214 case $ac_tag in
9215 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9216 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9217 esac
9219 esac
9221 ac_dir=`$as_dirname -- "$ac_file" ||
9222 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9223 X"$ac_file" : 'X\(//\)[^/]' \| \
9224 X"$ac_file" : 'X\(//\)$' \| \
9225 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9226 $as_echo X"$ac_file" |
9227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9228 s//\1/
9231 /^X\(\/\/\)[^/].*/{
9232 s//\1/
9235 /^X\(\/\/\)$/{
9236 s//\1/
9239 /^X\(\/\).*/{
9240 s//\1/
9243 s/.*/./; q'`
9244 as_dir="$ac_dir"; as_fn_mkdir_p
9245 ac_builddir=.
9247 case "$ac_dir" in
9248 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9250 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9251 # A ".." for each directory in $ac_dir_suffix.
9252 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9253 case $ac_top_builddir_sub in
9254 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9255 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9256 esac ;;
9257 esac
9258 ac_abs_top_builddir=$ac_pwd
9259 ac_abs_builddir=$ac_pwd$ac_dir_suffix
9260 # for backward compatibility:
9261 ac_top_builddir=$ac_top_build_prefix
9263 case $srcdir in
9264 .) # We are building in place.
9265 ac_srcdir=.
9266 ac_top_srcdir=$ac_top_builddir_sub
9267 ac_abs_top_srcdir=$ac_pwd ;;
9268 [\\/]* | ?:[\\/]* ) # Absolute name.
9269 ac_srcdir=$srcdir$ac_dir_suffix;
9270 ac_top_srcdir=$srcdir
9271 ac_abs_top_srcdir=$srcdir ;;
9272 *) # Relative name.
9273 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9274 ac_top_srcdir=$ac_top_build_prefix$srcdir
9275 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9276 esac
9277 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9280 case $ac_mode in
9283 # CONFIG_FILE
9286 case $INSTALL in
9287 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9288 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9289 esac
9290 _ACEOF
9292 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9293 # If the template does not know about datarootdir, expand it.
9294 # FIXME: This hack should be removed a few years after 2.60.
9295 ac_datarootdir_hack=; ac_datarootdir_seen=
9296 ac_sed_dataroot='
9297 /datarootdir/ {
9301 /@datadir@/p
9302 /@docdir@/p
9303 /@infodir@/p
9304 /@localedir@/p
9305 /@mandir@/p'
9306 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9307 *datarootdir*) ac_datarootdir_seen=yes;;
9308 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9310 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9311 _ACEOF
9312 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9313 ac_datarootdir_hack='
9314 s&@datadir@&$datadir&g
9315 s&@docdir@&$docdir&g
9316 s&@infodir@&$infodir&g
9317 s&@localedir@&$localedir&g
9318 s&@mandir@&$mandir&g
9319 s&\\\${datarootdir}&$datarootdir&g' ;;
9320 esac
9321 _ACEOF
9323 # Neutralize VPATH when `$srcdir' = `.'.
9324 # Shell code in configure.ac might set extrasub.
9325 # FIXME: do we really want to maintain this feature?
9326 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9327 ac_sed_extra="$ac_vpsub
9328 $extrasub
9329 _ACEOF
9330 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9332 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9333 s|@configure_input@|$ac_sed_conf_input|;t t
9334 s&@top_builddir@&$ac_top_builddir_sub&;t t
9335 s&@top_build_prefix@&$ac_top_build_prefix&;t t
9336 s&@srcdir@&$ac_srcdir&;t t
9337 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9338 s&@top_srcdir@&$ac_top_srcdir&;t t
9339 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9340 s&@builddir@&$ac_builddir&;t t
9341 s&@abs_builddir@&$ac_abs_builddir&;t t
9342 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9343 s&@INSTALL@&$ac_INSTALL&;t t
9344 $ac_datarootdir_hack
9346 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9347 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9349 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9350 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9351 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9352 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9354 which seems to be undefined. Please make sure it is defined" >&5
9355 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9356 which seems to be undefined. Please make sure it is defined" >&2;}
9358 rm -f "$ac_tmp/stdin"
9359 case $ac_file in
9360 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9361 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9362 esac \
9363 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9367 # CONFIG_HEADER
9369 if test x"$ac_file" != x-; then
9371 $as_echo "/* $configure_input */" \
9372 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9373 } >"$ac_tmp/config.h" \
9374 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9375 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9377 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9378 else
9379 rm -f "$ac_file"
9380 mv "$ac_tmp/config.h" "$ac_file" \
9381 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9383 else
9384 $as_echo "/* $configure_input */" \
9385 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9386 || as_fn_error $? "could not create -" "$LINENO" 5
9391 esac
9393 done # for ac_tag
9396 as_fn_exit 0
9397 _ACEOF
9398 ac_clean_files=$ac_clean_files_save
9400 test $ac_write_fail = 0 ||
9401 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9404 # configure is writing to config.log, and then calls config.status.
9405 # config.status does its own redirection, appending to config.log.
9406 # Unfortunately, on DOS this fails, as config.log is still kept open
9407 # by configure, so config.status won't be able to write to it; its
9408 # output is simply discarded. So we exec the FD to /dev/null,
9409 # effectively closing config.log, so it can be properly (re)opened and
9410 # appended to by config.status. When coming back to configure, we
9411 # need to make the FD available again.
9412 if test "$no_create" != yes; then
9413 ac_cs_success=:
9414 ac_config_status_args=
9415 test "$silent" = yes &&
9416 ac_config_status_args="$ac_config_status_args --quiet"
9417 exec 5>/dev/null
9418 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9419 exec 5>>config.log
9420 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9421 # would make configure fail if this is the last instruction.
9422 $ac_cs_success || as_fn_exit 1
9424 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9426 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}