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