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