OSDN Git Service

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