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