Bump up newlib to 4.3.0
[newlib-cygwin.git] / newlib / configure
blob6be7896ea5e3efa5f44b177ea30dd27517be88fd
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for newlib 4.3.0.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in #(
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265 else
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
271 exit 1
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 # as_fn_unset VAR
285 # ---------------
286 # Portably unset VAR.
287 as_fn_unset ()
289 { eval $1=; unset $1;}
291 as_unset=as_fn_unset
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
296 as_fn_set_status ()
298 return $1
299 } # as_fn_set_status
301 # as_fn_exit STATUS
302 # -----------------
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } # as_fn_exit
311 # as_fn_mkdir_p
312 # -------------
313 # Create "$as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
342 /^X\(\/\/\)$/{
343 s//\1/
346 /^X\(\/\).*/{
347 s//\1/
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
357 } # as_fn_mkdir_p
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p ()
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
371 # implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
375 eval $1+=\$2
377 else
378 as_fn_append ()
380 eval $1=\$$1\$2
382 fi # as_fn_append
384 # as_fn_arith ARG...
385 # ------------------
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
392 as_val=$(( $* ))
394 else
395 as_fn_arith ()
397 as_val=`expr "$@" || test $? -eq 1`
399 fi # as_fn_arith
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
407 as_fn_error ()
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } # as_fn_error
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
420 as_expr=expr
421 else
422 as_expr=false
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426 as_basename=basename
427 else
428 as_basename=false
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
443 s//\1/
446 /^X\/\(\/\/\)$/{
447 s//\1/
450 /^X\/\(\/\).*/{
451 s//\1/
454 s/.*/./; q'`
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
469 sed -n '
471 /[$]LINENO/=
472 ' <$as_myself |
473 sed '
474 s/[$]LINENO.*/&-/
475 t lineno
477 :lineno
479 :loop
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481 t loop
482 s/-\n.*//
483 ' >$as_me.lineno &&
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
494 . "./$as_me.lineno"
495 # Exit status is that of the last command.
496 exit
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in #(((((
501 -n*)
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
507 esac;;
509 ECHO_N='-n';;
510 esac
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
533 else
534 as_ln_s='cp -pR'
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
541 else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 test -n "$DJDIR" || exec 7<&0 </dev/null
557 exec 6>&1
559 # Name of the host.
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 # Initializations.
567 ac_default_prefix=/usr/local
568 ac_clean_files=
569 ac_config_libobj_dir=.
570 LIBOBJS=
571 cross_compiling=no
572 subdirs=
573 MFLAGS=
574 MAKEFLAGS=
576 # Identity of this package.
577 PACKAGE_NAME='newlib'
578 PACKAGE_TARNAME='newlib'
579 PACKAGE_VERSION='4.3.0'
580 PACKAGE_STRING='newlib 4.3.0'
581 PACKAGE_BUGREPORT=''
582 PACKAGE_URL=''
584 ac_unique_file="libc"
585 ac_no_link=no
586 ac_subst_vars='am__EXEEXT_FALSE
587 am__EXEEXT_TRUE
588 LTLIBOBJS
589 LIBOBJS
590 NEWLIB_PATCHLEVEL_VERSION
591 NEWLIB_MINOR_VERSION
592 NEWLIB_MAJOR_VERSION
593 NEWLIB_VERSION
594 EXEEXT_FOR_BUILD
595 CC_FOR_BUILD
596 CRT1_DIR
597 CRT1
598 CRT0_DIR
599 CRT0
600 HAVE_CRT0_FALSE
601 HAVE_CRT0_TRUE
602 HAVE_MULTISUBDIR_FALSE
603 HAVE_MULTISUBDIR_TRUE
604 HAVE_DOC_FALSE
605 HAVE_DOC_TRUE
606 HAVE_LIBM_MACHINE_X86_64_FALSE
607 HAVE_LIBM_MACHINE_X86_64_TRUE
608 HAVE_LIBM_MACHINE_RISCV_FALSE
609 HAVE_LIBM_MACHINE_RISCV_TRUE
610 HAVE_LIBM_MACHINE_SPU_FALSE
611 HAVE_LIBM_MACHINE_SPU_TRUE
612 HAVE_LIBM_MACHINE_SPARC_FALSE
613 HAVE_LIBM_MACHINE_SPARC_TRUE
614 HAVE_LIBM_MACHINE_PRU_FALSE
615 HAVE_LIBM_MACHINE_PRU_TRUE
616 HAVE_LIBM_MACHINE_POWERPC_FALSE
617 HAVE_LIBM_MACHINE_POWERPC_TRUE
618 HAVE_LIBM_MACHINE_NDS32_FALSE
619 HAVE_LIBM_MACHINE_NDS32_TRUE
620 HAVE_LIBM_MACHINE_MIPS_FALSE
621 HAVE_LIBM_MACHINE_MIPS_TRUE
622 HAVE_LIBM_MACHINE_I386_FALSE
623 HAVE_LIBM_MACHINE_I386_TRUE
624 HAVE_LIBM_MACHINE_ARM_FALSE
625 HAVE_LIBM_MACHINE_ARM_TRUE
626 HAVE_LIBM_MACHINE_AMDGCN_FALSE
627 HAVE_LIBM_MACHINE_AMDGCN_TRUE
628 HAVE_LIBM_MACHINE_AARCH64_FALSE
629 HAVE_LIBM_MACHINE_AARCH64_TRUE
630 HAS_NDS32_FPU_DP_FALSE
631 HAS_NDS32_FPU_DP_TRUE
632 HAS_NDS32_FPU_SP_FALSE
633 HAS_NDS32_FPU_SP_TRUE
634 MACH_ADD_SETJMP_FALSE
635 MACH_ADD_SETJMP_TRUE
636 HAVE_LIBC_MACHINE_Z8K_FALSE
637 HAVE_LIBC_MACHINE_Z8K_TRUE
638 HAVE_LIBC_MACHINE_XSTORMY16_FALSE
639 HAVE_LIBC_MACHINE_XSTORMY16_TRUE
640 HAVE_LIBC_MACHINE_XC16X_FALSE
641 HAVE_LIBC_MACHINE_XC16X_TRUE
642 HAVE_LIBC_MACHINE_X86_64_FALSE
643 HAVE_LIBC_MACHINE_X86_64_TRUE
644 HAVE_LIBC_MACHINE_W65_FALSE
645 HAVE_LIBC_MACHINE_W65_TRUE
646 HAVE_LIBC_MACHINE_VISIUM_FALSE
647 HAVE_LIBC_MACHINE_VISIUM_TRUE
648 HAVE_LIBC_MACHINE_V850_FALSE
649 HAVE_LIBC_MACHINE_V850_TRUE
650 HAVE_LIBC_MACHINE_TIC80_FALSE
651 HAVE_LIBC_MACHINE_TIC80_TRUE
652 HAVE_LIBC_MACHINE_TIC6X_FALSE
653 HAVE_LIBC_MACHINE_TIC6X_TRUE
654 HAVE_LIBC_MACHINE_TIC4X_FALSE
655 HAVE_LIBC_MACHINE_TIC4X_TRUE
656 HAVE_LIBC_MACHINE_SPU_FALSE
657 HAVE_LIBC_MACHINE_SPU_TRUE
658 HAVE_LIBC_MACHINE_SPARC_FALSE
659 HAVE_LIBC_MACHINE_SPARC_TRUE
660 HAVE_LIBC_MACHINE_SH_FALSE
661 HAVE_LIBC_MACHINE_SH_TRUE
662 HAVE_LIBC_MACHINE_RX_FALSE
663 HAVE_LIBC_MACHINE_RX_TRUE
664 HAVE_LIBC_MACHINE_RL78_FALSE
665 HAVE_LIBC_MACHINE_RL78_TRUE
666 HAVE_LIBC_MACHINE_RISCV_FALSE
667 HAVE_LIBC_MACHINE_RISCV_TRUE
668 HAVE_LIBC_MACHINE_PRU_FALSE
669 HAVE_LIBC_MACHINE_PRU_TRUE
670 HAVE_LIBC_MACHINE_POWERPC_FALSE
671 HAVE_LIBC_MACHINE_POWERPC_TRUE
672 HAVE_LIBC_MACHINE_OR1K_FALSE
673 HAVE_LIBC_MACHINE_OR1K_TRUE
674 HAVE_LIBC_MACHINE_NVPTX_FALSE
675 HAVE_LIBC_MACHINE_NVPTX_TRUE
676 HAVE_LIBC_MACHINE_NIOS2_FALSE
677 HAVE_LIBC_MACHINE_NIOS2_TRUE
678 HAVE_LIBC_MACHINE_NECV70_FALSE
679 HAVE_LIBC_MACHINE_NECV70_TRUE
680 HAVE_LIBC_MACHINE_NDS32_FALSE
681 HAVE_LIBC_MACHINE_NDS32_TRUE
682 HAVE_LIBC_MACHINE_MT_FALSE
683 HAVE_LIBC_MACHINE_MT_TRUE
684 HAVE_LIBC_MACHINE_MSP430_FALSE
685 HAVE_LIBC_MACHINE_MSP430_TRUE
686 HAVE_LIBC_MACHINE_MOXIE_FALSE
687 HAVE_LIBC_MACHINE_MOXIE_TRUE
688 HAVE_LIBC_MACHINE_MN10300_FALSE
689 HAVE_LIBC_MACHINE_MN10300_TRUE
690 HAVE_LIBC_MACHINE_MN10200_FALSE
691 HAVE_LIBC_MACHINE_MN10200_TRUE
692 HAVE_LIBC_MACHINE_MIPS_FALSE
693 HAVE_LIBC_MACHINE_MIPS_TRUE
694 HAVE_LIBC_MACHINE_MICROBLAZE_FALSE
695 HAVE_LIBC_MACHINE_MICROBLAZE_TRUE
696 HAVE_LIBC_MACHINE_MEP_FALSE
697 HAVE_LIBC_MACHINE_MEP_TRUE
698 HAVE_LIBC_MACHINE_M88K_FALSE
699 HAVE_LIBC_MACHINE_M88K_TRUE
700 HAVE_LIBC_MACHINE_M68K_FALSE
701 HAVE_LIBC_MACHINE_M68K_TRUE
702 HAVE_LIBC_MACHINE_M68HC11_FALSE
703 HAVE_LIBC_MACHINE_M68HC11_TRUE
704 HAVE_LIBC_MACHINE_M32R_FALSE
705 HAVE_LIBC_MACHINE_M32R_TRUE
706 HAVE_LIBC_MACHINE_M32C_FALSE
707 HAVE_LIBC_MACHINE_M32C_TRUE
708 HAVE_LIBC_MACHINE_LM32_FALSE
709 HAVE_LIBC_MACHINE_LM32_TRUE
710 HAVE_LIBC_MACHINE_IQ2000_FALSE
711 HAVE_LIBC_MACHINE_IQ2000_TRUE
712 HAVE_LIBC_MACHINE_I960_FALSE
713 HAVE_LIBC_MACHINE_I960_TRUE
714 HAVE_LIBC_MACHINE_I386_FALSE
715 HAVE_LIBC_MACHINE_I386_TRUE
716 HAVE_LIBC_MACHINE_HPPA_FALSE
717 HAVE_LIBC_MACHINE_HPPA_TRUE
718 HAVE_LIBC_MACHINE_H8500_FALSE
719 HAVE_LIBC_MACHINE_H8500_TRUE
720 HAVE_LIBC_MACHINE_H8300_FALSE
721 HAVE_LIBC_MACHINE_H8300_TRUE
722 HAVE_LIBC_MACHINE_FT32_FALSE
723 HAVE_LIBC_MACHINE_FT32_TRUE
724 HAVE_LIBC_MACHINE_FRV_FALSE
725 HAVE_LIBC_MACHINE_FRV_TRUE
726 HAVE_LIBC_MACHINE_FR30_FALSE
727 HAVE_LIBC_MACHINE_FR30_TRUE
728 HAVE_LIBC_MACHINE_EPIPHANY_FALSE
729 HAVE_LIBC_MACHINE_EPIPHANY_TRUE
730 HAVE_LIBC_MACHINE_D30V_FALSE
731 HAVE_LIBC_MACHINE_D30V_TRUE
732 HAVE_LIBC_MACHINE_D10V_FALSE
733 HAVE_LIBC_MACHINE_D10V_TRUE
734 HAVE_LIBC_MACHINE_CSKY_FALSE
735 HAVE_LIBC_MACHINE_CSKY_TRUE
736 HAVE_LIBC_MACHINE_CRX_FALSE
737 HAVE_LIBC_MACHINE_CRX_TRUE
738 HAVE_LIBC_MACHINE_CRIS_FALSE
739 HAVE_LIBC_MACHINE_CRIS_TRUE
740 HAVE_LIBC_MACHINE_CR16_FALSE
741 HAVE_LIBC_MACHINE_CR16_TRUE
742 HAVE_LIBC_MACHINE_BFIN_FALSE
743 HAVE_LIBC_MACHINE_BFIN_TRUE
744 HAVE_LIBC_MACHINE_ARM_FALSE
745 HAVE_LIBC_MACHINE_ARM_TRUE
746 HAVE_LIBC_MACHINE_ARC_FALSE
747 HAVE_LIBC_MACHINE_ARC_TRUE
748 HAVE_LIBC_MACHINE_AMDGCN_FALSE
749 HAVE_LIBC_MACHINE_AMDGCN_TRUE
750 HAVE_LIBC_MACHINE_AARCH64_FALSE
751 HAVE_LIBC_MACHINE_AARCH64_TRUE
752 HAVE_SPU_EA_FALSE
753 HAVE_SPU_EA_TRUE
754 SH64_FALSE
755 SH64_TRUE
756 HAVE_POWERPC_SPE_FALSE
757 HAVE_POWERPC_SPE_TRUE
758 HAVE_POWERPC_ALTIVEC_FALSE
759 HAVE_POWERPC_ALTIVEC_TRUE
760 IS_NDS32_ISA_V3M_FALSE
761 IS_NDS32_ISA_V3M_TRUE
762 ENABLE_NEWLIB_ICONV_FALSE
763 ENABLE_NEWLIB_ICONV_TRUE
764 HAVE_LONG_DOUBLE_FALSE
765 HAVE_LONG_DOUBLE_TRUE
766 HAVE_LIBC_SYS_Z8KSIM_DIR_FALSE
767 HAVE_LIBC_SYS_Z8KSIM_DIR_TRUE
768 HAVE_LIBC_SYS_W65_DIR_FALSE
769 HAVE_LIBC_SYS_W65_DIR_TRUE
770 HAVE_LIBC_SYS_TIRTOS_DIR_FALSE
771 HAVE_LIBC_SYS_TIRTOS_DIR_TRUE
772 HAVE_LIBC_SYS_TIC80_DIR_FALSE
773 HAVE_LIBC_SYS_TIC80_DIR_TRUE
774 HAVE_LIBC_SYS_SYSVNECV70_DIR_FALSE
775 HAVE_LIBC_SYS_SYSVNECV70_DIR_TRUE
776 HAVE_LIBC_SYS_SYSVI386_DIR_FALSE
777 HAVE_LIBC_SYS_SYSVI386_DIR_TRUE
778 HAVE_LIBC_SYS_SYSNECV850_DIR_FALSE
779 HAVE_LIBC_SYS_SYSNECV850_DIR_TRUE
780 HAVE_LIBC_SYS_SYSNEC810_DIR_FALSE
781 HAVE_LIBC_SYS_SYSNEC810_DIR_TRUE
782 HAVE_LIBC_SYS_SYSMEC_DIR_FALSE
783 HAVE_LIBC_SYS_SYSMEC_DIR_TRUE
784 HAVE_LIBC_SYS_SH_DIR_FALSE
785 HAVE_LIBC_SYS_SH_DIR_TRUE
786 HAVE_LIBC_SYS_RTEMS_DIR_FALSE
787 HAVE_LIBC_SYS_RTEMS_DIR_TRUE
788 HAVE_LIBC_SYS_RDOS_DIR_FALSE
789 HAVE_LIBC_SYS_RDOS_DIR_TRUE
790 HAVE_LIBC_SYS_OR1K_DIR_FALSE
791 HAVE_LIBC_SYS_OR1K_DIR_TRUE
792 HAVE_LIBC_SYS_NETWARE_DIR_FALSE
793 HAVE_LIBC_SYS_NETWARE_DIR_TRUE
794 HAVE_LIBC_SYS_MMIXWARE_DIR_FALSE
795 HAVE_LIBC_SYS_MMIXWARE_DIR_TRUE
796 HAVE_LIBC_SYS_M88KBUG_DIR_FALSE
797 HAVE_LIBC_SYS_M88KBUG_DIR_TRUE
798 HAVE_LIBC_SYS_H8500HMS_DIR_FALSE
799 HAVE_LIBC_SYS_H8500HMS_DIR_TRUE
800 HAVE_LIBC_SYS_H8300HMS_DIR_FALSE
801 HAVE_LIBC_SYS_H8300HMS_DIR_TRUE
802 HAVE_LIBC_SYS_EPIPHANY_DIR_FALSE
803 HAVE_LIBC_SYS_EPIPHANY_DIR_TRUE
804 HAVE_LIBC_SYS_D10V_DIR_FALSE
805 HAVE_LIBC_SYS_D10V_DIR_TRUE
806 HAVE_LIBC_SYS_ARM_DIR_FALSE
807 HAVE_LIBC_SYS_ARM_DIR_TRUE
808 HAVE_LIBC_SYS_AMDGCN_DIR_FALSE
809 HAVE_LIBC_SYS_AMDGCN_DIR_TRUE
810 HAVE_LIBC_SYS_A29KHIF_DIR_FALSE
811 HAVE_LIBC_SYS_A29KHIF_DIR_TRUE
812 HAVE_UNIX_DIR_FALSE
813 HAVE_UNIX_DIR_TRUE
814 HAVE_SYSCALL_DIR_FALSE
815 HAVE_SYSCALL_DIR_TRUE
816 HAVE_XDR_DIR_FALSE
817 HAVE_XDR_DIR_TRUE
818 HAVE_POSIX_DIR_FALSE
819 HAVE_POSIX_DIR_TRUE
820 HAVE_STDIO64_DIR_FALSE
821 HAVE_STDIO64_DIR_TRUE
822 HAVE_STDIO_DIR_FALSE
823 HAVE_STDIO_DIR_TRUE
824 HAVE_SIGNAL_DIR_FALSE
825 HAVE_SIGNAL_DIR_TRUE
826 CC_FOR_NEWLIB
827 NEWLIB_HW_FP_FALSE
828 NEWLIB_HW_FP_TRUE
829 sys_dir
830 shared_machine_dir
831 machine_dir
832 libm_machine_dir
833 lpfx
834 ELIX_LEVEL_4_FALSE
835 ELIX_LEVEL_4_TRUE
836 ELIX_LEVEL_3_FALSE
837 ELIX_LEVEL_3_TRUE
838 ELIX_LEVEL_2_FALSE
839 ELIX_LEVEL_2_TRUE
840 ELIX_LEVEL_1_FALSE
841 ELIX_LEVEL_1_TRUE
842 ELIX_LEVEL_0_FALSE
843 ELIX_LEVEL_0_TRUE
844 NO_INCLUDE_LIST
845 NEWLIB_CFLAGS
846 READELF
847 RANLIB
848 ac_ct_AR
850 am__fastdepCCAS_FALSE
851 am__fastdepCCAS_TRUE
852 CCASDEPMODE
853 CCASFLAGS
854 CCAS
856 am__fastdepCC_FALSE
857 am__fastdepCC_TRUE
858 CCDEPMODE
859 am__nodep
860 AMDEPBACKSLASH
861 AMDEP_FALSE
862 AMDEP_TRUE
863 am__quote
864 am__include
865 DEPDIR
866 OBJEXT
867 EXEEXT
868 ac_ct_CC
869 CPPFLAGS
870 LDFLAGS
871 CFLAGS
873 MAINT
874 MAINTAINER_MODE_FALSE
875 MAINTAINER_MODE_TRUE
876 AM_BACKSLASH
877 AM_DEFAULT_VERBOSITY
878 AM_DEFAULT_V
879 AM_V
880 am__untar
881 am__tar
882 AMTAR
883 am__leading_dot
884 SET_MAKE
886 mkdir_p
887 MKDIR_P
888 INSTALL_STRIP_PROGRAM
889 STRIP
890 install_sh
891 MAKEINFO
892 AUTOHEADER
893 AUTOMAKE
894 AUTOCONF
895 ACLOCAL
896 VERSION
897 PACKAGE
898 CYGPATH_W
899 am__isrc
900 INSTALL_DATA
901 INSTALL_SCRIPT
902 INSTALL_PROGRAM
903 host_os
904 host_vendor
905 host_cpu
906 host
907 build_os
908 build_vendor
909 build_cpu
910 build
911 abs_newlib_basedir
912 newlib_basedir
913 MAY_SUPPLY_SYSCALLS_FALSE
914 MAY_SUPPLY_SYSCALLS_TRUE
915 multi_basedir
916 NEWLIB_RETARGETABLE_LOCKING_FALSE
917 NEWLIB_RETARGETABLE_LOCKING_TRUE
918 NEWLIB_NANO_FORMATTED_IO_FALSE
919 NEWLIB_NANO_FORMATTED_IO_TRUE
920 NEWLIB_NANO_MALLOC_FALSE
921 NEWLIB_NANO_MALLOC_TRUE
922 target_alias
923 host_alias
924 build_alias
925 LIBS
926 ECHO_T
927 ECHO_N
928 ECHO_C
929 DEFS
930 mandir
931 localedir
932 libdir
933 psdir
934 pdfdir
935 dvidir
936 htmldir
937 infodir
938 docdir
939 oldincludedir
940 includedir
941 localstatedir
942 sharedstatedir
943 sysconfdir
944 datadir
945 datarootdir
946 libexecdir
947 sbindir
948 bindir
949 program_transform_name
950 prefix
951 exec_prefix
952 PACKAGE_URL
953 PACKAGE_BUGREPORT
954 PACKAGE_STRING
955 PACKAGE_VERSION
956 PACKAGE_TARNAME
957 PACKAGE_NAME
958 PATH_SEPARATOR
959 SHELL'
960 ac_subst_files=''
961 ac_user_opts='
962 enable_option_checking
963 enable_newlib_io_pos_args
964 enable_newlib_io_c99_formats
965 enable_newlib_register_fini
966 enable_newlib_io_long_long
967 enable_newlib_io_long_double
968 enable_newlib_mb
969 enable_newlib_reent_check_verify
970 enable_newlib_iconv_encodings
971 enable_newlib_iconv_from_encodings
972 enable_newlib_iconv_to_encodings
973 enable_newlib_iconv_external_ccs
974 enable_newlib_atexit_dynamic_alloc
975 enable_newlib_global_atexit
976 enable_newlib_reent_small
977 enable_newlib_reent_binary_compat
978 enable_newlib_reent_thread_local
979 enable_newlib_global_stdio_streams
980 enable_newlib_fvwrite_in_streamio
981 enable_newlib_fseek_optimization
982 enable_newlib_wide_orient
983 enable_newlib_nano_malloc
984 enable_newlib_unbuf_stream_opt
985 enable_lite_exit
986 enable_newlib_nano_formatted_io
987 enable_newlib_retargetable_locking
988 enable_newlib_long_time_t
989 enable_newlib_use_gdtoa
990 enable_multilib
991 enable_target_optspace
992 enable_malloc_debugging
993 enable_newlib_multithread
994 enable_newlib_iconv
995 enable_newlib_elix_level
996 enable_newlib_io_float
997 enable_newlib_supplied_syscalls
998 enable_newlib_fno_builtin
999 enable_silent_rules
1000 enable_maintainer_mode
1001 enable_dependency_tracking
1003 ac_precious_vars='build_alias
1004 host_alias
1005 target_alias
1007 CFLAGS
1008 LDFLAGS
1009 LIBS
1010 CPPFLAGS
1012 CCAS
1013 CCASFLAGS'
1016 # Initialize some variables set by options.
1017 ac_init_help=
1018 ac_init_version=false
1019 ac_unrecognized_opts=
1020 ac_unrecognized_sep=
1021 # The variables have the same names as the options, with
1022 # dashes changed to underlines.
1023 cache_file=/dev/null
1024 exec_prefix=NONE
1025 no_create=
1026 no_recursion=
1027 prefix=NONE
1028 program_prefix=NONE
1029 program_suffix=NONE
1030 program_transform_name=s,x,x,
1031 silent=
1032 site=
1033 srcdir=
1034 verbose=
1035 x_includes=NONE
1036 x_libraries=NONE
1038 # Installation directory options.
1039 # These are left unexpanded so users can "make install exec_prefix=/foo"
1040 # and all the variables that are supposed to be based on exec_prefix
1041 # by default will actually change.
1042 # Use braces instead of parens because sh, perl, etc. also accept them.
1043 # (The list follows the same order as the GNU Coding Standards.)
1044 bindir='${exec_prefix}/bin'
1045 sbindir='${exec_prefix}/sbin'
1046 libexecdir='${exec_prefix}/libexec'
1047 datarootdir='${prefix}/share'
1048 datadir='${datarootdir}'
1049 sysconfdir='${prefix}/etc'
1050 sharedstatedir='${prefix}/com'
1051 localstatedir='${prefix}/var'
1052 includedir='${prefix}/include'
1053 oldincludedir='/usr/include'
1054 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1055 infodir='${datarootdir}/info'
1056 htmldir='${docdir}'
1057 dvidir='${docdir}'
1058 pdfdir='${docdir}'
1059 psdir='${docdir}'
1060 libdir='${exec_prefix}/lib'
1061 localedir='${datarootdir}/locale'
1062 mandir='${datarootdir}/man'
1064 ac_prev=
1065 ac_dashdash=
1066 for ac_option
1068 # If the previous option needs an argument, assign it.
1069 if test -n "$ac_prev"; then
1070 eval $ac_prev=\$ac_option
1071 ac_prev=
1072 continue
1075 case $ac_option in
1076 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1077 *=) ac_optarg= ;;
1078 *) ac_optarg=yes ;;
1079 esac
1081 # Accept the important Cygnus configure options, so we can diagnose typos.
1083 case $ac_dashdash$ac_option in
1085 ac_dashdash=yes ;;
1087 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1088 ac_prev=bindir ;;
1089 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1090 bindir=$ac_optarg ;;
1092 -build | --build | --buil | --bui | --bu)
1093 ac_prev=build_alias ;;
1094 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1095 build_alias=$ac_optarg ;;
1097 -cache-file | --cache-file | --cache-fil | --cache-fi \
1098 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1099 ac_prev=cache_file ;;
1100 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1101 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1102 cache_file=$ac_optarg ;;
1104 --config-cache | -C)
1105 cache_file=config.cache ;;
1107 -datadir | --datadir | --datadi | --datad)
1108 ac_prev=datadir ;;
1109 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1110 datadir=$ac_optarg ;;
1112 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1113 | --dataroo | --dataro | --datar)
1114 ac_prev=datarootdir ;;
1115 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1116 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1117 datarootdir=$ac_optarg ;;
1119 -disable-* | --disable-*)
1120 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1123 as_fn_error $? "invalid feature name: $ac_useropt"
1124 ac_useropt_orig=$ac_useropt
1125 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1126 case $ac_user_opts in
1128 "enable_$ac_useropt"
1129 "*) ;;
1130 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1131 ac_unrecognized_sep=', ';;
1132 esac
1133 eval enable_$ac_useropt=no ;;
1135 -docdir | --docdir | --docdi | --doc | --do)
1136 ac_prev=docdir ;;
1137 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1138 docdir=$ac_optarg ;;
1140 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1141 ac_prev=dvidir ;;
1142 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1143 dvidir=$ac_optarg ;;
1145 -enable-* | --enable-*)
1146 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1147 # Reject names that are not valid shell variable names.
1148 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1149 as_fn_error $? "invalid feature name: $ac_useropt"
1150 ac_useropt_orig=$ac_useropt
1151 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1152 case $ac_user_opts in
1154 "enable_$ac_useropt"
1155 "*) ;;
1156 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1157 ac_unrecognized_sep=', ';;
1158 esac
1159 eval enable_$ac_useropt=\$ac_optarg ;;
1161 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1162 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1163 | --exec | --exe | --ex)
1164 ac_prev=exec_prefix ;;
1165 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1166 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1167 | --exec=* | --exe=* | --ex=*)
1168 exec_prefix=$ac_optarg ;;
1170 -gas | --gas | --ga | --g)
1171 # Obsolete; use --with-gas.
1172 with_gas=yes ;;
1174 -help | --help | --hel | --he | -h)
1175 ac_init_help=long ;;
1176 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1177 ac_init_help=recursive ;;
1178 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1179 ac_init_help=short ;;
1181 -host | --host | --hos | --ho)
1182 ac_prev=host_alias ;;
1183 -host=* | --host=* | --hos=* | --ho=*)
1184 host_alias=$ac_optarg ;;
1186 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1187 ac_prev=htmldir ;;
1188 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1189 | --ht=*)
1190 htmldir=$ac_optarg ;;
1192 -includedir | --includedir | --includedi | --included | --include \
1193 | --includ | --inclu | --incl | --inc)
1194 ac_prev=includedir ;;
1195 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1196 | --includ=* | --inclu=* | --incl=* | --inc=*)
1197 includedir=$ac_optarg ;;
1199 -infodir | --infodir | --infodi | --infod | --info | --inf)
1200 ac_prev=infodir ;;
1201 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1202 infodir=$ac_optarg ;;
1204 -libdir | --libdir | --libdi | --libd)
1205 ac_prev=libdir ;;
1206 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1207 libdir=$ac_optarg ;;
1209 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1210 | --libexe | --libex | --libe)
1211 ac_prev=libexecdir ;;
1212 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1213 | --libexe=* | --libex=* | --libe=*)
1214 libexecdir=$ac_optarg ;;
1216 -localedir | --localedir | --localedi | --localed | --locale)
1217 ac_prev=localedir ;;
1218 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1219 localedir=$ac_optarg ;;
1221 -localstatedir | --localstatedir | --localstatedi | --localstated \
1222 | --localstate | --localstat | --localsta | --localst | --locals)
1223 ac_prev=localstatedir ;;
1224 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1225 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1226 localstatedir=$ac_optarg ;;
1228 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1229 ac_prev=mandir ;;
1230 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1231 mandir=$ac_optarg ;;
1233 -nfp | --nfp | --nf)
1234 # Obsolete; use --without-fp.
1235 with_fp=no ;;
1237 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1238 | --no-cr | --no-c | -n)
1239 no_create=yes ;;
1241 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1242 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1243 no_recursion=yes ;;
1245 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1246 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1247 | --oldin | --oldi | --old | --ol | --o)
1248 ac_prev=oldincludedir ;;
1249 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1250 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1251 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1252 oldincludedir=$ac_optarg ;;
1254 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1255 ac_prev=prefix ;;
1256 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1257 prefix=$ac_optarg ;;
1259 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1260 | --program-pre | --program-pr | --program-p)
1261 ac_prev=program_prefix ;;
1262 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1263 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1264 program_prefix=$ac_optarg ;;
1266 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1267 | --program-suf | --program-su | --program-s)
1268 ac_prev=program_suffix ;;
1269 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1270 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1271 program_suffix=$ac_optarg ;;
1273 -program-transform-name | --program-transform-name \
1274 | --program-transform-nam | --program-transform-na \
1275 | --program-transform-n | --program-transform- \
1276 | --program-transform | --program-transfor \
1277 | --program-transfo | --program-transf \
1278 | --program-trans | --program-tran \
1279 | --progr-tra | --program-tr | --program-t)
1280 ac_prev=program_transform_name ;;
1281 -program-transform-name=* | --program-transform-name=* \
1282 | --program-transform-nam=* | --program-transform-na=* \
1283 | --program-transform-n=* | --program-transform-=* \
1284 | --program-transform=* | --program-transfor=* \
1285 | --program-transfo=* | --program-transf=* \
1286 | --program-trans=* | --program-tran=* \
1287 | --progr-tra=* | --program-tr=* | --program-t=*)
1288 program_transform_name=$ac_optarg ;;
1290 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1291 ac_prev=pdfdir ;;
1292 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1293 pdfdir=$ac_optarg ;;
1295 -psdir | --psdir | --psdi | --psd | --ps)
1296 ac_prev=psdir ;;
1297 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1298 psdir=$ac_optarg ;;
1300 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1301 | -silent | --silent | --silen | --sile | --sil)
1302 silent=yes ;;
1304 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1305 ac_prev=sbindir ;;
1306 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1307 | --sbi=* | --sb=*)
1308 sbindir=$ac_optarg ;;
1310 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1311 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1312 | --sharedst | --shareds | --shared | --share | --shar \
1313 | --sha | --sh)
1314 ac_prev=sharedstatedir ;;
1315 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1316 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1317 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1318 | --sha=* | --sh=*)
1319 sharedstatedir=$ac_optarg ;;
1321 -site | --site | --sit)
1322 ac_prev=site ;;
1323 -site=* | --site=* | --sit=*)
1324 site=$ac_optarg ;;
1326 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1327 ac_prev=srcdir ;;
1328 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1329 srcdir=$ac_optarg ;;
1331 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1332 | --syscon | --sysco | --sysc | --sys | --sy)
1333 ac_prev=sysconfdir ;;
1334 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1335 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1336 sysconfdir=$ac_optarg ;;
1338 -target | --target | --targe | --targ | --tar | --ta | --t)
1339 ac_prev=target_alias ;;
1340 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1341 target_alias=$ac_optarg ;;
1343 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1344 verbose=yes ;;
1346 -version | --version | --versio | --versi | --vers | -V)
1347 ac_init_version=: ;;
1349 -with-* | --with-*)
1350 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1351 # Reject names that are not valid shell variable names.
1352 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1353 as_fn_error $? "invalid package name: $ac_useropt"
1354 ac_useropt_orig=$ac_useropt
1355 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1356 case $ac_user_opts in
1358 "with_$ac_useropt"
1359 "*) ;;
1360 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1361 ac_unrecognized_sep=', ';;
1362 esac
1363 eval with_$ac_useropt=\$ac_optarg ;;
1365 -without-* | --without-*)
1366 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1367 # Reject names that are not valid shell variable names.
1368 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1369 as_fn_error $? "invalid package name: $ac_useropt"
1370 ac_useropt_orig=$ac_useropt
1371 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1372 case $ac_user_opts in
1374 "with_$ac_useropt"
1375 "*) ;;
1376 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1377 ac_unrecognized_sep=', ';;
1378 esac
1379 eval with_$ac_useropt=no ;;
1381 --x)
1382 # Obsolete; use --with-x.
1383 with_x=yes ;;
1385 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1386 | --x-incl | --x-inc | --x-in | --x-i)
1387 ac_prev=x_includes ;;
1388 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1389 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1390 x_includes=$ac_optarg ;;
1392 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1393 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1394 ac_prev=x_libraries ;;
1395 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1396 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1397 x_libraries=$ac_optarg ;;
1399 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1400 Try \`$0 --help' for more information"
1403 *=*)
1404 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1405 # Reject names that are not valid shell variable names.
1406 case $ac_envvar in #(
1407 '' | [0-9]* | *[!_$as_cr_alnum]* )
1408 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1409 esac
1410 eval $ac_envvar=\$ac_optarg
1411 export $ac_envvar ;;
1414 # FIXME: should be removed in autoconf 3.0.
1415 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1416 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1417 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1418 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1421 esac
1422 done
1424 if test -n "$ac_prev"; then
1425 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1426 as_fn_error $? "missing argument to $ac_option"
1429 if test -n "$ac_unrecognized_opts"; then
1430 case $enable_option_checking in
1431 no) ;;
1432 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1433 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1434 esac
1437 # Check all directory arguments for consistency.
1438 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1439 datadir sysconfdir sharedstatedir localstatedir includedir \
1440 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1441 libdir localedir mandir
1443 eval ac_val=\$$ac_var
1444 # Remove trailing slashes.
1445 case $ac_val in
1446 */ )
1447 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1448 eval $ac_var=\$ac_val;;
1449 esac
1450 # Be sure to have absolute directory names.
1451 case $ac_val in
1452 [\\/$]* | ?:[\\/]* ) continue;;
1453 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1454 esac
1455 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1456 done
1458 # There might be people who depend on the old broken behavior: `$host'
1459 # used to hold the argument of --host etc.
1460 # FIXME: To remove some day.
1461 build=$build_alias
1462 host=$host_alias
1463 target=$target_alias
1465 # FIXME: To remove some day.
1466 if test "x$host_alias" != x; then
1467 if test "x$build_alias" = x; then
1468 cross_compiling=maybe
1469 elif test "x$build_alias" != "x$host_alias"; then
1470 cross_compiling=yes
1474 ac_tool_prefix=
1475 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1477 test "$silent" = yes && exec 6>/dev/null
1480 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1481 ac_ls_di=`ls -di .` &&
1482 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1483 as_fn_error $? "working directory cannot be determined"
1484 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1485 as_fn_error $? "pwd does not report name of working directory"
1488 # Find the source files, if location was not specified.
1489 if test -z "$srcdir"; then
1490 ac_srcdir_defaulted=yes
1491 # Try the directory containing this script, then the parent directory.
1492 ac_confdir=`$as_dirname -- "$as_myself" ||
1493 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1494 X"$as_myself" : 'X\(//\)[^/]' \| \
1495 X"$as_myself" : 'X\(//\)$' \| \
1496 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1497 $as_echo X"$as_myself" |
1498 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1499 s//\1/
1502 /^X\(\/\/\)[^/].*/{
1503 s//\1/
1506 /^X\(\/\/\)$/{
1507 s//\1/
1510 /^X\(\/\).*/{
1511 s//\1/
1514 s/.*/./; q'`
1515 srcdir=$ac_confdir
1516 if test ! -r "$srcdir/$ac_unique_file"; then
1517 srcdir=..
1519 else
1520 ac_srcdir_defaulted=no
1522 if test ! -r "$srcdir/$ac_unique_file"; then
1523 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1524 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1526 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1527 ac_abs_confdir=`(
1528 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1529 pwd)`
1530 # When building in place, set srcdir=.
1531 if test "$ac_abs_confdir" = "$ac_pwd"; then
1532 srcdir=.
1534 # Remove unnecessary trailing slashes from srcdir.
1535 # Double slashes in file names in object file debugging info
1536 # mess up M-x gdb in Emacs.
1537 case $srcdir in
1538 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1539 esac
1540 for ac_var in $ac_precious_vars; do
1541 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1542 eval ac_env_${ac_var}_value=\$${ac_var}
1543 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1544 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1545 done
1548 # Report the --help message.
1550 if test "$ac_init_help" = "long"; then
1551 # Omit some internal or obsolete options to make the list less imposing.
1552 # This message is too long to be a string in the A/UX 3.1 sh.
1553 cat <<_ACEOF
1554 \`configure' configures newlib 4.3.0 to adapt to many kinds of systems.
1556 Usage: $0 [OPTION]... [VAR=VALUE]...
1558 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1559 VAR=VALUE. See below for descriptions of some of the useful variables.
1561 Defaults for the options are specified in brackets.
1563 Configuration:
1564 -h, --help display this help and exit
1565 --help=short display options specific to this package
1566 --help=recursive display the short help of all the included packages
1567 -V, --version display version information and exit
1568 -q, --quiet, --silent do not print \`checking ...' messages
1569 --cache-file=FILE cache test results in FILE [disabled]
1570 -C, --config-cache alias for \`--cache-file=config.cache'
1571 -n, --no-create do not create output files
1572 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1574 Installation directories:
1575 --prefix=PREFIX install architecture-independent files in PREFIX
1576 [$ac_default_prefix]
1577 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1578 [PREFIX]
1580 By default, \`make install' will install all the files in
1581 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1582 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1583 for instance \`--prefix=\$HOME'.
1585 For better control, use the options below.
1587 Fine tuning of the installation directories:
1588 --bindir=DIR user executables [EPREFIX/bin]
1589 --sbindir=DIR system admin executables [EPREFIX/sbin]
1590 --libexecdir=DIR program executables [EPREFIX/libexec]
1591 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1592 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1593 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1594 --libdir=DIR object code libraries [EPREFIX/lib]
1595 --includedir=DIR C header files [PREFIX/include]
1596 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1597 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1598 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1599 --infodir=DIR info documentation [DATAROOTDIR/info]
1600 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1601 --mandir=DIR man documentation [DATAROOTDIR/man]
1602 --docdir=DIR documentation root [DATAROOTDIR/doc/newlib]
1603 --htmldir=DIR html documentation [DOCDIR]
1604 --dvidir=DIR dvi documentation [DOCDIR]
1605 --pdfdir=DIR pdf documentation [DOCDIR]
1606 --psdir=DIR ps documentation [DOCDIR]
1607 _ACEOF
1609 cat <<\_ACEOF
1611 Program names:
1612 --program-prefix=PREFIX prepend PREFIX to installed program names
1613 --program-suffix=SUFFIX append SUFFIX to installed program names
1614 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1616 System types:
1617 --build=BUILD configure for building on BUILD [guessed]
1618 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1619 _ACEOF
1622 if test -n "$ac_init_help"; then
1623 case $ac_init_help in
1624 short | recursive ) echo "Configuration of newlib 4.3.0:";;
1625 esac
1626 cat <<\_ACEOF
1628 Optional Features:
1629 --disable-option-checking ignore unrecognized --enable/--with options
1630 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1631 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1632 --enable-newlib-io-pos-args enable printf-family positional arg support
1633 --enable-newlib-io-c99-formats enable C99 support in IO functions like printf/scanf
1634 --enable-newlib-register-fini enable finalization function registration using atexit
1635 --enable-newlib-io-long-long enable long long type support in IO functions like printf/scanf
1636 --enable-newlib-io-long-double enable long double type support in IO functions printf/scanf
1637 --enable-newlib-mb enable multibyte support
1638 --disable-newlib-reent-check-verify disable checking of _REENT_CHECK memory allocation
1639 --enable-newlib-iconv-encodings enable specific comma-separated list of bidirectional iconv encodings to be built-in
1640 --enable-newlib-iconv-from-encodings enable specific comma-separated list of \"from\" iconv encodings to be built-in
1641 --enable-newlib-iconv-to-encodings enable specific comma-separated list of \"to\" iconv encodings to be built-in
1642 --enable-newlib-iconv-external-ccs enable capabilities to load external CCS files for iconv
1643 --disable-newlib-atexit-dynamic-alloc disable dynamic allocation of atexit entries
1644 --enable-newlib-global-atexit enable atexit data structure as global
1645 --enable-newlib-reent-small enable small reentrant struct support
1646 --enable-newlib-reent-binary-compat enable backward binary compatibility for struct _reent
1647 --enable-newlib-reent-thread-local enable thread-local storage objects as a replacment for struct _reent members
1648 --enable-newlib-global-stdio-streams enable global stdio streams
1649 --disable-newlib-fvwrite-in-streamio disable iov in streamio
1650 --disable-newlib-fseek-optimization disable fseek optimization
1651 --disable-newlib-wide-orient Turn off wide orientation in streamio
1652 --enable-newlib-nano-malloc use small-footprint nano-malloc implementation
1653 --disable-newlib-unbuf-stream-opt disable unbuffered stream optimization in streamio
1654 --enable-lite-exit enable light weight exit
1655 --enable-newlib-nano-formatted-io Use small-footprint nano-formatted-IO implementation
1656 --enable-newlib-retargetable-locking Allow locking routines to be retargeted at link time
1657 --enable-newlib-long-time_t define time_t to long
1658 --enable-newlib-use-gdtoa Use gdtoa rather than legacy ldtoa
1659 --enable-multilib build many library versions (default)
1660 --enable-target-optspace optimize for space
1661 --enable-malloc-debugging indicate malloc debugging requested
1662 --enable-newlib-multithread enable support for multiple threads
1663 --enable-newlib-iconv enable iconv library support
1664 --enable-newlib-elix-level supply desired elix library level (1-4)
1665 --disable-newlib-io-float disable printf/scanf family float support
1666 --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
1667 --disable-newlib-fno-builtin disable -fno-builtin flag to allow compiler to use builtin library functions
1668 --enable-silent-rules less verbose build output (undo: "make V=1")
1669 --disable-silent-rules verbose build output (undo: "make V=0")
1670 --enable-maintainer-mode
1671 enable make rules and dependencies not useful (and
1672 sometimes confusing) to the casual installer
1673 --enable-dependency-tracking
1674 do not reject slow dependency extractors
1675 --disable-dependency-tracking
1676 speeds up one-time build
1678 Some influential environment variables:
1679 CC C compiler command
1680 CFLAGS C compiler flags
1681 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1682 nonstandard directory <lib dir>
1683 LIBS libraries to pass to the linker, e.g. -l<library>
1684 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1685 you have headers in a nonstandard directory <include dir>
1686 CPP C preprocessor
1687 CCAS assembler compiler command (defaults to CC)
1688 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1690 Use these variables to override the choices made by `configure' or to help
1691 it to find libraries and programs with nonstandard names/locations.
1693 Report bugs to the package provider.
1694 _ACEOF
1695 ac_status=$?
1698 if test "$ac_init_help" = "recursive"; then
1699 # If there are subdirs, report their specific --help.
1700 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1701 test -d "$ac_dir" ||
1702 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1703 continue
1704 ac_builddir=.
1706 case "$ac_dir" in
1707 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1709 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1710 # A ".." for each directory in $ac_dir_suffix.
1711 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1712 case $ac_top_builddir_sub in
1713 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1714 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1715 esac ;;
1716 esac
1717 ac_abs_top_builddir=$ac_pwd
1718 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1719 # for backward compatibility:
1720 ac_top_builddir=$ac_top_build_prefix
1722 case $srcdir in
1723 .) # We are building in place.
1724 ac_srcdir=.
1725 ac_top_srcdir=$ac_top_builddir_sub
1726 ac_abs_top_srcdir=$ac_pwd ;;
1727 [\\/]* | ?:[\\/]* ) # Absolute name.
1728 ac_srcdir=$srcdir$ac_dir_suffix;
1729 ac_top_srcdir=$srcdir
1730 ac_abs_top_srcdir=$srcdir ;;
1731 *) # Relative name.
1732 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1733 ac_top_srcdir=$ac_top_build_prefix$srcdir
1734 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1735 esac
1736 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1738 cd "$ac_dir" || { ac_status=$?; continue; }
1739 # Check for guested configure.
1740 if test -f "$ac_srcdir/configure.gnu"; then
1741 echo &&
1742 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1743 elif test -f "$ac_srcdir/configure"; then
1744 echo &&
1745 $SHELL "$ac_srcdir/configure" --help=recursive
1746 else
1747 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1748 fi || ac_status=$?
1749 cd "$ac_pwd" || { ac_status=$?; break; }
1750 done
1753 test -n "$ac_init_help" && exit $ac_status
1754 if $ac_init_version; then
1755 cat <<\_ACEOF
1756 newlib configure 4.3.0
1757 generated by GNU Autoconf 2.69
1759 Copyright (C) 2012 Free Software Foundation, Inc.
1760 This configure script is free software; the Free Software Foundation
1761 gives unlimited permission to copy, distribute and modify it.
1762 _ACEOF
1763 exit
1766 ## ------------------------ ##
1767 ## Autoconf initialization. ##
1768 ## ------------------------ ##
1770 # ac_fn_c_try_compile LINENO
1771 # --------------------------
1772 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1773 ac_fn_c_try_compile ()
1775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1776 rm -f conftest.$ac_objext
1777 if { { ac_try="$ac_compile"
1778 case "(($ac_try" in
1779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1780 *) ac_try_echo=$ac_try;;
1781 esac
1782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1783 $as_echo "$ac_try_echo"; } >&5
1784 (eval "$ac_compile") 2>conftest.err
1785 ac_status=$?
1786 if test -s conftest.err; then
1787 grep -v '^ *+' conftest.err >conftest.er1
1788 cat conftest.er1 >&5
1789 mv -f conftest.er1 conftest.err
1791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1792 test $ac_status = 0; } && {
1793 test -z "$ac_c_werror_flag" ||
1794 test ! -s conftest.err
1795 } && test -s conftest.$ac_objext; then :
1796 ac_retval=0
1797 else
1798 $as_echo "$as_me: failed program was:" >&5
1799 sed 's/^/| /' conftest.$ac_ext >&5
1801 ac_retval=1
1803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1804 as_fn_set_status $ac_retval
1806 } # ac_fn_c_try_compile
1808 # ac_fn_c_try_cpp LINENO
1809 # ----------------------
1810 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1811 ac_fn_c_try_cpp ()
1813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814 if { { ac_try="$ac_cpp conftest.$ac_ext"
1815 case "(($ac_try" in
1816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1817 *) ac_try_echo=$ac_try;;
1818 esac
1819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1820 $as_echo "$ac_try_echo"; } >&5
1821 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1822 ac_status=$?
1823 if test -s conftest.err; then
1824 grep -v '^ *+' conftest.err >conftest.er1
1825 cat conftest.er1 >&5
1826 mv -f conftest.er1 conftest.err
1828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1829 test $ac_status = 0; } > conftest.i && {
1830 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1831 test ! -s conftest.err
1832 }; then :
1833 ac_retval=0
1834 else
1835 $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.$ac_ext >&5
1838 ac_retval=1
1840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1841 as_fn_set_status $ac_retval
1843 } # ac_fn_c_try_cpp
1844 cat >config.log <<_ACEOF
1845 This file contains any messages produced by compilers while
1846 running configure, to aid debugging if configure makes a mistake.
1848 It was created by newlib $as_me 4.3.0, which was
1849 generated by GNU Autoconf 2.69. Invocation command line was
1851 $ $0 $@
1853 _ACEOF
1854 exec 5>>config.log
1856 cat <<_ASUNAME
1857 ## --------- ##
1858 ## Platform. ##
1859 ## --------- ##
1861 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1862 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1863 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1864 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1865 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1867 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1868 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1870 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1871 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1872 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1873 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1874 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1875 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1876 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1878 _ASUNAME
1880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1881 for as_dir in $PATH
1883 IFS=$as_save_IFS
1884 test -z "$as_dir" && as_dir=.
1885 $as_echo "PATH: $as_dir"
1886 done
1887 IFS=$as_save_IFS
1889 } >&5
1891 cat >&5 <<_ACEOF
1894 ## ----------- ##
1895 ## Core tests. ##
1896 ## ----------- ##
1898 _ACEOF
1901 # Keep a trace of the command line.
1902 # Strip out --no-create and --no-recursion so they do not pile up.
1903 # Strip out --silent because we don't want to record it for future runs.
1904 # Also quote any args containing shell meta-characters.
1905 # Make two passes to allow for proper duplicate-argument suppression.
1906 ac_configure_args=
1907 ac_configure_args0=
1908 ac_configure_args1=
1909 ac_must_keep_next=false
1910 for ac_pass in 1 2
1912 for ac_arg
1914 case $ac_arg in
1915 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1916 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1917 | -silent | --silent | --silen | --sile | --sil)
1918 continue ;;
1919 *\'*)
1920 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1921 esac
1922 case $ac_pass in
1923 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1925 as_fn_append ac_configure_args1 " '$ac_arg'"
1926 if test $ac_must_keep_next = true; then
1927 ac_must_keep_next=false # Got value, back to normal.
1928 else
1929 case $ac_arg in
1930 *=* | --config-cache | -C | -disable-* | --disable-* \
1931 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1932 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1933 | -with-* | --with-* | -without-* | --without-* | --x)
1934 case "$ac_configure_args0 " in
1935 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1936 esac
1938 -* ) ac_must_keep_next=true ;;
1939 esac
1941 as_fn_append ac_configure_args " '$ac_arg'"
1943 esac
1944 done
1945 done
1946 { ac_configure_args0=; unset ac_configure_args0;}
1947 { ac_configure_args1=; unset ac_configure_args1;}
1949 # When interrupted or exit'd, cleanup temporary files, and complete
1950 # config.log. We remove comments because anyway the quotes in there
1951 # would cause problems or look ugly.
1952 # WARNING: Use '\'' to represent an apostrophe within the trap.
1953 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1954 trap 'exit_status=$?
1955 # Save into config.log some information that might help in debugging.
1957 echo
1959 $as_echo "## ---------------- ##
1960 ## Cache variables. ##
1961 ## ---------------- ##"
1962 echo
1963 # The following way of writing the cache mishandles newlines in values,
1965 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1966 eval ac_val=\$$ac_var
1967 case $ac_val in #(
1968 *${as_nl}*)
1969 case $ac_var in #(
1970 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1971 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1972 esac
1973 case $ac_var in #(
1974 _ | IFS | as_nl) ;; #(
1975 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1976 *) { eval $ac_var=; unset $ac_var;} ;;
1977 esac ;;
1978 esac
1979 done
1980 (set) 2>&1 |
1981 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1982 *${as_nl}ac_space=\ *)
1983 sed -n \
1984 "s/'\''/'\''\\\\'\'''\''/g;
1985 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1986 ;; #(
1988 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1990 esac |
1991 sort
1993 echo
1995 $as_echo "## ----------------- ##
1996 ## Output variables. ##
1997 ## ----------------- ##"
1998 echo
1999 for ac_var in $ac_subst_vars
2001 eval ac_val=\$$ac_var
2002 case $ac_val in
2003 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2004 esac
2005 $as_echo "$ac_var='\''$ac_val'\''"
2006 done | sort
2007 echo
2009 if test -n "$ac_subst_files"; then
2010 $as_echo "## ------------------- ##
2011 ## File substitutions. ##
2012 ## ------------------- ##"
2013 echo
2014 for ac_var in $ac_subst_files
2016 eval ac_val=\$$ac_var
2017 case $ac_val in
2018 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2019 esac
2020 $as_echo "$ac_var='\''$ac_val'\''"
2021 done | sort
2022 echo
2025 if test -s confdefs.h; then
2026 $as_echo "## ----------- ##
2027 ## confdefs.h. ##
2028 ## ----------- ##"
2029 echo
2030 cat confdefs.h
2031 echo
2033 test "$ac_signal" != 0 &&
2034 $as_echo "$as_me: caught signal $ac_signal"
2035 $as_echo "$as_me: exit $exit_status"
2036 } >&5
2037 rm -f core *.core core.conftest.* &&
2038 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2039 exit $exit_status
2041 for ac_signal in 1 2 13 15; do
2042 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2043 done
2044 ac_signal=0
2046 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2047 rm -f -r conftest* confdefs.h
2049 $as_echo "/* confdefs.h */" > confdefs.h
2051 # Predefined preprocessor variables.
2053 cat >>confdefs.h <<_ACEOF
2054 #define PACKAGE_NAME "$PACKAGE_NAME"
2055 _ACEOF
2057 cat >>confdefs.h <<_ACEOF
2058 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2059 _ACEOF
2061 cat >>confdefs.h <<_ACEOF
2062 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2063 _ACEOF
2065 cat >>confdefs.h <<_ACEOF
2066 #define PACKAGE_STRING "$PACKAGE_STRING"
2067 _ACEOF
2069 cat >>confdefs.h <<_ACEOF
2070 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2071 _ACEOF
2073 cat >>confdefs.h <<_ACEOF
2074 #define PACKAGE_URL "$PACKAGE_URL"
2075 _ACEOF
2078 # Let the site file select an alternate cache file if it wants to.
2079 # Prefer an explicitly selected file to automatically selected ones.
2080 ac_site_file1=NONE
2081 ac_site_file2=NONE
2082 if test -n "$CONFIG_SITE"; then
2083 # We do not want a PATH search for config.site.
2084 case $CONFIG_SITE in #((
2085 -*) ac_site_file1=./$CONFIG_SITE;;
2086 */*) ac_site_file1=$CONFIG_SITE;;
2087 *) ac_site_file1=./$CONFIG_SITE;;
2088 esac
2089 elif test "x$prefix" != xNONE; then
2090 ac_site_file1=$prefix/share/config.site
2091 ac_site_file2=$prefix/etc/config.site
2092 else
2093 ac_site_file1=$ac_default_prefix/share/config.site
2094 ac_site_file2=$ac_default_prefix/etc/config.site
2096 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2098 test "x$ac_site_file" = xNONE && continue
2099 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2101 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2102 sed 's/^/| /' "$ac_site_file" >&5
2103 . "$ac_site_file" \
2104 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2106 as_fn_error $? "failed to load site script $ac_site_file
2107 See \`config.log' for more details" "$LINENO" 5; }
2109 done
2111 if test -r "$cache_file"; then
2112 # Some versions of bash will fail to source /dev/null (special files
2113 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2114 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2116 $as_echo "$as_me: loading cache $cache_file" >&6;}
2117 case $cache_file in
2118 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2119 *) . "./$cache_file";;
2120 esac
2122 else
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2124 $as_echo "$as_me: creating cache $cache_file" >&6;}
2125 >$cache_file
2128 # Check that the precious variables saved in the cache have kept the same
2129 # value.
2130 ac_cache_corrupted=false
2131 for ac_var in $ac_precious_vars; do
2132 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2133 eval ac_new_set=\$ac_env_${ac_var}_set
2134 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2135 eval ac_new_val=\$ac_env_${ac_var}_value
2136 case $ac_old_set,$ac_new_set in
2137 set,)
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2139 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2140 ac_cache_corrupted=: ;;
2141 ,set)
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2143 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2144 ac_cache_corrupted=: ;;
2145 ,);;
2147 if test "x$ac_old_val" != "x$ac_new_val"; then
2148 # differences in whitespace do not lead to failure.
2149 ac_old_val_w=`echo x $ac_old_val`
2150 ac_new_val_w=`echo x $ac_new_val`
2151 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2153 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2154 ac_cache_corrupted=:
2155 else
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2157 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2158 eval $ac_var=\$ac_old_val
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2161 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2163 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2164 fi;;
2165 esac
2166 # Pass precious variables to config.status.
2167 if test "$ac_new_set" = set; then
2168 case $ac_new_val in
2169 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2170 *) ac_arg=$ac_var=$ac_new_val ;;
2171 esac
2172 case " $ac_configure_args " in
2173 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2174 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2175 esac
2177 done
2178 if $ac_cache_corrupted; then
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2182 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2183 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2185 ## -------------------- ##
2186 ## Main body of script. ##
2187 ## -------------------- ##
2189 ac_ext=c
2190 ac_cpp='$CPP $CPPFLAGS'
2191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2201 ac_config_headers="$ac_config_headers newlib.h:newlib.hin"
2206 ac_config_headers="$ac_config_headers _newlib_version.h:_newlib_version.hin"
2209 ac_aux_dir=
2210 for ac_dir in .. "$srcdir"/..; do
2211 if test -f "$ac_dir/install-sh"; then
2212 ac_aux_dir=$ac_dir
2213 ac_install_sh="$ac_aux_dir/install-sh -c"
2214 break
2215 elif test -f "$ac_dir/install.sh"; then
2216 ac_aux_dir=$ac_dir
2217 ac_install_sh="$ac_aux_dir/install.sh -c"
2218 break
2219 elif test -f "$ac_dir/shtool"; then
2220 ac_aux_dir=$ac_dir
2221 ac_install_sh="$ac_aux_dir/shtool install -c"
2222 break
2224 done
2225 if test -z "$ac_aux_dir"; then
2226 as_fn_error $? "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
2229 # These three variables are undocumented and unsupported,
2230 # and are intended to be withdrawn in a future Autoconf release.
2231 # They can cause serious problems if a builder's source tree is in a directory
2232 # whose full name contains unusual characters.
2233 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2234 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2235 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2239 # Check whether --enable-newlib-io-pos-args was given.
2240 if test "${enable_newlib_io_pos_args+set}" = set; then :
2241 enableval=$enable_newlib_io_pos_args; case "${enableval}" in
2242 yes) newlib_io_pos_args=yes ;;
2243 no) newlib_io_pos_args=no ;;
2244 *) as_fn_error $? "bad value ${enableval} for newlib-io-pos-args option" "$LINENO" 5 ;;
2245 esac
2246 else
2247 newlib_io_pos_args=
2250 # Check whether --enable-newlib-io-c99-formats was given.
2251 if test "${enable_newlib_io_c99_formats+set}" = set; then :
2252 enableval=$enable_newlib_io_c99_formats; case "${enableval}" in
2253 yes) newlib_io_c99_formats=yes;;
2254 no) newlib_io_c99_formats=no ;;
2255 *) as_fn_error $? "bad value ${enableval} for newlib-io-c99-formats option" "$LINENO" 5 ;;
2256 esac
2257 else
2258 newlib_io_c99_formats=
2261 # Check whether --enable-newlib-register-fini was given.
2262 if test "${enable_newlib_register_fini+set}" = set; then :
2263 enableval=$enable_newlib_register_fini; case "${enableval}" in
2264 yes) newlib_register_fini=yes;;
2265 no) newlib_register_fini=no ;;
2266 *) as_fn_error $? "bad value ${enableval} for newlib-register-fini option" "$LINENO" 5 ;;
2267 esac
2268 else
2269 newlib_register_fini=
2272 # Check whether --enable-newlib-io-long-long was given.
2273 if test "${enable_newlib_io_long_long+set}" = set; then :
2274 enableval=$enable_newlib_io_long_long; case "${enableval}" in
2275 yes) newlib_io_long_long=yes;;
2276 no) newlib_io_long_long=no ;;
2277 *) as_fn_error $? "bad value ${enableval} for newlib-io-long-long option" "$LINENO" 5 ;;
2278 esac
2279 else
2280 newlib_io_long_long=
2283 # Check whether --enable-newlib-io-long-double was given.
2284 if test "${enable_newlib_io_long_double+set}" = set; then :
2285 enableval=$enable_newlib_io_long_double; case "${enableval}" in
2286 yes) newlib_io_long_double=yes;;
2287 no) newlib_io_long_double=no ;;
2288 *) as_fn_error $? "bad value ${enableval} for newlib-io-long-double option" "$LINENO" 5 ;;
2289 esac
2290 else
2291 newlib_io_long_double=
2294 # Check whether --enable-newlib-mb was given.
2295 if test "${enable_newlib_mb+set}" = set; then :
2296 enableval=$enable_newlib_mb; case "${enableval}" in
2297 yes) newlib_mb=yes;;
2298 no) newlib_mb=no ;;
2299 *) as_fn_error $? "bad value ${enableval} for newlib-mb option" "$LINENO" 5 ;;
2300 esac
2301 else
2302 newlib_mb=
2305 # Check whether --enable-newlib-reent-check-verify was given.
2306 if test "${enable_newlib_reent_check_verify+set}" = set; then :
2307 enableval=$enable_newlib_reent_check_verify; case "${enableval}" in
2308 yes) newlib_reent_check_verify=yes;;
2309 no) newlib_reent_check_verify=no ;;
2310 *) as_fn_error $? "bad value ${enableval} for newlib-reent-check-verify option" "$LINENO" 5 ;;
2311 esac
2312 else
2313 newlib_reent_check_verify=
2316 # Check whether --enable-newlib-iconv-encodings was given.
2317 if test "${enable_newlib_iconv_encodings+set}" = set; then :
2318 enableval=$enable_newlib_iconv_encodings; if test x${enableval} = x; then
2319 as_fn_error $? "bad value ${enableval} for newlib-iconv-encodings option - use comma-separated encodings list" "$LINENO" 5
2321 iconv_encodings=${enableval}
2323 else
2324 iconv_encodings=
2327 # Check whether --enable-newlib-iconv-from-encodings was given.
2328 if test "${enable_newlib_iconv_from_encodings+set}" = set; then :
2329 enableval=$enable_newlib_iconv_from_encodings; if test x${enableval} = x; then
2330 as_fn_error $? "bad value ${enableval} for newlib-iconv-from-encodings option - use comma-separated encodings list" "$LINENO" 5
2332 iconv_from_encodings=${enableval}
2334 else
2335 iconv_from_encodings=
2338 # Check whether --enable-newlib-iconv-to-encodings was given.
2339 if test "${enable_newlib_iconv_to_encodings+set}" = set; then :
2340 enableval=$enable_newlib_iconv_to_encodings; if test x${enableval} = x; then
2341 as_fn_error $? "bad value ${enableval} for newlib-iconv-to-encodings option - use comma-separated encodings list" "$LINENO" 5
2343 iconv_to_encodings=${enableval}
2345 else
2346 iconv_to_encodings=
2349 # Check whether --enable-newlib-iconv-external-ccs was given.
2350 if test "${enable_newlib_iconv_external_ccs+set}" = set; then :
2351 enableval=$enable_newlib_iconv_external_ccs; if test "${newlib_iconv_external_ccs+set}" != set; then
2352 case "${enableval}" in
2353 yes) newlib_iconv_external_ccs=yes ;;
2354 no) newlib_iconv_external_ccs=no ;;
2355 *) as_fn_error $? "bad value ${enableval} for newlib-iconv-external-ccs option" "$LINENO" 5 ;;
2356 esac
2358 else
2359 newlib_iconv_external_ccs=${newlib_iconv_external_ccs}
2362 # Check whether --enable-newlib-atexit-dynamic-alloc was given.
2363 if test "${enable_newlib_atexit_dynamic_alloc+set}" = set; then :
2364 enableval=$enable_newlib_atexit_dynamic_alloc; if test "${newlib_atexit_dynamic_alloc+set}" != set; then
2365 case "${enableval}" in
2366 yes) newlib_atexit_dynamic_alloc=yes ;;
2367 no) newlib_atexit_dynamic_alloc=no ;;
2368 *) as_fn_error $? "bad value ${enableval} for newlib-atexit-dynamic-alloc option" "$LINENO" 5 ;;
2369 esac
2371 else
2372 newlib_atexit_dynamic_alloc=${newlib_atexit_dynamic_alloc}
2375 # Check whether --enable-newlib-global-atexit was given.
2376 if test "${enable_newlib_global_atexit+set}" = set; then :
2377 enableval=$enable_newlib_global_atexit; if test "${newlib_global_atexit+set}" != set; then
2378 case "${enableval}" in
2379 yes) newlib_global_atexit=yes ;;
2380 *) as_fn_error $? "bad value ${enableval} for newlib-global-atexit option" "$LINENO" 5 ;;
2381 esac
2383 else
2384 newlib_global_atexit=yes
2387 # Check whether --enable-newlib-reent-small was given.
2388 if test "${enable_newlib_reent_small+set}" = set; then :
2389 enableval=$enable_newlib_reent_small; case "${enableval}" in
2390 yes) newlib_reent_small=yes;;
2391 no) newlib_reent_small=no ;;
2392 *) as_fn_error $? "bad value ${enableval} for newlib-reent-small option" "$LINENO" 5 ;;
2393 esac
2394 else
2395 newlib_reent_small=
2398 # Check whether --enable-newlib-reent-binary-compat was given.
2399 if test "${enable_newlib_reent_binary_compat+set}" = set; then :
2400 enableval=$enable_newlib_reent_binary_compat; if test "${newlib_reent_binary_compat+set}" != set; then
2401 case "${enableval}" in
2402 yes) newlib_reent_binary_compat=yes ;;
2403 no) newlib_reent_binary_compat=no ;;
2404 *) as_fn_error $? "bad value ${enableval} for newlib-enable-reent-binary-compat option" "$LINENO" 5 ;;
2405 esac
2407 else
2408 newlib_reent_binary_compat=no
2411 # Check whether --enable-newlib-reent-thread-local was given.
2412 if test "${enable_newlib_reent_thread_local+set}" = set; then :
2413 enableval=$enable_newlib_reent_thread_local; if test "${newlib_reent_thread_local+set}" != set; then
2414 case "${enableval}" in
2415 yes) newlib_reent_thread_local=yes ;;
2416 no) newlib_reent_thread_local=no ;;
2417 *) as_fn_error $? "bad value ${enableval} for newlib-enable-reent-thread-local option" "$LINENO" 5 ;;
2418 esac
2420 else
2421 newlib_reent_thread_local=no
2424 # Check whether --enable-newlib-global-stdio-streams was given.
2425 if test "${enable_newlib_global_stdio_streams+set}" = set; then :
2426 enableval=$enable_newlib_global_stdio_streams; case "${enableval}" in
2427 yes) newlib_global_stdio_streams=yes;;
2428 *) as_fn_error $? "bad value ${enableval} for newlib-global-stdio-streams option" "$LINENO" 5 ;;
2429 esac
2430 else
2431 newlib_global_stdio_streams=yes
2434 # Check whether --enable-newlib-fvwrite-in-streamio was given.
2435 if test "${enable_newlib_fvwrite_in_streamio+set}" = set; then :
2436 enableval=$enable_newlib_fvwrite_in_streamio; if test "${newlib_fvwrite_in_streamio+set}" != set; then
2437 case "${enableval}" in
2438 yes) newlib_fvwrite_in_streamio=yes ;;
2439 no) newlib_fvwrite_in_streamio=no ;;
2440 *) as_fn_error $? "bad value ${enableval} for newlib-fvwrite-in-streamio option" "$LINENO" 5 ;;
2441 esac
2443 else
2444 newlib_fvwrite_in_streamio=yes
2447 # Check whether --enable-newlib-fseek-optimization was given.
2448 if test "${enable_newlib_fseek_optimization+set}" = set; then :
2449 enableval=$enable_newlib_fseek_optimization; if test "${newlib_fseek_optimization+set}" != set; then
2450 case "${enableval}" in
2451 yes) newlib_fseek_optimization=yes ;;
2452 no) newlib_fseek_optimization=no ;;
2453 *) as_fn_error $? "bad value ${enableval} for newlib-fseek-optimization option" "$LINENO" 5 ;;
2454 esac
2456 else
2457 newlib_fseek_optimization=yes
2460 # Check whether --enable-newlib_wide_orient was given.
2461 if test "${enable_newlib_wide_orient+set}" = set; then :
2462 enableval=$enable_newlib_wide_orient; case "${enableval}" in
2463 yes) newlib_wide_orient=yes ;;
2464 no) newlib_wide_orient=no ;;
2465 *) as_fn_error $? "bad value ${enableval} for newlib-wide-orient" "$LINENO" 5 ;;
2466 esac
2467 else
2468 newlib_wide_orient=yes
2472 # Check whether --enable-newlib-nano-malloc was given.
2473 if test "${enable_newlib_nano_malloc+set}" = set; then :
2474 enableval=$enable_newlib_nano_malloc; if test "${newlib_nano_malloc+set}" != set; then
2475 case "${enableval}" in
2476 yes) newlib_nano_malloc=yes ;;
2477 no) newlib_nano_malloc=no ;;
2478 *) as_fn_error $? "bad value ${enableval} for newlib-nano-malloc option" "$LINENO" 5 ;;
2479 esac
2481 else
2482 newlib_nano_malloc=
2484 if test x$newlib_nano_malloc = xyes; then
2485 NEWLIB_NANO_MALLOC_TRUE=
2486 NEWLIB_NANO_MALLOC_FALSE='#'
2487 else
2488 NEWLIB_NANO_MALLOC_TRUE='#'
2489 NEWLIB_NANO_MALLOC_FALSE=
2493 # Check whether --enable-newlib-unbuf-stream-opt was given.
2494 if test "${enable_newlib_unbuf_stream_opt+set}" = set; then :
2495 enableval=$enable_newlib_unbuf_stream_opt; if test "${newlib_unbuf_stream_opt+set}" != set; then
2496 case "${enableval}" in
2497 yes) newlib_unbuf_stream_opt=yes ;;
2498 no) newlib_unbuf_stream_opt=no ;;
2499 *) as_fn_error $? "bad value ${enableval} for newlib-unbuf-stream-opt option" "$LINENO" 5 ;;
2500 esac
2502 else
2503 newlib_unbuf_stream_opt=yes
2506 # Check whether --enable-lite-exit was given.
2507 if test "${enable_lite_exit+set}" = set; then :
2508 enableval=$enable_lite_exit; if test "${lite_exit+set}" != set; then
2509 case "${enableval}" in
2510 yes) lite_exit=yes ;;
2511 no) lite_exit=no ;;
2512 *) as_fn_error $? "bad value ${enableval} for lite-exit option" "$LINENO" 5 ;;
2513 esac
2515 else
2516 lite_exit=no
2519 # Check whether --enable-newlib_nano_formatted_io was given.
2520 if test "${enable_newlib_nano_formatted_io+set}" = set; then :
2521 enableval=$enable_newlib_nano_formatted_io; case "${enableval}" in
2522 yes) newlib_nano_formatted_io=yes ;;
2523 no) newlib_nano_formatted_io=no ;;
2524 *) as_fn_error $? "bad value ${enableval} for newlib-nano-formatted-io" "$LINENO" 5 ;;
2525 esac
2526 else
2527 newlib_nano_formatted_io=no
2530 if test x$newlib_nano_formatted_io = xyes; then
2531 NEWLIB_NANO_FORMATTED_IO_TRUE=
2532 NEWLIB_NANO_FORMATTED_IO_FALSE='#'
2533 else
2534 NEWLIB_NANO_FORMATTED_IO_TRUE='#'
2535 NEWLIB_NANO_FORMATTED_IO_FALSE=
2539 # Check whether --enable-newlib-retargetable-locking was given.
2540 if test "${enable_newlib_retargetable_locking+set}" = set; then :
2541 enableval=$enable_newlib_retargetable_locking; case "${enableval}" in
2542 yes) newlib_retargetable_locking=yes ;;
2543 no) newlib_retargetable_locking=no ;;
2544 *) as_fn_error $? "bad value ${enableval} for newlib-retargetable-locking" "$LINENO" 5 ;;
2545 esac
2546 else
2547 newlib_retargetable_locking=no
2550 if test x$newlib_retargetable_locking = xyes; then
2551 NEWLIB_RETARGETABLE_LOCKING_TRUE=
2552 NEWLIB_RETARGETABLE_LOCKING_FALSE='#'
2553 else
2554 NEWLIB_RETARGETABLE_LOCKING_TRUE='#'
2555 NEWLIB_RETARGETABLE_LOCKING_FALSE=
2559 # Check whether --enable-newlib-long-time_t was given.
2560 if test "${enable_newlib_long_time_t+set}" = set; then :
2561 enableval=$enable_newlib_long_time_t; if test "${newlib_long_time_t+set}" != set; then
2562 case "${enableval}" in
2563 yes) newlib_long_time_t=yes ;;
2564 no) newlib_long_time_t=no ;;
2565 *) as_fn_error $? "bad value ${enableval} for newlib-long-time_t option" "$LINENO" 5 ;;
2566 esac
2568 else
2569 newlib_long_time_t=no
2572 # Check whether --enable-newlib-use-gdtoa was given.
2573 if test "${enable_newlib_use_gdtoa+set}" = set; then :
2574 enableval=$enable_newlib_use_gdtoa; if test "${newlib_use_gdtoa+set}" != set; then
2575 case "${enableval}" in
2576 yes) newlib_use_gdtoa=yes ;;
2577 no) newlib_use_gdtoa=no ;;
2578 *) as_fn_error $? "bad value ${enableval} for newlib-use-gdtoa option" "$LINENO" 5 ;;
2579 esac
2581 else
2582 newlib_use_gdtoa=yes
2585 # Default to --enable-multilib
2586 # Check whether --enable-multilib was given.
2587 if test "${enable_multilib+set}" = set; then :
2588 enableval=$enable_multilib; case "$enableval" in
2589 yes) multilib=yes ;;
2590 no) multilib=no ;;
2591 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2592 esac
2593 else
2594 multilib=yes
2598 # We may get other options which we leave undocumented:
2599 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2600 # See config-ml.in if you want the gory details.
2602 if test "$srcdir" = "."; then
2603 if test "$with_target_subdir" != "."; then
2604 multi_basedir="$srcdir/$with_multisrctop../.."
2605 else
2606 multi_basedir="$srcdir/$with_multisrctop.."
2608 else
2609 multi_basedir="$srcdir/.."
2613 # Even if the default multilib is not a cross compilation,
2614 # it may be that some of the other multilibs are.
2615 if test $cross_compiling = no && test $multilib = yes \
2616 && test "x${with_multisubdir}" != x ; then
2617 cross_compiling=maybe
2620 ac_config_commands="$ac_config_commands default-1"
2623 # Make sure we can run config.sub.
2624 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2625 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2628 $as_echo_n "checking build system type... " >&6; }
2629 if ${ac_cv_build+:} false; then :
2630 $as_echo_n "(cached) " >&6
2631 else
2632 ac_build_alias=$build_alias
2633 test "x$ac_build_alias" = x &&
2634 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2635 test "x$ac_build_alias" = x &&
2636 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2637 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2638 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2642 $as_echo "$ac_cv_build" >&6; }
2643 case $ac_cv_build in
2644 *-*-*) ;;
2645 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2646 esac
2647 build=$ac_cv_build
2648 ac_save_IFS=$IFS; IFS='-'
2649 set x $ac_cv_build
2650 shift
2651 build_cpu=$1
2652 build_vendor=$2
2653 shift; shift
2654 # Remember, the first character of IFS is used to create $*,
2655 # except with old shells:
2656 build_os=$*
2657 IFS=$ac_save_IFS
2658 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2662 $as_echo_n "checking host system type... " >&6; }
2663 if ${ac_cv_host+:} false; then :
2664 $as_echo_n "(cached) " >&6
2665 else
2666 if test "x$host_alias" = x; then
2667 ac_cv_host=$ac_cv_build
2668 else
2669 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2670 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2675 $as_echo "$ac_cv_host" >&6; }
2676 case $ac_cv_host in
2677 *-*-*) ;;
2678 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2679 esac
2680 host=$ac_cv_host
2681 ac_save_IFS=$IFS; IFS='-'
2682 set x $ac_cv_host
2683 shift
2684 host_cpu=$1
2685 host_vendor=$2
2686 shift; shift
2687 # Remember, the first character of IFS is used to create $*,
2688 # except with old shells:
2689 host_os=$*
2690 IFS=$ac_save_IFS
2691 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2694 am__api_version='1.15'
2696 # Find a good install program. We prefer a C program (faster),
2697 # so one script is as good as another. But avoid the broken or
2698 # incompatible versions:
2699 # SysV /etc/install, /usr/sbin/install
2700 # SunOS /usr/etc/install
2701 # IRIX /sbin/install
2702 # AIX /bin/install
2703 # AmigaOS /C/install, which installs bootblocks on floppy discs
2704 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2705 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2706 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2707 # OS/2's system install, which has a completely different semantic
2708 # ./install, which can be erroneously created by make from ./install.sh.
2709 # Reject install programs that cannot install multiple files.
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2711 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2712 if test -z "$INSTALL"; then
2713 if ${ac_cv_path_install+:} false; then :
2714 $as_echo_n "(cached) " >&6
2715 else
2716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2717 for as_dir in $PATH
2719 IFS=$as_save_IFS
2720 test -z "$as_dir" && as_dir=.
2721 # Account for people who put trailing slashes in PATH elements.
2722 case $as_dir/ in #((
2723 ./ | .// | /[cC]/* | \
2724 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2725 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2726 /usr/ucb/* ) ;;
2728 # OSF1 and SCO ODT 3.0 have their own names for install.
2729 # Don't use installbsd from OSF since it installs stuff as root
2730 # by default.
2731 for ac_prog in ginstall scoinst install; do
2732 for ac_exec_ext in '' $ac_executable_extensions; do
2733 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2734 if test $ac_prog = install &&
2735 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2736 # AIX install. It has an incompatible calling convention.
2738 elif test $ac_prog = install &&
2739 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2740 # program-specific install script used by HP pwplus--don't use.
2742 else
2743 rm -rf conftest.one conftest.two conftest.dir
2744 echo one > conftest.one
2745 echo two > conftest.two
2746 mkdir conftest.dir
2747 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2748 test -s conftest.one && test -s conftest.two &&
2749 test -s conftest.dir/conftest.one &&
2750 test -s conftest.dir/conftest.two
2751 then
2752 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2753 break 3
2757 done
2758 done
2760 esac
2762 done
2763 IFS=$as_save_IFS
2765 rm -rf conftest.one conftest.two conftest.dir
2768 if test "${ac_cv_path_install+set}" = set; then
2769 INSTALL=$ac_cv_path_install
2770 else
2771 # As a last resort, use the slow shell script. Don't cache a
2772 # value for INSTALL within a source directory, because that will
2773 # break other packages using the cache if that directory is
2774 # removed, or if the value is a relative name.
2775 INSTALL=$ac_install_sh
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2779 $as_echo "$INSTALL" >&6; }
2781 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2782 # It thinks the first close brace ends the variable substitution.
2783 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2785 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2787 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2790 $as_echo_n "checking whether build environment is sane... " >&6; }
2791 # Reject unsafe characters in $srcdir or the absolute working directory
2792 # name. Accept space and tab only in the latter.
2793 am_lf='
2795 case `pwd` in
2796 *[\\\"\#\$\&\'\`$am_lf]*)
2797 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2798 esac
2799 case $srcdir in
2800 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2801 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2802 esac
2804 # Do 'set' in a subshell so we don't clobber the current shell's
2805 # arguments. Must try -L first in case configure is actually a
2806 # symlink; some systems play weird games with the mod time of symlinks
2807 # (eg FreeBSD returns the mod time of the symlink's containing
2808 # directory).
2809 if (
2810 am_has_slept=no
2811 for am_try in 1 2; do
2812 echo "timestamp, slept: $am_has_slept" > conftest.file
2813 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2814 if test "$*" = "X"; then
2815 # -L didn't work.
2816 set X `ls -t "$srcdir/configure" conftest.file`
2818 if test "$*" != "X $srcdir/configure conftest.file" \
2819 && test "$*" != "X conftest.file $srcdir/configure"; then
2821 # If neither matched, then we have a broken ls. This can happen
2822 # if, for instance, CONFIG_SHELL is bash and it inherits a
2823 # broken ls alias from the environment. This has actually
2824 # happened. Such a system could not be considered "sane".
2825 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2826 alias in your environment" "$LINENO" 5
2828 if test "$2" = conftest.file || test $am_try -eq 2; then
2829 break
2831 # Just in case.
2832 sleep 1
2833 am_has_slept=yes
2834 done
2835 test "$2" = conftest.file
2837 then
2838 # Ok.
2840 else
2841 as_fn_error $? "newly created file is older than distributed files!
2842 Check your system clock" "$LINENO" 5
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2845 $as_echo "yes" >&6; }
2846 # If we didn't sleep, we still need to ensure time stamps of config.status and
2847 # generated files are strictly newer.
2848 am_sleep_pid=
2849 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2850 ( sleep 1 ) &
2851 am_sleep_pid=$!
2854 rm -f conftest.file
2856 test "$program_prefix" != NONE &&
2857 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2858 # Use a double $ so make ignores it.
2859 test "$program_suffix" != NONE &&
2860 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2861 # Double any \ or $.
2862 # By default was `s,x,x', remove it if useless.
2863 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2864 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2866 # Expand $ac_aux_dir to an absolute path.
2867 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2869 if test x"${MISSING+set}" != xset; then
2870 case $am_aux_dir in
2871 *\ * | *\ *)
2872 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2874 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2875 esac
2877 # Use eval to expand $SHELL
2878 if eval "$MISSING --is-lightweight"; then
2879 am_missing_run="$MISSING "
2880 else
2881 am_missing_run=
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2883 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2886 if test x"${install_sh+set}" != xset; then
2887 case $am_aux_dir in
2888 *\ * | *\ *)
2889 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2891 install_sh="\${SHELL} $am_aux_dir/install-sh"
2892 esac
2895 # Installed binaries are usually stripped using 'strip' when the user
2896 # run "make install-strip". However 'strip' might not be the right
2897 # tool to use in cross-compilation environments, therefore Automake
2898 # will honor the 'STRIP' environment variable to overrule this program.
2899 if test "$cross_compiling" != no; then
2900 if test -n "$ac_tool_prefix"; then
2901 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2902 set dummy ${ac_tool_prefix}strip; ac_word=$2
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2904 $as_echo_n "checking for $ac_word... " >&6; }
2905 if ${ac_cv_prog_STRIP+:} false; then :
2906 $as_echo_n "(cached) " >&6
2907 else
2908 if test -n "$STRIP"; then
2909 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2910 else
2911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2912 for as_dir in $PATH
2914 IFS=$as_save_IFS
2915 test -z "$as_dir" && as_dir=.
2916 for ac_exec_ext in '' $ac_executable_extensions; do
2917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2918 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2920 break 2
2922 done
2923 done
2924 IFS=$as_save_IFS
2928 STRIP=$ac_cv_prog_STRIP
2929 if test -n "$STRIP"; then
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2931 $as_echo "$STRIP" >&6; }
2932 else
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2934 $as_echo "no" >&6; }
2939 if test -z "$ac_cv_prog_STRIP"; then
2940 ac_ct_STRIP=$STRIP
2941 # Extract the first word of "strip", so it can be a program name with args.
2942 set dummy strip; ac_word=$2
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2944 $as_echo_n "checking for $ac_word... " >&6; }
2945 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2946 $as_echo_n "(cached) " >&6
2947 else
2948 if test -n "$ac_ct_STRIP"; then
2949 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2950 else
2951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2952 for as_dir in $PATH
2954 IFS=$as_save_IFS
2955 test -z "$as_dir" && as_dir=.
2956 for ac_exec_ext in '' $ac_executable_extensions; do
2957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2958 ac_cv_prog_ac_ct_STRIP="strip"
2959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2960 break 2
2962 done
2963 done
2964 IFS=$as_save_IFS
2968 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2969 if test -n "$ac_ct_STRIP"; then
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2971 $as_echo "$ac_ct_STRIP" >&6; }
2972 else
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2974 $as_echo "no" >&6; }
2977 if test "x$ac_ct_STRIP" = x; then
2978 STRIP=":"
2979 else
2980 case $cross_compiling:$ac_tool_warned in
2981 yes:)
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2984 ac_tool_warned=yes ;;
2985 esac
2986 STRIP=$ac_ct_STRIP
2988 else
2989 STRIP="$ac_cv_prog_STRIP"
2993 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2996 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2997 if test -z "$MKDIR_P"; then
2998 if ${ac_cv_path_mkdir+:} false; then :
2999 $as_echo_n "(cached) " >&6
3000 else
3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3002 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3004 IFS=$as_save_IFS
3005 test -z "$as_dir" && as_dir=.
3006 for ac_prog in mkdir gmkdir; do
3007 for ac_exec_ext in '' $ac_executable_extensions; do
3008 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3009 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3010 'mkdir (GNU coreutils) '* | \
3011 'mkdir (coreutils) '* | \
3012 'mkdir (fileutils) '4.1*)
3013 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3014 break 3;;
3015 esac
3016 done
3017 done
3018 done
3019 IFS=$as_save_IFS
3023 test -d ./--version && rmdir ./--version
3024 if test "${ac_cv_path_mkdir+set}" = set; then
3025 MKDIR_P="$ac_cv_path_mkdir -p"
3026 else
3027 # As a last resort, use the slow shell script. Don't cache a
3028 # value for MKDIR_P within a source directory, because that will
3029 # break other packages using the cache if that directory is
3030 # removed, or if the value is a relative name.
3031 MKDIR_P="$ac_install_sh -d"
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3035 $as_echo "$MKDIR_P" >&6; }
3037 for ac_prog in gawk mawk nawk awk
3039 # Extract the first word of "$ac_prog", so it can be a program name with args.
3040 set dummy $ac_prog; ac_word=$2
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3042 $as_echo_n "checking for $ac_word... " >&6; }
3043 if ${ac_cv_prog_AWK+:} false; then :
3044 $as_echo_n "(cached) " >&6
3045 else
3046 if test -n "$AWK"; then
3047 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3048 else
3049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3050 for as_dir in $PATH
3052 IFS=$as_save_IFS
3053 test -z "$as_dir" && as_dir=.
3054 for ac_exec_ext in '' $ac_executable_extensions; do
3055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3056 ac_cv_prog_AWK="$ac_prog"
3057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3058 break 2
3060 done
3061 done
3062 IFS=$as_save_IFS
3066 AWK=$ac_cv_prog_AWK
3067 if test -n "$AWK"; then
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3069 $as_echo "$AWK" >&6; }
3070 else
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3072 $as_echo "no" >&6; }
3076 test -n "$AWK" && break
3077 done
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3080 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3081 set x ${MAKE-make}
3082 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3083 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3084 $as_echo_n "(cached) " >&6
3085 else
3086 cat >conftest.make <<\_ACEOF
3087 SHELL = /bin/sh
3088 all:
3089 @echo '@@@%%%=$(MAKE)=@@@%%%'
3090 _ACEOF
3091 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3092 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3093 *@@@%%%=?*=@@@%%%*)
3094 eval ac_cv_prog_make_${ac_make}_set=yes;;
3096 eval ac_cv_prog_make_${ac_make}_set=no;;
3097 esac
3098 rm -f conftest.make
3100 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3102 $as_echo "yes" >&6; }
3103 SET_MAKE=
3104 else
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3106 $as_echo "no" >&6; }
3107 SET_MAKE="MAKE=${MAKE-make}"
3110 rm -rf .tst 2>/dev/null
3111 mkdir .tst 2>/dev/null
3112 if test -d .tst; then
3113 am__leading_dot=.
3114 else
3115 am__leading_dot=_
3117 rmdir .tst 2>/dev/null
3119 # Check whether --enable-silent-rules was given.
3120 if test "${enable_silent_rules+set}" = set; then :
3121 enableval=$enable_silent_rules;
3124 case $enable_silent_rules in # (((
3125 yes) AM_DEFAULT_VERBOSITY=0;;
3126 no) AM_DEFAULT_VERBOSITY=1;;
3127 *) AM_DEFAULT_VERBOSITY=1;;
3128 esac
3129 am_make=${MAKE-make}
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3131 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3132 if ${am_cv_make_support_nested_variables+:} false; then :
3133 $as_echo_n "(cached) " >&6
3134 else
3135 if $as_echo 'TRUE=$(BAR$(V))
3136 BAR0=false
3137 BAR1=true
3139 am__doit:
3140 @$(TRUE)
3141 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3142 am_cv_make_support_nested_variables=yes
3143 else
3144 am_cv_make_support_nested_variables=no
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3148 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3149 if test $am_cv_make_support_nested_variables = yes; then
3150 AM_V='$(V)'
3151 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3152 else
3153 AM_V=$AM_DEFAULT_VERBOSITY
3154 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3156 AM_BACKSLASH='\'
3159 DEPDIR="${am__leading_dot}deps"
3161 ac_config_commands="$ac_config_commands depfiles"
3164 am_make=${MAKE-make}
3165 cat > confinc << 'END'
3166 am__doit:
3167 @echo this is the am__doit target
3168 .PHONY: am__doit
3170 # If we don't find an include directive, just comment out the code.
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3172 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3173 am__include="#"
3174 am__quote=
3175 _am_result=none
3176 # First try GNU make style include.
3177 echo "include confinc" > confmf
3178 # Ignore all kinds of additional output from 'make'.
3179 case `$am_make -s -f confmf 2> /dev/null` in #(
3180 *the\ am__doit\ target*)
3181 am__include=include
3182 am__quote=
3183 _am_result=GNU
3185 esac
3186 # Now try BSD make style include.
3187 if test "$am__include" = "#"; then
3188 echo '.include "confinc"' > confmf
3189 case `$am_make -s -f confmf 2> /dev/null` in #(
3190 *the\ am__doit\ target*)
3191 am__include=.include
3192 am__quote="\""
3193 _am_result=BSD
3195 esac
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3200 $as_echo "$_am_result" >&6; }
3201 rm -f confinc confmf
3203 # Check whether --enable-dependency-tracking was given.
3204 if test "${enable_dependency_tracking+set}" = set; then :
3205 enableval=$enable_dependency_tracking;
3208 if test "x$enable_dependency_tracking" != xno; then
3209 am_depcomp="$ac_aux_dir/depcomp"
3210 AMDEPBACKSLASH='\'
3211 am__nodep='_no'
3213 if test "x$enable_dependency_tracking" != xno; then
3214 AMDEP_TRUE=
3215 AMDEP_FALSE='#'
3216 else
3217 AMDEP_TRUE='#'
3218 AMDEP_FALSE=
3222 ac_ext=c
3223 ac_cpp='$CPP $CPPFLAGS'
3224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3227 if test -n "$ac_tool_prefix"; then
3228 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3229 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3231 $as_echo_n "checking for $ac_word... " >&6; }
3232 if ${ac_cv_prog_CC+:} false; then :
3233 $as_echo_n "(cached) " >&6
3234 else
3235 if test -n "$CC"; then
3236 ac_cv_prog_CC="$CC" # Let the user override the test.
3237 else
3238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3239 for as_dir in $PATH
3241 IFS=$as_save_IFS
3242 test -z "$as_dir" && as_dir=.
3243 for ac_exec_ext in '' $ac_executable_extensions; do
3244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3245 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3247 break 2
3249 done
3250 done
3251 IFS=$as_save_IFS
3255 CC=$ac_cv_prog_CC
3256 if test -n "$CC"; then
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3258 $as_echo "$CC" >&6; }
3259 else
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3261 $as_echo "no" >&6; }
3266 if test -z "$ac_cv_prog_CC"; then
3267 ac_ct_CC=$CC
3268 # Extract the first word of "gcc", so it can be a program name with args.
3269 set dummy gcc; ac_word=$2
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3271 $as_echo_n "checking for $ac_word... " >&6; }
3272 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3273 $as_echo_n "(cached) " >&6
3274 else
3275 if test -n "$ac_ct_CC"; then
3276 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3277 else
3278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3279 for as_dir in $PATH
3281 IFS=$as_save_IFS
3282 test -z "$as_dir" && as_dir=.
3283 for ac_exec_ext in '' $ac_executable_extensions; do
3284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3285 ac_cv_prog_ac_ct_CC="gcc"
3286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3287 break 2
3289 done
3290 done
3291 IFS=$as_save_IFS
3295 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3296 if test -n "$ac_ct_CC"; then
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3298 $as_echo "$ac_ct_CC" >&6; }
3299 else
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3301 $as_echo "no" >&6; }
3304 if test "x$ac_ct_CC" = x; then
3305 CC=""
3306 else
3307 case $cross_compiling:$ac_tool_warned in
3308 yes:)
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3311 ac_tool_warned=yes ;;
3312 esac
3313 CC=$ac_ct_CC
3315 else
3316 CC="$ac_cv_prog_CC"
3319 if test -z "$CC"; then
3320 if test -n "$ac_tool_prefix"; then
3321 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3322 set dummy ${ac_tool_prefix}cc; ac_word=$2
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3324 $as_echo_n "checking for $ac_word... " >&6; }
3325 if ${ac_cv_prog_CC+:} false; then :
3326 $as_echo_n "(cached) " >&6
3327 else
3328 if test -n "$CC"; then
3329 ac_cv_prog_CC="$CC" # Let the user override the test.
3330 else
3331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3332 for as_dir in $PATH
3334 IFS=$as_save_IFS
3335 test -z "$as_dir" && as_dir=.
3336 for ac_exec_ext in '' $ac_executable_extensions; do
3337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3338 ac_cv_prog_CC="${ac_tool_prefix}cc"
3339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3340 break 2
3342 done
3343 done
3344 IFS=$as_save_IFS
3348 CC=$ac_cv_prog_CC
3349 if test -n "$CC"; then
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3351 $as_echo "$CC" >&6; }
3352 else
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3354 $as_echo "no" >&6; }
3360 if test -z "$CC"; then
3361 # Extract the first word of "cc", so it can be a program name with args.
3362 set dummy cc; ac_word=$2
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3364 $as_echo_n "checking for $ac_word... " >&6; }
3365 if ${ac_cv_prog_CC+:} false; then :
3366 $as_echo_n "(cached) " >&6
3367 else
3368 if test -n "$CC"; then
3369 ac_cv_prog_CC="$CC" # Let the user override the test.
3370 else
3371 ac_prog_rejected=no
3372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3373 for as_dir in $PATH
3375 IFS=$as_save_IFS
3376 test -z "$as_dir" && as_dir=.
3377 for ac_exec_ext in '' $ac_executable_extensions; do
3378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3379 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3380 ac_prog_rejected=yes
3381 continue
3383 ac_cv_prog_CC="cc"
3384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3385 break 2
3387 done
3388 done
3389 IFS=$as_save_IFS
3391 if test $ac_prog_rejected = yes; then
3392 # We found a bogon in the path, so make sure we never use it.
3393 set dummy $ac_cv_prog_CC
3394 shift
3395 if test $# != 0; then
3396 # We chose a different compiler from the bogus one.
3397 # However, it has the same basename, so the bogon will be chosen
3398 # first if we set CC to just the basename; use the full file name.
3399 shift
3400 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3405 CC=$ac_cv_prog_CC
3406 if test -n "$CC"; then
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3408 $as_echo "$CC" >&6; }
3409 else
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3411 $as_echo "no" >&6; }
3416 if test -z "$CC"; then
3417 if test -n "$ac_tool_prefix"; then
3418 for ac_prog in cl.exe
3420 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3421 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3423 $as_echo_n "checking for $ac_word... " >&6; }
3424 if ${ac_cv_prog_CC+:} false; then :
3425 $as_echo_n "(cached) " >&6
3426 else
3427 if test -n "$CC"; then
3428 ac_cv_prog_CC="$CC" # Let the user override the test.
3429 else
3430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3431 for as_dir in $PATH
3433 IFS=$as_save_IFS
3434 test -z "$as_dir" && as_dir=.
3435 for ac_exec_ext in '' $ac_executable_extensions; do
3436 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3437 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3439 break 2
3441 done
3442 done
3443 IFS=$as_save_IFS
3447 CC=$ac_cv_prog_CC
3448 if test -n "$CC"; then
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3450 $as_echo "$CC" >&6; }
3451 else
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3453 $as_echo "no" >&6; }
3457 test -n "$CC" && break
3458 done
3460 if test -z "$CC"; then
3461 ac_ct_CC=$CC
3462 for ac_prog in cl.exe
3464 # Extract the first word of "$ac_prog", so it can be a program name with args.
3465 set dummy $ac_prog; ac_word=$2
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3467 $as_echo_n "checking for $ac_word... " >&6; }
3468 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3469 $as_echo_n "(cached) " >&6
3470 else
3471 if test -n "$ac_ct_CC"; then
3472 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3473 else
3474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3475 for as_dir in $PATH
3477 IFS=$as_save_IFS
3478 test -z "$as_dir" && as_dir=.
3479 for ac_exec_ext in '' $ac_executable_extensions; do
3480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3481 ac_cv_prog_ac_ct_CC="$ac_prog"
3482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3483 break 2
3485 done
3486 done
3487 IFS=$as_save_IFS
3491 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3492 if test -n "$ac_ct_CC"; then
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3494 $as_echo "$ac_ct_CC" >&6; }
3495 else
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3497 $as_echo "no" >&6; }
3501 test -n "$ac_ct_CC" && break
3502 done
3504 if test "x$ac_ct_CC" = x; then
3505 CC=""
3506 else
3507 case $cross_compiling:$ac_tool_warned in
3508 yes:)
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3511 ac_tool_warned=yes ;;
3512 esac
3513 CC=$ac_ct_CC
3520 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3522 as_fn_error $? "no acceptable C compiler found in \$PATH
3523 See \`config.log' for more details" "$LINENO" 5; }
3525 # Provide some information about the compiler.
3526 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3527 set X $ac_compile
3528 ac_compiler=$2
3529 for ac_option in --version -v -V -qversion; do
3530 { { ac_try="$ac_compiler $ac_option >&5"
3531 case "(($ac_try" in
3532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3533 *) ac_try_echo=$ac_try;;
3534 esac
3535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3536 $as_echo "$ac_try_echo"; } >&5
3537 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3538 ac_status=$?
3539 if test -s conftest.err; then
3540 sed '10a\
3541 ... rest of stderr output deleted ...
3542 10q' conftest.err >conftest.er1
3543 cat conftest.er1 >&5
3545 rm -f conftest.er1 conftest.err
3546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3547 test $ac_status = 0; }
3548 done
3550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3551 /* end confdefs.h. */
3554 main ()
3558 return 0;
3560 _ACEOF
3561 if { { ac_try="$ac_link"
3562 case "(($ac_try" in
3563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3564 *) ac_try_echo=$ac_try;;
3565 esac
3566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3567 $as_echo "$ac_try_echo"; } >&5
3568 (eval "$ac_link") 2>&5
3569 ac_status=$?
3570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3571 test $ac_status = 0; }; then
3572 ac_no_link=no
3573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3574 /* end confdefs.h. */
3577 main ()
3581 return 0;
3583 _ACEOF
3584 ac_clean_files_save=$ac_clean_files
3585 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3586 # Try to create an executable without -o first, disregard a.out.
3587 # It will help us diagnose broken compilers, and finding out an intuition
3588 # of exeext.
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3590 $as_echo_n "checking whether the C compiler works... " >&6; }
3591 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3593 # The possible output files:
3594 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3596 ac_rmfiles=
3597 for ac_file in $ac_files
3599 case $ac_file in
3600 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3601 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3602 esac
3603 done
3604 rm -f $ac_rmfiles
3606 if { { ac_try="$ac_link_default"
3607 case "(($ac_try" in
3608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3609 *) ac_try_echo=$ac_try;;
3610 esac
3611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3612 $as_echo "$ac_try_echo"; } >&5
3613 (eval "$ac_link_default") 2>&5
3614 ac_status=$?
3615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3616 test $ac_status = 0; }; then :
3617 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3618 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3619 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3620 # so that the user can short-circuit this test for compilers unknown to
3621 # Autoconf.
3622 for ac_file in $ac_files ''
3624 test -f "$ac_file" || continue
3625 case $ac_file in
3626 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3628 [ab].out )
3629 # We found the default executable, but exeext='' is most
3630 # certainly right.
3631 break;;
3632 *.* )
3633 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3634 then :; else
3635 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3637 # We set ac_cv_exeext here because the later test for it is not
3638 # safe: cross compilers may not add the suffix if given an `-o'
3639 # argument, so we may need to know it at that point already.
3640 # Even if this section looks crufty: it has the advantage of
3641 # actually working.
3642 break;;
3644 break;;
3645 esac
3646 done
3647 test "$ac_cv_exeext" = no && ac_cv_exeext=
3649 else
3650 ac_file=''
3652 if test -z "$ac_file"; then :
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3654 $as_echo "no" >&6; }
3655 $as_echo "$as_me: failed program was:" >&5
3656 sed 's/^/| /' conftest.$ac_ext >&5
3658 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3659 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3660 as_fn_error 77 "C compiler cannot create executables
3661 See \`config.log' for more details" "$LINENO" 5; }
3662 else
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3664 $as_echo "yes" >&6; }
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3667 $as_echo_n "checking for C compiler default output file name... " >&6; }
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3669 $as_echo "$ac_file" >&6; }
3670 ac_exeext=$ac_cv_exeext
3672 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3673 ac_clean_files=$ac_clean_files_save
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3675 $as_echo_n "checking for suffix of executables... " >&6; }
3676 if { { ac_try="$ac_link"
3677 case "(($ac_try" in
3678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3679 *) ac_try_echo=$ac_try;;
3680 esac
3681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3682 $as_echo "$ac_try_echo"; } >&5
3683 (eval "$ac_link") 2>&5
3684 ac_status=$?
3685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3686 test $ac_status = 0; }; then :
3687 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3688 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3689 # work properly (i.e., refer to `conftest.exe'), while it won't with
3690 # `rm'.
3691 for ac_file in conftest.exe conftest conftest.*; do
3692 test -f "$ac_file" || continue
3693 case $ac_file in
3694 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3695 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3696 break;;
3697 * ) break;;
3698 esac
3699 done
3700 else
3701 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3702 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3703 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3704 See \`config.log' for more details" "$LINENO" 5; }
3706 rm -f conftest conftest$ac_cv_exeext
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3708 $as_echo "$ac_cv_exeext" >&6; }
3710 rm -f conftest.$ac_ext
3711 EXEEXT=$ac_cv_exeext
3712 ac_exeext=$EXEEXT
3713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3714 /* end confdefs.h. */
3715 #include <stdio.h>
3717 main ()
3719 FILE *f = fopen ("conftest.out", "w");
3720 return ferror (f) || fclose (f) != 0;
3723 return 0;
3725 _ACEOF
3726 ac_clean_files="$ac_clean_files conftest.out"
3727 # Check that the compiler produces executables we can run. If not, either
3728 # the compiler is broken, or we cross compile.
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3730 $as_echo_n "checking whether we are cross compiling... " >&6; }
3731 if test "$cross_compiling" != yes; then
3732 { { ac_try="$ac_link"
3733 case "(($ac_try" in
3734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3735 *) ac_try_echo=$ac_try;;
3736 esac
3737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3738 $as_echo "$ac_try_echo"; } >&5
3739 (eval "$ac_link") 2>&5
3740 ac_status=$?
3741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3742 test $ac_status = 0; }
3743 if { ac_try='./conftest$ac_cv_exeext'
3744 { { case "(($ac_try" in
3745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3746 *) ac_try_echo=$ac_try;;
3747 esac
3748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3749 $as_echo "$ac_try_echo"; } >&5
3750 (eval "$ac_try") 2>&5
3751 ac_status=$?
3752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3753 test $ac_status = 0; }; }; then
3754 cross_compiling=no
3755 else
3756 if test "$cross_compiling" = maybe; then
3757 cross_compiling=yes
3758 else
3759 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3760 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3761 as_fn_error $? "cannot run C compiled programs.
3762 If you meant to cross compile, use \`--host'.
3763 See \`config.log' for more details" "$LINENO" 5; }
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3768 $as_echo "$cross_compiling" >&6; }
3770 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3771 ac_clean_files=$ac_clean_files_save
3773 else
3774 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.o conftest.obj conftest.dSYM
3775 ac_no_link=yes
3776 # Setting cross_compile will disable run tests; it will
3777 # also disable AC_CHECK_FILE but that's generally
3778 # correct if we can't link.
3779 cross_compiling=yes
3780 EXEEXT=
3781 # Check that the compiler produces executables we can run. If not, either
3782 # the compiler is broken, or we cross compile.
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3784 $as_echo_n "checking whether we are cross compiling... " >&6; }
3785 if test "$cross_compiling" != yes; then
3786 { { ac_try="$ac_link"
3787 case "(($ac_try" in
3788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3789 *) ac_try_echo=$ac_try;;
3790 esac
3791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3792 $as_echo "$ac_try_echo"; } >&5
3793 (eval "$ac_link") 2>&5
3794 ac_status=$?
3795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3796 test $ac_status = 0; }
3797 if { ac_try='./conftest$ac_cv_exeext'
3798 { { case "(($ac_try" in
3799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3800 *) ac_try_echo=$ac_try;;
3801 esac
3802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3803 $as_echo "$ac_try_echo"; } >&5
3804 (eval "$ac_try") 2>&5
3805 ac_status=$?
3806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3807 test $ac_status = 0; }; }; then
3808 cross_compiling=no
3809 else
3810 if test "$cross_compiling" = maybe; then
3811 cross_compiling=yes
3812 else
3813 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3815 as_fn_error $? "cannot run C compiled programs.
3816 If you meant to cross compile, use \`--host'.
3817 See \`config.log' for more details" "$LINENO" 5; }
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3822 $as_echo "$cross_compiling" >&6; }
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3826 $as_echo_n "checking for suffix of object files... " >&6; }
3827 if ${ac_cv_objext+:} false; then :
3828 $as_echo_n "(cached) " >&6
3829 else
3830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3831 /* end confdefs.h. */
3834 main ()
3838 return 0;
3840 _ACEOF
3841 rm -f conftest.o conftest.obj
3842 if { { ac_try="$ac_compile"
3843 case "(($ac_try" in
3844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3845 *) ac_try_echo=$ac_try;;
3846 esac
3847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3848 $as_echo "$ac_try_echo"; } >&5
3849 (eval "$ac_compile") 2>&5
3850 ac_status=$?
3851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3852 test $ac_status = 0; }; then :
3853 for ac_file in conftest.o conftest.obj conftest.*; do
3854 test -f "$ac_file" || continue;
3855 case $ac_file in
3856 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3857 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3858 break;;
3859 esac
3860 done
3861 else
3862 $as_echo "$as_me: failed program was:" >&5
3863 sed 's/^/| /' conftest.$ac_ext >&5
3865 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3866 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3867 as_fn_error $? "cannot compute suffix of object files: cannot compile
3868 See \`config.log' for more details" "$LINENO" 5; }
3870 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3873 $as_echo "$ac_cv_objext" >&6; }
3874 OBJEXT=$ac_cv_objext
3875 ac_objext=$OBJEXT
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3877 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3878 if ${ac_cv_c_compiler_gnu+:} false; then :
3879 $as_echo_n "(cached) " >&6
3880 else
3881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3882 /* end confdefs.h. */
3885 main ()
3887 #ifndef __GNUC__
3888 choke me
3889 #endif
3892 return 0;
3894 _ACEOF
3895 if ac_fn_c_try_compile "$LINENO"; then :
3896 ac_compiler_gnu=yes
3897 else
3898 ac_compiler_gnu=no
3900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3901 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3905 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3906 if test $ac_compiler_gnu = yes; then
3907 GCC=yes
3908 else
3909 GCC=
3911 ac_test_CFLAGS=${CFLAGS+set}
3912 ac_save_CFLAGS=$CFLAGS
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3914 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3915 if ${ac_cv_prog_cc_g+:} false; then :
3916 $as_echo_n "(cached) " >&6
3917 else
3918 ac_save_c_werror_flag=$ac_c_werror_flag
3919 ac_c_werror_flag=yes
3920 ac_cv_prog_cc_g=no
3921 CFLAGS="-g"
3922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3923 /* end confdefs.h. */
3926 main ()
3930 return 0;
3932 _ACEOF
3933 if ac_fn_c_try_compile "$LINENO"; then :
3934 ac_cv_prog_cc_g=yes
3935 else
3936 CFLAGS=""
3937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3938 /* end confdefs.h. */
3941 main ()
3945 return 0;
3947 _ACEOF
3948 if ac_fn_c_try_compile "$LINENO"; then :
3950 else
3951 ac_c_werror_flag=$ac_save_c_werror_flag
3952 CFLAGS="-g"
3953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3954 /* end confdefs.h. */
3957 main ()
3961 return 0;
3963 _ACEOF
3964 if ac_fn_c_try_compile "$LINENO"; then :
3965 ac_cv_prog_cc_g=yes
3967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3972 ac_c_werror_flag=$ac_save_c_werror_flag
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3975 $as_echo "$ac_cv_prog_cc_g" >&6; }
3976 if test "$ac_test_CFLAGS" = set; then
3977 CFLAGS=$ac_save_CFLAGS
3978 elif test $ac_cv_prog_cc_g = yes; then
3979 if test "$GCC" = yes; then
3980 CFLAGS="-g -O2"
3981 else
3982 CFLAGS="-g"
3984 else
3985 if test "$GCC" = yes; then
3986 CFLAGS="-O2"
3987 else
3988 CFLAGS=
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3992 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3993 if ${ac_cv_prog_cc_c89+:} false; then :
3994 $as_echo_n "(cached) " >&6
3995 else
3996 ac_cv_prog_cc_c89=no
3997 ac_save_CC=$CC
3998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3999 /* end confdefs.h. */
4000 #include <stdarg.h>
4001 #include <stdio.h>
4002 struct stat;
4003 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4004 struct buf { int x; };
4005 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4006 static char *e (p, i)
4007 char **p;
4008 int i;
4010 return p[i];
4012 static char *f (char * (*g) (char **, int), char **p, ...)
4014 char *s;
4015 va_list v;
4016 va_start (v,p);
4017 s = g (p, va_arg (v,int));
4018 va_end (v);
4019 return s;
4022 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4023 function prototypes and stuff, but not '\xHH' hex character constants.
4024 These don't provoke an error unfortunately, instead are silently treated
4025 as 'x'. The following induces an error, until -std is added to get
4026 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4027 array size at least. It's necessary to write '\x00'==0 to get something
4028 that's true only with -std. */
4029 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4031 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4032 inside strings and character constants. */
4033 #define FOO(x) 'x'
4034 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4036 int test (int i, double x);
4037 struct s1 {int (*f) (int a);};
4038 struct s2 {int (*f) (double a);};
4039 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4040 int argc;
4041 char **argv;
4043 main ()
4045 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4047 return 0;
4049 _ACEOF
4050 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4051 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4053 CC="$ac_save_CC $ac_arg"
4054 if ac_fn_c_try_compile "$LINENO"; then :
4055 ac_cv_prog_cc_c89=$ac_arg
4057 rm -f core conftest.err conftest.$ac_objext
4058 test "x$ac_cv_prog_cc_c89" != "xno" && break
4059 done
4060 rm -f conftest.$ac_ext
4061 CC=$ac_save_CC
4064 # AC_CACHE_VAL
4065 case "x$ac_cv_prog_cc_c89" in
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4068 $as_echo "none needed" >&6; } ;;
4069 xno)
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4071 $as_echo "unsupported" >&6; } ;;
4073 CC="$CC $ac_cv_prog_cc_c89"
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4075 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4076 esac
4077 if test "x$ac_cv_prog_cc_c89" != xno; then :
4081 ac_ext=c
4082 ac_cpp='$CPP $CPPFLAGS'
4083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4087 ac_ext=c
4088 ac_cpp='$CPP $CPPFLAGS'
4089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4093 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4094 if ${am_cv_prog_cc_c_o+:} false; then :
4095 $as_echo_n "(cached) " >&6
4096 else
4097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4098 /* end confdefs.h. */
4101 main ()
4105 return 0;
4107 _ACEOF
4108 # Make sure it works both with $CC and with simple cc.
4109 # Following AC_PROG_CC_C_O, we do the test twice because some
4110 # compilers refuse to overwrite an existing .o file with -o,
4111 # though they will create one.
4112 am_cv_prog_cc_c_o=yes
4113 for am_i in 1 2; do
4114 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4115 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4116 ac_status=$?
4117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4118 (exit $ac_status); } \
4119 && test -f conftest2.$ac_objext; then
4120 : OK
4121 else
4122 am_cv_prog_cc_c_o=no
4123 break
4125 done
4126 rm -f core conftest*
4127 unset am_i
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4130 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4131 if test "$am_cv_prog_cc_c_o" != yes; then
4132 # Losing compiler, so override with the script.
4133 # FIXME: It is wrong to rewrite CC.
4134 # But if we don't then we get into trouble of one sort or another.
4135 # A longer-term fix would be to have automake use am__CC in this case,
4136 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4137 CC="$am_aux_dir/compile $CC"
4139 ac_ext=c
4140 ac_cpp='$CPP $CPPFLAGS'
4141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4146 depcc="$CC" am_compiler_list=
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4149 $as_echo_n "checking dependency style of $depcc... " >&6; }
4150 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4151 $as_echo_n "(cached) " >&6
4152 else
4153 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4154 # We make a subdir and do the tests there. Otherwise we can end up
4155 # making bogus files that we don't know about and never remove. For
4156 # instance it was reported that on HP-UX the gcc test will end up
4157 # making a dummy file named 'D' -- because '-MD' means "put the output
4158 # in D".
4159 rm -rf conftest.dir
4160 mkdir conftest.dir
4161 # Copy depcomp to subdir because otherwise we won't find it if we're
4162 # using a relative directory.
4163 cp "$am_depcomp" conftest.dir
4164 cd conftest.dir
4165 # We will build objects and dependencies in a subdirectory because
4166 # it helps to detect inapplicable dependency modes. For instance
4167 # both Tru64's cc and ICC support -MD to output dependencies as a
4168 # side effect of compilation, but ICC will put the dependencies in
4169 # the current directory while Tru64 will put them in the object
4170 # directory.
4171 mkdir sub
4173 am_cv_CC_dependencies_compiler_type=none
4174 if test "$am_compiler_list" = ""; then
4175 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4177 am__universal=false
4178 case " $depcc " in #(
4179 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4180 esac
4182 for depmode in $am_compiler_list; do
4183 # Setup a source with many dependencies, because some compilers
4184 # like to wrap large dependency lists on column 80 (with \), and
4185 # we should not choose a depcomp mode which is confused by this.
4187 # We need to recreate these files for each test, as the compiler may
4188 # overwrite some of them when testing with obscure command lines.
4189 # This happens at least with the AIX C compiler.
4190 : > sub/conftest.c
4191 for i in 1 2 3 4 5 6; do
4192 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4193 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4194 # Solaris 10 /bin/sh.
4195 echo '/* dummy */' > sub/conftst$i.h
4196 done
4197 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4199 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4200 # mode. It turns out that the SunPro C++ compiler does not properly
4201 # handle '-M -o', and we need to detect this. Also, some Intel
4202 # versions had trouble with output in subdirs.
4203 am__obj=sub/conftest.${OBJEXT-o}
4204 am__minus_obj="-o $am__obj"
4205 case $depmode in
4206 gcc)
4207 # This depmode causes a compiler race in universal mode.
4208 test "$am__universal" = false || continue
4210 nosideeffect)
4211 # After this tag, mechanisms are not by side-effect, so they'll
4212 # only be used when explicitly requested.
4213 if test "x$enable_dependency_tracking" = xyes; then
4214 continue
4215 else
4216 break
4219 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4220 # This compiler won't grok '-c -o', but also, the minuso test has
4221 # not run yet. These depmodes are late enough in the game, and
4222 # so weak that their functioning should not be impacted.
4223 am__obj=conftest.${OBJEXT-o}
4224 am__minus_obj=
4226 none) break ;;
4227 esac
4228 if depmode=$depmode \
4229 source=sub/conftest.c object=$am__obj \
4230 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4231 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4232 >/dev/null 2>conftest.err &&
4233 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4234 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4235 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4236 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4237 # icc doesn't choke on unknown options, it will just issue warnings
4238 # or remarks (even with -Werror). So we grep stderr for any message
4239 # that says an option was ignored or not supported.
4240 # When given -MP, icc 7.0 and 7.1 complain thusly:
4241 # icc: Command line warning: ignoring option '-M'; no argument required
4242 # The diagnosis changed in icc 8.0:
4243 # icc: Command line remark: option '-MP' not supported
4244 if (grep 'ignoring option' conftest.err ||
4245 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4246 am_cv_CC_dependencies_compiler_type=$depmode
4247 break
4250 done
4252 cd ..
4253 rm -rf conftest.dir
4254 else
4255 am_cv_CC_dependencies_compiler_type=none
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4260 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4261 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4264 test "x$enable_dependency_tracking" != xno \
4265 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4266 am__fastdepCC_TRUE=
4267 am__fastdepCC_FALSE='#'
4268 else
4269 am__fastdepCC_TRUE='#'
4270 am__fastdepCC_FALSE=
4274 ac_ext=c
4275 ac_cpp='$CPP $CPPFLAGS'
4276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4280 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4281 # On Suns, sometimes $CPP names a directory.
4282 if test -n "$CPP" && test -d "$CPP"; then
4283 CPP=
4285 if test -z "$CPP"; then
4286 if ${ac_cv_prog_CPP+:} false; then :
4287 $as_echo_n "(cached) " >&6
4288 else
4289 # Double quotes because CPP needs to be expanded
4290 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4292 ac_preproc_ok=false
4293 for ac_c_preproc_warn_flag in '' yes
4295 # Use a header file that comes with gcc, so configuring glibc
4296 # with a fresh cross-compiler works.
4297 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4298 # <limits.h> exists even on freestanding compilers.
4299 # On the NeXT, cc -E runs the code through the compiler's parser,
4300 # not just through cpp. "Syntax error" is here to catch this case.
4301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4302 /* end confdefs.h. */
4303 #ifdef __STDC__
4304 # include <limits.h>
4305 #else
4306 # include <assert.h>
4307 #endif
4308 Syntax error
4309 _ACEOF
4310 if ac_fn_c_try_cpp "$LINENO"; then :
4312 else
4313 # Broken: fails on valid input.
4314 continue
4316 rm -f conftest.err conftest.i conftest.$ac_ext
4318 # OK, works on sane cases. Now check whether nonexistent headers
4319 # can be detected and how.
4320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321 /* end confdefs.h. */
4322 #include <ac_nonexistent.h>
4323 _ACEOF
4324 if ac_fn_c_try_cpp "$LINENO"; then :
4325 # Broken: success on invalid input.
4326 continue
4327 else
4328 # Passes both tests.
4329 ac_preproc_ok=:
4330 break
4332 rm -f conftest.err conftest.i conftest.$ac_ext
4334 done
4335 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4336 rm -f conftest.i conftest.err conftest.$ac_ext
4337 if $ac_preproc_ok; then :
4338 break
4341 done
4342 ac_cv_prog_CPP=$CPP
4345 CPP=$ac_cv_prog_CPP
4346 else
4347 ac_cv_prog_CPP=$CPP
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4350 $as_echo "$CPP" >&6; }
4351 ac_preproc_ok=false
4352 for ac_c_preproc_warn_flag in '' yes
4354 # Use a header file that comes with gcc, so configuring glibc
4355 # with a fresh cross-compiler works.
4356 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4357 # <limits.h> exists even on freestanding compilers.
4358 # On the NeXT, cc -E runs the code through the compiler's parser,
4359 # not just through cpp. "Syntax error" is here to catch this case.
4360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4361 /* end confdefs.h. */
4362 #ifdef __STDC__
4363 # include <limits.h>
4364 #else
4365 # include <assert.h>
4366 #endif
4367 Syntax error
4368 _ACEOF
4369 if ac_fn_c_try_cpp "$LINENO"; then :
4371 else
4372 # Broken: fails on valid input.
4373 continue
4375 rm -f conftest.err conftest.i conftest.$ac_ext
4377 # OK, works on sane cases. Now check whether nonexistent headers
4378 # can be detected and how.
4379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4380 /* end confdefs.h. */
4381 #include <ac_nonexistent.h>
4382 _ACEOF
4383 if ac_fn_c_try_cpp "$LINENO"; then :
4384 # Broken: success on invalid input.
4385 continue
4386 else
4387 # Passes both tests.
4388 ac_preproc_ok=:
4389 break
4391 rm -f conftest.err conftest.i conftest.$ac_ext
4393 done
4394 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4395 rm -f conftest.i conftest.err conftest.$ac_ext
4396 if $ac_preproc_ok; then :
4398 else
4399 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4401 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4402 See \`config.log' for more details" "$LINENO" 5; }
4405 ac_ext=c
4406 ac_cpp='$CPP $CPPFLAGS'
4407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4411 # By default we simply use the C compiler to build assembly code.
4413 test "${CCAS+set}" = set || CCAS=$CC
4414 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
4418 depcc="$CCAS" am_compiler_list=
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4421 $as_echo_n "checking dependency style of $depcc... " >&6; }
4422 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
4423 $as_echo_n "(cached) " >&6
4424 else
4425 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4426 # We make a subdir and do the tests there. Otherwise we can end up
4427 # making bogus files that we don't know about and never remove. For
4428 # instance it was reported that on HP-UX the gcc test will end up
4429 # making a dummy file named 'D' -- because '-MD' means "put the output
4430 # in D".
4431 rm -rf conftest.dir
4432 mkdir conftest.dir
4433 # Copy depcomp to subdir because otherwise we won't find it if we're
4434 # using a relative directory.
4435 cp "$am_depcomp" conftest.dir
4436 cd conftest.dir
4437 # We will build objects and dependencies in a subdirectory because
4438 # it helps to detect inapplicable dependency modes. For instance
4439 # both Tru64's cc and ICC support -MD to output dependencies as a
4440 # side effect of compilation, but ICC will put the dependencies in
4441 # the current directory while Tru64 will put them in the object
4442 # directory.
4443 mkdir sub
4445 am_cv_CCAS_dependencies_compiler_type=none
4446 if test "$am_compiler_list" = ""; then
4447 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4449 am__universal=false
4452 for depmode in $am_compiler_list; do
4453 # Setup a source with many dependencies, because some compilers
4454 # like to wrap large dependency lists on column 80 (with \), and
4455 # we should not choose a depcomp mode which is confused by this.
4457 # We need to recreate these files for each test, as the compiler may
4458 # overwrite some of them when testing with obscure command lines.
4459 # This happens at least with the AIX C compiler.
4460 : > sub/conftest.c
4461 for i in 1 2 3 4 5 6; do
4462 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4463 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4464 # Solaris 10 /bin/sh.
4465 echo '/* dummy */' > sub/conftst$i.h
4466 done
4467 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4469 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4470 # mode. It turns out that the SunPro C++ compiler does not properly
4471 # handle '-M -o', and we need to detect this. Also, some Intel
4472 # versions had trouble with output in subdirs.
4473 am__obj=sub/conftest.${OBJEXT-o}
4474 am__minus_obj="-o $am__obj"
4475 case $depmode in
4476 gcc)
4477 # This depmode causes a compiler race in universal mode.
4478 test "$am__universal" = false || continue
4480 nosideeffect)
4481 # After this tag, mechanisms are not by side-effect, so they'll
4482 # only be used when explicitly requested.
4483 if test "x$enable_dependency_tracking" = xyes; then
4484 continue
4485 else
4486 break
4489 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4490 # This compiler won't grok '-c -o', but also, the minuso test has
4491 # not run yet. These depmodes are late enough in the game, and
4492 # so weak that their functioning should not be impacted.
4493 am__obj=conftest.${OBJEXT-o}
4494 am__minus_obj=
4496 none) break ;;
4497 esac
4498 if depmode=$depmode \
4499 source=sub/conftest.c object=$am__obj \
4500 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4501 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4502 >/dev/null 2>conftest.err &&
4503 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4504 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4505 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4506 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4507 # icc doesn't choke on unknown options, it will just issue warnings
4508 # or remarks (even with -Werror). So we grep stderr for any message
4509 # that says an option was ignored or not supported.
4510 # When given -MP, icc 7.0 and 7.1 complain thusly:
4511 # icc: Command line warning: ignoring option '-M'; no argument required
4512 # The diagnosis changed in icc 8.0:
4513 # icc: Command line remark: option '-MP' not supported
4514 if (grep 'ignoring option' conftest.err ||
4515 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4516 am_cv_CCAS_dependencies_compiler_type=$depmode
4517 break
4520 done
4522 cd ..
4523 rm -rf conftest.dir
4524 else
4525 am_cv_CCAS_dependencies_compiler_type=none
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
4530 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
4531 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
4534 test "x$enable_dependency_tracking" != xno \
4535 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
4536 am__fastdepCCAS_TRUE=
4537 am__fastdepCCAS_FALSE='#'
4538 else
4539 am__fastdepCCAS_TRUE='#'
4540 am__fastdepCCAS_FALSE=
4545 if test -n "$ac_tool_prefix"; then
4546 for ac_prog in ar lib "link -lib"
4548 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4549 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4551 $as_echo_n "checking for $ac_word... " >&6; }
4552 if ${ac_cv_prog_AR+:} false; then :
4553 $as_echo_n "(cached) " >&6
4554 else
4555 if test -n "$AR"; then
4556 ac_cv_prog_AR="$AR" # Let the user override the test.
4557 else
4558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4559 for as_dir in $PATH
4561 IFS=$as_save_IFS
4562 test -z "$as_dir" && as_dir=.
4563 for ac_exec_ext in '' $ac_executable_extensions; do
4564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4565 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4567 break 2
4569 done
4570 done
4571 IFS=$as_save_IFS
4575 AR=$ac_cv_prog_AR
4576 if test -n "$AR"; then
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4578 $as_echo "$AR" >&6; }
4579 else
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4581 $as_echo "no" >&6; }
4585 test -n "$AR" && break
4586 done
4588 if test -z "$AR"; then
4589 ac_ct_AR=$AR
4590 for ac_prog in ar lib "link -lib"
4592 # Extract the first word of "$ac_prog", so it can be a program name with args.
4593 set dummy $ac_prog; ac_word=$2
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4595 $as_echo_n "checking for $ac_word... " >&6; }
4596 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4597 $as_echo_n "(cached) " >&6
4598 else
4599 if test -n "$ac_ct_AR"; then
4600 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4601 else
4602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4603 for as_dir in $PATH
4605 IFS=$as_save_IFS
4606 test -z "$as_dir" && as_dir=.
4607 for ac_exec_ext in '' $ac_executable_extensions; do
4608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4609 ac_cv_prog_ac_ct_AR="$ac_prog"
4610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4611 break 2
4613 done
4614 done
4615 IFS=$as_save_IFS
4619 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4620 if test -n "$ac_ct_AR"; then
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4622 $as_echo "$ac_ct_AR" >&6; }
4623 else
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4625 $as_echo "no" >&6; }
4629 test -n "$ac_ct_AR" && break
4630 done
4632 if test "x$ac_ct_AR" = x; then
4633 AR="false"
4634 else
4635 case $cross_compiling:$ac_tool_warned in
4636 yes:)
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4639 ac_tool_warned=yes ;;
4640 esac
4641 AR=$ac_ct_AR
4645 : ${AR=ar}
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4648 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4649 if ${am_cv_ar_interface+:} false; then :
4650 $as_echo_n "(cached) " >&6
4651 else
4652 ac_ext=c
4653 ac_cpp='$CPP $CPPFLAGS'
4654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4658 am_cv_ar_interface=ar
4659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4660 /* end confdefs.h. */
4661 int some_variable = 0;
4662 _ACEOF
4663 if ac_fn_c_try_compile "$LINENO"; then :
4664 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4665 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4666 (eval $am_ar_try) 2>&5
4667 ac_status=$?
4668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4669 test $ac_status = 0; }
4670 if test "$ac_status" -eq 0; then
4671 am_cv_ar_interface=ar
4672 else
4673 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4674 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4675 (eval $am_ar_try) 2>&5
4676 ac_status=$?
4677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4678 test $ac_status = 0; }
4679 if test "$ac_status" -eq 0; then
4680 am_cv_ar_interface=lib
4681 else
4682 am_cv_ar_interface=unknown
4685 rm -f conftest.lib libconftest.a
4688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4689 ac_ext=c
4690 ac_cpp='$CPP $CPPFLAGS'
4691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4697 $as_echo "$am_cv_ar_interface" >&6; }
4699 case $am_cv_ar_interface in
4702 lib)
4703 # Microsoft lib, so override with the ar-lib wrapper script.
4704 # FIXME: It is wrong to rewrite AR.
4705 # But if we don't then we get into trouble of one sort or another.
4706 # A longer-term fix would be to have automake use am__AR in this case,
4707 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4708 # similar.
4709 AR="$am_aux_dir/ar-lib $AR"
4711 unknown)
4712 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4714 esac
4717 # Check whether --enable-target-optspace was given.
4718 if test "${enable_target_optspace+set}" = set; then :
4719 enableval=$enable_target_optspace; case "${enableval}" in
4720 yes) target_optspace=yes ;;
4721 no) target_optspace=no ;;
4722 *) as_fn_error $? "bad value ${enableval} for target-optspace option" "$LINENO" 5 ;;
4723 esac
4724 else
4725 target_optspace=
4728 # Check whether --enable-malloc-debugging was given.
4729 if test "${enable_malloc_debugging+set}" = set; then :
4730 enableval=$enable_malloc_debugging; case "${enableval}" in
4731 yes) malloc_debugging=yes ;;
4732 no) malloc_debugging=no ;;
4733 *) as_fn_error $? "bad value ${enableval} for malloc-debugging option" "$LINENO" 5 ;;
4734 esac
4735 else
4736 malloc_debugging=
4739 # Check whether --enable-newlib-multithread was given.
4740 if test "${enable_newlib_multithread+set}" = set; then :
4741 enableval=$enable_newlib_multithread; case "${enableval}" in
4742 yes) newlib_multithread=yes ;;
4743 no) newlib_multithread=no ;;
4744 *) as_fn_error $? "bad value ${enableval} for newlib-multithread option" "$LINENO" 5 ;;
4745 esac
4746 else
4747 newlib_multithread=yes
4750 # Check whether --enable-newlib-iconv was given.
4751 if test "${enable_newlib_iconv+set}" = set; then :
4752 enableval=$enable_newlib_iconv; if test "${newlib_iconv+set}" != set; then
4753 case "${enableval}" in
4754 yes) newlib_iconv=yes ;;
4755 no) newlib_iconv=no ;;
4756 *) as_fn_error $? "bad value ${enableval} for newlib-iconv option" "$LINENO" 5 ;;
4757 esac
4759 else
4760 newlib_iconv=${newlib_iconv}
4763 # Check whether --enable-newlib-elix-level was given.
4764 if test "${enable_newlib_elix_level+set}" = set; then :
4765 enableval=$enable_newlib_elix_level; case "${enableval}" in
4766 0) newlib_elix_level=0 ;;
4767 1) newlib_elix_level=1 ;;
4768 2) newlib_elix_level=2 ;;
4769 3) newlib_elix_level=3 ;;
4770 4) newlib_elix_level=4 ;;
4771 *) as_fn_error $? "bad value ${enableval} for newlib-elix-level option" "$LINENO" 5 ;;
4772 esac
4773 else
4774 newlib_elix_level=0
4777 # Check whether --enable-newlib-io-float was given.
4778 if test "${enable_newlib_io_float+set}" = set; then :
4779 enableval=$enable_newlib_io_float; case "${enableval}" in
4780 yes) newlib_io_float=yes ;;
4781 no) newlib_io_float=no ;;
4782 *) as_fn_error $? "bad value ${enableval} for newlib-io-float option" "$LINENO" 5 ;;
4783 esac
4784 else
4785 newlib_io_float=yes
4788 # Check whether --enable-newlib-supplied-syscalls was given.
4789 if test "${enable_newlib_supplied_syscalls+set}" = set; then :
4790 enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in
4791 yes) newlib_may_supply_syscalls=yes ;;
4792 no) newlib_may_supply_syscalls=no ;;
4793 *) as_fn_error $? "bad value ${enableval} for newlib-supplied-syscalls option" "$LINENO" 5 ;;
4794 esac
4795 else
4796 newlib_may_supply_syscalls=yes
4799 if test x${newlib_may_supply_syscalls} = xyes; then
4800 MAY_SUPPLY_SYSCALLS_TRUE=
4801 MAY_SUPPLY_SYSCALLS_FALSE='#'
4802 else
4803 MAY_SUPPLY_SYSCALLS_TRUE='#'
4804 MAY_SUPPLY_SYSCALLS_FALSE=
4808 # Check whether --enable-newlib-fno-builtin was given.
4809 if test "${enable_newlib_fno_builtin+set}" = set; then :
4810 enableval=$enable_newlib_fno_builtin; case "${enableval}" in
4811 yes) newlib_fno_builtin=yes ;;
4812 no) newlib_fno_builtin=no ;;
4813 *) as_fn_error $? "bad value ${enableval} for newlib-fno-builtin option" "$LINENO" 5 ;;
4814 esac
4815 else
4816 newlib_fno_builtin=
4821 test -z "${with_target_subdir}" && with_target_subdir=.
4823 if test "${srcdir}" = "."; then
4824 if test "${with_target_subdir}" != "."; then
4825 newlib_basedir="${srcdir}/${with_multisrctop}../."
4826 else
4827 newlib_basedir="${srcdir}/${with_multisrctop}."
4829 else
4830 newlib_basedir="${srcdir}/."
4834 abs_newlib_basedir=`cd "${newlib_basedir}" && pwd`
4839 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4840 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4841 # is not polluted with repeated "-I."
4842 am__isrc=' -I$(srcdir)'
4843 # test to see if srcdir already configured
4844 if test -f $srcdir/config.status; then
4845 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4849 # test whether we have cygpath
4850 if test -z "$CYGPATH_W"; then
4851 if (cygpath --version) >/dev/null 2>/dev/null; then
4852 CYGPATH_W='cygpath -w'
4853 else
4854 CYGPATH_W=echo
4859 # Define the identity of the package.
4860 PACKAGE='newlib'
4861 VERSION='4.3.0'
4864 # Some tools Automake needs.
4866 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4869 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4872 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4875 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4878 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4880 # For better backward compatibility. To be removed once Automake 1.9.x
4881 # dies out for good. For more background, see:
4882 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4883 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4884 mkdir_p='$(MKDIR_P)'
4886 # We need awk for the "check" target (and possibly the TAP driver). The
4887 # system "awk" is bad on some platforms.
4888 # Always define AMTAR for backward compatibility. Yes, it's still used
4889 # in the wild :-( We should find a proper way to deprecate it ...
4890 AMTAR='$${TAR-tar}'
4893 # We'll loop over all known methods to create a tar archive until one works.
4894 _am_tools='gnutar pax cpio none'
4896 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4903 # POSIX will say in a future version that running "rm -f" with no argument
4904 # is OK; and we want to be able to make that assumption in our Makefile
4905 # recipes. So use an aggressive probe to check that the usage we want is
4906 # actually supported "in the wild" to an acceptable degree.
4907 # See automake bug#10828.
4908 # To make any issue more visible, cause the running configure to be aborted
4909 # by default if the 'rm' program in use doesn't match our expectations; the
4910 # user can still override this though.
4911 if rm -f && rm -fr && rm -rf; then : OK; else
4912 cat >&2 <<'END'
4913 Oops!
4915 Your 'rm' program seems unable to run without file operands specified
4916 on the command line, even when the '-f' option is present. This is contrary
4917 to the behaviour of most rm programs out there, and not conforming with
4918 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4920 Please tell bug-automake@gnu.org about your system, including the value
4921 of your $PATH and any error possibly output before this message. This
4922 can help us improve future automake versions.
4925 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4926 echo 'Configuration will proceed anyway, since you have set the' >&2
4927 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4928 echo >&2
4929 else
4930 cat >&2 <<'END'
4931 Aborting the configuration process, to ensure you take notice of the issue.
4933 You can download and install GNU coreutils to get an 'rm' implementation
4934 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4936 If you want to complete the configuration process using your problematic
4937 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4938 to "yes", and re-run configure.
4941 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4947 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4948 # Check whether --enable-maintainer-mode was given.
4949 if test "${enable_maintainer_mode+set}" = set; then :
4950 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4951 else
4952 USE_MAINTAINER_MODE=no
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4956 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4957 if test $USE_MAINTAINER_MODE = yes; then
4958 MAINTAINER_MODE_TRUE=
4959 MAINTAINER_MODE_FALSE='#'
4960 else
4961 MAINTAINER_MODE_TRUE='#'
4962 MAINTAINER_MODE_FALSE=
4965 MAINT=$MAINTAINER_MODE_TRUE
4968 # Check whether --enable-silent-rules was given.
4969 if test "${enable_silent_rules+set}" = set; then :
4970 enableval=$enable_silent_rules;
4973 case $enable_silent_rules in # (((
4974 yes) AM_DEFAULT_VERBOSITY=0;;
4975 no) AM_DEFAULT_VERBOSITY=1;;
4976 *) AM_DEFAULT_VERBOSITY=0;;
4977 esac
4978 am_make=${MAKE-make}
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4980 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4981 if ${am_cv_make_support_nested_variables+:} false; then :
4982 $as_echo_n "(cached) " >&6
4983 else
4984 if $as_echo 'TRUE=$(BAR$(V))
4985 BAR0=false
4986 BAR1=true
4988 am__doit:
4989 @$(TRUE)
4990 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4991 am_cv_make_support_nested_variables=yes
4992 else
4993 am_cv_make_support_nested_variables=no
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4997 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4998 if test $am_cv_make_support_nested_variables = yes; then
4999 AM_V='$(V)'
5000 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
5001 else
5002 AM_V=$AM_DEFAULT_VERBOSITY
5003 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
5005 AM_BACKSLASH='\'
5010 if test -n "$ac_tool_prefix"; then
5011 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5012 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014 $as_echo_n "checking for $ac_word... " >&6; }
5015 if ${ac_cv_prog_RANLIB+:} false; then :
5016 $as_echo_n "(cached) " >&6
5017 else
5018 if test -n "$RANLIB"; then
5019 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5020 else
5021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5022 for as_dir in $PATH
5024 IFS=$as_save_IFS
5025 test -z "$as_dir" && as_dir=.
5026 for ac_exec_ext in '' $ac_executable_extensions; do
5027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5028 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5030 break 2
5032 done
5033 done
5034 IFS=$as_save_IFS
5038 RANLIB=$ac_cv_prog_RANLIB
5039 if test -n "$RANLIB"; then
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5041 $as_echo "$RANLIB" >&6; }
5042 else
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 $as_echo "no" >&6; }
5049 if test -z "$ac_cv_prog_RANLIB"; then
5050 ac_ct_RANLIB=$RANLIB
5051 # Extract the first word of "ranlib", so it can be a program name with args.
5052 set dummy ranlib; ac_word=$2
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054 $as_echo_n "checking for $ac_word... " >&6; }
5055 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5056 $as_echo_n "(cached) " >&6
5057 else
5058 if test -n "$ac_ct_RANLIB"; then
5059 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5060 else
5061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5062 for as_dir in $PATH
5064 IFS=$as_save_IFS
5065 test -z "$as_dir" && as_dir=.
5066 for ac_exec_ext in '' $ac_executable_extensions; do
5067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5068 ac_cv_prog_ac_ct_RANLIB="ranlib"
5069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5070 break 2
5072 done
5073 done
5074 IFS=$as_save_IFS
5078 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5079 if test -n "$ac_ct_RANLIB"; then
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5081 $as_echo "$ac_ct_RANLIB" >&6; }
5082 else
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5084 $as_echo "no" >&6; }
5087 if test "x$ac_ct_RANLIB" = x; then
5088 RANLIB=":"
5089 else
5090 case $cross_compiling:$ac_tool_warned in
5091 yes:)
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5094 ac_tool_warned=yes ;;
5095 esac
5096 RANLIB=$ac_ct_RANLIB
5098 else
5099 RANLIB="$ac_cv_prog_RANLIB"
5102 if test -n "$ac_tool_prefix"; then
5103 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
5104 set dummy ${ac_tool_prefix}readelf; ac_word=$2
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5106 $as_echo_n "checking for $ac_word... " >&6; }
5107 if ${ac_cv_prog_READELF+:} false; then :
5108 $as_echo_n "(cached) " >&6
5109 else
5110 if test -n "$READELF"; then
5111 ac_cv_prog_READELF="$READELF" # Let the user override the test.
5112 else
5113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5114 for as_dir in $PATH
5116 IFS=$as_save_IFS
5117 test -z "$as_dir" && as_dir=.
5118 for ac_exec_ext in '' $ac_executable_extensions; do
5119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5120 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
5121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5122 break 2
5124 done
5125 done
5126 IFS=$as_save_IFS
5130 READELF=$ac_cv_prog_READELF
5131 if test -n "$READELF"; then
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
5133 $as_echo "$READELF" >&6; }
5134 else
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5136 $as_echo "no" >&6; }
5141 if test -z "$ac_cv_prog_READELF"; then
5142 ac_ct_READELF=$READELF
5143 # Extract the first word of "readelf", so it can be a program name with args.
5144 set dummy readelf; ac_word=$2
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5146 $as_echo_n "checking for $ac_word... " >&6; }
5147 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
5148 $as_echo_n "(cached) " >&6
5149 else
5150 if test -n "$ac_ct_READELF"; then
5151 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
5152 else
5153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5154 for as_dir in $PATH
5156 IFS=$as_save_IFS
5157 test -z "$as_dir" && as_dir=.
5158 for ac_exec_ext in '' $ac_executable_extensions; do
5159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5160 ac_cv_prog_ac_ct_READELF="readelf"
5161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 break 2
5164 done
5165 done
5166 IFS=$as_save_IFS
5170 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
5171 if test -n "$ac_ct_READELF"; then
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
5173 $as_echo "$ac_ct_READELF" >&6; }
5174 else
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176 $as_echo "no" >&6; }
5179 if test "x$ac_ct_READELF" = x; then
5180 READELF=":"
5181 else
5182 case $cross_compiling:$ac_tool_warned in
5183 yes:)
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5186 ac_tool_warned=yes ;;
5187 esac
5188 READELF=$ac_ct_READELF
5190 else
5191 READELF="$ac_cv_prog_READELF"
5196 . ${newlib_basedir}/configure.host
5198 NEWLIB_CFLAGS=${newlib_cflags}
5201 NO_INCLUDE_LIST=${noinclude}
5204 if test x${newlib_elix_level} = x0; then
5205 ELIX_LEVEL_0_TRUE=
5206 ELIX_LEVEL_0_FALSE='#'
5207 else
5208 ELIX_LEVEL_0_TRUE='#'
5209 ELIX_LEVEL_0_FALSE=
5212 if test x${newlib_elix_level} = x1; then
5213 ELIX_LEVEL_1_TRUE=
5214 ELIX_LEVEL_1_FALSE='#'
5215 else
5216 ELIX_LEVEL_1_TRUE='#'
5217 ELIX_LEVEL_1_FALSE=
5220 if test x${newlib_elix_level} = x2; then
5221 ELIX_LEVEL_2_TRUE=
5222 ELIX_LEVEL_2_FALSE='#'
5223 else
5224 ELIX_LEVEL_2_TRUE='#'
5225 ELIX_LEVEL_2_FALSE=
5228 if test x${newlib_elix_level} = x3; then
5229 ELIX_LEVEL_3_TRUE=
5230 ELIX_LEVEL_3_FALSE='#'
5231 else
5232 ELIX_LEVEL_3_TRUE='#'
5233 ELIX_LEVEL_3_FALSE=
5236 if test x${newlib_elix_level} = x4; then
5237 ELIX_LEVEL_4_TRUE=
5238 ELIX_LEVEL_4_FALSE='#'
5239 else
5240 ELIX_LEVEL_4_TRUE='#'
5241 ELIX_LEVEL_4_FALSE=
5245 # Emit any target-specific warnings.
5246 if test "x${newlib_msg_warn}" != "x"; then
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
5248 $as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
5251 # Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
5252 # use oext, which is set in configure.host based on the target platform.
5253 OBJEXT=o
5264 newlib_hw_fp=false
5265 #AC_ARG_ENABLE(newlib_hw_fp,
5266 #[ --enable-newlib-hw-fp Turn on hardware floating point math],
5267 #[case "${enableval}" in
5268 # yes) newlib_hw_fp=true ;;
5269 # no) newlib_hw_fp=false ;;
5270 # *) AC_MSG_ERROR(bad value ${enableval} for --enable-newlib-hw-fp) ;;
5271 # esac],[newlib_hw_fp=false])
5272 if test x$newlib_hw_fp = xtrue; then
5273 NEWLIB_HW_FP_TRUE=
5274 NEWLIB_HW_FP_FALSE='#'
5275 else
5276 NEWLIB_HW_FP_TRUE='#'
5277 NEWLIB_HW_FP_FALSE=
5281 # These get added in the top-level configure.in, except in the case where
5282 # newlib is being built natively.
5283 LIBC_INCLUDE_GREP=`echo ${CC} | grep \/libc\/include`
5284 if test -z "${LIBC_INCLUDE_GREP}"; then
5285 CC_FOR_NEWLIB="${CC} -I$PWD/targ-include -I${abs_newlib_basedir}/libc/include"
5286 else
5287 CC_FOR_NEWLIB="${CC}"
5292 if test x${signal_dir} != x; then
5293 HAVE_SIGNAL_DIR_TRUE=
5294 HAVE_SIGNAL_DIR_FALSE='#'
5295 else
5296 HAVE_SIGNAL_DIR_TRUE='#'
5297 HAVE_SIGNAL_DIR_FALSE=
5300 if test x${stdio_dir} != x; then
5301 HAVE_STDIO_DIR_TRUE=
5302 HAVE_STDIO_DIR_FALSE='#'
5303 else
5304 HAVE_STDIO_DIR_TRUE='#'
5305 HAVE_STDIO_DIR_FALSE=
5308 if test x${stdio64_dir} != x; then
5309 HAVE_STDIO64_DIR_TRUE=
5310 HAVE_STDIO64_DIR_FALSE='#'
5311 else
5312 HAVE_STDIO64_DIR_TRUE='#'
5313 HAVE_STDIO64_DIR_FALSE=
5316 if test x${posix_dir} != x; then
5317 HAVE_POSIX_DIR_TRUE=
5318 HAVE_POSIX_DIR_FALSE='#'
5319 else
5320 HAVE_POSIX_DIR_TRUE='#'
5321 HAVE_POSIX_DIR_FALSE=
5324 if test x${xdr_dir} != x; then
5325 HAVE_XDR_DIR_TRUE=
5326 HAVE_XDR_DIR_FALSE='#'
5327 else
5328 HAVE_XDR_DIR_TRUE='#'
5329 HAVE_XDR_DIR_FALSE=
5332 if test x${syscall_dir} != x; then
5333 HAVE_SYSCALL_DIR_TRUE=
5334 HAVE_SYSCALL_DIR_FALSE='#'
5335 else
5336 HAVE_SYSCALL_DIR_TRUE='#'
5337 HAVE_SYSCALL_DIR_FALSE=
5340 if test x${unix_dir} != x; then
5341 HAVE_UNIX_DIR_TRUE=
5342 HAVE_UNIX_DIR_FALSE='#'
5343 else
5344 HAVE_UNIX_DIR_TRUE='#'
5345 HAVE_UNIX_DIR_FALSE=
5349 if test "${sys_dir}" = a29khif; then
5350 HAVE_LIBC_SYS_A29KHIF_DIR_TRUE=
5351 HAVE_LIBC_SYS_A29KHIF_DIR_FALSE='#'
5352 else
5353 HAVE_LIBC_SYS_A29KHIF_DIR_TRUE='#'
5354 HAVE_LIBC_SYS_A29KHIF_DIR_FALSE=
5356 if test "${sys_dir}" = amdgcn; then
5357 HAVE_LIBC_SYS_AMDGCN_DIR_TRUE=
5358 HAVE_LIBC_SYS_AMDGCN_DIR_FALSE='#'
5359 else
5360 HAVE_LIBC_SYS_AMDGCN_DIR_TRUE='#'
5361 HAVE_LIBC_SYS_AMDGCN_DIR_FALSE=
5363 if test "${sys_dir}" = arm; then
5364 HAVE_LIBC_SYS_ARM_DIR_TRUE=
5365 HAVE_LIBC_SYS_ARM_DIR_FALSE='#'
5366 else
5367 HAVE_LIBC_SYS_ARM_DIR_TRUE='#'
5368 HAVE_LIBC_SYS_ARM_DIR_FALSE=
5370 if test "${sys_dir}" = d10v; then
5371 HAVE_LIBC_SYS_D10V_DIR_TRUE=
5372 HAVE_LIBC_SYS_D10V_DIR_FALSE='#'
5373 else
5374 HAVE_LIBC_SYS_D10V_DIR_TRUE='#'
5375 HAVE_LIBC_SYS_D10V_DIR_FALSE=
5377 if test "${sys_dir}" = epiphany; then
5378 HAVE_LIBC_SYS_EPIPHANY_DIR_TRUE=
5379 HAVE_LIBC_SYS_EPIPHANY_DIR_FALSE='#'
5380 else
5381 HAVE_LIBC_SYS_EPIPHANY_DIR_TRUE='#'
5382 HAVE_LIBC_SYS_EPIPHANY_DIR_FALSE=
5384 if test "${sys_dir}" = h8300hms; then
5385 HAVE_LIBC_SYS_H8300HMS_DIR_TRUE=
5386 HAVE_LIBC_SYS_H8300HMS_DIR_FALSE='#'
5387 else
5388 HAVE_LIBC_SYS_H8300HMS_DIR_TRUE='#'
5389 HAVE_LIBC_SYS_H8300HMS_DIR_FALSE=
5391 if test "${sys_dir}" = h8500hms; then
5392 HAVE_LIBC_SYS_H8500HMS_DIR_TRUE=
5393 HAVE_LIBC_SYS_H8500HMS_DIR_FALSE='#'
5394 else
5395 HAVE_LIBC_SYS_H8500HMS_DIR_TRUE='#'
5396 HAVE_LIBC_SYS_H8500HMS_DIR_FALSE=
5398 if test "${sys_dir}" = m88kbug; then
5399 HAVE_LIBC_SYS_M88KBUG_DIR_TRUE=
5400 HAVE_LIBC_SYS_M88KBUG_DIR_FALSE='#'
5401 else
5402 HAVE_LIBC_SYS_M88KBUG_DIR_TRUE='#'
5403 HAVE_LIBC_SYS_M88KBUG_DIR_FALSE=
5405 if test "${sys_dir}" = mmixware; then
5406 HAVE_LIBC_SYS_MMIXWARE_DIR_TRUE=
5407 HAVE_LIBC_SYS_MMIXWARE_DIR_FALSE='#'
5408 else
5409 HAVE_LIBC_SYS_MMIXWARE_DIR_TRUE='#'
5410 HAVE_LIBC_SYS_MMIXWARE_DIR_FALSE=
5412 if test "${sys_dir}" = netware; then
5413 HAVE_LIBC_SYS_NETWARE_DIR_TRUE=
5414 HAVE_LIBC_SYS_NETWARE_DIR_FALSE='#'
5415 else
5416 HAVE_LIBC_SYS_NETWARE_DIR_TRUE='#'
5417 HAVE_LIBC_SYS_NETWARE_DIR_FALSE=
5419 if test "${sys_dir}" = or1k; then
5420 HAVE_LIBC_SYS_OR1K_DIR_TRUE=
5421 HAVE_LIBC_SYS_OR1K_DIR_FALSE='#'
5422 else
5423 HAVE_LIBC_SYS_OR1K_DIR_TRUE='#'
5424 HAVE_LIBC_SYS_OR1K_DIR_FALSE=
5426 if test "${sys_dir}" = rdos; then
5427 HAVE_LIBC_SYS_RDOS_DIR_TRUE=
5428 HAVE_LIBC_SYS_RDOS_DIR_FALSE='#'
5429 else
5430 HAVE_LIBC_SYS_RDOS_DIR_TRUE='#'
5431 HAVE_LIBC_SYS_RDOS_DIR_FALSE=
5433 if test "${sys_dir}" = rtems; then
5434 HAVE_LIBC_SYS_RTEMS_DIR_TRUE=
5435 HAVE_LIBC_SYS_RTEMS_DIR_FALSE='#'
5436 else
5437 HAVE_LIBC_SYS_RTEMS_DIR_TRUE='#'
5438 HAVE_LIBC_SYS_RTEMS_DIR_FALSE=
5440 if test "${sys_dir}" = sh; then
5441 HAVE_LIBC_SYS_SH_DIR_TRUE=
5442 HAVE_LIBC_SYS_SH_DIR_FALSE='#'
5443 else
5444 HAVE_LIBC_SYS_SH_DIR_TRUE='#'
5445 HAVE_LIBC_SYS_SH_DIR_FALSE=
5447 if test "${sys_dir}" = sysmec; then
5448 HAVE_LIBC_SYS_SYSMEC_DIR_TRUE=
5449 HAVE_LIBC_SYS_SYSMEC_DIR_FALSE='#'
5450 else
5451 HAVE_LIBC_SYS_SYSMEC_DIR_TRUE='#'
5452 HAVE_LIBC_SYS_SYSMEC_DIR_FALSE=
5454 if test "${sys_dir}" = sysnec810; then
5455 HAVE_LIBC_SYS_SYSNEC810_DIR_TRUE=
5456 HAVE_LIBC_SYS_SYSNEC810_DIR_FALSE='#'
5457 else
5458 HAVE_LIBC_SYS_SYSNEC810_DIR_TRUE='#'
5459 HAVE_LIBC_SYS_SYSNEC810_DIR_FALSE=
5461 if test "${sys_dir}" = sysnecv850; then
5462 HAVE_LIBC_SYS_SYSNECV850_DIR_TRUE=
5463 HAVE_LIBC_SYS_SYSNECV850_DIR_FALSE='#'
5464 else
5465 HAVE_LIBC_SYS_SYSNECV850_DIR_TRUE='#'
5466 HAVE_LIBC_SYS_SYSNECV850_DIR_FALSE=
5468 if test "${sys_dir}" = sysvi386; then
5469 HAVE_LIBC_SYS_SYSVI386_DIR_TRUE=
5470 HAVE_LIBC_SYS_SYSVI386_DIR_FALSE='#'
5471 else
5472 HAVE_LIBC_SYS_SYSVI386_DIR_TRUE='#'
5473 HAVE_LIBC_SYS_SYSVI386_DIR_FALSE=
5475 if test "${sys_dir}" = sysvnecv70; then
5476 HAVE_LIBC_SYS_SYSVNECV70_DIR_TRUE=
5477 HAVE_LIBC_SYS_SYSVNECV70_DIR_FALSE='#'
5478 else
5479 HAVE_LIBC_SYS_SYSVNECV70_DIR_TRUE='#'
5480 HAVE_LIBC_SYS_SYSVNECV70_DIR_FALSE=
5482 if test "${sys_dir}" = tic80; then
5483 HAVE_LIBC_SYS_TIC80_DIR_TRUE=
5484 HAVE_LIBC_SYS_TIC80_DIR_FALSE='#'
5485 else
5486 HAVE_LIBC_SYS_TIC80_DIR_TRUE='#'
5487 HAVE_LIBC_SYS_TIC80_DIR_FALSE=
5489 if test "${sys_dir}" = tirtos; then
5490 HAVE_LIBC_SYS_TIRTOS_DIR_TRUE=
5491 HAVE_LIBC_SYS_TIRTOS_DIR_FALSE='#'
5492 else
5493 HAVE_LIBC_SYS_TIRTOS_DIR_TRUE='#'
5494 HAVE_LIBC_SYS_TIRTOS_DIR_FALSE=
5496 if test "${sys_dir}" = w65; then
5497 HAVE_LIBC_SYS_W65_DIR_TRUE=
5498 HAVE_LIBC_SYS_W65_DIR_FALSE='#'
5499 else
5500 HAVE_LIBC_SYS_W65_DIR_TRUE='#'
5501 HAVE_LIBC_SYS_W65_DIR_FALSE=
5503 if test "${sys_dir}" = z8ksim; then
5504 HAVE_LIBC_SYS_Z8KSIM_DIR_TRUE=
5505 HAVE_LIBC_SYS_Z8KSIM_DIR_FALSE='#'
5506 else
5507 HAVE_LIBC_SYS_Z8KSIM_DIR_TRUE='#'
5508 HAVE_LIBC_SYS_Z8KSIM_DIR_FALSE=
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double" >&5
5514 $as_echo_n "checking for long double... " >&6; }
5515 if ${ac_cv_type_long_double+:} false; then :
5516 $as_echo_n "(cached) " >&6
5517 else
5518 if test "$GCC" = yes; then
5519 ac_cv_type_long_double=yes
5520 else
5521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5522 /* end confdefs.h. */
5523 /* The Stardent Vistra knows sizeof (long double), but does
5524 not support it. */
5525 long double foo = 0.0L;
5527 main ()
5529 static int test_array [1 - 2 * !(/* On Ultrix 4.3 cc, long double is 4 and double is 8. */
5530 sizeof (double) <= sizeof (long double))];
5531 test_array [0] = 0;
5532 return test_array [0];
5535 return 0;
5537 _ACEOF
5538 if ac_fn_c_try_compile "$LINENO"; then :
5539 ac_cv_type_long_double=yes
5540 else
5541 ac_cv_type_long_double=no
5543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_double" >&5
5547 $as_echo "$ac_cv_type_long_double" >&6; }
5548 if test $ac_cv_type_long_double = yes; then
5550 $as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
5554 if test x"$ac_cv_type_long_double" = x"yes"; then
5555 HAVE_LONG_DOUBLE_TRUE=
5556 HAVE_LONG_DOUBLE_FALSE='#'
5557 else
5558 HAVE_LONG_DOUBLE_TRUE='#'
5559 HAVE_LONG_DOUBLE_FALSE=
5563 if test x${newlib_iconv} != x; then
5564 ENABLE_NEWLIB_ICONV_TRUE=
5565 ENABLE_NEWLIB_ICONV_FALSE='#'
5566 else
5567 ENABLE_NEWLIB_ICONV_TRUE='#'
5568 ENABLE_NEWLIB_ICONV_FALSE=
5572 if test "${machine_dir}" = "nds32"; then
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nds32 V3M ISA" >&5
5575 $as_echo_n "checking for nds32 V3M ISA... " >&6; }
5576 if ${newlib_cv_nds32_isa_v3m+:} false; then :
5577 $as_echo_n "(cached) " >&6
5578 else
5579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5580 /* end confdefs.h. */
5581 #ifdef __NDS32_ISA_V3M__
5582 # error "This is nds32_isa_v3m."
5583 #endif
5586 main ()
5590 return 0;
5592 _ACEOF
5593 if ac_fn_c_try_cpp "$LINENO"; then :
5594 newlib_cv_nds32_isa_v3m="no"
5595 else
5596 newlib_cv_nds32_isa_v3m="yes"
5598 rm -f conftest.err conftest.i conftest.$ac_ext
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $newlib_cv_nds32_isa_v3m" >&5
5601 $as_echo "$newlib_cv_nds32_isa_v3m" >&6; }
5604 if test "$newlib_cv_nds32_isa_v3m" = "yes"; then
5605 IS_NDS32_ISA_V3M_TRUE=
5606 IS_NDS32_ISA_V3M_FALSE='#'
5607 else
5608 IS_NDS32_ISA_V3M_TRUE='#'
5609 IS_NDS32_ISA_V3M_FALSE=
5613 HAVE_POWERPC_ALTIVEC=no
5614 HAVE_POWERPC_SPE=no
5615 if test "${machine_dir}" = "powerpc"; then
5616 case $host in
5617 powerpc*-*altivec*) HAVE_POWERPC_ALTIVEC=yes ;;
5618 powerpc*-*spe*) HAVE_POWERPC_SPE=yes ;;
5619 esac
5621 if test "$HAVE_POWERPC_ALTIVEC" = yes; then
5622 HAVE_POWERPC_ALTIVEC_TRUE=
5623 HAVE_POWERPC_ALTIVEC_FALSE='#'
5624 else
5625 HAVE_POWERPC_ALTIVEC_TRUE='#'
5626 HAVE_POWERPC_ALTIVEC_FALSE=
5629 if test "$HAVE_POWERPC_SPE" = yes; then
5630 HAVE_POWERPC_SPE_TRUE=
5631 HAVE_POWERPC_SPE_FALSE='#'
5632 else
5633 HAVE_POWERPC_SPE_TRUE='#'
5634 HAVE_POWERPC_SPE_FALSE=
5638 if test "${machine_dir}" = "sh"; then
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SH5 (64-bit)" >&5
5640 $as_echo_n "checking for SH5 (64-bit)... " >&6; }
5641 if ${newlib_cv_sh64+:} false; then :
5642 $as_echo_n "(cached) " >&6
5643 else
5644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5645 /* end confdefs.h. */
5646 #if !defined(__SH5__)
5647 # error "not SH5"
5648 #endif
5651 main ()
5655 return 0;
5657 _ACEOF
5658 if ac_fn_c_try_cpp "$LINENO"; then :
5659 newlib_cv_sh64=yes
5660 else
5661 newlib_cv_sh64=no
5663 rm -f conftest.err conftest.i conftest.$ac_ext
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $newlib_cv_sh64" >&5
5666 $as_echo "$newlib_cv_sh64" >&6; }
5669 if test "$newlib_cv_sh64" = yes; then
5670 SH64_TRUE=
5671 SH64_FALSE='#'
5672 else
5673 SH64_TRUE='#'
5674 SH64_FALSE=
5678 if test "${machine_dir}" = "spu"; then
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports __ea" >&5
5680 $as_echo_n "checking whether the compiler supports __ea... " >&6; }
5681 if ${newlib_cv_spu_compiler_has_ea+:} false; then :
5682 $as_echo_n "(cached) " >&6
5683 else
5684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5685 /* end confdefs.h. */
5686 #if !defined (__EA32__) && !defined (__EA64__)
5687 # error "__ea not supported"
5688 #endif
5691 main ()
5695 return 0;
5697 _ACEOF
5698 if ac_fn_c_try_cpp "$LINENO"; then :
5699 newlib_cv_spu_compiler_has_ea=yes
5700 else
5701 newlib_cv_spu_compiler_has_ea=no
5703 rm -f conftest.err conftest.i conftest.$ac_ext
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $newlib_cv_spu_compiler_has_ea" >&5
5706 $as_echo "$newlib_cv_spu_compiler_has_ea" >&6; }
5708 if test "$newlib_cv_spu_compiler_has_ea" = yes; then
5709 HAVE_SPU_EA_TRUE=
5710 HAVE_SPU_EA_FALSE='#'
5711 else
5712 HAVE_SPU_EA_TRUE='#'
5713 HAVE_SPU_EA_FALSE=
5718 if test "${machine_dir}" = aarch64; then
5719 HAVE_LIBC_MACHINE_AARCH64_TRUE=
5720 HAVE_LIBC_MACHINE_AARCH64_FALSE='#'
5721 else
5722 HAVE_LIBC_MACHINE_AARCH64_TRUE='#'
5723 HAVE_LIBC_MACHINE_AARCH64_FALSE=
5725 if test "${machine_dir}" = amdgcn; then
5726 HAVE_LIBC_MACHINE_AMDGCN_TRUE=
5727 HAVE_LIBC_MACHINE_AMDGCN_FALSE='#'
5728 else
5729 HAVE_LIBC_MACHINE_AMDGCN_TRUE='#'
5730 HAVE_LIBC_MACHINE_AMDGCN_FALSE=
5732 if test "${machine_dir}" = arc; then
5733 HAVE_LIBC_MACHINE_ARC_TRUE=
5734 HAVE_LIBC_MACHINE_ARC_FALSE='#'
5735 else
5736 HAVE_LIBC_MACHINE_ARC_TRUE='#'
5737 HAVE_LIBC_MACHINE_ARC_FALSE=
5739 if test "${machine_dir}" = arm; then
5740 HAVE_LIBC_MACHINE_ARM_TRUE=
5741 HAVE_LIBC_MACHINE_ARM_FALSE='#'
5742 else
5743 HAVE_LIBC_MACHINE_ARM_TRUE='#'
5744 HAVE_LIBC_MACHINE_ARM_FALSE=
5746 if test "${machine_dir}" = bfin; then
5747 HAVE_LIBC_MACHINE_BFIN_TRUE=
5748 HAVE_LIBC_MACHINE_BFIN_FALSE='#'
5749 else
5750 HAVE_LIBC_MACHINE_BFIN_TRUE='#'
5751 HAVE_LIBC_MACHINE_BFIN_FALSE=
5753 if test "${machine_dir}" = cr16; then
5754 HAVE_LIBC_MACHINE_CR16_TRUE=
5755 HAVE_LIBC_MACHINE_CR16_FALSE='#'
5756 else
5757 HAVE_LIBC_MACHINE_CR16_TRUE='#'
5758 HAVE_LIBC_MACHINE_CR16_FALSE=
5760 if test "${machine_dir}" = cris; then
5761 HAVE_LIBC_MACHINE_CRIS_TRUE=
5762 HAVE_LIBC_MACHINE_CRIS_FALSE='#'
5763 else
5764 HAVE_LIBC_MACHINE_CRIS_TRUE='#'
5765 HAVE_LIBC_MACHINE_CRIS_FALSE=
5767 if test "${machine_dir}" = crx; then
5768 HAVE_LIBC_MACHINE_CRX_TRUE=
5769 HAVE_LIBC_MACHINE_CRX_FALSE='#'
5770 else
5771 HAVE_LIBC_MACHINE_CRX_TRUE='#'
5772 HAVE_LIBC_MACHINE_CRX_FALSE=
5774 if test "${machine_dir}" = csky; then
5775 HAVE_LIBC_MACHINE_CSKY_TRUE=
5776 HAVE_LIBC_MACHINE_CSKY_FALSE='#'
5777 else
5778 HAVE_LIBC_MACHINE_CSKY_TRUE='#'
5779 HAVE_LIBC_MACHINE_CSKY_FALSE=
5781 if test "${machine_dir}" = d10v; then
5782 HAVE_LIBC_MACHINE_D10V_TRUE=
5783 HAVE_LIBC_MACHINE_D10V_FALSE='#'
5784 else
5785 HAVE_LIBC_MACHINE_D10V_TRUE='#'
5786 HAVE_LIBC_MACHINE_D10V_FALSE=
5788 if test "${machine_dir}" = d30v; then
5789 HAVE_LIBC_MACHINE_D30V_TRUE=
5790 HAVE_LIBC_MACHINE_D30V_FALSE='#'
5791 else
5792 HAVE_LIBC_MACHINE_D30V_TRUE='#'
5793 HAVE_LIBC_MACHINE_D30V_FALSE=
5795 if test "${machine_dir}" = epiphany; then
5796 HAVE_LIBC_MACHINE_EPIPHANY_TRUE=
5797 HAVE_LIBC_MACHINE_EPIPHANY_FALSE='#'
5798 else
5799 HAVE_LIBC_MACHINE_EPIPHANY_TRUE='#'
5800 HAVE_LIBC_MACHINE_EPIPHANY_FALSE=
5802 if test "${machine_dir}" = fr30; then
5803 HAVE_LIBC_MACHINE_FR30_TRUE=
5804 HAVE_LIBC_MACHINE_FR30_FALSE='#'
5805 else
5806 HAVE_LIBC_MACHINE_FR30_TRUE='#'
5807 HAVE_LIBC_MACHINE_FR30_FALSE=
5809 if test "${machine_dir}" = frv; then
5810 HAVE_LIBC_MACHINE_FRV_TRUE=
5811 HAVE_LIBC_MACHINE_FRV_FALSE='#'
5812 else
5813 HAVE_LIBC_MACHINE_FRV_TRUE='#'
5814 HAVE_LIBC_MACHINE_FRV_FALSE=
5816 if test "${machine_dir}" = ft32; then
5817 HAVE_LIBC_MACHINE_FT32_TRUE=
5818 HAVE_LIBC_MACHINE_FT32_FALSE='#'
5819 else
5820 HAVE_LIBC_MACHINE_FT32_TRUE='#'
5821 HAVE_LIBC_MACHINE_FT32_FALSE=
5823 if test "${machine_dir}" = h8300; then
5824 HAVE_LIBC_MACHINE_H8300_TRUE=
5825 HAVE_LIBC_MACHINE_H8300_FALSE='#'
5826 else
5827 HAVE_LIBC_MACHINE_H8300_TRUE='#'
5828 HAVE_LIBC_MACHINE_H8300_FALSE=
5830 if test "${machine_dir}" = h8500; then
5831 HAVE_LIBC_MACHINE_H8500_TRUE=
5832 HAVE_LIBC_MACHINE_H8500_FALSE='#'
5833 else
5834 HAVE_LIBC_MACHINE_H8500_TRUE='#'
5835 HAVE_LIBC_MACHINE_H8500_FALSE=
5837 if test "${machine_dir}" = hppa; then
5838 HAVE_LIBC_MACHINE_HPPA_TRUE=
5839 HAVE_LIBC_MACHINE_HPPA_FALSE='#'
5840 else
5841 HAVE_LIBC_MACHINE_HPPA_TRUE='#'
5842 HAVE_LIBC_MACHINE_HPPA_FALSE=
5844 if test "${machine_dir}" = i386; then
5845 HAVE_LIBC_MACHINE_I386_TRUE=
5846 HAVE_LIBC_MACHINE_I386_FALSE='#'
5847 else
5848 HAVE_LIBC_MACHINE_I386_TRUE='#'
5849 HAVE_LIBC_MACHINE_I386_FALSE=
5851 if test "${machine_dir}" = i960; then
5852 HAVE_LIBC_MACHINE_I960_TRUE=
5853 HAVE_LIBC_MACHINE_I960_FALSE='#'
5854 else
5855 HAVE_LIBC_MACHINE_I960_TRUE='#'
5856 HAVE_LIBC_MACHINE_I960_FALSE=
5858 if test "${machine_dir}" = iq2000; then
5859 HAVE_LIBC_MACHINE_IQ2000_TRUE=
5860 HAVE_LIBC_MACHINE_IQ2000_FALSE='#'
5861 else
5862 HAVE_LIBC_MACHINE_IQ2000_TRUE='#'
5863 HAVE_LIBC_MACHINE_IQ2000_FALSE=
5865 if test "${machine_dir}" = lm32; then
5866 HAVE_LIBC_MACHINE_LM32_TRUE=
5867 HAVE_LIBC_MACHINE_LM32_FALSE='#'
5868 else
5869 HAVE_LIBC_MACHINE_LM32_TRUE='#'
5870 HAVE_LIBC_MACHINE_LM32_FALSE=
5872 if test "${machine_dir}" = m32c; then
5873 HAVE_LIBC_MACHINE_M32C_TRUE=
5874 HAVE_LIBC_MACHINE_M32C_FALSE='#'
5875 else
5876 HAVE_LIBC_MACHINE_M32C_TRUE='#'
5877 HAVE_LIBC_MACHINE_M32C_FALSE=
5879 if test "${machine_dir}" = m32r; then
5880 HAVE_LIBC_MACHINE_M32R_TRUE=
5881 HAVE_LIBC_MACHINE_M32R_FALSE='#'
5882 else
5883 HAVE_LIBC_MACHINE_M32R_TRUE='#'
5884 HAVE_LIBC_MACHINE_M32R_FALSE=
5886 if test "${machine_dir}" = m68hc11; then
5887 HAVE_LIBC_MACHINE_M68HC11_TRUE=
5888 HAVE_LIBC_MACHINE_M68HC11_FALSE='#'
5889 else
5890 HAVE_LIBC_MACHINE_M68HC11_TRUE='#'
5891 HAVE_LIBC_MACHINE_M68HC11_FALSE=
5893 if test "${machine_dir}" = m68k; then
5894 HAVE_LIBC_MACHINE_M68K_TRUE=
5895 HAVE_LIBC_MACHINE_M68K_FALSE='#'
5896 else
5897 HAVE_LIBC_MACHINE_M68K_TRUE='#'
5898 HAVE_LIBC_MACHINE_M68K_FALSE=
5900 if test "${machine_dir}" = m88k; then
5901 HAVE_LIBC_MACHINE_M88K_TRUE=
5902 HAVE_LIBC_MACHINE_M88K_FALSE='#'
5903 else
5904 HAVE_LIBC_MACHINE_M88K_TRUE='#'
5905 HAVE_LIBC_MACHINE_M88K_FALSE=
5907 if test "${machine_dir}" = mep; then
5908 HAVE_LIBC_MACHINE_MEP_TRUE=
5909 HAVE_LIBC_MACHINE_MEP_FALSE='#'
5910 else
5911 HAVE_LIBC_MACHINE_MEP_TRUE='#'
5912 HAVE_LIBC_MACHINE_MEP_FALSE=
5914 if test "${machine_dir}" = microblaze; then
5915 HAVE_LIBC_MACHINE_MICROBLAZE_TRUE=
5916 HAVE_LIBC_MACHINE_MICROBLAZE_FALSE='#'
5917 else
5918 HAVE_LIBC_MACHINE_MICROBLAZE_TRUE='#'
5919 HAVE_LIBC_MACHINE_MICROBLAZE_FALSE=
5921 if test "${machine_dir}" = mips; then
5922 HAVE_LIBC_MACHINE_MIPS_TRUE=
5923 HAVE_LIBC_MACHINE_MIPS_FALSE='#'
5924 else
5925 HAVE_LIBC_MACHINE_MIPS_TRUE='#'
5926 HAVE_LIBC_MACHINE_MIPS_FALSE=
5928 if test "${machine_dir}" = mn10200; then
5929 HAVE_LIBC_MACHINE_MN10200_TRUE=
5930 HAVE_LIBC_MACHINE_MN10200_FALSE='#'
5931 else
5932 HAVE_LIBC_MACHINE_MN10200_TRUE='#'
5933 HAVE_LIBC_MACHINE_MN10200_FALSE=
5935 if test "${machine_dir}" = mn10300; then
5936 HAVE_LIBC_MACHINE_MN10300_TRUE=
5937 HAVE_LIBC_MACHINE_MN10300_FALSE='#'
5938 else
5939 HAVE_LIBC_MACHINE_MN10300_TRUE='#'
5940 HAVE_LIBC_MACHINE_MN10300_FALSE=
5942 if test "${machine_dir}" = moxie; then
5943 HAVE_LIBC_MACHINE_MOXIE_TRUE=
5944 HAVE_LIBC_MACHINE_MOXIE_FALSE='#'
5945 else
5946 HAVE_LIBC_MACHINE_MOXIE_TRUE='#'
5947 HAVE_LIBC_MACHINE_MOXIE_FALSE=
5949 if test "${machine_dir}" = msp430; then
5950 HAVE_LIBC_MACHINE_MSP430_TRUE=
5951 HAVE_LIBC_MACHINE_MSP430_FALSE='#'
5952 else
5953 HAVE_LIBC_MACHINE_MSP430_TRUE='#'
5954 HAVE_LIBC_MACHINE_MSP430_FALSE=
5956 if test "${machine_dir}" = mt; then
5957 HAVE_LIBC_MACHINE_MT_TRUE=
5958 HAVE_LIBC_MACHINE_MT_FALSE='#'
5959 else
5960 HAVE_LIBC_MACHINE_MT_TRUE='#'
5961 HAVE_LIBC_MACHINE_MT_FALSE=
5963 if test "${machine_dir}" = nds32; then
5964 HAVE_LIBC_MACHINE_NDS32_TRUE=
5965 HAVE_LIBC_MACHINE_NDS32_FALSE='#'
5966 else
5967 HAVE_LIBC_MACHINE_NDS32_TRUE='#'
5968 HAVE_LIBC_MACHINE_NDS32_FALSE=
5970 if test "${machine_dir}" = necv70; then
5971 HAVE_LIBC_MACHINE_NECV70_TRUE=
5972 HAVE_LIBC_MACHINE_NECV70_FALSE='#'
5973 else
5974 HAVE_LIBC_MACHINE_NECV70_TRUE='#'
5975 HAVE_LIBC_MACHINE_NECV70_FALSE=
5977 if test "${machine_dir}" = nios2; then
5978 HAVE_LIBC_MACHINE_NIOS2_TRUE=
5979 HAVE_LIBC_MACHINE_NIOS2_FALSE='#'
5980 else
5981 HAVE_LIBC_MACHINE_NIOS2_TRUE='#'
5982 HAVE_LIBC_MACHINE_NIOS2_FALSE=
5984 if test "${machine_dir}" = nvptx; then
5985 HAVE_LIBC_MACHINE_NVPTX_TRUE=
5986 HAVE_LIBC_MACHINE_NVPTX_FALSE='#'
5987 else
5988 HAVE_LIBC_MACHINE_NVPTX_TRUE='#'
5989 HAVE_LIBC_MACHINE_NVPTX_FALSE=
5991 if test "${machine_dir}" = or1k; then
5992 HAVE_LIBC_MACHINE_OR1K_TRUE=
5993 HAVE_LIBC_MACHINE_OR1K_FALSE='#'
5994 else
5995 HAVE_LIBC_MACHINE_OR1K_TRUE='#'
5996 HAVE_LIBC_MACHINE_OR1K_FALSE=
5998 if test "${machine_dir}" = powerpc; then
5999 HAVE_LIBC_MACHINE_POWERPC_TRUE=
6000 HAVE_LIBC_MACHINE_POWERPC_FALSE='#'
6001 else
6002 HAVE_LIBC_MACHINE_POWERPC_TRUE='#'
6003 HAVE_LIBC_MACHINE_POWERPC_FALSE=
6005 if test "${machine_dir}" = pru; then
6006 HAVE_LIBC_MACHINE_PRU_TRUE=
6007 HAVE_LIBC_MACHINE_PRU_FALSE='#'
6008 else
6009 HAVE_LIBC_MACHINE_PRU_TRUE='#'
6010 HAVE_LIBC_MACHINE_PRU_FALSE=
6012 if test "${machine_dir}" = riscv; then
6013 HAVE_LIBC_MACHINE_RISCV_TRUE=
6014 HAVE_LIBC_MACHINE_RISCV_FALSE='#'
6015 else
6016 HAVE_LIBC_MACHINE_RISCV_TRUE='#'
6017 HAVE_LIBC_MACHINE_RISCV_FALSE=
6019 if test "${machine_dir}" = rl78; then
6020 HAVE_LIBC_MACHINE_RL78_TRUE=
6021 HAVE_LIBC_MACHINE_RL78_FALSE='#'
6022 else
6023 HAVE_LIBC_MACHINE_RL78_TRUE='#'
6024 HAVE_LIBC_MACHINE_RL78_FALSE=
6026 if test "${machine_dir}" = rx; then
6027 HAVE_LIBC_MACHINE_RX_TRUE=
6028 HAVE_LIBC_MACHINE_RX_FALSE='#'
6029 else
6030 HAVE_LIBC_MACHINE_RX_TRUE='#'
6031 HAVE_LIBC_MACHINE_RX_FALSE=
6033 if test "${machine_dir}" = sh; then
6034 HAVE_LIBC_MACHINE_SH_TRUE=
6035 HAVE_LIBC_MACHINE_SH_FALSE='#'
6036 else
6037 HAVE_LIBC_MACHINE_SH_TRUE='#'
6038 HAVE_LIBC_MACHINE_SH_FALSE=
6040 if test "${machine_dir}" = sparc; then
6041 HAVE_LIBC_MACHINE_SPARC_TRUE=
6042 HAVE_LIBC_MACHINE_SPARC_FALSE='#'
6043 else
6044 HAVE_LIBC_MACHINE_SPARC_TRUE='#'
6045 HAVE_LIBC_MACHINE_SPARC_FALSE=
6047 if test "${machine_dir}" = spu; then
6048 HAVE_LIBC_MACHINE_SPU_TRUE=
6049 HAVE_LIBC_MACHINE_SPU_FALSE='#'
6050 else
6051 HAVE_LIBC_MACHINE_SPU_TRUE='#'
6052 HAVE_LIBC_MACHINE_SPU_FALSE=
6054 if test "${machine_dir}" = tic4x; then
6055 HAVE_LIBC_MACHINE_TIC4X_TRUE=
6056 HAVE_LIBC_MACHINE_TIC4X_FALSE='#'
6057 else
6058 HAVE_LIBC_MACHINE_TIC4X_TRUE='#'
6059 HAVE_LIBC_MACHINE_TIC4X_FALSE=
6061 if test "${machine_dir}" = tic6x; then
6062 HAVE_LIBC_MACHINE_TIC6X_TRUE=
6063 HAVE_LIBC_MACHINE_TIC6X_FALSE='#'
6064 else
6065 HAVE_LIBC_MACHINE_TIC6X_TRUE='#'
6066 HAVE_LIBC_MACHINE_TIC6X_FALSE=
6068 if test "${machine_dir}" = tic80; then
6069 HAVE_LIBC_MACHINE_TIC80_TRUE=
6070 HAVE_LIBC_MACHINE_TIC80_FALSE='#'
6071 else
6072 HAVE_LIBC_MACHINE_TIC80_TRUE='#'
6073 HAVE_LIBC_MACHINE_TIC80_FALSE=
6075 if test "${machine_dir}" = v850; then
6076 HAVE_LIBC_MACHINE_V850_TRUE=
6077 HAVE_LIBC_MACHINE_V850_FALSE='#'
6078 else
6079 HAVE_LIBC_MACHINE_V850_TRUE='#'
6080 HAVE_LIBC_MACHINE_V850_FALSE=
6082 if test "${machine_dir}" = visium; then
6083 HAVE_LIBC_MACHINE_VISIUM_TRUE=
6084 HAVE_LIBC_MACHINE_VISIUM_FALSE='#'
6085 else
6086 HAVE_LIBC_MACHINE_VISIUM_TRUE='#'
6087 HAVE_LIBC_MACHINE_VISIUM_FALSE=
6089 if test "${machine_dir}" = w65; then
6090 HAVE_LIBC_MACHINE_W65_TRUE=
6091 HAVE_LIBC_MACHINE_W65_FALSE='#'
6092 else
6093 HAVE_LIBC_MACHINE_W65_TRUE='#'
6094 HAVE_LIBC_MACHINE_W65_FALSE=
6096 if test "${machine_dir}" = x86_64; then
6097 HAVE_LIBC_MACHINE_X86_64_TRUE=
6098 HAVE_LIBC_MACHINE_X86_64_FALSE='#'
6099 else
6100 HAVE_LIBC_MACHINE_X86_64_TRUE='#'
6101 HAVE_LIBC_MACHINE_X86_64_FALSE=
6103 if test "${machine_dir}" = xc16x; then
6104 HAVE_LIBC_MACHINE_XC16X_TRUE=
6105 HAVE_LIBC_MACHINE_XC16X_FALSE='#'
6106 else
6107 HAVE_LIBC_MACHINE_XC16X_TRUE='#'
6108 HAVE_LIBC_MACHINE_XC16X_FALSE=
6110 if test "${machine_dir}" = xstormy16; then
6111 HAVE_LIBC_MACHINE_XSTORMY16_TRUE=
6112 HAVE_LIBC_MACHINE_XSTORMY16_FALSE='#'
6113 else
6114 HAVE_LIBC_MACHINE_XSTORMY16_TRUE='#'
6115 HAVE_LIBC_MACHINE_XSTORMY16_FALSE=
6117 if test "${machine_dir}" = z8k; then
6118 HAVE_LIBC_MACHINE_Z8K_TRUE=
6119 HAVE_LIBC_MACHINE_Z8K_FALSE='#'
6120 else
6121 HAVE_LIBC_MACHINE_Z8K_TRUE='#'
6122 HAVE_LIBC_MACHINE_Z8K_FALSE=
6126 if test "x$mach_add_setjmp" = "xtrue"; then
6127 MACH_ADD_SETJMP_TRUE=
6128 MACH_ADD_SETJMP_FALSE='#'
6129 else
6130 MACH_ADD_SETJMP_TRUE='#'
6131 MACH_ADD_SETJMP_FALSE=
6135 if test "${libm_machine_dir}" = "nds32"; then
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nds32 FPU SP extension" >&5
6137 $as_echo_n "checking for nds32 FPU SP extension... " >&6; }
6138 if ${newlib_cv_nds32_fpu_sp+:} false; then :
6139 $as_echo_n "(cached) " >&6
6140 else
6141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6142 /* end confdefs.h. */
6143 #if (__NDS32_EXT_FPU_SP__)
6144 # error "Has nds32 FPU SP extension support"
6145 #endif
6148 main ()
6152 return 0;
6154 _ACEOF
6155 if ac_fn_c_try_cpp "$LINENO"; then :
6156 newlib_cv_nds32_fpu_sp="no"
6157 else
6158 newlib_cv_nds32_fpu_sp="yes"
6160 rm -f conftest.err conftest.i conftest.$ac_ext
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $newlib_cv_nds32_fpu_sp" >&5
6163 $as_echo "$newlib_cv_nds32_fpu_sp" >&6; }
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nds32 FPU DP extension" >&5
6166 $as_echo_n "checking for nds32 FPU DP extension... " >&6; }
6167 if ${newlib_cv_nds32_fpu_dp+:} false; then :
6168 $as_echo_n "(cached) " >&6
6169 else
6170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6171 /* end confdefs.h. */
6172 #if (__NDS32_EXT_FPU_DP__)
6173 # error "Has nds32 FPU DP extension support"
6174 #endif
6177 main ()
6181 return 0;
6183 _ACEOF
6184 if ac_fn_c_try_cpp "$LINENO"; then :
6185 newlib_cv_nds32_fpu_dp="no"
6186 else
6187 newlib_cv_nds32_fpu_dp="yes"
6189 rm -f conftest.err conftest.i conftest.$ac_ext
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $newlib_cv_nds32_fpu_dp" >&5
6192 $as_echo "$newlib_cv_nds32_fpu_dp" >&6; }
6195 if test "$newlib_cv_nds32_fpu_sp" = "yes"; then
6196 HAS_NDS32_FPU_SP_TRUE=
6197 HAS_NDS32_FPU_SP_FALSE='#'
6198 else
6199 HAS_NDS32_FPU_SP_TRUE='#'
6200 HAS_NDS32_FPU_SP_FALSE=
6203 if test "$newlib_cv_nds32_fpu_dp" = "yes"; then
6204 HAS_NDS32_FPU_DP_TRUE=
6205 HAS_NDS32_FPU_DP_FALSE='#'
6206 else
6207 HAS_NDS32_FPU_DP_TRUE='#'
6208 HAS_NDS32_FPU_DP_FALSE=
6213 if test "${libm_machine_dir}" = "aarch64"; then
6214 HAVE_LIBM_MACHINE_AARCH64_TRUE=
6215 HAVE_LIBM_MACHINE_AARCH64_FALSE='#'
6216 else
6217 HAVE_LIBM_MACHINE_AARCH64_TRUE='#'
6218 HAVE_LIBM_MACHINE_AARCH64_FALSE=
6221 if test "${libm_machine_dir}" = "amdgcn"; then
6222 HAVE_LIBM_MACHINE_AMDGCN_TRUE=
6223 HAVE_LIBM_MACHINE_AMDGCN_FALSE='#'
6224 else
6225 HAVE_LIBM_MACHINE_AMDGCN_TRUE='#'
6226 HAVE_LIBM_MACHINE_AMDGCN_FALSE=
6229 if test "${libm_machine_dir}" = "arm"; then
6230 HAVE_LIBM_MACHINE_ARM_TRUE=
6231 HAVE_LIBM_MACHINE_ARM_FALSE='#'
6232 else
6233 HAVE_LIBM_MACHINE_ARM_TRUE='#'
6234 HAVE_LIBM_MACHINE_ARM_FALSE=
6237 if test "${libm_machine_dir}" = "i386"; then
6238 HAVE_LIBM_MACHINE_I386_TRUE=
6239 HAVE_LIBM_MACHINE_I386_FALSE='#'
6240 else
6241 HAVE_LIBM_MACHINE_I386_TRUE='#'
6242 HAVE_LIBM_MACHINE_I386_FALSE=
6245 if test "${libm_machine_dir}" = "mips"; then
6246 HAVE_LIBM_MACHINE_MIPS_TRUE=
6247 HAVE_LIBM_MACHINE_MIPS_FALSE='#'
6248 else
6249 HAVE_LIBM_MACHINE_MIPS_TRUE='#'
6250 HAVE_LIBM_MACHINE_MIPS_FALSE=
6253 if test "${libm_machine_dir}" = "nds32"; then
6254 HAVE_LIBM_MACHINE_NDS32_TRUE=
6255 HAVE_LIBM_MACHINE_NDS32_FALSE='#'
6256 else
6257 HAVE_LIBM_MACHINE_NDS32_TRUE='#'
6258 HAVE_LIBM_MACHINE_NDS32_FALSE=
6261 if test "${libm_machine_dir}" = "powerpc"; then
6262 HAVE_LIBM_MACHINE_POWERPC_TRUE=
6263 HAVE_LIBM_MACHINE_POWERPC_FALSE='#'
6264 else
6265 HAVE_LIBM_MACHINE_POWERPC_TRUE='#'
6266 HAVE_LIBM_MACHINE_POWERPC_FALSE=
6269 if test "${libm_machine_dir}" = "pru"; then
6270 HAVE_LIBM_MACHINE_PRU_TRUE=
6271 HAVE_LIBM_MACHINE_PRU_FALSE='#'
6272 else
6273 HAVE_LIBM_MACHINE_PRU_TRUE='#'
6274 HAVE_LIBM_MACHINE_PRU_FALSE=
6277 if test "${libm_machine_dir}" = "sparc"; then
6278 HAVE_LIBM_MACHINE_SPARC_TRUE=
6279 HAVE_LIBM_MACHINE_SPARC_FALSE='#'
6280 else
6281 HAVE_LIBM_MACHINE_SPARC_TRUE='#'
6282 HAVE_LIBM_MACHINE_SPARC_FALSE=
6285 if test "${libm_machine_dir}" = "spu"; then
6286 HAVE_LIBM_MACHINE_SPU_TRUE=
6287 HAVE_LIBM_MACHINE_SPU_FALSE='#'
6288 else
6289 HAVE_LIBM_MACHINE_SPU_TRUE='#'
6290 HAVE_LIBM_MACHINE_SPU_FALSE=
6293 if test "${libm_machine_dir}" = "riscv"; then
6294 HAVE_LIBM_MACHINE_RISCV_TRUE=
6295 HAVE_LIBM_MACHINE_RISCV_FALSE='#'
6296 else
6297 HAVE_LIBM_MACHINE_RISCV_TRUE='#'
6298 HAVE_LIBM_MACHINE_RISCV_FALSE=
6301 if test "${libm_machine_dir}" = "x86_64"; then
6302 HAVE_LIBM_MACHINE_X86_64_TRUE=
6303 HAVE_LIBM_MACHINE_X86_64_FALSE='#'
6304 else
6305 HAVE_LIBM_MACHINE_X86_64_TRUE='#'
6306 HAVE_LIBM_MACHINE_X86_64_FALSE=
6312 if test -z "${with_multisubdir}"; then
6313 have_multisubdir=no
6314 else
6315 have_multisubdir=yes
6317 if test x$have_multisubdir = xno; then
6318 HAVE_DOC_TRUE=
6319 HAVE_DOC_FALSE='#'
6320 else
6321 HAVE_DOC_TRUE='#'
6322 HAVE_DOC_FALSE=
6326 # Some run-time support libraries provided by GCC (e.g. libgomp) use configure
6327 # checks to detect certain features, e.g. availability of thread-local storage.
6328 # The configure script generates a test program and tries to compile and link
6329 # it. It should use target libraries and startfiles of the build tree if
6330 # available and not random ones from the installation prefix for this
6331 # procedure. The search directories specified by -B are a bit special, see
6332 # for_each_path() in gcc.c of the GCC sources. First a search is performed on
6333 # all search paths with the multilib directory appended (if desired), then a
6334 # second search is performed on demand with the base directory only. For each
6335 # multilib there is a "newlib" subdirectory. This directory is specified by a
6336 # -B option for the support libraries. In order to find the newlib artifacts
6337 # (ctr0.o, libc.a, libg.a and libm.a) they must be located in a proper multilib
6338 # subdirectory withing the build directory.
6339 if test x$have_multisubdir = xyes; then
6340 HAVE_MULTISUBDIR_TRUE=
6341 HAVE_MULTISUBDIR_FALSE='#'
6342 else
6343 HAVE_MULTISUBDIR_TRUE='#'
6344 HAVE_MULTISUBDIR_FALSE=
6348 CRT0=
6349 CRT0_DIR=
6350 if test "x${have_crt0}" = "xyes"; then
6351 CRT0=crt0.o
6352 CRT0_DIR=libc/sys/${sys_dir}/
6354 if test x$have_crt0 = xyes; then
6355 HAVE_CRT0_TRUE=
6356 HAVE_CRT0_FALSE='#'
6357 else
6358 HAVE_CRT0_TRUE='#'
6359 HAVE_CRT0_FALSE=
6365 CRT1=${crt1}
6366 CRT1_DIR=
6367 if test -n "${crt1_dir}"; then
6368 CRT1_DIR=${crt1_dir}/
6373 # Put a plausible default for CC_FOR_BUILD in Makefile.
6374 if test -z "$CC_FOR_BUILD"; then
6375 if test "x$cross_compiling" = "xno"; then
6376 CC_FOR_BUILD='$(CC)'
6377 else
6378 CC_FOR_BUILD=gcc
6383 # Also set EXEEXT_FOR_BUILD.
6384 if test "x$cross_compiling" = "xno"; then
6385 EXEEXT_FOR_BUILD='$(EXEEXT)'
6386 else
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build system executable suffix" >&5
6388 $as_echo_n "checking for build system executable suffix... " >&6; }
6389 if ${newlib_cv_build_exeext+:} false; then :
6390 $as_echo_n "(cached) " >&6
6391 else
6392 cat > ac_c_test.c << 'EOF'
6393 int main() {
6394 /* Nothing needed here */
6397 ${CC_FOR_BUILD} -o ac_c_test am_c_test.c 1>&5 2>&5
6398 newlib_cv_build_exeext=`echo ac_c_test.* | grep -v ac_c_test.c | sed -e s/ac_c_test//`
6399 rm -f ac_c_test*
6400 test x"${newlib_cv_build_exeext}" = x && newlib_cv_build_exeext=no
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $newlib_cv_build_exeext" >&5
6403 $as_echo "$newlib_cv_build_exeext" >&6; }
6404 EXEEXT_FOR_BUILD=""
6405 test x"${newlib_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${newlib_cv_build_exeext}
6410 $as_echo "#define _NEWLIB_VERSION \"4.3.0\"" >>confdefs.h
6413 $as_echo "#define __NEWLIB__ 4" >>confdefs.h
6416 $as_echo "#define __NEWLIB_MINOR__ 3" >>confdefs.h
6419 $as_echo "#define __NEWLIB_PATCHLEVEL__ 0" >>confdefs.h
6422 if test "${newlib_elix_level}" -gt "0"; then
6424 cat >>confdefs.h <<_ACEOF
6425 #define _ELIX_LEVEL ${newlib_elix_level}
6426 _ACEOF
6430 if test "${newlib_reent_check_verify}" = "yes"; then
6432 $as_echo "#define _REENT_CHECK_VERIFY 1" >>confdefs.h
6436 if test "${newlib_io_c99_formats}" = "yes"; then
6438 $as_echo "#define _WANT_IO_C99_FORMATS 1" >>confdefs.h
6442 if test "${newlib_register_fini}" = "yes"; then
6444 $as_echo "#define _WANT_REGISTER_FINI 1" >>confdefs.h
6448 if test "${newlib_io_long_long}" = "yes"; then
6450 $as_echo "#define _WANT_IO_LONG_LONG 1" >>confdefs.h
6454 if test "${newlib_io_long_double}" = "yes"; then
6456 $as_echo "#define _WANT_IO_LONG_DOUBLE 1" >>confdefs.h
6460 if test "${newlib_io_pos_args}" = "yes"; then
6462 $as_echo "#define _WANT_IO_POS_ARGS 1" >>confdefs.h
6466 if test "${newlib_reent_small}" = "yes"; then
6468 $as_echo "#define _WANT_REENT_SMALL 1" >>confdefs.h
6472 if test "${newlib_reent_binary_compat}" = "yes"; then
6474 $as_echo "#define _WANT_REENT_BACKWARD_BINARY_COMPAT 1" >>confdefs.h
6478 if test "${newlib_reent_thread_local}" = "yes"; then
6480 $as_echo "#define _WANT_REENT_THREAD_LOCAL 1" >>confdefs.h
6484 _mb_len_max=1
6485 if test "${newlib_mb}" = "yes"; then
6487 $as_echo "#define _MB_CAPABLE 1" >>confdefs.h
6489 _mb_len_max=8
6492 cat >>confdefs.h <<_ACEOF
6493 #define _MB_LEN_MAX $_mb_len_max
6494 _ACEOF
6502 if test "${newlib_iconv}" = "yes"; then
6504 $as_echo "#define _ICONV_ENABLED 1" >>confdefs.h
6508 if test "x${newlib_iconv_external_ccs}" = "xyes"; then
6509 if test "x${newlib_iconv}" = "x"; then
6510 as_fn_error use --enable-newlib-iconv to enable it. "--enable-newlib-iconv-external-ccs option can't be used if iconv library is disabled" "$LINENO" 5
6513 $as_echo "#define _ICONV_ENABLE_EXTERNAL_CCS 1" >>confdefs.h
6517 if test "${newlib_atexit_dynamic_alloc}" = "yes"; then
6519 $as_echo "#define _ATEXIT_DYNAMIC_ALLOC 1" >>confdefs.h
6523 if test "${newlib_fvwrite_in_streamio}" = "yes"; then
6525 $as_echo "#define _FVWRITE_IN_STREAMIO 1" >>confdefs.h
6529 if test "${newlib_fseek_optimization}" = "yes"; then
6531 $as_echo "#define _FSEEK_OPTIMIZATION 1" >>confdefs.h
6535 if test "${newlib_wide_orient}" = "yes"; then
6537 $as_echo "#define _WIDE_ORIENT 1" >>confdefs.h
6541 if test "${newlib_nano_malloc}" = "yes"; then
6543 $as_echo "#define _NANO_MALLOC 1" >>confdefs.h
6547 if test "${newlib_unbuf_stream_opt}" = "yes"; then
6549 $as_echo "#define _UNBUF_STREAM_OPT 1" >>confdefs.h
6553 if test "${lite_exit}" = "yes"; then
6555 $as_echo "#define _LITE_EXIT 1" >>confdefs.h
6559 if test "${newlib_nano_formatted_io}" = "yes"; then
6561 $as_echo "#define _NANO_FORMATTED_IO 1" >>confdefs.h
6565 if test "${newlib_retargetable_locking}" = "yes"; then
6567 $as_echo "#define _RETARGETABLE_LOCKING 1" >>confdefs.h
6571 if test "${newlib_long_time_t}" = "yes"; then
6573 $as_echo "#define _WANT_USE_LONG_TIME_T 1" >>confdefs.h
6577 if test "${newlib_use_gdtoa}" = "yes"; then
6579 $as_echo "#define _WANT_USE_GDTOA 1" >>confdefs.h
6584 if test "x${iconv_encodings}" != "x" \
6585 || test "x${iconv_to_encodings}" != "x" \
6586 || test "x${iconv_from_encodings}" != "x"; then
6587 if test "x${newlib_iconv}" = "x"; then
6588 as_fn_error $? "--enable-newlib-iconv-encodings, --enable-newlib-iconv-from-encodings and --enable-newlib-iconv-to-encodings option can't be used if iconv library is disabled, use --enable-newlib-iconv to enable it." "$LINENO" 5
6591 iconv_encodings=`echo "${iconv_encodings}" | sed -e 's/,/ /g' -e 's/-/_/g' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
6592 iconv_to_encodings=`echo "${iconv_to_encodings}" | sed -e 's/,/ /g' -e 's/-/_/g' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
6593 iconv_from_encodings=`echo "${iconv_from_encodings}" | sed -e 's/,/ /g' -e 's/-/_/g' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
6595 available_encodings=`cat "${srcdir}/libc/iconv/encoding.aliases" | sed -e '/^#.*/d'`
6598 iconv_encodings1="${iconv_encodings}"
6599 iconv_encodings=""
6600 for encoding in ${iconv_encodings1}; do
6601 result=`echo "${available_encodings}" | grep -e "\(^\| \)${encoding}\( \|\$\)"`
6602 if test $? != "0"; then
6603 as_fn_error $? "${encoding} is not supported - see ${srcdir}/libc/iconv/encoding.aliases file for the list of available encodings" "$LINENO" 5
6605 encoding1=`echo "${result}" | sed -e 's/\(^[^ ]*\).*$/\1/'`
6606 iconv_encodings="${iconv_encodings} ${encoding1}"
6607 done
6608 for encoding in ${iconv_encodings}; do
6609 opt=_ICONV_TO_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6610 eval "$opt=1"
6611 opt=_ICONV_FROM_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6612 eval "$opt=1"
6613 done
6615 iconv_encodings1="${iconv_to_encodings}"
6616 iconv_to_encodings=""
6617 for encoding in ${iconv_encodings1}; do
6618 result=`echo "${available_encodings}" | grep -e "\(^\| \)${encoding}\( \|\$\)"`
6619 if test $? != "0"; then
6620 as_fn_error $? "${encoding} is not supported - see ${srcdir}/libc/iconv/encoding.aliases file for the list of available encodings" "$LINENO" 5
6622 encoding1=`echo "${result}" | sed -e 's/\(^[^ ]*\).*$/\1/'`
6623 iconv_to_encodings="${iconv_to_encodings} ${encoding1}"
6624 done
6625 for encoding in ${iconv_to_encodings}; do
6626 opt=_ICONV_TO_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6627 eval "$opt=1"
6628 done
6630 iconv_encodings1="${iconv_from_encodings}"
6631 iconv_from_encodings=""
6632 for encoding in ${iconv_encodings1}; do
6633 result=`echo "${available_encodings}" | grep -e "\(^\| \)${encoding}\( \|\$\)"`
6634 if test $? != "0"; then
6635 as_fn_error $? "${encoding} is not supported - see ${srcdir}/libc/iconv/encoding.aliases file for the list of available encodings" "$LINENO" 5
6637 encoding1=`echo "${result}" | sed -e 's/\(^[^ ]*\).*$/\1/'`
6638 iconv_from_encodings="${iconv_from_encodings} ${encoding1}"
6639 done
6640 for encoding in ${iconv_from_encodings}; do
6641 opt=_ICONV_FROM_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6642 eval "$opt=1"
6643 done
6645 if test "$_ICONV_TO_ENCODING_BIG5" = 1; then
6647 $as_echo "#define _ICONV_TO_ENCODING_BIG5 1" >>confdefs.h
6650 if test "$_ICONV_FROM_ENCODING_BIG5" = 1; then
6652 $as_echo "#define _ICONV_FROM_ENCODING_BIG5 1" >>confdefs.h
6655 if test "$_ICONV_TO_ENCODING_CP775" = 1; then
6657 $as_echo "#define _ICONV_TO_ENCODING_CP775 1" >>confdefs.h
6660 if test "$_ICONV_FROM_ENCODING_CP775" = 1; then
6662 $as_echo "#define _ICONV_FROM_ENCODING_CP775 1" >>confdefs.h
6665 if test "$_ICONV_TO_ENCODING_CP850" = 1; then
6667 $as_echo "#define _ICONV_TO_ENCODING_CP850 1" >>confdefs.h
6670 if test "$_ICONV_FROM_ENCODING_CP850" = 1; then
6672 $as_echo "#define _ICONV_FROM_ENCODING_CP850 1" >>confdefs.h
6675 if test "$_ICONV_TO_ENCODING_CP852" = 1; then
6677 $as_echo "#define _ICONV_TO_ENCODING_CP852 1" >>confdefs.h
6680 if test "$_ICONV_FROM_ENCODING_CP852" = 1; then
6682 $as_echo "#define _ICONV_FROM_ENCODING_CP852 1" >>confdefs.h
6685 if test "$_ICONV_TO_ENCODING_CP855" = 1; then
6687 $as_echo "#define _ICONV_TO_ENCODING_CP855 1" >>confdefs.h
6690 if test "$_ICONV_FROM_ENCODING_CP855" = 1; then
6692 $as_echo "#define _ICONV_FROM_ENCODING_CP855 1" >>confdefs.h
6695 if test "$_ICONV_TO_ENCODING_CP866" = 1; then
6697 $as_echo "#define _ICONV_TO_ENCODING_CP866 1" >>confdefs.h
6700 if test "$_ICONV_FROM_ENCODING_CP866" = 1; then
6702 $as_echo "#define _ICONV_FROM_ENCODING_CP866 1" >>confdefs.h
6705 if test "$_ICONV_TO_ENCODING_EUC_JP" = 1; then
6707 $as_echo "#define _ICONV_TO_ENCODING_EUC_JP 1" >>confdefs.h
6710 if test "$_ICONV_FROM_ENCODING_EUC_JP" = 1; then
6712 $as_echo "#define _ICONV_FROM_ENCODING_EUC_JP 1" >>confdefs.h
6715 if test "$_ICONV_TO_ENCODING_EUC_KR" = 1; then
6717 $as_echo "#define _ICONV_TO_ENCODING_EUC_KR 1" >>confdefs.h
6720 if test "$_ICONV_FROM_ENCODING_EUC_KR" = 1; then
6722 $as_echo "#define _ICONV_FROM_ENCODING_EUC_KR 1" >>confdefs.h
6725 if test "$_ICONV_TO_ENCODING_EUC_TW" = 1; then
6727 $as_echo "#define _ICONV_TO_ENCODING_EUC_TW 1" >>confdefs.h
6730 if test "$_ICONV_FROM_ENCODING_EUC_TW" = 1; then
6732 $as_echo "#define _ICONV_FROM_ENCODING_EUC_TW 1" >>confdefs.h
6735 if test "$_ICONV_TO_ENCODING_ISO_8859_1" = 1; then
6737 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_1 1" >>confdefs.h
6740 if test "$_ICONV_FROM_ENCODING_ISO_8859_1" = 1; then
6742 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_1 1" >>confdefs.h
6745 if test "$_ICONV_TO_ENCODING_ISO_8859_10" = 1; then
6747 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_10 1" >>confdefs.h
6750 if test "$_ICONV_FROM_ENCODING_ISO_8859_10" = 1; then
6752 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_10 1" >>confdefs.h
6755 if test "$_ICONV_TO_ENCODING_ISO_8859_11" = 1; then
6757 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_11 1" >>confdefs.h
6760 if test "$_ICONV_FROM_ENCODING_ISO_8859_11" = 1; then
6762 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_11 1" >>confdefs.h
6765 if test "$_ICONV_TO_ENCODING_ISO_8859_13" = 1; then
6767 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_13 1" >>confdefs.h
6770 if test "$_ICONV_FROM_ENCODING_ISO_8859_13" = 1; then
6772 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_13 1" >>confdefs.h
6775 if test "$_ICONV_TO_ENCODING_ISO_8859_14" = 1; then
6777 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_14 1" >>confdefs.h
6780 if test "$_ICONV_FROM_ENCODING_ISO_8859_14" = 1; then
6782 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_14 1" >>confdefs.h
6785 if test "$_ICONV_TO_ENCODING_ISO_8859_15" = 1; then
6787 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_15 1" >>confdefs.h
6790 if test "$_ICONV_FROM_ENCODING_ISO_8859_15" = 1; then
6792 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_15 1" >>confdefs.h
6795 if test "$_ICONV_TO_ENCODING_ISO_8859_2" = 1; then
6797 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_2 1" >>confdefs.h
6800 if test "$_ICONV_FROM_ENCODING_ISO_8859_2" = 1; then
6802 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_2 1" >>confdefs.h
6805 if test "$_ICONV_TO_ENCODING_ISO_8859_3" = 1; then
6807 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_3 1" >>confdefs.h
6810 if test "$_ICONV_FROM_ENCODING_ISO_8859_3" = 1; then
6812 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_3 1" >>confdefs.h
6815 if test "$_ICONV_TO_ENCODING_ISO_8859_4" = 1; then
6817 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_4 1" >>confdefs.h
6820 if test "$_ICONV_FROM_ENCODING_ISO_8859_4" = 1; then
6822 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_4 1" >>confdefs.h
6825 if test "$_ICONV_TO_ENCODING_ISO_8859_5" = 1; then
6827 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_5 1" >>confdefs.h
6830 if test "$_ICONV_FROM_ENCODING_ISO_8859_5" = 1; then
6832 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_5 1" >>confdefs.h
6835 if test "$_ICONV_TO_ENCODING_ISO_8859_6" = 1; then
6837 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_6 1" >>confdefs.h
6840 if test "$_ICONV_FROM_ENCODING_ISO_8859_6" = 1; then
6842 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_6 1" >>confdefs.h
6845 if test "$_ICONV_TO_ENCODING_ISO_8859_7" = 1; then
6847 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_7 1" >>confdefs.h
6850 if test "$_ICONV_FROM_ENCODING_ISO_8859_7" = 1; then
6852 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_7 1" >>confdefs.h
6855 if test "$_ICONV_TO_ENCODING_ISO_8859_8" = 1; then
6857 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_8 1" >>confdefs.h
6860 if test "$_ICONV_FROM_ENCODING_ISO_8859_8" = 1; then
6862 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_8 1" >>confdefs.h
6865 if test "$_ICONV_TO_ENCODING_ISO_8859_9" = 1; then
6867 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_9 1" >>confdefs.h
6870 if test "$_ICONV_FROM_ENCODING_ISO_8859_9" = 1; then
6872 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_9 1" >>confdefs.h
6875 if test "$_ICONV_TO_ENCODING_ISO_IR_111" = 1; then
6877 $as_echo "#define _ICONV_TO_ENCODING_ISO_IR_111 1" >>confdefs.h
6880 if test "$_ICONV_FROM_ENCODING_ISO_IR_111" = 1; then
6882 $as_echo "#define _ICONV_FROM_ENCODING_ISO_IR_111 1" >>confdefs.h
6885 if test "$_ICONV_TO_ENCODING_KOI8_R" = 1; then
6887 $as_echo "#define _ICONV_TO_ENCODING_KOI8_R 1" >>confdefs.h
6890 if test "$_ICONV_FROM_ENCODING_KOI8_R" = 1; then
6892 $as_echo "#define _ICONV_FROM_ENCODING_KOI8_R 1" >>confdefs.h
6895 if test "$_ICONV_TO_ENCODING_KOI8_RU" = 1; then
6897 $as_echo "#define _ICONV_TO_ENCODING_KOI8_RU 1" >>confdefs.h
6900 if test "$_ICONV_FROM_ENCODING_KOI8_RU" = 1; then
6902 $as_echo "#define _ICONV_FROM_ENCODING_KOI8_RU 1" >>confdefs.h
6905 if test "$_ICONV_TO_ENCODING_KOI8_U" = 1; then
6907 $as_echo "#define _ICONV_TO_ENCODING_KOI8_U 1" >>confdefs.h
6910 if test "$_ICONV_FROM_ENCODING_KOI8_U" = 1; then
6912 $as_echo "#define _ICONV_FROM_ENCODING_KOI8_U 1" >>confdefs.h
6915 if test "$_ICONV_TO_ENCODING_KOI8_UNI" = 1; then
6917 $as_echo "#define _ICONV_TO_ENCODING_KOI8_UNI 1" >>confdefs.h
6920 if test "$_ICONV_FROM_ENCODING_KOI8_UNI" = 1; then
6922 $as_echo "#define _ICONV_FROM_ENCODING_KOI8_UNI 1" >>confdefs.h
6925 if test "$_ICONV_TO_ENCODING_UCS_2" = 1; then
6927 $as_echo "#define _ICONV_TO_ENCODING_UCS_2 1" >>confdefs.h
6930 if test "$_ICONV_FROM_ENCODING_UCS_2" = 1; then
6932 $as_echo "#define _ICONV_FROM_ENCODING_UCS_2 1" >>confdefs.h
6935 if test "$_ICONV_TO_ENCODING_UCS_2_INTERNAL" = 1; then
6937 $as_echo "#define _ICONV_TO_ENCODING_UCS_2_INTERNAL 1" >>confdefs.h
6940 if test "$_ICONV_FROM_ENCODING_UCS_2_INTERNAL" = 1; then
6942 $as_echo "#define _ICONV_FROM_ENCODING_UCS_2_INTERNAL 1" >>confdefs.h
6945 if test "$_ICONV_TO_ENCODING_UCS_2BE" = 1; then
6947 $as_echo "#define _ICONV_TO_ENCODING_UCS_2BE 1" >>confdefs.h
6950 if test "$_ICONV_FROM_ENCODING_UCS_2BE" = 1; then
6952 $as_echo "#define _ICONV_FROM_ENCODING_UCS_2BE 1" >>confdefs.h
6955 if test "$_ICONV_TO_ENCODING_UCS_2LE" = 1; then
6957 $as_echo "#define _ICONV_TO_ENCODING_UCS_2LE 1" >>confdefs.h
6960 if test "$_ICONV_FROM_ENCODING_UCS_2LE" = 1; then
6962 $as_echo "#define _ICONV_FROM_ENCODING_UCS_2LE 1" >>confdefs.h
6965 if test "$_ICONV_TO_ENCODING_UCS_4" = 1; then
6967 $as_echo "#define _ICONV_TO_ENCODING_UCS_4 1" >>confdefs.h
6970 if test "$_ICONV_FROM_ENCODING_UCS_4" = 1; then
6972 $as_echo "#define _ICONV_FROM_ENCODING_UCS_4 1" >>confdefs.h
6975 if test "$_ICONV_TO_ENCODING_UCS_4_INTERNAL" = 1; then
6977 $as_echo "#define _ICONV_TO_ENCODING_UCS_4_INTERNAL 1" >>confdefs.h
6980 if test "$_ICONV_FROM_ENCODING_UCS_4_INTERNAL" = 1; then
6982 $as_echo "#define _ICONV_FROM_ENCODING_UCS_4_INTERNAL 1" >>confdefs.h
6985 if test "$_ICONV_TO_ENCODING_UCS_4BE" = 1; then
6987 $as_echo "#define _ICONV_TO_ENCODING_UCS_4BE 1" >>confdefs.h
6990 if test "$_ICONV_FROM_ENCODING_UCS_4BE" = 1; then
6992 $as_echo "#define _ICONV_FROM_ENCODING_UCS_4BE 1" >>confdefs.h
6995 if test "$_ICONV_TO_ENCODING_UCS_4LE" = 1; then
6997 $as_echo "#define _ICONV_TO_ENCODING_UCS_4LE 1" >>confdefs.h
7000 if test "$_ICONV_FROM_ENCODING_UCS_4LE" = 1; then
7002 $as_echo "#define _ICONV_FROM_ENCODING_UCS_4LE 1" >>confdefs.h
7005 if test "$_ICONV_TO_ENCODING_US_ASCII" = 1; then
7007 $as_echo "#define _ICONV_TO_ENCODING_US_ASCII 1" >>confdefs.h
7010 if test "$_ICONV_FROM_ENCODING_US_ASCII" = 1; then
7012 $as_echo "#define _ICONV_FROM_ENCODING_US_ASCII 1" >>confdefs.h
7015 if test "$_ICONV_TO_ENCODING_UTF_16" = 1; then
7017 $as_echo "#define _ICONV_TO_ENCODING_UTF_16 1" >>confdefs.h
7020 if test "$_ICONV_FROM_ENCODING_UTF_16" = 1; then
7022 $as_echo "#define _ICONV_FROM_ENCODING_UTF_16 1" >>confdefs.h
7025 if test "$_ICONV_TO_ENCODING_UTF_16BE" = 1; then
7027 $as_echo "#define _ICONV_TO_ENCODING_UTF_16BE 1" >>confdefs.h
7030 if test "$_ICONV_FROM_ENCODING_UTF_16BE" = 1; then
7032 $as_echo "#define _ICONV_FROM_ENCODING_UTF_16BE 1" >>confdefs.h
7035 if test "$_ICONV_TO_ENCODING_UTF_16LE" = 1; then
7037 $as_echo "#define _ICONV_TO_ENCODING_UTF_16LE 1" >>confdefs.h
7040 if test "$_ICONV_FROM_ENCODING_UTF_16LE" = 1; then
7042 $as_echo "#define _ICONV_FROM_ENCODING_UTF_16LE 1" >>confdefs.h
7045 if test "$_ICONV_TO_ENCODING_UTF_8" = 1; then
7047 $as_echo "#define _ICONV_TO_ENCODING_UTF_8 1" >>confdefs.h
7050 if test "$_ICONV_FROM_ENCODING_UTF_8" = 1; then
7052 $as_echo "#define _ICONV_FROM_ENCODING_UTF_8 1" >>confdefs.h
7055 if test "$_ICONV_TO_ENCODING_WIN_1250" = 1; then
7057 $as_echo "#define _ICONV_TO_ENCODING_WIN_1250 1" >>confdefs.h
7060 if test "$_ICONV_FROM_ENCODING_WIN_1250" = 1; then
7062 $as_echo "#define _ICONV_FROM_ENCODING_WIN_1250 1" >>confdefs.h
7065 if test "$_ICONV_TO_ENCODING_WIN_1251" = 1; then
7067 $as_echo "#define _ICONV_TO_ENCODING_WIN_1251 1" >>confdefs.h
7070 if test "$_ICONV_FROM_ENCODING_WIN_1251" = 1; then
7072 $as_echo "#define _ICONV_FROM_ENCODING_WIN_1251 1" >>confdefs.h
7075 if test "$_ICONV_TO_ENCODING_WIN_1252" = 1; then
7077 $as_echo "#define _ICONV_TO_ENCODING_WIN_1252 1" >>confdefs.h
7080 if test "$_ICONV_FROM_ENCODING_WIN_1252" = 1; then
7082 $as_echo "#define _ICONV_FROM_ENCODING_WIN_1252 1" >>confdefs.h
7085 if test "$_ICONV_TO_ENCODING_WIN_1253" = 1; then
7087 $as_echo "#define _ICONV_TO_ENCODING_WIN_1253 1" >>confdefs.h
7090 if test "$_ICONV_FROM_ENCODING_WIN_1253" = 1; then
7092 $as_echo "#define _ICONV_FROM_ENCODING_WIN_1253 1" >>confdefs.h
7095 if test "$_ICONV_TO_ENCODING_WIN_1254" = 1; then
7097 $as_echo "#define _ICONV_TO_ENCODING_WIN_1254 1" >>confdefs.h
7100 if test "$_ICONV_FROM_ENCODING_WIN_1254" = 1; then
7102 $as_echo "#define _ICONV_FROM_ENCODING_WIN_1254 1" >>confdefs.h
7105 if test "$_ICONV_TO_ENCODING_WIN_1255" = 1; then
7107 $as_echo "#define _ICONV_TO_ENCODING_WIN_1255 1" >>confdefs.h
7110 if test "$_ICONV_FROM_ENCODING_WIN_1255" = 1; then
7112 $as_echo "#define _ICONV_FROM_ENCODING_WIN_1255 1" >>confdefs.h
7115 if test "$_ICONV_TO_ENCODING_WIN_1256" = 1; then
7117 $as_echo "#define _ICONV_TO_ENCODING_WIN_1256 1" >>confdefs.h
7120 if test "$_ICONV_FROM_ENCODING_WIN_1256" = 1; then
7122 $as_echo "#define _ICONV_FROM_ENCODING_WIN_1256 1" >>confdefs.h
7125 if test "$_ICONV_TO_ENCODING_WIN_1257" = 1; then
7127 $as_echo "#define _ICONV_TO_ENCODING_WIN_1257 1" >>confdefs.h
7130 if test "$_ICONV_FROM_ENCODING_WIN_1257" = 1; then
7132 $as_echo "#define _ICONV_FROM_ENCODING_WIN_1257 1" >>confdefs.h
7135 if test "$_ICONV_TO_ENCODING_WIN_1258" = 1; then
7137 $as_echo "#define _ICONV_TO_ENCODING_WIN_1258 1" >>confdefs.h
7140 if test "$_ICONV_FROM_ENCODING_WIN_1258" = 1; then
7142 $as_echo "#define _ICONV_FROM_ENCODING_WIN_1258 1" >>confdefs.h
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .preinit_array/.init_array/.fini_array support" >&5
7148 $as_echo_n "checking for .preinit_array/.init_array/.fini_array support... " >&6; }
7149 if ${newlib_cv_initfinit_array+:} false; then :
7150 $as_echo_n "(cached) " >&6
7151 else
7152 cat > conftest.c <<EOF
7153 int _start (void) { return 0; }
7154 int __start (void) { return 0; }
7155 int foo (void) { return 1; }
7156 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
7158 if { ac_try='${CC} $CFLAGS $CPPFLAGS -c -o conftest conftest.c
7159 1>&5'
7160 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
7161 (eval $ac_try) 2>&5
7162 ac_status=$?
7163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7164 test $ac_status = 0; }; }
7165 then
7166 if ${READELF} -S conftest | grep -e INIT_ARRAY > /dev/null; then
7167 newlib_cv_initfinit_array=yes
7168 else
7169 newlib_cv_initfinit_array=no
7171 else
7172 newlib_cv_initfinit_array=no
7174 rm -f conftest*
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $newlib_cv_initfinit_array" >&5
7177 $as_echo "$newlib_cv_initfinit_array" >&6; }
7178 if test $newlib_cv_initfinit_array = yes; then
7180 $as_echo "#define _HAVE_INITFINI_ARRAY 1" >>confdefs.h
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fno-tree-loop-distribute-patterns with \
7185 __attribute__ ((__optimize__))" >&5
7186 $as_echo_n "checking if $CC accepts -fno-tree-loop-distribute-patterns with \
7187 __attribute__ ((__optimize__))... " >&6; }
7188 if ${newlib_cv_cc_loop_to_function+:} false; then :
7189 $as_echo_n "(cached) " >&6
7190 else
7191 cat > conftest.c <<EOF
7192 void
7193 __attribute__ ((__optimize__ ("-fno-tree-loop-distribute-patterns")))
7194 foo (void) {}
7196 newlib_cv_cc_loop_to_function=no
7197 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -c
7198 -fno-tree-loop-distribute-patterns conftest.c'
7199 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
7200 (eval $ac_try) 2>&5
7201 ac_status=$?
7202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7203 test $ac_status = 0; }; }
7204 then
7205 newlib_cv_cc_loop_to_function=yes
7207 rm -f conftest*
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $newlib_cv_cc_loop_to_function" >&5
7210 $as_echo "$newlib_cv_cc_loop_to_function" >&6; }
7211 if test $newlib_cv_cc_loop_to_function = yes; then
7213 $as_echo "#define _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1" >>confdefs.h
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double" >&5
7219 $as_echo_n "checking for long double... " >&6; }
7220 if ${ac_cv_type_long_double+:} false; then :
7221 $as_echo_n "(cached) " >&6
7222 else
7223 if test "$GCC" = yes; then
7224 ac_cv_type_long_double=yes
7225 else
7226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7227 /* end confdefs.h. */
7228 /* The Stardent Vistra knows sizeof (long double), but does
7229 not support it. */
7230 long double foo = 0.0L;
7232 main ()
7234 static int test_array [1 - 2 * !(/* On Ultrix 4.3 cc, long double is 4 and double is 8. */
7235 sizeof (double) <= sizeof (long double))];
7236 test_array [0] = 0;
7237 return test_array [0];
7240 return 0;
7242 _ACEOF
7243 if ac_fn_c_try_compile "$LINENO"; then :
7244 ac_cv_type_long_double=yes
7245 else
7246 ac_cv_type_long_double=no
7248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_double" >&5
7252 $as_echo "$ac_cv_type_long_double" >&6; }
7253 if test $ac_cv_type_long_double = yes; then
7255 $as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
7259 if test $ac_cv_type_long_double = yes; then
7261 $as_echo "#define _HAVE_LONG_DOUBLE 1" >>confdefs.h
7264 if test x"$ac_cv_type_long_double" = x"yes"; then
7265 HAVE_LONG_DOUBLE_TRUE=
7266 HAVE_LONG_DOUBLE_FALSE='#'
7267 else
7268 HAVE_LONG_DOUBLE_TRUE='#'
7269 HAVE_LONG_DOUBLE_FALSE=
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether long double equals double" >&5
7274 $as_echo_n "checking whether long double equals double... " >&6; }
7275 if ${newlib_cv_ldbl_eq_dbl+:} false; then :
7276 $as_echo_n "(cached) " >&6
7277 else
7278 cat > conftest.c <<EOF
7279 #include <float.h>
7280 #if DBL_MANT_DIG == LDBL_MANT_DIG && LDBL_MIN_EXP == DBL_MIN_EXP && \
7281 LDBL_MAX_EXP == DBL_MAX_EXP
7282 #define _LDBL_EQ_DBL
7283 #else
7284 #error "LDBL != DBL"
7285 #endif
7287 if { ac_try='${CC} $CFLAGS $CPPFLAGS -c -o conftest.o conftest.c
7288 1>&5'
7289 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
7290 (eval $ac_try) 2>&5
7291 ac_status=$?
7292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7293 test $ac_status = 0; }; }
7294 then
7295 newlib_cv_ldbl_eq_dbl=yes;
7296 else
7297 newlib_cv_ldbl_eq_dbl=no;
7299 rm -f conftest*
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $newlib_cv_ldbl_eq_dbl" >&5
7302 $as_echo "$newlib_cv_ldbl_eq_dbl" >&6; }
7303 if test $newlib_cv_ldbl_eq_dbl = yes; then
7305 $as_echo "#define _LDBL_EQ_DBL 1" >>confdefs.h
7309 ac_config_files="$ac_config_files Makefile"
7311 cat >confcache <<\_ACEOF
7312 # This file is a shell script that caches the results of configure
7313 # tests run on this system so they can be shared between configure
7314 # scripts and configure runs, see configure's option --config-cache.
7315 # It is not useful on other systems. If it contains results you don't
7316 # want to keep, you may remove or edit it.
7318 # config.status only pays attention to the cache file if you give it
7319 # the --recheck option to rerun configure.
7321 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7322 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7323 # following values.
7325 _ACEOF
7327 # The following way of writing the cache mishandles newlines in values,
7328 # but we know of no workaround that is simple, portable, and efficient.
7329 # So, we kill variables containing newlines.
7330 # Ultrix sh set writes to stderr and can't be redirected directly,
7331 # and sets the high bit in the cache file unless we assign to the vars.
7333 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7334 eval ac_val=\$$ac_var
7335 case $ac_val in #(
7336 *${as_nl}*)
7337 case $ac_var in #(
7338 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7339 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7340 esac
7341 case $ac_var in #(
7342 _ | IFS | as_nl) ;; #(
7343 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7344 *) { eval $ac_var=; unset $ac_var;} ;;
7345 esac ;;
7346 esac
7347 done
7349 (set) 2>&1 |
7350 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7351 *${as_nl}ac_space=\ *)
7352 # `set' does not quote correctly, so add quotes: double-quote
7353 # substitution turns \\\\ into \\, and sed turns \\ into \.
7354 sed -n \
7355 "s/'/'\\\\''/g;
7356 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7357 ;; #(
7359 # `set' quotes correctly as required by POSIX, so do not add quotes.
7360 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7362 esac |
7363 sort
7365 sed '
7366 /^ac_cv_env_/b end
7367 t clear
7368 :clear
7369 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7370 t end
7371 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7372 :end' >>confcache
7373 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7374 if test -w "$cache_file"; then
7375 if test "x$cache_file" != "x/dev/null"; then
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7377 $as_echo "$as_me: updating cache $cache_file" >&6;}
7378 if test ! -f "$cache_file" || test -h "$cache_file"; then
7379 cat confcache >"$cache_file"
7380 else
7381 case $cache_file in #(
7382 */* | ?:*)
7383 mv -f confcache "$cache_file"$$ &&
7384 mv -f "$cache_file"$$ "$cache_file" ;; #(
7386 mv -f confcache "$cache_file" ;;
7387 esac
7390 else
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7392 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7395 rm -f confcache
7397 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7398 # Let make expand exec_prefix.
7399 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7401 DEFS=-DHAVE_CONFIG_H
7403 ac_libobjs=
7404 ac_ltlibobjs=
7406 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7407 # 1. Remove the extension, and $U if already installed.
7408 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7409 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7410 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7411 # will be set to the directory where LIBOBJS objects are built.
7412 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7413 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7414 done
7415 LIBOBJS=$ac_libobjs
7417 LTLIBOBJS=$ac_ltlibobjs
7420 if test -z "${NEWLIB_NANO_MALLOC_TRUE}" && test -z "${NEWLIB_NANO_MALLOC_FALSE}"; then
7421 as_fn_error $? "conditional \"NEWLIB_NANO_MALLOC\" was never defined.
7422 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7424 if test -z "${NEWLIB_NANO_FORMATTED_IO_TRUE}" && test -z "${NEWLIB_NANO_FORMATTED_IO_FALSE}"; then
7425 as_fn_error $? "conditional \"NEWLIB_NANO_FORMATTED_IO\" was never defined.
7426 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7428 if test -z "${NEWLIB_RETARGETABLE_LOCKING_TRUE}" && test -z "${NEWLIB_RETARGETABLE_LOCKING_FALSE}"; then
7429 as_fn_error $? "conditional \"NEWLIB_RETARGETABLE_LOCKING\" was never defined.
7430 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7432 if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
7433 as_fn_error $? "conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
7434 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
7437 $as_echo_n "checking that generated files are newer than configure... " >&6; }
7438 if test -n "$am_sleep_pid"; then
7439 # Hide warnings about reused PIDs.
7440 wait $am_sleep_pid 2>/dev/null
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
7443 $as_echo "done" >&6; }
7444 if test -n "$EXEEXT"; then
7445 am__EXEEXT_TRUE=
7446 am__EXEEXT_FALSE='#'
7447 else
7448 am__EXEEXT_TRUE='#'
7449 am__EXEEXT_FALSE=
7452 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7453 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
7454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7456 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7457 as_fn_error $? "conditional \"AMDEP\" was never defined.
7458 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7460 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7461 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7462 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7464 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
7465 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
7466 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7468 if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
7469 as_fn_error $? "conditional \"ELIX_LEVEL_0\" was never defined.
7470 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7472 if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
7473 as_fn_error $? "conditional \"ELIX_LEVEL_1\" was never defined.
7474 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7476 if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
7477 as_fn_error $? "conditional \"ELIX_LEVEL_2\" was never defined.
7478 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7480 if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
7481 as_fn_error $? "conditional \"ELIX_LEVEL_3\" was never defined.
7482 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7484 if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
7485 as_fn_error $? "conditional \"ELIX_LEVEL_4\" was never defined.
7486 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7488 if test -z "${NEWLIB_HW_FP_TRUE}" && test -z "${NEWLIB_HW_FP_FALSE}"; then
7489 as_fn_error $? "conditional \"NEWLIB_HW_FP\" was never defined.
7490 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7492 if test -z "${HAVE_SIGNAL_DIR_TRUE}" && test -z "${HAVE_SIGNAL_DIR_FALSE}"; then
7493 as_fn_error $? "conditional \"HAVE_SIGNAL_DIR\" was never defined.
7494 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7496 if test -z "${HAVE_STDIO_DIR_TRUE}" && test -z "${HAVE_STDIO_DIR_FALSE}"; then
7497 as_fn_error $? "conditional \"HAVE_STDIO_DIR\" was never defined.
7498 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7500 if test -z "${HAVE_STDIO64_DIR_TRUE}" && test -z "${HAVE_STDIO64_DIR_FALSE}"; then
7501 as_fn_error $? "conditional \"HAVE_STDIO64_DIR\" was never defined.
7502 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7504 if test -z "${HAVE_POSIX_DIR_TRUE}" && test -z "${HAVE_POSIX_DIR_FALSE}"; then
7505 as_fn_error $? "conditional \"HAVE_POSIX_DIR\" was never defined.
7506 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7508 if test -z "${HAVE_XDR_DIR_TRUE}" && test -z "${HAVE_XDR_DIR_FALSE}"; then
7509 as_fn_error $? "conditional \"HAVE_XDR_DIR\" was never defined.
7510 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7512 if test -z "${HAVE_SYSCALL_DIR_TRUE}" && test -z "${HAVE_SYSCALL_DIR_FALSE}"; then
7513 as_fn_error $? "conditional \"HAVE_SYSCALL_DIR\" was never defined.
7514 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7516 if test -z "${HAVE_UNIX_DIR_TRUE}" && test -z "${HAVE_UNIX_DIR_FALSE}"; then
7517 as_fn_error $? "conditional \"HAVE_UNIX_DIR\" was never defined.
7518 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7520 if test -z "${HAVE_LIBC_SYS_A29KHIF_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_A29KHIF_DIR_FALSE}"; then
7521 as_fn_error $? "conditional \"HAVE_LIBC_SYS_A29KHIF_DIR\" was never defined.
7522 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7524 if test -z "${HAVE_LIBC_SYS_AMDGCN_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_AMDGCN_DIR_FALSE}"; then
7525 as_fn_error $? "conditional \"HAVE_LIBC_SYS_AMDGCN_DIR\" was never defined.
7526 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7528 if test -z "${HAVE_LIBC_SYS_ARM_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_ARM_DIR_FALSE}"; then
7529 as_fn_error $? "conditional \"HAVE_LIBC_SYS_ARM_DIR\" was never defined.
7530 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7532 if test -z "${HAVE_LIBC_SYS_D10V_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_D10V_DIR_FALSE}"; then
7533 as_fn_error $? "conditional \"HAVE_LIBC_SYS_D10V_DIR\" was never defined.
7534 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7536 if test -z "${HAVE_LIBC_SYS_EPIPHANY_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_EPIPHANY_DIR_FALSE}"; then
7537 as_fn_error $? "conditional \"HAVE_LIBC_SYS_EPIPHANY_DIR\" was never defined.
7538 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7540 if test -z "${HAVE_LIBC_SYS_H8300HMS_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_H8300HMS_DIR_FALSE}"; then
7541 as_fn_error $? "conditional \"HAVE_LIBC_SYS_H8300HMS_DIR\" was never defined.
7542 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7544 if test -z "${HAVE_LIBC_SYS_H8500HMS_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_H8500HMS_DIR_FALSE}"; then
7545 as_fn_error $? "conditional \"HAVE_LIBC_SYS_H8500HMS_DIR\" was never defined.
7546 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7548 if test -z "${HAVE_LIBC_SYS_M88KBUG_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_M88KBUG_DIR_FALSE}"; then
7549 as_fn_error $? "conditional \"HAVE_LIBC_SYS_M88KBUG_DIR\" was never defined.
7550 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7552 if test -z "${HAVE_LIBC_SYS_MMIXWARE_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_MMIXWARE_DIR_FALSE}"; then
7553 as_fn_error $? "conditional \"HAVE_LIBC_SYS_MMIXWARE_DIR\" was never defined.
7554 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7556 if test -z "${HAVE_LIBC_SYS_NETWARE_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_NETWARE_DIR_FALSE}"; then
7557 as_fn_error $? "conditional \"HAVE_LIBC_SYS_NETWARE_DIR\" was never defined.
7558 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7560 if test -z "${HAVE_LIBC_SYS_OR1K_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_OR1K_DIR_FALSE}"; then
7561 as_fn_error $? "conditional \"HAVE_LIBC_SYS_OR1K_DIR\" was never defined.
7562 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7564 if test -z "${HAVE_LIBC_SYS_RDOS_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_RDOS_DIR_FALSE}"; then
7565 as_fn_error $? "conditional \"HAVE_LIBC_SYS_RDOS_DIR\" was never defined.
7566 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7568 if test -z "${HAVE_LIBC_SYS_RTEMS_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_RTEMS_DIR_FALSE}"; then
7569 as_fn_error $? "conditional \"HAVE_LIBC_SYS_RTEMS_DIR\" was never defined.
7570 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7572 if test -z "${HAVE_LIBC_SYS_SH_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_SH_DIR_FALSE}"; then
7573 as_fn_error $? "conditional \"HAVE_LIBC_SYS_SH_DIR\" was never defined.
7574 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7576 if test -z "${HAVE_LIBC_SYS_SYSMEC_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_SYSMEC_DIR_FALSE}"; then
7577 as_fn_error $? "conditional \"HAVE_LIBC_SYS_SYSMEC_DIR\" was never defined.
7578 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7580 if test -z "${HAVE_LIBC_SYS_SYSNEC810_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_SYSNEC810_DIR_FALSE}"; then
7581 as_fn_error $? "conditional \"HAVE_LIBC_SYS_SYSNEC810_DIR\" was never defined.
7582 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7584 if test -z "${HAVE_LIBC_SYS_SYSNECV850_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_SYSNECV850_DIR_FALSE}"; then
7585 as_fn_error $? "conditional \"HAVE_LIBC_SYS_SYSNECV850_DIR\" was never defined.
7586 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7588 if test -z "${HAVE_LIBC_SYS_SYSVI386_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_SYSVI386_DIR_FALSE}"; then
7589 as_fn_error $? "conditional \"HAVE_LIBC_SYS_SYSVI386_DIR\" was never defined.
7590 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7592 if test -z "${HAVE_LIBC_SYS_SYSVNECV70_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_SYSVNECV70_DIR_FALSE}"; then
7593 as_fn_error $? "conditional \"HAVE_LIBC_SYS_SYSVNECV70_DIR\" was never defined.
7594 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7596 if test -z "${HAVE_LIBC_SYS_TIC80_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_TIC80_DIR_FALSE}"; then
7597 as_fn_error $? "conditional \"HAVE_LIBC_SYS_TIC80_DIR\" was never defined.
7598 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7600 if test -z "${HAVE_LIBC_SYS_TIRTOS_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_TIRTOS_DIR_FALSE}"; then
7601 as_fn_error $? "conditional \"HAVE_LIBC_SYS_TIRTOS_DIR\" was never defined.
7602 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7604 if test -z "${HAVE_LIBC_SYS_W65_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_W65_DIR_FALSE}"; then
7605 as_fn_error $? "conditional \"HAVE_LIBC_SYS_W65_DIR\" was never defined.
7606 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7608 if test -z "${HAVE_LIBC_SYS_Z8KSIM_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_Z8KSIM_DIR_FALSE}"; then
7609 as_fn_error $? "conditional \"HAVE_LIBC_SYS_Z8KSIM_DIR\" was never defined.
7610 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7612 if test -z "${HAVE_LONG_DOUBLE_TRUE}" && test -z "${HAVE_LONG_DOUBLE_FALSE}"; then
7613 as_fn_error $? "conditional \"HAVE_LONG_DOUBLE\" was never defined.
7614 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7616 if test -z "${ENABLE_NEWLIB_ICONV_TRUE}" && test -z "${ENABLE_NEWLIB_ICONV_FALSE}"; then
7617 as_fn_error $? "conditional \"ENABLE_NEWLIB_ICONV\" was never defined.
7618 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7620 if test -z "${IS_NDS32_ISA_V3M_TRUE}" && test -z "${IS_NDS32_ISA_V3M_FALSE}"; then
7621 as_fn_error $? "conditional \"IS_NDS32_ISA_V3M\" was never defined.
7622 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7624 if test -z "${HAVE_POWERPC_ALTIVEC_TRUE}" && test -z "${HAVE_POWERPC_ALTIVEC_FALSE}"; then
7625 as_fn_error $? "conditional \"HAVE_POWERPC_ALTIVEC\" was never defined.
7626 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7628 if test -z "${HAVE_POWERPC_SPE_TRUE}" && test -z "${HAVE_POWERPC_SPE_FALSE}"; then
7629 as_fn_error $? "conditional \"HAVE_POWERPC_SPE\" was never defined.
7630 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7632 if test -z "${SH64_TRUE}" && test -z "${SH64_FALSE}"; then
7633 as_fn_error $? "conditional \"SH64\" was never defined.
7634 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7636 if test -z "${HAVE_SPU_EA_TRUE}" && test -z "${HAVE_SPU_EA_FALSE}"; then
7637 as_fn_error $? "conditional \"HAVE_SPU_EA\" was never defined.
7638 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7640 if test -z "${HAVE_LIBC_MACHINE_AARCH64_TRUE}" && test -z "${HAVE_LIBC_MACHINE_AARCH64_FALSE}"; then
7641 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_AARCH64\" was never defined.
7642 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7644 if test -z "${HAVE_LIBC_MACHINE_AMDGCN_TRUE}" && test -z "${HAVE_LIBC_MACHINE_AMDGCN_FALSE}"; then
7645 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_AMDGCN\" was never defined.
7646 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7648 if test -z "${HAVE_LIBC_MACHINE_ARC_TRUE}" && test -z "${HAVE_LIBC_MACHINE_ARC_FALSE}"; then
7649 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_ARC\" was never defined.
7650 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7652 if test -z "${HAVE_LIBC_MACHINE_ARM_TRUE}" && test -z "${HAVE_LIBC_MACHINE_ARM_FALSE}"; then
7653 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_ARM\" was never defined.
7654 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7656 if test -z "${HAVE_LIBC_MACHINE_BFIN_TRUE}" && test -z "${HAVE_LIBC_MACHINE_BFIN_FALSE}"; then
7657 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_BFIN\" was never defined.
7658 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7660 if test -z "${HAVE_LIBC_MACHINE_CR16_TRUE}" && test -z "${HAVE_LIBC_MACHINE_CR16_FALSE}"; then
7661 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_CR16\" was never defined.
7662 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7664 if test -z "${HAVE_LIBC_MACHINE_CRIS_TRUE}" && test -z "${HAVE_LIBC_MACHINE_CRIS_FALSE}"; then
7665 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_CRIS\" was never defined.
7666 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7668 if test -z "${HAVE_LIBC_MACHINE_CRX_TRUE}" && test -z "${HAVE_LIBC_MACHINE_CRX_FALSE}"; then
7669 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_CRX\" was never defined.
7670 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7672 if test -z "${HAVE_LIBC_MACHINE_CSKY_TRUE}" && test -z "${HAVE_LIBC_MACHINE_CSKY_FALSE}"; then
7673 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_CSKY\" was never defined.
7674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7676 if test -z "${HAVE_LIBC_MACHINE_D10V_TRUE}" && test -z "${HAVE_LIBC_MACHINE_D10V_FALSE}"; then
7677 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_D10V\" was never defined.
7678 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7680 if test -z "${HAVE_LIBC_MACHINE_D30V_TRUE}" && test -z "${HAVE_LIBC_MACHINE_D30V_FALSE}"; then
7681 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_D30V\" was never defined.
7682 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7684 if test -z "${HAVE_LIBC_MACHINE_EPIPHANY_TRUE}" && test -z "${HAVE_LIBC_MACHINE_EPIPHANY_FALSE}"; then
7685 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_EPIPHANY\" was never defined.
7686 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7688 if test -z "${HAVE_LIBC_MACHINE_FR30_TRUE}" && test -z "${HAVE_LIBC_MACHINE_FR30_FALSE}"; then
7689 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_FR30\" was never defined.
7690 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7692 if test -z "${HAVE_LIBC_MACHINE_FRV_TRUE}" && test -z "${HAVE_LIBC_MACHINE_FRV_FALSE}"; then
7693 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_FRV\" was never defined.
7694 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7696 if test -z "${HAVE_LIBC_MACHINE_FT32_TRUE}" && test -z "${HAVE_LIBC_MACHINE_FT32_FALSE}"; then
7697 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_FT32\" was never defined.
7698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7700 if test -z "${HAVE_LIBC_MACHINE_H8300_TRUE}" && test -z "${HAVE_LIBC_MACHINE_H8300_FALSE}"; then
7701 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_H8300\" was never defined.
7702 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7704 if test -z "${HAVE_LIBC_MACHINE_H8500_TRUE}" && test -z "${HAVE_LIBC_MACHINE_H8500_FALSE}"; then
7705 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_H8500\" was never defined.
7706 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7708 if test -z "${HAVE_LIBC_MACHINE_HPPA_TRUE}" && test -z "${HAVE_LIBC_MACHINE_HPPA_FALSE}"; then
7709 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_HPPA\" was never defined.
7710 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7712 if test -z "${HAVE_LIBC_MACHINE_I386_TRUE}" && test -z "${HAVE_LIBC_MACHINE_I386_FALSE}"; then
7713 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_I386\" was never defined.
7714 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7716 if test -z "${HAVE_LIBC_MACHINE_I960_TRUE}" && test -z "${HAVE_LIBC_MACHINE_I960_FALSE}"; then
7717 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_I960\" was never defined.
7718 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7720 if test -z "${HAVE_LIBC_MACHINE_IQ2000_TRUE}" && test -z "${HAVE_LIBC_MACHINE_IQ2000_FALSE}"; then
7721 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_IQ2000\" was never defined.
7722 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7724 if test -z "${HAVE_LIBC_MACHINE_LM32_TRUE}" && test -z "${HAVE_LIBC_MACHINE_LM32_FALSE}"; then
7725 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_LM32\" was never defined.
7726 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7728 if test -z "${HAVE_LIBC_MACHINE_M32C_TRUE}" && test -z "${HAVE_LIBC_MACHINE_M32C_FALSE}"; then
7729 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_M32C\" was never defined.
7730 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7732 if test -z "${HAVE_LIBC_MACHINE_M32R_TRUE}" && test -z "${HAVE_LIBC_MACHINE_M32R_FALSE}"; then
7733 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_M32R\" was never defined.
7734 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7736 if test -z "${HAVE_LIBC_MACHINE_M68HC11_TRUE}" && test -z "${HAVE_LIBC_MACHINE_M68HC11_FALSE}"; then
7737 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_M68HC11\" was never defined.
7738 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7740 if test -z "${HAVE_LIBC_MACHINE_M68K_TRUE}" && test -z "${HAVE_LIBC_MACHINE_M68K_FALSE}"; then
7741 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_M68K\" was never defined.
7742 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7744 if test -z "${HAVE_LIBC_MACHINE_M88K_TRUE}" && test -z "${HAVE_LIBC_MACHINE_M88K_FALSE}"; then
7745 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_M88K\" was never defined.
7746 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7748 if test -z "${HAVE_LIBC_MACHINE_MEP_TRUE}" && test -z "${HAVE_LIBC_MACHINE_MEP_FALSE}"; then
7749 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_MEP\" was never defined.
7750 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7752 if test -z "${HAVE_LIBC_MACHINE_MICROBLAZE_TRUE}" && test -z "${HAVE_LIBC_MACHINE_MICROBLAZE_FALSE}"; then
7753 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_MICROBLAZE\" was never defined.
7754 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7756 if test -z "${HAVE_LIBC_MACHINE_MIPS_TRUE}" && test -z "${HAVE_LIBC_MACHINE_MIPS_FALSE}"; then
7757 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_MIPS\" was never defined.
7758 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7760 if test -z "${HAVE_LIBC_MACHINE_MN10200_TRUE}" && test -z "${HAVE_LIBC_MACHINE_MN10200_FALSE}"; then
7761 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_MN10200\" was never defined.
7762 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7764 if test -z "${HAVE_LIBC_MACHINE_MN10300_TRUE}" && test -z "${HAVE_LIBC_MACHINE_MN10300_FALSE}"; then
7765 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_MN10300\" was never defined.
7766 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7768 if test -z "${HAVE_LIBC_MACHINE_MOXIE_TRUE}" && test -z "${HAVE_LIBC_MACHINE_MOXIE_FALSE}"; then
7769 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_MOXIE\" was never defined.
7770 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7772 if test -z "${HAVE_LIBC_MACHINE_MSP430_TRUE}" && test -z "${HAVE_LIBC_MACHINE_MSP430_FALSE}"; then
7773 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_MSP430\" was never defined.
7774 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7776 if test -z "${HAVE_LIBC_MACHINE_MT_TRUE}" && test -z "${HAVE_LIBC_MACHINE_MT_FALSE}"; then
7777 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_MT\" was never defined.
7778 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7780 if test -z "${HAVE_LIBC_MACHINE_NDS32_TRUE}" && test -z "${HAVE_LIBC_MACHINE_NDS32_FALSE}"; then
7781 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_NDS32\" was never defined.
7782 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7784 if test -z "${HAVE_LIBC_MACHINE_NECV70_TRUE}" && test -z "${HAVE_LIBC_MACHINE_NECV70_FALSE}"; then
7785 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_NECV70\" was never defined.
7786 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7788 if test -z "${HAVE_LIBC_MACHINE_NIOS2_TRUE}" && test -z "${HAVE_LIBC_MACHINE_NIOS2_FALSE}"; then
7789 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_NIOS2\" was never defined.
7790 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7792 if test -z "${HAVE_LIBC_MACHINE_NVPTX_TRUE}" && test -z "${HAVE_LIBC_MACHINE_NVPTX_FALSE}"; then
7793 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_NVPTX\" was never defined.
7794 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7796 if test -z "${HAVE_LIBC_MACHINE_OR1K_TRUE}" && test -z "${HAVE_LIBC_MACHINE_OR1K_FALSE}"; then
7797 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_OR1K\" was never defined.
7798 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7800 if test -z "${HAVE_LIBC_MACHINE_POWERPC_TRUE}" && test -z "${HAVE_LIBC_MACHINE_POWERPC_FALSE}"; then
7801 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_POWERPC\" was never defined.
7802 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7804 if test -z "${HAVE_LIBC_MACHINE_PRU_TRUE}" && test -z "${HAVE_LIBC_MACHINE_PRU_FALSE}"; then
7805 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_PRU\" was never defined.
7806 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7808 if test -z "${HAVE_LIBC_MACHINE_RISCV_TRUE}" && test -z "${HAVE_LIBC_MACHINE_RISCV_FALSE}"; then
7809 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_RISCV\" was never defined.
7810 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7812 if test -z "${HAVE_LIBC_MACHINE_RL78_TRUE}" && test -z "${HAVE_LIBC_MACHINE_RL78_FALSE}"; then
7813 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_RL78\" was never defined.
7814 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7816 if test -z "${HAVE_LIBC_MACHINE_RX_TRUE}" && test -z "${HAVE_LIBC_MACHINE_RX_FALSE}"; then
7817 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_RX\" was never defined.
7818 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7820 if test -z "${HAVE_LIBC_MACHINE_SH_TRUE}" && test -z "${HAVE_LIBC_MACHINE_SH_FALSE}"; then
7821 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_SH\" was never defined.
7822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7824 if test -z "${HAVE_LIBC_MACHINE_SPARC_TRUE}" && test -z "${HAVE_LIBC_MACHINE_SPARC_FALSE}"; then
7825 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_SPARC\" was never defined.
7826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7828 if test -z "${HAVE_LIBC_MACHINE_SPU_TRUE}" && test -z "${HAVE_LIBC_MACHINE_SPU_FALSE}"; then
7829 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_SPU\" was never defined.
7830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7832 if test -z "${HAVE_LIBC_MACHINE_TIC4X_TRUE}" && test -z "${HAVE_LIBC_MACHINE_TIC4X_FALSE}"; then
7833 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_TIC4X\" was never defined.
7834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7836 if test -z "${HAVE_LIBC_MACHINE_TIC6X_TRUE}" && test -z "${HAVE_LIBC_MACHINE_TIC6X_FALSE}"; then
7837 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_TIC6X\" was never defined.
7838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7840 if test -z "${HAVE_LIBC_MACHINE_TIC80_TRUE}" && test -z "${HAVE_LIBC_MACHINE_TIC80_FALSE}"; then
7841 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_TIC80\" was never defined.
7842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7844 if test -z "${HAVE_LIBC_MACHINE_V850_TRUE}" && test -z "${HAVE_LIBC_MACHINE_V850_FALSE}"; then
7845 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_V850\" was never defined.
7846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7848 if test -z "${HAVE_LIBC_MACHINE_VISIUM_TRUE}" && test -z "${HAVE_LIBC_MACHINE_VISIUM_FALSE}"; then
7849 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_VISIUM\" was never defined.
7850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7852 if test -z "${HAVE_LIBC_MACHINE_W65_TRUE}" && test -z "${HAVE_LIBC_MACHINE_W65_FALSE}"; then
7853 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_W65\" was never defined.
7854 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7856 if test -z "${HAVE_LIBC_MACHINE_X86_64_TRUE}" && test -z "${HAVE_LIBC_MACHINE_X86_64_FALSE}"; then
7857 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_X86_64\" was never defined.
7858 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7860 if test -z "${HAVE_LIBC_MACHINE_XC16X_TRUE}" && test -z "${HAVE_LIBC_MACHINE_XC16X_FALSE}"; then
7861 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_XC16X\" was never defined.
7862 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7864 if test -z "${HAVE_LIBC_MACHINE_XSTORMY16_TRUE}" && test -z "${HAVE_LIBC_MACHINE_XSTORMY16_FALSE}"; then
7865 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_XSTORMY16\" was never defined.
7866 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7868 if test -z "${HAVE_LIBC_MACHINE_Z8K_TRUE}" && test -z "${HAVE_LIBC_MACHINE_Z8K_FALSE}"; then
7869 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_Z8K\" was never defined.
7870 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7872 if test -z "${MACH_ADD_SETJMP_TRUE}" && test -z "${MACH_ADD_SETJMP_FALSE}"; then
7873 as_fn_error $? "conditional \"MACH_ADD_SETJMP\" was never defined.
7874 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7876 if test -z "${HAS_NDS32_FPU_SP_TRUE}" && test -z "${HAS_NDS32_FPU_SP_FALSE}"; then
7877 as_fn_error $? "conditional \"HAS_NDS32_FPU_SP\" was never defined.
7878 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7880 if test -z "${HAS_NDS32_FPU_DP_TRUE}" && test -z "${HAS_NDS32_FPU_DP_FALSE}"; then
7881 as_fn_error $? "conditional \"HAS_NDS32_FPU_DP\" was never defined.
7882 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7884 if test -z "${HAVE_LIBM_MACHINE_AARCH64_TRUE}" && test -z "${HAVE_LIBM_MACHINE_AARCH64_FALSE}"; then
7885 as_fn_error $? "conditional \"HAVE_LIBM_MACHINE_AARCH64\" was never defined.
7886 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7888 if test -z "${HAVE_LIBM_MACHINE_AMDGCN_TRUE}" && test -z "${HAVE_LIBM_MACHINE_AMDGCN_FALSE}"; then
7889 as_fn_error $? "conditional \"HAVE_LIBM_MACHINE_AMDGCN\" was never defined.
7890 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7892 if test -z "${HAVE_LIBM_MACHINE_ARM_TRUE}" && test -z "${HAVE_LIBM_MACHINE_ARM_FALSE}"; then
7893 as_fn_error $? "conditional \"HAVE_LIBM_MACHINE_ARM\" was never defined.
7894 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7896 if test -z "${HAVE_LIBM_MACHINE_I386_TRUE}" && test -z "${HAVE_LIBM_MACHINE_I386_FALSE}"; then
7897 as_fn_error $? "conditional \"HAVE_LIBM_MACHINE_I386\" was never defined.
7898 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7900 if test -z "${HAVE_LIBM_MACHINE_MIPS_TRUE}" && test -z "${HAVE_LIBM_MACHINE_MIPS_FALSE}"; then
7901 as_fn_error $? "conditional \"HAVE_LIBM_MACHINE_MIPS\" was never defined.
7902 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7904 if test -z "${HAVE_LIBM_MACHINE_NDS32_TRUE}" && test -z "${HAVE_LIBM_MACHINE_NDS32_FALSE}"; then
7905 as_fn_error $? "conditional \"HAVE_LIBM_MACHINE_NDS32\" was never defined.
7906 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7908 if test -z "${HAVE_LIBM_MACHINE_POWERPC_TRUE}" && test -z "${HAVE_LIBM_MACHINE_POWERPC_FALSE}"; then
7909 as_fn_error $? "conditional \"HAVE_LIBM_MACHINE_POWERPC\" was never defined.
7910 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7912 if test -z "${HAVE_LIBM_MACHINE_PRU_TRUE}" && test -z "${HAVE_LIBM_MACHINE_PRU_FALSE}"; then
7913 as_fn_error $? "conditional \"HAVE_LIBM_MACHINE_PRU\" was never defined.
7914 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7916 if test -z "${HAVE_LIBM_MACHINE_SPARC_TRUE}" && test -z "${HAVE_LIBM_MACHINE_SPARC_FALSE}"; then
7917 as_fn_error $? "conditional \"HAVE_LIBM_MACHINE_SPARC\" was never defined.
7918 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7920 if test -z "${HAVE_LIBM_MACHINE_SPU_TRUE}" && test -z "${HAVE_LIBM_MACHINE_SPU_FALSE}"; then
7921 as_fn_error $? "conditional \"HAVE_LIBM_MACHINE_SPU\" was never defined.
7922 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7924 if test -z "${HAVE_LIBM_MACHINE_RISCV_TRUE}" && test -z "${HAVE_LIBM_MACHINE_RISCV_FALSE}"; then
7925 as_fn_error $? "conditional \"HAVE_LIBM_MACHINE_RISCV\" was never defined.
7926 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7928 if test -z "${HAVE_LIBM_MACHINE_X86_64_TRUE}" && test -z "${HAVE_LIBM_MACHINE_X86_64_FALSE}"; then
7929 as_fn_error $? "conditional \"HAVE_LIBM_MACHINE_X86_64\" was never defined.
7930 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7932 if test -z "${HAVE_DOC_TRUE}" && test -z "${HAVE_DOC_FALSE}"; then
7933 as_fn_error $? "conditional \"HAVE_DOC\" was never defined.
7934 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7936 if test -z "${HAVE_MULTISUBDIR_TRUE}" && test -z "${HAVE_MULTISUBDIR_FALSE}"; then
7937 as_fn_error $? "conditional \"HAVE_MULTISUBDIR\" was never defined.
7938 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7940 if test -z "${HAVE_CRT0_TRUE}" && test -z "${HAVE_CRT0_FALSE}"; then
7941 as_fn_error $? "conditional \"HAVE_CRT0\" was never defined.
7942 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7944 if test -z "${HAVE_LONG_DOUBLE_TRUE}" && test -z "${HAVE_LONG_DOUBLE_FALSE}"; then
7945 as_fn_error $? "conditional \"HAVE_LONG_DOUBLE\" was never defined.
7946 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7949 : "${CONFIG_STATUS=./config.status}"
7950 ac_write_fail=0
7951 ac_clean_files_save=$ac_clean_files
7952 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7954 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7955 as_write_fail=0
7956 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7957 #! $SHELL
7958 # Generated by $as_me.
7959 # Run this file to recreate the current configuration.
7960 # Compiler output produced by configure, useful for debugging
7961 # configure, is in config.log if it exists.
7963 debug=false
7964 ac_cs_recheck=false
7965 ac_cs_silent=false
7967 SHELL=\${CONFIG_SHELL-$SHELL}
7968 export SHELL
7969 _ASEOF
7970 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7971 ## -------------------- ##
7972 ## M4sh Initialization. ##
7973 ## -------------------- ##
7975 # Be more Bourne compatible
7976 DUALCASE=1; export DUALCASE # for MKS sh
7977 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7978 emulate sh
7979 NULLCMD=:
7980 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7981 # is contrary to our usage. Disable this feature.
7982 alias -g '${1+"$@"}'='"$@"'
7983 setopt NO_GLOB_SUBST
7984 else
7985 case `(set -o) 2>/dev/null` in #(
7986 *posix*) :
7987 set -o posix ;; #(
7988 *) :
7990 esac
7994 as_nl='
7996 export as_nl
7997 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7998 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7999 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8000 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8001 # Prefer a ksh shell builtin over an external printf program on Solaris,
8002 # but without wasting forks for bash or zsh.
8003 if test -z "$BASH_VERSION$ZSH_VERSION" \
8004 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8005 as_echo='print -r --'
8006 as_echo_n='print -rn --'
8007 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8008 as_echo='printf %s\n'
8009 as_echo_n='printf %s'
8010 else
8011 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8012 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8013 as_echo_n='/usr/ucb/echo -n'
8014 else
8015 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8016 as_echo_n_body='eval
8017 arg=$1;
8018 case $arg in #(
8019 *"$as_nl"*)
8020 expr "X$arg" : "X\\(.*\\)$as_nl";
8021 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8022 esac;
8023 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8025 export as_echo_n_body
8026 as_echo_n='sh -c $as_echo_n_body as_echo'
8028 export as_echo_body
8029 as_echo='sh -c $as_echo_body as_echo'
8032 # The user is always right.
8033 if test "${PATH_SEPARATOR+set}" != set; then
8034 PATH_SEPARATOR=:
8035 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8036 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8037 PATH_SEPARATOR=';'
8042 # IFS
8043 # We need space, tab and new line, in precisely that order. Quoting is
8044 # there to prevent editors from complaining about space-tab.
8045 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8046 # splitting by setting IFS to empty value.)
8047 IFS=" "" $as_nl"
8049 # Find who we are. Look in the path if we contain no directory separator.
8050 as_myself=
8051 case $0 in #((
8052 *[\\/]* ) as_myself=$0 ;;
8053 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8054 for as_dir in $PATH
8056 IFS=$as_save_IFS
8057 test -z "$as_dir" && as_dir=.
8058 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8059 done
8060 IFS=$as_save_IFS
8063 esac
8064 # We did not find ourselves, most probably we were run as `sh COMMAND'
8065 # in which case we are not to be found in the path.
8066 if test "x$as_myself" = x; then
8067 as_myself=$0
8069 if test ! -f "$as_myself"; then
8070 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8071 exit 1
8074 # Unset variables that we do not need and which cause bugs (e.g. in
8075 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8076 # suppresses any "Segmentation fault" message there. '((' could
8077 # trigger a bug in pdksh 5.2.14.
8078 for as_var in BASH_ENV ENV MAIL MAILPATH
8079 do eval test x\${$as_var+set} = xset \
8080 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8081 done
8082 PS1='$ '
8083 PS2='> '
8084 PS4='+ '
8086 # NLS nuisances.
8087 LC_ALL=C
8088 export LC_ALL
8089 LANGUAGE=C
8090 export LANGUAGE
8092 # CDPATH.
8093 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8096 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8097 # ----------------------------------------
8098 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8099 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8100 # script with STATUS, using 1 if that was 0.
8101 as_fn_error ()
8103 as_status=$1; test $as_status -eq 0 && as_status=1
8104 if test "$4"; then
8105 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8106 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8108 $as_echo "$as_me: error: $2" >&2
8109 as_fn_exit $as_status
8110 } # as_fn_error
8113 # as_fn_set_status STATUS
8114 # -----------------------
8115 # Set $? to STATUS, without forking.
8116 as_fn_set_status ()
8118 return $1
8119 } # as_fn_set_status
8121 # as_fn_exit STATUS
8122 # -----------------
8123 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8124 as_fn_exit ()
8126 set +e
8127 as_fn_set_status $1
8128 exit $1
8129 } # as_fn_exit
8131 # as_fn_unset VAR
8132 # ---------------
8133 # Portably unset VAR.
8134 as_fn_unset ()
8136 { eval $1=; unset $1;}
8138 as_unset=as_fn_unset
8139 # as_fn_append VAR VALUE
8140 # ----------------------
8141 # Append the text in VALUE to the end of the definition contained in VAR. Take
8142 # advantage of any shell optimizations that allow amortized linear growth over
8143 # repeated appends, instead of the typical quadratic growth present in naive
8144 # implementations.
8145 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8146 eval 'as_fn_append ()
8148 eval $1+=\$2
8150 else
8151 as_fn_append ()
8153 eval $1=\$$1\$2
8155 fi # as_fn_append
8157 # as_fn_arith ARG...
8158 # ------------------
8159 # Perform arithmetic evaluation on the ARGs, and store the result in the
8160 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8161 # must be portable across $(()) and expr.
8162 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8163 eval 'as_fn_arith ()
8165 as_val=$(( $* ))
8167 else
8168 as_fn_arith ()
8170 as_val=`expr "$@" || test $? -eq 1`
8172 fi # as_fn_arith
8175 if expr a : '\(a\)' >/dev/null 2>&1 &&
8176 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8177 as_expr=expr
8178 else
8179 as_expr=false
8182 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8183 as_basename=basename
8184 else
8185 as_basename=false
8188 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8189 as_dirname=dirname
8190 else
8191 as_dirname=false
8194 as_me=`$as_basename -- "$0" ||
8195 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8196 X"$0" : 'X\(//\)$' \| \
8197 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8198 $as_echo X/"$0" |
8199 sed '/^.*\/\([^/][^/]*\)\/*$/{
8200 s//\1/
8203 /^X\/\(\/\/\)$/{
8204 s//\1/
8207 /^X\/\(\/\).*/{
8208 s//\1/
8211 s/.*/./; q'`
8213 # Avoid depending upon Character Ranges.
8214 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8215 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8216 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8217 as_cr_digits='0123456789'
8218 as_cr_alnum=$as_cr_Letters$as_cr_digits
8220 ECHO_C= ECHO_N= ECHO_T=
8221 case `echo -n x` in #(((((
8222 -n*)
8223 case `echo 'xy\c'` in
8224 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8225 xy) ECHO_C='\c';;
8226 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8227 ECHO_T=' ';;
8228 esac;;
8230 ECHO_N='-n';;
8231 esac
8233 rm -f conf$$ conf$$.exe conf$$.file
8234 if test -d conf$$.dir; then
8235 rm -f conf$$.dir/conf$$.file
8236 else
8237 rm -f conf$$.dir
8238 mkdir conf$$.dir 2>/dev/null
8240 if (echo >conf$$.file) 2>/dev/null; then
8241 if ln -s conf$$.file conf$$ 2>/dev/null; then
8242 as_ln_s='ln -s'
8243 # ... but there are two gotchas:
8244 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8245 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8246 # In both cases, we have to default to `cp -pR'.
8247 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8248 as_ln_s='cp -pR'
8249 elif ln conf$$.file conf$$ 2>/dev/null; then
8250 as_ln_s=ln
8251 else
8252 as_ln_s='cp -pR'
8254 else
8255 as_ln_s='cp -pR'
8257 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8258 rmdir conf$$.dir 2>/dev/null
8261 # as_fn_mkdir_p
8262 # -------------
8263 # Create "$as_dir" as a directory, including parents if necessary.
8264 as_fn_mkdir_p ()
8267 case $as_dir in #(
8268 -*) as_dir=./$as_dir;;
8269 esac
8270 test -d "$as_dir" || eval $as_mkdir_p || {
8271 as_dirs=
8272 while :; do
8273 case $as_dir in #(
8274 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8275 *) as_qdir=$as_dir;;
8276 esac
8277 as_dirs="'$as_qdir' $as_dirs"
8278 as_dir=`$as_dirname -- "$as_dir" ||
8279 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8280 X"$as_dir" : 'X\(//\)[^/]' \| \
8281 X"$as_dir" : 'X\(//\)$' \| \
8282 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8283 $as_echo X"$as_dir" |
8284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8285 s//\1/
8288 /^X\(\/\/\)[^/].*/{
8289 s//\1/
8292 /^X\(\/\/\)$/{
8293 s//\1/
8296 /^X\(\/\).*/{
8297 s//\1/
8300 s/.*/./; q'`
8301 test -d "$as_dir" && break
8302 done
8303 test -z "$as_dirs" || eval "mkdir $as_dirs"
8304 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8307 } # as_fn_mkdir_p
8308 if mkdir -p . 2>/dev/null; then
8309 as_mkdir_p='mkdir -p "$as_dir"'
8310 else
8311 test -d ./-p && rmdir ./-p
8312 as_mkdir_p=false
8316 # as_fn_executable_p FILE
8317 # -----------------------
8318 # Test if FILE is an executable regular file.
8319 as_fn_executable_p ()
8321 test -f "$1" && test -x "$1"
8322 } # as_fn_executable_p
8323 as_test_x='test -x'
8324 as_executable_p=as_fn_executable_p
8326 # Sed expression to map a string onto a valid CPP name.
8327 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8329 # Sed expression to map a string onto a valid variable name.
8330 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8333 exec 6>&1
8334 ## ----------------------------------- ##
8335 ## Main body of $CONFIG_STATUS script. ##
8336 ## ----------------------------------- ##
8337 _ASEOF
8338 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8341 # Save the log message, to keep $0 and so on meaningful, and to
8342 # report actual input values of CONFIG_FILES etc. instead of their
8343 # values after options handling.
8344 ac_log="
8345 This file was extended by newlib $as_me 4.3.0, which was
8346 generated by GNU Autoconf 2.69. Invocation command line was
8348 CONFIG_FILES = $CONFIG_FILES
8349 CONFIG_HEADERS = $CONFIG_HEADERS
8350 CONFIG_LINKS = $CONFIG_LINKS
8351 CONFIG_COMMANDS = $CONFIG_COMMANDS
8352 $ $0 $@
8354 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8357 _ACEOF
8359 case $ac_config_files in *"
8360 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8361 esac
8363 case $ac_config_headers in *"
8364 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8365 esac
8368 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8369 # Files that config.status was made for.
8370 config_files="$ac_config_files"
8371 config_headers="$ac_config_headers"
8372 config_commands="$ac_config_commands"
8374 _ACEOF
8376 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8377 ac_cs_usage="\
8378 \`$as_me' instantiates files and other configuration actions
8379 from templates according to the current configuration. Unless the files
8380 and actions are specified as TAGs, all are instantiated by default.
8382 Usage: $0 [OPTION]... [TAG]...
8384 -h, --help print this help, then exit
8385 -V, --version print version number and configuration settings, then exit
8386 --config print configuration, then exit
8387 -q, --quiet, --silent
8388 do not print progress messages
8389 -d, --debug don't remove temporary files
8390 --recheck update $as_me by reconfiguring in the same conditions
8391 --file=FILE[:TEMPLATE]
8392 instantiate the configuration file FILE
8393 --header=FILE[:TEMPLATE]
8394 instantiate the configuration header FILE
8396 Configuration files:
8397 $config_files
8399 Configuration headers:
8400 $config_headers
8402 Configuration commands:
8403 $config_commands
8405 Report bugs to the package provider."
8407 _ACEOF
8408 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8409 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8410 ac_cs_version="\\
8411 newlib config.status 4.3.0
8412 configured by $0, generated by GNU Autoconf 2.69,
8413 with options \\"\$ac_cs_config\\"
8415 Copyright (C) 2012 Free Software Foundation, Inc.
8416 This config.status script is free software; the Free Software Foundation
8417 gives unlimited permission to copy, distribute and modify it."
8419 ac_pwd='$ac_pwd'
8420 srcdir='$srcdir'
8421 INSTALL='$INSTALL'
8422 MKDIR_P='$MKDIR_P'
8423 AWK='$AWK'
8424 test -n "\$AWK" || AWK=awk
8425 _ACEOF
8427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8428 # The default lists apply if the user does not specify any file.
8429 ac_need_defaults=:
8430 while test $# != 0
8432 case $1 in
8433 --*=?*)
8434 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8435 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8436 ac_shift=:
8438 --*=)
8439 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8440 ac_optarg=
8441 ac_shift=:
8444 ac_option=$1
8445 ac_optarg=$2
8446 ac_shift=shift
8448 esac
8450 case $ac_option in
8451 # Handling of the options.
8452 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8453 ac_cs_recheck=: ;;
8454 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8455 $as_echo "$ac_cs_version"; exit ;;
8456 --config | --confi | --conf | --con | --co | --c )
8457 $as_echo "$ac_cs_config"; exit ;;
8458 --debug | --debu | --deb | --de | --d | -d )
8459 debug=: ;;
8460 --file | --fil | --fi | --f )
8461 $ac_shift
8462 case $ac_optarg in
8463 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8464 '') as_fn_error $? "missing file argument" ;;
8465 esac
8466 as_fn_append CONFIG_FILES " '$ac_optarg'"
8467 ac_need_defaults=false;;
8468 --header | --heade | --head | --hea )
8469 $ac_shift
8470 case $ac_optarg in
8471 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8472 esac
8473 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8474 ac_need_defaults=false;;
8475 --he | --h)
8476 # Conflict between --help and --header
8477 as_fn_error $? "ambiguous option: \`$1'
8478 Try \`$0 --help' for more information.";;
8479 --help | --hel | -h )
8480 $as_echo "$ac_cs_usage"; exit ;;
8481 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8482 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8483 ac_cs_silent=: ;;
8485 # This is an error.
8486 -*) as_fn_error $? "unrecognized option: \`$1'
8487 Try \`$0 --help' for more information." ;;
8489 *) as_fn_append ac_config_targets " $1"
8490 ac_need_defaults=false ;;
8492 esac
8493 shift
8494 done
8496 ac_configure_extra_args=
8498 if $ac_cs_silent; then
8499 exec 6>/dev/null
8500 ac_configure_extra_args="$ac_configure_extra_args --silent"
8503 _ACEOF
8504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8505 if \$ac_cs_recheck; then
8506 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8507 shift
8508 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8509 CONFIG_SHELL='$SHELL'
8510 export CONFIG_SHELL
8511 exec "\$@"
8514 _ACEOF
8515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8516 exec 5>>config.log
8518 echo
8519 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8520 ## Running $as_me. ##
8521 _ASBOX
8522 $as_echo "$ac_log"
8523 } >&5
8525 _ACEOF
8526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8528 # INIT-COMMANDS
8531 srcdir="$srcdir"
8532 host="$host"
8533 target="$target"
8534 with_multisubdir="$with_multisubdir"
8535 with_multisrctop="$with_multisrctop"
8536 with_target_subdir="$with_target_subdir"
8537 ac_configure_args="${multilib_arg} ${ac_configure_args}"
8538 multi_basedir="$multi_basedir"
8539 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
8540 CC="$CC"
8541 CXX="$CXX"
8542 GFORTRAN="$GFORTRAN"
8543 GCJ="$GCJ"
8544 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8546 _ACEOF
8548 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8550 # Handling of arguments.
8551 for ac_config_target in $ac_config_targets
8553 case $ac_config_target in
8554 "newlib.h") CONFIG_HEADERS="$CONFIG_HEADERS newlib.h:newlib.hin" ;;
8555 "_newlib_version.h") CONFIG_HEADERS="$CONFIG_HEADERS _newlib_version.h:_newlib_version.hin" ;;
8556 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
8557 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8558 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8560 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8561 esac
8562 done
8565 # If the user did not use the arguments to specify the items to instantiate,
8566 # then the envvar interface is used. Set only those that are not.
8567 # We use the long form for the default assignment because of an extremely
8568 # bizarre bug on SunOS 4.1.3.
8569 if $ac_need_defaults; then
8570 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8571 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8572 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8575 # Have a temporary directory for convenience. Make it in the build tree
8576 # simply because there is no reason against having it here, and in addition,
8577 # creating and moving files from /tmp can sometimes cause problems.
8578 # Hook for its removal unless debugging.
8579 # Note that there is a small window in which the directory will not be cleaned:
8580 # after its creation but before its name has been assigned to `$tmp'.
8581 $debug ||
8583 tmp= ac_tmp=
8584 trap 'exit_status=$?
8585 : "${ac_tmp:=$tmp}"
8586 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8588 trap 'as_fn_exit 1' 1 2 13 15
8590 # Create a (secure) tmp directory for tmp files.
8593 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8594 test -d "$tmp"
8595 } ||
8597 tmp=./conf$$-$RANDOM
8598 (umask 077 && mkdir "$tmp")
8599 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8600 ac_tmp=$tmp
8602 # Set up the scripts for CONFIG_FILES section.
8603 # No need to generate them if there are no CONFIG_FILES.
8604 # This happens for instance with `./config.status config.h'.
8605 if test -n "$CONFIG_FILES"; then
8608 ac_cr=`echo X | tr X '\015'`
8609 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8610 # But we know of no other shell where ac_cr would be empty at this
8611 # point, so we can use a bashism as a fallback.
8612 if test "x$ac_cr" = x; then
8613 eval ac_cr=\$\'\\r\'
8615 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8616 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8617 ac_cs_awk_cr='\\r'
8618 else
8619 ac_cs_awk_cr=$ac_cr
8622 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8623 _ACEOF
8627 echo "cat >conf$$subs.awk <<_ACEOF" &&
8628 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8629 echo "_ACEOF"
8630 } >conf$$subs.sh ||
8631 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8632 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8633 ac_delim='%!_!# '
8634 for ac_last_try in false false false false false :; do
8635 . ./conf$$subs.sh ||
8636 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8638 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8639 if test $ac_delim_n = $ac_delim_num; then
8640 break
8641 elif $ac_last_try; then
8642 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8643 else
8644 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8646 done
8647 rm -f conf$$subs.sh
8649 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8650 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8651 _ACEOF
8652 sed -n '
8654 s/^/S["/; s/!.*/"]=/
8657 s/^[^!]*!//
8658 :repl
8659 t repl
8660 s/'"$ac_delim"'$//
8661 t delim
8664 s/\(.\{148\}\)..*/\1/
8665 t more1
8666 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8669 b repl
8670 :more1
8671 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8674 s/.\{148\}//
8675 t nl
8676 :delim
8678 s/\(.\{148\}\)..*/\1/
8679 t more2
8680 s/["\\]/\\&/g; s/^/"/; s/$/"/
8683 :more2
8684 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8687 s/.\{148\}//
8688 t delim
8689 ' <conf$$subs.awk | sed '
8690 /^[^""]/{
8692 s/\n//
8694 ' >>$CONFIG_STATUS || ac_write_fail=1
8695 rm -f conf$$subs.awk
8696 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8697 _ACAWK
8698 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8699 for (key in S) S_is_set[key] = 1
8700 FS = "\a"
8704 line = $ 0
8705 nfields = split(line, field, "@")
8706 substed = 0
8707 len = length(field[1])
8708 for (i = 2; i < nfields; i++) {
8709 key = field[i]
8710 keylen = length(key)
8711 if (S_is_set[key]) {
8712 value = S[key]
8713 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8714 len += length(value) + length(field[++i])
8715 substed = 1
8716 } else
8717 len += 1 + keylen
8720 print line
8723 _ACAWK
8724 _ACEOF
8725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8726 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8727 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8728 else
8730 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8731 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8732 _ACEOF
8734 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8735 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8736 # trailing colons and then remove the whole line if VPATH becomes empty
8737 # (actually we leave an empty line to preserve line numbers).
8738 if test "x$srcdir" = x.; then
8739 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8741 s///
8742 s/^/:/
8743 s/[ ]*$/:/
8744 s/:\$(srcdir):/:/g
8745 s/:\${srcdir}:/:/g
8746 s/:@srcdir@:/:/g
8747 s/^:*//
8748 s/:*$//
8750 s/\(=[ ]*\).*/\1/
8752 s/\n//
8753 s/^[^=]*=[ ]*$//
8757 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8758 fi # test -n "$CONFIG_FILES"
8760 # Set up the scripts for CONFIG_HEADERS section.
8761 # No need to generate them if there are no CONFIG_HEADERS.
8762 # This happens for instance with `./config.status Makefile'.
8763 if test -n "$CONFIG_HEADERS"; then
8764 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
8765 BEGIN {
8766 _ACEOF
8768 # Transform confdefs.h into an awk script `defines.awk', embedded as
8769 # here-document in config.status, that substitutes the proper values into
8770 # config.h.in to produce config.h.
8772 # Create a delimiter string that does not exist in confdefs.h, to ease
8773 # handling of long lines.
8774 ac_delim='%!_!# '
8775 for ac_last_try in false false :; do
8776 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
8777 if test -z "$ac_tt"; then
8778 break
8779 elif $ac_last_try; then
8780 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8781 else
8782 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8784 done
8786 # For the awk script, D is an array of macro values keyed by name,
8787 # likewise P contains macro parameters if any. Preserve backslash
8788 # newline sequences.
8790 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8791 sed -n '
8792 s/.\{148\}/&'"$ac_delim"'/g
8793 t rset
8794 :rset
8795 s/^[ ]*#[ ]*define[ ][ ]*/ /
8796 t def
8798 :def
8799 s/\\$//
8800 t bsnl
8801 s/["\\]/\\&/g
8802 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8803 D["\1"]=" \3"/p
8804 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8806 :bsnl
8807 s/["\\]/\\&/g
8808 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8809 D["\1"]=" \3\\\\\\n"\\/p
8810 t cont
8811 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8812 t cont
8814 :cont
8816 s/.\{148\}/&'"$ac_delim"'/g
8817 t clear
8818 :clear
8819 s/\\$//
8820 t bsnlc
8821 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8823 :bsnlc
8824 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8825 b cont
8826 ' <confdefs.h | sed '
8827 s/'"$ac_delim"'/"\\\
8828 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8830 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8831 for (key in D) D_is_set[key] = 1
8832 FS = "\a"
8834 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8835 line = \$ 0
8836 split(line, arg, " ")
8837 if (arg[1] == "#") {
8838 defundef = arg[2]
8839 mac1 = arg[3]
8840 } else {
8841 defundef = substr(arg[1], 2)
8842 mac1 = arg[2]
8844 split(mac1, mac2, "(") #)
8845 macro = mac2[1]
8846 prefix = substr(line, 1, index(line, defundef) - 1)
8847 if (D_is_set[macro]) {
8848 # Preserve the white space surrounding the "#".
8849 print prefix "define", macro P[macro] D[macro]
8850 next
8851 } else {
8852 # Replace #undef with comments. This is necessary, for example,
8853 # in the case of _POSIX_SOURCE, which is predefined and required
8854 # on some systems where configure will not decide to define it.
8855 if (defundef == "undef") {
8856 print "/*", prefix defundef, macro, "*/"
8857 next
8861 { print }
8862 _ACAWK
8863 _ACEOF
8864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8865 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8866 fi # test -n "$CONFIG_HEADERS"
8869 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8870 shift
8871 for ac_tag
8873 case $ac_tag in
8874 :[FHLC]) ac_mode=$ac_tag; continue;;
8875 esac
8876 case $ac_mode$ac_tag in
8877 :[FHL]*:*);;
8878 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8879 :[FH]-) ac_tag=-:-;;
8880 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8881 esac
8882 ac_save_IFS=$IFS
8883 IFS=:
8884 set x $ac_tag
8885 IFS=$ac_save_IFS
8886 shift
8887 ac_file=$1
8888 shift
8890 case $ac_mode in
8891 :L) ac_source=$1;;
8892 :[FH])
8893 ac_file_inputs=
8894 for ac_f
8896 case $ac_f in
8897 -) ac_f="$ac_tmp/stdin";;
8898 *) # Look for the file first in the build tree, then in the source tree
8899 # (if the path is not absolute). The absolute path cannot be DOS-style,
8900 # because $ac_f cannot contain `:'.
8901 test -f "$ac_f" ||
8902 case $ac_f in
8903 [\\/$]*) false;;
8904 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8905 esac ||
8906 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8907 esac
8908 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8909 as_fn_append ac_file_inputs " '$ac_f'"
8910 done
8912 # Let's still pretend it is `configure' which instantiates (i.e., don't
8913 # use $as_me), people would be surprised to read:
8914 # /* config.h. Generated by config.status. */
8915 configure_input='Generated from '`
8916 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8917 `' by configure.'
8918 if test x"$ac_file" != x-; then
8919 configure_input="$ac_file. $configure_input"
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8921 $as_echo "$as_me: creating $ac_file" >&6;}
8923 # Neutralize special characters interpreted by sed in replacement strings.
8924 case $configure_input in #(
8925 *\&* | *\|* | *\\* )
8926 ac_sed_conf_input=`$as_echo "$configure_input" |
8927 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8928 *) ac_sed_conf_input=$configure_input;;
8929 esac
8931 case $ac_tag in
8932 *:-:* | *:-) cat >"$ac_tmp/stdin" \
8933 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8934 esac
8936 esac
8938 ac_dir=`$as_dirname -- "$ac_file" ||
8939 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8940 X"$ac_file" : 'X\(//\)[^/]' \| \
8941 X"$ac_file" : 'X\(//\)$' \| \
8942 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8943 $as_echo X"$ac_file" |
8944 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8945 s//\1/
8948 /^X\(\/\/\)[^/].*/{
8949 s//\1/
8952 /^X\(\/\/\)$/{
8953 s//\1/
8956 /^X\(\/\).*/{
8957 s//\1/
8960 s/.*/./; q'`
8961 as_dir="$ac_dir"; as_fn_mkdir_p
8962 ac_builddir=.
8964 case "$ac_dir" in
8965 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8967 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8968 # A ".." for each directory in $ac_dir_suffix.
8969 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8970 case $ac_top_builddir_sub in
8971 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8972 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8973 esac ;;
8974 esac
8975 ac_abs_top_builddir=$ac_pwd
8976 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8977 # for backward compatibility:
8978 ac_top_builddir=$ac_top_build_prefix
8980 case $srcdir in
8981 .) # We are building in place.
8982 ac_srcdir=.
8983 ac_top_srcdir=$ac_top_builddir_sub
8984 ac_abs_top_srcdir=$ac_pwd ;;
8985 [\\/]* | ?:[\\/]* ) # Absolute name.
8986 ac_srcdir=$srcdir$ac_dir_suffix;
8987 ac_top_srcdir=$srcdir
8988 ac_abs_top_srcdir=$srcdir ;;
8989 *) # Relative name.
8990 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8991 ac_top_srcdir=$ac_top_build_prefix$srcdir
8992 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8993 esac
8994 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8997 case $ac_mode in
9000 # CONFIG_FILE
9003 case $INSTALL in
9004 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9005 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9006 esac
9007 ac_MKDIR_P=$MKDIR_P
9008 case $MKDIR_P in
9009 [\\/$]* | ?:[\\/]* ) ;;
9010 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9011 esac
9012 _ACEOF
9014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9015 # If the template does not know about datarootdir, expand it.
9016 # FIXME: This hack should be removed a few years after 2.60.
9017 ac_datarootdir_hack=; ac_datarootdir_seen=
9018 ac_sed_dataroot='
9019 /datarootdir/ {
9023 /@datadir@/p
9024 /@docdir@/p
9025 /@infodir@/p
9026 /@localedir@/p
9027 /@mandir@/p'
9028 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9029 *datarootdir*) ac_datarootdir_seen=yes;;
9030 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9032 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9033 _ACEOF
9034 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9035 ac_datarootdir_hack='
9036 s&@datadir@&$datadir&g
9037 s&@docdir@&$docdir&g
9038 s&@infodir@&$infodir&g
9039 s&@localedir@&$localedir&g
9040 s&@mandir@&$mandir&g
9041 s&\\\${datarootdir}&$datarootdir&g' ;;
9042 esac
9043 _ACEOF
9045 # Neutralize VPATH when `$srcdir' = `.'.
9046 # Shell code in configure.ac might set extrasub.
9047 # FIXME: do we really want to maintain this feature?
9048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9049 ac_sed_extra="$ac_vpsub
9050 $extrasub
9051 _ACEOF
9052 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9054 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9055 s|@configure_input@|$ac_sed_conf_input|;t t
9056 s&@top_builddir@&$ac_top_builddir_sub&;t t
9057 s&@top_build_prefix@&$ac_top_build_prefix&;t t
9058 s&@srcdir@&$ac_srcdir&;t t
9059 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9060 s&@top_srcdir@&$ac_top_srcdir&;t t
9061 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9062 s&@builddir@&$ac_builddir&;t t
9063 s&@abs_builddir@&$ac_abs_builddir&;t t
9064 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9065 s&@INSTALL@&$ac_INSTALL&;t t
9066 s&@MKDIR_P@&$ac_MKDIR_P&;t t
9067 $ac_datarootdir_hack
9069 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9070 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9072 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9073 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9074 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9075 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9077 which seems to be undefined. Please make sure it is defined" >&5
9078 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9079 which seems to be undefined. Please make sure it is defined" >&2;}
9081 rm -f "$ac_tmp/stdin"
9082 case $ac_file in
9083 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9084 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9085 esac \
9086 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9090 # CONFIG_HEADER
9092 if test x"$ac_file" != x-; then
9094 $as_echo "/* $configure_input */" \
9095 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9096 } >"$ac_tmp/config.h" \
9097 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9098 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9100 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9101 else
9102 rm -f "$ac_file"
9103 mv "$ac_tmp/config.h" "$ac_file" \
9104 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9106 else
9107 $as_echo "/* $configure_input */" \
9108 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9109 || as_fn_error $? "could not create -" "$LINENO" 5
9111 # Compute "$ac_file"'s index in $config_headers.
9112 _am_arg="$ac_file"
9113 _am_stamp_count=1
9114 for _am_header in $config_headers :; do
9115 case $_am_header in
9116 $_am_arg | $_am_arg:* )
9117 break ;;
9119 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9120 esac
9121 done
9122 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9123 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9124 X"$_am_arg" : 'X\(//\)[^/]' \| \
9125 X"$_am_arg" : 'X\(//\)$' \| \
9126 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9127 $as_echo X"$_am_arg" |
9128 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9129 s//\1/
9132 /^X\(\/\/\)[^/].*/{
9133 s//\1/
9136 /^X\(\/\/\)$/{
9137 s//\1/
9140 /^X\(\/\).*/{
9141 s//\1/
9144 s/.*/./; q'`/stamp-h$_am_stamp_count
9147 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9148 $as_echo "$as_me: executing $ac_file commands" >&6;}
9150 esac
9153 case $ac_file$ac_mode in
9154 "newlib.h":H) sed -i.tmp -e '/^#define [^_]/d' -e '/^\/\* #undef [^_]/d' newlib.h && rm -f newlib.h.tmp ;;
9155 "default-1":C)
9156 # Only add multilib support code if we just rebuilt the top-level
9157 # Makefile.
9158 case " $CONFIG_FILES " in
9159 *" Makefile "*)
9160 ac_file=Makefile . ${multi_basedir}/config-ml.in
9162 esac ;;
9163 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
9164 # Older Autoconf quotes --file arguments for eval, but not when files
9165 # are listed without --file. Let's play safe and only enable the eval
9166 # if we detect the quoting.
9167 case $CONFIG_FILES in
9168 *\'*) eval set x "$CONFIG_FILES" ;;
9169 *) set x $CONFIG_FILES ;;
9170 esac
9171 shift
9172 for mf
9174 # Strip MF so we end up with the name of the file.
9175 mf=`echo "$mf" | sed -e 's/:.*$//'`
9176 # Check whether this is an Automake generated Makefile or not.
9177 # We used to match only the files named 'Makefile.in', but
9178 # some people rename them; so instead we look at the file content.
9179 # Grep'ing the first line is not enough: some people post-process
9180 # each Makefile.in and add a new line on top of each file to say so.
9181 # Grep'ing the whole file is not good either: AIX grep has a line
9182 # limit of 2048, but all sed's we know have understand at least 4000.
9183 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9184 dirpart=`$as_dirname -- "$mf" ||
9185 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9186 X"$mf" : 'X\(//\)[^/]' \| \
9187 X"$mf" : 'X\(//\)$' \| \
9188 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9189 $as_echo X"$mf" |
9190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9191 s//\1/
9194 /^X\(\/\/\)[^/].*/{
9195 s//\1/
9198 /^X\(\/\/\)$/{
9199 s//\1/
9202 /^X\(\/\).*/{
9203 s//\1/
9206 s/.*/./; q'`
9207 else
9208 continue
9210 # Extract the definition of DEPDIR, am__include, and am__quote
9211 # from the Makefile without running 'make'.
9212 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9213 test -z "$DEPDIR" && continue
9214 am__include=`sed -n 's/^am__include = //p' < "$mf"`
9215 test -z "$am__include" && continue
9216 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9217 # Find all dependency output files, they are included files with
9218 # $(DEPDIR) in their names. We invoke sed twice because it is the
9219 # simplest approach to changing $(DEPDIR) to its actual value in the
9220 # expansion.
9221 for file in `sed -n "
9222 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9223 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
9224 # Make sure the directory exists.
9225 test -f "$dirpart/$file" && continue
9226 fdir=`$as_dirname -- "$file" ||
9227 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9228 X"$file" : 'X\(//\)[^/]' \| \
9229 X"$file" : 'X\(//\)$' \| \
9230 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9231 $as_echo X"$file" |
9232 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9233 s//\1/
9236 /^X\(\/\/\)[^/].*/{
9237 s//\1/
9240 /^X\(\/\/\)$/{
9241 s//\1/
9244 /^X\(\/\).*/{
9245 s//\1/
9248 s/.*/./; q'`
9249 as_dir=$dirpart/$fdir; as_fn_mkdir_p
9250 # echo "creating $dirpart/$file"
9251 echo '# dummy' > "$dirpart/$file"
9252 done
9253 done
9257 esac
9258 done # for ac_tag
9261 as_fn_exit 0
9262 _ACEOF
9263 ac_clean_files=$ac_clean_files_save
9265 test $ac_write_fail = 0 ||
9266 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9269 # configure is writing to config.log, and then calls config.status.
9270 # config.status does its own redirection, appending to config.log.
9271 # Unfortunately, on DOS this fails, as config.log is still kept open
9272 # by configure, so config.status won't be able to write to it; its
9273 # output is simply discarded. So we exec the FD to /dev/null,
9274 # effectively closing config.log, so it can be properly (re)opened and
9275 # appended to by config.status. When coming back to configure, we
9276 # need to make the FD available again.
9277 if test "$no_create" != yes; then
9278 ac_cs_success=:
9279 ac_config_status_args=
9280 test "$silent" = yes &&
9281 ac_config_status_args="$ac_config_status_args --quiet"
9282 exec 5>/dev/null
9283 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9284 exec 5>>config.log
9285 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9286 # would make configure fail if this is the last instruction.
9287 $ac_cs_success || as_fn_exit 1
9289 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9291 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}