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