1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for xtensa-hal RF-2015.2.
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='xtensa-hal'
578PACKAGE_TARNAME='xtensa-hal'
579PACKAGE_VERSION='RF-2015.2'
580PACKAGE_STRING='xtensa-hal RF-2015.2'
581PACKAGE_BUGREPORT=''
582PACKAGE_URL=''
583
584ac_unique_file="src/hal/attribute.c"
585ac_subst_vars='am__EXEEXT_FALSE
586am__EXEEXT_TRUE
587LTLIBOBJS
588LIBOBJS
589XTENSA_CALL0_ABI_FALSE
590XTENSA_CALL0_ABI_TRUE
591RANLIB
592ac_ct_AR
593AR
594am__fastdepCCAS_FALSE
595am__fastdepCCAS_TRUE
596CCASDEPMODE
597CCASFLAGS
598CCAS
599am__fastdepCC_FALSE
600am__fastdepCC_TRUE
601CCDEPMODE
602am__nodep
603AMDEPBACKSLASH
604AMDEP_FALSE
605AMDEP_TRUE
606am__quote
607am__include
608DEPDIR
609OBJEXT
610EXEEXT
611ac_ct_CC
612CPPFLAGS
613LDFLAGS
614CFLAGS
615CC
616host_os
617host_vendor
618host_cpu
619host
620build_os
621build_vendor
622build_cpu
623build
624AM_BACKSLASH
625AM_DEFAULT_VERBOSITY
626AM_DEFAULT_V
627AM_V
628am__untar
629am__tar
630AMTAR
631am__leading_dot
632SET_MAKE
633AWK
634mkdir_p
635MKDIR_P
636INSTALL_STRIP_PROGRAM
637STRIP
638install_sh
639MAKEINFO
640AUTOHEADER
641AUTOMAKE
642AUTOCONF
643ACLOCAL
644VERSION
645PACKAGE
646CYGPATH_W
647am__isrc
648INSTALL_DATA
649INSTALL_SCRIPT
650INSTALL_PROGRAM
651target_alias
652host_alias
653build_alias
654LIBS
655ECHO_T
656ECHO_N
657ECHO_C
658DEFS
659mandir
660localedir
661libdir
662psdir
663pdfdir
664dvidir
665htmldir
666infodir
667docdir
668oldincludedir
669includedir
670localstatedir
671sharedstatedir
672sysconfdir
673datadir
674datarootdir
675libexecdir
676sbindir
677bindir
678program_transform_name
679prefix
680exec_prefix
681PACKAGE_URL
682PACKAGE_BUGREPORT
683PACKAGE_STRING
684PACKAGE_VERSION
685PACKAGE_TARNAME
686PACKAGE_NAME
687PATH_SEPARATOR
688SHELL'
689ac_subst_files=''
690ac_user_opts='
691enable_option_checking
692enable_silent_rules
693enable_dependency_tracking
694'
695      ac_precious_vars='build_alias
696host_alias
697target_alias
698CC
699CFLAGS
700LDFLAGS
701LIBS
702CPPFLAGS
703CCAS
704CCASFLAGS'
705
706
707# Initialize some variables set by options.
708ac_init_help=
709ac_init_version=false
710ac_unrecognized_opts=
711ac_unrecognized_sep=
712# The variables have the same names as the options, with
713# dashes changed to underlines.
714cache_file=/dev/null
715exec_prefix=NONE
716no_create=
717no_recursion=
718prefix=NONE
719program_prefix=NONE
720program_suffix=NONE
721program_transform_name=s,x,x,
722silent=
723site=
724srcdir=
725verbose=
726x_includes=NONE
727x_libraries=NONE
728
729# Installation directory options.
730# These are left unexpanded so users can "make install exec_prefix=/foo"
731# and all the variables that are supposed to be based on exec_prefix
732# by default will actually change.
733# Use braces instead of parens because sh, perl, etc. also accept them.
734# (The list follows the same order as the GNU Coding Standards.)
735bindir='${exec_prefix}/bin'
736sbindir='${exec_prefix}/sbin'
737libexecdir='${exec_prefix}/libexec'
738datarootdir='${prefix}/share'
739datadir='${datarootdir}'
740sysconfdir='${prefix}/etc'
741sharedstatedir='${prefix}/com'
742localstatedir='${prefix}/var'
743includedir='${prefix}/include'
744oldincludedir='/usr/include'
745docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
746infodir='${datarootdir}/info'
747htmldir='${docdir}'
748dvidir='${docdir}'
749pdfdir='${docdir}'
750psdir='${docdir}'
751libdir='${exec_prefix}/lib'
752localedir='${datarootdir}/locale'
753mandir='${datarootdir}/man'
754
755ac_prev=
756ac_dashdash=
757for ac_option
758do
759  # If the previous option needs an argument, assign it.
760  if test -n "$ac_prev"; then
761    eval $ac_prev=\$ac_option
762    ac_prev=
763    continue
764  fi
765
766  case $ac_option in
767  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
768  *=)   ac_optarg= ;;
769  *)    ac_optarg=yes ;;
770  esac
771
772  # Accept the important Cygnus configure options, so we can diagnose typos.
773
774  case $ac_dashdash$ac_option in
775  --)
776    ac_dashdash=yes ;;
777
778  -bindir | --bindir | --bindi | --bind | --bin | --bi)
779    ac_prev=bindir ;;
780  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
781    bindir=$ac_optarg ;;
782
783  -build | --build | --buil | --bui | --bu)
784    ac_prev=build_alias ;;
785  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
786    build_alias=$ac_optarg ;;
787
788  -cache-file | --cache-file | --cache-fil | --cache-fi \
789  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
790    ac_prev=cache_file ;;
791  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
792  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
793    cache_file=$ac_optarg ;;
794
795  --config-cache | -C)
796    cache_file=config.cache ;;
797
798  -datadir | --datadir | --datadi | --datad)
799    ac_prev=datadir ;;
800  -datadir=* | --datadir=* | --datadi=* | --datad=*)
801    datadir=$ac_optarg ;;
802
803  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
804  | --dataroo | --dataro | --datar)
805    ac_prev=datarootdir ;;
806  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
807  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
808    datarootdir=$ac_optarg ;;
809
810  -disable-* | --disable-*)
811    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
812    # Reject names that are not valid shell variable names.
813    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
814      as_fn_error $? "invalid feature name: $ac_useropt"
815    ac_useropt_orig=$ac_useropt
816    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
817    case $ac_user_opts in
818      *"
819"enable_$ac_useropt"
820"*) ;;
821      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
822	 ac_unrecognized_sep=', ';;
823    esac
824    eval enable_$ac_useropt=no ;;
825
826  -docdir | --docdir | --docdi | --doc | --do)
827    ac_prev=docdir ;;
828  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
829    docdir=$ac_optarg ;;
830
831  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
832    ac_prev=dvidir ;;
833  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
834    dvidir=$ac_optarg ;;
835
836  -enable-* | --enable-*)
837    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
838    # Reject names that are not valid shell variable names.
839    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
840      as_fn_error $? "invalid feature name: $ac_useropt"
841    ac_useropt_orig=$ac_useropt
842    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
843    case $ac_user_opts in
844      *"
845"enable_$ac_useropt"
846"*) ;;
847      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
848	 ac_unrecognized_sep=', ';;
849    esac
850    eval enable_$ac_useropt=\$ac_optarg ;;
851
852  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
853  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
854  | --exec | --exe | --ex)
855    ac_prev=exec_prefix ;;
856  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
857  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
858  | --exec=* | --exe=* | --ex=*)
859    exec_prefix=$ac_optarg ;;
860
861  -gas | --gas | --ga | --g)
862    # Obsolete; use --with-gas.
863    with_gas=yes ;;
864
865  -help | --help | --hel | --he | -h)
866    ac_init_help=long ;;
867  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
868    ac_init_help=recursive ;;
869  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
870    ac_init_help=short ;;
871
872  -host | --host | --hos | --ho)
873    ac_prev=host_alias ;;
874  -host=* | --host=* | --hos=* | --ho=*)
875    host_alias=$ac_optarg ;;
876
877  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
878    ac_prev=htmldir ;;
879  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
880  | --ht=*)
881    htmldir=$ac_optarg ;;
882
883  -includedir | --includedir | --includedi | --included | --include \
884  | --includ | --inclu | --incl | --inc)
885    ac_prev=includedir ;;
886  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
887  | --includ=* | --inclu=* | --incl=* | --inc=*)
888    includedir=$ac_optarg ;;
889
890  -infodir | --infodir | --infodi | --infod | --info | --inf)
891    ac_prev=infodir ;;
892  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
893    infodir=$ac_optarg ;;
894
895  -libdir | --libdir | --libdi | --libd)
896    ac_prev=libdir ;;
897  -libdir=* | --libdir=* | --libdi=* | --libd=*)
898    libdir=$ac_optarg ;;
899
900  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
901  | --libexe | --libex | --libe)
902    ac_prev=libexecdir ;;
903  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
904  | --libexe=* | --libex=* | --libe=*)
905    libexecdir=$ac_optarg ;;
906
907  -localedir | --localedir | --localedi | --localed | --locale)
908    ac_prev=localedir ;;
909  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
910    localedir=$ac_optarg ;;
911
912  -localstatedir | --localstatedir | --localstatedi | --localstated \
913  | --localstate | --localstat | --localsta | --localst | --locals)
914    ac_prev=localstatedir ;;
915  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
916  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
917    localstatedir=$ac_optarg ;;
918
919  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
920    ac_prev=mandir ;;
921  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
922    mandir=$ac_optarg ;;
923
924  -nfp | --nfp | --nf)
925    # Obsolete; use --without-fp.
926    with_fp=no ;;
927
928  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
929  | --no-cr | --no-c | -n)
930    no_create=yes ;;
931
932  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
933  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
934    no_recursion=yes ;;
935
936  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
937  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
938  | --oldin | --oldi | --old | --ol | --o)
939    ac_prev=oldincludedir ;;
940  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
941  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
942  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
943    oldincludedir=$ac_optarg ;;
944
945  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
946    ac_prev=prefix ;;
947  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
948    prefix=$ac_optarg ;;
949
950  -program-prefix | --program-prefix | --program-prefi | --program-pref \
951  | --program-pre | --program-pr | --program-p)
952    ac_prev=program_prefix ;;
953  -program-prefix=* | --program-prefix=* | --program-prefi=* \
954  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
955    program_prefix=$ac_optarg ;;
956
957  -program-suffix | --program-suffix | --program-suffi | --program-suff \
958  | --program-suf | --program-su | --program-s)
959    ac_prev=program_suffix ;;
960  -program-suffix=* | --program-suffix=* | --program-suffi=* \
961  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
962    program_suffix=$ac_optarg ;;
963
964  -program-transform-name | --program-transform-name \
965  | --program-transform-nam | --program-transform-na \
966  | --program-transform-n | --program-transform- \
967  | --program-transform | --program-transfor \
968  | --program-transfo | --program-transf \
969  | --program-trans | --program-tran \
970  | --progr-tra | --program-tr | --program-t)
971    ac_prev=program_transform_name ;;
972  -program-transform-name=* | --program-transform-name=* \
973  | --program-transform-nam=* | --program-transform-na=* \
974  | --program-transform-n=* | --program-transform-=* \
975  | --program-transform=* | --program-transfor=* \
976  | --program-transfo=* | --program-transf=* \
977  | --program-trans=* | --program-tran=* \
978  | --progr-tra=* | --program-tr=* | --program-t=*)
979    program_transform_name=$ac_optarg ;;
980
981  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
982    ac_prev=pdfdir ;;
983  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
984    pdfdir=$ac_optarg ;;
985
986  -psdir | --psdir | --psdi | --psd | --ps)
987    ac_prev=psdir ;;
988  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
989    psdir=$ac_optarg ;;
990
991  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
992  | -silent | --silent | --silen | --sile | --sil)
993    silent=yes ;;
994
995  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
996    ac_prev=sbindir ;;
997  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
998  | --sbi=* | --sb=*)
999    sbindir=$ac_optarg ;;
1000
1001  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1002  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1003  | --sharedst | --shareds | --shared | --share | --shar \
1004  | --sha | --sh)
1005    ac_prev=sharedstatedir ;;
1006  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1007  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1008  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1009  | --sha=* | --sh=*)
1010    sharedstatedir=$ac_optarg ;;
1011
1012  -site | --site | --sit)
1013    ac_prev=site ;;
1014  -site=* | --site=* | --sit=*)
1015    site=$ac_optarg ;;
1016
1017  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1018    ac_prev=srcdir ;;
1019  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1020    srcdir=$ac_optarg ;;
1021
1022  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1023  | --syscon | --sysco | --sysc | --sys | --sy)
1024    ac_prev=sysconfdir ;;
1025  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1026  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1027    sysconfdir=$ac_optarg ;;
1028
1029  -target | --target | --targe | --targ | --tar | --ta | --t)
1030    ac_prev=target_alias ;;
1031  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1032    target_alias=$ac_optarg ;;
1033
1034  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1035    verbose=yes ;;
1036
1037  -version | --version | --versio | --versi | --vers | -V)
1038    ac_init_version=: ;;
1039
1040  -with-* | --with-*)
1041    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1042    # Reject names that are not valid shell variable names.
1043    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1044      as_fn_error $? "invalid package name: $ac_useropt"
1045    ac_useropt_orig=$ac_useropt
1046    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1047    case $ac_user_opts in
1048      *"
1049"with_$ac_useropt"
1050"*) ;;
1051      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1052	 ac_unrecognized_sep=', ';;
1053    esac
1054    eval with_$ac_useropt=\$ac_optarg ;;
1055
1056  -without-* | --without-*)
1057    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1058    # Reject names that are not valid shell variable names.
1059    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1060      as_fn_error $? "invalid package name: $ac_useropt"
1061    ac_useropt_orig=$ac_useropt
1062    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1063    case $ac_user_opts in
1064      *"
1065"with_$ac_useropt"
1066"*) ;;
1067      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1068	 ac_unrecognized_sep=', ';;
1069    esac
1070    eval with_$ac_useropt=no ;;
1071
1072  --x)
1073    # Obsolete; use --with-x.
1074    with_x=yes ;;
1075
1076  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1077  | --x-incl | --x-inc | --x-in | --x-i)
1078    ac_prev=x_includes ;;
1079  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1080  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1081    x_includes=$ac_optarg ;;
1082
1083  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1084  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1085    ac_prev=x_libraries ;;
1086  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1087  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1088    x_libraries=$ac_optarg ;;
1089
1090  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1091Try \`$0 --help' for more information"
1092    ;;
1093
1094  *=*)
1095    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1096    # Reject names that are not valid shell variable names.
1097    case $ac_envvar in #(
1098      '' | [0-9]* | *[!_$as_cr_alnum]* )
1099      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1100    esac
1101    eval $ac_envvar=\$ac_optarg
1102    export $ac_envvar ;;
1103
1104  *)
1105    # FIXME: should be removed in autoconf 3.0.
1106    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1107    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1108      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1109    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1110    ;;
1111
1112  esac
1113done
1114
1115if test -n "$ac_prev"; then
1116  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1117  as_fn_error $? "missing argument to $ac_option"
1118fi
1119
1120if test -n "$ac_unrecognized_opts"; then
1121  case $enable_option_checking in
1122    no) ;;
1123    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1124    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1125  esac
1126fi
1127
1128# Check all directory arguments for consistency.
1129for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1130		datadir sysconfdir sharedstatedir localstatedir includedir \
1131		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1132		libdir localedir mandir
1133do
1134  eval ac_val=\$$ac_var
1135  # Remove trailing slashes.
1136  case $ac_val in
1137    */ )
1138      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1139      eval $ac_var=\$ac_val;;
1140  esac
1141  # Be sure to have absolute directory names.
1142  case $ac_val in
1143    [\\/$]* | ?:[\\/]* )  continue;;
1144    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1145  esac
1146  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1147done
1148
1149# There might be people who depend on the old broken behavior: `$host'
1150# used to hold the argument of --host etc.
1151# FIXME: To remove some day.
1152build=$build_alias
1153host=$host_alias
1154target=$target_alias
1155
1156# FIXME: To remove some day.
1157if test "x$host_alias" != x; then
1158  if test "x$build_alias" = x; then
1159    cross_compiling=maybe
1160  elif test "x$build_alias" != "x$host_alias"; then
1161    cross_compiling=yes
1162  fi
1163fi
1164
1165ac_tool_prefix=
1166test -n "$host_alias" && ac_tool_prefix=$host_alias-
1167
1168test "$silent" = yes && exec 6>/dev/null
1169
1170
1171ac_pwd=`pwd` && test -n "$ac_pwd" &&
1172ac_ls_di=`ls -di .` &&
1173ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1174  as_fn_error $? "working directory cannot be determined"
1175test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1176  as_fn_error $? "pwd does not report name of working directory"
1177
1178
1179# Find the source files, if location was not specified.
1180if test -z "$srcdir"; then
1181  ac_srcdir_defaulted=yes
1182  # Try the directory containing this script, then the parent directory.
1183  ac_confdir=`$as_dirname -- "$as_myself" ||
1184$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1185	 X"$as_myself" : 'X\(//\)[^/]' \| \
1186	 X"$as_myself" : 'X\(//\)$' \| \
1187	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1188$as_echo X"$as_myself" |
1189    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1190	    s//\1/
1191	    q
1192	  }
1193	  /^X\(\/\/\)[^/].*/{
1194	    s//\1/
1195	    q
1196	  }
1197	  /^X\(\/\/\)$/{
1198	    s//\1/
1199	    q
1200	  }
1201	  /^X\(\/\).*/{
1202	    s//\1/
1203	    q
1204	  }
1205	  s/.*/./; q'`
1206  srcdir=$ac_confdir
1207  if test ! -r "$srcdir/$ac_unique_file"; then
1208    srcdir=..
1209  fi
1210else
1211  ac_srcdir_defaulted=no
1212fi
1213if test ! -r "$srcdir/$ac_unique_file"; then
1214  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1215  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1216fi
1217ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1218ac_abs_confdir=`(
1219	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1220	pwd)`
1221# When building in place, set srcdir=.
1222if test "$ac_abs_confdir" = "$ac_pwd"; then
1223  srcdir=.
1224fi
1225# Remove unnecessary trailing slashes from srcdir.
1226# Double slashes in file names in object file debugging info
1227# mess up M-x gdb in Emacs.
1228case $srcdir in
1229*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1230esac
1231for ac_var in $ac_precious_vars; do
1232  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1233  eval ac_env_${ac_var}_value=\$${ac_var}
1234  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1235  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1236done
1237
1238#
1239# Report the --help message.
1240#
1241if test "$ac_init_help" = "long"; then
1242  # Omit some internal or obsolete options to make the list less imposing.
1243  # This message is too long to be a string in the A/UX 3.1 sh.
1244  cat <<_ACEOF
1245\`configure' configures xtensa-hal RF-2015.2 to adapt to many kinds of systems.
1246
1247Usage: $0 [OPTION]... [VAR=VALUE]...
1248
1249To assign environment variables (e.g., CC, CFLAGS...), specify them as
1250VAR=VALUE.  See below for descriptions of some of the useful variables.
1251
1252Defaults for the options are specified in brackets.
1253
1254Configuration:
1255  -h, --help              display this help and exit
1256      --help=short        display options specific to this package
1257      --help=recursive    display the short help of all the included packages
1258  -V, --version           display version information and exit
1259  -q, --quiet, --silent   do not print \`checking ...' messages
1260      --cache-file=FILE   cache test results in FILE [disabled]
1261  -C, --config-cache      alias for \`--cache-file=config.cache'
1262  -n, --no-create         do not create output files
1263      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1264
1265Installation directories:
1266  --prefix=PREFIX         install architecture-independent files in PREFIX
1267                          [$ac_default_prefix]
1268  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1269                          [PREFIX]
1270
1271By default, \`make install' will install all the files in
1272\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1273an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1274for instance \`--prefix=\$HOME'.
1275
1276For better control, use the options below.
1277
1278Fine tuning of the installation directories:
1279  --bindir=DIR            user executables [EPREFIX/bin]
1280  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1281  --libexecdir=DIR        program executables [EPREFIX/libexec]
1282  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1283  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1284  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1285  --libdir=DIR            object code libraries [EPREFIX/lib]
1286  --includedir=DIR        C header files [PREFIX/include]
1287  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1288  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1289  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1290  --infodir=DIR           info documentation [DATAROOTDIR/info]
1291  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1292  --mandir=DIR            man documentation [DATAROOTDIR/man]
1293  --docdir=DIR            documentation root [DATAROOTDIR/doc/xtensa-hal]
1294  --htmldir=DIR           html documentation [DOCDIR]
1295  --dvidir=DIR            dvi documentation [DOCDIR]
1296  --pdfdir=DIR            pdf documentation [DOCDIR]
1297  --psdir=DIR             ps documentation [DOCDIR]
1298_ACEOF
1299
1300  cat <<\_ACEOF
1301
1302Program names:
1303  --program-prefix=PREFIX            prepend PREFIX to installed program names
1304  --program-suffix=SUFFIX            append SUFFIX to installed program names
1305  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1306
1307System types:
1308  --build=BUILD     configure for building on BUILD [guessed]
1309  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1310_ACEOF
1311fi
1312
1313if test -n "$ac_init_help"; then
1314  case $ac_init_help in
1315     short | recursive ) echo "Configuration of xtensa-hal RF-2015.2:";;
1316   esac
1317  cat <<\_ACEOF
1318
1319Optional Features:
1320  --disable-option-checking  ignore unrecognized --enable/--with options
1321  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1322  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1323  --enable-silent-rules   less verbose build output (undo: "make V=1")
1324  --disable-silent-rules  verbose build output (undo: "make V=0")
1325  --enable-dependency-tracking
1326                          do not reject slow dependency extractors
1327  --disable-dependency-tracking
1328                          speeds up one-time build
1329
1330Some influential environment variables:
1331  CC          C compiler command
1332  CFLAGS      C compiler flags
1333  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1334              nonstandard directory <lib dir>
1335  LIBS        libraries to pass to the linker, e.g. -l<library>
1336  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1337              you have headers in a nonstandard directory <include dir>
1338  CCAS        assembler compiler command (defaults to CC)
1339  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1340
1341Use these variables to override the choices made by `configure' or to help
1342it to find libraries and programs with nonstandard names/locations.
1343
1344Report bugs to the package provider.
1345_ACEOF
1346ac_status=$?
1347fi
1348
1349if test "$ac_init_help" = "recursive"; then
1350  # If there are subdirs, report their specific --help.
1351  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1352    test -d "$ac_dir" ||
1353      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1354      continue
1355    ac_builddir=.
1356
1357case "$ac_dir" in
1358.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1359*)
1360  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1361  # A ".." for each directory in $ac_dir_suffix.
1362  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1363  case $ac_top_builddir_sub in
1364  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1365  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1366  esac ;;
1367esac
1368ac_abs_top_builddir=$ac_pwd
1369ac_abs_builddir=$ac_pwd$ac_dir_suffix
1370# for backward compatibility:
1371ac_top_builddir=$ac_top_build_prefix
1372
1373case $srcdir in
1374  .)  # We are building in place.
1375    ac_srcdir=.
1376    ac_top_srcdir=$ac_top_builddir_sub
1377    ac_abs_top_srcdir=$ac_pwd ;;
1378  [\\/]* | ?:[\\/]* )  # Absolute name.
1379    ac_srcdir=$srcdir$ac_dir_suffix;
1380    ac_top_srcdir=$srcdir
1381    ac_abs_top_srcdir=$srcdir ;;
1382  *) # Relative name.
1383    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1384    ac_top_srcdir=$ac_top_build_prefix$srcdir
1385    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1386esac
1387ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1388
1389    cd "$ac_dir" || { ac_status=$?; continue; }
1390    # Check for guested configure.
1391    if test -f "$ac_srcdir/configure.gnu"; then
1392      echo &&
1393      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1394    elif test -f "$ac_srcdir/configure"; then
1395      echo &&
1396      $SHELL "$ac_srcdir/configure" --help=recursive
1397    else
1398      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1399    fi || ac_status=$?
1400    cd "$ac_pwd" || { ac_status=$?; break; }
1401  done
1402fi
1403
1404test -n "$ac_init_help" && exit $ac_status
1405if $ac_init_version; then
1406  cat <<\_ACEOF
1407xtensa-hal configure RF-2015.2
1408generated by GNU Autoconf 2.69
1409
1410Copyright (C) 2012 Free Software Foundation, Inc.
1411This configure script is free software; the Free Software Foundation
1412gives unlimited permission to copy, distribute and modify it.
1413_ACEOF
1414  exit
1415fi
1416
1417## ------------------------ ##
1418## Autoconf initialization. ##
1419## ------------------------ ##
1420
1421# ac_fn_c_try_compile LINENO
1422# --------------------------
1423# Try to compile conftest.$ac_ext, and return whether this succeeded.
1424ac_fn_c_try_compile ()
1425{
1426  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1427  rm -f conftest.$ac_objext
1428  if { { ac_try="$ac_compile"
1429case "(($ac_try" in
1430  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1431  *) ac_try_echo=$ac_try;;
1432esac
1433eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1434$as_echo "$ac_try_echo"; } >&5
1435  (eval "$ac_compile") 2>conftest.err
1436  ac_status=$?
1437  if test -s conftest.err; then
1438    grep -v '^ *+' conftest.err >conftest.er1
1439    cat conftest.er1 >&5
1440    mv -f conftest.er1 conftest.err
1441  fi
1442  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1443  test $ac_status = 0; } && {
1444	 test -z "$ac_c_werror_flag" ||
1445	 test ! -s conftest.err
1446       } && test -s conftest.$ac_objext; then :
1447  ac_retval=0
1448else
1449  $as_echo "$as_me: failed program was:" >&5
1450sed 's/^/| /' conftest.$ac_ext >&5
1451
1452	ac_retval=1
1453fi
1454  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1455  as_fn_set_status $ac_retval
1456
1457} # ac_fn_c_try_compile
1458cat >config.log <<_ACEOF
1459This file contains any messages produced by compilers while
1460running configure, to aid debugging if configure makes a mistake.
1461
1462It was created by xtensa-hal $as_me RF-2015.2, which was
1463generated by GNU Autoconf 2.69.  Invocation command line was
1464
1465  $ $0 $@
1466
1467_ACEOF
1468exec 5>>config.log
1469{
1470cat <<_ASUNAME
1471## --------- ##
1472## Platform. ##
1473## --------- ##
1474
1475hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1476uname -m = `(uname -m) 2>/dev/null || echo unknown`
1477uname -r = `(uname -r) 2>/dev/null || echo unknown`
1478uname -s = `(uname -s) 2>/dev/null || echo unknown`
1479uname -v = `(uname -v) 2>/dev/null || echo unknown`
1480
1481/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1482/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1483
1484/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1485/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1486/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1487/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1488/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1489/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1490/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1491
1492_ASUNAME
1493
1494as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1495for as_dir in $PATH
1496do
1497  IFS=$as_save_IFS
1498  test -z "$as_dir" && as_dir=.
1499    $as_echo "PATH: $as_dir"
1500  done
1501IFS=$as_save_IFS
1502
1503} >&5
1504
1505cat >&5 <<_ACEOF
1506
1507
1508## ----------- ##
1509## Core tests. ##
1510## ----------- ##
1511
1512_ACEOF
1513
1514
1515# Keep a trace of the command line.
1516# Strip out --no-create and --no-recursion so they do not pile up.
1517# Strip out --silent because we don't want to record it for future runs.
1518# Also quote any args containing shell meta-characters.
1519# Make two passes to allow for proper duplicate-argument suppression.
1520ac_configure_args=
1521ac_configure_args0=
1522ac_configure_args1=
1523ac_must_keep_next=false
1524for ac_pass in 1 2
1525do
1526  for ac_arg
1527  do
1528    case $ac_arg in
1529    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1530    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1531    | -silent | --silent | --silen | --sile | --sil)
1532      continue ;;
1533    *\'*)
1534      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1535    esac
1536    case $ac_pass in
1537    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1538    2)
1539      as_fn_append ac_configure_args1 " '$ac_arg'"
1540      if test $ac_must_keep_next = true; then
1541	ac_must_keep_next=false # Got value, back to normal.
1542      else
1543	case $ac_arg in
1544	  *=* | --config-cache | -C | -disable-* | --disable-* \
1545	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1546	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1547	  | -with-* | --with-* | -without-* | --without-* | --x)
1548	    case "$ac_configure_args0 " in
1549	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1550	    esac
1551	    ;;
1552	  -* ) ac_must_keep_next=true ;;
1553	esac
1554      fi
1555      as_fn_append ac_configure_args " '$ac_arg'"
1556      ;;
1557    esac
1558  done
1559done
1560{ ac_configure_args0=; unset ac_configure_args0;}
1561{ ac_configure_args1=; unset ac_configure_args1;}
1562
1563# When interrupted or exit'd, cleanup temporary files, and complete
1564# config.log.  We remove comments because anyway the quotes in there
1565# would cause problems or look ugly.
1566# WARNING: Use '\'' to represent an apostrophe within the trap.
1567# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1568trap 'exit_status=$?
1569  # Save into config.log some information that might help in debugging.
1570  {
1571    echo
1572
1573    $as_echo "## ---------------- ##
1574## Cache variables. ##
1575## ---------------- ##"
1576    echo
1577    # The following way of writing the cache mishandles newlines in values,
1578(
1579  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1580    eval ac_val=\$$ac_var
1581    case $ac_val in #(
1582    *${as_nl}*)
1583      case $ac_var in #(
1584      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1585$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1586      esac
1587      case $ac_var in #(
1588      _ | IFS | as_nl) ;; #(
1589      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1590      *) { eval $ac_var=; unset $ac_var;} ;;
1591      esac ;;
1592    esac
1593  done
1594  (set) 2>&1 |
1595    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1596    *${as_nl}ac_space=\ *)
1597      sed -n \
1598	"s/'\''/'\''\\\\'\'''\''/g;
1599	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1600      ;; #(
1601    *)
1602      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1603      ;;
1604    esac |
1605    sort
1606)
1607    echo
1608
1609    $as_echo "## ----------------- ##
1610## Output variables. ##
1611## ----------------- ##"
1612    echo
1613    for ac_var in $ac_subst_vars
1614    do
1615      eval ac_val=\$$ac_var
1616      case $ac_val in
1617      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1618      esac
1619      $as_echo "$ac_var='\''$ac_val'\''"
1620    done | sort
1621    echo
1622
1623    if test -n "$ac_subst_files"; then
1624      $as_echo "## ------------------- ##
1625## File substitutions. ##
1626## ------------------- ##"
1627      echo
1628      for ac_var in $ac_subst_files
1629      do
1630	eval ac_val=\$$ac_var
1631	case $ac_val in
1632	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1633	esac
1634	$as_echo "$ac_var='\''$ac_val'\''"
1635      done | sort
1636      echo
1637    fi
1638
1639    if test -s confdefs.h; then
1640      $as_echo "## ----------- ##
1641## confdefs.h. ##
1642## ----------- ##"
1643      echo
1644      cat confdefs.h
1645      echo
1646    fi
1647    test "$ac_signal" != 0 &&
1648      $as_echo "$as_me: caught signal $ac_signal"
1649    $as_echo "$as_me: exit $exit_status"
1650  } >&5
1651  rm -f core *.core core.conftest.* &&
1652    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1653    exit $exit_status
1654' 0
1655for ac_signal in 1 2 13 15; do
1656  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1657done
1658ac_signal=0
1659
1660# confdefs.h avoids OS command line length limits that DEFS can exceed.
1661rm -f -r conftest* confdefs.h
1662
1663$as_echo "/* confdefs.h */" > confdefs.h
1664
1665# Predefined preprocessor variables.
1666
1667cat >>confdefs.h <<_ACEOF
1668#define PACKAGE_NAME "$PACKAGE_NAME"
1669_ACEOF
1670
1671cat >>confdefs.h <<_ACEOF
1672#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1673_ACEOF
1674
1675cat >>confdefs.h <<_ACEOF
1676#define PACKAGE_VERSION "$PACKAGE_VERSION"
1677_ACEOF
1678
1679cat >>confdefs.h <<_ACEOF
1680#define PACKAGE_STRING "$PACKAGE_STRING"
1681_ACEOF
1682
1683cat >>confdefs.h <<_ACEOF
1684#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1685_ACEOF
1686
1687cat >>confdefs.h <<_ACEOF
1688#define PACKAGE_URL "$PACKAGE_URL"
1689_ACEOF
1690
1691
1692# Let the site file select an alternate cache file if it wants to.
1693# Prefer an explicitly selected file to automatically selected ones.
1694ac_site_file1=NONE
1695ac_site_file2=NONE
1696if test -n "$CONFIG_SITE"; then
1697  # We do not want a PATH search for config.site.
1698  case $CONFIG_SITE in #((
1699    -*)  ac_site_file1=./$CONFIG_SITE;;
1700    */*) ac_site_file1=$CONFIG_SITE;;
1701    *)   ac_site_file1=./$CONFIG_SITE;;
1702  esac
1703elif test "x$prefix" != xNONE; then
1704  ac_site_file1=$prefix/share/config.site
1705  ac_site_file2=$prefix/etc/config.site
1706else
1707  ac_site_file1=$ac_default_prefix/share/config.site
1708  ac_site_file2=$ac_default_prefix/etc/config.site
1709fi
1710for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1711do
1712  test "x$ac_site_file" = xNONE && continue
1713  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1714    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1715$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1716    sed 's/^/| /' "$ac_site_file" >&5
1717    . "$ac_site_file" \
1718      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1719$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1720as_fn_error $? "failed to load site script $ac_site_file
1721See \`config.log' for more details" "$LINENO" 5; }
1722  fi
1723done
1724
1725if test -r "$cache_file"; then
1726  # Some versions of bash will fail to source /dev/null (special files
1727  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1728  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1729    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1730$as_echo "$as_me: loading cache $cache_file" >&6;}
1731    case $cache_file in
1732      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1733      *)                      . "./$cache_file";;
1734    esac
1735  fi
1736else
1737  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1738$as_echo "$as_me: creating cache $cache_file" >&6;}
1739  >$cache_file
1740fi
1741
1742# Check that the precious variables saved in the cache have kept the same
1743# value.
1744ac_cache_corrupted=false
1745for ac_var in $ac_precious_vars; do
1746  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1747  eval ac_new_set=\$ac_env_${ac_var}_set
1748  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1749  eval ac_new_val=\$ac_env_${ac_var}_value
1750  case $ac_old_set,$ac_new_set in
1751    set,)
1752      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1753$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1754      ac_cache_corrupted=: ;;
1755    ,set)
1756      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1757$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1758      ac_cache_corrupted=: ;;
1759    ,);;
1760    *)
1761      if test "x$ac_old_val" != "x$ac_new_val"; then
1762	# differences in whitespace do not lead to failure.
1763	ac_old_val_w=`echo x $ac_old_val`
1764	ac_new_val_w=`echo x $ac_new_val`
1765	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1766	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1767$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1768	  ac_cache_corrupted=:
1769	else
1770	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1771$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1772	  eval $ac_var=\$ac_old_val
1773	fi
1774	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1775$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1776	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1777$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1778      fi;;
1779  esac
1780  # Pass precious variables to config.status.
1781  if test "$ac_new_set" = set; then
1782    case $ac_new_val in
1783    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1784    *) ac_arg=$ac_var=$ac_new_val ;;
1785    esac
1786    case " $ac_configure_args " in
1787      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1788      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1789    esac
1790  fi
1791done
1792if $ac_cache_corrupted; then
1793  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1794$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1795  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1796$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1797  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1798fi
1799## -------------------- ##
1800## Main body of script. ##
1801## -------------------- ##
1802
1803ac_ext=c
1804ac_cpp='$CPP $CPPFLAGS'
1805ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1806ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1807ac_compiler_gnu=$ac_cv_c_compiler_gnu
1808
1809
1810am__api_version='1.14'
1811
1812ac_aux_dir=
1813for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1814  if test -f "$ac_dir/install-sh"; then
1815    ac_aux_dir=$ac_dir
1816    ac_install_sh="$ac_aux_dir/install-sh -c"
1817    break
1818  elif test -f "$ac_dir/install.sh"; then
1819    ac_aux_dir=$ac_dir
1820    ac_install_sh="$ac_aux_dir/install.sh -c"
1821    break
1822  elif test -f "$ac_dir/shtool"; then
1823    ac_aux_dir=$ac_dir
1824    ac_install_sh="$ac_aux_dir/shtool install -c"
1825    break
1826  fi
1827done
1828if test -z "$ac_aux_dir"; then
1829  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1830fi
1831
1832# These three variables are undocumented and unsupported,
1833# and are intended to be withdrawn in a future Autoconf release.
1834# They can cause serious problems if a builder's source tree is in a directory
1835# whose full name contains unusual characters.
1836ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1837ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1838ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1839
1840
1841# Find a good install program.  We prefer a C program (faster),
1842# so one script is as good as another.  But avoid the broken or
1843# incompatible versions:
1844# SysV /etc/install, /usr/sbin/install
1845# SunOS /usr/etc/install
1846# IRIX /sbin/install
1847# AIX /bin/install
1848# AmigaOS /C/install, which installs bootblocks on floppy discs
1849# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1850# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1851# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1852# OS/2's system install, which has a completely different semantic
1853# ./install, which can be erroneously created by make from ./install.sh.
1854# Reject install programs that cannot install multiple files.
1855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1856$as_echo_n "checking for a BSD-compatible install... " >&6; }
1857if test -z "$INSTALL"; then
1858if ${ac_cv_path_install+:} false; then :
1859  $as_echo_n "(cached) " >&6
1860else
1861  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1862for as_dir in $PATH
1863do
1864  IFS=$as_save_IFS
1865  test -z "$as_dir" && as_dir=.
1866    # Account for people who put trailing slashes in PATH elements.
1867case $as_dir/ in #((
1868  ./ | .// | /[cC]/* | \
1869  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1870  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1871  /usr/ucb/* ) ;;
1872  *)
1873    # OSF1 and SCO ODT 3.0 have their own names for install.
1874    # Don't use installbsd from OSF since it installs stuff as root
1875    # by default.
1876    for ac_prog in ginstall scoinst install; do
1877      for ac_exec_ext in '' $ac_executable_extensions; do
1878	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1879	  if test $ac_prog = install &&
1880	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1881	    # AIX install.  It has an incompatible calling convention.
1882	    :
1883	  elif test $ac_prog = install &&
1884	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1885	    # program-specific install script used by HP pwplus--don't use.
1886	    :
1887	  else
1888	    rm -rf conftest.one conftest.two conftest.dir
1889	    echo one > conftest.one
1890	    echo two > conftest.two
1891	    mkdir conftest.dir
1892	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1893	      test -s conftest.one && test -s conftest.two &&
1894	      test -s conftest.dir/conftest.one &&
1895	      test -s conftest.dir/conftest.two
1896	    then
1897	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1898	      break 3
1899	    fi
1900	  fi
1901	fi
1902      done
1903    done
1904    ;;
1905esac
1906
1907  done
1908IFS=$as_save_IFS
1909
1910rm -rf conftest.one conftest.two conftest.dir
1911
1912fi
1913  if test "${ac_cv_path_install+set}" = set; then
1914    INSTALL=$ac_cv_path_install
1915  else
1916    # As a last resort, use the slow shell script.  Don't cache a
1917    # value for INSTALL within a source directory, because that will
1918    # break other packages using the cache if that directory is
1919    # removed, or if the value is a relative name.
1920    INSTALL=$ac_install_sh
1921  fi
1922fi
1923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1924$as_echo "$INSTALL" >&6; }
1925
1926# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1927# It thinks the first close brace ends the variable substitution.
1928test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1929
1930test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1931
1932test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1933
1934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1935$as_echo_n "checking whether build environment is sane... " >&6; }
1936# Reject unsafe characters in $srcdir or the absolute working directory
1937# name.  Accept space and tab only in the latter.
1938am_lf='
1939'
1940case `pwd` in
1941  *[\\\"\#\$\&\'\`$am_lf]*)
1942    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1943esac
1944case $srcdir in
1945  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
1946    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1947esac
1948
1949# Do 'set' in a subshell so we don't clobber the current shell's
1950# arguments.  Must try -L first in case configure is actually a
1951# symlink; some systems play weird games with the mod time of symlinks
1952# (eg FreeBSD returns the mod time of the symlink's containing
1953# directory).
1954if (
1955   am_has_slept=no
1956   for am_try in 1 2; do
1957     echo "timestamp, slept: $am_has_slept" > conftest.file
1958     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1959     if test "$*" = "X"; then
1960	# -L didn't work.
1961	set X `ls -t "$srcdir/configure" conftest.file`
1962     fi
1963     if test "$*" != "X $srcdir/configure conftest.file" \
1964	&& test "$*" != "X conftest.file $srcdir/configure"; then
1965
1966	# If neither matched, then we have a broken ls.  This can happen
1967	# if, for instance, CONFIG_SHELL is bash and it inherits a
1968	# broken ls alias from the environment.  This has actually
1969	# happened.  Such a system could not be considered "sane".
1970	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
1971  alias in your environment" "$LINENO" 5
1972     fi
1973     if test "$2" = conftest.file || test $am_try -eq 2; then
1974       break
1975     fi
1976     # Just in case.
1977     sleep 1
1978     am_has_slept=yes
1979   done
1980   test "$2" = conftest.file
1981   )
1982then
1983   # Ok.
1984   :
1985else
1986   as_fn_error $? "newly created file is older than distributed files!
1987Check your system clock" "$LINENO" 5
1988fi
1989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1990$as_echo "yes" >&6; }
1991# If we didn't sleep, we still need to ensure time stamps of config.status and
1992# generated files are strictly newer.
1993am_sleep_pid=
1994if grep 'slept: no' conftest.file >/dev/null 2>&1; then
1995  ( sleep 1 ) &
1996  am_sleep_pid=$!
1997fi
1998
1999rm -f conftest.file
2000
2001test "$program_prefix" != NONE &&
2002  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2003# Use a double $ so make ignores it.
2004test "$program_suffix" != NONE &&
2005  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2006# Double any \ or $.
2007# By default was `s,x,x', remove it if useless.
2008ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2009program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2010
2011# Expand $ac_aux_dir to an absolute path.
2012am_aux_dir=`cd "$ac_aux_dir" && pwd`
2013
2014if test x"${MISSING+set}" != xset; then
2015  case $am_aux_dir in
2016  *\ * | *\	*)
2017    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2018  *)
2019    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2020  esac
2021fi
2022# Use eval to expand $SHELL
2023if eval "$MISSING --is-lightweight"; then
2024  am_missing_run="$MISSING "
2025else
2026  am_missing_run=
2027  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2028$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2029fi
2030
2031if test x"${install_sh}" != xset; then
2032  case $am_aux_dir in
2033  *\ * | *\	*)
2034    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2035  *)
2036    install_sh="\${SHELL} $am_aux_dir/install-sh"
2037  esac
2038fi
2039
2040# Installed binaries are usually stripped using 'strip' when the user
2041# run "make install-strip".  However 'strip' might not be the right
2042# tool to use in cross-compilation environments, therefore Automake
2043# will honor the 'STRIP' environment variable to overrule this program.
2044if test "$cross_compiling" != no; then
2045  if test -n "$ac_tool_prefix"; then
2046  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2047set dummy ${ac_tool_prefix}strip; ac_word=$2
2048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2049$as_echo_n "checking for $ac_word... " >&6; }
2050if ${ac_cv_prog_STRIP+:} false; then :
2051  $as_echo_n "(cached) " >&6
2052else
2053  if test -n "$STRIP"; then
2054  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2055else
2056as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2057for as_dir in $PATH
2058do
2059  IFS=$as_save_IFS
2060  test -z "$as_dir" && as_dir=.
2061    for ac_exec_ext in '' $ac_executable_extensions; do
2062  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2063    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2064    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2065    break 2
2066  fi
2067done
2068  done
2069IFS=$as_save_IFS
2070
2071fi
2072fi
2073STRIP=$ac_cv_prog_STRIP
2074if test -n "$STRIP"; then
2075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2076$as_echo "$STRIP" >&6; }
2077else
2078  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2079$as_echo "no" >&6; }
2080fi
2081
2082
2083fi
2084if test -z "$ac_cv_prog_STRIP"; then
2085  ac_ct_STRIP=$STRIP
2086  # Extract the first word of "strip", so it can be a program name with args.
2087set dummy strip; ac_word=$2
2088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2089$as_echo_n "checking for $ac_word... " >&6; }
2090if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2091  $as_echo_n "(cached) " >&6
2092else
2093  if test -n "$ac_ct_STRIP"; then
2094  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2095else
2096as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097for as_dir in $PATH
2098do
2099  IFS=$as_save_IFS
2100  test -z "$as_dir" && as_dir=.
2101    for ac_exec_ext in '' $ac_executable_extensions; do
2102  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2103    ac_cv_prog_ac_ct_STRIP="strip"
2104    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2105    break 2
2106  fi
2107done
2108  done
2109IFS=$as_save_IFS
2110
2111fi
2112fi
2113ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2114if test -n "$ac_ct_STRIP"; then
2115  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2116$as_echo "$ac_ct_STRIP" >&6; }
2117else
2118  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2119$as_echo "no" >&6; }
2120fi
2121
2122  if test "x$ac_ct_STRIP" = x; then
2123    STRIP=":"
2124  else
2125    case $cross_compiling:$ac_tool_warned in
2126yes:)
2127{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2128$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2129ac_tool_warned=yes ;;
2130esac
2131    STRIP=$ac_ct_STRIP
2132  fi
2133else
2134  STRIP="$ac_cv_prog_STRIP"
2135fi
2136
2137fi
2138INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2139
2140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2141$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2142if test -z "$MKDIR_P"; then
2143  if ${ac_cv_path_mkdir+:} false; then :
2144  $as_echo_n "(cached) " >&6
2145else
2146  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2147for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2148do
2149  IFS=$as_save_IFS
2150  test -z "$as_dir" && as_dir=.
2151    for ac_prog in mkdir gmkdir; do
2152	 for ac_exec_ext in '' $ac_executable_extensions; do
2153	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2154	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2155	     'mkdir (GNU coreutils) '* | \
2156	     'mkdir (coreutils) '* | \
2157	     'mkdir (fileutils) '4.1*)
2158	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2159	       break 3;;
2160	   esac
2161	 done
2162       done
2163  done
2164IFS=$as_save_IFS
2165
2166fi
2167
2168  test -d ./--version && rmdir ./--version
2169  if test "${ac_cv_path_mkdir+set}" = set; then
2170    MKDIR_P="$ac_cv_path_mkdir -p"
2171  else
2172    # As a last resort, use the slow shell script.  Don't cache a
2173    # value for MKDIR_P within a source directory, because that will
2174    # break other packages using the cache if that directory is
2175    # removed, or if the value is a relative name.
2176    MKDIR_P="$ac_install_sh -d"
2177  fi
2178fi
2179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2180$as_echo "$MKDIR_P" >&6; }
2181
2182for ac_prog in gawk mawk nawk awk
2183do
2184  # Extract the first word of "$ac_prog", so it can be a program name with args.
2185set dummy $ac_prog; ac_word=$2
2186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2187$as_echo_n "checking for $ac_word... " >&6; }
2188if ${ac_cv_prog_AWK+:} false; then :
2189  $as_echo_n "(cached) " >&6
2190else
2191  if test -n "$AWK"; then
2192  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2193else
2194as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195for as_dir in $PATH
2196do
2197  IFS=$as_save_IFS
2198  test -z "$as_dir" && as_dir=.
2199    for ac_exec_ext in '' $ac_executable_extensions; do
2200  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2201    ac_cv_prog_AWK="$ac_prog"
2202    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2203    break 2
2204  fi
2205done
2206  done
2207IFS=$as_save_IFS
2208
2209fi
2210fi
2211AWK=$ac_cv_prog_AWK
2212if test -n "$AWK"; then
2213  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2214$as_echo "$AWK" >&6; }
2215else
2216  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2217$as_echo "no" >&6; }
2218fi
2219
2220
2221  test -n "$AWK" && break
2222done
2223
2224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2225$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2226set x ${MAKE-make}
2227ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2228if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2229  $as_echo_n "(cached) " >&6
2230else
2231  cat >conftest.make <<\_ACEOF
2232SHELL = /bin/sh
2233all:
2234	@echo '@@@%%%=$(MAKE)=@@@%%%'
2235_ACEOF
2236# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2237case `${MAKE-make} -f conftest.make 2>/dev/null` in
2238  *@@@%%%=?*=@@@%%%*)
2239    eval ac_cv_prog_make_${ac_make}_set=yes;;
2240  *)
2241    eval ac_cv_prog_make_${ac_make}_set=no;;
2242esac
2243rm -f conftest.make
2244fi
2245if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2246  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2247$as_echo "yes" >&6; }
2248  SET_MAKE=
2249else
2250  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2251$as_echo "no" >&6; }
2252  SET_MAKE="MAKE=${MAKE-make}"
2253fi
2254
2255rm -rf .tst 2>/dev/null
2256mkdir .tst 2>/dev/null
2257if test -d .tst; then
2258  am__leading_dot=.
2259else
2260  am__leading_dot=_
2261fi
2262rmdir .tst 2>/dev/null
2263
2264# Check whether --enable-silent-rules was given.
2265if test "${enable_silent_rules+set}" = set; then :
2266  enableval=$enable_silent_rules;
2267fi
2268
2269case $enable_silent_rules in # (((
2270  yes) AM_DEFAULT_VERBOSITY=0;;
2271   no) AM_DEFAULT_VERBOSITY=1;;
2272    *) AM_DEFAULT_VERBOSITY=1;;
2273esac
2274am_make=${MAKE-make}
2275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2276$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2277if ${am_cv_make_support_nested_variables+:} false; then :
2278  $as_echo_n "(cached) " >&6
2279else
2280  if $as_echo 'TRUE=$(BAR$(V))
2281BAR0=false
2282BAR1=true
2283V=1
2284am__doit:
2285	@$(TRUE)
2286.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2287  am_cv_make_support_nested_variables=yes
2288else
2289  am_cv_make_support_nested_variables=no
2290fi
2291fi
2292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2293$as_echo "$am_cv_make_support_nested_variables" >&6; }
2294if test $am_cv_make_support_nested_variables = yes; then
2295    AM_V='$(V)'
2296  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2297else
2298  AM_V=$AM_DEFAULT_VERBOSITY
2299  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2300fi
2301AM_BACKSLASH='\'
2302
2303if test "`cd $srcdir && pwd`" != "`pwd`"; then
2304  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2305  # is not polluted with repeated "-I."
2306  am__isrc=' -I$(srcdir)'
2307  # test to see if srcdir already configured
2308  if test -f $srcdir/config.status; then
2309    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2310  fi
2311fi
2312
2313# test whether we have cygpath
2314if test -z "$CYGPATH_W"; then
2315  if (cygpath --version) >/dev/null 2>/dev/null; then
2316    CYGPATH_W='cygpath -w'
2317  else
2318    CYGPATH_W=echo
2319  fi
2320fi
2321
2322
2323# Define the identity of the package.
2324 PACKAGE='xtensa-hal'
2325 VERSION='RF-2015.2'
2326
2327
2328cat >>confdefs.h <<_ACEOF
2329#define PACKAGE "$PACKAGE"
2330_ACEOF
2331
2332
2333cat >>confdefs.h <<_ACEOF
2334#define VERSION "$VERSION"
2335_ACEOF
2336
2337# Some tools Automake needs.
2338
2339ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2340
2341
2342AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2343
2344
2345AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2346
2347
2348AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2349
2350
2351MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2352
2353# For better backward compatibility.  To be removed once Automake 1.9.x
2354# dies out for good.  For more background, see:
2355# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2356# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2357mkdir_p='$(MKDIR_P)'
2358
2359# We need awk for the "check" target.  The system "awk" is bad on
2360# some platforms.
2361# Always define AMTAR for backward compatibility.  Yes, it's still used
2362# in the wild :-(  We should find a proper way to deprecate it ...
2363AMTAR='$${TAR-tar}'
2364
2365
2366# We'll loop over all known methods to create a tar archive until one works.
2367_am_tools='gnutar  pax cpio none'
2368
2369am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2370
2371
2372
2373
2374
2375
2376# POSIX will say in a future version that running "rm -f" with no argument
2377# is OK; and we want to be able to make that assumption in our Makefile
2378# recipes.  So use an aggressive probe to check that the usage we want is
2379# actually supported "in the wild" to an acceptable degree.
2380# See automake bug#10828.
2381# To make any issue more visible, cause the running configure to be aborted
2382# by default if the 'rm' program in use doesn't match our expectations; the
2383# user can still override this though.
2384if rm -f && rm -fr && rm -rf; then : OK; else
2385  cat >&2 <<'END'
2386Oops!
2387
2388Your 'rm' program seems unable to run without file operands specified
2389on the command line, even when the '-f' option is present.  This is contrary
2390to the behaviour of most rm programs out there, and not conforming with
2391the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2392
2393Please tell bug-automake@gnu.org about your system, including the value
2394of your $PATH and any error possibly output before this message.  This
2395can help us improve future automake versions.
2396
2397END
2398  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2399    echo 'Configuration will proceed anyway, since you have set the' >&2
2400    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2401    echo >&2
2402  else
2403    cat >&2 <<'END'
2404Aborting the configuration process, to ensure you take notice of the issue.
2405
2406You can download and install GNU coreutils to get an 'rm' implementation
2407that behaves properly: <http://www.gnu.org/software/coreutils/>.
2408
2409If you want to complete the configuration process using your problematic
2410'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2411to "yes", and re-run configure.
2412
2413END
2414    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2415  fi
2416fi
2417
2418
2419
2420# Make sure we can run config.sub.
2421$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2422  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2423
2424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2425$as_echo_n "checking build system type... " >&6; }
2426if ${ac_cv_build+:} false; then :
2427  $as_echo_n "(cached) " >&6
2428else
2429  ac_build_alias=$build_alias
2430test "x$ac_build_alias" = x &&
2431  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2432test "x$ac_build_alias" = x &&
2433  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2434ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2435  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2436
2437fi
2438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2439$as_echo "$ac_cv_build" >&6; }
2440case $ac_cv_build in
2441*-*-*) ;;
2442*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2443esac
2444build=$ac_cv_build
2445ac_save_IFS=$IFS; IFS='-'
2446set x $ac_cv_build
2447shift
2448build_cpu=$1
2449build_vendor=$2
2450shift; shift
2451# Remember, the first character of IFS is used to create $*,
2452# except with old shells:
2453build_os=$*
2454IFS=$ac_save_IFS
2455case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2456
2457
2458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2459$as_echo_n "checking host system type... " >&6; }
2460if ${ac_cv_host+:} false; then :
2461  $as_echo_n "(cached) " >&6
2462else
2463  if test "x$host_alias" = x; then
2464  ac_cv_host=$ac_cv_build
2465else
2466  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2467    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2468fi
2469
2470fi
2471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2472$as_echo "$ac_cv_host" >&6; }
2473case $ac_cv_host in
2474*-*-*) ;;
2475*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2476esac
2477host=$ac_cv_host
2478ac_save_IFS=$IFS; IFS='-'
2479set x $ac_cv_host
2480shift
2481host_cpu=$1
2482host_vendor=$2
2483shift; shift
2484# Remember, the first character of IFS is used to create $*,
2485# except with old shells:
2486host_os=$*
2487IFS=$ac_save_IFS
2488case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2489
2490
2491
2492LDFLAGS="${LDFLAGS:+$LDFLAGS }-nostdlib"
2493
2494DEPDIR="${am__leading_dot}deps"
2495
2496ac_config_commands="$ac_config_commands depfiles"
2497
2498
2499am_make=${MAKE-make}
2500cat > confinc << 'END'
2501am__doit:
2502	@echo this is the am__doit target
2503.PHONY: am__doit
2504END
2505# If we don't find an include directive, just comment out the code.
2506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2507$as_echo_n "checking for style of include used by $am_make... " >&6; }
2508am__include="#"
2509am__quote=
2510_am_result=none
2511# First try GNU make style include.
2512echo "include confinc" > confmf
2513# Ignore all kinds of additional output from 'make'.
2514case `$am_make -s -f confmf 2> /dev/null` in #(
2515*the\ am__doit\ target*)
2516  am__include=include
2517  am__quote=
2518  _am_result=GNU
2519  ;;
2520esac
2521# Now try BSD make style include.
2522if test "$am__include" = "#"; then
2523   echo '.include "confinc"' > confmf
2524   case `$am_make -s -f confmf 2> /dev/null` in #(
2525   *the\ am__doit\ target*)
2526     am__include=.include
2527     am__quote="\""
2528     _am_result=BSD
2529     ;;
2530   esac
2531fi
2532
2533
2534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2535$as_echo "$_am_result" >&6; }
2536rm -f confinc confmf
2537
2538# Check whether --enable-dependency-tracking was given.
2539if test "${enable_dependency_tracking+set}" = set; then :
2540  enableval=$enable_dependency_tracking;
2541fi
2542
2543if test "x$enable_dependency_tracking" != xno; then
2544  am_depcomp="$ac_aux_dir/depcomp"
2545  AMDEPBACKSLASH='\'
2546  am__nodep='_no'
2547fi
2548 if test "x$enable_dependency_tracking" != xno; then
2549  AMDEP_TRUE=
2550  AMDEP_FALSE='#'
2551else
2552  AMDEP_TRUE='#'
2553  AMDEP_FALSE=
2554fi
2555
2556
2557ac_ext=c
2558ac_cpp='$CPP $CPPFLAGS'
2559ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2560ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2561ac_compiler_gnu=$ac_cv_c_compiler_gnu
2562if test -n "$ac_tool_prefix"; then
2563  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2564set dummy ${ac_tool_prefix}gcc; ac_word=$2
2565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2566$as_echo_n "checking for $ac_word... " >&6; }
2567if ${ac_cv_prog_CC+:} false; then :
2568  $as_echo_n "(cached) " >&6
2569else
2570  if test -n "$CC"; then
2571  ac_cv_prog_CC="$CC" # Let the user override the test.
2572else
2573as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2574for as_dir in $PATH
2575do
2576  IFS=$as_save_IFS
2577  test -z "$as_dir" && as_dir=.
2578    for ac_exec_ext in '' $ac_executable_extensions; do
2579  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2580    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2581    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2582    break 2
2583  fi
2584done
2585  done
2586IFS=$as_save_IFS
2587
2588fi
2589fi
2590CC=$ac_cv_prog_CC
2591if test -n "$CC"; then
2592  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2593$as_echo "$CC" >&6; }
2594else
2595  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2596$as_echo "no" >&6; }
2597fi
2598
2599
2600fi
2601if test -z "$ac_cv_prog_CC"; then
2602  ac_ct_CC=$CC
2603  # Extract the first word of "gcc", so it can be a program name with args.
2604set dummy gcc; ac_word=$2
2605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2606$as_echo_n "checking for $ac_word... " >&6; }
2607if ${ac_cv_prog_ac_ct_CC+:} false; then :
2608  $as_echo_n "(cached) " >&6
2609else
2610  if test -n "$ac_ct_CC"; then
2611  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2612else
2613as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2614for as_dir in $PATH
2615do
2616  IFS=$as_save_IFS
2617  test -z "$as_dir" && as_dir=.
2618    for ac_exec_ext in '' $ac_executable_extensions; do
2619  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2620    ac_cv_prog_ac_ct_CC="gcc"
2621    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2622    break 2
2623  fi
2624done
2625  done
2626IFS=$as_save_IFS
2627
2628fi
2629fi
2630ac_ct_CC=$ac_cv_prog_ac_ct_CC
2631if test -n "$ac_ct_CC"; then
2632  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2633$as_echo "$ac_ct_CC" >&6; }
2634else
2635  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2636$as_echo "no" >&6; }
2637fi
2638
2639  if test "x$ac_ct_CC" = x; then
2640    CC=""
2641  else
2642    case $cross_compiling:$ac_tool_warned in
2643yes:)
2644{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2645$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2646ac_tool_warned=yes ;;
2647esac
2648    CC=$ac_ct_CC
2649  fi
2650else
2651  CC="$ac_cv_prog_CC"
2652fi
2653
2654if test -z "$CC"; then
2655          if test -n "$ac_tool_prefix"; then
2656    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2657set dummy ${ac_tool_prefix}cc; ac_word=$2
2658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2659$as_echo_n "checking for $ac_word... " >&6; }
2660if ${ac_cv_prog_CC+:} false; then :
2661  $as_echo_n "(cached) " >&6
2662else
2663  if test -n "$CC"; then
2664  ac_cv_prog_CC="$CC" # Let the user override the test.
2665else
2666as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2667for as_dir in $PATH
2668do
2669  IFS=$as_save_IFS
2670  test -z "$as_dir" && as_dir=.
2671    for ac_exec_ext in '' $ac_executable_extensions; do
2672  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2673    ac_cv_prog_CC="${ac_tool_prefix}cc"
2674    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2675    break 2
2676  fi
2677done
2678  done
2679IFS=$as_save_IFS
2680
2681fi
2682fi
2683CC=$ac_cv_prog_CC
2684if test -n "$CC"; then
2685  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2686$as_echo "$CC" >&6; }
2687else
2688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2689$as_echo "no" >&6; }
2690fi
2691
2692
2693  fi
2694fi
2695if test -z "$CC"; then
2696  # Extract the first word of "cc", so it can be a program name with args.
2697set dummy cc; ac_word=$2
2698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2699$as_echo_n "checking for $ac_word... " >&6; }
2700if ${ac_cv_prog_CC+:} false; then :
2701  $as_echo_n "(cached) " >&6
2702else
2703  if test -n "$CC"; then
2704  ac_cv_prog_CC="$CC" # Let the user override the test.
2705else
2706  ac_prog_rejected=no
2707as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2708for as_dir in $PATH
2709do
2710  IFS=$as_save_IFS
2711  test -z "$as_dir" && as_dir=.
2712    for ac_exec_ext in '' $ac_executable_extensions; do
2713  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2714    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2715       ac_prog_rejected=yes
2716       continue
2717     fi
2718    ac_cv_prog_CC="cc"
2719    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2720    break 2
2721  fi
2722done
2723  done
2724IFS=$as_save_IFS
2725
2726if test $ac_prog_rejected = yes; then
2727  # We found a bogon in the path, so make sure we never use it.
2728  set dummy $ac_cv_prog_CC
2729  shift
2730  if test $# != 0; then
2731    # We chose a different compiler from the bogus one.
2732    # However, it has the same basename, so the bogon will be chosen
2733    # first if we set CC to just the basename; use the full file name.
2734    shift
2735    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2736  fi
2737fi
2738fi
2739fi
2740CC=$ac_cv_prog_CC
2741if test -n "$CC"; then
2742  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2743$as_echo "$CC" >&6; }
2744else
2745  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2746$as_echo "no" >&6; }
2747fi
2748
2749
2750fi
2751if test -z "$CC"; then
2752  if test -n "$ac_tool_prefix"; then
2753  for ac_prog in cl.exe
2754  do
2755    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2756set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2758$as_echo_n "checking for $ac_word... " >&6; }
2759if ${ac_cv_prog_CC+:} false; then :
2760  $as_echo_n "(cached) " >&6
2761else
2762  if test -n "$CC"; then
2763  ac_cv_prog_CC="$CC" # Let the user override the test.
2764else
2765as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2766for as_dir in $PATH
2767do
2768  IFS=$as_save_IFS
2769  test -z "$as_dir" && as_dir=.
2770    for ac_exec_ext in '' $ac_executable_extensions; do
2771  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2772    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2773    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2774    break 2
2775  fi
2776done
2777  done
2778IFS=$as_save_IFS
2779
2780fi
2781fi
2782CC=$ac_cv_prog_CC
2783if test -n "$CC"; then
2784  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2785$as_echo "$CC" >&6; }
2786else
2787  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2788$as_echo "no" >&6; }
2789fi
2790
2791
2792    test -n "$CC" && break
2793  done
2794fi
2795if test -z "$CC"; then
2796  ac_ct_CC=$CC
2797  for ac_prog in cl.exe
2798do
2799  # Extract the first word of "$ac_prog", so it can be a program name with args.
2800set dummy $ac_prog; ac_word=$2
2801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2802$as_echo_n "checking for $ac_word... " >&6; }
2803if ${ac_cv_prog_ac_ct_CC+:} false; then :
2804  $as_echo_n "(cached) " >&6
2805else
2806  if test -n "$ac_ct_CC"; then
2807  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2808else
2809as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2810for as_dir in $PATH
2811do
2812  IFS=$as_save_IFS
2813  test -z "$as_dir" && as_dir=.
2814    for ac_exec_ext in '' $ac_executable_extensions; do
2815  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2816    ac_cv_prog_ac_ct_CC="$ac_prog"
2817    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2818    break 2
2819  fi
2820done
2821  done
2822IFS=$as_save_IFS
2823
2824fi
2825fi
2826ac_ct_CC=$ac_cv_prog_ac_ct_CC
2827if test -n "$ac_ct_CC"; then
2828  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2829$as_echo "$ac_ct_CC" >&6; }
2830else
2831  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832$as_echo "no" >&6; }
2833fi
2834
2835
2836  test -n "$ac_ct_CC" && break
2837done
2838
2839  if test "x$ac_ct_CC" = x; then
2840    CC=""
2841  else
2842    case $cross_compiling:$ac_tool_warned in
2843yes:)
2844{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2845$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2846ac_tool_warned=yes ;;
2847esac
2848    CC=$ac_ct_CC
2849  fi
2850fi
2851
2852fi
2853
2854
2855test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2856$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2857as_fn_error $? "no acceptable C compiler found in \$PATH
2858See \`config.log' for more details" "$LINENO" 5; }
2859
2860# Provide some information about the compiler.
2861$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2862set X $ac_compile
2863ac_compiler=$2
2864for ac_option in --version -v -V -qversion; do
2865  { { ac_try="$ac_compiler $ac_option >&5"
2866case "(($ac_try" in
2867  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2868  *) ac_try_echo=$ac_try;;
2869esac
2870eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2871$as_echo "$ac_try_echo"; } >&5
2872  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2873  ac_status=$?
2874  if test -s conftest.err; then
2875    sed '10a\
2876... rest of stderr output deleted ...
2877         10q' conftest.err >conftest.er1
2878    cat conftest.er1 >&5
2879  fi
2880  rm -f conftest.er1 conftest.err
2881  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2882  test $ac_status = 0; }
2883done
2884
2885cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886/* end confdefs.h.  */
2887
2888int
2889main ()
2890{
2891
2892  ;
2893  return 0;
2894}
2895_ACEOF
2896ac_clean_files_save=$ac_clean_files
2897ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2898# Try to create an executable without -o first, disregard a.out.
2899# It will help us diagnose broken compilers, and finding out an intuition
2900# of exeext.
2901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2902$as_echo_n "checking whether the C compiler works... " >&6; }
2903ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2904
2905# The possible output files:
2906ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2907
2908ac_rmfiles=
2909for ac_file in $ac_files
2910do
2911  case $ac_file in
2912    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2913    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2914  esac
2915done
2916rm -f $ac_rmfiles
2917
2918if { { ac_try="$ac_link_default"
2919case "(($ac_try" in
2920  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2921  *) ac_try_echo=$ac_try;;
2922esac
2923eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2924$as_echo "$ac_try_echo"; } >&5
2925  (eval "$ac_link_default") 2>&5
2926  ac_status=$?
2927  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2928  test $ac_status = 0; }; then :
2929  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2930# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2931# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2932# so that the user can short-circuit this test for compilers unknown to
2933# Autoconf.
2934for ac_file in $ac_files ''
2935do
2936  test -f "$ac_file" || continue
2937  case $ac_file in
2938    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2939	;;
2940    [ab].out )
2941	# We found the default executable, but exeext='' is most
2942	# certainly right.
2943	break;;
2944    *.* )
2945	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2946	then :; else
2947	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2948	fi
2949	# We set ac_cv_exeext here because the later test for it is not
2950	# safe: cross compilers may not add the suffix if given an `-o'
2951	# argument, so we may need to know it at that point already.
2952	# Even if this section looks crufty: it has the advantage of
2953	# actually working.
2954	break;;
2955    * )
2956	break;;
2957  esac
2958done
2959test "$ac_cv_exeext" = no && ac_cv_exeext=
2960
2961else
2962  ac_file=''
2963fi
2964if test -z "$ac_file"; then :
2965  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2966$as_echo "no" >&6; }
2967$as_echo "$as_me: failed program was:" >&5
2968sed 's/^/| /' conftest.$ac_ext >&5
2969
2970{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2971$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2972as_fn_error 77 "C compiler cannot create executables
2973See \`config.log' for more details" "$LINENO" 5; }
2974else
2975  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2976$as_echo "yes" >&6; }
2977fi
2978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2979$as_echo_n "checking for C compiler default output file name... " >&6; }
2980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2981$as_echo "$ac_file" >&6; }
2982ac_exeext=$ac_cv_exeext
2983
2984rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2985ac_clean_files=$ac_clean_files_save
2986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2987$as_echo_n "checking for suffix of executables... " >&6; }
2988if { { ac_try="$ac_link"
2989case "(($ac_try" in
2990  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2991  *) ac_try_echo=$ac_try;;
2992esac
2993eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2994$as_echo "$ac_try_echo"; } >&5
2995  (eval "$ac_link") 2>&5
2996  ac_status=$?
2997  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2998  test $ac_status = 0; }; then :
2999  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3000# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3001# work properly (i.e., refer to `conftest.exe'), while it won't with
3002# `rm'.
3003for ac_file in conftest.exe conftest conftest.*; do
3004  test -f "$ac_file" || continue
3005  case $ac_file in
3006    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3007    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3008	  break;;
3009    * ) break;;
3010  esac
3011done
3012else
3013  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3014$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3015as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3016See \`config.log' for more details" "$LINENO" 5; }
3017fi
3018rm -f conftest conftest$ac_cv_exeext
3019{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3020$as_echo "$ac_cv_exeext" >&6; }
3021
3022rm -f conftest.$ac_ext
3023EXEEXT=$ac_cv_exeext
3024ac_exeext=$EXEEXT
3025cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3026/* end confdefs.h.  */
3027#include <stdio.h>
3028int
3029main ()
3030{
3031FILE *f = fopen ("conftest.out", "w");
3032 return ferror (f) || fclose (f) != 0;
3033
3034  ;
3035  return 0;
3036}
3037_ACEOF
3038ac_clean_files="$ac_clean_files conftest.out"
3039# Check that the compiler produces executables we can run.  If not, either
3040# the compiler is broken, or we cross compile.
3041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3042$as_echo_n "checking whether we are cross compiling... " >&6; }
3043if test "$cross_compiling" != yes; then
3044  { { ac_try="$ac_link"
3045case "(($ac_try" in
3046  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3047  *) ac_try_echo=$ac_try;;
3048esac
3049eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3050$as_echo "$ac_try_echo"; } >&5
3051  (eval "$ac_link") 2>&5
3052  ac_status=$?
3053  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3054  test $ac_status = 0; }
3055  if { ac_try='./conftest$ac_cv_exeext'
3056  { { case "(($ac_try" in
3057  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3058  *) ac_try_echo=$ac_try;;
3059esac
3060eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3061$as_echo "$ac_try_echo"; } >&5
3062  (eval "$ac_try") 2>&5
3063  ac_status=$?
3064  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3065  test $ac_status = 0; }; }; then
3066    cross_compiling=no
3067  else
3068    if test "$cross_compiling" = maybe; then
3069	cross_compiling=yes
3070    else
3071	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3072$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3073as_fn_error $? "cannot run C compiled programs.
3074If you meant to cross compile, use \`--host'.
3075See \`config.log' for more details" "$LINENO" 5; }
3076    fi
3077  fi
3078fi
3079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3080$as_echo "$cross_compiling" >&6; }
3081
3082rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3083ac_clean_files=$ac_clean_files_save
3084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3085$as_echo_n "checking for suffix of object files... " >&6; }
3086if ${ac_cv_objext+:} false; then :
3087  $as_echo_n "(cached) " >&6
3088else
3089  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3090/* end confdefs.h.  */
3091
3092int
3093main ()
3094{
3095
3096  ;
3097  return 0;
3098}
3099_ACEOF
3100rm -f conftest.o conftest.obj
3101if { { ac_try="$ac_compile"
3102case "(($ac_try" in
3103  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3104  *) ac_try_echo=$ac_try;;
3105esac
3106eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3107$as_echo "$ac_try_echo"; } >&5
3108  (eval "$ac_compile") 2>&5
3109  ac_status=$?
3110  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3111  test $ac_status = 0; }; then :
3112  for ac_file in conftest.o conftest.obj conftest.*; do
3113  test -f "$ac_file" || continue;
3114  case $ac_file in
3115    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3116    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3117       break;;
3118  esac
3119done
3120else
3121  $as_echo "$as_me: failed program was:" >&5
3122sed 's/^/| /' conftest.$ac_ext >&5
3123
3124{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3125$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3126as_fn_error $? "cannot compute suffix of object files: cannot compile
3127See \`config.log' for more details" "$LINENO" 5; }
3128fi
3129rm -f conftest.$ac_cv_objext conftest.$ac_ext
3130fi
3131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3132$as_echo "$ac_cv_objext" >&6; }
3133OBJEXT=$ac_cv_objext
3134ac_objext=$OBJEXT
3135{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3136$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3137if ${ac_cv_c_compiler_gnu+:} false; then :
3138  $as_echo_n "(cached) " >&6
3139else
3140  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3141/* end confdefs.h.  */
3142
3143int
3144main ()
3145{
3146#ifndef __GNUC__
3147       choke me
3148#endif
3149
3150  ;
3151  return 0;
3152}
3153_ACEOF
3154if ac_fn_c_try_compile "$LINENO"; then :
3155  ac_compiler_gnu=yes
3156else
3157  ac_compiler_gnu=no
3158fi
3159rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3160ac_cv_c_compiler_gnu=$ac_compiler_gnu
3161
3162fi
3163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3164$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3165if test $ac_compiler_gnu = yes; then
3166  GCC=yes
3167else
3168  GCC=
3169fi
3170ac_test_CFLAGS=${CFLAGS+set}
3171ac_save_CFLAGS=$CFLAGS
3172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3173$as_echo_n "checking whether $CC accepts -g... " >&6; }
3174if ${ac_cv_prog_cc_g+:} false; then :
3175  $as_echo_n "(cached) " >&6
3176else
3177  ac_save_c_werror_flag=$ac_c_werror_flag
3178   ac_c_werror_flag=yes
3179   ac_cv_prog_cc_g=no
3180   CFLAGS="-g"
3181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3182/* end confdefs.h.  */
3183
3184int
3185main ()
3186{
3187
3188  ;
3189  return 0;
3190}
3191_ACEOF
3192if ac_fn_c_try_compile "$LINENO"; then :
3193  ac_cv_prog_cc_g=yes
3194else
3195  CFLAGS=""
3196      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3197/* end confdefs.h.  */
3198
3199int
3200main ()
3201{
3202
3203  ;
3204  return 0;
3205}
3206_ACEOF
3207if ac_fn_c_try_compile "$LINENO"; then :
3208
3209else
3210  ac_c_werror_flag=$ac_save_c_werror_flag
3211	 CFLAGS="-g"
3212	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3213/* end confdefs.h.  */
3214
3215int
3216main ()
3217{
3218
3219  ;
3220  return 0;
3221}
3222_ACEOF
3223if ac_fn_c_try_compile "$LINENO"; then :
3224  ac_cv_prog_cc_g=yes
3225fi
3226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3227fi
3228rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3229fi
3230rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3231   ac_c_werror_flag=$ac_save_c_werror_flag
3232fi
3233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3234$as_echo "$ac_cv_prog_cc_g" >&6; }
3235if test "$ac_test_CFLAGS" = set; then
3236  CFLAGS=$ac_save_CFLAGS
3237elif test $ac_cv_prog_cc_g = yes; then
3238  if test "$GCC" = yes; then
3239    CFLAGS="-g -O2"
3240  else
3241    CFLAGS="-g"
3242  fi
3243else
3244  if test "$GCC" = yes; then
3245    CFLAGS="-O2"
3246  else
3247    CFLAGS=
3248  fi
3249fi
3250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3251$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3252if ${ac_cv_prog_cc_c89+:} false; then :
3253  $as_echo_n "(cached) " >&6
3254else
3255  ac_cv_prog_cc_c89=no
3256ac_save_CC=$CC
3257cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3258/* end confdefs.h.  */
3259#include <stdarg.h>
3260#include <stdio.h>
3261struct stat;
3262/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3263struct buf { int x; };
3264FILE * (*rcsopen) (struct buf *, struct stat *, int);
3265static char *e (p, i)
3266     char **p;
3267     int i;
3268{
3269  return p[i];
3270}
3271static char *f (char * (*g) (char **, int), char **p, ...)
3272{
3273  char *s;
3274  va_list v;
3275  va_start (v,p);
3276  s = g (p, va_arg (v,int));
3277  va_end (v);
3278  return s;
3279}
3280
3281/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3282   function prototypes and stuff, but not '\xHH' hex character constants.
3283   These don't provoke an error unfortunately, instead are silently treated
3284   as 'x'.  The following induces an error, until -std is added to get
3285   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3286   array size at least.  It's necessary to write '\x00'==0 to get something
3287   that's true only with -std.  */
3288int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3289
3290/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3291   inside strings and character constants.  */
3292#define FOO(x) 'x'
3293int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3294
3295int test (int i, double x);
3296struct s1 {int (*f) (int a);};
3297struct s2 {int (*f) (double a);};
3298int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3299int argc;
3300char **argv;
3301int
3302main ()
3303{
3304return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3305  ;
3306  return 0;
3307}
3308_ACEOF
3309for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3310	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3311do
3312  CC="$ac_save_CC $ac_arg"
3313  if ac_fn_c_try_compile "$LINENO"; then :
3314  ac_cv_prog_cc_c89=$ac_arg
3315fi
3316rm -f core conftest.err conftest.$ac_objext
3317  test "x$ac_cv_prog_cc_c89" != "xno" && break
3318done
3319rm -f conftest.$ac_ext
3320CC=$ac_save_CC
3321
3322fi
3323# AC_CACHE_VAL
3324case "x$ac_cv_prog_cc_c89" in
3325  x)
3326    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3327$as_echo "none needed" >&6; } ;;
3328  xno)
3329    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3330$as_echo "unsupported" >&6; } ;;
3331  *)
3332    CC="$CC $ac_cv_prog_cc_c89"
3333    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3334$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3335esac
3336if test "x$ac_cv_prog_cc_c89" != xno; then :
3337
3338fi
3339
3340ac_ext=c
3341ac_cpp='$CPP $CPPFLAGS'
3342ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3343ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3344ac_compiler_gnu=$ac_cv_c_compiler_gnu
3345
3346ac_ext=c
3347ac_cpp='$CPP $CPPFLAGS'
3348ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3349ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3350ac_compiler_gnu=$ac_cv_c_compiler_gnu
3351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3352$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3353if ${am_cv_prog_cc_c_o+:} false; then :
3354  $as_echo_n "(cached) " >&6
3355else
3356  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3357/* end confdefs.h.  */
3358
3359int
3360main ()
3361{
3362
3363  ;
3364  return 0;
3365}
3366_ACEOF
3367  # Make sure it works both with $CC and with simple cc.
3368  # Following AC_PROG_CC_C_O, we do the test twice because some
3369  # compilers refuse to overwrite an existing .o file with -o,
3370  # though they will create one.
3371  am_cv_prog_cc_c_o=yes
3372  for am_i in 1 2; do
3373    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3374   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3375   ac_status=$?
3376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377   (exit $ac_status); } \
3378         && test -f conftest2.$ac_objext; then
3379      : OK
3380    else
3381      am_cv_prog_cc_c_o=no
3382      break
3383    fi
3384  done
3385  rm -f core conftest*
3386  unset am_i
3387fi
3388{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3389$as_echo "$am_cv_prog_cc_c_o" >&6; }
3390if test "$am_cv_prog_cc_c_o" != yes; then
3391   # Losing compiler, so override with the script.
3392   # FIXME: It is wrong to rewrite CC.
3393   # But if we don't then we get into trouble of one sort or another.
3394   # A longer-term fix would be to have automake use am__CC in this case,
3395   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3396   CC="$am_aux_dir/compile $CC"
3397fi
3398ac_ext=c
3399ac_cpp='$CPP $CPPFLAGS'
3400ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3401ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3402ac_compiler_gnu=$ac_cv_c_compiler_gnu
3403
3404
3405depcc="$CC"   am_compiler_list=
3406
3407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3408$as_echo_n "checking dependency style of $depcc... " >&6; }
3409if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3410  $as_echo_n "(cached) " >&6
3411else
3412  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3413  # We make a subdir and do the tests there.  Otherwise we can end up
3414  # making bogus files that we don't know about and never remove.  For
3415  # instance it was reported that on HP-UX the gcc test will end up
3416  # making a dummy file named 'D' -- because '-MD' means "put the output
3417  # in D".
3418  rm -rf conftest.dir
3419  mkdir conftest.dir
3420  # Copy depcomp to subdir because otherwise we won't find it if we're
3421  # using a relative directory.
3422  cp "$am_depcomp" conftest.dir
3423  cd conftest.dir
3424  # We will build objects and dependencies in a subdirectory because
3425  # it helps to detect inapplicable dependency modes.  For instance
3426  # both Tru64's cc and ICC support -MD to output dependencies as a
3427  # side effect of compilation, but ICC will put the dependencies in
3428  # the current directory while Tru64 will put them in the object
3429  # directory.
3430  mkdir sub
3431
3432  am_cv_CC_dependencies_compiler_type=none
3433  if test "$am_compiler_list" = ""; then
3434     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3435  fi
3436  am__universal=false
3437  case " $depcc " in #(
3438     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3439     esac
3440
3441  for depmode in $am_compiler_list; do
3442    # Setup a source with many dependencies, because some compilers
3443    # like to wrap large dependency lists on column 80 (with \), and
3444    # we should not choose a depcomp mode which is confused by this.
3445    #
3446    # We need to recreate these files for each test, as the compiler may
3447    # overwrite some of them when testing with obscure command lines.
3448    # This happens at least with the AIX C compiler.
3449    : > sub/conftest.c
3450    for i in 1 2 3 4 5 6; do
3451      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3452      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3453      # Solaris 10 /bin/sh.
3454      echo '/* dummy */' > sub/conftst$i.h
3455    done
3456    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3457
3458    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3459    # mode.  It turns out that the SunPro C++ compiler does not properly
3460    # handle '-M -o', and we need to detect this.  Also, some Intel
3461    # versions had trouble with output in subdirs.
3462    am__obj=sub/conftest.${OBJEXT-o}
3463    am__minus_obj="-o $am__obj"
3464    case $depmode in
3465    gcc)
3466      # This depmode causes a compiler race in universal mode.
3467      test "$am__universal" = false || continue
3468      ;;
3469    nosideeffect)
3470      # After this tag, mechanisms are not by side-effect, so they'll
3471      # only be used when explicitly requested.
3472      if test "x$enable_dependency_tracking" = xyes; then
3473	continue
3474      else
3475	break
3476      fi
3477      ;;
3478    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3479      # This compiler won't grok '-c -o', but also, the minuso test has
3480      # not run yet.  These depmodes are late enough in the game, and
3481      # so weak that their functioning should not be impacted.
3482      am__obj=conftest.${OBJEXT-o}
3483      am__minus_obj=
3484      ;;
3485    none) break ;;
3486    esac
3487    if depmode=$depmode \
3488       source=sub/conftest.c object=$am__obj \
3489       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3490       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3491         >/dev/null 2>conftest.err &&
3492       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3493       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3494       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3495       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3496      # icc doesn't choke on unknown options, it will just issue warnings
3497      # or remarks (even with -Werror).  So we grep stderr for any message
3498      # that says an option was ignored or not supported.
3499      # When given -MP, icc 7.0 and 7.1 complain thusly:
3500      #   icc: Command line warning: ignoring option '-M'; no argument required
3501      # The diagnosis changed in icc 8.0:
3502      #   icc: Command line remark: option '-MP' not supported
3503      if (grep 'ignoring option' conftest.err ||
3504          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3505        am_cv_CC_dependencies_compiler_type=$depmode
3506        break
3507      fi
3508    fi
3509  done
3510
3511  cd ..
3512  rm -rf conftest.dir
3513else
3514  am_cv_CC_dependencies_compiler_type=none
3515fi
3516
3517fi
3518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3519$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3520CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3521
3522 if
3523  test "x$enable_dependency_tracking" != xno \
3524  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3525  am__fastdepCC_TRUE=
3526  am__fastdepCC_FALSE='#'
3527else
3528  am__fastdepCC_TRUE='#'
3529  am__fastdepCC_FALSE=
3530fi
3531
3532
3533# By default we simply use the C compiler to build assembly code.
3534
3535test "${CCAS+set}" = set || CCAS=$CC
3536test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3537
3538
3539
3540depcc="$CCAS"   am_compiler_list=
3541
3542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3543$as_echo_n "checking dependency style of $depcc... " >&6; }
3544if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
3545  $as_echo_n "(cached) " >&6
3546else
3547  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3548  # We make a subdir and do the tests there.  Otherwise we can end up
3549  # making bogus files that we don't know about and never remove.  For
3550  # instance it was reported that on HP-UX the gcc test will end up
3551  # making a dummy file named 'D' -- because '-MD' means "put the output
3552  # in D".
3553  rm -rf conftest.dir
3554  mkdir conftest.dir
3555  # Copy depcomp to subdir because otherwise we won't find it if we're
3556  # using a relative directory.
3557  cp "$am_depcomp" conftest.dir
3558  cd conftest.dir
3559  # We will build objects and dependencies in a subdirectory because
3560  # it helps to detect inapplicable dependency modes.  For instance
3561  # both Tru64's cc and ICC support -MD to output dependencies as a
3562  # side effect of compilation, but ICC will put the dependencies in
3563  # the current directory while Tru64 will put them in the object
3564  # directory.
3565  mkdir sub
3566
3567  am_cv_CCAS_dependencies_compiler_type=none
3568  if test "$am_compiler_list" = ""; then
3569     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3570  fi
3571  am__universal=false
3572
3573
3574  for depmode in $am_compiler_list; do
3575    # Setup a source with many dependencies, because some compilers
3576    # like to wrap large dependency lists on column 80 (with \), and
3577    # we should not choose a depcomp mode which is confused by this.
3578    #
3579    # We need to recreate these files for each test, as the compiler may
3580    # overwrite some of them when testing with obscure command lines.
3581    # This happens at least with the AIX C compiler.
3582    : > sub/conftest.c
3583    for i in 1 2 3 4 5 6; do
3584      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3585      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3586      # Solaris 10 /bin/sh.
3587      echo '/* dummy */' > sub/conftst$i.h
3588    done
3589    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3590
3591    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3592    # mode.  It turns out that the SunPro C++ compiler does not properly
3593    # handle '-M -o', and we need to detect this.  Also, some Intel
3594    # versions had trouble with output in subdirs.
3595    am__obj=sub/conftest.${OBJEXT-o}
3596    am__minus_obj="-o $am__obj"
3597    case $depmode in
3598    gcc)
3599      # This depmode causes a compiler race in universal mode.
3600      test "$am__universal" = false || continue
3601      ;;
3602    nosideeffect)
3603      # After this tag, mechanisms are not by side-effect, so they'll
3604      # only be used when explicitly requested.
3605      if test "x$enable_dependency_tracking" = xyes; then
3606	continue
3607      else
3608	break
3609      fi
3610      ;;
3611    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3612      # This compiler won't grok '-c -o', but also, the minuso test has
3613      # not run yet.  These depmodes are late enough in the game, and
3614      # so weak that their functioning should not be impacted.
3615      am__obj=conftest.${OBJEXT-o}
3616      am__minus_obj=
3617      ;;
3618    none) break ;;
3619    esac
3620    if depmode=$depmode \
3621       source=sub/conftest.c object=$am__obj \
3622       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3623       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3624         >/dev/null 2>conftest.err &&
3625       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3626       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3627       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3628       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3629      # icc doesn't choke on unknown options, it will just issue warnings
3630      # or remarks (even with -Werror).  So we grep stderr for any message
3631      # that says an option was ignored or not supported.
3632      # When given -MP, icc 7.0 and 7.1 complain thusly:
3633      #   icc: Command line warning: ignoring option '-M'; no argument required
3634      # The diagnosis changed in icc 8.0:
3635      #   icc: Command line remark: option '-MP' not supported
3636      if (grep 'ignoring option' conftest.err ||
3637          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3638        am_cv_CCAS_dependencies_compiler_type=$depmode
3639        break
3640      fi
3641    fi
3642  done
3643
3644  cd ..
3645  rm -rf conftest.dir
3646else
3647  am_cv_CCAS_dependencies_compiler_type=none
3648fi
3649
3650fi
3651{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
3652$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
3653CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
3654
3655 if
3656  test "x$enable_dependency_tracking" != xno \
3657  && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
3658  am__fastdepCCAS_TRUE=
3659  am__fastdepCCAS_FALSE='#'
3660else
3661  am__fastdepCCAS_TRUE='#'
3662  am__fastdepCCAS_FALSE=
3663fi
3664
3665
3666
3667if test -n "$ac_tool_prefix"; then
3668  for ac_prog in ar lib "link -lib"
3669  do
3670    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3671set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3673$as_echo_n "checking for $ac_word... " >&6; }
3674if ${ac_cv_prog_AR+:} false; then :
3675  $as_echo_n "(cached) " >&6
3676else
3677  if test -n "$AR"; then
3678  ac_cv_prog_AR="$AR" # Let the user override the test.
3679else
3680as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3681for as_dir in $PATH
3682do
3683  IFS=$as_save_IFS
3684  test -z "$as_dir" && as_dir=.
3685    for ac_exec_ext in '' $ac_executable_extensions; do
3686  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3687    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
3688    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3689    break 2
3690  fi
3691done
3692  done
3693IFS=$as_save_IFS
3694
3695fi
3696fi
3697AR=$ac_cv_prog_AR
3698if test -n "$AR"; then
3699  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3700$as_echo "$AR" >&6; }
3701else
3702  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3703$as_echo "no" >&6; }
3704fi
3705
3706
3707    test -n "$AR" && break
3708  done
3709fi
3710if test -z "$AR"; then
3711  ac_ct_AR=$AR
3712  for ac_prog in ar lib "link -lib"
3713do
3714  # Extract the first word of "$ac_prog", so it can be a program name with args.
3715set dummy $ac_prog; ac_word=$2
3716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3717$as_echo_n "checking for $ac_word... " >&6; }
3718if ${ac_cv_prog_ac_ct_AR+:} false; then :
3719  $as_echo_n "(cached) " >&6
3720else
3721  if test -n "$ac_ct_AR"; then
3722  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3723else
3724as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3725for as_dir in $PATH
3726do
3727  IFS=$as_save_IFS
3728  test -z "$as_dir" && as_dir=.
3729    for ac_exec_ext in '' $ac_executable_extensions; do
3730  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3731    ac_cv_prog_ac_ct_AR="$ac_prog"
3732    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3733    break 2
3734  fi
3735done
3736  done
3737IFS=$as_save_IFS
3738
3739fi
3740fi
3741ac_ct_AR=$ac_cv_prog_ac_ct_AR
3742if test -n "$ac_ct_AR"; then
3743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3744$as_echo "$ac_ct_AR" >&6; }
3745else
3746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3747$as_echo "no" >&6; }
3748fi
3749
3750
3751  test -n "$ac_ct_AR" && break
3752done
3753
3754  if test "x$ac_ct_AR" = x; then
3755    AR="false"
3756  else
3757    case $cross_compiling:$ac_tool_warned in
3758yes:)
3759{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3760$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3761ac_tool_warned=yes ;;
3762esac
3763    AR=$ac_ct_AR
3764  fi
3765fi
3766
3767: ${AR=ar}
3768
3769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
3770$as_echo_n "checking the archiver ($AR) interface... " >&6; }
3771if ${am_cv_ar_interface+:} false; then :
3772  $as_echo_n "(cached) " >&6
3773else
3774  ac_ext=c
3775ac_cpp='$CPP $CPPFLAGS'
3776ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3777ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3778ac_compiler_gnu=$ac_cv_c_compiler_gnu
3779
3780   am_cv_ar_interface=ar
3781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3782/* end confdefs.h.  */
3783int some_variable = 0;
3784_ACEOF
3785if ac_fn_c_try_compile "$LINENO"; then :
3786  am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
3787      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
3788  (eval $am_ar_try) 2>&5
3789  ac_status=$?
3790  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3791  test $ac_status = 0; }
3792      if test "$ac_status" -eq 0; then
3793        am_cv_ar_interface=ar
3794      else
3795        am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
3796        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
3797  (eval $am_ar_try) 2>&5
3798  ac_status=$?
3799  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3800  test $ac_status = 0; }
3801        if test "$ac_status" -eq 0; then
3802          am_cv_ar_interface=lib
3803        else
3804          am_cv_ar_interface=unknown
3805        fi
3806      fi
3807      rm -f conftest.lib libconftest.a
3808
3809fi
3810rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3811   ac_ext=c
3812ac_cpp='$CPP $CPPFLAGS'
3813ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3814ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3815ac_compiler_gnu=$ac_cv_c_compiler_gnu
3816
3817fi
3818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
3819$as_echo "$am_cv_ar_interface" >&6; }
3820
3821case $am_cv_ar_interface in
3822ar)
3823  ;;
3824lib)
3825  # Microsoft lib, so override with the ar-lib wrapper script.
3826  # FIXME: It is wrong to rewrite AR.
3827  # But if we don't then we get into trouble of one sort or another.
3828  # A longer-term fix would be to have automake use am__AR in this case,
3829  # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
3830  # similar.
3831  AR="$am_aux_dir/ar-lib $AR"
3832  ;;
3833unknown)
3834  as_fn_error $? "could not determine $AR interface" "$LINENO" 5
3835  ;;
3836esac
3837
3838ac_ext=c
3839ac_cpp='$CPP $CPPFLAGS'
3840ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3841ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3842ac_compiler_gnu=$ac_cv_c_compiler_gnu
3843if test -n "$ac_tool_prefix"; then
3844  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3845set dummy ${ac_tool_prefix}gcc; ac_word=$2
3846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3847$as_echo_n "checking for $ac_word... " >&6; }
3848if ${ac_cv_prog_CC+:} false; then :
3849  $as_echo_n "(cached) " >&6
3850else
3851  if test -n "$CC"; then
3852  ac_cv_prog_CC="$CC" # Let the user override the test.
3853else
3854as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3855for as_dir in $PATH
3856do
3857  IFS=$as_save_IFS
3858  test -z "$as_dir" && as_dir=.
3859    for ac_exec_ext in '' $ac_executable_extensions; do
3860  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3861    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3862    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3863    break 2
3864  fi
3865done
3866  done
3867IFS=$as_save_IFS
3868
3869fi
3870fi
3871CC=$ac_cv_prog_CC
3872if test -n "$CC"; then
3873  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3874$as_echo "$CC" >&6; }
3875else
3876  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3877$as_echo "no" >&6; }
3878fi
3879
3880
3881fi
3882if test -z "$ac_cv_prog_CC"; then
3883  ac_ct_CC=$CC
3884  # Extract the first word of "gcc", so it can be a program name with args.
3885set dummy gcc; ac_word=$2
3886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3887$as_echo_n "checking for $ac_word... " >&6; }
3888if ${ac_cv_prog_ac_ct_CC+:} false; then :
3889  $as_echo_n "(cached) " >&6
3890else
3891  if test -n "$ac_ct_CC"; then
3892  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3893else
3894as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3895for as_dir in $PATH
3896do
3897  IFS=$as_save_IFS
3898  test -z "$as_dir" && as_dir=.
3899    for ac_exec_ext in '' $ac_executable_extensions; do
3900  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3901    ac_cv_prog_ac_ct_CC="gcc"
3902    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3903    break 2
3904  fi
3905done
3906  done
3907IFS=$as_save_IFS
3908
3909fi
3910fi
3911ac_ct_CC=$ac_cv_prog_ac_ct_CC
3912if test -n "$ac_ct_CC"; then
3913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3914$as_echo "$ac_ct_CC" >&6; }
3915else
3916  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3917$as_echo "no" >&6; }
3918fi
3919
3920  if test "x$ac_ct_CC" = x; then
3921    CC=""
3922  else
3923    case $cross_compiling:$ac_tool_warned in
3924yes:)
3925{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3926$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3927ac_tool_warned=yes ;;
3928esac
3929    CC=$ac_ct_CC
3930  fi
3931else
3932  CC="$ac_cv_prog_CC"
3933fi
3934
3935if test -z "$CC"; then
3936          if test -n "$ac_tool_prefix"; then
3937    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3938set dummy ${ac_tool_prefix}cc; ac_word=$2
3939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3940$as_echo_n "checking for $ac_word... " >&6; }
3941if ${ac_cv_prog_CC+:} false; then :
3942  $as_echo_n "(cached) " >&6
3943else
3944  if test -n "$CC"; then
3945  ac_cv_prog_CC="$CC" # Let the user override the test.
3946else
3947as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3948for as_dir in $PATH
3949do
3950  IFS=$as_save_IFS
3951  test -z "$as_dir" && as_dir=.
3952    for ac_exec_ext in '' $ac_executable_extensions; do
3953  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3954    ac_cv_prog_CC="${ac_tool_prefix}cc"
3955    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3956    break 2
3957  fi
3958done
3959  done
3960IFS=$as_save_IFS
3961
3962fi
3963fi
3964CC=$ac_cv_prog_CC
3965if test -n "$CC"; then
3966  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3967$as_echo "$CC" >&6; }
3968else
3969  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3970$as_echo "no" >&6; }
3971fi
3972
3973
3974  fi
3975fi
3976if test -z "$CC"; then
3977  # Extract the first word of "cc", so it can be a program name with args.
3978set dummy cc; ac_word=$2
3979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3980$as_echo_n "checking for $ac_word... " >&6; }
3981if ${ac_cv_prog_CC+:} false; then :
3982  $as_echo_n "(cached) " >&6
3983else
3984  if test -n "$CC"; then
3985  ac_cv_prog_CC="$CC" # Let the user override the test.
3986else
3987  ac_prog_rejected=no
3988as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3989for as_dir in $PATH
3990do
3991  IFS=$as_save_IFS
3992  test -z "$as_dir" && as_dir=.
3993    for ac_exec_ext in '' $ac_executable_extensions; do
3994  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3995    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3996       ac_prog_rejected=yes
3997       continue
3998     fi
3999    ac_cv_prog_CC="cc"
4000    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4001    break 2
4002  fi
4003done
4004  done
4005IFS=$as_save_IFS
4006
4007if test $ac_prog_rejected = yes; then
4008  # We found a bogon in the path, so make sure we never use it.
4009  set dummy $ac_cv_prog_CC
4010  shift
4011  if test $# != 0; then
4012    # We chose a different compiler from the bogus one.
4013    # However, it has the same basename, so the bogon will be chosen
4014    # first if we set CC to just the basename; use the full file name.
4015    shift
4016    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4017  fi
4018fi
4019fi
4020fi
4021CC=$ac_cv_prog_CC
4022if test -n "$CC"; then
4023  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4024$as_echo "$CC" >&6; }
4025else
4026  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4027$as_echo "no" >&6; }
4028fi
4029
4030
4031fi
4032if test -z "$CC"; then
4033  if test -n "$ac_tool_prefix"; then
4034  for ac_prog in cl.exe
4035  do
4036    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4037set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4039$as_echo_n "checking for $ac_word... " >&6; }
4040if ${ac_cv_prog_CC+:} false; then :
4041  $as_echo_n "(cached) " >&6
4042else
4043  if test -n "$CC"; then
4044  ac_cv_prog_CC="$CC" # Let the user override the test.
4045else
4046as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4047for as_dir in $PATH
4048do
4049  IFS=$as_save_IFS
4050  test -z "$as_dir" && as_dir=.
4051    for ac_exec_ext in '' $ac_executable_extensions; do
4052  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4053    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4054    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4055    break 2
4056  fi
4057done
4058  done
4059IFS=$as_save_IFS
4060
4061fi
4062fi
4063CC=$ac_cv_prog_CC
4064if test -n "$CC"; then
4065  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4066$as_echo "$CC" >&6; }
4067else
4068  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4069$as_echo "no" >&6; }
4070fi
4071
4072
4073    test -n "$CC" && break
4074  done
4075fi
4076if test -z "$CC"; then
4077  ac_ct_CC=$CC
4078  for ac_prog in cl.exe
4079do
4080  # Extract the first word of "$ac_prog", so it can be a program name with args.
4081set dummy $ac_prog; ac_word=$2
4082{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4083$as_echo_n "checking for $ac_word... " >&6; }
4084if ${ac_cv_prog_ac_ct_CC+:} false; then :
4085  $as_echo_n "(cached) " >&6
4086else
4087  if test -n "$ac_ct_CC"; then
4088  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4089else
4090as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4091for as_dir in $PATH
4092do
4093  IFS=$as_save_IFS
4094  test -z "$as_dir" && as_dir=.
4095    for ac_exec_ext in '' $ac_executable_extensions; do
4096  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4097    ac_cv_prog_ac_ct_CC="$ac_prog"
4098    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4099    break 2
4100  fi
4101done
4102  done
4103IFS=$as_save_IFS
4104
4105fi
4106fi
4107ac_ct_CC=$ac_cv_prog_ac_ct_CC
4108if test -n "$ac_ct_CC"; then
4109  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4110$as_echo "$ac_ct_CC" >&6; }
4111else
4112  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4113$as_echo "no" >&6; }
4114fi
4115
4116
4117  test -n "$ac_ct_CC" && break
4118done
4119
4120  if test "x$ac_ct_CC" = x; then
4121    CC=""
4122  else
4123    case $cross_compiling:$ac_tool_warned in
4124yes:)
4125{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4126$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4127ac_tool_warned=yes ;;
4128esac
4129    CC=$ac_ct_CC
4130  fi
4131fi
4132
4133fi
4134
4135
4136test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4137$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4138as_fn_error $? "no acceptable C compiler found in \$PATH
4139See \`config.log' for more details" "$LINENO" 5; }
4140
4141# Provide some information about the compiler.
4142$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4143set X $ac_compile
4144ac_compiler=$2
4145for ac_option in --version -v -V -qversion; do
4146  { { ac_try="$ac_compiler $ac_option >&5"
4147case "(($ac_try" in
4148  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4149  *) ac_try_echo=$ac_try;;
4150esac
4151eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4152$as_echo "$ac_try_echo"; } >&5
4153  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4154  ac_status=$?
4155  if test -s conftest.err; then
4156    sed '10a\
4157... rest of stderr output deleted ...
4158         10q' conftest.err >conftest.er1
4159    cat conftest.er1 >&5
4160  fi
4161  rm -f conftest.er1 conftest.err
4162  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4163  test $ac_status = 0; }
4164done
4165
4166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4167$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4168if ${ac_cv_c_compiler_gnu+:} false; then :
4169  $as_echo_n "(cached) " >&6
4170else
4171  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4172/* end confdefs.h.  */
4173
4174int
4175main ()
4176{
4177#ifndef __GNUC__
4178       choke me
4179#endif
4180
4181  ;
4182  return 0;
4183}
4184_ACEOF
4185if ac_fn_c_try_compile "$LINENO"; then :
4186  ac_compiler_gnu=yes
4187else
4188  ac_compiler_gnu=no
4189fi
4190rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4191ac_cv_c_compiler_gnu=$ac_compiler_gnu
4192
4193fi
4194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4195$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4196if test $ac_compiler_gnu = yes; then
4197  GCC=yes
4198else
4199  GCC=
4200fi
4201ac_test_CFLAGS=${CFLAGS+set}
4202ac_save_CFLAGS=$CFLAGS
4203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4204$as_echo_n "checking whether $CC accepts -g... " >&6; }
4205if ${ac_cv_prog_cc_g+:} false; then :
4206  $as_echo_n "(cached) " >&6
4207else
4208  ac_save_c_werror_flag=$ac_c_werror_flag
4209   ac_c_werror_flag=yes
4210   ac_cv_prog_cc_g=no
4211   CFLAGS="-g"
4212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4213/* end confdefs.h.  */
4214
4215int
4216main ()
4217{
4218
4219  ;
4220  return 0;
4221}
4222_ACEOF
4223if ac_fn_c_try_compile "$LINENO"; then :
4224  ac_cv_prog_cc_g=yes
4225else
4226  CFLAGS=""
4227      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4228/* end confdefs.h.  */
4229
4230int
4231main ()
4232{
4233
4234  ;
4235  return 0;
4236}
4237_ACEOF
4238if ac_fn_c_try_compile "$LINENO"; then :
4239
4240else
4241  ac_c_werror_flag=$ac_save_c_werror_flag
4242	 CFLAGS="-g"
4243	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4244/* end confdefs.h.  */
4245
4246int
4247main ()
4248{
4249
4250  ;
4251  return 0;
4252}
4253_ACEOF
4254if ac_fn_c_try_compile "$LINENO"; then :
4255  ac_cv_prog_cc_g=yes
4256fi
4257rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4258fi
4259rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4260fi
4261rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4262   ac_c_werror_flag=$ac_save_c_werror_flag
4263fi
4264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4265$as_echo "$ac_cv_prog_cc_g" >&6; }
4266if test "$ac_test_CFLAGS" = set; then
4267  CFLAGS=$ac_save_CFLAGS
4268elif test $ac_cv_prog_cc_g = yes; then
4269  if test "$GCC" = yes; then
4270    CFLAGS="-g -O2"
4271  else
4272    CFLAGS="-g"
4273  fi
4274else
4275  if test "$GCC" = yes; then
4276    CFLAGS="-O2"
4277  else
4278    CFLAGS=
4279  fi
4280fi
4281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4282$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4283if ${ac_cv_prog_cc_c89+:} false; then :
4284  $as_echo_n "(cached) " >&6
4285else
4286  ac_cv_prog_cc_c89=no
4287ac_save_CC=$CC
4288cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4289/* end confdefs.h.  */
4290#include <stdarg.h>
4291#include <stdio.h>
4292struct stat;
4293/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4294struct buf { int x; };
4295FILE * (*rcsopen) (struct buf *, struct stat *, int);
4296static char *e (p, i)
4297     char **p;
4298     int i;
4299{
4300  return p[i];
4301}
4302static char *f (char * (*g) (char **, int), char **p, ...)
4303{
4304  char *s;
4305  va_list v;
4306  va_start (v,p);
4307  s = g (p, va_arg (v,int));
4308  va_end (v);
4309  return s;
4310}
4311
4312/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4313   function prototypes and stuff, but not '\xHH' hex character constants.
4314   These don't provoke an error unfortunately, instead are silently treated
4315   as 'x'.  The following induces an error, until -std is added to get
4316   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4317   array size at least.  It's necessary to write '\x00'==0 to get something
4318   that's true only with -std.  */
4319int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4320
4321/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4322   inside strings and character constants.  */
4323#define FOO(x) 'x'
4324int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4325
4326int test (int i, double x);
4327struct s1 {int (*f) (int a);};
4328struct s2 {int (*f) (double a);};
4329int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4330int argc;
4331char **argv;
4332int
4333main ()
4334{
4335return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4336  ;
4337  return 0;
4338}
4339_ACEOF
4340for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4341	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4342do
4343  CC="$ac_save_CC $ac_arg"
4344  if ac_fn_c_try_compile "$LINENO"; then :
4345  ac_cv_prog_cc_c89=$ac_arg
4346fi
4347rm -f core conftest.err conftest.$ac_objext
4348  test "x$ac_cv_prog_cc_c89" != "xno" && break
4349done
4350rm -f conftest.$ac_ext
4351CC=$ac_save_CC
4352
4353fi
4354# AC_CACHE_VAL
4355case "x$ac_cv_prog_cc_c89" in
4356  x)
4357    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4358$as_echo "none needed" >&6; } ;;
4359  xno)
4360    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4361$as_echo "unsupported" >&6; } ;;
4362  *)
4363    CC="$CC $ac_cv_prog_cc_c89"
4364    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4365$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4366esac
4367if test "x$ac_cv_prog_cc_c89" != xno; then :
4368
4369fi
4370
4371ac_ext=c
4372ac_cpp='$CPP $CPPFLAGS'
4373ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4374ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4375ac_compiler_gnu=$ac_cv_c_compiler_gnu
4376
4377ac_ext=c
4378ac_cpp='$CPP $CPPFLAGS'
4379ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4380ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4381ac_compiler_gnu=$ac_cv_c_compiler_gnu
4382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4383$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4384if ${am_cv_prog_cc_c_o+:} false; then :
4385  $as_echo_n "(cached) " >&6
4386else
4387  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4388/* end confdefs.h.  */
4389
4390int
4391main ()
4392{
4393
4394  ;
4395  return 0;
4396}
4397_ACEOF
4398  # Make sure it works both with $CC and with simple cc.
4399  # Following AC_PROG_CC_C_O, we do the test twice because some
4400  # compilers refuse to overwrite an existing .o file with -o,
4401  # though they will create one.
4402  am_cv_prog_cc_c_o=yes
4403  for am_i in 1 2; do
4404    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4405   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4406   ac_status=$?
4407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4408   (exit $ac_status); } \
4409         && test -f conftest2.$ac_objext; then
4410      : OK
4411    else
4412      am_cv_prog_cc_c_o=no
4413      break
4414    fi
4415  done
4416  rm -f core conftest*
4417  unset am_i
4418fi
4419{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4420$as_echo "$am_cv_prog_cc_c_o" >&6; }
4421if test "$am_cv_prog_cc_c_o" != yes; then
4422   # Losing compiler, so override with the script.
4423   # FIXME: It is wrong to rewrite CC.
4424   # But if we don't then we get into trouble of one sort or another.
4425   # A longer-term fix would be to have automake use am__CC in this case,
4426   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4427   CC="$am_aux_dir/compile $CC"
4428fi
4429ac_ext=c
4430ac_cpp='$CPP $CPPFLAGS'
4431ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4432ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4433ac_compiler_gnu=$ac_cv_c_compiler_gnu
4434
4435
4436depcc="$CC"   am_compiler_list=
4437
4438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4439$as_echo_n "checking dependency style of $depcc... " >&6; }
4440if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4441  $as_echo_n "(cached) " >&6
4442else
4443  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4444  # We make a subdir and do the tests there.  Otherwise we can end up
4445  # making bogus files that we don't know about and never remove.  For
4446  # instance it was reported that on HP-UX the gcc test will end up
4447  # making a dummy file named 'D' -- because '-MD' means "put the output
4448  # in D".
4449  rm -rf conftest.dir
4450  mkdir conftest.dir
4451  # Copy depcomp to subdir because otherwise we won't find it if we're
4452  # using a relative directory.
4453  cp "$am_depcomp" conftest.dir
4454  cd conftest.dir
4455  # We will build objects and dependencies in a subdirectory because
4456  # it helps to detect inapplicable dependency modes.  For instance
4457  # both Tru64's cc and ICC support -MD to output dependencies as a
4458  # side effect of compilation, but ICC will put the dependencies in
4459  # the current directory while Tru64 will put them in the object
4460  # directory.
4461  mkdir sub
4462
4463  am_cv_CC_dependencies_compiler_type=none
4464  if test "$am_compiler_list" = ""; then
4465     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4466  fi
4467  am__universal=false
4468  case " $depcc " in #(
4469     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4470     esac
4471
4472  for depmode in $am_compiler_list; do
4473    # Setup a source with many dependencies, because some compilers
4474    # like to wrap large dependency lists on column 80 (with \), and
4475    # we should not choose a depcomp mode which is confused by this.
4476    #
4477    # We need to recreate these files for each test, as the compiler may
4478    # overwrite some of them when testing with obscure command lines.
4479    # This happens at least with the AIX C compiler.
4480    : > sub/conftest.c
4481    for i in 1 2 3 4 5 6; do
4482      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4483      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4484      # Solaris 10 /bin/sh.
4485      echo '/* dummy */' > sub/conftst$i.h
4486    done
4487    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4488
4489    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4490    # mode.  It turns out that the SunPro C++ compiler does not properly
4491    # handle '-M -o', and we need to detect this.  Also, some Intel
4492    # versions had trouble with output in subdirs.
4493    am__obj=sub/conftest.${OBJEXT-o}
4494    am__minus_obj="-o $am__obj"
4495    case $depmode in
4496    gcc)
4497      # This depmode causes a compiler race in universal mode.
4498      test "$am__universal" = false || continue
4499      ;;
4500    nosideeffect)
4501      # After this tag, mechanisms are not by side-effect, so they'll
4502      # only be used when explicitly requested.
4503      if test "x$enable_dependency_tracking" = xyes; then
4504	continue
4505      else
4506	break
4507      fi
4508      ;;
4509    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4510      # This compiler won't grok '-c -o', but also, the minuso test has
4511      # not run yet.  These depmodes are late enough in the game, and
4512      # so weak that their functioning should not be impacted.
4513      am__obj=conftest.${OBJEXT-o}
4514      am__minus_obj=
4515      ;;
4516    none) break ;;
4517    esac
4518    if depmode=$depmode \
4519       source=sub/conftest.c object=$am__obj \
4520       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4521       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4522         >/dev/null 2>conftest.err &&
4523       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4524       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4525       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4526       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4527      # icc doesn't choke on unknown options, it will just issue warnings
4528      # or remarks (even with -Werror).  So we grep stderr for any message
4529      # that says an option was ignored or not supported.
4530      # When given -MP, icc 7.0 and 7.1 complain thusly:
4531      #   icc: Command line warning: ignoring option '-M'; no argument required
4532      # The diagnosis changed in icc 8.0:
4533      #   icc: Command line remark: option '-MP' not supported
4534      if (grep 'ignoring option' conftest.err ||
4535          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4536        am_cv_CC_dependencies_compiler_type=$depmode
4537        break
4538      fi
4539    fi
4540  done
4541
4542  cd ..
4543  rm -rf conftest.dir
4544else
4545  am_cv_CC_dependencies_compiler_type=none
4546fi
4547
4548fi
4549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4550$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4551CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4552
4553 if
4554  test "x$enable_dependency_tracking" != xno \
4555  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4556  am__fastdepCC_TRUE=
4557  am__fastdepCC_FALSE='#'
4558else
4559  am__fastdepCC_TRUE='#'
4560  am__fastdepCC_FALSE=
4561fi
4562
4563
4564if test -n "$ac_tool_prefix"; then
4565  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4566set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4568$as_echo_n "checking for $ac_word... " >&6; }
4569if ${ac_cv_prog_RANLIB+:} false; then :
4570  $as_echo_n "(cached) " >&6
4571else
4572  if test -n "$RANLIB"; then
4573  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4574else
4575as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4576for as_dir in $PATH
4577do
4578  IFS=$as_save_IFS
4579  test -z "$as_dir" && as_dir=.
4580    for ac_exec_ext in '' $ac_executable_extensions; do
4581  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4582    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4583    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4584    break 2
4585  fi
4586done
4587  done
4588IFS=$as_save_IFS
4589
4590fi
4591fi
4592RANLIB=$ac_cv_prog_RANLIB
4593if test -n "$RANLIB"; then
4594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4595$as_echo "$RANLIB" >&6; }
4596else
4597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4598$as_echo "no" >&6; }
4599fi
4600
4601
4602fi
4603if test -z "$ac_cv_prog_RANLIB"; then
4604  ac_ct_RANLIB=$RANLIB
4605  # Extract the first word of "ranlib", so it can be a program name with args.
4606set dummy ranlib; ac_word=$2
4607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4608$as_echo_n "checking for $ac_word... " >&6; }
4609if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4610  $as_echo_n "(cached) " >&6
4611else
4612  if test -n "$ac_ct_RANLIB"; then
4613  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4614else
4615as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4616for as_dir in $PATH
4617do
4618  IFS=$as_save_IFS
4619  test -z "$as_dir" && as_dir=.
4620    for ac_exec_ext in '' $ac_executable_extensions; do
4621  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4622    ac_cv_prog_ac_ct_RANLIB="ranlib"
4623    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4624    break 2
4625  fi
4626done
4627  done
4628IFS=$as_save_IFS
4629
4630fi
4631fi
4632ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4633if test -n "$ac_ct_RANLIB"; then
4634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4635$as_echo "$ac_ct_RANLIB" >&6; }
4636else
4637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4638$as_echo "no" >&6; }
4639fi
4640
4641  if test "x$ac_ct_RANLIB" = x; then
4642    RANLIB=":"
4643  else
4644    case $cross_compiling:$ac_tool_warned in
4645yes:)
4646{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4647$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4648ac_tool_warned=yes ;;
4649esac
4650    RANLIB=$ac_ct_RANLIB
4651  fi
4652else
4653  RANLIB="$ac_cv_prog_RANLIB"
4654fi
4655
4656
4657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for call0 ABI" >&5
4658$as_echo_n "checking for call0 ABI... " >&6; }
4659cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4660/* end confdefs.h.  */
4661#if __XTENSA_CALL0_ABI__
4662#else
4663#error "Not call0 ABI"
4664#endif
4665
4666int
4667main ()
4668{
4669
4670  ;
4671  return 0;
4672}
4673_ACEOF
4674if ac_fn_c_try_compile "$LINENO"; then :
4675  call0_abi=yes
4676else
4677  call0_abi=no
4678fi
4679rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $call0_abi" >&5
4681$as_echo "$call0_abi" >&6; }
4682 if test x$call0_abi = xyes; then
4683  XTENSA_CALL0_ABI_TRUE=
4684  XTENSA_CALL0_ABI_FALSE='#'
4685else
4686  XTENSA_CALL0_ABI_TRUE='#'
4687  XTENSA_CALL0_ABI_FALSE=
4688fi
4689
4690
4691CPPFLAGS="${CPPFLAGS:+$CPPFLAGS }-I\${top_srcdir}/include -I\${top_srcdir}/include/arch/include"
4692
4693ac_config_files="$ac_config_files Makefile include/Makefile src/hal/Makefile"
4694
4695cat >confcache <<\_ACEOF
4696# This file is a shell script that caches the results of configure
4697# tests run on this system so they can be shared between configure
4698# scripts and configure runs, see configure's option --config-cache.
4699# It is not useful on other systems.  If it contains results you don't
4700# want to keep, you may remove or edit it.
4701#
4702# config.status only pays attention to the cache file if you give it
4703# the --recheck option to rerun configure.
4704#
4705# `ac_cv_env_foo' variables (set or unset) will be overridden when
4706# loading this file, other *unset* `ac_cv_foo' will be assigned the
4707# following values.
4708
4709_ACEOF
4710
4711# The following way of writing the cache mishandles newlines in values,
4712# but we know of no workaround that is simple, portable, and efficient.
4713# So, we kill variables containing newlines.
4714# Ultrix sh set writes to stderr and can't be redirected directly,
4715# and sets the high bit in the cache file unless we assign to the vars.
4716(
4717  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4718    eval ac_val=\$$ac_var
4719    case $ac_val in #(
4720    *${as_nl}*)
4721      case $ac_var in #(
4722      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4723$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4724      esac
4725      case $ac_var in #(
4726      _ | IFS | as_nl) ;; #(
4727      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4728      *) { eval $ac_var=; unset $ac_var;} ;;
4729      esac ;;
4730    esac
4731  done
4732
4733  (set) 2>&1 |
4734    case $as_nl`(ac_space=' '; set) 2>&1` in #(
4735    *${as_nl}ac_space=\ *)
4736      # `set' does not quote correctly, so add quotes: double-quote
4737      # substitution turns \\\\ into \\, and sed turns \\ into \.
4738      sed -n \
4739	"s/'/'\\\\''/g;
4740	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4741      ;; #(
4742    *)
4743      # `set' quotes correctly as required by POSIX, so do not add quotes.
4744      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4745      ;;
4746    esac |
4747    sort
4748) |
4749  sed '
4750     /^ac_cv_env_/b end
4751     t clear
4752     :clear
4753     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4754     t end
4755     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4756     :end' >>confcache
4757if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4758  if test -w "$cache_file"; then
4759    if test "x$cache_file" != "x/dev/null"; then
4760      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4761$as_echo "$as_me: updating cache $cache_file" >&6;}
4762      if test ! -f "$cache_file" || test -h "$cache_file"; then
4763	cat confcache >"$cache_file"
4764      else
4765        case $cache_file in #(
4766        */* | ?:*)
4767	  mv -f confcache "$cache_file"$$ &&
4768	  mv -f "$cache_file"$$ "$cache_file" ;; #(
4769        *)
4770	  mv -f confcache "$cache_file" ;;
4771	esac
4772      fi
4773    fi
4774  else
4775    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4776$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4777  fi
4778fi
4779rm -f confcache
4780
4781test "x$prefix" = xNONE && prefix=$ac_default_prefix
4782# Let make expand exec_prefix.
4783test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4784
4785# Transform confdefs.h into DEFS.
4786# Protect against shell expansion while executing Makefile rules.
4787# Protect against Makefile macro expansion.
4788#
4789# If the first sed substitution is executed (which looks for macros that
4790# take arguments), then branch to the quote section.  Otherwise,
4791# look for a macro that doesn't take arguments.
4792ac_script='
4793:mline
4794/\\$/{
4795 N
4796 s,\\\n,,
4797 b mline
4798}
4799t clear
4800:clear
4801s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
4802t quote
4803s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
4804t quote
4805b any
4806:quote
4807s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4808s/\[/\\&/g
4809s/\]/\\&/g
4810s/\$/$$/g
4811H
4812:any
4813${
4814	g
4815	s/^\n//
4816	s/\n/ /g
4817	p
4818}
4819'
4820DEFS=`sed -n "$ac_script" confdefs.h`
4821
4822
4823ac_libobjs=
4824ac_ltlibobjs=
4825U=
4826for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4827  # 1. Remove the extension, and $U if already installed.
4828  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4829  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4830  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4831  #    will be set to the directory where LIBOBJS objects are built.
4832  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4833  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4834done
4835LIBOBJS=$ac_libobjs
4836
4837LTLIBOBJS=$ac_ltlibobjs
4838
4839
4840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4841$as_echo_n "checking that generated files are newer than configure... " >&6; }
4842   if test -n "$am_sleep_pid"; then
4843     # Hide warnings about reused PIDs.
4844     wait $am_sleep_pid 2>/dev/null
4845   fi
4846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4847$as_echo "done" >&6; }
4848 if test -n "$EXEEXT"; then
4849  am__EXEEXT_TRUE=
4850  am__EXEEXT_FALSE='#'
4851else
4852  am__EXEEXT_TRUE='#'
4853  am__EXEEXT_FALSE=
4854fi
4855
4856if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4857  as_fn_error $? "conditional \"AMDEP\" was never defined.
4858Usually this means the macro was only invoked conditionally." "$LINENO" 5
4859fi
4860if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4861  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4862Usually this means the macro was only invoked conditionally." "$LINENO" 5
4863fi
4864if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
4865  as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
4866Usually this means the macro was only invoked conditionally." "$LINENO" 5
4867fi
4868if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4869  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4870Usually this means the macro was only invoked conditionally." "$LINENO" 5
4871fi
4872if test -z "${XTENSA_CALL0_ABI_TRUE}" && test -z "${XTENSA_CALL0_ABI_FALSE}"; then
4873  as_fn_error $? "conditional \"XTENSA_CALL0_ABI\" was never defined.
4874Usually this means the macro was only invoked conditionally." "$LINENO" 5
4875fi
4876
4877: "${CONFIG_STATUS=./config.status}"
4878ac_write_fail=0
4879ac_clean_files_save=$ac_clean_files
4880ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4881{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4882$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4883as_write_fail=0
4884cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4885#! $SHELL
4886# Generated by $as_me.
4887# Run this file to recreate the current configuration.
4888# Compiler output produced by configure, useful for debugging
4889# configure, is in config.log if it exists.
4890
4891debug=false
4892ac_cs_recheck=false
4893ac_cs_silent=false
4894
4895SHELL=\${CONFIG_SHELL-$SHELL}
4896export SHELL
4897_ASEOF
4898cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4899## -------------------- ##
4900## M4sh Initialization. ##
4901## -------------------- ##
4902
4903# Be more Bourne compatible
4904DUALCASE=1; export DUALCASE # for MKS sh
4905if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4906  emulate sh
4907  NULLCMD=:
4908  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4909  # is contrary to our usage.  Disable this feature.
4910  alias -g '${1+"$@"}'='"$@"'
4911  setopt NO_GLOB_SUBST
4912else
4913  case `(set -o) 2>/dev/null` in #(
4914  *posix*) :
4915    set -o posix ;; #(
4916  *) :
4917     ;;
4918esac
4919fi
4920
4921
4922as_nl='
4923'
4924export as_nl
4925# Printing a long string crashes Solaris 7 /usr/bin/printf.
4926as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4927as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4928as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4929# Prefer a ksh shell builtin over an external printf program on Solaris,
4930# but without wasting forks for bash or zsh.
4931if test -z "$BASH_VERSION$ZSH_VERSION" \
4932    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4933  as_echo='print -r --'
4934  as_echo_n='print -rn --'
4935elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4936  as_echo='printf %s\n'
4937  as_echo_n='printf %s'
4938else
4939  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4940    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4941    as_echo_n='/usr/ucb/echo -n'
4942  else
4943    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4944    as_echo_n_body='eval
4945      arg=$1;
4946      case $arg in #(
4947      *"$as_nl"*)
4948	expr "X$arg" : "X\\(.*\\)$as_nl";
4949	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4950      esac;
4951      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4952    '
4953    export as_echo_n_body
4954    as_echo_n='sh -c $as_echo_n_body as_echo'
4955  fi
4956  export as_echo_body
4957  as_echo='sh -c $as_echo_body as_echo'
4958fi
4959
4960# The user is always right.
4961if test "${PATH_SEPARATOR+set}" != set; then
4962  PATH_SEPARATOR=:
4963  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4964    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4965      PATH_SEPARATOR=';'
4966  }
4967fi
4968
4969
4970# IFS
4971# We need space, tab and new line, in precisely that order.  Quoting is
4972# there to prevent editors from complaining about space-tab.
4973# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4974# splitting by setting IFS to empty value.)
4975IFS=" ""	$as_nl"
4976
4977# Find who we are.  Look in the path if we contain no directory separator.
4978as_myself=
4979case $0 in #((
4980  *[\\/]* ) as_myself=$0 ;;
4981  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4982for as_dir in $PATH
4983do
4984  IFS=$as_save_IFS
4985  test -z "$as_dir" && as_dir=.
4986    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4987  done
4988IFS=$as_save_IFS
4989
4990     ;;
4991esac
4992# We did not find ourselves, most probably we were run as `sh COMMAND'
4993# in which case we are not to be found in the path.
4994if test "x$as_myself" = x; then
4995  as_myself=$0
4996fi
4997if test ! -f "$as_myself"; then
4998  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4999  exit 1
5000fi
5001
5002# Unset variables that we do not need and which cause bugs (e.g. in
5003# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5004# suppresses any "Segmentation fault" message there.  '((' could
5005# trigger a bug in pdksh 5.2.14.
5006for as_var in BASH_ENV ENV MAIL MAILPATH
5007do eval test x\${$as_var+set} = xset \
5008  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5009done
5010PS1='$ '
5011PS2='> '
5012PS4='+ '
5013
5014# NLS nuisances.
5015LC_ALL=C
5016export LC_ALL
5017LANGUAGE=C
5018export LANGUAGE
5019
5020# CDPATH.
5021(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5022
5023
5024# as_fn_error STATUS ERROR [LINENO LOG_FD]
5025# ----------------------------------------
5026# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5027# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5028# script with STATUS, using 1 if that was 0.
5029as_fn_error ()
5030{
5031  as_status=$1; test $as_status -eq 0 && as_status=1
5032  if test "$4"; then
5033    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5034    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5035  fi
5036  $as_echo "$as_me: error: $2" >&2
5037  as_fn_exit $as_status
5038} # as_fn_error
5039
5040
5041# as_fn_set_status STATUS
5042# -----------------------
5043# Set $? to STATUS, without forking.
5044as_fn_set_status ()
5045{
5046  return $1
5047} # as_fn_set_status
5048
5049# as_fn_exit STATUS
5050# -----------------
5051# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5052as_fn_exit ()
5053{
5054  set +e
5055  as_fn_set_status $1
5056  exit $1
5057} # as_fn_exit
5058
5059# as_fn_unset VAR
5060# ---------------
5061# Portably unset VAR.
5062as_fn_unset ()
5063{
5064  { eval $1=; unset $1;}
5065}
5066as_unset=as_fn_unset
5067# as_fn_append VAR VALUE
5068# ----------------------
5069# Append the text in VALUE to the end of the definition contained in VAR. Take
5070# advantage of any shell optimizations that allow amortized linear growth over
5071# repeated appends, instead of the typical quadratic growth present in naive
5072# implementations.
5073if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5074  eval 'as_fn_append ()
5075  {
5076    eval $1+=\$2
5077  }'
5078else
5079  as_fn_append ()
5080  {
5081    eval $1=\$$1\$2
5082  }
5083fi # as_fn_append
5084
5085# as_fn_arith ARG...
5086# ------------------
5087# Perform arithmetic evaluation on the ARGs, and store the result in the
5088# global $as_val. Take advantage of shells that can avoid forks. The arguments
5089# must be portable across $(()) and expr.
5090if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5091  eval 'as_fn_arith ()
5092  {
5093    as_val=$(( $* ))
5094  }'
5095else
5096  as_fn_arith ()
5097  {
5098    as_val=`expr "$@" || test $? -eq 1`
5099  }
5100fi # as_fn_arith
5101
5102
5103if expr a : '\(a\)' >/dev/null 2>&1 &&
5104   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5105  as_expr=expr
5106else
5107  as_expr=false
5108fi
5109
5110if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5111  as_basename=basename
5112else
5113  as_basename=false
5114fi
5115
5116if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5117  as_dirname=dirname
5118else
5119  as_dirname=false
5120fi
5121
5122as_me=`$as_basename -- "$0" ||
5123$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5124	 X"$0" : 'X\(//\)$' \| \
5125	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5126$as_echo X/"$0" |
5127    sed '/^.*\/\([^/][^/]*\)\/*$/{
5128	    s//\1/
5129	    q
5130	  }
5131	  /^X\/\(\/\/\)$/{
5132	    s//\1/
5133	    q
5134	  }
5135	  /^X\/\(\/\).*/{
5136	    s//\1/
5137	    q
5138	  }
5139	  s/.*/./; q'`
5140
5141# Avoid depending upon Character Ranges.
5142as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5143as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5144as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5145as_cr_digits='0123456789'
5146as_cr_alnum=$as_cr_Letters$as_cr_digits
5147
5148ECHO_C= ECHO_N= ECHO_T=
5149case `echo -n x` in #(((((
5150-n*)
5151  case `echo 'xy\c'` in
5152  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5153  xy)  ECHO_C='\c';;
5154  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5155       ECHO_T='	';;
5156  esac;;
5157*)
5158  ECHO_N='-n';;
5159esac
5160
5161rm -f conf$$ conf$$.exe conf$$.file
5162if test -d conf$$.dir; then
5163  rm -f conf$$.dir/conf$$.file
5164else
5165  rm -f conf$$.dir
5166  mkdir conf$$.dir 2>/dev/null
5167fi
5168if (echo >conf$$.file) 2>/dev/null; then
5169  if ln -s conf$$.file conf$$ 2>/dev/null; then
5170    as_ln_s='ln -s'
5171    # ... but there are two gotchas:
5172    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5173    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5174    # In both cases, we have to default to `cp -pR'.
5175    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5176      as_ln_s='cp -pR'
5177  elif ln conf$$.file conf$$ 2>/dev/null; then
5178    as_ln_s=ln
5179  else
5180    as_ln_s='cp -pR'
5181  fi
5182else
5183  as_ln_s='cp -pR'
5184fi
5185rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5186rmdir conf$$.dir 2>/dev/null
5187
5188
5189# as_fn_mkdir_p
5190# -------------
5191# Create "$as_dir" as a directory, including parents if necessary.
5192as_fn_mkdir_p ()
5193{
5194
5195  case $as_dir in #(
5196  -*) as_dir=./$as_dir;;
5197  esac
5198  test -d "$as_dir" || eval $as_mkdir_p || {
5199    as_dirs=
5200    while :; do
5201      case $as_dir in #(
5202      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5203      *) as_qdir=$as_dir;;
5204      esac
5205      as_dirs="'$as_qdir' $as_dirs"
5206      as_dir=`$as_dirname -- "$as_dir" ||
5207$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5208	 X"$as_dir" : 'X\(//\)[^/]' \| \
5209	 X"$as_dir" : 'X\(//\)$' \| \
5210	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5211$as_echo X"$as_dir" |
5212    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5213	    s//\1/
5214	    q
5215	  }
5216	  /^X\(\/\/\)[^/].*/{
5217	    s//\1/
5218	    q
5219	  }
5220	  /^X\(\/\/\)$/{
5221	    s//\1/
5222	    q
5223	  }
5224	  /^X\(\/\).*/{
5225	    s//\1/
5226	    q
5227	  }
5228	  s/.*/./; q'`
5229      test -d "$as_dir" && break
5230    done
5231    test -z "$as_dirs" || eval "mkdir $as_dirs"
5232  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5233
5234
5235} # as_fn_mkdir_p
5236if mkdir -p . 2>/dev/null; then
5237  as_mkdir_p='mkdir -p "$as_dir"'
5238else
5239  test -d ./-p && rmdir ./-p
5240  as_mkdir_p=false
5241fi
5242
5243
5244# as_fn_executable_p FILE
5245# -----------------------
5246# Test if FILE is an executable regular file.
5247as_fn_executable_p ()
5248{
5249  test -f "$1" && test -x "$1"
5250} # as_fn_executable_p
5251as_test_x='test -x'
5252as_executable_p=as_fn_executable_p
5253
5254# Sed expression to map a string onto a valid CPP name.
5255as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5256
5257# Sed expression to map a string onto a valid variable name.
5258as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5259
5260
5261exec 6>&1
5262## ----------------------------------- ##
5263## Main body of $CONFIG_STATUS script. ##
5264## ----------------------------------- ##
5265_ASEOF
5266test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5267
5268cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5269# Save the log message, to keep $0 and so on meaningful, and to
5270# report actual input values of CONFIG_FILES etc. instead of their
5271# values after options handling.
5272ac_log="
5273This file was extended by xtensa-hal $as_me RF-2015.2, which was
5274generated by GNU Autoconf 2.69.  Invocation command line was
5275
5276  CONFIG_FILES    = $CONFIG_FILES
5277  CONFIG_HEADERS  = $CONFIG_HEADERS
5278  CONFIG_LINKS    = $CONFIG_LINKS
5279  CONFIG_COMMANDS = $CONFIG_COMMANDS
5280  $ $0 $@
5281
5282on `(hostname || uname -n) 2>/dev/null | sed 1q`
5283"
5284
5285_ACEOF
5286
5287case $ac_config_files in *"
5288"*) set x $ac_config_files; shift; ac_config_files=$*;;
5289esac
5290
5291
5292
5293cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5294# Files that config.status was made for.
5295config_files="$ac_config_files"
5296config_commands="$ac_config_commands"
5297
5298_ACEOF
5299
5300cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5301ac_cs_usage="\
5302\`$as_me' instantiates files and other configuration actions
5303from templates according to the current configuration.  Unless the files
5304and actions are specified as TAGs, all are instantiated by default.
5305
5306Usage: $0 [OPTION]... [TAG]...
5307
5308  -h, --help       print this help, then exit
5309  -V, --version    print version number and configuration settings, then exit
5310      --config     print configuration, then exit
5311  -q, --quiet, --silent
5312                   do not print progress messages
5313  -d, --debug      don't remove temporary files
5314      --recheck    update $as_me by reconfiguring in the same conditions
5315      --file=FILE[:TEMPLATE]
5316                   instantiate the configuration file FILE
5317
5318Configuration files:
5319$config_files
5320
5321Configuration commands:
5322$config_commands
5323
5324Report bugs to the package provider."
5325
5326_ACEOF
5327cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5328ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5329ac_cs_version="\\
5330xtensa-hal config.status RF-2015.2
5331configured by $0, generated by GNU Autoconf 2.69,
5332  with options \\"\$ac_cs_config\\"
5333
5334Copyright (C) 2012 Free Software Foundation, Inc.
5335This config.status script is free software; the Free Software Foundation
5336gives unlimited permission to copy, distribute and modify it."
5337
5338ac_pwd='$ac_pwd'
5339srcdir='$srcdir'
5340INSTALL='$INSTALL'
5341MKDIR_P='$MKDIR_P'
5342AWK='$AWK'
5343test -n "\$AWK" || AWK=awk
5344_ACEOF
5345
5346cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5347# The default lists apply if the user does not specify any file.
5348ac_need_defaults=:
5349while test $# != 0
5350do
5351  case $1 in
5352  --*=?*)
5353    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5354    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5355    ac_shift=:
5356    ;;
5357  --*=)
5358    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5359    ac_optarg=
5360    ac_shift=:
5361    ;;
5362  *)
5363    ac_option=$1
5364    ac_optarg=$2
5365    ac_shift=shift
5366    ;;
5367  esac
5368
5369  case $ac_option in
5370  # Handling of the options.
5371  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5372    ac_cs_recheck=: ;;
5373  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5374    $as_echo "$ac_cs_version"; exit ;;
5375  --config | --confi | --conf | --con | --co | --c )
5376    $as_echo "$ac_cs_config"; exit ;;
5377  --debug | --debu | --deb | --de | --d | -d )
5378    debug=: ;;
5379  --file | --fil | --fi | --f )
5380    $ac_shift
5381    case $ac_optarg in
5382    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5383    '') as_fn_error $? "missing file argument" ;;
5384    esac
5385    as_fn_append CONFIG_FILES " '$ac_optarg'"
5386    ac_need_defaults=false;;
5387  --he | --h |  --help | --hel | -h )
5388    $as_echo "$ac_cs_usage"; exit ;;
5389  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5390  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5391    ac_cs_silent=: ;;
5392
5393  # This is an error.
5394  -*) as_fn_error $? "unrecognized option: \`$1'
5395Try \`$0 --help' for more information." ;;
5396
5397  *) as_fn_append ac_config_targets " $1"
5398     ac_need_defaults=false ;;
5399
5400  esac
5401  shift
5402done
5403
5404ac_configure_extra_args=
5405
5406if $ac_cs_silent; then
5407  exec 6>/dev/null
5408  ac_configure_extra_args="$ac_configure_extra_args --silent"
5409fi
5410
5411_ACEOF
5412cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5413if \$ac_cs_recheck; then
5414  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5415  shift
5416  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5417  CONFIG_SHELL='$SHELL'
5418  export CONFIG_SHELL
5419  exec "\$@"
5420fi
5421
5422_ACEOF
5423cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5424exec 5>>config.log
5425{
5426  echo
5427  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5428## Running $as_me. ##
5429_ASBOX
5430  $as_echo "$ac_log"
5431} >&5
5432
5433_ACEOF
5434cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5435#
5436# INIT-COMMANDS
5437#
5438AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5439
5440_ACEOF
5441
5442cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5443
5444# Handling of arguments.
5445for ac_config_target in $ac_config_targets
5446do
5447  case $ac_config_target in
5448    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5449    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5450    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
5451    "src/hal/Makefile") CONFIG_FILES="$CONFIG_FILES src/hal/Makefile" ;;
5452
5453  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5454  esac
5455done
5456
5457
5458# If the user did not use the arguments to specify the items to instantiate,
5459# then the envvar interface is used.  Set only those that are not.
5460# We use the long form for the default assignment because of an extremely
5461# bizarre bug on SunOS 4.1.3.
5462if $ac_need_defaults; then
5463  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5464  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5465fi
5466
5467# Have a temporary directory for convenience.  Make it in the build tree
5468# simply because there is no reason against having it here, and in addition,
5469# creating and moving files from /tmp can sometimes cause problems.
5470# Hook for its removal unless debugging.
5471# Note that there is a small window in which the directory will not be cleaned:
5472# after its creation but before its name has been assigned to `$tmp'.
5473$debug ||
5474{
5475  tmp= ac_tmp=
5476  trap 'exit_status=$?
5477  : "${ac_tmp:=$tmp}"
5478  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5479' 0
5480  trap 'as_fn_exit 1' 1 2 13 15
5481}
5482# Create a (secure) tmp directory for tmp files.
5483
5484{
5485  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5486  test -d "$tmp"
5487}  ||
5488{
5489  tmp=./conf$$-$RANDOM
5490  (umask 077 && mkdir "$tmp")
5491} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5492ac_tmp=$tmp
5493
5494# Set up the scripts for CONFIG_FILES section.
5495# No need to generate them if there are no CONFIG_FILES.
5496# This happens for instance with `./config.status config.h'.
5497if test -n "$CONFIG_FILES"; then
5498
5499
5500ac_cr=`echo X | tr X '\015'`
5501# On cygwin, bash can eat \r inside `` if the user requested igncr.
5502# But we know of no other shell where ac_cr would be empty at this
5503# point, so we can use a bashism as a fallback.
5504if test "x$ac_cr" = x; then
5505  eval ac_cr=\$\'\\r\'
5506fi
5507ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5508if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5509  ac_cs_awk_cr='\\r'
5510else
5511  ac_cs_awk_cr=$ac_cr
5512fi
5513
5514echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5515_ACEOF
5516
5517
5518{
5519  echo "cat >conf$$subs.awk <<_ACEOF" &&
5520  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5521  echo "_ACEOF"
5522} >conf$$subs.sh ||
5523  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5524ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5525ac_delim='%!_!# '
5526for ac_last_try in false false false false false :; do
5527  . ./conf$$subs.sh ||
5528    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5529
5530  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5531  if test $ac_delim_n = $ac_delim_num; then
5532    break
5533  elif $ac_last_try; then
5534    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5535  else
5536    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5537  fi
5538done
5539rm -f conf$$subs.sh
5540
5541cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5542cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5543_ACEOF
5544sed -n '
5545h
5546s/^/S["/; s/!.*/"]=/
5547p
5548g
5549s/^[^!]*!//
5550:repl
5551t repl
5552s/'"$ac_delim"'$//
5553t delim
5554:nl
5555h
5556s/\(.\{148\}\)..*/\1/
5557t more1
5558s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5559p
5560n
5561b repl
5562:more1
5563s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5564p
5565g
5566s/.\{148\}//
5567t nl
5568:delim
5569h
5570s/\(.\{148\}\)..*/\1/
5571t more2
5572s/["\\]/\\&/g; s/^/"/; s/$/"/
5573p
5574b
5575:more2
5576s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5577p
5578g
5579s/.\{148\}//
5580t delim
5581' <conf$$subs.awk | sed '
5582/^[^""]/{
5583  N
5584  s/\n//
5585}
5586' >>$CONFIG_STATUS || ac_write_fail=1
5587rm -f conf$$subs.awk
5588cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5589_ACAWK
5590cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5591  for (key in S) S_is_set[key] = 1
5592  FS = ""
5593
5594}
5595{
5596  line = $ 0
5597  nfields = split(line, field, "@")
5598  substed = 0
5599  len = length(field[1])
5600  for (i = 2; i < nfields; i++) {
5601    key = field[i]
5602    keylen = length(key)
5603    if (S_is_set[key]) {
5604      value = S[key]
5605      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5606      len += length(value) + length(field[++i])
5607      substed = 1
5608    } else
5609      len += 1 + keylen
5610  }
5611
5612  print line
5613}
5614
5615_ACAWK
5616_ACEOF
5617cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5618if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5619  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5620else
5621  cat
5622fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5623  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5624_ACEOF
5625
5626# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5627# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5628# trailing colons and then remove the whole line if VPATH becomes empty
5629# (actually we leave an empty line to preserve line numbers).
5630if test "x$srcdir" = x.; then
5631  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
5632h
5633s///
5634s/^/:/
5635s/[	 ]*$/:/
5636s/:\$(srcdir):/:/g
5637s/:\${srcdir}:/:/g
5638s/:@srcdir@:/:/g
5639s/^:*//
5640s/:*$//
5641x
5642s/\(=[	 ]*\).*/\1/
5643G
5644s/\n//
5645s/^[^=]*=[	 ]*$//
5646}'
5647fi
5648
5649cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5650fi # test -n "$CONFIG_FILES"
5651
5652
5653eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
5654shift
5655for ac_tag
5656do
5657  case $ac_tag in
5658  :[FHLC]) ac_mode=$ac_tag; continue;;
5659  esac
5660  case $ac_mode$ac_tag in
5661  :[FHL]*:*);;
5662  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5663  :[FH]-) ac_tag=-:-;;
5664  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5665  esac
5666  ac_save_IFS=$IFS
5667  IFS=:
5668  set x $ac_tag
5669  IFS=$ac_save_IFS
5670  shift
5671  ac_file=$1
5672  shift
5673
5674  case $ac_mode in
5675  :L) ac_source=$1;;
5676  :[FH])
5677    ac_file_inputs=
5678    for ac_f
5679    do
5680      case $ac_f in
5681      -) ac_f="$ac_tmp/stdin";;
5682      *) # Look for the file first in the build tree, then in the source tree
5683	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
5684	 # because $ac_f cannot contain `:'.
5685	 test -f "$ac_f" ||
5686	   case $ac_f in
5687	   [\\/$]*) false;;
5688	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5689	   esac ||
5690	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5691      esac
5692      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5693      as_fn_append ac_file_inputs " '$ac_f'"
5694    done
5695
5696    # Let's still pretend it is `configure' which instantiates (i.e., don't
5697    # use $as_me), people would be surprised to read:
5698    #    /* config.h.  Generated by config.status.  */
5699    configure_input='Generated from '`
5700	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5701	`' by configure.'
5702    if test x"$ac_file" != x-; then
5703      configure_input="$ac_file.  $configure_input"
5704      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5705$as_echo "$as_me: creating $ac_file" >&6;}
5706    fi
5707    # Neutralize special characters interpreted by sed in replacement strings.
5708    case $configure_input in #(
5709    *\&* | *\|* | *\\* )
5710       ac_sed_conf_input=`$as_echo "$configure_input" |
5711       sed 's/[\\\\&|]/\\\\&/g'`;; #(
5712    *) ac_sed_conf_input=$configure_input;;
5713    esac
5714
5715    case $ac_tag in
5716    *:-:* | *:-) cat >"$ac_tmp/stdin" \
5717      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5718    esac
5719    ;;
5720  esac
5721
5722  ac_dir=`$as_dirname -- "$ac_file" ||
5723$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5724	 X"$ac_file" : 'X\(//\)[^/]' \| \
5725	 X"$ac_file" : 'X\(//\)$' \| \
5726	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5727$as_echo X"$ac_file" |
5728    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5729	    s//\1/
5730	    q
5731	  }
5732	  /^X\(\/\/\)[^/].*/{
5733	    s//\1/
5734	    q
5735	  }
5736	  /^X\(\/\/\)$/{
5737	    s//\1/
5738	    q
5739	  }
5740	  /^X\(\/\).*/{
5741	    s//\1/
5742	    q
5743	  }
5744	  s/.*/./; q'`
5745  as_dir="$ac_dir"; as_fn_mkdir_p
5746  ac_builddir=.
5747
5748case "$ac_dir" in
5749.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5750*)
5751  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5752  # A ".." for each directory in $ac_dir_suffix.
5753  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5754  case $ac_top_builddir_sub in
5755  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5756  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5757  esac ;;
5758esac
5759ac_abs_top_builddir=$ac_pwd
5760ac_abs_builddir=$ac_pwd$ac_dir_suffix
5761# for backward compatibility:
5762ac_top_builddir=$ac_top_build_prefix
5763
5764case $srcdir in
5765  .)  # We are building in place.
5766    ac_srcdir=.
5767    ac_top_srcdir=$ac_top_builddir_sub
5768    ac_abs_top_srcdir=$ac_pwd ;;
5769  [\\/]* | ?:[\\/]* )  # Absolute name.
5770    ac_srcdir=$srcdir$ac_dir_suffix;
5771    ac_top_srcdir=$srcdir
5772    ac_abs_top_srcdir=$srcdir ;;
5773  *) # Relative name.
5774    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5775    ac_top_srcdir=$ac_top_build_prefix$srcdir
5776    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5777esac
5778ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5779
5780
5781  case $ac_mode in
5782  :F)
5783  #
5784  # CONFIG_FILE
5785  #
5786
5787  case $INSTALL in
5788  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5789  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5790  esac
5791  ac_MKDIR_P=$MKDIR_P
5792  case $MKDIR_P in
5793  [\\/$]* | ?:[\\/]* ) ;;
5794  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5795  esac
5796_ACEOF
5797
5798cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5799# If the template does not know about datarootdir, expand it.
5800# FIXME: This hack should be removed a few years after 2.60.
5801ac_datarootdir_hack=; ac_datarootdir_seen=
5802ac_sed_dataroot='
5803/datarootdir/ {
5804  p
5805  q
5806}
5807/@datadir@/p
5808/@docdir@/p
5809/@infodir@/p
5810/@localedir@/p
5811/@mandir@/p'
5812case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5813*datarootdir*) ac_datarootdir_seen=yes;;
5814*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5815  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5816$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5817_ACEOF
5818cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5819  ac_datarootdir_hack='
5820  s&@datadir@&$datadir&g
5821  s&@docdir@&$docdir&g
5822  s&@infodir@&$infodir&g
5823  s&@localedir@&$localedir&g
5824  s&@mandir@&$mandir&g
5825  s&\\\${datarootdir}&$datarootdir&g' ;;
5826esac
5827_ACEOF
5828
5829# Neutralize VPATH when `$srcdir' = `.'.
5830# Shell code in configure.ac might set extrasub.
5831# FIXME: do we really want to maintain this feature?
5832cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5833ac_sed_extra="$ac_vpsub
5834$extrasub
5835_ACEOF
5836cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5837:t
5838/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5839s|@configure_input@|$ac_sed_conf_input|;t t
5840s&@top_builddir@&$ac_top_builddir_sub&;t t
5841s&@top_build_prefix@&$ac_top_build_prefix&;t t
5842s&@srcdir@&$ac_srcdir&;t t
5843s&@abs_srcdir@&$ac_abs_srcdir&;t t
5844s&@top_srcdir@&$ac_top_srcdir&;t t
5845s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5846s&@builddir@&$ac_builddir&;t t
5847s&@abs_builddir@&$ac_abs_builddir&;t t
5848s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5849s&@INSTALL@&$ac_INSTALL&;t t
5850s&@MKDIR_P@&$ac_MKDIR_P&;t t
5851$ac_datarootdir_hack
5852"
5853eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5854  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5855
5856test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5857  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5858  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
5859      "$ac_tmp/out"`; test -z "$ac_out"; } &&
5860  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5861which seems to be undefined.  Please make sure it is defined" >&5
5862$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5863which seems to be undefined.  Please make sure it is defined" >&2;}
5864
5865  rm -f "$ac_tmp/stdin"
5866  case $ac_file in
5867  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5868  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5869  esac \
5870  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5871 ;;
5872
5873
5874  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5875$as_echo "$as_me: executing $ac_file commands" >&6;}
5876 ;;
5877  esac
5878
5879
5880  case $ac_file$ac_mode in
5881    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5882  # Older Autoconf quotes --file arguments for eval, but not when files
5883  # are listed without --file.  Let's play safe and only enable the eval
5884  # if we detect the quoting.
5885  case $CONFIG_FILES in
5886  *\'*) eval set x "$CONFIG_FILES" ;;
5887  *)   set x $CONFIG_FILES ;;
5888  esac
5889  shift
5890  for mf
5891  do
5892    # Strip MF so we end up with the name of the file.
5893    mf=`echo "$mf" | sed -e 's/:.*$//'`
5894    # Check whether this is an Automake generated Makefile or not.
5895    # We used to match only the files named 'Makefile.in', but
5896    # some people rename them; so instead we look at the file content.
5897    # Grep'ing the first line is not enough: some people post-process
5898    # each Makefile.in and add a new line on top of each file to say so.
5899    # Grep'ing the whole file is not good either: AIX grep has a line
5900    # limit of 2048, but all sed's we know have understand at least 4000.
5901    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5902      dirpart=`$as_dirname -- "$mf" ||
5903$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5904	 X"$mf" : 'X\(//\)[^/]' \| \
5905	 X"$mf" : 'X\(//\)$' \| \
5906	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5907$as_echo X"$mf" |
5908    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5909	    s//\1/
5910	    q
5911	  }
5912	  /^X\(\/\/\)[^/].*/{
5913	    s//\1/
5914	    q
5915	  }
5916	  /^X\(\/\/\)$/{
5917	    s//\1/
5918	    q
5919	  }
5920	  /^X\(\/\).*/{
5921	    s//\1/
5922	    q
5923	  }
5924	  s/.*/./; q'`
5925    else
5926      continue
5927    fi
5928    # Extract the definition of DEPDIR, am__include, and am__quote
5929    # from the Makefile without running 'make'.
5930    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5931    test -z "$DEPDIR" && continue
5932    am__include=`sed -n 's/^am__include = //p' < "$mf"`
5933    test -z "$am__include" && continue
5934    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5935    # Find all dependency output files, they are included files with
5936    # $(DEPDIR) in their names.  We invoke sed twice because it is the
5937    # simplest approach to changing $(DEPDIR) to its actual value in the
5938    # expansion.
5939    for file in `sed -n "
5940      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5941	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
5942      # Make sure the directory exists.
5943      test -f "$dirpart/$file" && continue
5944      fdir=`$as_dirname -- "$file" ||
5945$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5946	 X"$file" : 'X\(//\)[^/]' \| \
5947	 X"$file" : 'X\(//\)$' \| \
5948	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5949$as_echo X"$file" |
5950    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5951	    s//\1/
5952	    q
5953	  }
5954	  /^X\(\/\/\)[^/].*/{
5955	    s//\1/
5956	    q
5957	  }
5958	  /^X\(\/\/\)$/{
5959	    s//\1/
5960	    q
5961	  }
5962	  /^X\(\/\).*/{
5963	    s//\1/
5964	    q
5965	  }
5966	  s/.*/./; q'`
5967      as_dir=$dirpart/$fdir; as_fn_mkdir_p
5968      # echo "creating $dirpart/$file"
5969      echo '# dummy' > "$dirpart/$file"
5970    done
5971  done
5972}
5973 ;;
5974
5975  esac
5976done # for ac_tag
5977
5978
5979as_fn_exit 0
5980_ACEOF
5981ac_clean_files=$ac_clean_files_save
5982
5983test $ac_write_fail = 0 ||
5984  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5985
5986
5987# configure is writing to config.log, and then calls config.status.
5988# config.status does its own redirection, appending to config.log.
5989# Unfortunately, on DOS this fails, as config.log is still kept open
5990# by configure, so config.status won't be able to write to it; its
5991# output is simply discarded.  So we exec the FD to /dev/null,
5992# effectively closing config.log, so it can be properly (re)opened and
5993# appended to by config.status.  When coming back to configure, we
5994# need to make the FD available again.
5995if test "$no_create" != yes; then
5996  ac_cs_success=:
5997  ac_config_status_args=
5998  test "$silent" = yes &&
5999    ac_config_status_args="$ac_config_status_args --quiet"
6000  exec 5>/dev/null
6001  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6002  exec 5>>config.log
6003  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6004  # would make configure fail if this is the last instruction.
6005  $ac_cs_success || as_fn_exit 1
6006fi
6007if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6008  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6009$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6010fi
6011
6012