configure: set CFLAGS for feature tests (Closes #3)
[ocurl.git] / configure
blobfb676fc74a712171e04e09ff44044a25c06c6da5
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ocurl 0.6.1.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
201 as_have_required=yes
202 else
203 as_have_required=no
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
207 else
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209 as_found=false
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
212 IFS=$as_save_IFS
213 test -z "$as_dir" && as_dir=.
214 as_found=:
215 case $as_dir in #(
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 break 2
227 done;;
228 esac
229 as_found=false
230 done
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
234 fi; }
235 IFS=$as_save_IFS
238 if test "x$CONFIG_SHELL" != x; then :
239 export CONFIG_SHELL
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
244 BASH_ENV=/dev/null
245 ENV=/dev/null
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247 case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252 esac
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257 exit 255
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266 else
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
272 exit 1
276 SHELL=${CONFIG_SHELL-/bin/sh}
277 export SHELL
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
285 # as_fn_unset VAR
286 # ---------------
287 # Portably unset VAR.
288 as_fn_unset ()
290 { eval $1=; unset $1;}
292 as_unset=as_fn_unset
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
297 as_fn_set_status ()
299 return $1
300 } # as_fn_set_status
302 # as_fn_exit STATUS
303 # -----------------
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305 as_fn_exit ()
307 set +e
308 as_fn_set_status $1
309 exit $1
310 } # as_fn_exit
312 # as_fn_mkdir_p
313 # -------------
314 # Create "$as_dir" as a directory, including parents if necessary.
315 as_fn_mkdir_p ()
318 case $as_dir in #(
319 -*) as_dir=./$as_dir;;
320 esac
321 test -d "$as_dir" || eval $as_mkdir_p || {
322 as_dirs=
323 while :; do
324 case $as_dir in #(
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326 *) as_qdir=$as_dir;;
327 esac
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 s//\1/
339 /^X\(\/\/\)[^/].*/{
340 s//\1/
343 /^X\(\/\/\)$/{
344 s//\1/
347 /^X\(\/\).*/{
348 s//\1/
351 s/.*/./; q'`
352 test -d "$as_dir" && break
353 done
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
358 } # as_fn_mkdir_p
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
372 # implementations.
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
376 eval $1+=\$2
378 else
379 as_fn_append ()
381 eval $1=\$$1\$2
383 fi # as_fn_append
385 # as_fn_arith ARG...
386 # ------------------
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391 eval 'as_fn_arith ()
393 as_val=$(( $* ))
395 else
396 as_fn_arith ()
398 as_val=`expr "$@" || test $? -eq 1`
400 fi # as_fn_arith
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
408 as_fn_error ()
410 as_status=$1; test $as_status -eq 0 && as_status=1
411 if test "$4"; then
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
417 } # as_fn_error
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
421 as_expr=expr
422 else
423 as_expr=false
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427 as_basename=basename
428 else
429 as_basename=false
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433 as_dirname=dirname
434 else
435 as_dirname=false
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 $as_echo X/"$0" |
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
444 s//\1/
447 /^X\/\(\/\/\)$/{
448 s//\1/
451 /^X\/\(\/\).*/{
452 s//\1/
455 s/.*/./; q'`
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
470 sed -n '
472 /[$]LINENO/=
473 ' <$as_myself |
474 sed '
475 s/[$]LINENO.*/&-/
476 t lineno
478 :lineno
480 :loop
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482 t loop
483 s/-\n.*//
484 ' >$as_me.lineno &&
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
495 . "./$as_me.lineno"
496 # Exit status is that of the last command.
497 exit
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
502 -n*)
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
505 xy) ECHO_C='\c';;
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
507 ECHO_T=' ';;
508 esac;;
510 ECHO_N='-n';;
511 esac
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
516 else
517 rm -f conf$$.dir
518 mkdir conf$$.dir 2>/dev/null
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
522 as_ln_s='ln -s'
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528 as_ln_s='cp -pR'
529 elif ln conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s=ln
531 else
532 as_ln_s='cp -pR'
534 else
535 as_ln_s='cp -pR'
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
542 else
543 test -d ./-p && rmdir ./-p
544 as_mkdir_p=false
547 as_test_x='test -x'
548 as_executable_p=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" || exec 7<&0 </dev/null
558 exec 6>&1
560 # Name of the host.
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
566 # Initializations.
568 ac_default_prefix=/usr/local
569 ac_clean_files=
570 ac_config_libobj_dir=.
571 LIBOBJS=
572 cross_compiling=no
573 subdirs=
574 MFLAGS=
575 MAKEFLAGS=
577 # Identity of this package.
578 PACKAGE_NAME='ocurl'
579 PACKAGE_TARNAME='ocurl'
580 PACKAGE_VERSION='0.6.1'
581 PACKAGE_STRING='ocurl 0.6.1'
582 PACKAGE_BUGREPORT=''
583 PACKAGE_URL=''
585 # Factoring default headers for most tests.
586 ac_includes_default="\
587 #include <stdio.h>
588 #ifdef HAVE_SYS_TYPES_H
589 # include <sys/types.h>
590 #endif
591 #ifdef HAVE_SYS_STAT_H
592 # include <sys/stat.h>
593 #endif
594 #ifdef STDC_HEADERS
595 # include <stdlib.h>
596 # include <stddef.h>
597 #else
598 # ifdef HAVE_STDLIB_H
599 # include <stdlib.h>
600 # endif
601 #endif
602 #ifdef HAVE_STRING_H
603 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
604 # include <memory.h>
605 # endif
606 # include <string.h>
607 #endif
608 #ifdef HAVE_STRINGS_H
609 # include <strings.h>
610 #endif
611 #ifdef HAVE_INTTYPES_H
612 # include <inttypes.h>
613 #endif
614 #ifdef HAVE_STDINT_H
615 # include <stdint.h>
616 #endif
617 #ifdef HAVE_UNISTD_H
618 # include <unistd.h>
619 #endif"
621 ac_subst_vars='LTLIBOBJS
622 LIBOBJS
623 EGREP
624 GREP
626 INSTALLDIR
627 CURLLIBS
628 ac_prefix_program
629 OCAMLFIND
630 OCAMLBUILD
631 OCAMLDOC
632 OCAMLMKLIB
633 OCAMLMKTOP
634 OCAMLDEP
635 OCAML
636 OCAMLOPTDOTOPT
637 OCAMLCDOTOPT
638 OCAMLBEST
639 OCAMLOPT
640 OCAMLLIB
641 OCAMLVERSION
642 OCAMLC
643 INSTALL_DATA
644 INSTALL_SCRIPT
645 INSTALL_PROGRAM
646 OBJEXT
647 EXEEXT
648 ac_ct_CC
649 CPPFLAGS
650 LDFLAGS
651 CFLAGS
653 target_alias
654 host_alias
655 build_alias
656 LIBS
657 ECHO_T
658 ECHO_N
659 ECHO_C
660 DEFS
661 mandir
662 localedir
663 libdir
664 psdir
665 pdfdir
666 dvidir
667 htmldir
668 infodir
669 docdir
670 oldincludedir
671 includedir
672 localstatedir
673 sharedstatedir
674 sysconfdir
675 datadir
676 datarootdir
677 libexecdir
678 sbindir
679 bindir
680 program_transform_name
681 prefix
682 exec_prefix
683 PACKAGE_URL
684 PACKAGE_BUGREPORT
685 PACKAGE_STRING
686 PACKAGE_VERSION
687 PACKAGE_TARNAME
688 PACKAGE_NAME
689 PATH_SEPARATOR
690 SHELL'
691 ac_subst_files=''
692 ac_user_opts='
693 enable_option_checking
695 ac_precious_vars='build_alias
696 host_alias
697 target_alias
699 CFLAGS
700 LDFLAGS
701 LIBS
702 CPPFLAGS
703 CPP'
706 # Initialize some variables set by options.
707 ac_init_help=
708 ac_init_version=false
709 ac_unrecognized_opts=
710 ac_unrecognized_sep=
711 # The variables have the same names as the options, with
712 # dashes changed to underlines.
713 cache_file=/dev/null
714 exec_prefix=NONE
715 no_create=
716 no_recursion=
717 prefix=NONE
718 program_prefix=NONE
719 program_suffix=NONE
720 program_transform_name=s,x,x,
721 silent=
722 site=
723 srcdir=
724 verbose=
725 x_includes=NONE
726 x_libraries=NONE
728 # Installation directory options.
729 # These are left unexpanded so users can "make install exec_prefix=/foo"
730 # and all the variables that are supposed to be based on exec_prefix
731 # by default will actually change.
732 # Use braces instead of parens because sh, perl, etc. also accept them.
733 # (The list follows the same order as the GNU Coding Standards.)
734 bindir='${exec_prefix}/bin'
735 sbindir='${exec_prefix}/sbin'
736 libexecdir='${exec_prefix}/libexec'
737 datarootdir='${prefix}/share'
738 datadir='${datarootdir}'
739 sysconfdir='${prefix}/etc'
740 sharedstatedir='${prefix}/com'
741 localstatedir='${prefix}/var'
742 includedir='${prefix}/include'
743 oldincludedir='/usr/include'
744 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
745 infodir='${datarootdir}/info'
746 htmldir='${docdir}'
747 dvidir='${docdir}'
748 pdfdir='${docdir}'
749 psdir='${docdir}'
750 libdir='${exec_prefix}/lib'
751 localedir='${datarootdir}/locale'
752 mandir='${datarootdir}/man'
754 ac_prev=
755 ac_dashdash=
756 for ac_option
758 # If the previous option needs an argument, assign it.
759 if test -n "$ac_prev"; then
760 eval $ac_prev=\$ac_option
761 ac_prev=
762 continue
765 case $ac_option in
766 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
767 *=) ac_optarg= ;;
768 *) ac_optarg=yes ;;
769 esac
771 # Accept the important Cygnus configure options, so we can diagnose typos.
773 case $ac_dashdash$ac_option in
775 ac_dashdash=yes ;;
777 -bindir | --bindir | --bindi | --bind | --bin | --bi)
778 ac_prev=bindir ;;
779 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
780 bindir=$ac_optarg ;;
782 -build | --build | --buil | --bui | --bu)
783 ac_prev=build_alias ;;
784 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
785 build_alias=$ac_optarg ;;
787 -cache-file | --cache-file | --cache-fil | --cache-fi \
788 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
789 ac_prev=cache_file ;;
790 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
791 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
792 cache_file=$ac_optarg ;;
794 --config-cache | -C)
795 cache_file=config.cache ;;
797 -datadir | --datadir | --datadi | --datad)
798 ac_prev=datadir ;;
799 -datadir=* | --datadir=* | --datadi=* | --datad=*)
800 datadir=$ac_optarg ;;
802 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
803 | --dataroo | --dataro | --datar)
804 ac_prev=datarootdir ;;
805 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
806 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
807 datarootdir=$ac_optarg ;;
809 -disable-* | --disable-*)
810 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
811 # Reject names that are not valid shell variable names.
812 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
813 as_fn_error $? "invalid feature name: $ac_useropt"
814 ac_useropt_orig=$ac_useropt
815 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
816 case $ac_user_opts in
818 "enable_$ac_useropt"
819 "*) ;;
820 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
821 ac_unrecognized_sep=', ';;
822 esac
823 eval enable_$ac_useropt=no ;;
825 -docdir | --docdir | --docdi | --doc | --do)
826 ac_prev=docdir ;;
827 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
828 docdir=$ac_optarg ;;
830 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
831 ac_prev=dvidir ;;
832 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
833 dvidir=$ac_optarg ;;
835 -enable-* | --enable-*)
836 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
837 # Reject names that are not valid shell variable names.
838 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
839 as_fn_error $? "invalid feature name: $ac_useropt"
840 ac_useropt_orig=$ac_useropt
841 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
842 case $ac_user_opts in
844 "enable_$ac_useropt"
845 "*) ;;
846 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
847 ac_unrecognized_sep=', ';;
848 esac
849 eval enable_$ac_useropt=\$ac_optarg ;;
851 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
852 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
853 | --exec | --exe | --ex)
854 ac_prev=exec_prefix ;;
855 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
856 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
857 | --exec=* | --exe=* | --ex=*)
858 exec_prefix=$ac_optarg ;;
860 -gas | --gas | --ga | --g)
861 # Obsolete; use --with-gas.
862 with_gas=yes ;;
864 -help | --help | --hel | --he | -h)
865 ac_init_help=long ;;
866 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
867 ac_init_help=recursive ;;
868 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
869 ac_init_help=short ;;
871 -host | --host | --hos | --ho)
872 ac_prev=host_alias ;;
873 -host=* | --host=* | --hos=* | --ho=*)
874 host_alias=$ac_optarg ;;
876 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
877 ac_prev=htmldir ;;
878 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
879 | --ht=*)
880 htmldir=$ac_optarg ;;
882 -includedir | --includedir | --includedi | --included | --include \
883 | --includ | --inclu | --incl | --inc)
884 ac_prev=includedir ;;
885 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
886 | --includ=* | --inclu=* | --incl=* | --inc=*)
887 includedir=$ac_optarg ;;
889 -infodir | --infodir | --infodi | --infod | --info | --inf)
890 ac_prev=infodir ;;
891 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
892 infodir=$ac_optarg ;;
894 -libdir | --libdir | --libdi | --libd)
895 ac_prev=libdir ;;
896 -libdir=* | --libdir=* | --libdi=* | --libd=*)
897 libdir=$ac_optarg ;;
899 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
900 | --libexe | --libex | --libe)
901 ac_prev=libexecdir ;;
902 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
903 | --libexe=* | --libex=* | --libe=*)
904 libexecdir=$ac_optarg ;;
906 -localedir | --localedir | --localedi | --localed | --locale)
907 ac_prev=localedir ;;
908 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
909 localedir=$ac_optarg ;;
911 -localstatedir | --localstatedir | --localstatedi | --localstated \
912 | --localstate | --localstat | --localsta | --localst | --locals)
913 ac_prev=localstatedir ;;
914 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
915 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
916 localstatedir=$ac_optarg ;;
918 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
919 ac_prev=mandir ;;
920 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
921 mandir=$ac_optarg ;;
923 -nfp | --nfp | --nf)
924 # Obsolete; use --without-fp.
925 with_fp=no ;;
927 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
928 | --no-cr | --no-c | -n)
929 no_create=yes ;;
931 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
932 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
933 no_recursion=yes ;;
935 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
936 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
937 | --oldin | --oldi | --old | --ol | --o)
938 ac_prev=oldincludedir ;;
939 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
940 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
941 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
942 oldincludedir=$ac_optarg ;;
944 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
945 ac_prev=prefix ;;
946 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
947 prefix=$ac_optarg ;;
949 -program-prefix | --program-prefix | --program-prefi | --program-pref \
950 | --program-pre | --program-pr | --program-p)
951 ac_prev=program_prefix ;;
952 -program-prefix=* | --program-prefix=* | --program-prefi=* \
953 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
954 program_prefix=$ac_optarg ;;
956 -program-suffix | --program-suffix | --program-suffi | --program-suff \
957 | --program-suf | --program-su | --program-s)
958 ac_prev=program_suffix ;;
959 -program-suffix=* | --program-suffix=* | --program-suffi=* \
960 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
961 program_suffix=$ac_optarg ;;
963 -program-transform-name | --program-transform-name \
964 | --program-transform-nam | --program-transform-na \
965 | --program-transform-n | --program-transform- \
966 | --program-transform | --program-transfor \
967 | --program-transfo | --program-transf \
968 | --program-trans | --program-tran \
969 | --progr-tra | --program-tr | --program-t)
970 ac_prev=program_transform_name ;;
971 -program-transform-name=* | --program-transform-name=* \
972 | --program-transform-nam=* | --program-transform-na=* \
973 | --program-transform-n=* | --program-transform-=* \
974 | --program-transform=* | --program-transfor=* \
975 | --program-transfo=* | --program-transf=* \
976 | --program-trans=* | --program-tran=* \
977 | --progr-tra=* | --program-tr=* | --program-t=*)
978 program_transform_name=$ac_optarg ;;
980 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
981 ac_prev=pdfdir ;;
982 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
983 pdfdir=$ac_optarg ;;
985 -psdir | --psdir | --psdi | --psd | --ps)
986 ac_prev=psdir ;;
987 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
988 psdir=$ac_optarg ;;
990 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
991 | -silent | --silent | --silen | --sile | --sil)
992 silent=yes ;;
994 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
995 ac_prev=sbindir ;;
996 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
997 | --sbi=* | --sb=*)
998 sbindir=$ac_optarg ;;
1000 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1001 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1002 | --sharedst | --shareds | --shared | --share | --shar \
1003 | --sha | --sh)
1004 ac_prev=sharedstatedir ;;
1005 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1006 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1007 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1008 | --sha=* | --sh=*)
1009 sharedstatedir=$ac_optarg ;;
1011 -site | --site | --sit)
1012 ac_prev=site ;;
1013 -site=* | --site=* | --sit=*)
1014 site=$ac_optarg ;;
1016 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1017 ac_prev=srcdir ;;
1018 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1019 srcdir=$ac_optarg ;;
1021 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1022 | --syscon | --sysco | --sysc | --sys | --sy)
1023 ac_prev=sysconfdir ;;
1024 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1025 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1026 sysconfdir=$ac_optarg ;;
1028 -target | --target | --targe | --targ | --tar | --ta | --t)
1029 ac_prev=target_alias ;;
1030 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1031 target_alias=$ac_optarg ;;
1033 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1034 verbose=yes ;;
1036 -version | --version | --versio | --versi | --vers | -V)
1037 ac_init_version=: ;;
1039 -with-* | --with-*)
1040 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1041 # Reject names that are not valid shell variable names.
1042 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1043 as_fn_error $? "invalid package name: $ac_useropt"
1044 ac_useropt_orig=$ac_useropt
1045 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1046 case $ac_user_opts in
1048 "with_$ac_useropt"
1049 "*) ;;
1050 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1051 ac_unrecognized_sep=', ';;
1052 esac
1053 eval with_$ac_useropt=\$ac_optarg ;;
1055 -without-* | --without-*)
1056 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1057 # Reject names that are not valid shell variable names.
1058 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1059 as_fn_error $? "invalid package name: $ac_useropt"
1060 ac_useropt_orig=$ac_useropt
1061 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1062 case $ac_user_opts in
1064 "with_$ac_useropt"
1065 "*) ;;
1066 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1067 ac_unrecognized_sep=', ';;
1068 esac
1069 eval with_$ac_useropt=no ;;
1071 --x)
1072 # Obsolete; use --with-x.
1073 with_x=yes ;;
1075 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1076 | --x-incl | --x-inc | --x-in | --x-i)
1077 ac_prev=x_includes ;;
1078 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1079 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1080 x_includes=$ac_optarg ;;
1082 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1083 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1084 ac_prev=x_libraries ;;
1085 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1086 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1087 x_libraries=$ac_optarg ;;
1089 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1090 Try \`$0 --help' for more information"
1093 *=*)
1094 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1095 # Reject names that are not valid shell variable names.
1096 case $ac_envvar in #(
1097 '' | [0-9]* | *[!_$as_cr_alnum]* )
1098 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1099 esac
1100 eval $ac_envvar=\$ac_optarg
1101 export $ac_envvar ;;
1104 # FIXME: should be removed in autoconf 3.0.
1105 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1106 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1107 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1108 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1111 esac
1112 done
1114 if test -n "$ac_prev"; then
1115 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1116 as_fn_error $? "missing argument to $ac_option"
1119 if test -n "$ac_unrecognized_opts"; then
1120 case $enable_option_checking in
1121 no) ;;
1122 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1123 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1124 esac
1127 # Check all directory arguments for consistency.
1128 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1129 datadir sysconfdir sharedstatedir localstatedir includedir \
1130 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1131 libdir localedir mandir
1133 eval ac_val=\$$ac_var
1134 # Remove trailing slashes.
1135 case $ac_val in
1136 */ )
1137 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1138 eval $ac_var=\$ac_val;;
1139 esac
1140 # Be sure to have absolute directory names.
1141 case $ac_val in
1142 [\\/$]* | ?:[\\/]* ) continue;;
1143 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1144 esac
1145 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1146 done
1148 # There might be people who depend on the old broken behavior: `$host'
1149 # used to hold the argument of --host etc.
1150 # FIXME: To remove some day.
1151 build=$build_alias
1152 host=$host_alias
1153 target=$target_alias
1155 # FIXME: To remove some day.
1156 if test "x$host_alias" != x; then
1157 if test "x$build_alias" = x; then
1158 cross_compiling=maybe
1159 elif test "x$build_alias" != "x$host_alias"; then
1160 cross_compiling=yes
1164 ac_tool_prefix=
1165 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1167 test "$silent" = yes && exec 6>/dev/null
1170 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1171 ac_ls_di=`ls -di .` &&
1172 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1173 as_fn_error $? "working directory cannot be determined"
1174 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1175 as_fn_error $? "pwd does not report name of working directory"
1178 # Find the source files, if location was not specified.
1179 if test -z "$srcdir"; then
1180 ac_srcdir_defaulted=yes
1181 # Try the directory containing this script, then the parent directory.
1182 ac_confdir=`$as_dirname -- "$as_myself" ||
1183 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1184 X"$as_myself" : 'X\(//\)[^/]' \| \
1185 X"$as_myself" : 'X\(//\)$' \| \
1186 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1187 $as_echo X"$as_myself" |
1188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1189 s//\1/
1192 /^X\(\/\/\)[^/].*/{
1193 s//\1/
1196 /^X\(\/\/\)$/{
1197 s//\1/
1200 /^X\(\/\).*/{
1201 s//\1/
1204 s/.*/./; q'`
1205 srcdir=$ac_confdir
1206 if test ! -r "$srcdir/$ac_unique_file"; then
1207 srcdir=..
1209 else
1210 ac_srcdir_defaulted=no
1212 if test ! -r "$srcdir/$ac_unique_file"; then
1213 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1214 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1216 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1217 ac_abs_confdir=`(
1218 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1219 pwd)`
1220 # When building in place, set srcdir=.
1221 if test "$ac_abs_confdir" = "$ac_pwd"; then
1222 srcdir=.
1224 # Remove unnecessary trailing slashes from srcdir.
1225 # Double slashes in file names in object file debugging info
1226 # mess up M-x gdb in Emacs.
1227 case $srcdir in
1228 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1229 esac
1230 for ac_var in $ac_precious_vars; do
1231 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1232 eval ac_env_${ac_var}_value=\$${ac_var}
1233 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1234 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1235 done
1238 # Report the --help message.
1240 if test "$ac_init_help" = "long"; then
1241 # Omit some internal or obsolete options to make the list less imposing.
1242 # This message is too long to be a string in the A/UX 3.1 sh.
1243 cat <<_ACEOF
1244 \`configure' configures ocurl 0.6.1 to adapt to many kinds of systems.
1246 Usage: $0 [OPTION]... [VAR=VALUE]...
1248 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1249 VAR=VALUE. See below for descriptions of some of the useful variables.
1251 Defaults for the options are specified in brackets.
1253 Configuration:
1254 -h, --help display this help and exit
1255 --help=short display options specific to this package
1256 --help=recursive display the short help of all the included packages
1257 -V, --version display version information and exit
1258 -q, --quiet, --silent do not print \`checking ...' messages
1259 --cache-file=FILE cache test results in FILE [disabled]
1260 -C, --config-cache alias for \`--cache-file=config.cache'
1261 -n, --no-create do not create output files
1262 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1264 Installation directories:
1265 --prefix=PREFIX install architecture-independent files in PREFIX
1266 [$ac_default_prefix]
1267 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1268 [PREFIX]
1270 By default, \`make install' will install all the files in
1271 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1272 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1273 for instance \`--prefix=\$HOME'.
1275 For better control, use the options below.
1277 Fine tuning of the installation directories:
1278 --bindir=DIR user executables [EPREFIX/bin]
1279 --sbindir=DIR system admin executables [EPREFIX/sbin]
1280 --libexecdir=DIR program executables [EPREFIX/libexec]
1281 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1282 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1283 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1284 --libdir=DIR object code libraries [EPREFIX/lib]
1285 --includedir=DIR C header files [PREFIX/include]
1286 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1287 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1288 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1289 --infodir=DIR info documentation [DATAROOTDIR/info]
1290 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1291 --mandir=DIR man documentation [DATAROOTDIR/man]
1292 --docdir=DIR documentation root [DATAROOTDIR/doc/ocurl]
1293 --htmldir=DIR html documentation [DOCDIR]
1294 --dvidir=DIR dvi documentation [DOCDIR]
1295 --pdfdir=DIR pdf documentation [DOCDIR]
1296 --psdir=DIR ps documentation [DOCDIR]
1297 _ACEOF
1299 cat <<\_ACEOF
1300 _ACEOF
1303 if test -n "$ac_init_help"; then
1304 case $ac_init_help in
1305 short | recursive ) echo "Configuration of ocurl 0.6.1:";;
1306 esac
1307 cat <<\_ACEOF
1309 Some influential environment variables:
1310 CC C compiler command
1311 CFLAGS C compiler flags
1312 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1313 nonstandard directory <lib dir>
1314 LIBS libraries to pass to the linker, e.g. -l<library>
1315 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1316 you have headers in a nonstandard directory <include dir>
1317 CPP C preprocessor
1319 Use these variables to override the choices made by `configure' or to help
1320 it to find libraries and programs with nonstandard names/locations.
1322 Report bugs to the package provider.
1323 _ACEOF
1324 ac_status=$?
1327 if test "$ac_init_help" = "recursive"; then
1328 # If there are subdirs, report their specific --help.
1329 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1330 test -d "$ac_dir" ||
1331 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1332 continue
1333 ac_builddir=.
1335 case "$ac_dir" in
1336 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1338 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1339 # A ".." for each directory in $ac_dir_suffix.
1340 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1341 case $ac_top_builddir_sub in
1342 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1343 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1344 esac ;;
1345 esac
1346 ac_abs_top_builddir=$ac_pwd
1347 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1348 # for backward compatibility:
1349 ac_top_builddir=$ac_top_build_prefix
1351 case $srcdir in
1352 .) # We are building in place.
1353 ac_srcdir=.
1354 ac_top_srcdir=$ac_top_builddir_sub
1355 ac_abs_top_srcdir=$ac_pwd ;;
1356 [\\/]* | ?:[\\/]* ) # Absolute name.
1357 ac_srcdir=$srcdir$ac_dir_suffix;
1358 ac_top_srcdir=$srcdir
1359 ac_abs_top_srcdir=$srcdir ;;
1360 *) # Relative name.
1361 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1362 ac_top_srcdir=$ac_top_build_prefix$srcdir
1363 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1364 esac
1365 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1367 cd "$ac_dir" || { ac_status=$?; continue; }
1368 # Check for guested configure.
1369 if test -f "$ac_srcdir/configure.gnu"; then
1370 echo &&
1371 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1372 elif test -f "$ac_srcdir/configure"; then
1373 echo &&
1374 $SHELL "$ac_srcdir/configure" --help=recursive
1375 else
1376 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1377 fi || ac_status=$?
1378 cd "$ac_pwd" || { ac_status=$?; break; }
1379 done
1382 test -n "$ac_init_help" && exit $ac_status
1383 if $ac_init_version; then
1384 cat <<\_ACEOF
1385 ocurl configure 0.6.1
1386 generated by GNU Autoconf 2.69
1388 Copyright (C) 2012 Free Software Foundation, Inc.
1389 This configure script is free software; the Free Software Foundation
1390 gives unlimited permission to copy, distribute and modify it.
1391 _ACEOF
1392 exit
1395 ## ------------------------ ##
1396 ## Autoconf initialization. ##
1397 ## ------------------------ ##
1399 # ac_fn_c_try_compile LINENO
1400 # --------------------------
1401 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1402 ac_fn_c_try_compile ()
1404 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1405 rm -f conftest.$ac_objext
1406 if { { ac_try="$ac_compile"
1407 case "(($ac_try" in
1408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1409 *) ac_try_echo=$ac_try;;
1410 esac
1411 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1412 $as_echo "$ac_try_echo"; } >&5
1413 (eval "$ac_compile") 2>conftest.err
1414 ac_status=$?
1415 if test -s conftest.err; then
1416 grep -v '^ *+' conftest.err >conftest.er1
1417 cat conftest.er1 >&5
1418 mv -f conftest.er1 conftest.err
1420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1421 test $ac_status = 0; } && {
1422 test -z "$ac_c_werror_flag" ||
1423 test ! -s conftest.err
1424 } && test -s conftest.$ac_objext; then :
1425 ac_retval=0
1426 else
1427 $as_echo "$as_me: failed program was:" >&5
1428 sed 's/^/| /' conftest.$ac_ext >&5
1430 ac_retval=1
1432 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1433 as_fn_set_status $ac_retval
1435 } # ac_fn_c_try_compile
1437 # ac_fn_c_try_cpp LINENO
1438 # ----------------------
1439 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1440 ac_fn_c_try_cpp ()
1442 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1443 if { { ac_try="$ac_cpp conftest.$ac_ext"
1444 case "(($ac_try" in
1445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1446 *) ac_try_echo=$ac_try;;
1447 esac
1448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1449 $as_echo "$ac_try_echo"; } >&5
1450 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1451 ac_status=$?
1452 if test -s conftest.err; then
1453 grep -v '^ *+' conftest.err >conftest.er1
1454 cat conftest.er1 >&5
1455 mv -f conftest.er1 conftest.err
1457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1458 test $ac_status = 0; } > conftest.i && {
1459 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1460 test ! -s conftest.err
1461 }; then :
1462 ac_retval=0
1463 else
1464 $as_echo "$as_me: failed program was:" >&5
1465 sed 's/^/| /' conftest.$ac_ext >&5
1467 ac_retval=1
1469 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1470 as_fn_set_status $ac_retval
1472 } # ac_fn_c_try_cpp
1474 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1475 # -------------------------------------------------------
1476 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1477 # the include files in INCLUDES and setting the cache variable VAR
1478 # accordingly.
1479 ac_fn_c_check_header_mongrel ()
1481 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1482 if eval \${$3+:} false; then :
1483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1484 $as_echo_n "checking for $2... " >&6; }
1485 if eval \${$3+:} false; then :
1486 $as_echo_n "(cached) " >&6
1488 eval ac_res=\$$3
1489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1490 $as_echo "$ac_res" >&6; }
1491 else
1492 # Is the header compilable?
1493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1494 $as_echo_n "checking $2 usability... " >&6; }
1495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1496 /* end confdefs.h. */
1498 #include <$2>
1499 _ACEOF
1500 if ac_fn_c_try_compile "$LINENO"; then :
1501 ac_header_compiler=yes
1502 else
1503 ac_header_compiler=no
1505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1507 $as_echo "$ac_header_compiler" >&6; }
1509 # Is the header present?
1510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1511 $as_echo_n "checking $2 presence... " >&6; }
1512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1513 /* end confdefs.h. */
1514 #include <$2>
1515 _ACEOF
1516 if ac_fn_c_try_cpp "$LINENO"; then :
1517 ac_header_preproc=yes
1518 else
1519 ac_header_preproc=no
1521 rm -f conftest.err conftest.i conftest.$ac_ext
1522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1523 $as_echo "$ac_header_preproc" >&6; }
1525 # So? What about this header?
1526 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1527 yes:no: )
1528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1529 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1531 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1533 no:yes:* )
1534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1535 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1537 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1539 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1541 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1543 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1545 esac
1546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1547 $as_echo_n "checking for $2... " >&6; }
1548 if eval \${$3+:} false; then :
1549 $as_echo_n "(cached) " >&6
1550 else
1551 eval "$3=\$ac_header_compiler"
1553 eval ac_res=\$$3
1554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1555 $as_echo "$ac_res" >&6; }
1557 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1559 } # ac_fn_c_check_header_mongrel
1561 # ac_fn_c_try_run LINENO
1562 # ----------------------
1563 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1564 # that executables *can* be run.
1565 ac_fn_c_try_run ()
1567 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1568 if { { ac_try="$ac_link"
1569 case "(($ac_try" in
1570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1571 *) ac_try_echo=$ac_try;;
1572 esac
1573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1574 $as_echo "$ac_try_echo"; } >&5
1575 (eval "$ac_link") 2>&5
1576 ac_status=$?
1577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1578 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1579 { { case "(($ac_try" in
1580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1581 *) ac_try_echo=$ac_try;;
1582 esac
1583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1584 $as_echo "$ac_try_echo"; } >&5
1585 (eval "$ac_try") 2>&5
1586 ac_status=$?
1587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1588 test $ac_status = 0; }; }; then :
1589 ac_retval=0
1590 else
1591 $as_echo "$as_me: program exited with status $ac_status" >&5
1592 $as_echo "$as_me: failed program was:" >&5
1593 sed 's/^/| /' conftest.$ac_ext >&5
1595 ac_retval=$ac_status
1597 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1598 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1599 as_fn_set_status $ac_retval
1601 } # ac_fn_c_try_run
1603 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1604 # -------------------------------------------------------
1605 # Tests whether HEADER exists and can be compiled using the include files in
1606 # INCLUDES, setting the cache variable VAR accordingly.
1607 ac_fn_c_check_header_compile ()
1609 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1611 $as_echo_n "checking for $2... " >&6; }
1612 if eval \${$3+:} false; then :
1613 $as_echo_n "(cached) " >&6
1614 else
1615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1616 /* end confdefs.h. */
1618 #include <$2>
1619 _ACEOF
1620 if ac_fn_c_try_compile "$LINENO"; then :
1621 eval "$3=yes"
1622 else
1623 eval "$3=no"
1625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1627 eval ac_res=\$$3
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1629 $as_echo "$ac_res" >&6; }
1630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1632 } # ac_fn_c_check_header_compile
1634 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1635 # ---------------------------------------------
1636 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1637 # accordingly.
1638 ac_fn_c_check_decl ()
1640 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1641 as_decl_name=`echo $2|sed 's/ *(.*//'`
1642 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1644 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1645 if eval \${$3+:} false; then :
1646 $as_echo_n "(cached) " >&6
1647 else
1648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1649 /* end confdefs.h. */
1652 main ()
1654 #ifndef $as_decl_name
1655 #ifdef __cplusplus
1656 (void) $as_decl_use;
1657 #else
1658 (void) $as_decl_name;
1659 #endif
1660 #endif
1663 return 0;
1665 _ACEOF
1666 if ac_fn_c_try_compile "$LINENO"; then :
1667 eval "$3=yes"
1668 else
1669 eval "$3=no"
1671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1673 eval ac_res=\$$3
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1675 $as_echo "$ac_res" >&6; }
1676 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1678 } # ac_fn_c_check_decl
1679 cat >config.log <<_ACEOF
1680 This file contains any messages produced by compilers while
1681 running configure, to aid debugging if configure makes a mistake.
1683 It was created by ocurl $as_me 0.6.1, which was
1684 generated by GNU Autoconf 2.69. Invocation command line was
1686 $ $0 $@
1688 _ACEOF
1689 exec 5>>config.log
1691 cat <<_ASUNAME
1692 ## --------- ##
1693 ## Platform. ##
1694 ## --------- ##
1696 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1697 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1698 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1699 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1700 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1702 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1703 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1705 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1706 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1707 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1708 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1709 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1710 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1711 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1713 _ASUNAME
1715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1716 for as_dir in $PATH
1718 IFS=$as_save_IFS
1719 test -z "$as_dir" && as_dir=.
1720 $as_echo "PATH: $as_dir"
1721 done
1722 IFS=$as_save_IFS
1724 } >&5
1726 cat >&5 <<_ACEOF
1729 ## ----------- ##
1730 ## Core tests. ##
1731 ## ----------- ##
1733 _ACEOF
1736 # Keep a trace of the command line.
1737 # Strip out --no-create and --no-recursion so they do not pile up.
1738 # Strip out --silent because we don't want to record it for future runs.
1739 # Also quote any args containing shell meta-characters.
1740 # Make two passes to allow for proper duplicate-argument suppression.
1741 ac_configure_args=
1742 ac_configure_args0=
1743 ac_configure_args1=
1744 ac_must_keep_next=false
1745 for ac_pass in 1 2
1747 for ac_arg
1749 case $ac_arg in
1750 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1751 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1752 | -silent | --silent | --silen | --sile | --sil)
1753 continue ;;
1754 *\'*)
1755 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1756 esac
1757 case $ac_pass in
1758 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1760 as_fn_append ac_configure_args1 " '$ac_arg'"
1761 if test $ac_must_keep_next = true; then
1762 ac_must_keep_next=false # Got value, back to normal.
1763 else
1764 case $ac_arg in
1765 *=* | --config-cache | -C | -disable-* | --disable-* \
1766 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1767 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1768 | -with-* | --with-* | -without-* | --without-* | --x)
1769 case "$ac_configure_args0 " in
1770 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1771 esac
1773 -* ) ac_must_keep_next=true ;;
1774 esac
1776 as_fn_append ac_configure_args " '$ac_arg'"
1778 esac
1779 done
1780 done
1781 { ac_configure_args0=; unset ac_configure_args0;}
1782 { ac_configure_args1=; unset ac_configure_args1;}
1784 # When interrupted or exit'd, cleanup temporary files, and complete
1785 # config.log. We remove comments because anyway the quotes in there
1786 # would cause problems or look ugly.
1787 # WARNING: Use '\'' to represent an apostrophe within the trap.
1788 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1789 trap 'exit_status=$?
1790 # Save into config.log some information that might help in debugging.
1792 echo
1794 $as_echo "## ---------------- ##
1795 ## Cache variables. ##
1796 ## ---------------- ##"
1797 echo
1798 # The following way of writing the cache mishandles newlines in values,
1800 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1801 eval ac_val=\$$ac_var
1802 case $ac_val in #(
1803 *${as_nl}*)
1804 case $ac_var in #(
1805 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1806 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1807 esac
1808 case $ac_var in #(
1809 _ | IFS | as_nl) ;; #(
1810 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1811 *) { eval $ac_var=; unset $ac_var;} ;;
1812 esac ;;
1813 esac
1814 done
1815 (set) 2>&1 |
1816 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1817 *${as_nl}ac_space=\ *)
1818 sed -n \
1819 "s/'\''/'\''\\\\'\'''\''/g;
1820 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1821 ;; #(
1823 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1825 esac |
1826 sort
1828 echo
1830 $as_echo "## ----------------- ##
1831 ## Output variables. ##
1832 ## ----------------- ##"
1833 echo
1834 for ac_var in $ac_subst_vars
1836 eval ac_val=\$$ac_var
1837 case $ac_val in
1838 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1839 esac
1840 $as_echo "$ac_var='\''$ac_val'\''"
1841 done | sort
1842 echo
1844 if test -n "$ac_subst_files"; then
1845 $as_echo "## ------------------- ##
1846 ## File substitutions. ##
1847 ## ------------------- ##"
1848 echo
1849 for ac_var in $ac_subst_files
1851 eval ac_val=\$$ac_var
1852 case $ac_val in
1853 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1854 esac
1855 $as_echo "$ac_var='\''$ac_val'\''"
1856 done | sort
1857 echo
1860 if test -s confdefs.h; then
1861 $as_echo "## ----------- ##
1862 ## confdefs.h. ##
1863 ## ----------- ##"
1864 echo
1865 cat confdefs.h
1866 echo
1868 test "$ac_signal" != 0 &&
1869 $as_echo "$as_me: caught signal $ac_signal"
1870 $as_echo "$as_me: exit $exit_status"
1871 } >&5
1872 rm -f core *.core core.conftest.* &&
1873 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1874 exit $exit_status
1876 for ac_signal in 1 2 13 15; do
1877 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1878 done
1879 ac_signal=0
1881 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1882 rm -f -r conftest* confdefs.h
1884 $as_echo "/* confdefs.h */" > confdefs.h
1886 # Predefined preprocessor variables.
1888 cat >>confdefs.h <<_ACEOF
1889 #define PACKAGE_NAME "$PACKAGE_NAME"
1890 _ACEOF
1892 cat >>confdefs.h <<_ACEOF
1893 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1894 _ACEOF
1896 cat >>confdefs.h <<_ACEOF
1897 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1898 _ACEOF
1900 cat >>confdefs.h <<_ACEOF
1901 #define PACKAGE_STRING "$PACKAGE_STRING"
1902 _ACEOF
1904 cat >>confdefs.h <<_ACEOF
1905 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1906 _ACEOF
1908 cat >>confdefs.h <<_ACEOF
1909 #define PACKAGE_URL "$PACKAGE_URL"
1910 _ACEOF
1913 # Let the site file select an alternate cache file if it wants to.
1914 # Prefer an explicitly selected file to automatically selected ones.
1915 ac_site_file1=NONE
1916 ac_site_file2=NONE
1917 if test -n "$CONFIG_SITE"; then
1918 # We do not want a PATH search for config.site.
1919 case $CONFIG_SITE in #((
1920 -*) ac_site_file1=./$CONFIG_SITE;;
1921 */*) ac_site_file1=$CONFIG_SITE;;
1922 *) ac_site_file1=./$CONFIG_SITE;;
1923 esac
1924 elif test "x$prefix" != xNONE; then
1925 ac_site_file1=$prefix/share/config.site
1926 ac_site_file2=$prefix/etc/config.site
1927 else
1928 ac_site_file1=$ac_default_prefix/share/config.site
1929 ac_site_file2=$ac_default_prefix/etc/config.site
1931 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1933 test "x$ac_site_file" = xNONE && continue
1934 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1936 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1937 sed 's/^/| /' "$ac_site_file" >&5
1938 . "$ac_site_file" \
1939 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1940 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1941 as_fn_error $? "failed to load site script $ac_site_file
1942 See \`config.log' for more details" "$LINENO" 5; }
1944 done
1946 if test -r "$cache_file"; then
1947 # Some versions of bash will fail to source /dev/null (special files
1948 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1949 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1951 $as_echo "$as_me: loading cache $cache_file" >&6;}
1952 case $cache_file in
1953 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1954 *) . "./$cache_file";;
1955 esac
1957 else
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1959 $as_echo "$as_me: creating cache $cache_file" >&6;}
1960 >$cache_file
1963 # Check that the precious variables saved in the cache have kept the same
1964 # value.
1965 ac_cache_corrupted=false
1966 for ac_var in $ac_precious_vars; do
1967 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1968 eval ac_new_set=\$ac_env_${ac_var}_set
1969 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1970 eval ac_new_val=\$ac_env_${ac_var}_value
1971 case $ac_old_set,$ac_new_set in
1972 set,)
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1974 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1975 ac_cache_corrupted=: ;;
1976 ,set)
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1978 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1979 ac_cache_corrupted=: ;;
1980 ,);;
1982 if test "x$ac_old_val" != "x$ac_new_val"; then
1983 # differences in whitespace do not lead to failure.
1984 ac_old_val_w=`echo x $ac_old_val`
1985 ac_new_val_w=`echo x $ac_new_val`
1986 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1988 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1989 ac_cache_corrupted=:
1990 else
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1992 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1993 eval $ac_var=\$ac_old_val
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1996 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1998 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1999 fi;;
2000 esac
2001 # Pass precious variables to config.status.
2002 if test "$ac_new_set" = set; then
2003 case $ac_new_val in
2004 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2005 *) ac_arg=$ac_var=$ac_new_val ;;
2006 esac
2007 case " $ac_configure_args " in
2008 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2009 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2010 esac
2012 done
2013 if $ac_cache_corrupted; then
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2017 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2018 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2020 ## -------------------- ##
2021 ## Main body of script. ##
2022 ## -------------------- ##
2024 ac_ext=c
2025 ac_cpp='$CPP $CPPFLAGS'
2026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2032 ac_ext=c
2033 ac_cpp='$CPP $CPPFLAGS'
2034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2037 if test -n "$ac_tool_prefix"; then
2038 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2039 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2041 $as_echo_n "checking for $ac_word... " >&6; }
2042 if ${ac_cv_prog_CC+:} false; then :
2043 $as_echo_n "(cached) " >&6
2044 else
2045 if test -n "$CC"; then
2046 ac_cv_prog_CC="$CC" # Let the user override the test.
2047 else
2048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2049 for as_dir in $PATH
2051 IFS=$as_save_IFS
2052 test -z "$as_dir" && as_dir=.
2053 for ac_exec_ext in '' $ac_executable_extensions; do
2054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2055 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2057 break 2
2059 done
2060 done
2061 IFS=$as_save_IFS
2065 CC=$ac_cv_prog_CC
2066 if test -n "$CC"; then
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2068 $as_echo "$CC" >&6; }
2069 else
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2071 $as_echo "no" >&6; }
2076 if test -z "$ac_cv_prog_CC"; then
2077 ac_ct_CC=$CC
2078 # Extract the first word of "gcc", so it can be a program name with args.
2079 set dummy gcc; ac_word=$2
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2081 $as_echo_n "checking for $ac_word... " >&6; }
2082 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2083 $as_echo_n "(cached) " >&6
2084 else
2085 if test -n "$ac_ct_CC"; then
2086 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2087 else
2088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2089 for as_dir in $PATH
2091 IFS=$as_save_IFS
2092 test -z "$as_dir" && as_dir=.
2093 for ac_exec_ext in '' $ac_executable_extensions; do
2094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2095 ac_cv_prog_ac_ct_CC="gcc"
2096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2097 break 2
2099 done
2100 done
2101 IFS=$as_save_IFS
2105 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2106 if test -n "$ac_ct_CC"; then
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2108 $as_echo "$ac_ct_CC" >&6; }
2109 else
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2111 $as_echo "no" >&6; }
2114 if test "x$ac_ct_CC" = x; then
2115 CC=""
2116 else
2117 case $cross_compiling:$ac_tool_warned in
2118 yes:)
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2121 ac_tool_warned=yes ;;
2122 esac
2123 CC=$ac_ct_CC
2125 else
2126 CC="$ac_cv_prog_CC"
2129 if test -z "$CC"; then
2130 if test -n "$ac_tool_prefix"; then
2131 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2132 set dummy ${ac_tool_prefix}cc; ac_word=$2
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2134 $as_echo_n "checking for $ac_word... " >&6; }
2135 if ${ac_cv_prog_CC+:} false; then :
2136 $as_echo_n "(cached) " >&6
2137 else
2138 if test -n "$CC"; then
2139 ac_cv_prog_CC="$CC" # Let the user override the test.
2140 else
2141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2142 for as_dir in $PATH
2144 IFS=$as_save_IFS
2145 test -z "$as_dir" && as_dir=.
2146 for ac_exec_ext in '' $ac_executable_extensions; do
2147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2148 ac_cv_prog_CC="${ac_tool_prefix}cc"
2149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2150 break 2
2152 done
2153 done
2154 IFS=$as_save_IFS
2158 CC=$ac_cv_prog_CC
2159 if test -n "$CC"; then
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2161 $as_echo "$CC" >&6; }
2162 else
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2164 $as_echo "no" >&6; }
2170 if test -z "$CC"; then
2171 # Extract the first word of "cc", so it can be a program name with args.
2172 set dummy cc; ac_word=$2
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2174 $as_echo_n "checking for $ac_word... " >&6; }
2175 if ${ac_cv_prog_CC+:} false; then :
2176 $as_echo_n "(cached) " >&6
2177 else
2178 if test -n "$CC"; then
2179 ac_cv_prog_CC="$CC" # Let the user override the test.
2180 else
2181 ac_prog_rejected=no
2182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2183 for as_dir in $PATH
2185 IFS=$as_save_IFS
2186 test -z "$as_dir" && as_dir=.
2187 for ac_exec_ext in '' $ac_executable_extensions; do
2188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2189 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2190 ac_prog_rejected=yes
2191 continue
2193 ac_cv_prog_CC="cc"
2194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2195 break 2
2197 done
2198 done
2199 IFS=$as_save_IFS
2201 if test $ac_prog_rejected = yes; then
2202 # We found a bogon in the path, so make sure we never use it.
2203 set dummy $ac_cv_prog_CC
2204 shift
2205 if test $# != 0; then
2206 # We chose a different compiler from the bogus one.
2207 # However, it has the same basename, so the bogon will be chosen
2208 # first if we set CC to just the basename; use the full file name.
2209 shift
2210 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2215 CC=$ac_cv_prog_CC
2216 if test -n "$CC"; then
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2218 $as_echo "$CC" >&6; }
2219 else
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2221 $as_echo "no" >&6; }
2226 if test -z "$CC"; then
2227 if test -n "$ac_tool_prefix"; then
2228 for ac_prog in cl.exe
2230 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2231 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2233 $as_echo_n "checking for $ac_word... " >&6; }
2234 if ${ac_cv_prog_CC+:} false; then :
2235 $as_echo_n "(cached) " >&6
2236 else
2237 if test -n "$CC"; then
2238 ac_cv_prog_CC="$CC" # Let the user override the test.
2239 else
2240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2241 for as_dir in $PATH
2243 IFS=$as_save_IFS
2244 test -z "$as_dir" && as_dir=.
2245 for ac_exec_ext in '' $ac_executable_extensions; do
2246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2247 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2249 break 2
2251 done
2252 done
2253 IFS=$as_save_IFS
2257 CC=$ac_cv_prog_CC
2258 if test -n "$CC"; then
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2260 $as_echo "$CC" >&6; }
2261 else
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2263 $as_echo "no" >&6; }
2267 test -n "$CC" && break
2268 done
2270 if test -z "$CC"; then
2271 ac_ct_CC=$CC
2272 for ac_prog in cl.exe
2274 # Extract the first word of "$ac_prog", so it can be a program name with args.
2275 set dummy $ac_prog; ac_word=$2
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2277 $as_echo_n "checking for $ac_word... " >&6; }
2278 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2279 $as_echo_n "(cached) " >&6
2280 else
2281 if test -n "$ac_ct_CC"; then
2282 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2283 else
2284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2285 for as_dir in $PATH
2287 IFS=$as_save_IFS
2288 test -z "$as_dir" && as_dir=.
2289 for ac_exec_ext in '' $ac_executable_extensions; do
2290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2291 ac_cv_prog_ac_ct_CC="$ac_prog"
2292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2293 break 2
2295 done
2296 done
2297 IFS=$as_save_IFS
2301 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2302 if test -n "$ac_ct_CC"; then
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2304 $as_echo "$ac_ct_CC" >&6; }
2305 else
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2307 $as_echo "no" >&6; }
2311 test -n "$ac_ct_CC" && break
2312 done
2314 if test "x$ac_ct_CC" = x; then
2315 CC=""
2316 else
2317 case $cross_compiling:$ac_tool_warned in
2318 yes:)
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2321 ac_tool_warned=yes ;;
2322 esac
2323 CC=$ac_ct_CC
2330 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2332 as_fn_error $? "no acceptable C compiler found in \$PATH
2333 See \`config.log' for more details" "$LINENO" 5; }
2335 # Provide some information about the compiler.
2336 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2337 set X $ac_compile
2338 ac_compiler=$2
2339 for ac_option in --version -v -V -qversion; do
2340 { { ac_try="$ac_compiler $ac_option >&5"
2341 case "(($ac_try" in
2342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2343 *) ac_try_echo=$ac_try;;
2344 esac
2345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2346 $as_echo "$ac_try_echo"; } >&5
2347 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2348 ac_status=$?
2349 if test -s conftest.err; then
2350 sed '10a\
2351 ... rest of stderr output deleted ...
2352 10q' conftest.err >conftest.er1
2353 cat conftest.er1 >&5
2355 rm -f conftest.er1 conftest.err
2356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2357 test $ac_status = 0; }
2358 done
2360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2361 /* end confdefs.h. */
2364 main ()
2368 return 0;
2370 _ACEOF
2371 ac_clean_files_save=$ac_clean_files
2372 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2373 # Try to create an executable without -o first, disregard a.out.
2374 # It will help us diagnose broken compilers, and finding out an intuition
2375 # of exeext.
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2377 $as_echo_n "checking whether the C compiler works... " >&6; }
2378 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2380 # The possible output files:
2381 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2383 ac_rmfiles=
2384 for ac_file in $ac_files
2386 case $ac_file in
2387 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2388 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2389 esac
2390 done
2391 rm -f $ac_rmfiles
2393 if { { ac_try="$ac_link_default"
2394 case "(($ac_try" in
2395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2396 *) ac_try_echo=$ac_try;;
2397 esac
2398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2399 $as_echo "$ac_try_echo"; } >&5
2400 (eval "$ac_link_default") 2>&5
2401 ac_status=$?
2402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2403 test $ac_status = 0; }; then :
2404 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2405 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2406 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2407 # so that the user can short-circuit this test for compilers unknown to
2408 # Autoconf.
2409 for ac_file in $ac_files ''
2411 test -f "$ac_file" || continue
2412 case $ac_file in
2413 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2415 [ab].out )
2416 # We found the default executable, but exeext='' is most
2417 # certainly right.
2418 break;;
2419 *.* )
2420 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2421 then :; else
2422 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2424 # We set ac_cv_exeext here because the later test for it is not
2425 # safe: cross compilers may not add the suffix if given an `-o'
2426 # argument, so we may need to know it at that point already.
2427 # Even if this section looks crufty: it has the advantage of
2428 # actually working.
2429 break;;
2431 break;;
2432 esac
2433 done
2434 test "$ac_cv_exeext" = no && ac_cv_exeext=
2436 else
2437 ac_file=''
2439 if test -z "$ac_file"; then :
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2441 $as_echo "no" >&6; }
2442 $as_echo "$as_me: failed program was:" >&5
2443 sed 's/^/| /' conftest.$ac_ext >&5
2445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2447 as_fn_error 77 "C compiler cannot create executables
2448 See \`config.log' for more details" "$LINENO" 5; }
2449 else
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2451 $as_echo "yes" >&6; }
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2454 $as_echo_n "checking for C compiler default output file name... " >&6; }
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2456 $as_echo "$ac_file" >&6; }
2457 ac_exeext=$ac_cv_exeext
2459 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2460 ac_clean_files=$ac_clean_files_save
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2462 $as_echo_n "checking for suffix of executables... " >&6; }
2463 if { { ac_try="$ac_link"
2464 case "(($ac_try" in
2465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2466 *) ac_try_echo=$ac_try;;
2467 esac
2468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2469 $as_echo "$ac_try_echo"; } >&5
2470 (eval "$ac_link") 2>&5
2471 ac_status=$?
2472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2473 test $ac_status = 0; }; then :
2474 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2475 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2476 # work properly (i.e., refer to `conftest.exe'), while it won't with
2477 # `rm'.
2478 for ac_file in conftest.exe conftest conftest.*; do
2479 test -f "$ac_file" || continue
2480 case $ac_file in
2481 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2482 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2483 break;;
2484 * ) break;;
2485 esac
2486 done
2487 else
2488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2490 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2491 See \`config.log' for more details" "$LINENO" 5; }
2493 rm -f conftest conftest$ac_cv_exeext
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2495 $as_echo "$ac_cv_exeext" >&6; }
2497 rm -f conftest.$ac_ext
2498 EXEEXT=$ac_cv_exeext
2499 ac_exeext=$EXEEXT
2500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2501 /* end confdefs.h. */
2502 #include <stdio.h>
2504 main ()
2506 FILE *f = fopen ("conftest.out", "w");
2507 return ferror (f) || fclose (f) != 0;
2510 return 0;
2512 _ACEOF
2513 ac_clean_files="$ac_clean_files conftest.out"
2514 # Check that the compiler produces executables we can run. If not, either
2515 # the compiler is broken, or we cross compile.
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2517 $as_echo_n "checking whether we are cross compiling... " >&6; }
2518 if test "$cross_compiling" != yes; then
2519 { { ac_try="$ac_link"
2520 case "(($ac_try" in
2521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2522 *) ac_try_echo=$ac_try;;
2523 esac
2524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2525 $as_echo "$ac_try_echo"; } >&5
2526 (eval "$ac_link") 2>&5
2527 ac_status=$?
2528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2529 test $ac_status = 0; }
2530 if { ac_try='./conftest$ac_cv_exeext'
2531 { { case "(($ac_try" in
2532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2533 *) ac_try_echo=$ac_try;;
2534 esac
2535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2536 $as_echo "$ac_try_echo"; } >&5
2537 (eval "$ac_try") 2>&5
2538 ac_status=$?
2539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2540 test $ac_status = 0; }; }; then
2541 cross_compiling=no
2542 else
2543 if test "$cross_compiling" = maybe; then
2544 cross_compiling=yes
2545 else
2546 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2547 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2548 as_fn_error $? "cannot run C compiled programs.
2549 If you meant to cross compile, use \`--host'.
2550 See \`config.log' for more details" "$LINENO" 5; }
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2555 $as_echo "$cross_compiling" >&6; }
2557 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2558 ac_clean_files=$ac_clean_files_save
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2560 $as_echo_n "checking for suffix of object files... " >&6; }
2561 if ${ac_cv_objext+:} false; then :
2562 $as_echo_n "(cached) " >&6
2563 else
2564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2565 /* end confdefs.h. */
2568 main ()
2572 return 0;
2574 _ACEOF
2575 rm -f conftest.o conftest.obj
2576 if { { ac_try="$ac_compile"
2577 case "(($ac_try" in
2578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2579 *) ac_try_echo=$ac_try;;
2580 esac
2581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2582 $as_echo "$ac_try_echo"; } >&5
2583 (eval "$ac_compile") 2>&5
2584 ac_status=$?
2585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2586 test $ac_status = 0; }; then :
2587 for ac_file in conftest.o conftest.obj conftest.*; do
2588 test -f "$ac_file" || continue;
2589 case $ac_file in
2590 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2591 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2592 break;;
2593 esac
2594 done
2595 else
2596 $as_echo "$as_me: failed program was:" >&5
2597 sed 's/^/| /' conftest.$ac_ext >&5
2599 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2601 as_fn_error $? "cannot compute suffix of object files: cannot compile
2602 See \`config.log' for more details" "$LINENO" 5; }
2604 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2607 $as_echo "$ac_cv_objext" >&6; }
2608 OBJEXT=$ac_cv_objext
2609 ac_objext=$OBJEXT
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2611 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2612 if ${ac_cv_c_compiler_gnu+:} false; then :
2613 $as_echo_n "(cached) " >&6
2614 else
2615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2616 /* end confdefs.h. */
2619 main ()
2621 #ifndef __GNUC__
2622 choke me
2623 #endif
2626 return 0;
2628 _ACEOF
2629 if ac_fn_c_try_compile "$LINENO"; then :
2630 ac_compiler_gnu=yes
2631 else
2632 ac_compiler_gnu=no
2634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2635 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2639 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2640 if test $ac_compiler_gnu = yes; then
2641 GCC=yes
2642 else
2643 GCC=
2645 ac_test_CFLAGS=${CFLAGS+set}
2646 ac_save_CFLAGS=$CFLAGS
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2648 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2649 if ${ac_cv_prog_cc_g+:} false; then :
2650 $as_echo_n "(cached) " >&6
2651 else
2652 ac_save_c_werror_flag=$ac_c_werror_flag
2653 ac_c_werror_flag=yes
2654 ac_cv_prog_cc_g=no
2655 CFLAGS="-g"
2656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2657 /* end confdefs.h. */
2660 main ()
2664 return 0;
2666 _ACEOF
2667 if ac_fn_c_try_compile "$LINENO"; then :
2668 ac_cv_prog_cc_g=yes
2669 else
2670 CFLAGS=""
2671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2672 /* end confdefs.h. */
2675 main ()
2679 return 0;
2681 _ACEOF
2682 if ac_fn_c_try_compile "$LINENO"; then :
2684 else
2685 ac_c_werror_flag=$ac_save_c_werror_flag
2686 CFLAGS="-g"
2687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2688 /* end confdefs.h. */
2691 main ()
2695 return 0;
2697 _ACEOF
2698 if ac_fn_c_try_compile "$LINENO"; then :
2699 ac_cv_prog_cc_g=yes
2701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2706 ac_c_werror_flag=$ac_save_c_werror_flag
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2709 $as_echo "$ac_cv_prog_cc_g" >&6; }
2710 if test "$ac_test_CFLAGS" = set; then
2711 CFLAGS=$ac_save_CFLAGS
2712 elif test $ac_cv_prog_cc_g = yes; then
2713 if test "$GCC" = yes; then
2714 CFLAGS="-g -O2"
2715 else
2716 CFLAGS="-g"
2718 else
2719 if test "$GCC" = yes; then
2720 CFLAGS="-O2"
2721 else
2722 CFLAGS=
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2726 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2727 if ${ac_cv_prog_cc_c89+:} false; then :
2728 $as_echo_n "(cached) " >&6
2729 else
2730 ac_cv_prog_cc_c89=no
2731 ac_save_CC=$CC
2732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2733 /* end confdefs.h. */
2734 #include <stdarg.h>
2735 #include <stdio.h>
2736 struct stat;
2737 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2738 struct buf { int x; };
2739 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2740 static char *e (p, i)
2741 char **p;
2742 int i;
2744 return p[i];
2746 static char *f (char * (*g) (char **, int), char **p, ...)
2748 char *s;
2749 va_list v;
2750 va_start (v,p);
2751 s = g (p, va_arg (v,int));
2752 va_end (v);
2753 return s;
2756 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2757 function prototypes and stuff, but not '\xHH' hex character constants.
2758 These don't provoke an error unfortunately, instead are silently treated
2759 as 'x'. The following induces an error, until -std is added to get
2760 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2761 array size at least. It's necessary to write '\x00'==0 to get something
2762 that's true only with -std. */
2763 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2765 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2766 inside strings and character constants. */
2767 #define FOO(x) 'x'
2768 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2770 int test (int i, double x);
2771 struct s1 {int (*f) (int a);};
2772 struct s2 {int (*f) (double a);};
2773 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2774 int argc;
2775 char **argv;
2777 main ()
2779 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2781 return 0;
2783 _ACEOF
2784 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2785 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2787 CC="$ac_save_CC $ac_arg"
2788 if ac_fn_c_try_compile "$LINENO"; then :
2789 ac_cv_prog_cc_c89=$ac_arg
2791 rm -f core conftest.err conftest.$ac_objext
2792 test "x$ac_cv_prog_cc_c89" != "xno" && break
2793 done
2794 rm -f conftest.$ac_ext
2795 CC=$ac_save_CC
2798 # AC_CACHE_VAL
2799 case "x$ac_cv_prog_cc_c89" in
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2802 $as_echo "none needed" >&6; } ;;
2803 xno)
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2805 $as_echo "unsupported" >&6; } ;;
2807 CC="$CC $ac_cv_prog_cc_c89"
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2809 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2810 esac
2811 if test "x$ac_cv_prog_cc_c89" != xno; then :
2815 ac_ext=c
2816 ac_cpp='$CPP $CPPFLAGS'
2817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl cflags" >&5
2823 $as_echo_n "checking for libcurl cflags... " >&6; }
2824 CURLCFLAGS=`pkg-config libcurl --cflags || curl-config --cflags`
2825 if test "$?" -eq 0 ; then :
2827 else
2828 as_fn_error $? "libcurl was not found" "$LINENO" 5
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURLCFLAGS" >&5
2831 $as_echo "$CURLCFLAGS" >&6; }
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl libs" >&5
2834 $as_echo_n "checking for libcurl libs... " >&6; }
2835 CURLLIBS=`pkg-config libcurl --libs || curl-config --libs`
2836 if test "$?" -eq 0 ; then :
2838 else
2839 as_fn_error $? "libcurl was not found" "$LINENO" 5
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURLLIBS" >&5
2842 $as_echo "$CURLLIBS" >&6; }
2844 ac_aux_dir=
2845 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2846 if test -f "$ac_dir/install-sh"; then
2847 ac_aux_dir=$ac_dir
2848 ac_install_sh="$ac_aux_dir/install-sh -c"
2849 break
2850 elif test -f "$ac_dir/install.sh"; then
2851 ac_aux_dir=$ac_dir
2852 ac_install_sh="$ac_aux_dir/install.sh -c"
2853 break
2854 elif test -f "$ac_dir/shtool"; then
2855 ac_aux_dir=$ac_dir
2856 ac_install_sh="$ac_aux_dir/shtool install -c"
2857 break
2859 done
2860 if test -z "$ac_aux_dir"; then
2861 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2864 # These three variables are undocumented and unsupported,
2865 # and are intended to be withdrawn in a future Autoconf release.
2866 # They can cause serious problems if a builder's source tree is in a directory
2867 # whose full name contains unusual characters.
2868 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2869 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2870 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2873 # Find a good install program. We prefer a C program (faster),
2874 # so one script is as good as another. But avoid the broken or
2875 # incompatible versions:
2876 # SysV /etc/install, /usr/sbin/install
2877 # SunOS /usr/etc/install
2878 # IRIX /sbin/install
2879 # AIX /bin/install
2880 # AmigaOS /C/install, which installs bootblocks on floppy discs
2881 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2882 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2883 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2884 # OS/2's system install, which has a completely different semantic
2885 # ./install, which can be erroneously created by make from ./install.sh.
2886 # Reject install programs that cannot install multiple files.
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2888 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2889 if test -z "$INSTALL"; then
2890 if ${ac_cv_path_install+:} false; then :
2891 $as_echo_n "(cached) " >&6
2892 else
2893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2894 for as_dir in $PATH
2896 IFS=$as_save_IFS
2897 test -z "$as_dir" && as_dir=.
2898 # Account for people who put trailing slashes in PATH elements.
2899 case $as_dir/ in #((
2900 ./ | .// | /[cC]/* | \
2901 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2902 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2903 /usr/ucb/* ) ;;
2905 # OSF1 and SCO ODT 3.0 have their own names for install.
2906 # Don't use installbsd from OSF since it installs stuff as root
2907 # by default.
2908 for ac_prog in ginstall scoinst install; do
2909 for ac_exec_ext in '' $ac_executable_extensions; do
2910 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2911 if test $ac_prog = install &&
2912 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2913 # AIX install. It has an incompatible calling convention.
2915 elif test $ac_prog = install &&
2916 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2917 # program-specific install script used by HP pwplus--don't use.
2919 else
2920 rm -rf conftest.one conftest.two conftest.dir
2921 echo one > conftest.one
2922 echo two > conftest.two
2923 mkdir conftest.dir
2924 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2925 test -s conftest.one && test -s conftest.two &&
2926 test -s conftest.dir/conftest.one &&
2927 test -s conftest.dir/conftest.two
2928 then
2929 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2930 break 3
2934 done
2935 done
2937 esac
2939 done
2940 IFS=$as_save_IFS
2942 rm -rf conftest.one conftest.two conftest.dir
2945 if test "${ac_cv_path_install+set}" = set; then
2946 INSTALL=$ac_cv_path_install
2947 else
2948 # As a last resort, use the slow shell script. Don't cache a
2949 # value for INSTALL within a source directory, because that will
2950 # break other packages using the cache if that directory is
2951 # removed, or if the value is a relative name.
2952 INSTALL=$ac_install_sh
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2956 $as_echo "$INSTALL" >&6; }
2958 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2959 # It thinks the first close brace ends the variable substitution.
2960 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2962 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2964 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2966 # checking for ocamlc
2967 if test -n "$ac_tool_prefix"; then
2968 # Extract the first word of "${ac_tool_prefix}ocamlc", so it can be a program name with args.
2969 set dummy ${ac_tool_prefix}ocamlc; ac_word=$2
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2971 $as_echo_n "checking for $ac_word... " >&6; }
2972 if ${ac_cv_prog_OCAMLC+:} false; then :
2973 $as_echo_n "(cached) " >&6
2974 else
2975 if test -n "$OCAMLC"; then
2976 ac_cv_prog_OCAMLC="$OCAMLC" # Let the user override the test.
2977 else
2978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2979 for as_dir in $PATH
2981 IFS=$as_save_IFS
2982 test -z "$as_dir" && as_dir=.
2983 for ac_exec_ext in '' $ac_executable_extensions; do
2984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2985 ac_cv_prog_OCAMLC="${ac_tool_prefix}ocamlc"
2986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2987 break 2
2989 done
2990 done
2991 IFS=$as_save_IFS
2995 OCAMLC=$ac_cv_prog_OCAMLC
2996 if test -n "$OCAMLC"; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLC" >&5
2998 $as_echo "$OCAMLC" >&6; }
2999 else
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3001 $as_echo "no" >&6; }
3006 if test -z "$ac_cv_prog_OCAMLC"; then
3007 ac_ct_OCAMLC=$OCAMLC
3008 # Extract the first word of "ocamlc", so it can be a program name with args.
3009 set dummy ocamlc; ac_word=$2
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3011 $as_echo_n "checking for $ac_word... " >&6; }
3012 if ${ac_cv_prog_ac_ct_OCAMLC+:} false; then :
3013 $as_echo_n "(cached) " >&6
3014 else
3015 if test -n "$ac_ct_OCAMLC"; then
3016 ac_cv_prog_ac_ct_OCAMLC="$ac_ct_OCAMLC" # Let the user override the test.
3017 else
3018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3019 for as_dir in $PATH
3021 IFS=$as_save_IFS
3022 test -z "$as_dir" && as_dir=.
3023 for ac_exec_ext in '' $ac_executable_extensions; do
3024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3025 ac_cv_prog_ac_ct_OCAMLC="ocamlc"
3026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3027 break 2
3029 done
3030 done
3031 IFS=$as_save_IFS
3035 ac_ct_OCAMLC=$ac_cv_prog_ac_ct_OCAMLC
3036 if test -n "$ac_ct_OCAMLC"; then
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLC" >&5
3038 $as_echo "$ac_ct_OCAMLC" >&6; }
3039 else
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3041 $as_echo "no" >&6; }
3044 if test "x$ac_ct_OCAMLC" = x; then
3045 OCAMLC="no"
3046 else
3047 case $cross_compiling:$ac_tool_warned in
3048 yes:)
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3051 ac_tool_warned=yes ;;
3052 esac
3053 OCAMLC=$ac_ct_OCAMLC
3055 else
3056 OCAMLC="$ac_cv_prog_OCAMLC"
3060 if test "$OCAMLC" != "no"; then
3061 OCAMLVERSION=`$OCAMLC -v | sed -n -e 's|.*version* *\(.*\)$|\1|p'`
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml version is $OCAMLVERSION" >&5
3063 $as_echo "OCaml version is $OCAMLVERSION" >&6; }
3064 # If OCAMLLIB is set, use it
3065 if test "$OCAMLLIB" = ""; then
3066 OCAMLLIB=`$OCAMLC -where 2>/dev/null || $OCAMLC -v|tail -1|cut -d ' ' -f 4`
3067 else
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCAMLLIB previously set; preserving it." >&5
3069 $as_echo "OCAMLLIB previously set; preserving it." >&6; }
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml library path is $OCAMLLIB" >&5
3072 $as_echo "OCaml library path is $OCAMLLIB" >&6; }
3077 # checking for ocamlopt
3078 if test -n "$ac_tool_prefix"; then
3079 # Extract the first word of "${ac_tool_prefix}ocamlopt", so it can be a program name with args.
3080 set dummy ${ac_tool_prefix}ocamlopt; ac_word=$2
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3082 $as_echo_n "checking for $ac_word... " >&6; }
3083 if ${ac_cv_prog_OCAMLOPT+:} false; then :
3084 $as_echo_n "(cached) " >&6
3085 else
3086 if test -n "$OCAMLOPT"; then
3087 ac_cv_prog_OCAMLOPT="$OCAMLOPT" # Let the user override the test.
3088 else
3089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3090 for as_dir in $PATH
3092 IFS=$as_save_IFS
3093 test -z "$as_dir" && as_dir=.
3094 for ac_exec_ext in '' $ac_executable_extensions; do
3095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3096 ac_cv_prog_OCAMLOPT="${ac_tool_prefix}ocamlopt"
3097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3098 break 2
3100 done
3101 done
3102 IFS=$as_save_IFS
3106 OCAMLOPT=$ac_cv_prog_OCAMLOPT
3107 if test -n "$OCAMLOPT"; then
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPT" >&5
3109 $as_echo "$OCAMLOPT" >&6; }
3110 else
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3112 $as_echo "no" >&6; }
3117 if test -z "$ac_cv_prog_OCAMLOPT"; then
3118 ac_ct_OCAMLOPT=$OCAMLOPT
3119 # Extract the first word of "ocamlopt", so it can be a program name with args.
3120 set dummy ocamlopt; ac_word=$2
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3122 $as_echo_n "checking for $ac_word... " >&6; }
3123 if ${ac_cv_prog_ac_ct_OCAMLOPT+:} false; then :
3124 $as_echo_n "(cached) " >&6
3125 else
3126 if test -n "$ac_ct_OCAMLOPT"; then
3127 ac_cv_prog_ac_ct_OCAMLOPT="$ac_ct_OCAMLOPT" # Let the user override the test.
3128 else
3129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3130 for as_dir in $PATH
3132 IFS=$as_save_IFS
3133 test -z "$as_dir" && as_dir=.
3134 for ac_exec_ext in '' $ac_executable_extensions; do
3135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3136 ac_cv_prog_ac_ct_OCAMLOPT="ocamlopt"
3137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3138 break 2
3140 done
3141 done
3142 IFS=$as_save_IFS
3146 ac_ct_OCAMLOPT=$ac_cv_prog_ac_ct_OCAMLOPT
3147 if test -n "$ac_ct_OCAMLOPT"; then
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPT" >&5
3149 $as_echo "$ac_ct_OCAMLOPT" >&6; }
3150 else
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3152 $as_echo "no" >&6; }
3155 if test "x$ac_ct_OCAMLOPT" = x; then
3156 OCAMLOPT="no"
3157 else
3158 case $cross_compiling:$ac_tool_warned in
3159 yes:)
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3162 ac_tool_warned=yes ;;
3163 esac
3164 OCAMLOPT=$ac_ct_OCAMLOPT
3166 else
3167 OCAMLOPT="$ac_cv_prog_OCAMLOPT"
3170 OCAMLBEST=byte
3171 if test "$OCAMLOPT" = "no"; then
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find ocamlopt; bytecode compilation only." >&5
3173 $as_echo "$as_me: WARNING: Cannot find ocamlopt; bytecode compilation only." >&2;}
3174 else
3175 TMPVERSION=`$OCAMLOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3176 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlopt discarded." >&5
3178 $as_echo "versions differs from ocamlc; ocamlopt discarded." >&6; }
3179 OCAMLOPT=no
3180 else
3181 OCAMLBEST=opt
3187 # checking for ocamlc.opt
3188 if test -n "$ac_tool_prefix"; then
3189 # Extract the first word of "${ac_tool_prefix}ocamlc.opt", so it can be a program name with args.
3190 set dummy ${ac_tool_prefix}ocamlc.opt; ac_word=$2
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3192 $as_echo_n "checking for $ac_word... " >&6; }
3193 if ${ac_cv_prog_OCAMLCDOTOPT+:} false; then :
3194 $as_echo_n "(cached) " >&6
3195 else
3196 if test -n "$OCAMLCDOTOPT"; then
3197 ac_cv_prog_OCAMLCDOTOPT="$OCAMLCDOTOPT" # Let the user override the test.
3198 else
3199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3200 for as_dir in $PATH
3202 IFS=$as_save_IFS
3203 test -z "$as_dir" && as_dir=.
3204 for ac_exec_ext in '' $ac_executable_extensions; do
3205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3206 ac_cv_prog_OCAMLCDOTOPT="${ac_tool_prefix}ocamlc.opt"
3207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3208 break 2
3210 done
3211 done
3212 IFS=$as_save_IFS
3216 OCAMLCDOTOPT=$ac_cv_prog_OCAMLCDOTOPT
3217 if test -n "$OCAMLCDOTOPT"; then
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLCDOTOPT" >&5
3219 $as_echo "$OCAMLCDOTOPT" >&6; }
3220 else
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3222 $as_echo "no" >&6; }
3227 if test -z "$ac_cv_prog_OCAMLCDOTOPT"; then
3228 ac_ct_OCAMLCDOTOPT=$OCAMLCDOTOPT
3229 # Extract the first word of "ocamlc.opt", so it can be a program name with args.
3230 set dummy ocamlc.opt; ac_word=$2
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3232 $as_echo_n "checking for $ac_word... " >&6; }
3233 if ${ac_cv_prog_ac_ct_OCAMLCDOTOPT+:} false; then :
3234 $as_echo_n "(cached) " >&6
3235 else
3236 if test -n "$ac_ct_OCAMLCDOTOPT"; then
3237 ac_cv_prog_ac_ct_OCAMLCDOTOPT="$ac_ct_OCAMLCDOTOPT" # Let the user override the test.
3238 else
3239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3240 for as_dir in $PATH
3242 IFS=$as_save_IFS
3243 test -z "$as_dir" && as_dir=.
3244 for ac_exec_ext in '' $ac_executable_extensions; do
3245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3246 ac_cv_prog_ac_ct_OCAMLCDOTOPT="ocamlc.opt"
3247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3248 break 2
3250 done
3251 done
3252 IFS=$as_save_IFS
3256 ac_ct_OCAMLCDOTOPT=$ac_cv_prog_ac_ct_OCAMLCDOTOPT
3257 if test -n "$ac_ct_OCAMLCDOTOPT"; then
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLCDOTOPT" >&5
3259 $as_echo "$ac_ct_OCAMLCDOTOPT" >&6; }
3260 else
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3262 $as_echo "no" >&6; }
3265 if test "x$ac_ct_OCAMLCDOTOPT" = x; then
3266 OCAMLCDOTOPT="no"
3267 else
3268 case $cross_compiling:$ac_tool_warned in
3269 yes:)
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3271 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3272 ac_tool_warned=yes ;;
3273 esac
3274 OCAMLCDOTOPT=$ac_ct_OCAMLCDOTOPT
3276 else
3277 OCAMLCDOTOPT="$ac_cv_prog_OCAMLCDOTOPT"
3280 if test "$OCAMLCDOTOPT" != "no"; then
3281 TMPVERSION=`$OCAMLCDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3282 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlc.opt discarded." >&5
3284 $as_echo "versions differs from ocamlc; ocamlc.opt discarded." >&6; }
3285 else
3286 OCAMLC=$OCAMLCDOTOPT
3290 # checking for ocamlopt.opt
3291 if test "$OCAMLOPT" != "no" ; then
3292 if test -n "$ac_tool_prefix"; then
3293 # Extract the first word of "${ac_tool_prefix}ocamlopt.opt", so it can be a program name with args.
3294 set dummy ${ac_tool_prefix}ocamlopt.opt; ac_word=$2
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3296 $as_echo_n "checking for $ac_word... " >&6; }
3297 if ${ac_cv_prog_OCAMLOPTDOTOPT+:} false; then :
3298 $as_echo_n "(cached) " >&6
3299 else
3300 if test -n "$OCAMLOPTDOTOPT"; then
3301 ac_cv_prog_OCAMLOPTDOTOPT="$OCAMLOPTDOTOPT" # Let the user override the test.
3302 else
3303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3304 for as_dir in $PATH
3306 IFS=$as_save_IFS
3307 test -z "$as_dir" && as_dir=.
3308 for ac_exec_ext in '' $ac_executable_extensions; do
3309 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3310 ac_cv_prog_OCAMLOPTDOTOPT="${ac_tool_prefix}ocamlopt.opt"
3311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3312 break 2
3314 done
3315 done
3316 IFS=$as_save_IFS
3320 OCAMLOPTDOTOPT=$ac_cv_prog_OCAMLOPTDOTOPT
3321 if test -n "$OCAMLOPTDOTOPT"; then
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPTDOTOPT" >&5
3323 $as_echo "$OCAMLOPTDOTOPT" >&6; }
3324 else
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3326 $as_echo "no" >&6; }
3331 if test -z "$ac_cv_prog_OCAMLOPTDOTOPT"; then
3332 ac_ct_OCAMLOPTDOTOPT=$OCAMLOPTDOTOPT
3333 # Extract the first word of "ocamlopt.opt", so it can be a program name with args.
3334 set dummy ocamlopt.opt; ac_word=$2
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3336 $as_echo_n "checking for $ac_word... " >&6; }
3337 if ${ac_cv_prog_ac_ct_OCAMLOPTDOTOPT+:} false; then :
3338 $as_echo_n "(cached) " >&6
3339 else
3340 if test -n "$ac_ct_OCAMLOPTDOTOPT"; then
3341 ac_cv_prog_ac_ct_OCAMLOPTDOTOPT="$ac_ct_OCAMLOPTDOTOPT" # Let the user override the test.
3342 else
3343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3344 for as_dir in $PATH
3346 IFS=$as_save_IFS
3347 test -z "$as_dir" && as_dir=.
3348 for ac_exec_ext in '' $ac_executable_extensions; do
3349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3350 ac_cv_prog_ac_ct_OCAMLOPTDOTOPT="ocamlopt.opt"
3351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3352 break 2
3354 done
3355 done
3356 IFS=$as_save_IFS
3360 ac_ct_OCAMLOPTDOTOPT=$ac_cv_prog_ac_ct_OCAMLOPTDOTOPT
3361 if test -n "$ac_ct_OCAMLOPTDOTOPT"; then
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPTDOTOPT" >&5
3363 $as_echo "$ac_ct_OCAMLOPTDOTOPT" >&6; }
3364 else
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3366 $as_echo "no" >&6; }
3369 if test "x$ac_ct_OCAMLOPTDOTOPT" = x; then
3370 OCAMLOPTDOTOPT="no"
3371 else
3372 case $cross_compiling:$ac_tool_warned in
3373 yes:)
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3376 ac_tool_warned=yes ;;
3377 esac
3378 OCAMLOPTDOTOPT=$ac_ct_OCAMLOPTDOTOPT
3380 else
3381 OCAMLOPTDOTOPT="$ac_cv_prog_OCAMLOPTDOTOPT"
3384 if test "$OCAMLOPTDOTOPT" != "no"; then
3385 TMPVERSION=`$OCAMLOPTDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
3386 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: version differs from ocamlc; ocamlopt.opt discarded." >&5
3388 $as_echo "version differs from ocamlc; ocamlopt.opt discarded." >&6; }
3389 else
3390 OCAMLOPT=$OCAMLOPTDOTOPT
3400 # checking for ocaml toplevel
3401 if test -n "$ac_tool_prefix"; then
3402 # Extract the first word of "${ac_tool_prefix}ocaml", so it can be a program name with args.
3403 set dummy ${ac_tool_prefix}ocaml; ac_word=$2
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3405 $as_echo_n "checking for $ac_word... " >&6; }
3406 if ${ac_cv_prog_OCAML+:} false; then :
3407 $as_echo_n "(cached) " >&6
3408 else
3409 if test -n "$OCAML"; then
3410 ac_cv_prog_OCAML="$OCAML" # Let the user override the test.
3411 else
3412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3413 for as_dir in $PATH
3415 IFS=$as_save_IFS
3416 test -z "$as_dir" && as_dir=.
3417 for ac_exec_ext in '' $ac_executable_extensions; do
3418 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3419 ac_cv_prog_OCAML="${ac_tool_prefix}ocaml"
3420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3421 break 2
3423 done
3424 done
3425 IFS=$as_save_IFS
3429 OCAML=$ac_cv_prog_OCAML
3430 if test -n "$OCAML"; then
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAML" >&5
3432 $as_echo "$OCAML" >&6; }
3433 else
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3435 $as_echo "no" >&6; }
3440 if test -z "$ac_cv_prog_OCAML"; then
3441 ac_ct_OCAML=$OCAML
3442 # Extract the first word of "ocaml", so it can be a program name with args.
3443 set dummy ocaml; ac_word=$2
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3445 $as_echo_n "checking for $ac_word... " >&6; }
3446 if ${ac_cv_prog_ac_ct_OCAML+:} false; then :
3447 $as_echo_n "(cached) " >&6
3448 else
3449 if test -n "$ac_ct_OCAML"; then
3450 ac_cv_prog_ac_ct_OCAML="$ac_ct_OCAML" # Let the user override the test.
3451 else
3452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3453 for as_dir in $PATH
3455 IFS=$as_save_IFS
3456 test -z "$as_dir" && as_dir=.
3457 for ac_exec_ext in '' $ac_executable_extensions; do
3458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3459 ac_cv_prog_ac_ct_OCAML="ocaml"
3460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3461 break 2
3463 done
3464 done
3465 IFS=$as_save_IFS
3469 ac_ct_OCAML=$ac_cv_prog_ac_ct_OCAML
3470 if test -n "$ac_ct_OCAML"; then
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAML" >&5
3472 $as_echo "$ac_ct_OCAML" >&6; }
3473 else
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3475 $as_echo "no" >&6; }
3478 if test "x$ac_ct_OCAML" = x; then
3479 OCAML="no"
3480 else
3481 case $cross_compiling:$ac_tool_warned in
3482 yes:)
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3485 ac_tool_warned=yes ;;
3486 esac
3487 OCAML=$ac_ct_OCAML
3489 else
3490 OCAML="$ac_cv_prog_OCAML"
3494 # checking for ocamldep
3495 if test -n "$ac_tool_prefix"; then
3496 # Extract the first word of "${ac_tool_prefix}ocamldep", so it can be a program name with args.
3497 set dummy ${ac_tool_prefix}ocamldep; ac_word=$2
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3499 $as_echo_n "checking for $ac_word... " >&6; }
3500 if ${ac_cv_prog_OCAMLDEP+:} false; then :
3501 $as_echo_n "(cached) " >&6
3502 else
3503 if test -n "$OCAMLDEP"; then
3504 ac_cv_prog_OCAMLDEP="$OCAMLDEP" # Let the user override the test.
3505 else
3506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3507 for as_dir in $PATH
3509 IFS=$as_save_IFS
3510 test -z "$as_dir" && as_dir=.
3511 for ac_exec_ext in '' $ac_executable_extensions; do
3512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3513 ac_cv_prog_OCAMLDEP="${ac_tool_prefix}ocamldep"
3514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3515 break 2
3517 done
3518 done
3519 IFS=$as_save_IFS
3523 OCAMLDEP=$ac_cv_prog_OCAMLDEP
3524 if test -n "$OCAMLDEP"; then
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDEP" >&5
3526 $as_echo "$OCAMLDEP" >&6; }
3527 else
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3529 $as_echo "no" >&6; }
3534 if test -z "$ac_cv_prog_OCAMLDEP"; then
3535 ac_ct_OCAMLDEP=$OCAMLDEP
3536 # Extract the first word of "ocamldep", so it can be a program name with args.
3537 set dummy ocamldep; ac_word=$2
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3539 $as_echo_n "checking for $ac_word... " >&6; }
3540 if ${ac_cv_prog_ac_ct_OCAMLDEP+:} false; then :
3541 $as_echo_n "(cached) " >&6
3542 else
3543 if test -n "$ac_ct_OCAMLDEP"; then
3544 ac_cv_prog_ac_ct_OCAMLDEP="$ac_ct_OCAMLDEP" # Let the user override the test.
3545 else
3546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3547 for as_dir in $PATH
3549 IFS=$as_save_IFS
3550 test -z "$as_dir" && as_dir=.
3551 for ac_exec_ext in '' $ac_executable_extensions; do
3552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3553 ac_cv_prog_ac_ct_OCAMLDEP="ocamldep"
3554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3555 break 2
3557 done
3558 done
3559 IFS=$as_save_IFS
3563 ac_ct_OCAMLDEP=$ac_cv_prog_ac_ct_OCAMLDEP
3564 if test -n "$ac_ct_OCAMLDEP"; then
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDEP" >&5
3566 $as_echo "$ac_ct_OCAMLDEP" >&6; }
3567 else
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3569 $as_echo "no" >&6; }
3572 if test "x$ac_ct_OCAMLDEP" = x; then
3573 OCAMLDEP="no"
3574 else
3575 case $cross_compiling:$ac_tool_warned in
3576 yes:)
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3578 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3579 ac_tool_warned=yes ;;
3580 esac
3581 OCAMLDEP=$ac_ct_OCAMLDEP
3583 else
3584 OCAMLDEP="$ac_cv_prog_OCAMLDEP"
3588 # checking for ocamlmktop
3589 if test -n "$ac_tool_prefix"; then
3590 # Extract the first word of "${ac_tool_prefix}ocamlmktop", so it can be a program name with args.
3591 set dummy ${ac_tool_prefix}ocamlmktop; ac_word=$2
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3593 $as_echo_n "checking for $ac_word... " >&6; }
3594 if ${ac_cv_prog_OCAMLMKTOP+:} false; then :
3595 $as_echo_n "(cached) " >&6
3596 else
3597 if test -n "$OCAMLMKTOP"; then
3598 ac_cv_prog_OCAMLMKTOP="$OCAMLMKTOP" # Let the user override the test.
3599 else
3600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3601 for as_dir in $PATH
3603 IFS=$as_save_IFS
3604 test -z "$as_dir" && as_dir=.
3605 for ac_exec_ext in '' $ac_executable_extensions; do
3606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3607 ac_cv_prog_OCAMLMKTOP="${ac_tool_prefix}ocamlmktop"
3608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3609 break 2
3611 done
3612 done
3613 IFS=$as_save_IFS
3617 OCAMLMKTOP=$ac_cv_prog_OCAMLMKTOP
3618 if test -n "$OCAMLMKTOP"; then
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKTOP" >&5
3620 $as_echo "$OCAMLMKTOP" >&6; }
3621 else
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3623 $as_echo "no" >&6; }
3628 if test -z "$ac_cv_prog_OCAMLMKTOP"; then
3629 ac_ct_OCAMLMKTOP=$OCAMLMKTOP
3630 # Extract the first word of "ocamlmktop", so it can be a program name with args.
3631 set dummy ocamlmktop; ac_word=$2
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3633 $as_echo_n "checking for $ac_word... " >&6; }
3634 if ${ac_cv_prog_ac_ct_OCAMLMKTOP+:} false; then :
3635 $as_echo_n "(cached) " >&6
3636 else
3637 if test -n "$ac_ct_OCAMLMKTOP"; then
3638 ac_cv_prog_ac_ct_OCAMLMKTOP="$ac_ct_OCAMLMKTOP" # Let the user override the test.
3639 else
3640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3641 for as_dir in $PATH
3643 IFS=$as_save_IFS
3644 test -z "$as_dir" && as_dir=.
3645 for ac_exec_ext in '' $ac_executable_extensions; do
3646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3647 ac_cv_prog_ac_ct_OCAMLMKTOP="ocamlmktop"
3648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3649 break 2
3651 done
3652 done
3653 IFS=$as_save_IFS
3657 ac_ct_OCAMLMKTOP=$ac_cv_prog_ac_ct_OCAMLMKTOP
3658 if test -n "$ac_ct_OCAMLMKTOP"; then
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKTOP" >&5
3660 $as_echo "$ac_ct_OCAMLMKTOP" >&6; }
3661 else
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3663 $as_echo "no" >&6; }
3666 if test "x$ac_ct_OCAMLMKTOP" = x; then
3667 OCAMLMKTOP="no"
3668 else
3669 case $cross_compiling:$ac_tool_warned in
3670 yes:)
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3672 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3673 ac_tool_warned=yes ;;
3674 esac
3675 OCAMLMKTOP=$ac_ct_OCAMLMKTOP
3677 else
3678 OCAMLMKTOP="$ac_cv_prog_OCAMLMKTOP"
3682 # checking for ocamlmklib
3683 if test -n "$ac_tool_prefix"; then
3684 # Extract the first word of "${ac_tool_prefix}ocamlmklib", so it can be a program name with args.
3685 set dummy ${ac_tool_prefix}ocamlmklib; ac_word=$2
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3687 $as_echo_n "checking for $ac_word... " >&6; }
3688 if ${ac_cv_prog_OCAMLMKLIB+:} false; then :
3689 $as_echo_n "(cached) " >&6
3690 else
3691 if test -n "$OCAMLMKLIB"; then
3692 ac_cv_prog_OCAMLMKLIB="$OCAMLMKLIB" # Let the user override the test.
3693 else
3694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3695 for as_dir in $PATH
3697 IFS=$as_save_IFS
3698 test -z "$as_dir" && as_dir=.
3699 for ac_exec_ext in '' $ac_executable_extensions; do
3700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3701 ac_cv_prog_OCAMLMKLIB="${ac_tool_prefix}ocamlmklib"
3702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3703 break 2
3705 done
3706 done
3707 IFS=$as_save_IFS
3711 OCAMLMKLIB=$ac_cv_prog_OCAMLMKLIB
3712 if test -n "$OCAMLMKLIB"; then
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKLIB" >&5
3714 $as_echo "$OCAMLMKLIB" >&6; }
3715 else
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3717 $as_echo "no" >&6; }
3722 if test -z "$ac_cv_prog_OCAMLMKLIB"; then
3723 ac_ct_OCAMLMKLIB=$OCAMLMKLIB
3724 # Extract the first word of "ocamlmklib", so it can be a program name with args.
3725 set dummy ocamlmklib; ac_word=$2
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3727 $as_echo_n "checking for $ac_word... " >&6; }
3728 if ${ac_cv_prog_ac_ct_OCAMLMKLIB+:} false; then :
3729 $as_echo_n "(cached) " >&6
3730 else
3731 if test -n "$ac_ct_OCAMLMKLIB"; then
3732 ac_cv_prog_ac_ct_OCAMLMKLIB="$ac_ct_OCAMLMKLIB" # Let the user override the test.
3733 else
3734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3735 for as_dir in $PATH
3737 IFS=$as_save_IFS
3738 test -z "$as_dir" && as_dir=.
3739 for ac_exec_ext in '' $ac_executable_extensions; do
3740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3741 ac_cv_prog_ac_ct_OCAMLMKLIB="ocamlmklib"
3742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3743 break 2
3745 done
3746 done
3747 IFS=$as_save_IFS
3751 ac_ct_OCAMLMKLIB=$ac_cv_prog_ac_ct_OCAMLMKLIB
3752 if test -n "$ac_ct_OCAMLMKLIB"; then
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKLIB" >&5
3754 $as_echo "$ac_ct_OCAMLMKLIB" >&6; }
3755 else
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3757 $as_echo "no" >&6; }
3760 if test "x$ac_ct_OCAMLMKLIB" = x; then
3761 OCAMLMKLIB="no"
3762 else
3763 case $cross_compiling:$ac_tool_warned in
3764 yes:)
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3766 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3767 ac_tool_warned=yes ;;
3768 esac
3769 OCAMLMKLIB=$ac_ct_OCAMLMKLIB
3771 else
3772 OCAMLMKLIB="$ac_cv_prog_OCAMLMKLIB"
3776 # checking for ocamldoc
3777 if test -n "$ac_tool_prefix"; then
3778 # Extract the first word of "${ac_tool_prefix}ocamldoc", so it can be a program name with args.
3779 set dummy ${ac_tool_prefix}ocamldoc; ac_word=$2
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3781 $as_echo_n "checking for $ac_word... " >&6; }
3782 if ${ac_cv_prog_OCAMLDOC+:} false; then :
3783 $as_echo_n "(cached) " >&6
3784 else
3785 if test -n "$OCAMLDOC"; then
3786 ac_cv_prog_OCAMLDOC="$OCAMLDOC" # Let the user override the test.
3787 else
3788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3789 for as_dir in $PATH
3791 IFS=$as_save_IFS
3792 test -z "$as_dir" && as_dir=.
3793 for ac_exec_ext in '' $ac_executable_extensions; do
3794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3795 ac_cv_prog_OCAMLDOC="${ac_tool_prefix}ocamldoc"
3796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3797 break 2
3799 done
3800 done
3801 IFS=$as_save_IFS
3805 OCAMLDOC=$ac_cv_prog_OCAMLDOC
3806 if test -n "$OCAMLDOC"; then
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDOC" >&5
3808 $as_echo "$OCAMLDOC" >&6; }
3809 else
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3811 $as_echo "no" >&6; }
3816 if test -z "$ac_cv_prog_OCAMLDOC"; then
3817 ac_ct_OCAMLDOC=$OCAMLDOC
3818 # Extract the first word of "ocamldoc", so it can be a program name with args.
3819 set dummy ocamldoc; ac_word=$2
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3821 $as_echo_n "checking for $ac_word... " >&6; }
3822 if ${ac_cv_prog_ac_ct_OCAMLDOC+:} false; then :
3823 $as_echo_n "(cached) " >&6
3824 else
3825 if test -n "$ac_ct_OCAMLDOC"; then
3826 ac_cv_prog_ac_ct_OCAMLDOC="$ac_ct_OCAMLDOC" # Let the user override the test.
3827 else
3828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3829 for as_dir in $PATH
3831 IFS=$as_save_IFS
3832 test -z "$as_dir" && as_dir=.
3833 for ac_exec_ext in '' $ac_executable_extensions; do
3834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3835 ac_cv_prog_ac_ct_OCAMLDOC="ocamldoc"
3836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3837 break 2
3839 done
3840 done
3841 IFS=$as_save_IFS
3845 ac_ct_OCAMLDOC=$ac_cv_prog_ac_ct_OCAMLDOC
3846 if test -n "$ac_ct_OCAMLDOC"; then
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDOC" >&5
3848 $as_echo "$ac_ct_OCAMLDOC" >&6; }
3849 else
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3851 $as_echo "no" >&6; }
3854 if test "x$ac_ct_OCAMLDOC" = x; then
3855 OCAMLDOC="no"
3856 else
3857 case $cross_compiling:$ac_tool_warned in
3858 yes:)
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3860 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3861 ac_tool_warned=yes ;;
3862 esac
3863 OCAMLDOC=$ac_ct_OCAMLDOC
3865 else
3866 OCAMLDOC="$ac_cv_prog_OCAMLDOC"
3870 # checking for ocamlbuild
3871 if test -n "$ac_tool_prefix"; then
3872 # Extract the first word of "${ac_tool_prefix}ocamlbuild", so it can be a program name with args.
3873 set dummy ${ac_tool_prefix}ocamlbuild; ac_word=$2
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3875 $as_echo_n "checking for $ac_word... " >&6; }
3876 if ${ac_cv_prog_OCAMLBUILD+:} false; then :
3877 $as_echo_n "(cached) " >&6
3878 else
3879 if test -n "$OCAMLBUILD"; then
3880 ac_cv_prog_OCAMLBUILD="$OCAMLBUILD" # Let the user override the test.
3881 else
3882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3883 for as_dir in $PATH
3885 IFS=$as_save_IFS
3886 test -z "$as_dir" && as_dir=.
3887 for ac_exec_ext in '' $ac_executable_extensions; do
3888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3889 ac_cv_prog_OCAMLBUILD="${ac_tool_prefix}ocamlbuild"
3890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3891 break 2
3893 done
3894 done
3895 IFS=$as_save_IFS
3899 OCAMLBUILD=$ac_cv_prog_OCAMLBUILD
3900 if test -n "$OCAMLBUILD"; then
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLBUILD" >&5
3902 $as_echo "$OCAMLBUILD" >&6; }
3903 else
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3905 $as_echo "no" >&6; }
3910 if test -z "$ac_cv_prog_OCAMLBUILD"; then
3911 ac_ct_OCAMLBUILD=$OCAMLBUILD
3912 # Extract the first word of "ocamlbuild", so it can be a program name with args.
3913 set dummy ocamlbuild; ac_word=$2
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3915 $as_echo_n "checking for $ac_word... " >&6; }
3916 if ${ac_cv_prog_ac_ct_OCAMLBUILD+:} false; then :
3917 $as_echo_n "(cached) " >&6
3918 else
3919 if test -n "$ac_ct_OCAMLBUILD"; then
3920 ac_cv_prog_ac_ct_OCAMLBUILD="$ac_ct_OCAMLBUILD" # Let the user override the test.
3921 else
3922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3923 for as_dir in $PATH
3925 IFS=$as_save_IFS
3926 test -z "$as_dir" && as_dir=.
3927 for ac_exec_ext in '' $ac_executable_extensions; do
3928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3929 ac_cv_prog_ac_ct_OCAMLBUILD="ocamlbuild"
3930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3931 break 2
3933 done
3934 done
3935 IFS=$as_save_IFS
3939 ac_ct_OCAMLBUILD=$ac_cv_prog_ac_ct_OCAMLBUILD
3940 if test -n "$ac_ct_OCAMLBUILD"; then
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLBUILD" >&5
3942 $as_echo "$ac_ct_OCAMLBUILD" >&6; }
3943 else
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3945 $as_echo "no" >&6; }
3948 if test "x$ac_ct_OCAMLBUILD" = x; then
3949 OCAMLBUILD="no"
3950 else
3951 case $cross_compiling:$ac_tool_warned in
3952 yes:)
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3955 ac_tool_warned=yes ;;
3956 esac
3957 OCAMLBUILD=$ac_ct_OCAMLBUILD
3959 else
3960 OCAMLBUILD="$ac_cv_prog_OCAMLBUILD"
3965 # checking for ocamlfind
3966 if test -n "$ac_tool_prefix"; then
3967 # Extract the first word of "${ac_tool_prefix}ocamlfind", so it can be a program name with args.
3968 set dummy ${ac_tool_prefix}ocamlfind; ac_word=$2
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3970 $as_echo_n "checking for $ac_word... " >&6; }
3971 if ${ac_cv_prog_OCAMLFIND+:} false; then :
3972 $as_echo_n "(cached) " >&6
3973 else
3974 if test -n "$OCAMLFIND"; then
3975 ac_cv_prog_OCAMLFIND="$OCAMLFIND" # Let the user override the test.
3976 else
3977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3978 for as_dir in $PATH
3980 IFS=$as_save_IFS
3981 test -z "$as_dir" && as_dir=.
3982 for ac_exec_ext in '' $ac_executable_extensions; do
3983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3984 ac_cv_prog_OCAMLFIND="${ac_tool_prefix}ocamlfind"
3985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3986 break 2
3988 done
3989 done
3990 IFS=$as_save_IFS
3994 OCAMLFIND=$ac_cv_prog_OCAMLFIND
3995 if test -n "$OCAMLFIND"; then
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLFIND" >&5
3997 $as_echo "$OCAMLFIND" >&6; }
3998 else
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4000 $as_echo "no" >&6; }
4005 if test -z "$ac_cv_prog_OCAMLFIND"; then
4006 ac_ct_OCAMLFIND=$OCAMLFIND
4007 # Extract the first word of "ocamlfind", so it can be a program name with args.
4008 set dummy ocamlfind; ac_word=$2
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4010 $as_echo_n "checking for $ac_word... " >&6; }
4011 if ${ac_cv_prog_ac_ct_OCAMLFIND+:} false; then :
4012 $as_echo_n "(cached) " >&6
4013 else
4014 if test -n "$ac_ct_OCAMLFIND"; then
4015 ac_cv_prog_ac_ct_OCAMLFIND="$ac_ct_OCAMLFIND" # Let the user override the test.
4016 else
4017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4018 for as_dir in $PATH
4020 IFS=$as_save_IFS
4021 test -z "$as_dir" && as_dir=.
4022 for ac_exec_ext in '' $ac_executable_extensions; do
4023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4024 ac_cv_prog_ac_ct_OCAMLFIND="ocamlfind"
4025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4026 break 2
4028 done
4029 done
4030 IFS=$as_save_IFS
4034 ac_ct_OCAMLFIND=$ac_cv_prog_ac_ct_OCAMLFIND
4035 if test -n "$ac_ct_OCAMLFIND"; then
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLFIND" >&5
4037 $as_echo "$ac_ct_OCAMLFIND" >&6; }
4038 else
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4040 $as_echo "no" >&6; }
4043 if test "x$ac_ct_OCAMLFIND" = x; then
4044 OCAMLFIND="no"
4045 else
4046 case $cross_compiling:$ac_tool_warned in
4047 yes:)
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4050 ac_tool_warned=yes ;;
4051 esac
4052 OCAMLFIND=$ac_ct_OCAMLFIND
4054 else
4055 OCAMLFIND="$ac_cv_prog_OCAMLFIND"
4061 INSTALLDIR=$OCAMLLIB/curl
4063 if test "x$prefix" = xNONE; then
4064 $as_echo_n "checking for prefix by " >&6
4065 # Extract the first word of "ocamlc", so it can be a program name with args.
4066 set dummy ocamlc; ac_word=$2
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4068 $as_echo_n "checking for $ac_word... " >&6; }
4069 if ${ac_cv_path_ac_prefix_program+:} false; then :
4070 $as_echo_n "(cached) " >&6
4071 else
4072 case $ac_prefix_program in
4073 [\\/]* | ?:[\\/]*)
4074 ac_cv_path_ac_prefix_program="$ac_prefix_program" # Let the user override the test with a path.
4077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4078 for as_dir in $PATH
4080 IFS=$as_save_IFS
4081 test -z "$as_dir" && as_dir=.
4082 for ac_exec_ext in '' $ac_executable_extensions; do
4083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4084 ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
4085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4086 break 2
4088 done
4089 done
4090 IFS=$as_save_IFS
4093 esac
4095 ac_prefix_program=$ac_cv_path_ac_prefix_program
4096 if test -n "$ac_prefix_program"; then
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prefix_program" >&5
4098 $as_echo "$ac_prefix_program" >&6; }
4099 else
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4101 $as_echo "no" >&6; }
4105 if test -n "$ac_prefix_program"; then
4106 prefix=`$as_dirname -- "$ac_prefix_program" ||
4107 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4108 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
4109 X"$ac_prefix_program" : 'X\(//\)$' \| \
4110 X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
4111 $as_echo X"$ac_prefix_program" |
4112 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4113 s//\1/
4116 /^X\(\/\/\)[^/].*/{
4117 s//\1/
4120 /^X\(\/\/\)$/{
4121 s//\1/
4124 /^X\(\/\).*/{
4125 s//\1/
4128 s/.*/./; q'`
4129 prefix=`$as_dirname -- "$prefix" ||
4130 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4131 X"$prefix" : 'X\(//\)[^/]' \| \
4132 X"$prefix" : 'X\(//\)$' \| \
4133 X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
4134 $as_echo X"$prefix" |
4135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4136 s//\1/
4139 /^X\(\/\/\)[^/].*/{
4140 s//\1/
4143 /^X\(\/\/\)$/{
4144 s//\1/
4147 /^X\(\/\).*/{
4148 s//\1/
4151 s/.*/./; q'`
4161 # set CFLAGS for tests below
4162 CFLAGS="$CFLAGS $CURLCFLAGS"
4165 ac_ext=c
4166 ac_cpp='$CPP $CPPFLAGS'
4167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4171 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4172 # On Suns, sometimes $CPP names a directory.
4173 if test -n "$CPP" && test -d "$CPP"; then
4174 CPP=
4176 if test -z "$CPP"; then
4177 if ${ac_cv_prog_CPP+:} false; then :
4178 $as_echo_n "(cached) " >&6
4179 else
4180 # Double quotes because CPP needs to be expanded
4181 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4183 ac_preproc_ok=false
4184 for ac_c_preproc_warn_flag in '' yes
4186 # Use a header file that comes with gcc, so configuring glibc
4187 # with a fresh cross-compiler works.
4188 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4189 # <limits.h> exists even on freestanding compilers.
4190 # On the NeXT, cc -E runs the code through the compiler's parser,
4191 # not just through cpp. "Syntax error" is here to catch this case.
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4194 #ifdef __STDC__
4195 # include <limits.h>
4196 #else
4197 # include <assert.h>
4198 #endif
4199 Syntax error
4200 _ACEOF
4201 if ac_fn_c_try_cpp "$LINENO"; then :
4203 else
4204 # Broken: fails on valid input.
4205 continue
4207 rm -f conftest.err conftest.i conftest.$ac_ext
4209 # OK, works on sane cases. Now check whether nonexistent headers
4210 # can be detected and how.
4211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212 /* end confdefs.h. */
4213 #include <ac_nonexistent.h>
4214 _ACEOF
4215 if ac_fn_c_try_cpp "$LINENO"; then :
4216 # Broken: success on invalid input.
4217 continue
4218 else
4219 # Passes both tests.
4220 ac_preproc_ok=:
4221 break
4223 rm -f conftest.err conftest.i conftest.$ac_ext
4225 done
4226 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4227 rm -f conftest.i conftest.err conftest.$ac_ext
4228 if $ac_preproc_ok; then :
4229 break
4232 done
4233 ac_cv_prog_CPP=$CPP
4236 CPP=$ac_cv_prog_CPP
4237 else
4238 ac_cv_prog_CPP=$CPP
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4241 $as_echo "$CPP" >&6; }
4242 ac_preproc_ok=false
4243 for ac_c_preproc_warn_flag in '' yes
4245 # Use a header file that comes with gcc, so configuring glibc
4246 # with a fresh cross-compiler works.
4247 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4248 # <limits.h> exists even on freestanding compilers.
4249 # On the NeXT, cc -E runs the code through the compiler's parser,
4250 # not just through cpp. "Syntax error" is here to catch this case.
4251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4252 /* end confdefs.h. */
4253 #ifdef __STDC__
4254 # include <limits.h>
4255 #else
4256 # include <assert.h>
4257 #endif
4258 Syntax error
4259 _ACEOF
4260 if ac_fn_c_try_cpp "$LINENO"; then :
4262 else
4263 # Broken: fails on valid input.
4264 continue
4266 rm -f conftest.err conftest.i conftest.$ac_ext
4268 # OK, works on sane cases. Now check whether nonexistent headers
4269 # can be detected and how.
4270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4271 /* end confdefs.h. */
4272 #include <ac_nonexistent.h>
4273 _ACEOF
4274 if ac_fn_c_try_cpp "$LINENO"; then :
4275 # Broken: success on invalid input.
4276 continue
4277 else
4278 # Passes both tests.
4279 ac_preproc_ok=:
4280 break
4282 rm -f conftest.err conftest.i conftest.$ac_ext
4284 done
4285 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4286 rm -f conftest.i conftest.err conftest.$ac_ext
4287 if $ac_preproc_ok; then :
4289 else
4290 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4292 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4293 See \`config.log' for more details" "$LINENO" 5; }
4296 ac_ext=c
4297 ac_cpp='$CPP $CPPFLAGS'
4298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4304 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4305 if ${ac_cv_path_GREP+:} false; then :
4306 $as_echo_n "(cached) " >&6
4307 else
4308 if test -z "$GREP"; then
4309 ac_path_GREP_found=false
4310 # Loop through the user's path and test for each of PROGNAME-LIST
4311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4312 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4314 IFS=$as_save_IFS
4315 test -z "$as_dir" && as_dir=.
4316 for ac_prog in grep ggrep; do
4317 for ac_exec_ext in '' $ac_executable_extensions; do
4318 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4319 as_fn_executable_p "$ac_path_GREP" || continue
4320 # Check for GNU ac_path_GREP and select it if it is found.
4321 # Check for GNU $ac_path_GREP
4322 case `"$ac_path_GREP" --version 2>&1` in
4323 *GNU*)
4324 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4326 ac_count=0
4327 $as_echo_n 0123456789 >"conftest.in"
4328 while :
4330 cat "conftest.in" "conftest.in" >"conftest.tmp"
4331 mv "conftest.tmp" "conftest.in"
4332 cp "conftest.in" "conftest.nl"
4333 $as_echo 'GREP' >> "conftest.nl"
4334 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4335 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4336 as_fn_arith $ac_count + 1 && ac_count=$as_val
4337 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4338 # Best one so far, save it but keep looking for a better one
4339 ac_cv_path_GREP="$ac_path_GREP"
4340 ac_path_GREP_max=$ac_count
4342 # 10*(2^10) chars as input seems more than enough
4343 test $ac_count -gt 10 && break
4344 done
4345 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4346 esac
4348 $ac_path_GREP_found && break 3
4349 done
4350 done
4351 done
4352 IFS=$as_save_IFS
4353 if test -z "$ac_cv_path_GREP"; then
4354 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4356 else
4357 ac_cv_path_GREP=$GREP
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4362 $as_echo "$ac_cv_path_GREP" >&6; }
4363 GREP="$ac_cv_path_GREP"
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4367 $as_echo_n "checking for egrep... " >&6; }
4368 if ${ac_cv_path_EGREP+:} false; then :
4369 $as_echo_n "(cached) " >&6
4370 else
4371 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4372 then ac_cv_path_EGREP="$GREP -E"
4373 else
4374 if test -z "$EGREP"; then
4375 ac_path_EGREP_found=false
4376 # Loop through the user's path and test for each of PROGNAME-LIST
4377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4378 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4380 IFS=$as_save_IFS
4381 test -z "$as_dir" && as_dir=.
4382 for ac_prog in egrep; do
4383 for ac_exec_ext in '' $ac_executable_extensions; do
4384 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4385 as_fn_executable_p "$ac_path_EGREP" || continue
4386 # Check for GNU ac_path_EGREP and select it if it is found.
4387 # Check for GNU $ac_path_EGREP
4388 case `"$ac_path_EGREP" --version 2>&1` in
4389 *GNU*)
4390 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4392 ac_count=0
4393 $as_echo_n 0123456789 >"conftest.in"
4394 while :
4396 cat "conftest.in" "conftest.in" >"conftest.tmp"
4397 mv "conftest.tmp" "conftest.in"
4398 cp "conftest.in" "conftest.nl"
4399 $as_echo 'EGREP' >> "conftest.nl"
4400 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4401 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4402 as_fn_arith $ac_count + 1 && ac_count=$as_val
4403 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4404 # Best one so far, save it but keep looking for a better one
4405 ac_cv_path_EGREP="$ac_path_EGREP"
4406 ac_path_EGREP_max=$ac_count
4408 # 10*(2^10) chars as input seems more than enough
4409 test $ac_count -gt 10 && break
4410 done
4411 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4412 esac
4414 $ac_path_EGREP_found && break 3
4415 done
4416 done
4417 done
4418 IFS=$as_save_IFS
4419 if test -z "$ac_cv_path_EGREP"; then
4420 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4422 else
4423 ac_cv_path_EGREP=$EGREP
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4429 $as_echo "$ac_cv_path_EGREP" >&6; }
4430 EGREP="$ac_cv_path_EGREP"
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4434 $as_echo_n "checking for ANSI C header files... " >&6; }
4435 if ${ac_cv_header_stdc+:} false; then :
4436 $as_echo_n "(cached) " >&6
4437 else
4438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4439 /* end confdefs.h. */
4440 #include <stdlib.h>
4441 #include <stdarg.h>
4442 #include <string.h>
4443 #include <float.h>
4446 main ()
4450 return 0;
4452 _ACEOF
4453 if ac_fn_c_try_compile "$LINENO"; then :
4454 ac_cv_header_stdc=yes
4455 else
4456 ac_cv_header_stdc=no
4458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4460 if test $ac_cv_header_stdc = yes; then
4461 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4463 /* end confdefs.h. */
4464 #include <string.h>
4466 _ACEOF
4467 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4468 $EGREP "memchr" >/dev/null 2>&1; then :
4470 else
4471 ac_cv_header_stdc=no
4473 rm -f conftest*
4477 if test $ac_cv_header_stdc = yes; then
4478 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4480 /* end confdefs.h. */
4481 #include <stdlib.h>
4483 _ACEOF
4484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4485 $EGREP "free" >/dev/null 2>&1; then :
4487 else
4488 ac_cv_header_stdc=no
4490 rm -f conftest*
4494 if test $ac_cv_header_stdc = yes; then
4495 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4496 if test "$cross_compiling" = yes; then :
4498 else
4499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4500 /* end confdefs.h. */
4501 #include <ctype.h>
4502 #include <stdlib.h>
4503 #if ((' ' & 0x0FF) == 0x020)
4504 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4505 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4506 #else
4507 # define ISLOWER(c) \
4508 (('a' <= (c) && (c) <= 'i') \
4509 || ('j' <= (c) && (c) <= 'r') \
4510 || ('s' <= (c) && (c) <= 'z'))
4511 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4512 #endif
4514 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4516 main ()
4518 int i;
4519 for (i = 0; i < 256; i++)
4520 if (XOR (islower (i), ISLOWER (i))
4521 || toupper (i) != TOUPPER (i))
4522 return 2;
4523 return 0;
4525 _ACEOF
4526 if ac_fn_c_try_run "$LINENO"; then :
4528 else
4529 ac_cv_header_stdc=no
4531 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4532 conftest.$ac_objext conftest.beam conftest.$ac_ext
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4538 $as_echo "$ac_cv_header_stdc" >&6; }
4539 if test $ac_cv_header_stdc = yes; then
4541 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4545 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4546 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4547 inttypes.h stdint.h unistd.h
4548 do :
4549 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4550 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4552 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4553 cat >>confdefs.h <<_ACEOF
4554 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4555 _ACEOF
4559 done
4562 for ac_header in curl/curl.h
4563 do :
4564 ac_fn_c_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
4565 if test "x$ac_cv_header_curl_curl_h" = xyes; then :
4566 cat >>confdefs.h <<_ACEOF
4567 #define HAVE_CURL_CURL_H 1
4568 _ACEOF
4570 else
4571 as_fn_error $? "libcurl header file missing" "$LINENO" 5
4574 done
4577 ac_fn_c_check_decl "$LINENO" "CURLOPT_FILE" "ac_cv_have_decl_CURLOPT_FILE" "
4578 #include \"curl/curl.h\"
4581 if test "x$ac_cv_have_decl_CURLOPT_FILE" = xyes; then :
4582 ac_have_decl=1
4583 else
4584 ac_have_decl=0
4587 cat >>confdefs.h <<_ACEOF
4588 #define HAVE_DECL_CURLOPT_FILE $ac_have_decl
4589 _ACEOF
4590 ac_fn_c_check_decl "$LINENO" "CURLOPT_URL" "ac_cv_have_decl_CURLOPT_URL" "
4591 #include \"curl/curl.h\"
4594 if test "x$ac_cv_have_decl_CURLOPT_URL" = xyes; then :
4595 ac_have_decl=1
4596 else
4597 ac_have_decl=0
4600 cat >>confdefs.h <<_ACEOF
4601 #define HAVE_DECL_CURLOPT_URL $ac_have_decl
4602 _ACEOF
4603 ac_fn_c_check_decl "$LINENO" "CURLOPT_PORT" "ac_cv_have_decl_CURLOPT_PORT" "
4604 #include \"curl/curl.h\"
4607 if test "x$ac_cv_have_decl_CURLOPT_PORT" = xyes; then :
4608 ac_have_decl=1
4609 else
4610 ac_have_decl=0
4613 cat >>confdefs.h <<_ACEOF
4614 #define HAVE_DECL_CURLOPT_PORT $ac_have_decl
4615 _ACEOF
4616 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXY" "ac_cv_have_decl_CURLOPT_PROXY" "
4617 #include \"curl/curl.h\"
4620 if test "x$ac_cv_have_decl_CURLOPT_PROXY" = xyes; then :
4621 ac_have_decl=1
4622 else
4623 ac_have_decl=0
4626 cat >>confdefs.h <<_ACEOF
4627 #define HAVE_DECL_CURLOPT_PROXY $ac_have_decl
4628 _ACEOF
4629 ac_fn_c_check_decl "$LINENO" "CURLOPT_USERPWD" "ac_cv_have_decl_CURLOPT_USERPWD" "
4630 #include \"curl/curl.h\"
4633 if test "x$ac_cv_have_decl_CURLOPT_USERPWD" = xyes; then :
4634 ac_have_decl=1
4635 else
4636 ac_have_decl=0
4639 cat >>confdefs.h <<_ACEOF
4640 #define HAVE_DECL_CURLOPT_USERPWD $ac_have_decl
4641 _ACEOF
4642 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYUSERPWD" "ac_cv_have_decl_CURLOPT_PROXYUSERPWD" "
4643 #include \"curl/curl.h\"
4646 if test "x$ac_cv_have_decl_CURLOPT_PROXYUSERPWD" = xyes; then :
4647 ac_have_decl=1
4648 else
4649 ac_have_decl=0
4652 cat >>confdefs.h <<_ACEOF
4653 #define HAVE_DECL_CURLOPT_PROXYUSERPWD $ac_have_decl
4654 _ACEOF
4655 ac_fn_c_check_decl "$LINENO" "CURLOPT_RANGE" "ac_cv_have_decl_CURLOPT_RANGE" "
4656 #include \"curl/curl.h\"
4659 if test "x$ac_cv_have_decl_CURLOPT_RANGE" = xyes; then :
4660 ac_have_decl=1
4661 else
4662 ac_have_decl=0
4665 cat >>confdefs.h <<_ACEOF
4666 #define HAVE_DECL_CURLOPT_RANGE $ac_have_decl
4667 _ACEOF
4668 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILE" "ac_cv_have_decl_CURLOPT_INFILE" "
4669 #include \"curl/curl.h\"
4672 if test "x$ac_cv_have_decl_CURLOPT_INFILE" = xyes; then :
4673 ac_have_decl=1
4674 else
4675 ac_have_decl=0
4678 cat >>confdefs.h <<_ACEOF
4679 #define HAVE_DECL_CURLOPT_INFILE $ac_have_decl
4680 _ACEOF
4681 ac_fn_c_check_decl "$LINENO" "CURLOPT_ERRORBUFFER" "ac_cv_have_decl_CURLOPT_ERRORBUFFER" "
4682 #include \"curl/curl.h\"
4685 if test "x$ac_cv_have_decl_CURLOPT_ERRORBUFFER" = xyes; then :
4686 ac_have_decl=1
4687 else
4688 ac_have_decl=0
4691 cat >>confdefs.h <<_ACEOF
4692 #define HAVE_DECL_CURLOPT_ERRORBUFFER $ac_have_decl
4693 _ACEOF
4694 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEFUNCTION" "ac_cv_have_decl_CURLOPT_WRITEFUNCTION" "
4695 #include \"curl/curl.h\"
4698 if test "x$ac_cv_have_decl_CURLOPT_WRITEFUNCTION" = xyes; then :
4699 ac_have_decl=1
4700 else
4701 ac_have_decl=0
4704 cat >>confdefs.h <<_ACEOF
4705 #define HAVE_DECL_CURLOPT_WRITEFUNCTION $ac_have_decl
4706 _ACEOF
4707 ac_fn_c_check_decl "$LINENO" "CURLOPT_READFUNCTION" "ac_cv_have_decl_CURLOPT_READFUNCTION" "
4708 #include \"curl/curl.h\"
4711 if test "x$ac_cv_have_decl_CURLOPT_READFUNCTION" = xyes; then :
4712 ac_have_decl=1
4713 else
4714 ac_have_decl=0
4717 cat >>confdefs.h <<_ACEOF
4718 #define HAVE_DECL_CURLOPT_READFUNCTION $ac_have_decl
4719 _ACEOF
4720 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEOUT" "ac_cv_have_decl_CURLOPT_TIMEOUT" "
4721 #include \"curl/curl.h\"
4724 if test "x$ac_cv_have_decl_CURLOPT_TIMEOUT" = xyes; then :
4725 ac_have_decl=1
4726 else
4727 ac_have_decl=0
4730 cat >>confdefs.h <<_ACEOF
4731 #define HAVE_DECL_CURLOPT_TIMEOUT $ac_have_decl
4732 _ACEOF
4733 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILESIZE" "ac_cv_have_decl_CURLOPT_INFILESIZE" "
4734 #include \"curl/curl.h\"
4737 if test "x$ac_cv_have_decl_CURLOPT_INFILESIZE" = xyes; then :
4738 ac_have_decl=1
4739 else
4740 ac_have_decl=0
4743 cat >>confdefs.h <<_ACEOF
4744 #define HAVE_DECL_CURLOPT_INFILESIZE $ac_have_decl
4745 _ACEOF
4746 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDS" "ac_cv_have_decl_CURLOPT_POSTFIELDS" "
4747 #include \"curl/curl.h\"
4750 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDS" = xyes; then :
4751 ac_have_decl=1
4752 else
4753 ac_have_decl=0
4756 cat >>confdefs.h <<_ACEOF
4757 #define HAVE_DECL_CURLOPT_POSTFIELDS $ac_have_decl
4758 _ACEOF
4759 ac_fn_c_check_decl "$LINENO" "CURLOPT_REFERER" "ac_cv_have_decl_CURLOPT_REFERER" "
4760 #include \"curl/curl.h\"
4763 if test "x$ac_cv_have_decl_CURLOPT_REFERER" = xyes; then :
4764 ac_have_decl=1
4765 else
4766 ac_have_decl=0
4769 cat >>confdefs.h <<_ACEOF
4770 #define HAVE_DECL_CURLOPT_REFERER $ac_have_decl
4771 _ACEOF
4772 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPPORT" "ac_cv_have_decl_CURLOPT_FTPPORT" "
4773 #include \"curl/curl.h\"
4776 if test "x$ac_cv_have_decl_CURLOPT_FTPPORT" = xyes; then :
4777 ac_have_decl=1
4778 else
4779 ac_have_decl=0
4782 cat >>confdefs.h <<_ACEOF
4783 #define HAVE_DECL_CURLOPT_FTPPORT $ac_have_decl
4784 _ACEOF
4785 ac_fn_c_check_decl "$LINENO" "CURLOPT_USERAGENT" "ac_cv_have_decl_CURLOPT_USERAGENT" "
4786 #include \"curl/curl.h\"
4789 if test "x$ac_cv_have_decl_CURLOPT_USERAGENT" = xyes; then :
4790 ac_have_decl=1
4791 else
4792 ac_have_decl=0
4795 cat >>confdefs.h <<_ACEOF
4796 #define HAVE_DECL_CURLOPT_USERAGENT $ac_have_decl
4797 _ACEOF
4798 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOW_SPEED_LIMIT" "ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" "
4799 #include \"curl/curl.h\"
4802 if test "x$ac_cv_have_decl_CURLOPT_LOW_SPEED_LIMIT" = xyes; then :
4803 ac_have_decl=1
4804 else
4805 ac_have_decl=0
4808 cat >>confdefs.h <<_ACEOF
4809 #define HAVE_DECL_CURLOPT_LOW_SPEED_LIMIT $ac_have_decl
4810 _ACEOF
4811 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOW_SPEED_TIME" "ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" "
4812 #include \"curl/curl.h\"
4815 if test "x$ac_cv_have_decl_CURLOPT_LOW_SPEED_TIME" = xyes; then :
4816 ac_have_decl=1
4817 else
4818 ac_have_decl=0
4821 cat >>confdefs.h <<_ACEOF
4822 #define HAVE_DECL_CURLOPT_LOW_SPEED_TIME $ac_have_decl
4823 _ACEOF
4824 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESUME_FROM" "ac_cv_have_decl_CURLOPT_RESUME_FROM" "
4825 #include \"curl/curl.h\"
4828 if test "x$ac_cv_have_decl_CURLOPT_RESUME_FROM" = xyes; then :
4829 ac_have_decl=1
4830 else
4831 ac_have_decl=0
4834 cat >>confdefs.h <<_ACEOF
4835 #define HAVE_DECL_CURLOPT_RESUME_FROM $ac_have_decl
4836 _ACEOF
4837 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIE" "ac_cv_have_decl_CURLOPT_COOKIE" "
4838 #include \"curl/curl.h\"
4841 if test "x$ac_cv_have_decl_CURLOPT_COOKIE" = xyes; then :
4842 ac_have_decl=1
4843 else
4844 ac_have_decl=0
4847 cat >>confdefs.h <<_ACEOF
4848 #define HAVE_DECL_CURLOPT_COOKIE $ac_have_decl
4849 _ACEOF
4850 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPHEADER" "ac_cv_have_decl_CURLOPT_HTTPHEADER" "
4851 #include \"curl/curl.h\"
4854 if test "x$ac_cv_have_decl_CURLOPT_HTTPHEADER" = xyes; then :
4855 ac_have_decl=1
4856 else
4857 ac_have_decl=0
4860 cat >>confdefs.h <<_ACEOF
4861 #define HAVE_DECL_CURLOPT_HTTPHEADER $ac_have_decl
4862 _ACEOF
4863 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPPOST" "ac_cv_have_decl_CURLOPT_HTTPPOST" "
4864 #include \"curl/curl.h\"
4867 if test "x$ac_cv_have_decl_CURLOPT_HTTPPOST" = xyes; then :
4868 ac_have_decl=1
4869 else
4870 ac_have_decl=0
4873 cat >>confdefs.h <<_ACEOF
4874 #define HAVE_DECL_CURLOPT_HTTPPOST $ac_have_decl
4875 _ACEOF
4876 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERT" "ac_cv_have_decl_CURLOPT_SSLCERT" "
4877 #include \"curl/curl.h\"
4880 if test "x$ac_cv_have_decl_CURLOPT_SSLCERT" = xyes; then :
4881 ac_have_decl=1
4882 else
4883 ac_have_decl=0
4886 cat >>confdefs.h <<_ACEOF
4887 #define HAVE_DECL_CURLOPT_SSLCERT $ac_have_decl
4888 _ACEOF
4889 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERTPASSWD" "ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" "
4890 #include \"curl/curl.h\"
4893 if test "x$ac_cv_have_decl_CURLOPT_SSLCERTPASSWD" = xyes; then :
4894 ac_have_decl=1
4895 else
4896 ac_have_decl=0
4899 cat >>confdefs.h <<_ACEOF
4900 #define HAVE_DECL_CURLOPT_SSLCERTPASSWD $ac_have_decl
4901 _ACEOF
4902 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEYPASSWD" "ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" "
4903 #include \"curl/curl.h\"
4906 if test "x$ac_cv_have_decl_CURLOPT_SSLKEYPASSWD" = xyes; then :
4907 ac_have_decl=1
4908 else
4909 ac_have_decl=0
4912 cat >>confdefs.h <<_ACEOF
4913 #define HAVE_DECL_CURLOPT_SSLKEYPASSWD $ac_have_decl
4914 _ACEOF
4915 ac_fn_c_check_decl "$LINENO" "CURLOPT_CRLF" "ac_cv_have_decl_CURLOPT_CRLF" "
4916 #include \"curl/curl.h\"
4919 if test "x$ac_cv_have_decl_CURLOPT_CRLF" = xyes; then :
4920 ac_have_decl=1
4921 else
4922 ac_have_decl=0
4925 cat >>confdefs.h <<_ACEOF
4926 #define HAVE_DECL_CURLOPT_CRLF $ac_have_decl
4927 _ACEOF
4928 ac_fn_c_check_decl "$LINENO" "CURLOPT_QUOTE" "ac_cv_have_decl_CURLOPT_QUOTE" "
4929 #include \"curl/curl.h\"
4932 if test "x$ac_cv_have_decl_CURLOPT_QUOTE" = xyes; then :
4933 ac_have_decl=1
4934 else
4935 ac_have_decl=0
4938 cat >>confdefs.h <<_ACEOF
4939 #define HAVE_DECL_CURLOPT_QUOTE $ac_have_decl
4940 _ACEOF
4941 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEHEADER" "ac_cv_have_decl_CURLOPT_WRITEHEADER" "
4942 #include \"curl/curl.h\"
4945 if test "x$ac_cv_have_decl_CURLOPT_WRITEHEADER" = xyes; then :
4946 ac_have_decl=1
4947 else
4948 ac_have_decl=0
4951 cat >>confdefs.h <<_ACEOF
4952 #define HAVE_DECL_CURLOPT_WRITEHEADER $ac_have_decl
4953 _ACEOF
4954 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIEFILE" "ac_cv_have_decl_CURLOPT_COOKIEFILE" "
4955 #include \"curl/curl.h\"
4958 if test "x$ac_cv_have_decl_CURLOPT_COOKIEFILE" = xyes; then :
4959 ac_have_decl=1
4960 else
4961 ac_have_decl=0
4964 cat >>confdefs.h <<_ACEOF
4965 #define HAVE_DECL_CURLOPT_COOKIEFILE $ac_have_decl
4966 _ACEOF
4967 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLVERSION" "ac_cv_have_decl_CURLOPT_SSLVERSION" "
4968 #include \"curl/curl.h\"
4971 if test "x$ac_cv_have_decl_CURLOPT_SSLVERSION" = xyes; then :
4972 ac_have_decl=1
4973 else
4974 ac_have_decl=0
4977 cat >>confdefs.h <<_ACEOF
4978 #define HAVE_DECL_CURLOPT_SSLVERSION $ac_have_decl
4979 _ACEOF
4980 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMECONDITION" "ac_cv_have_decl_CURLOPT_TIMECONDITION" "
4981 #include \"curl/curl.h\"
4984 if test "x$ac_cv_have_decl_CURLOPT_TIMECONDITION" = xyes; then :
4985 ac_have_decl=1
4986 else
4987 ac_have_decl=0
4990 cat >>confdefs.h <<_ACEOF
4991 #define HAVE_DECL_CURLOPT_TIMECONDITION $ac_have_decl
4992 _ACEOF
4993 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEVALUE" "ac_cv_have_decl_CURLOPT_TIMEVALUE" "
4994 #include \"curl/curl.h\"
4997 if test "x$ac_cv_have_decl_CURLOPT_TIMEVALUE" = xyes; then :
4998 ac_have_decl=1
4999 else
5000 ac_have_decl=0
5003 cat >>confdefs.h <<_ACEOF
5004 #define HAVE_DECL_CURLOPT_TIMEVALUE $ac_have_decl
5005 _ACEOF
5006 ac_fn_c_check_decl "$LINENO" "CURLOPT_CUSTOMREQUEST" "ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" "
5007 #include \"curl/curl.h\"
5010 if test "x$ac_cv_have_decl_CURLOPT_CUSTOMREQUEST" = xyes; then :
5011 ac_have_decl=1
5012 else
5013 ac_have_decl=0
5016 cat >>confdefs.h <<_ACEOF
5017 #define HAVE_DECL_CURLOPT_CUSTOMREQUEST $ac_have_decl
5018 _ACEOF
5019 ac_fn_c_check_decl "$LINENO" "CURLOPT_STDERR" "ac_cv_have_decl_CURLOPT_STDERR" "
5020 #include \"curl/curl.h\"
5023 if test "x$ac_cv_have_decl_CURLOPT_STDERR" = xyes; then :
5024 ac_have_decl=1
5025 else
5026 ac_have_decl=0
5029 cat >>confdefs.h <<_ACEOF
5030 #define HAVE_DECL_CURLOPT_STDERR $ac_have_decl
5031 _ACEOF
5032 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTQUOTE" "ac_cv_have_decl_CURLOPT_POSTQUOTE" "
5033 #include \"curl/curl.h\"
5036 if test "x$ac_cv_have_decl_CURLOPT_POSTQUOTE" = xyes; then :
5037 ac_have_decl=1
5038 else
5039 ac_have_decl=0
5042 cat >>confdefs.h <<_ACEOF
5043 #define HAVE_DECL_CURLOPT_POSTQUOTE $ac_have_decl
5044 _ACEOF
5045 ac_fn_c_check_decl "$LINENO" "CURLOPT_WRITEINFO" "ac_cv_have_decl_CURLOPT_WRITEINFO" "
5046 #include \"curl/curl.h\"
5049 if test "x$ac_cv_have_decl_CURLOPT_WRITEINFO" = xyes; then :
5050 ac_have_decl=1
5051 else
5052 ac_have_decl=0
5055 cat >>confdefs.h <<_ACEOF
5056 #define HAVE_DECL_CURLOPT_WRITEINFO $ac_have_decl
5057 _ACEOF
5058 ac_fn_c_check_decl "$LINENO" "CURLOPT_VERBOSE" "ac_cv_have_decl_CURLOPT_VERBOSE" "
5059 #include \"curl/curl.h\"
5062 if test "x$ac_cv_have_decl_CURLOPT_VERBOSE" = xyes; then :
5063 ac_have_decl=1
5064 else
5065 ac_have_decl=0
5068 cat >>confdefs.h <<_ACEOF
5069 #define HAVE_DECL_CURLOPT_VERBOSE $ac_have_decl
5070 _ACEOF
5071 ac_fn_c_check_decl "$LINENO" "CURLOPT_HEADER" "ac_cv_have_decl_CURLOPT_HEADER" "
5072 #include \"curl/curl.h\"
5075 if test "x$ac_cv_have_decl_CURLOPT_HEADER" = xyes; then :
5076 ac_have_decl=1
5077 else
5078 ac_have_decl=0
5081 cat >>confdefs.h <<_ACEOF
5082 #define HAVE_DECL_CURLOPT_HEADER $ac_have_decl
5083 _ACEOF
5084 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOPROGRESS" "ac_cv_have_decl_CURLOPT_NOPROGRESS" "
5085 #include \"curl/curl.h\"
5088 if test "x$ac_cv_have_decl_CURLOPT_NOPROGRESS" = xyes; then :
5089 ac_have_decl=1
5090 else
5091 ac_have_decl=0
5094 cat >>confdefs.h <<_ACEOF
5095 #define HAVE_DECL_CURLOPT_NOPROGRESS $ac_have_decl
5096 _ACEOF
5097 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOBODY" "ac_cv_have_decl_CURLOPT_NOBODY" "
5098 #include \"curl/curl.h\"
5101 if test "x$ac_cv_have_decl_CURLOPT_NOBODY" = xyes; then :
5102 ac_have_decl=1
5103 else
5104 ac_have_decl=0
5107 cat >>confdefs.h <<_ACEOF
5108 #define HAVE_DECL_CURLOPT_NOBODY $ac_have_decl
5109 _ACEOF
5110 ac_fn_c_check_decl "$LINENO" "CURLOPT_FAILONERROR" "ac_cv_have_decl_CURLOPT_FAILONERROR" "
5111 #include \"curl/curl.h\"
5114 if test "x$ac_cv_have_decl_CURLOPT_FAILONERROR" = xyes; then :
5115 ac_have_decl=1
5116 else
5117 ac_have_decl=0
5120 cat >>confdefs.h <<_ACEOF
5121 #define HAVE_DECL_CURLOPT_FAILONERROR $ac_have_decl
5122 _ACEOF
5123 ac_fn_c_check_decl "$LINENO" "CURLOPT_UPLOAD" "ac_cv_have_decl_CURLOPT_UPLOAD" "
5124 #include \"curl/curl.h\"
5127 if test "x$ac_cv_have_decl_CURLOPT_UPLOAD" = xyes; then :
5128 ac_have_decl=1
5129 else
5130 ac_have_decl=0
5133 cat >>confdefs.h <<_ACEOF
5134 #define HAVE_DECL_CURLOPT_UPLOAD $ac_have_decl
5135 _ACEOF
5136 ac_fn_c_check_decl "$LINENO" "CURLOPT_POST" "ac_cv_have_decl_CURLOPT_POST" "
5137 #include \"curl/curl.h\"
5140 if test "x$ac_cv_have_decl_CURLOPT_POST" = xyes; then :
5141 ac_have_decl=1
5142 else
5143 ac_have_decl=0
5146 cat >>confdefs.h <<_ACEOF
5147 #define HAVE_DECL_CURLOPT_POST $ac_have_decl
5148 _ACEOF
5149 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPLISTONLY" "ac_cv_have_decl_CURLOPT_FTPLISTONLY" "
5150 #include \"curl/curl.h\"
5153 if test "x$ac_cv_have_decl_CURLOPT_FTPLISTONLY" = xyes; then :
5154 ac_have_decl=1
5155 else
5156 ac_have_decl=0
5159 cat >>confdefs.h <<_ACEOF
5160 #define HAVE_DECL_CURLOPT_FTPLISTONLY $ac_have_decl
5161 _ACEOF
5162 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPAPPEND" "ac_cv_have_decl_CURLOPT_FTPAPPEND" "
5163 #include \"curl/curl.h\"
5166 if test "x$ac_cv_have_decl_CURLOPT_FTPAPPEND" = xyes; then :
5167 ac_have_decl=1
5168 else
5169 ac_have_decl=0
5172 cat >>confdefs.h <<_ACEOF
5173 #define HAVE_DECL_CURLOPT_FTPAPPEND $ac_have_decl
5174 _ACEOF
5175 ac_fn_c_check_decl "$LINENO" "CURLOPT_NETRC" "ac_cv_have_decl_CURLOPT_NETRC" "
5176 #include \"curl/curl.h\"
5179 if test "x$ac_cv_have_decl_CURLOPT_NETRC" = xyes; then :
5180 ac_have_decl=1
5181 else
5182 ac_have_decl=0
5185 cat >>confdefs.h <<_ACEOF
5186 #define HAVE_DECL_CURLOPT_NETRC $ac_have_decl
5187 _ACEOF
5188 ac_fn_c_check_decl "$LINENO" "CURLOPT_FOLLOWLOCATION" "ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" "
5189 #include \"curl/curl.h\"
5192 if test "x$ac_cv_have_decl_CURLOPT_FOLLOWLOCATION" = xyes; then :
5193 ac_have_decl=1
5194 else
5195 ac_have_decl=0
5198 cat >>confdefs.h <<_ACEOF
5199 #define HAVE_DECL_CURLOPT_FOLLOWLOCATION $ac_have_decl
5200 _ACEOF
5201 ac_fn_c_check_decl "$LINENO" "CURLOPT_TRANSFERTEXT" "ac_cv_have_decl_CURLOPT_TRANSFERTEXT" "
5202 #include \"curl/curl.h\"
5205 if test "x$ac_cv_have_decl_CURLOPT_TRANSFERTEXT" = xyes; then :
5206 ac_have_decl=1
5207 else
5208 ac_have_decl=0
5211 cat >>confdefs.h <<_ACEOF
5212 #define HAVE_DECL_CURLOPT_TRANSFERTEXT $ac_have_decl
5213 _ACEOF
5214 ac_fn_c_check_decl "$LINENO" "CURLOPT_PUT" "ac_cv_have_decl_CURLOPT_PUT" "
5215 #include \"curl/curl.h\"
5218 if test "x$ac_cv_have_decl_CURLOPT_PUT" = xyes; then :
5219 ac_have_decl=1
5220 else
5221 ac_have_decl=0
5224 cat >>confdefs.h <<_ACEOF
5225 #define HAVE_DECL_CURLOPT_PUT $ac_have_decl
5226 _ACEOF
5227 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROGRESSFUNCTION" "ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" "
5228 #include \"curl/curl.h\"
5231 if test "x$ac_cv_have_decl_CURLOPT_PROGRESSFUNCTION" = xyes; then :
5232 ac_have_decl=1
5233 else
5234 ac_have_decl=0
5237 cat >>confdefs.h <<_ACEOF
5238 #define HAVE_DECL_CURLOPT_PROGRESSFUNCTION $ac_have_decl
5239 _ACEOF
5240 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROGRESSDATA" "ac_cv_have_decl_CURLOPT_PROGRESSDATA" "
5241 #include \"curl/curl.h\"
5244 if test "x$ac_cv_have_decl_CURLOPT_PROGRESSDATA" = xyes; then :
5245 ac_have_decl=1
5246 else
5247 ac_have_decl=0
5250 cat >>confdefs.h <<_ACEOF
5251 #define HAVE_DECL_CURLOPT_PROGRESSDATA $ac_have_decl
5252 _ACEOF
5253 ac_fn_c_check_decl "$LINENO" "CURLOPT_AUTOREFERER" "ac_cv_have_decl_CURLOPT_AUTOREFERER" "
5254 #include \"curl/curl.h\"
5257 if test "x$ac_cv_have_decl_CURLOPT_AUTOREFERER" = xyes; then :
5258 ac_have_decl=1
5259 else
5260 ac_have_decl=0
5263 cat >>confdefs.h <<_ACEOF
5264 #define HAVE_DECL_CURLOPT_AUTOREFERER $ac_have_decl
5265 _ACEOF
5266 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYPORT" "ac_cv_have_decl_CURLOPT_PROXYPORT" "
5267 #include \"curl/curl.h\"
5270 if test "x$ac_cv_have_decl_CURLOPT_PROXYPORT" = xyes; then :
5271 ac_have_decl=1
5272 else
5273 ac_have_decl=0
5276 cat >>confdefs.h <<_ACEOF
5277 #define HAVE_DECL_CURLOPT_PROXYPORT $ac_have_decl
5278 _ACEOF
5279 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDSIZE" "ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" "
5280 #include \"curl/curl.h\"
5283 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE" = xyes; then :
5284 ac_have_decl=1
5285 else
5286 ac_have_decl=0
5289 cat >>confdefs.h <<_ACEOF
5290 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE $ac_have_decl
5291 _ACEOF
5292 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPPROXYTUNNEL" "ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" "
5293 #include \"curl/curl.h\"
5296 if test "x$ac_cv_have_decl_CURLOPT_HTTPPROXYTUNNEL" = xyes; then :
5297 ac_have_decl=1
5298 else
5299 ac_have_decl=0
5302 cat >>confdefs.h <<_ACEOF
5303 #define HAVE_DECL_CURLOPT_HTTPPROXYTUNNEL $ac_have_decl
5304 _ACEOF
5305 ac_fn_c_check_decl "$LINENO" "CURLOPT_INTERFACE" "ac_cv_have_decl_CURLOPT_INTERFACE" "
5306 #include \"curl/curl.h\"
5309 if test "x$ac_cv_have_decl_CURLOPT_INTERFACE" = xyes; then :
5310 ac_have_decl=1
5311 else
5312 ac_have_decl=0
5315 cat >>confdefs.h <<_ACEOF
5316 #define HAVE_DECL_CURLOPT_INTERFACE $ac_have_decl
5317 _ACEOF
5318 ac_fn_c_check_decl "$LINENO" "CURLOPT_KRB4LEVEL" "ac_cv_have_decl_CURLOPT_KRB4LEVEL" "
5319 #include \"curl/curl.h\"
5322 if test "x$ac_cv_have_decl_CURLOPT_KRB4LEVEL" = xyes; then :
5323 ac_have_decl=1
5324 else
5325 ac_have_decl=0
5328 cat >>confdefs.h <<_ACEOF
5329 #define HAVE_DECL_CURLOPT_KRB4LEVEL $ac_have_decl
5330 _ACEOF
5331 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_VERIFYPEER" "ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" "
5332 #include \"curl/curl.h\"
5335 if test "x$ac_cv_have_decl_CURLOPT_SSL_VERIFYPEER" = xyes; then :
5336 ac_have_decl=1
5337 else
5338 ac_have_decl=0
5341 cat >>confdefs.h <<_ACEOF
5342 #define HAVE_DECL_CURLOPT_SSL_VERIFYPEER $ac_have_decl
5343 _ACEOF
5344 ac_fn_c_check_decl "$LINENO" "CURLOPT_CAINFO" "ac_cv_have_decl_CURLOPT_CAINFO" "
5345 #include \"curl/curl.h\"
5348 if test "x$ac_cv_have_decl_CURLOPT_CAINFO" = xyes; then :
5349 ac_have_decl=1
5350 else
5351 ac_have_decl=0
5354 cat >>confdefs.h <<_ACEOF
5355 #define HAVE_DECL_CURLOPT_CAINFO $ac_have_decl
5356 _ACEOF
5357 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXREDIRS" "ac_cv_have_decl_CURLOPT_MAXREDIRS" "
5358 #include \"curl/curl.h\"
5361 if test "x$ac_cv_have_decl_CURLOPT_MAXREDIRS" = xyes; then :
5362 ac_have_decl=1
5363 else
5364 ac_have_decl=0
5367 cat >>confdefs.h <<_ACEOF
5368 #define HAVE_DECL_CURLOPT_MAXREDIRS $ac_have_decl
5369 _ACEOF
5370 ac_fn_c_check_decl "$LINENO" "CURLOPT_FILETIME" "ac_cv_have_decl_CURLOPT_FILETIME" "
5371 #include \"curl/curl.h\"
5374 if test "x$ac_cv_have_decl_CURLOPT_FILETIME" = xyes; then :
5375 ac_have_decl=1
5376 else
5377 ac_have_decl=0
5380 cat >>confdefs.h <<_ACEOF
5381 #define HAVE_DECL_CURLOPT_FILETIME $ac_have_decl
5382 _ACEOF
5383 ac_fn_c_check_decl "$LINENO" "CURLOPT_TELNETOPTIONS" "ac_cv_have_decl_CURLOPT_TELNETOPTIONS" "
5384 #include \"curl/curl.h\"
5387 if test "x$ac_cv_have_decl_CURLOPT_TELNETOPTIONS" = xyes; then :
5388 ac_have_decl=1
5389 else
5390 ac_have_decl=0
5393 cat >>confdefs.h <<_ACEOF
5394 #define HAVE_DECL_CURLOPT_TELNETOPTIONS $ac_have_decl
5395 _ACEOF
5396 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXCONNECTS" "ac_cv_have_decl_CURLOPT_MAXCONNECTS" "
5397 #include \"curl/curl.h\"
5400 if test "x$ac_cv_have_decl_CURLOPT_MAXCONNECTS" = xyes; then :
5401 ac_have_decl=1
5402 else
5403 ac_have_decl=0
5406 cat >>confdefs.h <<_ACEOF
5407 #define HAVE_DECL_CURLOPT_MAXCONNECTS $ac_have_decl
5408 _ACEOF
5409 ac_fn_c_check_decl "$LINENO" "CURLOPT_CLOSEPOLICY" "ac_cv_have_decl_CURLOPT_CLOSEPOLICY" "
5410 #include \"curl/curl.h\"
5413 if test "x$ac_cv_have_decl_CURLOPT_CLOSEPOLICY" = xyes; then :
5414 ac_have_decl=1
5415 else
5416 ac_have_decl=0
5419 cat >>confdefs.h <<_ACEOF
5420 #define HAVE_DECL_CURLOPT_CLOSEPOLICY $ac_have_decl
5421 _ACEOF
5422 ac_fn_c_check_decl "$LINENO" "CURLOPT_FRESH_CONNECT" "ac_cv_have_decl_CURLOPT_FRESH_CONNECT" "
5423 #include \"curl/curl.h\"
5426 if test "x$ac_cv_have_decl_CURLOPT_FRESH_CONNECT" = xyes; then :
5427 ac_have_decl=1
5428 else
5429 ac_have_decl=0
5432 cat >>confdefs.h <<_ACEOF
5433 #define HAVE_DECL_CURLOPT_FRESH_CONNECT $ac_have_decl
5434 _ACEOF
5435 ac_fn_c_check_decl "$LINENO" "CURLOPT_FORBID_REUSE" "ac_cv_have_decl_CURLOPT_FORBID_REUSE" "
5436 #include \"curl/curl.h\"
5439 if test "x$ac_cv_have_decl_CURLOPT_FORBID_REUSE" = xyes; then :
5440 ac_have_decl=1
5441 else
5442 ac_have_decl=0
5445 cat >>confdefs.h <<_ACEOF
5446 #define HAVE_DECL_CURLOPT_FORBID_REUSE $ac_have_decl
5447 _ACEOF
5448 ac_fn_c_check_decl "$LINENO" "CURLOPT_RANDOM_FILE" "ac_cv_have_decl_CURLOPT_RANDOM_FILE" "
5449 #include \"curl/curl.h\"
5452 if test "x$ac_cv_have_decl_CURLOPT_RANDOM_FILE" = xyes; then :
5453 ac_have_decl=1
5454 else
5455 ac_have_decl=0
5458 cat >>confdefs.h <<_ACEOF
5459 #define HAVE_DECL_CURLOPT_RANDOM_FILE $ac_have_decl
5460 _ACEOF
5461 ac_fn_c_check_decl "$LINENO" "CURLOPT_EGDSOCKET" "ac_cv_have_decl_CURLOPT_EGDSOCKET" "
5462 #include \"curl/curl.h\"
5465 if test "x$ac_cv_have_decl_CURLOPT_EGDSOCKET" = xyes; then :
5466 ac_have_decl=1
5467 else
5468 ac_have_decl=0
5471 cat >>confdefs.h <<_ACEOF
5472 #define HAVE_DECL_CURLOPT_EGDSOCKET $ac_have_decl
5473 _ACEOF
5474 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECTTIMEOUT" "ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" "
5475 #include \"curl/curl.h\"
5478 if test "x$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT" = xyes; then :
5479 ac_have_decl=1
5480 else
5481 ac_have_decl=0
5484 cat >>confdefs.h <<_ACEOF
5485 #define HAVE_DECL_CURLOPT_CONNECTTIMEOUT $ac_have_decl
5486 _ACEOF
5487 ac_fn_c_check_decl "$LINENO" "CURLOPT_HEADERFUNCTION" "ac_cv_have_decl_CURLOPT_HEADERFUNCTION" "
5488 #include \"curl/curl.h\"
5491 if test "x$ac_cv_have_decl_CURLOPT_HEADERFUNCTION" = xyes; then :
5492 ac_have_decl=1
5493 else
5494 ac_have_decl=0
5497 cat >>confdefs.h <<_ACEOF
5498 #define HAVE_DECL_CURLOPT_HEADERFUNCTION $ac_have_decl
5499 _ACEOF
5500 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPGET" "ac_cv_have_decl_CURLOPT_HTTPGET" "
5501 #include \"curl/curl.h\"
5504 if test "x$ac_cv_have_decl_CURLOPT_HTTPGET" = xyes; then :
5505 ac_have_decl=1
5506 else
5507 ac_have_decl=0
5510 cat >>confdefs.h <<_ACEOF
5511 #define HAVE_DECL_CURLOPT_HTTPGET $ac_have_decl
5512 _ACEOF
5513 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_VERIFYHOST" "ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" "
5514 #include \"curl/curl.h\"
5517 if test "x$ac_cv_have_decl_CURLOPT_SSL_VERIFYHOST" = xyes; then :
5518 ac_have_decl=1
5519 else
5520 ac_have_decl=0
5523 cat >>confdefs.h <<_ACEOF
5524 #define HAVE_DECL_CURLOPT_SSL_VERIFYHOST $ac_have_decl
5525 _ACEOF
5526 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIEJAR" "ac_cv_have_decl_CURLOPT_COOKIEJAR" "
5527 #include \"curl/curl.h\"
5530 if test "x$ac_cv_have_decl_CURLOPT_COOKIEJAR" = xyes; then :
5531 ac_have_decl=1
5532 else
5533 ac_have_decl=0
5536 cat >>confdefs.h <<_ACEOF
5537 #define HAVE_DECL_CURLOPT_COOKIEJAR $ac_have_decl
5538 _ACEOF
5539 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_CIPHER_LIST" "ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" "
5540 #include \"curl/curl.h\"
5543 if test "x$ac_cv_have_decl_CURLOPT_SSL_CIPHER_LIST" = xyes; then :
5544 ac_have_decl=1
5545 else
5546 ac_have_decl=0
5549 cat >>confdefs.h <<_ACEOF
5550 #define HAVE_DECL_CURLOPT_SSL_CIPHER_LIST $ac_have_decl
5551 _ACEOF
5552 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_VERSION" "ac_cv_have_decl_CURLOPT_HTTP_VERSION" "
5553 #include \"curl/curl.h\"
5556 if test "x$ac_cv_have_decl_CURLOPT_HTTP_VERSION" = xyes; then :
5557 ac_have_decl=1
5558 else
5559 ac_have_decl=0
5562 cat >>confdefs.h <<_ACEOF
5563 #define HAVE_DECL_CURLOPT_HTTP_VERSION $ac_have_decl
5564 _ACEOF
5565 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_USE_EPSV" "ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" "
5566 #include \"curl/curl.h\"
5569 if test "x$ac_cv_have_decl_CURLOPT_FTP_USE_EPSV" = xyes; then :
5570 ac_have_decl=1
5571 else
5572 ac_have_decl=0
5575 cat >>confdefs.h <<_ACEOF
5576 #define HAVE_DECL_CURLOPT_FTP_USE_EPSV $ac_have_decl
5577 _ACEOF
5578 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLCERTTYPE" "ac_cv_have_decl_CURLOPT_SSLCERTTYPE" "
5579 #include \"curl/curl.h\"
5582 if test "x$ac_cv_have_decl_CURLOPT_SSLCERTTYPE" = xyes; then :
5583 ac_have_decl=1
5584 else
5585 ac_have_decl=0
5588 cat >>confdefs.h <<_ACEOF
5589 #define HAVE_DECL_CURLOPT_SSLCERTTYPE $ac_have_decl
5590 _ACEOF
5591 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEY" "ac_cv_have_decl_CURLOPT_SSLKEY" "
5592 #include \"curl/curl.h\"
5595 if test "x$ac_cv_have_decl_CURLOPT_SSLKEY" = xyes; then :
5596 ac_have_decl=1
5597 else
5598 ac_have_decl=0
5601 cat >>confdefs.h <<_ACEOF
5602 #define HAVE_DECL_CURLOPT_SSLKEY $ac_have_decl
5603 _ACEOF
5604 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLKEYTYPE" "ac_cv_have_decl_CURLOPT_SSLKEYTYPE" "
5605 #include \"curl/curl.h\"
5608 if test "x$ac_cv_have_decl_CURLOPT_SSLKEYTYPE" = xyes; then :
5609 ac_have_decl=1
5610 else
5611 ac_have_decl=0
5614 cat >>confdefs.h <<_ACEOF
5615 #define HAVE_DECL_CURLOPT_SSLKEYTYPE $ac_have_decl
5616 _ACEOF
5617 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLENGINE" "ac_cv_have_decl_CURLOPT_SSLENGINE" "
5618 #include \"curl/curl.h\"
5621 if test "x$ac_cv_have_decl_CURLOPT_SSLENGINE" = xyes; then :
5622 ac_have_decl=1
5623 else
5624 ac_have_decl=0
5627 cat >>confdefs.h <<_ACEOF
5628 #define HAVE_DECL_CURLOPT_SSLENGINE $ac_have_decl
5629 _ACEOF
5630 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSLENGINE_DEFAULT" "ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" "
5631 #include \"curl/curl.h\"
5634 if test "x$ac_cv_have_decl_CURLOPT_SSLENGINE_DEFAULT" = xyes; then :
5635 ac_have_decl=1
5636 else
5637 ac_have_decl=0
5640 cat >>confdefs.h <<_ACEOF
5641 #define HAVE_DECL_CURLOPT_SSLENGINE_DEFAULT $ac_have_decl
5642 _ACEOF
5643 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_USE_GLOBAL_CACHE" "ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" "
5644 #include \"curl/curl.h\"
5647 if test "x$ac_cv_have_decl_CURLOPT_DNS_USE_GLOBAL_CACHE" = xyes; then :
5648 ac_have_decl=1
5649 else
5650 ac_have_decl=0
5653 cat >>confdefs.h <<_ACEOF
5654 #define HAVE_DECL_CURLOPT_DNS_USE_GLOBAL_CACHE $ac_have_decl
5655 _ACEOF
5656 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_CACHE_TIMEOUT" "ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" "
5657 #include \"curl/curl.h\"
5660 if test "x$ac_cv_have_decl_CURLOPT_DNS_CACHE_TIMEOUT" = xyes; then :
5661 ac_have_decl=1
5662 else
5663 ac_have_decl=0
5666 cat >>confdefs.h <<_ACEOF
5667 #define HAVE_DECL_CURLOPT_DNS_CACHE_TIMEOUT $ac_have_decl
5668 _ACEOF
5669 ac_fn_c_check_decl "$LINENO" "CURLOPT_PREQUOTE" "ac_cv_have_decl_CURLOPT_PREQUOTE" "
5670 #include \"curl/curl.h\"
5673 if test "x$ac_cv_have_decl_CURLOPT_PREQUOTE" = xyes; then :
5674 ac_have_decl=1
5675 else
5676 ac_have_decl=0
5679 cat >>confdefs.h <<_ACEOF
5680 #define HAVE_DECL_CURLOPT_PREQUOTE $ac_have_decl
5681 _ACEOF
5682 ac_fn_c_check_decl "$LINENO" "CURLOPT_DEBUGFUNCTION" "ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" "
5683 #include \"curl/curl.h\"
5686 if test "x$ac_cv_have_decl_CURLOPT_DEBUGFUNCTION" = xyes; then :
5687 ac_have_decl=1
5688 else
5689 ac_have_decl=0
5692 cat >>confdefs.h <<_ACEOF
5693 #define HAVE_DECL_CURLOPT_DEBUGFUNCTION $ac_have_decl
5694 _ACEOF
5695 ac_fn_c_check_decl "$LINENO" "CURLOPT_DEBUGDATA" "ac_cv_have_decl_CURLOPT_DEBUGDATA" "
5696 #include \"curl/curl.h\"
5699 if test "x$ac_cv_have_decl_CURLOPT_DEBUGDATA" = xyes; then :
5700 ac_have_decl=1
5701 else
5702 ac_have_decl=0
5705 cat >>confdefs.h <<_ACEOF
5706 #define HAVE_DECL_CURLOPT_DEBUGDATA $ac_have_decl
5707 _ACEOF
5708 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIESESSION" "ac_cv_have_decl_CURLOPT_COOKIESESSION" "
5709 #include \"curl/curl.h\"
5712 if test "x$ac_cv_have_decl_CURLOPT_COOKIESESSION" = xyes; then :
5713 ac_have_decl=1
5714 else
5715 ac_have_decl=0
5718 cat >>confdefs.h <<_ACEOF
5719 #define HAVE_DECL_CURLOPT_COOKIESESSION $ac_have_decl
5720 _ACEOF
5721 ac_fn_c_check_decl "$LINENO" "CURLOPT_CAPATH" "ac_cv_have_decl_CURLOPT_CAPATH" "
5722 #include \"curl/curl.h\"
5725 if test "x$ac_cv_have_decl_CURLOPT_CAPATH" = xyes; then :
5726 ac_have_decl=1
5727 else
5728 ac_have_decl=0
5731 cat >>confdefs.h <<_ACEOF
5732 #define HAVE_DECL_CURLOPT_CAPATH $ac_have_decl
5733 _ACEOF
5734 ac_fn_c_check_decl "$LINENO" "CURLOPT_BUFFERSIZE" "ac_cv_have_decl_CURLOPT_BUFFERSIZE" "
5735 #include \"curl/curl.h\"
5738 if test "x$ac_cv_have_decl_CURLOPT_BUFFERSIZE" = xyes; then :
5739 ac_have_decl=1
5740 else
5741 ac_have_decl=0
5744 cat >>confdefs.h <<_ACEOF
5745 #define HAVE_DECL_CURLOPT_BUFFERSIZE $ac_have_decl
5746 _ACEOF
5747 ac_fn_c_check_decl "$LINENO" "CURLOPT_NOSIGNAL" "ac_cv_have_decl_CURLOPT_NOSIGNAL" "
5748 #include \"curl/curl.h\"
5751 if test "x$ac_cv_have_decl_CURLOPT_NOSIGNAL" = xyes; then :
5752 ac_have_decl=1
5753 else
5754 ac_have_decl=0
5757 cat >>confdefs.h <<_ACEOF
5758 #define HAVE_DECL_CURLOPT_NOSIGNAL $ac_have_decl
5759 _ACEOF
5760 ac_fn_c_check_decl "$LINENO" "CURLOPT_SHARE" "ac_cv_have_decl_CURLOPT_SHARE" "
5761 #include \"curl/curl.h\"
5764 if test "x$ac_cv_have_decl_CURLOPT_SHARE" = xyes; then :
5765 ac_have_decl=1
5766 else
5767 ac_have_decl=0
5770 cat >>confdefs.h <<_ACEOF
5771 #define HAVE_DECL_CURLOPT_SHARE $ac_have_decl
5772 _ACEOF
5773 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYTYPE" "ac_cv_have_decl_CURLOPT_PROXYTYPE" "
5774 #include \"curl/curl.h\"
5777 if test "x$ac_cv_have_decl_CURLOPT_PROXYTYPE" = xyes; then :
5778 ac_have_decl=1
5779 else
5780 ac_have_decl=0
5783 cat >>confdefs.h <<_ACEOF
5784 #define HAVE_DECL_CURLOPT_PROXYTYPE $ac_have_decl
5785 _ACEOF
5786 ac_fn_c_check_decl "$LINENO" "CURLOPT_ENCODING" "ac_cv_have_decl_CURLOPT_ENCODING" "
5787 #include \"curl/curl.h\"
5790 if test "x$ac_cv_have_decl_CURLOPT_ENCODING" = xyes; then :
5791 ac_have_decl=1
5792 else
5793 ac_have_decl=0
5796 cat >>confdefs.h <<_ACEOF
5797 #define HAVE_DECL_CURLOPT_ENCODING $ac_have_decl
5798 _ACEOF
5799 ac_fn_c_check_decl "$LINENO" "CURLOPT_PRIVATE" "ac_cv_have_decl_CURLOPT_PRIVATE" "
5800 #include \"curl/curl.h\"
5803 if test "x$ac_cv_have_decl_CURLOPT_PRIVATE" = xyes; then :
5804 ac_have_decl=1
5805 else
5806 ac_have_decl=0
5809 cat >>confdefs.h <<_ACEOF
5810 #define HAVE_DECL_CURLOPT_PRIVATE $ac_have_decl
5811 _ACEOF
5812 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP200ALIASES" "ac_cv_have_decl_CURLOPT_HTTP200ALIASES" "
5813 #include \"curl/curl.h\"
5816 if test "x$ac_cv_have_decl_CURLOPT_HTTP200ALIASES" = xyes; then :
5817 ac_have_decl=1
5818 else
5819 ac_have_decl=0
5822 cat >>confdefs.h <<_ACEOF
5823 #define HAVE_DECL_CURLOPT_HTTP200ALIASES $ac_have_decl
5824 _ACEOF
5825 ac_fn_c_check_decl "$LINENO" "CURLOPT_UNRESTRICTED_AUTH" "ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" "
5826 #include \"curl/curl.h\"
5829 if test "x$ac_cv_have_decl_CURLOPT_UNRESTRICTED_AUTH" = xyes; then :
5830 ac_have_decl=1
5831 else
5832 ac_have_decl=0
5835 cat >>confdefs.h <<_ACEOF
5836 #define HAVE_DECL_CURLOPT_UNRESTRICTED_AUTH $ac_have_decl
5837 _ACEOF
5838 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_USE_EPRT" "ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" "
5839 #include \"curl/curl.h\"
5842 if test "x$ac_cv_have_decl_CURLOPT_FTP_USE_EPRT" = xyes; then :
5843 ac_have_decl=1
5844 else
5845 ac_have_decl=0
5848 cat >>confdefs.h <<_ACEOF
5849 #define HAVE_DECL_CURLOPT_FTP_USE_EPRT $ac_have_decl
5850 _ACEOF
5851 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTPAUTH" "ac_cv_have_decl_CURLOPT_HTTPAUTH" "
5852 #include \"curl/curl.h\"
5855 if test "x$ac_cv_have_decl_CURLOPT_HTTPAUTH" = xyes; then :
5856 ac_have_decl=1
5857 else
5858 ac_have_decl=0
5861 cat >>confdefs.h <<_ACEOF
5862 #define HAVE_DECL_CURLOPT_HTTPAUTH $ac_have_decl
5863 _ACEOF
5864 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_CREATE_MISSING_DIRS" "ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" "
5865 #include \"curl/curl.h\"
5868 if test "x$ac_cv_have_decl_CURLOPT_FTP_CREATE_MISSING_DIRS" = xyes; then :
5869 ac_have_decl=1
5870 else
5871 ac_have_decl=0
5874 cat >>confdefs.h <<_ACEOF
5875 #define HAVE_DECL_CURLOPT_FTP_CREATE_MISSING_DIRS $ac_have_decl
5876 _ACEOF
5877 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXYAUTH" "ac_cv_have_decl_CURLOPT_PROXYAUTH" "
5878 #include \"curl/curl.h\"
5881 if test "x$ac_cv_have_decl_CURLOPT_PROXYAUTH" = xyes; then :
5882 ac_have_decl=1
5883 else
5884 ac_have_decl=0
5887 cat >>confdefs.h <<_ACEOF
5888 #define HAVE_DECL_CURLOPT_PROXYAUTH $ac_have_decl
5889 _ACEOF
5890 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_RESPONSE_TIMEOUT" "ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" "
5891 #include \"curl/curl.h\"
5894 if test "x$ac_cv_have_decl_CURLOPT_FTP_RESPONSE_TIMEOUT" = xyes; then :
5895 ac_have_decl=1
5896 else
5897 ac_have_decl=0
5900 cat >>confdefs.h <<_ACEOF
5901 #define HAVE_DECL_CURLOPT_FTP_RESPONSE_TIMEOUT $ac_have_decl
5902 _ACEOF
5903 ac_fn_c_check_decl "$LINENO" "CURLOPT_IPRESOLVE" "ac_cv_have_decl_CURLOPT_IPRESOLVE" "
5904 #include \"curl/curl.h\"
5907 if test "x$ac_cv_have_decl_CURLOPT_IPRESOLVE" = xyes; then :
5908 ac_have_decl=1
5909 else
5910 ac_have_decl=0
5913 cat >>confdefs.h <<_ACEOF
5914 #define HAVE_DECL_CURLOPT_IPRESOLVE $ac_have_decl
5915 _ACEOF
5916 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXFILESIZE" "ac_cv_have_decl_CURLOPT_MAXFILESIZE" "
5917 #include \"curl/curl.h\"
5920 if test "x$ac_cv_have_decl_CURLOPT_MAXFILESIZE" = xyes; then :
5921 ac_have_decl=1
5922 else
5923 ac_have_decl=0
5926 cat >>confdefs.h <<_ACEOF
5927 #define HAVE_DECL_CURLOPT_MAXFILESIZE $ac_have_decl
5928 _ACEOF
5929 ac_fn_c_check_decl "$LINENO" "CURLOPT_INFILESIZE_LARGE" "ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" "
5930 #include \"curl/curl.h\"
5933 if test "x$ac_cv_have_decl_CURLOPT_INFILESIZE_LARGE" = xyes; then :
5934 ac_have_decl=1
5935 else
5936 ac_have_decl=0
5939 cat >>confdefs.h <<_ACEOF
5940 #define HAVE_DECL_CURLOPT_INFILESIZE_LARGE $ac_have_decl
5941 _ACEOF
5942 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESUME_FROM_LARGE" "ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE" "
5943 #include \"curl/curl.h\"
5946 if test "x$ac_cv_have_decl_CURLOPT_RESUME_FROM_LARGE" = xyes; then :
5947 ac_have_decl=1
5948 else
5949 ac_have_decl=0
5952 cat >>confdefs.h <<_ACEOF
5953 #define HAVE_DECL_CURLOPT_RESUME_FROM_LARGE $ac_have_decl
5954 _ACEOF
5955 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAXFILESIZE_LARGE" "ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE" "
5956 #include \"curl/curl.h\"
5959 if test "x$ac_cv_have_decl_CURLOPT_MAXFILESIZE_LARGE" = xyes; then :
5960 ac_have_decl=1
5961 else
5962 ac_have_decl=0
5965 cat >>confdefs.h <<_ACEOF
5966 #define HAVE_DECL_CURLOPT_MAXFILESIZE_LARGE $ac_have_decl
5967 _ACEOF
5968 ac_fn_c_check_decl "$LINENO" "CURLOPT_NETRC_FILE" "ac_cv_have_decl_CURLOPT_NETRC_FILE" "
5969 #include \"curl/curl.h\"
5972 if test "x$ac_cv_have_decl_CURLOPT_NETRC_FILE" = xyes; then :
5973 ac_have_decl=1
5974 else
5975 ac_have_decl=0
5978 cat >>confdefs.h <<_ACEOF
5979 #define HAVE_DECL_CURLOPT_NETRC_FILE $ac_have_decl
5980 _ACEOF
5981 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SSL" "ac_cv_have_decl_CURLOPT_FTP_SSL" "
5982 #include \"curl/curl.h\"
5985 if test "x$ac_cv_have_decl_CURLOPT_FTP_SSL" = xyes; then :
5986 ac_have_decl=1
5987 else
5988 ac_have_decl=0
5991 cat >>confdefs.h <<_ACEOF
5992 #define HAVE_DECL_CURLOPT_FTP_SSL $ac_have_decl
5993 _ACEOF
5994 ac_fn_c_check_decl "$LINENO" "CURLOPT_POSTFIELDSIZE_LARGE" "ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" "
5995 #include \"curl/curl.h\"
5998 if test "x$ac_cv_have_decl_CURLOPT_POSTFIELDSIZE_LARGE" = xyes; then :
5999 ac_have_decl=1
6000 else
6001 ac_have_decl=0
6004 cat >>confdefs.h <<_ACEOF
6005 #define HAVE_DECL_CURLOPT_POSTFIELDSIZE_LARGE $ac_have_decl
6006 _ACEOF
6007 ac_fn_c_check_decl "$LINENO" "CURLOPT_TCP_NODELAY" "ac_cv_have_decl_CURLOPT_TCP_NODELAY" "
6008 #include \"curl/curl.h\"
6011 if test "x$ac_cv_have_decl_CURLOPT_TCP_NODELAY" = xyes; then :
6012 ac_have_decl=1
6013 else
6014 ac_have_decl=0
6017 cat >>confdefs.h <<_ACEOF
6018 #define HAVE_DECL_CURLOPT_TCP_NODELAY $ac_have_decl
6019 _ACEOF
6020 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTPSSLAUTH" "ac_cv_have_decl_CURLOPT_FTPSSLAUTH" "
6021 #include \"curl/curl.h\"
6024 if test "x$ac_cv_have_decl_CURLOPT_FTPSSLAUTH" = xyes; then :
6025 ac_have_decl=1
6026 else
6027 ac_have_decl=0
6030 cat >>confdefs.h <<_ACEOF
6031 #define HAVE_DECL_CURLOPT_FTPSSLAUTH $ac_have_decl
6032 _ACEOF
6033 ac_fn_c_check_decl "$LINENO" "CURLOPT_IOCTLFUNCTION" "ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" "
6034 #include \"curl/curl.h\"
6037 if test "x$ac_cv_have_decl_CURLOPT_IOCTLFUNCTION" = xyes; then :
6038 ac_have_decl=1
6039 else
6040 ac_have_decl=0
6043 cat >>confdefs.h <<_ACEOF
6044 #define HAVE_DECL_CURLOPT_IOCTLFUNCTION $ac_have_decl
6045 _ACEOF
6046 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_ACCOUNT" "ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" "
6047 #include \"curl/curl.h\"
6050 if test "x$ac_cv_have_decl_CURLOPT_FTP_ACCOUNT" = xyes; then :
6051 ac_have_decl=1
6052 else
6053 ac_have_decl=0
6056 cat >>confdefs.h <<_ACEOF
6057 #define HAVE_DECL_CURLOPT_FTP_ACCOUNT $ac_have_decl
6058 _ACEOF
6059 ac_fn_c_check_decl "$LINENO" "CURLOPT_COOKIELIST" "ac_cv_have_decl_CURLOPT_COOKIELIST" "
6060 #include \"curl/curl.h\"
6063 if test "x$ac_cv_have_decl_CURLOPT_COOKIELIST" = xyes; then :
6064 ac_have_decl=1
6065 else
6066 ac_have_decl=0
6069 cat >>confdefs.h <<_ACEOF
6070 #define HAVE_DECL_CURLOPT_COOKIELIST $ac_have_decl
6071 _ACEOF
6072 ac_fn_c_check_decl "$LINENO" "CURLOPT_IGNORE_CONTENT_LENGTH" "ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" "
6073 #include \"curl/curl.h\"
6076 if test "x$ac_cv_have_decl_CURLOPT_IGNORE_CONTENT_LENGTH" = xyes; then :
6077 ac_have_decl=1
6078 else
6079 ac_have_decl=0
6082 cat >>confdefs.h <<_ACEOF
6083 #define HAVE_DECL_CURLOPT_IGNORE_CONTENT_LENGTH $ac_have_decl
6084 _ACEOF
6085 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SKIP_PASV_IP" "ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" "
6086 #include \"curl/curl.h\"
6089 if test "x$ac_cv_have_decl_CURLOPT_FTP_SKIP_PASV_IP" = xyes; then :
6090 ac_have_decl=1
6091 else
6092 ac_have_decl=0
6095 cat >>confdefs.h <<_ACEOF
6096 #define HAVE_DECL_CURLOPT_FTP_SKIP_PASV_IP $ac_have_decl
6097 _ACEOF
6098 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_FILEMETHOD" "ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" "
6099 #include \"curl/curl.h\"
6102 if test "x$ac_cv_have_decl_CURLOPT_FTP_FILEMETHOD" = xyes; then :
6103 ac_have_decl=1
6104 else
6105 ac_have_decl=0
6108 cat >>confdefs.h <<_ACEOF
6109 #define HAVE_DECL_CURLOPT_FTP_FILEMETHOD $ac_have_decl
6110 _ACEOF
6111 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOCALPORT" "ac_cv_have_decl_CURLOPT_LOCALPORT" "
6112 #include \"curl/curl.h\"
6115 if test "x$ac_cv_have_decl_CURLOPT_LOCALPORT" = xyes; then :
6116 ac_have_decl=1
6117 else
6118 ac_have_decl=0
6121 cat >>confdefs.h <<_ACEOF
6122 #define HAVE_DECL_CURLOPT_LOCALPORT $ac_have_decl
6123 _ACEOF
6124 ac_fn_c_check_decl "$LINENO" "CURLOPT_LOCALPORTRANGE" "ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" "
6125 #include \"curl/curl.h\"
6128 if test "x$ac_cv_have_decl_CURLOPT_LOCALPORTRANGE" = xyes; then :
6129 ac_have_decl=1
6130 else
6131 ac_have_decl=0
6134 cat >>confdefs.h <<_ACEOF
6135 #define HAVE_DECL_CURLOPT_LOCALPORTRANGE $ac_have_decl
6136 _ACEOF
6137 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECT_ONLY" "ac_cv_have_decl_CURLOPT_CONNECT_ONLY" "
6138 #include \"curl/curl.h\"
6141 if test "x$ac_cv_have_decl_CURLOPT_CONNECT_ONLY" = xyes; then :
6142 ac_have_decl=1
6143 else
6144 ac_have_decl=0
6147 cat >>confdefs.h <<_ACEOF
6148 #define HAVE_DECL_CURLOPT_CONNECT_ONLY $ac_have_decl
6149 _ACEOF
6150 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAX_SEND_SPEED_LARGE" "ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" "
6151 #include \"curl/curl.h\"
6154 if test "x$ac_cv_have_decl_CURLOPT_MAX_SEND_SPEED_LARGE" = xyes; then :
6155 ac_have_decl=1
6156 else
6157 ac_have_decl=0
6160 cat >>confdefs.h <<_ACEOF
6161 #define HAVE_DECL_CURLOPT_MAX_SEND_SPEED_LARGE $ac_have_decl
6162 _ACEOF
6163 ac_fn_c_check_decl "$LINENO" "CURLOPT_MAX_RECV_SPEED_LARGE" "ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE" "
6164 #include \"curl/curl.h\"
6167 if test "x$ac_cv_have_decl_CURLOPT_MAX_RECV_SPEED_LARGE" = xyes; then :
6168 ac_have_decl=1
6169 else
6170 ac_have_decl=0
6173 cat >>confdefs.h <<_ACEOF
6174 #define HAVE_DECL_CURLOPT_MAX_RECV_SPEED_LARGE $ac_have_decl
6175 _ACEOF
6176 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_ALTERNATIVE_TO_USER" "ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" "
6177 #include \"curl/curl.h\"
6180 if test "x$ac_cv_have_decl_CURLOPT_FTP_ALTERNATIVE_TO_USER" = xyes; then :
6181 ac_have_decl=1
6182 else
6183 ac_have_decl=0
6186 cat >>confdefs.h <<_ACEOF
6187 #define HAVE_DECL_CURLOPT_FTP_ALTERNATIVE_TO_USER $ac_have_decl
6188 _ACEOF
6189 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSL_SESSIONID_CACHE" "ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" "
6190 #include \"curl/curl.h\"
6193 if test "x$ac_cv_have_decl_CURLOPT_SSL_SESSIONID_CACHE" = xyes; then :
6194 ac_have_decl=1
6195 else
6196 ac_have_decl=0
6199 cat >>confdefs.h <<_ACEOF
6200 #define HAVE_DECL_CURLOPT_SSL_SESSIONID_CACHE $ac_have_decl
6201 _ACEOF
6202 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_AUTH_TYPES" "ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" "
6203 #include \"curl/curl.h\"
6206 if test "x$ac_cv_have_decl_CURLOPT_SSH_AUTH_TYPES" = xyes; then :
6207 ac_have_decl=1
6208 else
6209 ac_have_decl=0
6212 cat >>confdefs.h <<_ACEOF
6213 #define HAVE_DECL_CURLOPT_SSH_AUTH_TYPES $ac_have_decl
6214 _ACEOF
6215 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_PUBLIC_KEYFILE" "ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" "
6216 #include \"curl/curl.h\"
6219 if test "x$ac_cv_have_decl_CURLOPT_SSH_PUBLIC_KEYFILE" = xyes; then :
6220 ac_have_decl=1
6221 else
6222 ac_have_decl=0
6225 cat >>confdefs.h <<_ACEOF
6226 #define HAVE_DECL_CURLOPT_SSH_PUBLIC_KEYFILE $ac_have_decl
6227 _ACEOF
6228 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_PRIVATE_KEYFILE" "ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE" "
6229 #include \"curl/curl.h\"
6232 if test "x$ac_cv_have_decl_CURLOPT_SSH_PRIVATE_KEYFILE" = xyes; then :
6233 ac_have_decl=1
6234 else
6235 ac_have_decl=0
6238 cat >>confdefs.h <<_ACEOF
6239 #define HAVE_DECL_CURLOPT_SSH_PRIVATE_KEYFILE $ac_have_decl
6240 _ACEOF
6241 ac_fn_c_check_decl "$LINENO" "CURLOPT_FTP_SSL_CCC" "ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" "
6242 #include \"curl/curl.h\"
6245 if test "x$ac_cv_have_decl_CURLOPT_FTP_SSL_CCC" = xyes; then :
6246 ac_have_decl=1
6247 else
6248 ac_have_decl=0
6251 cat >>confdefs.h <<_ACEOF
6252 #define HAVE_DECL_CURLOPT_FTP_SSL_CCC $ac_have_decl
6253 _ACEOF
6254 ac_fn_c_check_decl "$LINENO" "CURLOPT_TIMEOUT_MS" "ac_cv_have_decl_CURLOPT_TIMEOUT_MS" "
6255 #include \"curl/curl.h\"
6258 if test "x$ac_cv_have_decl_CURLOPT_TIMEOUT_MS" = xyes; then :
6259 ac_have_decl=1
6260 else
6261 ac_have_decl=0
6264 cat >>confdefs.h <<_ACEOF
6265 #define HAVE_DECL_CURLOPT_TIMEOUT_MS $ac_have_decl
6266 _ACEOF
6267 ac_fn_c_check_decl "$LINENO" "CURLOPT_CONNECTTIMEOUT_MS" "ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS" "
6268 #include \"curl/curl.h\"
6271 if test "x$ac_cv_have_decl_CURLOPT_CONNECTTIMEOUT_MS" = xyes; then :
6272 ac_have_decl=1
6273 else
6274 ac_have_decl=0
6277 cat >>confdefs.h <<_ACEOF
6278 #define HAVE_DECL_CURLOPT_CONNECTTIMEOUT_MS $ac_have_decl
6279 _ACEOF
6280 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_TRANSFER_DECODING" "ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" "
6281 #include \"curl/curl.h\"
6284 if test "x$ac_cv_have_decl_CURLOPT_HTTP_TRANSFER_DECODING" = xyes; then :
6285 ac_have_decl=1
6286 else
6287 ac_have_decl=0
6290 cat >>confdefs.h <<_ACEOF
6291 #define HAVE_DECL_CURLOPT_HTTP_TRANSFER_DECODING $ac_have_decl
6292 _ACEOF
6293 ac_fn_c_check_decl "$LINENO" "CURLOPT_HTTP_CONTENT_DECODING" "ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING" "
6294 #include \"curl/curl.h\"
6297 if test "x$ac_cv_have_decl_CURLOPT_HTTP_CONTENT_DECODING" = xyes; then :
6298 ac_have_decl=1
6299 else
6300 ac_have_decl=0
6303 cat >>confdefs.h <<_ACEOF
6304 #define HAVE_DECL_CURLOPT_HTTP_CONTENT_DECODING $ac_have_decl
6305 _ACEOF
6306 ac_fn_c_check_decl "$LINENO" "CURLOPT_NEW_FILE_PERMS" "ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" "
6307 #include \"curl/curl.h\"
6310 if test "x$ac_cv_have_decl_CURLOPT_NEW_FILE_PERMS" = xyes; then :
6311 ac_have_decl=1
6312 else
6313 ac_have_decl=0
6316 cat >>confdefs.h <<_ACEOF
6317 #define HAVE_DECL_CURLOPT_NEW_FILE_PERMS $ac_have_decl
6318 _ACEOF
6319 ac_fn_c_check_decl "$LINENO" "CURLOPT_NEW_DIRECTORY_PERMS" "ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS" "
6320 #include \"curl/curl.h\"
6323 if test "x$ac_cv_have_decl_CURLOPT_NEW_DIRECTORY_PERMS" = xyes; then :
6324 ac_have_decl=1
6325 else
6326 ac_have_decl=0
6329 cat >>confdefs.h <<_ACEOF
6330 #define HAVE_DECL_CURLOPT_NEW_DIRECTORY_PERMS $ac_have_decl
6331 _ACEOF
6332 ac_fn_c_check_decl "$LINENO" "CURLOPT_POST301" "ac_cv_have_decl_CURLOPT_POST301" "
6333 #include \"curl/curl.h\"
6336 if test "x$ac_cv_have_decl_CURLOPT_POST301" = xyes; then :
6337 ac_have_decl=1
6338 else
6339 ac_have_decl=0
6342 cat >>confdefs.h <<_ACEOF
6343 #define HAVE_DECL_CURLOPT_POST301 $ac_have_decl
6344 _ACEOF
6345 ac_fn_c_check_decl "$LINENO" "CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" "ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" "
6346 #include \"curl/curl.h\"
6349 if test "x$ac_cv_have_decl_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5" = xyes; then :
6350 ac_have_decl=1
6351 else
6352 ac_have_decl=0
6355 cat >>confdefs.h <<_ACEOF
6356 #define HAVE_DECL_CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 $ac_have_decl
6357 _ACEOF
6358 ac_fn_c_check_decl "$LINENO" "CURLOPT_COPYPOSTFIELDS" "ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" "
6359 #include \"curl/curl.h\"
6362 if test "x$ac_cv_have_decl_CURLOPT_COPYPOSTFIELDS" = xyes; then :
6363 ac_have_decl=1
6364 else
6365 ac_have_decl=0
6368 cat >>confdefs.h <<_ACEOF
6369 #define HAVE_DECL_CURLOPT_COPYPOSTFIELDS $ac_have_decl
6370 _ACEOF
6371 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROXY_TRANSFER_MODE" "ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" "
6372 #include \"curl/curl.h\"
6375 if test "x$ac_cv_have_decl_CURLOPT_PROXY_TRANSFER_MODE" = xyes; then :
6376 ac_have_decl=1
6377 else
6378 ac_have_decl=0
6381 cat >>confdefs.h <<_ACEOF
6382 #define HAVE_DECL_CURLOPT_PROXY_TRANSFER_MODE $ac_have_decl
6383 _ACEOF
6384 ac_fn_c_check_decl "$LINENO" "CURLOPT_SEEKFUNCTION" "ac_cv_have_decl_CURLOPT_SEEKFUNCTION" "
6385 #include \"curl/curl.h\"
6388 if test "x$ac_cv_have_decl_CURLOPT_SEEKFUNCTION" = xyes; then :
6389 ac_have_decl=1
6390 else
6391 ac_have_decl=0
6394 cat >>confdefs.h <<_ACEOF
6395 #define HAVE_DECL_CURLOPT_SEEKFUNCTION $ac_have_decl
6396 _ACEOF
6397 ac_fn_c_check_decl "$LINENO" "CURLOPT_OPENSOCKETFUNCTION" "ac_cv_have_decl_CURLOPT_OPENSOCKETFUNCTION" "
6398 #include \"curl/curl.h\"
6401 if test "x$ac_cv_have_decl_CURLOPT_OPENSOCKETFUNCTION" = xyes; then :
6402 ac_have_decl=1
6403 else
6404 ac_have_decl=0
6407 cat >>confdefs.h <<_ACEOF
6408 #define HAVE_DECL_CURLOPT_OPENSOCKETFUNCTION $ac_have_decl
6409 _ACEOF
6410 ac_fn_c_check_decl "$LINENO" "CURLOPT_PROTOCOLS" "ac_cv_have_decl_CURLOPT_PROTOCOLS" "
6411 #include \"curl/curl.h\"
6414 if test "x$ac_cv_have_decl_CURLOPT_PROTOCOLS" = xyes; then :
6415 ac_have_decl=1
6416 else
6417 ac_have_decl=0
6420 cat >>confdefs.h <<_ACEOF
6421 #define HAVE_DECL_CURLOPT_PROTOCOLS $ac_have_decl
6422 _ACEOF
6423 ac_fn_c_check_decl "$LINENO" "CURLOPT_REDIR_PROTOCOLS" "ac_cv_have_decl_CURLOPT_REDIR_PROTOCOLS" "
6424 #include \"curl/curl.h\"
6427 if test "x$ac_cv_have_decl_CURLOPT_REDIR_PROTOCOLS" = xyes; then :
6428 ac_have_decl=1
6429 else
6430 ac_have_decl=0
6433 cat >>confdefs.h <<_ACEOF
6434 #define HAVE_DECL_CURLOPT_REDIR_PROTOCOLS $ac_have_decl
6435 _ACEOF
6436 ac_fn_c_check_decl "$LINENO" "CURLOPT_RESOLVE" "ac_cv_have_decl_CURLOPT_RESOLVE" "
6437 #include \"curl/curl.h\"
6440 if test "x$ac_cv_have_decl_CURLOPT_RESOLVE" = xyes; then :
6441 ac_have_decl=1
6442 else
6443 ac_have_decl=0
6446 cat >>confdefs.h <<_ACEOF
6447 #define HAVE_DECL_CURLOPT_RESOLVE $ac_have_decl
6448 _ACEOF
6449 ac_fn_c_check_decl "$LINENO" "CURLOPT_DNS_SERVERS" "ac_cv_have_decl_CURLOPT_DNS_SERVERS" "
6450 #include \"curl/curl.h\"
6453 if test "x$ac_cv_have_decl_CURLOPT_DNS_SERVERS" = xyes; then :
6454 ac_have_decl=1
6455 else
6456 ac_have_decl=0
6459 cat >>confdefs.h <<_ACEOF
6460 #define HAVE_DECL_CURLOPT_DNS_SERVERS $ac_have_decl
6461 _ACEOF
6462 ac_fn_c_check_decl "$LINENO" "CURLINFO_EFFECTIVE_URL" "ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" "
6463 #include \"curl/curl.h\"
6466 if test "x$ac_cv_have_decl_CURLINFO_EFFECTIVE_URL" = xyes; then :
6467 ac_have_decl=1
6468 else
6469 ac_have_decl=0
6472 cat >>confdefs.h <<_ACEOF
6473 #define HAVE_DECL_CURLINFO_EFFECTIVE_URL $ac_have_decl
6474 _ACEOF
6475 ac_fn_c_check_decl "$LINENO" "CURLINFO_RESPONSE_CODE" "ac_cv_have_decl_CURLINFO_RESPONSE_CODE" "
6476 #include \"curl/curl.h\"
6479 if test "x$ac_cv_have_decl_CURLINFO_RESPONSE_CODE" = xyes; then :
6480 ac_have_decl=1
6481 else
6482 ac_have_decl=0
6485 cat >>confdefs.h <<_ACEOF
6486 #define HAVE_DECL_CURLINFO_RESPONSE_CODE $ac_have_decl
6487 _ACEOF
6488 ac_fn_c_check_decl "$LINENO" "CURLINFO_TOTAL_TIME" "ac_cv_have_decl_CURLINFO_TOTAL_TIME" "
6489 #include \"curl/curl.h\"
6492 if test "x$ac_cv_have_decl_CURLINFO_TOTAL_TIME" = xyes; then :
6493 ac_have_decl=1
6494 else
6495 ac_have_decl=0
6498 cat >>confdefs.h <<_ACEOF
6499 #define HAVE_DECL_CURLINFO_TOTAL_TIME $ac_have_decl
6500 _ACEOF
6501 ac_fn_c_check_decl "$LINENO" "CURLINFO_NAMELOOKUP_TIME" "ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" "
6502 #include \"curl/curl.h\"
6505 if test "x$ac_cv_have_decl_CURLINFO_NAMELOOKUP_TIME" = xyes; then :
6506 ac_have_decl=1
6507 else
6508 ac_have_decl=0
6511 cat >>confdefs.h <<_ACEOF
6512 #define HAVE_DECL_CURLINFO_NAMELOOKUP_TIME $ac_have_decl
6513 _ACEOF
6514 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONNECT_TIME" "ac_cv_have_decl_CURLINFO_CONNECT_TIME" "
6515 #include \"curl/curl.h\"
6518 if test "x$ac_cv_have_decl_CURLINFO_CONNECT_TIME" = xyes; then :
6519 ac_have_decl=1
6520 else
6521 ac_have_decl=0
6524 cat >>confdefs.h <<_ACEOF
6525 #define HAVE_DECL_CURLINFO_CONNECT_TIME $ac_have_decl
6526 _ACEOF
6527 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRETRANSFER_TIME" "ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" "
6528 #include \"curl/curl.h\"
6531 if test "x$ac_cv_have_decl_CURLINFO_PRETRANSFER_TIME" = xyes; then :
6532 ac_have_decl=1
6533 else
6534 ac_have_decl=0
6537 cat >>confdefs.h <<_ACEOF
6538 #define HAVE_DECL_CURLINFO_PRETRANSFER_TIME $ac_have_decl
6539 _ACEOF
6540 ac_fn_c_check_decl "$LINENO" "CURLINFO_SIZE_UPLOAD" "ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" "
6541 #include \"curl/curl.h\"
6544 if test "x$ac_cv_have_decl_CURLINFO_SIZE_UPLOAD" = xyes; then :
6545 ac_have_decl=1
6546 else
6547 ac_have_decl=0
6550 cat >>confdefs.h <<_ACEOF
6551 #define HAVE_DECL_CURLINFO_SIZE_UPLOAD $ac_have_decl
6552 _ACEOF
6553 ac_fn_c_check_decl "$LINENO" "CURLINFO_SIZE_DOWNLOAD" "ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" "
6554 #include \"curl/curl.h\"
6557 if test "x$ac_cv_have_decl_CURLINFO_SIZE_DOWNLOAD" = xyes; then :
6558 ac_have_decl=1
6559 else
6560 ac_have_decl=0
6563 cat >>confdefs.h <<_ACEOF
6564 #define HAVE_DECL_CURLINFO_SIZE_DOWNLOAD $ac_have_decl
6565 _ACEOF
6566 ac_fn_c_check_decl "$LINENO" "CURLINFO_SPEED_DOWNLOAD" "ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" "
6567 #include \"curl/curl.h\"
6570 if test "x$ac_cv_have_decl_CURLINFO_SPEED_DOWNLOAD" = xyes; then :
6571 ac_have_decl=1
6572 else
6573 ac_have_decl=0
6576 cat >>confdefs.h <<_ACEOF
6577 #define HAVE_DECL_CURLINFO_SPEED_DOWNLOAD $ac_have_decl
6578 _ACEOF
6579 ac_fn_c_check_decl "$LINENO" "CURLINFO_SPEED_UPLOAD" "ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" "
6580 #include \"curl/curl.h\"
6583 if test "x$ac_cv_have_decl_CURLINFO_SPEED_UPLOAD" = xyes; then :
6584 ac_have_decl=1
6585 else
6586 ac_have_decl=0
6589 cat >>confdefs.h <<_ACEOF
6590 #define HAVE_DECL_CURLINFO_SPEED_UPLOAD $ac_have_decl
6591 _ACEOF
6592 ac_fn_c_check_decl "$LINENO" "CURLINFO_HEADER_SIZE" "ac_cv_have_decl_CURLINFO_HEADER_SIZE" "
6593 #include \"curl/curl.h\"
6596 if test "x$ac_cv_have_decl_CURLINFO_HEADER_SIZE" = xyes; then :
6597 ac_have_decl=1
6598 else
6599 ac_have_decl=0
6602 cat >>confdefs.h <<_ACEOF
6603 #define HAVE_DECL_CURLINFO_HEADER_SIZE $ac_have_decl
6604 _ACEOF
6605 ac_fn_c_check_decl "$LINENO" "CURLINFO_REQUEST_SIZE" "ac_cv_have_decl_CURLINFO_REQUEST_SIZE" "
6606 #include \"curl/curl.h\"
6609 if test "x$ac_cv_have_decl_CURLINFO_REQUEST_SIZE" = xyes; then :
6610 ac_have_decl=1
6611 else
6612 ac_have_decl=0
6615 cat >>confdefs.h <<_ACEOF
6616 #define HAVE_DECL_CURLINFO_REQUEST_SIZE $ac_have_decl
6617 _ACEOF
6618 ac_fn_c_check_decl "$LINENO" "CURLINFO_SSL_VERIFYRESULT" "ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" "
6619 #include \"curl/curl.h\"
6622 if test "x$ac_cv_have_decl_CURLINFO_SSL_VERIFYRESULT" = xyes; then :
6623 ac_have_decl=1
6624 else
6625 ac_have_decl=0
6628 cat >>confdefs.h <<_ACEOF
6629 #define HAVE_DECL_CURLINFO_SSL_VERIFYRESULT $ac_have_decl
6630 _ACEOF
6631 ac_fn_c_check_decl "$LINENO" "CURLINFO_FILETIME" "ac_cv_have_decl_CURLINFO_FILETIME" "
6632 #include \"curl/curl.h\"
6635 if test "x$ac_cv_have_decl_CURLINFO_FILETIME" = xyes; then :
6636 ac_have_decl=1
6637 else
6638 ac_have_decl=0
6641 cat >>confdefs.h <<_ACEOF
6642 #define HAVE_DECL_CURLINFO_FILETIME $ac_have_decl
6643 _ACEOF
6644 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_LENGTH_DOWNLOAD" "ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" "
6645 #include \"curl/curl.h\"
6648 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_DOWNLOAD" = xyes; then :
6649 ac_have_decl=1
6650 else
6651 ac_have_decl=0
6654 cat >>confdefs.h <<_ACEOF
6655 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_DOWNLOAD $ac_have_decl
6656 _ACEOF
6657 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_LENGTH_UPLOAD" "ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" "
6658 #include \"curl/curl.h\"
6661 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_LENGTH_UPLOAD" = xyes; then :
6662 ac_have_decl=1
6663 else
6664 ac_have_decl=0
6667 cat >>confdefs.h <<_ACEOF
6668 #define HAVE_DECL_CURLINFO_CONTENT_LENGTH_UPLOAD $ac_have_decl
6669 _ACEOF
6670 ac_fn_c_check_decl "$LINENO" "CURLINFO_STARTTRANSFER_TIME" "ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" "
6671 #include \"curl/curl.h\"
6674 if test "x$ac_cv_have_decl_CURLINFO_STARTTRANSFER_TIME" = xyes; then :
6675 ac_have_decl=1
6676 else
6677 ac_have_decl=0
6680 cat >>confdefs.h <<_ACEOF
6681 #define HAVE_DECL_CURLINFO_STARTTRANSFER_TIME $ac_have_decl
6682 _ACEOF
6683 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONTENT_TYPE" "ac_cv_have_decl_CURLINFO_CONTENT_TYPE" "
6684 #include \"curl/curl.h\"
6687 if test "x$ac_cv_have_decl_CURLINFO_CONTENT_TYPE" = xyes; then :
6688 ac_have_decl=1
6689 else
6690 ac_have_decl=0
6693 cat >>confdefs.h <<_ACEOF
6694 #define HAVE_DECL_CURLINFO_CONTENT_TYPE $ac_have_decl
6695 _ACEOF
6696 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_TIME" "ac_cv_have_decl_CURLINFO_REDIRECT_TIME" "
6697 #include \"curl/curl.h\"
6700 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_TIME" = xyes; then :
6701 ac_have_decl=1
6702 else
6703 ac_have_decl=0
6706 cat >>confdefs.h <<_ACEOF
6707 #define HAVE_DECL_CURLINFO_REDIRECT_TIME $ac_have_decl
6708 _ACEOF
6709 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_COUNT" "ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" "
6710 #include \"curl/curl.h\"
6713 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_COUNT" = xyes; then :
6714 ac_have_decl=1
6715 else
6716 ac_have_decl=0
6719 cat >>confdefs.h <<_ACEOF
6720 #define HAVE_DECL_CURLINFO_REDIRECT_COUNT $ac_have_decl
6721 _ACEOF
6722 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRIVATE" "ac_cv_have_decl_CURLINFO_PRIVATE" "
6723 #include \"curl/curl.h\"
6726 if test "x$ac_cv_have_decl_CURLINFO_PRIVATE" = xyes; then :
6727 ac_have_decl=1
6728 else
6729 ac_have_decl=0
6732 cat >>confdefs.h <<_ACEOF
6733 #define HAVE_DECL_CURLINFO_PRIVATE $ac_have_decl
6734 _ACEOF
6735 ac_fn_c_check_decl "$LINENO" "CURLINFO_HTTP_CONNECTCODE" "ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" "
6736 #include \"curl/curl.h\"
6739 if test "x$ac_cv_have_decl_CURLINFO_HTTP_CONNECTCODE" = xyes; then :
6740 ac_have_decl=1
6741 else
6742 ac_have_decl=0
6745 cat >>confdefs.h <<_ACEOF
6746 #define HAVE_DECL_CURLINFO_HTTP_CONNECTCODE $ac_have_decl
6747 _ACEOF
6748 ac_fn_c_check_decl "$LINENO" "CURLINFO_HTTPAUTH_AVAIL" "ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" "
6749 #include \"curl/curl.h\"
6752 if test "x$ac_cv_have_decl_CURLINFO_HTTPAUTH_AVAIL" = xyes; then :
6753 ac_have_decl=1
6754 else
6755 ac_have_decl=0
6758 cat >>confdefs.h <<_ACEOF
6759 #define HAVE_DECL_CURLINFO_HTTPAUTH_AVAIL $ac_have_decl
6760 _ACEOF
6761 ac_fn_c_check_decl "$LINENO" "CURLINFO_PROXYAUTH_AVAIL" "ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" "
6762 #include \"curl/curl.h\"
6765 if test "x$ac_cv_have_decl_CURLINFO_PROXYAUTH_AVAIL" = xyes; then :
6766 ac_have_decl=1
6767 else
6768 ac_have_decl=0
6771 cat >>confdefs.h <<_ACEOF
6772 #define HAVE_DECL_CURLINFO_PROXYAUTH_AVAIL $ac_have_decl
6773 _ACEOF
6774 ac_fn_c_check_decl "$LINENO" "CURLINFO_OS_ERRNO" "ac_cv_have_decl_CURLINFO_OS_ERRNO" "
6775 #include \"curl/curl.h\"
6778 if test "x$ac_cv_have_decl_CURLINFO_OS_ERRNO" = xyes; then :
6779 ac_have_decl=1
6780 else
6781 ac_have_decl=0
6784 cat >>confdefs.h <<_ACEOF
6785 #define HAVE_DECL_CURLINFO_OS_ERRNO $ac_have_decl
6786 _ACEOF
6787 ac_fn_c_check_decl "$LINENO" "CURLINFO_NUM_CONNECTS" "ac_cv_have_decl_CURLINFO_NUM_CONNECTS" "
6788 #include \"curl/curl.h\"
6791 if test "x$ac_cv_have_decl_CURLINFO_NUM_CONNECTS" = xyes; then :
6792 ac_have_decl=1
6793 else
6794 ac_have_decl=0
6797 cat >>confdefs.h <<_ACEOF
6798 #define HAVE_DECL_CURLINFO_NUM_CONNECTS $ac_have_decl
6799 _ACEOF
6800 ac_fn_c_check_decl "$LINENO" "CURLINFO_SSL_ENGINES" "ac_cv_have_decl_CURLINFO_SSL_ENGINES" "
6801 #include \"curl/curl.h\"
6804 if test "x$ac_cv_have_decl_CURLINFO_SSL_ENGINES" = xyes; then :
6805 ac_have_decl=1
6806 else
6807 ac_have_decl=0
6810 cat >>confdefs.h <<_ACEOF
6811 #define HAVE_DECL_CURLINFO_SSL_ENGINES $ac_have_decl
6812 _ACEOF
6813 ac_fn_c_check_decl "$LINENO" "CURLINFO_COOKIELIST" "ac_cv_have_decl_CURLINFO_COOKIELIST" "
6814 #include \"curl/curl.h\"
6817 if test "x$ac_cv_have_decl_CURLINFO_COOKIELIST" = xyes; then :
6818 ac_have_decl=1
6819 else
6820 ac_have_decl=0
6823 cat >>confdefs.h <<_ACEOF
6824 #define HAVE_DECL_CURLINFO_COOKIELIST $ac_have_decl
6825 _ACEOF
6826 ac_fn_c_check_decl "$LINENO" "CURLINFO_LASTSOCKET" "ac_cv_have_decl_CURLINFO_LASTSOCKET" "
6827 #include \"curl/curl.h\"
6830 if test "x$ac_cv_have_decl_CURLINFO_LASTSOCKET" = xyes; then :
6831 ac_have_decl=1
6832 else
6833 ac_have_decl=0
6836 cat >>confdefs.h <<_ACEOF
6837 #define HAVE_DECL_CURLINFO_LASTSOCKET $ac_have_decl
6838 _ACEOF
6839 ac_fn_c_check_decl "$LINENO" "CURLINFO_FTP_ENTRY_PATH" "ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" "
6840 #include \"curl/curl.h\"
6843 if test "x$ac_cv_have_decl_CURLINFO_FTP_ENTRY_PATH" = xyes; then :
6844 ac_have_decl=1
6845 else
6846 ac_have_decl=0
6849 cat >>confdefs.h <<_ACEOF
6850 #define HAVE_DECL_CURLINFO_FTP_ENTRY_PATH $ac_have_decl
6851 _ACEOF
6852 ac_fn_c_check_decl "$LINENO" "CURLINFO_REDIRECT_URL" "ac_cv_have_decl_CURLINFO_REDIRECT_URL" "
6853 #include \"curl/curl.h\"
6856 if test "x$ac_cv_have_decl_CURLINFO_REDIRECT_URL" = xyes; then :
6857 ac_have_decl=1
6858 else
6859 ac_have_decl=0
6862 cat >>confdefs.h <<_ACEOF
6863 #define HAVE_DECL_CURLINFO_REDIRECT_URL $ac_have_decl
6864 _ACEOF
6865 ac_fn_c_check_decl "$LINENO" "CURLINFO_PRIMARY_IP" "ac_cv_have_decl_CURLINFO_PRIMARY_IP" "
6866 #include \"curl/curl.h\"
6869 if test "x$ac_cv_have_decl_CURLINFO_PRIMARY_IP" = xyes; then :
6870 ac_have_decl=1
6871 else
6872 ac_have_decl=0
6875 cat >>confdefs.h <<_ACEOF
6876 #define HAVE_DECL_CURLINFO_PRIMARY_IP $ac_have_decl
6877 _ACEOF
6878 ac_fn_c_check_decl "$LINENO" "CURLINFO_LOCAL_IP" "ac_cv_have_decl_CURLINFO_LOCAL_IP" "
6879 #include \"curl/curl.h\"
6882 if test "x$ac_cv_have_decl_CURLINFO_LOCAL_IP" = xyes; then :
6883 ac_have_decl=1
6884 else
6885 ac_have_decl=0
6888 cat >>confdefs.h <<_ACEOF
6889 #define HAVE_DECL_CURLINFO_LOCAL_IP $ac_have_decl
6890 _ACEOF
6891 ac_fn_c_check_decl "$LINENO" "CURLINFO_LOCAL_PORT" "ac_cv_have_decl_CURLINFO_LOCAL_PORT" "
6892 #include \"curl/curl.h\"
6895 if test "x$ac_cv_have_decl_CURLINFO_LOCAL_PORT" = xyes; then :
6896 ac_have_decl=1
6897 else
6898 ac_have_decl=0
6901 cat >>confdefs.h <<_ACEOF
6902 #define HAVE_DECL_CURLINFO_LOCAL_PORT $ac_have_decl
6903 _ACEOF
6904 ac_fn_c_check_decl "$LINENO" "CURLINFO_CONDITION_UNMET" "ac_cv_have_decl_CURLINFO_CONDITION_UNMET" "
6905 #include \"curl/curl.h\"
6908 if test "x$ac_cv_have_decl_CURLINFO_CONDITION_UNMET" = xyes; then :
6909 ac_have_decl=1
6910 else
6911 ac_have_decl=0
6914 cat >>confdefs.h <<_ACEOF
6915 #define HAVE_DECL_CURLINFO_CONDITION_UNMET $ac_have_decl
6916 _ACEOF
6917 ac_fn_c_check_decl "$LINENO" "CURLE_UNSUPPORTED_PROTOCOL" "ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" "
6918 #include \"curl/curl.h\"
6921 if test "x$ac_cv_have_decl_CURLE_UNSUPPORTED_PROTOCOL" = xyes; then :
6922 ac_have_decl=1
6923 else
6924 ac_have_decl=0
6927 cat >>confdefs.h <<_ACEOF
6928 #define HAVE_DECL_CURLE_UNSUPPORTED_PROTOCOL $ac_have_decl
6929 _ACEOF
6930 ac_fn_c_check_decl "$LINENO" "CURLE_FAILED_INIT" "ac_cv_have_decl_CURLE_FAILED_INIT" "
6931 #include \"curl/curl.h\"
6934 if test "x$ac_cv_have_decl_CURLE_FAILED_INIT" = xyes; then :
6935 ac_have_decl=1
6936 else
6937 ac_have_decl=0
6940 cat >>confdefs.h <<_ACEOF
6941 #define HAVE_DECL_CURLE_FAILED_INIT $ac_have_decl
6942 _ACEOF
6943 ac_fn_c_check_decl "$LINENO" "CURLE_URL_MALFORMAT" "ac_cv_have_decl_CURLE_URL_MALFORMAT" "
6944 #include \"curl/curl.h\"
6947 if test "x$ac_cv_have_decl_CURLE_URL_MALFORMAT" = xyes; then :
6948 ac_have_decl=1
6949 else
6950 ac_have_decl=0
6953 cat >>confdefs.h <<_ACEOF
6954 #define HAVE_DECL_CURLE_URL_MALFORMAT $ac_have_decl
6955 _ACEOF
6956 ac_fn_c_check_decl "$LINENO" "CURLE_URL_MALFORMAT_USER" "ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" "
6957 #include \"curl/curl.h\"
6960 if test "x$ac_cv_have_decl_CURLE_URL_MALFORMAT_USER" = xyes; then :
6961 ac_have_decl=1
6962 else
6963 ac_have_decl=0
6966 cat >>confdefs.h <<_ACEOF
6967 #define HAVE_DECL_CURLE_URL_MALFORMAT_USER $ac_have_decl
6968 _ACEOF
6969 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_RESOLVE_PROXY" "ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" "
6970 #include \"curl/curl.h\"
6973 if test "x$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_PROXY" = xyes; then :
6974 ac_have_decl=1
6975 else
6976 ac_have_decl=0
6979 cat >>confdefs.h <<_ACEOF
6980 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_PROXY $ac_have_decl
6981 _ACEOF
6982 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_RESOLVE_HOST" "ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" "
6983 #include \"curl/curl.h\"
6986 if test "x$ac_cv_have_decl_CURLE_COULDNT_RESOLVE_HOST" = xyes; then :
6987 ac_have_decl=1
6988 else
6989 ac_have_decl=0
6992 cat >>confdefs.h <<_ACEOF
6993 #define HAVE_DECL_CURLE_COULDNT_RESOLVE_HOST $ac_have_decl
6994 _ACEOF
6995 ac_fn_c_check_decl "$LINENO" "CURLE_COULDNT_CONNECT" "ac_cv_have_decl_CURLE_COULDNT_CONNECT" "
6996 #include \"curl/curl.h\"
6999 if test "x$ac_cv_have_decl_CURLE_COULDNT_CONNECT" = xyes; then :
7000 ac_have_decl=1
7001 else
7002 ac_have_decl=0
7005 cat >>confdefs.h <<_ACEOF
7006 #define HAVE_DECL_CURLE_COULDNT_CONNECT $ac_have_decl
7007 _ACEOF
7008 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_SERVER_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" "
7009 #include \"curl/curl.h\"
7012 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_SERVER_REPLY" = xyes; then :
7013 ac_have_decl=1
7014 else
7015 ac_have_decl=0
7018 cat >>confdefs.h <<_ACEOF
7019 #define HAVE_DECL_CURLE_FTP_WEIRD_SERVER_REPLY $ac_have_decl
7020 _ACEOF
7021 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_ACCESS_DENIED" "ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" "
7022 #include \"curl/curl.h\"
7025 if test "x$ac_cv_have_decl_CURLE_FTP_ACCESS_DENIED" = xyes; then :
7026 ac_have_decl=1
7027 else
7028 ac_have_decl=0
7031 cat >>confdefs.h <<_ACEOF
7032 #define HAVE_DECL_CURLE_FTP_ACCESS_DENIED $ac_have_decl
7033 _ACEOF
7034 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_USER_PASSWORD_INCORRECT" "ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" "
7035 #include \"curl/curl.h\"
7038 if test "x$ac_cv_have_decl_CURLE_FTP_USER_PASSWORD_INCORRECT" = xyes; then :
7039 ac_have_decl=1
7040 else
7041 ac_have_decl=0
7044 cat >>confdefs.h <<_ACEOF
7045 #define HAVE_DECL_CURLE_FTP_USER_PASSWORD_INCORRECT $ac_have_decl
7046 _ACEOF
7047 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_PASS_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" "
7048 #include \"curl/curl.h\"
7051 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_PASS_REPLY" = xyes; then :
7052 ac_have_decl=1
7053 else
7054 ac_have_decl=0
7057 cat >>confdefs.h <<_ACEOF
7058 #define HAVE_DECL_CURLE_FTP_WEIRD_PASS_REPLY $ac_have_decl
7059 _ACEOF
7060 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_USER_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" "
7061 #include \"curl/curl.h\"
7064 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_USER_REPLY" = xyes; then :
7065 ac_have_decl=1
7066 else
7067 ac_have_decl=0
7070 cat >>confdefs.h <<_ACEOF
7071 #define HAVE_DECL_CURLE_FTP_WEIRD_USER_REPLY $ac_have_decl
7072 _ACEOF
7073 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_PASV_REPLY" "ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY" "
7074 #include \"curl/curl.h\"
7077 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_PASV_REPLY" = xyes; then :
7078 ac_have_decl=1
7079 else
7080 ac_have_decl=0
7083 cat >>confdefs.h <<_ACEOF
7084 #define HAVE_DECL_CURLE_FTP_WEIRD_PASV_REPLY $ac_have_decl
7085 _ACEOF
7086 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WEIRD_227_FORMAT" "ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" "
7087 #include \"curl/curl.h\"
7090 if test "x$ac_cv_have_decl_CURLE_FTP_WEIRD_227_FORMAT" = xyes; then :
7091 ac_have_decl=1
7092 else
7093 ac_have_decl=0
7096 cat >>confdefs.h <<_ACEOF
7097 #define HAVE_DECL_CURLE_FTP_WEIRD_227_FORMAT $ac_have_decl
7098 _ACEOF
7099 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_CANT_GET_HOST" "ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" "
7100 #include \"curl/curl.h\"
7103 if test "x$ac_cv_have_decl_CURLE_FTP_CANT_GET_HOST" = xyes; then :
7104 ac_have_decl=1
7105 else
7106 ac_have_decl=0
7109 cat >>confdefs.h <<_ACEOF
7110 #define HAVE_DECL_CURLE_FTP_CANT_GET_HOST $ac_have_decl
7111 _ACEOF
7112 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_CANT_RECONNECT" "ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" "
7113 #include \"curl/curl.h\"
7116 if test "x$ac_cv_have_decl_CURLE_FTP_CANT_RECONNECT" = xyes; then :
7117 ac_have_decl=1
7118 else
7119 ac_have_decl=0
7122 cat >>confdefs.h <<_ACEOF
7123 #define HAVE_DECL_CURLE_FTP_CANT_RECONNECT $ac_have_decl
7124 _ACEOF
7125 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_SET_BINARY" "ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" "
7126 #include \"curl/curl.h\"
7129 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_BINARY" = xyes; then :
7130 ac_have_decl=1
7131 else
7132 ac_have_decl=0
7135 cat >>confdefs.h <<_ACEOF
7136 #define HAVE_DECL_CURLE_FTP_COULDNT_SET_BINARY $ac_have_decl
7137 _ACEOF
7138 ac_fn_c_check_decl "$LINENO" "CURLE_PARTIAL_FILE" "ac_cv_have_decl_CURLE_PARTIAL_FILE" "
7139 #include \"curl/curl.h\"
7142 if test "x$ac_cv_have_decl_CURLE_PARTIAL_FILE" = xyes; then :
7143 ac_have_decl=1
7144 else
7145 ac_have_decl=0
7148 cat >>confdefs.h <<_ACEOF
7149 #define HAVE_DECL_CURLE_PARTIAL_FILE $ac_have_decl
7150 _ACEOF
7151 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_RETR_FILE" "ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" "
7152 #include \"curl/curl.h\"
7155 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_RETR_FILE" = xyes; then :
7156 ac_have_decl=1
7157 else
7158 ac_have_decl=0
7161 cat >>confdefs.h <<_ACEOF
7162 #define HAVE_DECL_CURLE_FTP_COULDNT_RETR_FILE $ac_have_decl
7163 _ACEOF
7164 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_WRITE_ERROR" "ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" "
7165 #include \"curl/curl.h\"
7168 if test "x$ac_cv_have_decl_CURLE_FTP_WRITE_ERROR" = xyes; then :
7169 ac_have_decl=1
7170 else
7171 ac_have_decl=0
7174 cat >>confdefs.h <<_ACEOF
7175 #define HAVE_DECL_CURLE_FTP_WRITE_ERROR $ac_have_decl
7176 _ACEOF
7177 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_QUOTE_ERROR" "ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" "
7178 #include \"curl/curl.h\"
7181 if test "x$ac_cv_have_decl_CURLE_FTP_QUOTE_ERROR" = xyes; then :
7182 ac_have_decl=1
7183 else
7184 ac_have_decl=0
7187 cat >>confdefs.h <<_ACEOF
7188 #define HAVE_DECL_CURLE_FTP_QUOTE_ERROR $ac_have_decl
7189 _ACEOF
7190 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_RETURNED_ERROR" "ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" "
7191 #include \"curl/curl.h\"
7194 if test "x$ac_cv_have_decl_CURLE_HTTP_RETURNED_ERROR" = xyes; then :
7195 ac_have_decl=1
7196 else
7197 ac_have_decl=0
7200 cat >>confdefs.h <<_ACEOF
7201 #define HAVE_DECL_CURLE_HTTP_RETURNED_ERROR $ac_have_decl
7202 _ACEOF
7203 ac_fn_c_check_decl "$LINENO" "CURLE_WRITE_ERROR" "ac_cv_have_decl_CURLE_WRITE_ERROR" "
7204 #include \"curl/curl.h\"
7207 if test "x$ac_cv_have_decl_CURLE_WRITE_ERROR" = xyes; then :
7208 ac_have_decl=1
7209 else
7210 ac_have_decl=0
7213 cat >>confdefs.h <<_ACEOF
7214 #define HAVE_DECL_CURLE_WRITE_ERROR $ac_have_decl
7215 _ACEOF
7216 ac_fn_c_check_decl "$LINENO" "CURLE_MALFORMAT_USER" "ac_cv_have_decl_CURLE_MALFORMAT_USER" "
7217 #include \"curl/curl.h\"
7220 if test "x$ac_cv_have_decl_CURLE_MALFORMAT_USER" = xyes; then :
7221 ac_have_decl=1
7222 else
7223 ac_have_decl=0
7226 cat >>confdefs.h <<_ACEOF
7227 #define HAVE_DECL_CURLE_MALFORMAT_USER $ac_have_decl
7228 _ACEOF
7229 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_STOR_FILE" "ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" "
7230 #include \"curl/curl.h\"
7233 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_STOR_FILE" = xyes; then :
7234 ac_have_decl=1
7235 else
7236 ac_have_decl=0
7239 cat >>confdefs.h <<_ACEOF
7240 #define HAVE_DECL_CURLE_FTP_COULDNT_STOR_FILE $ac_have_decl
7241 _ACEOF
7242 ac_fn_c_check_decl "$LINENO" "CURLE_READ_ERROR" "ac_cv_have_decl_CURLE_READ_ERROR" "
7243 #include \"curl/curl.h\"
7246 if test "x$ac_cv_have_decl_CURLE_READ_ERROR" = xyes; then :
7247 ac_have_decl=1
7248 else
7249 ac_have_decl=0
7252 cat >>confdefs.h <<_ACEOF
7253 #define HAVE_DECL_CURLE_READ_ERROR $ac_have_decl
7254 _ACEOF
7255 ac_fn_c_check_decl "$LINENO" "CURLE_OUT_OF_MEMORY" "ac_cv_have_decl_CURLE_OUT_OF_MEMORY" "
7256 #include \"curl/curl.h\"
7259 if test "x$ac_cv_have_decl_CURLE_OUT_OF_MEMORY" = xyes; then :
7260 ac_have_decl=1
7261 else
7262 ac_have_decl=0
7265 cat >>confdefs.h <<_ACEOF
7266 #define HAVE_DECL_CURLE_OUT_OF_MEMORY $ac_have_decl
7267 _ACEOF
7268 ac_fn_c_check_decl "$LINENO" "CURLE_OPERATION_TIMEOUTED" "ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" "
7269 #include \"curl/curl.h\"
7272 if test "x$ac_cv_have_decl_CURLE_OPERATION_TIMEOUTED" = xyes; then :
7273 ac_have_decl=1
7274 else
7275 ac_have_decl=0
7278 cat >>confdefs.h <<_ACEOF
7279 #define HAVE_DECL_CURLE_OPERATION_TIMEOUTED $ac_have_decl
7280 _ACEOF
7281 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_SET_ASCII" "ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" "
7282 #include \"curl/curl.h\"
7285 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_SET_ASCII" = xyes; then :
7286 ac_have_decl=1
7287 else
7288 ac_have_decl=0
7291 cat >>confdefs.h <<_ACEOF
7292 #define HAVE_DECL_CURLE_FTP_COULDNT_SET_ASCII $ac_have_decl
7293 _ACEOF
7294 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_PORT_FAILED" "ac_cv_have_decl_CURLE_FTP_PORT_FAILED" "
7295 #include \"curl/curl.h\"
7298 if test "x$ac_cv_have_decl_CURLE_FTP_PORT_FAILED" = xyes; then :
7299 ac_have_decl=1
7300 else
7301 ac_have_decl=0
7304 cat >>confdefs.h <<_ACEOF
7305 #define HAVE_DECL_CURLE_FTP_PORT_FAILED $ac_have_decl
7306 _ACEOF
7307 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_USE_REST" "ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" "
7308 #include \"curl/curl.h\"
7311 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_USE_REST" = xyes; then :
7312 ac_have_decl=1
7313 else
7314 ac_have_decl=0
7317 cat >>confdefs.h <<_ACEOF
7318 #define HAVE_DECL_CURLE_FTP_COULDNT_USE_REST $ac_have_decl
7319 _ACEOF
7320 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_COULDNT_GET_SIZE" "ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" "
7321 #include \"curl/curl.h\"
7324 if test "x$ac_cv_have_decl_CURLE_FTP_COULDNT_GET_SIZE" = xyes; then :
7325 ac_have_decl=1
7326 else
7327 ac_have_decl=0
7330 cat >>confdefs.h <<_ACEOF
7331 #define HAVE_DECL_CURLE_FTP_COULDNT_GET_SIZE $ac_have_decl
7332 _ACEOF
7333 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_RANGE_ERROR" "ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" "
7334 #include \"curl/curl.h\"
7337 if test "x$ac_cv_have_decl_CURLE_HTTP_RANGE_ERROR" = xyes; then :
7338 ac_have_decl=1
7339 else
7340 ac_have_decl=0
7343 cat >>confdefs.h <<_ACEOF
7344 #define HAVE_DECL_CURLE_HTTP_RANGE_ERROR $ac_have_decl
7345 _ACEOF
7346 ac_fn_c_check_decl "$LINENO" "CURLE_HTTP_POST_ERROR" "ac_cv_have_decl_CURLE_HTTP_POST_ERROR" "
7347 #include \"curl/curl.h\"
7350 if test "x$ac_cv_have_decl_CURLE_HTTP_POST_ERROR" = xyes; then :
7351 ac_have_decl=1
7352 else
7353 ac_have_decl=0
7356 cat >>confdefs.h <<_ACEOF
7357 #define HAVE_DECL_CURLE_HTTP_POST_ERROR $ac_have_decl
7358 _ACEOF
7359 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CONNECT_ERROR" "ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" "
7360 #include \"curl/curl.h\"
7363 if test "x$ac_cv_have_decl_CURLE_SSL_CONNECT_ERROR" = xyes; then :
7364 ac_have_decl=1
7365 else
7366 ac_have_decl=0
7369 cat >>confdefs.h <<_ACEOF
7370 #define HAVE_DECL_CURLE_SSL_CONNECT_ERROR $ac_have_decl
7371 _ACEOF
7372 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_DOWNLOAD_RESUME" "ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" "
7373 #include \"curl/curl.h\"
7376 if test "x$ac_cv_have_decl_CURLE_BAD_DOWNLOAD_RESUME" = xyes; then :
7377 ac_have_decl=1
7378 else
7379 ac_have_decl=0
7382 cat >>confdefs.h <<_ACEOF
7383 #define HAVE_DECL_CURLE_BAD_DOWNLOAD_RESUME $ac_have_decl
7384 _ACEOF
7385 ac_fn_c_check_decl "$LINENO" "CURLE_FILE_COULDNT_READ_FILE" "ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" "
7386 #include \"curl/curl.h\"
7389 if test "x$ac_cv_have_decl_CURLE_FILE_COULDNT_READ_FILE" = xyes; then :
7390 ac_have_decl=1
7391 else
7392 ac_have_decl=0
7395 cat >>confdefs.h <<_ACEOF
7396 #define HAVE_DECL_CURLE_FILE_COULDNT_READ_FILE $ac_have_decl
7397 _ACEOF
7398 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_CANNOT_BIND" "ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" "
7399 #include \"curl/curl.h\"
7402 if test "x$ac_cv_have_decl_CURLE_LDAP_CANNOT_BIND" = xyes; then :
7403 ac_have_decl=1
7404 else
7405 ac_have_decl=0
7408 cat >>confdefs.h <<_ACEOF
7409 #define HAVE_DECL_CURLE_LDAP_CANNOT_BIND $ac_have_decl
7410 _ACEOF
7411 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_SEARCH_FAILED" "ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" "
7412 #include \"curl/curl.h\"
7415 if test "x$ac_cv_have_decl_CURLE_LDAP_SEARCH_FAILED" = xyes; then :
7416 ac_have_decl=1
7417 else
7418 ac_have_decl=0
7421 cat >>confdefs.h <<_ACEOF
7422 #define HAVE_DECL_CURLE_LDAP_SEARCH_FAILED $ac_have_decl
7423 _ACEOF
7424 ac_fn_c_check_decl "$LINENO" "CURLE_LIBRARY_NOT_FOUND" "ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" "
7425 #include \"curl/curl.h\"
7428 if test "x$ac_cv_have_decl_CURLE_LIBRARY_NOT_FOUND" = xyes; then :
7429 ac_have_decl=1
7430 else
7431 ac_have_decl=0
7434 cat >>confdefs.h <<_ACEOF
7435 #define HAVE_DECL_CURLE_LIBRARY_NOT_FOUND $ac_have_decl
7436 _ACEOF
7437 ac_fn_c_check_decl "$LINENO" "CURLE_FUNCTION_NOT_FOUND" "ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" "
7438 #include \"curl/curl.h\"
7441 if test "x$ac_cv_have_decl_CURLE_FUNCTION_NOT_FOUND" = xyes; then :
7442 ac_have_decl=1
7443 else
7444 ac_have_decl=0
7447 cat >>confdefs.h <<_ACEOF
7448 #define HAVE_DECL_CURLE_FUNCTION_NOT_FOUND $ac_have_decl
7449 _ACEOF
7450 ac_fn_c_check_decl "$LINENO" "CURLE_ABORTED_BY_CALLBACK" "ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" "
7451 #include \"curl/curl.h\"
7454 if test "x$ac_cv_have_decl_CURLE_ABORTED_BY_CALLBACK" = xyes; then :
7455 ac_have_decl=1
7456 else
7457 ac_have_decl=0
7460 cat >>confdefs.h <<_ACEOF
7461 #define HAVE_DECL_CURLE_ABORTED_BY_CALLBACK $ac_have_decl
7462 _ACEOF
7463 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_FUNCTION_ARGUMENT" "ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" "
7464 #include \"curl/curl.h\"
7467 if test "x$ac_cv_have_decl_CURLE_BAD_FUNCTION_ARGUMENT" = xyes; then :
7468 ac_have_decl=1
7469 else
7470 ac_have_decl=0
7473 cat >>confdefs.h <<_ACEOF
7474 #define HAVE_DECL_CURLE_BAD_FUNCTION_ARGUMENT $ac_have_decl
7475 _ACEOF
7476 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_CALLING_ORDER" "ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" "
7477 #include \"curl/curl.h\"
7480 if test "x$ac_cv_have_decl_CURLE_BAD_CALLING_ORDER" = xyes; then :
7481 ac_have_decl=1
7482 else
7483 ac_have_decl=0
7486 cat >>confdefs.h <<_ACEOF
7487 #define HAVE_DECL_CURLE_BAD_CALLING_ORDER $ac_have_decl
7488 _ACEOF
7489 ac_fn_c_check_decl "$LINENO" "CURLE_INTERFACE_FAILED" "ac_cv_have_decl_CURLE_INTERFACE_FAILED" "
7490 #include \"curl/curl.h\"
7493 if test "x$ac_cv_have_decl_CURLE_INTERFACE_FAILED" = xyes; then :
7494 ac_have_decl=1
7495 else
7496 ac_have_decl=0
7499 cat >>confdefs.h <<_ACEOF
7500 #define HAVE_DECL_CURLE_INTERFACE_FAILED $ac_have_decl
7501 _ACEOF
7502 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_PASSWORD_ENTERED" "ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" "
7503 #include \"curl/curl.h\"
7506 if test "x$ac_cv_have_decl_CURLE_BAD_PASSWORD_ENTERED" = xyes; then :
7507 ac_have_decl=1
7508 else
7509 ac_have_decl=0
7512 cat >>confdefs.h <<_ACEOF
7513 #define HAVE_DECL_CURLE_BAD_PASSWORD_ENTERED $ac_have_decl
7514 _ACEOF
7515 ac_fn_c_check_decl "$LINENO" "CURLE_TOO_MANY_REDIRECTS" "ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" "
7516 #include \"curl/curl.h\"
7519 if test "x$ac_cv_have_decl_CURLE_TOO_MANY_REDIRECTS" = xyes; then :
7520 ac_have_decl=1
7521 else
7522 ac_have_decl=0
7525 cat >>confdefs.h <<_ACEOF
7526 #define HAVE_DECL_CURLE_TOO_MANY_REDIRECTS $ac_have_decl
7527 _ACEOF
7528 ac_fn_c_check_decl "$LINENO" "CURLE_UNKNOWN_TELNET_OPTION" "ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" "
7529 #include \"curl/curl.h\"
7532 if test "x$ac_cv_have_decl_CURLE_UNKNOWN_TELNET_OPTION" = xyes; then :
7533 ac_have_decl=1
7534 else
7535 ac_have_decl=0
7538 cat >>confdefs.h <<_ACEOF
7539 #define HAVE_DECL_CURLE_UNKNOWN_TELNET_OPTION $ac_have_decl
7540 _ACEOF
7541 ac_fn_c_check_decl "$LINENO" "CURLE_TELNET_OPTION_SYNTAX" "ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" "
7542 #include \"curl/curl.h\"
7545 if test "x$ac_cv_have_decl_CURLE_TELNET_OPTION_SYNTAX" = xyes; then :
7546 ac_have_decl=1
7547 else
7548 ac_have_decl=0
7551 cat >>confdefs.h <<_ACEOF
7552 #define HAVE_DECL_CURLE_TELNET_OPTION_SYNTAX $ac_have_decl
7553 _ACEOF
7554 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_PEER_CERTIFICATE" "ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" "
7555 #include \"curl/curl.h\"
7558 if test "x$ac_cv_have_decl_CURLE_SSL_PEER_CERTIFICATE" = xyes; then :
7559 ac_have_decl=1
7560 else
7561 ac_have_decl=0
7564 cat >>confdefs.h <<_ACEOF
7565 #define HAVE_DECL_CURLE_SSL_PEER_CERTIFICATE $ac_have_decl
7566 _ACEOF
7567 ac_fn_c_check_decl "$LINENO" "CURLE_GOT_NOTHING" "ac_cv_have_decl_CURLE_GOT_NOTHING" "
7568 #include \"curl/curl.h\"
7571 if test "x$ac_cv_have_decl_CURLE_GOT_NOTHING" = xyes; then :
7572 ac_have_decl=1
7573 else
7574 ac_have_decl=0
7577 cat >>confdefs.h <<_ACEOF
7578 #define HAVE_DECL_CURLE_GOT_NOTHING $ac_have_decl
7579 _ACEOF
7580 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_NOTFOUND" "ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" "
7581 #include \"curl/curl.h\"
7584 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_NOTFOUND" = xyes; then :
7585 ac_have_decl=1
7586 else
7587 ac_have_decl=0
7590 cat >>confdefs.h <<_ACEOF
7591 #define HAVE_DECL_CURLE_SSL_ENGINE_NOTFOUND $ac_have_decl
7592 _ACEOF
7593 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_SETFAILED" "ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" "
7594 #include \"curl/curl.h\"
7597 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_SETFAILED" = xyes; then :
7598 ac_have_decl=1
7599 else
7600 ac_have_decl=0
7603 cat >>confdefs.h <<_ACEOF
7604 #define HAVE_DECL_CURLE_SSL_ENGINE_SETFAILED $ac_have_decl
7605 _ACEOF
7606 ac_fn_c_check_decl "$LINENO" "CURLE_SEND_ERROR" "ac_cv_have_decl_CURLE_SEND_ERROR" "
7607 #include \"curl/curl.h\"
7610 if test "x$ac_cv_have_decl_CURLE_SEND_ERROR" = xyes; then :
7611 ac_have_decl=1
7612 else
7613 ac_have_decl=0
7616 cat >>confdefs.h <<_ACEOF
7617 #define HAVE_DECL_CURLE_SEND_ERROR $ac_have_decl
7618 _ACEOF
7619 ac_fn_c_check_decl "$LINENO" "CURLE_RECV_ERROR" "ac_cv_have_decl_CURLE_RECV_ERROR" "
7620 #include \"curl/curl.h\"
7623 if test "x$ac_cv_have_decl_CURLE_RECV_ERROR" = xyes; then :
7624 ac_have_decl=1
7625 else
7626 ac_have_decl=0
7629 cat >>confdefs.h <<_ACEOF
7630 #define HAVE_DECL_CURLE_RECV_ERROR $ac_have_decl
7631 _ACEOF
7632 ac_fn_c_check_decl "$LINENO" "CURLE_SHARE_IN_USE" "ac_cv_have_decl_CURLE_SHARE_IN_USE" "
7633 #include \"curl/curl.h\"
7636 if test "x$ac_cv_have_decl_CURLE_SHARE_IN_USE" = xyes; then :
7637 ac_have_decl=1
7638 else
7639 ac_have_decl=0
7642 cat >>confdefs.h <<_ACEOF
7643 #define HAVE_DECL_CURLE_SHARE_IN_USE $ac_have_decl
7644 _ACEOF
7645 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CERTPROBLEM" "ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" "
7646 #include \"curl/curl.h\"
7649 if test "x$ac_cv_have_decl_CURLE_SSL_CERTPROBLEM" = xyes; then :
7650 ac_have_decl=1
7651 else
7652 ac_have_decl=0
7655 cat >>confdefs.h <<_ACEOF
7656 #define HAVE_DECL_CURLE_SSL_CERTPROBLEM $ac_have_decl
7657 _ACEOF
7658 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CIPHER" "ac_cv_have_decl_CURLE_SSL_CIPHER" "
7659 #include \"curl/curl.h\"
7662 if test "x$ac_cv_have_decl_CURLE_SSL_CIPHER" = xyes; then :
7663 ac_have_decl=1
7664 else
7665 ac_have_decl=0
7668 cat >>confdefs.h <<_ACEOF
7669 #define HAVE_DECL_CURLE_SSL_CIPHER $ac_have_decl
7670 _ACEOF
7671 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CACERT" "ac_cv_have_decl_CURLE_SSL_CACERT" "
7672 #include \"curl/curl.h\"
7675 if test "x$ac_cv_have_decl_CURLE_SSL_CACERT" = xyes; then :
7676 ac_have_decl=1
7677 else
7678 ac_have_decl=0
7681 cat >>confdefs.h <<_ACEOF
7682 #define HAVE_DECL_CURLE_SSL_CACERT $ac_have_decl
7683 _ACEOF
7684 ac_fn_c_check_decl "$LINENO" "CURLE_BAD_CONTENT_ENCODING" "ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" "
7685 #include \"curl/curl.h\"
7688 if test "x$ac_cv_have_decl_CURLE_BAD_CONTENT_ENCODING" = xyes; then :
7689 ac_have_decl=1
7690 else
7691 ac_have_decl=0
7694 cat >>confdefs.h <<_ACEOF
7695 #define HAVE_DECL_CURLE_BAD_CONTENT_ENCODING $ac_have_decl
7696 _ACEOF
7697 ac_fn_c_check_decl "$LINENO" "CURLE_LDAP_INVALID_URL" "ac_cv_have_decl_CURLE_LDAP_INVALID_URL" "
7698 #include \"curl/curl.h\"
7701 if test "x$ac_cv_have_decl_CURLE_LDAP_INVALID_URL" = xyes; then :
7702 ac_have_decl=1
7703 else
7704 ac_have_decl=0
7707 cat >>confdefs.h <<_ACEOF
7708 #define HAVE_DECL_CURLE_LDAP_INVALID_URL $ac_have_decl
7709 _ACEOF
7710 ac_fn_c_check_decl "$LINENO" "CURLE_FILESIZE_EXCEEDED" "ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" "
7711 #include \"curl/curl.h\"
7714 if test "x$ac_cv_have_decl_CURLE_FILESIZE_EXCEEDED" = xyes; then :
7715 ac_have_decl=1
7716 else
7717 ac_have_decl=0
7720 cat >>confdefs.h <<_ACEOF
7721 #define HAVE_DECL_CURLE_FILESIZE_EXCEEDED $ac_have_decl
7722 _ACEOF
7723 ac_fn_c_check_decl "$LINENO" "CURLE_FTP_SSL_FAILED" "ac_cv_have_decl_CURLE_FTP_SSL_FAILED" "
7724 #include \"curl/curl.h\"
7727 if test "x$ac_cv_have_decl_CURLE_FTP_SSL_FAILED" = xyes; then :
7728 ac_have_decl=1
7729 else
7730 ac_have_decl=0
7733 cat >>confdefs.h <<_ACEOF
7734 #define HAVE_DECL_CURLE_FTP_SSL_FAILED $ac_have_decl
7735 _ACEOF
7736 ac_fn_c_check_decl "$LINENO" "CURLE_SEND_FAIL_REWIND" "ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" "
7737 #include \"curl/curl.h\"
7740 if test "x$ac_cv_have_decl_CURLE_SEND_FAIL_REWIND" = xyes; then :
7741 ac_have_decl=1
7742 else
7743 ac_have_decl=0
7746 cat >>confdefs.h <<_ACEOF
7747 #define HAVE_DECL_CURLE_SEND_FAIL_REWIND $ac_have_decl
7748 _ACEOF
7749 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_ENGINE_INITFAILED" "ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" "
7750 #include \"curl/curl.h\"
7753 if test "x$ac_cv_have_decl_CURLE_SSL_ENGINE_INITFAILED" = xyes; then :
7754 ac_have_decl=1
7755 else
7756 ac_have_decl=0
7759 cat >>confdefs.h <<_ACEOF
7760 #define HAVE_DECL_CURLE_SSL_ENGINE_INITFAILED $ac_have_decl
7761 _ACEOF
7762 ac_fn_c_check_decl "$LINENO" "CURLE_LOGIN_DENIED" "ac_cv_have_decl_CURLE_LOGIN_DENIED" "
7763 #include \"curl/curl.h\"
7766 if test "x$ac_cv_have_decl_CURLE_LOGIN_DENIED" = xyes; then :
7767 ac_have_decl=1
7768 else
7769 ac_have_decl=0
7772 cat >>confdefs.h <<_ACEOF
7773 #define HAVE_DECL_CURLE_LOGIN_DENIED $ac_have_decl
7774 _ACEOF
7775 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_NOTFOUND" "ac_cv_have_decl_CURLE_TFTP_NOTFOUND" "
7776 #include \"curl/curl.h\"
7779 if test "x$ac_cv_have_decl_CURLE_TFTP_NOTFOUND" = xyes; then :
7780 ac_have_decl=1
7781 else
7782 ac_have_decl=0
7785 cat >>confdefs.h <<_ACEOF
7786 #define HAVE_DECL_CURLE_TFTP_NOTFOUND $ac_have_decl
7787 _ACEOF
7788 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_PERM" "ac_cv_have_decl_CURLE_TFTP_PERM" "
7789 #include \"curl/curl.h\"
7792 if test "x$ac_cv_have_decl_CURLE_TFTP_PERM" = xyes; then :
7793 ac_have_decl=1
7794 else
7795 ac_have_decl=0
7798 cat >>confdefs.h <<_ACEOF
7799 #define HAVE_DECL_CURLE_TFTP_PERM $ac_have_decl
7800 _ACEOF
7801 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_DISK_FULL" "ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" "
7802 #include \"curl/curl.h\"
7805 if test "x$ac_cv_have_decl_CURLE_REMOTE_DISK_FULL" = xyes; then :
7806 ac_have_decl=1
7807 else
7808 ac_have_decl=0
7811 cat >>confdefs.h <<_ACEOF
7812 #define HAVE_DECL_CURLE_REMOTE_DISK_FULL $ac_have_decl
7813 _ACEOF
7814 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_ILLEGAL" "ac_cv_have_decl_CURLE_TFTP_ILLEGAL" "
7815 #include \"curl/curl.h\"
7818 if test "x$ac_cv_have_decl_CURLE_TFTP_ILLEGAL" = xyes; then :
7819 ac_have_decl=1
7820 else
7821 ac_have_decl=0
7824 cat >>confdefs.h <<_ACEOF
7825 #define HAVE_DECL_CURLE_TFTP_ILLEGAL $ac_have_decl
7826 _ACEOF
7827 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_UNKNOWNID" "ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" "
7828 #include \"curl/curl.h\"
7831 if test "x$ac_cv_have_decl_CURLE_TFTP_UNKNOWNID" = xyes; then :
7832 ac_have_decl=1
7833 else
7834 ac_have_decl=0
7837 cat >>confdefs.h <<_ACEOF
7838 #define HAVE_DECL_CURLE_TFTP_UNKNOWNID $ac_have_decl
7839 _ACEOF
7840 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_FILE_EXISTS" "ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" "
7841 #include \"curl/curl.h\"
7844 if test "x$ac_cv_have_decl_CURLE_REMOTE_FILE_EXISTS" = xyes; then :
7845 ac_have_decl=1
7846 else
7847 ac_have_decl=0
7850 cat >>confdefs.h <<_ACEOF
7851 #define HAVE_DECL_CURLE_REMOTE_FILE_EXISTS $ac_have_decl
7852 _ACEOF
7853 ac_fn_c_check_decl "$LINENO" "CURLE_TFTP_NOSUCHUSER" "ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" "
7854 #include \"curl/curl.h\"
7857 if test "x$ac_cv_have_decl_CURLE_TFTP_NOSUCHUSER" = xyes; then :
7858 ac_have_decl=1
7859 else
7860 ac_have_decl=0
7863 cat >>confdefs.h <<_ACEOF
7864 #define HAVE_DECL_CURLE_TFTP_NOSUCHUSER $ac_have_decl
7865 _ACEOF
7866 ac_fn_c_check_decl "$LINENO" "CURLE_CONV_FAILED" "ac_cv_have_decl_CURLE_CONV_FAILED" "
7867 #include \"curl/curl.h\"
7870 if test "x$ac_cv_have_decl_CURLE_CONV_FAILED" = xyes; then :
7871 ac_have_decl=1
7872 else
7873 ac_have_decl=0
7876 cat >>confdefs.h <<_ACEOF
7877 #define HAVE_DECL_CURLE_CONV_FAILED $ac_have_decl
7878 _ACEOF
7879 ac_fn_c_check_decl "$LINENO" "CURLE_CONV_REQD" "ac_cv_have_decl_CURLE_CONV_REQD" "
7880 #include \"curl/curl.h\"
7883 if test "x$ac_cv_have_decl_CURLE_CONV_REQD" = xyes; then :
7884 ac_have_decl=1
7885 else
7886 ac_have_decl=0
7889 cat >>confdefs.h <<_ACEOF
7890 #define HAVE_DECL_CURLE_CONV_REQD $ac_have_decl
7891 _ACEOF
7892 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_CACERT_BADFILE" "ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" "
7893 #include \"curl/curl.h\"
7896 if test "x$ac_cv_have_decl_CURLE_SSL_CACERT_BADFILE" = xyes; then :
7897 ac_have_decl=1
7898 else
7899 ac_have_decl=0
7902 cat >>confdefs.h <<_ACEOF
7903 #define HAVE_DECL_CURLE_SSL_CACERT_BADFILE $ac_have_decl
7904 _ACEOF
7905 ac_fn_c_check_decl "$LINENO" "CURLE_REMOTE_FILE_NOT_FOUND" "ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" "
7906 #include \"curl/curl.h\"
7909 if test "x$ac_cv_have_decl_CURLE_REMOTE_FILE_NOT_FOUND" = xyes; then :
7910 ac_have_decl=1
7911 else
7912 ac_have_decl=0
7915 cat >>confdefs.h <<_ACEOF
7916 #define HAVE_DECL_CURLE_REMOTE_FILE_NOT_FOUND $ac_have_decl
7917 _ACEOF
7918 ac_fn_c_check_decl "$LINENO" "CURLE_SSH" "ac_cv_have_decl_CURLE_SSH" "
7919 #include \"curl/curl.h\"
7922 if test "x$ac_cv_have_decl_CURLE_SSH" = xyes; then :
7923 ac_have_decl=1
7924 else
7925 ac_have_decl=0
7928 cat >>confdefs.h <<_ACEOF
7929 #define HAVE_DECL_CURLE_SSH $ac_have_decl
7930 _ACEOF
7931 ac_fn_c_check_decl "$LINENO" "CURLE_SSL_SHUTDOWN_FAILED" "ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED" "
7932 #include \"curl/curl.h\"
7935 if test "x$ac_cv_have_decl_CURLE_SSL_SHUTDOWN_FAILED" = xyes; then :
7936 ac_have_decl=1
7937 else
7938 ac_have_decl=0
7941 cat >>confdefs.h <<_ACEOF
7942 #define HAVE_DECL_CURLE_SSL_SHUTDOWN_FAILED $ac_have_decl
7943 _ACEOF
7944 ac_fn_c_check_decl "$LINENO" "CURLE_AGAIN" "ac_cv_have_decl_CURLE_AGAIN" "
7945 #include \"curl/curl.h\"
7948 if test "x$ac_cv_have_decl_CURLE_AGAIN" = xyes; then :
7949 ac_have_decl=1
7950 else
7951 ac_have_decl=0
7954 cat >>confdefs.h <<_ACEOF
7955 #define HAVE_DECL_CURLE_AGAIN $ac_have_decl
7956 _ACEOF
7957 ac_fn_c_check_decl "$LINENO" "CURL_VERSION_TLSAUTH_SRP" "ac_cv_have_decl_CURL_VERSION_TLSAUTH_SRP" "
7958 #include \"curl/curl.h\"
7961 if test "x$ac_cv_have_decl_CURL_VERSION_TLSAUTH_SRP" = xyes; then :
7962 ac_have_decl=1
7963 else
7964 ac_have_decl=0
7967 cat >>confdefs.h <<_ACEOF
7968 #define HAVE_DECL_CURL_VERSION_TLSAUTH_SRP $ac_have_decl
7969 _ACEOF
7970 ac_fn_c_check_decl "$LINENO" "CURL_VERSION_NTLM_WB" "ac_cv_have_decl_CURL_VERSION_NTLM_WB" "
7971 #include \"curl/curl.h\"
7974 if test "x$ac_cv_have_decl_CURL_VERSION_NTLM_WB" = xyes; then :
7975 ac_have_decl=1
7976 else
7977 ac_have_decl=0
7980 cat >>confdefs.h <<_ACEOF
7981 #define HAVE_DECL_CURL_VERSION_NTLM_WB $ac_have_decl
7982 _ACEOF
7985 ac_config_headers="$ac_config_headers config.h"
7987 ac_config_files="$ac_config_files Makefile examples/Makefile"
7990 cat >confcache <<\_ACEOF
7991 # This file is a shell script that caches the results of configure
7992 # tests run on this system so they can be shared between configure
7993 # scripts and configure runs, see configure's option --config-cache.
7994 # It is not useful on other systems. If it contains results you don't
7995 # want to keep, you may remove or edit it.
7997 # config.status only pays attention to the cache file if you give it
7998 # the --recheck option to rerun configure.
8000 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8001 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8002 # following values.
8004 _ACEOF
8006 # The following way of writing the cache mishandles newlines in values,
8007 # but we know of no workaround that is simple, portable, and efficient.
8008 # So, we kill variables containing newlines.
8009 # Ultrix sh set writes to stderr and can't be redirected directly,
8010 # and sets the high bit in the cache file unless we assign to the vars.
8012 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8013 eval ac_val=\$$ac_var
8014 case $ac_val in #(
8015 *${as_nl}*)
8016 case $ac_var in #(
8017 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8018 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8019 esac
8020 case $ac_var in #(
8021 _ | IFS | as_nl) ;; #(
8022 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8023 *) { eval $ac_var=; unset $ac_var;} ;;
8024 esac ;;
8025 esac
8026 done
8028 (set) 2>&1 |
8029 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8030 *${as_nl}ac_space=\ *)
8031 # `set' does not quote correctly, so add quotes: double-quote
8032 # substitution turns \\\\ into \\, and sed turns \\ into \.
8033 sed -n \
8034 "s/'/'\\\\''/g;
8035 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8036 ;; #(
8038 # `set' quotes correctly as required by POSIX, so do not add quotes.
8039 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8041 esac |
8042 sort
8044 sed '
8045 /^ac_cv_env_/b end
8046 t clear
8047 :clear
8048 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8049 t end
8050 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8051 :end' >>confcache
8052 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8053 if test -w "$cache_file"; then
8054 if test "x$cache_file" != "x/dev/null"; then
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8056 $as_echo "$as_me: updating cache $cache_file" >&6;}
8057 if test ! -f "$cache_file" || test -h "$cache_file"; then
8058 cat confcache >"$cache_file"
8059 else
8060 case $cache_file in #(
8061 */* | ?:*)
8062 mv -f confcache "$cache_file"$$ &&
8063 mv -f "$cache_file"$$ "$cache_file" ;; #(
8065 mv -f confcache "$cache_file" ;;
8066 esac
8069 else
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8071 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8074 rm -f confcache
8076 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8077 # Let make expand exec_prefix.
8078 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8080 DEFS=-DHAVE_CONFIG_H
8082 ac_libobjs=
8083 ac_ltlibobjs=
8085 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8086 # 1. Remove the extension, and $U if already installed.
8087 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8088 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8089 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8090 # will be set to the directory where LIBOBJS objects are built.
8091 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8092 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8093 done
8094 LIBOBJS=$ac_libobjs
8096 LTLIBOBJS=$ac_ltlibobjs
8100 : "${CONFIG_STATUS=./config.status}"
8101 ac_write_fail=0
8102 ac_clean_files_save=$ac_clean_files
8103 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8105 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8106 as_write_fail=0
8107 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8108 #! $SHELL
8109 # Generated by $as_me.
8110 # Run this file to recreate the current configuration.
8111 # Compiler output produced by configure, useful for debugging
8112 # configure, is in config.log if it exists.
8114 debug=false
8115 ac_cs_recheck=false
8116 ac_cs_silent=false
8118 SHELL=\${CONFIG_SHELL-$SHELL}
8119 export SHELL
8120 _ASEOF
8121 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8122 ## -------------------- ##
8123 ## M4sh Initialization. ##
8124 ## -------------------- ##
8126 # Be more Bourne compatible
8127 DUALCASE=1; export DUALCASE # for MKS sh
8128 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8129 emulate sh
8130 NULLCMD=:
8131 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8132 # is contrary to our usage. Disable this feature.
8133 alias -g '${1+"$@"}'='"$@"'
8134 setopt NO_GLOB_SUBST
8135 else
8136 case `(set -o) 2>/dev/null` in #(
8137 *posix*) :
8138 set -o posix ;; #(
8139 *) :
8141 esac
8145 as_nl='
8147 export as_nl
8148 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8149 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8150 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8151 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8152 # Prefer a ksh shell builtin over an external printf program on Solaris,
8153 # but without wasting forks for bash or zsh.
8154 if test -z "$BASH_VERSION$ZSH_VERSION" \
8155 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8156 as_echo='print -r --'
8157 as_echo_n='print -rn --'
8158 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8159 as_echo='printf %s\n'
8160 as_echo_n='printf %s'
8161 else
8162 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8163 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8164 as_echo_n='/usr/ucb/echo -n'
8165 else
8166 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8167 as_echo_n_body='eval
8168 arg=$1;
8169 case $arg in #(
8170 *"$as_nl"*)
8171 expr "X$arg" : "X\\(.*\\)$as_nl";
8172 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8173 esac;
8174 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8176 export as_echo_n_body
8177 as_echo_n='sh -c $as_echo_n_body as_echo'
8179 export as_echo_body
8180 as_echo='sh -c $as_echo_body as_echo'
8183 # The user is always right.
8184 if test "${PATH_SEPARATOR+set}" != set; then
8185 PATH_SEPARATOR=:
8186 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8187 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8188 PATH_SEPARATOR=';'
8193 # IFS
8194 # We need space, tab and new line, in precisely that order. Quoting is
8195 # there to prevent editors from complaining about space-tab.
8196 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8197 # splitting by setting IFS to empty value.)
8198 IFS=" "" $as_nl"
8200 # Find who we are. Look in the path if we contain no directory separator.
8201 as_myself=
8202 case $0 in #((
8203 *[\\/]* ) as_myself=$0 ;;
8204 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8205 for as_dir in $PATH
8207 IFS=$as_save_IFS
8208 test -z "$as_dir" && as_dir=.
8209 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8210 done
8211 IFS=$as_save_IFS
8214 esac
8215 # We did not find ourselves, most probably we were run as `sh COMMAND'
8216 # in which case we are not to be found in the path.
8217 if test "x$as_myself" = x; then
8218 as_myself=$0
8220 if test ! -f "$as_myself"; then
8221 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8222 exit 1
8225 # Unset variables that we do not need and which cause bugs (e.g. in
8226 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8227 # suppresses any "Segmentation fault" message there. '((' could
8228 # trigger a bug in pdksh 5.2.14.
8229 for as_var in BASH_ENV ENV MAIL MAILPATH
8230 do eval test x\${$as_var+set} = xset \
8231 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8232 done
8233 PS1='$ '
8234 PS2='> '
8235 PS4='+ '
8237 # NLS nuisances.
8238 LC_ALL=C
8239 export LC_ALL
8240 LANGUAGE=C
8241 export LANGUAGE
8243 # CDPATH.
8244 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8247 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8248 # ----------------------------------------
8249 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8250 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8251 # script with STATUS, using 1 if that was 0.
8252 as_fn_error ()
8254 as_status=$1; test $as_status -eq 0 && as_status=1
8255 if test "$4"; then
8256 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8257 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8259 $as_echo "$as_me: error: $2" >&2
8260 as_fn_exit $as_status
8261 } # as_fn_error
8264 # as_fn_set_status STATUS
8265 # -----------------------
8266 # Set $? to STATUS, without forking.
8267 as_fn_set_status ()
8269 return $1
8270 } # as_fn_set_status
8272 # as_fn_exit STATUS
8273 # -----------------
8274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8275 as_fn_exit ()
8277 set +e
8278 as_fn_set_status $1
8279 exit $1
8280 } # as_fn_exit
8282 # as_fn_unset VAR
8283 # ---------------
8284 # Portably unset VAR.
8285 as_fn_unset ()
8287 { eval $1=; unset $1;}
8289 as_unset=as_fn_unset
8290 # as_fn_append VAR VALUE
8291 # ----------------------
8292 # Append the text in VALUE to the end of the definition contained in VAR. Take
8293 # advantage of any shell optimizations that allow amortized linear growth over
8294 # repeated appends, instead of the typical quadratic growth present in naive
8295 # implementations.
8296 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8297 eval 'as_fn_append ()
8299 eval $1+=\$2
8301 else
8302 as_fn_append ()
8304 eval $1=\$$1\$2
8306 fi # as_fn_append
8308 # as_fn_arith ARG...
8309 # ------------------
8310 # Perform arithmetic evaluation on the ARGs, and store the result in the
8311 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8312 # must be portable across $(()) and expr.
8313 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8314 eval 'as_fn_arith ()
8316 as_val=$(( $* ))
8318 else
8319 as_fn_arith ()
8321 as_val=`expr "$@" || test $? -eq 1`
8323 fi # as_fn_arith
8326 if expr a : '\(a\)' >/dev/null 2>&1 &&
8327 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8328 as_expr=expr
8329 else
8330 as_expr=false
8333 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8334 as_basename=basename
8335 else
8336 as_basename=false
8339 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8340 as_dirname=dirname
8341 else
8342 as_dirname=false
8345 as_me=`$as_basename -- "$0" ||
8346 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8347 X"$0" : 'X\(//\)$' \| \
8348 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8349 $as_echo X/"$0" |
8350 sed '/^.*\/\([^/][^/]*\)\/*$/{
8351 s//\1/
8354 /^X\/\(\/\/\)$/{
8355 s//\1/
8358 /^X\/\(\/\).*/{
8359 s//\1/
8362 s/.*/./; q'`
8364 # Avoid depending upon Character Ranges.
8365 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8366 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8367 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8368 as_cr_digits='0123456789'
8369 as_cr_alnum=$as_cr_Letters$as_cr_digits
8371 ECHO_C= ECHO_N= ECHO_T=
8372 case `echo -n x` in #(((((
8373 -n*)
8374 case `echo 'xy\c'` in
8375 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8376 xy) ECHO_C='\c';;
8377 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8378 ECHO_T=' ';;
8379 esac;;
8381 ECHO_N='-n';;
8382 esac
8384 rm -f conf$$ conf$$.exe conf$$.file
8385 if test -d conf$$.dir; then
8386 rm -f conf$$.dir/conf$$.file
8387 else
8388 rm -f conf$$.dir
8389 mkdir conf$$.dir 2>/dev/null
8391 if (echo >conf$$.file) 2>/dev/null; then
8392 if ln -s conf$$.file conf$$ 2>/dev/null; then
8393 as_ln_s='ln -s'
8394 # ... but there are two gotchas:
8395 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8396 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8397 # In both cases, we have to default to `cp -pR'.
8398 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8399 as_ln_s='cp -pR'
8400 elif ln conf$$.file conf$$ 2>/dev/null; then
8401 as_ln_s=ln
8402 else
8403 as_ln_s='cp -pR'
8405 else
8406 as_ln_s='cp -pR'
8408 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8409 rmdir conf$$.dir 2>/dev/null
8412 # as_fn_mkdir_p
8413 # -------------
8414 # Create "$as_dir" as a directory, including parents if necessary.
8415 as_fn_mkdir_p ()
8418 case $as_dir in #(
8419 -*) as_dir=./$as_dir;;
8420 esac
8421 test -d "$as_dir" || eval $as_mkdir_p || {
8422 as_dirs=
8423 while :; do
8424 case $as_dir in #(
8425 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8426 *) as_qdir=$as_dir;;
8427 esac
8428 as_dirs="'$as_qdir' $as_dirs"
8429 as_dir=`$as_dirname -- "$as_dir" ||
8430 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8431 X"$as_dir" : 'X\(//\)[^/]' \| \
8432 X"$as_dir" : 'X\(//\)$' \| \
8433 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8434 $as_echo X"$as_dir" |
8435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8436 s//\1/
8439 /^X\(\/\/\)[^/].*/{
8440 s//\1/
8443 /^X\(\/\/\)$/{
8444 s//\1/
8447 /^X\(\/\).*/{
8448 s//\1/
8451 s/.*/./; q'`
8452 test -d "$as_dir" && break
8453 done
8454 test -z "$as_dirs" || eval "mkdir $as_dirs"
8455 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8458 } # as_fn_mkdir_p
8459 if mkdir -p . 2>/dev/null; then
8460 as_mkdir_p='mkdir -p "$as_dir"'
8461 else
8462 test -d ./-p && rmdir ./-p
8463 as_mkdir_p=false
8467 # as_fn_executable_p FILE
8468 # -----------------------
8469 # Test if FILE is an executable regular file.
8470 as_fn_executable_p ()
8472 test -f "$1" && test -x "$1"
8473 } # as_fn_executable_p
8474 as_test_x='test -x'
8475 as_executable_p=as_fn_executable_p
8477 # Sed expression to map a string onto a valid CPP name.
8478 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8480 # Sed expression to map a string onto a valid variable name.
8481 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8484 exec 6>&1
8485 ## ----------------------------------- ##
8486 ## Main body of $CONFIG_STATUS script. ##
8487 ## ----------------------------------- ##
8488 _ASEOF
8489 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8492 # Save the log message, to keep $0 and so on meaningful, and to
8493 # report actual input values of CONFIG_FILES etc. instead of their
8494 # values after options handling.
8495 ac_log="
8496 This file was extended by ocurl $as_me 0.6.1, which was
8497 generated by GNU Autoconf 2.69. Invocation command line was
8499 CONFIG_FILES = $CONFIG_FILES
8500 CONFIG_HEADERS = $CONFIG_HEADERS
8501 CONFIG_LINKS = $CONFIG_LINKS
8502 CONFIG_COMMANDS = $CONFIG_COMMANDS
8503 $ $0 $@
8505 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8508 _ACEOF
8510 case $ac_config_files in *"
8511 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8512 esac
8514 case $ac_config_headers in *"
8515 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8516 esac
8519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8520 # Files that config.status was made for.
8521 config_files="$ac_config_files"
8522 config_headers="$ac_config_headers"
8524 _ACEOF
8526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8527 ac_cs_usage="\
8528 \`$as_me' instantiates files and other configuration actions
8529 from templates according to the current configuration. Unless the files
8530 and actions are specified as TAGs, all are instantiated by default.
8532 Usage: $0 [OPTION]... [TAG]...
8534 -h, --help print this help, then exit
8535 -V, --version print version number and configuration settings, then exit
8536 --config print configuration, then exit
8537 -q, --quiet, --silent
8538 do not print progress messages
8539 -d, --debug don't remove temporary files
8540 --recheck update $as_me by reconfiguring in the same conditions
8541 --file=FILE[:TEMPLATE]
8542 instantiate the configuration file FILE
8543 --header=FILE[:TEMPLATE]
8544 instantiate the configuration header FILE
8546 Configuration files:
8547 $config_files
8549 Configuration headers:
8550 $config_headers
8552 Report bugs to the package provider."
8554 _ACEOF
8555 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8556 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8557 ac_cs_version="\\
8558 ocurl config.status 0.6.1
8559 configured by $0, generated by GNU Autoconf 2.69,
8560 with options \\"\$ac_cs_config\\"
8562 Copyright (C) 2012 Free Software Foundation, Inc.
8563 This config.status script is free software; the Free Software Foundation
8564 gives unlimited permission to copy, distribute and modify it."
8566 ac_pwd='$ac_pwd'
8567 srcdir='$srcdir'
8568 INSTALL='$INSTALL'
8569 test -n "\$AWK" || AWK=awk
8570 _ACEOF
8572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8573 # The default lists apply if the user does not specify any file.
8574 ac_need_defaults=:
8575 while test $# != 0
8577 case $1 in
8578 --*=?*)
8579 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8580 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8581 ac_shift=:
8583 --*=)
8584 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8585 ac_optarg=
8586 ac_shift=:
8589 ac_option=$1
8590 ac_optarg=$2
8591 ac_shift=shift
8593 esac
8595 case $ac_option in
8596 # Handling of the options.
8597 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8598 ac_cs_recheck=: ;;
8599 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8600 $as_echo "$ac_cs_version"; exit ;;
8601 --config | --confi | --conf | --con | --co | --c )
8602 $as_echo "$ac_cs_config"; exit ;;
8603 --debug | --debu | --deb | --de | --d | -d )
8604 debug=: ;;
8605 --file | --fil | --fi | --f )
8606 $ac_shift
8607 case $ac_optarg in
8608 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8609 '') as_fn_error $? "missing file argument" ;;
8610 esac
8611 as_fn_append CONFIG_FILES " '$ac_optarg'"
8612 ac_need_defaults=false;;
8613 --header | --heade | --head | --hea )
8614 $ac_shift
8615 case $ac_optarg in
8616 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8617 esac
8618 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8619 ac_need_defaults=false;;
8620 --he | --h)
8621 # Conflict between --help and --header
8622 as_fn_error $? "ambiguous option: \`$1'
8623 Try \`$0 --help' for more information.";;
8624 --help | --hel | -h )
8625 $as_echo "$ac_cs_usage"; exit ;;
8626 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8627 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8628 ac_cs_silent=: ;;
8630 # This is an error.
8631 -*) as_fn_error $? "unrecognized option: \`$1'
8632 Try \`$0 --help' for more information." ;;
8634 *) as_fn_append ac_config_targets " $1"
8635 ac_need_defaults=false ;;
8637 esac
8638 shift
8639 done
8641 ac_configure_extra_args=
8643 if $ac_cs_silent; then
8644 exec 6>/dev/null
8645 ac_configure_extra_args="$ac_configure_extra_args --silent"
8648 _ACEOF
8649 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8650 if \$ac_cs_recheck; then
8651 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8652 shift
8653 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8654 CONFIG_SHELL='$SHELL'
8655 export CONFIG_SHELL
8656 exec "\$@"
8659 _ACEOF
8660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8661 exec 5>>config.log
8663 echo
8664 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8665 ## Running $as_me. ##
8666 _ASBOX
8667 $as_echo "$ac_log"
8668 } >&5
8670 _ACEOF
8671 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8672 _ACEOF
8674 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8676 # Handling of arguments.
8677 for ac_config_target in $ac_config_targets
8679 case $ac_config_target in
8680 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8681 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8682 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
8684 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8685 esac
8686 done
8689 # If the user did not use the arguments to specify the items to instantiate,
8690 # then the envvar interface is used. Set only those that are not.
8691 # We use the long form for the default assignment because of an extremely
8692 # bizarre bug on SunOS 4.1.3.
8693 if $ac_need_defaults; then
8694 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8695 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8698 # Have a temporary directory for convenience. Make it in the build tree
8699 # simply because there is no reason against having it here, and in addition,
8700 # creating and moving files from /tmp can sometimes cause problems.
8701 # Hook for its removal unless debugging.
8702 # Note that there is a small window in which the directory will not be cleaned:
8703 # after its creation but before its name has been assigned to `$tmp'.
8704 $debug ||
8706 tmp= ac_tmp=
8707 trap 'exit_status=$?
8708 : "${ac_tmp:=$tmp}"
8709 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8711 trap 'as_fn_exit 1' 1 2 13 15
8713 # Create a (secure) tmp directory for tmp files.
8716 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8717 test -d "$tmp"
8718 } ||
8720 tmp=./conf$$-$RANDOM
8721 (umask 077 && mkdir "$tmp")
8722 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8723 ac_tmp=$tmp
8725 # Set up the scripts for CONFIG_FILES section.
8726 # No need to generate them if there are no CONFIG_FILES.
8727 # This happens for instance with `./config.status config.h'.
8728 if test -n "$CONFIG_FILES"; then
8731 ac_cr=`echo X | tr X '\015'`
8732 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8733 # But we know of no other shell where ac_cr would be empty at this
8734 # point, so we can use a bashism as a fallback.
8735 if test "x$ac_cr" = x; then
8736 eval ac_cr=\$\'\\r\'
8738 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8739 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8740 ac_cs_awk_cr='\\r'
8741 else
8742 ac_cs_awk_cr=$ac_cr
8745 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8746 _ACEOF
8750 echo "cat >conf$$subs.awk <<_ACEOF" &&
8751 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8752 echo "_ACEOF"
8753 } >conf$$subs.sh ||
8754 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8755 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8756 ac_delim='%!_!# '
8757 for ac_last_try in false false false false false :; do
8758 . ./conf$$subs.sh ||
8759 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8761 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8762 if test $ac_delim_n = $ac_delim_num; then
8763 break
8764 elif $ac_last_try; then
8765 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8766 else
8767 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8769 done
8770 rm -f conf$$subs.sh
8772 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8773 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8774 _ACEOF
8775 sed -n '
8777 s/^/S["/; s/!.*/"]=/
8780 s/^[^!]*!//
8781 :repl
8782 t repl
8783 s/'"$ac_delim"'$//
8784 t delim
8787 s/\(.\{148\}\)..*/\1/
8788 t more1
8789 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8792 b repl
8793 :more1
8794 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8797 s/.\{148\}//
8798 t nl
8799 :delim
8801 s/\(.\{148\}\)..*/\1/
8802 t more2
8803 s/["\\]/\\&/g; s/^/"/; s/$/"/
8806 :more2
8807 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8810 s/.\{148\}//
8811 t delim
8812 ' <conf$$subs.awk | sed '
8813 /^[^""]/{
8815 s/\n//
8817 ' >>$CONFIG_STATUS || ac_write_fail=1
8818 rm -f conf$$subs.awk
8819 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8820 _ACAWK
8821 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8822 for (key in S) S_is_set[key] = 1
8823 FS = "\a"
8827 line = $ 0
8828 nfields = split(line, field, "@")
8829 substed = 0
8830 len = length(field[1])
8831 for (i = 2; i < nfields; i++) {
8832 key = field[i]
8833 keylen = length(key)
8834 if (S_is_set[key]) {
8835 value = S[key]
8836 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8837 len += length(value) + length(field[++i])
8838 substed = 1
8839 } else
8840 len += 1 + keylen
8843 print line
8846 _ACAWK
8847 _ACEOF
8848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8849 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8850 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8851 else
8853 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8854 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8855 _ACEOF
8857 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8858 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8859 # trailing colons and then remove the whole line if VPATH becomes empty
8860 # (actually we leave an empty line to preserve line numbers).
8861 if test "x$srcdir" = x.; then
8862 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8864 s///
8865 s/^/:/
8866 s/[ ]*$/:/
8867 s/:\$(srcdir):/:/g
8868 s/:\${srcdir}:/:/g
8869 s/:@srcdir@:/:/g
8870 s/^:*//
8871 s/:*$//
8873 s/\(=[ ]*\).*/\1/
8875 s/\n//
8876 s/^[^=]*=[ ]*$//
8880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8881 fi # test -n "$CONFIG_FILES"
8883 # Set up the scripts for CONFIG_HEADERS section.
8884 # No need to generate them if there are no CONFIG_HEADERS.
8885 # This happens for instance with `./config.status Makefile'.
8886 if test -n "$CONFIG_HEADERS"; then
8887 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
8888 BEGIN {
8889 _ACEOF
8891 # Transform confdefs.h into an awk script `defines.awk', embedded as
8892 # here-document in config.status, that substitutes the proper values into
8893 # config.h.in to produce config.h.
8895 # Create a delimiter string that does not exist in confdefs.h, to ease
8896 # handling of long lines.
8897 ac_delim='%!_!# '
8898 for ac_last_try in false false :; do
8899 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
8900 if test -z "$ac_tt"; then
8901 break
8902 elif $ac_last_try; then
8903 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8904 else
8905 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8907 done
8909 # For the awk script, D is an array of macro values keyed by name,
8910 # likewise P contains macro parameters if any. Preserve backslash
8911 # newline sequences.
8913 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8914 sed -n '
8915 s/.\{148\}/&'"$ac_delim"'/g
8916 t rset
8917 :rset
8918 s/^[ ]*#[ ]*define[ ][ ]*/ /
8919 t def
8921 :def
8922 s/\\$//
8923 t bsnl
8924 s/["\\]/\\&/g
8925 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8926 D["\1"]=" \3"/p
8927 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8929 :bsnl
8930 s/["\\]/\\&/g
8931 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8932 D["\1"]=" \3\\\\\\n"\\/p
8933 t cont
8934 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8935 t cont
8937 :cont
8939 s/.\{148\}/&'"$ac_delim"'/g
8940 t clear
8941 :clear
8942 s/\\$//
8943 t bsnlc
8944 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8946 :bsnlc
8947 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8948 b cont
8949 ' <confdefs.h | sed '
8950 s/'"$ac_delim"'/"\\\
8951 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8953 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8954 for (key in D) D_is_set[key] = 1
8955 FS = "\a"
8957 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8958 line = \$ 0
8959 split(line, arg, " ")
8960 if (arg[1] == "#") {
8961 defundef = arg[2]
8962 mac1 = arg[3]
8963 } else {
8964 defundef = substr(arg[1], 2)
8965 mac1 = arg[2]
8967 split(mac1, mac2, "(") #)
8968 macro = mac2[1]
8969 prefix = substr(line, 1, index(line, defundef) - 1)
8970 if (D_is_set[macro]) {
8971 # Preserve the white space surrounding the "#".
8972 print prefix "define", macro P[macro] D[macro]
8973 next
8974 } else {
8975 # Replace #undef with comments. This is necessary, for example,
8976 # in the case of _POSIX_SOURCE, which is predefined and required
8977 # on some systems where configure will not decide to define it.
8978 if (defundef == "undef") {
8979 print "/*", prefix defundef, macro, "*/"
8980 next
8984 { print }
8985 _ACAWK
8986 _ACEOF
8987 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8988 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8989 fi # test -n "$CONFIG_HEADERS"
8992 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
8993 shift
8994 for ac_tag
8996 case $ac_tag in
8997 :[FHLC]) ac_mode=$ac_tag; continue;;
8998 esac
8999 case $ac_mode$ac_tag in
9000 :[FHL]*:*);;
9001 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9002 :[FH]-) ac_tag=-:-;;
9003 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9004 esac
9005 ac_save_IFS=$IFS
9006 IFS=:
9007 set x $ac_tag
9008 IFS=$ac_save_IFS
9009 shift
9010 ac_file=$1
9011 shift
9013 case $ac_mode in
9014 :L) ac_source=$1;;
9015 :[FH])
9016 ac_file_inputs=
9017 for ac_f
9019 case $ac_f in
9020 -) ac_f="$ac_tmp/stdin";;
9021 *) # Look for the file first in the build tree, then in the source tree
9022 # (if the path is not absolute). The absolute path cannot be DOS-style,
9023 # because $ac_f cannot contain `:'.
9024 test -f "$ac_f" ||
9025 case $ac_f in
9026 [\\/$]*) false;;
9027 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9028 esac ||
9029 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9030 esac
9031 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9032 as_fn_append ac_file_inputs " '$ac_f'"
9033 done
9035 # Let's still pretend it is `configure' which instantiates (i.e., don't
9036 # use $as_me), people would be surprised to read:
9037 # /* config.h. Generated by config.status. */
9038 configure_input='Generated from '`
9039 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9040 `' by configure.'
9041 if test x"$ac_file" != x-; then
9042 configure_input="$ac_file. $configure_input"
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9044 $as_echo "$as_me: creating $ac_file" >&6;}
9046 # Neutralize special characters interpreted by sed in replacement strings.
9047 case $configure_input in #(
9048 *\&* | *\|* | *\\* )
9049 ac_sed_conf_input=`$as_echo "$configure_input" |
9050 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9051 *) ac_sed_conf_input=$configure_input;;
9052 esac
9054 case $ac_tag in
9055 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9056 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9057 esac
9059 esac
9061 ac_dir=`$as_dirname -- "$ac_file" ||
9062 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9063 X"$ac_file" : 'X\(//\)[^/]' \| \
9064 X"$ac_file" : 'X\(//\)$' \| \
9065 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9066 $as_echo X"$ac_file" |
9067 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9068 s//\1/
9071 /^X\(\/\/\)[^/].*/{
9072 s//\1/
9075 /^X\(\/\/\)$/{
9076 s//\1/
9079 /^X\(\/\).*/{
9080 s//\1/
9083 s/.*/./; q'`
9084 as_dir="$ac_dir"; as_fn_mkdir_p
9085 ac_builddir=.
9087 case "$ac_dir" in
9088 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9090 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9091 # A ".." for each directory in $ac_dir_suffix.
9092 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9093 case $ac_top_builddir_sub in
9094 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9095 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9096 esac ;;
9097 esac
9098 ac_abs_top_builddir=$ac_pwd
9099 ac_abs_builddir=$ac_pwd$ac_dir_suffix
9100 # for backward compatibility:
9101 ac_top_builddir=$ac_top_build_prefix
9103 case $srcdir in
9104 .) # We are building in place.
9105 ac_srcdir=.
9106 ac_top_srcdir=$ac_top_builddir_sub
9107 ac_abs_top_srcdir=$ac_pwd ;;
9108 [\\/]* | ?:[\\/]* ) # Absolute name.
9109 ac_srcdir=$srcdir$ac_dir_suffix;
9110 ac_top_srcdir=$srcdir
9111 ac_abs_top_srcdir=$srcdir ;;
9112 *) # Relative name.
9113 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9114 ac_top_srcdir=$ac_top_build_prefix$srcdir
9115 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9116 esac
9117 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9120 case $ac_mode in
9123 # CONFIG_FILE
9126 case $INSTALL in
9127 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9128 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9129 esac
9130 _ACEOF
9132 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9133 # If the template does not know about datarootdir, expand it.
9134 # FIXME: This hack should be removed a few years after 2.60.
9135 ac_datarootdir_hack=; ac_datarootdir_seen=
9136 ac_sed_dataroot='
9137 /datarootdir/ {
9141 /@datadir@/p
9142 /@docdir@/p
9143 /@infodir@/p
9144 /@localedir@/p
9145 /@mandir@/p'
9146 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9147 *datarootdir*) ac_datarootdir_seen=yes;;
9148 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9150 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9151 _ACEOF
9152 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9153 ac_datarootdir_hack='
9154 s&@datadir@&$datadir&g
9155 s&@docdir@&$docdir&g
9156 s&@infodir@&$infodir&g
9157 s&@localedir@&$localedir&g
9158 s&@mandir@&$mandir&g
9159 s&\\\${datarootdir}&$datarootdir&g' ;;
9160 esac
9161 _ACEOF
9163 # Neutralize VPATH when `$srcdir' = `.'.
9164 # Shell code in configure.ac might set extrasub.
9165 # FIXME: do we really want to maintain this feature?
9166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9167 ac_sed_extra="$ac_vpsub
9168 $extrasub
9169 _ACEOF
9170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9172 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9173 s|@configure_input@|$ac_sed_conf_input|;t t
9174 s&@top_builddir@&$ac_top_builddir_sub&;t t
9175 s&@top_build_prefix@&$ac_top_build_prefix&;t t
9176 s&@srcdir@&$ac_srcdir&;t t
9177 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9178 s&@top_srcdir@&$ac_top_srcdir&;t t
9179 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9180 s&@builddir@&$ac_builddir&;t t
9181 s&@abs_builddir@&$ac_abs_builddir&;t t
9182 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9183 s&@INSTALL@&$ac_INSTALL&;t t
9184 $ac_datarootdir_hack
9186 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9187 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9189 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9190 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9191 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9192 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9194 which seems to be undefined. Please make sure it is defined" >&5
9195 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9196 which seems to be undefined. Please make sure it is defined" >&2;}
9198 rm -f "$ac_tmp/stdin"
9199 case $ac_file in
9200 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9201 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9202 esac \
9203 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9207 # CONFIG_HEADER
9209 if test x"$ac_file" != x-; then
9211 $as_echo "/* $configure_input */" \
9212 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9213 } >"$ac_tmp/config.h" \
9214 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9215 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9217 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9218 else
9219 rm -f "$ac_file"
9220 mv "$ac_tmp/config.h" "$ac_file" \
9221 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9223 else
9224 $as_echo "/* $configure_input */" \
9225 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9226 || as_fn_error $? "could not create -" "$LINENO" 5
9231 esac
9233 done # for ac_tag
9236 as_fn_exit 0
9237 _ACEOF
9238 ac_clean_files=$ac_clean_files_save
9240 test $ac_write_fail = 0 ||
9241 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9244 # configure is writing to config.log, and then calls config.status.
9245 # config.status does its own redirection, appending to config.log.
9246 # Unfortunately, on DOS this fails, as config.log is still kept open
9247 # by configure, so config.status won't be able to write to it; its
9248 # output is simply discarded. So we exec the FD to /dev/null,
9249 # effectively closing config.log, so it can be properly (re)opened and
9250 # appended to by config.status. When coming back to configure, we
9251 # need to make the FD available again.
9252 if test "$no_create" != yes; then
9253 ac_cs_success=:
9254 ac_config_status_args=
9255 test "$silent" = yes &&
9256 ac_config_status_args="$ac_config_status_args --quiet"
9257 exec 5>/dev/null
9258 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9259 exec 5>>config.log
9260 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9261 # would make configure fail if this is the last instruction.
9262 $ac_cs_success || as_fn_exit 1
9264 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9266 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}