Merge lp:~ubuntu-branches/ubuntu/oneiric/kexec-tools/oneiric-201105231611 into lp:ubuntu/oneiric/kexec-tools

Proposed by James Westby
Status: Rejected
Rejected by: James Westby
Proposed branch: lp:~ubuntu-branches/ubuntu/oneiric/kexec-tools/oneiric-201105231611
Merge into: lp:ubuntu/oneiric/kexec-tools
Diff against target: 8774 lines (+8730/-0) (has conflicts)
5 files modified
configure (+5958/-0)
include/config.h (+4/-0)
include/config.h.in (+67/-0)
kexec-tools.spec (+42/-0)
kexec/purgatory.c (+2659/-0)
Contents conflict in configure
Text conflict in include/config.h
Contents conflict in include/config.h.in
Contents conflict in kexec-tools.spec
Contents conflict in kexec/purgatory.c
To merge this branch: bzr merge lp:~ubuntu-branches/ubuntu/oneiric/kexec-tools/oneiric-201105231611
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+61997@code.launchpad.net

Description of the change

The package history in the archive and the history in the bzr branch differ. As the archive is authoritative the history of lp:ubuntu/oneiric/kexec-tools now reflects that and the old bzr branch has been pushed to lp:~ubuntu-branches/ubuntu/oneiric/kexec-tools/oneiric-201105231611. A merge should be performed if necessary.

To post a comment you must log in.

Unmerged revisions

42. By Andy Whitcroft

* Merge with Debian.
  - Drop DEBIAN.readme taking debian upstream version
  - Drop ubuntu patch arm-higher-initrd-load-addr dpatch as initrd
    locations are now calculated from the current size assuming maximum
    compression of * 4.
  - Remaining changes:
    + Run aclocal during build; build-dep on automake1.9.
    + Add and install kdump init script and initramfs snippet; depend on
      initramfs-tools and call the update-initramfs trigger. Also call
      update-grub after update-initramfs trigger.
    + Default to not kexecing a kernel on boot in the automatically
      generated conffile.
    + --no-undefined is a linker option, not a gcc option.
