Debian Codegraph @

stubdom/configure

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