1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for Xen Hypervisor 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'
581PACKAGE_TARNAME='xen'
582PACKAGE_VERSION='4.14'
583PACKAGE_STRING='Xen Hypervisor 4.14'
584PACKAGE_BUGREPORT='xen-devel@lists.xen.org'
585PACKAGE_URL='https://www.xen.org/'
586
587ac_unique_file="./xen/common/kernel.c"
588enable_option_checking=no
589ac_subst_vars='LTLIBOBJS
590LIBOBJS
591SUBSYSTEMS
592docs
593stubdom
594tools
595xen
596subdirs
597githttp
598DEBUG_DIR
599XEN_DUMP_DIR
600XEN_PAGING_DIR
601XEN_LOCK_DIR
602XEN_SCRIPT_DIR
603XEN_CONFIG_DIR
604INITD_DIR
605CONFIG_DIR
606SHAREDIR
607XEN_LIB_DIR
608XEN_RUN_STORED
609XEN_LIB_STORED
610XEN_LOG_DIR
611XEN_RUN_DIR
612XENFIRMWAREDIR
613LIBEXEC_INC
614LIBEXEC_LIB
615LIBEXEC_BIN
616LIBEXEC
617CONFIG_LEAF_DIR
618XENSTORED_PORT
619XENSTORED_KVA
620host_os
621host_vendor
622host_cpu
623host
624build_os
625build_vendor
626build_cpu
627build
628target_alias
629host_alias
630build_alias
631LIBS
632ECHO_T
633ECHO_N
634ECHO_C
635DEFS
636mandir
637localedir
638libdir
639psdir
640pdfdir
641dvidir
642htmldir
643infodir
644docdir
645oldincludedir
646includedir
647runstatedir
648localstatedir
649sharedstatedir
650sysconfdir
651datadir
652datarootdir
653libexecdir
654sbindir
655bindir
656program_transform_name
657prefix
658exec_prefix
659PACKAGE_URL
660PACKAGE_BUGREPORT
661PACKAGE_STRING
662PACKAGE_VERSION
663PACKAGE_TARNAME
664PACKAGE_NAME
665PATH_SEPARATOR
666SHELL'
667ac_subst_files=''
668ac_user_opts='
669enable_option_checking
670with_initddir
671with_sysconfig_leaf_dir
672with_libexec_leaf_dir
673with_xen_dumpdir
674with_rundir
675with_debugdir
676enable_githttp
677enable_xen
678enable_tools
679enable_stubdom
680enable_docs
681'
682      ac_precious_vars='build_alias
683host_alias
684target_alias'
685ac_subdirs_all='xen
686tools
687stubdom
688docs'
689
690# Initialize some variables set by options.
691ac_init_help=
692ac_init_version=false
693ac_unrecognized_opts=
694ac_unrecognized_sep=
695# The variables have the same names as the options, with
696# dashes changed to underlines.
697cache_file=/dev/null
698exec_prefix=NONE
699no_create=
700no_recursion=
701prefix=NONE
702program_prefix=NONE
703program_suffix=NONE
704program_transform_name=s,x,x,
705silent=
706site=
707srcdir=
708verbose=
709x_includes=NONE
710x_libraries=NONE
711
712# Installation directory options.
713# These are left unexpanded so users can "make install exec_prefix=/foo"
714# and all the variables that are supposed to be based on exec_prefix
715# by default will actually change.
716# Use braces instead of parens because sh, perl, etc. also accept them.
717# (The list follows the same order as the GNU Coding Standards.)
718bindir='${exec_prefix}/bin'
719sbindir='${exec_prefix}/sbin'
720libexecdir='${exec_prefix}/libexec'
721datarootdir='${prefix}/share'
722datadir='${datarootdir}'
723sysconfdir='${prefix}/etc'
724sharedstatedir='${prefix}/com'
725localstatedir='${prefix}/var'
726runstatedir='${localstatedir}/run'
727includedir='${prefix}/include'
728oldincludedir='/usr/include'
729docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
730infodir='${datarootdir}/info'
731htmldir='${docdir}'
732dvidir='${docdir}'
733pdfdir='${docdir}'
734psdir='${docdir}'
735libdir='${exec_prefix}/lib'
736localedir='${datarootdir}/locale'
737mandir='${datarootdir}/man'
738
739ac_prev=
740ac_dashdash=
741for ac_option
742do
743  # If the previous option needs an argument, assign it.
744  if test -n "$ac_prev"; then
745    eval $ac_prev=\$ac_option
746    ac_prev=
747    continue
748  fi
749
750  case $ac_option in
751  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
752  *=)   ac_optarg= ;;
753  *)    ac_optarg=yes ;;
754  esac
755
756  # Accept the important Cygnus configure options, so we can diagnose typos.
757
758  case $ac_dashdash$ac_option in
759  --)
760    ac_dashdash=yes ;;
761
762  -bindir | --bindir | --bindi | --bind | --bin | --bi)
763    ac_prev=bindir ;;
764  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
765    bindir=$ac_optarg ;;
766
767  -build | --build | --buil | --bui | --bu)
768    ac_prev=build_alias ;;
769  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
770    build_alias=$ac_optarg ;;
771
772  -cache-file | --cache-file | --cache-fil | --cache-fi \
773  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
774    ac_prev=cache_file ;;
775  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
776  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
777    cache_file=$ac_optarg ;;
778
779  --config-cache | -C)
780    cache_file=config.cache ;;
781
782  -datadir | --datadir | --datadi | --datad)
783    ac_prev=datadir ;;
784  -datadir=* | --datadir=* | --datadi=* | --datad=*)
785    datadir=$ac_optarg ;;
786
787  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
788  | --dataroo | --dataro | --datar)
789    ac_prev=datarootdir ;;
790  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
791  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
792    datarootdir=$ac_optarg ;;
793
794  -disable-* | --disable-*)
795    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
796    # Reject names that are not valid shell variable names.
797    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
798      as_fn_error $? "invalid feature name: $ac_useropt"
799    ac_useropt_orig=$ac_useropt
800    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
801    case $ac_user_opts in
802      *"
803"enable_$ac_useropt"
804"*) ;;
805      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
806	 ac_unrecognized_sep=', ';;
807    esac
808    eval enable_$ac_useropt=no ;;
809
810  -docdir | --docdir | --docdi | --doc | --do)
811    ac_prev=docdir ;;
812  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
813    docdir=$ac_optarg ;;
814
815  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
816    ac_prev=dvidir ;;
817  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
818    dvidir=$ac_optarg ;;
819
820  -enable-* | --enable-*)
821    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
822    # Reject names that are not valid shell variable names.
823    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
824      as_fn_error $? "invalid feature name: $ac_useropt"
825    ac_useropt_orig=$ac_useropt
826    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
827    case $ac_user_opts in
828      *"
829"enable_$ac_useropt"
830"*) ;;
831      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
832	 ac_unrecognized_sep=', ';;
833    esac
834    eval enable_$ac_useropt=\$ac_optarg ;;
835
836  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
837  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
838  | --exec | --exe | --ex)
839    ac_prev=exec_prefix ;;
840  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
841  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
842  | --exec=* | --exe=* | --ex=*)
843    exec_prefix=$ac_optarg ;;
844
845  -gas | --gas | --ga | --g)
846    # Obsolete; use --with-gas.
847    with_gas=yes ;;
848
849  -help | --help | --hel | --he | -h)
850    ac_init_help=long ;;
851  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
852    ac_init_help=recursive ;;
853  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
854    ac_init_help=short ;;
855
856  -host | --host | --hos | --ho)
857    ac_prev=host_alias ;;
858  -host=* | --host=* | --hos=* | --ho=*)
859    host_alias=$ac_optarg ;;
860
861  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
862    ac_prev=htmldir ;;
863  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
864  | --ht=*)
865    htmldir=$ac_optarg ;;
866
867  -includedir | --includedir | --includedi | --included | --include \
868  | --includ | --inclu | --incl | --inc)
869    ac_prev=includedir ;;
870  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
871  | --includ=* | --inclu=* | --incl=* | --inc=*)
872    includedir=$ac_optarg ;;
873
874  -infodir | --infodir | --infodi | --infod | --info | --inf)
875    ac_prev=infodir ;;
876  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
877    infodir=$ac_optarg ;;
878
879  -libdir | --libdir | --libdi | --libd)
880    ac_prev=libdir ;;
881  -libdir=* | --libdir=* | --libdi=* | --libd=*)
882    libdir=$ac_optarg ;;
883
884  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
885  | --libexe | --libex | --libe)
886    ac_prev=libexecdir ;;
887  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
888  | --libexe=* | --libex=* | --libe=*)
889    libexecdir=$ac_optarg ;;
890
891  -localedir | --localedir | --localedi | --localed | --locale)
892    ac_prev=localedir ;;
893  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
894    localedir=$ac_optarg ;;
895
896  -localstatedir | --localstatedir | --localstatedi | --localstated \
897  | --localstate | --localstat | --localsta | --localst | --locals)
898    ac_prev=localstatedir ;;
899  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
900  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
901    localstatedir=$ac_optarg ;;
902
903  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
904    ac_prev=mandir ;;
905  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
906    mandir=$ac_optarg ;;
907
908  -nfp | --nfp | --nf)
909    # Obsolete; use --without-fp.
910    with_fp=no ;;
911
912  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
913  | --no-cr | --no-c | -n)
914    no_create=yes ;;
915
916  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
917  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
918    no_recursion=yes ;;
919
920  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
921  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
922  | --oldin | --oldi | --old | --ol | --o)
923    ac_prev=oldincludedir ;;
924  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
925  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
926  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
927    oldincludedir=$ac_optarg ;;
928
929  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
930    ac_prev=prefix ;;
931  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
932    prefix=$ac_optarg ;;
933
934  -program-prefix | --program-prefix | --program-prefi | --program-pref \
935  | --program-pre | --program-pr | --program-p)
936    ac_prev=program_prefix ;;
937  -program-prefix=* | --program-prefix=* | --program-prefi=* \
938  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
939    program_prefix=$ac_optarg ;;
940
941  -program-suffix | --program-suffix | --program-suffi | --program-suff \
942  | --program-suf | --program-su | --program-s)
943    ac_prev=program_suffix ;;
944  -program-suffix=* | --program-suffix=* | --program-suffi=* \
945  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
946    program_suffix=$ac_optarg ;;
947
948  -program-transform-name | --program-transform-name \
949  | --program-transform-nam | --program-transform-na \
950  | --program-transform-n | --program-transform- \
951  | --program-transform | --program-transfor \
952  | --program-transfo | --program-transf \
953  | --program-trans | --program-tran \
954  | --progr-tra | --program-tr | --program-t)
955    ac_prev=program_transform_name ;;
956  -program-transform-name=* | --program-transform-name=* \
957  | --program-transform-nam=* | --program-transform-na=* \
958  | --program-transform-n=* | --program-transform-=* \
959  | --program-transform=* | --program-transfor=* \
960  | --program-transfo=* | --program-transf=* \
961  | --program-trans=* | --program-tran=* \
962  | --progr-tra=* | --program-tr=* | --program-t=*)
963    program_transform_name=$ac_optarg ;;
964
965  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
966    ac_prev=pdfdir ;;
967  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
968    pdfdir=$ac_optarg ;;
969
970  -psdir | --psdir | --psdi | --psd | --ps)
971    ac_prev=psdir ;;
972  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
973    psdir=$ac_optarg ;;
974
975  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
976  | -silent | --silent | --silen | --sile | --sil)
977    silent=yes ;;
978
979  -runstatedir | --runstatedir | --runstatedi | --runstated \
980  | --runstate | --runstat | --runsta | --runst | --runs \
981  | --run | --ru | --r)
982    ac_prev=runstatedir ;;
983  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
984  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
985  | --run=* | --ru=* | --r=*)
986    runstatedir=$ac_optarg ;;
987
988  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
989    ac_prev=sbindir ;;
990  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
991  | --sbi=* | --sb=*)
992    sbindir=$ac_optarg ;;
993
994  -sharedstatedir | --sharedstatedir | --sharedstatedi \
995  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
996  | --sharedst | --shareds | --shared | --share | --shar \
997  | --sha | --sh)
998    ac_prev=sharedstatedir ;;
999  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1000  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1001  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1002  | --sha=* | --sh=*)
1003    sharedstatedir=$ac_optarg ;;
1004
1005  -site | --site | --sit)
1006    ac_prev=site ;;
1007  -site=* | --site=* | --sit=*)
1008    site=$ac_optarg ;;
1009
1010  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1011    ac_prev=srcdir ;;
1012  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1013    srcdir=$ac_optarg ;;
1014
1015  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1016  | --syscon | --sysco | --sysc | --sys | --sy)
1017    ac_prev=sysconfdir ;;
1018  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1019  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1020    sysconfdir=$ac_optarg ;;
1021
1022  -target | --target | --targe | --targ | --tar | --ta | --t)
1023    ac_prev=target_alias ;;
1024  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1025    target_alias=$ac_optarg ;;
1026
1027  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1028    verbose=yes ;;
1029
1030  -version | --version | --versio | --versi | --vers | -V)
1031    ac_init_version=: ;;
1032
1033  -with-* | --with-*)
1034    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1035    # Reject names that are not valid shell variable names.
1036    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1037      as_fn_error $? "invalid package name: $ac_useropt"
1038    ac_useropt_orig=$ac_useropt
1039    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1040    case $ac_user_opts in
1041      *"
1042"with_$ac_useropt"
1043"*) ;;
1044      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1045	 ac_unrecognized_sep=', ';;
1046    esac
1047    eval with_$ac_useropt=\$ac_optarg ;;
1048
1049  -without-* | --without-*)
1050    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1051    # Reject names that are not valid shell variable names.
1052    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1053      as_fn_error $? "invalid package name: $ac_useropt"
1054    ac_useropt_orig=$ac_useropt
1055    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1056    case $ac_user_opts in
1057      *"
1058"with_$ac_useropt"
1059"*) ;;
1060      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1061	 ac_unrecognized_sep=', ';;
1062    esac
1063    eval with_$ac_useropt=no ;;
1064
1065  --x)
1066    # Obsolete; use --with-x.
1067    with_x=yes ;;
1068
1069  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1070  | --x-incl | --x-inc | --x-in | --x-i)
1071    ac_prev=x_includes ;;
1072  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1073  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1074    x_includes=$ac_optarg ;;
1075
1076  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1077  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1078    ac_prev=x_libraries ;;
1079  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1080  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1081    x_libraries=$ac_optarg ;;
1082
1083  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1084Try \`$0 --help' for more information"
1085    ;;
1086
1087  *=*)
1088    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1089    # Reject names that are not valid shell variable names.
1090    case $ac_envvar in #(
1091      '' | [0-9]* | *[!_$as_cr_alnum]* )
1092      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1093    esac
1094    eval $ac_envvar=\$ac_optarg
1095    export $ac_envvar ;;
1096
1097  *)
1098    # FIXME: should be removed in autoconf 3.0.
1099    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1100    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1101      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1102    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1103    ;;
1104
1105  esac
1106done
1107
1108if test -n "$ac_prev"; then
1109  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1110  as_fn_error $? "missing argument to $ac_option"
1111fi
1112
1113if test -n "$ac_unrecognized_opts"; then
1114  case $enable_option_checking in
1115    no) ;;
1116    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1117    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1118  esac
1119fi
1120
1121# Check all directory arguments for consistency.
1122for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1123		datadir sysconfdir sharedstatedir localstatedir includedir \
1124		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1125		libdir localedir mandir runstatedir
1126do
1127  eval ac_val=\$$ac_var
1128  # Remove trailing slashes.
1129  case $ac_val in
1130    */ )
1131      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1132      eval $ac_var=\$ac_val;;
1133  esac
1134  # Be sure to have absolute directory names.
1135  case $ac_val in
1136    [\\/$]* | ?:[\\/]* )  continue;;
1137    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1138  esac
1139  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1140done
1141
1142# There might be people who depend on the old broken behavior: `$host'
1143# used to hold the argument of --host etc.
1144# FIXME: To remove some day.
1145build=$build_alias
1146host=$host_alias
1147target=$target_alias
1148
1149# FIXME: To remove some day.
1150if test "x$host_alias" != x; then
1151  if test "x$build_alias" = x; then
1152    cross_compiling=maybe
1153  elif test "x$build_alias" != "x$host_alias"; then
1154    cross_compiling=yes
1155  fi
1156fi
1157
1158ac_tool_prefix=
1159test -n "$host_alias" && ac_tool_prefix=$host_alias-
1160
1161test "$silent" = yes && exec 6>/dev/null
1162
1163
1164ac_pwd=`pwd` && test -n "$ac_pwd" &&
1165ac_ls_di=`ls -di .` &&
1166ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1167  as_fn_error $? "working directory cannot be determined"
1168test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1169  as_fn_error $? "pwd does not report name of working directory"
1170
1171
1172# Find the source files, if location was not specified.
1173if test -z "$srcdir"; then
1174  ac_srcdir_defaulted=yes
1175  # Try the directory containing this script, then the parent directory.
1176  ac_confdir=`$as_dirname -- "$as_myself" ||
1177$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1178	 X"$as_myself" : 'X\(//\)[^/]' \| \
1179	 X"$as_myself" : 'X\(//\)$' \| \
1180	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1181$as_echo X"$as_myself" |
1182    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1183	    s//\1/
1184	    q
1185	  }
1186	  /^X\(\/\/\)[^/].*/{
1187	    s//\1/
1188	    q
1189	  }
1190	  /^X\(\/\/\)$/{
1191	    s//\1/
1192	    q
1193	  }
1194	  /^X\(\/\).*/{
1195	    s//\1/
1196	    q
1197	  }
1198	  s/.*/./; q'`
1199  srcdir=$ac_confdir
1200  if test ! -r "$srcdir/$ac_unique_file"; then
1201    srcdir=..
1202  fi
1203else
1204  ac_srcdir_defaulted=no
1205fi
1206if test ! -r "$srcdir/$ac_unique_file"; then
1207  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1208  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1209fi
1210ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1211ac_abs_confdir=`(
1212	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1213	pwd)`
1214# When building in place, set srcdir=.
1215if test "$ac_abs_confdir" = "$ac_pwd"; then
1216  srcdir=.
1217fi
1218# Remove unnecessary trailing slashes from srcdir.
1219# Double slashes in file names in object file debugging info
1220# mess up M-x gdb in Emacs.
1221case $srcdir in
1222*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1223esac
1224for ac_var in $ac_precious_vars; do
1225  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1226  eval ac_env_${ac_var}_value=\$${ac_var}
1227  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1228  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1229done
1230
1231#
1232# Report the --help message.
1233#
1234if test "$ac_init_help" = "long"; then
1235  # Omit some internal or obsolete options to make the list less imposing.
1236  # This message is too long to be a string in the A/UX 3.1 sh.
1237  cat <<_ACEOF
1238\`configure' configures Xen Hypervisor 4.14 to adapt to many kinds of systems.
1239
1240Usage: $0 [OPTION]... [VAR=VALUE]...
1241
1242To assign environment variables (e.g., CC, CFLAGS...), specify them as
1243VAR=VALUE.  See below for descriptions of some of the useful variables.
1244
1245Defaults for the options are specified in brackets.
1246
1247Configuration:
1248  -h, --help              display this help and exit
1249      --help=short        display options specific to this package
1250      --help=recursive    display the short help of all the included packages
1251  -V, --version           display version information and exit
1252  -q, --quiet, --silent   do not print \`checking ...' messages
1253      --cache-file=FILE   cache test results in FILE [disabled]
1254  -C, --config-cache      alias for \`--cache-file=config.cache'
1255  -n, --no-create         do not create output files
1256      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1257
1258Installation directories:
1259  --prefix=PREFIX         install architecture-independent files in PREFIX
1260                          [$ac_default_prefix]
1261  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1262                          [PREFIX]
1263
1264By default, \`make install' will install all the files in
1265\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1266an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1267for instance \`--prefix=\$HOME'.
1268
1269For better control, use the options below.
1270
1271Fine tuning of the installation directories:
1272  --bindir=DIR            user executables [EPREFIX/bin]
1273  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1274  --libexecdir=DIR        program executables [EPREFIX/libexec]
1275  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1276  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1277  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1278  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1279  --libdir=DIR            object code libraries [EPREFIX/lib]
1280  --includedir=DIR        C header files [PREFIX/include]
1281  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1282  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1283  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1284  --infodir=DIR           info documentation [DATAROOTDIR/info]
1285  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1286  --mandir=DIR            man documentation [DATAROOTDIR/man]
1287  --docdir=DIR            documentation root [DATAROOTDIR/doc/xen]
1288  --htmldir=DIR           html documentation [DOCDIR]
1289  --dvidir=DIR            dvi documentation [DOCDIR]
1290  --pdfdir=DIR            pdf documentation [DOCDIR]
1291  --psdir=DIR             ps documentation [DOCDIR]
1292_ACEOF
1293
1294  cat <<\_ACEOF
1295
1296System types:
1297  --build=BUILD     configure for building on BUILD [guessed]
1298  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1299_ACEOF
1300fi
1301
1302if test -n "$ac_init_help"; then
1303  case $ac_init_help in
1304     short | recursive ) echo "Configuration of Xen Hypervisor 4.14:";;
1305   esac
1306  cat <<\_ACEOF
1307
1308Optional Features:
1309  --disable-option-checking  ignore unrecognized --enable/--with options
1310  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1311  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1312  --enable-githttp        Download GIT repositories via HTTP (default is
1313                          DISABLED)
1314  --disable-xen           Disable build and install of xen
1315  --disable-tools         Disable build and install of tools
1316  --enable-stubdom        Enable build and install of stubdom
1317  --disable-docs          Disable build and install of docs
1318
1319Optional Packages:
1320  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1321  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1322  --with-initddir=DIR     Path to directory with sysv runlevel scripts.
1323                          [SYSCONFDIR/init.d]
1324  --with-sysconfig-leaf-dir=SUBDIR
1325                          Name of subdirectory in /etc to store runtime
1326                          options for runlevel scripts and daemons such as
1327                          xenstored. This should be either "sysconfig" or
1328                          "default". [sysconfig]
1329  --with-libexec-leaf-dir=SUBDIR
1330                          Name of subdirectory in libexecdir to use.
1331  --with-xen-dumpdir=DIR  Path to directory for domU crash dumps.
1332                          [LOCALSTATEDIR/lib/xen/dump]
1333  --with-rundir=DIR       Path to directory for runtime data.
1334                          [LOCALSTATEDIR/run]
1335  --with-debugdir=DIR     Path to directory for debug symbols.
1336                          [PREFIX/lib/debug]
1337
1338Report bugs to <xen-devel@lists.xen.org>.
1339Xen Hypervisor home page: <https://www.xen.org/>.
1340_ACEOF
1341ac_status=$?
1342fi
1343
1344if test "$ac_init_help" = "recursive"; then
1345  # If there are subdirs, report their specific --help.
1346  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1347    test -d "$ac_dir" ||
1348      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1349      continue
1350    ac_builddir=.
1351
1352case "$ac_dir" in
1353.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1354*)
1355  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1356  # A ".." for each directory in $ac_dir_suffix.
1357  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1358  case $ac_top_builddir_sub in
1359  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1360  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1361  esac ;;
1362esac
1363ac_abs_top_builddir=$ac_pwd
1364ac_abs_builddir=$ac_pwd$ac_dir_suffix
1365# for backward compatibility:
1366ac_top_builddir=$ac_top_build_prefix
1367
1368case $srcdir in
1369  .)  # We are building in place.
1370    ac_srcdir=.
1371    ac_top_srcdir=$ac_top_builddir_sub
1372    ac_abs_top_srcdir=$ac_pwd ;;
1373  [\\/]* | ?:[\\/]* )  # Absolute name.
1374    ac_srcdir=$srcdir$ac_dir_suffix;
1375    ac_top_srcdir=$srcdir
1376    ac_abs_top_srcdir=$srcdir ;;
1377  *) # Relative name.
1378    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1379    ac_top_srcdir=$ac_top_build_prefix$srcdir
1380    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1381esac
1382ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1383
1384    cd "$ac_dir" || { ac_status=$?; continue; }
1385    # Check for guested configure.
1386    if test -f "$ac_srcdir/configure.gnu"; then
1387      echo &&
1388      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1389    elif test -f "$ac_srcdir/configure"; then
1390      echo &&
1391      $SHELL "$ac_srcdir/configure" --help=recursive
1392    else
1393      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1394    fi || ac_status=$?
1395    cd "$ac_pwd" || { ac_status=$?; break; }
1396  done
1397fi
1398
1399test -n "$ac_init_help" && exit $ac_status
1400if $ac_init_version; then
1401  cat <<\_ACEOF
1402Xen Hypervisor configure 4.14
1403generated by GNU Autoconf 2.69
1404
1405Copyright (C) 2012 Free Software Foundation, Inc.
1406This configure script is free software; the Free Software Foundation
1407gives unlimited permission to copy, distribute and modify it.
1408_ACEOF
1409  exit
1410fi
1411
1412## ------------------------ ##
1413## Autoconf initialization. ##
1414## ------------------------ ##
1415cat >config.log <<_ACEOF
1416This file contains any messages produced by compilers while
1417running configure, to aid debugging if configure makes a mistake.
1418
1419It was created by Xen Hypervisor $as_me 4.14, which was
1420generated by GNU Autoconf 2.69.  Invocation command line was
1421
1422  $ $0 $@
1423
1424_ACEOF
1425exec 5>>config.log
1426{
1427cat <<_ASUNAME
1428## --------- ##
1429## Platform. ##
1430## --------- ##
1431
1432hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1433uname -m = `(uname -m) 2>/dev/null || echo unknown`
1434uname -r = `(uname -r) 2>/dev/null || echo unknown`
1435uname -s = `(uname -s) 2>/dev/null || echo unknown`
1436uname -v = `(uname -v) 2>/dev/null || echo unknown`
1437
1438/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1439/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1440
1441/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1442/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1443/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1444/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1445/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1446/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1447/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1448
1449_ASUNAME
1450
1451as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1452for as_dir in $PATH
1453do
1454  IFS=$as_save_IFS
1455  test -z "$as_dir" && as_dir=.
1456    $as_echo "PATH: $as_dir"
1457  done
1458IFS=$as_save_IFS
1459
1460} >&5
1461
1462cat >&5 <<_ACEOF
1463
1464
1465## ----------- ##
1466## Core tests. ##
1467## ----------- ##
1468
1469_ACEOF
1470
1471
1472# Keep a trace of the command line.
1473# Strip out --no-create and --no-recursion so they do not pile up.
1474# Strip out --silent because we don't want to record it for future runs.
1475# Also quote any args containing shell meta-characters.
1476# Make two passes to allow for proper duplicate-argument suppression.
1477ac_configure_args=
1478ac_configure_args0=
1479ac_configure_args1=
1480ac_must_keep_next=false
1481for ac_pass in 1 2
1482do
1483  for ac_arg
1484  do
1485    case $ac_arg in
1486    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1487    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1488    | -silent | --silent | --silen | --sile | --sil)
1489      continue ;;
1490    *\'*)
1491      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1492    esac
1493    case $ac_pass in
1494    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1495    2)
1496      as_fn_append ac_configure_args1 " '$ac_arg'"
1497      if test $ac_must_keep_next = true; then
1498	ac_must_keep_next=false # Got value, back to normal.
1499      else
1500	case $ac_arg in
1501	  *=* | --config-cache | -C | -disable-* | --disable-* \
1502	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1503	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1504	  | -with-* | --with-* | -without-* | --without-* | --x)
1505	    case "$ac_configure_args0 " in
1506	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1507	    esac
1508	    ;;
1509	  -* ) ac_must_keep_next=true ;;
1510	esac
1511      fi
1512      as_fn_append ac_configure_args " '$ac_arg'"
1513      ;;
1514    esac
1515  done
1516done
1517{ ac_configure_args0=; unset ac_configure_args0;}
1518{ ac_configure_args1=; unset ac_configure_args1;}
1519
1520# When interrupted or exit'd, cleanup temporary files, and complete
1521# config.log.  We remove comments because anyway the quotes in there
1522# would cause problems or look ugly.
1523# WARNING: Use '\'' to represent an apostrophe within the trap.
1524# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1525trap 'exit_status=$?
1526  # Save into config.log some information that might help in debugging.
1527  {
1528    echo
1529
1530    $as_echo "## ---------------- ##
1531## Cache variables. ##
1532## ---------------- ##"
1533    echo
1534    # The following way of writing the cache mishandles newlines in values,
1535(
1536  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1537    eval ac_val=\$$ac_var
1538    case $ac_val in #(
1539    *${as_nl}*)
1540      case $ac_var in #(
1541      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1542$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1543      esac
1544      case $ac_var in #(
1545      _ | IFS | as_nl) ;; #(
1546      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1547      *) { eval $ac_var=; unset $ac_var;} ;;
1548      esac ;;
1549    esac
1550  done
1551  (set) 2>&1 |
1552    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1553    *${as_nl}ac_space=\ *)
1554      sed -n \
1555	"s/'\''/'\''\\\\'\'''\''/g;
1556	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1557      ;; #(
1558    *)
1559      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1560      ;;
1561    esac |
1562    sort
1563)
1564    echo
1565
1566    $as_echo "## ----------------- ##
1567## Output variables. ##
1568## ----------------- ##"
1569    echo
1570    for ac_var in $ac_subst_vars
1571    do
1572      eval ac_val=\$$ac_var
1573      case $ac_val in
1574      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1575      esac
1576      $as_echo "$ac_var='\''$ac_val'\''"
1577    done | sort
1578    echo
1579
1580    if test -n "$ac_subst_files"; then
1581      $as_echo "## ------------------- ##
1582## File substitutions. ##
1583## ------------------- ##"
1584      echo
1585      for ac_var in $ac_subst_files
1586      do
1587	eval ac_val=\$$ac_var
1588	case $ac_val in
1589	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1590	esac
1591	$as_echo "$ac_var='\''$ac_val'\''"
1592      done | sort
1593      echo
1594    fi
1595
1596    if test -s confdefs.h; then
1597      $as_echo "## ----------- ##
1598## confdefs.h. ##
1599## ----------- ##"
1600      echo
1601      cat confdefs.h
1602      echo
1603    fi
1604    test "$ac_signal" != 0 &&
1605      $as_echo "$as_me: caught signal $ac_signal"
1606    $as_echo "$as_me: exit $exit_status"
1607  } >&5
1608  rm -f core *.core core.conftest.* &&
1609    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1610    exit $exit_status
1611' 0
1612for ac_signal in 1 2 13 15; do
1613  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1614done
1615ac_signal=0
1616
1617# confdefs.h avoids OS command line length limits that DEFS can exceed.
1618rm -f -r conftest* confdefs.h
1619
1620$as_echo "/* confdefs.h */" > confdefs.h
1621
1622# Predefined preprocessor variables.
1623
1624cat >>confdefs.h <<_ACEOF
1625#define PACKAGE_NAME "$PACKAGE_NAME"
1626_ACEOF
1627
1628cat >>confdefs.h <<_ACEOF
1629#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1630_ACEOF
1631
1632cat >>confdefs.h <<_ACEOF
1633#define PACKAGE_VERSION "$PACKAGE_VERSION"
1634_ACEOF
1635
1636cat >>confdefs.h <<_ACEOF
1637#define PACKAGE_STRING "$PACKAGE_STRING"
1638_ACEOF
1639
1640cat >>confdefs.h <<_ACEOF
1641#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1642_ACEOF
1643
1644cat >>confdefs.h <<_ACEOF
1645#define PACKAGE_URL "$PACKAGE_URL"
1646_ACEOF
1647
1648
1649# Let the site file select an alternate cache file if it wants to.
1650# Prefer an explicitly selected file to automatically selected ones.
1651ac_site_file1=NONE
1652ac_site_file2=NONE
1653if test -n "$CONFIG_SITE"; then
1654  # We do not want a PATH search for config.site.
1655  case $CONFIG_SITE in #((
1656    -*)  ac_site_file1=./$CONFIG_SITE;;
1657    */*) ac_site_file1=$CONFIG_SITE;;
1658    *)   ac_site_file1=./$CONFIG_SITE;;
1659  esac
1660elif test "x$prefix" != xNONE; then
1661  ac_site_file1=$prefix/share/config.site
1662  ac_site_file2=$prefix/etc/config.site
1663else
1664  ac_site_file1=$ac_default_prefix/share/config.site
1665  ac_site_file2=$ac_default_prefix/etc/config.site
1666fi
1667for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1668do
1669  test "x$ac_site_file" = xNONE && continue
1670  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1671    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1672$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1673    sed 's/^/| /' "$ac_site_file" >&5
1674    . "$ac_site_file" \
1675      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1676$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1677as_fn_error $? "failed to load site script $ac_site_file
1678See \`config.log' for more details" "$LINENO" 5; }
1679  fi
1680done
1681
1682if test -r "$cache_file"; then
1683  # Some versions of bash will fail to source /dev/null (special files
1684  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1685  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1686    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1687$as_echo "$as_me: loading cache $cache_file" >&6;}
1688    case $cache_file in
1689      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1690      *)                      . "./$cache_file";;
1691    esac
1692  fi
1693else
1694  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1695$as_echo "$as_me: creating cache $cache_file" >&6;}
1696  >$cache_file
1697fi
1698
1699# Check that the precious variables saved in the cache have kept the same
1700# value.
1701ac_cache_corrupted=false
1702for ac_var in $ac_precious_vars; do
1703  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1704  eval ac_new_set=\$ac_env_${ac_var}_set
1705  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1706  eval ac_new_val=\$ac_env_${ac_var}_value
1707  case $ac_old_set,$ac_new_set in
1708    set,)
1709      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1710$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1711      ac_cache_corrupted=: ;;
1712    ,set)
1713      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1714$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1715      ac_cache_corrupted=: ;;
1716    ,);;
1717    *)
1718      if test "x$ac_old_val" != "x$ac_new_val"; then
1719	# differences in whitespace do not lead to failure.
1720	ac_old_val_w=`echo x $ac_old_val`
1721	ac_new_val_w=`echo x $ac_new_val`
1722	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1723	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1724$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1725	  ac_cache_corrupted=:
1726	else
1727	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1728$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1729	  eval $ac_var=\$ac_old_val
1730	fi
1731	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1732$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1733	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1734$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1735      fi;;
1736  esac
1737  # Pass precious variables to config.status.
1738  if test "$ac_new_set" = set; then
1739    case $ac_new_val in
1740    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1741    *) ac_arg=$ac_var=$ac_new_val ;;
1742    esac
1743    case " $ac_configure_args " in
1744      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1745      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1746    esac
1747  fi
1748done
1749if $ac_cache_corrupted; then
1750  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1751$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1752  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1753$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1754  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1755fi
1756## -------------------- ##
1757## Main body of script. ##
1758## -------------------- ##
1759
1760ac_ext=c
1761ac_cpp='$CPP $CPPFLAGS'
1762ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1763ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1764ac_compiler_gnu=$ac_cv_c_compiler_gnu
1765
1766
1767
1768ac_config_files="$ac_config_files config/Toplevel.mk config/Paths.mk"
1769
1770
1771ac_aux_dir=
1772for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1773  if test -f "$ac_dir/install-sh"; then
1774    ac_aux_dir=$ac_dir
1775    ac_install_sh="$ac_aux_dir/install-sh -c"
1776    break
1777  elif test -f "$ac_dir/install.sh"; then
1778    ac_aux_dir=$ac_dir
1779    ac_install_sh="$ac_aux_dir/install.sh -c"
1780    break
1781  elif test -f "$ac_dir/shtool"; then
1782    ac_aux_dir=$ac_dir
1783    ac_install_sh="$ac_aux_dir/shtool install -c"
1784    break
1785  fi
1786done
1787if test -z "$ac_aux_dir"; then
1788  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1789fi
1790
1791# These three variables are undocumented and unsupported,
1792# and are intended to be withdrawn in a future Autoconf release.
1793# They can cause serious problems if a builder's source tree is in a directory
1794# whose full name contains unusual characters.
1795ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1796ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1797ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1798
1799
1800# Make sure we can run config.sub.
1801$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1802  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1803
1804{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1805$as_echo_n "checking build system type... " >&6; }
1806if ${ac_cv_build+:} false; then :
1807  $as_echo_n "(cached) " >&6
1808else
1809  ac_build_alias=$build_alias
1810test "x$ac_build_alias" = x &&
1811  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1812test "x$ac_build_alias" = x &&
1813  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1814ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1815  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1816
1817fi
1818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1819$as_echo "$ac_cv_build" >&6; }
1820case $ac_cv_build in
1821*-*-*) ;;
1822*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1823esac
1824build=$ac_cv_build
1825ac_save_IFS=$IFS; IFS='-'
1826set x $ac_cv_build
1827shift
1828build_cpu=$1
1829build_vendor=$2
1830shift; shift
1831# Remember, the first character of IFS is used to create $*,
1832# except with old shells:
1833build_os=$*
1834IFS=$ac_save_IFS
1835case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1836
1837
1838{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1839$as_echo_n "checking host system type... " >&6; }
1840if ${ac_cv_host+:} false; then :
1841  $as_echo_n "(cached) " >&6
1842else
1843  if test "x$host_alias" = x; then
1844  ac_cv_host=$ac_cv_build
1845else
1846  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1847    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1848fi
1849
1850fi
1851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1852$as_echo "$ac_cv_host" >&6; }
1853case $ac_cv_host in
1854*-*-*) ;;
1855*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1856esac
1857host=$ac_cv_host
1858ac_save_IFS=$IFS; IFS='-'
1859set x $ac_cv_host
1860shift
1861host_cpu=$1
1862host_vendor=$2
1863shift; shift
1864# Remember, the first character of IFS is used to create $*,
1865# except with old shells:
1866host_os=$*
1867IFS=$ac_save_IFS
1868case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896case "$host_os" in
1897*freebsd*) XENSTORED_KVA=/dev/xen/xenstored ;;
1898*) XENSTORED_KVA=/proc/xen/xsd_kva ;;
1899esac
1900
1901
1902case "$host_os" in
1903*freebsd*) XENSTORED_PORT=/dev/xen/xenstored ;;
1904*) XENSTORED_PORT=/proc/xen/xsd_port ;;
1905esac
1906
1907
1908
1909
1910test "x$prefix" = "xNONE" && prefix=$ac_default_prefix
1911test "x$exec_prefix" = "xNONE" && exec_prefix=${prefix}
1912
1913if test "$localstatedir" = '${prefix}/var' ; then
1914    localstatedir=/var
1915fi
1916
1917bindir=`eval echo $bindir`
1918sbindir=`eval echo $sbindir`
1919libdir=`eval echo $libdir`
1920
1921if test "x$sysconfdir" = 'x${prefix}/etc' ; then
1922    case "$host_os" in
1923         *freebsd*)
1924         sysconfdir=$prefix/etc
1925         ;;
1926         *solaris*)
1927         if test "$prefix" = "/usr" ; then
1928             sysconfdir=/etc
1929         else
1930             sysconfdir=$prefix/etc
1931         fi
1932         ;;
1933         *)
1934         sysconfdir=/etc
1935         ;;
1936    esac
1937fi
1938
1939
1940# Check whether --with-initddir was given.
1941if test "${with_initddir+set}" = set; then :
1942  withval=$with_initddir; initddir_path=$withval
1943else
1944  case "$host_os" in
1945         *linux*)
1946         if test -d $sysconfdir/rc.d/init.d ; then
1947             initddir_path=$sysconfdir/rc.d/init.d
1948         else
1949             initddir_path=$sysconfdir/init.d
1950         fi
1951         ;;
1952         *)
1953         initddir_path=$sysconfdir/rc.d
1954         ;;
1955     esac
1956fi
1957
1958
1959
1960# Check whether --with-sysconfig-leaf-dir was given.
1961if test "${with_sysconfig_leaf_dir+set}" = set; then :
1962  withval=$with_sysconfig_leaf_dir; config_leaf_dir=$withval
1963else
1964  config_leaf_dir=sysconfig
1965    if test ! -d /etc/sysconfig ; then config_leaf_dir=default ; fi
1966fi
1967
1968CONFIG_LEAF_DIR=$config_leaf_dir
1969
1970
1971
1972# Check whether --with-libexec-leaf-dir was given.
1973if test "${with_libexec_leaf_dir+set}" = set; then :
1974  withval=$with_libexec_leaf_dir; libexec_subdir=$withval
1975else
1976  libexec_subdir=$PACKAGE_TARNAME
1977fi
1978
1979
1980
1981# Check whether --with-xen-dumpdir was given.
1982if test "${with_xen_dumpdir+set}" = set; then :
1983  withval=$with_xen_dumpdir; xen_dumpdir_path=$withval
1984else
1985  xen_dumpdir_path=$localstatedir/lib/xen/dump
1986fi
1987
1988
1989
1990# Check whether --with-rundir was given.
1991if test "${with_rundir+set}" = set; then :
1992  withval=$with_rundir; rundir_path=$withval
1993else
1994  rundir_path=$localstatedir/run
1995fi
1996
1997
1998
1999# Check whether --with-debugdir was given.
2000if test "${with_debugdir+set}" = set; then :
2001  withval=$with_debugdir; debugdir_path=$withval
2002else
2003  debugdir_path=$prefix/lib/debug
2004fi
2005
2006
2007if test "$libexecdir" = '${exec_prefix}/libexec' ; then
2008    case "$host_os" in
2009         *netbsd*) ;;
2010         *)
2011         libexecdir='${exec_prefix}/lib'
2012         ;;
2013    esac
2014fi
2015LIBEXEC=`eval echo $libexecdir/$libexec_subdir`
2016
2017
2018LIBEXEC_BIN=${LIBEXEC}/bin
2019
2020LIBEXEC_LIB=${LIBEXEC}/lib
2021
2022LIBEXEC_INC=${LIBEXEC}/include
2023
2024XENFIRMWAREDIR=${LIBEXEC}/boot
2025
2026
2027XEN_RUN_DIR=$rundir_path/xen
2028
2029
2030XEN_LOG_DIR=$localstatedir/log/xen
2031
2032
2033XEN_LIB_STORED=$localstatedir/lib/xenstored
2034
2035
2036XEN_RUN_STORED=$rundir_path/xenstored
2037
2038
2039XEN_LIB_DIR=$localstatedir/lib/xen
2040
2041
2042SHAREDIR=$prefix/share
2043
2044
2045CONFIG_DIR=$sysconfdir
2046
2047
2048INITD_DIR=$initddir_path
2049
2050
2051XEN_CONFIG_DIR=$CONFIG_DIR/xen
2052
2053
2054XEN_SCRIPT_DIR=$XEN_CONFIG_DIR/scripts
2055
2056
2057case "$host_os" in
2058*freebsd*) XEN_LOCK_DIR=$localstatedir/lib ;;
2059*netbsd*) XEN_LOCK_DIR=$localstatedir/lib ;;
2060*) XEN_LOCK_DIR=$localstatedir/lock ;;
2061esac
2062
2063
2064XEN_PAGING_DIR=$localstatedir/lib/xen/xenpaging
2065
2066
2067XEN_DUMP_DIR=$xen_dumpdir_path
2068
2069
2070DEBUG_DIR=$debugdir_path
2071
2072
2073
2074# Check whether --enable-githttp was given.
2075if test "${enable_githttp+set}" = set; then :
2076  enableval=$enable_githttp;
2077fi
2078
2079
2080if test "x$enable_githttp" = "xno"; then :
2081
2082    ax_cv_githttp="n"
2083
2084elif test "x$enable_githttp" = "xyes"; then :
2085
2086    ax_cv_githttp="y"
2087
2088elif test -z $ax_cv_githttp; then :
2089
2090    ax_cv_githttp="n"
2091
2092fi
2093githttp=$ax_cv_githttp
2094
2095
2096
2097case "$host_cpu" in
2098    i[3456]86|x86_64)
2099        arch_enable_stubdom=y
2100        ;;
2101    *)
2102        arch_enable_stubdom=n
2103        ;;
2104esac
2105
2106case "$host_os" in
2107    freebsd*)
2108        arch_enable_stubdom=n
2109        ;;
2110esac
2111
2112
2113
2114
2115# Check whether --enable-xen was given.
2116if test "${enable_xen+set}" = set; then :
2117  enableval=$enable_xen;
2118
2119if test "x$enableval" = "xyes"; then :
2120
2121
2122xen=y
2123SUBSYSTEMS="$SUBSYSTEMS xen"
2124
2125
2126else
2127
2128if test "x$enableval" = "xno"; then :
2129
2130
2131xen=n
2132
2133
2134fi
2135
2136fi
2137
2138
2139else
2140
2141
2142xen=y
2143SUBSYSTEMS="$SUBSYSTEMS xen"
2144
2145
2146fi
2147
2148
2149if test -e "xen/configure"; then :
2150
2151if test "x$xen" = "xy" || test "x$xen" = "x" ; then
2152    subdirs="$subdirs xen"
2153
2154fi
2155
2156fi
2157
2158
2159
2160
2161# Check whether --enable-tools was given.
2162if test "${enable_tools+set}" = set; then :
2163  enableval=$enable_tools;
2164
2165if test "x$enableval" = "xyes"; then :
2166
2167
2168tools=y
2169SUBSYSTEMS="$SUBSYSTEMS tools"
2170
2171
2172else
2173
2174if test "x$enableval" = "xno"; then :
2175
2176
2177tools=n
2178
2179
2180fi
2181
2182fi
2183
2184
2185else
2186
2187
2188tools=y
2189SUBSYSTEMS="$SUBSYSTEMS tools"
2190
2191
2192fi
2193
2194
2195if test -e "tools/configure"; then :
2196
2197if test "x$tools" = "xy" || test "x$tools" = "x" ; then
2198    subdirs="$subdirs tools"
2199
2200fi
2201
2202fi
2203
2204
2205
2206
2207# Check whether --enable-stubdom was given.
2208if test "${enable_stubdom+set}" = set; then :
2209  enableval=$enable_stubdom;
2210
2211if test "x$enableval" = "xyes"; then :
2212
2213
2214stubdom=y
2215SUBSYSTEMS="$SUBSYSTEMS stubdom"
2216
2217
2218else
2219
2220if test "x$enableval" = "xno"; then :
2221
2222
2223stubdom=n
2224
2225
2226fi
2227
2228fi
2229
2230
2231else
2232
2233if test "x$arch_enable_stubdom" = "xy"; then :
2234
2235
2236stubdom=y
2237SUBSYSTEMS="$SUBSYSTEMS stubdom"
2238
2239
2240else
2241
2242
2243stubdom=n
2244
2245
2246fi
2247
2248fi
2249
2250
2251if test -e "stubdom/configure"; then :
2252
2253if test "x$stubdom" = "xy" || test "x$stubdom" = "x" ; then
2254    subdirs="$subdirs stubdom"
2255
2256fi
2257
2258fi
2259
2260
2261
2262
2263# Check whether --enable-docs was given.
2264if test "${enable_docs+set}" = set; then :
2265  enableval=$enable_docs;
2266
2267if test "x$enableval" = "xyes"; then :
2268
2269
2270docs=y
2271SUBSYSTEMS="$SUBSYSTEMS docs"
2272
2273
2274else
2275
2276if test "x$enableval" = "xno"; then :
2277
2278
2279docs=n
2280
2281
2282fi
2283
2284fi
2285
2286
2287else
2288
2289
2290docs=y
2291SUBSYSTEMS="$SUBSYSTEMS docs"
2292
2293
2294fi
2295
2296
2297if test -e "docs/configure"; then :
2298
2299if test "x$docs" = "xy" || test "x$docs" = "x" ; then
2300    subdirs="$subdirs docs"
2301
2302fi
2303
2304fi
2305
2306
2307
2308
2309
2310
2311echo "Will build the following subsystems:"
2312for x in $SUBSYSTEMS; do
2313	echo "  $x"
2314done
2315
2316
2317cat >confcache <<\_ACEOF
2318# This file is a shell script that caches the results of configure
2319# tests run on this system so they can be shared between configure
2320# scripts and configure runs, see configure's option --config-cache.
2321# It is not useful on other systems.  If it contains results you don't
2322# want to keep, you may remove or edit it.
2323#
2324# config.status only pays attention to the cache file if you give it
2325# the --recheck option to rerun configure.
2326#
2327# `ac_cv_env_foo' variables (set or unset) will be overridden when
2328# loading this file, other *unset* `ac_cv_foo' will be assigned the
2329# following values.
2330
2331_ACEOF
2332
2333# The following way of writing the cache mishandles newlines in values,
2334# but we know of no workaround that is simple, portable, and efficient.
2335# So, we kill variables containing newlines.
2336# Ultrix sh set writes to stderr and can't be redirected directly,
2337# and sets the high bit in the cache file unless we assign to the vars.
2338(
2339  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2340    eval ac_val=\$$ac_var
2341    case $ac_val in #(
2342    *${as_nl}*)
2343      case $ac_var in #(
2344      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2345$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2346      esac
2347      case $ac_var in #(
2348      _ | IFS | as_nl) ;; #(
2349      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2350      *) { eval $ac_var=; unset $ac_var;} ;;
2351      esac ;;
2352    esac
2353  done
2354
2355  (set) 2>&1 |
2356    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2357    *${as_nl}ac_space=\ *)
2358      # `set' does not quote correctly, so add quotes: double-quote
2359      # substitution turns \\\\ into \\, and sed turns \\ into \.
2360      sed -n \
2361	"s/'/'\\\\''/g;
2362	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2363      ;; #(
2364    *)
2365      # `set' quotes correctly as required by POSIX, so do not add quotes.
2366      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2367      ;;
2368    esac |
2369    sort
2370) |
2371  sed '
2372     /^ac_cv_env_/b end
2373     t clear
2374     :clear
2375     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2376     t end
2377     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2378     :end' >>confcache
2379if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2380  if test -w "$cache_file"; then
2381    if test "x$cache_file" != "x/dev/null"; then
2382      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2383$as_echo "$as_me: updating cache $cache_file" >&6;}
2384      if test ! -f "$cache_file" || test -h "$cache_file"; then
2385	cat confcache >"$cache_file"
2386      else
2387        case $cache_file in #(
2388        */* | ?:*)
2389	  mv -f confcache "$cache_file"$$ &&
2390	  mv -f "$cache_file"$$ "$cache_file" ;; #(
2391        *)
2392	  mv -f confcache "$cache_file" ;;
2393	esac
2394      fi
2395    fi
2396  else
2397    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2398$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2399  fi
2400fi
2401rm -f confcache
2402
2403test "x$prefix" = xNONE && prefix=$ac_default_prefix
2404# Let make expand exec_prefix.
2405test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2406
2407# Transform confdefs.h into DEFS.
2408# Protect against shell expansion while executing Makefile rules.
2409# Protect against Makefile macro expansion.
2410#
2411# If the first sed substitution is executed (which looks for macros that
2412# take arguments), then branch to the quote section.  Otherwise,
2413# look for a macro that doesn't take arguments.
2414ac_script='
2415:mline
2416/\\$/{
2417 N
2418 s,\\\n,,
2419 b mline
2420}
2421t clear
2422:clear
2423s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
2424t quote
2425s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
2426t quote
2427b any
2428:quote
2429s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2430s/\[/\\&/g
2431s/\]/\\&/g
2432s/\$/$$/g
2433H
2434:any
2435${
2436	g
2437	s/^\n//
2438	s/\n/ /g
2439	p
2440}
2441'
2442DEFS=`sed -n "$ac_script" confdefs.h`
2443
2444
2445ac_libobjs=
2446ac_ltlibobjs=
2447U=
2448for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2449  # 1. Remove the extension, and $U if already installed.
2450  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2451  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2452  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2453  #    will be set to the directory where LIBOBJS objects are built.
2454  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2455  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2456done
2457LIBOBJS=$ac_libobjs
2458
2459LTLIBOBJS=$ac_ltlibobjs
2460
2461
2462
2463: "${CONFIG_STATUS=./config.status}"
2464ac_write_fail=0
2465ac_clean_files_save=$ac_clean_files
2466ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2467{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2468$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2469as_write_fail=0
2470cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2471#! $SHELL
2472# Generated by $as_me.
2473# Run this file to recreate the current configuration.
2474# Compiler output produced by configure, useful for debugging
2475# configure, is in config.log if it exists.
2476
2477debug=false
2478ac_cs_recheck=false
2479ac_cs_silent=false
2480
2481SHELL=\${CONFIG_SHELL-$SHELL}
2482export SHELL
2483_ASEOF
2484cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2485## -------------------- ##
2486## M4sh Initialization. ##
2487## -------------------- ##
2488
2489# Be more Bourne compatible
2490DUALCASE=1; export DUALCASE # for MKS sh
2491if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2492  emulate sh
2493  NULLCMD=:
2494  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2495  # is contrary to our usage.  Disable this feature.
2496  alias -g '${1+"$@"}'='"$@"'
2497  setopt NO_GLOB_SUBST
2498else
2499  case `(set -o) 2>/dev/null` in #(
2500  *posix*) :
2501    set -o posix ;; #(
2502  *) :
2503     ;;
2504esac
2505fi
2506
2507
2508as_nl='
2509'
2510export as_nl
2511# Printing a long string crashes Solaris 7 /usr/bin/printf.
2512as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2513as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2514as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2515# Prefer a ksh shell builtin over an external printf program on Solaris,
2516# but without wasting forks for bash or zsh.
2517if test -z "$BASH_VERSION$ZSH_VERSION" \
2518    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2519  as_echo='print -r --'
2520  as_echo_n='print -rn --'
2521elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2522  as_echo='printf %s\n'
2523  as_echo_n='printf %s'
2524else
2525  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2526    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2527    as_echo_n='/usr/ucb/echo -n'
2528  else
2529    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2530    as_echo_n_body='eval
2531      arg=$1;
2532      case $arg in #(
2533      *"$as_nl"*)
2534	expr "X$arg" : "X\\(.*\\)$as_nl";
2535	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2536      esac;
2537      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2538    '
2539    export as_echo_n_body
2540    as_echo_n='sh -c $as_echo_n_body as_echo'
2541  fi
2542  export as_echo_body
2543  as_echo='sh -c $as_echo_body as_echo'
2544fi
2545
2546# The user is always right.
2547if test "${PATH_SEPARATOR+set}" != set; then
2548  PATH_SEPARATOR=:
2549  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2550    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2551      PATH_SEPARATOR=';'
2552  }
2553fi
2554
2555
2556# IFS
2557# We need space, tab and new line, in precisely that order.  Quoting is
2558# there to prevent editors from complaining about space-tab.
2559# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2560# splitting by setting IFS to empty value.)
2561IFS=" ""	$as_nl"
2562
2563# Find who we are.  Look in the path if we contain no directory separator.
2564as_myself=
2565case $0 in #((
2566  *[\\/]* ) as_myself=$0 ;;
2567  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2568for as_dir in $PATH
2569do
2570  IFS=$as_save_IFS
2571  test -z "$as_dir" && as_dir=.
2572    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2573  done
2574IFS=$as_save_IFS
2575
2576     ;;
2577esac
2578# We did not find ourselves, most probably we were run as `sh COMMAND'
2579# in which case we are not to be found in the path.
2580if test "x$as_myself" = x; then
2581  as_myself=$0
2582fi
2583if test ! -f "$as_myself"; then
2584  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2585  exit 1
2586fi
2587
2588# Unset variables that we do not need and which cause bugs (e.g. in
2589# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
2590# suppresses any "Segmentation fault" message there.  '((' could
2591# trigger a bug in pdksh 5.2.14.
2592for as_var in BASH_ENV ENV MAIL MAILPATH
2593do eval test x\${$as_var+set} = xset \
2594  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2595done
2596PS1='$ '
2597PS2='> '
2598PS4='+ '
2599
2600# NLS nuisances.
2601LC_ALL=C
2602export LC_ALL
2603LANGUAGE=C
2604export LANGUAGE
2605
2606# CDPATH.
2607(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2608
2609
2610# as_fn_error STATUS ERROR [LINENO LOG_FD]
2611# ----------------------------------------
2612# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2613# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2614# script with STATUS, using 1 if that was 0.
2615as_fn_error ()
2616{
2617  as_status=$1; test $as_status -eq 0 && as_status=1
2618  if test "$4"; then
2619    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2620    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2621  fi
2622  $as_echo "$as_me: error: $2" >&2
2623  as_fn_exit $as_status
2624} # as_fn_error
2625
2626
2627# as_fn_set_status STATUS
2628# -----------------------
2629# Set $? to STATUS, without forking.
2630as_fn_set_status ()
2631{
2632  return $1
2633} # as_fn_set_status
2634
2635# as_fn_exit STATUS
2636# -----------------
2637# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2638as_fn_exit ()
2639{
2640  set +e
2641  as_fn_set_status $1
2642  exit $1
2643} # as_fn_exit
2644
2645# as_fn_unset VAR
2646# ---------------
2647# Portably unset VAR.
2648as_fn_unset ()
2649{
2650  { eval $1=; unset $1;}
2651}
2652as_unset=as_fn_unset
2653# as_fn_append VAR VALUE
2654# ----------------------
2655# Append the text in VALUE to the end of the definition contained in VAR. Take
2656# advantage of any shell optimizations that allow amortized linear growth over
2657# repeated appends, instead of the typical quadratic growth present in naive
2658# implementations.
2659if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2660  eval 'as_fn_append ()
2661  {
2662    eval $1+=\$2
2663  }'
2664else
2665  as_fn_append ()
2666  {
2667    eval $1=\$$1\$2
2668  }
2669fi # as_fn_append
2670
2671# as_fn_arith ARG...
2672# ------------------
2673# Perform arithmetic evaluation on the ARGs, and store the result in the
2674# global $as_val. Take advantage of shells that can avoid forks. The arguments
2675# must be portable across $(()) and expr.
2676if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2677  eval 'as_fn_arith ()
2678  {
2679    as_val=$(( $* ))
2680  }'
2681else
2682  as_fn_arith ()
2683  {
2684    as_val=`expr "$@" || test $? -eq 1`
2685  }
2686fi # as_fn_arith
2687
2688
2689if expr a : '\(a\)' >/dev/null 2>&1 &&
2690   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2691  as_expr=expr
2692else
2693  as_expr=false
2694fi
2695
2696if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2697  as_basename=basename
2698else
2699  as_basename=false
2700fi
2701
2702if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2703  as_dirname=dirname
2704else
2705  as_dirname=false
2706fi
2707
2708as_me=`$as_basename -- "$0" ||
2709$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2710	 X"$0" : 'X\(//\)$' \| \
2711	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2712$as_echo X/"$0" |
2713    sed '/^.*\/\([^/][^/]*\)\/*$/{
2714	    s//\1/
2715	    q
2716	  }
2717	  /^X\/\(\/\/\)$/{
2718	    s//\1/
2719	    q
2720	  }
2721	  /^X\/\(\/\).*/{
2722	    s//\1/
2723	    q
2724	  }
2725	  s/.*/./; q'`
2726
2727# Avoid depending upon Character Ranges.
2728as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2729as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2730as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2731as_cr_digits='0123456789'
2732as_cr_alnum=$as_cr_Letters$as_cr_digits
2733
2734ECHO_C= ECHO_N= ECHO_T=
2735case `echo -n x` in #(((((
2736-n*)
2737  case `echo 'xy\c'` in
2738  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
2739  xy)  ECHO_C='\c';;
2740  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
2741       ECHO_T='	';;
2742  esac;;
2743*)
2744  ECHO_N='-n';;
2745esac
2746
2747rm -f conf$$ conf$$.exe conf$$.file
2748if test -d conf$$.dir; then
2749  rm -f conf$$.dir/conf$$.file
2750else
2751  rm -f conf$$.dir
2752  mkdir conf$$.dir 2>/dev/null
2753fi
2754if (echo >conf$$.file) 2>/dev/null; then
2755  if ln -s conf$$.file conf$$ 2>/dev/null; then
2756    as_ln_s='ln -s'
2757    # ... but there are two gotchas:
2758    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2759    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2760    # In both cases, we have to default to `cp -pR'.
2761    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2762      as_ln_s='cp -pR'
2763  elif ln conf$$.file conf$$ 2>/dev/null; then
2764    as_ln_s=ln
2765  else
2766    as_ln_s='cp -pR'
2767  fi
2768else
2769  as_ln_s='cp -pR'
2770fi
2771rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2772rmdir conf$$.dir 2>/dev/null
2773
2774
2775# as_fn_mkdir_p
2776# -------------
2777# Create "$as_dir" as a directory, including parents if necessary.
2778as_fn_mkdir_p ()
2779{
2780
2781  case $as_dir in #(
2782  -*) as_dir=./$as_dir;;
2783  esac
2784  test -d "$as_dir" || eval $as_mkdir_p || {
2785    as_dirs=
2786    while :; do
2787      case $as_dir in #(
2788      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2789      *) as_qdir=$as_dir;;
2790      esac
2791      as_dirs="'$as_qdir' $as_dirs"
2792      as_dir=`$as_dirname -- "$as_dir" ||
2793$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2794	 X"$as_dir" : 'X\(//\)[^/]' \| \
2795	 X"$as_dir" : 'X\(//\)$' \| \
2796	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2797$as_echo X"$as_dir" |
2798    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2799	    s//\1/
2800	    q
2801	  }
2802	  /^X\(\/\/\)[^/].*/{
2803	    s//\1/
2804	    q
2805	  }
2806	  /^X\(\/\/\)$/{
2807	    s//\1/
2808	    q
2809	  }
2810	  /^X\(\/\).*/{
2811	    s//\1/
2812	    q
2813	  }
2814	  s/.*/./; q'`
2815      test -d "$as_dir" && break
2816    done
2817    test -z "$as_dirs" || eval "mkdir $as_dirs"
2818  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2819
2820
2821} # as_fn_mkdir_p
2822if mkdir -p . 2>/dev/null; then
2823  as_mkdir_p='mkdir -p "$as_dir"'
2824else
2825  test -d ./-p && rmdir ./-p
2826  as_mkdir_p=false
2827fi
2828
2829
2830# as_fn_executable_p FILE
2831# -----------------------
2832# Test if FILE is an executable regular file.
2833as_fn_executable_p ()
2834{
2835  test -f "$1" && test -x "$1"
2836} # as_fn_executable_p
2837as_test_x='test -x'
2838as_executable_p=as_fn_executable_p
2839
2840# Sed expression to map a string onto a valid CPP name.
2841as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2842
2843# Sed expression to map a string onto a valid variable name.
2844as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2845
2846
2847exec 6>&1
2848## ----------------------------------- ##
2849## Main body of $CONFIG_STATUS script. ##
2850## ----------------------------------- ##
2851_ASEOF
2852test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2853
2854cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2855# Save the log message, to keep $0 and so on meaningful, and to
2856# report actual input values of CONFIG_FILES etc. instead of their
2857# values after options handling.
2858ac_log="
2859This file was extended by Xen Hypervisor $as_me 4.14, which was
2860generated by GNU Autoconf 2.69.  Invocation command line was
2861
2862  CONFIG_FILES    = $CONFIG_FILES
2863  CONFIG_HEADERS  = $CONFIG_HEADERS
2864  CONFIG_LINKS    = $CONFIG_LINKS
2865  CONFIG_COMMANDS = $CONFIG_COMMANDS
2866  $ $0 $@
2867
2868on `(hostname || uname -n) 2>/dev/null | sed 1q`
2869"
2870
2871_ACEOF
2872
2873case $ac_config_files in *"
2874"*) set x $ac_config_files; shift; ac_config_files=$*;;
2875esac
2876
2877
2878
2879cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2880# Files that config.status was made for.
2881config_files="$ac_config_files"
2882
2883_ACEOF
2884
2885cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2886ac_cs_usage="\
2887\`$as_me' instantiates files and other configuration actions
2888from templates according to the current configuration.  Unless the files
2889and actions are specified as TAGs, all are instantiated by default.
2890
2891Usage: $0 [OPTION]... [TAG]...
2892
2893  -h, --help       print this help, then exit
2894  -V, --version    print version number and configuration settings, then exit
2895      --config     print configuration, then exit
2896  -q, --quiet, --silent
2897                   do not print progress messages
2898  -d, --debug      don't remove temporary files
2899      --recheck    update $as_me by reconfiguring in the same conditions
2900      --file=FILE[:TEMPLATE]
2901                   instantiate the configuration file FILE
2902
2903Configuration files:
2904$config_files
2905
2906Report bugs to <xen-devel@lists.xen.org>.
2907Xen Hypervisor home page: <https://www.xen.org/>."
2908
2909_ACEOF
2910cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2911ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2912ac_cs_version="\\
2913Xen Hypervisor config.status 4.14
2914configured by $0, generated by GNU Autoconf 2.69,
2915  with options \\"\$ac_cs_config\\"
2916
2917Copyright (C) 2012 Free Software Foundation, Inc.
2918This config.status script is free software; the Free Software Foundation
2919gives unlimited permission to copy, distribute and modify it."
2920
2921ac_pwd='$ac_pwd'
2922srcdir='$srcdir'
2923test -n "\$AWK" || AWK=awk
2924_ACEOF
2925
2926cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2927# The default lists apply if the user does not specify any file.
2928ac_need_defaults=:
2929while test $# != 0
2930do
2931  case $1 in
2932  --*=?*)
2933    ac_option=`expr "X$1" : 'X\([^=]*\)='`
2934    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2935    ac_shift=:
2936    ;;
2937  --*=)
2938    ac_option=`expr "X$1" : 'X\([^=]*\)='`
2939    ac_optarg=
2940    ac_shift=:
2941    ;;
2942  *)
2943    ac_option=$1
2944    ac_optarg=$2
2945    ac_shift=shift
2946    ;;
2947  esac
2948
2949  case $ac_option in
2950  # Handling of the options.
2951  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2952    ac_cs_recheck=: ;;
2953  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2954    $as_echo "$ac_cs_version"; exit ;;
2955  --config | --confi | --conf | --con | --co | --c )
2956    $as_echo "$ac_cs_config"; exit ;;
2957  --debug | --debu | --deb | --de | --d | -d )
2958    debug=: ;;
2959  --file | --fil | --fi | --f )
2960    $ac_shift
2961    case $ac_optarg in
2962    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2963    '') as_fn_error $? "missing file argument" ;;
2964    esac
2965    as_fn_append CONFIG_FILES " '$ac_optarg'"
2966    ac_need_defaults=false;;
2967  --he | --h |  --help | --hel | -h )
2968    $as_echo "$ac_cs_usage"; exit ;;
2969  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2970  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2971    ac_cs_silent=: ;;
2972
2973  # This is an error.
2974  -*) as_fn_error $? "unrecognized option: \`$1'
2975Try \`$0 --help' for more information." ;;
2976
2977  *) as_fn_append ac_config_targets " $1"
2978     ac_need_defaults=false ;;
2979
2980  esac
2981  shift
2982done
2983
2984ac_configure_extra_args=
2985
2986if $ac_cs_silent; then
2987  exec 6>/dev/null
2988  ac_configure_extra_args="$ac_configure_extra_args --silent"
2989fi
2990
2991_ACEOF
2992cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2993if \$ac_cs_recheck; then
2994  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2995  shift
2996  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2997  CONFIG_SHELL='$SHELL'
2998  export CONFIG_SHELL
2999  exec "\$@"
3000fi
3001
3002_ACEOF
3003cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3004exec 5>>config.log
3005{
3006  echo
3007  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3008## Running $as_me. ##
3009_ASBOX
3010  $as_echo "$ac_log"
3011} >&5
3012
3013_ACEOF
3014cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3015_ACEOF
3016
3017cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3018
3019# Handling of arguments.
3020for ac_config_target in $ac_config_targets
3021do
3022  case $ac_config_target in
3023    "config/Toplevel.mk") CONFIG_FILES="$CONFIG_FILES config/Toplevel.mk" ;;
3024    "config/Paths.mk") CONFIG_FILES="$CONFIG_FILES config/Paths.mk" ;;
3025
3026  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3027  esac
3028done
3029
3030
3031# If the user did not use the arguments to specify the items to instantiate,
3032# then the envvar interface is used.  Set only those that are not.
3033# We use the long form for the default assignment because of an extremely
3034# bizarre bug on SunOS 4.1.3.
3035if $ac_need_defaults; then
3036  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3037fi
3038
3039# Have a temporary directory for convenience.  Make it in the build tree
3040# simply because there is no reason against having it here, and in addition,
3041# creating and moving files from /tmp can sometimes cause problems.
3042# Hook for its removal unless debugging.
3043# Note that there is a small window in which the directory will not be cleaned:
3044# after its creation but before its name has been assigned to `$tmp'.
3045$debug ||
3046{
3047  tmp= ac_tmp=
3048  trap 'exit_status=$?
3049  : "${ac_tmp:=$tmp}"
3050  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3051' 0
3052  trap 'as_fn_exit 1' 1 2 13 15
3053}
3054# Create a (secure) tmp directory for tmp files.
3055
3056{
3057  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3058  test -d "$tmp"
3059}  ||
3060{
3061  tmp=./conf$$-$RANDOM
3062  (umask 077 && mkdir "$tmp")
3063} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3064ac_tmp=$tmp
3065
3066# Set up the scripts for CONFIG_FILES section.
3067# No need to generate them if there are no CONFIG_FILES.
3068# This happens for instance with `./config.status config.h'.
3069if test -n "$CONFIG_FILES"; then
3070
3071
3072ac_cr=`echo X | tr X '\015'`
3073# On cygwin, bash can eat \r inside `` if the user requested igncr.
3074# But we know of no other shell where ac_cr would be empty at this
3075# point, so we can use a bashism as a fallback.
3076if test "x$ac_cr" = x; then
3077  eval ac_cr=\$\'\\r\'
3078fi
3079ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3080if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3081  ac_cs_awk_cr='\\r'
3082else
3083  ac_cs_awk_cr=$ac_cr
3084fi
3085
3086echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3087_ACEOF
3088
3089
3090{
3091  echo "cat >conf$$subs.awk <<_ACEOF" &&
3092  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3093  echo "_ACEOF"
3094} >conf$$subs.sh ||
3095  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3096ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3097ac_delim='%!_!# '
3098for ac_last_try in false false false false false :; do
3099  . ./conf$$subs.sh ||
3100    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3101
3102  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3103  if test $ac_delim_n = $ac_delim_num; then
3104    break
3105  elif $ac_last_try; then
3106    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3107  else
3108    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3109  fi
3110done
3111rm -f conf$$subs.sh
3112
3113cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3114cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3115_ACEOF
3116sed -n '
3117h
3118s/^/S["/; s/!.*/"]=/
3119p
3120g
3121s/^[^!]*!//
3122:repl
3123t repl
3124s/'"$ac_delim"'$//
3125t delim
3126:nl
3127h
3128s/\(.\{148\}\)..*/\1/
3129t more1
3130s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3131p
3132n
3133b repl
3134:more1
3135s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3136p
3137g
3138s/.\{148\}//
3139t nl
3140:delim
3141h
3142s/\(.\{148\}\)..*/\1/
3143t more2
3144s/["\\]/\\&/g; s/^/"/; s/$/"/
3145p
3146b
3147:more2
3148s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3149p
3150g
3151s/.\{148\}//
3152t delim
3153' <conf$$subs.awk | sed '
3154/^[^""]/{
3155  N
3156  s/\n//
3157}
3158' >>$CONFIG_STATUS || ac_write_fail=1
3159rm -f conf$$subs.awk
3160cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3161_ACAWK
3162cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3163  for (key in S) S_is_set[key] = 1
3164  FS = ""
3165
3166}
3167{
3168  line = $ 0
3169  nfields = split(line, field, "@")
3170  substed = 0
3171  len = length(field[1])
3172  for (i = 2; i < nfields; i++) {
3173    key = field[i]
3174    keylen = length(key)
3175    if (S_is_set[key]) {
3176      value = S[key]
3177      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3178      len += length(value) + length(field[++i])
3179      substed = 1
3180    } else
3181      len += 1 + keylen
3182  }
3183
3184  print line
3185}
3186
3187_ACAWK
3188_ACEOF
3189cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3190if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3191  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3192else
3193  cat
3194fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3195  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3196_ACEOF
3197
3198# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3199# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3200# trailing colons and then remove the whole line if VPATH becomes empty
3201# (actually we leave an empty line to preserve line numbers).
3202if test "x$srcdir" = x.; then
3203  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
3204h
3205s///
3206s/^/:/
3207s/[	 ]*$/:/
3208s/:\$(srcdir):/:/g
3209s/:\${srcdir}:/:/g
3210s/:@srcdir@:/:/g
3211s/^:*//
3212s/:*$//
3213x
3214s/\(=[	 ]*\).*/\1/
3215G
3216s/\n//
3217s/^[^=]*=[	 ]*$//
3218}'
3219fi
3220
3221cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3222fi # test -n "$CONFIG_FILES"
3223
3224
3225eval set X "  :F $CONFIG_FILES      "
3226shift
3227for ac_tag
3228do
3229  case $ac_tag in
3230  :[FHLC]) ac_mode=$ac_tag; continue;;
3231  esac
3232  case $ac_mode$ac_tag in
3233  :[FHL]*:*);;
3234  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3235  :[FH]-) ac_tag=-:-;;
3236  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3237  esac
3238  ac_save_IFS=$IFS
3239  IFS=:
3240  set x $ac_tag
3241  IFS=$ac_save_IFS
3242  shift
3243  ac_file=$1
3244  shift
3245
3246  case $ac_mode in
3247  :L) ac_source=$1;;
3248  :[FH])
3249    ac_file_inputs=
3250    for ac_f
3251    do
3252      case $ac_f in
3253      -) ac_f="$ac_tmp/stdin";;
3254      *) # Look for the file first in the build tree, then in the source tree
3255	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
3256	 # because $ac_f cannot contain `:'.
3257	 test -f "$ac_f" ||
3258	   case $ac_f in
3259	   [\\/$]*) false;;
3260	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3261	   esac ||
3262	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3263      esac
3264      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3265      as_fn_append ac_file_inputs " '$ac_f'"
3266    done
3267
3268    # Let's still pretend it is `configure' which instantiates (i.e., don't
3269    # use $as_me), people would be surprised to read:
3270    #    /* config.h.  Generated by config.status.  */
3271    configure_input='Generated from '`
3272	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3273	`' by configure.'
3274    if test x"$ac_file" != x-; then
3275      configure_input="$ac_file.  $configure_input"
3276      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3277$as_echo "$as_me: creating $ac_file" >&6;}
3278    fi
3279    # Neutralize special characters interpreted by sed in replacement strings.
3280    case $configure_input in #(
3281    *\&* | *\|* | *\\* )
3282       ac_sed_conf_input=`$as_echo "$configure_input" |
3283       sed 's/[\\\\&|]/\\\\&/g'`;; #(
3284    *) ac_sed_conf_input=$configure_input;;
3285    esac
3286
3287    case $ac_tag in
3288    *:-:* | *:-) cat >"$ac_tmp/stdin" \
3289      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3290    esac
3291    ;;
3292  esac
3293
3294  ac_dir=`$as_dirname -- "$ac_file" ||
3295$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3296	 X"$ac_file" : 'X\(//\)[^/]' \| \
3297	 X"$ac_file" : 'X\(//\)$' \| \
3298	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3299$as_echo X"$ac_file" |
3300    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3301	    s//\1/
3302	    q
3303	  }
3304	  /^X\(\/\/\)[^/].*/{
3305	    s//\1/
3306	    q
3307	  }
3308	  /^X\(\/\/\)$/{
3309	    s//\1/
3310	    q
3311	  }
3312	  /^X\(\/\).*/{
3313	    s//\1/
3314	    q
3315	  }
3316	  s/.*/./; q'`
3317  as_dir="$ac_dir"; as_fn_mkdir_p
3318  ac_builddir=.
3319
3320case "$ac_dir" in
3321.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3322*)
3323  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3324  # A ".." for each directory in $ac_dir_suffix.
3325  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3326  case $ac_top_builddir_sub in
3327  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3328  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3329  esac ;;
3330esac
3331ac_abs_top_builddir=$ac_pwd
3332ac_abs_builddir=$ac_pwd$ac_dir_suffix
3333# for backward compatibility:
3334ac_top_builddir=$ac_top_build_prefix
3335
3336case $srcdir in
3337  .)  # We are building in place.
3338    ac_srcdir=.
3339    ac_top_srcdir=$ac_top_builddir_sub
3340    ac_abs_top_srcdir=$ac_pwd ;;
3341  [\\/]* | ?:[\\/]* )  # Absolute name.
3342    ac_srcdir=$srcdir$ac_dir_suffix;
3343    ac_top_srcdir=$srcdir
3344    ac_abs_top_srcdir=$srcdir ;;
3345  *) # Relative name.
3346    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3347    ac_top_srcdir=$ac_top_build_prefix$srcdir
3348    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3349esac
3350ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3351
3352
3353  case $ac_mode in
3354  :F)
3355  #
3356  # CONFIG_FILE
3357  #
3358
3359_ACEOF
3360
3361cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3362# If the template does not know about datarootdir, expand it.
3363# FIXME: This hack should be removed a few years after 2.60.
3364ac_datarootdir_hack=; ac_datarootdir_seen=
3365ac_sed_dataroot='
3366/datarootdir/ {
3367  p
3368  q
3369}
3370/@datadir@/p
3371/@docdir@/p
3372/@infodir@/p
3373/@localedir@/p
3374/@mandir@/p'
3375case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3376*datarootdir*) ac_datarootdir_seen=yes;;
3377*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3378  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3379$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3380_ACEOF
3381cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3382  ac_datarootdir_hack='
3383  s&@datadir@&$datadir&g
3384  s&@docdir@&$docdir&g
3385  s&@infodir@&$infodir&g
3386  s&@localedir@&$localedir&g
3387  s&@mandir@&$mandir&g
3388  s&\\\${datarootdir}&$datarootdir&g' ;;
3389esac
3390_ACEOF
3391
3392# Neutralize VPATH when `$srcdir' = `.'.
3393# Shell code in configure.ac might set extrasub.
3394# FIXME: do we really want to maintain this feature?
3395cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3396ac_sed_extra="$ac_vpsub
3397$extrasub
3398_ACEOF
3399cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3400:t
3401/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3402s|@configure_input@|$ac_sed_conf_input|;t t
3403s&@top_builddir@&$ac_top_builddir_sub&;t t
3404s&@top_build_prefix@&$ac_top_build_prefix&;t t
3405s&@srcdir@&$ac_srcdir&;t t
3406s&@abs_srcdir@&$ac_abs_srcdir&;t t
3407s&@top_srcdir@&$ac_top_srcdir&;t t
3408s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3409s&@builddir@&$ac_builddir&;t t
3410s&@abs_builddir@&$ac_abs_builddir&;t t
3411s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3412$ac_datarootdir_hack
3413"
3414eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3415  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3416
3417test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3418  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3419  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
3420      "$ac_tmp/out"`; test -z "$ac_out"; } &&
3421  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3422which seems to be undefined.  Please make sure it is defined" >&5
3423$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3424which seems to be undefined.  Please make sure it is defined" >&2;}
3425
3426  rm -f "$ac_tmp/stdin"
3427  case $ac_file in
3428  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3429  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3430  esac \
3431  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3432 ;;
3433
3434
3435
3436  esac
3437
3438done # for ac_tag
3439
3440
3441as_fn_exit 0
3442_ACEOF
3443ac_clean_files=$ac_clean_files_save
3444
3445test $ac_write_fail = 0 ||
3446  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3447
3448
3449# configure is writing to config.log, and then calls config.status.
3450# config.status does its own redirection, appending to config.log.
3451# Unfortunately, on DOS this fails, as config.log is still kept open
3452# by configure, so config.status won't be able to write to it; its
3453# output is simply discarded.  So we exec the FD to /dev/null,
3454# effectively closing config.log, so it can be properly (re)opened and
3455# appended to by config.status.  When coming back to configure, we
3456# need to make the FD available again.
3457if test "$no_create" != yes; then
3458  ac_cs_success=:
3459  ac_config_status_args=
3460  test "$silent" = yes &&
3461    ac_config_status_args="$ac_config_status_args --quiet"
3462  exec 5>/dev/null
3463  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3464  exec 5>>config.log
3465  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3466  # would make configure fail if this is the last instruction.
3467  $ac_cs_success || as_fn_exit 1
3468fi
3469
3470#
3471# CONFIG_SUBDIRS section.
3472#
3473if test "$no_recursion" != yes; then
3474
3475  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
3476  # so they do not pile up.
3477  ac_sub_configure_args=
3478  ac_prev=
3479  eval "set x $ac_configure_args"
3480  shift
3481  for ac_arg
3482  do
3483    if test -n "$ac_prev"; then
3484      ac_prev=
3485      continue
3486    fi
3487    case $ac_arg in
3488    -cache-file | --cache-file | --cache-fil | --cache-fi \
3489    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3490      ac_prev=cache_file ;;
3491    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3492    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3493    | --c=*)
3494      ;;
3495    --config-cache | -C)
3496      ;;
3497    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3498      ac_prev=srcdir ;;
3499    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3500      ;;
3501    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3502      ac_prev=prefix ;;
3503    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3504      ;;
3505    --disable-option-checking)
3506      ;;
3507    *)
3508      case $ac_arg in
3509      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3510      esac
3511      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
3512    esac
3513  done
3514
3515  # Always prepend --prefix to ensure using the same prefix
3516  # in subdir configurations.
3517  ac_arg="--prefix=$prefix"
3518  case $ac_arg in
3519  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3520  esac
3521  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
3522
3523  # Pass --silent
3524  if test "$silent" = yes; then
3525    ac_sub_configure_args="--silent $ac_sub_configure_args"
3526  fi
3527
3528  # Always prepend --disable-option-checking to silence warnings, since
3529  # different subdirs can have different --enable and --with options.
3530  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
3531
3532  ac_popdir=`pwd`
3533  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
3534
3535    # Do not complain, so a configure script can configure whichever
3536    # parts of a large source tree are present.
3537    test -d "$srcdir/$ac_dir" || continue
3538
3539    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
3540    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
3541    $as_echo "$ac_msg" >&6
3542    as_dir="$ac_dir"; as_fn_mkdir_p
3543    ac_builddir=.
3544
3545case "$ac_dir" in
3546.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3547*)
3548  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3549  # A ".." for each directory in $ac_dir_suffix.
3550  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3551  case $ac_top_builddir_sub in
3552  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3553  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3554  esac ;;
3555esac
3556ac_abs_top_builddir=$ac_pwd
3557ac_abs_builddir=$ac_pwd$ac_dir_suffix
3558# for backward compatibility:
3559ac_top_builddir=$ac_top_build_prefix
3560
3561case $srcdir in
3562  .)  # We are building in place.
3563    ac_srcdir=.
3564    ac_top_srcdir=$ac_top_builddir_sub
3565    ac_abs_top_srcdir=$ac_pwd ;;
3566  [\\/]* | ?:[\\/]* )  # Absolute name.
3567    ac_srcdir=$srcdir$ac_dir_suffix;
3568    ac_top_srcdir=$srcdir
3569    ac_abs_top_srcdir=$srcdir ;;
3570  *) # Relative name.
3571    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3572    ac_top_srcdir=$ac_top_build_prefix$srcdir
3573    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3574esac
3575ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3576
3577
3578    cd "$ac_dir"
3579
3580    # Check for guested configure; otherwise get Cygnus style configure.
3581    if test -f "$ac_srcdir/configure.gnu"; then
3582      ac_sub_configure=$ac_srcdir/configure.gnu
3583    elif test -f "$ac_srcdir/configure"; then
3584      ac_sub_configure=$ac_srcdir/configure
3585    elif test -f "$ac_srcdir/configure.in"; then
3586      # This should be Cygnus configure.
3587      ac_sub_configure=$ac_aux_dir/configure
3588    else
3589      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
3590$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
3591      ac_sub_configure=
3592    fi
3593
3594    # The recursion is here.
3595    if test -n "$ac_sub_configure"; then
3596      # Make the cache file name correct relative to the subdirectory.
3597      case $cache_file in
3598      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
3599      *) # Relative name.
3600	ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
3601      esac
3602
3603      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3604$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
3605      # The eval makes quoting arguments work.
3606      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
3607	   --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
3608	as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
3609    fi
3610
3611    cd "$ac_popdir"
3612  done
3613fi
3614if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3615  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3616$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3617fi
3618
3619