fix free_curl_slist (crash with 7.24.0)
[ocurl.git] / configure
blobb360e9b1f1e825d959ef85eeaa843e03ef6745ac
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8 # Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 case $0 in #((
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
97 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done
101 IFS=$as_save_IFS
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108 as_myself=$0
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 emulate sh
139 NULLCMD=:
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 setopt NO_GLOB_SUBST
144 else
145 case \`(set -o) 2>/dev/null\` in #(
146 *posix*) :
147 set -o posix ;; #(
148 *) :
150 esac
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
159 exitcode=0
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166 else
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
174 if (eval "$as_required") 2>/dev/null; then :
175 as_have_required=yes
176 else
177 as_have_required=no
179 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181 else
182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183 as_found=false
184 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186 IFS=$as_save_IFS
187 test -z "$as_dir" && as_dir=.
188 as_found=:
189 case $as_dir in #(
191 for as_base in sh bash ksh sh5; do
192 # Try only shells that exist, to save several forks.
193 as_shell=$as_dir/$as_base
194 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
195 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
196 CONFIG_SHELL=$as_shell as_have_required=yes
197 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 break 2
201 done;;
202 esac
203 as_found=false
204 done
205 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
206 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
207 CONFIG_SHELL=$SHELL as_have_required=yes
208 fi; }
209 IFS=$as_save_IFS
212 if test "x$CONFIG_SHELL" != x; then :
213 # We cannot yet assume a decent shell, so we have to provide a
214 # neutralization value for shells without unset; and this also
215 # works around shells that cannot unset nonexistent variables.
216 BASH_ENV=/dev/null
217 ENV=/dev/null
218 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219 export CONFIG_SHELL
220 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
223 if test x$as_have_required = xno; then :
224 $as_echo "$0: This script requires a shell more modern than all"
225 $as_echo "$0: the shells that I found on your system."
226 if test x${ZSH_VERSION+set} = xset ; then
227 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
228 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 else
230 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
231 $0: including any error possibly output before this
232 $0: message. Then install a modern shell, or manually run
233 $0: the script under such a shell if you do have one."
235 exit 1
239 SHELL=${CONFIG_SHELL-/bin/sh}
240 export SHELL
241 # Unset more variables known to interfere with behavior of common tools.
242 CLICOLOR_FORCE= GREP_OPTIONS=
243 unset CLICOLOR_FORCE GREP_OPTIONS
245 ## --------------------- ##
246 ## M4sh Shell Functions. ##
247 ## --------------------- ##
248 # as_fn_unset VAR
249 # ---------------
250 # Portably unset VAR.
251 as_fn_unset ()
253 { eval $1=; unset $1;}
255 as_unset=as_fn_unset
257 # as_fn_set_status STATUS
258 # -----------------------
259 # Set $? to STATUS, without forking.
260 as_fn_set_status ()
262 return $1
263 } # as_fn_set_status
265 # as_fn_exit STATUS
266 # -----------------
267 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
268 as_fn_exit ()
270 set +e
271 as_fn_set_status $1
272 exit $1
273 } # as_fn_exit
275 # as_fn_mkdir_p
276 # -------------
277 # Create "$as_dir" as a directory, including parents if necessary.
278 as_fn_mkdir_p ()
281 case $as_dir in #(
282 -*) as_dir=./$as_dir;;
283 esac
284 test -d "$as_dir" || eval $as_mkdir_p || {
285 as_dirs=
286 while :; do
287 case $as_dir in #(
288 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
289 *) as_qdir=$as_dir;;
290 esac
291 as_dirs="'$as_qdir' $as_dirs"
292 as_dir=`$as_dirname -- "$as_dir" ||
293 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
294 X"$as_dir" : 'X\(//\)[^/]' \| \
295 X"$as_dir" : 'X\(//\)$' \| \
296 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
297 $as_echo X"$as_dir" |
298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
299 s//\1/
302 /^X\(\/\/\)[^/].*/{
303 s//\1/
306 /^X\(\/\/\)$/{
307 s//\1/
310 /^X\(\/\).*/{
311 s//\1/
314 s/.*/./; q'`
315 test -d "$as_dir" && break
316 done
317 test -z "$as_dirs" || eval "mkdir $as_dirs"
318 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
321 } # as_fn_mkdir_p
322 # as_fn_append VAR VALUE
323 # ----------------------
324 # Append the text in VALUE to the end of the definition contained in VAR. Take
325 # advantage of any shell optimizations that allow amortized linear growth over
326 # repeated appends, instead of the typical quadratic growth present in naive
327 # implementations.
328 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
329 eval 'as_fn_append ()
331 eval $1+=\$2
333 else
334 as_fn_append ()
336 eval $1=\$$1\$2
338 fi # as_fn_append
340 # as_fn_arith ARG...
341 # ------------------
342 # Perform arithmetic evaluation on the ARGs, and store the result in the
343 # global $as_val. Take advantage of shells that can avoid forks. The arguments
344 # must be portable across $(()) and expr.
345 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
346 eval 'as_fn_arith ()
348 as_val=$(( $* ))
350 else
351 as_fn_arith ()
353 as_val=`expr "$@" || test $? -eq 1`
355 fi # as_fn_arith
358 # as_fn_error STATUS ERROR [LINENO LOG_FD]
359 # ----------------------------------------
360 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
361 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
362 # script with STATUS, using 1 if that was 0.
363 as_fn_error ()
365 as_status=$1; test $as_status -eq 0 && as_status=1
366 if test "$4"; then
367 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
368 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
370 $as_echo "$as_me: error: $2" >&2
371 as_fn_exit $as_status
372 } # as_fn_error
374 if expr a : '\(a\)' >/dev/null 2>&1 &&
375 test "X`expr 00001 : '.*\(...\)'`" = X001; then
376 as_expr=expr
377 else
378 as_expr=false
381 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
382 as_basename=basename
383 else
384 as_basename=false
387 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
388 as_dirname=dirname
389 else
390 as_dirname=false
393 as_me=`$as_basename -- "$0" ||
394 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
395 X"$0" : 'X\(//\)$' \| \
396 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 $as_echo X/"$0" |
398 sed '/^.*\/\([^/][^/]*\)\/*$/{
399 s//\1/
402 /^X\/\(\/\/\)$/{
403 s//\1/
406 /^X\/\(\/\).*/{
407 s//\1/
410 s/.*/./; q'`
412 # Avoid depending upon Character Ranges.
413 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
414 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
415 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
416 as_cr_digits='0123456789'
417 as_cr_alnum=$as_cr_Letters$as_cr_digits
420 as_lineno_1=$LINENO as_lineno_1a=$LINENO
421 as_lineno_2=$LINENO as_lineno_2a=$LINENO
422 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
423 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
424 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
425 sed -n '
427 /[$]LINENO/=
428 ' <$as_myself |
429 sed '
430 s/[$]LINENO.*/&-/
431 t lineno
433 :lineno
435 :loop
436 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
437 t loop
438 s/-\n.*//
439 ' >$as_me.lineno &&
440 chmod +x "$as_me.lineno" ||
441 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443 # Don't try to exec as it changes $[0], causing all sort of problems
444 # (the dirname of $[0] is not the place where we might find the
445 # original and so on. Autoconf is especially sensitive to this).
446 . "./$as_me.lineno"
447 # Exit status is that of the last command.
448 exit
451 ECHO_C= ECHO_N= ECHO_T=
452 case `echo -n x` in #(((((
453 -n*)
454 case `echo 'xy\c'` in
455 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
456 xy) ECHO_C='\c';;
457 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
458 ECHO_T=' ';;
459 esac;;
461 ECHO_N='-n';;
462 esac
464 rm -f conf$$ conf$$.exe conf$$.file
465 if test -d conf$$.dir; then
466 rm -f conf$$.dir/conf$$.file
467 else
468 rm -f conf$$.dir
469 mkdir conf$$.dir 2>/dev/null
471 if (echo >conf$$.file) 2>/dev/null; then
472 if ln -s conf$$.file conf$$ 2>/dev/null; then
473 as_ln_s='ln -s'
474 # ... but there are two gotchas:
475 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
476 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
477 # In both cases, we have to default to `cp -p'.
478 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
479 as_ln_s='cp -p'
480 elif ln conf$$.file conf$$ 2>/dev/null; then
481 as_ln_s=ln
482 else
483 as_ln_s='cp -p'
485 else
486 as_ln_s='cp -p'
488 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
489 rmdir conf$$.dir 2>/dev/null
491 if mkdir -p . 2>/dev/null; then
492 as_mkdir_p='mkdir -p "$as_dir"'
493 else
494 test -d ./-p && rmdir ./-p
495 as_mkdir_p=false
498 if test -x / >/dev/null 2>&1; then
499 as_test_x='test -x'
500 else
501 if ls -dL / >/dev/null 2>&1; then
502 as_ls_L_option=L
503 else
504 as_ls_L_option=
506 as_test_x='
507 eval sh -c '\''
508 if test -d "$1"; then
509 test -d "$1/.";
510 else
511 case $1 in #(
512 -*)set "./$1";;
513 esac;
514 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
515 ???[sx]*):;;*)false;;esac;fi
516 '\'' sh
519 as_executable_p=$as_test_x
521 # Sed expression to map a string onto a valid CPP name.
522 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524 # Sed expression to map a string onto a valid variable name.
525 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
528 test -n "$DJDIR" || exec 7<&0 </dev/null
529 exec 6>&1
531 # Name of the host.
532 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
533 # so uname gets run too.
534 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 # Initializations.
539 ac_default_prefix=/usr/local
540 ac_clean_files=
541 ac_config_libobj_dir=.
542 LIBOBJS=
543 cross_compiling=no
544 subdirs=
545 MFLAGS=
546 MAKEFLAGS=
548 # Identity of this package.
549 PACKAGE_NAME=
550 PACKAGE_TARNAME=
551 PACKAGE_VERSION=
552 PACKAGE_STRING=
553 PACKAGE_BUGREPORT=
554 PACKAGE_URL=
556 ac_unique_file="curl.ml"
557 ac_subst_vars='LTLIBOBJS
558 LIBOBJS
559 INSTALLDIR
560 CURLLIBS
561 CURLFLAGS
562 CURLDIR
563 ac_prefix_program
564 OCAMLFIND
565 OCAMLBUILD
566 OCAMLDOC
567 OCAMLMKLIB
568 OCAMLMKTOP
569 OCAMLDEP
570 OCAML
571 OCAMLOPTDOTOPT
572 OCAMLCDOTOPT
573 OCAMLBEST
574 OCAMLOPT
575 OCAMLLIB
576 OCAMLVERSION
577 OCAMLC
578 INSTALL_DATA
579 INSTALL_SCRIPT
580 INSTALL_PROGRAM
581 OBJEXT
582 EXEEXT
583 ac_ct_CC
584 CPPFLAGS
585 LDFLAGS
586 CFLAGS
588 target_alias
589 host_alias
590 build_alias
591 LIBS
592 ECHO_T
593 ECHO_N
594 ECHO_C
595 DEFS
596 mandir
597 localedir
598 libdir
599 psdir
600 pdfdir
601 dvidir
602 htmldir
603 infodir
604 docdir
605 oldincludedir
606 includedir
607 localstatedir
608 sharedstatedir
609 sysconfdir
610 datadir
611 datarootdir
612 libexecdir
613 sbindir
614 bindir
615 program_transform_name
616 prefix
617 exec_prefix
618 PACKAGE_URL
619 PACKAGE_BUGREPORT
620 PACKAGE_STRING
621 PACKAGE_VERSION
622 PACKAGE_TARNAME
623 PACKAGE_NAME
624 PATH_SEPARATOR
625 SHELL'
626 ac_subst_files=''
627 ac_user_opts='
628 enable_option_checking
630 ac_precious_vars='build_alias
631 host_alias
632 target_alias
634 CFLAGS
635 LDFLAGS
636 LIBS
637 CPPFLAGS'
640 # Initialize some variables set by options.
641 ac_init_help=
642 ac_init_version=false
643 ac_unrecognized_opts=
644 ac_unrecognized_sep=
645 # The variables have the same names as the options, with
646 # dashes changed to underlines.
647 cache_file=/dev/null
648 exec_prefix=NONE
649 no_create=
650 no_recursion=
651 prefix=NONE
652 program_prefix=NONE
653 program_suffix=NONE
654 program_transform_name=s,x,x,
655 silent=
656 site=
657 srcdir=
658 verbose=
659 x_includes=NONE
660 x_libraries=NONE
662 # Installation directory options.
663 # These are left unexpanded so users can "make install exec_prefix=/foo"
664 # and all the variables that are supposed to be based on exec_prefix
665 # by default will actually change.
666 # Use braces instead of parens because sh, perl, etc. also accept them.
667 # (The list follows the same order as the GNU Coding Standards.)
668 bindir='${exec_prefix}/bin'
669 sbindir='${exec_prefix}/sbin'
670 libexecdir='${exec_prefix}/libexec'
671 datarootdir='${prefix}/share'
672 datadir='${datarootdir}'
673 sysconfdir='${prefix}/etc'
674 sharedstatedir='${prefix}/com'
675 localstatedir='${prefix}/var'
676 includedir='${prefix}/include'
677 oldincludedir='/usr/include'
678 docdir='${datarootdir}/doc/${PACKAGE}'
679 infodir='${datarootdir}/info'
680 htmldir='${docdir}'
681 dvidir='${docdir}'
682 pdfdir='${docdir}'
683 psdir='${docdir}'
684 libdir='${exec_prefix}/lib'
685 localedir='${datarootdir}/locale'
686 mandir='${datarootdir}/man'
688 ac_prev=
689 ac_dashdash=
690 for ac_option
692 # If the previous option needs an argument, assign it.
693 if test -n "$ac_prev"; then
694 eval $ac_prev=\$ac_option
695 ac_prev=
696 continue
699 case $ac_option in
700 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
701 *=) ac_optarg= ;;
702 *) ac_optarg=yes ;;
703 esac
705 # Accept the important Cygnus configure options, so we can diagnose typos.
707 case $ac_dashdash$ac_option in
709 ac_dashdash=yes ;;
711 -bindir | --bindir | --bindi | --bind | --bin | --bi)
712 ac_prev=bindir ;;
713 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
714 bindir=$ac_optarg ;;
716 -build | --build | --buil | --bui | --bu)
717 ac_prev=build_alias ;;
718 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
719 build_alias=$ac_optarg ;;
721 -cache-file | --cache-file | --cache-fil | --cache-fi \
722 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
723 ac_prev=cache_file ;;
724 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
725 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
726 cache_file=$ac_optarg ;;
728 --config-cache | -C)
729 cache_file=config.cache ;;
731 -datadir | --datadir | --datadi | --datad)
732 ac_prev=datadir ;;
733 -datadir=* | --datadir=* | --datadi=* | --datad=*)
734 datadir=$ac_optarg ;;
736 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
737 | --dataroo | --dataro | --datar)
738 ac_prev=datarootdir ;;
739 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
740 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
741 datarootdir=$ac_optarg ;;
743 -disable-* | --disable-*)
744 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
745 # Reject names that are not valid shell variable names.
746 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
747 as_fn_error $? "invalid feature name: $ac_useropt"
748 ac_useropt_orig=$ac_useropt
749 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
750 case $ac_user_opts in
752 "enable_$ac_useropt"
753 "*) ;;
754 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
755 ac_unrecognized_sep=', ';;
756 esac
757 eval enable_$ac_useropt=no ;;
759 -docdir | --docdir | --docdi | --doc | --do)
760 ac_prev=docdir ;;
761 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
762 docdir=$ac_optarg ;;
764 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
765 ac_prev=dvidir ;;
766 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
767 dvidir=$ac_optarg ;;
769 -enable-* | --enable-*)
770 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
771 # Reject names that are not valid shell variable names.
772 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
773 as_fn_error $? "invalid feature name: $ac_useropt"
774 ac_useropt_orig=$ac_useropt
775 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
776 case $ac_user_opts in
778 "enable_$ac_useropt"
779 "*) ;;
780 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
781 ac_unrecognized_sep=', ';;
782 esac
783 eval enable_$ac_useropt=\$ac_optarg ;;
785 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
786 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
787 | --exec | --exe | --ex)
788 ac_prev=exec_prefix ;;
789 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
790 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
791 | --exec=* | --exe=* | --ex=*)
792 exec_prefix=$ac_optarg ;;
794 -gas | --gas | --ga | --g)
795 # Obsolete; use --with-gas.
796 with_gas=yes ;;
798 -help | --help | --hel | --he | -h)
799 ac_init_help=long ;;
800 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
801 ac_init_help=recursive ;;
802 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
803 ac_init_help=short ;;
805 -host | --host | --hos | --ho)
806 ac_prev=host_alias ;;
807 -host=* | --host=* | --hos=* | --ho=*)
808 host_alias=$ac_optarg ;;
810 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
811 ac_prev=htmldir ;;
812 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
813 | --ht=*)
814 htmldir=$ac_optarg ;;
816 -includedir | --includedir | --includedi | --included | --include \
817 | --includ | --inclu | --incl | --inc)
818 ac_prev=includedir ;;
819 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
820 | --includ=* | --inclu=* | --incl=* | --inc=*)
821 includedir=$ac_optarg ;;
823 -infodir | --infodir | --infodi | --infod | --info | --inf)
824 ac_prev=infodir ;;
825 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
826 infodir=$ac_optarg ;;
828 -libdir | --libdir | --libdi | --libd)
829 ac_prev=libdir ;;
830 -libdir=* | --libdir=* | --libdi=* | --libd=*)
831 libdir=$ac_optarg ;;
833 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
834 | --libexe | --libex | --libe)
835 ac_prev=libexecdir ;;
836 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
837 | --libexe=* | --libex=* | --libe=*)
838 libexecdir=$ac_optarg ;;
840 -localedir | --localedir | --localedi | --localed | --locale)
841 ac_prev=localedir ;;
842 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
843 localedir=$ac_optarg ;;
845 -localstatedir | --localstatedir | --localstatedi | --localstated \
846 | --localstate | --localstat | --localsta | --localst | --locals)
847 ac_prev=localstatedir ;;
848 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
849 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
850 localstatedir=$ac_optarg ;;
852 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
853 ac_prev=mandir ;;
854 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
855 mandir=$ac_optarg ;;
857 -nfp | --nfp | --nf)
858 # Obsolete; use --without-fp.
859 with_fp=no ;;
861 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
862 | --no-cr | --no-c | -n)
863 no_create=yes ;;
865 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
866 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
867 no_recursion=yes ;;
869 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
870 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
871 | --oldin | --oldi | --old | --ol | --o)
872 ac_prev=oldincludedir ;;
873 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
874 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
875 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
876 oldincludedir=$ac_optarg ;;
878 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
879 ac_prev=prefix ;;
880 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
881 prefix=$ac_optarg ;;
883 -program-prefix | --program-prefix | --program-prefi | --program-pref \
884 | --program-pre | --program-pr | --program-p)
885 ac_prev=program_prefix ;;
886 -program-prefix=* | --program-prefix=* | --program-prefi=* \
887 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
888 program_prefix=$ac_optarg ;;
890 -program-suffix | --program-suffix | --program-suffi | --program-suff \
891 | --program-suf | --program-su | --program-s)
892 ac_prev=program_suffix ;;
893 -program-suffix=* | --program-suffix=* | --program-suffi=* \
894 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
895 program_suffix=$ac_optarg ;;
897 -program-transform-name | --program-transform-name \
898 | --program-transform-nam | --program-transform-na \
899 | --program-transform-n | --program-transform- \
900 | --program-transform | --program-transfor \
901 | --program-transfo | --program-transf \
902 | --program-trans | --program-tran \
903 | --progr-tra | --program-tr | --program-t)
904 ac_prev=program_transform_name ;;
905 -program-transform-name=* | --program-transform-name=* \
906 | --program-transform-nam=* | --program-transform-na=* \
907 | --program-transform-n=* | --program-transform-=* \
908 | --program-transform=* | --program-transfor=* \
909 | --program-transfo=* | --program-transf=* \
910 | --program-trans=* | --program-tran=* \
911 | --progr-tra=* | --program-tr=* | --program-t=*)
912 program_transform_name=$ac_optarg ;;
914 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
915 ac_prev=pdfdir ;;
916 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
917 pdfdir=$ac_optarg ;;
919 -psdir | --psdir | --psdi | --psd | --ps)
920 ac_prev=psdir ;;
921 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
922 psdir=$ac_optarg ;;
924 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
925 | -silent | --silent | --silen | --sile | --sil)
926 silent=yes ;;
928 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
929 ac_prev=sbindir ;;
930 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
931 | --sbi=* | --sb=*)
932 sbindir=$ac_optarg ;;
934 -sharedstatedir | --sharedstatedir | --sharedstatedi \
935 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
936 | --sharedst | --shareds | --shared | --share | --shar \
937 | --sha | --sh)
938 ac_prev=sharedstatedir ;;
939 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
940 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
941 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
942 | --sha=* | --sh=*)
943 sharedstatedir=$ac_optarg ;;
945 -site | --site | --sit)
946 ac_prev=site ;;
947 -site=* | --site=* | --sit=*)
948 site=$ac_optarg ;;
950 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
951 ac_prev=srcdir ;;
952 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
953 srcdir=$ac_optarg ;;
955 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
956 | --syscon | --sysco | --sysc | --sys | --sy)
957 ac_prev=sysconfdir ;;
958 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
959 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
960 sysconfdir=$ac_optarg ;;
962 -target | --target | --targe | --targ | --tar | --ta | --t)
963 ac_prev=target_alias ;;
964 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
965 target_alias=$ac_optarg ;;
967 -v | -verbose | --verbose | --verbos | --verbo | --verb)
968 verbose=yes ;;
970 -version | --version | --versio | --versi | --vers | -V)
971 ac_init_version=: ;;
973 -with-* | --with-*)
974 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
975 # Reject names that are not valid shell variable names.
976 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
977 as_fn_error $? "invalid package name: $ac_useropt"
978 ac_useropt_orig=$ac_useropt
979 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
980 case $ac_user_opts in
982 "with_$ac_useropt"
983 "*) ;;
984 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
985 ac_unrecognized_sep=', ';;
986 esac
987 eval with_$ac_useropt=\$ac_optarg ;;
989 -without-* | --without-*)
990 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
991 # Reject names that are not valid shell variable names.
992 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
993 as_fn_error $? "invalid package name: $ac_useropt"
994 ac_useropt_orig=$ac_useropt
995 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
996 case $ac_user_opts in
998 "with_$ac_useropt"
999 "*) ;;
1000 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1001 ac_unrecognized_sep=', ';;
1002 esac
1003 eval with_$ac_useropt=no ;;
1005 --x)
1006 # Obsolete; use --with-x.
1007 with_x=yes ;;
1009 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1010 | --x-incl | --x-inc | --x-in | --x-i)
1011 ac_prev=x_includes ;;
1012 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1013 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1014 x_includes=$ac_optarg ;;
1016 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1017 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1018 ac_prev=x_libraries ;;
1019 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1020 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1021 x_libraries=$ac_optarg ;;
1023 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1024 Try \`$0 --help' for more information"
1027 *=*)
1028 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1029 # Reject names that are not valid shell variable names.
1030 case $ac_envvar in #(
1031 '' | [0-9]* | *[!_$as_cr_alnum]* )
1032 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1033 esac
1034 eval $ac_envvar=\$ac_optarg
1035 export $ac_envvar ;;
1038 # FIXME: should be removed in autoconf 3.0.
1039 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1040 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1041 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1042 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1045 esac
1046 done
1048 if test -n "$ac_prev"; then
1049 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1050 as_fn_error $? "missing argument to $ac_option"
1053 if test -n "$ac_unrecognized_opts"; then
1054 case $enable_option_checking in
1055 no) ;;
1056 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1057 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1058 esac
1061 # Check all directory arguments for consistency.
1062 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1063 datadir sysconfdir sharedstatedir localstatedir includedir \
1064 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1065 libdir localedir mandir
1067 eval ac_val=\$$ac_var
1068 # Remove trailing slashes.
1069 case $ac_val in
1070 */ )
1071 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1072 eval $ac_var=\$ac_val;;
1073 esac
1074 # Be sure to have absolute directory names.
1075 case $ac_val in
1076 [\\/$]* | ?:[\\/]* ) continue;;
1077 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1078 esac
1079 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1080 done
1082 # There might be people who depend on the old broken behavior: `$host'
1083 # used to hold the argument of --host etc.
1084 # FIXME: To remove some day.
1085 build=$build_alias
1086 host=$host_alias
1087 target=$target_alias
1089 # FIXME: To remove some day.
1090 if test "x$host_alias" != x; then
1091 if test "x$build_alias" = x; then
1092 cross_compiling=maybe
1093 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1094 If a cross compiler is detected then cross compile mode will be used" >&2
1095 elif test "x$build_alias" != "x$host_alias"; then
1096 cross_compiling=yes
1100 ac_tool_prefix=
1101 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1103 test "$silent" = yes && exec 6>/dev/null
1106 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1107 ac_ls_di=`ls -di .` &&
1108 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1109 as_fn_error $? "working directory cannot be determined"
1110 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1111 as_fn_error $? "pwd does not report name of working directory"
1114 # Find the source files, if location was not specified.
1115 if test -z "$srcdir"; then
1116 ac_srcdir_defaulted=yes
1117 # Try the directory containing this script, then the parent directory.
1118 ac_confdir=`$as_dirname -- "$as_myself" ||
1119 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1120 X"$as_myself" : 'X\(//\)[^/]' \| \
1121 X"$as_myself" : 'X\(//\)$' \| \
1122 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1123 $as_echo X"$as_myself" |
1124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1125 s//\1/
1128 /^X\(\/\/\)[^/].*/{
1129 s//\1/
1132 /^X\(\/\/\)$/{
1133 s//\1/
1136 /^X\(\/\).*/{
1137 s//\1/
1140 s/.*/./; q'`
1141 srcdir=$ac_confdir
1142 if test ! -r "$srcdir/$ac_unique_file"; then
1143 srcdir=..
1145 else
1146 ac_srcdir_defaulted=no
1148 if test ! -r "$srcdir/$ac_unique_file"; then
1149 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1150 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1152 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1153 ac_abs_confdir=`(
1154 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1155 pwd)`
1156 # When building in place, set srcdir=.
1157 if test "$ac_abs_confdir" = "$ac_pwd"; then
1158 srcdir=.
1160 # Remove unnecessary trailing slashes from srcdir.
1161 # Double slashes in file names in object file debugging info
1162 # mess up M-x gdb in Emacs.
1163 case $srcdir in
1164 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1165 esac
1166 for ac_var in $ac_precious_vars; do
1167 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1168 eval ac_env_${ac_var}_value=\$${ac_var}
1169 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1170 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1171 done
1174 # Report the --help message.
1176 if test "$ac_init_help" = "long"; then
1177 # Omit some internal or obsolete options to make the list less imposing.
1178 # This message is too long to be a string in the A/UX 3.1 sh.
1179 cat <<_ACEOF
1180 \`configure' configures this package to adapt to many kinds of systems.
1182 Usage: $0 [OPTION]... [VAR=VALUE]...
1184 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1185 VAR=VALUE. See below for descriptions of some of the useful variables.
1187 Defaults for the options are specified in brackets.
1189 Configuration:
1190 -h, --help display this help and exit
1191 --help=short display options specific to this package
1192 --help=recursive display the short help of all the included packages
1193 -V, --version display version information and exit
1194 -q, --quiet, --silent do not print \`checking ...' messages
1195 --cache-file=FILE cache test results in FILE [disabled]
1196 -C, --config-cache alias for \`--cache-file=config.cache'
1197 -n, --no-create do not create output files
1198 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1200 Installation directories:
1201 --prefix=PREFIX install architecture-independent files in PREFIX
1202 [$ac_default_prefix]
1203 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1204 [PREFIX]
1206 By default, \`make install' will install all the files in
1207 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1208 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1209 for instance \`--prefix=\$HOME'.
1211 For better control, use the options below.
1213 Fine tuning of the installation directories:
1214 --bindir=DIR user executables [EPREFIX/bin]
1215 --sbindir=DIR system admin executables [EPREFIX/sbin]
1216 --libexecdir=DIR program executables [EPREFIX/libexec]
1217 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1218 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1219 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1220 --libdir=DIR object code libraries [EPREFIX/lib]
1221 --includedir=DIR C header files [PREFIX/include]
1222 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1223 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1224 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1225 --infodir=DIR info documentation [DATAROOTDIR/info]
1226 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1227 --mandir=DIR man documentation [DATAROOTDIR/man]
1228 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1229 --htmldir=DIR html documentation [DOCDIR]
1230 --dvidir=DIR dvi documentation [DOCDIR]
1231 --pdfdir=DIR pdf documentation [DOCDIR]
1232 --psdir=DIR ps documentation [DOCDIR]
1233 _ACEOF
1235 cat <<\_ACEOF
1236 _ACEOF
1239 if test -n "$ac_init_help"; then
1241 cat <<\_ACEOF
1243 Some influential environment variables:
1244 CC C compiler command
1245 CFLAGS C compiler flags
1246 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1247 nonstandard directory <lib dir>
1248 LIBS libraries to pass to the linker, e.g. -l<library>
1249 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1250 you have headers in a nonstandard directory <include dir>
1252 Use these variables to override the choices made by `configure' or to help
1253 it to find libraries and programs with nonstandard names/locations.
1255 Report bugs to the package provider.
1256 _ACEOF
1257 ac_status=$?
1260 if test "$ac_init_help" = "recursive"; then
1261 # If there are subdirs, report their specific --help.
1262 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1263 test -d "$ac_dir" ||
1264 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1265 continue
1266 ac_builddir=.
1268 case "$ac_dir" in
1269 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1271 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1272 # A ".." for each directory in $ac_dir_suffix.
1273 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1274 case $ac_top_builddir_sub in
1275 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1276 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1277 esac ;;
1278 esac
1279 ac_abs_top_builddir=$ac_pwd
1280 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1281 # for backward compatibility:
1282 ac_top_builddir=$ac_top_build_prefix
1284 case $srcdir in
1285 .) # We are building in place.
1286 ac_srcdir=.
1287 ac_top_srcdir=$ac_top_builddir_sub
1288 ac_abs_top_srcdir=$ac_pwd ;;
1289 [\\/]* | ?:[\\/]* ) # Absolute name.
1290 ac_srcdir=$srcdir$ac_dir_suffix;
1291 ac_top_srcdir=$srcdir
1292 ac_abs_top_srcdir=$srcdir ;;
1293 *) # Relative name.
1294 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1295 ac_top_srcdir=$ac_top_build_prefix$srcdir
1296 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1297 esac
1298 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1300 cd "$ac_dir" || { ac_status=$?; continue; }
1301 # Check for guested configure.
1302 if test -f "$ac_srcdir/configure.gnu"; then
1303 echo &&
1304 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1305 elif test -f "$ac_srcdir/configure"; then
1306 echo &&
1307 $SHELL "$ac_srcdir/configure" --help=recursive
1308 else
1309 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1310 fi || ac_status=$?
1311 cd "$ac_pwd" || { ac_status=$?; break; }
1312 done
1315 test -n "$ac_init_help" && exit $ac_status
1316 if $ac_init_version; then
1317 cat <<\_ACEOF
1318 configure
1319 generated by GNU Autoconf 2.67
1321 Copyright (C) 2010 Free Software Foundation, Inc.
1322 This configure script is free software; the Free Software Foundation
1323 gives unlimited permission to copy, distribute and modify it.
1324 _ACEOF
1325 exit
1328 ## ------------------------ ##
1329 ## Autoconf initialization. ##
1330 ## ------------------------ ##
1332 # ac_fn_c_try_compile LINENO
1333 # --------------------------
1334 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1335 ac_fn_c_try_compile ()
1337 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1338 rm -f conftest.$ac_objext
1339 if { { ac_try="$ac_compile"
1340 case "(($ac_try" in
1341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1342 *) ac_try_echo=$ac_try;;
1343 esac
1344 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1345 $as_echo "$ac_try_echo"; } >&5
1346 (eval "$ac_compile") 2>conftest.err
1347 ac_status=$?
1348 if test -s conftest.err; then
1349 grep -v '^ *+' conftest.err >conftest.er1
1350 cat conftest.er1 >&5
1351 mv -f conftest.er1 conftest.err
1353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1354 test $ac_status = 0; } && {
1355 test -z "$ac_c_werror_flag" ||
1356 test ! -s conftest.err
1357 } && test -s conftest.$ac_objext; then :
1358 ac_retval=0
1359 else
1360 $as_echo "$as_me: failed program was:" >&5
1361 sed 's/^/| /' conftest.$ac_ext >&5
1363 ac_retval=1
1365 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1366 as_fn_set_status $ac_retval
1368 } # ac_fn_c_try_compile
1370 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1371 # ---------------------------------------------
1372 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1373 # accordingly.
1374 ac_fn_c_check_decl ()
1376 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1377 as_decl_name=`echo $2|sed 's/ *(.*//'`
1378 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1380 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1381 if eval "test \"\${$3+set}\"" = set; then :
1382 $as_echo_n "(cached) " >&6
1383 else
1384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1385 /* end confdefs.h. */
1388 main ()
1390 #ifndef $as_decl_name
1391 #ifdef __cplusplus
1392 (void) $as_decl_use;
1393 #else
1394 (void) $as_decl_name;
1395 #endif
1396 #endif
1399 return 0;
1401 _ACEOF
1402 if ac_fn_c_try_compile "$LINENO"; then :
1403 eval "$3=yes"
1404 else
1405 eval "$3=no"
1407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1409 eval ac_res=\$$3
1410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1411 $as_echo "$ac_res" >&6; }
1412 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1414 } # ac_fn_c_check_decl
1415 cat >config.log <<_ACEOF
1416 This file contains any messages produced by compilers while
1417 running configure, to aid debugging if configure makes a mistake.
1419 It was created by $as_me, which was
1420 generated by GNU Autoconf 2.67. Invocation command line was
1422 $ $0 $@
1424 _ACEOF
1425 exec 5>>config.log
1427 cat <<_ASUNAME
1428 ## --------- ##
1429 ## Platform. ##
1430 ## --------- ##
1432 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1433 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1434 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1435 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1436 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1438 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1439 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1441 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1442 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1443 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1444 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1445 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1446 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1447 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1449 _ASUNAME
1451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1452 for as_dir in $PATH
1454 IFS=$as_save_IFS
1455 test -z "$as_dir" && as_dir=.
1456 $as_echo "PATH: $as_dir"
1457 done
1458 IFS=$as_save_IFS
1460 } >&5
1462 cat >&5 <<_ACEOF
1465 ## ----------- ##
1466 ## Core tests. ##
1467 ## ----------- ##
1469 _ACEOF
1472 # Keep a trace of the command line.
1473 # Strip out --no-create and --no-recursion so they do not pile up.
1474 # Strip out --silent because we don't want to record it for future runs.
1475 # Also quote any args containing shell meta-characters.
1476 # Make two passes to allow for proper duplicate-argument suppression.
1477 ac_configure_args=
1478 ac_configure_args0=
1479 ac_configure_args1=
1480 ac_must_keep_next=false
1481 for ac_pass in 1 2
1483 for ac_arg
1485 case $ac_arg in
1486 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1487 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1488 | -silent | --silent | --silen | --sile | --sil)
1489 continue ;;
1490 *\'*)
1491 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1492 esac
1493 case $ac_pass in
1494 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1496 as_fn_append ac_configure_args1 " '$ac_arg'"
1497 if test $ac_must_keep_next = true; then
1498 ac_must_keep_next=false # Got value, back to normal.
1499 else
1500 case $ac_arg in
1501 *=* | --config-cache | -C | -disable-* | --disable-* \
1502 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1503 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1504 | -with-* | --with-* | -without-* | --without-* | --x)
1505 case "$ac_configure_args0 " in
1506 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1507 esac
1509 -* ) ac_must_keep_next=true ;;
1510 esac
1512 as_fn_append ac_configure_args " '$ac_arg'"
1514 esac
1515 done
1516 done
1517 { ac_configure_args0=; unset ac_configure_args0;}
1518 { ac_configure_args1=; unset ac_configure_args1;}
1520 # When interrupted or exit'd, cleanup temporary files, and complete
1521 # config.log. We remove comments because anyway the quotes in there
1522 # would cause problems or look ugly.
1523 # WARNING: Use '\'' to represent an apostrophe within the trap.
1524 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1525 trap 'exit_status=$?
1526 # Save into config.log some information that might help in debugging.
1528 echo
1530 $as_echo "## ---------------- ##
1531 ## Cache variables. ##
1532 ## ---------------- ##"
1533 echo
1534 # The following way of writing the cache mishandles newlines in values,
1536 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1537 eval ac_val=\$$ac_var
1538 case $ac_val in #(
1539 *${as_nl}*)
1540 case $ac_var in #(
1541 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1542 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1543 esac
1544 case $ac_var in #(
1545 _ | IFS | as_nl) ;; #(
1546 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1547 *) { eval $ac_var=; unset $ac_var;} ;;
1548 esac ;;
1549 esac
1550 done
1551 (set) 2>&1 |
1552 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1553 *${as_nl}ac_space=\ *)
1554 sed -n \
1555 "s/'\''/'\''\\\\'\'''\''/g;
1556 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1557 ;; #(
1559 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1561 esac |
1562 sort
1564 echo
1566 $as_echo "## ----------------- ##
1567 ## Output variables. ##
1568 ## ----------------- ##"
1569 echo
1570 for ac_var in $ac_subst_vars
1572 eval ac_val=\$$ac_var
1573 case $ac_val in
1574 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1575 esac
1576 $as_echo "$ac_var='\''$ac_val'\''"
1577 done | sort
1578 echo
1580 if test -n "$ac_subst_files"; then
1581 $as_echo "## ------------------- ##
1582 ## File substitutions. ##
1583 ## ------------------- ##"
1584 echo
1585 for ac_var in $ac_subst_files
1587 eval ac_val=\$$ac_var
1588 case $ac_val in
1589 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1590 esac
1591 $as_echo "$ac_var='\''$ac_val'\''"
1592 done | sort
1593 echo
1596 if test -s confdefs.h; then
1597 $as_echo "## ----------- ##
1598 ## confdefs.h. ##
1599 ## ----------- ##"
1600 echo
1601 cat confdefs.h
1602 echo
1604 test "$ac_signal" != 0 &&
1605 $as_echo "$as_me: caught signal $ac_signal"
1606 $as_echo "$as_me: exit $exit_status"
1607 } >&5
1608 rm -f core *.core core.conftest.* &&
1609 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1610 exit $exit_status
1612 for ac_signal in 1 2 13 15; do
1613 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1614 done
1615 ac_signal=0
1617 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1618 rm -f -r conftest* confdefs.h
1620 $as_echo "/* confdefs.h */" > confdefs.h
1622 # Predefined preprocessor variables.
1624 cat >>confdefs.h <<_ACEOF
1625 #define PACKAGE_NAME "$PACKAGE_NAME"
1626 _ACEOF
1628 cat >>confdefs.h <<_ACEOF
1629 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1630 _ACEOF
1632 cat >>confdefs.h <<_ACEOF
1633 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1634 _ACEOF
1636 cat >>confdefs.h <<_ACEOF
1637 #define PACKAGE_STRING "$PACKAGE_STRING"
1638 _ACEOF
1640 cat >>confdefs.h <<_ACEOF
1641 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1642 _ACEOF
1644 cat >>confdefs.h <<_ACEOF
1645 #define PACKAGE_URL "$PACKAGE_URL"
1646 _ACEOF
1649 # Let the site file select an alternate cache file if it wants to.
1650 # Prefer an explicitly selected file to automatically selected ones.
1651 ac_site_file1=NONE
1652 ac_site_file2=NONE
1653 if test -n "$CONFIG_SITE"; then
1654 # We do not want a PATH search for config.site.
1655 case $CONFIG_SITE in #((
1656 -*) ac_site_file1=./$CONFIG_SITE;;
1657 */*) ac_site_file1=$CONFIG_SITE;;
1658 *) ac_site_file1=./$CONFIG_SITE;;
1659 esac
1660 elif test "x$prefix" != xNONE; then
1661 ac_site_file1=$prefix/share/config.site
1662 ac_site_file2=$prefix/etc/config.site
1663 else
1664 ac_site_file1=$ac_default_prefix/share/config.site
1665 ac_site_file2=$ac_default_prefix/etc/config.site
1667 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1669 test "x$ac_site_file" = xNONE && continue
1670 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1672 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1673 sed 's/^/| /' "$ac_site_file" >&5
1674 . "$ac_site_file" \
1675 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1676 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1677 as_fn_error $? "failed to load site script $ac_site_file
1678 See \`config.log' for more details" "$LINENO" 5 ; }
1680 done
1682 if test -r "$cache_file"; then
1683 # Some versions of bash will fail to source /dev/null (special files
1684 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1685 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1687 $as_echo "$as_me: loading cache $cache_file" >&6;}
1688 case $cache_file in
1689 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1690 *) . "./$cache_file";;
1691 esac
1693 else
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1695 $as_echo "$as_me: creating cache $cache_file" >&6;}
1696 >$cache_file
1699 # Check that the precious variables saved in the cache have kept the same
1700 # value.
1701 ac_cache_corrupted=false
1702 for ac_var in $ac_precious_vars; do
1703 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1704 eval ac_new_set=\$ac_env_${ac_var}_set
1705 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1706 eval ac_new_val=\$ac_env_${ac_var}_value
1707 case $ac_old_set,$ac_new_set in
1708 set,)
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1710 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1711 ac_cache_corrupted=: ;;
1712 ,set)
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1714 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1715 ac_cache_corrupted=: ;;
1716 ,);;
1718 if test "x$ac_old_val" != "x$ac_new_val"; then
1719 # differences in whitespace do not lead to failure.
1720 ac_old_val_w=`echo x $ac_old_val`
1721 ac_new_val_w=`echo x $ac_new_val`
1722 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1724 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1725 ac_cache_corrupted=:
1726 else
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1728 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1729 eval $ac_var=\$ac_old_val
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1732 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1734 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1735 fi;;
1736 esac
1737 # Pass precious variables to config.status.
1738 if test "$ac_new_set" = set; then
1739 case $ac_new_val in
1740 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1741 *) ac_arg=$ac_var=$ac_new_val ;;
1742 esac
1743 case " $ac_configure_args " in
1744 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1745 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1746 esac
1748 done
1749 if $ac_cache_corrupted; then
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1751 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1753 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1754 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1756 ## -------------------- ##
1757 ## Main body of script. ##
1758 ## -------------------- ##
1760 ac_ext=c
1761 ac_cpp='$CPP $CPPFLAGS'
1762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1768 CURLDIR=`curl-config --cflags`
1769 CURLFLAGS=`curl-config --libs | cut -d ' ' -f 1`
1770 CURLLIBS=`curl-config --libs | cut -d ' ' -f 2-`
1772 CFLAGS=$CURLDIR
1774 ac_ext=c
1775 ac_cpp='$CPP $CPPFLAGS'
1776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1779 if test -n "$ac_tool_prefix"; then
1780 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1781 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1783 $as_echo_n "checking for $ac_word... " >&6; }
1784 if test "${ac_cv_prog_CC+set}" = set; then :
1785 $as_echo_n "(cached) " >&6
1786 else
1787 if test -n "$CC"; then
1788 ac_cv_prog_CC="$CC" # Let the user override the test.
1789 else
1790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1791 for as_dir in $PATH
1793 IFS=$as_save_IFS
1794 test -z "$as_dir" && as_dir=.
1795 for ac_exec_ext in '' $ac_executable_extensions; do
1796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1797 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1799 break 2
1801 done
1802 done
1803 IFS=$as_save_IFS
1807 CC=$ac_cv_prog_CC
1808 if test -n "$CC"; then
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1810 $as_echo "$CC" >&6; }
1811 else
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1813 $as_echo "no" >&6; }
1818 if test -z "$ac_cv_prog_CC"; then
1819 ac_ct_CC=$CC
1820 # Extract the first word of "gcc", so it can be a program name with args.
1821 set dummy gcc; ac_word=$2
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1823 $as_echo_n "checking for $ac_word... " >&6; }
1824 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1825 $as_echo_n "(cached) " >&6
1826 else
1827 if test -n "$ac_ct_CC"; then
1828 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1829 else
1830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1831 for as_dir in $PATH
1833 IFS=$as_save_IFS
1834 test -z "$as_dir" && as_dir=.
1835 for ac_exec_ext in '' $ac_executable_extensions; do
1836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1837 ac_cv_prog_ac_ct_CC="gcc"
1838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1839 break 2
1841 done
1842 done
1843 IFS=$as_save_IFS
1847 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1848 if test -n "$ac_ct_CC"; then
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1850 $as_echo "$ac_ct_CC" >&6; }
1851 else
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1853 $as_echo "no" >&6; }
1856 if test "x$ac_ct_CC" = x; then
1857 CC=""
1858 else
1859 case $cross_compiling:$ac_tool_warned in
1860 yes:)
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1862 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1863 ac_tool_warned=yes ;;
1864 esac
1865 CC=$ac_ct_CC
1867 else
1868 CC="$ac_cv_prog_CC"
1871 if test -z "$CC"; then
1872 if test -n "$ac_tool_prefix"; then
1873 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1874 set dummy ${ac_tool_prefix}cc; ac_word=$2
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1876 $as_echo_n "checking for $ac_word... " >&6; }
1877 if test "${ac_cv_prog_CC+set}" = set; then :
1878 $as_echo_n "(cached) " >&6
1879 else
1880 if test -n "$CC"; then
1881 ac_cv_prog_CC="$CC" # Let the user override the test.
1882 else
1883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1884 for as_dir in $PATH
1886 IFS=$as_save_IFS
1887 test -z "$as_dir" && as_dir=.
1888 for ac_exec_ext in '' $ac_executable_extensions; do
1889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1890 ac_cv_prog_CC="${ac_tool_prefix}cc"
1891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1892 break 2
1894 done
1895 done
1896 IFS=$as_save_IFS
1900 CC=$ac_cv_prog_CC
1901 if test -n "$CC"; then
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1903 $as_echo "$CC" >&6; }
1904 else
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1906 $as_echo "no" >&6; }
1912 if test -z "$CC"; then
1913 # Extract the first word of "cc", so it can be a program name with args.
1914 set dummy cc; ac_word=$2
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1916 $as_echo_n "checking for $ac_word... " >&6; }
1917 if test "${ac_cv_prog_CC+set}" = set; then :
1918 $as_echo_n "(cached) " >&6
1919 else
1920 if test -n "$CC"; then
1921 ac_cv_prog_CC="$CC" # Let the user override the test.
1922 else
1923 ac_prog_rejected=no
1924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1925 for as_dir in $PATH
1927 IFS=$as_save_IFS
1928 test -z "$as_dir" && as_dir=.
1929 for ac_exec_ext in '' $ac_executable_extensions; do
1930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1931 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1932 ac_prog_rejected=yes
1933 continue
1935 ac_cv_prog_CC="cc"
1936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1937 break 2
1939 done
1940 done
1941 IFS=$as_save_IFS
1943 if test $ac_prog_rejected = yes; then
1944 # We found a bogon in the path, so make sure we never use it.
1945 set dummy $ac_cv_prog_CC
1946 shift
1947 if test $# != 0; then
1948 # We chose a different compiler from the bogus one.
1949 # However, it has the same basename, so the bogon will be chosen
1950 # first if we set CC to just the basename; use the full file name.
1951 shift
1952 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1957 CC=$ac_cv_prog_CC
1958 if test -n "$CC"; then
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1960 $as_echo "$CC" >&6; }
1961 else
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1963 $as_echo "no" >&6; }
1968 if test -z "$CC"; then
1969 if test -n "$ac_tool_prefix"; then
1970 for ac_prog in cl.exe
1972 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1973 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1975 $as_echo_n "checking for $ac_word... " >&6; }
1976 if test "${ac_cv_prog_CC+set}" = set; then :
1977 $as_echo_n "(cached) " >&6
1978 else
1979 if test -n "$CC"; then
1980 ac_cv_prog_CC="$CC" # Let the user override the test.
1981 else
1982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1983 for as_dir in $PATH
1985 IFS=$as_save_IFS
1986 test -z "$as_dir" && as_dir=.
1987 for ac_exec_ext in '' $ac_executable_extensions; do
1988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1989 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1991 break 2
1993 done
1994 done
1995 IFS=$as_save_IFS
1999 CC=$ac_cv_prog_CC
2000 if test -n "$CC"; then
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2002 $as_echo "$CC" >&6; }
2003 else
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2005 $as_echo "no" >&6; }
2009 test -n "$CC" && break
2010 done
2012 if test -z "$CC"; then
2013 ac_ct_CC=$CC
2014 for ac_prog in cl.exe
2016 # Extract the first word of "$ac_prog", so it can be a program name with args.
2017 set dummy $ac_prog; ac_word=$2
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2019 $as_echo_n "checking for $ac_word... " >&6; }
2020 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2021 $as_echo_n "(cached) " >&6
2022 else
2023 if test -n "$ac_ct_CC"; then
2024 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2025 else
2026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2027 for as_dir in $PATH
2029 IFS=$as_save_IFS
2030 test -z "$as_dir" && as_dir=.
2031 for ac_exec_ext in '' $ac_executable_extensions; do
2032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2033 ac_cv_prog_ac_ct_CC="$ac_prog"
2034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2035 break 2
2037 done
2038 done
2039 IFS=$as_save_IFS
2043 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2044 if test -n "$ac_ct_CC"; then
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2046 $as_echo "$ac_ct_CC" >&6; }
2047 else
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2049 $as_echo "no" >&6; }
2053 test -n "$ac_ct_CC" && break
2054 done
2056 if test "x$ac_ct_CC" = x; then
2057 CC=""
2058 else
2059 case $cross_compiling:$ac_tool_warned in
2060 yes:)
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2063 ac_tool_warned=yes ;;
2064 esac
2065 CC=$ac_ct_CC
2072 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2074 as_fn_error $? "no acceptable C compiler found in \$PATH
2075 See \`config.log' for more details" "$LINENO" 5 ; }
2077 # Provide some information about the compiler.
2078 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2079 set X $ac_compile
2080 ac_compiler=$2
2081 for ac_option in --version -v -V -qversion; do
2082 { { ac_try="$ac_compiler $ac_option >&5"
2083 case "(($ac_try" in
2084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2085 *) ac_try_echo=$ac_try;;
2086 esac
2087 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2088 $as_echo "$ac_try_echo"; } >&5
2089 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2090 ac_status=$?
2091 if test -s conftest.err; then
2092 sed '10a\
2093 ... rest of stderr output deleted ...
2094 10q' conftest.err >conftest.er1
2095 cat conftest.er1 >&5
2097 rm -f conftest.er1 conftest.err
2098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2099 test $ac_status = 0; }
2100 done
2102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2103 /* end confdefs.h. */
2106 main ()
2110 return 0;
2112 _ACEOF
2113 ac_clean_files_save=$ac_clean_files
2114 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2115 # Try to create an executable without -o first, disregard a.out.
2116 # It will help us diagnose broken compilers, and finding out an intuition
2117 # of exeext.
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2119 $as_echo_n "checking whether the C compiler works... " >&6; }
2120 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2122 # The possible output files:
2123 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2125 ac_rmfiles=
2126 for ac_file in $ac_files
2128 case $ac_file in
2129 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2130 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2131 esac
2132 done
2133 rm -f $ac_rmfiles
2135 if { { ac_try="$ac_link_default"
2136 case "(($ac_try" in
2137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2138 *) ac_try_echo=$ac_try;;
2139 esac
2140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2141 $as_echo "$ac_try_echo"; } >&5
2142 (eval "$ac_link_default") 2>&5
2143 ac_status=$?
2144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2145 test $ac_status = 0; }; then :
2146 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2147 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2148 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2149 # so that the user can short-circuit this test for compilers unknown to
2150 # Autoconf.
2151 for ac_file in $ac_files ''
2153 test -f "$ac_file" || continue
2154 case $ac_file in
2155 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2157 [ab].out )
2158 # We found the default executable, but exeext='' is most
2159 # certainly right.
2160 break;;
2161 *.* )
2162 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2163 then :; else
2164 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2166 # We set ac_cv_exeext here because the later test for it is not
2167 # safe: cross compilers may not add the suffix if given an `-o'
2168 # argument, so we may need to know it at that point already.
2169 # Even if this section looks crufty: it has the advantage of
2170 # actually working.
2171 break;;
2173 break;;
2174 esac
2175 done
2176 test "$ac_cv_exeext" = no && ac_cv_exeext=
2178 else
2179 ac_file=''
2181 if test -z "$ac_file"; then :
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2183 $as_echo "no" >&6; }
2184 $as_echo "$as_me: failed program was:" >&5
2185 sed 's/^/| /' conftest.$ac_ext >&5
2187 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2189 as_fn_error 77 "C compiler cannot create executables
2190 See \`config.log' for more details" "$LINENO" 5 ; }
2191 else
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2193 $as_echo "yes" >&6; }
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2196 $as_echo_n "checking for C compiler default output file name... " >&6; }
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2198 $as_echo "$ac_file" >&6; }
2199 ac_exeext=$ac_cv_exeext
2201 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2202 ac_clean_files=$ac_clean_files_save
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2204 $as_echo_n "checking for suffix of executables... " >&6; }
2205 if { { ac_try="$ac_link"
2206 case "(($ac_try" in
2207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2208 *) ac_try_echo=$ac_try;;
2209 esac
2210 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2211 $as_echo "$ac_try_echo"; } >&5
2212 (eval "$ac_link") 2>&5
2213 ac_status=$?
2214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2215 test $ac_status = 0; }; then :
2216 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2217 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2218 # work properly (i.e., refer to `conftest.exe'), while it won't with
2219 # `rm'.
2220 for ac_file in conftest.exe conftest conftest.*; do
2221 test -f "$ac_file" || continue
2222 case $ac_file in
2223 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2224 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2225 break;;
2226 * ) break;;
2227 esac
2228 done
2229 else
2230 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2232 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2233 See \`config.log' for more details" "$LINENO" 5 ; }
2235 rm -f conftest conftest$ac_cv_exeext
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2237 $as_echo "$ac_cv_exeext" >&6; }
2239 rm -f conftest.$ac_ext
2240 EXEEXT=$ac_cv_exeext
2241 ac_exeext=$EXEEXT
2242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2243 /* end confdefs.h. */
2244 #include <stdio.h>
2246 main ()
2248 FILE *f = fopen ("conftest.out", "w");
2249 return ferror (f) || fclose (f) != 0;
2252 return 0;
2254 _ACEOF
2255 ac_clean_files="$ac_clean_files conftest.out"
2256 # Check that the compiler produces executables we can run. If not, either
2257 # the compiler is broken, or we cross compile.
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2259 $as_echo_n "checking whether we are cross compiling... " >&6; }
2260 if test "$cross_compiling" != yes; then
2261 { { ac_try="$ac_link"
2262 case "(($ac_try" in
2263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2264 *) ac_try_echo=$ac_try;;
2265 esac
2266 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2267 $as_echo "$ac_try_echo"; } >&5
2268 (eval "$ac_link") 2>&5
2269 ac_status=$?
2270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2271 test $ac_status = 0; }
2272 if { ac_try='./conftest$ac_cv_exeext'
2273 { { case "(($ac_try" in
2274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2275 *) ac_try_echo=$ac_try;;
2276 esac
2277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2278 $as_echo "$ac_try_echo"; } >&5
2279 (eval "$ac_try") 2>&5
2280 ac_status=$?
2281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2282 test $ac_status = 0; }; }; then
2283 cross_compiling=no
2284 else
2285 if test "$cross_compiling" = maybe; then
2286 cross_compiling=yes
2287 else
2288 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2290 as_fn_error $? "cannot run C compiled programs.
2291 If you meant to cross compile, use \`--host'.
2292 See \`config.log' for more details" "$LINENO" 5 ; }
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2297 $as_echo "$cross_compiling" >&6; }
2299 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2300 ac_clean_files=$ac_clean_files_save
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2302 $as_echo_n "checking for suffix of object files... " >&6; }
2303 if test "${ac_cv_objext+set}" = set; then :
2304 $as_echo_n "(cached) " >&6
2305 else
2306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2307 /* end confdefs.h. */
2310 main ()
2314 return 0;
2316 _ACEOF
2317 rm -f conftest.o conftest.obj
2318 if { { ac_try="$ac_compile"
2319 case "(($ac_try" in
2320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2321 *) ac_try_echo=$ac_try;;
2322 esac
2323 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2324 $as_echo "$ac_try_echo"; } >&5
2325 (eval "$ac_compile") 2>&5
2326 ac_status=$?
2327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2328 test $ac_status = 0; }; then :
2329 for ac_file in conftest.o conftest.obj conftest.*; do
2330 test -f "$ac_file" || continue;
2331 case $ac_file in
2332 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2333 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2334 break;;
2335 esac
2336 done
2337 else
2338 $as_echo "$as_me: failed program was:" >&5
2339 sed 's/^/| /' conftest.$ac_ext >&5
2341 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2343 as_fn_error $? "cannot compute suffix of object files: cannot compile
2344 See \`config.log' for more details" "$LINENO" 5 ; }
2346 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2349 $as_echo "$ac_cv_objext" >&6; }
2350 OBJEXT=$ac_cv_objext
2351 ac_objext=$OBJEXT
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2353 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2354 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2355 $as_echo_n "(cached) " >&6
2356 else
2357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2358 /* end confdefs.h. */
2361 main ()
2363 #ifndef __GNUC__
2364 choke me
2365 #endif
2368 return 0;
2370 _ACEOF
2371 if ac_fn_c_try_compile "$LINENO"; then :
2372 ac_compiler_gnu=yes
2373 else
2374 ac_compiler_gnu=no
2376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2377 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2381 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2382 if test $ac_compiler_gnu = yes; then
2383 GCC=yes
2384 else
2385 GCC=
2387 ac_test_CFLAGS=${CFLAGS+set}
2388 ac_save_CFLAGS=$CFLAGS
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2390 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2391 if test "${ac_cv_prog_cc_g+set}" = set; then :
2392 $as_echo_n "(cached) " >&6
2393 else
2394 ac_save_c_werror_flag=$ac_c_werror_flag
2395 ac_c_werror_flag=yes
2396 ac_cv_prog_cc_g=no
2397 CFLAGS="-g"
2398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2399 /* end confdefs.h. */
2402 main ()
2406 return 0;
2408 _ACEOF
2409 if ac_fn_c_try_compile "$LINENO"; then :
2410 ac_cv_prog_cc_g=yes
2411 else
2412 CFLAGS=""
2413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2414 /* end confdefs.h. */
2417 main ()
2421 return 0;
2423 _ACEOF
2424 if ac_fn_c_try_compile "$LINENO"; then :
2426 else
2427 ac_c_werror_flag=$ac_save_c_werror_flag
2428 CFLAGS="-g"
2429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2430 /* end confdefs.h. */
2433 main ()
2437 return 0;
2439 _ACEOF
2440 if ac_fn_c_try_compile "$LINENO"; then :
2441 ac_cv_prog_cc_g=yes
2443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2448 ac_c_werror_flag=$ac_save_c_werror_flag
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2451 $as_echo "$ac_cv_prog_cc_g" >&6; }
2452 if test "$ac_test_CFLAGS" = set; then
2453 CFLAGS=$ac_save_CFLAGS
2454 elif test $ac_cv_prog_cc_g = yes; then
2455 if test "$GCC" = yes; then
2456 CFLAGS="-g -O2"
2457 else
2458 CFLAGS="-g"
2460 else
2461 if test "$GCC" = yes; then
2462 CFLAGS="-O2"
2463 else
2464 CFLAGS=
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2468 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2469 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2470 $as_echo_n "(cached) " >&6
2471 else
2472 ac_cv_prog_cc_c89=no
2473 ac_save_CC=$CC
2474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2475 /* end confdefs.h. */
2476 #include <stdarg.h>
2477 #include <stdio.h>
2478 #include <sys/types.h>
2479 #include <sys/stat.h>
2480 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2481 struct buf { int x; };
2482 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2483 static char *e (p, i)
2484 char **p;
2485 int i;
2487 return p[i];
2489 static char *f (char * (*g) (char **, int), char **p, ...)
2491 char *s;
2492 va_list v;
2493 va_start (v,p);
2494 s = g (p, va_arg (v,int));
2495 va_end (v);
2496 return s;
2499 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2500 function prototypes and stuff, but not '\xHH' hex character constants.
2501 These don't provoke an error unfortunately, instead are silently treated
2502 as 'x'. The following induces an error, until -std is added to get
2503 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2504 array size at least. It's necessary to write '\x00'==0 to get something
2505 that's true only with -std. */
2506 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2508 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2509 inside strings and character constants. */
2510 #define FOO(x) 'x'
2511 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2513 int test (int i, double x);
2514 struct s1 {int (*f) (int a);};
2515 struct s2 {int (*f) (double a);};
2516 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2517 int argc;
2518 char **argv;
2520 main ()
2522 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2524 return 0;
2526 _ACEOF
2527 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2528 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2530 CC="$ac_save_CC $ac_arg"
2531 if ac_fn_c_try_compile "$LINENO"; then :
2532 ac_cv_prog_cc_c89=$ac_arg
2534 rm -f core conftest.err conftest.$ac_objext
2535 test "x$ac_cv_prog_cc_c89" != "xno" && break
2536 done
2537 rm -f conftest.$ac_ext
2538 CC=$ac_save_CC
2541 # AC_CACHE_VAL
2542 case "x$ac_cv_prog_cc_c89" in
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2545 $as_echo "none needed" >&6; } ;;
2546 xno)
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2548 $as_echo "unsupported" >&6; } ;;
2550 CC="$CC $ac_cv_prog_cc_c89"
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2552 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2553 esac
2554 if test "x$ac_cv_prog_cc_c89" != xno; then :
2558 ac_ext=c
2559 ac_cpp='$CPP $CPPFLAGS'
2560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2564 ac_aux_dir=
2565 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2566 if test -f "$ac_dir/install-sh"; then
2567 ac_aux_dir=$ac_dir
2568 ac_install_sh="$ac_aux_dir/install-sh -c"
2569 break
2570 elif test -f "$ac_dir/install.sh"; then
2571 ac_aux_dir=$ac_dir
2572 ac_install_sh="$ac_aux_dir/install.sh -c"
2573 break
2574 elif test -f "$ac_dir/shtool"; then
2575 ac_aux_dir=$ac_dir
2576 ac_install_sh="$ac_aux_dir/shtool install -c"
2577 break
2579 done
2580 if test -z "$ac_aux_dir"; then
2581 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2584 # These three variables are undocumented and unsupported,
2585 # and are intended to be withdrawn in a future Autoconf release.
2586 # They can cause serious problems if a builder's source tree is in a directory
2587 # whose full name contains unusual characters.
2588 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2589 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2590 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2593 # Find a good install program. We prefer a C program (faster),
2594 # so one script is as good as another. But avoid the broken or
2595 # incompatible versions:
2596 # SysV /etc/install, /usr/sbin/install
2597 # SunOS /usr/etc/install
2598 # IRIX /sbin/install
2599 # AIX /bin/install
2600 # AmigaOS /C/install, which installs bootblocks on floppy discs
2601 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2602 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2603 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2604 # OS/2's system install, which has a completely different semantic
2605 # ./install, which can be erroneously created by make from ./install.sh.
2606 # Reject install programs that cannot install multiple files.
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2608 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2609 if test -z "$INSTALL"; then
2610 if test "${ac_cv_path_install+set}" = set; then :
2611 $as_echo_n "(cached) " >&6
2612 else
2613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2614 for as_dir in $PATH
2616 IFS=$as_save_IFS
2617 test -z "$as_dir" && as_dir=.
2618 # Account for people who put trailing slashes in PATH elements.
2619 case $as_dir/ in #((
2620 ./ | .// | /[cC]/* | \
2621 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2622 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2623 /usr/ucb/* ) ;;
2625 # OSF1 and SCO ODT 3.0 have their own names for install.
2626 # Don't use installbsd from OSF since it installs stuff as root
2627 # by default.
2628 for ac_prog in ginstall scoinst install; do
2629 for ac_exec_ext in '' $ac_executable_extensions; do
2630 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2631 if test $ac_prog = install &&
2632 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2633 # AIX install. It has an incompatible calling convention.
2635 elif test $ac_prog = install &&
2636 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2637 # program-specific install script used by HP pwplus--don't use.
2639 else
2640 rm -rf conftest.one conftest.two conftest.dir
2641 echo one > conftest.one
2642 echo two > conftest.two
2643 mkdir conftest.dir
2644 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2645 test -s conftest.one && test -s conftest.two &&
2646 test -s conftest.dir/conftest.one &&
2647 test -s conftest.dir/conftest.two
2648 then
2649 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2650 break 3
2654 done
2655 done
2657 esac
2659 done
2660 IFS=$as_save_IFS
2662 rm -rf conftest.one conftest.two conftest.dir
2665 if test "${ac_cv_path_install+set}" = set; then
2666 INSTALL=$ac_cv_path_install
2667 else
2668 # As a last resort, use the slow shell script. Don't cache a
2669 # value for INSTALL within a source directory, because that will
2670 # break other packages using the cache if that directory is
2671 # removed, or if the value is a relative name.
2672 INSTALL=$ac_install_sh
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2676 $as_echo "$INSTALL" >&6; }
2678 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2679 # It thinks the first close brace ends the variable substitution.
2680 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2682 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2684 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2686 # checking for ocamlc
2687 if test -n "$ac_tool_prefix"; then
2688 # Extract the first word of "${ac_tool_prefix}ocamlc", so it can be a program name with args.
2689 set dummy ${ac_tool_prefix}ocamlc; ac_word=$2
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2691 $as_echo_n "checking for $ac_word... " >&6; }
2692 if test "${ac_cv_prog_OCAMLC+set}" = set; then :
2693 $as_echo_n "(cached) " >&6
2694 else
2695 if test -n "$OCAMLC"; then
2696 ac_cv_prog_OCAMLC="$OCAMLC" # Let the user override the test.
2697 else
2698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2699 for as_dir in $PATH
2701 IFS=$as_save_IFS
2702 test -z "$as_dir" && as_dir=.
2703 for ac_exec_ext in '' $ac_executable_extensions; do
2704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2705 ac_cv_prog_OCAMLC="${ac_tool_prefix}ocamlc"
2706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2707 break 2
2709 done
2710 done
2711 IFS=$as_save_IFS
2715 OCAMLC=$ac_cv_prog_OCAMLC
2716 if test -n "$OCAMLC"; then
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLC" >&5
2718 $as_echo "$OCAMLC" >&6; }
2719 else
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2721 $as_echo "no" >&6; }
2726 if test -z "$ac_cv_prog_OCAMLC"; then
2727 ac_ct_OCAMLC=$OCAMLC
2728 # Extract the first word of "ocamlc", so it can be a program name with args.
2729 set dummy ocamlc; ac_word=$2
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2731 $as_echo_n "checking for $ac_word... " >&6; }
2732 if test "${ac_cv_prog_ac_ct_OCAMLC+set}" = set; then :
2733 $as_echo_n "(cached) " >&6
2734 else
2735 if test -n "$ac_ct_OCAMLC"; then
2736 ac_cv_prog_ac_ct_OCAMLC="$ac_ct_OCAMLC" # Let the user override the test.
2737 else
2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2739 for as_dir in $PATH
2741 IFS=$as_save_IFS
2742 test -z "$as_dir" && as_dir=.
2743 for ac_exec_ext in '' $ac_executable_extensions; do
2744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2745 ac_cv_prog_ac_ct_OCAMLC="ocamlc"
2746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2747 break 2
2749 done
2750 done
2751 IFS=$as_save_IFS
2755 ac_ct_OCAMLC=$ac_cv_prog_ac_ct_OCAMLC
2756 if test -n "$ac_ct_OCAMLC"; then
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLC" >&5
2758 $as_echo "$ac_ct_OCAMLC" >&6; }
2759 else
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2761 $as_echo "no" >&6; }
2764 if test "x$ac_ct_OCAMLC" = x; then
2765 OCAMLC="no"
2766 else
2767 case $cross_compiling:$ac_tool_warned in
2768 yes:)
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2770 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2771 ac_tool_warned=yes ;;
2772 esac
2773 OCAMLC=$ac_ct_OCAMLC
2775 else
2776 OCAMLC="$ac_cv_prog_OCAMLC"
2780 if test "$OCAMLC" != "no"; then
2781 OCAMLVERSION=`$OCAMLC -v | sed -n -e 's|.*version* *\(.*\)$|\1|p'`
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml version is $OCAMLVERSION" >&5
2783 $as_echo "OCaml version is $OCAMLVERSION" >&6; }
2784 # If OCAMLLIB is set, use it
2785 if test "$OCAMLLIB" = ""; then
2786 OCAMLLIB=`$OCAMLC -where 2>/dev/null || $OCAMLC -v|tail -1|cut -d ' ' -f 4`
2787 else
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCAMLLIB previously set; preserving it." >&5
2789 $as_echo "OCAMLLIB previously set; preserving it." >&6; }
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml library path is $OCAMLLIB" >&5
2792 $as_echo "OCaml library path is $OCAMLLIB" >&6; }
2797 # checking for ocamlopt
2798 if test -n "$ac_tool_prefix"; then
2799 # Extract the first word of "${ac_tool_prefix}ocamlopt", so it can be a program name with args.
2800 set dummy ${ac_tool_prefix}ocamlopt; ac_word=$2
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2802 $as_echo_n "checking for $ac_word... " >&6; }
2803 if test "${ac_cv_prog_OCAMLOPT+set}" = set; then :
2804 $as_echo_n "(cached) " >&6
2805 else
2806 if test -n "$OCAMLOPT"; then
2807 ac_cv_prog_OCAMLOPT="$OCAMLOPT" # Let the user override the test.
2808 else
2809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2810 for as_dir in $PATH
2812 IFS=$as_save_IFS
2813 test -z "$as_dir" && as_dir=.
2814 for ac_exec_ext in '' $ac_executable_extensions; do
2815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2816 ac_cv_prog_OCAMLOPT="${ac_tool_prefix}ocamlopt"
2817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2818 break 2
2820 done
2821 done
2822 IFS=$as_save_IFS
2826 OCAMLOPT=$ac_cv_prog_OCAMLOPT
2827 if test -n "$OCAMLOPT"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPT" >&5
2829 $as_echo "$OCAMLOPT" >&6; }
2830 else
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832 $as_echo "no" >&6; }
2837 if test -z "$ac_cv_prog_OCAMLOPT"; then
2838 ac_ct_OCAMLOPT=$OCAMLOPT
2839 # Extract the first word of "ocamlopt", so it can be a program name with args.
2840 set dummy ocamlopt; ac_word=$2
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2842 $as_echo_n "checking for $ac_word... " >&6; }
2843 if test "${ac_cv_prog_ac_ct_OCAMLOPT+set}" = set; then :
2844 $as_echo_n "(cached) " >&6
2845 else
2846 if test -n "$ac_ct_OCAMLOPT"; then
2847 ac_cv_prog_ac_ct_OCAMLOPT="$ac_ct_OCAMLOPT" # Let the user override the test.
2848 else
2849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2850 for as_dir in $PATH
2852 IFS=$as_save_IFS
2853 test -z "$as_dir" && as_dir=.
2854 for ac_exec_ext in '' $ac_executable_extensions; do
2855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2856 ac_cv_prog_ac_ct_OCAMLOPT="ocamlopt"
2857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2858 break 2
2860 done
2861 done
2862 IFS=$as_save_IFS
2866 ac_ct_OCAMLOPT=$ac_cv_prog_ac_ct_OCAMLOPT
2867 if test -n "$ac_ct_OCAMLOPT"; then
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPT" >&5
2869 $as_echo "$ac_ct_OCAMLOPT" >&6; }
2870 else
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2872 $as_echo "no" >&6; }
2875 if test "x$ac_ct_OCAMLOPT" = x; then
2876 OCAMLOPT="no"
2877 else
2878 case $cross_compiling:$ac_tool_warned in
2879 yes:)
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2882 ac_tool_warned=yes ;;
2883 esac
2884 OCAMLOPT=$ac_ct_OCAMLOPT
2886 else
2887 OCAMLOPT="$ac_cv_prog_OCAMLOPT"
2890 OCAMLBEST=byte
2891 if test "$OCAMLOPT" = "no"; then
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find ocamlopt; bytecode compilation only." >&5
2893 $as_echo "$as_me: WARNING: Cannot find ocamlopt; bytecode compilation only." >&2;}
2894 else
2895 TMPVERSION=`$OCAMLOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
2896 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlopt discarded." >&5
2898 $as_echo "versions differs from ocamlc; ocamlopt discarded." >&6; }
2899 OCAMLOPT=no
2900 else
2901 OCAMLBEST=opt
2907 # checking for ocamlc.opt
2908 if test -n "$ac_tool_prefix"; then
2909 # Extract the first word of "${ac_tool_prefix}ocamlc.opt", so it can be a program name with args.
2910 set dummy ${ac_tool_prefix}ocamlc.opt; ac_word=$2
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2912 $as_echo_n "checking for $ac_word... " >&6; }
2913 if test "${ac_cv_prog_OCAMLCDOTOPT+set}" = set; then :
2914 $as_echo_n "(cached) " >&6
2915 else
2916 if test -n "$OCAMLCDOTOPT"; then
2917 ac_cv_prog_OCAMLCDOTOPT="$OCAMLCDOTOPT" # Let the user override the test.
2918 else
2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2920 for as_dir in $PATH
2922 IFS=$as_save_IFS
2923 test -z "$as_dir" && as_dir=.
2924 for ac_exec_ext in '' $ac_executable_extensions; do
2925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2926 ac_cv_prog_OCAMLCDOTOPT="${ac_tool_prefix}ocamlc.opt"
2927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2928 break 2
2930 done
2931 done
2932 IFS=$as_save_IFS
2936 OCAMLCDOTOPT=$ac_cv_prog_OCAMLCDOTOPT
2937 if test -n "$OCAMLCDOTOPT"; then
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLCDOTOPT" >&5
2939 $as_echo "$OCAMLCDOTOPT" >&6; }
2940 else
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2942 $as_echo "no" >&6; }
2947 if test -z "$ac_cv_prog_OCAMLCDOTOPT"; then
2948 ac_ct_OCAMLCDOTOPT=$OCAMLCDOTOPT
2949 # Extract the first word of "ocamlc.opt", so it can be a program name with args.
2950 set dummy ocamlc.opt; ac_word=$2
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2952 $as_echo_n "checking for $ac_word... " >&6; }
2953 if test "${ac_cv_prog_ac_ct_OCAMLCDOTOPT+set}" = set; then :
2954 $as_echo_n "(cached) " >&6
2955 else
2956 if test -n "$ac_ct_OCAMLCDOTOPT"; then
2957 ac_cv_prog_ac_ct_OCAMLCDOTOPT="$ac_ct_OCAMLCDOTOPT" # Let the user override the test.
2958 else
2959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2960 for as_dir in $PATH
2962 IFS=$as_save_IFS
2963 test -z "$as_dir" && as_dir=.
2964 for ac_exec_ext in '' $ac_executable_extensions; do
2965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2966 ac_cv_prog_ac_ct_OCAMLCDOTOPT="ocamlc.opt"
2967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2968 break 2
2970 done
2971 done
2972 IFS=$as_save_IFS
2976 ac_ct_OCAMLCDOTOPT=$ac_cv_prog_ac_ct_OCAMLCDOTOPT
2977 if test -n "$ac_ct_OCAMLCDOTOPT"; then
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLCDOTOPT" >&5
2979 $as_echo "$ac_ct_OCAMLCDOTOPT" >&6; }
2980 else
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2982 $as_echo "no" >&6; }
2985 if test "x$ac_ct_OCAMLCDOTOPT" = x; then
2986 OCAMLCDOTOPT="no"
2987 else
2988 case $cross_compiling:$ac_tool_warned in
2989 yes:)
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2992 ac_tool_warned=yes ;;
2993 esac
2994 OCAMLCDOTOPT=$ac_ct_OCAMLCDOTOPT
2996 else
2997 OCAMLCDOTOPT="$ac_cv_prog_OCAMLCDOTOPT"
3000 if test "$OCAMLCDOTOPT" != "no"; then
3001 TMPVERSION=`$OCAMLCDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3002 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlc.opt discarded." >&5
3004 $as_echo "versions differs from ocamlc; ocamlc.opt discarded." >&6; }
3005 else
3006 OCAMLC=$OCAMLCDOTOPT
3010 # checking for ocamlopt.opt
3011 if test "$OCAMLOPT" != "no" ; then
3012 if test -n "$ac_tool_prefix"; then
3013 # Extract the first word of "${ac_tool_prefix}ocamlopt.opt", so it can be a program name with args.
3014 set dummy ${ac_tool_prefix}ocamlopt.opt; 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 test "${ac_cv_prog_OCAMLOPTDOTOPT+set}" = set; then :
3018 $as_echo_n "(cached) " >&6
3019 else
3020 if test -n "$OCAMLOPTDOTOPT"; then
3021 ac_cv_prog_OCAMLOPTDOTOPT="$OCAMLOPTDOTOPT" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3030 ac_cv_prog_OCAMLOPTDOTOPT="${ac_tool_prefix}ocamlopt.opt"
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 OCAMLOPTDOTOPT=$ac_cv_prog_OCAMLOPTDOTOPT
3041 if test -n "$OCAMLOPTDOTOPT"; then
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPTDOTOPT" >&5
3043 $as_echo "$OCAMLOPTDOTOPT" >&6; }
3044 else
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3046 $as_echo "no" >&6; }
3051 if test -z "$ac_cv_prog_OCAMLOPTDOTOPT"; then
3052 ac_ct_OCAMLOPTDOTOPT=$OCAMLOPTDOTOPT
3053 # Extract the first word of "ocamlopt.opt", so it can be a program name with args.
3054 set dummy ocamlopt.opt; ac_word=$2
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3056 $as_echo_n "checking for $ac_word... " >&6; }
3057 if test "${ac_cv_prog_ac_ct_OCAMLOPTDOTOPT+set}" = set; then :
3058 $as_echo_n "(cached) " >&6
3059 else
3060 if test -n "$ac_ct_OCAMLOPTDOTOPT"; then
3061 ac_cv_prog_ac_ct_OCAMLOPTDOTOPT="$ac_ct_OCAMLOPTDOTOPT" # Let the user override the test.
3062 else
3063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3064 for as_dir in $PATH
3066 IFS=$as_save_IFS
3067 test -z "$as_dir" && as_dir=.
3068 for ac_exec_ext in '' $ac_executable_extensions; do
3069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3070 ac_cv_prog_ac_ct_OCAMLOPTDOTOPT="ocamlopt.opt"
3071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3072 break 2
3074 done
3075 done
3076 IFS=$as_save_IFS
3080 ac_ct_OCAMLOPTDOTOPT=$ac_cv_prog_ac_ct_OCAMLOPTDOTOPT
3081 if test -n "$ac_ct_OCAMLOPTDOTOPT"; then
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPTDOTOPT" >&5
3083 $as_echo "$ac_ct_OCAMLOPTDOTOPT" >&6; }
3084 else
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3086 $as_echo "no" >&6; }
3089 if test "x$ac_ct_OCAMLOPTDOTOPT" = x; then
3090 OCAMLOPTDOTOPT="no"
3091 else
3092 case $cross_compiling:$ac_tool_warned in
3093 yes:)
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3096 ac_tool_warned=yes ;;
3097 esac
3098 OCAMLOPTDOTOPT=$ac_ct_OCAMLOPTDOTOPT
3100 else
3101 OCAMLOPTDOTOPT="$ac_cv_prog_OCAMLOPTDOTOPT"
3104 if test "$OCAMLOPTDOTOPT" != "no"; then
3105 TMPVERSION=`$OCAMLOPTDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3106 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: version differs from ocamlc; ocamlopt.opt discarded." >&5
3108 $as_echo "version differs from ocamlc; ocamlopt.opt discarded." >&6; }
3109 else
3110 OCAMLOPT=$OCAMLOPTDOTOPT
3120 # checking for ocaml toplevel
3121 if test -n "$ac_tool_prefix"; then
3122 # Extract the first word of "${ac_tool_prefix}ocaml", so it can be a program name with args.
3123 set dummy ${ac_tool_prefix}ocaml; ac_word=$2
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3125 $as_echo_n "checking for $ac_word... " >&6; }
3126 if test "${ac_cv_prog_OCAML+set}" = set; then :
3127 $as_echo_n "(cached) " >&6
3128 else
3129 if test -n "$OCAML"; then
3130 ac_cv_prog_OCAML="$OCAML" # Let the user override the test.
3131 else
3132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3133 for as_dir in $PATH
3135 IFS=$as_save_IFS
3136 test -z "$as_dir" && as_dir=.
3137 for ac_exec_ext in '' $ac_executable_extensions; do
3138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3139 ac_cv_prog_OCAML="${ac_tool_prefix}ocaml"
3140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3141 break 2
3143 done
3144 done
3145 IFS=$as_save_IFS
3149 OCAML=$ac_cv_prog_OCAML
3150 if test -n "$OCAML"; then
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAML" >&5
3152 $as_echo "$OCAML" >&6; }
3153 else
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3155 $as_echo "no" >&6; }
3160 if test -z "$ac_cv_prog_OCAML"; then
3161 ac_ct_OCAML=$OCAML
3162 # Extract the first word of "ocaml", so it can be a program name with args.
3163 set dummy ocaml; ac_word=$2
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3165 $as_echo_n "checking for $ac_word... " >&6; }
3166 if test "${ac_cv_prog_ac_ct_OCAML+set}" = set; then :
3167 $as_echo_n "(cached) " >&6
3168 else
3169 if test -n "$ac_ct_OCAML"; then
3170 ac_cv_prog_ac_ct_OCAML="$ac_ct_OCAML" # Let the user override the test.
3171 else
3172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3173 for as_dir in $PATH
3175 IFS=$as_save_IFS
3176 test -z "$as_dir" && as_dir=.
3177 for ac_exec_ext in '' $ac_executable_extensions; do
3178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3179 ac_cv_prog_ac_ct_OCAML="ocaml"
3180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3181 break 2
3183 done
3184 done
3185 IFS=$as_save_IFS
3189 ac_ct_OCAML=$ac_cv_prog_ac_ct_OCAML
3190 if test -n "$ac_ct_OCAML"; then
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAML" >&5
3192 $as_echo "$ac_ct_OCAML" >&6; }
3193 else
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3195 $as_echo "no" >&6; }
3198 if test "x$ac_ct_OCAML" = x; then
3199 OCAML="no"
3200 else
3201 case $cross_compiling:$ac_tool_warned in
3202 yes:)
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3204 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3205 ac_tool_warned=yes ;;
3206 esac
3207 OCAML=$ac_ct_OCAML
3209 else
3210 OCAML="$ac_cv_prog_OCAML"
3214 # checking for ocamldep
3215 if test -n "$ac_tool_prefix"; then
3216 # Extract the first word of "${ac_tool_prefix}ocamldep", so it can be a program name with args.
3217 set dummy ${ac_tool_prefix}ocamldep; ac_word=$2
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3219 $as_echo_n "checking for $ac_word... " >&6; }
3220 if test "${ac_cv_prog_OCAMLDEP+set}" = set; then :
3221 $as_echo_n "(cached) " >&6
3222 else
3223 if test -n "$OCAMLDEP"; then
3224 ac_cv_prog_OCAMLDEP="$OCAMLDEP" # Let the user override the test.
3225 else
3226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3227 for as_dir in $PATH
3229 IFS=$as_save_IFS
3230 test -z "$as_dir" && as_dir=.
3231 for ac_exec_ext in '' $ac_executable_extensions; do
3232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3233 ac_cv_prog_OCAMLDEP="${ac_tool_prefix}ocamldep"
3234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3235 break 2
3237 done
3238 done
3239 IFS=$as_save_IFS
3243 OCAMLDEP=$ac_cv_prog_OCAMLDEP
3244 if test -n "$OCAMLDEP"; then
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDEP" >&5
3246 $as_echo "$OCAMLDEP" >&6; }
3247 else
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3254 if test -z "$ac_cv_prog_OCAMLDEP"; then
3255 ac_ct_OCAMLDEP=$OCAMLDEP
3256 # Extract the first word of "ocamldep", so it can be a program name with args.
3257 set dummy ocamldep; ac_word=$2
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3259 $as_echo_n "checking for $ac_word... " >&6; }
3260 if test "${ac_cv_prog_ac_ct_OCAMLDEP+set}" = set; then :
3261 $as_echo_n "(cached) " >&6
3262 else
3263 if test -n "$ac_ct_OCAMLDEP"; then
3264 ac_cv_prog_ac_ct_OCAMLDEP="$ac_ct_OCAMLDEP" # Let the user override the test.
3265 else
3266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3267 for as_dir in $PATH
3269 IFS=$as_save_IFS
3270 test -z "$as_dir" && as_dir=.
3271 for ac_exec_ext in '' $ac_executable_extensions; do
3272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3273 ac_cv_prog_ac_ct_OCAMLDEP="ocamldep"
3274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3275 break 2
3277 done
3278 done
3279 IFS=$as_save_IFS
3283 ac_ct_OCAMLDEP=$ac_cv_prog_ac_ct_OCAMLDEP
3284 if test -n "$ac_ct_OCAMLDEP"; then
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDEP" >&5
3286 $as_echo "$ac_ct_OCAMLDEP" >&6; }
3287 else
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3289 $as_echo "no" >&6; }
3292 if test "x$ac_ct_OCAMLDEP" = x; then
3293 OCAMLDEP="no"
3294 else
3295 case $cross_compiling:$ac_tool_warned in
3296 yes:)
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3299 ac_tool_warned=yes ;;
3300 esac
3301 OCAMLDEP=$ac_ct_OCAMLDEP
3303 else
3304 OCAMLDEP="$ac_cv_prog_OCAMLDEP"
3308 # checking for ocamlmktop
3309 if test -n "$ac_tool_prefix"; then
3310 # Extract the first word of "${ac_tool_prefix}ocamlmktop", so it can be a program name with args.
3311 set dummy ${ac_tool_prefix}ocamlmktop; ac_word=$2
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3313 $as_echo_n "checking for $ac_word... " >&6; }
3314 if test "${ac_cv_prog_OCAMLMKTOP+set}" = set; then :
3315 $as_echo_n "(cached) " >&6
3316 else
3317 if test -n "$OCAMLMKTOP"; then
3318 ac_cv_prog_OCAMLMKTOP="$OCAMLMKTOP" # Let the user override the test.
3319 else
3320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3321 for as_dir in $PATH
3323 IFS=$as_save_IFS
3324 test -z "$as_dir" && as_dir=.
3325 for ac_exec_ext in '' $ac_executable_extensions; do
3326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3327 ac_cv_prog_OCAMLMKTOP="${ac_tool_prefix}ocamlmktop"
3328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3329 break 2
3331 done
3332 done
3333 IFS=$as_save_IFS
3337 OCAMLMKTOP=$ac_cv_prog_OCAMLMKTOP
3338 if test -n "$OCAMLMKTOP"; then
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKTOP" >&5
3340 $as_echo "$OCAMLMKTOP" >&6; }
3341 else
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3343 $as_echo "no" >&6; }
3348 if test -z "$ac_cv_prog_OCAMLMKTOP"; then
3349 ac_ct_OCAMLMKTOP=$OCAMLMKTOP
3350 # Extract the first word of "ocamlmktop", so it can be a program name with args.
3351 set dummy ocamlmktop; ac_word=$2
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3353 $as_echo_n "checking for $ac_word... " >&6; }
3354 if test "${ac_cv_prog_ac_ct_OCAMLMKTOP+set}" = set; then :
3355 $as_echo_n "(cached) " >&6
3356 else
3357 if test -n "$ac_ct_OCAMLMKTOP"; then
3358 ac_cv_prog_ac_ct_OCAMLMKTOP="$ac_ct_OCAMLMKTOP" # Let the user override the test.
3359 else
3360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3361 for as_dir in $PATH
3363 IFS=$as_save_IFS
3364 test -z "$as_dir" && as_dir=.
3365 for ac_exec_ext in '' $ac_executable_extensions; do
3366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3367 ac_cv_prog_ac_ct_OCAMLMKTOP="ocamlmktop"
3368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3369 break 2
3371 done
3372 done
3373 IFS=$as_save_IFS
3377 ac_ct_OCAMLMKTOP=$ac_cv_prog_ac_ct_OCAMLMKTOP
3378 if test -n "$ac_ct_OCAMLMKTOP"; then
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKTOP" >&5
3380 $as_echo "$ac_ct_OCAMLMKTOP" >&6; }
3381 else
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3383 $as_echo "no" >&6; }
3386 if test "x$ac_ct_OCAMLMKTOP" = x; then
3387 OCAMLMKTOP="no"
3388 else
3389 case $cross_compiling:$ac_tool_warned in
3390 yes:)
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3392 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3393 ac_tool_warned=yes ;;
3394 esac
3395 OCAMLMKTOP=$ac_ct_OCAMLMKTOP
3397 else
3398 OCAMLMKTOP="$ac_cv_prog_OCAMLMKTOP"
3402 # checking for ocamlmklib
3403 if test -n "$ac_tool_prefix"; then
3404 # Extract the first word of "${ac_tool_prefix}ocamlmklib", so it can be a program name with args.
3405 set dummy ${ac_tool_prefix}ocamlmklib; ac_word=$2
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3407 $as_echo_n "checking for $ac_word... " >&6; }
3408 if test "${ac_cv_prog_OCAMLMKLIB+set}" = set; then :
3409 $as_echo_n "(cached) " >&6
3410 else
3411 if test -n "$OCAMLMKLIB"; then
3412 ac_cv_prog_OCAMLMKLIB="$OCAMLMKLIB" # Let the user override the test.
3413 else
3414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3415 for as_dir in $PATH
3417 IFS=$as_save_IFS
3418 test -z "$as_dir" && as_dir=.
3419 for ac_exec_ext in '' $ac_executable_extensions; do
3420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3421 ac_cv_prog_OCAMLMKLIB="${ac_tool_prefix}ocamlmklib"
3422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3423 break 2
3425 done
3426 done
3427 IFS=$as_save_IFS
3431 OCAMLMKLIB=$ac_cv_prog_OCAMLMKLIB
3432 if test -n "$OCAMLMKLIB"; then
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKLIB" >&5
3434 $as_echo "$OCAMLMKLIB" >&6; }
3435 else
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3437 $as_echo "no" >&6; }
3442 if test -z "$ac_cv_prog_OCAMLMKLIB"; then
3443 ac_ct_OCAMLMKLIB=$OCAMLMKLIB
3444 # Extract the first word of "ocamlmklib", so it can be a program name with args.
3445 set dummy ocamlmklib; ac_word=$2
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3447 $as_echo_n "checking for $ac_word... " >&6; }
3448 if test "${ac_cv_prog_ac_ct_OCAMLMKLIB+set}" = set; then :
3449 $as_echo_n "(cached) " >&6
3450 else
3451 if test -n "$ac_ct_OCAMLMKLIB"; then
3452 ac_cv_prog_ac_ct_OCAMLMKLIB="$ac_ct_OCAMLMKLIB" # Let the user override the test.
3453 else
3454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3455 for as_dir in $PATH
3457 IFS=$as_save_IFS
3458 test -z "$as_dir" && as_dir=.
3459 for ac_exec_ext in '' $ac_executable_extensions; do
3460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3461 ac_cv_prog_ac_ct_OCAMLMKLIB="ocamlmklib"
3462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3463 break 2
3465 done
3466 done
3467 IFS=$as_save_IFS
3471 ac_ct_OCAMLMKLIB=$ac_cv_prog_ac_ct_OCAMLMKLIB
3472 if test -n "$ac_ct_OCAMLMKLIB"; then
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKLIB" >&5
3474 $as_echo "$ac_ct_OCAMLMKLIB" >&6; }
3475 else
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3477 $as_echo "no" >&6; }
3480 if test "x$ac_ct_OCAMLMKLIB" = x; then
3481 OCAMLMKLIB="no"
3482 else
3483 case $cross_compiling:$ac_tool_warned in
3484 yes:)
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3486 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3487 ac_tool_warned=yes ;;
3488 esac
3489 OCAMLMKLIB=$ac_ct_OCAMLMKLIB
3491 else
3492 OCAMLMKLIB="$ac_cv_prog_OCAMLMKLIB"
3496 # checking for ocamldoc
3497 if test -n "$ac_tool_prefix"; then
3498 # Extract the first word of "${ac_tool_prefix}ocamldoc", so it can be a program name with args.
3499 set dummy ${ac_tool_prefix}ocamldoc; ac_word=$2
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3501 $as_echo_n "checking for $ac_word... " >&6; }
3502 if test "${ac_cv_prog_OCAMLDOC+set}" = set; then :
3503 $as_echo_n "(cached) " >&6
3504 else
3505 if test -n "$OCAMLDOC"; then
3506 ac_cv_prog_OCAMLDOC="$OCAMLDOC" # Let the user override the test.
3507 else
3508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 for as_dir in $PATH
3511 IFS=$as_save_IFS
3512 test -z "$as_dir" && as_dir=.
3513 for ac_exec_ext in '' $ac_executable_extensions; do
3514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3515 ac_cv_prog_OCAMLDOC="${ac_tool_prefix}ocamldoc"
3516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3517 break 2
3519 done
3520 done
3521 IFS=$as_save_IFS
3525 OCAMLDOC=$ac_cv_prog_OCAMLDOC
3526 if test -n "$OCAMLDOC"; then
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDOC" >&5
3528 $as_echo "$OCAMLDOC" >&6; }
3529 else
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3531 $as_echo "no" >&6; }
3536 if test -z "$ac_cv_prog_OCAMLDOC"; then
3537 ac_ct_OCAMLDOC=$OCAMLDOC
3538 # Extract the first word of "ocamldoc", so it can be a program name with args.
3539 set dummy ocamldoc; ac_word=$2
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3541 $as_echo_n "checking for $ac_word... " >&6; }
3542 if test "${ac_cv_prog_ac_ct_OCAMLDOC+set}" = set; then :
3543 $as_echo_n "(cached) " >&6
3544 else
3545 if test -n "$ac_ct_OCAMLDOC"; then
3546 ac_cv_prog_ac_ct_OCAMLDOC="$ac_ct_OCAMLDOC" # Let the user override the test.
3547 else
3548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3549 for as_dir in $PATH
3551 IFS=$as_save_IFS
3552 test -z "$as_dir" && as_dir=.
3553 for ac_exec_ext in '' $ac_executable_extensions; do
3554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3555 ac_cv_prog_ac_ct_OCAMLDOC="ocamldoc"
3556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3557 break 2
3559 done
3560 done
3561 IFS=$as_save_IFS
3565 ac_ct_OCAMLDOC=$ac_cv_prog_ac_ct_OCAMLDOC
3566 if test -n "$ac_ct_OCAMLDOC"; then
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDOC" >&5
3568 $as_echo "$ac_ct_OCAMLDOC" >&6; }
3569 else
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3571 $as_echo "no" >&6; }
3574 if test "x$ac_ct_OCAMLDOC" = x; then
3575 OCAMLDOC="no"
3576 else
3577 case $cross_compiling:$ac_tool_warned in
3578 yes:)
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3580 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3581 ac_tool_warned=yes ;;
3582 esac
3583 OCAMLDOC=$ac_ct_OCAMLDOC
3585 else
3586 OCAMLDOC="$ac_cv_prog_OCAMLDOC"
3590 # checking for ocamlbuild
3591 if test -n "$ac_tool_prefix"; then
3592 # Extract the first word of "${ac_tool_prefix}ocamlbuild", so it can be a program name with args.
3593 set dummy ${ac_tool_prefix}ocamlbuild; ac_word=$2
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3595 $as_echo_n "checking for $ac_word... " >&6; }
3596 if test "${ac_cv_prog_OCAMLBUILD+set}" = set; then :
3597 $as_echo_n "(cached) " >&6
3598 else
3599 if test -n "$OCAMLBUILD"; then
3600 ac_cv_prog_OCAMLBUILD="$OCAMLBUILD" # Let the user override the test.
3601 else
3602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3603 for as_dir in $PATH
3605 IFS=$as_save_IFS
3606 test -z "$as_dir" && as_dir=.
3607 for ac_exec_ext in '' $ac_executable_extensions; do
3608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3609 ac_cv_prog_OCAMLBUILD="${ac_tool_prefix}ocamlbuild"
3610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3611 break 2
3613 done
3614 done
3615 IFS=$as_save_IFS
3619 OCAMLBUILD=$ac_cv_prog_OCAMLBUILD
3620 if test -n "$OCAMLBUILD"; then
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLBUILD" >&5
3622 $as_echo "$OCAMLBUILD" >&6; }
3623 else
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3625 $as_echo "no" >&6; }
3630 if test -z "$ac_cv_prog_OCAMLBUILD"; then
3631 ac_ct_OCAMLBUILD=$OCAMLBUILD
3632 # Extract the first word of "ocamlbuild", so it can be a program name with args.
3633 set dummy ocamlbuild; ac_word=$2
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3635 $as_echo_n "checking for $ac_word... " >&6; }
3636 if test "${ac_cv_prog_ac_ct_OCAMLBUILD+set}" = set; then :
3637 $as_echo_n "(cached) " >&6
3638 else
3639 if test -n "$ac_ct_OCAMLBUILD"; then
3640 ac_cv_prog_ac_ct_OCAMLBUILD="$ac_ct_OCAMLBUILD" # Let the user override the test.
3641 else
3642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3643 for as_dir in $PATH
3645 IFS=$as_save_IFS
3646 test -z "$as_dir" && as_dir=.
3647 for ac_exec_ext in '' $ac_executable_extensions; do
3648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3649 ac_cv_prog_ac_ct_OCAMLBUILD="ocamlbuild"
3650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3651 break 2
3653 done
3654 done
3655 IFS=$as_save_IFS
3659 ac_ct_OCAMLBUILD=$ac_cv_prog_ac_ct_OCAMLBUILD
3660 if test -n "$ac_ct_OCAMLBUILD"; then
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLBUILD" >&5
3662 $as_echo "$ac_ct_OCAMLBUILD" >&6; }
3663 else
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3665 $as_echo "no" >&6; }
3668 if test "x$ac_ct_OCAMLBUILD" = x; then
3669 OCAMLBUILD="no"
3670 else
3671 case $cross_compiling:$ac_tool_warned in
3672 yes:)
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3674 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3675 ac_tool_warned=yes ;;
3676 esac
3677 OCAMLBUILD=$ac_ct_OCAMLBUILD
3679 else
3680 OCAMLBUILD="$ac_cv_prog_OCAMLBUILD"
3685 # checking for ocamlfind
3686 if test -n "$ac_tool_prefix"; then
3687 # Extract the first word of "${ac_tool_prefix}ocamlfind", so it can be a program name with args.
3688 set dummy ${ac_tool_prefix}ocamlfind; ac_word=$2
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3690 $as_echo_n "checking for $ac_word... " >&6; }
3691 if test "${ac_cv_prog_OCAMLFIND+set}" = set; then :
3692 $as_echo_n "(cached) " >&6
3693 else
3694 if test -n "$OCAMLFIND"; then
3695 ac_cv_prog_OCAMLFIND="$OCAMLFIND" # Let the user override the test.
3696 else
3697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3698 for as_dir in $PATH
3700 IFS=$as_save_IFS
3701 test -z "$as_dir" && as_dir=.
3702 for ac_exec_ext in '' $ac_executable_extensions; do
3703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3704 ac_cv_prog_OCAMLFIND="${ac_tool_prefix}ocamlfind"
3705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3706 break 2
3708 done
3709 done
3710 IFS=$as_save_IFS
3714 OCAMLFIND=$ac_cv_prog_OCAMLFIND
3715 if test -n "$OCAMLFIND"; then
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLFIND" >&5
3717 $as_echo "$OCAMLFIND" >&6; }
3718 else
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3720 $as_echo "no" >&6; }
3725 if test -z "$ac_cv_prog_OCAMLFIND"; then
3726 ac_ct_OCAMLFIND=$OCAMLFIND
3727 # Extract the first word of "ocamlfind", so it can be a program name with args.
3728 set dummy ocamlfind; ac_word=$2
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3730 $as_echo_n "checking for $ac_word... " >&6; }
3731 if test "${ac_cv_prog_ac_ct_OCAMLFIND+set}" = set; then :
3732 $as_echo_n "(cached) " >&6
3733 else
3734 if test -n "$ac_ct_OCAMLFIND"; then
3735 ac_cv_prog_ac_ct_OCAMLFIND="$ac_ct_OCAMLFIND" # Let the user override the test.
3736 else
3737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3738 for as_dir in $PATH
3740 IFS=$as_save_IFS
3741 test -z "$as_dir" && as_dir=.
3742 for ac_exec_ext in '' $ac_executable_extensions; do
3743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3744 ac_cv_prog_ac_ct_OCAMLFIND="ocamlfind"
3745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3746 break 2
3748 done
3749 done
3750 IFS=$as_save_IFS
3754 ac_ct_OCAMLFIND=$ac_cv_prog_ac_ct_OCAMLFIND
3755 if test -n "$ac_ct_OCAMLFIND"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLFIND" >&5
3757 $as_echo "$ac_ct_OCAMLFIND" >&6; }
3758 else
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3760 $as_echo "no" >&6; }
3763 if test "x$ac_ct_OCAMLFIND" = x; then
3764 OCAMLFIND="no"
3765 else
3766 case $cross_compiling:$ac_tool_warned in
3767 yes:)
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3770 ac_tool_warned=yes ;;
3771 esac
3772 OCAMLFIND=$ac_ct_OCAMLFIND
3774 else
3775 OCAMLFIND="$ac_cv_prog_OCAMLFIND"
3781 INSTALLDIR=$OCAMLLIB/curl
3783 if test "x$prefix" = xNONE; then
3784 $as_echo_n "checking for prefix by " >&6
3785 # Extract the first word of "ocamlc", so it can be a program name with args.
3786 set dummy ocamlc; ac_word=$2
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3788 $as_echo_n "checking for $ac_word... " >&6; }
3789 if test "${ac_cv_path_ac_prefix_program+set}" = set; then :
3790 $as_echo_n "(cached) " >&6
3791 else
3792 case $ac_prefix_program in
3793 [\\/]* | ?:[\\/]*)
3794 ac_cv_path_ac_prefix_program="$ac_prefix_program" # Let the user override the test with a path.
3797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3798 for as_dir in $PATH
3800 IFS=$as_save_IFS
3801 test -z "$as_dir" && as_dir=.
3802 for ac_exec_ext in '' $ac_executable_extensions; do
3803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3804 ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
3805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3806 break 2
3808 done
3809 done
3810 IFS=$as_save_IFS
3813 esac
3815 ac_prefix_program=$ac_cv_path_ac_prefix_program
3816 if test -n "$ac_prefix_program"; then
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prefix_program" >&5
3818 $as_echo "$ac_prefix_program" >&6; }
3819 else
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3821 $as_echo "no" >&6; }
3825 if test -n "$ac_prefix_program"; then
3826 prefix=`$as_dirname -- "$ac_prefix_program" ||
3827 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3828 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
3829 X"$ac_prefix_program" : 'X\(//\)$' \| \
3830 X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
3831 $as_echo X"$ac_prefix_program" |
3832 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3833 s//\1/
3836 /^X\(\/\/\)[^/].*/{
3837 s//\1/
3840 /^X\(\/\/\)$/{
3841 s//\1/
3844 /^X\(\/\).*/{
3845 s//\1/
3848 s/.*/./; q'`
3849 prefix=`$as_dirname -- "$prefix" ||
3850 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3851 X"$prefix" : 'X\(//\)[^/]' \| \
3852 X"$prefix" : 'X\(//\)$' \| \
3853 X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
3854 $as_echo X"$prefix" |
3855 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3856 s//\1/
3859 /^X\(\/\/\)[^/].*/{
3860 s//\1/
3863 /^X\(\/\/\)$/{
3864 s//\1/
3867 /^X\(\/\).*/{
3868 s//\1/
3871 s/.*/./; q'`
3884 ac_fn_c_check_decl "$LINENO" "CURLOPT_FILE" "ac_cv_have_decl_CURLOPT_FILE" "
3885 #include \"curl/curl.h\"
3888 if test "x$ac_cv_have_decl_CURLOPT_FILE" = x""yes; then :
3889 ac_have_decl=1
3890 else
3891 ac_have_decl=0
3894 cat >>confdefs.h <<_ACEOF
3895 #define HAVE_DECL_CURLOPT_FILE $ac_have_decl
3896 _ACEOF
3897 ac_fn_c_check_decl "$LINENO" "CURLOPT_URL" "ac_cv_have_decl_CURLOPT_URL" "
3898 #include \"curl/curl.h\"
3901 if test "x$ac_cv_have_decl_CURLOPT_URL" = x""yes; then :
3902 ac_have_decl=1
3903 else
3904 ac_have_decl=0
3907 cat >>confdefs.h <<_ACEOF
3908 #define HAVE_DECL_CURLOPT_URL $ac_have_decl
3909 _ACEOF
3910 ac_fn_c_check_decl "$LINENO" "CURLOPT_PORT" "ac_cv_have_decl_CURLOPT_PORT" "
3911 #include \"curl/curl.h\"
3914 if test "x$ac_cv_have_decl_CURLOPT_PORT" = x""yes; then :
3915 ac_have_decl=1
3916 else
3917 ac_have_decl=0
3920 cat >>confdefs.h <<_ACEOF
3921 #define HAVE_DECL_CURLOPT_PORT $ac_have_decl
3922 _ACEOF
3923 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXY" "ac_cv_have_decl_CURLOPT_PROXY" "
3924 #include \"curl/curl.h\"
3927 if test "x$ac_cv_have_decl_CURLOPT_PROXY" = x""yes; then :
3928 ac_have_decl=1
3929 else
3930 ac_have_decl=0
3933 cat >>confdefs.h <<_ACEOF
3934 #define HAVE_DECL_CURLOPT_PROXY $ac_have_decl
3935 _ACEOF
3936 ac_fn_c_check_decl "$LINENO" "CURLOPT_USERPWD" "ac_cv_have_decl_CURLOPT_USERPWD" "
3937 #include \"curl/curl.h\"
3940 if test "x$ac_cv_have_decl_CURLOPT_USERPWD" = x""yes; then :
3941 ac_have_decl=1
3942 else
3943 ac_have_decl=0
3946 cat >>confdefs.h <<_ACEOF
3947 #define HAVE_DECL_CURLOPT_USERPWD $ac_have_decl
3948 _ACEOF
3949 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYUSERPWD" "ac_cv_have_decl_CURLOPT_PROXYUSERPWD" "
3950 #include \"curl/curl.h\"
3953 if test "x$ac_cv_have_decl_CURLOPT_PROXYUSERPWD" = x""yes; then :
3954 ac_have_decl=1
3955 else
3956 ac_have_decl=0
3959 cat >>confdefs.h <<_ACEOF
3960 #define HAVE_DECL_CURLOPT_PROXYUSERPWD $ac_have_decl
3961 _ACEOF
3962 ac_fn_c_check_decl "$LINENO" "CURLOPT_RANGE" "ac_cv_have_decl_CURLOPT_RANGE" "
3963 #include \"curl/curl.h\"
3966 if test "x$ac_cv_have_decl_CURLOPT_RANGE" = x""yes; then :
3967 ac_have_decl=1
3968 else
3969 ac_have_decl=0
3972 cat >>confdefs.h <<_ACEOF
3973 #define HAVE_DECL_CURLOPT_RANGE $ac_have_decl
3974 _ACEOF
3975 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILE" "ac_cv_have_decl_CURLOPT_INFILE" "
3976 #include \"curl/curl.h\"
3979 if test "x$ac_cv_have_decl_CURLOPT_INFILE" = x""yes; then :
3980 ac_have_decl=1
3981 else
3982 ac_have_decl=0
3985 cat >>confdefs.h <<_ACEOF
3986 #define HAVE_DECL_CURLOPT_INFILE $ac_have_decl
3987 _ACEOF
3988 ac_fn_c_check_decl "$LINENO" "CURLOPT_ERRORBUFFER" "ac_cv_have_decl_CURLOPT_ERRORBUFFER" "
3989 #include \"curl/curl.h\"
3992 if test "x$ac_cv_have_decl_CURLOPT_ERRORBUFFER" = x""yes; then :
3993 ac_have_decl=1
3994 else
3995 ac_have_decl=0
3998 cat >>confdefs.h <<_ACEOF
3999 #define HAVE_DECL_CURLOPT_ERRORBUFFER $ac_have_decl
4000 _ACEOF
4001 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEFUNCTION" "ac_cv_have_decl_CURLOPT_WRITEFUNCTION" "
4002 #include \"curl/curl.h\"
4005 if test "x$ac_cv_have_decl_CURLOPT_WRITEFUNCTION" = x""yes; then :
4006 ac_have_decl=1
4007 else
4008 ac_have_decl=0
4011 cat >>confdefs.h <<_ACEOF
4012 #define HAVE_DECL_CURLOPT_WRITEFUNCTION $ac_have_decl
4013 _ACEOF
4014 ac_fn_c_check_decl "$LINENO" "CURLOPT_READFUNCTION" "ac_cv_have_decl_CURLOPT_READFUNCTION" "
4015 #include \"curl/curl.h\"
4018 if test "x$ac_cv_have_decl_CURLOPT_READFUNCTION" = x""yes; then :
4019 ac_have_decl=1
4020 else
4021 ac_have_decl=0
4024 cat >>confdefs.h <<_ACEOF
4025 #define HAVE_DECL_CURLOPT_READFUNCTION $ac_have_decl
4026 _ACEOF
4027 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEOUT" "ac_cv_have_decl_CURLOPT_TIMEOUT" "
4028 #include \"curl/curl.h\"
4031 if test "x$ac_cv_have_decl_CURLOPT_TIMEOUT" = x""yes; then :
4032 ac_have_decl=1
4033 else
4034 ac_have_decl=0
4037 cat >>confdefs.h <<_ACEOF
4038 #define HAVE_DECL_CURLOPT_TIMEOUT $ac_have_decl
4039 _ACEOF
4040 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILESIZE" "ac_cv_have_decl_CURLOPT_INFILESIZE" "
4041 #include \"curl/curl.h\"
4044 if test "x$ac_cv_have_decl_CURLOPT_INFILESIZE" = x""yes; then :
4045 ac_have_decl=1
4046 else
4047 ac_have_decl=0
4050 cat >>confdefs.h <<_ACEOF
4051 #define HAVE_DECL_CURLOPT_INFILESIZE $ac_have_decl
4052 _ACEOF
4053 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDS" "ac_cv_have_decl_CURLOPT_POSTFIELDS" "
4054 #include \"curl/curl.h\"
4057 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDS" = x""yes; then :
4058 ac_have_decl=1
4059 else
4060 ac_have_decl=0
4063 cat >>confdefs.h <<_ACEOF
4064 #define HAVE_DECL_CURLOPT_POSTFIELDS $ac_have_decl
4065 _ACEOF
4066 ac_fn_c_check_decl "$LINENO" "CURLOPT_REFERER" "ac_cv_have_decl_CURLOPT_REFERER" "
4067 #include \"curl/curl.h\"
4070 if test "x$ac_cv_have_decl_CURLOPT_REFERER" = x""yes; then :
4071 ac_have_decl=1
4072 else
4073 ac_have_decl=0
4076 cat >>confdefs.h <<_ACEOF
4077 #define HAVE_DECL_CURLOPT_REFERER $ac_have_decl
4078 _ACEOF
4079 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPPORT" "ac_cv_have_decl_CURLOPT_FTPPORT" "
4080 #include \"curl/curl.h\"
4083 if test "x$ac_cv_have_decl_CURLOPT_FTPPORT" = x""yes; then :
4084 ac_have_decl=1
4085 else
4086 ac_have_decl=0
4089 cat >>confdefs.h <<_ACEOF
4090 #define HAVE_DECL_CURLOPT_FTPPORT $ac_have_decl
4091 _ACEOF
4092 ac_fn_c_check_decl "$LINENO" "CURLOPT_USERAGENT" "ac_cv_have_decl_CURLOPT_USERAGENT" "
4093 #include \"curl/curl.h\"
4096 if test "x$ac_cv_have_decl_CURLOPT_USERAGENT" = x""yes; then :
4097 ac_have_decl=1
4098 else
4099 ac_have_decl=0
4102 cat >>confdefs.h <<_ACEOF
4103 #define HAVE_DECL_CURLOPT_USERAGENT $ac_have_decl
4104 _ACEOF
4105 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOW_SPEED_LIMIT" "ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" "
4106 #include \"curl/curl.h\"
4109 if test "x$ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" = x""yes; then :
4110 ac_have_decl=1
4111 else
4112 ac_have_decl=0
4115 cat >>confdefs.h <<_ACEOF
4116 #define HAVE_DECL_CURLOPT_LOW_SPEED_LIMIT $ac_have_decl
4117 _ACEOF
4118 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOW_SPEED_TIME" "ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" "
4119 #include \"curl/curl.h\"
4122 if test "x$ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" = x""yes; then :
4123 ac_have_decl=1
4124 else
4125 ac_have_decl=0
4128 cat >>confdefs.h <<_ACEOF
4129 #define HAVE_DECL_CURLOPT_LOW_SPEED_TIME $ac_have_decl
4130 _ACEOF
4131 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESUME_FROM" "ac_cv_have_decl_CURLOPT_RESUME_FROM" "
4132 #include \"curl/curl.h\"
4135 if test "x$ac_cv_have_decl_CURLOPT_RESUME_FROM" = x""yes; then :
4136 ac_have_decl=1
4137 else
4138 ac_have_decl=0
4141 cat >>confdefs.h <<_ACEOF
4142 #define HAVE_DECL_CURLOPT_RESUME_FROM $ac_have_decl
4143 _ACEOF
4144 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIE" "ac_cv_have_decl_CURLOPT_COOKIE" "
4145 #include \"curl/curl.h\"
4148 if test "x$ac_cv_have_decl_CURLOPT_COOKIE" = x""yes; then :
4149 ac_have_decl=1
4150 else
4151 ac_have_decl=0
4154 cat >>confdefs.h <<_ACEOF
4155 #define HAVE_DECL_CURLOPT_COOKIE $ac_have_decl
4156 _ACEOF
4157 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPHEADER" "ac_cv_have_decl_CURLOPT_HTTPHEADER" "
4158 #include \"curl/curl.h\"
4161 if test "x$ac_cv_have_decl_CURLOPT_HTTPHEADER" = x""yes; then :
4162 ac_have_decl=1
4163 else
4164 ac_have_decl=0
4167 cat >>confdefs.h <<_ACEOF
4168 #define HAVE_DECL_CURLOPT_HTTPHEADER $ac_have_decl
4169 _ACEOF
4170 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPPOST" "ac_cv_have_decl_CURLOPT_HTTPPOST" "
4171 #include \"curl/curl.h\"
4174 if test "x$ac_cv_have_decl_CURLOPT_HTTPPOST" = x""yes; then :
4175 ac_have_decl=1
4176 else
4177 ac_have_decl=0
4180 cat >>confdefs.h <<_ACEOF
4181 #define HAVE_DECL_CURLOPT_HTTPPOST $ac_have_decl
4182 _ACEOF
4183 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERT" "ac_cv_have_decl_CURLOPT_SSLCERT" "
4184 #include \"curl/curl.h\"
4187 if test "x$ac_cv_have_decl_CURLOPT_SSLCERT" = x""yes; then :
4188 ac_have_decl=1
4189 else
4190 ac_have_decl=0
4193 cat >>confdefs.h <<_ACEOF
4194 #define HAVE_DECL_CURLOPT_SSLCERT $ac_have_decl
4195 _ACEOF
4196 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERTPASSWD" "ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" "
4197 #include \"curl/curl.h\"
4200 if test "x$ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" = x""yes; then :
4201 ac_have_decl=1
4202 else
4203 ac_have_decl=0
4206 cat >>confdefs.h <<_ACEOF
4207 #define HAVE_DECL_CURLOPT_SSLCERTPASSWD $ac_have_decl
4208 _ACEOF
4209 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEYPASSWD" "ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" "
4210 #include \"curl/curl.h\"
4213 if test "x$ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" = x""yes; then :
4214 ac_have_decl=1
4215 else
4216 ac_have_decl=0
4219 cat >>confdefs.h <<_ACEOF
4220 #define HAVE_DECL_CURLOPT_SSLKEYPASSWD $ac_have_decl
4221 _ACEOF
4222 ac_fn_c_check_decl "$LINENO" "CURLOPT_CRLF" "ac_cv_have_decl_CURLOPT_CRLF" "
4223 #include \"curl/curl.h\"
4226 if test "x$ac_cv_have_decl_CURLOPT_CRLF" = x""yes; then :
4227 ac_have_decl=1
4228 else
4229 ac_have_decl=0
4232 cat >>confdefs.h <<_ACEOF
4233 #define HAVE_DECL_CURLOPT_CRLF $ac_have_decl
4234 _ACEOF
4235 ac_fn_c_check_decl "$LINENO" "CURLOPT_QUOTE" "ac_cv_have_decl_CURLOPT_QUOTE" "
4236 #include \"curl/curl.h\"
4239 if test "x$ac_cv_have_decl_CURLOPT_QUOTE" = x""yes; then :
4240 ac_have_decl=1
4241 else
4242 ac_have_decl=0
4245 cat >>confdefs.h <<_ACEOF
4246 #define HAVE_DECL_CURLOPT_QUOTE $ac_have_decl
4247 _ACEOF
4248 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEHEADER" "ac_cv_have_decl_CURLOPT_WRITEHEADER" "
4249 #include \"curl/curl.h\"
4252 if test "x$ac_cv_have_decl_CURLOPT_WRITEHEADER" = x""yes; then :
4253 ac_have_decl=1
4254 else
4255 ac_have_decl=0
4258 cat >>confdefs.h <<_ACEOF
4259 #define HAVE_DECL_CURLOPT_WRITEHEADER $ac_have_decl
4260 _ACEOF
4261 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIEFILE" "ac_cv_have_decl_CURLOPT_COOKIEFILE" "
4262 #include \"curl/curl.h\"
4265 if test "x$ac_cv_have_decl_CURLOPT_COOKIEFILE" = x""yes; then :
4266 ac_have_decl=1
4267 else
4268 ac_have_decl=0
4271 cat >>confdefs.h <<_ACEOF
4272 #define HAVE_DECL_CURLOPT_COOKIEFILE $ac_have_decl
4273 _ACEOF
4274 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLVERSION" "ac_cv_have_decl_CURLOPT_SSLVERSION" "
4275 #include \"curl/curl.h\"
4278 if test "x$ac_cv_have_decl_CURLOPT_SSLVERSION" = x""yes; then :
4279 ac_have_decl=1
4280 else
4281 ac_have_decl=0
4284 cat >>confdefs.h <<_ACEOF
4285 #define HAVE_DECL_CURLOPT_SSLVERSION $ac_have_decl
4286 _ACEOF
4287 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMECONDITION" "ac_cv_have_decl_CURLOPT_TIMECONDITION" "
4288 #include \"curl/curl.h\"
4291 if test "x$ac_cv_have_decl_CURLOPT_TIMECONDITION" = x""yes; then :
4292 ac_have_decl=1
4293 else
4294 ac_have_decl=0
4297 cat >>confdefs.h <<_ACEOF
4298 #define HAVE_DECL_CURLOPT_TIMECONDITION $ac_have_decl
4299 _ACEOF
4300 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEVALUE" "ac_cv_have_decl_CURLOPT_TIMEVALUE" "
4301 #include \"curl/curl.h\"
4304 if test "x$ac_cv_have_decl_CURLOPT_TIMEVALUE" = x""yes; then :
4305 ac_have_decl=1
4306 else
4307 ac_have_decl=0
4310 cat >>confdefs.h <<_ACEOF
4311 #define HAVE_DECL_CURLOPT_TIMEVALUE $ac_have_decl
4312 _ACEOF
4313 ac_fn_c_check_decl "$LINENO" "CURLOPT_CUSTOMREQUEST" "ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" "
4314 #include \"curl/curl.h\"
4317 if test "x$ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" = x""yes; then :
4318 ac_have_decl=1
4319 else
4320 ac_have_decl=0
4323 cat >>confdefs.h <<_ACEOF
4324 #define HAVE_DECL_CURLOPT_CUSTOMREQUEST $ac_have_decl
4325 _ACEOF
4326 ac_fn_c_check_decl "$LINENO" "CURLOPT_STDERR" "ac_cv_have_decl_CURLOPT_STDERR" "
4327 #include \"curl/curl.h\"
4330 if test "x$ac_cv_have_decl_CURLOPT_STDERR" = x""yes; then :
4331 ac_have_decl=1
4332 else
4333 ac_have_decl=0
4336 cat >>confdefs.h <<_ACEOF
4337 #define HAVE_DECL_CURLOPT_STDERR $ac_have_decl
4338 _ACEOF
4339 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTQUOTE" "ac_cv_have_decl_CURLOPT_POSTQUOTE" "
4340 #include \"curl/curl.h\"
4343 if test "x$ac_cv_have_decl_CURLOPT_POSTQUOTE" = x""yes; then :
4344 ac_have_decl=1
4345 else
4346 ac_have_decl=0
4349 cat >>confdefs.h <<_ACEOF
4350 #define HAVE_DECL_CURLOPT_POSTQUOTE $ac_have_decl
4351 _ACEOF
4352 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEINFO" "ac_cv_have_decl_CURLOPT_WRITEINFO" "
4353 #include \"curl/curl.h\"
4356 if test "x$ac_cv_have_decl_CURLOPT_WRITEINFO" = x""yes; then :
4357 ac_have_decl=1
4358 else
4359 ac_have_decl=0
4362 cat >>confdefs.h <<_ACEOF
4363 #define HAVE_DECL_CURLOPT_WRITEINFO $ac_have_decl
4364 _ACEOF
4365 ac_fn_c_check_decl "$LINENO" "CURLOPT_VERBOSE" "ac_cv_have_decl_CURLOPT_VERBOSE" "
4366 #include \"curl/curl.h\"
4369 if test "x$ac_cv_have_decl_CURLOPT_VERBOSE" = x""yes; then :
4370 ac_have_decl=1
4371 else
4372 ac_have_decl=0
4375 cat >>confdefs.h <<_ACEOF
4376 #define HAVE_DECL_CURLOPT_VERBOSE $ac_have_decl
4377 _ACEOF
4378 ac_fn_c_check_decl "$LINENO" "CURLOPT_HEADER" "ac_cv_have_decl_CURLOPT_HEADER" "
4379 #include \"curl/curl.h\"
4382 if test "x$ac_cv_have_decl_CURLOPT_HEADER" = x""yes; then :
4383 ac_have_decl=1
4384 else
4385 ac_have_decl=0
4388 cat >>confdefs.h <<_ACEOF
4389 #define HAVE_DECL_CURLOPT_HEADER $ac_have_decl
4390 _ACEOF
4391 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOPROGRESS" "ac_cv_have_decl_CURLOPT_NOPROGRESS" "
4392 #include \"curl/curl.h\"
4395 if test "x$ac_cv_have_decl_CURLOPT_NOPROGRESS" = x""yes; then :
4396 ac_have_decl=1
4397 else
4398 ac_have_decl=0
4401 cat >>confdefs.h <<_ACEOF
4402 #define HAVE_DECL_CURLOPT_NOPROGRESS $ac_have_decl
4403 _ACEOF
4404 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOBODY" "ac_cv_have_decl_CURLOPT_NOBODY" "
4405 #include \"curl/curl.h\"
4408 if test "x$ac_cv_have_decl_CURLOPT_NOBODY" = x""yes; then :
4409 ac_have_decl=1
4410 else
4411 ac_have_decl=0
4414 cat >>confdefs.h <<_ACEOF
4415 #define HAVE_DECL_CURLOPT_NOBODY $ac_have_decl
4416 _ACEOF
4417 ac_fn_c_check_decl "$LINENO" "CURLOPT_FAILONERROR" "ac_cv_have_decl_CURLOPT_FAILONERROR" "
4418 #include \"curl/curl.h\"
4421 if test "x$ac_cv_have_decl_CURLOPT_FAILONERROR" = x""yes; then :
4422 ac_have_decl=1
4423 else
4424 ac_have_decl=0
4427 cat >>confdefs.h <<_ACEOF
4428 #define HAVE_DECL_CURLOPT_FAILONERROR $ac_have_decl
4429 _ACEOF
4430 ac_fn_c_check_decl "$LINENO" "CURLOPT_UPLOAD" "ac_cv_have_decl_CURLOPT_UPLOAD" "
4431 #include \"curl/curl.h\"
4434 if test "x$ac_cv_have_decl_CURLOPT_UPLOAD" = x""yes; then :
4435 ac_have_decl=1
4436 else
4437 ac_have_decl=0
4440 cat >>confdefs.h <<_ACEOF
4441 #define HAVE_DECL_CURLOPT_UPLOAD $ac_have_decl
4442 _ACEOF
4443 ac_fn_c_check_decl "$LINENO" "CURLOPT_POST" "ac_cv_have_decl_CURLOPT_POST" "
4444 #include \"curl/curl.h\"
4447 if test "x$ac_cv_have_decl_CURLOPT_POST" = x""yes; then :
4448 ac_have_decl=1
4449 else
4450 ac_have_decl=0
4453 cat >>confdefs.h <<_ACEOF
4454 #define HAVE_DECL_CURLOPT_POST $ac_have_decl
4455 _ACEOF
4456 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPLISTONLY" "ac_cv_have_decl_CURLOPT_FTPLISTONLY" "
4457 #include \"curl/curl.h\"
4460 if test "x$ac_cv_have_decl_CURLOPT_FTPLISTONLY" = x""yes; then :
4461 ac_have_decl=1
4462 else
4463 ac_have_decl=0
4466 cat >>confdefs.h <<_ACEOF
4467 #define HAVE_DECL_CURLOPT_FTPLISTONLY $ac_have_decl
4468 _ACEOF
4469 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPAPPEND" "ac_cv_have_decl_CURLOPT_FTPAPPEND" "
4470 #include \"curl/curl.h\"
4473 if test "x$ac_cv_have_decl_CURLOPT_FTPAPPEND" = x""yes; then :
4474 ac_have_decl=1
4475 else
4476 ac_have_decl=0
4479 cat >>confdefs.h <<_ACEOF
4480 #define HAVE_DECL_CURLOPT_FTPAPPEND $ac_have_decl
4481 _ACEOF
4482 ac_fn_c_check_decl "$LINENO" "CURLOPT_NETRC" "ac_cv_have_decl_CURLOPT_NETRC" "
4483 #include \"curl/curl.h\"
4486 if test "x$ac_cv_have_decl_CURLOPT_NETRC" = x""yes; then :
4487 ac_have_decl=1
4488 else
4489 ac_have_decl=0
4492 cat >>confdefs.h <<_ACEOF
4493 #define HAVE_DECL_CURLOPT_NETRC $ac_have_decl
4494 _ACEOF
4495 ac_fn_c_check_decl "$LINENO" "CURLOPT_FOLLOWLOCATION" "ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" "
4496 #include \"curl/curl.h\"
4499 if test "x$ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" = x""yes; then :
4500 ac_have_decl=1
4501 else
4502 ac_have_decl=0
4505 cat >>confdefs.h <<_ACEOF
4506 #define HAVE_DECL_CURLOPT_FOLLOWLOCATION $ac_have_decl
4507 _ACEOF
4508 ac_fn_c_check_decl "$LINENO" "CURLOPT_TRANSFERTEXT" "ac_cv_have_decl_CURLOPT_TRANSFERTEXT" "
4509 #include \"curl/curl.h\"
4512 if test "x$ac_cv_have_decl_CURLOPT_TRANSFERTEXT" = x""yes; then :
4513 ac_have_decl=1
4514 else
4515 ac_have_decl=0
4518 cat >>confdefs.h <<_ACEOF
4519 #define HAVE_DECL_CURLOPT_TRANSFERTEXT $ac_have_decl
4520 _ACEOF
4521 ac_fn_c_check_decl "$LINENO" "CURLOPT_PUT" "ac_cv_have_decl_CURLOPT_PUT" "
4522 #include \"curl/curl.h\"
4525 if test "x$ac_cv_have_decl_CURLOPT_PUT" = x""yes; then :
4526 ac_have_decl=1
4527 else
4528 ac_have_decl=0
4531 cat >>confdefs.h <<_ACEOF
4532 #define HAVE_DECL_CURLOPT_PUT $ac_have_decl
4533 _ACEOF
4534 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROGRESSFUNCTION" "ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" "
4535 #include \"curl/curl.h\"
4538 if test "x$ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" = x""yes; then :
4539 ac_have_decl=1
4540 else
4541 ac_have_decl=0
4544 cat >>confdefs.h <<_ACEOF
4545 #define HAVE_DECL_CURLOPT_PROGRESSFUNCTION $ac_have_decl
4546 _ACEOF
4547 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROGRESSDATA" "ac_cv_have_decl_CURLOPT_PROGRESSDATA" "
4548 #include \"curl/curl.h\"
4551 if test "x$ac_cv_have_decl_CURLOPT_PROGRESSDATA" = x""yes; then :
4552 ac_have_decl=1
4553 else
4554 ac_have_decl=0
4557 cat >>confdefs.h <<_ACEOF
4558 #define HAVE_DECL_CURLOPT_PROGRESSDATA $ac_have_decl
4559 _ACEOF
4560 ac_fn_c_check_decl "$LINENO" "CURLOPT_AUTOREFERER" "ac_cv_have_decl_CURLOPT_AUTOREFERER" "
4561 #include \"curl/curl.h\"
4564 if test "x$ac_cv_have_decl_CURLOPT_AUTOREFERER" = x""yes; then :
4565 ac_have_decl=1
4566 else
4567 ac_have_decl=0
4570 cat >>confdefs.h <<_ACEOF
4571 #define HAVE_DECL_CURLOPT_AUTOREFERER $ac_have_decl
4572 _ACEOF
4573 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYPORT" "ac_cv_have_decl_CURLOPT_PROXYPORT" "
4574 #include \"curl/curl.h\"
4577 if test "x$ac_cv_have_decl_CURLOPT_PROXYPORT" = x""yes; then :
4578 ac_have_decl=1
4579 else
4580 ac_have_decl=0
4583 cat >>confdefs.h <<_ACEOF
4584 #define HAVE_DECL_CURLOPT_PROXYPORT $ac_have_decl
4585 _ACEOF
4586 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDSIZE" "ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" "
4587 #include \"curl/curl.h\"
4590 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" = x""yes; then :
4591 ac_have_decl=1
4592 else
4593 ac_have_decl=0
4596 cat >>confdefs.h <<_ACEOF
4597 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE $ac_have_decl
4598 _ACEOF
4599 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPPROXYTUNNEL" "ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" "
4600 #include \"curl/curl.h\"
4603 if test "x$ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" = x""yes; then :
4604 ac_have_decl=1
4605 else
4606 ac_have_decl=0
4609 cat >>confdefs.h <<_ACEOF
4610 #define HAVE_DECL_CURLOPT_HTTPPROXYTUNNEL $ac_have_decl
4611 _ACEOF
4612 ac_fn_c_check_decl "$LINENO" "CURLOPT_INTERFACE" "ac_cv_have_decl_CURLOPT_INTERFACE" "
4613 #include \"curl/curl.h\"
4616 if test "x$ac_cv_have_decl_CURLOPT_INTERFACE" = x""yes; then :
4617 ac_have_decl=1
4618 else
4619 ac_have_decl=0
4622 cat >>confdefs.h <<_ACEOF
4623 #define HAVE_DECL_CURLOPT_INTERFACE $ac_have_decl
4624 _ACEOF
4625 ac_fn_c_check_decl "$LINENO" "CURLOPT_KRB4LEVEL" "ac_cv_have_decl_CURLOPT_KRB4LEVEL" "
4626 #include \"curl/curl.h\"
4629 if test "x$ac_cv_have_decl_CURLOPT_KRB4LEVEL" = x""yes; then :
4630 ac_have_decl=1
4631 else
4632 ac_have_decl=0
4635 cat >>confdefs.h <<_ACEOF
4636 #define HAVE_DECL_CURLOPT_KRB4LEVEL $ac_have_decl
4637 _ACEOF
4638 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_VERIFYPEER" "ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" "
4639 #include \"curl/curl.h\"
4642 if test "x$ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" = x""yes; then :
4643 ac_have_decl=1
4644 else
4645 ac_have_decl=0
4648 cat >>confdefs.h <<_ACEOF
4649 #define HAVE_DECL_CURLOPT_SSL_VERIFYPEER $ac_have_decl
4650 _ACEOF
4651 ac_fn_c_check_decl "$LINENO" "CURLOPT_CAINFO" "ac_cv_have_decl_CURLOPT_CAINFO" "
4652 #include \"curl/curl.h\"
4655 if test "x$ac_cv_have_decl_CURLOPT_CAINFO" = x""yes; then :
4656 ac_have_decl=1
4657 else
4658 ac_have_decl=0
4661 cat >>confdefs.h <<_ACEOF
4662 #define HAVE_DECL_CURLOPT_CAINFO $ac_have_decl
4663 _ACEOF
4664 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXREDIRS" "ac_cv_have_decl_CURLOPT_MAXREDIRS" "
4665 #include \"curl/curl.h\"
4668 if test "x$ac_cv_have_decl_CURLOPT_MAXREDIRS" = x""yes; then :
4669 ac_have_decl=1
4670 else
4671 ac_have_decl=0
4674 cat >>confdefs.h <<_ACEOF
4675 #define HAVE_DECL_CURLOPT_MAXREDIRS $ac_have_decl
4676 _ACEOF
4677 ac_fn_c_check_decl "$LINENO" "CURLOPT_FILETIME" "ac_cv_have_decl_CURLOPT_FILETIME" "
4678 #include \"curl/curl.h\"
4681 if test "x$ac_cv_have_decl_CURLOPT_FILETIME" = x""yes; then :
4682 ac_have_decl=1
4683 else
4684 ac_have_decl=0
4687 cat >>confdefs.h <<_ACEOF
4688 #define HAVE_DECL_CURLOPT_FILETIME $ac_have_decl
4689 _ACEOF
4690 ac_fn_c_check_decl "$LINENO" "CURLOPT_TELNETOPTIONS" "ac_cv_have_decl_CURLOPT_TELNETOPTIONS" "
4691 #include \"curl/curl.h\"
4694 if test "x$ac_cv_have_decl_CURLOPT_TELNETOPTIONS" = x""yes; then :
4695 ac_have_decl=1
4696 else
4697 ac_have_decl=0
4700 cat >>confdefs.h <<_ACEOF
4701 #define HAVE_DECL_CURLOPT_TELNETOPTIONS $ac_have_decl
4702 _ACEOF
4703 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXCONNECTS" "ac_cv_have_decl_CURLOPT_MAXCONNECTS" "
4704 #include \"curl/curl.h\"
4707 if test "x$ac_cv_have_decl_CURLOPT_MAXCONNECTS" = x""yes; then :
4708 ac_have_decl=1
4709 else
4710 ac_have_decl=0
4713 cat >>confdefs.h <<_ACEOF
4714 #define HAVE_DECL_CURLOPT_MAXCONNECTS $ac_have_decl
4715 _ACEOF
4716 ac_fn_c_check_decl "$LINENO" "CURLOPT_CLOSEPOLICY" "ac_cv_have_decl_CURLOPT_CLOSEPOLICY" "
4717 #include \"curl/curl.h\"
4720 if test "x$ac_cv_have_decl_CURLOPT_CLOSEPOLICY" = x""yes; then :
4721 ac_have_decl=1
4722 else
4723 ac_have_decl=0
4726 cat >>confdefs.h <<_ACEOF
4727 #define HAVE_DECL_CURLOPT_CLOSEPOLICY $ac_have_decl
4728 _ACEOF
4729 ac_fn_c_check_decl "$LINENO" "CURLOPT_FRESH_CONNECT" "ac_cv_have_decl_CURLOPT_FRESH_CONNECT" "
4730 #include \"curl/curl.h\"
4733 if test "x$ac_cv_have_decl_CURLOPT_FRESH_CONNECT" = x""yes; then :
4734 ac_have_decl=1
4735 else
4736 ac_have_decl=0
4739 cat >>confdefs.h <<_ACEOF
4740 #define HAVE_DECL_CURLOPT_FRESH_CONNECT $ac_have_decl
4741 _ACEOF
4742 ac_fn_c_check_decl "$LINENO" "CURLOPT_FORBID_REUSE" "ac_cv_have_decl_CURLOPT_FORBID_REUSE" "
4743 #include \"curl/curl.h\"
4746 if test "x$ac_cv_have_decl_CURLOPT_FORBID_REUSE" = x""yes; then :
4747 ac_have_decl=1
4748 else
4749 ac_have_decl=0
4752 cat >>confdefs.h <<_ACEOF
4753 #define HAVE_DECL_CURLOPT_FORBID_REUSE $ac_have_decl
4754 _ACEOF
4755 ac_fn_c_check_decl "$LINENO" "CURLOPT_RANDOM_FILE" "ac_cv_have_decl_CURLOPT_RANDOM_FILE" "
4756 #include \"curl/curl.h\"
4759 if test "x$ac_cv_have_decl_CURLOPT_RANDOM_FILE" = x""yes; then :
4760 ac_have_decl=1
4761 else
4762 ac_have_decl=0
4765 cat >>confdefs.h <<_ACEOF
4766 #define HAVE_DECL_CURLOPT_RANDOM_FILE $ac_have_decl
4767 _ACEOF
4768 ac_fn_c_check_decl "$LINENO" "CURLOPT_EGDSOCKET" "ac_cv_have_decl_CURLOPT_EGDSOCKET" "
4769 #include \"curl/curl.h\"
4772 if test "x$ac_cv_have_decl_CURLOPT_EGDSOCKET" = x""yes; then :
4773 ac_have_decl=1
4774 else
4775 ac_have_decl=0
4778 cat >>confdefs.h <<_ACEOF
4779 #define HAVE_DECL_CURLOPT_EGDSOCKET $ac_have_decl
4780 _ACEOF
4781 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECTTIMEOUT" "ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" "
4782 #include \"curl/curl.h\"
4785 if test "x$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" = x""yes; then :
4786 ac_have_decl=1
4787 else
4788 ac_have_decl=0
4791 cat >>confdefs.h <<_ACEOF
4792 #define HAVE_DECL_CURLOPT_CONNECTTIMEOUT $ac_have_decl
4793 _ACEOF
4794 ac_fn_c_check_decl "$LINENO" "CURLOPT_HEADERFUNCTION" "ac_cv_have_decl_CURLOPT_HEADERFUNCTION" "
4795 #include \"curl/curl.h\"
4798 if test "x$ac_cv_have_decl_CURLOPT_HEADERFUNCTION" = x""yes; then :
4799 ac_have_decl=1
4800 else
4801 ac_have_decl=0
4804 cat >>confdefs.h <<_ACEOF
4805 #define HAVE_DECL_CURLOPT_HEADERFUNCTION $ac_have_decl
4806 _ACEOF
4807 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPGET" "ac_cv_have_decl_CURLOPT_HTTPGET" "
4808 #include \"curl/curl.h\"
4811 if test "x$ac_cv_have_decl_CURLOPT_HTTPGET" = x""yes; then :
4812 ac_have_decl=1
4813 else
4814 ac_have_decl=0
4817 cat >>confdefs.h <<_ACEOF
4818 #define HAVE_DECL_CURLOPT_HTTPGET $ac_have_decl
4819 _ACEOF
4820 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_VERIFYHOST" "ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" "
4821 #include \"curl/curl.h\"
4824 if test "x$ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" = x""yes; then :
4825 ac_have_decl=1
4826 else
4827 ac_have_decl=0
4830 cat >>confdefs.h <<_ACEOF
4831 #define HAVE_DECL_CURLOPT_SSL_VERIFYHOST $ac_have_decl
4832 _ACEOF
4833 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIEJAR" "ac_cv_have_decl_CURLOPT_COOKIEJAR" "
4834 #include \"curl/curl.h\"
4837 if test "x$ac_cv_have_decl_CURLOPT_COOKIEJAR" = x""yes; then :
4838 ac_have_decl=1
4839 else
4840 ac_have_decl=0
4843 cat >>confdefs.h <<_ACEOF
4844 #define HAVE_DECL_CURLOPT_COOKIEJAR $ac_have_decl
4845 _ACEOF
4846 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_CIPHER_LIST" "ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" "
4847 #include \"curl/curl.h\"
4850 if test "x$ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" = x""yes; then :
4851 ac_have_decl=1
4852 else
4853 ac_have_decl=0
4856 cat >>confdefs.h <<_ACEOF
4857 #define HAVE_DECL_CURLOPT_SSL_CIPHER_LIST $ac_have_decl
4858 _ACEOF
4859 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_VERSION" "ac_cv_have_decl_CURLOPT_HTTP_VERSION" "
4860 #include \"curl/curl.h\"
4863 if test "x$ac_cv_have_decl_CURLOPT_HTTP_VERSION" = x""yes; then :
4864 ac_have_decl=1
4865 else
4866 ac_have_decl=0
4869 cat >>confdefs.h <<_ACEOF
4870 #define HAVE_DECL_CURLOPT_HTTP_VERSION $ac_have_decl
4871 _ACEOF
4872 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_USE_EPSV" "ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" "
4873 #include \"curl/curl.h\"
4876 if test "x$ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" = x""yes; then :
4877 ac_have_decl=1
4878 else
4879 ac_have_decl=0
4882 cat >>confdefs.h <<_ACEOF
4883 #define HAVE_DECL_CURLOPT_FTP_USE_EPSV $ac_have_decl
4884 _ACEOF
4885 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERTTYPE" "ac_cv_have_decl_CURLOPT_SSLCERTTYPE" "
4886 #include \"curl/curl.h\"
4889 if test "x$ac_cv_have_decl_CURLOPT_SSLCERTTYPE" = x""yes; then :
4890 ac_have_decl=1
4891 else
4892 ac_have_decl=0
4895 cat >>confdefs.h <<_ACEOF
4896 #define HAVE_DECL_CURLOPT_SSLCERTTYPE $ac_have_decl
4897 _ACEOF
4898 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEY" "ac_cv_have_decl_CURLOPT_SSLKEY" "
4899 #include \"curl/curl.h\"
4902 if test "x$ac_cv_have_decl_CURLOPT_SSLKEY" = x""yes; then :
4903 ac_have_decl=1
4904 else
4905 ac_have_decl=0
4908 cat >>confdefs.h <<_ACEOF
4909 #define HAVE_DECL_CURLOPT_SSLKEY $ac_have_decl
4910 _ACEOF
4911 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEYTYPE" "ac_cv_have_decl_CURLOPT_SSLKEYTYPE" "
4912 #include \"curl/curl.h\"
4915 if test "x$ac_cv_have_decl_CURLOPT_SSLKEYTYPE" = x""yes; then :
4916 ac_have_decl=1
4917 else
4918 ac_have_decl=0
4921 cat >>confdefs.h <<_ACEOF
4922 #define HAVE_DECL_CURLOPT_SSLKEYTYPE $ac_have_decl
4923 _ACEOF
4924 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLENGINE" "ac_cv_have_decl_CURLOPT_SSLENGINE" "
4925 #include \"curl/curl.h\"
4928 if test "x$ac_cv_have_decl_CURLOPT_SSLENGINE" = x""yes; then :
4929 ac_have_decl=1
4930 else
4931 ac_have_decl=0
4934 cat >>confdefs.h <<_ACEOF
4935 #define HAVE_DECL_CURLOPT_SSLENGINE $ac_have_decl
4936 _ACEOF
4937 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLENGINE_DEFAULT" "ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" "
4938 #include \"curl/curl.h\"
4941 if test "x$ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" = x""yes; then :
4942 ac_have_decl=1
4943 else
4944 ac_have_decl=0
4947 cat >>confdefs.h <<_ACEOF
4948 #define HAVE_DECL_CURLOPT_SSLENGINE_DEFAULT $ac_have_decl
4949 _ACEOF
4950 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_USE_GLOBAL_CACHE" "ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" "
4951 #include \"curl/curl.h\"
4954 if test "x$ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" = x""yes; then :
4955 ac_have_decl=1
4956 else
4957 ac_have_decl=0
4960 cat >>confdefs.h <<_ACEOF
4961 #define HAVE_DECL_CURLOPT_DNS_USE_GLOBAL_CACHE $ac_have_decl
4962 _ACEOF
4963 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_CACHE_TIMEOUT" "ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" "
4964 #include \"curl/curl.h\"
4967 if test "x$ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" = x""yes; then :
4968 ac_have_decl=1
4969 else
4970 ac_have_decl=0
4973 cat >>confdefs.h <<_ACEOF
4974 #define HAVE_DECL_CURLOPT_DNS_CACHE_TIMEOUT $ac_have_decl
4975 _ACEOF
4976 ac_fn_c_check_decl "$LINENO" "CURLOPT_PREQUOTE" "ac_cv_have_decl_CURLOPT_PREQUOTE" "
4977 #include \"curl/curl.h\"
4980 if test "x$ac_cv_have_decl_CURLOPT_PREQUOTE" = x""yes; then :
4981 ac_have_decl=1
4982 else
4983 ac_have_decl=0
4986 cat >>confdefs.h <<_ACEOF
4987 #define HAVE_DECL_CURLOPT_PREQUOTE $ac_have_decl
4988 _ACEOF
4989 ac_fn_c_check_decl "$LINENO" "CURLOPT_DEBUGFUNCTION" "ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" "
4990 #include \"curl/curl.h\"
4993 if test "x$ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" = x""yes; then :
4994 ac_have_decl=1
4995 else
4996 ac_have_decl=0
4999 cat >>confdefs.h <<_ACEOF
5000 #define HAVE_DECL_CURLOPT_DEBUGFUNCTION $ac_have_decl
5001 _ACEOF
5002 ac_fn_c_check_decl "$LINENO" "CURLOPT_DEBUGDATA" "ac_cv_have_decl_CURLOPT_DEBUGDATA" "
5003 #include \"curl/curl.h\"
5006 if test "x$ac_cv_have_decl_CURLOPT_DEBUGDATA" = x""yes; then :
5007 ac_have_decl=1
5008 else
5009 ac_have_decl=0
5012 cat >>confdefs.h <<_ACEOF
5013 #define HAVE_DECL_CURLOPT_DEBUGDATA $ac_have_decl
5014 _ACEOF
5015 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIESESSION" "ac_cv_have_decl_CURLOPT_COOKIESESSION" "
5016 #include \"curl/curl.h\"
5019 if test "x$ac_cv_have_decl_CURLOPT_COOKIESESSION" = x""yes; then :
5020 ac_have_decl=1
5021 else
5022 ac_have_decl=0
5025 cat >>confdefs.h <<_ACEOF
5026 #define HAVE_DECL_CURLOPT_COOKIESESSION $ac_have_decl
5027 _ACEOF
5028 ac_fn_c_check_decl "$LINENO" "CURLOPT_CAPATH" "ac_cv_have_decl_CURLOPT_CAPATH" "
5029 #include \"curl/curl.h\"
5032 if test "x$ac_cv_have_decl_CURLOPT_CAPATH" = x""yes; then :
5033 ac_have_decl=1
5034 else
5035 ac_have_decl=0
5038 cat >>confdefs.h <<_ACEOF
5039 #define HAVE_DECL_CURLOPT_CAPATH $ac_have_decl
5040 _ACEOF
5041 ac_fn_c_check_decl "$LINENO" "CURLOPT_BUFFERSIZE" "ac_cv_have_decl_CURLOPT_BUFFERSIZE" "
5042 #include \"curl/curl.h\"
5045 if test "x$ac_cv_have_decl_CURLOPT_BUFFERSIZE" = x""yes; then :
5046 ac_have_decl=1
5047 else
5048 ac_have_decl=0
5051 cat >>confdefs.h <<_ACEOF
5052 #define HAVE_DECL_CURLOPT_BUFFERSIZE $ac_have_decl
5053 _ACEOF
5054 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOSIGNAL" "ac_cv_have_decl_CURLOPT_NOSIGNAL" "
5055 #include \"curl/curl.h\"
5058 if test "x$ac_cv_have_decl_CURLOPT_NOSIGNAL" = x""yes; then :
5059 ac_have_decl=1
5060 else
5061 ac_have_decl=0
5064 cat >>confdefs.h <<_ACEOF
5065 #define HAVE_DECL_CURLOPT_NOSIGNAL $ac_have_decl
5066 _ACEOF
5067 ac_fn_c_check_decl "$LINENO" "CURLOPT_SHARE" "ac_cv_have_decl_CURLOPT_SHARE" "
5068 #include \"curl/curl.h\"
5071 if test "x$ac_cv_have_decl_CURLOPT_SHARE" = x""yes; then :
5072 ac_have_decl=1
5073 else
5074 ac_have_decl=0
5077 cat >>confdefs.h <<_ACEOF
5078 #define HAVE_DECL_CURLOPT_SHARE $ac_have_decl
5079 _ACEOF
5080 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYTYPE" "ac_cv_have_decl_CURLOPT_PROXYTYPE" "
5081 #include \"curl/curl.h\"
5084 if test "x$ac_cv_have_decl_CURLOPT_PROXYTYPE" = x""yes; then :
5085 ac_have_decl=1
5086 else
5087 ac_have_decl=0
5090 cat >>confdefs.h <<_ACEOF
5091 #define HAVE_DECL_CURLOPT_PROXYTYPE $ac_have_decl
5092 _ACEOF
5093 ac_fn_c_check_decl "$LINENO" "CURLOPT_ENCODING" "ac_cv_have_decl_CURLOPT_ENCODING" "
5094 #include \"curl/curl.h\"
5097 if test "x$ac_cv_have_decl_CURLOPT_ENCODING" = x""yes; then :
5098 ac_have_decl=1
5099 else
5100 ac_have_decl=0
5103 cat >>confdefs.h <<_ACEOF
5104 #define HAVE_DECL_CURLOPT_ENCODING $ac_have_decl
5105 _ACEOF
5106 ac_fn_c_check_decl "$LINENO" "CURLOPT_PRIVATE" "ac_cv_have_decl_CURLOPT_PRIVATE" "
5107 #include \"curl/curl.h\"
5110 if test "x$ac_cv_have_decl_CURLOPT_PRIVATE" = x""yes; then :
5111 ac_have_decl=1
5112 else
5113 ac_have_decl=0
5116 cat >>confdefs.h <<_ACEOF
5117 #define HAVE_DECL_CURLOPT_PRIVATE $ac_have_decl
5118 _ACEOF
5119 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP200ALIASES" "ac_cv_have_decl_CURLOPT_HTTP200ALIASES" "
5120 #include \"curl/curl.h\"
5123 if test "x$ac_cv_have_decl_CURLOPT_HTTP200ALIASES" = x""yes; then :
5124 ac_have_decl=1
5125 else
5126 ac_have_decl=0
5129 cat >>confdefs.h <<_ACEOF
5130 #define HAVE_DECL_CURLOPT_HTTP200ALIASES $ac_have_decl
5131 _ACEOF
5132 ac_fn_c_check_decl "$LINENO" "CURLOPT_UNRESTRICTED_AUTH" "ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" "
5133 #include \"curl/curl.h\"
5136 if test "x$ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" = x""yes; then :
5137 ac_have_decl=1
5138 else
5139 ac_have_decl=0
5142 cat >>confdefs.h <<_ACEOF
5143 #define HAVE_DECL_CURLOPT_UNRESTRICTED_AUTH $ac_have_decl
5144 _ACEOF
5145 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_USE_EPRT" "ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" "
5146 #include \"curl/curl.h\"
5149 if test "x$ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" = x""yes; then :
5150 ac_have_decl=1
5151 else
5152 ac_have_decl=0
5155 cat >>confdefs.h <<_ACEOF
5156 #define HAVE_DECL_CURLOPT_FTP_USE_EPRT $ac_have_decl
5157 _ACEOF
5158 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPAUTH" "ac_cv_have_decl_CURLOPT_HTTPAUTH" "
5159 #include \"curl/curl.h\"
5162 if test "x$ac_cv_have_decl_CURLOPT_HTTPAUTH" = x""yes; then :
5163 ac_have_decl=1
5164 else
5165 ac_have_decl=0
5168 cat >>confdefs.h <<_ACEOF
5169 #define HAVE_DECL_CURLOPT_HTTPAUTH $ac_have_decl
5170 _ACEOF
5171 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_CREATE_MISSING_DIRS" "ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" "
5172 #include \"curl/curl.h\"
5175 if test "x$ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" = x""yes; then :
5176 ac_have_decl=1
5177 else
5178 ac_have_decl=0
5181 cat >>confdefs.h <<_ACEOF
5182 #define HAVE_DECL_CURLOPT_FTP_CREATE_MISSING_DIRS $ac_have_decl
5183 _ACEOF
5184 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYAUTH" "ac_cv_have_decl_CURLOPT_PROXYAUTH" "
5185 #include \"curl/curl.h\"
5188 if test "x$ac_cv_have_decl_CURLOPT_PROXYAUTH" = x""yes; then :
5189 ac_have_decl=1
5190 else
5191 ac_have_decl=0
5194 cat >>confdefs.h <<_ACEOF
5195 #define HAVE_DECL_CURLOPT_PROXYAUTH $ac_have_decl
5196 _ACEOF
5197 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_RESPONSE_TIMEOUT" "ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" "
5198 #include \"curl/curl.h\"
5201 if test "x$ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" = x""yes; then :
5202 ac_have_decl=1
5203 else
5204 ac_have_decl=0
5207 cat >>confdefs.h <<_ACEOF
5208 #define HAVE_DECL_CURLOPT_FTP_RESPONSE_TIMEOUT $ac_have_decl
5209 _ACEOF
5210 ac_fn_c_check_decl "$LINENO" "CURLOPT_IPRESOLVE" "ac_cv_have_decl_CURLOPT_IPRESOLVE" "
5211 #include \"curl/curl.h\"
5214 if test "x$ac_cv_have_decl_CURLOPT_IPRESOLVE" = x""yes; then :
5215 ac_have_decl=1
5216 else
5217 ac_have_decl=0
5220 cat >>confdefs.h <<_ACEOF
5221 #define HAVE_DECL_CURLOPT_IPRESOLVE $ac_have_decl
5222 _ACEOF
5223 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXFILESIZE" "ac_cv_have_decl_CURLOPT_MAXFILESIZE" "
5224 #include \"curl/curl.h\"
5227 if test "x$ac_cv_have_decl_CURLOPT_MAXFILESIZE" = x""yes; then :
5228 ac_have_decl=1
5229 else
5230 ac_have_decl=0
5233 cat >>confdefs.h <<_ACEOF
5234 #define HAVE_DECL_CURLOPT_MAXFILESIZE $ac_have_decl
5235 _ACEOF
5236 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILESIZE_LARGE" "ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" "
5237 #include \"curl/curl.h\"
5240 if test "x$ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" = x""yes; then :
5241 ac_have_decl=1
5242 else
5243 ac_have_decl=0
5246 cat >>confdefs.h <<_ACEOF
5247 #define HAVE_DECL_CURLOPT_INFILESIZE_LARGE $ac_have_decl
5248 _ACEOF
5249 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESUME_FROM_LARGE" "ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE" "
5250 #include \"curl/curl.h\"
5253 if test "x$ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE" = x""yes; then :
5254 ac_have_decl=1
5255 else
5256 ac_have_decl=0
5259 cat >>confdefs.h <<_ACEOF
5260 #define HAVE_DECL_CURLOPT_RESUME_FROM_LARGE $ac_have_decl
5261 _ACEOF
5262 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXFILESIZE_LARGE" "ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE" "
5263 #include \"curl/curl.h\"
5266 if test "x$ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE" = x""yes; then :
5267 ac_have_decl=1
5268 else
5269 ac_have_decl=0
5272 cat >>confdefs.h <<_ACEOF
5273 #define HAVE_DECL_CURLOPT_MAXFILESIZE_LARGE $ac_have_decl
5274 _ACEOF
5275 ac_fn_c_check_decl "$LINENO" "CURLOPT_NETRC_FILE" "ac_cv_have_decl_CURLOPT_NETRC_FILE" "
5276 #include \"curl/curl.h\"
5279 if test "x$ac_cv_have_decl_CURLOPT_NETRC_FILE" = x""yes; then :
5280 ac_have_decl=1
5281 else
5282 ac_have_decl=0
5285 cat >>confdefs.h <<_ACEOF
5286 #define HAVE_DECL_CURLOPT_NETRC_FILE $ac_have_decl
5287 _ACEOF
5288 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SSL" "ac_cv_have_decl_CURLOPT_FTP_SSL" "
5289 #include \"curl/curl.h\"
5292 if test "x$ac_cv_have_decl_CURLOPT_FTP_SSL" = x""yes; then :
5293 ac_have_decl=1
5294 else
5295 ac_have_decl=0
5298 cat >>confdefs.h <<_ACEOF
5299 #define HAVE_DECL_CURLOPT_FTP_SSL $ac_have_decl
5300 _ACEOF
5301 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDSIZE_LARGE" "ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" "
5302 #include \"curl/curl.h\"
5305 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" = x""yes; then :
5306 ac_have_decl=1
5307 else
5308 ac_have_decl=0
5311 cat >>confdefs.h <<_ACEOF
5312 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE_LARGE $ac_have_decl
5313 _ACEOF
5314 ac_fn_c_check_decl "$LINENO" "CURLOPT_TCP_NODELAY" "ac_cv_have_decl_CURLOPT_TCP_NODELAY" "
5315 #include \"curl/curl.h\"
5318 if test "x$ac_cv_have_decl_CURLOPT_TCP_NODELAY" = x""yes; then :
5319 ac_have_decl=1
5320 else
5321 ac_have_decl=0
5324 cat >>confdefs.h <<_ACEOF
5325 #define HAVE_DECL_CURLOPT_TCP_NODELAY $ac_have_decl
5326 _ACEOF
5327 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPSSLAUTH" "ac_cv_have_decl_CURLOPT_FTPSSLAUTH" "
5328 #include \"curl/curl.h\"
5331 if test "x$ac_cv_have_decl_CURLOPT_FTPSSLAUTH" = x""yes; then :
5332 ac_have_decl=1
5333 else
5334 ac_have_decl=0
5337 cat >>confdefs.h <<_ACEOF
5338 #define HAVE_DECL_CURLOPT_FTPSSLAUTH $ac_have_decl
5339 _ACEOF
5340 ac_fn_c_check_decl "$LINENO" "CURLOPT_IOCTLFUNCTION" "ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" "
5341 #include \"curl/curl.h\"
5344 if test "x$ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" = x""yes; then :
5345 ac_have_decl=1
5346 else
5347 ac_have_decl=0
5350 cat >>confdefs.h <<_ACEOF
5351 #define HAVE_DECL_CURLOPT_IOCTLFUNCTION $ac_have_decl
5352 _ACEOF
5353 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_ACCOUNT" "ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" "
5354 #include \"curl/curl.h\"
5357 if test "x$ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" = x""yes; then :
5358 ac_have_decl=1
5359 else
5360 ac_have_decl=0
5363 cat >>confdefs.h <<_ACEOF
5364 #define HAVE_DECL_CURLOPT_FTP_ACCOUNT $ac_have_decl
5365 _ACEOF
5366 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIELIST" "ac_cv_have_decl_CURLOPT_COOKIELIST" "
5367 #include \"curl/curl.h\"
5370 if test "x$ac_cv_have_decl_CURLOPT_COOKIELIST" = x""yes; then :
5371 ac_have_decl=1
5372 else
5373 ac_have_decl=0
5376 cat >>confdefs.h <<_ACEOF
5377 #define HAVE_DECL_CURLOPT_COOKIELIST $ac_have_decl
5378 _ACEOF
5379 ac_fn_c_check_decl "$LINENO" "CURLOPT_IGNORE_CONTENT_LENGTH" "ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" "
5380 #include \"curl/curl.h\"
5383 if test "x$ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" = x""yes; then :
5384 ac_have_decl=1
5385 else
5386 ac_have_decl=0
5389 cat >>confdefs.h <<_ACEOF
5390 #define HAVE_DECL_CURLOPT_IGNORE_CONTENT_LENGTH $ac_have_decl
5391 _ACEOF
5392 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SKIP_PASV_IP" "ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" "
5393 #include \"curl/curl.h\"
5396 if test "x$ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" = x""yes; then :
5397 ac_have_decl=1
5398 else
5399 ac_have_decl=0
5402 cat >>confdefs.h <<_ACEOF
5403 #define HAVE_DECL_CURLOPT_FTP_SKIP_PASV_IP $ac_have_decl
5404 _ACEOF
5405 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_FILEMETHOD" "ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" "
5406 #include \"curl/curl.h\"
5409 if test "x$ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" = x""yes; then :
5410 ac_have_decl=1
5411 else
5412 ac_have_decl=0
5415 cat >>confdefs.h <<_ACEOF
5416 #define HAVE_DECL_CURLOPT_FTP_FILEMETHOD $ac_have_decl
5417 _ACEOF
5418 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOCALPORT" "ac_cv_have_decl_CURLOPT_LOCALPORT" "
5419 #include \"curl/curl.h\"
5422 if test "x$ac_cv_have_decl_CURLOPT_LOCALPORT" = x""yes; then :
5423 ac_have_decl=1
5424 else
5425 ac_have_decl=0
5428 cat >>confdefs.h <<_ACEOF
5429 #define HAVE_DECL_CURLOPT_LOCALPORT $ac_have_decl
5430 _ACEOF
5431 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOCALPORTRANGE" "ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" "
5432 #include \"curl/curl.h\"
5435 if test "x$ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" = x""yes; then :
5436 ac_have_decl=1
5437 else
5438 ac_have_decl=0
5441 cat >>confdefs.h <<_ACEOF
5442 #define HAVE_DECL_CURLOPT_LOCALPORTRANGE $ac_have_decl
5443 _ACEOF
5444 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECT_ONLY" "ac_cv_have_decl_CURLOPT_CONNECT_ONLY" "
5445 #include \"curl/curl.h\"
5448 if test "x$ac_cv_have_decl_CURLOPT_CONNECT_ONLY" = x""yes; then :
5449 ac_have_decl=1
5450 else
5451 ac_have_decl=0
5454 cat >>confdefs.h <<_ACEOF
5455 #define HAVE_DECL_CURLOPT_CONNECT_ONLY $ac_have_decl
5456 _ACEOF
5457 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAX_SEND_SPEED_LARGE" "ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" "
5458 #include \"curl/curl.h\"
5461 if test "x$ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" = x""yes; then :
5462 ac_have_decl=1
5463 else
5464 ac_have_decl=0
5467 cat >>confdefs.h <<_ACEOF
5468 #define HAVE_DECL_CURLOPT_MAX_SEND_SPEED_LARGE $ac_have_decl
5469 _ACEOF
5470 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAX_RECV_SPEED_LARGE" "ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE" "
5471 #include \"curl/curl.h\"
5474 if test "x$ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE" = x""yes; then :
5475 ac_have_decl=1
5476 else
5477 ac_have_decl=0
5480 cat >>confdefs.h <<_ACEOF
5481 #define HAVE_DECL_CURLOPT_MAX_RECV_SPEED_LARGE $ac_have_decl
5482 _ACEOF
5483 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_ALTERNATIVE_TO_USER" "ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" "
5484 #include \"curl/curl.h\"
5487 if test "x$ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" = x""yes; then :
5488 ac_have_decl=1
5489 else
5490 ac_have_decl=0
5493 cat >>confdefs.h <<_ACEOF
5494 #define HAVE_DECL_CURLOPT_FTP_ALTERNATIVE_TO_USER $ac_have_decl
5495 _ACEOF
5496 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_SESSIONID_CACHE" "ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" "
5497 #include \"curl/curl.h\"
5500 if test "x$ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" = x""yes; then :
5501 ac_have_decl=1
5502 else
5503 ac_have_decl=0
5506 cat >>confdefs.h <<_ACEOF
5507 #define HAVE_DECL_CURLOPT_SSL_SESSIONID_CACHE $ac_have_decl
5508 _ACEOF
5509 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_AUTH_TYPES" "ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" "
5510 #include \"curl/curl.h\"
5513 if test "x$ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" = x""yes; then :
5514 ac_have_decl=1
5515 else
5516 ac_have_decl=0
5519 cat >>confdefs.h <<_ACEOF
5520 #define HAVE_DECL_CURLOPT_SSH_AUTH_TYPES $ac_have_decl
5521 _ACEOF
5522 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_PUBLIC_KEYFILE" "ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" "
5523 #include \"curl/curl.h\"
5526 if test "x$ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" = x""yes; then :
5527 ac_have_decl=1
5528 else
5529 ac_have_decl=0
5532 cat >>confdefs.h <<_ACEOF
5533 #define HAVE_DECL_CURLOPT_SSH_PUBLIC_KEYFILE $ac_have_decl
5534 _ACEOF
5535 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_PRIVATE_KEYFILE" "ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE" "
5536 #include \"curl/curl.h\"
5539 if test "x$ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE" = x""yes; then :
5540 ac_have_decl=1
5541 else
5542 ac_have_decl=0
5545 cat >>confdefs.h <<_ACEOF
5546 #define HAVE_DECL_CURLOPT_SSH_PRIVATE_KEYFILE $ac_have_decl
5547 _ACEOF
5548 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SSL_CCC" "ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" "
5549 #include \"curl/curl.h\"
5552 if test "x$ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" = x""yes; then :
5553 ac_have_decl=1
5554 else
5555 ac_have_decl=0
5558 cat >>confdefs.h <<_ACEOF
5559 #define HAVE_DECL_CURLOPT_FTP_SSL_CCC $ac_have_decl
5560 _ACEOF
5561 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEOUT_MS" "ac_cv_have_decl_CURLOPT_TIMEOUT_MS" "
5562 #include \"curl/curl.h\"
5565 if test "x$ac_cv_have_decl_CURLOPT_TIMEOUT_MS" = x""yes; then :
5566 ac_have_decl=1
5567 else
5568 ac_have_decl=0
5571 cat >>confdefs.h <<_ACEOF
5572 #define HAVE_DECL_CURLOPT_TIMEOUT_MS $ac_have_decl
5573 _ACEOF
5574 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECTTIMEOUT_MS" "ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS" "
5575 #include \"curl/curl.h\"
5578 if test "x$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS" = x""yes; then :
5579 ac_have_decl=1
5580 else
5581 ac_have_decl=0
5584 cat >>confdefs.h <<_ACEOF
5585 #define HAVE_DECL_CURLOPT_CONNECTTIMEOUT_MS $ac_have_decl
5586 _ACEOF
5587 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_TRANSFER_DECODING" "ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" "
5588 #include \"curl/curl.h\"
5591 if test "x$ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" = x""yes; then :
5592 ac_have_decl=1
5593 else
5594 ac_have_decl=0
5597 cat >>confdefs.h <<_ACEOF
5598 #define HAVE_DECL_CURLOPT_HTTP_TRANSFER_DECODING $ac_have_decl
5599 _ACEOF
5600 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_CONTENT_DECODING" "ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING" "
5601 #include \"curl/curl.h\"
5604 if test "x$ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING" = x""yes; then :
5605 ac_have_decl=1
5606 else
5607 ac_have_decl=0
5610 cat >>confdefs.h <<_ACEOF
5611 #define HAVE_DECL_CURLOPT_HTTP_CONTENT_DECODING $ac_have_decl
5612 _ACEOF
5613 ac_fn_c_check_decl "$LINENO" "CURLOPT_NEW_FILE_PERMS" "ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" "
5614 #include \"curl/curl.h\"
5617 if test "x$ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" = x""yes; then :
5618 ac_have_decl=1
5619 else
5620 ac_have_decl=0
5623 cat >>confdefs.h <<_ACEOF
5624 #define HAVE_DECL_CURLOPT_NEW_FILE_PERMS $ac_have_decl
5625 _ACEOF
5626 ac_fn_c_check_decl "$LINENO" "CURLOPT_NEW_DIRECTORY_PERMS" "ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS" "
5627 #include \"curl/curl.h\"
5630 if test "x$ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS" = x""yes; then :
5631 ac_have_decl=1
5632 else
5633 ac_have_decl=0
5636 cat >>confdefs.h <<_ACEOF
5637 #define HAVE_DECL_CURLOPT_NEW_DIRECTORY_PERMS $ac_have_decl
5638 _ACEOF
5639 ac_fn_c_check_decl "$LINENO" "CURLOPT_POST301" "ac_cv_have_decl_CURLOPT_POST301" "
5640 #include \"curl/curl.h\"
5643 if test "x$ac_cv_have_decl_CURLOPT_POST301" = x""yes; then :
5644 ac_have_decl=1
5645 else
5646 ac_have_decl=0
5649 cat >>confdefs.h <<_ACEOF
5650 #define HAVE_DECL_CURLOPT_POST301 $ac_have_decl
5651 _ACEOF
5652 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" "ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" "
5653 #include \"curl/curl.h\"
5656 if test "x$ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" = x""yes; then :
5657 ac_have_decl=1
5658 else
5659 ac_have_decl=0
5662 cat >>confdefs.h <<_ACEOF
5663 #define HAVE_DECL_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 $ac_have_decl
5664 _ACEOF
5665 ac_fn_c_check_decl "$LINENO" "CURLOPT_COPYPOSTFIELDS" "ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" "
5666 #include \"curl/curl.h\"
5669 if test "x$ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" = x""yes; then :
5670 ac_have_decl=1
5671 else
5672 ac_have_decl=0
5675 cat >>confdefs.h <<_ACEOF
5676 #define HAVE_DECL_CURLOPT_COPYPOSTFIELDS $ac_have_decl
5677 _ACEOF
5678 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXY_TRANSFER_MODE" "ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" "
5679 #include \"curl/curl.h\"
5682 if test "x$ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" = x""yes; then :
5683 ac_have_decl=1
5684 else
5685 ac_have_decl=0
5688 cat >>confdefs.h <<_ACEOF
5689 #define HAVE_DECL_CURLOPT_PROXY_TRANSFER_MODE $ac_have_decl
5690 _ACEOF
5691 ac_fn_c_check_decl "$LINENO" "CURLOPT_SEEKFUNCTION" "ac_cv_have_decl_CURLOPT_SEEKFUNCTION" "
5692 #include \"curl/curl.h\"
5695 if test "x$ac_cv_have_decl_CURLOPT_SEEKFUNCTION" = x""yes; then :
5696 ac_have_decl=1
5697 else
5698 ac_have_decl=0
5701 cat >>confdefs.h <<_ACEOF
5702 #define HAVE_DECL_CURLOPT_SEEKFUNCTION $ac_have_decl
5703 _ACEOF
5704 ac_fn_c_check_decl "$LINENO" "CURLOPT_OPENSOCKETFUNCTION" "ac_cv_have_decl_CURLOPT_OPENSOCKETFUNCTION" "
5705 #include \"curl/curl.h\"
5708 if test "x$ac_cv_have_decl_CURLOPT_OPENSOCKETFUNCTION" = x""yes; then :
5709 ac_have_decl=1
5710 else
5711 ac_have_decl=0
5714 cat >>confdefs.h <<_ACEOF
5715 #define HAVE_DECL_CURLOPT_OPENSOCKETFUNCTION $ac_have_decl
5716 _ACEOF
5717 ac_fn_c_check_decl "$LINENO" "CURLINFO_EFFECTIVE_URL" "ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" "
5718 #include \"curl/curl.h\"
5721 if test "x$ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" = x""yes; then :
5722 ac_have_decl=1
5723 else
5724 ac_have_decl=0
5727 cat >>confdefs.h <<_ACEOF
5728 #define HAVE_DECL_CURLINFO_EFFECTIVE_URL $ac_have_decl
5729 _ACEOF
5730 ac_fn_c_check_decl "$LINENO" "CURLINFO_RESPONSE_CODE" "ac_cv_have_decl_CURLINFO_RESPONSE_CODE" "
5731 #include \"curl/curl.h\"
5734 if test "x$ac_cv_have_decl_CURLINFO_RESPONSE_CODE" = x""yes; then :
5735 ac_have_decl=1
5736 else
5737 ac_have_decl=0
5740 cat >>confdefs.h <<_ACEOF
5741 #define HAVE_DECL_CURLINFO_RESPONSE_CODE $ac_have_decl
5742 _ACEOF
5743 ac_fn_c_check_decl "$LINENO" "CURLINFO_TOTAL_TIME" "ac_cv_have_decl_CURLINFO_TOTAL_TIME" "
5744 #include \"curl/curl.h\"
5747 if test "x$ac_cv_have_decl_CURLINFO_TOTAL_TIME" = x""yes; then :
5748 ac_have_decl=1
5749 else
5750 ac_have_decl=0
5753 cat >>confdefs.h <<_ACEOF
5754 #define HAVE_DECL_CURLINFO_TOTAL_TIME $ac_have_decl
5755 _ACEOF
5756 ac_fn_c_check_decl "$LINENO" "CURLINFO_NAMELOOKUP_TIME" "ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" "
5757 #include \"curl/curl.h\"
5760 if test "x$ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" = x""yes; then :
5761 ac_have_decl=1
5762 else
5763 ac_have_decl=0
5766 cat >>confdefs.h <<_ACEOF
5767 #define HAVE_DECL_CURLINFO_NAMELOOKUP_TIME $ac_have_decl
5768 _ACEOF
5769 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONNECT_TIME" "ac_cv_have_decl_CURLINFO_CONNECT_TIME" "
5770 #include \"curl/curl.h\"
5773 if test "x$ac_cv_have_decl_CURLINFO_CONNECT_TIME" = x""yes; then :
5774 ac_have_decl=1
5775 else
5776 ac_have_decl=0
5779 cat >>confdefs.h <<_ACEOF
5780 #define HAVE_DECL_CURLINFO_CONNECT_TIME $ac_have_decl
5781 _ACEOF
5782 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRETRANSFER_TIME" "ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" "
5783 #include \"curl/curl.h\"
5786 if test "x$ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" = x""yes; then :
5787 ac_have_decl=1
5788 else
5789 ac_have_decl=0
5792 cat >>confdefs.h <<_ACEOF
5793 #define HAVE_DECL_CURLINFO_PRETRANSFER_TIME $ac_have_decl
5794 _ACEOF
5795 ac_fn_c_check_decl "$LINENO" "CURLINFO_SIZE_UPLOAD" "ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" "
5796 #include \"curl/curl.h\"
5799 if test "x$ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" = x""yes; then :
5800 ac_have_decl=1
5801 else
5802 ac_have_decl=0
5805 cat >>confdefs.h <<_ACEOF
5806 #define HAVE_DECL_CURLINFO_SIZE_UPLOAD $ac_have_decl
5807 _ACEOF
5808 ac_fn_c_check_decl "$LINENO" "CURLINFO_SIZE_DOWNLOAD" "ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" "
5809 #include \"curl/curl.h\"
5812 if test "x$ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" = x""yes; then :
5813 ac_have_decl=1
5814 else
5815 ac_have_decl=0
5818 cat >>confdefs.h <<_ACEOF
5819 #define HAVE_DECL_CURLINFO_SIZE_DOWNLOAD $ac_have_decl
5820 _ACEOF
5821 ac_fn_c_check_decl "$LINENO" "CURLINFO_SPEED_DOWNLOAD" "ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" "
5822 #include \"curl/curl.h\"
5825 if test "x$ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" = x""yes; then :
5826 ac_have_decl=1
5827 else
5828 ac_have_decl=0
5831 cat >>confdefs.h <<_ACEOF
5832 #define HAVE_DECL_CURLINFO_SPEED_DOWNLOAD $ac_have_decl
5833 _ACEOF
5834 ac_fn_c_check_decl "$LINENO" "CURLINFO_SPEED_UPLOAD" "ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" "
5835 #include \"curl/curl.h\"
5838 if test "x$ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" = x""yes; then :
5839 ac_have_decl=1
5840 else
5841 ac_have_decl=0
5844 cat >>confdefs.h <<_ACEOF
5845 #define HAVE_DECL_CURLINFO_SPEED_UPLOAD $ac_have_decl
5846 _ACEOF
5847 ac_fn_c_check_decl "$LINENO" "CURLINFO_HEADER_SIZE" "ac_cv_have_decl_CURLINFO_HEADER_SIZE" "
5848 #include \"curl/curl.h\"
5851 if test "x$ac_cv_have_decl_CURLINFO_HEADER_SIZE" = x""yes; then :
5852 ac_have_decl=1
5853 else
5854 ac_have_decl=0
5857 cat >>confdefs.h <<_ACEOF
5858 #define HAVE_DECL_CURLINFO_HEADER_SIZE $ac_have_decl
5859 _ACEOF
5860 ac_fn_c_check_decl "$LINENO" "CURLINFO_REQUEST_SIZE" "ac_cv_have_decl_CURLINFO_REQUEST_SIZE" "
5861 #include \"curl/curl.h\"
5864 if test "x$ac_cv_have_decl_CURLINFO_REQUEST_SIZE" = x""yes; then :
5865 ac_have_decl=1
5866 else
5867 ac_have_decl=0
5870 cat >>confdefs.h <<_ACEOF
5871 #define HAVE_DECL_CURLINFO_REQUEST_SIZE $ac_have_decl
5872 _ACEOF
5873 ac_fn_c_check_decl "$LINENO" "CURLINFO_SSL_VERIFYRESULT" "ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" "
5874 #include \"curl/curl.h\"
5877 if test "x$ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" = x""yes; then :
5878 ac_have_decl=1
5879 else
5880 ac_have_decl=0
5883 cat >>confdefs.h <<_ACEOF
5884 #define HAVE_DECL_CURLINFO_SSL_VERIFYRESULT $ac_have_decl
5885 _ACEOF
5886 ac_fn_c_check_decl "$LINENO" "CURLINFO_FILETIME" "ac_cv_have_decl_CURLINFO_FILETIME" "
5887 #include \"curl/curl.h\"
5890 if test "x$ac_cv_have_decl_CURLINFO_FILETIME" = x""yes; then :
5891 ac_have_decl=1
5892 else
5893 ac_have_decl=0
5896 cat >>confdefs.h <<_ACEOF
5897 #define HAVE_DECL_CURLINFO_FILETIME $ac_have_decl
5898 _ACEOF
5899 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_LENGTH_DOWNLOAD" "ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" "
5900 #include \"curl/curl.h\"
5903 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" = x""yes; then :
5904 ac_have_decl=1
5905 else
5906 ac_have_decl=0
5909 cat >>confdefs.h <<_ACEOF
5910 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_DOWNLOAD $ac_have_decl
5911 _ACEOF
5912 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_LENGTH_UPLOAD" "ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" "
5913 #include \"curl/curl.h\"
5916 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" = x""yes; then :
5917 ac_have_decl=1
5918 else
5919 ac_have_decl=0
5922 cat >>confdefs.h <<_ACEOF
5923 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_UPLOAD $ac_have_decl
5924 _ACEOF
5925 ac_fn_c_check_decl "$LINENO" "CURLINFO_STARTTRANSFER_TIME" "ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" "
5926 #include \"curl/curl.h\"
5929 if test "x$ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" = x""yes; then :
5930 ac_have_decl=1
5931 else
5932 ac_have_decl=0
5935 cat >>confdefs.h <<_ACEOF
5936 #define HAVE_DECL_CURLINFO_STARTTRANSFER_TIME $ac_have_decl
5937 _ACEOF
5938 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_TYPE" "ac_cv_have_decl_CURLINFO_CONTENT_TYPE" "
5939 #include \"curl/curl.h\"
5942 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_TYPE" = x""yes; then :
5943 ac_have_decl=1
5944 else
5945 ac_have_decl=0
5948 cat >>confdefs.h <<_ACEOF
5949 #define HAVE_DECL_CURLINFO_CONTENT_TYPE $ac_have_decl
5950 _ACEOF
5951 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_TIME" "ac_cv_have_decl_CURLINFO_REDIRECT_TIME" "
5952 #include \"curl/curl.h\"
5955 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_TIME" = x""yes; then :
5956 ac_have_decl=1
5957 else
5958 ac_have_decl=0
5961 cat >>confdefs.h <<_ACEOF
5962 #define HAVE_DECL_CURLINFO_REDIRECT_TIME $ac_have_decl
5963 _ACEOF
5964 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_COUNT" "ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" "
5965 #include \"curl/curl.h\"
5968 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" = x""yes; then :
5969 ac_have_decl=1
5970 else
5971 ac_have_decl=0
5974 cat >>confdefs.h <<_ACEOF
5975 #define HAVE_DECL_CURLINFO_REDIRECT_COUNT $ac_have_decl
5976 _ACEOF
5977 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRIVATE" "ac_cv_have_decl_CURLINFO_PRIVATE" "
5978 #include \"curl/curl.h\"
5981 if test "x$ac_cv_have_decl_CURLINFO_PRIVATE" = x""yes; then :
5982 ac_have_decl=1
5983 else
5984 ac_have_decl=0
5987 cat >>confdefs.h <<_ACEOF
5988 #define HAVE_DECL_CURLINFO_PRIVATE $ac_have_decl
5989 _ACEOF
5990 ac_fn_c_check_decl "$LINENO" "CURLINFO_HTTP_CONNECTCODE" "ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" "
5991 #include \"curl/curl.h\"
5994 if test "x$ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" = x""yes; then :
5995 ac_have_decl=1
5996 else
5997 ac_have_decl=0
6000 cat >>confdefs.h <<_ACEOF
6001 #define HAVE_DECL_CURLINFO_HTTP_CONNECTCODE $ac_have_decl
6002 _ACEOF
6003 ac_fn_c_check_decl "$LINENO" "CURLINFO_HTTPAUTH_AVAIL" "ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" "
6004 #include \"curl/curl.h\"
6007 if test "x$ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" = x""yes; then :
6008 ac_have_decl=1
6009 else
6010 ac_have_decl=0
6013 cat >>confdefs.h <<_ACEOF
6014 #define HAVE_DECL_CURLINFO_HTTPAUTH_AVAIL $ac_have_decl
6015 _ACEOF
6016 ac_fn_c_check_decl "$LINENO" "CURLINFO_PROXYAUTH_AVAIL" "ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" "
6017 #include \"curl/curl.h\"
6020 if test "x$ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" = x""yes; then :
6021 ac_have_decl=1
6022 else
6023 ac_have_decl=0
6026 cat >>confdefs.h <<_ACEOF
6027 #define HAVE_DECL_CURLINFO_PROXYAUTH_AVAIL $ac_have_decl
6028 _ACEOF
6029 ac_fn_c_check_decl "$LINENO" "CURLINFO_OS_ERRNO" "ac_cv_have_decl_CURLINFO_OS_ERRNO" "
6030 #include \"curl/curl.h\"
6033 if test "x$ac_cv_have_decl_CURLINFO_OS_ERRNO" = x""yes; then :
6034 ac_have_decl=1
6035 else
6036 ac_have_decl=0
6039 cat >>confdefs.h <<_ACEOF
6040 #define HAVE_DECL_CURLINFO_OS_ERRNO $ac_have_decl
6041 _ACEOF
6042 ac_fn_c_check_decl "$LINENO" "CURLINFO_NUM_CONNECTS" "ac_cv_have_decl_CURLINFO_NUM_CONNECTS" "
6043 #include \"curl/curl.h\"
6046 if test "x$ac_cv_have_decl_CURLINFO_NUM_CONNECTS" = x""yes; then :
6047 ac_have_decl=1
6048 else
6049 ac_have_decl=0
6052 cat >>confdefs.h <<_ACEOF
6053 #define HAVE_DECL_CURLINFO_NUM_CONNECTS $ac_have_decl
6054 _ACEOF
6055 ac_fn_c_check_decl "$LINENO" "CURLINFO_SSL_ENGINES" "ac_cv_have_decl_CURLINFO_SSL_ENGINES" "
6056 #include \"curl/curl.h\"
6059 if test "x$ac_cv_have_decl_CURLINFO_SSL_ENGINES" = x""yes; then :
6060 ac_have_decl=1
6061 else
6062 ac_have_decl=0
6065 cat >>confdefs.h <<_ACEOF
6066 #define HAVE_DECL_CURLINFO_SSL_ENGINES $ac_have_decl
6067 _ACEOF
6068 ac_fn_c_check_decl "$LINENO" "CURLINFO_COOKIELIST" "ac_cv_have_decl_CURLINFO_COOKIELIST" "
6069 #include \"curl/curl.h\"
6072 if test "x$ac_cv_have_decl_CURLINFO_COOKIELIST" = x""yes; then :
6073 ac_have_decl=1
6074 else
6075 ac_have_decl=0
6078 cat >>confdefs.h <<_ACEOF
6079 #define HAVE_DECL_CURLINFO_COOKIELIST $ac_have_decl
6080 _ACEOF
6081 ac_fn_c_check_decl "$LINENO" "CURLINFO_LASTSOCKET" "ac_cv_have_decl_CURLINFO_LASTSOCKET" "
6082 #include \"curl/curl.h\"
6085 if test "x$ac_cv_have_decl_CURLINFO_LASTSOCKET" = x""yes; then :
6086 ac_have_decl=1
6087 else
6088 ac_have_decl=0
6091 cat >>confdefs.h <<_ACEOF
6092 #define HAVE_DECL_CURLINFO_LASTSOCKET $ac_have_decl
6093 _ACEOF
6094 ac_fn_c_check_decl "$LINENO" "CURLINFO_FTP_ENTRY_PATH" "ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" "
6095 #include \"curl/curl.h\"
6098 if test "x$ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" = x""yes; then :
6099 ac_have_decl=1
6100 else
6101 ac_have_decl=0
6104 cat >>confdefs.h <<_ACEOF
6105 #define HAVE_DECL_CURLINFO_FTP_ENTRY_PATH $ac_have_decl
6106 _ACEOF
6107 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_URL" "ac_cv_have_decl_CURLINFO_REDIRECT_URL" "
6108 #include \"curl/curl.h\"
6111 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_URL" = x""yes; then :
6112 ac_have_decl=1
6113 else
6114 ac_have_decl=0
6117 cat >>confdefs.h <<_ACEOF
6118 #define HAVE_DECL_CURLINFO_REDIRECT_URL $ac_have_decl
6119 _ACEOF
6120 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRIMARY_IP" "ac_cv_have_decl_CURLINFO_PRIMARY_IP" "
6121 #include \"curl/curl.h\"
6124 if test "x$ac_cv_have_decl_CURLINFO_PRIMARY_IP" = x""yes; then :
6125 ac_have_decl=1
6126 else
6127 ac_have_decl=0
6130 cat >>confdefs.h <<_ACEOF
6131 #define HAVE_DECL_CURLINFO_PRIMARY_IP $ac_have_decl
6132 _ACEOF
6133 ac_fn_c_check_decl "$LINENO" "CURLE_UNSUPPORTED_PROTOCOL" "ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" "
6134 #include \"curl/curl.h\"
6137 if test "x$ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" = x""yes; then :
6138 ac_have_decl=1
6139 else
6140 ac_have_decl=0
6143 cat >>confdefs.h <<_ACEOF
6144 #define HAVE_DECL_CURLE_UNSUPPORTED_PROTOCOL $ac_have_decl
6145 _ACEOF
6146 ac_fn_c_check_decl "$LINENO" "CURLE_FAILED_INIT" "ac_cv_have_decl_CURLE_FAILED_INIT" "
6147 #include \"curl/curl.h\"
6150 if test "x$ac_cv_have_decl_CURLE_FAILED_INIT" = x""yes; then :
6151 ac_have_decl=1
6152 else
6153 ac_have_decl=0
6156 cat >>confdefs.h <<_ACEOF
6157 #define HAVE_DECL_CURLE_FAILED_INIT $ac_have_decl
6158 _ACEOF
6159 ac_fn_c_check_decl "$LINENO" "CURLE_URL_MALFORMAT" "ac_cv_have_decl_CURLE_URL_MALFORMAT" "
6160 #include \"curl/curl.h\"
6163 if test "x$ac_cv_have_decl_CURLE_URL_MALFORMAT" = x""yes; then :
6164 ac_have_decl=1
6165 else
6166 ac_have_decl=0
6169 cat >>confdefs.h <<_ACEOF
6170 #define HAVE_DECL_CURLE_URL_MALFORMAT $ac_have_decl
6171 _ACEOF
6172 ac_fn_c_check_decl "$LINENO" "CURLE_URL_MALFORMAT_USER" "ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" "
6173 #include \"curl/curl.h\"
6176 if test "x$ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" = x""yes; then :
6177 ac_have_decl=1
6178 else
6179 ac_have_decl=0
6182 cat >>confdefs.h <<_ACEOF
6183 #define HAVE_DECL_CURLE_URL_MALFORMAT_USER $ac_have_decl
6184 _ACEOF
6185 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_RESOLVE_PROXY" "ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" "
6186 #include \"curl/curl.h\"
6189 if test "x$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" = x""yes; then :
6190 ac_have_decl=1
6191 else
6192 ac_have_decl=0
6195 cat >>confdefs.h <<_ACEOF
6196 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_PROXY $ac_have_decl
6197 _ACEOF
6198 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_RESOLVE_HOST" "ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" "
6199 #include \"curl/curl.h\"
6202 if test "x$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" = x""yes; then :
6203 ac_have_decl=1
6204 else
6205 ac_have_decl=0
6208 cat >>confdefs.h <<_ACEOF
6209 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_HOST $ac_have_decl
6210 _ACEOF
6211 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_CONNECT" "ac_cv_have_decl_CURLE_COULDNT_CONNECT" "
6212 #include \"curl/curl.h\"
6215 if test "x$ac_cv_have_decl_CURLE_COULDNT_CONNECT" = x""yes; then :
6216 ac_have_decl=1
6217 else
6218 ac_have_decl=0
6221 cat >>confdefs.h <<_ACEOF
6222 #define HAVE_DECL_CURLE_COULDNT_CONNECT $ac_have_decl
6223 _ACEOF
6224 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_SERVER_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" "
6225 #include \"curl/curl.h\"
6228 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" = x""yes; then :
6229 ac_have_decl=1
6230 else
6231 ac_have_decl=0
6234 cat >>confdefs.h <<_ACEOF
6235 #define HAVE_DECL_CURLE_FTP_WEIRD_SERVER_REPLY $ac_have_decl
6236 _ACEOF
6237 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_ACCESS_DENIED" "ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" "
6238 #include \"curl/curl.h\"
6241 if test "x$ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" = x""yes; then :
6242 ac_have_decl=1
6243 else
6244 ac_have_decl=0
6247 cat >>confdefs.h <<_ACEOF
6248 #define HAVE_DECL_CURLE_FTP_ACCESS_DENIED $ac_have_decl
6249 _ACEOF
6250 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_USER_PASSWORD_INCORRECT" "ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" "
6251 #include \"curl/curl.h\"
6254 if test "x$ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" = x""yes; then :
6255 ac_have_decl=1
6256 else
6257 ac_have_decl=0
6260 cat >>confdefs.h <<_ACEOF
6261 #define HAVE_DECL_CURLE_FTP_USER_PASSWORD_INCORRECT $ac_have_decl
6262 _ACEOF
6263 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_PASS_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" "
6264 #include \"curl/curl.h\"
6267 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" = x""yes; then :
6268 ac_have_decl=1
6269 else
6270 ac_have_decl=0
6273 cat >>confdefs.h <<_ACEOF
6274 #define HAVE_DECL_CURLE_FTP_WEIRD_PASS_REPLY $ac_have_decl
6275 _ACEOF
6276 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_USER_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" "
6277 #include \"curl/curl.h\"
6280 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" = x""yes; then :
6281 ac_have_decl=1
6282 else
6283 ac_have_decl=0
6286 cat >>confdefs.h <<_ACEOF
6287 #define HAVE_DECL_CURLE_FTP_WEIRD_USER_REPLY $ac_have_decl
6288 _ACEOF
6289 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_PASV_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY" "
6290 #include \"curl/curl.h\"
6293 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY" = x""yes; then :
6294 ac_have_decl=1
6295 else
6296 ac_have_decl=0
6299 cat >>confdefs.h <<_ACEOF
6300 #define HAVE_DECL_CURLE_FTP_WEIRD_PASV_REPLY $ac_have_decl
6301 _ACEOF
6302 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_227_FORMAT" "ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" "
6303 #include \"curl/curl.h\"
6306 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" = x""yes; then :
6307 ac_have_decl=1
6308 else
6309 ac_have_decl=0
6312 cat >>confdefs.h <<_ACEOF
6313 #define HAVE_DECL_CURLE_FTP_WEIRD_227_FORMAT $ac_have_decl
6314 _ACEOF
6315 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_CANT_GET_HOST" "ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" "
6316 #include \"curl/curl.h\"
6319 if test "x$ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" = x""yes; then :
6320 ac_have_decl=1
6321 else
6322 ac_have_decl=0
6325 cat >>confdefs.h <<_ACEOF
6326 #define HAVE_DECL_CURLE_FTP_CANT_GET_HOST $ac_have_decl
6327 _ACEOF
6328 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_CANT_RECONNECT" "ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" "
6329 #include \"curl/curl.h\"
6332 if test "x$ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" = x""yes; then :
6333 ac_have_decl=1
6334 else
6335 ac_have_decl=0
6338 cat >>confdefs.h <<_ACEOF
6339 #define HAVE_DECL_CURLE_FTP_CANT_RECONNECT $ac_have_decl
6340 _ACEOF
6341 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_SET_BINARY" "ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" "
6342 #include \"curl/curl.h\"
6345 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" = x""yes; then :
6346 ac_have_decl=1
6347 else
6348 ac_have_decl=0
6351 cat >>confdefs.h <<_ACEOF
6352 #define HAVE_DECL_CURLE_FTP_COULDNT_SET_BINARY $ac_have_decl
6353 _ACEOF
6354 ac_fn_c_check_decl "$LINENO" "CURLE_PARTIAL_FILE" "ac_cv_have_decl_CURLE_PARTIAL_FILE" "
6355 #include \"curl/curl.h\"
6358 if test "x$ac_cv_have_decl_CURLE_PARTIAL_FILE" = x""yes; then :
6359 ac_have_decl=1
6360 else
6361 ac_have_decl=0
6364 cat >>confdefs.h <<_ACEOF
6365 #define HAVE_DECL_CURLE_PARTIAL_FILE $ac_have_decl
6366 _ACEOF
6367 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_RETR_FILE" "ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" "
6368 #include \"curl/curl.h\"
6371 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" = x""yes; then :
6372 ac_have_decl=1
6373 else
6374 ac_have_decl=0
6377 cat >>confdefs.h <<_ACEOF
6378 #define HAVE_DECL_CURLE_FTP_COULDNT_RETR_FILE $ac_have_decl
6379 _ACEOF
6380 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WRITE_ERROR" "ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" "
6381 #include \"curl/curl.h\"
6384 if test "x$ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" = x""yes; then :
6385 ac_have_decl=1
6386 else
6387 ac_have_decl=0
6390 cat >>confdefs.h <<_ACEOF
6391 #define HAVE_DECL_CURLE_FTP_WRITE_ERROR $ac_have_decl
6392 _ACEOF
6393 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_QUOTE_ERROR" "ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" "
6394 #include \"curl/curl.h\"
6397 if test "x$ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" = x""yes; then :
6398 ac_have_decl=1
6399 else
6400 ac_have_decl=0
6403 cat >>confdefs.h <<_ACEOF
6404 #define HAVE_DECL_CURLE_FTP_QUOTE_ERROR $ac_have_decl
6405 _ACEOF
6406 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_RETURNED_ERROR" "ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" "
6407 #include \"curl/curl.h\"
6410 if test "x$ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" = x""yes; then :
6411 ac_have_decl=1
6412 else
6413 ac_have_decl=0
6416 cat >>confdefs.h <<_ACEOF
6417 #define HAVE_DECL_CURLE_HTTP_RETURNED_ERROR $ac_have_decl
6418 _ACEOF
6419 ac_fn_c_check_decl "$LINENO" "CURLE_WRITE_ERROR" "ac_cv_have_decl_CURLE_WRITE_ERROR" "
6420 #include \"curl/curl.h\"
6423 if test "x$ac_cv_have_decl_CURLE_WRITE_ERROR" = x""yes; then :
6424 ac_have_decl=1
6425 else
6426 ac_have_decl=0
6429 cat >>confdefs.h <<_ACEOF
6430 #define HAVE_DECL_CURLE_WRITE_ERROR $ac_have_decl
6431 _ACEOF
6432 ac_fn_c_check_decl "$LINENO" "CURLE_MALFORMAT_USER" "ac_cv_have_decl_CURLE_MALFORMAT_USER" "
6433 #include \"curl/curl.h\"
6436 if test "x$ac_cv_have_decl_CURLE_MALFORMAT_USER" = x""yes; then :
6437 ac_have_decl=1
6438 else
6439 ac_have_decl=0
6442 cat >>confdefs.h <<_ACEOF
6443 #define HAVE_DECL_CURLE_MALFORMAT_USER $ac_have_decl
6444 _ACEOF
6445 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_STOR_FILE" "ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" "
6446 #include \"curl/curl.h\"
6449 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" = x""yes; then :
6450 ac_have_decl=1
6451 else
6452 ac_have_decl=0
6455 cat >>confdefs.h <<_ACEOF
6456 #define HAVE_DECL_CURLE_FTP_COULDNT_STOR_FILE $ac_have_decl
6457 _ACEOF
6458 ac_fn_c_check_decl "$LINENO" "CURLE_READ_ERROR" "ac_cv_have_decl_CURLE_READ_ERROR" "
6459 #include \"curl/curl.h\"
6462 if test "x$ac_cv_have_decl_CURLE_READ_ERROR" = x""yes; then :
6463 ac_have_decl=1
6464 else
6465 ac_have_decl=0
6468 cat >>confdefs.h <<_ACEOF
6469 #define HAVE_DECL_CURLE_READ_ERROR $ac_have_decl
6470 _ACEOF
6471 ac_fn_c_check_decl "$LINENO" "CURLE_OUT_OF_MEMORY" "ac_cv_have_decl_CURLE_OUT_OF_MEMORY" "
6472 #include \"curl/curl.h\"
6475 if test "x$ac_cv_have_decl_CURLE_OUT_OF_MEMORY" = x""yes; then :
6476 ac_have_decl=1
6477 else
6478 ac_have_decl=0
6481 cat >>confdefs.h <<_ACEOF
6482 #define HAVE_DECL_CURLE_OUT_OF_MEMORY $ac_have_decl
6483 _ACEOF
6484 ac_fn_c_check_decl "$LINENO" "CURLE_OPERATION_TIMEOUTED" "ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" "
6485 #include \"curl/curl.h\"
6488 if test "x$ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" = x""yes; then :
6489 ac_have_decl=1
6490 else
6491 ac_have_decl=0
6494 cat >>confdefs.h <<_ACEOF
6495 #define HAVE_DECL_CURLE_OPERATION_TIMEOUTED $ac_have_decl
6496 _ACEOF
6497 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_SET_ASCII" "ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" "
6498 #include \"curl/curl.h\"
6501 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" = x""yes; then :
6502 ac_have_decl=1
6503 else
6504 ac_have_decl=0
6507 cat >>confdefs.h <<_ACEOF
6508 #define HAVE_DECL_CURLE_FTP_COULDNT_SET_ASCII $ac_have_decl
6509 _ACEOF
6510 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_PORT_FAILED" "ac_cv_have_decl_CURLE_FTP_PORT_FAILED" "
6511 #include \"curl/curl.h\"
6514 if test "x$ac_cv_have_decl_CURLE_FTP_PORT_FAILED" = x""yes; then :
6515 ac_have_decl=1
6516 else
6517 ac_have_decl=0
6520 cat >>confdefs.h <<_ACEOF
6521 #define HAVE_DECL_CURLE_FTP_PORT_FAILED $ac_have_decl
6522 _ACEOF
6523 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_USE_REST" "ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" "
6524 #include \"curl/curl.h\"
6527 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" = x""yes; then :
6528 ac_have_decl=1
6529 else
6530 ac_have_decl=0
6533 cat >>confdefs.h <<_ACEOF
6534 #define HAVE_DECL_CURLE_FTP_COULDNT_USE_REST $ac_have_decl
6535 _ACEOF
6536 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_GET_SIZE" "ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" "
6537 #include \"curl/curl.h\"
6540 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" = x""yes; then :
6541 ac_have_decl=1
6542 else
6543 ac_have_decl=0
6546 cat >>confdefs.h <<_ACEOF
6547 #define HAVE_DECL_CURLE_FTP_COULDNT_GET_SIZE $ac_have_decl
6548 _ACEOF
6549 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_RANGE_ERROR" "ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" "
6550 #include \"curl/curl.h\"
6553 if test "x$ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" = x""yes; then :
6554 ac_have_decl=1
6555 else
6556 ac_have_decl=0
6559 cat >>confdefs.h <<_ACEOF
6560 #define HAVE_DECL_CURLE_HTTP_RANGE_ERROR $ac_have_decl
6561 _ACEOF
6562 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_POST_ERROR" "ac_cv_have_decl_CURLE_HTTP_POST_ERROR" "
6563 #include \"curl/curl.h\"
6566 if test "x$ac_cv_have_decl_CURLE_HTTP_POST_ERROR" = x""yes; then :
6567 ac_have_decl=1
6568 else
6569 ac_have_decl=0
6572 cat >>confdefs.h <<_ACEOF
6573 #define HAVE_DECL_CURLE_HTTP_POST_ERROR $ac_have_decl
6574 _ACEOF
6575 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CONNECT_ERROR" "ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" "
6576 #include \"curl/curl.h\"
6579 if test "x$ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" = x""yes; then :
6580 ac_have_decl=1
6581 else
6582 ac_have_decl=0
6585 cat >>confdefs.h <<_ACEOF
6586 #define HAVE_DECL_CURLE_SSL_CONNECT_ERROR $ac_have_decl
6587 _ACEOF
6588 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_DOWNLOAD_RESUME" "ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" "
6589 #include \"curl/curl.h\"
6592 if test "x$ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" = x""yes; then :
6593 ac_have_decl=1
6594 else
6595 ac_have_decl=0
6598 cat >>confdefs.h <<_ACEOF
6599 #define HAVE_DECL_CURLE_BAD_DOWNLOAD_RESUME $ac_have_decl
6600 _ACEOF
6601 ac_fn_c_check_decl "$LINENO" "CURLE_FILE_COULDNT_READ_FILE" "ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" "
6602 #include \"curl/curl.h\"
6605 if test "x$ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" = x""yes; then :
6606 ac_have_decl=1
6607 else
6608 ac_have_decl=0
6611 cat >>confdefs.h <<_ACEOF
6612 #define HAVE_DECL_CURLE_FILE_COULDNT_READ_FILE $ac_have_decl
6613 _ACEOF
6614 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_CANNOT_BIND" "ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" "
6615 #include \"curl/curl.h\"
6618 if test "x$ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" = x""yes; then :
6619 ac_have_decl=1
6620 else
6621 ac_have_decl=0
6624 cat >>confdefs.h <<_ACEOF
6625 #define HAVE_DECL_CURLE_LDAP_CANNOT_BIND $ac_have_decl
6626 _ACEOF
6627 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_SEARCH_FAILED" "ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" "
6628 #include \"curl/curl.h\"
6631 if test "x$ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" = x""yes; then :
6632 ac_have_decl=1
6633 else
6634 ac_have_decl=0
6637 cat >>confdefs.h <<_ACEOF
6638 #define HAVE_DECL_CURLE_LDAP_SEARCH_FAILED $ac_have_decl
6639 _ACEOF
6640 ac_fn_c_check_decl "$LINENO" "CURLE_LIBRARY_NOT_FOUND" "ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" "
6641 #include \"curl/curl.h\"
6644 if test "x$ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" = x""yes; then :
6645 ac_have_decl=1
6646 else
6647 ac_have_decl=0
6650 cat >>confdefs.h <<_ACEOF
6651 #define HAVE_DECL_CURLE_LIBRARY_NOT_FOUND $ac_have_decl
6652 _ACEOF
6653 ac_fn_c_check_decl "$LINENO" "CURLE_FUNCTION_NOT_FOUND" "ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" "
6654 #include \"curl/curl.h\"
6657 if test "x$ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" = x""yes; then :
6658 ac_have_decl=1
6659 else
6660 ac_have_decl=0
6663 cat >>confdefs.h <<_ACEOF
6664 #define HAVE_DECL_CURLE_FUNCTION_NOT_FOUND $ac_have_decl
6665 _ACEOF
6666 ac_fn_c_check_decl "$LINENO" "CURLE_ABORTED_BY_CALLBACK" "ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" "
6667 #include \"curl/curl.h\"
6670 if test "x$ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" = x""yes; then :
6671 ac_have_decl=1
6672 else
6673 ac_have_decl=0
6676 cat >>confdefs.h <<_ACEOF
6677 #define HAVE_DECL_CURLE_ABORTED_BY_CALLBACK $ac_have_decl
6678 _ACEOF
6679 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_FUNCTION_ARGUMENT" "ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" "
6680 #include \"curl/curl.h\"
6683 if test "x$ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" = x""yes; then :
6684 ac_have_decl=1
6685 else
6686 ac_have_decl=0
6689 cat >>confdefs.h <<_ACEOF
6690 #define HAVE_DECL_CURLE_BAD_FUNCTION_ARGUMENT $ac_have_decl
6691 _ACEOF
6692 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_CALLING_ORDER" "ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" "
6693 #include \"curl/curl.h\"
6696 if test "x$ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" = x""yes; then :
6697 ac_have_decl=1
6698 else
6699 ac_have_decl=0
6702 cat >>confdefs.h <<_ACEOF
6703 #define HAVE_DECL_CURLE_BAD_CALLING_ORDER $ac_have_decl
6704 _ACEOF
6705 ac_fn_c_check_decl "$LINENO" "CURLE_INTERFACE_FAILED" "ac_cv_have_decl_CURLE_INTERFACE_FAILED" "
6706 #include \"curl/curl.h\"
6709 if test "x$ac_cv_have_decl_CURLE_INTERFACE_FAILED" = x""yes; then :
6710 ac_have_decl=1
6711 else
6712 ac_have_decl=0
6715 cat >>confdefs.h <<_ACEOF
6716 #define HAVE_DECL_CURLE_INTERFACE_FAILED $ac_have_decl
6717 _ACEOF
6718 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_PASSWORD_ENTERED" "ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" "
6719 #include \"curl/curl.h\"
6722 if test "x$ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" = x""yes; then :
6723 ac_have_decl=1
6724 else
6725 ac_have_decl=0
6728 cat >>confdefs.h <<_ACEOF
6729 #define HAVE_DECL_CURLE_BAD_PASSWORD_ENTERED $ac_have_decl
6730 _ACEOF
6731 ac_fn_c_check_decl "$LINENO" "CURLE_TOO_MANY_REDIRECTS" "ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" "
6732 #include \"curl/curl.h\"
6735 if test "x$ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" = x""yes; then :
6736 ac_have_decl=1
6737 else
6738 ac_have_decl=0
6741 cat >>confdefs.h <<_ACEOF
6742 #define HAVE_DECL_CURLE_TOO_MANY_REDIRECTS $ac_have_decl
6743 _ACEOF
6744 ac_fn_c_check_decl "$LINENO" "CURLE_UNKNOWN_TELNET_OPTION" "ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" "
6745 #include \"curl/curl.h\"
6748 if test "x$ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" = x""yes; then :
6749 ac_have_decl=1
6750 else
6751 ac_have_decl=0
6754 cat >>confdefs.h <<_ACEOF
6755 #define HAVE_DECL_CURLE_UNKNOWN_TELNET_OPTION $ac_have_decl
6756 _ACEOF
6757 ac_fn_c_check_decl "$LINENO" "CURLE_TELNET_OPTION_SYNTAX" "ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" "
6758 #include \"curl/curl.h\"
6761 if test "x$ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" = x""yes; then :
6762 ac_have_decl=1
6763 else
6764 ac_have_decl=0
6767 cat >>confdefs.h <<_ACEOF
6768 #define HAVE_DECL_CURLE_TELNET_OPTION_SYNTAX $ac_have_decl
6769 _ACEOF
6770 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_PEER_CERTIFICATE" "ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" "
6771 #include \"curl/curl.h\"
6774 if test "x$ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" = x""yes; then :
6775 ac_have_decl=1
6776 else
6777 ac_have_decl=0
6780 cat >>confdefs.h <<_ACEOF
6781 #define HAVE_DECL_CURLE_SSL_PEER_CERTIFICATE $ac_have_decl
6782 _ACEOF
6783 ac_fn_c_check_decl "$LINENO" "CURLE_GOT_NOTHING" "ac_cv_have_decl_CURLE_GOT_NOTHING" "
6784 #include \"curl/curl.h\"
6787 if test "x$ac_cv_have_decl_CURLE_GOT_NOTHING" = x""yes; then :
6788 ac_have_decl=1
6789 else
6790 ac_have_decl=0
6793 cat >>confdefs.h <<_ACEOF
6794 #define HAVE_DECL_CURLE_GOT_NOTHING $ac_have_decl
6795 _ACEOF
6796 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_NOTFOUND" "ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" "
6797 #include \"curl/curl.h\"
6800 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" = x""yes; then :
6801 ac_have_decl=1
6802 else
6803 ac_have_decl=0
6806 cat >>confdefs.h <<_ACEOF
6807 #define HAVE_DECL_CURLE_SSL_ENGINE_NOTFOUND $ac_have_decl
6808 _ACEOF
6809 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_SETFAILED" "ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" "
6810 #include \"curl/curl.h\"
6813 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" = x""yes; then :
6814 ac_have_decl=1
6815 else
6816 ac_have_decl=0
6819 cat >>confdefs.h <<_ACEOF
6820 #define HAVE_DECL_CURLE_SSL_ENGINE_SETFAILED $ac_have_decl
6821 _ACEOF
6822 ac_fn_c_check_decl "$LINENO" "CURLE_SEND_ERROR" "ac_cv_have_decl_CURLE_SEND_ERROR" "
6823 #include \"curl/curl.h\"
6826 if test "x$ac_cv_have_decl_CURLE_SEND_ERROR" = x""yes; then :
6827 ac_have_decl=1
6828 else
6829 ac_have_decl=0
6832 cat >>confdefs.h <<_ACEOF
6833 #define HAVE_DECL_CURLE_SEND_ERROR $ac_have_decl
6834 _ACEOF
6835 ac_fn_c_check_decl "$LINENO" "CURLE_RECV_ERROR" "ac_cv_have_decl_CURLE_RECV_ERROR" "
6836 #include \"curl/curl.h\"
6839 if test "x$ac_cv_have_decl_CURLE_RECV_ERROR" = x""yes; then :
6840 ac_have_decl=1
6841 else
6842 ac_have_decl=0
6845 cat >>confdefs.h <<_ACEOF
6846 #define HAVE_DECL_CURLE_RECV_ERROR $ac_have_decl
6847 _ACEOF
6848 ac_fn_c_check_decl "$LINENO" "CURLE_SHARE_IN_USE" "ac_cv_have_decl_CURLE_SHARE_IN_USE" "
6849 #include \"curl/curl.h\"
6852 if test "x$ac_cv_have_decl_CURLE_SHARE_IN_USE" = x""yes; then :
6853 ac_have_decl=1
6854 else
6855 ac_have_decl=0
6858 cat >>confdefs.h <<_ACEOF
6859 #define HAVE_DECL_CURLE_SHARE_IN_USE $ac_have_decl
6860 _ACEOF
6861 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CERTPROBLEM" "ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" "
6862 #include \"curl/curl.h\"
6865 if test "x$ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" = x""yes; then :
6866 ac_have_decl=1
6867 else
6868 ac_have_decl=0
6871 cat >>confdefs.h <<_ACEOF
6872 #define HAVE_DECL_CURLE_SSL_CERTPROBLEM $ac_have_decl
6873 _ACEOF
6874 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CIPHER" "ac_cv_have_decl_CURLE_SSL_CIPHER" "
6875 #include \"curl/curl.h\"
6878 if test "x$ac_cv_have_decl_CURLE_SSL_CIPHER" = x""yes; then :
6879 ac_have_decl=1
6880 else
6881 ac_have_decl=0
6884 cat >>confdefs.h <<_ACEOF
6885 #define HAVE_DECL_CURLE_SSL_CIPHER $ac_have_decl
6886 _ACEOF
6887 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CACERT" "ac_cv_have_decl_CURLE_SSL_CACERT" "
6888 #include \"curl/curl.h\"
6891 if test "x$ac_cv_have_decl_CURLE_SSL_CACERT" = x""yes; then :
6892 ac_have_decl=1
6893 else
6894 ac_have_decl=0
6897 cat >>confdefs.h <<_ACEOF
6898 #define HAVE_DECL_CURLE_SSL_CACERT $ac_have_decl
6899 _ACEOF
6900 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_CONTENT_ENCODING" "ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" "
6901 #include \"curl/curl.h\"
6904 if test "x$ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" = x""yes; then :
6905 ac_have_decl=1
6906 else
6907 ac_have_decl=0
6910 cat >>confdefs.h <<_ACEOF
6911 #define HAVE_DECL_CURLE_BAD_CONTENT_ENCODING $ac_have_decl
6912 _ACEOF
6913 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_INVALID_URL" "ac_cv_have_decl_CURLE_LDAP_INVALID_URL" "
6914 #include \"curl/curl.h\"
6917 if test "x$ac_cv_have_decl_CURLE_LDAP_INVALID_URL" = x""yes; then :
6918 ac_have_decl=1
6919 else
6920 ac_have_decl=0
6923 cat >>confdefs.h <<_ACEOF
6924 #define HAVE_DECL_CURLE_LDAP_INVALID_URL $ac_have_decl
6925 _ACEOF
6926 ac_fn_c_check_decl "$LINENO" "CURLE_FILESIZE_EXCEEDED" "ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" "
6927 #include \"curl/curl.h\"
6930 if test "x$ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" = x""yes; then :
6931 ac_have_decl=1
6932 else
6933 ac_have_decl=0
6936 cat >>confdefs.h <<_ACEOF
6937 #define HAVE_DECL_CURLE_FILESIZE_EXCEEDED $ac_have_decl
6938 _ACEOF
6939 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_SSL_FAILED" "ac_cv_have_decl_CURLE_FTP_SSL_FAILED" "
6940 #include \"curl/curl.h\"
6943 if test "x$ac_cv_have_decl_CURLE_FTP_SSL_FAILED" = x""yes; then :
6944 ac_have_decl=1
6945 else
6946 ac_have_decl=0
6949 cat >>confdefs.h <<_ACEOF
6950 #define HAVE_DECL_CURLE_FTP_SSL_FAILED $ac_have_decl
6951 _ACEOF
6952 ac_fn_c_check_decl "$LINENO" "CURLE_SEND_FAIL_REWIND" "ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" "
6953 #include \"curl/curl.h\"
6956 if test "x$ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" = x""yes; then :
6957 ac_have_decl=1
6958 else
6959 ac_have_decl=0
6962 cat >>confdefs.h <<_ACEOF
6963 #define HAVE_DECL_CURLE_SEND_FAIL_REWIND $ac_have_decl
6964 _ACEOF
6965 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_INITFAILED" "ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" "
6966 #include \"curl/curl.h\"
6969 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" = x""yes; then :
6970 ac_have_decl=1
6971 else
6972 ac_have_decl=0
6975 cat >>confdefs.h <<_ACEOF
6976 #define HAVE_DECL_CURLE_SSL_ENGINE_INITFAILED $ac_have_decl
6977 _ACEOF
6978 ac_fn_c_check_decl "$LINENO" "CURLE_LOGIN_DENIED" "ac_cv_have_decl_CURLE_LOGIN_DENIED" "
6979 #include \"curl/curl.h\"
6982 if test "x$ac_cv_have_decl_CURLE_LOGIN_DENIED" = x""yes; then :
6983 ac_have_decl=1
6984 else
6985 ac_have_decl=0
6988 cat >>confdefs.h <<_ACEOF
6989 #define HAVE_DECL_CURLE_LOGIN_DENIED $ac_have_decl
6990 _ACEOF
6991 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_NOTFOUND" "ac_cv_have_decl_CURLE_TFTP_NOTFOUND" "
6992 #include \"curl/curl.h\"
6995 if test "x$ac_cv_have_decl_CURLE_TFTP_NOTFOUND" = x""yes; then :
6996 ac_have_decl=1
6997 else
6998 ac_have_decl=0
7001 cat >>confdefs.h <<_ACEOF
7002 #define HAVE_DECL_CURLE_TFTP_NOTFOUND $ac_have_decl
7003 _ACEOF
7004 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_PERM" "ac_cv_have_decl_CURLE_TFTP_PERM" "
7005 #include \"curl/curl.h\"
7008 if test "x$ac_cv_have_decl_CURLE_TFTP_PERM" = x""yes; then :
7009 ac_have_decl=1
7010 else
7011 ac_have_decl=0
7014 cat >>confdefs.h <<_ACEOF
7015 #define HAVE_DECL_CURLE_TFTP_PERM $ac_have_decl
7016 _ACEOF
7017 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_DISK_FULL" "ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" "
7018 #include \"curl/curl.h\"
7021 if test "x$ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" = x""yes; then :
7022 ac_have_decl=1
7023 else
7024 ac_have_decl=0
7027 cat >>confdefs.h <<_ACEOF
7028 #define HAVE_DECL_CURLE_REMOTE_DISK_FULL $ac_have_decl
7029 _ACEOF
7030 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_ILLEGAL" "ac_cv_have_decl_CURLE_TFTP_ILLEGAL" "
7031 #include \"curl/curl.h\"
7034 if test "x$ac_cv_have_decl_CURLE_TFTP_ILLEGAL" = x""yes; then :
7035 ac_have_decl=1
7036 else
7037 ac_have_decl=0
7040 cat >>confdefs.h <<_ACEOF
7041 #define HAVE_DECL_CURLE_TFTP_ILLEGAL $ac_have_decl
7042 _ACEOF
7043 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_UNKNOWNID" "ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" "
7044 #include \"curl/curl.h\"
7047 if test "x$ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" = x""yes; then :
7048 ac_have_decl=1
7049 else
7050 ac_have_decl=0
7053 cat >>confdefs.h <<_ACEOF
7054 #define HAVE_DECL_CURLE_TFTP_UNKNOWNID $ac_have_decl
7055 _ACEOF
7056 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_FILE_EXISTS" "ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" "
7057 #include \"curl/curl.h\"
7060 if test "x$ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" = x""yes; then :
7061 ac_have_decl=1
7062 else
7063 ac_have_decl=0
7066 cat >>confdefs.h <<_ACEOF
7067 #define HAVE_DECL_CURLE_REMOTE_FILE_EXISTS $ac_have_decl
7068 _ACEOF
7069 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_NOSUCHUSER" "ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" "
7070 #include \"curl/curl.h\"
7073 if test "x$ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" = x""yes; then :
7074 ac_have_decl=1
7075 else
7076 ac_have_decl=0
7079 cat >>confdefs.h <<_ACEOF
7080 #define HAVE_DECL_CURLE_TFTP_NOSUCHUSER $ac_have_decl
7081 _ACEOF
7082 ac_fn_c_check_decl "$LINENO" "CURLE_CONV_FAILED" "ac_cv_have_decl_CURLE_CONV_FAILED" "
7083 #include \"curl/curl.h\"
7086 if test "x$ac_cv_have_decl_CURLE_CONV_FAILED" = x""yes; then :
7087 ac_have_decl=1
7088 else
7089 ac_have_decl=0
7092 cat >>confdefs.h <<_ACEOF
7093 #define HAVE_DECL_CURLE_CONV_FAILED $ac_have_decl
7094 _ACEOF
7095 ac_fn_c_check_decl "$LINENO" "CURLE_CONV_REQD" "ac_cv_have_decl_CURLE_CONV_REQD" "
7096 #include \"curl/curl.h\"
7099 if test "x$ac_cv_have_decl_CURLE_CONV_REQD" = x""yes; then :
7100 ac_have_decl=1
7101 else
7102 ac_have_decl=0
7105 cat >>confdefs.h <<_ACEOF
7106 #define HAVE_DECL_CURLE_CONV_REQD $ac_have_decl
7107 _ACEOF
7108 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CACERT_BADFILE" "ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" "
7109 #include \"curl/curl.h\"
7112 if test "x$ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" = x""yes; then :
7113 ac_have_decl=1
7114 else
7115 ac_have_decl=0
7118 cat >>confdefs.h <<_ACEOF
7119 #define HAVE_DECL_CURLE_SSL_CACERT_BADFILE $ac_have_decl
7120 _ACEOF
7121 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_FILE_NOT_FOUND" "ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" "
7122 #include \"curl/curl.h\"
7125 if test "x$ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" = x""yes; then :
7126 ac_have_decl=1
7127 else
7128 ac_have_decl=0
7131 cat >>confdefs.h <<_ACEOF
7132 #define HAVE_DECL_CURLE_REMOTE_FILE_NOT_FOUND $ac_have_decl
7133 _ACEOF
7134 ac_fn_c_check_decl "$LINENO" "CURLE_SSH" "ac_cv_have_decl_CURLE_SSH" "
7135 #include \"curl/curl.h\"
7138 if test "x$ac_cv_have_decl_CURLE_SSH" = x""yes; then :
7139 ac_have_decl=1
7140 else
7141 ac_have_decl=0
7144 cat >>confdefs.h <<_ACEOF
7145 #define HAVE_DECL_CURLE_SSH $ac_have_decl
7146 _ACEOF
7147 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_SHUTDOWN_FAILED" "ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED" "
7148 #include \"curl/curl.h\"
7151 if test "x$ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED" = x""yes; then :
7152 ac_have_decl=1
7153 else
7154 ac_have_decl=0
7157 cat >>confdefs.h <<_ACEOF
7158 #define HAVE_DECL_CURLE_SSL_SHUTDOWN_FAILED $ac_have_decl
7159 _ACEOF
7160 ac_fn_c_check_decl "$LINENO" "CURLE_AGAIN" "ac_cv_have_decl_CURLE_AGAIN" "
7161 #include \"curl/curl.h\"
7164 if test "x$ac_cv_have_decl_CURLE_AGAIN" = x""yes; then :
7165 ac_have_decl=1
7166 else
7167 ac_have_decl=0
7170 cat >>confdefs.h <<_ACEOF
7171 #define HAVE_DECL_CURLE_AGAIN $ac_have_decl
7172 _ACEOF
7175 ac_config_headers="$ac_config_headers config.h"
7177 ac_config_files="$ac_config_files Makefile examples/Makefile"
7180 cat >confcache <<\_ACEOF
7181 # This file is a shell script that caches the results of configure
7182 # tests run on this system so they can be shared between configure
7183 # scripts and configure runs, see configure's option --config-cache.
7184 # It is not useful on other systems. If it contains results you don't
7185 # want to keep, you may remove or edit it.
7187 # config.status only pays attention to the cache file if you give it
7188 # the --recheck option to rerun configure.
7190 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7191 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7192 # following values.
7194 _ACEOF
7196 # The following way of writing the cache mishandles newlines in values,
7197 # but we know of no workaround that is simple, portable, and efficient.
7198 # So, we kill variables containing newlines.
7199 # Ultrix sh set writes to stderr and can't be redirected directly,
7200 # and sets the high bit in the cache file unless we assign to the vars.
7202 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7203 eval ac_val=\$$ac_var
7204 case $ac_val in #(
7205 *${as_nl}*)
7206 case $ac_var in #(
7207 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7208 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7209 esac
7210 case $ac_var in #(
7211 _ | IFS | as_nl) ;; #(
7212 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7213 *) { eval $ac_var=; unset $ac_var;} ;;
7214 esac ;;
7215 esac
7216 done
7218 (set) 2>&1 |
7219 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7220 *${as_nl}ac_space=\ *)
7221 # `set' does not quote correctly, so add quotes: double-quote
7222 # substitution turns \\\\ into \\, and sed turns \\ into \.
7223 sed -n \
7224 "s/'/'\\\\''/g;
7225 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7226 ;; #(
7228 # `set' quotes correctly as required by POSIX, so do not add quotes.
7229 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7231 esac |
7232 sort
7234 sed '
7235 /^ac_cv_env_/b end
7236 t clear
7237 :clear
7238 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7239 t end
7240 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7241 :end' >>confcache
7242 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7243 if test -w "$cache_file"; then
7244 test "x$cache_file" != "x/dev/null" &&
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7246 $as_echo "$as_me: updating cache $cache_file" >&6;}
7247 cat confcache >$cache_file
7248 else
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7250 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7253 rm -f confcache
7255 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7256 # Let make expand exec_prefix.
7257 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7259 DEFS=-DHAVE_CONFIG_H
7261 ac_libobjs=
7262 ac_ltlibobjs=
7264 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7265 # 1. Remove the extension, and $U if already installed.
7266 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7267 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7268 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7269 # will be set to the directory where LIBOBJS objects are built.
7270 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7271 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7272 done
7273 LIBOBJS=$ac_libobjs
7275 LTLIBOBJS=$ac_ltlibobjs
7279 : ${CONFIG_STATUS=./config.status}
7280 ac_write_fail=0
7281 ac_clean_files_save=$ac_clean_files
7282 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7284 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7285 as_write_fail=0
7286 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7287 #! $SHELL
7288 # Generated by $as_me.
7289 # Run this file to recreate the current configuration.
7290 # Compiler output produced by configure, useful for debugging
7291 # configure, is in config.log if it exists.
7293 debug=false
7294 ac_cs_recheck=false
7295 ac_cs_silent=false
7297 SHELL=\${CONFIG_SHELL-$SHELL}
7298 export SHELL
7299 _ASEOF
7300 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7301 ## -------------------- ##
7302 ## M4sh Initialization. ##
7303 ## -------------------- ##
7305 # Be more Bourne compatible
7306 DUALCASE=1; export DUALCASE # for MKS sh
7307 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7308 emulate sh
7309 NULLCMD=:
7310 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7311 # is contrary to our usage. Disable this feature.
7312 alias -g '${1+"$@"}'='"$@"'
7313 setopt NO_GLOB_SUBST
7314 else
7315 case `(set -o) 2>/dev/null` in #(
7316 *posix*) :
7317 set -o posix ;; #(
7318 *) :
7320 esac
7324 as_nl='
7326 export as_nl
7327 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7328 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7329 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7330 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7331 # Prefer a ksh shell builtin over an external printf program on Solaris,
7332 # but without wasting forks for bash or zsh.
7333 if test -z "$BASH_VERSION$ZSH_VERSION" \
7334 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7335 as_echo='print -r --'
7336 as_echo_n='print -rn --'
7337 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7338 as_echo='printf %s\n'
7339 as_echo_n='printf %s'
7340 else
7341 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7342 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7343 as_echo_n='/usr/ucb/echo -n'
7344 else
7345 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7346 as_echo_n_body='eval
7347 arg=$1;
7348 case $arg in #(
7349 *"$as_nl"*)
7350 expr "X$arg" : "X\\(.*\\)$as_nl";
7351 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7352 esac;
7353 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7355 export as_echo_n_body
7356 as_echo_n='sh -c $as_echo_n_body as_echo'
7358 export as_echo_body
7359 as_echo='sh -c $as_echo_body as_echo'
7362 # The user is always right.
7363 if test "${PATH_SEPARATOR+set}" != set; then
7364 PATH_SEPARATOR=:
7365 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7366 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7367 PATH_SEPARATOR=';'
7372 # IFS
7373 # We need space, tab and new line, in precisely that order. Quoting is
7374 # there to prevent editors from complaining about space-tab.
7375 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7376 # splitting by setting IFS to empty value.)
7377 IFS=" "" $as_nl"
7379 # Find who we are. Look in the path if we contain no directory separator.
7380 case $0 in #((
7381 *[\\/]* ) as_myself=$0 ;;
7382 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7383 for as_dir in $PATH
7385 IFS=$as_save_IFS
7386 test -z "$as_dir" && as_dir=.
7387 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7388 done
7389 IFS=$as_save_IFS
7392 esac
7393 # We did not find ourselves, most probably we were run as `sh COMMAND'
7394 # in which case we are not to be found in the path.
7395 if test "x$as_myself" = x; then
7396 as_myself=$0
7398 if test ! -f "$as_myself"; then
7399 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7400 exit 1
7403 # Unset variables that we do not need and which cause bugs (e.g. in
7404 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7405 # suppresses any "Segmentation fault" message there. '((' could
7406 # trigger a bug in pdksh 5.2.14.
7407 for as_var in BASH_ENV ENV MAIL MAILPATH
7408 do eval test x\${$as_var+set} = xset \
7409 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7410 done
7411 PS1='$ '
7412 PS2='> '
7413 PS4='+ '
7415 # NLS nuisances.
7416 LC_ALL=C
7417 export LC_ALL
7418 LANGUAGE=C
7419 export LANGUAGE
7421 # CDPATH.
7422 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7425 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7426 # ----------------------------------------
7427 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7428 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7429 # script with STATUS, using 1 if that was 0.
7430 as_fn_error ()
7432 as_status=$1; test $as_status -eq 0 && as_status=1
7433 if test "$4"; then
7434 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7435 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7437 $as_echo "$as_me: error: $2" >&2
7438 as_fn_exit $as_status
7439 } # as_fn_error
7442 # as_fn_set_status STATUS
7443 # -----------------------
7444 # Set $? to STATUS, without forking.
7445 as_fn_set_status ()
7447 return $1
7448 } # as_fn_set_status
7450 # as_fn_exit STATUS
7451 # -----------------
7452 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7453 as_fn_exit ()
7455 set +e
7456 as_fn_set_status $1
7457 exit $1
7458 } # as_fn_exit
7460 # as_fn_unset VAR
7461 # ---------------
7462 # Portably unset VAR.
7463 as_fn_unset ()
7465 { eval $1=; unset $1;}
7467 as_unset=as_fn_unset
7468 # as_fn_append VAR VALUE
7469 # ----------------------
7470 # Append the text in VALUE to the end of the definition contained in VAR. Take
7471 # advantage of any shell optimizations that allow amortized linear growth over
7472 # repeated appends, instead of the typical quadratic growth present in naive
7473 # implementations.
7474 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7475 eval 'as_fn_append ()
7477 eval $1+=\$2
7479 else
7480 as_fn_append ()
7482 eval $1=\$$1\$2
7484 fi # as_fn_append
7486 # as_fn_arith ARG...
7487 # ------------------
7488 # Perform arithmetic evaluation on the ARGs, and store the result in the
7489 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7490 # must be portable across $(()) and expr.
7491 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7492 eval 'as_fn_arith ()
7494 as_val=$(( $* ))
7496 else
7497 as_fn_arith ()
7499 as_val=`expr "$@" || test $? -eq 1`
7501 fi # as_fn_arith
7504 if expr a : '\(a\)' >/dev/null 2>&1 &&
7505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7506 as_expr=expr
7507 else
7508 as_expr=false
7511 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7512 as_basename=basename
7513 else
7514 as_basename=false
7517 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7518 as_dirname=dirname
7519 else
7520 as_dirname=false
7523 as_me=`$as_basename -- "$0" ||
7524 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7525 X"$0" : 'X\(//\)$' \| \
7526 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7527 $as_echo X/"$0" |
7528 sed '/^.*\/\([^/][^/]*\)\/*$/{
7529 s//\1/
7532 /^X\/\(\/\/\)$/{
7533 s//\1/
7536 /^X\/\(\/\).*/{
7537 s//\1/
7540 s/.*/./; q'`
7542 # Avoid depending upon Character Ranges.
7543 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7544 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7545 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7546 as_cr_digits='0123456789'
7547 as_cr_alnum=$as_cr_Letters$as_cr_digits
7549 ECHO_C= ECHO_N= ECHO_T=
7550 case `echo -n x` in #(((((
7551 -n*)
7552 case `echo 'xy\c'` in
7553 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7554 xy) ECHO_C='\c';;
7555 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7556 ECHO_T=' ';;
7557 esac;;
7559 ECHO_N='-n';;
7560 esac
7562 rm -f conf$$ conf$$.exe conf$$.file
7563 if test -d conf$$.dir; then
7564 rm -f conf$$.dir/conf$$.file
7565 else
7566 rm -f conf$$.dir
7567 mkdir conf$$.dir 2>/dev/null
7569 if (echo >conf$$.file) 2>/dev/null; then
7570 if ln -s conf$$.file conf$$ 2>/dev/null; then
7571 as_ln_s='ln -s'
7572 # ... but there are two gotchas:
7573 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7574 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7575 # In both cases, we have to default to `cp -p'.
7576 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7577 as_ln_s='cp -p'
7578 elif ln conf$$.file conf$$ 2>/dev/null; then
7579 as_ln_s=ln
7580 else
7581 as_ln_s='cp -p'
7583 else
7584 as_ln_s='cp -p'
7586 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7587 rmdir conf$$.dir 2>/dev/null
7590 # as_fn_mkdir_p
7591 # -------------
7592 # Create "$as_dir" as a directory, including parents if necessary.
7593 as_fn_mkdir_p ()
7596 case $as_dir in #(
7597 -*) as_dir=./$as_dir;;
7598 esac
7599 test -d "$as_dir" || eval $as_mkdir_p || {
7600 as_dirs=
7601 while :; do
7602 case $as_dir in #(
7603 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7604 *) as_qdir=$as_dir;;
7605 esac
7606 as_dirs="'$as_qdir' $as_dirs"
7607 as_dir=`$as_dirname -- "$as_dir" ||
7608 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7609 X"$as_dir" : 'X\(//\)[^/]' \| \
7610 X"$as_dir" : 'X\(//\)$' \| \
7611 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7612 $as_echo X"$as_dir" |
7613 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7614 s//\1/
7617 /^X\(\/\/\)[^/].*/{
7618 s//\1/
7621 /^X\(\/\/\)$/{
7622 s//\1/
7625 /^X\(\/\).*/{
7626 s//\1/
7629 s/.*/./; q'`
7630 test -d "$as_dir" && break
7631 done
7632 test -z "$as_dirs" || eval "mkdir $as_dirs"
7633 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7636 } # as_fn_mkdir_p
7637 if mkdir -p . 2>/dev/null; then
7638 as_mkdir_p='mkdir -p "$as_dir"'
7639 else
7640 test -d ./-p && rmdir ./-p
7641 as_mkdir_p=false
7644 if test -x / >/dev/null 2>&1; then
7645 as_test_x='test -x'
7646 else
7647 if ls -dL / >/dev/null 2>&1; then
7648 as_ls_L_option=L
7649 else
7650 as_ls_L_option=
7652 as_test_x='
7653 eval sh -c '\''
7654 if test -d "$1"; then
7655 test -d "$1/.";
7656 else
7657 case $1 in #(
7658 -*)set "./$1";;
7659 esac;
7660 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7661 ???[sx]*):;;*)false;;esac;fi
7662 '\'' sh
7665 as_executable_p=$as_test_x
7667 # Sed expression to map a string onto a valid CPP name.
7668 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7670 # Sed expression to map a string onto a valid variable name.
7671 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7674 exec 6>&1
7675 ## ----------------------------------- ##
7676 ## Main body of $CONFIG_STATUS script. ##
7677 ## ----------------------------------- ##
7678 _ASEOF
7679 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7682 # Save the log message, to keep $0 and so on meaningful, and to
7683 # report actual input values of CONFIG_FILES etc. instead of their
7684 # values after options handling.
7685 ac_log="
7686 This file was extended by $as_me, which was
7687 generated by GNU Autoconf 2.67. Invocation command line was
7689 CONFIG_FILES = $CONFIG_FILES
7690 CONFIG_HEADERS = $CONFIG_HEADERS
7691 CONFIG_LINKS = $CONFIG_LINKS
7692 CONFIG_COMMANDS = $CONFIG_COMMANDS
7693 $ $0 $@
7695 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7698 _ACEOF
7700 case $ac_config_files in *"
7701 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7702 esac
7704 case $ac_config_headers in *"
7705 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7706 esac
7709 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7710 # Files that config.status was made for.
7711 config_files="$ac_config_files"
7712 config_headers="$ac_config_headers"
7714 _ACEOF
7716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7717 ac_cs_usage="\
7718 \`$as_me' instantiates files and other configuration actions
7719 from templates according to the current configuration. Unless the files
7720 and actions are specified as TAGs, all are instantiated by default.
7722 Usage: $0 [OPTION]... [TAG]...
7724 -h, --help print this help, then exit
7725 -V, --version print version number and configuration settings, then exit
7726 --config print configuration, then exit
7727 -q, --quiet, --silent
7728 do not print progress messages
7729 -d, --debug don't remove temporary files
7730 --recheck update $as_me by reconfiguring in the same conditions
7731 --file=FILE[:TEMPLATE]
7732 instantiate the configuration file FILE
7733 --header=FILE[:TEMPLATE]
7734 instantiate the configuration header FILE
7736 Configuration files:
7737 $config_files
7739 Configuration headers:
7740 $config_headers
7742 Report bugs to the package provider."
7744 _ACEOF
7745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7746 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7747 ac_cs_version="\\
7748 config.status
7749 configured by $0, generated by GNU Autoconf 2.67,
7750 with options \\"\$ac_cs_config\\"
7752 Copyright (C) 2010 Free Software Foundation, Inc.
7753 This config.status script is free software; the Free Software Foundation
7754 gives unlimited permission to copy, distribute and modify it."
7756 ac_pwd='$ac_pwd'
7757 srcdir='$srcdir'
7758 INSTALL='$INSTALL'
7759 test -n "\$AWK" || AWK=awk
7760 _ACEOF
7762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7763 # The default lists apply if the user does not specify any file.
7764 ac_need_defaults=:
7765 while test $# != 0
7767 case $1 in
7768 --*=?*)
7769 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7770 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7771 ac_shift=:
7773 --*=)
7774 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7775 ac_optarg=
7776 ac_shift=:
7779 ac_option=$1
7780 ac_optarg=$2
7781 ac_shift=shift
7783 esac
7785 case $ac_option in
7786 # Handling of the options.
7787 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7788 ac_cs_recheck=: ;;
7789 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7790 $as_echo "$ac_cs_version"; exit ;;
7791 --config | --confi | --conf | --con | --co | --c )
7792 $as_echo "$ac_cs_config"; exit ;;
7793 --debug | --debu | --deb | --de | --d | -d )
7794 debug=: ;;
7795 --file | --fil | --fi | --f )
7796 $ac_shift
7797 case $ac_optarg in
7798 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7799 '') as_fn_error $? "missing file argument" ;;
7800 esac
7801 as_fn_append CONFIG_FILES " '$ac_optarg'"
7802 ac_need_defaults=false;;
7803 --header | --heade | --head | --hea )
7804 $ac_shift
7805 case $ac_optarg in
7806 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7807 esac
7808 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7809 ac_need_defaults=false;;
7810 --he | --h)
7811 # Conflict between --help and --header
7812 as_fn_error $? "ambiguous option: \`$1'
7813 Try \`$0 --help' for more information.";;
7814 --help | --hel | -h )
7815 $as_echo "$ac_cs_usage"; exit ;;
7816 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7817 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7818 ac_cs_silent=: ;;
7820 # This is an error.
7821 -*) as_fn_error $? "unrecognized option: \`$1'
7822 Try \`$0 --help' for more information." ;;
7824 *) as_fn_append ac_config_targets " $1"
7825 ac_need_defaults=false ;;
7827 esac
7828 shift
7829 done
7831 ac_configure_extra_args=
7833 if $ac_cs_silent; then
7834 exec 6>/dev/null
7835 ac_configure_extra_args="$ac_configure_extra_args --silent"
7838 _ACEOF
7839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7840 if \$ac_cs_recheck; then
7841 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7842 shift
7843 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7844 CONFIG_SHELL='$SHELL'
7845 export CONFIG_SHELL
7846 exec "\$@"
7849 _ACEOF
7850 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7851 exec 5>>config.log
7853 echo
7854 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7855 ## Running $as_me. ##
7856 _ASBOX
7857 $as_echo "$ac_log"
7858 } >&5
7860 _ACEOF
7861 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7862 _ACEOF
7864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7866 # Handling of arguments.
7867 for ac_config_target in $ac_config_targets
7869 case $ac_config_target in
7870 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7871 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7872 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
7874 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
7875 esac
7876 done
7879 # If the user did not use the arguments to specify the items to instantiate,
7880 # then the envvar interface is used. Set only those that are not.
7881 # We use the long form for the default assignment because of an extremely
7882 # bizarre bug on SunOS 4.1.3.
7883 if $ac_need_defaults; then
7884 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7885 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7888 # Have a temporary directory for convenience. Make it in the build tree
7889 # simply because there is no reason against having it here, and in addition,
7890 # creating and moving files from /tmp can sometimes cause problems.
7891 # Hook for its removal unless debugging.
7892 # Note that there is a small window in which the directory will not be cleaned:
7893 # after its creation but before its name has been assigned to `$tmp'.
7894 $debug ||
7896 tmp=
7897 trap 'exit_status=$?
7898 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7900 trap 'as_fn_exit 1' 1 2 13 15
7902 # Create a (secure) tmp directory for tmp files.
7905 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7906 test -n "$tmp" && test -d "$tmp"
7907 } ||
7909 tmp=./conf$$-$RANDOM
7910 (umask 077 && mkdir "$tmp")
7911 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7913 # Set up the scripts for CONFIG_FILES section.
7914 # No need to generate them if there are no CONFIG_FILES.
7915 # This happens for instance with `./config.status config.h'.
7916 if test -n "$CONFIG_FILES"; then
7919 ac_cr=`echo X | tr X '\015'`
7920 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7921 # But we know of no other shell where ac_cr would be empty at this
7922 # point, so we can use a bashism as a fallback.
7923 if test "x$ac_cr" = x; then
7924 eval ac_cr=\$\'\\r\'
7926 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7927 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7928 ac_cs_awk_cr='\\r'
7929 else
7930 ac_cs_awk_cr=$ac_cr
7933 echo 'BEGIN {' >"$tmp/subs1.awk" &&
7934 _ACEOF
7938 echo "cat >conf$$subs.awk <<_ACEOF" &&
7939 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7940 echo "_ACEOF"
7941 } >conf$$subs.sh ||
7942 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7943 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7944 ac_delim='%!_!# '
7945 for ac_last_try in false false false false false :; do
7946 . ./conf$$subs.sh ||
7947 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7949 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7950 if test $ac_delim_n = $ac_delim_num; then
7951 break
7952 elif $ac_last_try; then
7953 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7954 else
7955 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7957 done
7958 rm -f conf$$subs.sh
7960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7961 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
7962 _ACEOF
7963 sed -n '
7965 s/^/S["/; s/!.*/"]=/
7968 s/^[^!]*!//
7969 :repl
7970 t repl
7971 s/'"$ac_delim"'$//
7972 t delim
7975 s/\(.\{148\}\)..*/\1/
7976 t more1
7977 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7980 b repl
7981 :more1
7982 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7985 s/.\{148\}//
7986 t nl
7987 :delim
7989 s/\(.\{148\}\)..*/\1/
7990 t more2
7991 s/["\\]/\\&/g; s/^/"/; s/$/"/
7994 :more2
7995 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7998 s/.\{148\}//
7999 t delim
8000 ' <conf$$subs.awk | sed '
8001 /^[^""]/{
8003 s/\n//
8005 ' >>$CONFIG_STATUS || ac_write_fail=1
8006 rm -f conf$$subs.awk
8007 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8008 _ACAWK
8009 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
8010 for (key in S) S_is_set[key] = 1
8011 FS = "\a"
8015 line = $ 0
8016 nfields = split(line, field, "@")
8017 substed = 0
8018 len = length(field[1])
8019 for (i = 2; i < nfields; i++) {
8020 key = field[i]
8021 keylen = length(key)
8022 if (S_is_set[key]) {
8023 value = S[key]
8024 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8025 len += length(value) + length(field[++i])
8026 substed = 1
8027 } else
8028 len += 1 + keylen
8031 print line
8034 _ACAWK
8035 _ACEOF
8036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8037 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8038 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8039 else
8041 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
8042 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8043 _ACEOF
8045 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8046 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8047 # trailing colons and then remove the whole line if VPATH becomes empty
8048 # (actually we leave an empty line to preserve line numbers).
8049 if test "x$srcdir" = x.; then
8050 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8052 s///
8053 s/^/:/
8054 s/[ ]*$/:/
8055 s/:\$(srcdir):/:/g
8056 s/:\${srcdir}:/:/g
8057 s/:@srcdir@:/:/g
8058 s/^:*//
8059 s/:*$//
8061 s/\(=[ ]*\).*/\1/
8063 s/\n//
8064 s/^[^=]*=[ ]*$//
8068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8069 fi # test -n "$CONFIG_FILES"
8071 # Set up the scripts for CONFIG_HEADERS section.
8072 # No need to generate them if there are no CONFIG_HEADERS.
8073 # This happens for instance with `./config.status Makefile'.
8074 if test -n "$CONFIG_HEADERS"; then
8075 cat >"$tmp/defines.awk" <<\_ACAWK ||
8076 BEGIN {
8077 _ACEOF
8079 # Transform confdefs.h into an awk script `defines.awk', embedded as
8080 # here-document in config.status, that substitutes the proper values into
8081 # config.h.in to produce config.h.
8083 # Create a delimiter string that does not exist in confdefs.h, to ease
8084 # handling of long lines.
8085 ac_delim='%!_!# '
8086 for ac_last_try in false false :; do
8087 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
8088 if test -z "$ac_t"; then
8089 break
8090 elif $ac_last_try; then
8091 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8092 else
8093 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8095 done
8097 # For the awk script, D is an array of macro values keyed by name,
8098 # likewise P contains macro parameters if any. Preserve backslash
8099 # newline sequences.
8101 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8102 sed -n '
8103 s/.\{148\}/&'"$ac_delim"'/g
8104 t rset
8105 :rset
8106 s/^[ ]*#[ ]*define[ ][ ]*/ /
8107 t def
8109 :def
8110 s/\\$//
8111 t bsnl
8112 s/["\\]/\\&/g
8113 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8114 D["\1"]=" \3"/p
8115 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8117 :bsnl
8118 s/["\\]/\\&/g
8119 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8120 D["\1"]=" \3\\\\\\n"\\/p
8121 t cont
8122 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8123 t cont
8125 :cont
8127 s/.\{148\}/&'"$ac_delim"'/g
8128 t clear
8129 :clear
8130 s/\\$//
8131 t bsnlc
8132 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8134 :bsnlc
8135 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8136 b cont
8137 ' <confdefs.h | sed '
8138 s/'"$ac_delim"'/"\\\
8139 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8141 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8142 for (key in D) D_is_set[key] = 1
8143 FS = "\a"
8145 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8146 line = \$ 0
8147 split(line, arg, " ")
8148 if (arg[1] == "#") {
8149 defundef = arg[2]
8150 mac1 = arg[3]
8151 } else {
8152 defundef = substr(arg[1], 2)
8153 mac1 = arg[2]
8155 split(mac1, mac2, "(") #)
8156 macro = mac2[1]
8157 prefix = substr(line, 1, index(line, defundef) - 1)
8158 if (D_is_set[macro]) {
8159 # Preserve the white space surrounding the "#".
8160 print prefix "define", macro P[macro] D[macro]
8161 next
8162 } else {
8163 # Replace #undef with comments. This is necessary, for example,
8164 # in the case of _POSIX_SOURCE, which is predefined and required
8165 # on some systems where configure will not decide to define it.
8166 if (defundef == "undef") {
8167 print "/*", prefix defundef, macro, "*/"
8168 next
8172 { print }
8173 _ACAWK
8174 _ACEOF
8175 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8176 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8177 fi # test -n "$CONFIG_HEADERS"
8180 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
8181 shift
8182 for ac_tag
8184 case $ac_tag in
8185 :[FHLC]) ac_mode=$ac_tag; continue;;
8186 esac
8187 case $ac_mode$ac_tag in
8188 :[FHL]*:*);;
8189 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
8190 :[FH]-) ac_tag=-:-;;
8191 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8192 esac
8193 ac_save_IFS=$IFS
8194 IFS=:
8195 set x $ac_tag
8196 IFS=$ac_save_IFS
8197 shift
8198 ac_file=$1
8199 shift
8201 case $ac_mode in
8202 :L) ac_source=$1;;
8203 :[FH])
8204 ac_file_inputs=
8205 for ac_f
8207 case $ac_f in
8208 -) ac_f="$tmp/stdin";;
8209 *) # Look for the file first in the build tree, then in the source tree
8210 # (if the path is not absolute). The absolute path cannot be DOS-style,
8211 # because $ac_f cannot contain `:'.
8212 test -f "$ac_f" ||
8213 case $ac_f in
8214 [\\/$]*) false;;
8215 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8216 esac ||
8217 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
8218 esac
8219 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8220 as_fn_append ac_file_inputs " '$ac_f'"
8221 done
8223 # Let's still pretend it is `configure' which instantiates (i.e., don't
8224 # use $as_me), people would be surprised to read:
8225 # /* config.h. Generated by config.status. */
8226 configure_input='Generated from '`
8227 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8228 `' by configure.'
8229 if test x"$ac_file" != x-; then
8230 configure_input="$ac_file. $configure_input"
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8232 $as_echo "$as_me: creating $ac_file" >&6;}
8234 # Neutralize special characters interpreted by sed in replacement strings.
8235 case $configure_input in #(
8236 *\&* | *\|* | *\\* )
8237 ac_sed_conf_input=`$as_echo "$configure_input" |
8238 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8239 *) ac_sed_conf_input=$configure_input;;
8240 esac
8242 case $ac_tag in
8243 *:-:* | *:-) cat >"$tmp/stdin" \
8244 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8245 esac
8247 esac
8249 ac_dir=`$as_dirname -- "$ac_file" ||
8250 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8251 X"$ac_file" : 'X\(//\)[^/]' \| \
8252 X"$ac_file" : 'X\(//\)$' \| \
8253 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8254 $as_echo X"$ac_file" |
8255 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8256 s//\1/
8259 /^X\(\/\/\)[^/].*/{
8260 s//\1/
8263 /^X\(\/\/\)$/{
8264 s//\1/
8267 /^X\(\/\).*/{
8268 s//\1/
8271 s/.*/./; q'`
8272 as_dir="$ac_dir"; as_fn_mkdir_p
8273 ac_builddir=.
8275 case "$ac_dir" in
8276 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8278 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8279 # A ".." for each directory in $ac_dir_suffix.
8280 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8281 case $ac_top_builddir_sub in
8282 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8283 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8284 esac ;;
8285 esac
8286 ac_abs_top_builddir=$ac_pwd
8287 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8288 # for backward compatibility:
8289 ac_top_builddir=$ac_top_build_prefix
8291 case $srcdir in
8292 .) # We are building in place.
8293 ac_srcdir=.
8294 ac_top_srcdir=$ac_top_builddir_sub
8295 ac_abs_top_srcdir=$ac_pwd ;;
8296 [\\/]* | ?:[\\/]* ) # Absolute name.
8297 ac_srcdir=$srcdir$ac_dir_suffix;
8298 ac_top_srcdir=$srcdir
8299 ac_abs_top_srcdir=$srcdir ;;
8300 *) # Relative name.
8301 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8302 ac_top_srcdir=$ac_top_build_prefix$srcdir
8303 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8304 esac
8305 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8308 case $ac_mode in
8311 # CONFIG_FILE
8314 case $INSTALL in
8315 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8316 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8317 esac
8318 _ACEOF
8320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8321 # If the template does not know about datarootdir, expand it.
8322 # FIXME: This hack should be removed a few years after 2.60.
8323 ac_datarootdir_hack=; ac_datarootdir_seen=
8324 ac_sed_dataroot='
8325 /datarootdir/ {
8329 /@datadir@/p
8330 /@docdir@/p
8331 /@infodir@/p
8332 /@localedir@/p
8333 /@mandir@/p'
8334 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8335 *datarootdir*) ac_datarootdir_seen=yes;;
8336 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8338 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8339 _ACEOF
8340 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8341 ac_datarootdir_hack='
8342 s&@datadir@&$datadir&g
8343 s&@docdir@&$docdir&g
8344 s&@infodir@&$infodir&g
8345 s&@localedir@&$localedir&g
8346 s&@mandir@&$mandir&g
8347 s&\\\${datarootdir}&$datarootdir&g' ;;
8348 esac
8349 _ACEOF
8351 # Neutralize VPATH when `$srcdir' = `.'.
8352 # Shell code in configure.ac might set extrasub.
8353 # FIXME: do we really want to maintain this feature?
8354 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8355 ac_sed_extra="$ac_vpsub
8356 $extrasub
8357 _ACEOF
8358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8360 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8361 s|@configure_input@|$ac_sed_conf_input|;t t
8362 s&@top_builddir@&$ac_top_builddir_sub&;t t
8363 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8364 s&@srcdir@&$ac_srcdir&;t t
8365 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8366 s&@top_srcdir@&$ac_top_srcdir&;t t
8367 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8368 s&@builddir@&$ac_builddir&;t t
8369 s&@abs_builddir@&$ac_abs_builddir&;t t
8370 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8371 s&@INSTALL@&$ac_INSTALL&;t t
8372 $ac_datarootdir_hack
8374 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
8375 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8377 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8378 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8379 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8381 which seems to be undefined. Please make sure it is defined" >&5
8382 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8383 which seems to be undefined. Please make sure it is defined" >&2;}
8385 rm -f "$tmp/stdin"
8386 case $ac_file in
8387 -) cat "$tmp/out" && rm -f "$tmp/out";;
8388 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8389 esac \
8390 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8394 # CONFIG_HEADER
8396 if test x"$ac_file" != x-; then
8398 $as_echo "/* $configure_input */" \
8399 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
8400 } >"$tmp/config.h" \
8401 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8402 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8404 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8405 else
8406 rm -f "$ac_file"
8407 mv "$tmp/config.h" "$ac_file" \
8408 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8410 else
8411 $as_echo "/* $configure_input */" \
8412 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
8413 || as_fn_error $? "could not create -" "$LINENO" 5
8418 esac
8420 done # for ac_tag
8423 as_fn_exit 0
8424 _ACEOF
8425 ac_clean_files=$ac_clean_files_save
8427 test $ac_write_fail = 0 ||
8428 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8431 # configure is writing to config.log, and then calls config.status.
8432 # config.status does its own redirection, appending to config.log.
8433 # Unfortunately, on DOS this fails, as config.log is still kept open
8434 # by configure, so config.status won't be able to write to it; its
8435 # output is simply discarded. So we exec the FD to /dev/null,
8436 # effectively closing config.log, so it can be properly (re)opened and
8437 # appended to by config.status. When coming back to configure, we
8438 # need to make the FD available again.
8439 if test "$no_create" != yes; then
8440 ac_cs_success=:
8441 ac_config_status_args=
8442 test "$silent" = yes &&
8443 ac_config_status_args="$ac_config_status_args --quiet"
8444 exec 5>/dev/null
8445 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8446 exec 5>>config.log
8447 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8448 # would make configure fail if this is the last instruction.
8449 $ac_cs_success || as_fn_exit 1
8451 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8453 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}