Debian Codegraph @

configure

raw symbols SCIP
1 #! /bin/shscip-shell filesystem . . `/bin/sh`.
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for buildtorrent 0.9.1.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if testscip-shell system . . test. ${ZSH_VERSION+y} && (emulate sh) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
34 ;;
35 esac
36 fi
37
38
39
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
42
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
48 '
49 export as_nl
50 IFS=" "" $as_nl"
51
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
55
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
61
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && unset $as_var || :
70 done
71
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then :; else exec 0</dev/nullscip-shell filesystem . . `/dev/null`.; fi
74 if (exec 3>&1) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then :; else exec 1>/dev/nullscip-shell filesystem . . `/dev/null`.; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/nullscip-shell filesystem . . `/dev/null`.; fi
76
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/binscip-shell filesystem . . `/bin;/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && {
81 (PATH='/bin:/binscip-shell filesystem . . `/bin:/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 ||
82 PATH_SEPARATOR=';'
83 }
84 fi
85
86
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
93 do
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 testscip-shell system . . test. -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if testscip-shell system . . test. "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if testscip-shell system . . test. ! -f "$as_myself"; then
112 printfscip-shell system . . printf. "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if testscip-shell system . . test. x"${_as_can_reexec}" != xno && testscip-shell system . . test. "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/nullscip-shell filesystem . . `/dev/null`.
126 ENV=/dev/nullscip-shell filesystem . . `/dev/null`.
127 (unset BASH_ENV) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printfscip-shell system . . printf. "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
139 fi
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if testscip-shell system . . test. "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
157 ;;
158 esac
159 fi
160 "
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
166
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
174
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
177 fi
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
188 then :
189 as_have_required=yes
190 else $as_nop
191 as_have_required=no
192 fi
193 if testscip-shell system . . test. x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
194 then :
195
196 else $as_nop
197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
200 do
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
209 /*)
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { testscip-shell system . . test. -f "$as_shell" || testscip-shell system . . test. -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/nullscip-shell filesystem . . `/dev/null`.
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/nullscip-shell filesystem . . `/dev/null`.
218 then :
219 break 2
220 fi
221 fi
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
229
230 else $as_nop
231 if { testscip-shell system . . test. -f "$SHELL" || testscip-shell system . . test. -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/nullscip-shell filesystem . . `/dev/null`.
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
235 fi
236 fi
237
238
239 if testscip-shell system . . test. "x$CONFIG_SHELL" != x
240 then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/nullscip-shell filesystem . . `/dev/null`.
247 ENV=/dev/nullscip-shell filesystem . . `/dev/null`.
248 (unset BASH_ENV) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printfscip-shell system . . printf. "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
260 fi
261
262 if testscip-shell system . . test. x$as_have_required = xno
263 then :
264 printfscip-shell system . . printf. "%s\n" "$0: This script requires a shell more modern than all"
265 printfscip-shell system . . printf. "%s\n" "$0: the shells that I found on your system."
266 if testscip-shell system . . test. ${ZSH_VERSION+y} ; then
267 printfscip-shell system . . printf. "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printfscip-shell system . . printf. "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 printfscip-shell system . . printf. "%s\n" "$0: Please tell [email protected] and [email protected]
271 $0: about your system, including any error possibly output
272 $0: before this message. Then install a modern shell, or
273 $0: manually run the script under such a shell if you do
274 $0: have one."
275 fi
276 exit 1
277 fi
278 fi
279 fi
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
285
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unsetscip-shell shell buildtorrent 0.9.1-4 as_fn_unset(). ()
293 {
294 { eval $1=; unset $1;}
295 }
296 as_unset=as_fn_unset
297
298
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
302 as_fn_set_statusscip-shell shell buildtorrent 0.9.1-4 as_fn_set_status(). ()
303 {
304 return $1
305 } # as_fn_set_status
306
307 # as_fn_exit STATUS
308 # -----------------
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310 as_fn_exitscip-shell shell buildtorrent 0.9.1-4 as_fn_exit(). ()
311 {
312 set +e
313 as_fn_set_statusscip-shell shell buildtorrent 0.9.1-4 as_fn_set_status(). $1
314 exit $1
315 } # as_fn_exit
316 # as_fn_nop
317 # ---------
318 # Do nothing but, unlike ":", preserve the value of $?.
319 as_fn_nopscip-shell shell buildtorrent 0.9.1-4 as_fn_nop(). ()
320 {
321 return $?
322 }
323 as_nop=as_fn_nop
324
325 # as_fn_mkdir_p
326 # -------------
327 # Create "$as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_pscip-shell shell buildtorrent 0.9.1-4 as_fn_mkdir_p(). ()
329 {
330
331 case $as_dir in #(
332 -*) as_dir=./$as_dir;;
333 esac
334 testscip-shell system . . test. -d "$as_dir" || eval $as_mkdir_p || {
335 as_dirs=
336 while :; do
337 case $as_dir in #(
338 *\'*) as_qdir=`printfscip-shell system . . printf. "%s\n" "$as_dir" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"`;; #'(
339 *) as_qdir=$as_dir;;
340 esac
341 as_dirs="'$as_qdir' $as_dirs"
342 as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
347 printfscip-shell system . . printf. "%s\n" X"$as_dir" |
348 sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349 s//\1/
350 q
351 }
352 /^X\(\/\/\)[^/].*/{
353 s//\1/
354 q
355 }
356 /^X\(\/\/\)$/{
357 s//\1/
358 q
359 }
360 /^X\(\/\).*/{
361 s//\1/
362 q
363 }
364 s/.*/./; q'`
365 testscip-shell system . . test. -d "$as_dir" && break
366 done
367 testscip-shell system . . test. -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || testscip-shell system . . test. -d "$as_dir" || as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "cannot create directory $as_dir"
369
370
371 } # as_fn_mkdir_p
372
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_pscip-shell shell buildtorrent 0.9.1-4 as_fn_executable_p(). ()
377 {
378 testscip-shell system . . test. -f "$1" && testscip-shell system . . test. -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
385 # implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
387 then :
388 eval 'as_fn_append ()
389 {
390 eval $1+=\$2
391 }'
392 else $as_nop
393 as_fn_appendscip-shell shell buildtorrent 0.9.1-4 as_fn_append(). ()
394 {
395 eval $1=\$$1\$2
396 }
397 fi # as_fn_append
398
399 # as_fn_arith ARG...
400 # ------------------
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
405 then :
406 eval 'as_fn_arith ()
407 {
408 as_val=$(( $* ))
409 }'
410 else $as_nop
411 as_fn_arithscip-shell shell buildtorrent 0.9.1-4 as_fn_arith(). ()
412 {
413 as_val=`exprscip-shell system . . expr. "$@" || testscip-shell system . . test. $? -eq 1`
414 }
415 fi # as_fn_arith
416
417 # as_fn_nop
418 # ---------
419 # Do nothing but, unlike ":", preserve the value of $?.
420 as_fn_nopscip-shell shell buildtorrent 0.9.1-4 as_fn_nop(). ()
421 {
422 return $?
423 }
424 as_nop=as_fn_nop
425
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
431 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). ()
432 {
433 as_status=$1; testscip-shell system . . test. $as_status -eq 0 && as_status=1
434 if testscip-shell system . . test. "$4"; then
435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
437 fi
438 printfscip-shell system . . printf. "%s\n" "$as_me: error: $2" >&2
439 as_fn_exitscip-shell shell buildtorrent 0.9.1-4 as_fn_exit(). $as_status
440 } # as_fn_error
441
442 if exprscip-shell system . . expr. a : '\(a\)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
443 testscip-shell system . . test. "X`exprscip-shell system . . expr. 00001 : '.*\(...\)'`" = X001; then
444 as_expr=expr
445 else
446 as_expr=false
447 fi
448
449 if (basenamescip-shell system . . basename. -- /scip-shell filesystem . . `/`.) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && testscip-shell system . . test. "X`basenamescip-shell system . . basename. -- /scip-shell filesystem . . `/`. 2>&1`" = "X/"; then
450 as_basename=basename
451 else
452 as_basename=false
453 fi
454
455 if (as_dir=`dirnamescip-shell system . . dirname. -- /scip-shell filesystem . . `/`.` && testscip-shell system . . test. "X$as_dir" = X/) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
456 as_dirname=dirname
457 else
458 as_dirname=false
459 fi
460
461 as_me=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
465 printfscip-shell system . . printf. "%s\n" X/"$0" |
466 sedscip-shell system . . sed. '/^.*\/\([^/][^/]*\)\/*$/{
467 s//\1/
468 q
469 }
470 /^X\/\(\/\/\)$/{
471 s//\1/
472 q
473 }
474 /^X\/\(\/\).*/{
475 s//\1/
476 q
477 }
478 s/.*/./; q'`
479
480 # Avoid depending upon Character Ranges.
481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits='0123456789'
485 as_cr_alnum=$as_cr_Letters$as_cr_digits
486
487
488 as_lineno_1=$LINENO as_lineno_1a=$LINENO
489 as_lineno_2=$LINENO as_lineno_2a=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 sedscip-shell system . . sed. -n '
494 p
495 /[$]LINENO/=
496 ' <$as_myself |
497 sedscip-shell system . . sed. '
498 s/[$]LINENO.*/&-/
499 t lineno
500 b
501 :lineno
502 N
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmodscip-shell system . . chmod. +x "$as_me.lineno" ||
509 { printfscip-shell system . . printf. "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exitscip-shell shell buildtorrent 0.9.1-4 as_fn_exit(). 1; }
510
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
521 }
522
523
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echoscip-shell system . . echo. -n x` in #(((((
529 -n*)
530 case `echoscip-shell system . . echo. 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echoscip-shell system . . echo. `echoscip-shell system . . echo. ksh88 bug on AIX 6.1` > /dev/nullscip-shell filesystem . . `/dev/null`.
534 ECHO_T=' ';;
535 esac;;
536 *)
537 ECHO_N='-n';;
538 esac
539
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
545
546
547 rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.file
548 if testscip-shell system . . test. -d conf$$.dir; then
549 rmscip-shell system . . rm. -f conf$$.dir/conf$$.file
550 else
551 rmscip-shell system . . rm. -f conf$$.dir
552 mkdirscip-shell system . . mkdir. conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`.
553 fi
554 if (echoscip-shell system . . echo. >conf$$.file) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
555 if lnscip-shell system . . ln. -s conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
556 as_ln_s='ln -s'
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 lnscip-shell system . . ln. -s conf$$.file conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`. && testscip-shell system . . test. ! -f conf$$.exe ||
562 as_ln_s='cp -pR'
563 elif lnscip-shell system . . ln. conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
564 as_ln_s=ln
565 else
566 as_ln_s='cp -pR'
567 fi
568 else
569 as_ln_s='cp -pR'
570 fi
571 rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572 rmdirscip-shell system . . rmdir. conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`.
573
574 if mkdirscip-shell system . . mkdir. -p . 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
575 as_mkdir_p='mkdir -p "$as_dir"'
576 else
577 testscip-shell system . . test. -d ./-p && rmdirscip-shell system . . rmdir. ./-p
578 as_mkdir_p=false
579 fi
580
581 as_test_x='test -x'
582 as_executable_p=as_fn_executable_p
583
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
586
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
589
590
591 testscip-shell system . . test. -n "$DJDIR" || exec 7<&0 </dev/nullscip-shell filesystem . . `/dev/null`.
592 exec 6>&1
593
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`
598
599 #
600 # Initializations.
601 #
602 ac_default_prefix=/usr/localscip-shell filesystem . . `/usr/local`.
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIBOBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
610
611 # Identity of this package.
612 PACKAGE_NAME='buildtorrent'
613 PACKAGE_TARNAME='buildtorrent'
614 PACKAGE_VERSION='0.9.1'
615 PACKAGE_STRING='buildtorrent 0.9.1'
616 PACKAGE_BUGREPORT='[email protected]'
617 PACKAGE_URL='https://mathr.co.uk/web/buildtorrent.html'
618
619 ac_unique_file="buildtorrent.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
650
651 ac_header_c_list=
652 ac_subst_vars='am__EXEEXT_FALSE
653 am__EXEEXT_TRUE
654 LTLIBOBJS
655 LIBOBJS
656 host_os
657 host_vendor
658 host_cpu
659 host
660 build_os
661 build_vendor
662 build_cpu
663 build
664 EGREP
665 GREP
666 CPP
667 am__fastdepCC_FALSE
668 am__fastdepCC_TRUE
669 CCDEPMODE
670 am__nodep
671 AMDEPBACKSLASH
672 AMDEP_FALSE
673 AMDEP_TRUE
674 am__include
675 DEPDIR
676 OBJEXT
677 EXEEXT
678 ac_ct_CC
679 CPPFLAGS
680 LDFLAGS
681 CFLAGS
682 CC
683 AM_BACKSLASH
684 AM_DEFAULT_VERBOSITY
685 AM_DEFAULT_V
686 AM_V
687 CSCOPE
688 ETAGS
689 CTAGS
690 am__untar
691 am__tar
692 AMTAR
693 am__leading_dot
694 SET_MAKE
695 AWK
696 mkdir_p
697 MKDIR_P
698 INSTALL_STRIP_PROGRAM
699 STRIP
700 install_sh
701 MAKEINFO
702 AUTOHEADER
703 AUTOMAKE
704 AUTOCONF
705 ACLOCAL
706 VERSION
707 PACKAGE
708 CYGPATH_W
709 am__isrc
710 INSTALL_DATA
711 INSTALL_SCRIPT
712 INSTALL_PROGRAM
713 target_alias
714 host_alias
715 build_alias
716 LIBS
717 ECHO_T
718 ECHO_N
719 ECHO_C
720 DEFS
721 mandir
722 localedir
723 libdir
724 psdir
725 pdfdir
726 dvidir
727 htmldir
728 infodir
729 docdir
730 oldincludedir
731 includedir
732 runstatedir
733 localstatedir
734 sharedstatedir
735 sysconfdir
736 datadir
737 datarootdir
738 libexecdir
739 sbindir
740 bindir
741 program_transform_name
742 prefix
743 exec_prefix
744 PACKAGE_URL
745 PACKAGE_BUGREPORT
746 PACKAGE_STRING
747 PACKAGE_VERSION
748 PACKAGE_TARNAME
749 PACKAGE_NAME
750 PATH_SEPARATOR
751 SHELL
752 am__quote'
753 ac_subst_files=''
754 ac_user_opts='
755 enable_option_checking
756 enable_silent_rules
757 enable_dependency_tracking
758 '
759 ac_precious_vars='build_alias
760 host_alias
761 target_alias
762 CC
763 CFLAGS
764 LDFLAGS
765 LIBS
766 CPPFLAGS
767 CPP'
768
769
770 # Initialize some variables set by options.
771 ac_init_help=
772 ac_init_version=false
773 ac_unrecognized_opts=
774 ac_unrecognized_sep=
775 # The variables have the same names as the options, with
776 # dashes changed to underlines.
777 cache_file=/dev/nullscip-shell filesystem . . `/dev/null`.
778 exec_prefix=NONE
779 no_create=
780 no_recursion=
781 prefix=NONE
782 program_prefix=NONE
783 program_suffix=NONE
784 program_transform_name=s,x,x,
785 silent=
786 site=
787 srcdir=
788 verbose=
789 x_includes=NONE
790 x_libraries=NONE
791
792 # Installation directory options.
793 # These are left unexpanded so users can "make install exec_prefix=/foo"
794 # and all the variables that are supposed to be based on exec_prefix
795 # by default will actually change.
796 # Use braces instead of parens because sh, perl, etc. also accept them.
797 # (The list follows the same order as the GNU Coding Standards.)
798 bindir='${exec_prefix}/bin'
799 sbindir='${exec_prefix}/sbin'
800 libexecdir='${exec_prefix}/libexec'
801 datarootdir='${prefix}/share'
802 datadir='${datarootdir}'
803 sysconfdir='${prefix}/etc'
804 sharedstatedir='${prefix}/com'
805 localstatedir='${prefix}/var'
806 runstatedir='${localstatedir}/run'
807 includedir='${prefix}/include'
808 oldincludedir='/usr/includescip-shell filesystem . . `/usr/include`.'
809 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
810 infodir='${datarootdir}/info'
811 htmldir='${docdir}'
812 dvidir='${docdir}'
813 pdfdir='${docdir}'
814 psdir='${docdir}'
815 libdir='${exec_prefix}/lib'
816 localedir='${datarootdir}/locale'
817 mandir='${datarootdir}/man'
818
819 ac_prev=
820 ac_dashdash=
821 for ac_option
822 do
823 # If the previous option needs an argument, assign it.
824 if testscip-shell system . . test. -n "$ac_prev"; then
825 eval $ac_prev=\$ac_option
826 ac_prev=
827 continue
828 fi
829
830 case $ac_option in
831 *=?*) ac_optarg=`exprscip-shell system . . expr. "X$ac_option" : '[^=]*=\(.*\)'` ;;
832 *=) ac_optarg= ;;
833 *) ac_optarg=yes ;;
834 esac
835
836 case $ac_dashdash$ac_option in
837 --)
838 ac_dashdash=yes ;;
839
840 -bindir | --bindir | --bindi | --bind | --bin | --bi)
841 ac_prev=bindir ;;
842 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
843 bindir=$ac_optarg ;;
844
845 -build | --build | --buil | --bui | --bu)
846 ac_prev=build_alias ;;
847 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
848 build_alias=$ac_optarg ;;
849
850 -cache-file | --cache-file | --cache-fil | --cache-fi \
851 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
852 ac_prev=cache_file ;;
853 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
854 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
855 cache_file=$ac_optarg ;;
856
857 --config-cache | -C)
858 cache_file=config.cache ;;
859
860 -datadir | --datadir | --datadi | --datad)
861 ac_prev=datadir ;;
862 -datadir=* | --datadir=* | --datadi=* | --datad=*)
863 datadir=$ac_optarg ;;
864
865 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
866 | --dataroo | --dataro | --datar)
867 ac_prev=datarootdir ;;
868 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
869 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
870 datarootdir=$ac_optarg ;;
871
872 -disable-* | --disable-*)
873 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*disable-\(.*\)'`
874 # Reject names that are not valid shell variable names.
875 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
876 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "invalid feature name: \`$ac_useropt'"
877 ac_useropt_orig=$ac_useropt
878 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
879 case $ac_user_opts in
880 *"
881 "enable_$ac_useropt"
882 "*) ;;
883 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
884 ac_unrecognized_sep=', ';;
885 esac
886 eval enable_$ac_useropt=no ;;
887
888 -docdir | --docdir | --docdi | --doc | --do)
889 ac_prev=docdir ;;
890 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
891 docdir=$ac_optarg ;;
892
893 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
894 ac_prev=dvidir ;;
895 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
896 dvidir=$ac_optarg ;;
897
898 -enable-* | --enable-*)
899 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*enable-\([^=]*\)'`
900 # Reject names that are not valid shell variable names.
901 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
902 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "invalid feature name: \`$ac_useropt'"
903 ac_useropt_orig=$ac_useropt
904 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
905 case $ac_user_opts in
906 *"
907 "enable_$ac_useropt"
908 "*) ;;
909 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
910 ac_unrecognized_sep=', ';;
911 esac
912 eval enable_$ac_useropt=\$ac_optarg ;;
913
914 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
915 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
916 | --exec | --exe | --ex)
917 ac_prev=exec_prefix ;;
918 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
919 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
920 | --exec=* | --exe=* | --ex=*)
921 exec_prefix=$ac_optarg ;;
922
923 -gas | --gas | --ga | --g)
924 # Obsolete; use --with-gas.
925 with_gas=yes ;;
926
927 -help | --help | --hel | --he | -h)
928 ac_init_help=long ;;
929 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
930 ac_init_help=recursive ;;
931 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
932 ac_init_help=short ;;
933
934 -host | --host | --hos | --ho)
935 ac_prev=host_alias ;;
936 -host=* | --host=* | --hos=* | --ho=*)
937 host_alias=$ac_optarg ;;
938
939 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
940 ac_prev=htmldir ;;
941 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
942 | --ht=*)
943 htmldir=$ac_optarg ;;
944
945 -includedir | --includedir | --includedi | --included | --include \
946 | --includ | --inclu | --incl | --inc)
947 ac_prev=includedir ;;
948 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
949 | --includ=* | --inclu=* | --incl=* | --inc=*)
950 includedir=$ac_optarg ;;
951
952 -infodir | --infodir | --infodi | --infod | --info | --inf)
953 ac_prev=infodir ;;
954 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
955 infodir=$ac_optarg ;;
956
957 -libdir | --libdir | --libdi | --libd)
958 ac_prev=libdir ;;
959 -libdir=* | --libdir=* | --libdi=* | --libd=*)
960 libdir=$ac_optarg ;;
961
962 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
963 | --libexe | --libex | --libe)
964 ac_prev=libexecdir ;;
965 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
966 | --libexe=* | --libex=* | --libe=*)
967 libexecdir=$ac_optarg ;;
968
969 -localedir | --localedir | --localedi | --localed | --locale)
970 ac_prev=localedir ;;
971 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
972 localedir=$ac_optarg ;;
973
974 -localstatedir | --localstatedir | --localstatedi | --localstated \
975 | --localstate | --localstat | --localsta | --localst | --locals)
976 ac_prev=localstatedir ;;
977 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
978 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
979 localstatedir=$ac_optarg ;;
980
981 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
982 ac_prev=mandir ;;
983 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
984 mandir=$ac_optarg ;;
985
986 -nfp | --nfp | --nf)
987 # Obsolete; use --without-fp.
988 with_fp=no ;;
989
990 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
991 | --no-cr | --no-c | -n)
992 no_create=yes ;;
993
994 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
995 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
996 no_recursion=yes ;;
997
998 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
999 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1000 | --oldin | --oldi | --old | --ol | --o)
1001 ac_prev=oldincludedir ;;
1002 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1003 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1004 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1005 oldincludedir=$ac_optarg ;;
1006
1007 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1008 ac_prev=prefix ;;
1009 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1010 prefix=$ac_optarg ;;
1011
1012 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1013 | --program-pre | --program-pr | --program-p)
1014 ac_prev=program_prefix ;;
1015 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1016 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1017 program_prefix=$ac_optarg ;;
1018
1019 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1020 | --program-suf | --program-su | --program-s)
1021 ac_prev=program_suffix ;;
1022 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1023 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1024 program_suffix=$ac_optarg ;;
1025
1026 -program-transform-name | --program-transform-name \
1027 | --program-transform-nam | --program-transform-na \
1028 | --program-transform-n | --program-transform- \
1029 | --program-transform | --program-transfor \
1030 | --program-transfo | --program-transf \
1031 | --program-trans | --program-tran \
1032 | --progr-tra | --program-tr | --program-t)
1033 ac_prev=program_transform_name ;;
1034 -program-transform-name=* | --program-transform-name=* \
1035 | --program-transform-nam=* | --program-transform-na=* \
1036 | --program-transform-n=* | --program-transform-=* \
1037 | --program-transform=* | --program-transfor=* \
1038 | --program-transfo=* | --program-transf=* \
1039 | --program-trans=* | --program-tran=* \
1040 | --progr-tra=* | --program-tr=* | --program-t=*)
1041 program_transform_name=$ac_optarg ;;
1042
1043 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1044 ac_prev=pdfdir ;;
1045 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1046 pdfdir=$ac_optarg ;;
1047
1048 -psdir | --psdir | --psdi | --psd | --ps)
1049 ac_prev=psdir ;;
1050 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1051 psdir=$ac_optarg ;;
1052
1053 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1054 | -silent | --silent | --silen | --sile | --sil)
1055 silent=yes ;;
1056
1057 -runstatedir | --runstatedir | --runstatedi | --runstated \
1058 | --runstate | --runstat | --runsta | --runst | --runs \
1059 | --run | --ru | --r)
1060 ac_prev=runstatedir ;;
1061 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1062 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1063 | --run=* | --ru=* | --r=*)
1064 runstatedir=$ac_optarg ;;
1065
1066 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1067 ac_prev=sbindir ;;
1068 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1069 | --sbi=* | --sb=*)
1070 sbindir=$ac_optarg ;;
1071
1072 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1073 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1074 | --sharedst | --shareds | --shared | --share | --shar \
1075 | --sha | --sh)
1076 ac_prev=sharedstatedir ;;
1077 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1078 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1079 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1080 | --sha=* | --sh=*)
1081 sharedstatedir=$ac_optarg ;;
1082
1083 -site | --site | --sit)
1084 ac_prev=site ;;
1085 -site=* | --site=* | --sit=*)
1086 site=$ac_optarg ;;
1087
1088 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1089 ac_prev=srcdir ;;
1090 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1091 srcdir=$ac_optarg ;;
1092
1093 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1094 | --syscon | --sysco | --sysc | --sys | --sy)
1095 ac_prev=sysconfdir ;;
1096 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1097 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1098 sysconfdir=$ac_optarg ;;
1099
1100 -target | --target | --targe | --targ | --tar | --ta | --t)
1101 ac_prev=target_alias ;;
1102 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1103 target_alias=$ac_optarg ;;
1104
1105 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1106 verbose=yes ;;
1107
1108 -version | --version | --versio | --versi | --vers | -V)
1109 ac_init_version=: ;;
1110
1111 -with-* | --with-*)
1112 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*with-\([^=]*\)'`
1113 # Reject names that are not valid shell variable names.
1114 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1115 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "invalid package name: \`$ac_useropt'"
1116 ac_useropt_orig=$ac_useropt
1117 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
1118 case $ac_user_opts in
1119 *"
1120 "with_$ac_useropt"
1121 "*) ;;
1122 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1123 ac_unrecognized_sep=', ';;
1124 esac
1125 eval with_$ac_useropt=\$ac_optarg ;;
1126
1127 -without-* | --without-*)
1128 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*without-\(.*\)'`
1129 # Reject names that are not valid shell variable names.
1130 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1131 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "invalid package name: \`$ac_useropt'"
1132 ac_useropt_orig=$ac_useropt
1133 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
1134 case $ac_user_opts in
1135 *"
1136 "with_$ac_useropt"
1137 "*) ;;
1138 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1139 ac_unrecognized_sep=', ';;
1140 esac
1141 eval with_$ac_useropt=no ;;
1142
1143 --x)
1144 # Obsolete; use --with-x.
1145 with_x=yes ;;
1146
1147 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1148 | --x-incl | --x-inc | --x-in | --x-i)
1149 ac_prev=x_includes ;;
1150 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1151 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1152 x_includes=$ac_optarg ;;
1153
1154 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1155 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1156 ac_prev=x_libraries ;;
1157 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1158 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1159 x_libraries=$ac_optarg ;;
1160
1161 -*) as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "unrecognized option: \`$ac_option'
1162 Try \`$0 --help' for more information"
1163 ;;
1164
1165 *=*)
1166 ac_envvar=`exprscip-shell system . . expr. "x$ac_option" : 'x\([^=]*\)='`
1167 # Reject names that are not valid shell variable names.
1168 case $ac_envvar in #(
1169 '' | [0-9]* | *[!_$as_cr_alnum]* )
1170 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "invalid variable name: \`$ac_envvar'" ;;
1171 esac
1172 eval $ac_envvar=\$ac_optarg
1173 export $ac_envvar ;;
1174
1175 *)
1176 # FIXME: should be removed in autoconf 3.0.
1177 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1178 exprscip-shell system . . expr. "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1179 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1180 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1181 ;;
1182
1183 esac
1184 done
1185
1186 if testscip-shell system . . test. -n "$ac_prev"; then
1187 ac_option=--`echoscip-shell system . . echo. $ac_prev | sedscip-shell system . . sed. 's/_/-/g'`
1188 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "missing argument to $ac_option"
1189 fi
1190
1191 if testscip-shell system . . test. -n "$ac_unrecognized_opts"; then
1192 case $enable_option_checking in
1193 no) ;;
1194 fatal) as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "unrecognized options: $ac_unrecognized_opts" ;;
1195 *) printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1196 esac
1197 fi
1198
1199 # Check all directory arguments for consistency.
1200 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1201 datadir sysconfdir sharedstatedir localstatedir includedir \
1202 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1203 libdir localedir mandir runstatedir
1204 do
1205 eval ac_val=\$$ac_var
1206 # Remove trailing slashes.
1207 case $ac_val in
1208 */ )
1209 ac_val=`exprscip-shell system . . expr. "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1210 eval $ac_var=\$ac_val;;
1211 esac
1212 # Be sure to have absolute directory names.
1213 case $ac_val in
1214 [\\/$]* | ?:[\\/]* ) continue;;
1215 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1216 esac
1217 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "expected an absolute directory name for --$ac_var: $ac_val"
1218 done
1219
1220 # There might be people who depend on the old broken behavior: `$host'
1221 # used to hold the argument of --host etc.
1222 # FIXME: To remove some day.
1223 build=$build_alias
1224 host=$host_alias
1225 target=$target_alias
1226
1227 # FIXME: To remove some day.
1228 if testscip-shell system . . test. "x$host_alias" != x; then
1229 if testscip-shell system . . test. "x$build_alias" = x; then
1230 cross_compiling=maybe
1231 elif testscip-shell system . . test. "x$build_alias" != "x$host_alias"; then
1232 cross_compiling=yes
1233 fi
1234 fi
1235
1236 ac_tool_prefix=
1237 testscip-shell system . . test. -n "$host_alias" && ac_tool_prefix=$host_alias-
1238
1239 testscip-shell system . . test. "$silent" = yes && exec 6>/dev/nullscip-shell filesystem . . `/dev/null`.
1240
1241
1242 ac_pwd=`pwdscip-shell system . . pwd.` && testscip-shell system . . test. -n "$ac_pwd" &&
1243 ac_ls_di=`lsscip-shell system . . ls. -di .` &&
1244 ac_pwd_ls_di=`cd "$ac_pwd" && lsscip-shell system . . ls. -di .` ||
1245 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "working directory cannot be determined"
1246 testscip-shell system . . test. "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1247 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "pwd does not report name of working directory"
1248
1249
1250 # Find the source files, if location was not specified.
1251 if testscip-shell system . . test. -z "$srcdir"; then
1252 ac_srcdir_defaulted=yes
1253 # Try the directory containing this script, then the parent directory.
1254 ac_confdir=`$as_dirname -- "$as_myself" ||
1255 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1256 X"$as_myself" : 'X\(//\)[^/]' \| \
1257 X"$as_myself" : 'X\(//\)$' \| \
1258 X"$as_myself" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
1259 printfscip-shell system . . printf. "%s\n" X"$as_myself" |
1260 sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1261 s//\1/
1262 q
1263 }
1264 /^X\(\/\/\)[^/].*/{
1265 s//\1/
1266 q
1267 }
1268 /^X\(\/\/\)$/{
1269 s//\1/
1270 q
1271 }
1272 /^X\(\/\).*/{
1273 s//\1/
1274 q
1275 }
1276 s/.*/./; q'`
1277 srcdir=$ac_confdir
1278 if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then
1279 srcdir=..
1280 fi
1281 else
1282 ac_srcdir_defaulted=no
1283 fi
1284 if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then
1285 testscip-shell system . . test. "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1286 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "cannot find sources ($ac_unique_file) in $srcdir"
1287 fi
1288 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1289 ac_abs_confdir=`(
1290 cd "$srcdir" && testscip-shell system . . test. -r "./$ac_unique_file" || as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "$ac_msg"
1291 pwdscip-shell system . . pwd.)`
1292 # When building in place, set srcdir=.
1293 if testscip-shell system . . test. "$ac_abs_confdir" = "$ac_pwd"; then
1294 srcdir=.
1295 fi
1296 # Remove unnecessary trailing slashes from srcdir.
1297 # Double slashes in file names in object file debugging info
1298 # mess up M-x gdb in Emacs.
1299 case $srcdir in
1300 */) srcdir=`exprscip-shell system . . expr. "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1301 esac
1302 for ac_var in $ac_precious_vars; do
1303 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1304 eval ac_env_${ac_var}_value=\$${ac_var}
1305 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1306 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1307 done
1308
1309 #
1310 # Report the --help message.
1311 #
1312 if testscip-shell system . . test. "$ac_init_help" = "long"; then
1313 # Omit some internal or obsolete options to make the list less imposing.
1314 # This message is too long to be a string in the A/UX 3.1 sh.
1315 catscip-shell system . . cat. <<_ACEOF
1316 \`configure' configures buildtorrent 0.9.1 to adapt to many kinds of systems.
1317
1318 Usage: $0 [OPTION]... [VAR=VALUE]...
1319
1320 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1321 VAR=VALUE. See below for descriptions of some of the useful variables.
1322
1323 Defaults for the options are specified in brackets.
1324
1325 Configuration:
1326 -h, --help display this help and exit
1327 --help=short display options specific to this package
1328 --help=recursive display the short help of all the included packages
1329 -V, --version display version information and exit
1330 -q, --quiet, --silent do not print \`checking ...' messages
1331 --cache-file=FILE cache test results in FILE [disabled]
1332 -C, --config-cache alias for \`--cache-file=config.cache'
1333 -n, --no-create do not create output files
1334 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1335
1336 Installation directories:
1337 --prefix=PREFIX install architecture-independent files in PREFIX
1338 [$ac_default_prefix]
1339 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1340 [PREFIX]
1341
1342 By default, \`make install' will install all the files in
1343 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1344 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1345 for instance \`--prefix=\$HOME'.
1346
1347 For better control, use the options below.
1348
1349 Fine tuning of the installation directories:
1350 --bindir=DIR user executables [EPREFIX/bin]
1351 --sbindir=DIR system admin executables [EPREFIX/sbin]
1352 --libexecdir=DIR program executables [EPREFIX/libexec]
1353 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1354 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1355 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1356 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1357 --libdir=DIR object code libraries [EPREFIX/lib]
1358 --includedir=DIR C header files [PREFIX/include]
1359 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1360 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1361 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1362 --infodir=DIR info documentation [DATAROOTDIR/info]
1363 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1364 --mandir=DIR man documentation [DATAROOTDIR/man]
1365 --docdir=DIR documentation root [DATAROOTDIR/doc/buildtorrent]
1366 --htmldir=DIR html documentation [DOCDIR]
1367 --dvidir=DIR dvi documentation [DOCDIR]
1368 --pdfdir=DIR pdf documentation [DOCDIR]
1369 --psdir=DIR ps documentation [DOCDIR]
1370 _ACEOF
1371
1372 catscip-shell system . . cat. <<\_ACEOF
1373
1374 Program names:
1375 --program-prefix=PREFIX prepend PREFIX to installed program names
1376 --program-suffix=SUFFIX append SUFFIX to installed program names
1377 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1378
1379 System types:
1380 --build=BUILD configure for building on BUILD [guessed]
1381 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1382 _ACEOF
1383 fi
1384
1385 if testscip-shell system . . test. -n "$ac_init_help"; then
1386 case $ac_init_help in
1387 short | recursive ) echoscip-shell system . . echo. "Configuration of buildtorrent 0.9.1:";;
1388 esac
1389 catscip-shell system . . cat. <<\_ACEOF
1390
1391 Optional Features:
1392 --disable-option-checking ignore unrecognized --enable/--with options
1393 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1394 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1395 --enable-silent-rules less verbose build output (undo: "make V=1")
1396 --disable-silent-rules verbose build output (undo: "make V=0")
1397 --enable-dependency-tracking
1398 do not reject slow dependency extractors
1399 --disable-dependency-tracking
1400 speeds up one-time build
1401
1402 Some influential environment variables:
1403 CC C compiler command
1404 CFLAGS C compiler flags
1405 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1406 nonstandard directory <lib dir>
1407 LIBS libraries to pass to the linker, e.g. -l<library>
1408 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1409 you have headers in a nonstandard directory <include dir>
1410 CPP C preprocessor
1411
1412 Use these variables to override the choices made by `configure' or to help
1413 it to find libraries and programs with nonstandard names/locations.
1414
1415 Report bugs to <[email protected]>.
1416 buildtorrent home page: <https://mathr.co.uk/web/buildtorrent.html>.
1417 _ACEOF
1418 ac_status=$?
1419 fi
1420
1421 if testscip-shell system . . test. "$ac_init_help" = "recursive"; then
1422 # If there are subdirs, report their specific --help.
1423 for ac_dir in : $ac_subdirs_all; do testscip-shell system . . test. "x$ac_dir" = x: && continue
1424 testscip-shell system . . test. -d "$ac_dir" ||
1425 { cd "$srcdir" && ac_pwd=`pwdscip-shell system . . pwd.` && srcdir=. && testscip-shell system . . test. -d "$ac_dir"; } ||
1426 continue
1427 ac_builddir=.
1428
1429 case "$ac_dir" in
1430 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1431 *)
1432 ac_dir_suffix=/`printfscip-shell system . . printf. "%s\n" "$ac_dir" | sedscip-shell system . . sed. 's|^\.[\\/]||'`
1433 # A ".." for each directory in $ac_dir_suffix.
1434 ac_top_builddir_sub=`printfscip-shell system . . printf. "%s\n" "$ac_dir_suffix" | sedscip-shell system . . sed. 's|/[^\\/]*|/..|g;s|/||'`
1435 case $ac_top_builddir_sub in
1436 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1437 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1438 esac ;;
1439 esac
1440 ac_abs_top_builddir=$ac_pwd
1441 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1442 # for backward compatibility:
1443 ac_top_builddir=$ac_top_build_prefix
1444
1445 case $srcdir in
1446 .) # We are building in place.
1447 ac_srcdir=.
1448 ac_top_srcdir=$ac_top_builddir_sub
1449 ac_abs_top_srcdir=$ac_pwd ;;
1450 [\\/]* | ?:[\\/]* ) # Absolute name.
1451 ac_srcdir=$srcdir$ac_dir_suffix;
1452 ac_top_srcdir=$srcdir
1453 ac_abs_top_srcdir=$srcdir ;;
1454 *) # Relative name.
1455 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1456 ac_top_srcdir=$ac_top_build_prefix$srcdir
1457 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1458 esac
1459 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1460
1461 cd "$ac_dir" || { ac_status=$?; continue; }
1462 # Check for configure.gnu first; this name is used for a wrapper for
1463 # Metaconfig's "Configure" on case-insensitive file systems.
1464 if testscip-shell system . . test. -f "$ac_srcdir/configure.gnu"; then
1465 echoscip-shell system . . echo. &&
1466 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1467 elif testscip-shell system . . test. -f "$ac_srcdir/configure"; then
1468 echoscip-shell system . . echo. &&
1469 $SHELL "$ac_srcdir/configure" --help=recursive
1470 else
1471 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1472 fi || ac_status=$?
1473 cd "$ac_pwd" || { ac_status=$?; break; }
1474 done
1475 fi
1476
1477 testscip-shell system . . test. -n "$ac_init_help" && exit $ac_status
1478 if $ac_init_version; then
1479 catscip-shell system . . cat. <<\_ACEOF
1480 buildtorrent configure 0.9.1
1481 generated by GNU Autoconf 2.71
1482
1483 Copyright (C) 2021 Free Software Foundation, Inc.
1484 This configure script is free software; the Free Software Foundation
1485 gives unlimited permission to copy, distribute and modify it.
1486 _ACEOF
1487 exit
1488 fi
1489
1490 ## ------------------------ ##
1491 ## Autoconf initialization. ##
1492 ## ------------------------ ##
1493
1494 # ac_fn_c_try_compile LINENO
1495 # --------------------------
1496 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1497 ac_fn_c_try_compilescip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_compile(). ()
1498 {
1499 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1500 rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam
1501 if { { ac_try="$ac_compile"
1502 case "(($ac_try" in
1503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1504 *) ac_try_echo=$ac_try;;
1505 esac
1506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1507 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1508 (eval "$ac_compile") 2>conftest.err
1509 ac_status=$?
1510 if testscip-shell system . . test. -s conftest.err; then
1511 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1512 catscip-shell system . . cat. conftest.er1 >&5
1513 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1514 fi
1515 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1516 testscip-shell system . . test. $ac_status = 0; } && {
1517 testscip-shell system . . test. -z "$ac_c_werror_flag" ||
1518 testscip-shell system . . test. ! -s conftest.err
1519 } && testscip-shell system . . test. -s conftest.$ac_objext
1520 then :
1521 ac_retval=0
1522 else $as_nop
1523 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1524 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1525
1526 ac_retval=1
1527 fi
1528 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1529 as_fn_set_statusscip-shell shell buildtorrent 0.9.1-4 as_fn_set_status(). $ac_retval
1530
1531 } # ac_fn_c_try_compile
1532
1533 # ac_fn_c_try_link LINENO
1534 # -----------------------
1535 # Try to link conftest.$ac_ext, and return whether this succeeded.
1536 ac_fn_c_try_linkscip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_link(). ()
1537 {
1538 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1539 rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1540 if { { ac_try="$ac_link"
1541 case "(($ac_try" in
1542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1543 *) ac_try_echo=$ac_try;;
1544 esac
1545 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1546 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1547 (eval "$ac_link") 2>conftest.err
1548 ac_status=$?
1549 if testscip-shell system . . test. -s conftest.err; then
1550 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1551 catscip-shell system . . cat. conftest.er1 >&5
1552 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1553 fi
1554 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1555 testscip-shell system . . test. $ac_status = 0; } && {
1556 testscip-shell system . . test. -z "$ac_c_werror_flag" ||
1557 testscip-shell system . . test. ! -s conftest.err
1558 } && testscip-shell system . . test. -s conftest$ac_exeext && {
1559 testscip-shell system . . test. "$cross_compiling" = yes ||
1560 testscip-shell system . . test. -x conftest$ac_exeext
1561 }
1562 then :
1563 ac_retval=0
1564 else $as_nop
1565 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1566 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1567
1568 ac_retval=1
1569 fi
1570 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1571 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1572 # interfere with the next link command; also delete a directory that is
1573 # left behind by Apple's compiler. We do this before executing the actions.
1574 rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo
1575 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1576 as_fn_set_statusscip-shell shell buildtorrent 0.9.1-4 as_fn_set_status(). $ac_retval
1577
1578 } # ac_fn_c_try_link
1579
1580 # ac_fn_c_try_run LINENO
1581 # ----------------------
1582 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
1583 # executables *can* be run.
1584 ac_fn_c_try_runscip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_run(). ()
1585 {
1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1587 if { { ac_try="$ac_link"
1588 case "(($ac_try" in
1589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1590 *) ac_try_echo=$ac_try;;
1591 esac
1592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1593 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1594 (eval "$ac_link") 2>&5
1595 ac_status=$?
1596 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1597 testscip-shell system . . test. $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1598 { { case "(($ac_try" in
1599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1600 *) ac_try_echo=$ac_try;;
1601 esac
1602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1603 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1604 (eval "$ac_try") 2>&5
1605 ac_status=$?
1606 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1607 testscip-shell system . . test. $ac_status = 0; }; }
1608 then :
1609 ac_retval=0
1610 else $as_nop
1611 printfscip-shell system . . printf. "%s\n" "$as_me: program exited with status $ac_status" >&5
1612 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1613 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1614
1615 ac_retval=$ac_status
1616 fi
1617 rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo
1618 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1619 as_fn_set_statusscip-shell shell buildtorrent 0.9.1-4 as_fn_set_status(). $ac_retval
1620
1621 } # ac_fn_c_try_run
1622
1623 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1624 # -------------------------------------------------------
1625 # Tests whether HEADER exists and can be compiled using the include files in
1626 # INCLUDES, setting the cache variable VAR accordingly.
1627 ac_fn_c_check_header_compilescip-shell shell buildtorrent 0.9.1-4 ac_fn_c_check_header_compile(). ()
1628 {
1629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1630 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1631 printfscip-shell system . . printf. %s "checking for $2... " >&6; }
1632 if eval test \${$3+y}
1633 then :
1634 printfscip-shell system . . printf. %s "(cached) " >&6
1635 else $as_nop
1636 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1637 /* end confdefs.h. */
1638 $4
1639 #include <$2>
1640 _ACEOF
1641 if ac_fn_c_try_compilescip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_compile(). "$LINENO"
1642 then :
1643 eval "$3=yes"
1644 else $as_nop
1645 eval "$3=no"
1646 fi
1647 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1648 fi
1649 eval ac_res=\$$3
1650 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1651 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
1652 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1653
1654 } # ac_fn_c_check_header_compile
1655
1656 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1657 # -------------------------------------------
1658 # Tests whether TYPE exists after having included INCLUDES, setting cache
1659 # variable VAR accordingly.
1660 ac_fn_c_check_typescip-shell shell buildtorrent 0.9.1-4 ac_fn_c_check_type(). ()
1661 {
1662 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1663 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1664 printfscip-shell system . . printf. %s "checking for $2... " >&6; }
1665 if eval test \${$3+y}
1666 then :
1667 printfscip-shell system . . printf. %s "(cached) " >&6
1668 else $as_nop
1669 eval "$3=no"
1670 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1671 /* end confdefs.h. */
1672 $4
1673 int
1674 main (void)
1675 {
1676 if (sizeof ($2))
1677 return 0;
1678 ;
1679 return 0;
1680 }
1681 _ACEOF
1682 if ac_fn_c_try_compilescip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_compile(). "$LINENO"
1683 then :
1684 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1685 /* end confdefs.h. */
1686 $4
1687 int
1688 main (void)
1689 {
1690 if (sizeof (($2)))
1691 return 0;
1692 ;
1693 return 0;
1694 }
1695 _ACEOF
1696 if ac_fn_c_try_compilescip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_compile(). "$LINENO"
1697 then :
1698
1699 else $as_nop
1700 eval "$3=yes"
1701 fi
1702 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1703 fi
1704 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1705 fi
1706 eval ac_res=\$$3
1707 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1708 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
1709 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1710
1711 } # ac_fn_c_check_type
1712
1713 # ac_fn_c_try_cpp LINENO
1714 # ----------------------
1715 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1716 ac_fn_c_try_cppscip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_cpp(). ()
1717 {
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 if { { ac_try="$ac_cpp conftest.$ac_ext"
1720 case "(($ac_try" in
1721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722 *) ac_try_echo=$ac_try;;
1723 esac
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1726 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1727 ac_status=$?
1728 if testscip-shell system . . test. -s conftest.err; then
1729 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1730 catscip-shell system . . cat. conftest.er1 >&5
1731 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1732 fi
1733 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 testscip-shell system . . test. $ac_status = 0; } > conftest.i && {
1735 testscip-shell system . . test. -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1736 testscip-shell system . . test. ! -s conftest.err
1737 }
1738 then :
1739 ac_retval=0
1740 else $as_nop
1741 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1742 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1743
1744 ac_retval=1
1745 fi
1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747 as_fn_set_statusscip-shell shell buildtorrent 0.9.1-4 as_fn_set_status(). $ac_retval
1748
1749 } # ac_fn_c_try_cpp
1750 ac_configure_args_raw=
1751 for ac_arg
1752 do
1753 case $ac_arg in
1754 *\'*)
1755 ac_arg=`printfscip-shell system . . printf. "%s\n" "$ac_arg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
1756 esac
1757 as_fn_appendscip-shell shell buildtorrent 0.9.1-4 as_fn_append(). ac_configure_args_raw " '$ac_arg'"
1758 done
1759
1760 case $ac_configure_args_raw in
1761 *$as_nl*)
1762 ac_safe_unquote= ;;
1763 *)
1764 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1765 ac_unsafe_a="$ac_unsafe_z#~"
1766 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1767 ac_configure_args_raw=` printfscip-shell system . . printf. "%s\n" "$ac_configure_args_raw" | sedscip-shell system . . sed. "$ac_safe_unquote"`;;
1768 esac
1769
1770 catscip-shell system . . cat. >config.log <<_ACEOF
1771 This file contains any messages produced by compilers while
1772 running configure, to aid debugging if configure makes a mistake.
1773
1774 It was created by buildtorrent $as_me 0.9.1, which was
1775 generated by GNU Autoconf 2.71. Invocation command line was
1776
1777 $ $0$ac_configure_args_raw
1778
1779 _ACEOF
1780 exec 5>>config.log
1781 {
1782 catscip-shell system . . cat. <<_ASUNAME
1783 ## --------- ##
1784 ## Platform. ##
1785 ## --------- ##
1786
1787 hostname = `(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`
1788 uname -m = `(unamescip-shell system . . uname. -m) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1789 uname -r = `(unamescip-shell system . . uname. -r) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1790 uname -s = `(unamescip-shell system . . uname. -s) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1791 uname -v = `(unamescip-shell system . . uname. -v) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1792
1793 /usr/bin/uname -p = `(/usr/bin/unamescip-shell filesystem . . `/usr/bin/uname`. -p) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1794 /bin/uname -X = `(/bin/unamescip-shell filesystem . . `/bin/uname`. -X) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1795
1796 /bin/arch = `(/bin/archscip-shell filesystem . . `/bin/arch`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1797 /usr/bin/arch -k = `(/usr/bin/archscip-shell filesystem . . `/usr/bin/arch`. -k) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1798 /usr/convex/getsysinfo = `(/usr/convex/getsysinfoscip-shell filesystem . . `/usr/convex/getsysinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1799 /usr/bin/hostinfo = `(/usr/bin/hostinfoscip-shell filesystem . . `/usr/bin/hostinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1800 /bin/machine = `(/bin/machinescip-shell filesystem . . `/bin/machine`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1801 /usr/bin/oslevel = `(/usr/bin/oslevelscip-shell filesystem . . `/usr/bin/oslevel`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1802 /bin/universe = `(/bin/universescip-shell filesystem . . `/bin/universe`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1803
1804 _ASUNAME
1805
1806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1807 for as_dir in $PATH
1808 do
1809 IFS=$as_save_IFS
1810 case $as_dir in #(((
1811 '') as_dir=./ ;;
1812 */) ;;
1813 *) as_dir=$as_dir/ ;;
1814 esac
1815 printfscip-shell system . . printf. "%s\n" "PATH: $as_dir"
1816 done
1817 IFS=$as_save_IFS
1818
1819 } >&5
1820
1821 catscip-shell system . . cat. >&5 <<_ACEOF
1822
1823
1824 ## ----------- ##
1825 ## Core tests. ##
1826 ## ----------- ##
1827
1828 _ACEOF
1829
1830
1831 # Keep a trace of the command line.
1832 # Strip out --no-create and --no-recursion so they do not pile up.
1833 # Strip out --silent because we don't want to record it for future runs.
1834 # Also quote any args containing shell meta-characters.
1835 # Make two passes to allow for proper duplicate-argument suppression.
1836 ac_configure_args=
1837 ac_configure_args0=
1838 ac_configure_args1=
1839 ac_must_keep_next=false
1840 for ac_pass in 1 2
1841 do
1842 for ac_arg
1843 do
1844 case $ac_arg in
1845 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1846 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1847 | -silent | --silent | --silen | --sile | --sil)
1848 continue ;;
1849 *\'*)
1850 ac_arg=`printfscip-shell system . . printf. "%s\n" "$ac_arg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
1851 esac
1852 case $ac_pass in
1853 1) as_fn_appendscip-shell shell buildtorrent 0.9.1-4 as_fn_append(). ac_configure_args0 " '$ac_arg'" ;;
1854 2)
1855 as_fn_appendscip-shell shell buildtorrent 0.9.1-4 as_fn_append(). ac_configure_args1 " '$ac_arg'"
1856 if testscip-shell system . . test. $ac_must_keep_next = true; then
1857 ac_must_keep_next=false # Got value, back to normal.
1858 else
1859 case $ac_arg in
1860 *=* | --config-cache | -C | -disable-* | --disable-* \
1861 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1862 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1863 | -with-* | --with-* | -without-* | --without-* | --x)
1864 case "$ac_configure_args0 " in
1865 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1866 esac
1867 ;;
1868 -* ) ac_must_keep_next=true ;;
1869 esac
1870 fi
1871 as_fn_appendscip-shell shell buildtorrent 0.9.1-4 as_fn_append(). ac_configure_args " '$ac_arg'"
1872 ;;
1873 esac
1874 done
1875 done
1876 { ac_configure_args0=; unset ac_configure_args0;}
1877 { ac_configure_args1=; unset ac_configure_args1;}
1878
1879 # When interrupted or exit'd, cleanup temporary files, and complete
1880 # config.log. We remove comments because anyway the quotes in there
1881 # would cause problems or look ugly.
1882 # WARNING: Use '\'' to represent an apostrophe within the trap.
1883 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1884 trap 'exit_status=$?
1885 # Sanitize IFS.
1886 IFS=" "" $as_nl"
1887 # Save into config.log some information that might help in debugging.
1888 {
1889 echo
1890
1891 printf "%s\n" "## ---------------- ##
1892 ## Cache variables. ##
1893 ## ---------------- ##"
1894 echo
1895 # The following way of writing the cache mishandles newlines in values,
1896 (
1897 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1898 eval ac_val=\$$ac_var
1899 case $ac_val in #(
1900 *${as_nl}*)
1901 case $ac_var in #(
1902 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1903 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1904 esac
1905 case $ac_var in #(
1906 _ | IFS | as_nl) ;; #(
1907 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1908 *) { eval $ac_var=; unset $ac_var;} ;;
1909 esac ;;
1910 esac
1911 done
1912 (set) 2>&1 |
1913 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1914 *${as_nl}ac_space=\ *)
1915 sed -n \
1916 "s/'\''/'\''\\\\'\'''\''/g;
1917 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1918 ;; #(
1919 *)
1920 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1921 ;;
1922 esac |
1923 sort
1924 )
1925 echo
1926
1927 printf "%s\n" "## ----------------- ##
1928 ## Output variables. ##
1929 ## ----------------- ##"
1930 echo
1931 for ac_var in $ac_subst_vars
1932 do
1933 eval ac_val=\$$ac_var
1934 case $ac_val in
1935 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1936 esac
1937 printf "%s\n" "$ac_var='\''$ac_val'\''"
1938 done | sort
1939 echo
1940
1941 if test -n "$ac_subst_files"; then
1942 printf "%s\n" "## ------------------- ##
1943 ## File substitutions. ##
1944 ## ------------------- ##"
1945 echo
1946 for ac_var in $ac_subst_files
1947 do
1948 eval ac_val=\$$ac_var
1949 case $ac_val in
1950 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1951 esac
1952 printf "%s\n" "$ac_var='\''$ac_val'\''"
1953 done | sort
1954 echo
1955 fi
1956
1957 if test -s confdefs.h; then
1958 printf "%s\n" "## ----------- ##
1959 ## confdefs.h. ##
1960 ## ----------- ##"
1961 echo
1962 cat confdefs.h
1963 echo
1964 fi
1965 test "$ac_signal" != 0 &&
1966 printf "%s\n" "$as_me: caught signal $ac_signal"
1967 printf "%s\n" "$as_me: exit $exit_status"
1968 } >&5
1969 rm -f core *.core core.conftest.* &&
1970 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1971 exit $exit_status
1972 ' 0
1973 for ac_signal in 1 2 13 15; do
1974 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1975 done
1976 ac_signal=0
1977
1978 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1979 rmscip-shell system . . rm. -f -r conftest* confdefs.h
1980
1981 printfscip-shell system . . printf. "%s\n" "/* confdefs.h */" > confdefs.h
1982
1983 # Predefined preprocessor variables.
1984
1985 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1986
1987 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1988
1989 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1990
1991 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1992
1993 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1994
1995 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1996
1997
1998 # Let the site file select an alternate cache file if it wants to.
1999 # Prefer an explicitly selected file to automatically selected ones.
2000 if testscip-shell system . . test. -n "$CONFIG_SITE"; then
2001 ac_site_files="$CONFIG_SITE"
2002 elif testscip-shell system . . test. "x$prefix" != xNONE; then
2003 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2004 else
2005 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2006 fi
2007
2008 for ac_site_file in $ac_site_files
2009 do
2010 case $ac_site_file in #(
2011 */*) :
2012 ;; #(
2013 *) :
2014 ac_site_file=./$ac_site_file ;;
2015 esac
2016 if testscip-shell system . . test. -f "$ac_site_file" && testscip-shell system . . test. -r "$ac_site_file"; then
2017 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2018 printfscip-shell system . . printf. "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2019 sedscip-shell system . . sed. 's/^/| /' "$ac_site_file" >&5
2020 . "$ac_site_file" \
2021 || { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2022 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2023 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "failed to load site script $ac_site_file
2024 See \`config.log' for more details" "$LINENO" 5; }
2025 fi
2026 done
2027
2028 if testscip-shell system . . test. -r "$cache_file"; then
2029 # Some versions of bash will fail to source /dev/null (special files
2030 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2031 if testscip-shell system . . test. /dev/nullscip-shell filesystem . . `/dev/null`. != "$cache_file" && testscip-shell system . . test. -f "$cache_file"; then
2032 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2033 printfscip-shell system . . printf. "%s\n" "$as_me: loading cache $cache_file" >&6;}
2034 case $cache_file in
2035 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2036 *) . "./$cache_file";;
2037 esac
2038 fi
2039 else
2040 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2041 printfscip-shell system . . printf. "%s\n" "$as_me: creating cache $cache_file" >&6;}
2042 >$cache_file
2043 fi
2044
2045 # Test code for whether the C compiler supports C89 (global declarations)
2046 ac_c_conftest_c89_globals='
2047 /* Does the compiler advertise C89 conformance?
2048 Do not test the value of __STDC__, because some compilers set it to 0
2049 while being otherwise adequately conformant. */
2050 #if !defined __STDC__
2051 # error "Compiler does not advertise C89 conformance"
2052 #endif
2053
2054 #include <stddef.h>
2055 #include <stdarg.h>
2056 struct stat;
2057 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2058 struct buf { int x; };
2059 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2060 static char *e (p, i)
2061 char **p;
2062 int i;
2063 {
2064 return p[i];
2065 }
2066 static char *f (char * (*g) (char **, int), char **p, ...)
2067 {
2068 char *s;
2069 va_list v;
2070 va_start (v,p);
2071 s = g (p, va_arg (v,int));
2072 va_end (v);
2073 return s;
2074 }
2075
2076 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2077 function prototypes and stuff, but not \xHH hex character constants.
2078 These do not provoke an error unfortunately, instead are silently treated
2079 as an "x". The following induces an error, until -std is added to get
2080 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2081 array size at least. It is necessary to write \x00 == 0 to get something
2082 that is true only with -std. */
2083 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2084
2085 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2086 inside strings and character constants. */
2087 #define FOO(x) '\''x'\''
2088 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2089
2090 int test (int i, double x);
2091 struct s1 {int (*f) (int a);};
2092 struct s2 {int (*f) (double a);};
2093 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2094 int, int);'
2095
2096 # Test code for whether the C compiler supports C89 (body of main).
2097 ac_c_conftest_c89_main='
2098 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2099 '
2100
2101 # Test code for whether the C compiler supports C99 (global declarations)
2102 ac_c_conftest_c99_globals='
2103 // Does the compiler advertise C99 conformance?
2104 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2105 # error "Compiler does not advertise C99 conformance"
2106 #endif
2107
2108 #include <stdbool.h>
2109 extern int puts (const char *);
2110 extern int printf (const char *, ...);
2111 extern int dprintf (int, const char *, ...);
2112 extern void *malloc (size_t);
2113
2114 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2115 // dprintf is used instead of fprintf to avoid needing to declare
2116 // FILE and stderr.
2117 #define debug(...) dprintf (2, __VA_ARGS__)
2118 #define showlist(...) puts (#__VA_ARGS__)
2119 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2120 static void
2121 test_varargs_macros (void)
2122 {
2123 int x = 1234;
2124 int y = 5678;
2125 debug ("Flag");
2126 debug ("X = %d\n", x);
2127 showlist (The first, second, and third items.);
2128 report (x>y, "x is %d but y is %d", x, y);
2129 }
2130
2131 // Check long long types.
2132 #define BIG64 18446744073709551615ull
2133 #define BIG32 4294967295ul
2134 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2135 #if !BIG_OK
2136 #error "your preprocessor is broken"
2137 #endif
2138 #if BIG_OK
2139 #else
2140 #error "your preprocessor is broken"
2141 #endif
2142 static long long int bignum = -9223372036854775807LL;
2143 static unsigned long long int ubignum = BIG64;
2144
2145 struct incomplete_array
2146 {
2147 int datasize;
2148 double data[];
2149 };
2150
2151 struct named_init {
2152 int number;
2153 const wchar_t *name;
2154 double average;
2155 };
2156
2157 typedef const char *ccp;
2158
2159 static inline int
2160 test_restrict (ccp restrict text)
2161 {
2162 // See if C++-style comments work.
2163 // Iterate through items via the restricted pointer.
2164 // Also check for declarations in for loops.
2165 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2166 continue;
2167 return 0;
2168 }
2169
2170 // Check varargs and va_copy.
2171 static bool
2172 test_varargs (const char *format, ...)
2173 {
2174 va_list args;
2175 va_start (args, format);
2176 va_list args_copy;
2177 va_copy (args_copy, args);
2178
2179 const char *str = "";
2180 int number = 0;
2181 float fnumber = 0;
2182
2183 while (*format)
2184 {
2185 switch (*format++)
2186 {
2187 case '\''s'\'': // string
2188 str = va_arg (args_copy, const char *);
2189 break;
2190 case '\''d'\'': // int
2191 number = va_arg (args_copy, int);
2192 break;
2193 case '\''f'\'': // float
2194 fnumber = va_arg (args_copy, double);
2195 break;
2196 default:
2197 break;
2198 }
2199 }
2200 va_end (args_copy);
2201 va_end (args);
2202
2203 return *str && number && fnumber;
2204 }
2205 '
2206
2207 # Test code for whether the C compiler supports C99 (body of main).
2208 ac_c_conftest_c99_main='
2209 // Check bool.
2210 _Bool success = false;
2211 success |= (argc != 0);
2212
2213 // Check restrict.
2214 if (test_restrict ("String literal") == 0)
2215 success = true;
2216 char *restrict newvar = "Another string";
2217
2218 // Check varargs.
2219 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2220 test_varargs_macros ();
2221
2222 // Check flexible array members.
2223 struct incomplete_array *ia =
2224 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2225 ia->datasize = 10;
2226 for (int i = 0; i < ia->datasize; ++i)
2227 ia->data[i] = i * 1.234;
2228
2229 // Check named initializers.
2230 struct named_init ni = {
2231 .number = 34,
2232 .name = L"Test wide string",
2233 .average = 543.34343,
2234 };
2235
2236 ni.number = 58;
2237
2238 int dynamic_array[ni.number];
2239 dynamic_array[0] = argv[0][0];
2240 dynamic_array[ni.number - 1] = 543;
2241
2242 // work around unused variable warnings
2243 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2244 || dynamic_array[ni.number - 1] != 543);
2245 '
2246
2247 # Test code for whether the C compiler supports C11 (global declarations)
2248 ac_c_conftest_c11_globals='
2249 // Does the compiler advertise C11 conformance?
2250 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2251 # error "Compiler does not advertise C11 conformance"
2252 #endif
2253
2254 // Check _Alignas.
2255 char _Alignas (double) aligned_as_double;
2256 char _Alignas (0) no_special_alignment;
2257 extern char aligned_as_int;
2258 char _Alignas (0) _Alignas (int) aligned_as_int;
2259
2260 // Check _Alignof.
2261 enum
2262 {
2263 int_alignment = _Alignof (int),
2264 int_array_alignment = _Alignof (int[100]),
2265 char_alignment = _Alignof (char)
2266 };
2267 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2268
2269 // Check _Noreturn.
2270 int _Noreturn does_not_return (void) { for (;;) continue; }
2271
2272 // Check _Static_assert.
2273 struct test_static_assert
2274 {
2275 int x;
2276 _Static_assert (sizeof (int) <= sizeof (long int),
2277 "_Static_assert does not work in struct");
2278 long int y;
2279 };
2280
2281 // Check UTF-8 literals.
2282 #define u8 syntax error!
2283 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2284
2285 // Check duplicate typedefs.
2286 typedef long *long_ptr;
2287 typedef long int *long_ptr;
2288 typedef long_ptr long_ptr;
2289
2290 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2291 struct anonymous
2292 {
2293 union {
2294 struct { int i; int j; };
2295 struct { int k; long int l; } w;
2296 };
2297 int m;
2298 } v1;
2299 '
2300
2301 # Test code for whether the C compiler supports C11 (body of main).
2302 ac_c_conftest_c11_main='
2303 _Static_assert ((offsetof (struct anonymous, i)
2304 == offsetof (struct anonymous, w.k)),
2305 "Anonymous union alignment botch");
2306 v1.i = 2;
2307 v1.w.k = 5;
2308 ok |= v1.i != 5;
2309 '
2310
2311 # Test code for whether the C compiler supports C11 (complete).
2312 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2313 ${ac_c_conftest_c99_globals}
2314 ${ac_c_conftest_c11_globals}
2315
2316 int
2317 main (int argc, char **argv)
2318 {
2319 int ok = 0;
2320 ${ac_c_conftest_c89_main}
2321 ${ac_c_conftest_c99_main}
2322 ${ac_c_conftest_c11_main}
2323 return ok;
2324 }
2325 "
2326
2327 # Test code for whether the C compiler supports C99 (complete).
2328 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2329 ${ac_c_conftest_c99_globals}
2330
2331 int
2332 main (int argc, char **argv)
2333 {
2334 int ok = 0;
2335 ${ac_c_conftest_c89_main}
2336 ${ac_c_conftest_c99_main}
2337 return ok;
2338 }
2339 "
2340
2341 # Test code for whether the C compiler supports C89 (complete).
2342 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2343
2344 int
2345 main (int argc, char **argv)
2346 {
2347 int ok = 0;
2348 ${ac_c_conftest_c89_main}
2349 return ok;
2350 }
2351 "
2352
2353 as_fn_appendscip-shell shell buildtorrent 0.9.1-4 as_fn_append(). ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2354 as_fn_appendscip-shell shell buildtorrent 0.9.1-4 as_fn_append(). ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2355 as_fn_appendscip-shell shell buildtorrent 0.9.1-4 as_fn_append(). ac_header_c_list " string.h string_h HAVE_STRING_H"
2356 as_fn_appendscip-shell shell buildtorrent 0.9.1-4 as_fn_append(). ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2357 as_fn_appendscip-shell shell buildtorrent 0.9.1-4 as_fn_append(). ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2358 as_fn_appendscip-shell shell buildtorrent 0.9.1-4 as_fn_append(). ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2359 as_fn_appendscip-shell shell buildtorrent 0.9.1-4 as_fn_append(). ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2360 as_fn_appendscip-shell shell buildtorrent 0.9.1-4 as_fn_append(). ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2361 as_fn_appendscip-shell shell buildtorrent 0.9.1-4 as_fn_append(). ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2362
2363 # Auxiliary files required by this configure script.
2364 ac_aux_files="config.guess config.sub compile missing install-sh"
2365
2366 # Locations in which to look for auxiliary files.
2367 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2368
2369 # Search for a directory containing all of the required auxiliary files,
2370 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2371 # If we don't find one directory that contains all the files we need,
2372 # we report the set of missing files from the *first* directory in
2373 # $ac_aux_dir_candidates and give up.
2374 ac_missing_aux_files=""
2375 ac_first_candidate=:
2376 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2378 as_found=false
2379 for as_dir in $ac_aux_dir_candidates
2380 do
2381 IFS=$as_save_IFS
2382 case $as_dir in #(((
2383 '') as_dir=./ ;;
2384 */) ;;
2385 *) as_dir=$as_dir/ ;;
2386 esac
2387 as_found=:
2388
2389 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2390 ac_aux_dir_found=yes
2391 ac_install_sh=
2392 for ac_aux in $ac_aux_files
2393 do
2394 # As a special case, if "install-sh" is required, that requirement
2395 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2396 # and $ac_install_sh is set appropriately for whichever one is found.
2397 if testscip-shell system . . test. x"$ac_aux" = x"install-sh"
2398 then
2399 if testscip-shell system . . test. -f "${as_dir}install-sh"; then
2400 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2401 ac_install_sh="${as_dir}install-sh -c"
2402 elif testscip-shell system . . test. -f "${as_dir}install.sh"; then
2403 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2404 ac_install_sh="${as_dir}install.sh -c"
2405 elif testscip-shell system . . test. -f "${as_dir}shtool"; then
2406 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2407 ac_install_sh="${as_dir}shtool install -c"
2408 else
2409 ac_aux_dir_found=no
2410 if $ac_first_candidate; then
2411 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2412 else
2413 break
2414 fi
2415 fi
2416 else
2417 if testscip-shell system . . test. -f "${as_dir}${ac_aux}"; then
2418 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2419 else
2420 ac_aux_dir_found=no
2421 if $ac_first_candidate; then
2422 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2423 else
2424 break
2425 fi
2426 fi
2427 fi
2428 done
2429 if testscip-shell system . . test. "$ac_aux_dir_found" = yes; then
2430 ac_aux_dir="$as_dir"
2431 break
2432 fi
2433 ac_first_candidate=false
2434
2435 as_found=false
2436 done
2437 IFS=$as_save_IFS
2438 if $as_found
2439 then :
2440
2441 else $as_nop
2442 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2443 fi
2444
2445
2446 # These three variables are undocumented and unsupported,
2447 # and are intended to be withdrawn in a future Autoconf release.
2448 # They can cause serious problems if a builder's source tree is in a directory
2449 # whose full name contains unusual characters.
2450 if testscip-shell system . . test. -f "${ac_aux_dir}config.guess"; then
2451 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2452 fi
2453 if testscip-shell system . . test. -f "${ac_aux_dir}config.sub"; then
2454 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2455 fi
2456 if testscip-shell system . . test. -f "$ac_aux_dir/configure"; then
2457 ac_configure="$SHELL ${ac_aux_dir}configure"
2458 fi
2459
2460 # Check that the precious variables saved in the cache have kept the same
2461 # value.
2462 ac_cache_corrupted=false
2463 for ac_var in $ac_precious_vars; do
2464 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2465 eval ac_new_set=\$ac_env_${ac_var}_set
2466 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2467 eval ac_new_val=\$ac_env_${ac_var}_value
2468 case $ac_old_set,$ac_new_set in
2469 set,)
2470 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2471 printfscip-shell system . . printf. "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2472 ac_cache_corrupted=: ;;
2473 ,set)
2474 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2475 printfscip-shell system . . printf. "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2476 ac_cache_corrupted=: ;;
2477 ,);;
2478 *)
2479 if testscip-shell system . . test. "x$ac_old_val" != "x$ac_new_val"; then
2480 # differences in whitespace do not lead to failure.
2481 ac_old_val_w=`echoscip-shell system . . echo. x $ac_old_val`
2482 ac_new_val_w=`echoscip-shell system . . echo. x $ac_new_val`
2483 if testscip-shell system . . test. "$ac_old_val_w" != "$ac_new_val_w"; then
2484 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2485 printfscip-shell system . . printf. "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2486 ac_cache_corrupted=:
2487 else
2488 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2489 printfscip-shell system . . printf. "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2490 eval $ac_var=\$ac_old_val
2491 fi
2492 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2493 printfscip-shell system . . printf. "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2494 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2495 printfscip-shell system . . printf. "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2496 fi;;
2497 esac
2498 # Pass precious variables to config.status.
2499 if testscip-shell system . . test. "$ac_new_set" = set; then
2500 case $ac_new_val in
2501 *\'*) ac_arg=$ac_var=`printfscip-shell system . . printf. "%s\n" "$ac_new_val" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
2502 *) ac_arg=$ac_var=$ac_new_val ;;
2503 esac
2504 case " $ac_configure_args " in
2505 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2506 *) as_fn_appendscip-shell shell buildtorrent 0.9.1-4 as_fn_append(). ac_configure_args " '$ac_arg'" ;;
2507 esac
2508 fi
2509 done
2510 if $ac_cache_corrupted; then
2511 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2512 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2513 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2514 printfscip-shell system . . printf. "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2515 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2516 and start over" "$LINENO" 5
2517 fi
2518 ## -------------------- ##
2519 ## Main body of script. ##
2520 ## -------------------- ##
2521
2522 ac_ext=c
2523 ac_cpp='$CPP $CPPFLAGS'
2524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2527
2528
2529
2530 ac_config_headers="$ac_config_headers config.h"
2531
2532 am__api_version='1.16'
2533
2534
2535
2536 # Find a good install program. We prefer a C program (faster),
2537 # so one script is as good as another. But avoid the broken or
2538 # incompatible versions:
2539 # SysV /etc/install, /usr/sbin/install
2540 # SunOS /usr/etc/install
2541 # IRIX /sbin/install
2542 # AIX /bin/install
2543 # AmigaOS /C/install, which installs bootblocks on floppy discs
2544 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2545 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2546 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2547 # OS/2's system install, which has a completely different semantic
2548 # ./install, which can be erroneously created by make from ./install.sh.
2549 # Reject install programs that cannot install multiple files.
2550 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2551 printfscip-shell system . . printf. %s "checking for a BSD-compatible install... " >&6; }
2552 if testscip-shell system . . test. -z "$INSTALL"; then
2553 if testscip-shell system . . test. ${ac_cv_path_install+y}
2554 then :
2555 printfscip-shell system . . printf. %s "(cached) " >&6
2556 else $as_nop
2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2558 for as_dir in $PATH
2559 do
2560 IFS=$as_save_IFS
2561 case $as_dir in #(((
2562 '') as_dir=./ ;;
2563 */) ;;
2564 *) as_dir=$as_dir/ ;;
2565 esac
2566 # Account for fact that we put trailing slashes in our PATH walk.
2567 case $as_dir in #((
2568 ./ | /[cC]/* | \
2569 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2570 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2571 /usr/ucb/* ) ;;
2572 *)
2573 # OSF1 and SCO ODT 3.0 have their own names for install.
2574 # Don't use installbsd from OSF since it installs stuff as root
2575 # by default.
2576 for ac_prog in ginstall scoinst install; do
2577 for ac_exec_ext in '' $ac_executable_extensions; do
2578 if as_fn_executable_pscip-shell shell buildtorrent 0.9.1-4 as_fn_executable_p(). "$as_dir$ac_prog$ac_exec_ext"; then
2579 if testscip-shell system . . test. $ac_prog = install &&
2580 grepscip-shell system . . grep. dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
2581 # AIX install. It has an incompatible calling convention.
2582 :
2583 elif testscip-shell system . . test. $ac_prog = install &&
2584 grepscip-shell system . . grep. pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
2585 # program-specific install script used by HP pwplus--don't use.
2586 :
2587 else
2588 rmscip-shell system . . rm. -rf conftest.one conftest.two conftest.dir
2589 echoscip-shell system . . echo. one > conftest.one
2590 echoscip-shell system . . echo. two > conftest.two
2591 mkdirscip-shell system . . mkdir. conftest.dir
2592 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwdscip-shell system . . pwd.`/conftest.dir/" &&
2593 testscip-shell system . . test. -s conftest.one && testscip-shell system . . test. -s conftest.two &&
2594 testscip-shell system . . test. -s conftest.dir/conftest.one &&
2595 testscip-shell system . . test. -s conftest.dir/conftest.two
2596 then
2597 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2598 break 3
2599 fi
2600 fi
2601 fi
2602 done
2603 done
2604 ;;
2605 esac
2606
2607 done
2608 IFS=$as_save_IFS
2609
2610 rmscip-shell system . . rm. -rf conftest.one conftest.two conftest.dir
2611
2612 fi
2613 if testscip-shell system . . test. ${ac_cv_path_install+y}; then
2614 INSTALL=$ac_cv_path_install
2615 else
2616 # As a last resort, use the slow shell script. Don't cache a
2617 # value for INSTALL within a source directory, because that will
2618 # break other packages using the cache if that directory is
2619 # removed, or if the value is a relative name.
2620 INSTALL=$ac_install_sh
2621 fi
2622 fi
2623 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2624 printfscip-shell system . . printf. "%s\n" "$INSTALL" >&6; }
2625
2626 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2627 # It thinks the first close brace ends the variable substitution.
2628 testscip-shell system . . test. -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2629
2630 testscip-shell system . . test. -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2631
2632 testscip-shell system . . test. -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2633
2634 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2635 printfscip-shell system . . printf. %s "checking whether build environment is sane... " >&6; }
2636 # Reject unsafe characters in $srcdir or the absolute working directory
2637 # name. Accept space and tab only in the latter.
2638 am_lf='
2639 '
2640 case `pwdscip-shell system . . pwd.` in
2641 *[\\\"\#\$\&\'\`$am_lf]*)
2642 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "unsafe absolute working directory name" "$LINENO" 5;;
2643 esac
2644 case $srcdir in
2645 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2646 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2647 esac
2648
2649 # Do 'set' in a subshell so we don't clobber the current shell's
2650 # arguments. Must try -L first in case configure is actually a
2651 # symlink; some systems play weird games with the mod time of symlinks
2652 # (eg FreeBSD returns the mod time of the symlink's containing
2653 # directory).
2654 if (
2655 am_has_slept=no
2656 for am_try in 1 2; do
2657 echoscip-shell system . . echo. "timestamp, slept: $am_has_slept" > conftest.file
2658 set X `lsscip-shell system . . ls. -Lt "$srcdir/configure" conftest.file 2> /dev/nullscip-shell filesystem . . `/dev/null`.`
2659 if testscip-shell system . . test. "$*" = "X"; then
2660 # -L didn't work.
2661 set X `lsscip-shell system . . ls. -t "$srcdir/configure" conftest.file`
2662 fi
2663 if testscip-shell system . . test. "$*" != "X $srcdir/configure conftest.file" \
2664 && testscip-shell system . . test. "$*" != "X conftest.file $srcdir/configure"; then
2665
2666 # If neither matched, then we have a broken ls. This can happen
2667 # if, for instance, CONFIG_SHELL is bash and it inherits a
2668 # broken ls alias from the environment. This has actually
2669 # happened. Such a system could not be considered "sane".
2670 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "ls -t appears to fail. Make sure there is not a broken
2671 alias in your environment" "$LINENO" 5
2672 fi
2673 if testscip-shell system . . test. "$2" = conftest.file || testscip-shell system . . test. $am_try -eq 2; then
2674 break
2675 fi
2676 # Just in case.
2677 sleepscip-shell system . . sleep. 1
2678 am_has_slept=yes
2679 done
2680 testscip-shell system . . test. "$2" = conftest.file
2681 )
2682 then
2683 # Ok.
2684 :
2685 else
2686 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "newly created file is older than distributed files!
2687 Check your system clock" "$LINENO" 5
2688 fi
2689 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2690 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
2691 # If we didn't sleep, we still need to ensure time stamps of config.status and
2692 # generated files are strictly newer.
2693 am_sleep_pid=
2694 if grepscip-shell system . . grep. 'slept: no' conftest.file >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
2695 ( sleepscip-shell system . . sleep. 1 ) &
2696 am_sleep_pid=$!
2697 fi
2698
2699 rmscip-shell system . . rm. -f conftest.file
2700
2701 testscip-shell system . . test. "$program_prefix" != NONE &&
2702 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2703 # Use a double $ so make ignores it.
2704 testscip-shell system . . test. "$program_suffix" != NONE &&
2705 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2706 # Double any \ or $.
2707 # By default was `s,x,x', remove it if useless.
2708 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2709 program_transform_name=`printfscip-shell system . . printf. "%s\n" "$program_transform_name" | sedscip-shell system . . sed. "$ac_script"`
2710
2711
2712 # Expand $ac_aux_dir to an absolute path.
2713 am_aux_dir=`cd "$ac_aux_dir" && pwdscip-shell system . . pwd.`
2714
2715
2716 if testscip-shell system . . test. x"${MISSING+set}" != xset; then
2717 MISSING="\${SHELL} '$am_aux_dir/missing'"
2718 fi
2719 # Use eval to expand $SHELL
2720 if eval "$MISSING --is-lightweight"; then
2721 am_missing_run="$MISSING "
2722 else
2723 am_missing_run=
2724 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2725 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2726 fi
2727
2728 if testscip-shell system . . test. x"${install_sh+set}" != xset; then
2729 case $am_aux_dir in
2730 *\ * | *\ *)
2731 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2732 *)
2733 install_sh="\${SHELL} $am_aux_dir/install-sh"
2734 esac
2735 fi
2736
2737 # Installed binaries are usually stripped using 'strip' when the user
2738 # run "make install-strip". However 'strip' might not be the right
2739 # tool to use in cross-compilation environments, therefore Automake
2740 # will honor the 'STRIP' environment variable to overrule this program.
2741 if testscip-shell system . . test. "$cross_compiling" != no; then
2742 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
2743 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2744 set dummy ${ac_tool_prefix}strip; ac_word=$2
2745 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2746 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
2747 if testscip-shell system . . test. ${ac_cv_prog_STRIP+y}
2748 then :
2749 printfscip-shell system . . printf. %s "(cached) " >&6
2750 else $as_nop
2751 if testscip-shell system . . test. -n "$STRIP"; then
2752 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2753 else
2754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2755 for as_dir in $PATH
2756 do
2757 IFS=$as_save_IFS
2758 case $as_dir in #(((
2759 '') as_dir=./ ;;
2760 */) ;;
2761 *) as_dir=$as_dir/ ;;
2762 esac
2763 for ac_exec_ext in '' $ac_executable_extensions; do
2764 if as_fn_executable_pscip-shell shell buildtorrent 0.9.1-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
2765 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2766 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2767 break 2
2768 fi
2769 done
2770 done
2771 IFS=$as_save_IFS
2772
2773 fi
2774 fi
2775 STRIP=$ac_cv_prog_STRIP
2776 if testscip-shell system . . test. -n "$STRIP"; then
2777 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2778 printfscip-shell system . . printf. "%s\n" "$STRIP" >&6; }
2779 else
2780 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2781 printfscip-shell system . . printf. "%s\n" "no" >&6; }
2782 fi
2783
2784
2785 fi
2786 if testscip-shell system . . test. -z "$ac_cv_prog_STRIP"; then
2787 ac_ct_STRIP=$STRIP
2788 # Extract the first word of "strip", so it can be a program name with args.
2789 set dummy strip; ac_word=$2
2790 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2791 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
2792 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_STRIP+y}
2793 then :
2794 printfscip-shell system . . printf. %s "(cached) " >&6
2795 else $as_nop
2796 if testscip-shell system . . test. -n "$ac_ct_STRIP"; then
2797 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2798 else
2799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2800 for as_dir in $PATH
2801 do
2802 IFS=$as_save_IFS
2803 case $as_dir in #(((
2804 '') as_dir=./ ;;
2805 */) ;;
2806 *) as_dir=$as_dir/ ;;
2807 esac
2808 for ac_exec_ext in '' $ac_executable_extensions; do
2809 if as_fn_executable_pscip-shell shell buildtorrent 0.9.1-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
2810 ac_cv_prog_ac_ct_STRIP="strip"
2811 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2812 break 2
2813 fi
2814 done
2815 done
2816 IFS=$as_save_IFS
2817
2818 fi
2819 fi
2820 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2821 if testscip-shell system . . test. -n "$ac_ct_STRIP"; then
2822 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2823 printfscip-shell system . . printf. "%s\n" "$ac_ct_STRIP" >&6; }
2824 else
2825 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2826 printfscip-shell system . . printf. "%s\n" "no" >&6; }
2827 fi
2828
2829 if testscip-shell system . . test. "x$ac_ct_STRIP" = x; then
2830 STRIP=":"
2831 else
2832 case $cross_compiling:$ac_tool_warned in
2833 yes:)
2834 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2835 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2836 ac_tool_warned=yes ;;
2837 esac
2838 STRIP=$ac_ct_STRIP
2839 fi
2840 else
2841 STRIP="$ac_cv_prog_STRIP"
2842 fi
2843
2844 fi
2845 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2846
2847
2848 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2849 printfscip-shell system . . printf. %s "checking for a race-free mkdir -p... " >&6; }
2850 if testscip-shell system . . test. -z "$MKDIR_P"; then
2851 if testscip-shell system . . test. ${ac_cv_path_mkdir+y}
2852 then :
2853 printfscip-shell system . . printf. %s "(cached) " >&6
2854 else $as_nop
2855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2856 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2857 do
2858 IFS=$as_save_IFS
2859 case $as_dir in #(((
2860 '') as_dir=./ ;;
2861 */) ;;
2862 *) as_dir=$as_dir/ ;;
2863 esac
2864 for ac_prog in mkdir gmkdir; do
2865 for ac_exec_ext in '' $ac_executable_extensions; do
2866 as_fn_executable_pscip-shell shell buildtorrent 0.9.1-4 as_fn_executable_p(). "$as_dir$ac_prog$ac_exec_ext" || continue
2867 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2868 'mkdir ('*'coreutils) '* | \
2869 'BusyBox '* | \
2870 'mkdir (fileutils) '4.1*)
2871 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2872 break 3;;
2873 esac
2874 done
2875 done
2876 done
2877 IFS=$as_save_IFS
2878
2879 fi
2880
2881 testscip-shell system . . test. -d ./--version && rmdirscip-shell system . . rmdir. ./--version
2882 if testscip-shell system . . test. ${ac_cv_path_mkdir+y}; then
2883 MKDIR_P="$ac_cv_path_mkdir -p"
2884 else
2885 # As a last resort, use the slow shell script. Don't cache a
2886 # value for MKDIR_P within a source directory, because that will
2887 # break other packages using the cache if that directory is
2888 # removed, or if the value is a relative name.
2889 MKDIR_P="$ac_install_sh -d"
2890 fi
2891 fi
2892 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2893 printfscip-shell system . . printf. "%s\n" "$MKDIR_P" >&6; }
2894
2895 for ac_prog in gawk mawk nawk awk
2896 do
2897 # Extract the first word of "$ac_prog", so it can be a program name with args.
2898 set dummy $ac_prog; ac_word=$2
2899 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2900 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
2901 if testscip-shell system . . test. ${ac_cv_prog_AWK+y}
2902 then :
2903 printfscip-shell system . . printf. %s "(cached) " >&6
2904 else $as_nop
2905 if testscip-shell system . . test. -n "$AWK"; then
2906 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2907 else
2908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2909 for as_dir in $PATH
2910 do
2911 IFS=$as_save_IFS
2912 case $as_dir in #(((
2913 '') as_dir=./ ;;
2914 */) ;;
2915 *) as_dir=$as_dir/ ;;
2916 esac
2917 for ac_exec_ext in '' $ac_executable_extensions; do
2918 if as_fn_executable_pscip-shell shell buildtorrent 0.9.1-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
2919 ac_cv_prog_AWK="$ac_prog"
2920 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2921 break 2
2922 fi
2923 done
2924 done
2925 IFS=$as_save_IFS
2926
2927 fi
2928 fi
2929 AWK=$ac_cv_prog_AWK
2930 if testscip-shell system . . test. -n "$AWK"; then
2931 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2932 printfscip-shell system . . printf. "%s\n" "$AWK" >&6; }
2933 else
2934 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2935 printfscip-shell system . . printf. "%s\n" "no" >&6; }
2936 fi
2937
2938
2939 testscip-shell system . . test. -n "$AWK" && break
2940 done
2941
2942 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2943 printfscip-shell system . . printf. %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2944 set x ${MAKE-make}
2945 ac_make=`printfscip-shell system . . printf. "%s\n" "$2" | sedscip-shell system . . sed. 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2946 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2947 then :
2948 printfscip-shell system . . printf. %s "(cached) " >&6
2949 else $as_nop
2950 catscip-shell system . . cat. >conftest.make <<\_ACEOF
2951 SHELL = /bin/sh
2952 all:
2953 @echo '@@@%%%=$(MAKE)=@@@%%%'
2954 _ACEOF
2955 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2956 case `${MAKE-make} -f conftest.make 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in
2957 *@@@%%%=?*=@@@%%%*)
2958 eval ac_cv_prog_make_${ac_make}_set=yes;;
2959 *)
2960 eval ac_cv_prog_make_${ac_make}_set=no;;
2961 esac
2962 rmscip-shell system . . rm. -f conftest.make
2963 fi
2964 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2965 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2966 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
2967 SET_MAKE=
2968 else
2969 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2970 printfscip-shell system . . printf. "%s\n" "no" >&6; }
2971 SET_MAKE="MAKE=${MAKE-make}"
2972 fi
2973
2974 rmscip-shell system . . rm. -rf .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`.
2975 mkdirscip-shell system . . mkdir. .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`.
2976 if testscip-shell system . . test. -d .tst; then
2977 am__leading_dot=.
2978 else
2979 am__leading_dot=_
2980 fi
2981 rmdirscip-shell system . . rmdir. .tst 2>/dev/nullscip-shell filesystem . . `/dev/null`.
2982
2983 # Check whether --enable-silent-rules was given.
2984 if testscip-shell system . . test. ${enable_silent_rules+y}
2985 then :
2986 enableval=$enable_silent_rules;
2987 fi
2988
2989 case $enable_silent_rules in # (((
2990 yes) AM_DEFAULT_VERBOSITY=0;;
2991 no) AM_DEFAULT_VERBOSITY=1;;
2992 *) AM_DEFAULT_VERBOSITY=1;;
2993 esac
2994 am_make=${MAKE-make}
2995 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2996 printfscip-shell system . . printf. %s "checking whether $am_make supports nested variables... " >&6; }
2997 if testscip-shell system . . test. ${am_cv_make_support_nested_variables+y}
2998 then :
2999 printfscip-shell system . . printf. %s "(cached) " >&6
3000 else $as_nop
3001 if printfscip-shell system . . printf. "%s\n" 'TRUE=$(BAR$(V))
3002 BAR0=false
3003 BAR1=true
3004 V=1
3005 am__doit:
3006 @$(TRUE)
3007 .PHONY: am__doit' | $am_make -f - >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
3008 am_cv_make_support_nested_variables=yes
3009 else
3010 am_cv_make_support_nested_variables=no
3011 fi
3012 fi
3013 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3014 printfscip-shell system . . printf. "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3015 if testscip-shell system . . test. $am_cv_make_support_nested_variables = yes; then
3016 AM_V='$(V)'
3017 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3018 else
3019 AM_V=$AM_DEFAULT_VERBOSITY
3020 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3021 fi
3022 AM_BACKSLASH='\'
3023
3024 if testscip-shell system . . test. "`cd $srcdir && pwdscip-shell system . . pwd.`" != "`pwdscip-shell system . . pwd.`"; then
3025 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3026 # is not polluted with repeated "-I."
3027 am__isrc=' -I$(srcdir)'
3028 # test to see if srcdir already configured
3029 if testscip-shell system . . test. -f $srcdir/config.status; then
3030 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3031 fi
3032 fi
3033
3034 # test whether we have cygpath
3035 if testscip-shell system . . test. -z "$CYGPATH_W"; then
3036 if (cygpath --version) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
3037 CYGPATH_W='cygpath -w'
3038 else
3039 CYGPATH_W=echo
3040 fi
3041 fi
3042
3043
3044 # Define the identity of the package.
3045 PACKAGE='buildtorrent'
3046 VERSION='0.9.1'
3047
3048
3049 printfscip-shell system . . printf. "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3050
3051
3052 printfscip-shell system . . printf. "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
3053
3054 # Some tools Automake needs.
3055
3056 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3057
3058
3059 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3060
3061
3062 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3063
3064
3065 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3066
3067
3068 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3069
3070 # For better backward compatibility. To be removed once Automake 1.9.x
3071 # dies out for good. For more background, see:
3072 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3073 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3074 mkdir_p='$(MKDIR_P)'
3075
3076 # We need awk for the "check" target (and possibly the TAP driver). The
3077 # system "awk" is bad on some platforms.
3078 # Always define AMTAR for backward compatibility. Yes, it's still used
3079 # in the wild :-( We should find a proper way to deprecate it ...
3080 AMTAR='$${TAR-tar}'
3081
3082
3083 # We'll loop over all known methods to create a tar archive until one works.
3084 _am_tools='gnutar pax cpio none'
3085
3086 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3087
3088
3089
3090
3091
3092 # Variables for tags utilities; see am/tags.am
3093 if testscip-shell system . . test. -z "$CTAGS"; then
3094 CTAGS=ctags
3095 fi
3096
3097 if testscip-shell system . . test. -z "$ETAGS"; then
3098 ETAGS=etags
3099 fi
3100
3101 if testscip-shell system . . test. -z "$CSCOPE"; then
3102 CSCOPE=cscope
3103 fi
3104
3105
3106
3107 # POSIX will say in a future version that running "rm -f" with no argument
3108 # is OK; and we want to be able to make that assumption in our Makefile
3109 # recipes. So use an aggressive probe to check that the usage we want is
3110 # actually supported "in the wild" to an acceptable degree.
3111 # See automake bug#10828.
3112 # To make any issue more visible, cause the running configure to be aborted
3113 # by default if the 'rm' program in use doesn't match our expectations; the
3114 # user can still override this though.
3115 if rmscip-shell system . . rm. -f && rmscip-shell system . . rm. -fr && rmscip-shell system . . rm. -rf; then : OK; else
3116 catscip-shell system . . cat. >&2 <<'END'
3117 Oops!
3118
3119 Your 'rm' program seems unable to run without file operands specified
3120 on the command line, even when the '-f' option is present. This is contrary
3121 to the behaviour of most rm programs out there, and not conforming with
3122 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3123
3124 Please tell [email protected] about your system, including the value
3125 of your $PATH and any error possibly output before this message. This
3126 can help us improve future automake versions.
3127
3128 END
3129 if testscip-shell system . . test. x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3130 echoscip-shell system . . echo. 'Configuration will proceed anyway, since you have set the' >&2
3131 echoscip-shell system . . echo. 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3132 echoscip-shell system . . echo. >&2
3133 else
3134 catscip-shell system . . cat. >&2 <<'END'
3135 Aborting the configuration process, to ensure you take notice of the issue.
3136
3137 You can download and install GNU coreutils to get an 'rm' implementation
3138 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3139
3140 If you want to complete the configuration process using your problematic
3141 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3142 to "yes", and re-run configure.
3143
3144 END
3145 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3146 fi
3147 fi
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158 ac_ext=c
3159 ac_cpp='$CPP $CPPFLAGS'
3160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3163 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3164 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3165 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3166 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3167 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3168 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
3169 then :
3170 printfscip-shell system . . printf. %s "(cached) " >&6
3171 else $as_nop
3172 if testscip-shell system . . test. -n "$CC"; then
3173 ac_cv_prog_CC="$CC" # Let the user override the test.
3174 else
3175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3176 for as_dir in $PATH
3177 do
3178 IFS=$as_save_IFS
3179 case $as_dir in #(((
3180 '') as_dir=./ ;;
3181 */) ;;
3182 *) as_dir=$as_dir/ ;;
3183 esac
3184 for ac_exec_ext in '' $ac_executable_extensions; do
3185 if as_fn_executable_pscip-shell shell buildtorrent 0.9.1-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3186 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3187 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3188 break 2
3189 fi
3190 done
3191 done
3192 IFS=$as_save_IFS
3193
3194 fi
3195 fi
3196 CC=$ac_cv_prog_CC
3197 if testscip-shell system . . test. -n "$CC"; then
3198 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3199 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
3200 else
3201 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3202 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3203 fi
3204
3205
3206 fi
3207 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
3208 ac_ct_CC=$CC
3209 # Extract the first word of "gcc", so it can be a program name with args.
3210 set dummy gcc; ac_word=$2
3211 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3212 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3213 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
3214 then :
3215 printfscip-shell system . . printf. %s "(cached) " >&6
3216 else $as_nop
3217 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3218 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3219 else
3220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3221 for as_dir in $PATH
3222 do
3223 IFS=$as_save_IFS
3224 case $as_dir in #(((
3225 '') as_dir=./ ;;
3226 */) ;;
3227 *) as_dir=$as_dir/ ;;
3228 esac
3229 for ac_exec_ext in '' $ac_executable_extensions; do
3230 if as_fn_executable_pscip-shell shell buildtorrent 0.9.1-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3231 ac_cv_prog_ac_ct_CC="gcc"
3232 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3233 break 2
3234 fi
3235 done
3236 done
3237 IFS=$as_save_IFS
3238
3239 fi
3240 fi
3241 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3242 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3243 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3244 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
3245 else
3246 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3247 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3248 fi
3249
3250 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
3251 CC=""
3252 else
3253 case $cross_compiling:$ac_tool_warned in
3254 yes:)
3255 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3256 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3257 ac_tool_warned=yes ;;
3258 esac
3259 CC=$ac_ct_CC
3260 fi
3261 else
3262 CC="$ac_cv_prog_CC"
3263 fi
3264
3265 if testscip-shell system . . test. -z "$CC"; then
3266 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3267 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3268 set dummy ${ac_tool_prefix}cc; ac_word=$2
3269 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3270 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3271 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
3272 then :
3273 printfscip-shell system . . printf. %s "(cached) " >&6
3274 else $as_nop
3275 if testscip-shell system . . test. -n "$CC"; then
3276 ac_cv_prog_CC="$CC" # Let the user override the test.
3277 else
3278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3279 for as_dir in $PATH
3280 do
3281 IFS=$as_save_IFS
3282 case $as_dir in #(((
3283 '') as_dir=./ ;;
3284 */) ;;
3285 *) as_dir=$as_dir/ ;;
3286 esac
3287 for ac_exec_ext in '' $ac_executable_extensions; do
3288 if as_fn_executable_pscip-shell shell buildtorrent 0.9.1-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3289 ac_cv_prog_CC="${ac_tool_prefix}cc"
3290 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3291 break 2
3292 fi
3293 done
3294 done
3295 IFS=$as_save_IFS
3296
3297 fi
3298 fi
3299 CC=$ac_cv_prog_CC
3300 if testscip-shell system . . test. -n "$CC"; then
3301 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3302 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
3303 else
3304 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3305 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3306 fi
3307
3308
3309 fi
3310 fi
3311 if testscip-shell system . . test. -z "$CC"; then
3312 # Extract the first word of "cc", so it can be a program name with args.
3313 set dummy cc; ac_word=$2
3314 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3315 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3316 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
3317 then :
3318 printfscip-shell system . . printf. %s "(cached) " >&6
3319 else $as_nop
3320 if testscip-shell system . . test. -n "$CC"; then
3321 ac_cv_prog_CC="$CC" # Let the user override the test.
3322 else
3323 ac_prog_rejected=no
3324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3325 for as_dir in $PATH
3326 do
3327 IFS=$as_save_IFS
3328 case $as_dir in #(((
3329 '') as_dir=./ ;;
3330 */) ;;
3331 *) as_dir=$as_dir/ ;;
3332 esac
3333 for ac_exec_ext in '' $ac_executable_extensions; do
3334 if as_fn_executable_pscip-shell shell buildtorrent 0.9.1-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3335 if testscip-shell system . . test. "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/ccscip-shell filesystem . . `/usr/ucb/cc`."; then
3336 ac_prog_rejected=yes
3337 continue
3338 fi
3339 ac_cv_prog_CC="cc"
3340 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3341 break 2
3342 fi
3343 done
3344 done
3345 IFS=$as_save_IFS
3346
3347 if testscip-shell system . . test. $ac_prog_rejected = yes; then
3348 # We found a bogon in the path, so make sure we never use it.
3349 set dummy $ac_cv_prog_CC
3350 shift
3351 if testscip-shell system . . test. $# != 0; then
3352 # We chose a different compiler from the bogus one.
3353 # However, it has the same basename, so the bogon will be chosen
3354 # first if we set CC to just the basename; use the full file name.
3355 shift
3356 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3357 fi
3358 fi
3359 fi
3360 fi
3361 CC=$ac_cv_prog_CC
3362 if testscip-shell system . . test. -n "$CC"; then
3363 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3364 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
3365 else
3366 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3367 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3368 fi
3369
3370
3371 fi
3372 if testscip-shell system . . test. -z "$CC"; then
3373 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3374 for ac_prog in cl.exe
3375 do
3376 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3377 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3378 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3379 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3380 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
3381 then :
3382 printfscip-shell system . . printf. %s "(cached) " >&6
3383 else $as_nop
3384 if testscip-shell system . . test. -n "$CC"; then
3385 ac_cv_prog_CC="$CC" # Let the user override the test.
3386 else
3387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3388 for as_dir in $PATH
3389 do
3390 IFS=$as_save_IFS
3391 case $as_dir in #(((
3392 '') as_dir=./ ;;
3393 */) ;;
3394 *) as_dir=$as_dir/ ;;
3395 esac
3396 for ac_exec_ext in '' $ac_executable_extensions; do
3397 if as_fn_executable_pscip-shell shell buildtorrent 0.9.1-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3398 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3399 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3400 break 2
3401 fi
3402 done
3403 done
3404 IFS=$as_save_IFS
3405
3406 fi
3407 fi
3408 CC=$ac_cv_prog_CC
3409 if testscip-shell system . . test. -n "$CC"; then
3410 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3411 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
3412 else
3413 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3414 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3415 fi
3416
3417
3418 testscip-shell system . . test. -n "$CC" && break
3419 done
3420 fi
3421 if testscip-shell system . . test. -z "$CC"; then
3422 ac_ct_CC=$CC
3423 for ac_prog in cl.exe
3424 do
3425 # Extract the first word of "$ac_prog", so it can be a program name with args.
3426 set dummy $ac_prog; ac_word=$2
3427 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3428 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3429 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
3430 then :
3431 printfscip-shell system . . printf. %s "(cached) " >&6
3432 else $as_nop
3433 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3434 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3435 else
3436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3437 for as_dir in $PATH
3438 do
3439 IFS=$as_save_IFS
3440 case $as_dir in #(((
3441 '') as_dir=./ ;;
3442 */) ;;
3443 *) as_dir=$as_dir/ ;;
3444 esac
3445 for ac_exec_ext in '' $ac_executable_extensions; do
3446 if as_fn_executable_pscip-shell shell buildtorrent 0.9.1-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3447 ac_cv_prog_ac_ct_CC="$ac_prog"
3448 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3449 break 2
3450 fi
3451 done
3452 done
3453 IFS=$as_save_IFS
3454
3455 fi
3456 fi
3457 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3458 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3459 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3460 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
3461 else
3462 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3463 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3464 fi
3465
3466
3467 testscip-shell system . . test. -n "$ac_ct_CC" && break
3468 done
3469
3470 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
3471 CC=""
3472 else
3473 case $cross_compiling:$ac_tool_warned in
3474 yes:)
3475 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3476 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3477 ac_tool_warned=yes ;;
3478 esac
3479 CC=$ac_ct_CC
3480 fi
3481 fi
3482
3483 fi
3484 if testscip-shell system . . test. -z "$CC"; then
3485 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3486 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3487 set dummy ${ac_tool_prefix}clang; ac_word=$2
3488 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3489 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3490 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
3491 then :
3492 printfscip-shell system . . printf. %s "(cached) " >&6
3493 else $as_nop
3494 if testscip-shell system . . test. -n "$CC"; then
3495 ac_cv_prog_CC="$CC" # Let the user override the test.
3496 else
3497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3498 for as_dir in $PATH
3499 do
3500 IFS=$as_save_IFS
3501 case $as_dir in #(((
3502 '') as_dir=./ ;;
3503 */) ;;
3504 *) as_dir=$as_dir/ ;;
3505 esac
3506 for ac_exec_ext in '' $ac_executable_extensions; do
3507 if as_fn_executable_pscip-shell shell buildtorrent 0.9.1-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3508 ac_cv_prog_CC="${ac_tool_prefix}clang"
3509 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3510 break 2
3511 fi
3512 done
3513 done
3514 IFS=$as_save_IFS
3515
3516 fi
3517 fi
3518 CC=$ac_cv_prog_CC
3519 if testscip-shell system . . test. -n "$CC"; then
3520 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3521 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
3522 else
3523 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3524 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3525 fi
3526
3527
3528 fi
3529 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
3530 ac_ct_CC=$CC
3531 # Extract the first word of "clang", so it can be a program name with args.
3532 set dummy clang; ac_word=$2
3533 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3534 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3535 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
3536 then :
3537 printfscip-shell system . . printf. %s "(cached) " >&6
3538 else $as_nop
3539 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3540 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3541 else
3542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3543 for as_dir in $PATH
3544 do
3545 IFS=$as_save_IFS
3546 case $as_dir in #(((
3547 '') as_dir=./ ;;
3548 */) ;;
3549 *) as_dir=$as_dir/ ;;
3550 esac
3551 for ac_exec_ext in '' $ac_executable_extensions; do
3552 if as_fn_executable_pscip-shell shell buildtorrent 0.9.1-4 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3553 ac_cv_prog_ac_ct_CC="clang"
3554 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3555 break 2
3556 fi
3557 done
3558 done
3559 IFS=$as_save_IFS
3560
3561 fi
3562 fi
3563 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3564 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3565 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3566 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
3567 else
3568 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3569 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3570 fi
3571
3572 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
3573 CC=""
3574 else
3575 case $cross_compiling:$ac_tool_warned in
3576 yes:)
3577 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3578 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3579 ac_tool_warned=yes ;;
3580 esac
3581 CC=$ac_ct_CC
3582 fi
3583 else
3584 CC="$ac_cv_prog_CC"
3585 fi
3586
3587 fi
3588
3589
3590 testscip-shell system . . test. -z "$CC" && { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3591 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3592 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "no acceptable C compiler found in \$PATH
3593 See \`config.log' for more details" "$LINENO" 5; }
3594
3595 # Provide some information about the compiler.
3596 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3597 set X $ac_compile
3598 ac_compiler=$2
3599 for ac_option in --version -v -V -qversion -version; do
3600 { { ac_try="$ac_compiler $ac_option >&5"
3601 case "(($ac_try" in
3602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3603 *) ac_try_echo=$ac_try;;
3604 esac
3605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3606 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
3607 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3608 ac_status=$?
3609 if testscip-shell system . . test. -s conftest.err; then
3610 sedscip-shell system . . sed. '10a\
3611 ... rest of stderr output deleted ...
3612 10q' conftest.err >conftest.er1
3613 catscip-shell system . . cat. conftest.er1 >&5
3614 fi
3615 rmscip-shell system . . rm. -f conftest.er1 conftest.err
3616 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3617 testscip-shell system . . test. $ac_status = 0; }
3618 done
3619
3620 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3621 /* end confdefs.h. */
3622
3623 int
3624 main (void)
3625 {
3626
3627 ;
3628 return 0;
3629 }
3630 _ACEOF
3631 ac_clean_files_save=$ac_clean_files
3632 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3633 # Try to create an executable without -o first, disregard a.out.
3634 # It will help us diagnose broken compilers, and finding out an intuition
3635 # of exeext.
3636 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3637 printfscip-shell system . . printf. %s "checking whether the C compiler works... " >&6; }
3638 ac_link_default=`printfscip-shell system . . printf. "%s\n" "$ac_link" | sedscip-shell system . . sed. 's/ -o *conftest[^ ]*//'`
3639
3640 # The possible output files:
3641 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3642
3643 ac_rmfiles=
3644 for ac_file in $ac_files
3645 do
3646 case $ac_file in
3647 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3648 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3649 esac
3650 done
3651 rmscip-shell system . . rm. -f $ac_rmfiles
3652
3653 if { { ac_try="$ac_link_default"
3654 case "(($ac_try" in
3655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3656 *) ac_try_echo=$ac_try;;
3657 esac
3658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3659 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
3660 (eval "$ac_link_default") 2>&5
3661 ac_status=$?
3662 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3663 testscip-shell system . . test. $ac_status = 0; }
3664 then :
3665 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3666 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3667 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3668 # so that the user can short-circuit this test for compilers unknown to
3669 # Autoconf.
3670 for ac_file in $ac_files ''
3671 do
3672 testscip-shell system . . test. -f "$ac_file" || continue
3673 case $ac_file in
3674 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3675 ;;
3676 [ab].out )
3677 # We found the default executable, but exeext='' is most
3678 # certainly right.
3679 break;;
3680 *.* )
3681 if testscip-shell system . . test. ${ac_cv_exeext+y} && testscip-shell system . . test. "$ac_cv_exeext" != no;
3682 then :; else
3683 ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'`
3684 fi
3685 # We set ac_cv_exeext here because the later test for it is not
3686 # safe: cross compilers may not add the suffix if given an `-o'
3687 # argument, so we may need to know it at that point already.
3688 # Even if this section looks crufty: it has the advantage of
3689 # actually working.
3690 break;;
3691 * )
3692 break;;
3693 esac
3694 done
3695 testscip-shell system . . test. "$ac_cv_exeext" = no && ac_cv_exeext=
3696
3697 else $as_nop
3698 ac_file=''
3699 fi
3700 if testscip-shell system . . test. -z "$ac_file"
3701 then :
3702 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3703 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3704 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
3705 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
3706
3707 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3708 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3709 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). 77 "C compiler cannot create executables
3710 See \`config.log' for more details" "$LINENO" 5; }
3711 else $as_nop
3712 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3713 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
3714 fi
3715 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3716 printfscip-shell system . . printf. %s "checking for C compiler default output file name... " >&6; }
3717 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3718 printfscip-shell system . . printf. "%s\n" "$ac_file" >&6; }
3719 ac_exeext=$ac_cv_exeext
3720
3721 rmscip-shell system . . rm. -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3722 ac_clean_files=$ac_clean_files_save
3723 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3724 printfscip-shell system . . printf. %s "checking for suffix of executables... " >&6; }
3725 if { { ac_try="$ac_link"
3726 case "(($ac_try" in
3727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3728 *) ac_try_echo=$ac_try;;
3729 esac
3730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3731 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
3732 (eval "$ac_link") 2>&5
3733 ac_status=$?
3734 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3735 testscip-shell system . . test. $ac_status = 0; }
3736 then :
3737 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3738 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3739 # work properly (i.e., refer to `conftest.exe'), while it won't with
3740 # `rm'.
3741 for ac_file in conftest.exe conftest conftest.*; do
3742 testscip-shell system . . test. -f "$ac_file" || continue
3743 case $ac_file in
3744 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3745 *.* ) ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'`
3746 break;;
3747 * ) break;;
3748 esac
3749 done
3750 else $as_nop
3751 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3752 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3753 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "cannot compute suffix of executables: cannot compile and link
3754 See \`config.log' for more details" "$LINENO" 5; }
3755 fi
3756 rmscip-shell system . . rm. -f conftest conftest$ac_cv_exeext
3757 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3758 printfscip-shell system . . printf. "%s\n" "$ac_cv_exeext" >&6; }
3759
3760 rmscip-shell system . . rm. -f conftest.$ac_ext
3761 EXEEXT=$ac_cv_exeext
3762 ac_exeext=$EXEEXT
3763 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3764 /* end confdefs.h. */
3765 #include <stdio.h>
3766 int
3767 main (void)
3768 {
3769 FILE *f = fopen ("conftest.out", "w");
3770 return ferror (f) || fclose (f) != 0;
3771
3772 ;
3773 return 0;
3774 }
3775 _ACEOF
3776 ac_clean_files="$ac_clean_files conftest.out"
3777 # Check that the compiler produces executables we can run. If not, either
3778 # the compiler is broken, or we cross compile.
3779 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3780 printfscip-shell system . . printf. %s "checking whether we are cross compiling... " >&6; }
3781 if testscip-shell system . . test. "$cross_compiling" != yes; then
3782 { { ac_try="$ac_link"
3783 case "(($ac_try" in
3784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3785 *) ac_try_echo=$ac_try;;
3786 esac
3787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3788 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
3789 (eval "$ac_link") 2>&5
3790 ac_status=$?
3791 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3792 testscip-shell system . . test. $ac_status = 0; }
3793 if { ac_try='./conftest$ac_cv_exeext'
3794 { { case "(($ac_try" in
3795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3796 *) ac_try_echo=$ac_try;;
3797 esac
3798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3799 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
3800 (eval "$ac_try") 2>&5
3801 ac_status=$?
3802 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3803 testscip-shell system . . test. $ac_status = 0; }; }; then
3804 cross_compiling=no
3805 else
3806 if testscip-shell system . . test. "$cross_compiling" = maybe; then
3807 cross_compiling=yes
3808 else
3809 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3810 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3811 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). 77 "cannot run C compiled programs.
3812 If you meant to cross compile, use \`--host'.
3813 See \`config.log' for more details" "$LINENO" 5; }
3814 fi
3815 fi
3816 fi
3817 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3818 printfscip-shell system . . printf. "%s\n" "$cross_compiling" >&6; }
3819
3820 rmscip-shell system . . rm. -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3821 ac_clean_files=$ac_clean_files_save
3822 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3823 printfscip-shell system . . printf. %s "checking for suffix of object files... " >&6; }
3824 if testscip-shell system . . test. ${ac_cv_objext+y}
3825 then :
3826 printfscip-shell system . . printf. %s "(cached) " >&6
3827 else $as_nop
3828 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3829 /* end confdefs.h. */
3830
3831 int
3832 main (void)
3833 {
3834
3835 ;
3836 return 0;
3837 }
3838 _ACEOF
3839 rmscip-shell system . . rm. -f conftest.o conftest.obj
3840 if { { ac_try="$ac_compile"
3841 case "(($ac_try" in
3842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3843 *) ac_try_echo=$ac_try;;
3844 esac
3845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3846 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
3847 (eval "$ac_compile") 2>&5
3848 ac_status=$?
3849 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3850 testscip-shell system . . test. $ac_status = 0; }
3851 then :
3852 for ac_file in conftest.o conftest.obj conftest.*; do
3853 testscip-shell system . . test. -f "$ac_file" || continue;
3854 case $ac_file in
3855 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3856 *) ac_cv_objext=`exprscip-shell system . . expr. "$ac_file" : '.*\.\(.*\)'`
3857 break;;
3858 esac
3859 done
3860 else $as_nop
3861 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
3862 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
3863
3864 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3865 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3866 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "cannot compute suffix of object files: cannot compile
3867 See \`config.log' for more details" "$LINENO" 5; }
3868 fi
3869 rmscip-shell system . . rm. -f conftest.$ac_cv_objext conftest.$ac_ext
3870 fi
3871 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3872 printfscip-shell system . . printf. "%s\n" "$ac_cv_objext" >&6; }
3873 OBJEXT=$ac_cv_objext
3874 ac_objext=$OBJEXT
3875 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3876 printfscip-shell system . . printf. %s "checking whether the compiler supports GNU C... " >&6; }
3877 if testscip-shell system . . test. ${ac_cv_c_compiler_gnu+y}
3878 then :
3879 printfscip-shell system . . printf. %s "(cached) " >&6
3880 else $as_nop
3881 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3882 /* end confdefs.h. */
3883
3884 int
3885 main (void)
3886 {
3887 #ifndef __GNUC__
3888 choke me
3889 #endif
3890
3891 ;
3892 return 0;
3893 }
3894 _ACEOF
3895 if ac_fn_c_try_compilescip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_compile(). "$LINENO"
3896 then :
3897 ac_compiler_gnu=yes
3898 else $as_nop
3899 ac_compiler_gnu=no
3900 fi
3901 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3902 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3903
3904 fi
3905 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3906 printfscip-shell system . . printf. "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3908
3909 if testscip-shell system . . test. $ac_compiler_gnu = yes; then
3910 GCC=yes
3911 else
3912 GCC=
3913 fi
3914 ac_test_CFLAGS=${CFLAGS+y}
3915 ac_save_CFLAGS=$CFLAGS
3916 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3917 printfscip-shell system . . printf. %s "checking whether $CC accepts -g... " >&6; }
3918 if testscip-shell system . . test. ${ac_cv_prog_cc_g+y}
3919 then :
3920 printfscip-shell system . . printf. %s "(cached) " >&6
3921 else $as_nop
3922 ac_save_c_werror_flag=$ac_c_werror_flag
3923 ac_c_werror_flag=yes
3924 ac_cv_prog_cc_g=no
3925 CFLAGS="-g"
3926 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3927 /* end confdefs.h. */
3928
3929 int
3930 main (void)
3931 {
3932
3933 ;
3934 return 0;
3935 }
3936 _ACEOF
3937 if ac_fn_c_try_compilescip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_compile(). "$LINENO"
3938 then :
3939 ac_cv_prog_cc_g=yes
3940 else $as_nop
3941 CFLAGS=""
3942 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3943 /* end confdefs.h. */
3944
3945 int
3946 main (void)
3947 {
3948
3949 ;
3950 return 0;
3951 }
3952 _ACEOF
3953 if ac_fn_c_try_compilescip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_compile(). "$LINENO"
3954 then :
3955
3956 else $as_nop
3957 ac_c_werror_flag=$ac_save_c_werror_flag
3958 CFLAGS="-g"
3959 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3960 /* end confdefs.h. */
3961
3962 int
3963 main (void)
3964 {
3965
3966 ;
3967 return 0;
3968 }
3969 _ACEOF
3970 if ac_fn_c_try_compilescip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_compile(). "$LINENO"
3971 then :
3972 ac_cv_prog_cc_g=yes
3973 fi
3974 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3975 fi
3976 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3977 fi
3978 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3979 ac_c_werror_flag=$ac_save_c_werror_flag
3980 fi
3981 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3982 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_g" >&6; }
3983 if testscip-shell system . . test. $ac_test_CFLAGS; then
3984 CFLAGS=$ac_save_CFLAGS
3985 elif testscip-shell system . . test. $ac_cv_prog_cc_g = yes; then
3986 if testscip-shell system . . test. "$GCC" = yes; then
3987 CFLAGS="-g -O2"
3988 else
3989 CFLAGS="-g"
3990 fi
3991 else
3992 if testscip-shell system . . test. "$GCC" = yes; then
3993 CFLAGS="-O2"
3994 else
3995 CFLAGS=
3996 fi
3997 fi
3998 ac_prog_cc_stdc=no
3999 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
4000 then :
4001 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4002 printfscip-shell system . . printf. %s "checking for $CC option to enable C11 features... " >&6; }
4003 if testscip-shell system . . test. ${ac_cv_prog_cc_c11+y}
4004 then :
4005 printfscip-shell system . . printf. %s "(cached) " >&6
4006 else $as_nop
4007 ac_cv_prog_cc_c11=no
4008 ac_save_CC=$CC
4009 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4010 /* end confdefs.h. */
4011 $ac_c_conftest_c11_program
4012 _ACEOF
4013 for ac_arg in '' -std=gnu11
4014 do
4015 CC="$ac_save_CC $ac_arg"
4016 if ac_fn_c_try_compilescip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_compile(). "$LINENO"
4017 then :
4018 ac_cv_prog_cc_c11=$ac_arg
4019 fi
4020 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
4021 testscip-shell system . . test. "x$ac_cv_prog_cc_c11" != "xno" && break
4022 done
4023 rmscip-shell system . . rm. -f conftest.$ac_ext
4024 CC=$ac_save_CC
4025 fi
4026
4027 if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = xno
4028 then :
4029 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4030 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
4031 else $as_nop
4032 if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = x
4033 then :
4034 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4035 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
4036 else $as_nop
4037 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4038 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4039 CC="$CC $ac_cv_prog_cc_c11"
4040 fi
4041 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4042 ac_prog_cc_stdc=c11
4043 fi
4044 fi
4045 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
4046 then :
4047 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4048 printfscip-shell system . . printf. %s "checking for $CC option to enable C99 features... " >&6; }
4049 if testscip-shell system . . test. ${ac_cv_prog_cc_c99+y}
4050 then :
4051 printfscip-shell system . . printf. %s "(cached) " >&6
4052 else $as_nop
4053 ac_cv_prog_cc_c99=no
4054 ac_save_CC=$CC
4055 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4056 /* end confdefs.h. */
4057 $ac_c_conftest_c99_program
4058 _ACEOF
4059 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4060 do
4061 CC="$ac_save_CC $ac_arg"
4062 if ac_fn_c_try_compilescip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_compile(). "$LINENO"
4063 then :
4064 ac_cv_prog_cc_c99=$ac_arg
4065 fi
4066 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
4067 testscip-shell system . . test. "x$ac_cv_prog_cc_c99" != "xno" && break
4068 done
4069 rmscip-shell system . . rm. -f conftest.$ac_ext
4070 CC=$ac_save_CC
4071 fi
4072
4073 if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = xno
4074 then :
4075 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4076 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
4077 else $as_nop
4078 if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = x
4079 then :
4080 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4081 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
4082 else $as_nop
4083 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4084 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4085 CC="$CC $ac_cv_prog_cc_c99"
4086 fi
4087 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4088 ac_prog_cc_stdc=c99
4089 fi
4090 fi
4091 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
4092 then :
4093 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4094 printfscip-shell system . . printf. %s "checking for $CC option to enable C89 features... " >&6; }
4095 if testscip-shell system . . test. ${ac_cv_prog_cc_c89+y}
4096 then :
4097 printfscip-shell system . . printf. %s "(cached) " >&6
4098 else $as_nop
4099 ac_cv_prog_cc_c89=no
4100 ac_save_CC=$CC
4101 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4102 /* end confdefs.h. */
4103 $ac_c_conftest_c89_program
4104 _ACEOF
4105 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4106 do
4107 CC="$ac_save_CC $ac_arg"
4108 if ac_fn_c_try_compilescip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_compile(). "$LINENO"
4109 then :
4110 ac_cv_prog_cc_c89=$ac_arg
4111 fi
4112 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
4113 testscip-shell system . . test. "x$ac_cv_prog_cc_c89" != "xno" && break
4114 done
4115 rmscip-shell system . . rm. -f conftest.$ac_ext
4116 CC=$ac_save_CC
4117 fi
4118
4119 if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = xno
4120 then :
4121 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4122 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
4123 else $as_nop
4124 if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = x
4125 then :
4126 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4127 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
4128 else $as_nop
4129 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4130 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4131 CC="$CC $ac_cv_prog_cc_c89"
4132 fi
4133 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4134 ac_prog_cc_stdc=c89
4135 fi
4136 fi
4137
4138 ac_ext=c
4139 ac_cpp='$CPP $CPPFLAGS'
4140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4143
4144
4145 ac_ext=c
4146 ac_cpp='$CPP $CPPFLAGS'
4147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4150 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4151 printfscip-shell system . . printf. %s "checking whether $CC understands -c and -o together... " >&6; }
4152 if testscip-shell system . . test. ${am_cv_prog_cc_c_o+y}
4153 then :
4154 printfscip-shell system . . printf. %s "(cached) " >&6
4155 else $as_nop
4156 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4157 /* end confdefs.h. */
4158
4159 int
4160 main (void)
4161 {
4162
4163 ;
4164 return 0;
4165 }
4166 _ACEOF
4167 # Make sure it works both with $CC and with simple cc.
4168 # Following AC_PROG_CC_C_O, we do the test twice because some
4169 # compilers refuse to overwrite an existing .o file with -o,
4170 # though they will create one.
4171 am_cv_prog_cc_c_o=yes
4172 for am_i in 1 2; do
4173 if { echoscip-shell system . . echo. "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4174 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4175 ac_status=$?
4176 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4177 (exit $ac_status); } \
4178 && testscip-shell system . . test. -f conftest2.$ac_objext; then
4179 : OK
4180 else
4181 am_cv_prog_cc_c_o=no
4182 break
4183 fi
4184 done
4185 rmscip-shell system . . rm. -f core conftest*
4186 unset am_i
4187 fi
4188 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4189 printfscip-shell system . . printf. "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4190 if testscip-shell system . . test. "$am_cv_prog_cc_c_o" != yes; then
4191 # Losing compiler, so override with the script.
4192 # FIXME: It is wrong to rewrite CC.
4193 # But if we don't then we get into trouble of one sort or another.
4194 # A longer-term fix would be to have automake use am__CC in this case,
4195 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4196 CC="$am_aux_dir/compile $CC"
4197 fi
4198 ac_ext=c
4199 ac_cpp='$CPP $CPPFLAGS'
4200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4203
4204 DEPDIR="${am__leading_dot}deps"
4205
4206 ac_config_commands="$ac_config_commands depfiles"
4207
4208 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4209 printfscip-shell system . . printf. %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
4210 catscip-shell system . . cat. > confinc.mk << 'END'
4211 am__doit:
4212 @echo this is the am__doit target >confinc.out
4213 .PHONY: am__doit
4214 END
4215 am__include="#"
4216 am__quote=
4217 # BSD make does it like this.
4218 echoscip-shell system . . echo. '.include "confinc.mk" # ignored' > confmf.BSD
4219 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4220 echoscip-shell system . . echo. 'include confinc.mk # ignored' > confmf.GNU
4221 _am_result=no
4222 for s in GNU BSD; do
4223 { echoscip-shell system . . echo. "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4224 (${MAKE-make} -f confmf.$s && catscip-shell system . . cat. confinc.out) >&5 2>&5
4225 ac_status=$?
4226 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4227 (exit $ac_status); }
4228 case $?:`catscip-shell system . . cat. confinc.out 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in #(
4229 '0:this is the am__doit target') :
4230 case $s in #(
4231 BSD) :
4232 am__include='.include' am__quote='"' ;; #(
4233 *) :
4234 am__include='include' am__quote='' ;;
4235 esac ;; #(
4236 *) :
4237 ;;
4238 esac
4239 if testscip-shell system . . test. "$am__include" != "#"; then
4240 _am_result="yes ($s style)"
4241 break
4242 fi
4243 done
4244 rmscip-shell system . . rm. -f confinc.* confmf.*
4245 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4246 printfscip-shell system . . printf. "%s\n" "${_am_result}" >&6; }
4247
4248 # Check whether --enable-dependency-tracking was given.
4249 if testscip-shell system . . test. ${enable_dependency_tracking+y}
4250 then :
4251 enableval=$enable_dependency_tracking;
4252 fi
4253
4254 if testscip-shell system . . test. "x$enable_dependency_tracking" != xno; then
4255 am_depcomp="$ac_aux_dir/depcomp"
4256 AMDEPBACKSLASH='\'
4257 am__nodep='_no'
4258 fi
4259 if testscip-shell system . . test. "x$enable_dependency_tracking" != xno; then
4260 AMDEP_TRUE=
4261 AMDEP_FALSE='#'
4262 else
4263 AMDEP_TRUE='#'
4264 AMDEP_FALSE=
4265 fi
4266
4267
4268
4269 depcc="$CC" am_compiler_list=
4270
4271 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4272 printfscip-shell system . . printf. %s "checking dependency style of $depcc... " >&6; }
4273 if testscip-shell system . . test. ${am_cv_CC_dependencies_compiler_type+y}
4274 then :
4275 printfscip-shell system . . printf. %s "(cached) " >&6
4276 else $as_nop
4277 if testscip-shell system . . test. -z "$AMDEP_TRUE" && testscip-shell system . . test. -f "$am_depcomp"; then
4278 # We make a subdir and do the tests there. Otherwise we can end up
4279 # making bogus files that we don't know about and never remove. For
4280 # instance it was reported that on HP-UX the gcc test will end up
4281 # making a dummy file named 'D' -- because '-MD' means "put the output
4282 # in D".
4283 rmscip-shell system . . rm. -rf conftest.dir
4284 mkdirscip-shell system . . mkdir. conftest.dir
4285 # Copy depcomp to subdir because otherwise we won't find it if we're
4286 # using a relative directory.
4287 cpscip-shell system . . cp. "$am_depcomp" conftest.dir
4288 cd conftest.dir
4289 # We will build objects and dependencies in a subdirectory because
4290 # it helps to detect inapplicable dependency modes. For instance
4291 # both Tru64's cc and ICC support -MD to output dependencies as a
4292 # side effect of compilation, but ICC will put the dependencies in
4293 # the current directory while Tru64 will put them in the object
4294 # directory.
4295 mkdirscip-shell system . . mkdir. sub
4296
4297 am_cv_CC_dependencies_compiler_type=none
4298 if testscip-shell system . . test. "$am_compiler_list" = ""; then
4299 am_compiler_list=`sedscip-shell system . . sed. -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4300 fi
4301 am__universal=false
4302 case " $depcc " in #(
4303 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4304 esac
4305
4306 for depmode in $am_compiler_list; do
4307 # Setup a source with many dependencies, because some compilers
4308 # like to wrap large dependency lists on column 80 (with \), and
4309 # we should not choose a depcomp mode which is confused by this.
4310 #
4311 # We need to recreate these files for each test, as the compiler may
4312 # overwrite some of them when testing with obscure command lines.
4313 # This happens at least with the AIX C compiler.
4314 : > sub/conftest.c
4315 for i in 1 2 3 4 5 6; do
4316 echoscip-shell system . . echo. '#include "conftst'$i'.h"' >> sub/conftest.c
4317 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4318 # Solaris 10 /bin/sh.
4319 echoscip-shell system . . echo. '/* dummy */scip-shell filesystem . . `/* dummy */`.' > sub/conftst$i.h
4320 done
4321 echoscip-shell system . . echo. "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4322
4323 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4324 # mode. It turns out that the SunPro C++ compiler does not properly
4325 # handle '-M -o', and we need to detect this. Also, some Intel
4326 # versions had trouble with output in subdirs.
4327 am__obj=sub/conftest.${OBJEXT-o}
4328 am__minus_obj="-o $am__obj"
4329 case $depmode in
4330 gcc)
4331 # This depmode causes a compiler race in universal mode.
4332 testscip-shell system . . test. "$am__universal" = false || continue
4333 ;;
4334 nosideeffect)
4335 # After this tag, mechanisms are not by side-effect, so they'll
4336 # only be used when explicitly requested.
4337 if testscip-shell system . . test. "x$enable_dependency_tracking" = xyes; then
4338 continue
4339 else
4340 break
4341 fi
4342 ;;
4343 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4344 # This compiler won't grok '-c -o', but also, the minuso test has
4345 # not run yet. These depmodes are late enough in the game, and
4346 # so weak that their functioning should not be impacted.
4347 am__obj=conftest.${OBJEXT-o}
4348 am__minus_obj=
4349 ;;
4350 none) break ;;
4351 esac
4352 if depmode=$depmode \
4353 source=sub/conftest.c object=$am__obj \
4354 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4355 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4356 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>conftest.err &&
4357 grepscip-shell system . . grep. sub/conftst1.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
4358 grepscip-shell system . . grep. sub/conftst6.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
4359 grepscip-shell system . . grep. $am__obj sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
4360 ${MAKE-make} -s -f confmf > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
4361 # icc doesn't choke on unknown options, it will just issue warnings
4362 # or remarks (even with -Werror). So we grep stderr for any message
4363 # that says an option was ignored or not supported.
4364 # When given -MP, icc 7.0 and 7.1 complain thusly:
4365 # icc: Command line warning: ignoring option '-M'; no argument required
4366 # The diagnosis changed in icc 8.0:
4367 # icc: Command line remark: option '-MP' not supported
4368 if (grepscip-shell system . . grep. 'ignoring option' conftest.err ||
4369 grepscip-shell system . . grep. 'not supported' conftest.err) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
4370 am_cv_CC_dependencies_compiler_type=$depmode
4371 break
4372 fi
4373 fi
4374 done
4375
4376 cd ..
4377 rmscip-shell system . . rm. -rf conftest.dir
4378 else
4379 am_cv_CC_dependencies_compiler_type=none
4380 fi
4381
4382 fi
4383 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4384 printfscip-shell system . . printf. "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4385 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4386
4387 if
4388 testscip-shell system . . test. "x$enable_dependency_tracking" != xno \
4389 && testscip-shell system . . test. "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4390 am__fastdepCC_TRUE=
4391 am__fastdepCC_FALSE='#'
4392 else
4393 am__fastdepCC_TRUE='#'
4394 am__fastdepCC_FALSE=
4395 fi
4396
4397
4398
4399 ac_header_dirent=no
4400 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4401 as_ac_Header=`printfscip-shell system . . printf. "%s\n" "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4402 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
4403 printfscip-shell system . . printf. %s "checking for $ac_hdr that defines DIR... " >&6; }
4404 if eval test \${$as_ac_Header+y}
4405 then :
4406 printfscip-shell system . . printf. %s "(cached) " >&6
4407 else $as_nop
4408 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4409 /* end confdefs.h. */
4410 #include <sys/types.h>
4411 #include <$ac_hdr>
4412
4413 int
4414 main (void)
4415 {
4416 if ((DIR *) 0)
4417 return 0;
4418 ;
4419 return 0;
4420 }
4421 _ACEOF
4422 if ac_fn_c_try_compilescip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_compile(). "$LINENO"
4423 then :
4424 eval "$as_ac_Header=yes"
4425 else $as_nop
4426 eval "$as_ac_Header=no"
4427 fi
4428 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4429 fi
4430 eval ac_res=\$$as_ac_Header
4431 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4432 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
4433 if eval test \"x\$"$as_ac_Header"\" = x"yes"
4434 then :
4435 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
4436 #define `printfscip-shell system . . printf. "%s\n" "HAVE_$ac_hdr" | $as_tr_cpp` 1
4437 _ACEOF
4438
4439 ac_header_dirent=$ac_hdr; break
4440 fi
4441
4442 done
4443 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4444 if testscip-shell system . . test. $ac_header_dirent = dirent.h; then
4445 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4446 printfscip-shell system . . printf. %s "checking for library containing opendir... " >&6; }
4447 if testscip-shell system . . test. ${ac_cv_search_opendir+y}
4448 then :
4449 printfscip-shell system . . printf. %s "(cached) " >&6
4450 else $as_nop
4451 ac_func_search_save_LIBS=$LIBS
4452 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4453 /* end confdefs.h. */
4454
4455 /* Override any GCC internal prototype to avoid an error.
4456 Use char because int might match the return type of a GCC
4457 builtin and then its argument prototype would still apply. */
4458 char opendir ();
4459 int
4460 main (void)
4461 {
4462 return opendir ();
4463 ;
4464 return 0;
4465 }
4466 _ACEOF
4467 for ac_lib in '' dir
4468 do
4469 if testscip-shell system . . test. -z "$ac_lib"; then
4470 ac_res="none required"
4471 else
4472 ac_res=-l$ac_lib
4473 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4474 fi
4475 if ac_fn_c_try_linkscip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_link(). "$LINENO"
4476 then :
4477 ac_cv_search_opendir=$ac_res
4478 fi
4479 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
4480 conftest$ac_exeext
4481 if testscip-shell system . . test. ${ac_cv_search_opendir+y}
4482 then :
4483 break
4484 fi
4485 done
4486 if testscip-shell system . . test. ${ac_cv_search_opendir+y}
4487 then :
4488
4489 else $as_nop
4490 ac_cv_search_opendir=no
4491 fi
4492 rmscip-shell system . . rm. conftest.$ac_ext
4493 LIBS=$ac_func_search_save_LIBS
4494 fi
4495 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4496 printfscip-shell system . . printf. "%s\n" "$ac_cv_search_opendir" >&6; }
4497 ac_res=$ac_cv_search_opendir
4498 if testscip-shell system . . test. "$ac_res" != no
4499 then :
4500 testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4501
4502 fi
4503
4504 else
4505 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4506 printfscip-shell system . . printf. %s "checking for library containing opendir... " >&6; }
4507 if testscip-shell system . . test. ${ac_cv_search_opendir+y}
4508 then :
4509 printfscip-shell system . . printf. %s "(cached) " >&6
4510 else $as_nop
4511 ac_func_search_save_LIBS=$LIBS
4512 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4513 /* end confdefs.h. */
4514
4515 /* Override any GCC internal prototype to avoid an error.
4516 Use char because int might match the return type of a GCC
4517 builtin and then its argument prototype would still apply. */
4518 char opendir ();
4519 int
4520 main (void)
4521 {
4522 return opendir ();
4523 ;
4524 return 0;
4525 }
4526 _ACEOF
4527 for ac_lib in '' x
4528 do
4529 if testscip-shell system . . test. -z "$ac_lib"; then
4530 ac_res="none required"
4531 else
4532 ac_res=-l$ac_lib
4533 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4534 fi
4535 if ac_fn_c_try_linkscip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_link(). "$LINENO"
4536 then :
4537 ac_cv_search_opendir=$ac_res
4538 fi
4539 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
4540 conftest$ac_exeext
4541 if testscip-shell system . . test. ${ac_cv_search_opendir+y}
4542 then :
4543 break
4544 fi
4545 done
4546 if testscip-shell system . . test. ${ac_cv_search_opendir+y}
4547 then :
4548
4549 else $as_nop
4550 ac_cv_search_opendir=no
4551 fi
4552 rmscip-shell system . . rm. conftest.$ac_ext
4553 LIBS=$ac_func_search_save_LIBS
4554 fi
4555 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4556 printfscip-shell system . . printf. "%s\n" "$ac_cv_search_opendir" >&6; }
4557 ac_res=$ac_cv_search_opendir
4558 if testscip-shell system . . test. "$ac_res" != no
4559 then :
4560 testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4561
4562 fi
4563
4564 fi
4565
4566 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4567 printfscip-shell system . . printf. %s "checking for an ANSI C-conforming const... " >&6; }
4568 if testscip-shell system . . test. ${ac_cv_c_const+y}
4569 then :
4570 printfscip-shell system . . printf. %s "(cached) " >&6
4571 else $as_nop
4572 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4573 /* end confdefs.h. */
4574
4575 int
4576 main (void)
4577 {
4578
4579 #ifndef __cplusplus
4580 /* Ultrix mips cc rejects this sort of thing. */
4581 typedef int charset[2];
4582 const charset cs = { 0, 0 };
4583 /* SunOS 4.1.1 cc rejects this. */
4584 char const *const *pcpcc;
4585 char **ppc;
4586 /* NEC SVR4.0.2 mips cc rejects this. */
4587 struct point {int x, y;};
4588 static struct point const zero = {0,0};
4589 /* IBM XL C 1.02.0.0 rejects this.
4590 It does not let you subtract one const X* pointer from another in
4591 an arm of an if-expression whose if-part is not a constant
4592 expression */
4593 const char *g = "string";
4594 pcpcc = &g + (g ? g-g : 0);
4595 /* HPUX 7.0 cc rejects these. */
4596 ++pcpcc;
4597 ppc = (char**) pcpcc;
4598 pcpcc = (char const *const *) ppc;
4599 { /* SCO 3.2v4 cc rejects this sort of thing. */
4600 char tx;
4601 char *t = &tx;
4602 char const *s = 0 ? (char *) 0 : (char const *) 0;
4603
4604 *t++ = 0;
4605 if (s) return 0;
4606 }
4607 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4608 int x[] = {25, 17};
4609 const int *foo = &x[0];
4610 ++foo;
4611 }
4612 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4613 typedef const int *iptr;
4614 iptr p = 0;
4615 ++p;
4616 }
4617 { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
4618 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4619 struct s { int j; const int *ap[3]; } bx;
4620 struct s *b = &bx; b->j = 5;
4621 }
4622 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4623 const int foo = 10;
4624 if (!foo) return 0;
4625 }
4626 return !cs[0] && !zero.x;
4627 #endif
4628
4629 ;
4630 return 0;
4631 }
4632 _ACEOF
4633 if ac_fn_c_try_compilescip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_compile(). "$LINENO"
4634 then :
4635 ac_cv_c_const=yes
4636 else $as_nop
4637 ac_cv_c_const=no
4638 fi
4639 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4640 fi
4641 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4642 printfscip-shell system . . printf. "%s\n" "$ac_cv_c_const" >&6; }
4643 if testscip-shell system . . test. $ac_cv_c_const = no; then
4644
4645 printfscip-shell system . . printf. "%s\n" "#define const /**/" >>confdefs.h
4646
4647 fi
4648
4649 ac_header= ac_cache=
4650 for ac_item in $ac_header_c_list
4651 do
4652 if testscip-shell system . . test. $ac_cache; then
4653 ac_fn_c_check_header_compilescip-shell shell buildtorrent 0.9.1-4 ac_fn_c_check_header_compile(). "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
4654 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
4655 printfscip-shell system . . printf. "%s\n" "#define $ac_item 1" >> confdefs.h
4656 fi
4657 ac_header= ac_cache=
4658 elif testscip-shell system . . test. $ac_header; then
4659 ac_cache=$ac_item
4660 else
4661 ac_header=$ac_item
4662 fi
4663 done
4664
4665
4666
4667
4668
4669
4670
4671
4672 if testscip-shell system . . test. $ac_cv_header_stdlib_h = yes && testscip-shell system . . test. $ac_cv_header_string_h = yes
4673 then :
4674
4675 printfscip-shell system . . printf. "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
4676
4677 fi
4678 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4679 printfscip-shell system . . printf. %s "checking whether byte ordering is bigendian... " >&6; }
4680 if testscip-shell system . . test. ${ac_cv_c_bigendian+y}
4681 then :
4682 printfscip-shell system . . printf. %s "(cached) " >&6
4683 else $as_nop
4684 ac_cv_c_bigendian=unknown
4685 # See if we're dealing with a universal compiler.
4686 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4687 /* end confdefs.h. */
4688 #ifndef __APPLE_CC__
4689 not a universal capable compiler
4690 #endif
4691 typedef int dummy;
4692
4693 _ACEOF
4694 if ac_fn_c_try_compilescip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_compile(). "$LINENO"
4695 then :
4696
4697 # Check for potential -arch flags. It is not universal unless
4698 # there are at least two -arch flags with different values.
4699 ac_arch=
4700 ac_prev=
4701 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4702 if testscip-shell system . . test. -n "$ac_prev"; then
4703 case $ac_word in
4704 i?86 | x86_64 | ppc | ppc64)
4705 if testscip-shell system . . test. -z "$ac_arch" || testscip-shell system . . test. "$ac_arch" = "$ac_word"; then
4706 ac_arch=$ac_word
4707 else
4708 ac_cv_c_bigendian=universal
4709 break
4710 fi
4711 ;;
4712 esac
4713 ac_prev=
4714 elif testscip-shell system . . test. "x$ac_word" = "x-arch"; then
4715 ac_prev=arch
4716 fi
4717 done
4718 fi
4719 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4720 if testscip-shell system . . test. $ac_cv_c_bigendian = unknown; then
4721 # See if sys/param.h defines the BYTE_ORDER macro.
4722 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4723 /* end confdefs.h. */
4724 #include <sys/types.h>
4725 #include <sys/param.h>
4726
4727 int
4728 main (void)
4729 {
4730 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4731 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4732 && LITTLE_ENDIAN)
4733 bogus endian macros
4734 #endif
4735
4736 ;
4737 return 0;
4738 }
4739 _ACEOF
4740 if ac_fn_c_try_compilescip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_compile(). "$LINENO"
4741 then :
4742 # It does; now see whether it defined to BIG_ENDIAN or not.
4743 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4744 /* end confdefs.h. */
4745 #include <sys/types.h>
4746 #include <sys/param.h>
4747
4748 int
4749 main (void)
4750 {
4751 #if BYTE_ORDER != BIG_ENDIAN
4752 not big endian
4753 #endif
4754
4755 ;
4756 return 0;
4757 }
4758 _ACEOF
4759 if ac_fn_c_try_compilescip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_compile(). "$LINENO"
4760 then :
4761 ac_cv_c_bigendian=yes
4762 else $as_nop
4763 ac_cv_c_bigendian=no
4764 fi
4765 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4766 fi
4767 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4768 fi
4769 if testscip-shell system . . test. $ac_cv_c_bigendian = unknown; then
4770 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4771 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4772 /* end confdefs.h. */
4773 #include <limits.h>
4774
4775 int
4776 main (void)
4777 {
4778 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4779 bogus endian macros
4780 #endif
4781
4782 ;
4783 return 0;
4784 }
4785 _ACEOF
4786 if ac_fn_c_try_compilescip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_compile(). "$LINENO"
4787 then :
4788 # It does; now see whether it defined to _BIG_ENDIAN or not.
4789 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4790 /* end confdefs.h. */
4791 #include <limits.h>
4792
4793 int
4794 main (void)
4795 {
4796 #ifndef _BIG_ENDIAN
4797 not big endian
4798 #endif
4799
4800 ;
4801 return 0;
4802 }
4803 _ACEOF
4804 if ac_fn_c_try_compilescip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_compile(). "$LINENO"
4805 then :
4806 ac_cv_c_bigendian=yes
4807 else $as_nop
4808 ac_cv_c_bigendian=no
4809 fi
4810 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4811 fi
4812 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4813 fi
4814 if testscip-shell system . . test. $ac_cv_c_bigendian = unknown; then
4815 # Compile a test program.
4816 if testscip-shell system . . test. "$cross_compiling" = yes
4817 then :
4818 # Try to guess by grepping values from an object file.
4819 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4820 /* end confdefs.h. */
4821 unsigned short int ascii_mm[] =
4822 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4823 unsigned short int ascii_ii[] =
4824 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4825 int use_ascii (int i) {
4826 return ascii_mm[i] + ascii_ii[i];
4827 }
4828 unsigned short int ebcdic_ii[] =
4829 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4830 unsigned short int ebcdic_mm[] =
4831 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4832 int use_ebcdic (int i) {
4833 return ebcdic_mm[i] + ebcdic_ii[i];
4834 }
4835 extern int foo;
4836
4837 int
4838 main (void)
4839 {
4840 return use_ascii (foo) == use_ebcdic (foo);
4841 ;
4842 return 0;
4843 }
4844 _ACEOF
4845 if ac_fn_c_try_compilescip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_compile(). "$LINENO"
4846 then :
4847 if grepscip-shell system . . grep. BIGenDianSyS conftest.$ac_objext >/dev/nullscip-shell filesystem . . `/dev/null`.; then
4848 ac_cv_c_bigendian=yes
4849 fi
4850 if grepscip-shell system . . grep. LiTTleEnDian conftest.$ac_objext >/dev/nullscip-shell filesystem . . `/dev/null`. ; then
4851 if testscip-shell system . . test. "$ac_cv_c_bigendian" = unknown; then
4852 ac_cv_c_bigendian=no
4853 else
4854 # finding both strings is unlikely to happen, but who knows?
4855 ac_cv_c_bigendian=unknown
4856 fi
4857 fi
4858 fi
4859 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4860 else $as_nop
4861 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4862 /* end confdefs.h. */
4863 $ac_includes_default
4864 int
4865 main (void)
4866 {
4867
4868 /* Are we little or big endian? From Harbison&Steele. */
4869 union
4870 {
4871 long int l;
4872 char c[sizeof (long int)];
4873 } u;
4874 u.l = 1;
4875 return u.c[sizeof (long int) - 1] == 1;
4876
4877 ;
4878 return 0;
4879 }
4880 _ACEOF
4881 if ac_fn_c_try_runscip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_run(). "$LINENO"
4882 then :
4883 ac_cv_c_bigendian=no
4884 else $as_nop
4885 ac_cv_c_bigendian=yes
4886 fi
4887 rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4888 conftest.$ac_objext conftest.beam conftest.$ac_ext
4889 fi
4890
4891 fi
4892 fi
4893 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4894 printfscip-shell system . . printf. "%s\n" "$ac_cv_c_bigendian" >&6; }
4895 case $ac_cv_c_bigendian in #(
4896 yes)
4897 printfscip-shell system . . printf. "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h
4898 ;; #(
4899 no)
4900 ;; #(
4901 universal)
4902
4903 printfscip-shell system . . printf. "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4904
4905 ;; #(
4906 *)
4907 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "unknown endianness
4908 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4909 esac
4910
4911 ac_fn_c_check_typescip-shell shell buildtorrent 0.9.1-4 ac_fn_c_check_type(). "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4912 if testscip-shell system . . test. "x$ac_cv_type_size_t" = xyes
4913 then :
4914
4915 else $as_nop
4916
4917 printfscip-shell system . . printf. "%s\n" "#define size_t unsigned int" >>confdefs.h
4918
4919 fi
4920
4921 ac_ext=c
4922 ac_cpp='$CPP $CPPFLAGS'
4923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4926 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4927 printfscip-shell system . . printf. %s "checking how to run the C preprocessor... " >&6; }
4928 # On Suns, sometimes $CPP names a directory.
4929 if testscip-shell system . . test. -n "$CPP" && testscip-shell system . . test. -d "$CPP"; then
4930 CPP=
4931 fi
4932 if testscip-shell system . . test. -z "$CPP"; then
4933 if testscip-shell system . . test. ${ac_cv_prog_CPP+y}
4934 then :
4935 printfscip-shell system . . printf. %s "(cached) " >&6
4936 else $as_nop
4937 # Double quotes because $CC needs to be expanded
4938 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cppscip-shell filesystem . . `/lib/cpp`.
4939 do
4940 ac_preproc_ok=false
4941 for ac_c_preproc_warn_flag in '' yes
4942 do
4943 # Use a header file that comes with gcc, so configuring glibc
4944 # with a fresh cross-compiler works.
4945 # On the NeXT, cc -E runs the code through the compiler's parser,
4946 # not just through cpp. "Syntax error" is here to catch this case.
4947 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4948 /* end confdefs.h. */
4949 #include <limits.h>
4950 Syntax error
4951 _ACEOF
4952 if ac_fn_c_try_cppscip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_cpp(). "$LINENO"
4953 then :
4954
4955 else $as_nop
4956 # Broken: fails on valid input.
4957 continue
4958 fi
4959 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
4960
4961 # OK, works on sane cases. Now check whether nonexistent headers
4962 # can be detected and how.
4963 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4964 /* end confdefs.h. */
4965 #include <ac_nonexistent.h>
4966 _ACEOF
4967 if ac_fn_c_try_cppscip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_cpp(). "$LINENO"
4968 then :
4969 # Broken: success on invalid input.
4970 continue
4971 else $as_nop
4972 # Passes both tests.
4973 ac_preproc_ok=:
4974 break
4975 fi
4976 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
4977
4978 done
4979 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4980 rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext
4981 if $ac_preproc_ok
4982 then :
4983 break
4984 fi
4985
4986 done
4987 ac_cv_prog_CPP=$CPP
4988
4989 fi
4990 CPP=$ac_cv_prog_CPP
4991 else
4992 ac_cv_prog_CPP=$CPP
4993 fi
4994 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4995 printfscip-shell system . . printf. "%s\n" "$CPP" >&6; }
4996 ac_preproc_ok=false
4997 for ac_c_preproc_warn_flag in '' yes
4998 do
4999 # Use a header file that comes with gcc, so configuring glibc
5000 # with a fresh cross-compiler works.
5001 # On the NeXT, cc -E runs the code through the compiler's parser,
5002 # not just through cpp. "Syntax error" is here to catch this case.
5003 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5004 /* end confdefs.h. */
5005 #include <limits.h>
5006 Syntax error
5007 _ACEOF
5008 if ac_fn_c_try_cppscip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_cpp(). "$LINENO"
5009 then :
5010
5011 else $as_nop
5012 # Broken: fails on valid input.
5013 continue
5014 fi
5015 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
5016
5017 # OK, works on sane cases. Now check whether nonexistent headers
5018 # can be detected and how.
5019 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5020 /* end confdefs.h. */
5021 #include <ac_nonexistent.h>
5022 _ACEOF
5023 if ac_fn_c_try_cppscip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_cpp(). "$LINENO"
5024 then :
5025 # Broken: success on invalid input.
5026 continue
5027 else $as_nop
5028 # Passes both tests.
5029 ac_preproc_ok=:
5030 break
5031 fi
5032 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
5033
5034 done
5035 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5036 rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext
5037 if $ac_preproc_ok
5038 then :
5039
5040 else $as_nop
5041 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5042 printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5043 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "C preprocessor \"$CPP\" fails sanity check
5044 See \`config.log' for more details" "$LINENO" 5; }
5045 fi
5046
5047 ac_ext=c
5048 ac_cpp='$CPP $CPPFLAGS'
5049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5052
5053
5054 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5055 printfscip-shell system . . printf. %s "checking for grep that handles long lines and -e... " >&6; }
5056 if testscip-shell system . . test. ${ac_cv_path_GREP+y}
5057 then :
5058 printfscip-shell system . . printf. %s "(cached) " >&6
5059 else $as_nop
5060 if testscip-shell system . . test. -z "$GREP"; then
5061 ac_path_GREP_found=false
5062 # Loop through the user's path and test for each of PROGNAME-LIST
5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5065 do
5066 IFS=$as_save_IFS
5067 case $as_dir in #(((
5068 '') as_dir=./ ;;
5069 */) ;;
5070 *) as_dir=$as_dir/ ;;
5071 esac
5072 for ac_prog in grep ggrep
5073 do
5074 for ac_exec_ext in '' $ac_executable_extensions; do
5075 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
5076 as_fn_executable_pscip-shell shell buildtorrent 0.9.1-4 as_fn_executable_p(). "$ac_path_GREP" || continue
5077 # Check for GNU ac_path_GREP and select it if it is found.
5078 # Check for GNU $ac_path_GREP
5079 case `"$ac_path_GREP" --version 2>&1` in
5080 *GNU*)
5081 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5082 *)
5083 ac_count=0
5084 printfscip-shell system . . printf. %s 0123456789 >"conftest.in"
5085 while :
5086 do
5087 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
5088 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
5089 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
5090 printfscip-shell system . . printf. "%s\n" 'GREP' >> "conftest.nl"
5091 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
5092 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
5093 as_fn_arithscip-shell shell buildtorrent 0.9.1-4 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
5094 if testscip-shell system . . test. $ac_count -gt ${ac_path_GREP_max-0}; then
5095 # Best one so far, save it but keep looking for a better one
5096 ac_cv_path_GREP="$ac_path_GREP"
5097 ac_path_GREP_max=$ac_count
5098 fi
5099 # 10*(2^10) chars as input seems more than enough
5100 testscip-shell system . . test. $ac_count -gt 10 && break
5101 done
5102 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
5103 esac
5104
5105 $ac_path_GREP_found && break 3
5106 done
5107 done
5108 done
5109 IFS=$as_save_IFS
5110 if testscip-shell system . . test. -z "$ac_cv_path_GREP"; then
5111 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5112 fi
5113 else
5114 ac_cv_path_GREP=$GREP
5115 fi
5116
5117 fi
5118 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5119 printfscip-shell system . . printf. "%s\n" "$ac_cv_path_GREP" >&6; }
5120 GREP="$ac_cv_path_GREP"
5121
5122
5123 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5124 printfscip-shell system . . printf. %s "checking for egrep... " >&6; }
5125 if testscip-shell system . . test. ${ac_cv_path_EGREP+y}
5126 then :
5127 printfscip-shell system . . printf. %s "(cached) " >&6
5128 else $as_nop
5129 if echoscip-shell system . . echo. a | $GREP -E '(a|b)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
5130 then ac_cv_path_EGREP="$GREP -E"
5131 else
5132 if testscip-shell system . . test. -z "$EGREP"; then
5133 ac_path_EGREP_found=false
5134 # Loop through the user's path and test for each of PROGNAME-LIST
5135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5136 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5137 do
5138 IFS=$as_save_IFS
5139 case $as_dir in #(((
5140 '') as_dir=./ ;;
5141 */) ;;
5142 *) as_dir=$as_dir/ ;;
5143 esac
5144 for ac_prog in egrep
5145 do
5146 for ac_exec_ext in '' $ac_executable_extensions; do
5147 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
5148 as_fn_executable_pscip-shell shell buildtorrent 0.9.1-4 as_fn_executable_p(). "$ac_path_EGREP" || continue
5149 # Check for GNU ac_path_EGREP and select it if it is found.
5150 # Check for GNU $ac_path_EGREP
5151 case `"$ac_path_EGREP" --version 2>&1` in
5152 *GNU*)
5153 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5154 *)
5155 ac_count=0
5156 printfscip-shell system . . printf. %s 0123456789 >"conftest.in"
5157 while :
5158 do
5159 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
5160 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
5161 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
5162 printfscip-shell system . . printf. "%s\n" 'EGREP' >> "conftest.nl"
5163 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
5164 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
5165 as_fn_arithscip-shell shell buildtorrent 0.9.1-4 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
5166 if testscip-shell system . . test. $ac_count -gt ${ac_path_EGREP_max-0}; then
5167 # Best one so far, save it but keep looking for a better one
5168 ac_cv_path_EGREP="$ac_path_EGREP"
5169 ac_path_EGREP_max=$ac_count
5170 fi
5171 # 10*(2^10) chars as input seems more than enough
5172 testscip-shell system . . test. $ac_count -gt 10 && break
5173 done
5174 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
5175 esac
5176
5177 $ac_path_EGREP_found && break 3
5178 done
5179 done
5180 done
5181 IFS=$as_save_IFS
5182 if testscip-shell system . . test. -z "$ac_cv_path_EGREP"; then
5183 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5184 fi
5185 else
5186 ac_cv_path_EGREP=$EGREP
5187 fi
5188
5189 fi
5190 fi
5191 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5192 printfscip-shell system . . printf. "%s\n" "$ac_cv_path_EGREP" >&6; }
5193 EGREP="$ac_cv_path_EGREP"
5194
5195
5196 if testscip-shell system . . test. $ac_cv_c_compiler_gnu = yes; then
5197 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
5198 printfscip-shell system . . printf. %s "checking whether $CC needs -traditional... " >&6; }
5199 if testscip-shell system . . test. ${ac_cv_prog_gcc_traditional+y}
5200 then :
5201 printfscip-shell system . . printf. %s "(cached) " >&6
5202 else $as_nop
5203 ac_pattern="Autoconf.*'x'"
5204 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5205 /* end confdefs.h. */
5206 #include <sgtty.h>
5207 Autoconf TIOCGETP
5208 _ACEOF
5209 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5210 $EGREP "$ac_pattern" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
5211 then :
5212 ac_cv_prog_gcc_traditional=yes
5213 else $as_nop
5214 ac_cv_prog_gcc_traditional=no
5215 fi
5216 rmscip-shell system . . rm. -rf conftest*
5217
5218
5219 if testscip-shell system . . test. $ac_cv_prog_gcc_traditional = no; then
5220 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5221 /* end confdefs.h. */
5222 #include <termio.h>
5223 Autoconf TCGETA
5224 _ACEOF
5225 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5226 $EGREP "$ac_pattern" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
5227 then :
5228 ac_cv_prog_gcc_traditional=yes
5229 fi
5230 rmscip-shell system . . rm. -rf conftest*
5231
5232 fi
5233 fi
5234 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
5235 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_gcc_traditional" >&6; }
5236 if testscip-shell system . . test. $ac_cv_prog_gcc_traditional = yes; then
5237 CC="$CC -traditional"
5238 fi
5239 fi
5240
5241
5242
5243 # Make sure we can run config.sub.
5244 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 ||
5245 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
5246
5247 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5248 printfscip-shell system . . printf. %s "checking build system type... " >&6; }
5249 if testscip-shell system . . test. ${ac_cv_build+y}
5250 then :
5251 printfscip-shell system . . printf. %s "(cached) " >&6
5252 else $as_nop
5253 ac_build_alias=$build_alias
5254 testscip-shell system . . test. "x$ac_build_alias" = x &&
5255 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
5256 testscip-shell system . . test. "x$ac_build_alias" = x &&
5257 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "cannot guess build type; you must specify one" "$LINENO" 5
5258 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
5259 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
5260
5261 fi
5262 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5263 printfscip-shell system . . printf. "%s\n" "$ac_cv_build" >&6; }
5264 case $ac_cv_build in
5265 *-*-*) ;;
5266 *) as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "invalid value of canonical build" "$LINENO" 5;;
5267 esac
5268 build=$ac_cv_build
5269 ac_save_IFS=$IFS; IFS='-'
5270 set x $ac_cv_build
5271 shift
5272 build_cpu=$1
5273 build_vendor=$2
5274 shift; shift
5275 # Remember, the first character of IFS is used to create $*,
5276 # except with old shells:
5277 build_os=$*
5278 IFS=$ac_save_IFS
5279 case $build_os in *\ *) build_os=`echoscip-shell system . . echo. "$build_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac
5280
5281
5282 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5283 printfscip-shell system . . printf. %s "checking host system type... " >&6; }
5284 if testscip-shell system . . test. ${ac_cv_host+y}
5285 then :
5286 printfscip-shell system . . printf. %s "(cached) " >&6
5287 else $as_nop
5288 if testscip-shell system . . test. "x$host_alias" = x; then
5289 ac_cv_host=$ac_cv_build
5290 else
5291 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
5292 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
5293 fi
5294
5295 fi
5296 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5297 printfscip-shell system . . printf. "%s\n" "$ac_cv_host" >&6; }
5298 case $ac_cv_host in
5299 *-*-*) ;;
5300 *) as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "invalid value of canonical host" "$LINENO" 5;;
5301 esac
5302 host=$ac_cv_host
5303 ac_save_IFS=$IFS; IFS='-'
5304 set x $ac_cv_host
5305 shift
5306 host_cpu=$1
5307 host_vendor=$2
5308 shift; shift
5309 # Remember, the first character of IFS is used to create $*,
5310 # except with old shells:
5311 host_os=$*
5312 IFS=$ac_save_IFS
5313 case $host_os in *\ *) host_os=`echoscip-shell system . . echo. "$host_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac
5314
5315
5316 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
5317 printfscip-shell system . . printf. %s "checking whether lstat correctly handles trailing slash... " >&6; }
5318 if testscip-shell system . . test. ${ac_cv_func_lstat_dereferences_slashed_symlink+y}
5319 then :
5320 printfscip-shell system . . printf. %s "(cached) " >&6
5321 else $as_nop
5322 rmscip-shell system . . rm. -f conftest.sym conftest.file
5323 echoscip-shell system . . echo. >conftest.file
5324 if testscip-shell system . . test. "$as_ln_s" = "ln -s" && lnscip-shell system . . ln. -s conftest.file conftest.sym; then
5325 if testscip-shell system . . test. "$cross_compiling" = yes
5326 then :
5327 case "$host_os" in # ((
5328 # Guess yes on glibc systems.
5329 *-gnu*) ac_cv_func_lstat_dereferences_slashed_symlink=yes ;;
5330 # If we don't know, assume the worst.
5331 *) ac_cv_func_lstat_dereferences_slashed_symlink=no ;;
5332 esac
5333 else $as_nop
5334 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5335 /* end confdefs.h. */
5336 $ac_includes_default
5337 int
5338 main (void)
5339 {
5340 struct stat sbuf;
5341 /* Linux will dereference the symlink and fail, as required by POSIX.
5342 That is better in the sense that it means we will not
5343 have to compile and use the lstat wrapper. */
5344 return lstat ("conftest.sym/", &sbuf) == 0;
5345 ;
5346 return 0;
5347 }
5348 _ACEOF
5349 if ac_fn_c_try_runscip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_run(). "$LINENO"
5350 then :
5351 ac_cv_func_lstat_dereferences_slashed_symlink=yes
5352 else $as_nop
5353 ac_cv_func_lstat_dereferences_slashed_symlink=no
5354 fi
5355 rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5356 conftest.$ac_objext conftest.beam conftest.$ac_ext
5357 fi
5358
5359 else
5360 # If the `ln -s' command failed, then we probably don't even
5361 # have an lstat function.
5362 ac_cv_func_lstat_dereferences_slashed_symlink=no
5363 fi
5364 rmscip-shell system . . rm. -f conftest.sym conftest.file
5365
5366 fi
5367 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
5368 printfscip-shell system . . printf. "%s\n" "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
5369
5370 testscip-shell system . . test. $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
5371
5372 printfscip-shell system . . printf. "%s\n" "#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1" >>confdefs.h
5373
5374
5375 if testscip-shell system . . test. "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
5376 case " $LIBOBJS " in
5377 *" lstat.$ac_objext "* ) ;;
5378 *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
5379 ;;
5380 esac
5381
5382 fi
5383
5384 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
5385 printfscip-shell system . . printf. %s "checking whether stat accepts an empty string... " >&6; }
5386 if testscip-shell system . . test. ${ac_cv_func_stat_empty_string_bug+y}
5387 then :
5388 printfscip-shell system . . printf. %s "(cached) " >&6
5389 else $as_nop
5390 if testscip-shell system . . test. "$cross_compiling" = yes
5391 then :
5392 ac_cv_func_stat_empty_string_bug=yes
5393 else $as_nop
5394 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5395 /* end confdefs.h. */
5396 $ac_includes_default
5397 int
5398 main (void)
5399 {
5400 struct stat sbuf;
5401 return stat ("", &sbuf) == 0;
5402 ;
5403 return 0;
5404 }
5405 _ACEOF
5406 if ac_fn_c_try_runscip-shell shell buildtorrent 0.9.1-4 ac_fn_c_try_run(). "$LINENO"
5407 then :
5408 ac_cv_func_stat_empty_string_bug=no
5409 else $as_nop
5410 ac_cv_func_stat_empty_string_bug=yes
5411 fi
5412 rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5413 conftest.$ac_objext conftest.beam conftest.$ac_ext
5414 fi
5415
5416 fi
5417 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
5418 printfscip-shell system . . printf. "%s\n" "$ac_cv_func_stat_empty_string_bug" >&6; }
5419 if testscip-shell system . . test. $ac_cv_func_stat_empty_string_bug = yes; then
5420 case " $LIBOBJS " in
5421 *" stat.$ac_objext "* ) ;;
5422 *) LIBOBJS="$LIBOBJS stat.$ac_objext"
5423 ;;
5424 esac
5425
5426
5427 printfscip-shell system . . printf. "%s\n" "#define HAVE_STAT_EMPTY_STRING_BUG 1" >>confdefs.h
5428
5429 fi
5430
5431 ac_config_files="$ac_config_files Makefile"
5432
5433 catscip-shell system . . cat. >confcache <<\_ACEOF
5434 # This file is a shell script that caches the results of configure
5435 # tests run on this system so they can be shared between configure
5436 # scripts and configure runs, see configure's option --config-cache.
5437 # It is not useful on other systems. If it contains results you don't
5438 # want to keep, you may remove or edit it.
5439 #
5440 # config.status only pays attention to the cache file if you give it
5441 # the --recheck option to rerun configure.
5442 #
5443 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5444 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5445 # following values.
5446
5447 _ACEOF
5448
5449 # The following way of writing the cache mishandles newlines in values,
5450 # but we know of no workaround that is simple, portable, and efficient.
5451 # So, we kill variables containing newlines.
5452 # Ultrix sh set writes to stderr and can't be redirected directly,
5453 # and sets the high bit in the cache file unless we assign to the vars.
5454 (
5455 for ac_var in `(set) 2>&1 | sedscip-shell system . . sed. -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5456 eval ac_val=\$$ac_var
5457 case $ac_val in #(
5458 *${as_nl}*)
5459 case $ac_var in #(
5460 *_cv_*) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5461 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5462 esac
5463 case $ac_var in #(
5464 _ | IFS | as_nl) ;; #(
5465 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5466 *) { eval $ac_var=; unset $ac_var;} ;;
5467 esac ;;
5468 esac
5469 done
5470
5471 (set) 2>&1 |
5472 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5473 *${as_nl}ac_space=\ *)
5474 # `set' does not quote correctly, so add quotes: double-quote
5475 # substitution turns \\\\ into \\, and sed turns \\ into \.
5476 sedscip-shell system . . sed. -n \
5477 "s/'/'\\\\''/g;
5478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5479 ;; #(
5480 *)
5481 # `set' quotes correctly as required by POSIX, so do not add quotes.
5482 sedscip-shell system . . sed. -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5483 ;;
5484 esac |
5485 sortscip-shell system . . sort.
5486 ) |
5487 sedscip-shell system . . sed. '
5488 /^ac_cv_env_/b end
5489 t clear
5490 :clear
5491 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
5492 t end
5493 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5494 :end' >>confcache
5495 if diffscip-shell system . . diff. "$cache_file" confcache >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
5496 if testscip-shell system . . test. -w "$cache_file"; then
5497 if testscip-shell system . . test. "x$cache_file" != "x/dev/null"; then
5498 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5499 printfscip-shell system . . printf. "%s\n" "$as_me: updating cache $cache_file" >&6;}
5500 if testscip-shell system . . test. ! -f "$cache_file" || testscip-shell system . . test. -h "$cache_file"; then
5501 catscip-shell system . . cat. confcache >"$cache_file"
5502 else
5503 case $cache_file in #(
5504 */* | ?:*)
5505 mvscip-shell system . . mv. -f confcache "$cache_file"$$ &&
5506 mvscip-shell system . . mv. -f "$cache_file"$$ "$cache_file" ;; #(
5507 *)
5508 mvscip-shell system . . mv. -f confcache "$cache_file" ;;
5509 esac
5510 fi
5511 fi
5512 else
5513 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5514 printfscip-shell system . . printf. "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
5515 fi
5516 fi
5517 rmscip-shell system . . rm. -f confcache
5518
5519 testscip-shell system . . test. "x$prefix" = xNONE && prefix=$ac_default_prefix
5520 # Let make expand exec_prefix.
5521 testscip-shell system . . test. "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5522
5523 DEFS=-DHAVE_CONFIG_H
5524
5525 ac_libobjs=
5526 ac_ltlibobjs=
5527 U=
5528 for ac_i in : $LIBOBJS; do testscip-shell system . . test. "x$ac_i" = x: && continue
5529 # 1. Remove the extension, and $U if already installed.
5530 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5531 ac_i=`printfscip-shell system . . printf. "%s\n" "$ac_i" | sedscip-shell system . . sed. "$ac_script"`
5532 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5533 # will be set to the directory where LIBOBJS objects are built.
5534 as_fn_appendscip-shell shell buildtorrent 0.9.1-4 as_fn_append(). ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5535 as_fn_appendscip-shell shell buildtorrent 0.9.1-4 as_fn_append(). ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5536 done
5537 LIBOBJS=$ac_libobjs
5538
5539 LTLIBOBJS=$ac_ltlibobjs
5540
5541
5542 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5543 printfscip-shell system . . printf. %s "checking that generated files are newer than configure... " >&6; }
5544 if testscip-shell system . . test. -n "$am_sleep_pid"; then
5545 # Hide warnings about reused PIDs.
5546 wait $am_sleep_pid 2>/dev/nullscip-shell filesystem . . `/dev/null`.
5547 fi
5548 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
5549 printfscip-shell system . . printf. "%s\n" "done" >&6; }
5550 if testscip-shell system . . test. -n "$EXEEXT"; then
5551 am__EXEEXT_TRUE=
5552 am__EXEEXT_FALSE='#'
5553 else
5554 am__EXEEXT_TRUE='#'
5555 am__EXEEXT_FALSE=
5556 fi
5557
5558 if testscip-shell system . . test. -z "${AMDEP_TRUE}" && testscip-shell system . . test. -z "${AMDEP_FALSE}"; then
5559 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "conditional \"AMDEP\" was never defined.
5560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5561 fi
5562 if testscip-shell system . . test. -z "${am__fastdepCC_TRUE}" && testscip-shell system . . test. -z "${am__fastdepCC_FALSE}"; then
5563 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "conditional \"am__fastdepCC\" was never defined.
5564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5565 fi
5566
5567
5568 : "${CONFIG_STATUS=./config.status}"
5569 ac_write_fail=0
5570 ac_clean_files_save=$ac_clean_files
5571 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5572 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5573 printfscip-shell system . . printf. "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
5574 as_write_fail=0
5575 catscip-shell system . . cat. >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5576 #! $SHELL
5577 # Generated by $as_me.
5578 # Run this file to recreate the current configuration.
5579 # Compiler output produced by configure, useful for debugging
5580 # configure, is in config.log if it exists.
5581
5582 debug=false
5583 ac_cs_recheck=false
5584 ac_cs_silent=false
5585
5586 SHELL=\${CONFIG_SHELL-$SHELL}
5587 export SHELL
5588 _ASEOF
5589 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5590 ## -------------------- ##
5591 ## M4sh Initialization. ##
5592 ## -------------------- ##
5593
5594 # Be more Bourne compatible
5595 DUALCASE=1; export DUALCASE # for MKS sh
5596 as_nop=:
5597 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
5598 then :
5599 emulate sh
5600 NULLCMD=:
5601 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5602 # is contrary to our usage. Disable this feature.
5603 alias -g '${1+"$@"}'='"$@"'
5604 setopt NO_GLOB_SUBST
5605 else $as_nop
5606 case `(set -o) 2>/dev/null` in #(
5607 *posix*) :
5608 set -o posix ;; #(
5609 *) :
5610 ;;
5611 esac
5612 fi
5613
5614
5615
5616 # Reset variables that may have inherited troublesome values from
5617 # the environment.
5618
5619 # IFS needs to be set, to space, tab, and newline, in precisely that order.
5620 # (If _AS_PATH_WALK were called with IFS unset, it would have the
5621 # side effect of setting IFS to empty, thus disabling word splitting.)
5622 # Quoting is to prevent editors from complaining about space-tab.
5623 as_nl='
5624 '
5625 export as_nl
5626 IFS=" "" $as_nl"
5627
5628 PS1='$ '
5629 PS2='> '
5630 PS4='+ '
5631
5632 # Ensure predictable behavior from utilities with locale-dependent output.
5633 LC_ALL=C
5634 export LC_ALL
5635 LANGUAGE=C
5636 export LANGUAGE
5637
5638 # We cannot yet rely on "unset" to work, but we need these variables
5639 # to be unset--not just set to an empty or harmless value--now, to
5640 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
5641 # also avoids known problems related to "unset" and subshell syntax
5642 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
5643 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
5644 do eval test \${$as_var+y} \
5645 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5646 done
5647
5648 # Ensure that fds 0, 1, and 2 are open.
5649 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
5650 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
5651 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
5652
5653 # The user is always right.
5654 if ${PATH_SEPARATOR+false} :; then
5655 PATH_SEPARATOR=:
5656 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5657 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5658 PATH_SEPARATOR=';'
5659 }
5660 fi
5661
5662
5663 # Find who we are. Look in the path if we contain no directory separator.
5664 as_myself=
5665 case $0 in #((
5666 *[\\/]* ) as_myself=$0 ;;
5667 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5668 for as_dir in $PATH
5669 do
5670 IFS=$as_save_IFS
5671 case $as_dir in #(((
5672 '') as_dir=./ ;;
5673 */) ;;
5674 *) as_dir=$as_dir/ ;;
5675 esac
5676 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
5677 done
5678 IFS=$as_save_IFS
5679
5680 ;;
5681 esac
5682 # We did not find ourselves, most probably we were run as `sh COMMAND'
5683 # in which case we are not to be found in the path.
5684 if test "x$as_myself" = x; then
5685 as_myself=$0
5686 fi
5687 if test ! -f "$as_myself"; then
5688 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5689 exit 1
5690 fi
5691
5692
5693
5694 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5695 # ----------------------------------------
5696 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5697 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5698 # script with STATUS, using 1 if that was 0.
5699 as_fn_error ()
5700 {
5701 as_status=$1; test $as_status -eq 0 && as_status=1
5702 if test "$4"; then
5703 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5705 fi
5706 printf "%s\n" "$as_me: error: $2" >&2
5707 as_fn_exit $as_status
5708 } # as_fn_error
5709
5710
5711
5712 # as_fn_set_status STATUS
5713 # -----------------------
5714 # Set $? to STATUS, without forking.
5715 as_fn_set_status ()
5716 {
5717 return $1
5718 } # as_fn_set_status
5719
5720 # as_fn_exit STATUS
5721 # -----------------
5722 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5723 as_fn_exit ()
5724 {
5725 set +e
5726 as_fn_set_status $1
5727 exit $1
5728 } # as_fn_exit
5729
5730 # as_fn_unset VAR
5731 # ---------------
5732 # Portably unset VAR.
5733 as_fn_unset ()
5734 {
5735 { eval $1=; unset $1;}
5736 }
5737 as_unset=as_fn_unset
5738
5739 # as_fn_append VAR VALUE
5740 # ----------------------
5741 # Append the text in VALUE to the end of the definition contained in VAR. Take
5742 # advantage of any shell optimizations that allow amortized linear growth over
5743 # repeated appends, instead of the typical quadratic growth present in naive
5744 # implementations.
5745 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
5746 then :
5747 eval 'as_fn_append ()
5748 {
5749 eval $1+=\$2
5750 }'
5751 else $as_nop
5752 as_fn_append ()
5753 {
5754 eval $1=\$$1\$2
5755 }
5756 fi # as_fn_append
5757
5758 # as_fn_arith ARG...
5759 # ------------------
5760 # Perform arithmetic evaluation on the ARGs, and store the result in the
5761 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5762 # must be portable across $(()) and expr.
5763 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
5764 then :
5765 eval 'as_fn_arith ()
5766 {
5767 as_val=$(( $* ))
5768 }'
5769 else $as_nop
5770 as_fn_arith ()
5771 {
5772 as_val=`expr "$@" || test $? -eq 1`
5773 }
5774 fi # as_fn_arith
5775
5776
5777 if expr a : '\(a\)' >/dev/null 2>&1 &&
5778 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5779 as_expr=expr
5780 else
5781 as_expr=false
5782 fi
5783
5784 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5785 as_basename=basename
5786 else
5787 as_basename=false
5788 fi
5789
5790 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5791 as_dirname=dirname
5792 else
5793 as_dirname=false
5794 fi
5795
5796 as_me=`$as_basename -- "$0" ||
5797 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5798 X"$0" : 'X\(//\)$' \| \
5799 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5800 printf "%s\n" X/"$0" |
5801 sed '/^.*\/\([^/][^/]*\)\/*$/{
5802 s//\1/
5803 q
5804 }
5805 /^X\/\(\/\/\)$/{
5806 s//\1/
5807 q
5808 }
5809 /^X\/\(\/\).*/{
5810 s//\1/
5811 q
5812 }
5813 s/.*/./; q'`
5814
5815 # Avoid depending upon Character Ranges.
5816 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5817 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5818 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5819 as_cr_digits='0123456789'
5820 as_cr_alnum=$as_cr_Letters$as_cr_digits
5821
5822
5823 # Determine whether it's possible to make 'echo' print without a newline.
5824 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
5825 # for compatibility with existing Makefiles.
5826 ECHO_C= ECHO_N= ECHO_T=
5827 case `echo -n x` in #(((((
5828 -n*)
5829 case `echo 'xy\c'` in
5830 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5831 xy) ECHO_C='\c';;
5832 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5833 ECHO_T=' ';;
5834 esac;;
5835 *)
5836 ECHO_N='-n';;
5837 esac
5838
5839 # For backward compatibility with old third-party macros, we provide
5840 # the shell variables $as_echo and $as_echo_n. New code should use
5841 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
5842 as_echo='printf %s\n'
5843 as_echo_n='printf %s'
5844
5845 rm -f conf$$ conf$$.exe conf$$.file
5846 if test -d conf$$.dir; then
5847 rm -f conf$$.dir/conf$$.file
5848 else
5849 rm -f conf$$.dir
5850 mkdir conf$$.dir 2>/dev/null
5851 fi
5852 if (echo >conf$$.file) 2>/dev/null; then
5853 if ln -s conf$$.file conf$$ 2>/dev/null; then
5854 as_ln_s='ln -s'
5855 # ... but there are two gotchas:
5856 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5857 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5858 # In both cases, we have to default to `cp -pR'.
5859 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5860 as_ln_s='cp -pR'
5861 elif ln conf$$.file conf$$ 2>/dev/null; then
5862 as_ln_s=ln
5863 else
5864 as_ln_s='cp -pR'
5865 fi
5866 else
5867 as_ln_s='cp -pR'
5868 fi
5869 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5870 rmdir conf$$.dir 2>/dev/null
5871
5872
5873 # as_fn_mkdir_p
5874 # -------------
5875 # Create "$as_dir" as a directory, including parents if necessary.
5876 as_fn_mkdir_p ()
5877 {
5878
5879 case $as_dir in #(
5880 -*) as_dir=./$as_dir;;
5881 esac
5882 test -d "$as_dir" || eval $as_mkdir_p || {
5883 as_dirs=
5884 while :; do
5885 case $as_dir in #(
5886 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5887 *) as_qdir=$as_dir;;
5888 esac
5889 as_dirs="'$as_qdir' $as_dirs"
5890 as_dir=`$as_dirname -- "$as_dir" ||
5891 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5892 X"$as_dir" : 'X\(//\)[^/]' \| \
5893 X"$as_dir" : 'X\(//\)$' \| \
5894 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5895 printf "%s\n" X"$as_dir" |
5896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5897 s//\1/
5898 q
5899 }
5900 /^X\(\/\/\)[^/].*/{
5901 s//\1/
5902 q
5903 }
5904 /^X\(\/\/\)$/{
5905 s//\1/
5906 q
5907 }
5908 /^X\(\/\).*/{
5909 s//\1/
5910 q
5911 }
5912 s/.*/./; q'`
5913 test -d "$as_dir" && break
5914 done
5915 test -z "$as_dirs" || eval "mkdir $as_dirs"
5916 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5917
5918
5919 } # as_fn_mkdir_p
5920 if mkdir -p . 2>/dev/null; then
5921 as_mkdir_p='mkdir -p "$as_dir"'
5922 else
5923 test -d ./-p && rmdir ./-p
5924 as_mkdir_p=false
5925 fi
5926
5927
5928 # as_fn_executable_p FILE
5929 # -----------------------
5930 # Test if FILE is an executable regular file.
5931 as_fn_executable_p ()
5932 {
5933 test -f "$1" && test -x "$1"
5934 } # as_fn_executable_p
5935 as_test_x='test -x'
5936 as_executable_p=as_fn_executable_p
5937
5938 # Sed expression to map a string onto a valid CPP name.
5939 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5940
5941 # Sed expression to map a string onto a valid variable name.
5942 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5943
5944
5945 exec 6>&1
5946 ## ----------------------------------- ##
5947 ## Main body of $CONFIG_STATUS script. ##
5948 ## ----------------------------------- ##
5949 _ASEOF
5950 testscip-shell system . . test. $as_write_fail = 0 && chmodscip-shell system . . chmod. +x $CONFIG_STATUS || ac_write_fail=1
5951
5952 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5953 # Save the log message, to keep $0 and so on meaningful, and to
5954 # report actual input values of CONFIG_FILES etc. instead of their
5955 # values after options handling.
5956 ac_log="
5957 This file was extended by buildtorrent $as_me 0.9.1, which was
5958 generated by GNU Autoconf 2.71. Invocation command line was
5959
5960 CONFIG_FILES = $CONFIG_FILES
5961 CONFIG_HEADERS = $CONFIG_HEADERS
5962 CONFIG_LINKS = $CONFIG_LINKS
5963 CONFIG_COMMANDS = $CONFIG_COMMANDS
5964 $ $0 $@
5965
5966 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5967 "
5968
5969 _ACEOF
5970
5971 case $ac_config_files in *"
5972 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5973 esac
5974
5975 case $ac_config_headers in *"
5976 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5977 esac
5978
5979
5980 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5981 # Files that config.status was made for.
5982 config_files="$ac_config_files"
5983 config_headers="$ac_config_headers"
5984 config_commands="$ac_config_commands"
5985
5986 _ACEOF
5987
5988 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5989 ac_cs_usage="\
5990 \`$as_me' instantiates files and other configuration actions
5991 from templates according to the current configuration. Unless the files
5992 and actions are specified as TAGs, all are instantiated by default.
5993
5994 Usage: $0 [OPTION]... [TAG]...
5995
5996 -h, --help print this help, then exit
5997 -V, --version print version number and configuration settings, then exit
5998 --config print configuration, then exit
5999 -q, --quiet, --silent
6000 do not print progress messages
6001 -d, --debug don't remove temporary files
6002 --recheck update $as_me by reconfiguring in the same conditions
6003 --file=FILE[:TEMPLATE]
6004 instantiate the configuration file FILE
6005 --header=FILE[:TEMPLATE]
6006 instantiate the configuration header FILE
6007
6008 Configuration files:
6009 $config_files
6010
6011 Configuration headers:
6012 $config_headers
6013
6014 Configuration commands:
6015 $config_commands
6016
6017 Report bugs to <[email protected]>.
6018 buildtorrent home page: <https://mathr.co.uk/web/buildtorrent.html>."
6019
6020 _ACEOF
6021 ac_cs_config=`printfscip-shell system . . printf. "%s\n" "$ac_configure_args" | sedscip-shell system . . sed. "$ac_safe_unquote"`
6022 ac_cs_config_escaped=`printfscip-shell system . . printf. "%s\n" "$ac_cs_config" | sedscip-shell system . . sed. "s/^ //; s/'/'\\\\\\\\''/g"`
6023 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6024 ac_cs_config='$ac_cs_config_escaped'
6025 ac_cs_version="\\
6026 buildtorrent config.status 0.9.1
6027 configured by $0, generated by GNU Autoconf 2.71,
6028 with options \\"\$ac_cs_config\\"
6029
6030 Copyright (C) 2021 Free Software Foundation, Inc.
6031 This config.status script is free software; the Free Software Foundation
6032 gives unlimited permission to copy, distribute and modify it."
6033
6034 ac_pwd='$ac_pwd'
6035 srcdir='$srcdir'
6036 INSTALL='$INSTALL'
6037 MKDIR_P='$MKDIR_P'
6038 AWK='$AWK'
6039 test -n "\$AWK" || AWK=awk
6040 _ACEOF
6041
6042 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6043 # The default lists apply if the user does not specify any file.
6044 ac_need_defaults=:
6045 while test $# != 0
6046 do
6047 case $1 in
6048 --*=?*)
6049 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6050 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6051 ac_shift=:
6052 ;;
6053 --*=)
6054 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6055 ac_optarg=
6056 ac_shift=:
6057 ;;
6058 *)
6059 ac_option=$1
6060 ac_optarg=$2
6061 ac_shift=shift
6062 ;;
6063 esac
6064
6065 case $ac_option in
6066 # Handling of the options.
6067 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6068 ac_cs_recheck=: ;;
6069 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6070 printf "%s\n" "$ac_cs_version"; exit ;;
6071 --config | --confi | --conf | --con | --co | --c )
6072 printf "%s\n" "$ac_cs_config"; exit ;;
6073 --debug | --debu | --deb | --de | --d | -d )
6074 debug=: ;;
6075 --file | --fil | --fi | --f )
6076 $ac_shift
6077 case $ac_optarg in
6078 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6079 '') as_fn_error $? "missing file argument" ;;
6080 esac
6081 as_fn_append CONFIG_FILES " '$ac_optarg'"
6082 ac_need_defaults=false;;
6083 --header | --heade | --head | --hea )
6084 $ac_shift
6085 case $ac_optarg in
6086 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6087 esac
6088 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6089 ac_need_defaults=false;;
6090 --he | --h)
6091 # Conflict between --help and --header
6092 as_fn_error $? "ambiguous option: \`$1'
6093 Try \`$0 --help' for more information.";;
6094 --help | --hel | -h )
6095 printf "%s\n" "$ac_cs_usage"; exit ;;
6096 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6097 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6098 ac_cs_silent=: ;;
6099
6100 # This is an error.
6101 -*) as_fn_error $? "unrecognized option: \`$1'
6102 Try \`$0 --help' for more information." ;;
6103
6104 *) as_fn_append ac_config_targets " $1"
6105 ac_need_defaults=false ;;
6106
6107 esac
6108 shift
6109 done
6110
6111 ac_configure_extra_args=
6112
6113 if $ac_cs_silent; then
6114 exec 6>/dev/null
6115 ac_configure_extra_args="$ac_configure_extra_args --silent"
6116 fi
6117
6118 _ACEOF
6119 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6120 if \$ac_cs_recheck; then
6121 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6122 shift
6123 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
6124 CONFIG_SHELL='$SHELL'
6125 export CONFIG_SHELL
6126 exec "\$@"
6127 fi
6128
6129 _ACEOF
6130 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6131 exec 5>>config.log
6132 {
6133 echo
6134 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6135 ## Running $as_me. ##
6136 _ASBOX
6137 printf "%s\n" "$ac_log"
6138 } >&5
6139
6140 _ACEOF
6141 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6142 #
6143 # INIT-COMMANDS
6144 #
6145 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
6146
6147 _ACEOF
6148
6149 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6150
6151 # Handling of arguments.
6152 for ac_config_target in $ac_config_targets
6153 do
6154 case $ac_config_target in
6155 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6156 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6157 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6158
6159 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6160 esac
6161 done
6162
6163
6164 # If the user did not use the arguments to specify the items to instantiate,
6165 # then the envvar interface is used. Set only those that are not.
6166 # We use the long form for the default assignment because of an extremely
6167 # bizarre bug on SunOS 4.1.3.
6168 if $ac_need_defaults; then
6169 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
6170 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
6171 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
6172 fi
6173
6174 # Have a temporary directory for convenience. Make it in the build tree
6175 # simply because there is no reason against having it here, and in addition,
6176 # creating and moving files from /tmp can sometimes cause problems.
6177 # Hook for its removal unless debugging.
6178 # Note that there is a small window in which the directory will not be cleaned:
6179 # after its creation but before its name has been assigned to `$tmp'.
6180 $debug ||
6181 {
6182 tmp= ac_tmp=
6183 trap 'exit_status=$?
6184 : "${ac_tmp:=$tmp}"
6185 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6186 ' 0
6187 trap 'as_fn_exit 1' 1 2 13 15
6188 }
6189 # Create a (secure) tmp directory for tmp files.
6190
6191 {
6192 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6193 test -d "$tmp"
6194 } ||
6195 {
6196 tmp=./conf$$-$RANDOM
6197 (umask 077 && mkdir "$tmp")
6198 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6199 ac_tmp=$tmp
6200
6201 # Set up the scripts for CONFIG_FILES section.
6202 # No need to generate them if there are no CONFIG_FILES.
6203 # This happens for instance with `./config.status config.h'.
6204 if test -n "$CONFIG_FILES"; then
6205
6206
6207 ac_cr=`echo X | tr X '\015'`
6208 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6209 # But we know of no other shell where ac_cr would be empty at this
6210 # point, so we can use a bashism as a fallback.
6211 if test "x$ac_cr" = x; then
6212 eval ac_cr=\$\'\\r\'
6213 fi
6214 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6215 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6216 ac_cs_awk_cr='\\r'
6217 else
6218 ac_cs_awk_cr=$ac_cr
6219 fi
6220
6221 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6222 _ACEOF
6223
6224
6225 {
6226 echoscip-shell system . . echo. "cat >conf$$subs.awk <<_ACEOF" &&
6227 echoscip-shell system . . echo. "$ac_subst_vars" | sedscip-shell system . . sed. 's/.*/&!$&$ac_delim/' &&
6228 echoscip-shell system . . echo. "_ACEOF"
6229 } >conf$$subs.sh ||
6230 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
6231 ac_delim_num=`echoscip-shell system . . echo. "$ac_subst_vars" | grepscip-shell system . . grep. -c '^'`
6232 ac_delim='%!_!# '
6233 for ac_last_try in false false false false false :; do
6234 . ./conf$$subs.sh ||
6235 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
6236
6237 ac_delim_n=`sedscip-shell system . . sed. -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grepscip-shell system . . grep. -c X`
6238 if testscip-shell system . . test. $ac_delim_n = $ac_delim_num; then
6239 break
6240 elif $ac_last_try; then
6241 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
6242 else
6243 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6244 fi
6245 done
6246 rmscip-shell system . . rm. -f conf$$subs.sh
6247
6248 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6249 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6250 _ACEOF
6251 sedscip-shell system . . sed. -n '
6252 h
6253 s/^/S["/; s/!.*/"]=/
6254 p
6255 g
6256 s/^[^!]*!//
6257 :repl
6258 t repl
6259 s/'"$ac_delim"'$//
6260 t delim
6261 :nl
6262 h
6263 s/\(.\{148\}\)..*/\1/
6264 t more1
6265 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6266 p
6267 n
6268 b repl
6269 :more1
6270 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6271 p
6272 g
6273 s/.\{148\}//
6274 t nl
6275 :delim
6276 h
6277 s/\(.\{148\}\)..*/\1/
6278 t more2
6279 s/["\\]/\\&/g; s/^/"/; s/$/"/
6280 p
6281 b
6282 :more2
6283 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6284 p
6285 g
6286 s/.\{148\}//
6287 t delim
6288 ' <conf$$subs.awk | sedscip-shell system . . sed. '
6289 /^[^""]/{
6290 N
6291 s/\n//
6292 }
6293 ' >>$CONFIG_STATUS || ac_write_fail=1
6294 rmscip-shell system . . rm. -f conf$$subs.awk
6295 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6296 _ACAWK
6297 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6298 for (key in S) S_is_set[key] = 1
6299 FS = ""
6300
6301 }
6302 {
6303 line = $ 0
6304 nfields = split(line, field, "@")
6305 substed = 0
6306 len = length(field[1])
6307 for (i = 2; i < nfields; i++) {
6308 key = field[i]
6309 keylen = length(key)
6310 if (S_is_set[key]) {
6311 value = S[key]
6312 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6313 len += length(value) + length(field[++i])
6314 substed = 1
6315 } else
6316 len += 1 + keylen
6317 }
6318
6319 print line
6320 }
6321
6322 _ACAWK
6323 _ACEOF
6324 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6325 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6326 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6327 else
6328 cat
6329 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6330 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6331 _ACEOF
6332
6333 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6334 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6335 # trailing colons and then remove the whole line if VPATH becomes empty
6336 # (actually we leave an empty line to preserve line numbers).
6337 if testscip-shell system . . test. "x$srcdir" = x.; then
6338 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6339 h
6340 s///
6341 s/^/:/
6342 s/[ ]*$/:/
6343 s/:\$(srcdir):/:/g
6344 s/:\${srcdir}:/:/g
6345 s/:@srcdir@:/:/g
6346 s/^:*//
6347 s/:*$//
6348 x
6349 s/\(=[ ]*\).*/\1/
6350 G
6351 s/\n//
6352 s/^[^=]*=[ ]*$//
6353 }'
6354 fi
6355
6356 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6357 fi # test -n "$CONFIG_FILES"
6358
6359 # Set up the scripts for CONFIG_HEADERS section.
6360 # No need to generate them if there are no CONFIG_HEADERS.
6361 # This happens for instance with `./config.status Makefile'.
6362 if test -n "$CONFIG_HEADERS"; then
6363 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6364 BEGIN {
6365 _ACEOF
6366
6367 # Transform confdefs.h into an awk script `defines.awk', embedded as
6368 # here-document in config.status, that substitutes the proper values into
6369 # config.h.in to produce config.h.
6370
6371 # Create a delimiter string that does not exist in confdefs.h, to ease
6372 # handling of long lines.
6373 ac_delim='%!_!# '
6374 for ac_last_try in false false :; do
6375 ac_tt=`sedscip-shell system . . sed. -n "/$ac_delim/p" confdefs.h`
6376 if testscip-shell system . . test. -z "$ac_tt"; then
6377 break
6378 elif $ac_last_try; then
6379 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6380 else
6381 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6382 fi
6383 done
6384
6385 # For the awk script, D is an array of macro values keyed by name,
6386 # likewise P contains macro parameters if any. Preserve backslash
6387 # newline sequences.
6388
6389 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6390 sedscip-shell system . . sed. -n '
6391 s/.\{148\}/&'"$ac_delim"'/g
6392 t rset
6393 :rset
6394 s/^[ ]*#[ ]*define[ ][ ]*/ /
6395 t def
6396 d
6397 :def
6398 s/\\$//
6399 t bsnl
6400 s/["\\]/\\&/g
6401 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6402 D["\1"]=" \3"/p
6403 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6404 d
6405 :bsnl
6406 s/["\\]/\\&/g
6407 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6408 D["\1"]=" \3\\\\\\n"\\/p
6409 t cont
6410 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6411 t cont
6412 d
6413 :cont
6414 n
6415 s/.\{148\}/&'"$ac_delim"'/g
6416 t clear
6417 :clear
6418 s/\\$//
6419 t bsnlc
6420 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6421 d
6422 :bsnlc
6423 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6424 b cont
6425 ' <confdefs.h | sedscip-shell system . . sed. '
6426 s/'"$ac_delim"'/"\\\
6427 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6428
6429 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6430 for (key in D) D_is_set[key] = 1
6431 FS = ""
6432 }
6433 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6434 line = \$ 0
6435 split(line, arg, " ")
6436 if (arg[1] == "#") {
6437 defundef = arg[2]
6438 mac1 = arg[3]
6439 } else {
6440 defundef = substr(arg[1], 2)
6441 mac1 = arg[2]
6442 }
6443 split(mac1, mac2, "(") #)
6444 macro = mac2[1]
6445 prefix = substr(line, 1, index(line, defundef) - 1)
6446 if (D_is_set[macro]) {
6447 # Preserve the white space surrounding the "#".
6448 print prefix "define", macro P[macro] D[macro]
6449 next
6450 } else {
6451 # Replace #undef with comments. This is necessary, for example,
6452 # in the case of _POSIX_SOURCE, which is predefined and required
6453 # on some systems where configure will not decide to define it.
6454 if (defundef == "undef") {
6455 print "/*", prefix defundef, macro, "*/"
6456 next
6457 }
6458 }
6459 }
6460 { print }
6461 _ACAWK
6462 _ACEOF
6463 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6464 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6465 fi # test -n "$CONFIG_HEADERS"
6466
6467
6468 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6469 shift
6470 for ac_tag
6471 do
6472 case $ac_tag in
6473 :[FHLC]) ac_mode=$ac_tag; continue;;
6474 esac
6475 case $ac_mode$ac_tag in
6476 :[FHL]*:*);;
6477 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6478 :[FH]-) ac_tag=-:-;;
6479 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6480 esac
6481 ac_save_IFS=$IFS
6482 IFS=:
6483 set x $ac_tag
6484 IFS=$ac_save_IFS
6485 shift
6486 ac_file=$1
6487 shift
6488
6489 case $ac_mode in
6490 :L) ac_source=$1;;
6491 :[FH])
6492 ac_file_inputs=
6493 for ac_f
6494 do
6495 case $ac_f in
6496 -) ac_f="$ac_tmp/stdin";;
6497 *) # Look for the file first in the build tree, then in the source tree
6498 # (if the path is not absolute). The absolute path cannot be DOS-style,
6499 # because $ac_f cannot contain `:'.
6500 test -f "$ac_f" ||
6501 case $ac_f in
6502 [\\/$]*) false;;
6503 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6504 esac ||
6505 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6506 esac
6507 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6508 as_fn_append ac_file_inputs " '$ac_f'"
6509 done
6510
6511 # Let's still pretend it is `configure' which instantiates (i.e., don't
6512 # use $as_me), people would be surprised to read:
6513 # /* config.h. Generated by config.status. */
6514 configure_input='Generated from '`
6515 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6516 `' by configure.'
6517 if test x"$ac_file" != x-; then
6518 configure_input="$ac_file. $configure_input"
6519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6520 printf "%s\n" "$as_me: creating $ac_file" >&6;}
6521 fi
6522 # Neutralize special characters interpreted by sed in replacement strings.
6523 case $configure_input in #(
6524 *\&* | *\|* | *\\* )
6525 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
6526 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6527 *) ac_sed_conf_input=$configure_input;;
6528 esac
6529
6530 case $ac_tag in
6531 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6532 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6533 esac
6534 ;;
6535 esac
6536
6537 ac_dir=`$as_dirname -- "$ac_file" ||
6538 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6539 X"$ac_file" : 'X\(//\)[^/]' \| \
6540 X"$ac_file" : 'X\(//\)$' \| \
6541 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6542 printf "%s\n" X"$ac_file" |
6543 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6544 s//\1/
6545 q
6546 }
6547 /^X\(\/\/\)[^/].*/{
6548 s//\1/
6549 q
6550 }
6551 /^X\(\/\/\)$/{
6552 s//\1/
6553 q
6554 }
6555 /^X\(\/\).*/{
6556 s//\1/
6557 q
6558 }
6559 s/.*/./; q'`
6560 as_dir="$ac_dir"; as_fn_mkdir_p
6561 ac_builddir=.
6562
6563 case "$ac_dir" in
6564 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6565 *)
6566 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
6567 # A ".." for each directory in $ac_dir_suffix.
6568 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6569 case $ac_top_builddir_sub in
6570 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6571 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6572 esac ;;
6573 esac
6574 ac_abs_top_builddir=$ac_pwd
6575 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6576 # for backward compatibility:
6577 ac_top_builddir=$ac_top_build_prefix
6578
6579 case $srcdir in
6580 .) # We are building in place.
6581 ac_srcdir=.
6582 ac_top_srcdir=$ac_top_builddir_sub
6583 ac_abs_top_srcdir=$ac_pwd ;;
6584 [\\/]* | ?:[\\/]* ) # Absolute name.
6585 ac_srcdir=$srcdir$ac_dir_suffix;
6586 ac_top_srcdir=$srcdir
6587 ac_abs_top_srcdir=$srcdir ;;
6588 *) # Relative name.
6589 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6590 ac_top_srcdir=$ac_top_build_prefix$srcdir
6591 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6592 esac
6593 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6594
6595
6596 case $ac_mode in
6597 :F)
6598 #
6599 # CONFIG_FILE
6600 #
6601
6602 case $INSTALL in
6603 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6604 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6605 esac
6606 ac_MKDIR_P=$MKDIR_P
6607 case $MKDIR_P in
6608 [\\/$]* | ?:[\\/]* ) ;;
6609 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6610 esac
6611 _ACEOF
6612
6613 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6614 # If the template does not know about datarootdir, expand it.
6615 # FIXME: This hack should be removed a few years after 2.60.
6616 ac_datarootdir_hack=; ac_datarootdir_seen=
6617 ac_sed_dataroot='
6618 /datarootdir/ {
6619 p
6620 q
6621 }
6622 /@datadir@/p
6623 /@docdir@/p
6624 /@infodir@/p
6625 /@localedir@/p
6626 /@mandir@/p'
6627 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6628 *datarootdir*) ac_datarootdir_seen=yes;;
6629 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6631 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6632 _ACEOF
6633 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6634 ac_datarootdir_hack='
6635 s&@datadir@&$datadir&g
6636 s&@docdir@&$docdir&g
6637 s&@infodir@&$infodir&g
6638 s&@localedir@&$localedir&g
6639 s&@mandir@&$mandir&g
6640 s&\\\${datarootdir}&$datarootdir&g' ;;
6641 esac
6642 _ACEOF
6643
6644 # Neutralize VPATH when `$srcdir' = `.'.
6645 # Shell code in configure.ac might set extrasub.
6646 # FIXME: do we really want to maintain this feature?
6647 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6648 ac_sed_extra="$ac_vpsub
6649 $extrasub
6650 _ACEOF
6651 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6652 :t
6653 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6654 s|@configure_input@|$ac_sed_conf_input|;t t
6655 s&@top_builddir@&$ac_top_builddir_sub&;t t
6656 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6657 s&@srcdir@&$ac_srcdir&;t t
6658 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6659 s&@top_srcdir@&$ac_top_srcdir&;t t
6660 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6661 s&@builddir@&$ac_builddir&;t t
6662 s&@abs_builddir@&$ac_abs_builddir&;t t
6663 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6664 s&@INSTALL@&$ac_INSTALL&;t t
6665 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6666 $ac_datarootdir_hack
6667 "
6668 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6669 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6670
6671 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6672 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6673 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6674 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6676 which seems to be undefined. Please make sure it is defined" >&5
6677 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6678 which seems to be undefined. Please make sure it is defined" >&2;}
6679
6680 rm -f "$ac_tmp/stdin"
6681 case $ac_file in
6682 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6683 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6684 esac \
6685 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6686 ;;
6687 :H)
6688 #
6689 # CONFIG_HEADER
6690 #
6691 if test x"$ac_file" != x-; then
6692 {
6693 printf "%s\n" "/* $configure_input */" >&1 \
6694 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6695 } >"$ac_tmp/config.h" \
6696 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6697 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6699 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
6700 else
6701 rm -f "$ac_file"
6702 mv "$ac_tmp/config.h" "$ac_file" \
6703 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6704 fi
6705 else
6706 printf "%s\n" "/* $configure_input */" >&1 \
6707 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6708 || as_fn_error $? "could not create -" "$LINENO" 5
6709 fi
6710 # Compute "$ac_file"'s index in $config_headers.
6711 _am_arg="$ac_file"
6712 _am_stamp_count=1
6713 for _am_header in $config_headers :; do
6714 case $_am_header in
6715 $_am_arg | $_am_arg:* )
6716 break ;;
6717 * )
6718 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6719 esac
6720 done
6721 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6722 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6723 X"$_am_arg" : 'X\(//\)[^/]' \| \
6724 X"$_am_arg" : 'X\(//\)$' \| \
6725 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6726 printf "%s\n" X"$_am_arg" |
6727 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6728 s//\1/
6729 q
6730 }
6731 /^X\(\/\/\)[^/].*/{
6732 s//\1/
6733 q
6734 }
6735 /^X\(\/\/\)$/{
6736 s//\1/
6737 q
6738 }
6739 /^X\(\/\).*/{
6740 s//\1/
6741 q
6742 }
6743 s/.*/./; q'`/stamp-h$_am_stamp_count
6744 ;;
6745
6746 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6747 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
6748 ;;
6749 esac
6750
6751
6752 case $ac_file$ac_mode in
6753 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6754 # Older Autoconf quotes --file arguments for eval, but not when files
6755 # are listed without --file. Let's play safe and only enable the eval
6756 # if we detect the quoting.
6757 # TODO: see whether this extra hack can be removed once we start
6758 # requiring Autoconf 2.70 or later.
6759 case $CONFIG_FILES in #(
6760 *\'*) :
6761 eval set x "$CONFIG_FILES" ;; #(
6762 *) :
6763 set x $CONFIG_FILES ;; #(
6764 *) :
6765 ;;
6766 esac
6767 shift
6768 # Used to flag and report bootstrapping failures.
6769 am_rc=0
6770 for am_mf
6771 do
6772 # Strip MF so we end up with the name of the file.
6773 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
6774 # Check whether this is an Automake generated Makefile which includes
6775 # dependency-tracking related rules and includes.
6776 # Grep'ing the whole file directly is not great: AIX grep has a line
6777 # limit of 2048, but all sed's we know have understand at least 4000.
6778 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
6779 || continue
6780 am_dirpart=`$as_dirname -- "$am_mf" ||
6781 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6782 X"$am_mf" : 'X\(//\)[^/]' \| \
6783 X"$am_mf" : 'X\(//\)$' \| \
6784 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
6785 printf "%s\n" X"$am_mf" |
6786 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6787 s//\1/
6788 q
6789 }
6790 /^X\(\/\/\)[^/].*/{
6791 s//\1/
6792 q
6793 }
6794 /^X\(\/\/\)$/{
6795 s//\1/
6796 q
6797 }
6798 /^X\(\/\).*/{
6799 s//\1/
6800 q
6801 }
6802 s/.*/./; q'`
6803 am_filepart=`$as_basename -- "$am_mf" ||
6804 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
6805 X"$am_mf" : 'X\(//\)$' \| \
6806 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
6807 printf "%s\n" X/"$am_mf" |
6808 sed '/^.*\/\([^/][^/]*\)\/*$/{
6809 s//\1/
6810 q
6811 }
6812 /^X\/\(\/\/\)$/{
6813 s//\1/
6814 q
6815 }
6816 /^X\/\(\/\).*/{
6817 s//\1/
6818 q
6819 }
6820 s/.*/./; q'`
6821 { echo "$as_me:$LINENO: cd "$am_dirpart" \
6822 && sed -e '/# am--include-marker/d' "$am_filepart" \
6823 | $MAKE -f - am--depfiles" >&5
6824 (cd "$am_dirpart" \
6825 && sed -e '/# am--include-marker/d' "$am_filepart" \
6826 | $MAKE -f - am--depfiles) >&5 2>&5
6827 ac_status=$?
6828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829 (exit $ac_status); } || am_rc=$?
6830 done
6831 if test $am_rc -ne 0; then
6832 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6833 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6834 as_fn_error $? "Something went wrong bootstrapping makefile fragments
6835 for automatic dependency tracking. If GNU make was not used, consider
6836 re-running the configure script with MAKE=\"gmake\" (or whatever is
6837 necessary). You can also try re-running configure with the
6838 '--disable-dependency-tracking' option to at least be able to build
6839 the package (albeit without support for automatic dependency tracking).
6840 See \`config.log' for more details" "$LINENO" 5; }
6841 fi
6842 { am_dirpart=; unset am_dirpart;}
6843 { am_filepart=; unset am_filepart;}
6844 { am_mf=; unset am_mf;}
6845 { am_rc=; unset am_rc;}
6846 rm -f conftest-deps.mk
6847 }
6848 ;;
6849
6850 esac
6851 done # for ac_tag
6852
6853
6854 as_fn_exit 0
6855 _ACEOF
6856 ac_clean_files=$ac_clean_files_save
6857
6858 testscip-shell system . . test. $ac_write_fail = 0 ||
6859 as_fn_errorscip-shell shell buildtorrent 0.9.1-4 as_fn_error(). $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6860
6861
6862 # configure is writing to config.log, and then calls config.status.
6863 # config.status does its own redirection, appending to config.log.
6864 # Unfortunately, on DOS this fails, as config.log is still kept open
6865 # by configure, so config.status won't be able to write to it; its
6866 # output is simply discarded. So we exec the FD to /dev/null,
6867 # effectively closing config.log, so it can be properly (re)opened and
6868 # appended to by config.status. When coming back to configure, we
6869 # need to make the FD available again.
6870 if testscip-shell system . . test. "$no_create" != yes; then
6871 ac_cs_success=:
6872 ac_config_status_args=
6873 testscip-shell system . . test. "$silent" = yes &&
6874 ac_config_status_args="$ac_config_status_args --quiet"
6875 exec 5>/dev/nullscip-shell filesystem . . `/dev/null`.
6876 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6877 exec 5>>config.log
6878 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6879 # would make configure fail if this is the last instruction.
6880 $ac_cs_success || as_fn_exitscip-shell shell buildtorrent 0.9.1-4 as_fn_exit(). 1
6881 fi
6882 if testscip-shell system . . test. -n "$ac_unrecognized_opts" && testscip-shell system . . test. "$enable_option_checking" != no; then
6883 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6884 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6885 fi
6886
6887