source: trunk/libs/newlib/src/newlib/libc/sys/phoenix/configure @ 444

Last change on this file since 444 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

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