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