* New upstream release (closes: Bug#623814)
* Updated watch file (closes: Bug#623813)
* Updated URL in copyright file
* Updated linitian overrides file to match path name for new lintian
* Added source/lintian-overrides file to override innocuous lintian errors
* Fix pending l10n issues. Debconf translations:
  - Spanish (CamaleĆ³n). Closes: #583538
  - Danish (Joe Hansen). Closes: #599859
  - Italian (Vincenzo Campanella). Closes: #600218
* Added support for building udeb (closes: Bug#591441)
* Updated standards version to 3.9.1

41. By Andy Whitcroft

Merging shared upstream rev into target branch.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added file 'configure'
--- configure 1970-01-01 00:00:00 +0000
+++ configure 2011-05-23 16:15:55 +0000
@@ -0,0 +1,5958 @@
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.65 for kexec-tools 2.0.2.
4#
5#
6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8# Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order. Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" "" $as_nl"
90
91# Find who we are. Look in the path if we contain no directory separator.
92case $0 in #((
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95for as_dir in $PATH
96do
97 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done
101IFS=$as_save_IFS
102
103 ;;
104esac
105# We did not find ourselves, most probably we were run as `sh COMMAND'
106# in which case we are not to be found in the path.
107if test "x$as_myself" = x; then
108 as_myself=$0
109fi
110if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1
113fi
114
115# Unset variables that we do not need and which cause bugs (e.g. in
116# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117# suppresses any "Segmentation fault" message there. '((' could
118# trigger a bug in pdksh 5.2.14.
119for as_var in BASH_ENV ENV MAIL MAILPATH
120do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122done
123PS1='$ '
124PS2='> '
125PS4='+ '
126
127# NLS nuisances.
128LC_ALL=C
129export LC_ALL
130LANGUAGE=C
131export LANGUAGE
132
133# CDPATH.
134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 emulate sh
139 NULLCMD=:
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 setopt NO_GLOB_SUBST
144else
145 case \`(set -o) 2>/dev/null\` in #(
146 *posix*) :
147 set -o posix ;; #(
148 *) :
149 ;;
150esac
151fi
152"
153 as_required="as_fn_return () { (exit \$1); }
154as_fn_success () { as_fn_return 0; }
155as_fn_failure () { as_fn_return 1; }
156as_fn_ret_success () { return 0; }
157as_fn_ret_failure () { return 1; }
158
159exitcode=0
160as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
166else
167 exitcode=1; echo positional parameters were not saved.
168fi
169test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
176 as_have_required=yes
177else
178 as_have_required=no
179fi
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
182else
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184as_found=false
185for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186do
187 IFS=$as_save_IFS
188 test -z "$as_dir" && as_dir=.
189 as_found=:
190 case $as_dir in #(
191 /*)
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 break 2
200fi
201fi
202 done;;
203 esac
204 as_found=false
205done
206$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
209fi; }
210IFS=$as_save_IFS
211
212
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
217 BASH_ENV=/dev/null
218 ENV=/dev/null
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 export CONFIG_SHELL
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222fi
223
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230 else
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232$0: including any error possibly output before this
233$0: message. Then install a modern shell, or manually run
234$0: the script under such a shell if you do have one."
235 fi
236 exit 1
237fi
238fi
239fi
240SHELL=${CONFIG_SHELL-/bin/sh}
241export SHELL
242# Unset more variables known to interfere with behavior of common tools.
243CLICOLOR_FORCE= GREP_OPTIONS=
244unset CLICOLOR_FORCE GREP_OPTIONS
245
246## --------------------- ##
247## M4sh Shell Functions. ##
248## --------------------- ##
249# as_fn_unset VAR
250# ---------------
251# Portably unset VAR.
252as_fn_unset ()
253{
254 { eval $1=; unset $1;}
255}
256as_unset=as_fn_unset
257
258# as_fn_set_status STATUS
259# -----------------------
260# Set $? to STATUS, without forking.
261as_fn_set_status ()
262{
263 return $1
264} # as_fn_set_status
265
266# as_fn_exit STATUS
267# -----------------
268# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269as_fn_exit ()
270{
271 set +e
272 as_fn_set_status $1
273 exit $1
274} # as_fn_exit
275
276# as_fn_mkdir_p
277# -------------
278# Create "$as_dir" as a directory, including parents if necessary.
279as_fn_mkdir_p ()
280{
281
282 case $as_dir in #(
283 -*) as_dir=./$as_dir;;
284 esac
285 test -d "$as_dir" || eval $as_mkdir_p || {
286 as_dirs=
287 while :; do
288 case $as_dir in #(
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 *) as_qdir=$as_dir;;
291 esac
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298$as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300 s//\1/
301 q
302 }
303 /^X\(\/\/\)[^/].*/{
304 s//\1/
305 q
306 }
307 /^X\(\/\/\)$/{
308 s//\1/
309 q
310 }
311 /^X\(\/\).*/{
312 s//\1/
313 q
314 }
315 s/.*/./; q'`
316 test -d "$as_dir" && break
317 done
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320
321
322} # as_fn_mkdir_p
323# as_fn_append VAR VALUE
324# ----------------------
325# Append the text in VALUE to the end of the definition contained in VAR. Take
326# advantage of any shell optimizations that allow amortized linear growth over
327# repeated appends, instead of the typical quadratic growth present in naive
328# implementations.
329if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
331 {
332 eval $1+=\$2
333 }'
334else
335 as_fn_append ()
336 {
337 eval $1=\$$1\$2
338 }
339fi # as_fn_append
340
341# as_fn_arith ARG...
342# ------------------
343# Perform arithmetic evaluation on the ARGs, and store the result in the
344# global $as_val. Take advantage of shells that can avoid forks. The arguments
345# must be portable across $(()) and expr.
346if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347 eval 'as_fn_arith ()
348 {
349 as_val=$(( $* ))
350 }'
351else
352 as_fn_arith ()
353 {
354 as_val=`expr "$@" || test $? -eq 1`
355 }
356fi # as_fn_arith
357
358
359# as_fn_error ERROR [LINENO LOG_FD]
360# ---------------------------------
361# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363# script with status $?, using 1 if that was 0.
364as_fn_error ()
365{
366 as_status=$?; test $as_status -eq 0 && as_status=1
367 if test "$3"; then
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370 fi
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit $as_status
373} # as_fn_error
374
375if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
377 as_expr=expr
378else
379 as_expr=false
380fi
381
382if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383 as_basename=basename
384else
385 as_basename=false
386fi
387
388if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389 as_dirname=dirname
390else
391 as_dirname=false
392fi
393
394as_me=`$as_basename -- "$0" ||
395$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398$as_echo X/"$0" |
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
400 s//\1/
401 q
402 }
403 /^X\/\(\/\/\)$/{
404 s//\1/
405 q
406 }
407 /^X\/\(\/\).*/{
408 s//\1/
409 q
410 }
411 s/.*/./; q'`
412
413# Avoid depending upon Character Ranges.
414as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417as_cr_digits='0123456789'
418as_cr_alnum=$as_cr_Letters$as_cr_digits
419
420
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
426 sed -n '
427 p
428 /[$]LINENO/=
429 ' <$as_myself |
430 sed '
431 s/[$]LINENO.*/&-/
432 t lineno
433 b
434 :lineno
435 N
436 :loop
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438 t loop
439 s/-\n.*//
440 ' >$as_me.lineno &&
441 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
447 . "./$as_me.lineno"
448 # Exit status is that of the last command.
449 exit
450}
451
452ECHO_C= ECHO_N= ECHO_T=
453case `echo -n x` in #(((((
454-n*)
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
457 xy) ECHO_C='\c';;
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
459 ECHO_T=' ';;
460 esac;;
461*)
462 ECHO_N='-n';;
463esac
464
465rm -f conf$$ conf$$.exe conf$$.file
466if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
468else
469 rm -f conf$$.dir
470 mkdir conf$$.dir 2>/dev/null
471fi
472if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
474 as_ln_s='ln -s'
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480 as_ln_s='cp -p'
481 elif ln conf$$.file conf$$ 2>/dev/null; then
482 as_ln_s=ln
483 else
484 as_ln_s='cp -p'
485 fi
486else
487 as_ln_s='cp -p'
488fi
489rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490rmdir conf$$.dir 2>/dev/null
491
492if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
494else
495 test -d ./-p && rmdir ./-p
496 as_mkdir_p=false
497fi
498
499if test -x / >/dev/null 2>&1; then
500 as_test_x='test -x'
501else
502 if ls -dL / >/dev/null 2>&1; then
503 as_ls_L_option=L
504 else
505 as_ls_L_option=
506 fi
507 as_test_x='
508 eval sh -c '\''
509 if test -d "$1"; then
510 test -d "$1/.";
511 else
512 case $1 in #(
513 -*)set "./$1";;
514 esac;
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
517 '\'' sh
518 '
519fi
520as_executable_p=$as_test_x
521
522# Sed expression to map a string onto a valid CPP name.
523as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524
525# Sed expression to map a string onto a valid variable name.
526as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
528
529test -n "$DJDIR" || exec 7<&0 </dev/null
530exec 6>&1
531
532# Name of the host.
533# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534# so uname gets run too.
535ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536
537#
538# Initializations.
539#
540ac_default_prefix=/usr/local
541ac_clean_files=
542ac_config_libobj_dir=.
543LIBOBJS=
544cross_compiling=no
545subdirs=
546MFLAGS=
547MAKEFLAGS=
548
549# Identity of this package.
550PACKAGE_NAME='kexec-tools'
551PACKAGE_TARNAME='kexec-tools'
552PACKAGE_VERSION='2.0.2'
553PACKAGE_STRING='kexec-tools 2.0.2'
554PACKAGE_BUGREPORT=''
555PACKAGE_URL=''
556
557# Factoring default headers for most tests.
558ac_includes_default="\
559#include <stdio.h>
560#ifdef HAVE_SYS_TYPES_H
561# include <sys/types.h>
562#endif
563#ifdef HAVE_SYS_STAT_H
564# include <sys/stat.h>
565#endif
566#ifdef STDC_HEADERS
567# include <stdlib.h>
568# include <stddef.h>
569#else
570# ifdef HAVE_STDLIB_H
571# include <stdlib.h>
572# endif
573#endif
574#ifdef HAVE_STRING_H
575# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
576# include <memory.h>
577# endif
578# include <string.h>
579#endif
580#ifdef HAVE_STRINGS_H
581# include <strings.h>
582#endif
583#ifdef HAVE_INTTYPES_H
584# include <inttypes.h>
585#endif
586#ifdef HAVE_STDINT_H
587# include <stdint.h>
588#endif
589#ifdef HAVE_UNISTD_H
590# include <unistd.h>
591#endif"
592
593ac_subst_vars='LTLIBOBJS
594LIBOBJS
595INSTALL
596OBJDIR
597ARCH
598ASFLAGS
599TARGET_CFLAGS
600BUILD_CFLAGS
601EGREP
602GREP
603DIRNAME
604XARGS
605FIND
606SED
607RPMBUILD
608TAR
609LN
610CP
611RM
612MKDIR
613INSTALL_DATA
614INSTALL_SCRIPT
615INSTALL_PROGRAM
616PURGATORY_EXTRA_CFLAGS
617TARGET_LD
618TARGET_CC
619AR
620OBJCOPY
621AS
622LD
623CPP
624BUILD_CC
625OBJEXT
626EXEEXT
627ac_ct_CC
628CPPFLAGS
629LDFLAGS
630CFLAGS
631CC
632target_os
633target_vendor
634target_cpu
635target
636host_os
637host_vendor
638host_cpu
639host
640build_os
641build_vendor
642build_cpu
643build
644target_alias
645host_alias
646build_alias
647LIBS
648ECHO_T
649ECHO_N
650ECHO_C
651DEFS
652mandir
653localedir
654libdir
655psdir
656pdfdir
657dvidir
658htmldir
659infodir
660docdir
661oldincludedir
662includedir
663localstatedir
664sharedstatedir
665sysconfdir
666datadir
667datarootdir
668libexecdir
669sbindir
670bindir
671program_transform_name
672prefix
673exec_prefix
674PACKAGE_URL
675PACKAGE_BUGREPORT
676PACKAGE_STRING
677PACKAGE_VERSION
678PACKAGE_TARNAME
679PACKAGE_NAME
680PATH_SEPARATOR
681SHELL'
682ac_subst_files=''
683ac_user_opts='
684enable_option_checking
685with_objdir
686with_gamecube
687with_zlib
688with_lzma
689with_xen
690with_oldtoolchain
691'
692 ac_precious_vars='build_alias
693host_alias
694target_alias
695CC
696CFLAGS
697LDFLAGS
698LIBS
699CPPFLAGS
700CPP'
701
702
703# Initialize some variables set by options.
704ac_init_help=
705ac_init_version=false
706ac_unrecognized_opts=
707ac_unrecognized_sep=
708# The variables have the same names as the options, with
709# dashes changed to underlines.
710cache_file=/dev/null
711exec_prefix=NONE
712no_create=
713no_recursion=
714prefix=NONE
715program_prefix=NONE
716program_suffix=NONE
717program_transform_name=s,x,x,
718silent=
719site=
720srcdir=
721verbose=
722x_includes=NONE
723x_libraries=NONE
724
725# Installation directory options.
726# These are left unexpanded so users can "make install exec_prefix=/foo"
727# and all the variables that are supposed to be based on exec_prefix
728# by default will actually change.
729# Use braces instead of parens because sh, perl, etc. also accept them.
730# (The list follows the same order as the GNU Coding Standards.)
731bindir='${exec_prefix}/bin'
732sbindir='${exec_prefix}/sbin'
733libexecdir='${exec_prefix}/libexec'
734datarootdir='${prefix}/share'
735datadir='${datarootdir}'
736sysconfdir='${prefix}/etc'
737sharedstatedir='${prefix}/com'
738localstatedir='${prefix}/var'
739includedir='${prefix}/include'
740oldincludedir='/usr/include'
741docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
742infodir='${datarootdir}/info'
743htmldir='${docdir}'
744dvidir='${docdir}'
745pdfdir='${docdir}'
746psdir='${docdir}'
747libdir='${exec_prefix}/lib'
748localedir='${datarootdir}/locale'
749mandir='${datarootdir}/man'
750
751ac_prev=
752ac_dashdash=
753for ac_option
754do
755 # If the previous option needs an argument, assign it.
756 if test -n "$ac_prev"; then
757 eval $ac_prev=\$ac_option
758 ac_prev=
759 continue
760 fi
761
762 case $ac_option in
763 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
764 *) ac_optarg=yes ;;
765 esac
766
767 # Accept the important Cygnus configure options, so we can diagnose typos.
768
769 case $ac_dashdash$ac_option in
770 --)
771 ac_dashdash=yes ;;
772
773 -bindir | --bindir | --bindi | --bind | --bin | --bi)
774 ac_prev=bindir ;;
775 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
776 bindir=$ac_optarg ;;
777
778 -build | --build | --buil | --bui | --bu)
779 ac_prev=build_alias ;;
780 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
781 build_alias=$ac_optarg ;;
782
783 -cache-file | --cache-file | --cache-fil | --cache-fi \
784 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
785 ac_prev=cache_file ;;
786 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
787 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
788 cache_file=$ac_optarg ;;
789
790 --config-cache | -C)
791 cache_file=config.cache ;;
792
793 -datadir | --datadir | --datadi | --datad)
794 ac_prev=datadir ;;
795 -datadir=* | --datadir=* | --datadi=* | --datad=*)
796 datadir=$ac_optarg ;;
797
798 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
799 | --dataroo | --dataro | --datar)
800 ac_prev=datarootdir ;;
801 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
802 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
803 datarootdir=$ac_optarg ;;
804
805 -disable-* | --disable-*)
806 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
807 # Reject names that are not valid shell variable names.
808 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
809 as_fn_error "invalid feature name: $ac_useropt"
810 ac_useropt_orig=$ac_useropt
811 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
812 case $ac_user_opts in
813 *"
814"enable_$ac_useropt"
815"*) ;;
816 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
817 ac_unrecognized_sep=', ';;
818 esac
819 eval enable_$ac_useropt=no ;;
820
821 -docdir | --docdir | --docdi | --doc | --do)
822 ac_prev=docdir ;;
823 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
824 docdir=$ac_optarg ;;
825
826 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
827 ac_prev=dvidir ;;
828 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
829 dvidir=$ac_optarg ;;
830
831 -enable-* | --enable-*)
832 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
833 # Reject names that are not valid shell variable names.
834 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
835 as_fn_error "invalid feature name: $ac_useropt"
836 ac_useropt_orig=$ac_useropt
837 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
838 case $ac_user_opts in
839 *"
840"enable_$ac_useropt"
841"*) ;;
842 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
843 ac_unrecognized_sep=', ';;
844 esac
845 eval enable_$ac_useropt=\$ac_optarg ;;
846
847 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
848 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
849 | --exec | --exe | --ex)
850 ac_prev=exec_prefix ;;
851 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
852 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
853 | --exec=* | --exe=* | --ex=*)
854 exec_prefix=$ac_optarg ;;
855
856 -gas | --gas | --ga | --g)
857 # Obsolete; use --with-gas.
858 with_gas=yes ;;
859
860 -help | --help | --hel | --he | -h)
861 ac_init_help=long ;;
862 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
863 ac_init_help=recursive ;;
864 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
865 ac_init_help=short ;;
866
867 -host | --host | --hos | --ho)
868 ac_prev=host_alias ;;
869 -host=* | --host=* | --hos=* | --ho=*)
870 host_alias=$ac_optarg ;;
871
872 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
873 ac_prev=htmldir ;;
874 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
875 | --ht=*)
876 htmldir=$ac_optarg ;;
877
878 -includedir | --includedir | --includedi | --included | --include \
879 | --includ | --inclu | --incl | --inc)
880 ac_prev=includedir ;;
881 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
882 | --includ=* | --inclu=* | --incl=* | --inc=*)
883 includedir=$ac_optarg ;;
884
885 -infodir | --infodir | --infodi | --infod | --info | --inf)
886 ac_prev=infodir ;;
887 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
888 infodir=$ac_optarg ;;
889
890 -libdir | --libdir | --libdi | --libd)
891 ac_prev=libdir ;;
892 -libdir=* | --libdir=* | --libdi=* | --libd=*)
893 libdir=$ac_optarg ;;
894
895 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
896 | --libexe | --libex | --libe)
897 ac_prev=libexecdir ;;
898 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
899 | --libexe=* | --libex=* | --libe=*)
900 libexecdir=$ac_optarg ;;
901
902 -localedir | --localedir | --localedi | --localed | --locale)
903 ac_prev=localedir ;;
904 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
905 localedir=$ac_optarg ;;
906
907 -localstatedir | --localstatedir | --localstatedi | --localstated \
908 | --localstate | --localstat | --localsta | --localst | --locals)
909 ac_prev=localstatedir ;;
910 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
911 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
912 localstatedir=$ac_optarg ;;
913
914 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
915 ac_prev=mandir ;;
916 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
917 mandir=$ac_optarg ;;
918
919 -nfp | --nfp | --nf)
920 # Obsolete; use --without-fp.
921 with_fp=no ;;
922
923 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
924 | --no-cr | --no-c | -n)
925 no_create=yes ;;
926
927 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
928 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
929 no_recursion=yes ;;
930
931 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
932 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
933 | --oldin | --oldi | --old | --ol | --o)
934 ac_prev=oldincludedir ;;
935 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
936 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
937 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
938 oldincludedir=$ac_optarg ;;
939
940 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
941 ac_prev=prefix ;;
942 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
943 prefix=$ac_optarg ;;
944
945 -program-prefix | --program-prefix | --program-prefi | --program-pref \
946 | --program-pre | --program-pr | --program-p)
947 ac_prev=program_prefix ;;
948 -program-prefix=* | --program-prefix=* | --program-prefi=* \
949 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
950 program_prefix=$ac_optarg ;;
951
952 -program-suffix | --program-suffix | --program-suffi | --program-suff \
953 | --program-suf | --program-su | --program-s)
954 ac_prev=program_suffix ;;
955 -program-suffix=* | --program-suffix=* | --program-suffi=* \
956 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
957 program_suffix=$ac_optarg ;;
958
959 -program-transform-name | --program-transform-name \
960 | --program-transform-nam | --program-transform-na \
961 | --program-transform-n | --program-transform- \
962 | --program-transform | --program-transfor \
963 | --program-transfo | --program-transf \
964 | --program-trans | --program-tran \
965 | --progr-tra | --program-tr | --program-t)
966 ac_prev=program_transform_name ;;
967 -program-transform-name=* | --program-transform-name=* \
968 | --program-transform-nam=* | --program-transform-na=* \
969 | --program-transform-n=* | --program-transform-=* \
970 | --program-transform=* | --program-transfor=* \
971 | --program-transfo=* | --program-transf=* \
972 | --program-trans=* | --program-tran=* \
973 | --progr-tra=* | --program-tr=* | --program-t=*)
974 program_transform_name=$ac_optarg ;;
975
976 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
977 ac_prev=pdfdir ;;
978 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
979 pdfdir=$ac_optarg ;;
980
981 -psdir | --psdir | --psdi | --psd | --ps)
982 ac_prev=psdir ;;
983 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
984 psdir=$ac_optarg ;;
985
986 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
987 | -silent | --silent | --silen | --sile | --sil)
988 silent=yes ;;
989
990 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
991 ac_prev=sbindir ;;
992 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
993 | --sbi=* | --sb=*)
994 sbindir=$ac_optarg ;;
995
996 -sharedstatedir | --sharedstatedir | --sharedstatedi \
997 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
998 | --sharedst | --shareds | --shared | --share | --shar \
999 | --sha | --sh)
1000 ac_prev=sharedstatedir ;;
1001 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1002 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1003 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1004 | --sha=* | --sh=*)
1005 sharedstatedir=$ac_optarg ;;
1006
1007 -site | --site | --sit)
1008 ac_prev=site ;;
1009 -site=* | --site=* | --sit=*)
1010 site=$ac_optarg ;;
1011
1012 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1013 ac_prev=srcdir ;;
1014 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1015 srcdir=$ac_optarg ;;
1016
1017 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1018 | --syscon | --sysco | --sysc | --sys | --sy)
1019 ac_prev=sysconfdir ;;
1020 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1021 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1022 sysconfdir=$ac_optarg ;;
1023
1024 -target | --target | --targe | --targ | --tar | --ta | --t)
1025 ac_prev=target_alias ;;
1026 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1027 target_alias=$ac_optarg ;;
1028
1029 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1030 verbose=yes ;;
1031
1032 -version | --version | --versio | --versi | --vers | -V)
1033 ac_init_version=: ;;
1034
1035 -with-* | --with-*)
1036 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1037 # Reject names that are not valid shell variable names.
1038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1039 as_fn_error "invalid package name: $ac_useropt"
1040 ac_useropt_orig=$ac_useropt
1041 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1042 case $ac_user_opts in
1043 *"
1044"with_$ac_useropt"
1045"*) ;;
1046 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1047 ac_unrecognized_sep=', ';;
1048 esac
1049 eval with_$ac_useropt=\$ac_optarg ;;
1050
1051 -without-* | --without-*)
1052 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1053 # Reject names that are not valid shell variable names.
1054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1055 as_fn_error "invalid package name: $ac_useropt"
1056 ac_useropt_orig=$ac_useropt
1057 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1058 case $ac_user_opts in
1059 *"
1060"with_$ac_useropt"
1061"*) ;;
1062 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1063 ac_unrecognized_sep=', ';;
1064 esac
1065 eval with_$ac_useropt=no ;;
1066
1067 --x)
1068 # Obsolete; use --with-x.
1069 with_x=yes ;;
1070
1071 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1072 | --x-incl | --x-inc | --x-in | --x-i)
1073 ac_prev=x_includes ;;
1074 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1075 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1076 x_includes=$ac_optarg ;;
1077
1078 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1079 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1080 ac_prev=x_libraries ;;
1081 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1082 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1083 x_libraries=$ac_optarg ;;
1084
1085 -*) as_fn_error "unrecognized option: \`$ac_option'
1086Try \`$0 --help' for more information."
1087 ;;
1088
1089 *=*)
1090 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1091 # Reject names that are not valid shell variable names.
1092 case $ac_envvar in #(
1093 '' | [0-9]* | *[!_$as_cr_alnum]* )
1094 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1095 esac
1096 eval $ac_envvar=\$ac_optarg
1097 export $ac_envvar ;;
1098
1099 *)
1100 # FIXME: should be removed in autoconf 3.0.
1101 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1102 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1103 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1104 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1105 ;;
1106
1107 esac
1108done
1109
1110if test -n "$ac_prev"; then
1111 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1112 as_fn_error "missing argument to $ac_option"
1113fi
1114
1115if test -n "$ac_unrecognized_opts"; then
1116 case $enable_option_checking in
1117 no) ;;
1118 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1119 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1120 esac
1121fi
1122
1123# Check all directory arguments for consistency.
1124for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1125 datadir sysconfdir sharedstatedir localstatedir includedir \
1126 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1127 libdir localedir mandir
1128do
1129 eval ac_val=\$$ac_var
1130 # Remove trailing slashes.
1131 case $ac_val in
1132 */ )
1133 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1134 eval $ac_var=\$ac_val;;
1135 esac
1136 # Be sure to have absolute directory names.
1137 case $ac_val in
1138 [\\/$]* | ?:[\\/]* ) continue;;
1139 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1140 esac
1141 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1142done
1143
1144# There might be people who depend on the old broken behavior: `$host'
1145# used to hold the argument of --host etc.
1146# FIXME: To remove some day.
1147build=$build_alias
1148host=$host_alias
1149target=$target_alias
1150
1151# FIXME: To remove some day.
1152if test "x$host_alias" != x; then
1153 if test "x$build_alias" = x; then
1154 cross_compiling=maybe
1155 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1156 If a cross compiler is detected then cross compile mode will be used." >&2
1157 elif test "x$build_alias" != "x$host_alias"; then
1158 cross_compiling=yes
1159 fi
1160fi
1161
1162ac_tool_prefix=
1163test -n "$host_alias" && ac_tool_prefix=$host_alias-
1164
1165test "$silent" = yes && exec 6>/dev/null
1166
1167
1168ac_pwd=`pwd` && test -n "$ac_pwd" &&
1169ac_ls_di=`ls -di .` &&
1170ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1171 as_fn_error "working directory cannot be determined"
1172test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1173 as_fn_error "pwd does not report name of working directory"
1174
1175
1176# Find the source files, if location was not specified.
1177if test -z "$srcdir"; then
1178 ac_srcdir_defaulted=yes
1179 # Try the directory containing this script, then the parent directory.
1180 ac_confdir=`$as_dirname -- "$as_myself" ||
1181$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1182 X"$as_myself" : 'X\(//\)[^/]' \| \
1183 X"$as_myself" : 'X\(//\)$' \| \
1184 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1185$as_echo X"$as_myself" |
1186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1187 s//\1/
1188 q
1189 }
1190 /^X\(\/\/\)[^/].*/{
1191 s//\1/
1192 q
1193 }
1194 /^X\(\/\/\)$/{
1195 s//\1/
1196 q
1197 }
1198 /^X\(\/\).*/{
1199 s//\1/
1200 q
1201 }
1202 s/.*/./; q'`
1203 srcdir=$ac_confdir
1204 if test ! -r "$srcdir/$ac_unique_file"; then
1205 srcdir=..
1206 fi
1207else
1208 ac_srcdir_defaulted=no
1209fi
1210if test ! -r "$srcdir/$ac_unique_file"; then
1211 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1212 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1213fi
1214ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1215ac_abs_confdir=`(
1216 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1217 pwd)`
1218# When building in place, set srcdir=.
1219if test "$ac_abs_confdir" = "$ac_pwd"; then
1220 srcdir=.
1221fi
1222# Remove unnecessary trailing slashes from srcdir.
1223# Double slashes in file names in object file debugging info
1224# mess up M-x gdb in Emacs.
1225case $srcdir in
1226*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1227esac
1228for ac_var in $ac_precious_vars; do
1229 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1230 eval ac_env_${ac_var}_value=\$${ac_var}
1231 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1232 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1233done
1234
1235#
1236# Report the --help message.
1237#
1238if test "$ac_init_help" = "long"; then
1239 # Omit some internal or obsolete options to make the list less imposing.
1240 # This message is too long to be a string in the A/UX 3.1 sh.
1241 cat <<_ACEOF
1242\`configure' configures kexec-tools 2.0.2 to adapt to many kinds of systems.
1243
1244Usage: $0 [OPTION]... [VAR=VALUE]...
1245
1246To assign environment variables (e.g., CC, CFLAGS...), specify them as
1247VAR=VALUE. See below for descriptions of some of the useful variables.
1248
1249Defaults for the options are specified in brackets.
1250
1251Configuration:
1252 -h, --help display this help and exit
1253 --help=short display options specific to this package
1254 --help=recursive display the short help of all the included packages
1255 -V, --version display version information and exit
1256 -q, --quiet, --silent do not print \`checking...' messages
1257 --cache-file=FILE cache test results in FILE [disabled]
1258 -C, --config-cache alias for \`--cache-file=config.cache'
1259 -n, --no-create do not create output files
1260 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1261
1262Installation directories:
1263 --prefix=PREFIX install architecture-independent files in PREFIX
1264 [$ac_default_prefix]
1265 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1266 [PREFIX]
1267
1268By default, \`make install' will install all the files in
1269\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1270an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1271for instance \`--prefix=\$HOME'.
1272
1273For better control, use the options below.
1274
1275Fine tuning of the installation directories:
1276 --bindir=DIR user executables [EPREFIX/bin]
1277 --sbindir=DIR system admin executables [EPREFIX/sbin]
1278 --libexecdir=DIR program executables [EPREFIX/libexec]
1279 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1280 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1281 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1282 --libdir=DIR object code libraries [EPREFIX/lib]
1283 --includedir=DIR C header files [PREFIX/include]
1284 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1285 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1286 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1287 --infodir=DIR info documentation [DATAROOTDIR/info]
1288 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1289 --mandir=DIR man documentation [DATAROOTDIR/man]
1290 --docdir=DIR documentation root [DATAROOTDIR/doc/kexec-tools]
1291 --htmldir=DIR html documentation [DOCDIR]
1292 --dvidir=DIR dvi documentation [DOCDIR]
1293 --pdfdir=DIR pdf documentation [DOCDIR]
1294 --psdir=DIR ps documentation [DOCDIR]
1295_ACEOF
1296
1297 cat <<\_ACEOF
1298
1299System types:
1300 --build=BUILD configure for building on BUILD [guessed]
1301 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1302 --target=TARGET configure for building compilers for TARGET [HOST]
1303_ACEOF
1304fi
1305
1306if test -n "$ac_init_help"; then
1307 case $ac_init_help in
1308 short | recursive ) echo "Configuration of kexec-tools 2.0.2:";;
1309 esac
1310 cat <<\_ACEOF
1311
1312Optional Packages:
1313 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1314 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1315 --with-objdir=<dir> select directory for object files
1316 --with-gamecube enable gamecube support
1317 --without-zlib disable zlib support
1318 --without-lzma disable lzma support
1319 --without-xen disable extended xen support
1320 --with-oldtoolchain compile without crt.S required for new toolchains
1321
1322Some influential environment variables:
1323 CC C compiler command
1324 CFLAGS C compiler flags
1325 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1326 nonstandard directory <lib dir>
1327 LIBS libraries to pass to the linker, e.g. -l<library>
1328 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1329 you have headers in a nonstandard directory <include dir>
1330 CPP C preprocessor
1331
1332Use these variables to override the choices made by `configure' or to help
1333it to find libraries and programs with nonstandard names/locations.
1334
1335Report bugs to the package provider.
1336_ACEOF
1337ac_status=$?
1338fi
1339
1340if test "$ac_init_help" = "recursive"; then
1341 # If there are subdirs, report their specific --help.
1342 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1343 test -d "$ac_dir" ||
1344 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1345 continue
1346 ac_builddir=.
1347
1348case "$ac_dir" in
1349.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1350*)
1351 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1352 # A ".." for each directory in $ac_dir_suffix.
1353 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1354 case $ac_top_builddir_sub in
1355 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1356 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1357 esac ;;
1358esac
1359ac_abs_top_builddir=$ac_pwd
1360ac_abs_builddir=$ac_pwd$ac_dir_suffix
1361# for backward compatibility:
1362ac_top_builddir=$ac_top_build_prefix
1363
1364case $srcdir in
1365 .) # We are building in place.
1366 ac_srcdir=.
1367 ac_top_srcdir=$ac_top_builddir_sub
1368 ac_abs_top_srcdir=$ac_pwd ;;
1369 [\\/]* | ?:[\\/]* ) # Absolute name.
1370 ac_srcdir=$srcdir$ac_dir_suffix;
1371 ac_top_srcdir=$srcdir
1372 ac_abs_top_srcdir=$srcdir ;;
1373 *) # Relative name.
1374 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1375 ac_top_srcdir=$ac_top_build_prefix$srcdir
1376 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1377esac
1378ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1379
1380 cd "$ac_dir" || { ac_status=$?; continue; }
1381 # Check for guested configure.
1382 if test -f "$ac_srcdir/configure.gnu"; then
1383 echo &&
1384 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1385 elif test -f "$ac_srcdir/configure"; then
1386 echo &&
1387 $SHELL "$ac_srcdir/configure" --help=recursive
1388 else
1389 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1390 fi || ac_status=$?
1391 cd "$ac_pwd" || { ac_status=$?; break; }
1392 done
1393fi
1394
1395test -n "$ac_init_help" && exit $ac_status
1396if $ac_init_version; then
1397 cat <<\_ACEOF
1398kexec-tools configure 2.0.2
1399generated by GNU Autoconf 2.65
1400
1401Copyright (C) 2009 Free Software Foundation, Inc.
1402This configure script is free software; the Free Software Foundation
1403gives unlimited permission to copy, distribute and modify it.
1404_ACEOF
1405 exit
1406fi
1407
1408## ------------------------ ##
1409## Autoconf initialization. ##
1410## ------------------------ ##
1411
1412# ac_fn_c_try_compile LINENO
1413# --------------------------
1414# Try to compile conftest.$ac_ext, and return whether this succeeded.
1415ac_fn_c_try_compile ()
1416{
1417 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1418 rm -f conftest.$ac_objext
1419 if { { ac_try="$ac_compile"
1420case "(($ac_try" in
1421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1422 *) ac_try_echo=$ac_try;;
1423esac
1424eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1425$as_echo "$ac_try_echo"; } >&5
1426 (eval "$ac_compile") 2>conftest.err
1427 ac_status=$?
1428 if test -s conftest.err; then
1429 grep -v '^ *+' conftest.err >conftest.er1
1430 cat conftest.er1 >&5
1431 mv -f conftest.er1 conftest.err
1432 fi
1433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1434 test $ac_status = 0; } && {
1435 test -z "$ac_c_werror_flag" ||
1436 test ! -s conftest.err
1437 } && test -s conftest.$ac_objext; then :
1438 ac_retval=0
1439else
1440 $as_echo "$as_me: failed program was:" >&5
1441sed 's/^/| /' conftest.$ac_ext >&5
1442
1443 ac_retval=1
1444fi
1445 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1446 as_fn_set_status $ac_retval
1447
1448} # ac_fn_c_try_compile
1449
1450# ac_fn_c_try_cpp LINENO
1451# ----------------------
1452# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1453ac_fn_c_try_cpp ()
1454{
1455 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1456 if { { ac_try="$ac_cpp conftest.$ac_ext"
1457case "(($ac_try" in
1458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1459 *) ac_try_echo=$ac_try;;
1460esac
1461eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1462$as_echo "$ac_try_echo"; } >&5
1463 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1464 ac_status=$?
1465 if test -s conftest.err; then
1466 grep -v '^ *+' conftest.err >conftest.er1
1467 cat conftest.er1 >&5
1468 mv -f conftest.er1 conftest.err
1469 fi
1470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1471 test $ac_status = 0; } >/dev/null && {
1472 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1473 test ! -s conftest.err
1474 }; then :
1475 ac_retval=0
1476else
1477 $as_echo "$as_me: failed program was:" >&5
1478sed 's/^/| /' conftest.$ac_ext >&5
1479
1480 ac_retval=1
1481fi
1482 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1483 as_fn_set_status $ac_retval
1484
1485} # ac_fn_c_try_cpp
1486
1487# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1488# -------------------------------------------------------
1489# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1490# the include files in INCLUDES and setting the cache variable VAR
1491# accordingly.
1492ac_fn_c_check_header_mongrel ()
1493{
1494 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1495 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1497$as_echo_n "checking for $2... " >&6; }
1498if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1499 $as_echo_n "(cached) " >&6
1500fi
1501eval ac_res=\$$3
1502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1503$as_echo "$ac_res" >&6; }
1504else
1505 # Is the header compilable?
1506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1507$as_echo_n "checking $2 usability... " >&6; }
1508cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1509/* end confdefs.h. */
1510$4
1511#include <$2>
1512_ACEOF
1513if ac_fn_c_try_compile "$LINENO"; then :
1514 ac_header_compiler=yes
1515else
1516 ac_header_compiler=no
1517fi
1518rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1520$as_echo "$ac_header_compiler" >&6; }
1521
1522# Is the header present?
1523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1524$as_echo_n "checking $2 presence... " >&6; }
1525cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1526/* end confdefs.h. */
1527#include <$2>
1528_ACEOF
1529if ac_fn_c_try_cpp "$LINENO"; then :
1530 ac_header_preproc=yes
1531else
1532 ac_header_preproc=no
1533fi
1534rm -f conftest.err conftest.$ac_ext
1535{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1536$as_echo "$ac_header_preproc" >&6; }
1537
1538# So? What about this header?
1539case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1540 yes:no: )
1541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1542$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1544$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1545 ;;
1546 no:yes:* )
1547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1548$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1550$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1552$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1554$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1556$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1557 ;;
1558esac
1559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1560$as_echo_n "checking for $2... " >&6; }
1561if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1562 $as_echo_n "(cached) " >&6
1563else
1564 eval "$3=\$ac_header_compiler"
1565fi
1566eval ac_res=\$$3
1567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1568$as_echo "$ac_res" >&6; }
1569fi
1570 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1571
1572} # ac_fn_c_check_header_mongrel
1573
1574# ac_fn_c_try_run LINENO
1575# ----------------------
1576# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1577# that executables *can* be run.
1578ac_fn_c_try_run ()
1579{
1580 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1581 if { { ac_try="$ac_link"
1582case "(($ac_try" in
1583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1584 *) ac_try_echo=$ac_try;;
1585esac
1586eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1587$as_echo "$ac_try_echo"; } >&5
1588 (eval "$ac_link") 2>&5
1589 ac_status=$?
1590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1591 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1592 { { case "(($ac_try" in
1593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1594 *) ac_try_echo=$ac_try;;
1595esac
1596eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1597$as_echo "$ac_try_echo"; } >&5
1598 (eval "$ac_try") 2>&5
1599 ac_status=$?
1600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1601 test $ac_status = 0; }; }; then :
1602 ac_retval=0
1603else
1604 $as_echo "$as_me: program exited with status $ac_status" >&5
1605 $as_echo "$as_me: failed program was:" >&5
1606sed 's/^/| /' conftest.$ac_ext >&5
1607
1608 ac_retval=$ac_status
1609fi
1610 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1611 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1612 as_fn_set_status $ac_retval
1613
1614} # ac_fn_c_try_run
1615
1616# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1617# -------------------------------------------------------
1618# Tests whether HEADER exists and can be compiled using the include files in
1619# INCLUDES, setting the cache variable VAR accordingly.
1620ac_fn_c_check_header_compile ()
1621{
1622 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1624$as_echo_n "checking for $2... " >&6; }
1625if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1626 $as_echo_n "(cached) " >&6
1627else
1628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1629/* end confdefs.h. */
1630$4
1631#include <$2>
1632_ACEOF
1633if ac_fn_c_try_compile "$LINENO"; then :
1634 eval "$3=yes"
1635else
1636 eval "$3=no"
1637fi
1638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1639fi
1640eval ac_res=\$$3
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1642$as_echo "$ac_res" >&6; }
1643 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1644
1645} # ac_fn_c_check_header_compile
1646cat >config.log <<_ACEOF
1647This file contains any messages produced by compilers while
1648running configure, to aid debugging if configure makes a mistake.
1649
1650It was created by kexec-tools $as_me 2.0.2, which was
1651generated by GNU Autoconf 2.65. Invocation command line was
1652
1653 $ $0 $@
1654
1655_ACEOF
1656exec 5>>config.log
1657{
1658cat <<_ASUNAME
1659## --------- ##
1660## Platform. ##
1661## --------- ##
1662
1663hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1664uname -m = `(uname -m) 2>/dev/null || echo unknown`
1665uname -r = `(uname -r) 2>/dev/null || echo unknown`
1666uname -s = `(uname -s) 2>/dev/null || echo unknown`
1667uname -v = `(uname -v) 2>/dev/null || echo unknown`
1668
1669/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1670/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1671
1672/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1673/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1674/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1675/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1676/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1677/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1678/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1679
1680_ASUNAME
1681
1682as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1683for as_dir in $PATH
1684do
1685 IFS=$as_save_IFS
1686 test -z "$as_dir" && as_dir=.
1687 $as_echo "PATH: $as_dir"
1688 done
1689IFS=$as_save_IFS
1690
1691} >&5
1692
1693cat >&5 <<_ACEOF
1694
1695
1696## ----------- ##
1697## Core tests. ##
1698## ----------- ##
1699
1700_ACEOF
1701
1702
1703# Keep a trace of the command line.
1704# Strip out --no-create and --no-recursion so they do not pile up.
1705# Strip out --silent because we don't want to record it for future runs.
1706# Also quote any args containing shell meta-characters.
1707# Make two passes to allow for proper duplicate-argument suppression.
1708ac_configure_args=
1709ac_configure_args0=
1710ac_configure_args1=
1711ac_must_keep_next=false
1712for ac_pass in 1 2
1713do
1714 for ac_arg
1715 do
1716 case $ac_arg in
1717 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1718 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1719 | -silent | --silent | --silen | --sile | --sil)
1720 continue ;;
1721 *\'*)
1722 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1723 esac
1724 case $ac_pass in
1725 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1726 2)
1727 as_fn_append ac_configure_args1 " '$ac_arg'"
1728 if test $ac_must_keep_next = true; then
1729 ac_must_keep_next=false # Got value, back to normal.
1730 else
1731 case $ac_arg in
1732 *=* | --config-cache | -C | -disable-* | --disable-* \
1733 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1734 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1735 | -with-* | --with-* | -without-* | --without-* | --x)
1736 case "$ac_configure_args0 " in
1737 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1738 esac
1739 ;;
1740 -* ) ac_must_keep_next=true ;;
1741 esac
1742 fi
1743 as_fn_append ac_configure_args " '$ac_arg'"
1744 ;;
1745 esac
1746 done
1747done
1748{ ac_configure_args0=; unset ac_configure_args0;}
1749{ ac_configure_args1=; unset ac_configure_args1;}
1750
1751# When interrupted or exit'd, cleanup temporary files, and complete
1752# config.log. We remove comments because anyway the quotes in there
1753# would cause problems or look ugly.
1754# WARNING: Use '\'' to represent an apostrophe within the trap.
1755# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1756trap 'exit_status=$?
1757 # Save into config.log some information that might help in debugging.
1758 {
1759 echo
1760
1761 cat <<\_ASBOX
1762## ---------------- ##
1763## Cache variables. ##
1764## ---------------- ##
1765_ASBOX
1766 echo
1767 # The following way of writing the cache mishandles newlines in values,
1768(
1769 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1770 eval ac_val=\$$ac_var
1771 case $ac_val in #(
1772 *${as_nl}*)
1773 case $ac_var in #(
1774 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1775$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1776 esac
1777 case $ac_var in #(
1778 _ | IFS | as_nl) ;; #(
1779 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1780 *) { eval $ac_var=; unset $ac_var;} ;;
1781 esac ;;
1782 esac
1783 done
1784 (set) 2>&1 |
1785 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1786 *${as_nl}ac_space=\ *)
1787 sed -n \
1788 "s/'\''/'\''\\\\'\'''\''/g;
1789 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1790 ;; #(
1791 *)
1792 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1793 ;;
1794 esac |
1795 sort
1796)
1797 echo
1798
1799 cat <<\_ASBOX
1800## ----------------- ##
1801## Output variables. ##
1802## ----------------- ##
1803_ASBOX
1804 echo
1805 for ac_var in $ac_subst_vars
1806 do
1807 eval ac_val=\$$ac_var
1808 case $ac_val in
1809 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1810 esac
1811 $as_echo "$ac_var='\''$ac_val'\''"
1812 done | sort
1813 echo
1814
1815 if test -n "$ac_subst_files"; then
1816 cat <<\_ASBOX
1817## ------------------- ##
1818## File substitutions. ##
1819## ------------------- ##
1820_ASBOX
1821 echo
1822 for ac_var in $ac_subst_files
1823 do
1824 eval ac_val=\$$ac_var
1825 case $ac_val in
1826 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1827 esac
1828 $as_echo "$ac_var='\''$ac_val'\''"
1829 done | sort
1830 echo
1831 fi
1832
1833 if test -s confdefs.h; then
1834 cat <<\_ASBOX
1835## ----------- ##
1836## confdefs.h. ##
1837## ----------- ##
1838_ASBOX
1839 echo
1840 cat confdefs.h
1841 echo
1842 fi
1843 test "$ac_signal" != 0 &&
1844 $as_echo "$as_me: caught signal $ac_signal"
1845 $as_echo "$as_me: exit $exit_status"
1846 } >&5
1847 rm -f core *.core core.conftest.* &&
1848 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1849 exit $exit_status
1850' 0
1851for ac_signal in 1 2 13 15; do
1852 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1853done
1854ac_signal=0
1855
1856# confdefs.h avoids OS command line length limits that DEFS can exceed.
1857rm -f -r conftest* confdefs.h
1858
1859$as_echo "/* confdefs.h */" > confdefs.h
1860
1861# Predefined preprocessor variables.
1862
1863cat >>confdefs.h <<_ACEOF
1864#define PACKAGE_NAME "$PACKAGE_NAME"
1865_ACEOF
1866
1867cat >>confdefs.h <<_ACEOF
1868#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1869_ACEOF
1870
1871cat >>confdefs.h <<_ACEOF
1872#define PACKAGE_VERSION "$PACKAGE_VERSION"
1873_ACEOF
1874
1875cat >>confdefs.h <<_ACEOF
1876#define PACKAGE_STRING "$PACKAGE_STRING"
1877_ACEOF
1878
1879cat >>confdefs.h <<_ACEOF
1880#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1881_ACEOF
1882
1883cat >>confdefs.h <<_ACEOF
1884#define PACKAGE_URL "$PACKAGE_URL"
1885_ACEOF
1886
1887
1888# Let the site file select an alternate cache file if it wants to.
1889# Prefer an explicitly selected file to automatically selected ones.
1890ac_site_file1=NONE
1891ac_site_file2=NONE
1892if test -n "$CONFIG_SITE"; then
1893 ac_site_file1=$CONFIG_SITE
1894elif test "x$prefix" != xNONE; then
1895 ac_site_file1=$prefix/share/config.site
1896 ac_site_file2=$prefix/etc/config.site
1897else
1898 ac_site_file1=$ac_default_prefix/share/config.site
1899 ac_site_file2=$ac_default_prefix/etc/config.site
1900fi
1901for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1902do
1903 test "x$ac_site_file" = xNONE && continue
1904 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1906$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1907 sed 's/^/| /' "$ac_site_file" >&5
1908 . "$ac_site_file"
1909 fi
1910done
1911
1912if test -r "$cache_file"; then
1913 # Some versions of bash will fail to source /dev/null (special files
1914 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1915 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1917$as_echo "$as_me: loading cache $cache_file" >&6;}
1918 case $cache_file in
1919 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1920 *) . "./$cache_file";;
1921 esac
1922 fi
1923else
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1925$as_echo "$as_me: creating cache $cache_file" >&6;}
1926 >$cache_file
1927fi
1928
1929# Check that the precious variables saved in the cache have kept the same
1930# value.
1931ac_cache_corrupted=false
1932for ac_var in $ac_precious_vars; do
1933 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1934 eval ac_new_set=\$ac_env_${ac_var}_set
1935 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1936 eval ac_new_val=\$ac_env_${ac_var}_value
1937 case $ac_old_set,$ac_new_set in
1938 set,)
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1940$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1941 ac_cache_corrupted=: ;;
1942 ,set)
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1944$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1945 ac_cache_corrupted=: ;;
1946 ,);;
1947 *)
1948 if test "x$ac_old_val" != "x$ac_new_val"; then
1949 # differences in whitespace do not lead to failure.
1950 ac_old_val_w=`echo x $ac_old_val`
1951 ac_new_val_w=`echo x $ac_new_val`
1952 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1954$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1955 ac_cache_corrupted=:
1956 else
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1958$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1959 eval $ac_var=\$ac_old_val
1960 fi
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1962$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1964$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1965 fi;;
1966 esac
1967 # Pass precious variables to config.status.
1968 if test "$ac_new_set" = set; then
1969 case $ac_new_val in
1970 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1971 *) ac_arg=$ac_var=$ac_new_val ;;
1972 esac
1973 case " $ac_configure_args " in
1974 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1975 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1976 esac
1977 fi
1978done
1979if $ac_cache_corrupted; then
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1981$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1983$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1984 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1985fi
1986## -------------------- ##
1987## Main body of script. ##
1988## -------------------- ##
1989
1990ac_ext=c
1991ac_cpp='$CPP $CPPFLAGS'
1992ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1993ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1994ac_compiler_gnu=$ac_cv_c_compiler_gnu
1995
1996
1997ac_aux_dir=
1998for ac_dir in ./config "$srcdir"/./config; do
1999 for ac_t in install-sh install.sh shtool; do
2000 if test -f "$ac_dir/$ac_t"; then
2001 ac_aux_dir=$ac_dir
2002 ac_install_sh="$ac_aux_dir/$ac_t -c"
2003 break 2
2004 fi
2005 done
2006done
2007if test -z "$ac_aux_dir"; then
2008 as_fn_error "cannot find install-sh, install.sh, or shtool in ./config \"$srcdir\"/./config" "$LINENO" 5
2009fi
2010
2011# These three variables are undocumented and unsupported,
2012# and are intended to be withdrawn in a future Autoconf release.
2013# They can cause serious problems if a builder's source tree is in a directory
2014# whose full name contains unusual characters.
2015ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2016ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2017ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2018
2019
2020ac_config_headers="$ac_config_headers include/config.h"
2021
2022ac_ext=c
2023ac_cpp='$CPP $CPPFLAGS'
2024ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2025ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2026ac_compiler_gnu=$ac_cv_c_compiler_gnu
2027
2028
2029
2030cat >>confdefs.h <<_ACEOF
2031#define PACKAGE_DATE "`date '+%d %B %Y'`"
2032_ACEOF
2033
2034
2035
2036# Make sure we can run config.sub.
2037$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2038 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2039
2040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2041$as_echo_n "checking build system type... " >&6; }
2042if test "${ac_cv_build+set}" = set; then :
2043 $as_echo_n "(cached) " >&6
2044else
2045 ac_build_alias=$build_alias
2046test "x$ac_build_alias" = x &&
2047 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2048test "x$ac_build_alias" = x &&
2049 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2050ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2051 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2052
2053fi
2054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2055$as_echo "$ac_cv_build" >&6; }
2056case $ac_cv_build in
2057*-*-*) ;;
2058*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2059esac
2060build=$ac_cv_build
2061ac_save_IFS=$IFS; IFS='-'
2062set x $ac_cv_build
2063shift
2064build_cpu=$1
2065build_vendor=$2
2066shift; shift
2067# Remember, the first character of IFS is used to create $*,
2068# except with old shells:
2069build_os=$*
2070IFS=$ac_save_IFS
2071case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2072
2073
2074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2075$as_echo_n "checking host system type... " >&6; }
2076if test "${ac_cv_host+set}" = set; then :
2077 $as_echo_n "(cached) " >&6
2078else
2079 if test "x$host_alias" = x; then
2080 ac_cv_host=$ac_cv_build
2081else
2082 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2083 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2084fi
2085
2086fi
2087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2088$as_echo "$ac_cv_host" >&6; }
2089case $ac_cv_host in
2090*-*-*) ;;
2091*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2092esac
2093host=$ac_cv_host
2094ac_save_IFS=$IFS; IFS='-'
2095set x $ac_cv_host
2096shift
2097host_cpu=$1
2098host_vendor=$2
2099shift; shift
2100# Remember, the first character of IFS is used to create $*,
2101# except with old shells:
2102host_os=$*
2103IFS=$ac_save_IFS
2104case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2105
2106
2107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2108$as_echo_n "checking target system type... " >&6; }
2109if test "${ac_cv_target+set}" = set; then :
2110 $as_echo_n "(cached) " >&6
2111else
2112 if test "x$target_alias" = x; then
2113 ac_cv_target=$ac_cv_host
2114else
2115 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2116 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2117fi
2118
2119fi
2120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2121$as_echo "$ac_cv_target" >&6; }
2122case $ac_cv_target in
2123*-*-*) ;;
2124*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2125esac
2126target=$ac_cv_target
2127ac_save_IFS=$IFS; IFS='-'
2128set x $ac_cv_target
2129shift
2130target_cpu=$1
2131target_vendor=$2
2132shift; shift
2133# Remember, the first character of IFS is used to create $*,
2134# except with old shells:
2135target_os=$*
2136IFS=$ac_save_IFS
2137case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2138
2139
2140# The aliases save the names the user supplied, while $host etc.
2141# will get canonicalized.
2142test -n "$target_alias" &&
2143 test "$program_prefix$program_suffix$program_transform_name" = \
2144 NONENONEs,x,x, &&
2145 program_prefix=${target_alias}-
2146
2147case $target_cpu in
2148 i?86 )
2149 ARCH="i386"
2150 ;;
2151 powerpc )
2152 ARCH="ppc"
2153 ;;
2154 powerpc64 )
2155 ARCH="ppc64"
2156 ;;
2157 arm* )
2158 ARCH="arm"
2159 ;;
2160 s390x|s390 )
2161 ARCH="s390"
2162 ;;
2163 sh4|sh4a|sh3|sh )
2164 ARCH="sh"
2165 ;;
2166 mips* )
2167 ARCH="mips"
2168 ;;
2169 cris|crisv32 )
2170 ARCH="cris"
2171 ;;
2172 ia64|x86_64|alpha )
2173 ARCH="$target_cpu"
2174 ;;
2175 * )
2176 as_fn_error "unsupported architecture $target_cpu" "$LINENO" 5
2177 ;;
2178esac
2179
2180
2181OBJDIR=`pwd`/objdir
2182if test "${host_alias}" ; then
2183 OBJDIR="$OBJDIR-${host_alias}"
2184fi
2185
2186if test "x$BUILD_CFLAGS" = "x" ; then
2187 BUILD_CFLAGS='-O2 -Wall'
2188fi
2189
2190if test "x$TARGET_CFLAGS" = "x" ; then
2191 TARGET_CFLAGS='-O2 -Wall'
2192fi
2193
2194
2195# Check whether --with-objdir was given.
2196if test "${with_objdir+set}" = set; then :
2197 withval=$with_objdir; OBJDIR="$withval"
2198else
2199 OBJDIR="$OBJDIR"
2200fi
2201
2202
2203
2204# Check whether --with-gamecube was given.
2205if test "${with_gamecube+set}" = set; then :
2206 withval=$with_gamecube;
2207$as_echo "#define WITH_GAMECUBE 1" >>confdefs.h
2208
2209fi
2210
2211
2212
2213# Check whether --with-zlib was given.
2214if test "${with_zlib+set}" = set; then :
2215 withval=$with_zlib; with_zlib="$withval"
2216else
2217 with_zlib=yes
2218fi
2219
2220
2221
2222# Check whether --with-lzma was given.
2223if test "${with_lzma+set}" = set; then :
2224 withval=$with_lzma; with_lzma="$withval"
2225else
2226 with_lzma=yes
2227fi
2228
2229
2230
2231# Check whether --with-xen was given.
2232if test "${with_xen+set}" = set; then :
2233 withval=$with_xen; with_xen="$withval"
2234else
2235 with_xen=yes
2236fi
2237
2238
2239
2240ac_ext=c
2241ac_cpp='$CPP $CPPFLAGS'
2242ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2243ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2244ac_compiler_gnu=$ac_cv_c_compiler_gnu
2245if test -n "$ac_tool_prefix"; then
2246 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2247set dummy ${ac_tool_prefix}gcc; ac_word=$2
2248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2249$as_echo_n "checking for $ac_word... " >&6; }
2250if test "${ac_cv_prog_CC+set}" = set; then :
2251 $as_echo_n "(cached) " >&6
2252else
2253 if test -n "$CC"; then
2254 ac_cv_prog_CC="$CC" # Let the user override the test.
2255else
2256as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2257for as_dir in $PATH
2258do
2259 IFS=$as_save_IFS
2260 test -z "$as_dir" && as_dir=.
2261 for ac_exec_ext in '' $ac_executable_extensions; do
2262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2263 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2265 break 2
2266 fi
2267done
2268 done
2269IFS=$as_save_IFS
2270
2271fi
2272fi
2273CC=$ac_cv_prog_CC
2274if test -n "$CC"; then
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2276$as_echo "$CC" >&6; }
2277else
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2279$as_echo "no" >&6; }
2280fi
2281
2282
2283fi
2284if test -z "$ac_cv_prog_CC"; then
2285 ac_ct_CC=$CC
2286 # Extract the first word of "gcc", so it can be a program name with args.
2287set dummy gcc; ac_word=$2
2288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2289$as_echo_n "checking for $ac_word... " >&6; }
2290if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2291 $as_echo_n "(cached) " >&6
2292else
2293 if test -n "$ac_ct_CC"; then
2294 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2295else
2296as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2297for as_dir in $PATH
2298do
2299 IFS=$as_save_IFS
2300 test -z "$as_dir" && as_dir=.
2301 for ac_exec_ext in '' $ac_executable_extensions; do
2302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2303 ac_cv_prog_ac_ct_CC="gcc"
2304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2305 break 2
2306 fi
2307done
2308 done
2309IFS=$as_save_IFS
2310
2311fi
2312fi
2313ac_ct_CC=$ac_cv_prog_ac_ct_CC
2314if test -n "$ac_ct_CC"; then
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2316$as_echo "$ac_ct_CC" >&6; }
2317else
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2319$as_echo "no" >&6; }
2320fi
2321
2322 if test "x$ac_ct_CC" = x; then
2323 CC=""
2324 else
2325 case $cross_compiling:$ac_tool_warned in
2326yes:)
2327{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2328$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2329ac_tool_warned=yes ;;
2330esac
2331 CC=$ac_ct_CC
2332 fi
2333else
2334 CC="$ac_cv_prog_CC"
2335fi
2336
2337if test -z "$CC"; then
2338 if test -n "$ac_tool_prefix"; then
2339 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2340set dummy ${ac_tool_prefix}cc; ac_word=$2
2341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2342$as_echo_n "checking for $ac_word... " >&6; }
2343if test "${ac_cv_prog_CC+set}" = set; then :
2344 $as_echo_n "(cached) " >&6
2345else
2346 if test -n "$CC"; then
2347 ac_cv_prog_CC="$CC" # Let the user override the test.
2348else
2349as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2350for as_dir in $PATH
2351do
2352 IFS=$as_save_IFS
2353 test -z "$as_dir" && as_dir=.
2354 for ac_exec_ext in '' $ac_executable_extensions; do
2355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2356 ac_cv_prog_CC="${ac_tool_prefix}cc"
2357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2358 break 2
2359 fi
2360done
2361 done
2362IFS=$as_save_IFS
2363
2364fi
2365fi
2366CC=$ac_cv_prog_CC
2367if test -n "$CC"; then
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2369$as_echo "$CC" >&6; }
2370else
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2372$as_echo "no" >&6; }
2373fi
2374
2375
2376 fi
2377fi
2378if test -z "$CC"; then
2379 # Extract the first word of "cc", so it can be a program name with args.
2380set dummy cc; ac_word=$2
2381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2382$as_echo_n "checking for $ac_word... " >&6; }
2383if test "${ac_cv_prog_CC+set}" = set; then :
2384 $as_echo_n "(cached) " >&6
2385else
2386 if test -n "$CC"; then
2387 ac_cv_prog_CC="$CC" # Let the user override the test.
2388else
2389 ac_prog_rejected=no
2390as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2391for as_dir in $PATH
2392do
2393 IFS=$as_save_IFS
2394 test -z "$as_dir" && as_dir=.
2395 for ac_exec_ext in '' $ac_executable_extensions; do
2396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2397 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2398 ac_prog_rejected=yes
2399 continue
2400 fi
2401 ac_cv_prog_CC="cc"
2402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2403 break 2
2404 fi
2405done
2406 done
2407IFS=$as_save_IFS
2408
2409if test $ac_prog_rejected = yes; then
2410 # We found a bogon in the path, so make sure we never use it.
2411 set dummy $ac_cv_prog_CC
2412 shift
2413 if test $# != 0; then
2414 # We chose a different compiler from the bogus one.
2415 # However, it has the same basename, so the bogon will be chosen
2416 # first if we set CC to just the basename; use the full file name.
2417 shift
2418 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2419 fi
2420fi
2421fi
2422fi
2423CC=$ac_cv_prog_CC
2424if test -n "$CC"; then
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2426$as_echo "$CC" >&6; }
2427else
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2429$as_echo "no" >&6; }
2430fi
2431
2432
2433fi
2434if test -z "$CC"; then
2435 if test -n "$ac_tool_prefix"; then
2436 for ac_prog in cl.exe
2437 do
2438 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2439set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2441$as_echo_n "checking for $ac_word... " >&6; }
2442if test "${ac_cv_prog_CC+set}" = set; then :
2443 $as_echo_n "(cached) " >&6
2444else
2445 if test -n "$CC"; then
2446 ac_cv_prog_CC="$CC" # Let the user override the test.
2447else
2448as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2449for as_dir in $PATH
2450do
2451 IFS=$as_save_IFS
2452 test -z "$as_dir" && as_dir=.
2453 for ac_exec_ext in '' $ac_executable_extensions; do
2454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2455 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2457 break 2
2458 fi
2459done
2460 done
2461IFS=$as_save_IFS
2462
2463fi
2464fi
2465CC=$ac_cv_prog_CC
2466if test -n "$CC"; then
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2468$as_echo "$CC" >&6; }
2469else
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2471$as_echo "no" >&6; }
2472fi
2473
2474
2475 test -n "$CC" && break
2476 done
2477fi
2478if test -z "$CC"; then
2479 ac_ct_CC=$CC
2480 for ac_prog in cl.exe
2481do
2482 # Extract the first word of "$ac_prog", so it can be a program name with args.
2483set dummy $ac_prog; ac_word=$2
2484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2485$as_echo_n "checking for $ac_word... " >&6; }
2486if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2487 $as_echo_n "(cached) " >&6
2488else
2489 if test -n "$ac_ct_CC"; then
2490 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2491else
2492as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2493for as_dir in $PATH
2494do
2495 IFS=$as_save_IFS
2496 test -z "$as_dir" && as_dir=.
2497 for ac_exec_ext in '' $ac_executable_extensions; do
2498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2499 ac_cv_prog_ac_ct_CC="$ac_prog"
2500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2501 break 2
2502 fi
2503done
2504 done
2505IFS=$as_save_IFS
2506
2507fi
2508fi
2509ac_ct_CC=$ac_cv_prog_ac_ct_CC
2510if test -n "$ac_ct_CC"; then
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2512$as_echo "$ac_ct_CC" >&6; }
2513else
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2515$as_echo "no" >&6; }
2516fi
2517
2518
2519 test -n "$ac_ct_CC" && break
2520done
2521
2522 if test "x$ac_ct_CC" = x; then
2523 CC=""
2524 else
2525 case $cross_compiling:$ac_tool_warned in
2526yes:)
2527{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2528$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2529ac_tool_warned=yes ;;
2530esac
2531 CC=$ac_ct_CC
2532 fi
2533fi
2534
2535fi
2536
2537
2538test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2539$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2540as_fn_error "no acceptable C compiler found in \$PATH
2541See \`config.log' for more details." "$LINENO" 5; }
2542
2543# Provide some information about the compiler.
2544$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2545set X $ac_compile
2546ac_compiler=$2
2547for ac_option in --version -v -V -qversion; do
2548 { { ac_try="$ac_compiler $ac_option >&5"
2549case "(($ac_try" in
2550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2551 *) ac_try_echo=$ac_try;;
2552esac
2553eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2554$as_echo "$ac_try_echo"; } >&5
2555 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2556 ac_status=$?
2557 if test -s conftest.err; then
2558 sed '10a\
2559... rest of stderr output deleted ...
2560 10q' conftest.err >conftest.er1
2561 cat conftest.er1 >&5
2562 fi
2563 rm -f conftest.er1 conftest.err
2564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2565 test $ac_status = 0; }
2566done
2567
2568cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2569/* end confdefs.h. */
2570
2571int
2572main ()
2573{
2574
2575 ;
2576 return 0;
2577}
2578_ACEOF
2579ac_clean_files_save=$ac_clean_files
2580ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2581# Try to create an executable without -o first, disregard a.out.
2582# It will help us diagnose broken compilers, and finding out an intuition
2583# of exeext.
2584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2585$as_echo_n "checking whether the C compiler works... " >&6; }
2586ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2587
2588# The possible output files:
2589ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2590
2591ac_rmfiles=
2592for ac_file in $ac_files
2593do
2594 case $ac_file in
2595 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2596 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2597 esac
2598done
2599rm -f $ac_rmfiles
2600
2601if { { ac_try="$ac_link_default"
2602case "(($ac_try" in
2603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2604 *) ac_try_echo=$ac_try;;
2605esac
2606eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2607$as_echo "$ac_try_echo"; } >&5
2608 (eval "$ac_link_default") 2>&5
2609 ac_status=$?
2610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2611 test $ac_status = 0; }; then :
2612 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2613# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2614# in a Makefile. We should not override ac_cv_exeext if it was cached,
2615# so that the user can short-circuit this test for compilers unknown to
2616# Autoconf.
2617for ac_file in $ac_files ''
2618do
2619 test -f "$ac_file" || continue
2620 case $ac_file in
2621 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2622 ;;
2623 [ab].out )
2624 # We found the default executable, but exeext='' is most
2625 # certainly right.
2626 break;;
2627 *.* )
2628 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2629 then :; else
2630 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2631 fi
2632 # We set ac_cv_exeext here because the later test for it is not
2633 # safe: cross compilers may not add the suffix if given an `-o'
2634 # argument, so we may need to know it at that point already.
2635 # Even if this section looks crufty: it has the advantage of
2636 # actually working.
2637 break;;
2638 * )
2639 break;;
2640 esac
2641done
2642test "$ac_cv_exeext" = no && ac_cv_exeext=
2643
2644else
2645 ac_file=''
2646fi
2647if test -z "$ac_file"; then :
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2649$as_echo "no" >&6; }
2650$as_echo "$as_me: failed program was:" >&5
2651sed 's/^/| /' conftest.$ac_ext >&5
2652
2653{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2654$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2655{ as_fn_set_status 77
2656as_fn_error "C compiler cannot create executables
2657See \`config.log' for more details." "$LINENO" 5; }; }
2658else
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2660$as_echo "yes" >&6; }
2661fi
2662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2663$as_echo_n "checking for C compiler default output file name... " >&6; }
2664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2665$as_echo "$ac_file" >&6; }
2666ac_exeext=$ac_cv_exeext
2667
2668rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2669ac_clean_files=$ac_clean_files_save
2670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2671$as_echo_n "checking for suffix of executables... " >&6; }
2672if { { ac_try="$ac_link"
2673case "(($ac_try" in
2674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2675 *) ac_try_echo=$ac_try;;
2676esac
2677eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2678$as_echo "$ac_try_echo"; } >&5
2679 (eval "$ac_link") 2>&5
2680 ac_status=$?
2681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2682 test $ac_status = 0; }; then :
2683 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2684# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2685# work properly (i.e., refer to `conftest.exe'), while it won't with
2686# `rm'.
2687for ac_file in conftest.exe conftest conftest.*; do
2688 test -f "$ac_file" || continue
2689 case $ac_file in
2690 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2691 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2692 break;;
2693 * ) break;;
2694 esac
2695done
2696else
2697 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2698$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2699as_fn_error "cannot compute suffix of executables: cannot compile and link
2700See \`config.log' for more details." "$LINENO" 5; }
2701fi
2702rm -f conftest conftest$ac_cv_exeext
2703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2704$as_echo "$ac_cv_exeext" >&6; }
2705
2706rm -f conftest.$ac_ext
2707EXEEXT=$ac_cv_exeext
2708ac_exeext=$EXEEXT
2709cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2710/* end confdefs.h. */
2711#include <stdio.h>
2712int
2713main ()
2714{
2715FILE *f = fopen ("conftest.out", "w");
2716 return ferror (f) || fclose (f) != 0;
2717
2718 ;
2719 return 0;
2720}
2721_ACEOF
2722ac_clean_files="$ac_clean_files conftest.out"
2723# Check that the compiler produces executables we can run. If not, either
2724# the compiler is broken, or we cross compile.
2725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2726$as_echo_n "checking whether we are cross compiling... " >&6; }
2727if test "$cross_compiling" != yes; then
2728 { { ac_try="$ac_link"
2729case "(($ac_try" in
2730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2731 *) ac_try_echo=$ac_try;;
2732esac
2733eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2734$as_echo "$ac_try_echo"; } >&5
2735 (eval "$ac_link") 2>&5
2736 ac_status=$?
2737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2738 test $ac_status = 0; }
2739 if { ac_try='./conftest$ac_cv_exeext'
2740 { { case "(($ac_try" in
2741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2742 *) ac_try_echo=$ac_try;;
2743esac
2744eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2745$as_echo "$ac_try_echo"; } >&5
2746 (eval "$ac_try") 2>&5
2747 ac_status=$?
2748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2749 test $ac_status = 0; }; }; then
2750 cross_compiling=no
2751 else
2752 if test "$cross_compiling" = maybe; then
2753 cross_compiling=yes
2754 else
2755 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2756$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2757as_fn_error "cannot run C compiled programs.
2758If you meant to cross compile, use \`--host'.
2759See \`config.log' for more details." "$LINENO" 5; }
2760 fi
2761 fi
2762fi
2763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2764$as_echo "$cross_compiling" >&6; }
2765
2766rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2767ac_clean_files=$ac_clean_files_save
2768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2769$as_echo_n "checking for suffix of object files... " >&6; }
2770if test "${ac_cv_objext+set}" = set; then :
2771 $as_echo_n "(cached) " >&6
2772else
2773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2774/* end confdefs.h. */
2775
2776int
2777main ()
2778{
2779
2780 ;
2781 return 0;
2782}
2783_ACEOF
2784rm -f conftest.o conftest.obj
2785if { { ac_try="$ac_compile"
2786case "(($ac_try" in
2787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2788 *) ac_try_echo=$ac_try;;
2789esac
2790eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2791$as_echo "$ac_try_echo"; } >&5
2792 (eval "$ac_compile") 2>&5
2793 ac_status=$?
2794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2795 test $ac_status = 0; }; then :
2796 for ac_file in conftest.o conftest.obj conftest.*; do
2797 test -f "$ac_file" || continue;
2798 case $ac_file in
2799 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2800 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2801 break;;
2802 esac
2803done
2804else
2805 $as_echo "$as_me: failed program was:" >&5
2806sed 's/^/| /' conftest.$ac_ext >&5
2807
2808{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2809$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2810as_fn_error "cannot compute suffix of object files: cannot compile
2811See \`config.log' for more details." "$LINENO" 5; }
2812fi
2813rm -f conftest.$ac_cv_objext conftest.$ac_ext
2814fi
2815{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2816$as_echo "$ac_cv_objext" >&6; }
2817OBJEXT=$ac_cv_objext
2818ac_objext=$OBJEXT
2819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2820$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2821if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2822 $as_echo_n "(cached) " >&6
2823else
2824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2825/* end confdefs.h. */
2826
2827int
2828main ()
2829{
2830#ifndef __GNUC__
2831 choke me
2832#endif
2833
2834 ;
2835 return 0;
2836}
2837_ACEOF
2838if ac_fn_c_try_compile "$LINENO"; then :
2839 ac_compiler_gnu=yes
2840else
2841 ac_compiler_gnu=no
2842fi
2843rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2844ac_cv_c_compiler_gnu=$ac_compiler_gnu
2845
2846fi
2847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2848$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2849if test $ac_compiler_gnu = yes; then
2850 GCC=yes
2851else
2852 GCC=
2853fi
2854ac_test_CFLAGS=${CFLAGS+set}
2855ac_save_CFLAGS=$CFLAGS
2856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2857$as_echo_n "checking whether $CC accepts -g... " >&6; }
2858if test "${ac_cv_prog_cc_g+set}" = set; then :
2859 $as_echo_n "(cached) " >&6
2860else
2861 ac_save_c_werror_flag=$ac_c_werror_flag
2862 ac_c_werror_flag=yes
2863 ac_cv_prog_cc_g=no
2864 CFLAGS="-g"
2865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2866/* end confdefs.h. */
2867
2868int
2869main ()
2870{
2871
2872 ;
2873 return 0;
2874}
2875_ACEOF
2876if ac_fn_c_try_compile "$LINENO"; then :
2877 ac_cv_prog_cc_g=yes
2878else
2879 CFLAGS=""
2880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2881/* end confdefs.h. */
2882
2883int
2884main ()
2885{
2886
2887 ;
2888 return 0;
2889}
2890_ACEOF
2891if ac_fn_c_try_compile "$LINENO"; then :
2892
2893else
2894 ac_c_werror_flag=$ac_save_c_werror_flag
2895 CFLAGS="-g"
2896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2897/* end confdefs.h. */
2898
2899int
2900main ()
2901{
2902
2903 ;
2904 return 0;
2905}
2906_ACEOF
2907if ac_fn_c_try_compile "$LINENO"; then :
2908 ac_cv_prog_cc_g=yes
2909fi
2910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2911fi
2912rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2913fi
2914rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2915 ac_c_werror_flag=$ac_save_c_werror_flag
2916fi
2917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2918$as_echo "$ac_cv_prog_cc_g" >&6; }
2919if test "$ac_test_CFLAGS" = set; then
2920 CFLAGS=$ac_save_CFLAGS
2921elif test $ac_cv_prog_cc_g = yes; then
2922 if test "$GCC" = yes; then
2923 CFLAGS="-g -O2"
2924 else
2925 CFLAGS="-g"
2926 fi
2927else
2928 if test "$GCC" = yes; then
2929 CFLAGS="-O2"
2930 else
2931 CFLAGS=
2932 fi
2933fi
2934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2935$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2936if test "${ac_cv_prog_cc_c89+set}" = set; then :
2937 $as_echo_n "(cached) " >&6
2938else
2939 ac_cv_prog_cc_c89=no
2940ac_save_CC=$CC
2941cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2942/* end confdefs.h. */
2943#include <stdarg.h>
2944#include <stdio.h>
2945#include <sys/types.h>
2946#include <sys/stat.h>
2947/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2948struct buf { int x; };
2949FILE * (*rcsopen) (struct buf *, struct stat *, int);
2950static char *e (p, i)
2951 char **p;
2952 int i;
2953{
2954 return p[i];
2955}
2956static char *f (char * (*g) (char **, int), char **p, ...)
2957{
2958 char *s;
2959 va_list v;
2960 va_start (v,p);
2961 s = g (p, va_arg (v,int));
2962 va_end (v);
2963 return s;
2964}
2965
2966/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2967 function prototypes and stuff, but not '\xHH' hex character constants.
2968 These don't provoke an error unfortunately, instead are silently treated
2969 as 'x'. The following induces an error, until -std is added to get
2970 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2971 array size at least. It's necessary to write '\x00'==0 to get something
2972 that's true only with -std. */
2973int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2974
2975/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2976 inside strings and character constants. */
2977#define FOO(x) 'x'
2978int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2979
2980int test (int i, double x);
2981struct s1 {int (*f) (int a);};
2982struct s2 {int (*f) (double a);};
2983int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2984int argc;
2985char **argv;
2986int
2987main ()
2988{
2989return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2990 ;
2991 return 0;
2992}
2993_ACEOF
2994for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2995 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2996do
2997 CC="$ac_save_CC $ac_arg"
2998 if ac_fn_c_try_compile "$LINENO"; then :
2999 ac_cv_prog_cc_c89=$ac_arg
3000fi
3001rm -f core conftest.err conftest.$ac_objext
3002 test "x$ac_cv_prog_cc_c89" != "xno" && break
3003done
3004rm -f conftest.$ac_ext
3005CC=$ac_save_CC
3006
3007fi
3008# AC_CACHE_VAL
3009case "x$ac_cv_prog_cc_c89" in
3010 x)
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3012$as_echo "none needed" >&6; } ;;
3013 xno)
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3015$as_echo "unsupported" >&6; } ;;
3016 *)
3017 CC="$CC $ac_cv_prog_cc_c89"
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3019$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3020esac
3021if test "x$ac_cv_prog_cc_c89" != xno; then :
3022
3023fi
3024
3025ac_ext=c
3026ac_cpp='$CPP $CPPFLAGS'
3027ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3028ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3029ac_compiler_gnu=$ac_cv_c_compiler_gnu
3030
3031
3032if test "${build}" != "${host}" ; then
3033 for ac_prog in ${build_alias}-gcc ${build}-gcc gcc
3034do
3035 # Extract the first word of "$ac_prog", so it can be a program name with args.
3036set dummy $ac_prog; ac_word=$2
3037{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3038$as_echo_n "checking for $ac_word... " >&6; }
3039if test "${ac_cv_prog_BUILD_CC+set}" = set; then :
3040 $as_echo_n "(cached) " >&6
3041else
3042 if test -n "$BUILD_CC"; then
3043 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
3044else
3045as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3046for as_dir in $PATH
3047do
3048 IFS=$as_save_IFS
3049 test -z "$as_dir" && as_dir=.
3050 for ac_exec_ext in '' $ac_executable_extensions; do
3051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3052 ac_cv_prog_BUILD_CC="$ac_prog"
3053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3054 break 2
3055 fi
3056done
3057 done
3058IFS=$as_save_IFS
3059
3060fi
3061fi
3062BUILD_CC=$ac_cv_prog_BUILD_CC
3063if test -n "$BUILD_CC"; then
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
3065$as_echo "$BUILD_CC" >&6; }
3066else
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3068$as_echo "no" >&6; }
3069fi
3070
3071
3072 test -n "$BUILD_CC" && break
3073done
3074
3075else
3076 BUILD_CC="$CC"
3077fi
3078
3079ac_ext=c
3080ac_cpp='$CPP $CPPFLAGS'
3081ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3082ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3083ac_compiler_gnu=$ac_cv_c_compiler_gnu
3084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3085$as_echo_n "checking how to run the C preprocessor... " >&6; }
3086# On Suns, sometimes $CPP names a directory.
3087if test -n "$CPP" && test -d "$CPP"; then
3088 CPP=
3089fi
3090if test -z "$CPP"; then
3091 if test "${ac_cv_prog_CPP+set}" = set; then :
3092 $as_echo_n "(cached) " >&6
3093else
3094 # Double quotes because CPP needs to be expanded
3095 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3096 do
3097 ac_preproc_ok=false
3098for ac_c_preproc_warn_flag in '' yes
3099do
3100 # Use a header file that comes with gcc, so configuring glibc
3101 # with a fresh cross-compiler works.
3102 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3103 # <limits.h> exists even on freestanding compilers.
3104 # On the NeXT, cc -E runs the code through the compiler's parser,
3105 # not just through cpp. "Syntax error" is here to catch this case.
3106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3107/* end confdefs.h. */
3108#ifdef __STDC__
3109# include <limits.h>
3110#else
3111# include <assert.h>
3112#endif
3113 Syntax error
3114_ACEOF
3115if ac_fn_c_try_cpp "$LINENO"; then :
3116
3117else
3118 # Broken: fails on valid input.
3119continue
3120fi
3121rm -f conftest.err conftest.$ac_ext
3122
3123 # OK, works on sane cases. Now check whether nonexistent headers
3124 # can be detected and how.
3125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3126/* end confdefs.h. */
3127#include <ac_nonexistent.h>
3128_ACEOF
3129if ac_fn_c_try_cpp "$LINENO"; then :
3130 # Broken: success on invalid input.
3131continue
3132else
3133 # Passes both tests.
3134ac_preproc_ok=:
3135break
3136fi
3137rm -f conftest.err conftest.$ac_ext
3138
3139done
3140# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3141rm -f conftest.err conftest.$ac_ext
3142if $ac_preproc_ok; then :
3143 break
3144fi
3145
3146 done
3147 ac_cv_prog_CPP=$CPP
3148
3149fi
3150 CPP=$ac_cv_prog_CPP
3151else
3152 ac_cv_prog_CPP=$CPP
3153fi
3154{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3155$as_echo "$CPP" >&6; }
3156ac_preproc_ok=false
3157for ac_c_preproc_warn_flag in '' yes
3158do
3159 # Use a header file that comes with gcc, so configuring glibc
3160 # with a fresh cross-compiler works.
3161 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3162 # <limits.h> exists even on freestanding compilers.
3163 # On the NeXT, cc -E runs the code through the compiler's parser,
3164 # not just through cpp. "Syntax error" is here to catch this case.
3165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3166/* end confdefs.h. */
3167#ifdef __STDC__
3168# include <limits.h>
3169#else
3170# include <assert.h>
3171#endif
3172 Syntax error
3173_ACEOF
3174if ac_fn_c_try_cpp "$LINENO"; then :
3175
3176else
3177 # Broken: fails on valid input.
3178continue
3179fi
3180rm -f conftest.err conftest.$ac_ext
3181
3182 # OK, works on sane cases. Now check whether nonexistent headers
3183 # can be detected and how.
3184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3185/* end confdefs.h. */
3186#include <ac_nonexistent.h>
3187_ACEOF
3188if ac_fn_c_try_cpp "$LINENO"; then :
3189 # Broken: success on invalid input.
3190continue
3191else
3192 # Passes both tests.
3193ac_preproc_ok=:
3194break
3195fi
3196rm -f conftest.err conftest.$ac_ext
3197
3198done
3199# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3200rm -f conftest.err conftest.$ac_ext
3201if $ac_preproc_ok; then :
3202
3203else
3204 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3205$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3206as_fn_error "C preprocessor \"$CPP\" fails sanity check
3207See \`config.log' for more details." "$LINENO" 5; }
3208fi
3209
3210ac_ext=c
3211ac_cpp='$CPP $CPPFLAGS'
3212ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3213ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3214ac_compiler_gnu=$ac_cv_c_compiler_gnu
3215
3216if test -n "$ac_tool_prefix"; then
3217 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
3218set dummy ${ac_tool_prefix}ld; ac_word=$2
3219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3220$as_echo_n "checking for $ac_word... " >&6; }
3221if test "${ac_cv_prog_LD+set}" = set; then :
3222 $as_echo_n "(cached) " >&6
3223else
3224 if test -n "$LD"; then
3225 ac_cv_prog_LD="$LD" # Let the user override the test.
3226else
3227as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3228for as_dir in $PATH
3229do
3230 IFS=$as_save_IFS
3231 test -z "$as_dir" && as_dir=.
3232 for ac_exec_ext in '' $ac_executable_extensions; do
3233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3234 ac_cv_prog_LD="${ac_tool_prefix}ld"
3235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3236 break 2
3237 fi
3238done
3239 done
3240IFS=$as_save_IFS
3241
3242fi
3243fi
3244LD=$ac_cv_prog_LD
3245if test -n "$LD"; then
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3247$as_echo "$LD" >&6; }
3248else
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3250$as_echo "no" >&6; }
3251fi
3252
3253
3254fi
3255if test -z "$ac_cv_prog_LD"; then
3256 ac_ct_LD=$LD
3257 # Extract the first word of "ld", so it can be a program name with args.
3258set dummy ld; ac_word=$2
3259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3260$as_echo_n "checking for $ac_word... " >&6; }
3261if test "${ac_cv_prog_ac_ct_LD+set}" = set; then :
3262 $as_echo_n "(cached) " >&6
3263else
3264 if test -n "$ac_ct_LD"; then
3265 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
3266else
3267as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3268for as_dir in $PATH
3269do
3270 IFS=$as_save_IFS
3271 test -z "$as_dir" && as_dir=.
3272 for ac_exec_ext in '' $ac_executable_extensions; do
3273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3274 ac_cv_prog_ac_ct_LD="ld"
3275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3276 break 2
3277 fi
3278done
3279 done
3280IFS=$as_save_IFS
3281
3282fi
3283fi
3284ac_ct_LD=$ac_cv_prog_ac_ct_LD
3285if test -n "$ac_ct_LD"; then
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
3287$as_echo "$ac_ct_LD" >&6; }
3288else
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3290$as_echo "no" >&6; }
3291fi
3292
3293 if test "x$ac_ct_LD" = x; then
3294 LD=""no""
3295 else
3296 case $cross_compiling:$ac_tool_warned in
3297yes:)
3298{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3299$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3300ac_tool_warned=yes ;;
3301esac
3302 LD=$ac_ct_LD
3303 fi
3304else
3305 LD="$ac_cv_prog_LD"
3306fi
3307
3308if test -n "$ac_tool_prefix"; then
3309 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3310set dummy ${ac_tool_prefix}as; ac_word=$2
3311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3312$as_echo_n "checking for $ac_word... " >&6; }
3313if test "${ac_cv_prog_AS+set}" = set; then :
3314 $as_echo_n "(cached) " >&6
3315else
3316 if test -n "$AS"; then
3317 ac_cv_prog_AS="$AS" # Let the user override the test.
3318else
3319as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3320for as_dir in $PATH
3321do
3322 IFS=$as_save_IFS
3323 test -z "$as_dir" && as_dir=.
3324 for ac_exec_ext in '' $ac_executable_extensions; do
3325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3326 ac_cv_prog_AS="${ac_tool_prefix}as"
3327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3328 break 2
3329 fi
3330done
3331 done
3332IFS=$as_save_IFS
3333
3334fi
3335fi
3336AS=$ac_cv_prog_AS
3337if test -n "$AS"; then
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3339$as_echo "$AS" >&6; }
3340else
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3342$as_echo "no" >&6; }
3343fi
3344
3345
3346fi
3347if test -z "$ac_cv_prog_AS"; then
3348 ac_ct_AS=$AS
3349 # Extract the first word of "as", so it can be a program name with args.
3350set dummy as; ac_word=$2
3351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3352$as_echo_n "checking for $ac_word... " >&6; }
3353if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
3354 $as_echo_n "(cached) " >&6
3355else
3356 if test -n "$ac_ct_AS"; then
3357 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3358else
3359as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3360for as_dir in $PATH
3361do
3362 IFS=$as_save_IFS
3363 test -z "$as_dir" && as_dir=.
3364 for ac_exec_ext in '' $ac_executable_extensions; do
3365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3366 ac_cv_prog_ac_ct_AS="as"
3367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3368 break 2
3369 fi
3370done
3371 done
3372IFS=$as_save_IFS
3373
3374fi
3375fi
3376ac_ct_AS=$ac_cv_prog_ac_ct_AS
3377if test -n "$ac_ct_AS"; then
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3379$as_echo "$ac_ct_AS" >&6; }
3380else
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3382$as_echo "no" >&6; }
3383fi
3384
3385 if test "x$ac_ct_AS" = x; then
3386 AS=""no""
3387 else
3388 case $cross_compiling:$ac_tool_warned in
3389yes:)
3390{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3391$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3392ac_tool_warned=yes ;;
3393esac
3394 AS=$ac_ct_AS
3395 fi
3396else
3397 AS="$ac_cv_prog_AS"
3398fi
3399
3400if test -n "$ac_tool_prefix"; then
3401 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
3402set dummy ${ac_tool_prefix}objcopy; ac_word=$2
3403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3404$as_echo_n "checking for $ac_word... " >&6; }
3405if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
3406 $as_echo_n "(cached) " >&6
3407else
3408 if test -n "$OBJCOPY"; then
3409 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
3410else
3411as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3412for as_dir in $PATH
3413do
3414 IFS=$as_save_IFS
3415 test -z "$as_dir" && as_dir=.
3416 for ac_exec_ext in '' $ac_executable_extensions; do
3417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3418 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
3419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3420 break 2
3421 fi
3422done
3423 done
3424IFS=$as_save_IFS
3425
3426fi
3427fi
3428OBJCOPY=$ac_cv_prog_OBJCOPY
3429if test -n "$OBJCOPY"; then
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
3431$as_echo "$OBJCOPY" >&6; }
3432else
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3434$as_echo "no" >&6; }
3435fi
3436
3437
3438fi
3439if test -z "$ac_cv_prog_OBJCOPY"; then
3440 ac_ct_OBJCOPY=$OBJCOPY
3441 # Extract the first word of "objcopy", so it can be a program name with args.
3442set dummy objcopy; ac_word=$2
3443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3444$as_echo_n "checking for $ac_word... " >&6; }
3445if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then :
3446 $as_echo_n "(cached) " >&6
3447else
3448 if test -n "$ac_ct_OBJCOPY"; then
3449 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
3450else
3451as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3452for as_dir in $PATH
3453do
3454 IFS=$as_save_IFS
3455 test -z "$as_dir" && as_dir=.
3456 for ac_exec_ext in '' $ac_executable_extensions; do
3457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3458 ac_cv_prog_ac_ct_OBJCOPY="objcopy"
3459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3460 break 2
3461 fi
3462done
3463 done
3464IFS=$as_save_IFS
3465
3466fi
3467fi
3468ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
3469if test -n "$ac_ct_OBJCOPY"; then
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
3471$as_echo "$ac_ct_OBJCOPY" >&6; }
3472else
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3474$as_echo "no" >&6; }
3475fi
3476
3477 if test "x$ac_ct_OBJCOPY" = x; then
3478 OBJCOPY=""no""
3479 else
3480 case $cross_compiling:$ac_tool_warned in
3481yes:)
3482{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3483$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3484ac_tool_warned=yes ;;
3485esac
3486 OBJCOPY=$ac_ct_OBJCOPY
3487 fi
3488else
3489 OBJCOPY="$ac_cv_prog_OBJCOPY"
3490fi
3491
3492if test -n "$ac_tool_prefix"; then
3493 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3494set dummy ${ac_tool_prefix}ar; ac_word=$2
3495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3496$as_echo_n "checking for $ac_word... " >&6; }
3497if test "${ac_cv_prog_AR+set}" = set; then :
3498 $as_echo_n "(cached) " >&6
3499else
3500 if test -n "$AR"; then
3501 ac_cv_prog_AR="$AR" # Let the user override the test.
3502else
3503as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3504for as_dir in $PATH
3505do
3506 IFS=$as_save_IFS
3507 test -z "$as_dir" && as_dir=.
3508 for ac_exec_ext in '' $ac_executable_extensions; do
3509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3510 ac_cv_prog_AR="${ac_tool_prefix}ar"
3511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3512 break 2
3513 fi
3514done
3515 done
3516IFS=$as_save_IFS
3517
3518fi
3519fi
3520AR=$ac_cv_prog_AR
3521if test -n "$AR"; then
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3523$as_echo "$AR" >&6; }
3524else
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3526$as_echo "no" >&6; }
3527fi
3528
3529
3530fi
3531if test -z "$ac_cv_prog_AR"; then
3532 ac_ct_AR=$AR
3533 # Extract the first word of "ar", so it can be a program name with args.
3534set dummy ar; ac_word=$2
3535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3536$as_echo_n "checking for $ac_word... " >&6; }
3537if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
3538 $as_echo_n "(cached) " >&6
3539else
3540 if test -n "$ac_ct_AR"; then
3541 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3542else
3543as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3544for as_dir in $PATH
3545do
3546 IFS=$as_save_IFS
3547 test -z "$as_dir" && as_dir=.
3548 for ac_exec_ext in '' $ac_executable_extensions; do
3549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3550 ac_cv_prog_ac_ct_AR="ar"
3551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3552 break 2
3553 fi
3554done
3555 done
3556IFS=$as_save_IFS
3557
3558fi
3559fi
3560ac_ct_AR=$ac_cv_prog_ac_ct_AR
3561if test -n "$ac_ct_AR"; then
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3563$as_echo "$ac_ct_AR" >&6; }
3564else
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3566$as_echo "no" >&6; }
3567fi
3568
3569 if test "x$ac_ct_AR" = x; then
3570 AR=""""
3571 else
3572 case $cross_compiling:$ac_tool_warned in
3573yes:)
3574{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3575$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3576ac_tool_warned=yes ;;
3577esac
3578 AR=$ac_ct_AR
3579 fi
3580else
3581 AR="$ac_cv_prog_AR"
3582fi
3583
3584
3585if test "${target}" != "${host}" ; then
3586 for ac_prog in ${target_alias}-gcc ${target}-gcc gcc
3587do
3588 # Extract the first word of "$ac_prog", so it can be a program name with args.
3589set dummy $ac_prog; ac_word=$2
3590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3591$as_echo_n "checking for $ac_word... " >&6; }
3592if test "${ac_cv_prog_TARGET_CC+set}" = set; then :
3593 $as_echo_n "(cached) " >&6
3594else
3595 if test -n "$TARGET_CC"; then
3596 ac_cv_prog_TARGET_CC="$TARGET_CC" # Let the user override the test.
3597else
3598as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3599for as_dir in $PATH
3600do
3601 IFS=$as_save_IFS
3602 test -z "$as_dir" && as_dir=.
3603 for ac_exec_ext in '' $ac_executable_extensions; do
3604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3605 ac_cv_prog_TARGET_CC="$ac_prog"
3606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3607 break 2
3608 fi
3609done
3610 done
3611IFS=$as_save_IFS
3612
3613fi
3614fi
3615TARGET_CC=$ac_cv_prog_TARGET_CC
3616if test -n "$TARGET_CC"; then
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TARGET_CC" >&5
3618$as_echo "$TARGET_CC" >&6; }
3619else
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3621$as_echo "no" >&6; }
3622fi
3623
3624
3625 test -n "$TARGET_CC" && break
3626done
3627
3628 for ac_prog in ${target_alias}-ld ${target}-ld ld
3629do
3630 # Extract the first word of "$ac_prog", so it can be a program name with args.
3631set dummy $ac_prog; ac_word=$2
3632{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3633$as_echo_n "checking for $ac_word... " >&6; }
3634if test "${ac_cv_prog_TARGET_LD+set}" = set; then :
3635 $as_echo_n "(cached) " >&6
3636else
3637 if test -n "$TARGET_LD"; then
3638 ac_cv_prog_TARGET_LD="$TARGET_LD" # Let the user override the test.
3639else
3640as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3641for as_dir in $PATH
3642do
3643 IFS=$as_save_IFS
3644 test -z "$as_dir" && as_dir=.
3645 for ac_exec_ext in '' $ac_executable_extensions; do
3646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3647 ac_cv_prog_TARGET_LD="$ac_prog"
3648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3649 break 2
3650 fi
3651done
3652 done
3653IFS=$as_save_IFS
3654
3655fi
3656fi
3657TARGET_LD=$ac_cv_prog_TARGET_LD
3658if test -n "$TARGET_LD"; then
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TARGET_LD" >&5
3660$as_echo "$TARGET_LD" >&6; }
3661else
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3663$as_echo "no" >&6; }
3664fi
3665
3666
3667 test -n "$TARGET_LD" && break
3668done
3669
3670else
3671 TARGET_CC="$CC"
3672 TARGET_LD="$LD"
3673fi
3674
3675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $TARGET_CC accepts -fno-zero-initialized-in-bss" >&5
3676$as_echo_n "checking whether $TARGET_CC accepts -fno-zero-initialized-in-bss... " >&6; }
3677saved_CFLAGS="$CFLAGS"
3678saved_CC="$CC"
3679CC="$TARGET_CC"
3680CFLAGS="$CFLAGS -fno-zero-initialized-in-bss"
3681
3682cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3683/* end confdefs.h. */
3684
3685int
3686main ()
3687{
3688
3689 ;
3690 return 0;
3691}
3692_ACEOF
3693if ac_fn_c_try_compile "$LINENO"; then :
3694 PURGATORY_EXTRA_CFLAGS="-fno-zero-initialized-in-bss"
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Yes" >&5
3696$as_echo "Yes" >&6; }
3697else
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: No" >&5
3699$as_echo "No" >&6; }
3700fi
3701rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3702CFLAGS="$saved_CFLAGS"
3703CC="$saved_CC"
3704
3705PURGATORY_EXTRA_CFLAGS=$PURGATORY_EXTRA_CFLAGS
3706
3707
3708# Find a good install program. We prefer a C program (faster),
3709# so one script is as good as another. But avoid the broken or
3710# incompatible versions:
3711# SysV /etc/install, /usr/sbin/install
3712# SunOS /usr/etc/install
3713# IRIX /sbin/install
3714# AIX /bin/install
3715# AmigaOS /C/install, which installs bootblocks on floppy discs
3716# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3717# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3718# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3719# OS/2's system install, which has a completely different semantic
3720# ./install, which can be erroneously created by make from ./install.sh.
3721# Reject install programs that cannot install multiple files.
3722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3723$as_echo_n "checking for a BSD-compatible install... " >&6; }
3724if test -z "$INSTALL"; then
3725if test "${ac_cv_path_install+set}" = set; then :
3726 $as_echo_n "(cached) " >&6
3727else
3728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3729for as_dir in $PATH
3730do
3731 IFS=$as_save_IFS
3732 test -z "$as_dir" && as_dir=.
3733 # Account for people who put trailing slashes in PATH elements.
3734case $as_dir/ in #((
3735 ./ | .// | /[cC]/* | \
3736 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3737 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3738 /usr/ucb/* ) ;;
3739 *)
3740 # OSF1 and SCO ODT 3.0 have their own names for install.
3741 # Don't use installbsd from OSF since it installs stuff as root
3742 # by default.
3743 for ac_prog in ginstall scoinst install; do
3744 for ac_exec_ext in '' $ac_executable_extensions; do
3745 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3746 if test $ac_prog = install &&
3747 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3748 # AIX install. It has an incompatible calling convention.
3749 :
3750 elif test $ac_prog = install &&
3751 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3752 # program-specific install script used by HP pwplus--don't use.
3753 :
3754 else
3755 rm -rf conftest.one conftest.two conftest.dir
3756 echo one > conftest.one
3757 echo two > conftest.two
3758 mkdir conftest.dir
3759 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3760 test -s conftest.one && test -s conftest.two &&
3761 test -s conftest.dir/conftest.one &&
3762 test -s conftest.dir/conftest.two
3763 then
3764 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3765 break 3
3766 fi
3767 fi
3768 fi
3769 done
3770 done
3771 ;;
3772esac
3773
3774 done
3775IFS=$as_save_IFS
3776
3777rm -rf conftest.one conftest.two conftest.dir
3778
3779fi
3780 if test "${ac_cv_path_install+set}" = set; then
3781 INSTALL=$ac_cv_path_install
3782 else
3783 # As a last resort, use the slow shell script. Don't cache a
3784 # value for INSTALL within a source directory, because that will
3785 # break other packages using the cache if that directory is
3786 # removed, or if the value is a relative name.
3787 INSTALL=$ac_install_sh
3788 fi
3789fi
3790{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3791$as_echo "$INSTALL" >&6; }
3792
3793# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3794# It thinks the first close brace ends the variable substitution.
3795test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3796
3797test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3798
3799test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3800
3801# Extract the first word of "mkdir", so it can be a program name with args.
3802set dummy mkdir; ac_word=$2
3803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3804$as_echo_n "checking for $ac_word... " >&6; }
3805if test "${ac_cv_prog_MKDIR+set}" = set; then :
3806 $as_echo_n "(cached) " >&6
3807else
3808 if test -n "$MKDIR"; then
3809 ac_cv_prog_MKDIR="$MKDIR" # Let the user override the test.
3810else
3811as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3812for as_dir in $PATH
3813do
3814 IFS=$as_save_IFS
3815 test -z "$as_dir" && as_dir=.
3816 for ac_exec_ext in '' $ac_executable_extensions; do
3817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3818 ac_cv_prog_MKDIR="mkdir"
3819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3820 break 2
3821 fi
3822done
3823 done
3824IFS=$as_save_IFS
3825
3826 test -z "$ac_cv_prog_MKDIR" && ac_cv_prog_MKDIR=""no""
3827fi
3828fi
3829MKDIR=$ac_cv_prog_MKDIR
3830if test -n "$MKDIR"; then
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
3832$as_echo "$MKDIR" >&6; }
3833else
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3835$as_echo "no" >&6; }
3836fi
3837
3838
3839# Extract the first word of "rm", so it can be a program name with args.
3840set dummy rm; ac_word=$2
3841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3842$as_echo_n "checking for $ac_word... " >&6; }
3843if test "${ac_cv_prog_RM+set}" = set; then :
3844 $as_echo_n "(cached) " >&6
3845else
3846 if test -n "$RM"; then
3847 ac_cv_prog_RM="$RM" # Let the user override the test.
3848else
3849as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3850for as_dir in $PATH
3851do
3852 IFS=$as_save_IFS
3853 test -z "$as_dir" && as_dir=.
3854 for ac_exec_ext in '' $ac_executable_extensions; do
3855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3856 ac_cv_prog_RM="rm"
3857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3858 break 2
3859 fi
3860done
3861 done
3862IFS=$as_save_IFS
3863
3864 test -z "$ac_cv_prog_RM" && ac_cv_prog_RM=""no""
3865fi
3866fi
3867RM=$ac_cv_prog_RM
3868if test -n "$RM"; then
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
3870$as_echo "$RM" >&6; }
3871else
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3873$as_echo "no" >&6; }
3874fi
3875
3876
3877# Extract the first word of "cp", so it can be a program name with args.
3878set dummy cp; ac_word=$2
3879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3880$as_echo_n "checking for $ac_word... " >&6; }
3881if test "${ac_cv_prog_CP+set}" = set; then :
3882 $as_echo_n "(cached) " >&6
3883else
3884 if test -n "$CP"; then
3885 ac_cv_prog_CP="$CP" # Let the user override the test.
3886else
3887as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3888for as_dir in $PATH
3889do
3890 IFS=$as_save_IFS
3891 test -z "$as_dir" && as_dir=.
3892 for ac_exec_ext in '' $ac_executable_extensions; do
3893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3894 ac_cv_prog_CP="cp"
3895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3896 break 2
3897 fi
3898done
3899 done
3900IFS=$as_save_IFS
3901
3902 test -z "$ac_cv_prog_CP" && ac_cv_prog_CP=""no""
3903fi
3904fi
3905CP=$ac_cv_prog_CP
3906if test -n "$CP"; then
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
3908$as_echo "$CP" >&6; }
3909else
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3911$as_echo "no" >&6; }
3912fi
3913
3914
3915# Extract the first word of "ln", so it can be a program name with args.
3916set dummy ln; ac_word=$2
3917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3918$as_echo_n "checking for $ac_word... " >&6; }
3919if test "${ac_cv_prog_LN+set}" = set; then :
3920 $as_echo_n "(cached) " >&6
3921else
3922 if test -n "$LN"; then
3923 ac_cv_prog_LN="$LN" # Let the user override the test.
3924else
3925as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3926for as_dir in $PATH
3927do
3928 IFS=$as_save_IFS
3929 test -z "$as_dir" && as_dir=.
3930 for ac_exec_ext in '' $ac_executable_extensions; do
3931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3932 ac_cv_prog_LN="ln"
3933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3934 break 2
3935 fi
3936done
3937 done
3938IFS=$as_save_IFS
3939
3940 test -z "$ac_cv_prog_LN" && ac_cv_prog_LN=""no""
3941fi
3942fi
3943LN=$ac_cv_prog_LN
3944if test -n "$LN"; then
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
3946$as_echo "$LN" >&6; }
3947else
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3949$as_echo "no" >&6; }
3950fi
3951
3952
3953# Extract the first word of "tar", so it can be a program name with args.
3954set dummy tar; ac_word=$2
3955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3956$as_echo_n "checking for $ac_word... " >&6; }
3957if test "${ac_cv_prog_TAR+set}" = set; then :
3958 $as_echo_n "(cached) " >&6
3959else
3960 if test -n "$TAR"; then
3961 ac_cv_prog_TAR="$TAR" # Let the user override the test.
3962else
3963as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3964for as_dir in $PATH
3965do
3966 IFS=$as_save_IFS
3967 test -z "$as_dir" && as_dir=.
3968 for ac_exec_ext in '' $ac_executable_extensions; do
3969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3970 ac_cv_prog_TAR="tar"
3971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3972 break 2
3973 fi
3974done
3975 done
3976IFS=$as_save_IFS
3977
3978 test -z "$ac_cv_prog_TAR" && ac_cv_prog_TAR=""no""
3979fi
3980fi
3981TAR=$ac_cv_prog_TAR
3982if test -n "$TAR"; then
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
3984$as_echo "$TAR" >&6; }
3985else
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3987$as_echo "no" >&6; }
3988fi
3989
3990
3991# Extract the first word of "rpmbuild", so it can be a program name with args.
3992set dummy rpmbuild; ac_word=$2
3993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3994$as_echo_n "checking for $ac_word... " >&6; }
3995if test "${ac_cv_prog_RPMBUILD+set}" = set; then :
3996 $as_echo_n "(cached) " >&6
3997else
3998 if test -n "$RPMBUILD"; then
3999 ac_cv_prog_RPMBUILD="$RPMBUILD" # Let the user override the test.
4000else
4001as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4002for as_dir in $PATH
4003do
4004 IFS=$as_save_IFS
4005 test -z "$as_dir" && as_dir=.
4006 for ac_exec_ext in '' $ac_executable_extensions; do
4007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4008 ac_cv_prog_RPMBUILD="rpmbuild"
4009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4010 break 2
4011 fi
4012done
4013 done
4014IFS=$as_save_IFS
4015
4016 test -z "$ac_cv_prog_RPMBUILD" && ac_cv_prog_RPMBUILD=""no""
4017fi
4018fi
4019RPMBUILD=$ac_cv_prog_RPMBUILD
4020if test -n "$RPMBUILD"; then
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RPMBUILD" >&5
4022$as_echo "$RPMBUILD" >&6; }
4023else
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4025$as_echo "no" >&6; }
4026fi
4027
4028
4029# Extract the first word of "sed", so it can be a program name with args.
4030set dummy sed; ac_word=$2
4031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4032$as_echo_n "checking for $ac_word... " >&6; }
4033if test "${ac_cv_prog_SED+set}" = set; then :
4034 $as_echo_n "(cached) " >&6
4035else
4036 if test -n "$SED"; then
4037 ac_cv_prog_SED="$SED" # Let the user override the test.
4038else
4039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4040for as_dir in $PATH
4041do
4042 IFS=$as_save_IFS
4043 test -z "$as_dir" && as_dir=.
4044 for ac_exec_ext in '' $ac_executable_extensions; do
4045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4046 ac_cv_prog_SED="sed"
4047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4048 break 2
4049 fi
4050done
4051 done
4052IFS=$as_save_IFS
4053
4054 test -z "$ac_cv_prog_SED" && ac_cv_prog_SED=""no""
4055fi
4056fi
4057SED=$ac_cv_prog_SED
4058if test -n "$SED"; then
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
4060$as_echo "$SED" >&6; }
4061else
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4063$as_echo "no" >&6; }
4064fi
4065
4066
4067# Extract the first word of "find", so it can be a program name with args.
4068set dummy find; ac_word=$2
4069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4070$as_echo_n "checking for $ac_word... " >&6; }
4071if test "${ac_cv_prog_FIND+set}" = set; then :
4072 $as_echo_n "(cached) " >&6
4073else
4074 if test -n "$FIND"; then
4075 ac_cv_prog_FIND="$FIND" # Let the user override the test.
4076else
4077as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4078for as_dir in $PATH
4079do
4080 IFS=$as_save_IFS
4081 test -z "$as_dir" && as_dir=.
4082 for ac_exec_ext in '' $ac_executable_extensions; do
4083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4084 ac_cv_prog_FIND="find"
4085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4086 break 2
4087 fi
4088done
4089 done
4090IFS=$as_save_IFS
4091
4092 test -z "$ac_cv_prog_FIND" && ac_cv_prog_FIND=""no""
4093fi
4094fi
4095FIND=$ac_cv_prog_FIND
4096if test -n "$FIND"; then
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FIND" >&5
4098$as_echo "$FIND" >&6; }
4099else
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4101$as_echo "no" >&6; }
4102fi
4103
4104
4105# Extract the first word of "xargs", so it can be a program name with args.
4106set dummy xargs; ac_word=$2
4107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4108$as_echo_n "checking for $ac_word... " >&6; }
4109if test "${ac_cv_prog_XARGS+set}" = set; then :
4110 $as_echo_n "(cached) " >&6
4111else
4112 if test -n "$XARGS"; then
4113 ac_cv_prog_XARGS="$XARGS" # Let the user override the test.
4114else
4115as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4116for as_dir in $PATH
4117do
4118 IFS=$as_save_IFS
4119 test -z "$as_dir" && as_dir=.
4120 for ac_exec_ext in '' $ac_executable_extensions; do
4121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4122 ac_cv_prog_XARGS="xargs"
4123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4124 break 2
4125 fi
4126done
4127 done
4128IFS=$as_save_IFS
4129
4130 test -z "$ac_cv_prog_XARGS" && ac_cv_prog_XARGS=""no""
4131fi
4132fi
4133XARGS=$ac_cv_prog_XARGS
4134if test -n "$XARGS"; then
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XARGS" >&5
4136$as_echo "$XARGS" >&6; }
4137else
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4139$as_echo "no" >&6; }
4140fi
4141
4142
4143# Extract the first word of "dirname", so it can be a program name with args.
4144set dummy dirname; ac_word=$2
4145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4146$as_echo_n "checking for $ac_word... " >&6; }
4147if test "${ac_cv_prog_DIRNAME+set}" = set; then :
4148 $as_echo_n "(cached) " >&6
4149else
4150 if test -n "$DIRNAME"; then
4151 ac_cv_prog_DIRNAME="$DIRNAME" # Let the user override the test.
4152else
4153as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4154for as_dir in $PATH
4155do
4156 IFS=$as_save_IFS
4157 test -z "$as_dir" && as_dir=.
4158 for ac_exec_ext in '' $ac_executable_extensions; do
4159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4160 ac_cv_prog_DIRNAME="dirname"
4161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4162 break 2
4163 fi
4164done
4165 done
4166IFS=$as_save_IFS
4167
4168 test -z "$ac_cv_prog_DIRNAME" && ac_cv_prog_DIRNAME=""no""
4169fi
4170fi
4171DIRNAME=$ac_cv_prog_DIRNAME
4172if test -n "$DIRNAME"; then
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DIRNAME" >&5
4174$as_echo "$DIRNAME" >&6; }
4175else
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4177$as_echo "no" >&6; }
4178fi
4179
4180
4181
4182if test "$with_zlib" = yes ; then
4183
4184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4185$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4186if test "${ac_cv_path_GREP+set}" = set; then :
4187 $as_echo_n "(cached) " >&6
4188else
4189 if test -z "$GREP"; then
4190 ac_path_GREP_found=false
4191 # Loop through the user's path and test for each of PROGNAME-LIST
4192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4193for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4194do
4195 IFS=$as_save_IFS
4196 test -z "$as_dir" && as_dir=.
4197 for ac_prog in grep ggrep; do
4198 for ac_exec_ext in '' $ac_executable_extensions; do
4199 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4200 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4201# Check for GNU ac_path_GREP and select it if it is found.
4202 # Check for GNU $ac_path_GREP
4203case `"$ac_path_GREP" --version 2>&1` in
4204*GNU*)
4205 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4206*)
4207 ac_count=0
4208 $as_echo_n 0123456789 >"conftest.in"
4209 while :
4210 do
4211 cat "conftest.in" "conftest.in" >"conftest.tmp"
4212 mv "conftest.tmp" "conftest.in"
4213 cp "conftest.in" "conftest.nl"
4214 $as_echo 'GREP' >> "conftest.nl"
4215 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4216 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4217 as_fn_arith $ac_count + 1 && ac_count=$as_val
4218 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4219 # Best one so far, save it but keep looking for a better one
4220 ac_cv_path_GREP="$ac_path_GREP"
4221 ac_path_GREP_max=$ac_count
4222 fi
4223 # 10*(2^10) chars as input seems more than enough
4224 test $ac_count -gt 10 && break
4225 done
4226 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4227esac
4228
4229 $ac_path_GREP_found && break 3
4230 done
4231 done
4232 done
4233IFS=$as_save_IFS
4234 if test -z "$ac_cv_path_GREP"; then
4235 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4236 fi
4237else
4238 ac_cv_path_GREP=$GREP
4239fi
4240
4241fi
4242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4243$as_echo "$ac_cv_path_GREP" >&6; }
4244 GREP="$ac_cv_path_GREP"
4245
4246
4247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4248$as_echo_n "checking for egrep... " >&6; }
4249if test "${ac_cv_path_EGREP+set}" = set; then :
4250 $as_echo_n "(cached) " >&6
4251else
4252 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4253 then ac_cv_path_EGREP="$GREP -E"
4254 else
4255 if test -z "$EGREP"; then
4256 ac_path_EGREP_found=false
4257 # Loop through the user's path and test for each of PROGNAME-LIST
4258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4259for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4260do
4261 IFS=$as_save_IFS
4262 test -z "$as_dir" && as_dir=.
4263 for ac_prog in egrep; do
4264 for ac_exec_ext in '' $ac_executable_extensions; do
4265 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4266 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4267# Check for GNU ac_path_EGREP and select it if it is found.
4268 # Check for GNU $ac_path_EGREP
4269case `"$ac_path_EGREP" --version 2>&1` in
4270*GNU*)
4271 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4272*)
4273 ac_count=0
4274 $as_echo_n 0123456789 >"conftest.in"
4275 while :
4276 do
4277 cat "conftest.in" "conftest.in" >"conftest.tmp"
4278 mv "conftest.tmp" "conftest.in"
4279 cp "conftest.in" "conftest.nl"
4280 $as_echo 'EGREP' >> "conftest.nl"
4281 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4282 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4283 as_fn_arith $ac_count + 1 && ac_count=$as_val
4284 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4285 # Best one so far, save it but keep looking for a better one
4286 ac_cv_path_EGREP="$ac_path_EGREP"
4287 ac_path_EGREP_max=$ac_count
4288 fi
4289 # 10*(2^10) chars as input seems more than enough
4290 test $ac_count -gt 10 && break
4291 done
4292 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4293esac
4294
4295 $ac_path_EGREP_found && break 3
4296 done
4297 done
4298 done
4299IFS=$as_save_IFS
4300 if test -z "$ac_cv_path_EGREP"; then
4301 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4302 fi
4303else
4304 ac_cv_path_EGREP=$EGREP
4305fi
4306
4307 fi
4308fi
4309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4310$as_echo "$ac_cv_path_EGREP" >&6; }
4311 EGREP="$ac_cv_path_EGREP"
4312
4313
4314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4315$as_echo_n "checking for ANSI C header files... " >&6; }
4316if test "${ac_cv_header_stdc+set}" = set; then :
4317 $as_echo_n "(cached) " >&6
4318else
4319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4320/* end confdefs.h. */
4321#include <stdlib.h>
4322#include <stdarg.h>
4323#include <string.h>
4324#include <float.h>
4325
4326int
4327main ()
4328{
4329
4330 ;
4331 return 0;
4332}
4333_ACEOF
4334if ac_fn_c_try_compile "$LINENO"; then :
4335 ac_cv_header_stdc=yes
4336else
4337 ac_cv_header_stdc=no
4338fi
4339rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4340
4341if test $ac_cv_header_stdc = yes; then
4342 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4344/* end confdefs.h. */
4345#include <string.h>
4346
4347_ACEOF
4348if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4349 $EGREP "memchr" >/dev/null 2>&1; then :
4350
4351else
4352 ac_cv_header_stdc=no
4353fi
4354rm -f conftest*
4355
4356fi
4357
4358if test $ac_cv_header_stdc = yes; then
4359 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4361/* end confdefs.h. */
4362#include <stdlib.h>
4363
4364_ACEOF
4365if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4366 $EGREP "free" >/dev/null 2>&1; then :
4367
4368else
4369 ac_cv_header_stdc=no
4370fi
4371rm -f conftest*
4372
4373fi
4374
4375if test $ac_cv_header_stdc = yes; then
4376 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4377 if test "$cross_compiling" = yes; then :
4378 :
4379else
4380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4381/* end confdefs.h. */
4382#include <ctype.h>
4383#include <stdlib.h>
4384#if ((' ' & 0x0FF) == 0x020)
4385# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4386# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4387#else
4388# define ISLOWER(c) \
4389 (('a' <= (c) && (c) <= 'i') \
4390 || ('j' <= (c) && (c) <= 'r') \
4391 || ('s' <= (c) && (c) <= 'z'))
4392# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4393#endif
4394
4395#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4396int
4397main ()
4398{
4399 int i;
4400 for (i = 0; i < 256; i++)
4401 if (XOR (islower (i), ISLOWER (i))
4402 || toupper (i) != TOUPPER (i))
4403 return 2;
4404 return 0;
4405}
4406_ACEOF
4407if ac_fn_c_try_run "$LINENO"; then :
4408
4409else
4410 ac_cv_header_stdc=no
4411fi
4412rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4413 conftest.$ac_objext conftest.beam conftest.$ac_ext
4414fi
4415
4416fi
4417fi
4418{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4419$as_echo "$ac_cv_header_stdc" >&6; }
4420if test $ac_cv_header_stdc = yes; then
4421
4422$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4423
4424fi
4425
4426# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4427for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4428 inttypes.h stdint.h unistd.h
4429do :
4430 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4431ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4432"
4433eval as_val=\$$as_ac_Header
4434 if test "x$as_val" = x""yes; then :
4435 cat >>confdefs.h <<_ACEOF
4436#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4437_ACEOF
4438
4439fi
4440
4441done
4442
4443
4444ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
4445if test "x$ac_cv_header_zlib_h" = x""yes; then :
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflateInit_ in -lz" >&5
4447$as_echo_n "checking for inflateInit_ in -lz... " >&6; }
4448if test "${ac_cv_lib_z_inflateInit_+set}" = set; then :
4449 $as_echo_n "(cached) " >&6
4450else
4451 ac_check_lib_save_LIBS=$LIBS
4452LIBS="-lz $LIBS"
4453
4454# ac_fn_c_try_link LINENO
4455# -----------------------
4456# Try to link conftest.$ac_ext, and return whether this succeeded.
4457ac_fn_c_try_link ()
4458{
4459 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4460 rm -f conftest.$ac_objext conftest$ac_exeext
4461 if { { ac_try="$ac_link"
4462case "(($ac_try" in
4463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4464 *) ac_try_echo=$ac_try;;
4465esac
4466eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4467$as_echo "$ac_try_echo"; } >&5
4468 (eval "$ac_link") 2>conftest.err
4469 ac_status=$?
4470 if test -s conftest.err; then
4471 grep -v '^ *+' conftest.err >conftest.er1
4472 cat conftest.er1 >&5
4473 mv -f conftest.er1 conftest.err
4474 fi
4475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4476 test $ac_status = 0; } && {
4477 test -z "$ac_c_werror_flag" ||
4478 test ! -s conftest.err
4479 } && test -s conftest$ac_exeext && {
4480 test "$cross_compiling" = yes ||
4481 $as_test_x conftest$ac_exeext
4482 }; then :
4483 ac_retval=0
4484else
4485 $as_echo "$as_me: failed program was:" >&5
4486sed 's/^/| /' conftest.$ac_ext >&5
4487
4488 ac_retval=1
4489fi
4490 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
4491 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
4492 # interfere with the next link command; also delete a directory that is
4493 # left behind by Apple's compiler. We do this before executing the actions.
4494 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
4495 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
4496 as_fn_set_status $ac_retval
4497
4498} # ac_fn_c_try_link
4499cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4500/* end confdefs.h. */
4501
4502/* Override any GCC internal prototype to avoid an error.
4503 Use char because int might match the return type of a GCC
4504 builtin and then its argument prototype would still apply. */
4505#ifdef __cplusplus
4506extern "C"
4507#endif
4508char inflateInit_ ();
4509int
4510main ()
4511{
4512return inflateInit_ ();
4513 ;
4514 return 0;
4515}
4516_ACEOF
4517if ac_fn_c_try_link "$LINENO"; then :
4518 ac_cv_lib_z_inflateInit_=yes
4519else
4520 ac_cv_lib_z_inflateInit_=no
4521fi
4522rm -f core conftest.err conftest.$ac_objext \
4523 conftest$ac_exeext conftest.$ac_ext
4524LIBS=$ac_check_lib_save_LIBS
4525fi
4526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateInit_" >&5
4527$as_echo "$ac_cv_lib_z_inflateInit_" >&6; }
4528if test "x$ac_cv_lib_z_inflateInit_" = x""yes; then :
4529 cat >>confdefs.h <<_ACEOF
4530#define HAVE_LIBZ 1
4531_ACEOF
4532
4533 LIBS="-lz $LIBS"
4534
4535else
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: zlib support disabled" >&5
4537$as_echo "$as_me: zlib support disabled" >&6;}
4538fi
4539
4540fi
4541
4542
4543fi
4544
4545if test "$with_lzma" = yes ; then
4546 ac_fn_c_check_header_mongrel "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_includes_default"
4547if test "x$ac_cv_header_lzma_h" = x""yes; then :
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
4549$as_echo_n "checking for lzma_code in -llzma... " >&6; }
4550if test "${ac_cv_lib_lzma_lzma_code+set}" = set; then :
4551 $as_echo_n "(cached) " >&6
4552else
4553 ac_check_lib_save_LIBS=$LIBS
4554LIBS="-llzma $LIBS"
4555cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4556/* end confdefs.h. */
4557
4558/* Override any GCC internal prototype to avoid an error.
4559 Use char because int might match the return type of a GCC
4560 builtin and then its argument prototype would still apply. */
4561#ifdef __cplusplus
4562extern "C"
4563#endif
4564char lzma_code ();
4565int
4566main ()
4567{
4568return lzma_code ();
4569 ;
4570 return 0;
4571}
4572_ACEOF
4573if ac_fn_c_try_link "$LINENO"; then :
4574 ac_cv_lib_lzma_lzma_code=yes
4575else
4576 ac_cv_lib_lzma_lzma_code=no
4577fi
4578rm -f core conftest.err conftest.$ac_objext \
4579 conftest$ac_exeext conftest.$ac_ext
4580LIBS=$ac_check_lib_save_LIBS
4581fi
4582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
4583$as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
4584if test "x$ac_cv_lib_lzma_lzma_code" = x""yes; then :
4585 cat >>confdefs.h <<_ACEOF
4586#define HAVE_LIBLZMA 1
4587_ACEOF
4588
4589 LIBS="-llzma $LIBS"
4590
4591else
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: lzma support disabled" >&5
4593$as_echo "$as_me: lzma support disabled" >&6;}
4594fi
4595
4596fi
4597
4598
4599fi
4600
4601if test "$with_xen" = yes ; then
4602 ac_fn_c_check_header_mongrel "$LINENO" "xenctrl.h" "ac_cv_header_xenctrl_h" "$ac_includes_default"
4603if test "x$ac_cv_header_xenctrl_h" = x""yes; then :
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xc_version in -lxenctrl" >&5
4605$as_echo_n "checking for xc_version in -lxenctrl... " >&6; }
4606if test "${ac_cv_lib_xenctrl_xc_version+set}" = set; then :
4607 $as_echo_n "(cached) " >&6
4608else
4609 ac_check_lib_save_LIBS=$LIBS
4610LIBS="-lxenctrl $LIBS"
4611cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4612/* end confdefs.h. */
4613
4614/* Override any GCC internal prototype to avoid an error.
4615 Use char because int might match the return type of a GCC
4616 builtin and then its argument prototype would still apply. */
4617#ifdef __cplusplus
4618extern "C"
4619#endif
4620char xc_version ();
4621int
4622main ()
4623{
4624return xc_version ();
4625 ;
4626 return 0;
4627}
4628_ACEOF
4629if ac_fn_c_try_link "$LINENO"; then :
4630 ac_cv_lib_xenctrl_xc_version=yes
4631else
4632 ac_cv_lib_xenctrl_xc_version=no
4633fi
4634rm -f core conftest.err conftest.$ac_objext \
4635 conftest$ac_exeext conftest.$ac_ext
4636LIBS=$ac_check_lib_save_LIBS
4637fi
4638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xenctrl_xc_version" >&5
4639$as_echo "$ac_cv_lib_xenctrl_xc_version" >&6; }
4640if test "x$ac_cv_lib_xenctrl_xc_version" = x""yes; then :
4641 cat >>confdefs.h <<_ACEOF
4642#define HAVE_LIBXENCTRL 1
4643_ACEOF
4644
4645 LIBS="-lxenctrl $LIBS"
4646
4647else
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: Xen support disabled" >&5
4649$as_echo "$as_me: Xen support disabled" >&6;}
4650fi
4651
4652fi
4653
4654
4655fi
4656
4657if test "$ARCH" = ppc; then
4658
4659# Check whether --with-oldtoolchain was given.
4660if test "${with_oldtoolchain+set}" = set; then :
4661 withval=$with_oldtoolchain;
4662$as_echo "#define PPC_OLDTOOLCHAIN 1" >>confdefs.h
4663
4664fi
4665
4666fi
4667
4668if test "$CC" = "no"; then as_fn_error "cc not found" "$LINENO" 5; fi
4669if test "$CPP" = "no"; then as_fn_error "cpp not found" "$LINENO" 5; fi
4670if test "$LD" = "no"; then as_fn_error "ld not found" "$LINENO" 5; fi
4671if test "$AS" = "no"; then as_fn_error "as not found" "$LINENO" 5; fi
4672if test "$OBJCOPY" = "no"; then as_fn_error "objcopy not found" "$LINENO" 5; fi
4673if test "$AR" = "no"; then as_fn_error "ar not found" "$LINENO" 5; fi
4674
4675if test "$MKDIR" = "no"; then as_fn_error " mkdir not found" "$LINENO" 5; fi
4676if test "$RM" = "no"; then as_fn_error " rm not found" "$LINENO" 5; fi
4677if test "$CP" = "no"; then as_fn_error " cp not found" "$LINENO" 5; fi
4678if test "$LN" = "no"; then as_fn_error " ln not found" "$LINENO" 5; fi
4679if test "$TAR" = "no"; then as_fn_error " tar not found" "$LINENO" 5; fi
4680if test "$RPM" = "no"; then as_fn_error " rpm not found" "$LINENO" 5; fi
4681if test "$SED" = "no"; then as_fn_error " sed not found" "$LINENO" 5; fi
4682if test "$FIND" = "no"; then as_fn_error " find not found" "$LINENO" 5; fi
4683if test "$XARGS" = "no"; then as_fn_error " xargs not found" "$LINENO" 5; fi
4684if test "$DIRNAME" = "no"; then as_fn_error " dirname not found" "$LINENO" 5; fi
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697ac_config_files="$ac_config_files Makefile"
4698
4699cat >confcache <<\_ACEOF
4700# This file is a shell script that caches the results of configure
4701# tests run on this system so they can be shared between configure
4702# scripts and configure runs, see configure's option --config-cache.
4703# It is not useful on other systems. If it contains results you don't
4704# want to keep, you may remove or edit it.
4705#
4706# config.status only pays attention to the cache file if you give it
4707# the --recheck option to rerun configure.
4708#
4709# `ac_cv_env_foo' variables (set or unset) will be overridden when
4710# loading this file, other *unset* `ac_cv_foo' will be assigned the
4711# following values.
4712
4713_ACEOF
4714
4715# The following way of writing the cache mishandles newlines in values,
4716# but we know of no workaround that is simple, portable, and efficient.
4717# So, we kill variables containing newlines.
4718# Ultrix sh set writes to stderr and can't be redirected directly,
4719# and sets the high bit in the cache file unless we assign to the vars.
4720(
4721 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4722 eval ac_val=\$$ac_var
4723 case $ac_val in #(
4724 *${as_nl}*)
4725 case $ac_var in #(
4726 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4727$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4728 esac
4729 case $ac_var in #(
4730 _ | IFS | as_nl) ;; #(
4731 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4732 *) { eval $ac_var=; unset $ac_var;} ;;
4733 esac ;;
4734 esac
4735 done
4736
4737 (set) 2>&1 |
4738 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4739 *${as_nl}ac_space=\ *)
4740 # `set' does not quote correctly, so add quotes: double-quote
4741 # substitution turns \\\\ into \\, and sed turns \\ into \.
4742 sed -n \
4743 "s/'/'\\\\''/g;
4744 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4745 ;; #(
4746 *)
4747 # `set' quotes correctly as required by POSIX, so do not add quotes.
4748 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4749 ;;
4750 esac |
4751 sort
4752) |
4753 sed '
4754 /^ac_cv_env_/b end
4755 t clear
4756 :clear
4757 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4758 t end
4759 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4760 :end' >>confcache
4761if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4762 if test -w "$cache_file"; then
4763 test "x$cache_file" != "x/dev/null" &&
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4765$as_echo "$as_me: updating cache $cache_file" >&6;}
4766 cat confcache >$cache_file
4767 else
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4769$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4770 fi
4771fi
4772rm -f confcache
4773
4774test "x$prefix" = xNONE && prefix=$ac_default_prefix
4775# Let make expand exec_prefix.
4776test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4777
4778DEFS=-DHAVE_CONFIG_H
4779
4780ac_libobjs=
4781ac_ltlibobjs=
4782for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4783 # 1. Remove the extension, and $U if already installed.
4784 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4785 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4786 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4787 # will be set to the directory where LIBOBJS objects are built.
4788 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4789 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4790done
4791LIBOBJS=$ac_libobjs
4792
4793LTLIBOBJS=$ac_ltlibobjs
4794
4795
4796
4797: ${CONFIG_STATUS=./config.status}
4798ac_write_fail=0
4799ac_clean_files_save=$ac_clean_files
4800ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4801{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4802$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4803as_write_fail=0
4804cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4805#! $SHELL
4806# Generated by $as_me.
4807# Run this file to recreate the current configuration.
4808# Compiler output produced by configure, useful for debugging
4809# configure, is in config.log if it exists.
4810
4811debug=false
4812ac_cs_recheck=false
4813ac_cs_silent=false
4814
4815SHELL=\${CONFIG_SHELL-$SHELL}
4816export SHELL
4817_ASEOF
4818cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4819## -------------------- ##
4820## M4sh Initialization. ##
4821## -------------------- ##
4822
4823# Be more Bourne compatible
4824DUALCASE=1; export DUALCASE # for MKS sh
4825if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4826 emulate sh
4827 NULLCMD=:
4828 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4829 # is contrary to our usage. Disable this feature.
4830 alias -g '${1+"$@"}'='"$@"'
4831 setopt NO_GLOB_SUBST
4832else
4833 case `(set -o) 2>/dev/null` in #(
4834 *posix*) :
4835 set -o posix ;; #(
4836 *) :
4837 ;;
4838esac
4839fi
4840
4841
4842as_nl='
4843'
4844export as_nl
4845# Printing a long string crashes Solaris 7 /usr/bin/printf.
4846as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4847as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4848as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4849# Prefer a ksh shell builtin over an external printf program on Solaris,
4850# but without wasting forks for bash or zsh.
4851if test -z "$BASH_VERSION$ZSH_VERSION" \
4852 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4853 as_echo='print -r --'
4854 as_echo_n='print -rn --'
4855elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4856 as_echo='printf %s\n'
4857 as_echo_n='printf %s'
4858else
4859 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4860 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4861 as_echo_n='/usr/ucb/echo -n'
4862 else
4863 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4864 as_echo_n_body='eval
4865 arg=$1;
4866 case $arg in #(
4867 *"$as_nl"*)
4868 expr "X$arg" : "X\\(.*\\)$as_nl";
4869 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4870 esac;
4871 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4872 '
4873 export as_echo_n_body
4874 as_echo_n='sh -c $as_echo_n_body as_echo'
4875 fi
4876 export as_echo_body
4877 as_echo='sh -c $as_echo_body as_echo'
4878fi
4879
4880# The user is always right.
4881if test "${PATH_SEPARATOR+set}" != set; then
4882 PATH_SEPARATOR=:
4883 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4884 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4885 PATH_SEPARATOR=';'
4886 }
4887fi
4888
4889
4890# IFS
4891# We need space, tab and new line, in precisely that order. Quoting is
4892# there to prevent editors from complaining about space-tab.
4893# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4894# splitting by setting IFS to empty value.)
4895IFS=" "" $as_nl"
4896
4897# Find who we are. Look in the path if we contain no directory separator.
4898case $0 in #((
4899 *[\\/]* ) as_myself=$0 ;;
4900 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4901for as_dir in $PATH
4902do
4903 IFS=$as_save_IFS
4904 test -z "$as_dir" && as_dir=.
4905 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4906 done
4907IFS=$as_save_IFS
4908
4909 ;;
4910esac
4911# We did not find ourselves, most probably we were run as `sh COMMAND'
4912# in which case we are not to be found in the path.
4913if test "x$as_myself" = x; then
4914 as_myself=$0
4915fi
4916if test ! -f "$as_myself"; then
4917 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4918 exit 1
4919fi
4920
4921# Unset variables that we do not need and which cause bugs (e.g. in
4922# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4923# suppresses any "Segmentation fault" message there. '((' could
4924# trigger a bug in pdksh 5.2.14.
4925for as_var in BASH_ENV ENV MAIL MAILPATH
4926do eval test x\${$as_var+set} = xset \
4927 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4928done
4929PS1='$ '
4930PS2='> '
4931PS4='+ '
4932
4933# NLS nuisances.
4934LC_ALL=C
4935export LC_ALL
4936LANGUAGE=C
4937export LANGUAGE
4938
4939# CDPATH.
4940(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4941
4942
4943# as_fn_error ERROR [LINENO LOG_FD]
4944# ---------------------------------
4945# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4946# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4947# script with status $?, using 1 if that was 0.
4948as_fn_error ()
4949{
4950 as_status=$?; test $as_status -eq 0 && as_status=1
4951 if test "$3"; then
4952 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4953 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4954 fi
4955 $as_echo "$as_me: error: $1" >&2
4956 as_fn_exit $as_status
4957} # as_fn_error
4958
4959
4960# as_fn_set_status STATUS
4961# -----------------------
4962# Set $? to STATUS, without forking.
4963as_fn_set_status ()
4964{
4965 return $1
4966} # as_fn_set_status
4967
4968# as_fn_exit STATUS
4969# -----------------
4970# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4971as_fn_exit ()
4972{
4973 set +e
4974 as_fn_set_status $1
4975 exit $1
4976} # as_fn_exit
4977
4978# as_fn_unset VAR
4979# ---------------
4980# Portably unset VAR.
4981as_fn_unset ()
4982{
4983 { eval $1=; unset $1;}
4984}
4985as_unset=as_fn_unset
4986# as_fn_append VAR VALUE
4987# ----------------------
4988# Append the text in VALUE to the end of the definition contained in VAR. Take
4989# advantage of any shell optimizations that allow amortized linear growth over
4990# repeated appends, instead of the typical quadratic growth present in naive
4991# implementations.
4992if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4993 eval 'as_fn_append ()
4994 {
4995 eval $1+=\$2
4996 }'
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: