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