Changes for 4.5.0 snapshot
[newlib-cygwin.git] / newlib / configure
blobbf8d08100c177d5d4305cc5ba70c28b3d33393d3
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for newlib 4.5.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.5.0'
580 PACKAGE_STRING='newlib 4.5.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_XTENSA_FALSE
607 HAVE_LIBM_MACHINE_XTENSA_TRUE
608 HAVE_LIBM_MACHINE_X86_64_FALSE
609 HAVE_LIBM_MACHINE_X86_64_TRUE
610 HAVE_LIBM_MACHINE_RISCV_FALSE
611 HAVE_LIBM_MACHINE_RISCV_TRUE
612 HAVE_LIBM_MACHINE_SPU_FALSE
613 HAVE_LIBM_MACHINE_SPU_TRUE
614 HAVE_LIBM_MACHINE_SPARC_FALSE
615 HAVE_LIBM_MACHINE_SPARC_TRUE
616 HAVE_LIBM_MACHINE_PRU_FALSE
617 HAVE_LIBM_MACHINE_PRU_TRUE
618 HAVE_LIBM_MACHINE_POWERPC_FALSE
619 HAVE_LIBM_MACHINE_POWERPC_TRUE
620 HAVE_LIBM_MACHINE_NDS32_FALSE
621 HAVE_LIBM_MACHINE_NDS32_TRUE
622 HAVE_LIBM_MACHINE_MIPS_FALSE
623 HAVE_LIBM_MACHINE_MIPS_TRUE
624 HAVE_LIBM_MACHINE_I386_FALSE
625 HAVE_LIBM_MACHINE_I386_TRUE
626 HAVE_LIBM_MACHINE_ARM_FALSE
627 HAVE_LIBM_MACHINE_ARM_TRUE
628 HAVE_LIBM_MACHINE_AMDGCN_FALSE
629 HAVE_LIBM_MACHINE_AMDGCN_TRUE
630 HAVE_LIBM_MACHINE_AARCH64_FALSE
631 HAVE_LIBM_MACHINE_AARCH64_TRUE
632 XTENSA_XCHAL_HAVE_FP_SQRT_FALSE
633 XTENSA_XCHAL_HAVE_FP_SQRT_TRUE
634 HAS_NDS32_FPU_DP_FALSE
635 HAS_NDS32_FPU_DP_TRUE
636 HAS_NDS32_FPU_SP_FALSE
637 HAS_NDS32_FPU_SP_TRUE
638 MACH_ADD_SETJMP_FALSE
639 MACH_ADD_SETJMP_TRUE
640 HAVE_FPMATH_H_FALSE
641 HAVE_FPMATH_H_TRUE
642 HAVE_LIBC_MACHINE_Z8K_FALSE
643 HAVE_LIBC_MACHINE_Z8K_TRUE
644 HAVE_LIBC_MACHINE_XTENSA_FALSE
645 HAVE_LIBC_MACHINE_XTENSA_TRUE
646 HAVE_LIBC_MACHINE_XSTORMY16_FALSE
647 HAVE_LIBC_MACHINE_XSTORMY16_TRUE
648 HAVE_LIBC_MACHINE_XC16X_FALSE
649 HAVE_LIBC_MACHINE_XC16X_TRUE
650 HAVE_LIBC_MACHINE_X86_64_FALSE
651 HAVE_LIBC_MACHINE_X86_64_TRUE
652 HAVE_LIBC_MACHINE_W65_FALSE
653 HAVE_LIBC_MACHINE_W65_TRUE
654 HAVE_LIBC_MACHINE_VISIUM_FALSE
655 HAVE_LIBC_MACHINE_VISIUM_TRUE
656 HAVE_LIBC_MACHINE_V850_FALSE
657 HAVE_LIBC_MACHINE_V850_TRUE
658 HAVE_LIBC_MACHINE_TIC80_FALSE
659 HAVE_LIBC_MACHINE_TIC80_TRUE
660 HAVE_LIBC_MACHINE_TIC6X_FALSE
661 HAVE_LIBC_MACHINE_TIC6X_TRUE
662 HAVE_LIBC_MACHINE_TIC4X_FALSE
663 HAVE_LIBC_MACHINE_TIC4X_TRUE
664 HAVE_LIBC_MACHINE_SPU_FALSE
665 HAVE_LIBC_MACHINE_SPU_TRUE
666 HAVE_LIBC_MACHINE_SPARC_FALSE
667 HAVE_LIBC_MACHINE_SPARC_TRUE
668 HAVE_LIBC_MACHINE_SH_FALSE
669 HAVE_LIBC_MACHINE_SH_TRUE
670 HAVE_LIBC_MACHINE_RX_FALSE
671 HAVE_LIBC_MACHINE_RX_TRUE
672 HAVE_LIBC_MACHINE_RL78_FALSE
673 HAVE_LIBC_MACHINE_RL78_TRUE
674 HAVE_LIBC_MACHINE_RISCV_FALSE
675 HAVE_LIBC_MACHINE_RISCV_TRUE
676 HAVE_LIBC_MACHINE_PRU_FALSE
677 HAVE_LIBC_MACHINE_PRU_TRUE
678 HAVE_LIBC_MACHINE_POWERPC_FALSE
679 HAVE_LIBC_MACHINE_POWERPC_TRUE
680 HAVE_LIBC_MACHINE_OR1K_FALSE
681 HAVE_LIBC_MACHINE_OR1K_TRUE
682 HAVE_LIBC_MACHINE_NVPTX_FALSE
683 HAVE_LIBC_MACHINE_NVPTX_TRUE
684 HAVE_LIBC_MACHINE_NIOS2_FALSE
685 HAVE_LIBC_MACHINE_NIOS2_TRUE
686 HAVE_LIBC_MACHINE_NECV70_FALSE
687 HAVE_LIBC_MACHINE_NECV70_TRUE
688 HAVE_LIBC_MACHINE_NDS32_FALSE
689 HAVE_LIBC_MACHINE_NDS32_TRUE
690 HAVE_LIBC_MACHINE_MT_FALSE
691 HAVE_LIBC_MACHINE_MT_TRUE
692 HAVE_LIBC_MACHINE_MSP430_FALSE
693 HAVE_LIBC_MACHINE_MSP430_TRUE
694 HAVE_LIBC_MACHINE_MOXIE_FALSE
695 HAVE_LIBC_MACHINE_MOXIE_TRUE
696 HAVE_LIBC_MACHINE_MN10300_FALSE
697 HAVE_LIBC_MACHINE_MN10300_TRUE
698 HAVE_LIBC_MACHINE_MN10200_FALSE
699 HAVE_LIBC_MACHINE_MN10200_TRUE
700 HAVE_LIBC_MACHINE_MIPS_FALSE
701 HAVE_LIBC_MACHINE_MIPS_TRUE
702 HAVE_LIBC_MACHINE_MICROBLAZE_FALSE
703 HAVE_LIBC_MACHINE_MICROBLAZE_TRUE
704 HAVE_LIBC_MACHINE_MEP_FALSE
705 HAVE_LIBC_MACHINE_MEP_TRUE
706 HAVE_LIBC_MACHINE_M88K_FALSE
707 HAVE_LIBC_MACHINE_M88K_TRUE
708 HAVE_LIBC_MACHINE_M68K_FALSE
709 HAVE_LIBC_MACHINE_M68K_TRUE
710 HAVE_LIBC_MACHINE_M68HC11_FALSE
711 HAVE_LIBC_MACHINE_M68HC11_TRUE
712 HAVE_LIBC_MACHINE_M32R_FALSE
713 HAVE_LIBC_MACHINE_M32R_TRUE
714 HAVE_LIBC_MACHINE_M32C_FALSE
715 HAVE_LIBC_MACHINE_M32C_TRUE
716 HAVE_LIBC_MACHINE_LM32_FALSE
717 HAVE_LIBC_MACHINE_LM32_TRUE
718 HAVE_LIBC_MACHINE_IQ2000_FALSE
719 HAVE_LIBC_MACHINE_IQ2000_TRUE
720 HAVE_LIBC_MACHINE_I960_FALSE
721 HAVE_LIBC_MACHINE_I960_TRUE
722 HAVE_LIBC_MACHINE_I386_FALSE
723 HAVE_LIBC_MACHINE_I386_TRUE
724 HAVE_LIBC_MACHINE_HPPA_FALSE
725 HAVE_LIBC_MACHINE_HPPA_TRUE
726 HAVE_LIBC_MACHINE_H8500_FALSE
727 HAVE_LIBC_MACHINE_H8500_TRUE
728 HAVE_LIBC_MACHINE_H8300_FALSE
729 HAVE_LIBC_MACHINE_H8300_TRUE
730 HAVE_LIBC_MACHINE_FT32_FALSE
731 HAVE_LIBC_MACHINE_FT32_TRUE
732 HAVE_LIBC_MACHINE_FRV_FALSE
733 HAVE_LIBC_MACHINE_FRV_TRUE
734 HAVE_LIBC_MACHINE_FR30_FALSE
735 HAVE_LIBC_MACHINE_FR30_TRUE
736 HAVE_LIBC_MACHINE_EPIPHANY_FALSE
737 HAVE_LIBC_MACHINE_EPIPHANY_TRUE
738 HAVE_LIBC_MACHINE_D30V_FALSE
739 HAVE_LIBC_MACHINE_D30V_TRUE
740 HAVE_LIBC_MACHINE_D10V_FALSE
741 HAVE_LIBC_MACHINE_D10V_TRUE
742 HAVE_LIBC_MACHINE_CSKY_FALSE
743 HAVE_LIBC_MACHINE_CSKY_TRUE
744 HAVE_LIBC_MACHINE_CRX_FALSE
745 HAVE_LIBC_MACHINE_CRX_TRUE
746 HAVE_LIBC_MACHINE_CRIS_FALSE
747 HAVE_LIBC_MACHINE_CRIS_TRUE
748 HAVE_LIBC_MACHINE_CR16_FALSE
749 HAVE_LIBC_MACHINE_CR16_TRUE
750 HAVE_LIBC_MACHINE_BFIN_FALSE
751 HAVE_LIBC_MACHINE_BFIN_TRUE
752 HAVE_LIBC_MACHINE_ARM_FALSE
753 HAVE_LIBC_MACHINE_ARM_TRUE
754 HAVE_LIBC_MACHINE_ARC64_FALSE
755 HAVE_LIBC_MACHINE_ARC64_TRUE
756 HAVE_LIBC_MACHINE_ARC_FALSE
757 HAVE_LIBC_MACHINE_ARC_TRUE
758 HAVE_LIBC_MACHINE_AMDGCN_FALSE
759 HAVE_LIBC_MACHINE_AMDGCN_TRUE
760 HAVE_LIBC_MACHINE_AARCH64_FALSE
761 HAVE_LIBC_MACHINE_AARCH64_TRUE
762 XTENSA_ESP32_PSRAM_CACHE_FIX_FALSE
763 XTENSA_ESP32_PSRAM_CACHE_FIX_TRUE
764 HAVE_SPU_EA_FALSE
765 HAVE_SPU_EA_TRUE
766 SH64_FALSE
767 SH64_TRUE
768 HAVE_POWERPC_SPE_FALSE
769 HAVE_POWERPC_SPE_TRUE
770 HAVE_POWERPC_ALTIVEC_FALSE
771 HAVE_POWERPC_ALTIVEC_TRUE
772 IS_NDS32_ISA_V3M_FALSE
773 IS_NDS32_ISA_V3M_TRUE
774 ENABLE_NEWLIB_ICONV_FALSE
775 ENABLE_NEWLIB_ICONV_TRUE
776 HAVE_LONG_DOUBLE_FALSE
777 HAVE_LONG_DOUBLE_TRUE
778 HAVE_LIBC_SYS_Z8KSIM_DIR_FALSE
779 HAVE_LIBC_SYS_Z8KSIM_DIR_TRUE
780 HAVE_LIBC_SYS_W65_DIR_FALSE
781 HAVE_LIBC_SYS_W65_DIR_TRUE
782 HAVE_LIBC_SYS_TIRTOS_DIR_FALSE
783 HAVE_LIBC_SYS_TIRTOS_DIR_TRUE
784 HAVE_LIBC_SYS_TIC80_DIR_FALSE
785 HAVE_LIBC_SYS_TIC80_DIR_TRUE
786 HAVE_LIBC_SYS_SYSVNECV70_DIR_FALSE
787 HAVE_LIBC_SYS_SYSVNECV70_DIR_TRUE
788 HAVE_LIBC_SYS_SYSVI386_DIR_FALSE
789 HAVE_LIBC_SYS_SYSVI386_DIR_TRUE
790 HAVE_LIBC_SYS_SYSNECV850_DIR_FALSE
791 HAVE_LIBC_SYS_SYSNECV850_DIR_TRUE
792 HAVE_LIBC_SYS_SYSNEC810_DIR_FALSE
793 HAVE_LIBC_SYS_SYSNEC810_DIR_TRUE
794 HAVE_LIBC_SYS_SYSMEC_DIR_FALSE
795 HAVE_LIBC_SYS_SYSMEC_DIR_TRUE
796 HAVE_LIBC_SYS_SH_DIR_FALSE
797 HAVE_LIBC_SYS_SH_DIR_TRUE
798 HAVE_LIBC_SYS_RTEMS_DIR_FALSE
799 HAVE_LIBC_SYS_RTEMS_DIR_TRUE
800 HAVE_LIBC_SYS_RDOS_DIR_FALSE
801 HAVE_LIBC_SYS_RDOS_DIR_TRUE
802 HAVE_LIBC_SYS_OR1K_DIR_FALSE
803 HAVE_LIBC_SYS_OR1K_DIR_TRUE
804 HAVE_LIBC_SYS_NETWARE_DIR_FALSE
805 HAVE_LIBC_SYS_NETWARE_DIR_TRUE
806 HAVE_LIBC_SYS_MMIXWARE_DIR_FALSE
807 HAVE_LIBC_SYS_MMIXWARE_DIR_TRUE
808 HAVE_LIBC_SYS_M88KBUG_DIR_FALSE
809 HAVE_LIBC_SYS_M88KBUG_DIR_TRUE
810 HAVE_LIBC_SYS_H8500HMS_DIR_FALSE
811 HAVE_LIBC_SYS_H8500HMS_DIR_TRUE
812 HAVE_LIBC_SYS_H8300HMS_DIR_FALSE
813 HAVE_LIBC_SYS_H8300HMS_DIR_TRUE
814 HAVE_LIBC_SYS_EPIPHANY_DIR_FALSE
815 HAVE_LIBC_SYS_EPIPHANY_DIR_TRUE
816 HAVE_LIBC_SYS_D10V_DIR_FALSE
817 HAVE_LIBC_SYS_D10V_DIR_TRUE
818 HAVE_LIBC_SYS_ARM_DIR_FALSE
819 HAVE_LIBC_SYS_ARM_DIR_TRUE
820 HAVE_LIBC_SYS_AMDGCN_DIR_FALSE
821 HAVE_LIBC_SYS_AMDGCN_DIR_TRUE
822 HAVE_LIBC_SYS_A29KHIF_DIR_FALSE
823 HAVE_LIBC_SYS_A29KHIF_DIR_TRUE
824 HAVE_UNIX_DIR_FALSE
825 HAVE_UNIX_DIR_TRUE
826 HAVE_SYSCALL_DIR_FALSE
827 HAVE_SYSCALL_DIR_TRUE
828 HAVE_XDR_DIR_FALSE
829 HAVE_XDR_DIR_TRUE
830 HAVE_POSIX_DIR_FALSE
831 HAVE_POSIX_DIR_TRUE
832 HAVE_STDIO64_DIR_FALSE
833 HAVE_STDIO64_DIR_TRUE
834 HAVE_STDIO_DIR_FALSE
835 HAVE_STDIO_DIR_TRUE
836 HAVE_SIGNAL_DIR_FALSE
837 HAVE_SIGNAL_DIR_TRUE
838 CC_FOR_NEWLIB
839 NEWLIB_HW_FP_FALSE
840 NEWLIB_HW_FP_TRUE
841 sys_dir
842 shared_machine_dir
843 machine_dir
844 libm_machine_dir
845 lpfx
846 ELIX_LEVEL_4_FALSE
847 ELIX_LEVEL_4_TRUE
848 ELIX_LEVEL_3_FALSE
849 ELIX_LEVEL_3_TRUE
850 ELIX_LEVEL_2_FALSE
851 ELIX_LEVEL_2_TRUE
852 ELIX_LEVEL_1_FALSE
853 ELIX_LEVEL_1_TRUE
854 ELIX_LEVEL_0_FALSE
855 ELIX_LEVEL_0_TRUE
856 NO_INCLUDE_LIST
857 NEWLIB_CFLAGS
858 READELF
859 RANLIB
860 ac_ct_AR
862 am__fastdepCCAS_FALSE
863 am__fastdepCCAS_TRUE
864 CCASDEPMODE
865 CCASFLAGS
866 CCAS
868 am__fastdepCC_FALSE
869 am__fastdepCC_TRUE
870 CCDEPMODE
871 am__nodep
872 AMDEPBACKSLASH
873 AMDEP_FALSE
874 AMDEP_TRUE
875 am__quote
876 am__include
877 DEPDIR
878 OBJEXT
879 EXEEXT
880 ac_ct_CC
881 CPPFLAGS
882 LDFLAGS
883 CFLAGS
885 MAINT
886 MAINTAINER_MODE_FALSE
887 MAINTAINER_MODE_TRUE
888 AM_BACKSLASH
889 AM_DEFAULT_VERBOSITY
890 AM_DEFAULT_V
891 AM_V
892 am__untar
893 am__tar
894 AMTAR
895 am__leading_dot
896 SET_MAKE
898 mkdir_p
899 MKDIR_P
900 INSTALL_STRIP_PROGRAM
901 STRIP
902 install_sh
903 MAKEINFO
904 AUTOHEADER
905 AUTOMAKE
906 AUTOCONF
907 ACLOCAL
908 VERSION
909 PACKAGE
910 CYGPATH_W
911 am__isrc
912 INSTALL_DATA
913 INSTALL_SCRIPT
914 INSTALL_PROGRAM
915 host_os
916 host_vendor
917 host_cpu
918 host
919 build_os
920 build_vendor
921 build_cpu
922 build
923 abs_newlib_basedir
924 newlib_basedir
925 MAY_SUPPLY_SYSCALLS_FALSE
926 MAY_SUPPLY_SYSCALLS_TRUE
927 multi_basedir
928 NEWLIB_RETARGETABLE_LOCKING_FALSE
929 NEWLIB_RETARGETABLE_LOCKING_TRUE
930 NEWLIB_NANO_FORMATTED_IO_FALSE
931 NEWLIB_NANO_FORMATTED_IO_TRUE
932 NEWLIB_NANO_MALLOC_FALSE
933 NEWLIB_NANO_MALLOC_TRUE
934 target_alias
935 host_alias
936 build_alias
937 LIBS
938 ECHO_T
939 ECHO_N
940 ECHO_C
941 DEFS
942 mandir
943 localedir
944 libdir
945 psdir
946 pdfdir
947 dvidir
948 htmldir
949 infodir
950 docdir
951 oldincludedir
952 includedir
953 localstatedir
954 sharedstatedir
955 sysconfdir
956 datadir
957 datarootdir
958 libexecdir
959 sbindir
960 bindir
961 program_transform_name
962 prefix
963 exec_prefix
964 PACKAGE_URL
965 PACKAGE_BUGREPORT
966 PACKAGE_STRING
967 PACKAGE_VERSION
968 PACKAGE_TARNAME
969 PACKAGE_NAME
970 PATH_SEPARATOR
971 SHELL'
972 ac_subst_files=''
973 ac_user_opts='
974 enable_option_checking
975 enable_newlib_io_pos_args
976 enable_newlib_io_c99_formats
977 enable_newlib_register_fini
978 enable_newlib_io_long_long
979 enable_newlib_io_long_double
980 enable_newlib_mb
981 enable_newlib_reent_check_verify
982 enable_newlib_iconv_encodings
983 enable_newlib_iconv_from_encodings
984 enable_newlib_iconv_to_encodings
985 enable_newlib_iconv_external_ccs
986 enable_newlib_atexit_dynamic_alloc
987 enable_newlib_global_atexit
988 enable_newlib_reent_small
989 enable_newlib_reent_binary_compat
990 enable_newlib_reent_thread_local
991 enable_newlib_global_stdio_streams
992 enable_newlib_fvwrite_in_streamio
993 enable_newlib_fseek_optimization
994 enable_newlib_wide_orient
995 enable_newlib_nano_malloc
996 enable_newlib_unbuf_stream_opt
997 enable_lite_exit
998 enable_newlib_nano_formatted_io
999 enable_newlib_retargetable_locking
1000 enable_newlib_long_time_t
1001 enable_newlib_use_gdtoa
1002 enable_multilib
1003 enable_target_optspace
1004 enable_malloc_debugging
1005 enable_newlib_multithread
1006 enable_newlib_iconv
1007 enable_newlib_elix_level
1008 enable_newlib_io_float
1009 enable_newlib_supplied_syscalls
1010 enable_newlib_fno_builtin
1011 enable_silent_rules
1012 enable_maintainer_mode
1013 enable_dependency_tracking
1015 ac_precious_vars='build_alias
1016 host_alias
1017 target_alias
1019 CFLAGS
1020 LDFLAGS
1021 LIBS
1022 CPPFLAGS
1024 CCAS
1025 CCASFLAGS'
1028 # Initialize some variables set by options.
1029 ac_init_help=
1030 ac_init_version=false
1031 ac_unrecognized_opts=
1032 ac_unrecognized_sep=
1033 # The variables have the same names as the options, with
1034 # dashes changed to underlines.
1035 cache_file=/dev/null
1036 exec_prefix=NONE
1037 no_create=
1038 no_recursion=
1039 prefix=NONE
1040 program_prefix=NONE
1041 program_suffix=NONE
1042 program_transform_name=s,x,x,
1043 silent=
1044 site=
1045 srcdir=
1046 verbose=
1047 x_includes=NONE
1048 x_libraries=NONE
1050 # Installation directory options.
1051 # These are left unexpanded so users can "make install exec_prefix=/foo"
1052 # and all the variables that are supposed to be based on exec_prefix
1053 # by default will actually change.
1054 # Use braces instead of parens because sh, perl, etc. also accept them.
1055 # (The list follows the same order as the GNU Coding Standards.)
1056 bindir='${exec_prefix}/bin'
1057 sbindir='${exec_prefix}/sbin'
1058 libexecdir='${exec_prefix}/libexec'
1059 datarootdir='${prefix}/share'
1060 datadir='${datarootdir}'
1061 sysconfdir='${prefix}/etc'
1062 sharedstatedir='${prefix}/com'
1063 localstatedir='${prefix}/var'
1064 includedir='${prefix}/include'
1065 oldincludedir='/usr/include'
1066 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1067 infodir='${datarootdir}/info'
1068 htmldir='${docdir}'
1069 dvidir='${docdir}'
1070 pdfdir='${docdir}'
1071 psdir='${docdir}'
1072 libdir='${exec_prefix}/lib'
1073 localedir='${datarootdir}/locale'
1074 mandir='${datarootdir}/man'
1076 ac_prev=
1077 ac_dashdash=
1078 for ac_option
1080 # If the previous option needs an argument, assign it.
1081 if test -n "$ac_prev"; then
1082 eval $ac_prev=\$ac_option
1083 ac_prev=
1084 continue
1087 case $ac_option in
1088 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1089 *=) ac_optarg= ;;
1090 *) ac_optarg=yes ;;
1091 esac
1093 # Accept the important Cygnus configure options, so we can diagnose typos.
1095 case $ac_dashdash$ac_option in
1097 ac_dashdash=yes ;;
1099 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1100 ac_prev=bindir ;;
1101 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1102 bindir=$ac_optarg ;;
1104 -build | --build | --buil | --bui | --bu)
1105 ac_prev=build_alias ;;
1106 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1107 build_alias=$ac_optarg ;;
1109 -cache-file | --cache-file | --cache-fil | --cache-fi \
1110 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1111 ac_prev=cache_file ;;
1112 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1113 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1114 cache_file=$ac_optarg ;;
1116 --config-cache | -C)
1117 cache_file=config.cache ;;
1119 -datadir | --datadir | --datadi | --datad)
1120 ac_prev=datadir ;;
1121 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1122 datadir=$ac_optarg ;;
1124 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1125 | --dataroo | --dataro | --datar)
1126 ac_prev=datarootdir ;;
1127 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1128 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1129 datarootdir=$ac_optarg ;;
1131 -disable-* | --disable-*)
1132 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1133 # Reject names that are not valid shell variable names.
1134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1135 as_fn_error $? "invalid feature name: $ac_useropt"
1136 ac_useropt_orig=$ac_useropt
1137 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1138 case $ac_user_opts in
1140 "enable_$ac_useropt"
1141 "*) ;;
1142 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1143 ac_unrecognized_sep=', ';;
1144 esac
1145 eval enable_$ac_useropt=no ;;
1147 -docdir | --docdir | --docdi | --doc | --do)
1148 ac_prev=docdir ;;
1149 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1150 docdir=$ac_optarg ;;
1152 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1153 ac_prev=dvidir ;;
1154 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1155 dvidir=$ac_optarg ;;
1157 -enable-* | --enable-*)
1158 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1159 # Reject names that are not valid shell variable names.
1160 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1161 as_fn_error $? "invalid feature name: $ac_useropt"
1162 ac_useropt_orig=$ac_useropt
1163 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1164 case $ac_user_opts in
1166 "enable_$ac_useropt"
1167 "*) ;;
1168 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1169 ac_unrecognized_sep=', ';;
1170 esac
1171 eval enable_$ac_useropt=\$ac_optarg ;;
1173 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1174 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1175 | --exec | --exe | --ex)
1176 ac_prev=exec_prefix ;;
1177 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1178 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1179 | --exec=* | --exe=* | --ex=*)
1180 exec_prefix=$ac_optarg ;;
1182 -gas | --gas | --ga | --g)
1183 # Obsolete; use --with-gas.
1184 with_gas=yes ;;
1186 -help | --help | --hel | --he | -h)
1187 ac_init_help=long ;;
1188 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1189 ac_init_help=recursive ;;
1190 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1191 ac_init_help=short ;;
1193 -host | --host | --hos | --ho)
1194 ac_prev=host_alias ;;
1195 -host=* | --host=* | --hos=* | --ho=*)
1196 host_alias=$ac_optarg ;;
1198 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1199 ac_prev=htmldir ;;
1200 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1201 | --ht=*)
1202 htmldir=$ac_optarg ;;
1204 -includedir | --includedir | --includedi | --included | --include \
1205 | --includ | --inclu | --incl | --inc)
1206 ac_prev=includedir ;;
1207 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1208 | --includ=* | --inclu=* | --incl=* | --inc=*)
1209 includedir=$ac_optarg ;;
1211 -infodir | --infodir | --infodi | --infod | --info | --inf)
1212 ac_prev=infodir ;;
1213 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1214 infodir=$ac_optarg ;;
1216 -libdir | --libdir | --libdi | --libd)
1217 ac_prev=libdir ;;
1218 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1219 libdir=$ac_optarg ;;
1221 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1222 | --libexe | --libex | --libe)
1223 ac_prev=libexecdir ;;
1224 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1225 | --libexe=* | --libex=* | --libe=*)
1226 libexecdir=$ac_optarg ;;
1228 -localedir | --localedir | --localedi | --localed | --locale)
1229 ac_prev=localedir ;;
1230 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1231 localedir=$ac_optarg ;;
1233 -localstatedir | --localstatedir | --localstatedi | --localstated \
1234 | --localstate | --localstat | --localsta | --localst | --locals)
1235 ac_prev=localstatedir ;;
1236 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1237 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1238 localstatedir=$ac_optarg ;;
1240 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1241 ac_prev=mandir ;;
1242 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1243 mandir=$ac_optarg ;;
1245 -nfp | --nfp | --nf)
1246 # Obsolete; use --without-fp.
1247 with_fp=no ;;
1249 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1250 | --no-cr | --no-c | -n)
1251 no_create=yes ;;
1253 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1254 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1255 no_recursion=yes ;;
1257 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1258 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1259 | --oldin | --oldi | --old | --ol | --o)
1260 ac_prev=oldincludedir ;;
1261 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1262 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1263 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1264 oldincludedir=$ac_optarg ;;
1266 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1267 ac_prev=prefix ;;
1268 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1269 prefix=$ac_optarg ;;
1271 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1272 | --program-pre | --program-pr | --program-p)
1273 ac_prev=program_prefix ;;
1274 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1275 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1276 program_prefix=$ac_optarg ;;
1278 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1279 | --program-suf | --program-su | --program-s)
1280 ac_prev=program_suffix ;;
1281 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1282 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1283 program_suffix=$ac_optarg ;;
1285 -program-transform-name | --program-transform-name \
1286 | --program-transform-nam | --program-transform-na \
1287 | --program-transform-n | --program-transform- \
1288 | --program-transform | --program-transfor \
1289 | --program-transfo | --program-transf \
1290 | --program-trans | --program-tran \
1291 | --progr-tra | --program-tr | --program-t)
1292 ac_prev=program_transform_name ;;
1293 -program-transform-name=* | --program-transform-name=* \
1294 | --program-transform-nam=* | --program-transform-na=* \
1295 | --program-transform-n=* | --program-transform-=* \
1296 | --program-transform=* | --program-transfor=* \
1297 | --program-transfo=* | --program-transf=* \
1298 | --program-trans=* | --program-tran=* \
1299 | --progr-tra=* | --program-tr=* | --program-t=*)
1300 program_transform_name=$ac_optarg ;;
1302 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1303 ac_prev=pdfdir ;;
1304 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1305 pdfdir=$ac_optarg ;;
1307 -psdir | --psdir | --psdi | --psd | --ps)
1308 ac_prev=psdir ;;
1309 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1310 psdir=$ac_optarg ;;
1312 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1313 | -silent | --silent | --silen | --sile | --sil)
1314 silent=yes ;;
1316 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1317 ac_prev=sbindir ;;
1318 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1319 | --sbi=* | --sb=*)
1320 sbindir=$ac_optarg ;;
1322 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1323 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1324 | --sharedst | --shareds | --shared | --share | --shar \
1325 | --sha | --sh)
1326 ac_prev=sharedstatedir ;;
1327 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1328 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1329 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1330 | --sha=* | --sh=*)
1331 sharedstatedir=$ac_optarg ;;
1333 -site | --site | --sit)
1334 ac_prev=site ;;
1335 -site=* | --site=* | --sit=*)
1336 site=$ac_optarg ;;
1338 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1339 ac_prev=srcdir ;;
1340 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1341 srcdir=$ac_optarg ;;
1343 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1344 | --syscon | --sysco | --sysc | --sys | --sy)
1345 ac_prev=sysconfdir ;;
1346 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1347 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1348 sysconfdir=$ac_optarg ;;
1350 -target | --target | --targe | --targ | --tar | --ta | --t)
1351 ac_prev=target_alias ;;
1352 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1353 target_alias=$ac_optarg ;;
1355 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1356 verbose=yes ;;
1358 -version | --version | --versio | --versi | --vers | -V)
1359 ac_init_version=: ;;
1361 -with-* | --with-*)
1362 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1363 # Reject names that are not valid shell variable names.
1364 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1365 as_fn_error $? "invalid package name: $ac_useropt"
1366 ac_useropt_orig=$ac_useropt
1367 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1368 case $ac_user_opts in
1370 "with_$ac_useropt"
1371 "*) ;;
1372 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1373 ac_unrecognized_sep=', ';;
1374 esac
1375 eval with_$ac_useropt=\$ac_optarg ;;
1377 -without-* | --without-*)
1378 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1379 # Reject names that are not valid shell variable names.
1380 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1381 as_fn_error $? "invalid package name: $ac_useropt"
1382 ac_useropt_orig=$ac_useropt
1383 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1384 case $ac_user_opts in
1386 "with_$ac_useropt"
1387 "*) ;;
1388 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1389 ac_unrecognized_sep=', ';;
1390 esac
1391 eval with_$ac_useropt=no ;;
1393 --x)
1394 # Obsolete; use --with-x.
1395 with_x=yes ;;
1397 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1398 | --x-incl | --x-inc | --x-in | --x-i)
1399 ac_prev=x_includes ;;
1400 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1401 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1402 x_includes=$ac_optarg ;;
1404 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1405 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1406 ac_prev=x_libraries ;;
1407 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1408 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1409 x_libraries=$ac_optarg ;;
1411 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1412 Try \`$0 --help' for more information"
1415 *=*)
1416 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1417 # Reject names that are not valid shell variable names.
1418 case $ac_envvar in #(
1419 '' | [0-9]* | *[!_$as_cr_alnum]* )
1420 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1421 esac
1422 eval $ac_envvar=\$ac_optarg
1423 export $ac_envvar ;;
1426 # FIXME: should be removed in autoconf 3.0.
1427 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1428 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1429 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1430 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1433 esac
1434 done
1436 if test -n "$ac_prev"; then
1437 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1438 as_fn_error $? "missing argument to $ac_option"
1441 if test -n "$ac_unrecognized_opts"; then
1442 case $enable_option_checking in
1443 no) ;;
1444 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1445 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1446 esac
1449 # Check all directory arguments for consistency.
1450 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1451 datadir sysconfdir sharedstatedir localstatedir includedir \
1452 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1453 libdir localedir mandir
1455 eval ac_val=\$$ac_var
1456 # Remove trailing slashes.
1457 case $ac_val in
1458 */ )
1459 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1460 eval $ac_var=\$ac_val;;
1461 esac
1462 # Be sure to have absolute directory names.
1463 case $ac_val in
1464 [\\/$]* | ?:[\\/]* ) continue;;
1465 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1466 esac
1467 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1468 done
1470 # There might be people who depend on the old broken behavior: `$host'
1471 # used to hold the argument of --host etc.
1472 # FIXME: To remove some day.
1473 build=$build_alias
1474 host=$host_alias
1475 target=$target_alias
1477 # FIXME: To remove some day.
1478 if test "x$host_alias" != x; then
1479 if test "x$build_alias" = x; then
1480 cross_compiling=maybe
1481 elif test "x$build_alias" != "x$host_alias"; then
1482 cross_compiling=yes
1486 ac_tool_prefix=
1487 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1489 test "$silent" = yes && exec 6>/dev/null
1492 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1493 ac_ls_di=`ls -di .` &&
1494 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1495 as_fn_error $? "working directory cannot be determined"
1496 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1497 as_fn_error $? "pwd does not report name of working directory"
1500 # Find the source files, if location was not specified.
1501 if test -z "$srcdir"; then
1502 ac_srcdir_defaulted=yes
1503 # Try the directory containing this script, then the parent directory.
1504 ac_confdir=`$as_dirname -- "$as_myself" ||
1505 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1506 X"$as_myself" : 'X\(//\)[^/]' \| \
1507 X"$as_myself" : 'X\(//\)$' \| \
1508 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1509 $as_echo X"$as_myself" |
1510 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1511 s//\1/
1514 /^X\(\/\/\)[^/].*/{
1515 s//\1/
1518 /^X\(\/\/\)$/{
1519 s//\1/
1522 /^X\(\/\).*/{
1523 s//\1/
1526 s/.*/./; q'`
1527 srcdir=$ac_confdir
1528 if test ! -r "$srcdir/$ac_unique_file"; then
1529 srcdir=..
1531 else
1532 ac_srcdir_defaulted=no
1534 if test ! -r "$srcdir/$ac_unique_file"; then
1535 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1536 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1538 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1539 ac_abs_confdir=`(
1540 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1541 pwd)`
1542 # When building in place, set srcdir=.
1543 if test "$ac_abs_confdir" = "$ac_pwd"; then
1544 srcdir=.
1546 # Remove unnecessary trailing slashes from srcdir.
1547 # Double slashes in file names in object file debugging info
1548 # mess up M-x gdb in Emacs.
1549 case $srcdir in
1550 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1551 esac
1552 for ac_var in $ac_precious_vars; do
1553 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1554 eval ac_env_${ac_var}_value=\$${ac_var}
1555 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1556 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1557 done
1560 # Report the --help message.
1562 if test "$ac_init_help" = "long"; then
1563 # Omit some internal or obsolete options to make the list less imposing.
1564 # This message is too long to be a string in the A/UX 3.1 sh.
1565 cat <<_ACEOF
1566 \`configure' configures newlib 4.5.0 to adapt to many kinds of systems.
1568 Usage: $0 [OPTION]... [VAR=VALUE]...
1570 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1571 VAR=VALUE. See below for descriptions of some of the useful variables.
1573 Defaults for the options are specified in brackets.
1575 Configuration:
1576 -h, --help display this help and exit
1577 --help=short display options specific to this package
1578 --help=recursive display the short help of all the included packages
1579 -V, --version display version information and exit
1580 -q, --quiet, --silent do not print \`checking ...' messages
1581 --cache-file=FILE cache test results in FILE [disabled]
1582 -C, --config-cache alias for \`--cache-file=config.cache'
1583 -n, --no-create do not create output files
1584 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1586 Installation directories:
1587 --prefix=PREFIX install architecture-independent files in PREFIX
1588 [$ac_default_prefix]
1589 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1590 [PREFIX]
1592 By default, \`make install' will install all the files in
1593 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1594 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1595 for instance \`--prefix=\$HOME'.
1597 For better control, use the options below.
1599 Fine tuning of the installation directories:
1600 --bindir=DIR user executables [EPREFIX/bin]
1601 --sbindir=DIR system admin executables [EPREFIX/sbin]
1602 --libexecdir=DIR program executables [EPREFIX/libexec]
1603 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1604 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1605 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1606 --libdir=DIR object code libraries [EPREFIX/lib]
1607 --includedir=DIR C header files [PREFIX/include]
1608 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1609 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1610 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1611 --infodir=DIR info documentation [DATAROOTDIR/info]
1612 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1613 --mandir=DIR man documentation [DATAROOTDIR/man]
1614 --docdir=DIR documentation root [DATAROOTDIR/doc/newlib]
1615 --htmldir=DIR html documentation [DOCDIR]
1616 --dvidir=DIR dvi documentation [DOCDIR]
1617 --pdfdir=DIR pdf documentation [DOCDIR]
1618 --psdir=DIR ps documentation [DOCDIR]
1619 _ACEOF
1621 cat <<\_ACEOF
1623 Program names:
1624 --program-prefix=PREFIX prepend PREFIX to installed program names
1625 --program-suffix=SUFFIX append SUFFIX to installed program names
1626 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1628 System types:
1629 --build=BUILD configure for building on BUILD [guessed]
1630 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1631 _ACEOF
1634 if test -n "$ac_init_help"; then
1635 case $ac_init_help in
1636 short | recursive ) echo "Configuration of newlib 4.5.0:";;
1637 esac
1638 cat <<\_ACEOF
1640 Optional Features:
1641 --disable-option-checking ignore unrecognized --enable/--with options
1642 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1643 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1644 --enable-newlib-io-pos-args enable printf-family positional arg support
1645 --enable-newlib-io-c99-formats enable C99 support in IO functions like printf/scanf
1646 --enable-newlib-register-fini enable finalization function registration using atexit
1647 --enable-newlib-io-long-long enable long long type support in IO functions like printf/scanf
1648 --enable-newlib-io-long-double enable long double type support in IO functions printf/scanf
1649 --enable-newlib-mb enable multibyte support
1650 --disable-newlib-reent-check-verify disable checking of _REENT_CHECK memory allocation
1651 --enable-newlib-iconv-encodings enable specific comma-separated list of bidirectional iconv encodings to be built-in
1652 --enable-newlib-iconv-from-encodings enable specific comma-separated list of \"from\" iconv encodings to be built-in
1653 --enable-newlib-iconv-to-encodings enable specific comma-separated list of \"to\" iconv encodings to be built-in
1654 --enable-newlib-iconv-external-ccs enable capabilities to load external CCS files for iconv
1655 --disable-newlib-atexit-dynamic-alloc disable dynamic allocation of atexit entries
1656 --enable-newlib-global-atexit enable atexit data structure as global
1657 --enable-newlib-reent-small enable small reentrant struct support
1658 --enable-newlib-reent-binary-compat enable backward binary compatibility for struct _reent
1659 --enable-newlib-reent-thread-local enable thread-local storage objects as a replacment for struct _reent members
1660 --enable-newlib-global-stdio-streams enable global stdio streams
1661 --disable-newlib-fvwrite-in-streamio disable iov in streamio
1662 --disable-newlib-fseek-optimization disable fseek optimization
1663 --disable-newlib-wide-orient Turn off wide orientation in streamio
1664 --enable-newlib-nano-malloc use small-footprint nano-malloc implementation
1665 --disable-newlib-unbuf-stream-opt disable unbuffered stream optimization in streamio
1666 --enable-lite-exit enable light weight exit
1667 --enable-newlib-nano-formatted-io Use small-footprint nano-formatted-IO implementation
1668 --enable-newlib-retargetable-locking Allow locking routines to be retargeted at link time
1669 --enable-newlib-long-time_t define time_t to long
1670 --enable-newlib-use-gdtoa Use gdtoa rather than legacy ldtoa
1671 --enable-multilib build many library versions (default)
1672 --enable-target-optspace optimize for space
1673 --enable-malloc-debugging indicate malloc debugging requested
1674 --enable-newlib-multithread enable support for multiple threads
1675 --enable-newlib-iconv enable iconv library support
1676 --enable-newlib-elix-level supply desired elix library level (1-4)
1677 --disable-newlib-io-float disable printf/scanf family float support
1678 --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
1679 --disable-newlib-fno-builtin disable -fno-builtin flag to allow compiler to use builtin library functions
1680 --enable-silent-rules less verbose build output (undo: "make V=1")
1681 --disable-silent-rules verbose build output (undo: "make V=0")
1682 --enable-maintainer-mode
1683 enable make rules and dependencies not useful (and
1684 sometimes confusing) to the casual installer
1685 --enable-dependency-tracking
1686 do not reject slow dependency extractors
1687 --disable-dependency-tracking
1688 speeds up one-time build
1690 Some influential environment variables:
1691 CC C compiler command
1692 CFLAGS C compiler flags
1693 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1694 nonstandard directory <lib dir>
1695 LIBS libraries to pass to the linker, e.g. -l<library>
1696 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1697 you have headers in a nonstandard directory <include dir>
1698 CPP C preprocessor
1699 CCAS assembler compiler command (defaults to CC)
1700 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1702 Use these variables to override the choices made by `configure' or to help
1703 it to find libraries and programs with nonstandard names/locations.
1705 Report bugs to the package provider.
1706 _ACEOF
1707 ac_status=$?
1710 if test "$ac_init_help" = "recursive"; then
1711 # If there are subdirs, report their specific --help.
1712 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1713 test -d "$ac_dir" ||
1714 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1715 continue
1716 ac_builddir=.
1718 case "$ac_dir" in
1719 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1721 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1722 # A ".." for each directory in $ac_dir_suffix.
1723 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1724 case $ac_top_builddir_sub in
1725 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1726 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1727 esac ;;
1728 esac
1729 ac_abs_top_builddir=$ac_pwd
1730 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1731 # for backward compatibility:
1732 ac_top_builddir=$ac_top_build_prefix
1734 case $srcdir in
1735 .) # We are building in place.
1736 ac_srcdir=.
1737 ac_top_srcdir=$ac_top_builddir_sub
1738 ac_abs_top_srcdir=$ac_pwd ;;
1739 [\\/]* | ?:[\\/]* ) # Absolute name.
1740 ac_srcdir=$srcdir$ac_dir_suffix;
1741 ac_top_srcdir=$srcdir
1742 ac_abs_top_srcdir=$srcdir ;;
1743 *) # Relative name.
1744 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1745 ac_top_srcdir=$ac_top_build_prefix$srcdir
1746 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1747 esac
1748 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1750 cd "$ac_dir" || { ac_status=$?; continue; }
1751 # Check for guested configure.
1752 if test -f "$ac_srcdir/configure.gnu"; then
1753 echo &&
1754 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1755 elif test -f "$ac_srcdir/configure"; then
1756 echo &&
1757 $SHELL "$ac_srcdir/configure" --help=recursive
1758 else
1759 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1760 fi || ac_status=$?
1761 cd "$ac_pwd" || { ac_status=$?; break; }
1762 done
1765 test -n "$ac_init_help" && exit $ac_status
1766 if $ac_init_version; then
1767 cat <<\_ACEOF
1768 newlib configure 4.5.0
1769 generated by GNU Autoconf 2.69
1771 Copyright (C) 2012 Free Software Foundation, Inc.
1772 This configure script is free software; the Free Software Foundation
1773 gives unlimited permission to copy, distribute and modify it.
1774 _ACEOF
1775 exit
1778 ## ------------------------ ##
1779 ## Autoconf initialization. ##
1780 ## ------------------------ ##
1782 # ac_fn_c_try_compile LINENO
1783 # --------------------------
1784 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1785 ac_fn_c_try_compile ()
1787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1788 rm -f conftest.$ac_objext
1789 if { { ac_try="$ac_compile"
1790 case "(($ac_try" in
1791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1792 *) ac_try_echo=$ac_try;;
1793 esac
1794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795 $as_echo "$ac_try_echo"; } >&5
1796 (eval "$ac_compile") 2>conftest.err
1797 ac_status=$?
1798 if test -s conftest.err; then
1799 grep -v '^ *+' conftest.err >conftest.er1
1800 cat conftest.er1 >&5
1801 mv -f conftest.er1 conftest.err
1803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1804 test $ac_status = 0; } && {
1805 test -z "$ac_c_werror_flag" ||
1806 test ! -s conftest.err
1807 } && test -s conftest.$ac_objext; then :
1808 ac_retval=0
1809 else
1810 $as_echo "$as_me: failed program was:" >&5
1811 sed 's/^/| /' conftest.$ac_ext >&5
1813 ac_retval=1
1815 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1816 as_fn_set_status $ac_retval
1818 } # ac_fn_c_try_compile
1820 # ac_fn_c_try_cpp LINENO
1821 # ----------------------
1822 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1823 ac_fn_c_try_cpp ()
1825 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1826 if { { ac_try="$ac_cpp conftest.$ac_ext"
1827 case "(($ac_try" in
1828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1829 *) ac_try_echo=$ac_try;;
1830 esac
1831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1832 $as_echo "$ac_try_echo"; } >&5
1833 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1834 ac_status=$?
1835 if test -s conftest.err; then
1836 grep -v '^ *+' conftest.err >conftest.er1
1837 cat conftest.er1 >&5
1838 mv -f conftest.er1 conftest.err
1840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1841 test $ac_status = 0; } > conftest.i && {
1842 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1843 test ! -s conftest.err
1844 }; then :
1845 ac_retval=0
1846 else
1847 $as_echo "$as_me: failed program was:" >&5
1848 sed 's/^/| /' conftest.$ac_ext >&5
1850 ac_retval=1
1852 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1853 as_fn_set_status $ac_retval
1855 } # ac_fn_c_try_cpp
1856 cat >config.log <<_ACEOF
1857 This file contains any messages produced by compilers while
1858 running configure, to aid debugging if configure makes a mistake.
1860 It was created by newlib $as_me 4.5.0, which was
1861 generated by GNU Autoconf 2.69. Invocation command line was
1863 $ $0 $@
1865 _ACEOF
1866 exec 5>>config.log
1868 cat <<_ASUNAME
1869 ## --------- ##
1870 ## Platform. ##
1871 ## --------- ##
1873 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1874 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1875 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1876 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1877 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1879 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1880 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1882 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1883 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1884 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1885 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1886 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1887 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1888 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1890 _ASUNAME
1892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1893 for as_dir in $PATH
1895 IFS=$as_save_IFS
1896 test -z "$as_dir" && as_dir=.
1897 $as_echo "PATH: $as_dir"
1898 done
1899 IFS=$as_save_IFS
1901 } >&5
1903 cat >&5 <<_ACEOF
1906 ## ----------- ##
1907 ## Core tests. ##
1908 ## ----------- ##
1910 _ACEOF
1913 # Keep a trace of the command line.
1914 # Strip out --no-create and --no-recursion so they do not pile up.
1915 # Strip out --silent because we don't want to record it for future runs.
1916 # Also quote any args containing shell meta-characters.
1917 # Make two passes to allow for proper duplicate-argument suppression.
1918 ac_configure_args=
1919 ac_configure_args0=
1920 ac_configure_args1=
1921 ac_must_keep_next=false
1922 for ac_pass in 1 2
1924 for ac_arg
1926 case $ac_arg in
1927 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1928 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1929 | -silent | --silent | --silen | --sile | --sil)
1930 continue ;;
1931 *\'*)
1932 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1933 esac
1934 case $ac_pass in
1935 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1937 as_fn_append ac_configure_args1 " '$ac_arg'"
1938 if test $ac_must_keep_next = true; then
1939 ac_must_keep_next=false # Got value, back to normal.
1940 else
1941 case $ac_arg in
1942 *=* | --config-cache | -C | -disable-* | --disable-* \
1943 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1944 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1945 | -with-* | --with-* | -without-* | --without-* | --x)
1946 case "$ac_configure_args0 " in
1947 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1948 esac
1950 -* ) ac_must_keep_next=true ;;
1951 esac
1953 as_fn_append ac_configure_args " '$ac_arg'"
1955 esac
1956 done
1957 done
1958 { ac_configure_args0=; unset ac_configure_args0;}
1959 { ac_configure_args1=; unset ac_configure_args1;}
1961 # When interrupted or exit'd, cleanup temporary files, and complete
1962 # config.log. We remove comments because anyway the quotes in there
1963 # would cause problems or look ugly.
1964 # WARNING: Use '\'' to represent an apostrophe within the trap.
1965 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1966 trap 'exit_status=$?
1967 # Save into config.log some information that might help in debugging.
1969 echo
1971 $as_echo "## ---------------- ##
1972 ## Cache variables. ##
1973 ## ---------------- ##"
1974 echo
1975 # The following way of writing the cache mishandles newlines in values,
1977 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1978 eval ac_val=\$$ac_var
1979 case $ac_val in #(
1980 *${as_nl}*)
1981 case $ac_var in #(
1982 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1983 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1984 esac
1985 case $ac_var in #(
1986 _ | IFS | as_nl) ;; #(
1987 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1988 *) { eval $ac_var=; unset $ac_var;} ;;
1989 esac ;;
1990 esac
1991 done
1992 (set) 2>&1 |
1993 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1994 *${as_nl}ac_space=\ *)
1995 sed -n \
1996 "s/'\''/'\''\\\\'\'''\''/g;
1997 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1998 ;; #(
2000 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2002 esac |
2003 sort
2005 echo
2007 $as_echo "## ----------------- ##
2008 ## Output variables. ##
2009 ## ----------------- ##"
2010 echo
2011 for ac_var in $ac_subst_vars
2013 eval ac_val=\$$ac_var
2014 case $ac_val in
2015 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2016 esac
2017 $as_echo "$ac_var='\''$ac_val'\''"
2018 done | sort
2019 echo
2021 if test -n "$ac_subst_files"; then
2022 $as_echo "## ------------------- ##
2023 ## File substitutions. ##
2024 ## ------------------- ##"
2025 echo
2026 for ac_var in $ac_subst_files
2028 eval ac_val=\$$ac_var
2029 case $ac_val in
2030 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2031 esac
2032 $as_echo "$ac_var='\''$ac_val'\''"
2033 done | sort
2034 echo
2037 if test -s confdefs.h; then
2038 $as_echo "## ----------- ##
2039 ## confdefs.h. ##
2040 ## ----------- ##"
2041 echo
2042 cat confdefs.h
2043 echo
2045 test "$ac_signal" != 0 &&
2046 $as_echo "$as_me: caught signal $ac_signal"
2047 $as_echo "$as_me: exit $exit_status"
2048 } >&5
2049 rm -f core *.core core.conftest.* &&
2050 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2051 exit $exit_status
2053 for ac_signal in 1 2 13 15; do
2054 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2055 done
2056 ac_signal=0
2058 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2059 rm -f -r conftest* confdefs.h
2061 $as_echo "/* confdefs.h */" > confdefs.h
2063 # Predefined preprocessor variables.
2065 cat >>confdefs.h <<_ACEOF
2066 #define PACKAGE_NAME "$PACKAGE_NAME"
2067 _ACEOF
2069 cat >>confdefs.h <<_ACEOF
2070 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2071 _ACEOF
2073 cat >>confdefs.h <<_ACEOF
2074 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2075 _ACEOF
2077 cat >>confdefs.h <<_ACEOF
2078 #define PACKAGE_STRING "$PACKAGE_STRING"
2079 _ACEOF
2081 cat >>confdefs.h <<_ACEOF
2082 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2083 _ACEOF
2085 cat >>confdefs.h <<_ACEOF
2086 #define PACKAGE_URL "$PACKAGE_URL"
2087 _ACEOF
2090 # Let the site file select an alternate cache file if it wants to.
2091 # Prefer an explicitly selected file to automatically selected ones.
2092 ac_site_file1=NONE
2093 ac_site_file2=NONE
2094 if test -n "$CONFIG_SITE"; then
2095 # We do not want a PATH search for config.site.
2096 case $CONFIG_SITE in #((
2097 -*) ac_site_file1=./$CONFIG_SITE;;
2098 */*) ac_site_file1=$CONFIG_SITE;;
2099 *) ac_site_file1=./$CONFIG_SITE;;
2100 esac
2101 elif test "x$prefix" != xNONE; then
2102 ac_site_file1=$prefix/share/config.site
2103 ac_site_file2=$prefix/etc/config.site
2104 else
2105 ac_site_file1=$ac_default_prefix/share/config.site
2106 ac_site_file2=$ac_default_prefix/etc/config.site
2108 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2110 test "x$ac_site_file" = xNONE && continue
2111 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2113 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2114 sed 's/^/| /' "$ac_site_file" >&5
2115 . "$ac_site_file" \
2116 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2118 as_fn_error $? "failed to load site script $ac_site_file
2119 See \`config.log' for more details" "$LINENO" 5; }
2121 done
2123 if test -r "$cache_file"; then
2124 # Some versions of bash will fail to source /dev/null (special files
2125 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2126 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2128 $as_echo "$as_me: loading cache $cache_file" >&6;}
2129 case $cache_file in
2130 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2131 *) . "./$cache_file";;
2132 esac
2134 else
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2136 $as_echo "$as_me: creating cache $cache_file" >&6;}
2137 >$cache_file
2140 # Check that the precious variables saved in the cache have kept the same
2141 # value.
2142 ac_cache_corrupted=false
2143 for ac_var in $ac_precious_vars; do
2144 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2145 eval ac_new_set=\$ac_env_${ac_var}_set
2146 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2147 eval ac_new_val=\$ac_env_${ac_var}_value
2148 case $ac_old_set,$ac_new_set in
2149 set,)
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2151 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2152 ac_cache_corrupted=: ;;
2153 ,set)
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2155 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2156 ac_cache_corrupted=: ;;
2157 ,);;
2159 if test "x$ac_old_val" != "x$ac_new_val"; then
2160 # differences in whitespace do not lead to failure.
2161 ac_old_val_w=`echo x $ac_old_val`
2162 ac_new_val_w=`echo x $ac_new_val`
2163 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2165 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2166 ac_cache_corrupted=:
2167 else
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2169 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2170 eval $ac_var=\$ac_old_val
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2173 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2175 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2176 fi;;
2177 esac
2178 # Pass precious variables to config.status.
2179 if test "$ac_new_set" = set; then
2180 case $ac_new_val in
2181 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2182 *) ac_arg=$ac_var=$ac_new_val ;;
2183 esac
2184 case " $ac_configure_args " in
2185 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2186 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2187 esac
2189 done
2190 if $ac_cache_corrupted; then
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2194 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2195 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2197 ## -------------------- ##
2198 ## Main body of script. ##
2199 ## -------------------- ##
2201 ac_ext=c
2202 ac_cpp='$CPP $CPPFLAGS'
2203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2213 ac_config_headers="$ac_config_headers newlib.h:newlib.hin"
2218 ac_config_headers="$ac_config_headers _newlib_version.h:_newlib_version.hin"
2221 ac_aux_dir=
2222 for ac_dir in .. "$srcdir"/..; do
2223 if test -f "$ac_dir/install-sh"; then
2224 ac_aux_dir=$ac_dir
2225 ac_install_sh="$ac_aux_dir/install-sh -c"
2226 break
2227 elif test -f "$ac_dir/install.sh"; then
2228 ac_aux_dir=$ac_dir
2229 ac_install_sh="$ac_aux_dir/install.sh -c"
2230 break
2231 elif test -f "$ac_dir/shtool"; then
2232 ac_aux_dir=$ac_dir
2233 ac_install_sh="$ac_aux_dir/shtool install -c"
2234 break
2236 done
2237 if test -z "$ac_aux_dir"; then
2238 as_fn_error $? "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
2241 # These three variables are undocumented and unsupported,
2242 # and are intended to be withdrawn in a future Autoconf release.
2243 # They can cause serious problems if a builder's source tree is in a directory
2244 # whose full name contains unusual characters.
2245 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2246 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2247 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2251 # Check whether --enable-newlib-io-pos-args was given.
2252 if test "${enable_newlib_io_pos_args+set}" = set; then :
2253 enableval=$enable_newlib_io_pos_args; case "${enableval}" in
2254 yes) newlib_io_pos_args=yes ;;
2255 no) newlib_io_pos_args=no ;;
2256 *) as_fn_error $? "bad value ${enableval} for newlib-io-pos-args option" "$LINENO" 5 ;;
2257 esac
2258 else
2259 newlib_io_pos_args=
2262 # Check whether --enable-newlib-io-c99-formats was given.
2263 if test "${enable_newlib_io_c99_formats+set}" = set; then :
2264 enableval=$enable_newlib_io_c99_formats; case "${enableval}" in
2265 yes) newlib_io_c99_formats=yes;;
2266 no) newlib_io_c99_formats=no ;;
2267 *) as_fn_error $? "bad value ${enableval} for newlib-io-c99-formats option" "$LINENO" 5 ;;
2268 esac
2269 else
2270 newlib_io_c99_formats=
2273 # Check whether --enable-newlib-register-fini was given.
2274 if test "${enable_newlib_register_fini+set}" = set; then :
2275 enableval=$enable_newlib_register_fini; case "${enableval}" in
2276 yes) newlib_register_fini=yes;;
2277 no) newlib_register_fini=no ;;
2278 *) as_fn_error $? "bad value ${enableval} for newlib-register-fini option" "$LINENO" 5 ;;
2279 esac
2280 else
2281 newlib_register_fini=
2284 # Check whether --enable-newlib-io-long-long was given.
2285 if test "${enable_newlib_io_long_long+set}" = set; then :
2286 enableval=$enable_newlib_io_long_long; case "${enableval}" in
2287 yes) newlib_io_long_long=yes;;
2288 no) newlib_io_long_long=no ;;
2289 *) as_fn_error $? "bad value ${enableval} for newlib-io-long-long option" "$LINENO" 5 ;;
2290 esac
2291 else
2292 newlib_io_long_long=
2295 # Check whether --enable-newlib-io-long-double was given.
2296 if test "${enable_newlib_io_long_double+set}" = set; then :
2297 enableval=$enable_newlib_io_long_double; case "${enableval}" in
2298 yes) newlib_io_long_double=yes;;
2299 no) newlib_io_long_double=no ;;
2300 *) as_fn_error $? "bad value ${enableval} for newlib-io-long-double option" "$LINENO" 5 ;;
2301 esac
2302 else
2303 newlib_io_long_double=
2306 # Check whether --enable-newlib-mb was given.
2307 if test "${enable_newlib_mb+set}" = set; then :
2308 enableval=$enable_newlib_mb; case "${enableval}" in
2309 yes) newlib_mb=yes;;
2310 no) newlib_mb=no ;;
2311 *) as_fn_error $? "bad value ${enableval} for newlib-mb option" "$LINENO" 5 ;;
2312 esac
2313 else
2314 newlib_mb=
2317 # Check whether --enable-newlib-reent-check-verify was given.
2318 if test "${enable_newlib_reent_check_verify+set}" = set; then :
2319 enableval=$enable_newlib_reent_check_verify; case "${enableval}" in
2320 yes) newlib_reent_check_verify=yes;;
2321 no) newlib_reent_check_verify=no ;;
2322 *) as_fn_error $? "bad value ${enableval} for newlib-reent-check-verify option" "$LINENO" 5 ;;
2323 esac
2324 else
2325 newlib_reent_check_verify=
2328 # Check whether --enable-newlib-iconv-encodings was given.
2329 if test "${enable_newlib_iconv_encodings+set}" = set; then :
2330 enableval=$enable_newlib_iconv_encodings; if test x${enableval} = x; then
2331 as_fn_error $? "bad value ${enableval} for newlib-iconv-encodings option - use comma-separated encodings list" "$LINENO" 5
2333 iconv_encodings=${enableval}
2335 else
2336 iconv_encodings=
2339 # Check whether --enable-newlib-iconv-from-encodings was given.
2340 if test "${enable_newlib_iconv_from_encodings+set}" = set; then :
2341 enableval=$enable_newlib_iconv_from_encodings; if test x${enableval} = x; then
2342 as_fn_error $? "bad value ${enableval} for newlib-iconv-from-encodings option - use comma-separated encodings list" "$LINENO" 5
2344 iconv_from_encodings=${enableval}
2346 else
2347 iconv_from_encodings=
2350 # Check whether --enable-newlib-iconv-to-encodings was given.
2351 if test "${enable_newlib_iconv_to_encodings+set}" = set; then :
2352 enableval=$enable_newlib_iconv_to_encodings; if test x${enableval} = x; then
2353 as_fn_error $? "bad value ${enableval} for newlib-iconv-to-encodings option - use comma-separated encodings list" "$LINENO" 5
2355 iconv_to_encodings=${enableval}
2357 else
2358 iconv_to_encodings=
2361 # Check whether --enable-newlib-iconv-external-ccs was given.
2362 if test "${enable_newlib_iconv_external_ccs+set}" = set; then :
2363 enableval=$enable_newlib_iconv_external_ccs; if test "${newlib_iconv_external_ccs+set}" != set; then
2364 case "${enableval}" in
2365 yes) newlib_iconv_external_ccs=yes ;;
2366 no) newlib_iconv_external_ccs=no ;;
2367 *) as_fn_error $? "bad value ${enableval} for newlib-iconv-external-ccs option" "$LINENO" 5 ;;
2368 esac
2370 else
2371 newlib_iconv_external_ccs=${newlib_iconv_external_ccs}
2374 # Check whether --enable-newlib-atexit-dynamic-alloc was given.
2375 if test "${enable_newlib_atexit_dynamic_alloc+set}" = set; then :
2376 enableval=$enable_newlib_atexit_dynamic_alloc; if test "${newlib_atexit_dynamic_alloc+set}" != set; then
2377 case "${enableval}" in
2378 yes) newlib_atexit_dynamic_alloc=yes ;;
2379 no) newlib_atexit_dynamic_alloc=no ;;
2380 *) as_fn_error $? "bad value ${enableval} for newlib-atexit-dynamic-alloc option" "$LINENO" 5 ;;
2381 esac
2383 else
2384 newlib_atexit_dynamic_alloc=${newlib_atexit_dynamic_alloc}
2387 # Check whether --enable-newlib-global-atexit was given.
2388 if test "${enable_newlib_global_atexit+set}" = set; then :
2389 enableval=$enable_newlib_global_atexit; if test "${newlib_global_atexit+set}" != set; then
2390 case "${enableval}" in
2391 yes) newlib_global_atexit=yes ;;
2392 *) as_fn_error $? "bad value ${enableval} for newlib-global-atexit option" "$LINENO" 5 ;;
2393 esac
2395 else
2396 newlib_global_atexit=yes
2399 # Check whether --enable-newlib-reent-small was given.
2400 if test "${enable_newlib_reent_small+set}" = set; then :
2401 enableval=$enable_newlib_reent_small; case "${enableval}" in
2402 yes) newlib_reent_small=yes;;
2403 no) newlib_reent_small=no ;;
2404 *) as_fn_error $? "bad value ${enableval} for newlib-reent-small option" "$LINENO" 5 ;;
2405 esac
2406 else
2407 newlib_reent_small=
2410 # Check whether --enable-newlib-reent-binary-compat was given.
2411 if test "${enable_newlib_reent_binary_compat+set}" = set; then :
2412 enableval=$enable_newlib_reent_binary_compat; if test "${newlib_reent_binary_compat+set}" != set; then
2413 case "${enableval}" in
2414 yes) newlib_reent_binary_compat=yes ;;
2415 no) newlib_reent_binary_compat=no ;;
2416 *) as_fn_error $? "bad value ${enableval} for newlib-enable-reent-binary-compat option" "$LINENO" 5 ;;
2417 esac
2419 else
2420 newlib_reent_binary_compat=no
2423 # Check whether --enable-newlib-reent-thread-local was given.
2424 if test "${enable_newlib_reent_thread_local+set}" = set; then :
2425 enableval=$enable_newlib_reent_thread_local; if test "${newlib_reent_thread_local+set}" != set; then
2426 case "${enableval}" in
2427 yes) newlib_reent_thread_local=yes ;;
2428 no) newlib_reent_thread_local=no ;;
2429 *) as_fn_error $? "bad value ${enableval} for newlib-enable-reent-thread-local option" "$LINENO" 5 ;;
2430 esac
2432 else
2433 newlib_reent_thread_local=no
2436 # Check whether --enable-newlib-global-stdio-streams was given.
2437 if test "${enable_newlib_global_stdio_streams+set}" = set; then :
2438 enableval=$enable_newlib_global_stdio_streams; case "${enableval}" in
2439 yes) newlib_global_stdio_streams=yes;;
2440 *) as_fn_error $? "bad value ${enableval} for newlib-global-stdio-streams option" "$LINENO" 5 ;;
2441 esac
2442 else
2443 newlib_global_stdio_streams=yes
2446 # Check whether --enable-newlib-fvwrite-in-streamio was given.
2447 if test "${enable_newlib_fvwrite_in_streamio+set}" = set; then :
2448 enableval=$enable_newlib_fvwrite_in_streamio; if test "${newlib_fvwrite_in_streamio+set}" != set; then
2449 case "${enableval}" in
2450 yes) newlib_fvwrite_in_streamio=yes ;;
2451 no) newlib_fvwrite_in_streamio=no ;;
2452 *) as_fn_error $? "bad value ${enableval} for newlib-fvwrite-in-streamio option" "$LINENO" 5 ;;
2453 esac
2455 else
2456 newlib_fvwrite_in_streamio=yes
2459 # Check whether --enable-newlib-fseek-optimization was given.
2460 if test "${enable_newlib_fseek_optimization+set}" = set; then :
2461 enableval=$enable_newlib_fseek_optimization; if test "${newlib_fseek_optimization+set}" != set; then
2462 case "${enableval}" in
2463 yes) newlib_fseek_optimization=yes ;;
2464 no) newlib_fseek_optimization=no ;;
2465 *) as_fn_error $? "bad value ${enableval} for newlib-fseek-optimization option" "$LINENO" 5 ;;
2466 esac
2468 else
2469 newlib_fseek_optimization=yes
2472 # Check whether --enable-newlib_wide_orient was given.
2473 if test "${enable_newlib_wide_orient+set}" = set; then :
2474 enableval=$enable_newlib_wide_orient; case "${enableval}" in
2475 yes) newlib_wide_orient=yes ;;
2476 no) newlib_wide_orient=no ;;
2477 *) as_fn_error $? "bad value ${enableval} for newlib-wide-orient" "$LINENO" 5 ;;
2478 esac
2479 else
2480 newlib_wide_orient=yes
2484 # Check whether --enable-newlib-nano-malloc was given.
2485 if test "${enable_newlib_nano_malloc+set}" = set; then :
2486 enableval=$enable_newlib_nano_malloc; if test "${newlib_nano_malloc+set}" != set; then
2487 case "${enableval}" in
2488 yes) newlib_nano_malloc=yes ;;
2489 no) newlib_nano_malloc=no ;;
2490 *) as_fn_error $? "bad value ${enableval} for newlib-nano-malloc option" "$LINENO" 5 ;;
2491 esac
2493 else
2494 newlib_nano_malloc=
2496 if test x$newlib_nano_malloc = xyes; then
2497 NEWLIB_NANO_MALLOC_TRUE=
2498 NEWLIB_NANO_MALLOC_FALSE='#'
2499 else
2500 NEWLIB_NANO_MALLOC_TRUE='#'
2501 NEWLIB_NANO_MALLOC_FALSE=
2505 # Check whether --enable-newlib-unbuf-stream-opt was given.
2506 if test "${enable_newlib_unbuf_stream_opt+set}" = set; then :
2507 enableval=$enable_newlib_unbuf_stream_opt; if test "${newlib_unbuf_stream_opt+set}" != set; then
2508 case "${enableval}" in
2509 yes) newlib_unbuf_stream_opt=yes ;;
2510 no) newlib_unbuf_stream_opt=no ;;
2511 *) as_fn_error $? "bad value ${enableval} for newlib-unbuf-stream-opt option" "$LINENO" 5 ;;
2512 esac
2514 else
2515 newlib_unbuf_stream_opt=yes
2518 # Check whether --enable-lite-exit was given.
2519 if test "${enable_lite_exit+set}" = set; then :
2520 enableval=$enable_lite_exit; if test "${lite_exit+set}" != set; then
2521 case "${enableval}" in
2522 yes) lite_exit=yes ;;
2523 no) lite_exit=no ;;
2524 *) as_fn_error $? "bad value ${enableval} for lite-exit option" "$LINENO" 5 ;;
2525 esac
2527 else
2528 lite_exit=no
2531 # Check whether --enable-newlib_nano_formatted_io was given.
2532 if test "${enable_newlib_nano_formatted_io+set}" = set; then :
2533 enableval=$enable_newlib_nano_formatted_io; case "${enableval}" in
2534 yes) newlib_nano_formatted_io=yes ;;
2535 no) newlib_nano_formatted_io=no ;;
2536 *) as_fn_error $? "bad value ${enableval} for newlib-nano-formatted-io" "$LINENO" 5 ;;
2537 esac
2538 else
2539 newlib_nano_formatted_io=no
2542 if test x$newlib_nano_formatted_io = xyes; then
2543 NEWLIB_NANO_FORMATTED_IO_TRUE=
2544 NEWLIB_NANO_FORMATTED_IO_FALSE='#'
2545 else
2546 NEWLIB_NANO_FORMATTED_IO_TRUE='#'
2547 NEWLIB_NANO_FORMATTED_IO_FALSE=
2551 # Check whether --enable-newlib-retargetable-locking was given.
2552 if test "${enable_newlib_retargetable_locking+set}" = set; then :
2553 enableval=$enable_newlib_retargetable_locking; case "${enableval}" in
2554 yes) newlib_retargetable_locking=yes ;;
2555 no) newlib_retargetable_locking=no ;;
2556 *) as_fn_error $? "bad value ${enableval} for newlib-retargetable-locking" "$LINENO" 5 ;;
2557 esac
2558 else
2559 newlib_retargetable_locking=no
2562 if test x$newlib_retargetable_locking = xyes; then
2563 NEWLIB_RETARGETABLE_LOCKING_TRUE=
2564 NEWLIB_RETARGETABLE_LOCKING_FALSE='#'
2565 else
2566 NEWLIB_RETARGETABLE_LOCKING_TRUE='#'
2567 NEWLIB_RETARGETABLE_LOCKING_FALSE=
2571 # Check whether --enable-newlib-long-time_t was given.
2572 if test "${enable_newlib_long_time_t+set}" = set; then :
2573 enableval=$enable_newlib_long_time_t; if test "${newlib_long_time_t+set}" != set; then
2574 case "${enableval}" in
2575 yes) newlib_long_time_t=yes ;;
2576 no) newlib_long_time_t=no ;;
2577 *) as_fn_error $? "bad value ${enableval} for newlib-long-time_t option" "$LINENO" 5 ;;
2578 esac
2580 else
2581 newlib_long_time_t=no
2584 # Check whether --enable-newlib-use-gdtoa was given.
2585 if test "${enable_newlib_use_gdtoa+set}" = set; then :
2586 enableval=$enable_newlib_use_gdtoa; if test "${newlib_use_gdtoa+set}" != set; then
2587 case "${enableval}" in
2588 yes) newlib_use_gdtoa=yes ;;
2589 no) newlib_use_gdtoa=no ;;
2590 *) as_fn_error $? "bad value ${enableval} for newlib-use-gdtoa option" "$LINENO" 5 ;;
2591 esac
2593 else
2594 newlib_use_gdtoa=yes
2597 # Default to --enable-multilib
2598 # Check whether --enable-multilib was given.
2599 if test "${enable_multilib+set}" = set; then :
2600 enableval=$enable_multilib; case "$enableval" in
2601 yes) multilib=yes ;;
2602 no) multilib=no ;;
2603 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2604 esac
2605 else
2606 multilib=yes
2610 # We may get other options which we leave undocumented:
2611 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2612 # See config-ml.in if you want the gory details.
2614 if test "$srcdir" = "."; then
2615 if test "$with_target_subdir" != "."; then
2616 multi_basedir="$srcdir/$with_multisrctop../.."
2617 else
2618 multi_basedir="$srcdir/$with_multisrctop.."
2620 else
2621 multi_basedir="$srcdir/.."
2625 # Even if the default multilib is not a cross compilation,
2626 # it may be that some of the other multilibs are.
2627 if test $cross_compiling = no && test $multilib = yes \
2628 && test "x${with_multisubdir}" != x ; then
2629 cross_compiling=maybe
2632 ac_config_commands="$ac_config_commands default-1"
2635 # Make sure we can run config.sub.
2636 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2637 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2640 $as_echo_n "checking build system type... " >&6; }
2641 if ${ac_cv_build+:} false; then :
2642 $as_echo_n "(cached) " >&6
2643 else
2644 ac_build_alias=$build_alias
2645 test "x$ac_build_alias" = x &&
2646 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2647 test "x$ac_build_alias" = x &&
2648 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2649 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2650 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2654 $as_echo "$ac_cv_build" >&6; }
2655 case $ac_cv_build in
2656 *-*-*) ;;
2657 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2658 esac
2659 build=$ac_cv_build
2660 ac_save_IFS=$IFS; IFS='-'
2661 set x $ac_cv_build
2662 shift
2663 build_cpu=$1
2664 build_vendor=$2
2665 shift; shift
2666 # Remember, the first character of IFS is used to create $*,
2667 # except with old shells:
2668 build_os=$*
2669 IFS=$ac_save_IFS
2670 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2674 $as_echo_n "checking host system type... " >&6; }
2675 if ${ac_cv_host+:} false; then :
2676 $as_echo_n "(cached) " >&6
2677 else
2678 if test "x$host_alias" = x; then
2679 ac_cv_host=$ac_cv_build
2680 else
2681 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2682 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2687 $as_echo "$ac_cv_host" >&6; }
2688 case $ac_cv_host in
2689 *-*-*) ;;
2690 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2691 esac
2692 host=$ac_cv_host
2693 ac_save_IFS=$IFS; IFS='-'
2694 set x $ac_cv_host
2695 shift
2696 host_cpu=$1
2697 host_vendor=$2
2698 shift; shift
2699 # Remember, the first character of IFS is used to create $*,
2700 # except with old shells:
2701 host_os=$*
2702 IFS=$ac_save_IFS
2703 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2706 am__api_version='1.15'
2708 # Find a good install program. We prefer a C program (faster),
2709 # so one script is as good as another. But avoid the broken or
2710 # incompatible versions:
2711 # SysV /etc/install, /usr/sbin/install
2712 # SunOS /usr/etc/install
2713 # IRIX /sbin/install
2714 # AIX /bin/install
2715 # AmigaOS /C/install, which installs bootblocks on floppy discs
2716 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2717 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2718 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2719 # OS/2's system install, which has a completely different semantic
2720 # ./install, which can be erroneously created by make from ./install.sh.
2721 # Reject install programs that cannot install multiple files.
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2723 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2724 if test -z "$INSTALL"; then
2725 if ${ac_cv_path_install+:} false; then :
2726 $as_echo_n "(cached) " >&6
2727 else
2728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2729 for as_dir in $PATH
2731 IFS=$as_save_IFS
2732 test -z "$as_dir" && as_dir=.
2733 # Account for people who put trailing slashes in PATH elements.
2734 case $as_dir/ in #((
2735 ./ | .// | /[cC]/* | \
2736 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2737 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2738 /usr/ucb/* ) ;;
2740 # OSF1 and SCO ODT 3.0 have their own names for install.
2741 # Don't use installbsd from OSF since it installs stuff as root
2742 # by default.
2743 for ac_prog in ginstall scoinst install; do
2744 for ac_exec_ext in '' $ac_executable_extensions; do
2745 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2746 if test $ac_prog = install &&
2747 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2748 # AIX install. It has an incompatible calling convention.
2750 elif test $ac_prog = install &&
2751 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2752 # program-specific install script used by HP pwplus--don't use.
2754 else
2755 rm -rf conftest.one conftest.two conftest.dir
2756 echo one > conftest.one
2757 echo two > conftest.two
2758 mkdir conftest.dir
2759 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2760 test -s conftest.one && test -s conftest.two &&
2761 test -s conftest.dir/conftest.one &&
2762 test -s conftest.dir/conftest.two
2763 then
2764 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2765 break 3
2769 done
2770 done
2772 esac
2774 done
2775 IFS=$as_save_IFS
2777 rm -rf conftest.one conftest.two conftest.dir
2780 if test "${ac_cv_path_install+set}" = set; then
2781 INSTALL=$ac_cv_path_install
2782 else
2783 # As a last resort, use the slow shell script. Don't cache a
2784 # value for INSTALL within a source directory, because that will
2785 # break other packages using the cache if that directory is
2786 # removed, or if the value is a relative name.
2787 INSTALL=$ac_install_sh
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2791 $as_echo "$INSTALL" >&6; }
2793 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2794 # It thinks the first close brace ends the variable substitution.
2795 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2797 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2799 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2802 $as_echo_n "checking whether build environment is sane... " >&6; }
2803 # Reject unsafe characters in $srcdir or the absolute working directory
2804 # name. Accept space and tab only in the latter.
2805 am_lf='
2807 case `pwd` in
2808 *[\\\"\#\$\&\'\`$am_lf]*)
2809 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2810 esac
2811 case $srcdir in
2812 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2813 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2814 esac
2816 # Do 'set' in a subshell so we don't clobber the current shell's
2817 # arguments. Must try -L first in case configure is actually a
2818 # symlink; some systems play weird games with the mod time of symlinks
2819 # (eg FreeBSD returns the mod time of the symlink's containing
2820 # directory).
2821 if (
2822 am_has_slept=no
2823 for am_try in 1 2; do
2824 echo "timestamp, slept: $am_has_slept" > conftest.file
2825 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2826 if test "$*" = "X"; then
2827 # -L didn't work.
2828 set X `ls -t "$srcdir/configure" conftest.file`
2830 if test "$*" != "X $srcdir/configure conftest.file" \
2831 && test "$*" != "X conftest.file $srcdir/configure"; then
2833 # If neither matched, then we have a broken ls. This can happen
2834 # if, for instance, CONFIG_SHELL is bash and it inherits a
2835 # broken ls alias from the environment. This has actually
2836 # happened. Such a system could not be considered "sane".
2837 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2838 alias in your environment" "$LINENO" 5
2840 if test "$2" = conftest.file || test $am_try -eq 2; then
2841 break
2843 # Just in case.
2844 sleep 1
2845 am_has_slept=yes
2846 done
2847 test "$2" = conftest.file
2849 then
2850 # Ok.
2852 else
2853 as_fn_error $? "newly created file is older than distributed files!
2854 Check your system clock" "$LINENO" 5
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2857 $as_echo "yes" >&6; }
2858 # If we didn't sleep, we still need to ensure time stamps of config.status and
2859 # generated files are strictly newer.
2860 am_sleep_pid=
2861 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2862 ( sleep 1 ) &
2863 am_sleep_pid=$!
2866 rm -f conftest.file
2868 test "$program_prefix" != NONE &&
2869 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2870 # Use a double $ so make ignores it.
2871 test "$program_suffix" != NONE &&
2872 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2873 # Double any \ or $.
2874 # By default was `s,x,x', remove it if useless.
2875 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2876 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2878 # Expand $ac_aux_dir to an absolute path.
2879 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2881 if test x"${MISSING+set}" != xset; then
2882 case $am_aux_dir in
2883 *\ * | *\ *)
2884 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2886 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2887 esac
2889 # Use eval to expand $SHELL
2890 if eval "$MISSING --is-lightweight"; then
2891 am_missing_run="$MISSING "
2892 else
2893 am_missing_run=
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2895 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2898 if test x"${install_sh+set}" != xset; then
2899 case $am_aux_dir in
2900 *\ * | *\ *)
2901 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2903 install_sh="\${SHELL} $am_aux_dir/install-sh"
2904 esac
2907 # Installed binaries are usually stripped using 'strip' when the user
2908 # run "make install-strip". However 'strip' might not be the right
2909 # tool to use in cross-compilation environments, therefore Automake
2910 # will honor the 'STRIP' environment variable to overrule this program.
2911 if test "$cross_compiling" != no; then
2912 if test -n "$ac_tool_prefix"; then
2913 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2914 set dummy ${ac_tool_prefix}strip; ac_word=$2
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2916 $as_echo_n "checking for $ac_word... " >&6; }
2917 if ${ac_cv_prog_STRIP+:} false; then :
2918 $as_echo_n "(cached) " >&6
2919 else
2920 if test -n "$STRIP"; then
2921 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2922 else
2923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2924 for as_dir in $PATH
2926 IFS=$as_save_IFS
2927 test -z "$as_dir" && as_dir=.
2928 for ac_exec_ext in '' $ac_executable_extensions; do
2929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2930 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2932 break 2
2934 done
2935 done
2936 IFS=$as_save_IFS
2940 STRIP=$ac_cv_prog_STRIP
2941 if test -n "$STRIP"; then
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2943 $as_echo "$STRIP" >&6; }
2944 else
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2946 $as_echo "no" >&6; }
2951 if test -z "$ac_cv_prog_STRIP"; then
2952 ac_ct_STRIP=$STRIP
2953 # Extract the first word of "strip", so it can be a program name with args.
2954 set dummy strip; ac_word=$2
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2956 $as_echo_n "checking for $ac_word... " >&6; }
2957 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2958 $as_echo_n "(cached) " >&6
2959 else
2960 if test -n "$ac_ct_STRIP"; then
2961 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2962 else
2963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2964 for as_dir in $PATH
2966 IFS=$as_save_IFS
2967 test -z "$as_dir" && as_dir=.
2968 for ac_exec_ext in '' $ac_executable_extensions; do
2969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2970 ac_cv_prog_ac_ct_STRIP="strip"
2971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2972 break 2
2974 done
2975 done
2976 IFS=$as_save_IFS
2980 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2981 if test -n "$ac_ct_STRIP"; then
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2983 $as_echo "$ac_ct_STRIP" >&6; }
2984 else
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2986 $as_echo "no" >&6; }
2989 if test "x$ac_ct_STRIP" = x; then
2990 STRIP=":"
2991 else
2992 case $cross_compiling:$ac_tool_warned in
2993 yes:)
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2996 ac_tool_warned=yes ;;
2997 esac
2998 STRIP=$ac_ct_STRIP
3000 else
3001 STRIP="$ac_cv_prog_STRIP"
3005 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3008 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3009 if test -z "$MKDIR_P"; then
3010 if ${ac_cv_path_mkdir+:} false; then :
3011 $as_echo_n "(cached) " >&6
3012 else
3013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3014 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3016 IFS=$as_save_IFS
3017 test -z "$as_dir" && as_dir=.
3018 for ac_prog in mkdir gmkdir; do
3019 for ac_exec_ext in '' $ac_executable_extensions; do
3020 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3021 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3022 'mkdir (GNU coreutils) '* | \
3023 'mkdir (coreutils) '* | \
3024 'mkdir (fileutils) '4.1*)
3025 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3026 break 3;;
3027 esac
3028 done
3029 done
3030 done
3031 IFS=$as_save_IFS
3035 test -d ./--version && rmdir ./--version
3036 if test "${ac_cv_path_mkdir+set}" = set; then
3037 MKDIR_P="$ac_cv_path_mkdir -p"
3038 else
3039 # As a last resort, use the slow shell script. Don't cache a
3040 # value for MKDIR_P within a source directory, because that will
3041 # break other packages using the cache if that directory is
3042 # removed, or if the value is a relative name.
3043 MKDIR_P="$ac_install_sh -d"
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3047 $as_echo "$MKDIR_P" >&6; }
3049 for ac_prog in gawk mawk nawk awk
3051 # Extract the first word of "$ac_prog", so it can be a program name with args.
3052 set dummy $ac_prog; ac_word=$2
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3054 $as_echo_n "checking for $ac_word... " >&6; }
3055 if ${ac_cv_prog_AWK+:} false; then :
3056 $as_echo_n "(cached) " >&6
3057 else
3058 if test -n "$AWK"; then
3059 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3060 else
3061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3062 for as_dir in $PATH
3064 IFS=$as_save_IFS
3065 test -z "$as_dir" && as_dir=.
3066 for ac_exec_ext in '' $ac_executable_extensions; do
3067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3068 ac_cv_prog_AWK="$ac_prog"
3069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3070 break 2
3072 done
3073 done
3074 IFS=$as_save_IFS
3078 AWK=$ac_cv_prog_AWK
3079 if test -n "$AWK"; then
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3081 $as_echo "$AWK" >&6; }
3082 else
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3084 $as_echo "no" >&6; }
3088 test -n "$AWK" && break
3089 done
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3092 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3093 set x ${MAKE-make}
3094 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3095 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3096 $as_echo_n "(cached) " >&6
3097 else
3098 cat >conftest.make <<\_ACEOF
3099 SHELL = /bin/sh
3100 all:
3101 @echo '@@@%%%=$(MAKE)=@@@%%%'
3102 _ACEOF
3103 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3104 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3105 *@@@%%%=?*=@@@%%%*)
3106 eval ac_cv_prog_make_${ac_make}_set=yes;;
3108 eval ac_cv_prog_make_${ac_make}_set=no;;
3109 esac
3110 rm -f conftest.make
3112 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3114 $as_echo "yes" >&6; }
3115 SET_MAKE=
3116 else
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3118 $as_echo "no" >&6; }
3119 SET_MAKE="MAKE=${MAKE-make}"
3122 rm -rf .tst 2>/dev/null
3123 mkdir .tst 2>/dev/null
3124 if test -d .tst; then
3125 am__leading_dot=.
3126 else
3127 am__leading_dot=_
3129 rmdir .tst 2>/dev/null
3131 # Check whether --enable-silent-rules was given.
3132 if test "${enable_silent_rules+set}" = set; then :
3133 enableval=$enable_silent_rules;
3136 case $enable_silent_rules in # (((
3137 yes) AM_DEFAULT_VERBOSITY=0;;
3138 no) AM_DEFAULT_VERBOSITY=1;;
3139 *) AM_DEFAULT_VERBOSITY=1;;
3140 esac
3141 am_make=${MAKE-make}
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3143 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3144 if ${am_cv_make_support_nested_variables+:} false; then :
3145 $as_echo_n "(cached) " >&6
3146 else
3147 if $as_echo 'TRUE=$(BAR$(V))
3148 BAR0=false
3149 BAR1=true
3151 am__doit:
3152 @$(TRUE)
3153 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3154 am_cv_make_support_nested_variables=yes
3155 else
3156 am_cv_make_support_nested_variables=no
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3160 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3161 if test $am_cv_make_support_nested_variables = yes; then
3162 AM_V='$(V)'
3163 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3164 else
3165 AM_V=$AM_DEFAULT_VERBOSITY
3166 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3168 AM_BACKSLASH='\'
3171 DEPDIR="${am__leading_dot}deps"
3173 ac_config_commands="$ac_config_commands depfiles"
3176 am_make=${MAKE-make}
3177 cat > confinc << 'END'
3178 am__doit:
3179 @echo this is the am__doit target
3180 .PHONY: am__doit
3182 # If we don't find an include directive, just comment out the code.
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3184 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3185 am__include="#"
3186 am__quote=
3187 _am_result=none
3188 # First try GNU make style include.
3189 echo "include confinc" > confmf
3190 # Ignore all kinds of additional output from 'make'.
3191 case `$am_make -s -f confmf 2> /dev/null` in #(
3192 *the\ am__doit\ target*)
3193 am__include=include
3194 am__quote=
3195 _am_result=GNU
3197 esac
3198 # Now try BSD make style include.
3199 if test "$am__include" = "#"; then
3200 echo '.include "confinc"' > confmf
3201 case `$am_make -s -f confmf 2> /dev/null` in #(
3202 *the\ am__doit\ target*)
3203 am__include=.include
3204 am__quote="\""
3205 _am_result=BSD
3207 esac
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3212 $as_echo "$_am_result" >&6; }
3213 rm -f confinc confmf
3215 # Check whether --enable-dependency-tracking was given.
3216 if test "${enable_dependency_tracking+set}" = set; then :
3217 enableval=$enable_dependency_tracking;
3220 if test "x$enable_dependency_tracking" != xno; then
3221 am_depcomp="$ac_aux_dir/depcomp"
3222 AMDEPBACKSLASH='\'
3223 am__nodep='_no'
3225 if test "x$enable_dependency_tracking" != xno; then
3226 AMDEP_TRUE=
3227 AMDEP_FALSE='#'
3228 else
3229 AMDEP_TRUE='#'
3230 AMDEP_FALSE=
3234 ac_ext=c
3235 ac_cpp='$CPP $CPPFLAGS'
3236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3239 if test -n "$ac_tool_prefix"; then
3240 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3241 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3243 $as_echo_n "checking for $ac_word... " >&6; }
3244 if ${ac_cv_prog_CC+:} false; then :
3245 $as_echo_n "(cached) " >&6
3246 else
3247 if test -n "$CC"; then
3248 ac_cv_prog_CC="$CC" # Let the user override the test.
3249 else
3250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3251 for as_dir in $PATH
3253 IFS=$as_save_IFS
3254 test -z "$as_dir" && as_dir=.
3255 for ac_exec_ext in '' $ac_executable_extensions; do
3256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3257 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3259 break 2
3261 done
3262 done
3263 IFS=$as_save_IFS
3267 CC=$ac_cv_prog_CC
3268 if test -n "$CC"; then
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3270 $as_echo "$CC" >&6; }
3271 else
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3273 $as_echo "no" >&6; }
3278 if test -z "$ac_cv_prog_CC"; then
3279 ac_ct_CC=$CC
3280 # Extract the first word of "gcc", so it can be a program name with args.
3281 set dummy gcc; ac_word=$2
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3283 $as_echo_n "checking for $ac_word... " >&6; }
3284 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3285 $as_echo_n "(cached) " >&6
3286 else
3287 if test -n "$ac_ct_CC"; then
3288 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3289 else
3290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3291 for as_dir in $PATH
3293 IFS=$as_save_IFS
3294 test -z "$as_dir" && as_dir=.
3295 for ac_exec_ext in '' $ac_executable_extensions; do
3296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3297 ac_cv_prog_ac_ct_CC="gcc"
3298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3299 break 2
3301 done
3302 done
3303 IFS=$as_save_IFS
3307 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3308 if test -n "$ac_ct_CC"; then
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3310 $as_echo "$ac_ct_CC" >&6; }
3311 else
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3313 $as_echo "no" >&6; }
3316 if test "x$ac_ct_CC" = x; then
3317 CC=""
3318 else
3319 case $cross_compiling:$ac_tool_warned in
3320 yes:)
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3323 ac_tool_warned=yes ;;
3324 esac
3325 CC=$ac_ct_CC
3327 else
3328 CC="$ac_cv_prog_CC"
3331 if test -z "$CC"; then
3332 if test -n "$ac_tool_prefix"; then
3333 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3334 set dummy ${ac_tool_prefix}cc; ac_word=$2
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3336 $as_echo_n "checking for $ac_word... " >&6; }
3337 if ${ac_cv_prog_CC+:} false; then :
3338 $as_echo_n "(cached) " >&6
3339 else
3340 if test -n "$CC"; then
3341 ac_cv_prog_CC="$CC" # Let the user override the test.
3342 else
3343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3344 for as_dir in $PATH
3346 IFS=$as_save_IFS
3347 test -z "$as_dir" && as_dir=.
3348 for ac_exec_ext in '' $ac_executable_extensions; do
3349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3350 ac_cv_prog_CC="${ac_tool_prefix}cc"
3351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3352 break 2
3354 done
3355 done
3356 IFS=$as_save_IFS
3360 CC=$ac_cv_prog_CC
3361 if test -n "$CC"; then
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3363 $as_echo "$CC" >&6; }
3364 else
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3366 $as_echo "no" >&6; }
3372 if test -z "$CC"; then
3373 # Extract the first word of "cc", so it can be a program name with args.
3374 set dummy cc; ac_word=$2
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3376 $as_echo_n "checking for $ac_word... " >&6; }
3377 if ${ac_cv_prog_CC+:} false; then :
3378 $as_echo_n "(cached) " >&6
3379 else
3380 if test -n "$CC"; then
3381 ac_cv_prog_CC="$CC" # Let the user override the test.
3382 else
3383 ac_prog_rejected=no
3384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3385 for as_dir in $PATH
3387 IFS=$as_save_IFS
3388 test -z "$as_dir" && as_dir=.
3389 for ac_exec_ext in '' $ac_executable_extensions; do
3390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3391 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3392 ac_prog_rejected=yes
3393 continue
3395 ac_cv_prog_CC="cc"
3396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3397 break 2
3399 done
3400 done
3401 IFS=$as_save_IFS
3403 if test $ac_prog_rejected = yes; then
3404 # We found a bogon in the path, so make sure we never use it.
3405 set dummy $ac_cv_prog_CC
3406 shift
3407 if test $# != 0; then
3408 # We chose a different compiler from the bogus one.
3409 # However, it has the same basename, so the bogon will be chosen
3410 # first if we set CC to just the basename; use the full file name.
3411 shift
3412 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3417 CC=$ac_cv_prog_CC
3418 if test -n "$CC"; then
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3420 $as_echo "$CC" >&6; }
3421 else
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3423 $as_echo "no" >&6; }
3428 if test -z "$CC"; then
3429 if test -n "$ac_tool_prefix"; then
3430 for ac_prog in cl.exe
3432 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3433 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3435 $as_echo_n "checking for $ac_word... " >&6; }
3436 if ${ac_cv_prog_CC+:} false; then :
3437 $as_echo_n "(cached) " >&6
3438 else
3439 if test -n "$CC"; then
3440 ac_cv_prog_CC="$CC" # Let the user override the test.
3441 else
3442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3443 for as_dir in $PATH
3445 IFS=$as_save_IFS
3446 test -z "$as_dir" && as_dir=.
3447 for ac_exec_ext in '' $ac_executable_extensions; do
3448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3449 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3451 break 2
3453 done
3454 done
3455 IFS=$as_save_IFS
3459 CC=$ac_cv_prog_CC
3460 if test -n "$CC"; then
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3462 $as_echo "$CC" >&6; }
3463 else
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3465 $as_echo "no" >&6; }
3469 test -n "$CC" && break
3470 done
3472 if test -z "$CC"; then
3473 ac_ct_CC=$CC
3474 for ac_prog in cl.exe
3476 # Extract the first word of "$ac_prog", so it can be a program name with args.
3477 set dummy $ac_prog; ac_word=$2
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3479 $as_echo_n "checking for $ac_word... " >&6; }
3480 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3481 $as_echo_n "(cached) " >&6
3482 else
3483 if test -n "$ac_ct_CC"; then
3484 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3485 else
3486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3487 for as_dir in $PATH
3489 IFS=$as_save_IFS
3490 test -z "$as_dir" && as_dir=.
3491 for ac_exec_ext in '' $ac_executable_extensions; do
3492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3493 ac_cv_prog_ac_ct_CC="$ac_prog"
3494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3495 break 2
3497 done
3498 done
3499 IFS=$as_save_IFS
3503 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3504 if test -n "$ac_ct_CC"; then
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3506 $as_echo "$ac_ct_CC" >&6; }
3507 else
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3509 $as_echo "no" >&6; }
3513 test -n "$ac_ct_CC" && break
3514 done
3516 if test "x$ac_ct_CC" = x; then
3517 CC=""
3518 else
3519 case $cross_compiling:$ac_tool_warned in
3520 yes:)
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3523 ac_tool_warned=yes ;;
3524 esac
3525 CC=$ac_ct_CC
3532 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3534 as_fn_error $? "no acceptable C compiler found in \$PATH
3535 See \`config.log' for more details" "$LINENO" 5; }
3537 # Provide some information about the compiler.
3538 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3539 set X $ac_compile
3540 ac_compiler=$2
3541 for ac_option in --version -v -V -qversion; do
3542 { { ac_try="$ac_compiler $ac_option >&5"
3543 case "(($ac_try" in
3544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3545 *) ac_try_echo=$ac_try;;
3546 esac
3547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3548 $as_echo "$ac_try_echo"; } >&5
3549 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3550 ac_status=$?
3551 if test -s conftest.err; then
3552 sed '10a\
3553 ... rest of stderr output deleted ...
3554 10q' conftest.err >conftest.er1
3555 cat conftest.er1 >&5
3557 rm -f conftest.er1 conftest.err
3558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3559 test $ac_status = 0; }
3560 done
3562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3563 /* end confdefs.h. */
3566 main ()
3570 return 0;
3572 _ACEOF
3573 if { { ac_try="$ac_link"
3574 case "(($ac_try" in
3575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3576 *) ac_try_echo=$ac_try;;
3577 esac
3578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3579 $as_echo "$ac_try_echo"; } >&5
3580 (eval "$ac_link") 2>&5
3581 ac_status=$?
3582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3583 test $ac_status = 0; }; then
3584 ac_no_link=no
3585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3586 /* end confdefs.h. */
3589 main ()
3593 return 0;
3595 _ACEOF
3596 ac_clean_files_save=$ac_clean_files
3597 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3598 # Try to create an executable without -o first, disregard a.out.
3599 # It will help us diagnose broken compilers, and finding out an intuition
3600 # of exeext.
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3602 $as_echo_n "checking whether the C compiler works... " >&6; }
3603 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3605 # The possible output files:
3606 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3608 ac_rmfiles=
3609 for ac_file in $ac_files
3611 case $ac_file in
3612 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3613 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3614 esac
3615 done
3616 rm -f $ac_rmfiles
3618 if { { ac_try="$ac_link_default"
3619 case "(($ac_try" in
3620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3621 *) ac_try_echo=$ac_try;;
3622 esac
3623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3624 $as_echo "$ac_try_echo"; } >&5
3625 (eval "$ac_link_default") 2>&5
3626 ac_status=$?
3627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3628 test $ac_status = 0; }; then :
3629 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3630 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3631 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3632 # so that the user can short-circuit this test for compilers unknown to
3633 # Autoconf.
3634 for ac_file in $ac_files ''
3636 test -f "$ac_file" || continue
3637 case $ac_file in
3638 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3640 [ab].out )
3641 # We found the default executable, but exeext='' is most
3642 # certainly right.
3643 break;;
3644 *.* )
3645 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3646 then :; else
3647 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3649 # We set ac_cv_exeext here because the later test for it is not
3650 # safe: cross compilers may not add the suffix if given an `-o'
3651 # argument, so we may need to know it at that point already.
3652 # Even if this section looks crufty: it has the advantage of
3653 # actually working.
3654 break;;
3656 break;;
3657 esac
3658 done
3659 test "$ac_cv_exeext" = no && ac_cv_exeext=
3661 else
3662 ac_file=''
3664 if test -z "$ac_file"; then :
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3666 $as_echo "no" >&6; }
3667 $as_echo "$as_me: failed program was:" >&5
3668 sed 's/^/| /' conftest.$ac_ext >&5
3670 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3671 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3672 as_fn_error 77 "C compiler cannot create executables
3673 See \`config.log' for more details" "$LINENO" 5; }
3674 else
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3676 $as_echo "yes" >&6; }
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3679 $as_echo_n "checking for C compiler default output file name... " >&6; }
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3681 $as_echo "$ac_file" >&6; }
3682 ac_exeext=$ac_cv_exeext
3684 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3685 ac_clean_files=$ac_clean_files_save
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3687 $as_echo_n "checking for suffix of executables... " >&6; }
3688 if { { ac_try="$ac_link"
3689 case "(($ac_try" in
3690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3691 *) ac_try_echo=$ac_try;;
3692 esac
3693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3694 $as_echo "$ac_try_echo"; } >&5
3695 (eval "$ac_link") 2>&5
3696 ac_status=$?
3697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3698 test $ac_status = 0; }; then :
3699 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3700 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3701 # work properly (i.e., refer to `conftest.exe'), while it won't with
3702 # `rm'.
3703 for ac_file in conftest.exe conftest conftest.*; do
3704 test -f "$ac_file" || continue
3705 case $ac_file in
3706 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3707 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3708 break;;
3709 * ) break;;
3710 esac
3711 done
3712 else
3713 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3714 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3715 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3716 See \`config.log' for more details" "$LINENO" 5; }
3718 rm -f conftest conftest$ac_cv_exeext
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3720 $as_echo "$ac_cv_exeext" >&6; }
3722 rm -f conftest.$ac_ext
3723 EXEEXT=$ac_cv_exeext
3724 ac_exeext=$EXEEXT
3725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3726 /* end confdefs.h. */
3727 #include <stdio.h>
3729 main ()
3731 FILE *f = fopen ("conftest.out", "w");
3732 return ferror (f) || fclose (f) != 0;
3735 return 0;
3737 _ACEOF
3738 ac_clean_files="$ac_clean_files conftest.out"
3739 # Check that the compiler produces executables we can run. If not, either
3740 # the compiler is broken, or we cross compile.
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3742 $as_echo_n "checking whether we are cross compiling... " >&6; }
3743 if test "$cross_compiling" != yes; then
3744 { { ac_try="$ac_link"
3745 case "(($ac_try" in
3746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3747 *) ac_try_echo=$ac_try;;
3748 esac
3749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3750 $as_echo "$ac_try_echo"; } >&5
3751 (eval "$ac_link") 2>&5
3752 ac_status=$?
3753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3754 test $ac_status = 0; }
3755 if { ac_try='./conftest$ac_cv_exeext'
3756 { { case "(($ac_try" in
3757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3758 *) ac_try_echo=$ac_try;;
3759 esac
3760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3761 $as_echo "$ac_try_echo"; } >&5
3762 (eval "$ac_try") 2>&5
3763 ac_status=$?
3764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3765 test $ac_status = 0; }; }; then
3766 cross_compiling=no
3767 else
3768 if test "$cross_compiling" = maybe; then
3769 cross_compiling=yes
3770 else
3771 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3773 as_fn_error $? "cannot run C compiled programs.
3774 If you meant to cross compile, use \`--host'.
3775 See \`config.log' for more details" "$LINENO" 5; }
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3780 $as_echo "$cross_compiling" >&6; }
3782 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3783 ac_clean_files=$ac_clean_files_save
3785 else
3786 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.o conftest.obj conftest.dSYM
3787 ac_no_link=yes
3788 # Setting cross_compile will disable run tests; it will
3789 # also disable AC_CHECK_FILE but that's generally
3790 # correct if we can't link.
3791 cross_compiling=yes
3792 EXEEXT=
3793 # Check that the compiler produces executables we can run. If not, either
3794 # the compiler is broken, or we cross compile.
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3796 $as_echo_n "checking whether we are cross compiling... " >&6; }
3797 if test "$cross_compiling" != yes; then
3798 { { ac_try="$ac_link"
3799 case "(($ac_try" in
3800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3801 *) ac_try_echo=$ac_try;;
3802 esac
3803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3804 $as_echo "$ac_try_echo"; } >&5
3805 (eval "$ac_link") 2>&5
3806 ac_status=$?
3807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3808 test $ac_status = 0; }
3809 if { ac_try='./conftest$ac_cv_exeext'
3810 { { case "(($ac_try" in
3811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3812 *) ac_try_echo=$ac_try;;
3813 esac
3814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3815 $as_echo "$ac_try_echo"; } >&5
3816 (eval "$ac_try") 2>&5
3817 ac_status=$?
3818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3819 test $ac_status = 0; }; }; then
3820 cross_compiling=no
3821 else
3822 if test "$cross_compiling" = maybe; then
3823 cross_compiling=yes
3824 else
3825 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3827 as_fn_error $? "cannot run C compiled programs.
3828 If you meant to cross compile, use \`--host'.
3829 See \`config.log' for more details" "$LINENO" 5; }
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3834 $as_echo "$cross_compiling" >&6; }
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3838 $as_echo_n "checking for suffix of object files... " >&6; }
3839 if ${ac_cv_objext+:} false; then :
3840 $as_echo_n "(cached) " >&6
3841 else
3842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3843 /* end confdefs.h. */
3846 main ()
3850 return 0;
3852 _ACEOF
3853 rm -f conftest.o conftest.obj
3854 if { { ac_try="$ac_compile"
3855 case "(($ac_try" in
3856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3857 *) ac_try_echo=$ac_try;;
3858 esac
3859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3860 $as_echo "$ac_try_echo"; } >&5
3861 (eval "$ac_compile") 2>&5
3862 ac_status=$?
3863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3864 test $ac_status = 0; }; then :
3865 for ac_file in conftest.o conftest.obj conftest.*; do
3866 test -f "$ac_file" || continue;
3867 case $ac_file in
3868 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3869 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3870 break;;
3871 esac
3872 done
3873 else
3874 $as_echo "$as_me: failed program was:" >&5
3875 sed 's/^/| /' conftest.$ac_ext >&5
3877 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3878 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3879 as_fn_error $? "cannot compute suffix of object files: cannot compile
3880 See \`config.log' for more details" "$LINENO" 5; }
3882 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3885 $as_echo "$ac_cv_objext" >&6; }
3886 OBJEXT=$ac_cv_objext
3887 ac_objext=$OBJEXT
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3889 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3890 if ${ac_cv_c_compiler_gnu+:} false; then :
3891 $as_echo_n "(cached) " >&6
3892 else
3893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3894 /* end confdefs.h. */
3897 main ()
3899 #ifndef __GNUC__
3900 choke me
3901 #endif
3904 return 0;
3906 _ACEOF
3907 if ac_fn_c_try_compile "$LINENO"; then :
3908 ac_compiler_gnu=yes
3909 else
3910 ac_compiler_gnu=no
3912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3913 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3917 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3918 if test $ac_compiler_gnu = yes; then
3919 GCC=yes
3920 else
3921 GCC=
3923 ac_test_CFLAGS=${CFLAGS+set}
3924 ac_save_CFLAGS=$CFLAGS
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3926 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3927 if ${ac_cv_prog_cc_g+:} false; then :
3928 $as_echo_n "(cached) " >&6
3929 else
3930 ac_save_c_werror_flag=$ac_c_werror_flag
3931 ac_c_werror_flag=yes
3932 ac_cv_prog_cc_g=no
3933 CFLAGS="-g"
3934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3935 /* end confdefs.h. */
3938 main ()
3942 return 0;
3944 _ACEOF
3945 if ac_fn_c_try_compile "$LINENO"; then :
3946 ac_cv_prog_cc_g=yes
3947 else
3948 CFLAGS=""
3949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3950 /* end confdefs.h. */
3953 main ()
3957 return 0;
3959 _ACEOF
3960 if ac_fn_c_try_compile "$LINENO"; then :
3962 else
3963 ac_c_werror_flag=$ac_save_c_werror_flag
3964 CFLAGS="-g"
3965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3966 /* end confdefs.h. */
3969 main ()
3973 return 0;
3975 _ACEOF
3976 if ac_fn_c_try_compile "$LINENO"; then :
3977 ac_cv_prog_cc_g=yes
3979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3984 ac_c_werror_flag=$ac_save_c_werror_flag
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3987 $as_echo "$ac_cv_prog_cc_g" >&6; }
3988 if test "$ac_test_CFLAGS" = set; then
3989 CFLAGS=$ac_save_CFLAGS
3990 elif test $ac_cv_prog_cc_g = yes; then
3991 if test "$GCC" = yes; then
3992 CFLAGS="-g -O2"
3993 else
3994 CFLAGS="-g"
3996 else
3997 if test "$GCC" = yes; then
3998 CFLAGS="-O2"
3999 else
4000 CFLAGS=
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4004 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4005 if ${ac_cv_prog_cc_c89+:} false; then :
4006 $as_echo_n "(cached) " >&6
4007 else
4008 ac_cv_prog_cc_c89=no
4009 ac_save_CC=$CC
4010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4011 /* end confdefs.h. */
4012 #include <stdarg.h>
4013 #include <stdio.h>
4014 struct stat;
4015 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4016 struct buf { int x; };
4017 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4018 static char *e (p, i)
4019 char **p;
4020 int i;
4022 return p[i];
4024 static char *f (char * (*g) (char **, int), char **p, ...)
4026 char *s;
4027 va_list v;
4028 va_start (v,p);
4029 s = g (p, va_arg (v,int));
4030 va_end (v);
4031 return s;
4034 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4035 function prototypes and stuff, but not '\xHH' hex character constants.
4036 These don't provoke an error unfortunately, instead are silently treated
4037 as 'x'. The following induces an error, until -std is added to get
4038 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4039 array size at least. It's necessary to write '\x00'==0 to get something
4040 that's true only with -std. */
4041 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4043 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4044 inside strings and character constants. */
4045 #define FOO(x) 'x'
4046 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4048 int test (int i, double x);
4049 struct s1 {int (*f) (int a);};
4050 struct s2 {int (*f) (double a);};
4051 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4052 int argc;
4053 char **argv;
4055 main ()
4057 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4059 return 0;
4061 _ACEOF
4062 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4063 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4065 CC="$ac_save_CC $ac_arg"
4066 if ac_fn_c_try_compile "$LINENO"; then :
4067 ac_cv_prog_cc_c89=$ac_arg
4069 rm -f core conftest.err conftest.$ac_objext
4070 test "x$ac_cv_prog_cc_c89" != "xno" && break
4071 done
4072 rm -f conftest.$ac_ext
4073 CC=$ac_save_CC
4076 # AC_CACHE_VAL
4077 case "x$ac_cv_prog_cc_c89" in
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4080 $as_echo "none needed" >&6; } ;;
4081 xno)
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4083 $as_echo "unsupported" >&6; } ;;
4085 CC="$CC $ac_cv_prog_cc_c89"
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4087 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4088 esac
4089 if test "x$ac_cv_prog_cc_c89" != xno; then :
4093 ac_ext=c
4094 ac_cpp='$CPP $CPPFLAGS'
4095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4099 ac_ext=c
4100 ac_cpp='$CPP $CPPFLAGS'
4101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4105 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4106 if ${am_cv_prog_cc_c_o+:} false; then :
4107 $as_echo_n "(cached) " >&6
4108 else
4109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4110 /* end confdefs.h. */
4113 main ()
4117 return 0;
4119 _ACEOF
4120 # Make sure it works both with $CC and with simple cc.
4121 # Following AC_PROG_CC_C_O, we do the test twice because some
4122 # compilers refuse to overwrite an existing .o file with -o,
4123 # though they will create one.
4124 am_cv_prog_cc_c_o=yes
4125 for am_i in 1 2; do
4126 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4127 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4128 ac_status=$?
4129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4130 (exit $ac_status); } \
4131 && test -f conftest2.$ac_objext; then
4132 : OK
4133 else
4134 am_cv_prog_cc_c_o=no
4135 break
4137 done
4138 rm -f core conftest*
4139 unset am_i
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4142 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4143 if test "$am_cv_prog_cc_c_o" != yes; then
4144 # Losing compiler, so override with the script.
4145 # FIXME: It is wrong to rewrite CC.
4146 # But if we don't then we get into trouble of one sort or another.
4147 # A longer-term fix would be to have automake use am__CC in this case,
4148 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4149 CC="$am_aux_dir/compile $CC"
4151 ac_ext=c
4152 ac_cpp='$CPP $CPPFLAGS'
4153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4158 depcc="$CC" am_compiler_list=
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4161 $as_echo_n "checking dependency style of $depcc... " >&6; }
4162 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4163 $as_echo_n "(cached) " >&6
4164 else
4165 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4166 # We make a subdir and do the tests there. Otherwise we can end up
4167 # making bogus files that we don't know about and never remove. For
4168 # instance it was reported that on HP-UX the gcc test will end up
4169 # making a dummy file named 'D' -- because '-MD' means "put the output
4170 # in D".
4171 rm -rf conftest.dir
4172 mkdir conftest.dir
4173 # Copy depcomp to subdir because otherwise we won't find it if we're
4174 # using a relative directory.
4175 cp "$am_depcomp" conftest.dir
4176 cd conftest.dir
4177 # We will build objects and dependencies in a subdirectory because
4178 # it helps to detect inapplicable dependency modes. For instance
4179 # both Tru64's cc and ICC support -MD to output dependencies as a
4180 # side effect of compilation, but ICC will put the dependencies in
4181 # the current directory while Tru64 will put them in the object
4182 # directory.
4183 mkdir sub
4185 am_cv_CC_dependencies_compiler_type=none
4186 if test "$am_compiler_list" = ""; then
4187 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4189 am__universal=false
4190 case " $depcc " in #(
4191 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4192 esac
4194 for depmode in $am_compiler_list; do
4195 # Setup a source with many dependencies, because some compilers
4196 # like to wrap large dependency lists on column 80 (with \), and
4197 # we should not choose a depcomp mode which is confused by this.
4199 # We need to recreate these files for each test, as the compiler may
4200 # overwrite some of them when testing with obscure command lines.
4201 # This happens at least with the AIX C compiler.
4202 : > sub/conftest.c
4203 for i in 1 2 3 4 5 6; do
4204 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4205 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4206 # Solaris 10 /bin/sh.
4207 echo '/* dummy */' > sub/conftst$i.h
4208 done
4209 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4211 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4212 # mode. It turns out that the SunPro C++ compiler does not properly
4213 # handle '-M -o', and we need to detect this. Also, some Intel
4214 # versions had trouble with output in subdirs.
4215 am__obj=sub/conftest.${OBJEXT-o}
4216 am__minus_obj="-o $am__obj"
4217 case $depmode in
4218 gcc)
4219 # This depmode causes a compiler race in universal mode.
4220 test "$am__universal" = false || continue
4222 nosideeffect)
4223 # After this tag, mechanisms are not by side-effect, so they'll
4224 # only be used when explicitly requested.
4225 if test "x$enable_dependency_tracking" = xyes; then
4226 continue
4227 else
4228 break
4231 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4232 # This compiler won't grok '-c -o', but also, the minuso test has
4233 # not run yet. These depmodes are late enough in the game, and
4234 # so weak that their functioning should not be impacted.
4235 am__obj=conftest.${OBJEXT-o}
4236 am__minus_obj=
4238 none) break ;;
4239 esac
4240 if depmode=$depmode \
4241 source=sub/conftest.c object=$am__obj \
4242 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4243 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4244 >/dev/null 2>conftest.err &&
4245 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4246 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4247 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4248 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4249 # icc doesn't choke on unknown options, it will just issue warnings
4250 # or remarks (even with -Werror). So we grep stderr for any message
4251 # that says an option was ignored or not supported.
4252 # When given -MP, icc 7.0 and 7.1 complain thusly:
4253 # icc: Command line warning: ignoring option '-M'; no argument required
4254 # The diagnosis changed in icc 8.0:
4255 # icc: Command line remark: option '-MP' not supported
4256 if (grep 'ignoring option' conftest.err ||
4257 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4258 am_cv_CC_dependencies_compiler_type=$depmode
4259 break
4262 done
4264 cd ..
4265 rm -rf conftest.dir
4266 else
4267 am_cv_CC_dependencies_compiler_type=none
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4272 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4273 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4276 test "x$enable_dependency_tracking" != xno \
4277 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4278 am__fastdepCC_TRUE=
4279 am__fastdepCC_FALSE='#'
4280 else
4281 am__fastdepCC_TRUE='#'
4282 am__fastdepCC_FALSE=
4286 ac_ext=c
4287 ac_cpp='$CPP $CPPFLAGS'
4288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4292 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4293 # On Suns, sometimes $CPP names a directory.
4294 if test -n "$CPP" && test -d "$CPP"; then
4295 CPP=
4297 if test -z "$CPP"; then
4298 if ${ac_cv_prog_CPP+:} false; then :
4299 $as_echo_n "(cached) " >&6
4300 else
4301 # Double quotes because CPP needs to be expanded
4302 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4304 ac_preproc_ok=false
4305 for ac_c_preproc_warn_flag in '' yes
4307 # Use a header file that comes with gcc, so configuring glibc
4308 # with a fresh cross-compiler works.
4309 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4310 # <limits.h> exists even on freestanding compilers.
4311 # On the NeXT, cc -E runs the code through the compiler's parser,
4312 # not just through cpp. "Syntax error" is here to catch this case.
4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4314 /* end confdefs.h. */
4315 #ifdef __STDC__
4316 # include <limits.h>
4317 #else
4318 # include <assert.h>
4319 #endif
4320 Syntax error
4321 _ACEOF
4322 if ac_fn_c_try_cpp "$LINENO"; then :
4324 else
4325 # Broken: fails on valid input.
4326 continue
4328 rm -f conftest.err conftest.i conftest.$ac_ext
4330 # OK, works on sane cases. Now check whether nonexistent headers
4331 # can be detected and how.
4332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4333 /* end confdefs.h. */
4334 #include <ac_nonexistent.h>
4335 _ACEOF
4336 if ac_fn_c_try_cpp "$LINENO"; then :
4337 # Broken: success on invalid input.
4338 continue
4339 else
4340 # Passes both tests.
4341 ac_preproc_ok=:
4342 break
4344 rm -f conftest.err conftest.i conftest.$ac_ext
4346 done
4347 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4348 rm -f conftest.i conftest.err conftest.$ac_ext
4349 if $ac_preproc_ok; then :
4350 break
4353 done
4354 ac_cv_prog_CPP=$CPP
4357 CPP=$ac_cv_prog_CPP
4358 else
4359 ac_cv_prog_CPP=$CPP
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4362 $as_echo "$CPP" >&6; }
4363 ac_preproc_ok=false
4364 for ac_c_preproc_warn_flag in '' yes
4366 # Use a header file that comes with gcc, so configuring glibc
4367 # with a fresh cross-compiler works.
4368 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4369 # <limits.h> exists even on freestanding compilers.
4370 # On the NeXT, cc -E runs the code through the compiler's parser,
4371 # not just through cpp. "Syntax error" is here to catch this case.
4372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4373 /* end confdefs.h. */
4374 #ifdef __STDC__
4375 # include <limits.h>
4376 #else
4377 # include <assert.h>
4378 #endif
4379 Syntax error
4380 _ACEOF
4381 if ac_fn_c_try_cpp "$LINENO"; then :
4383 else
4384 # Broken: fails on valid input.
4385 continue
4387 rm -f conftest.err conftest.i conftest.$ac_ext
4389 # OK, works on sane cases. Now check whether nonexistent headers
4390 # can be detected and how.
4391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4392 /* end confdefs.h. */
4393 #include <ac_nonexistent.h>
4394 _ACEOF
4395 if ac_fn_c_try_cpp "$LINENO"; then :
4396 # Broken: success on invalid input.
4397 continue
4398 else
4399 # Passes both tests.
4400 ac_preproc_ok=:
4401 break
4403 rm -f conftest.err conftest.i conftest.$ac_ext
4405 done
4406 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4407 rm -f conftest.i conftest.err conftest.$ac_ext
4408 if $ac_preproc_ok; then :
4410 else
4411 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4413 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4414 See \`config.log' for more details" "$LINENO" 5; }
4417 ac_ext=c
4418 ac_cpp='$CPP $CPPFLAGS'
4419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4423 # By default we simply use the C compiler to build assembly code.
4425 test "${CCAS+set}" = set || CCAS=$CC
4426 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
4430 depcc="$CCAS" am_compiler_list=
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4433 $as_echo_n "checking dependency style of $depcc... " >&6; }
4434 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
4435 $as_echo_n "(cached) " >&6
4436 else
4437 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4438 # We make a subdir and do the tests there. Otherwise we can end up
4439 # making bogus files that we don't know about and never remove. For
4440 # instance it was reported that on HP-UX the gcc test will end up
4441 # making a dummy file named 'D' -- because '-MD' means "put the output
4442 # in D".
4443 rm -rf conftest.dir
4444 mkdir conftest.dir
4445 # Copy depcomp to subdir because otherwise we won't find it if we're
4446 # using a relative directory.
4447 cp "$am_depcomp" conftest.dir
4448 cd conftest.dir
4449 # We will build objects and dependencies in a subdirectory because
4450 # it helps to detect inapplicable dependency modes. For instance
4451 # both Tru64's cc and ICC support -MD to output dependencies as a
4452 # side effect of compilation, but ICC will put the dependencies in
4453 # the current directory while Tru64 will put them in the object
4454 # directory.
4455 mkdir sub
4457 am_cv_CCAS_dependencies_compiler_type=none
4458 if test "$am_compiler_list" = ""; then
4459 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4461 am__universal=false
4464 for depmode in $am_compiler_list; do
4465 # Setup a source with many dependencies, because some compilers
4466 # like to wrap large dependency lists on column 80 (with \), and
4467 # we should not choose a depcomp mode which is confused by this.
4469 # We need to recreate these files for each test, as the compiler may
4470 # overwrite some of them when testing with obscure command lines.
4471 # This happens at least with the AIX C compiler.
4472 : > sub/conftest.c
4473 for i in 1 2 3 4 5 6; do
4474 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4475 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4476 # Solaris 10 /bin/sh.
4477 echo '/* dummy */' > sub/conftst$i.h
4478 done
4479 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4481 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4482 # mode. It turns out that the SunPro C++ compiler does not properly
4483 # handle '-M -o', and we need to detect this. Also, some Intel
4484 # versions had trouble with output in subdirs.
4485 am__obj=sub/conftest.${OBJEXT-o}
4486 am__minus_obj="-o $am__obj"
4487 case $depmode in
4488 gcc)
4489 # This depmode causes a compiler race in universal mode.
4490 test "$am__universal" = false || continue
4492 nosideeffect)
4493 # After this tag, mechanisms are not by side-effect, so they'll
4494 # only be used when explicitly requested.
4495 if test "x$enable_dependency_tracking" = xyes; then
4496 continue
4497 else
4498 break
4501 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4502 # This compiler won't grok '-c -o', but also, the minuso test has
4503 # not run yet. These depmodes are late enough in the game, and
4504 # so weak that their functioning should not be impacted.
4505 am__obj=conftest.${OBJEXT-o}
4506 am__minus_obj=
4508 none) break ;;
4509 esac
4510 if depmode=$depmode \
4511 source=sub/conftest.c object=$am__obj \
4512 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4513 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4514 >/dev/null 2>conftest.err &&
4515 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4516 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4517 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4518 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4519 # icc doesn't choke on unknown options, it will just issue warnings
4520 # or remarks (even with -Werror). So we grep stderr for any message
4521 # that says an option was ignored or not supported.
4522 # When given -MP, icc 7.0 and 7.1 complain thusly:
4523 # icc: Command line warning: ignoring option '-M'; no argument required
4524 # The diagnosis changed in icc 8.0:
4525 # icc: Command line remark: option '-MP' not supported
4526 if (grep 'ignoring option' conftest.err ||
4527 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4528 am_cv_CCAS_dependencies_compiler_type=$depmode
4529 break
4532 done
4534 cd ..
4535 rm -rf conftest.dir
4536 else
4537 am_cv_CCAS_dependencies_compiler_type=none
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
4542 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
4543 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
4546 test "x$enable_dependency_tracking" != xno \
4547 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
4548 am__fastdepCCAS_TRUE=
4549 am__fastdepCCAS_FALSE='#'
4550 else
4551 am__fastdepCCAS_TRUE='#'
4552 am__fastdepCCAS_FALSE=
4557 if test -n "$ac_tool_prefix"; then
4558 for ac_prog in ar lib "link -lib"
4560 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4561 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4563 $as_echo_n "checking for $ac_word... " >&6; }
4564 if ${ac_cv_prog_AR+:} false; then :
4565 $as_echo_n "(cached) " >&6
4566 else
4567 if test -n "$AR"; then
4568 ac_cv_prog_AR="$AR" # Let the user override the test.
4569 else
4570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4571 for as_dir in $PATH
4573 IFS=$as_save_IFS
4574 test -z "$as_dir" && as_dir=.
4575 for ac_exec_ext in '' $ac_executable_extensions; do
4576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4577 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4579 break 2
4581 done
4582 done
4583 IFS=$as_save_IFS
4587 AR=$ac_cv_prog_AR
4588 if test -n "$AR"; then
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4590 $as_echo "$AR" >&6; }
4591 else
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4593 $as_echo "no" >&6; }
4597 test -n "$AR" && break
4598 done
4600 if test -z "$AR"; then
4601 ac_ct_AR=$AR
4602 for ac_prog in ar lib "link -lib"
4604 # Extract the first word of "$ac_prog", so it can be a program name with args.
4605 set dummy $ac_prog; ac_word=$2
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4607 $as_echo_n "checking for $ac_word... " >&6; }
4608 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4609 $as_echo_n "(cached) " >&6
4610 else
4611 if test -n "$ac_ct_AR"; then
4612 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4613 else
4614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615 for as_dir in $PATH
4617 IFS=$as_save_IFS
4618 test -z "$as_dir" && as_dir=.
4619 for ac_exec_ext in '' $ac_executable_extensions; do
4620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4621 ac_cv_prog_ac_ct_AR="$ac_prog"
4622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4623 break 2
4625 done
4626 done
4627 IFS=$as_save_IFS
4631 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4632 if test -n "$ac_ct_AR"; then
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4634 $as_echo "$ac_ct_AR" >&6; }
4635 else
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4637 $as_echo "no" >&6; }
4641 test -n "$ac_ct_AR" && break
4642 done
4644 if test "x$ac_ct_AR" = x; then
4645 AR="false"
4646 else
4647 case $cross_compiling:$ac_tool_warned in
4648 yes:)
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4650 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4651 ac_tool_warned=yes ;;
4652 esac
4653 AR=$ac_ct_AR
4657 : ${AR=ar}
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4660 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4661 if ${am_cv_ar_interface+:} false; then :
4662 $as_echo_n "(cached) " >&6
4663 else
4664 ac_ext=c
4665 ac_cpp='$CPP $CPPFLAGS'
4666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4670 am_cv_ar_interface=ar
4671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4672 /* end confdefs.h. */
4673 int some_variable = 0;
4674 _ACEOF
4675 if ac_fn_c_try_compile "$LINENO"; then :
4676 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4677 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4678 (eval $am_ar_try) 2>&5
4679 ac_status=$?
4680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4681 test $ac_status = 0; }
4682 if test "$ac_status" -eq 0; then
4683 am_cv_ar_interface=ar
4684 else
4685 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4686 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4687 (eval $am_ar_try) 2>&5
4688 ac_status=$?
4689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4690 test $ac_status = 0; }
4691 if test "$ac_status" -eq 0; then
4692 am_cv_ar_interface=lib
4693 else
4694 am_cv_ar_interface=unknown
4697 rm -f conftest.lib libconftest.a
4700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4701 ac_ext=c
4702 ac_cpp='$CPP $CPPFLAGS'
4703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4709 $as_echo "$am_cv_ar_interface" >&6; }
4711 case $am_cv_ar_interface in
4714 lib)
4715 # Microsoft lib, so override with the ar-lib wrapper script.
4716 # FIXME: It is wrong to rewrite AR.
4717 # But if we don't then we get into trouble of one sort or another.
4718 # A longer-term fix would be to have automake use am__AR in this case,
4719 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4720 # similar.
4721 AR="$am_aux_dir/ar-lib $AR"
4723 unknown)
4724 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4726 esac
4729 # Check whether --enable-target-optspace was given.
4730 if test "${enable_target_optspace+set}" = set; then :
4731 enableval=$enable_target_optspace; case "${enableval}" in
4732 yes) target_optspace=yes ;;
4733 no) target_optspace=no ;;
4734 *) as_fn_error $? "bad value ${enableval} for target-optspace option" "$LINENO" 5 ;;
4735 esac
4736 else
4737 target_optspace=
4740 # Check whether --enable-malloc-debugging was given.
4741 if test "${enable_malloc_debugging+set}" = set; then :
4742 enableval=$enable_malloc_debugging; case "${enableval}" in
4743 yes) malloc_debugging=yes ;;
4744 no) malloc_debugging=no ;;
4745 *) as_fn_error $? "bad value ${enableval} for malloc-debugging option" "$LINENO" 5 ;;
4746 esac
4747 else
4748 malloc_debugging=
4751 # Check whether --enable-newlib-multithread was given.
4752 if test "${enable_newlib_multithread+set}" = set; then :
4753 enableval=$enable_newlib_multithread; case "${enableval}" in
4754 yes) newlib_multithread=yes ;;
4755 no) newlib_multithread=no ;;
4756 *) as_fn_error $? "bad value ${enableval} for newlib-multithread option" "$LINENO" 5 ;;
4757 esac
4758 else
4759 newlib_multithread=yes
4762 # Check whether --enable-newlib-iconv was given.
4763 if test "${enable_newlib_iconv+set}" = set; then :
4764 enableval=$enable_newlib_iconv; if test "${newlib_iconv+set}" != set; then
4765 case "${enableval}" in
4766 yes) newlib_iconv=yes ;;
4767 no) newlib_iconv=no ;;
4768 *) as_fn_error $? "bad value ${enableval} for newlib-iconv option" "$LINENO" 5 ;;
4769 esac
4771 else
4772 newlib_iconv=${newlib_iconv}
4775 # Check whether --enable-newlib-elix-level was given.
4776 if test "${enable_newlib_elix_level+set}" = set; then :
4777 enableval=$enable_newlib_elix_level; case "${enableval}" in
4778 0) newlib_elix_level=0 ;;
4779 1) newlib_elix_level=1 ;;
4780 2) newlib_elix_level=2 ;;
4781 3) newlib_elix_level=3 ;;
4782 4) newlib_elix_level=4 ;;
4783 *) as_fn_error $? "bad value ${enableval} for newlib-elix-level option" "$LINENO" 5 ;;
4784 esac
4785 else
4786 newlib_elix_level=0
4789 # Check whether --enable-newlib-io-float was given.
4790 if test "${enable_newlib_io_float+set}" = set; then :
4791 enableval=$enable_newlib_io_float; case "${enableval}" in
4792 yes) newlib_io_float=yes ;;
4793 no) newlib_io_float=no ;;
4794 *) as_fn_error $? "bad value ${enableval} for newlib-io-float option" "$LINENO" 5 ;;
4795 esac
4796 else
4797 newlib_io_float=yes
4800 # Check whether --enable-newlib-supplied-syscalls was given.
4801 if test "${enable_newlib_supplied_syscalls+set}" = set; then :
4802 enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in
4803 yes) newlib_may_supply_syscalls=yes ;;
4804 no) newlib_may_supply_syscalls=no ;;
4805 *) as_fn_error $? "bad value ${enableval} for newlib-supplied-syscalls option" "$LINENO" 5 ;;
4806 esac
4807 else
4808 newlib_may_supply_syscalls=yes
4811 if test x${newlib_may_supply_syscalls} = xyes; then
4812 MAY_SUPPLY_SYSCALLS_TRUE=
4813 MAY_SUPPLY_SYSCALLS_FALSE='#'
4814 else
4815 MAY_SUPPLY_SYSCALLS_TRUE='#'
4816 MAY_SUPPLY_SYSCALLS_FALSE=
4820 # Check whether --enable-newlib-fno-builtin was given.
4821 if test "${enable_newlib_fno_builtin+set}" = set; then :
4822 enableval=$enable_newlib_fno_builtin; case "${enableval}" in
4823 yes) newlib_fno_builtin=yes ;;
4824 no) newlib_fno_builtin=no ;;
4825 *) as_fn_error $? "bad value ${enableval} for newlib-fno-builtin option" "$LINENO" 5 ;;
4826 esac
4827 else
4828 newlib_fno_builtin=
4833 test -z "${with_target_subdir}" && with_target_subdir=.
4835 if test "${srcdir}" = "."; then
4836 if test "${with_target_subdir}" != "."; then
4837 newlib_basedir="${srcdir}/${with_multisrctop}../."
4838 else
4839 newlib_basedir="${srcdir}/${with_multisrctop}."
4841 else
4842 newlib_basedir="${srcdir}/."
4846 abs_newlib_basedir=`cd "${newlib_basedir}" && pwd`
4851 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4852 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4853 # is not polluted with repeated "-I."
4854 am__isrc=' -I$(srcdir)'
4855 # test to see if srcdir already configured
4856 if test -f $srcdir/config.status; then
4857 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4861 # test whether we have cygpath
4862 if test -z "$CYGPATH_W"; then
4863 if (cygpath --version) >/dev/null 2>/dev/null; then
4864 CYGPATH_W='cygpath -w'
4865 else
4866 CYGPATH_W=echo
4871 # Define the identity of the package.
4872 PACKAGE='newlib'
4873 VERSION='4.5.0'
4876 # Some tools Automake needs.
4878 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4881 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4884 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4887 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4890 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4892 # For better backward compatibility. To be removed once Automake 1.9.x
4893 # dies out for good. For more background, see:
4894 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4895 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4896 mkdir_p='$(MKDIR_P)'
4898 # We need awk for the "check" target (and possibly the TAP driver). The
4899 # system "awk" is bad on some platforms.
4900 # Always define AMTAR for backward compatibility. Yes, it's still used
4901 # in the wild :-( We should find a proper way to deprecate it ...
4902 AMTAR='$${TAR-tar}'
4905 # We'll loop over all known methods to create a tar archive until one works.
4906 _am_tools='gnutar pax cpio none'
4908 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4915 # POSIX will say in a future version that running "rm -f" with no argument
4916 # is OK; and we want to be able to make that assumption in our Makefile
4917 # recipes. So use an aggressive probe to check that the usage we want is
4918 # actually supported "in the wild" to an acceptable degree.
4919 # See automake bug#10828.
4920 # To make any issue more visible, cause the running configure to be aborted
4921 # by default if the 'rm' program in use doesn't match our expectations; the
4922 # user can still override this though.
4923 if rm -f && rm -fr && rm -rf; then : OK; else
4924 cat >&2 <<'END'
4925 Oops!
4927 Your 'rm' program seems unable to run without file operands specified
4928 on the command line, even when the '-f' option is present. This is contrary
4929 to the behaviour of most rm programs out there, and not conforming with
4930 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4932 Please tell bug-automake@gnu.org about your system, including the value
4933 of your $PATH and any error possibly output before this message. This
4934 can help us improve future automake versions.
4937 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4938 echo 'Configuration will proceed anyway, since you have set the' >&2
4939 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4940 echo >&2
4941 else
4942 cat >&2 <<'END'
4943 Aborting the configuration process, to ensure you take notice of the issue.
4945 You can download and install GNU coreutils to get an 'rm' implementation
4946 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4948 If you want to complete the configuration process using your problematic
4949 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4950 to "yes", and re-run configure.
4953 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4959 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4960 # Check whether --enable-maintainer-mode was given.
4961 if test "${enable_maintainer_mode+set}" = set; then :
4962 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4963 else
4964 USE_MAINTAINER_MODE=no
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4968 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4969 if test $USE_MAINTAINER_MODE = yes; then
4970 MAINTAINER_MODE_TRUE=
4971 MAINTAINER_MODE_FALSE='#'
4972 else
4973 MAINTAINER_MODE_TRUE='#'
4974 MAINTAINER_MODE_FALSE=
4977 MAINT=$MAINTAINER_MODE_TRUE
4980 # Check whether --enable-silent-rules was given.
4981 if test "${enable_silent_rules+set}" = set; then :
4982 enableval=$enable_silent_rules;
4985 case $enable_silent_rules in # (((
4986 yes) AM_DEFAULT_VERBOSITY=0;;
4987 no) AM_DEFAULT_VERBOSITY=1;;
4988 *) AM_DEFAULT_VERBOSITY=0;;
4989 esac
4990 am_make=${MAKE-make}
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4992 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4993 if ${am_cv_make_support_nested_variables+:} false; then :
4994 $as_echo_n "(cached) " >&6
4995 else
4996 if $as_echo 'TRUE=$(BAR$(V))
4997 BAR0=false
4998 BAR1=true
5000 am__doit:
5001 @$(TRUE)
5002 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
5003 am_cv_make_support_nested_variables=yes
5004 else
5005 am_cv_make_support_nested_variables=no
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
5009 $as_echo "$am_cv_make_support_nested_variables" >&6; }
5010 if test $am_cv_make_support_nested_variables = yes; then
5011 AM_V='$(V)'
5012 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
5013 else
5014 AM_V=$AM_DEFAULT_VERBOSITY
5015 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
5017 AM_BACKSLASH='\'
5022 if test -n "$ac_tool_prefix"; then
5023 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5024 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5026 $as_echo_n "checking for $ac_word... " >&6; }
5027 if ${ac_cv_prog_RANLIB+:} false; then :
5028 $as_echo_n "(cached) " >&6
5029 else
5030 if test -n "$RANLIB"; then
5031 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5032 else
5033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5034 for as_dir in $PATH
5036 IFS=$as_save_IFS
5037 test -z "$as_dir" && as_dir=.
5038 for ac_exec_ext in '' $ac_executable_extensions; do
5039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5040 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5042 break 2
5044 done
5045 done
5046 IFS=$as_save_IFS
5050 RANLIB=$ac_cv_prog_RANLIB
5051 if test -n "$RANLIB"; then
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5053 $as_echo "$RANLIB" >&6; }
5054 else
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5056 $as_echo "no" >&6; }
5061 if test -z "$ac_cv_prog_RANLIB"; then
5062 ac_ct_RANLIB=$RANLIB
5063 # Extract the first word of "ranlib", so it can be a program name with args.
5064 set dummy ranlib; ac_word=$2
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5066 $as_echo_n "checking for $ac_word... " >&6; }
5067 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5068 $as_echo_n "(cached) " >&6
5069 else
5070 if test -n "$ac_ct_RANLIB"; then
5071 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5072 else
5073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5074 for as_dir in $PATH
5076 IFS=$as_save_IFS
5077 test -z "$as_dir" && as_dir=.
5078 for ac_exec_ext in '' $ac_executable_extensions; do
5079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5080 ac_cv_prog_ac_ct_RANLIB="ranlib"
5081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5082 break 2
5084 done
5085 done
5086 IFS=$as_save_IFS
5090 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5091 if test -n "$ac_ct_RANLIB"; then
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5093 $as_echo "$ac_ct_RANLIB" >&6; }
5094 else
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5096 $as_echo "no" >&6; }
5099 if test "x$ac_ct_RANLIB" = x; then
5100 RANLIB=":"
5101 else
5102 case $cross_compiling:$ac_tool_warned in
5103 yes:)
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5106 ac_tool_warned=yes ;;
5107 esac
5108 RANLIB=$ac_ct_RANLIB
5110 else
5111 RANLIB="$ac_cv_prog_RANLIB"
5114 if test -n "$ac_tool_prefix"; then
5115 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
5116 set dummy ${ac_tool_prefix}readelf; ac_word=$2
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5118 $as_echo_n "checking for $ac_word... " >&6; }
5119 if ${ac_cv_prog_READELF+:} false; then :
5120 $as_echo_n "(cached) " >&6
5121 else
5122 if test -n "$READELF"; then
5123 ac_cv_prog_READELF="$READELF" # Let the user override the test.
5124 else
5125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5126 for as_dir in $PATH
5128 IFS=$as_save_IFS
5129 test -z "$as_dir" && as_dir=.
5130 for ac_exec_ext in '' $ac_executable_extensions; do
5131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5132 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
5133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5134 break 2
5136 done
5137 done
5138 IFS=$as_save_IFS
5142 READELF=$ac_cv_prog_READELF
5143 if test -n "$READELF"; then
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
5145 $as_echo "$READELF" >&6; }
5146 else
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5148 $as_echo "no" >&6; }
5153 if test -z "$ac_cv_prog_READELF"; then
5154 ac_ct_READELF=$READELF
5155 # Extract the first word of "readelf", so it can be a program name with args.
5156 set dummy readelf; ac_word=$2
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5158 $as_echo_n "checking for $ac_word... " >&6; }
5159 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
5160 $as_echo_n "(cached) " >&6
5161 else
5162 if test -n "$ac_ct_READELF"; then
5163 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
5164 else
5165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5166 for as_dir in $PATH
5168 IFS=$as_save_IFS
5169 test -z "$as_dir" && as_dir=.
5170 for ac_exec_ext in '' $ac_executable_extensions; do
5171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5172 ac_cv_prog_ac_ct_READELF="readelf"
5173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5174 break 2
5176 done
5177 done
5178 IFS=$as_save_IFS
5182 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
5183 if test -n "$ac_ct_READELF"; then
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
5185 $as_echo "$ac_ct_READELF" >&6; }
5186 else
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5188 $as_echo "no" >&6; }
5191 if test "x$ac_ct_READELF" = x; then
5192 READELF=":"
5193 else
5194 case $cross_compiling:$ac_tool_warned in
5195 yes:)
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5197 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5198 ac_tool_warned=yes ;;
5199 esac
5200 READELF=$ac_ct_READELF
5202 else
5203 READELF="$ac_cv_prog_READELF"
5208 . ${newlib_basedir}/configure.host
5210 NEWLIB_CFLAGS=${newlib_cflags}
5213 NO_INCLUDE_LIST=${noinclude}
5216 if test x${newlib_elix_level} = x0; then
5217 ELIX_LEVEL_0_TRUE=
5218 ELIX_LEVEL_0_FALSE='#'
5219 else
5220 ELIX_LEVEL_0_TRUE='#'
5221 ELIX_LEVEL_0_FALSE=
5224 if test x${newlib_elix_level} = x1; then
5225 ELIX_LEVEL_1_TRUE=
5226 ELIX_LEVEL_1_FALSE='#'
5227 else
5228 ELIX_LEVEL_1_TRUE='#'
5229 ELIX_LEVEL_1_FALSE=
5232 if test x${newlib_elix_level} = x2; then
5233 ELIX_LEVEL_2_TRUE=
5234 ELIX_LEVEL_2_FALSE='#'
5235 else
5236 ELIX_LEVEL_2_TRUE='#'
5237 ELIX_LEVEL_2_FALSE=
5240 if test x${newlib_elix_level} = x3; then
5241 ELIX_LEVEL_3_TRUE=
5242 ELIX_LEVEL_3_FALSE='#'
5243 else
5244 ELIX_LEVEL_3_TRUE='#'
5245 ELIX_LEVEL_3_FALSE=
5248 if test x${newlib_elix_level} = x4; then
5249 ELIX_LEVEL_4_TRUE=
5250 ELIX_LEVEL_4_FALSE='#'
5251 else
5252 ELIX_LEVEL_4_TRUE='#'
5253 ELIX_LEVEL_4_FALSE=
5257 # Emit any target-specific warnings.
5258 if test "x${newlib_msg_warn}" != "x"; then
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${newlib_msg_warn}" >&5
5260 $as_echo "$as_me: WARNING: ${newlib_msg_warn}" >&2;}
5263 # Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
5264 # use oext, which is set in configure.host based on the target platform.
5265 OBJEXT=o
5276 newlib_hw_fp=false
5277 #AC_ARG_ENABLE(newlib_hw_fp,
5278 #[ --enable-newlib-hw-fp Turn on hardware floating point math],
5279 #[case "${enableval}" in
5280 # yes) newlib_hw_fp=true ;;
5281 # no) newlib_hw_fp=false ;;
5282 # *) AC_MSG_ERROR(bad value ${enableval} for --enable-newlib-hw-fp) ;;
5283 # esac],[newlib_hw_fp=false])
5284 if test x$newlib_hw_fp = xtrue; then
5285 NEWLIB_HW_FP_TRUE=
5286 NEWLIB_HW_FP_FALSE='#'
5287 else
5288 NEWLIB_HW_FP_TRUE='#'
5289 NEWLIB_HW_FP_FALSE=
5293 # These get added in the top-level configure.in, except in the case where
5294 # newlib is being built natively.
5295 LIBC_INCLUDE_GREP=`echo ${CC} | grep \/libc\/include`
5296 if test -z "${LIBC_INCLUDE_GREP}"; then
5297 CC_FOR_NEWLIB="${CC} -I$PWD/targ-include -I${abs_newlib_basedir}/libc/include"
5298 else
5299 CC_FOR_NEWLIB="${CC}"
5304 if test x${signal_dir} != x; then
5305 HAVE_SIGNAL_DIR_TRUE=
5306 HAVE_SIGNAL_DIR_FALSE='#'
5307 else
5308 HAVE_SIGNAL_DIR_TRUE='#'
5309 HAVE_SIGNAL_DIR_FALSE=
5312 if test x${stdio_dir} != x; then
5313 HAVE_STDIO_DIR_TRUE=
5314 HAVE_STDIO_DIR_FALSE='#'
5315 else
5316 HAVE_STDIO_DIR_TRUE='#'
5317 HAVE_STDIO_DIR_FALSE=
5320 if test x${stdio64_dir} != x; then
5321 HAVE_STDIO64_DIR_TRUE=
5322 HAVE_STDIO64_DIR_FALSE='#'
5323 else
5324 HAVE_STDIO64_DIR_TRUE='#'
5325 HAVE_STDIO64_DIR_FALSE=
5328 if test x${posix_dir} != x; then
5329 HAVE_POSIX_DIR_TRUE=
5330 HAVE_POSIX_DIR_FALSE='#'
5331 else
5332 HAVE_POSIX_DIR_TRUE='#'
5333 HAVE_POSIX_DIR_FALSE=
5336 if test x${xdr_dir} != x; then
5337 HAVE_XDR_DIR_TRUE=
5338 HAVE_XDR_DIR_FALSE='#'
5339 else
5340 HAVE_XDR_DIR_TRUE='#'
5341 HAVE_XDR_DIR_FALSE=
5344 if test x${syscall_dir} != x; then
5345 HAVE_SYSCALL_DIR_TRUE=
5346 HAVE_SYSCALL_DIR_FALSE='#'
5347 else
5348 HAVE_SYSCALL_DIR_TRUE='#'
5349 HAVE_SYSCALL_DIR_FALSE=
5352 if test x${unix_dir} != x; then
5353 HAVE_UNIX_DIR_TRUE=
5354 HAVE_UNIX_DIR_FALSE='#'
5355 else
5356 HAVE_UNIX_DIR_TRUE='#'
5357 HAVE_UNIX_DIR_FALSE=
5361 if test "${sys_dir}" = a29khif; then
5362 HAVE_LIBC_SYS_A29KHIF_DIR_TRUE=
5363 HAVE_LIBC_SYS_A29KHIF_DIR_FALSE='#'
5364 else
5365 HAVE_LIBC_SYS_A29KHIF_DIR_TRUE='#'
5366 HAVE_LIBC_SYS_A29KHIF_DIR_FALSE=
5368 if test "${sys_dir}" = amdgcn; then
5369 HAVE_LIBC_SYS_AMDGCN_DIR_TRUE=
5370 HAVE_LIBC_SYS_AMDGCN_DIR_FALSE='#'
5371 else
5372 HAVE_LIBC_SYS_AMDGCN_DIR_TRUE='#'
5373 HAVE_LIBC_SYS_AMDGCN_DIR_FALSE=
5375 if test "${sys_dir}" = arm; then
5376 HAVE_LIBC_SYS_ARM_DIR_TRUE=
5377 HAVE_LIBC_SYS_ARM_DIR_FALSE='#'
5378 else
5379 HAVE_LIBC_SYS_ARM_DIR_TRUE='#'
5380 HAVE_LIBC_SYS_ARM_DIR_FALSE=
5382 if test "${sys_dir}" = d10v; then
5383 HAVE_LIBC_SYS_D10V_DIR_TRUE=
5384 HAVE_LIBC_SYS_D10V_DIR_FALSE='#'
5385 else
5386 HAVE_LIBC_SYS_D10V_DIR_TRUE='#'
5387 HAVE_LIBC_SYS_D10V_DIR_FALSE=
5389 if test "${sys_dir}" = epiphany; then
5390 HAVE_LIBC_SYS_EPIPHANY_DIR_TRUE=
5391 HAVE_LIBC_SYS_EPIPHANY_DIR_FALSE='#'
5392 else
5393 HAVE_LIBC_SYS_EPIPHANY_DIR_TRUE='#'
5394 HAVE_LIBC_SYS_EPIPHANY_DIR_FALSE=
5396 if test "${sys_dir}" = h8300hms; then
5397 HAVE_LIBC_SYS_H8300HMS_DIR_TRUE=
5398 HAVE_LIBC_SYS_H8300HMS_DIR_FALSE='#'
5399 else
5400 HAVE_LIBC_SYS_H8300HMS_DIR_TRUE='#'
5401 HAVE_LIBC_SYS_H8300HMS_DIR_FALSE=
5403 if test "${sys_dir}" = h8500hms; then
5404 HAVE_LIBC_SYS_H8500HMS_DIR_TRUE=
5405 HAVE_LIBC_SYS_H8500HMS_DIR_FALSE='#'
5406 else
5407 HAVE_LIBC_SYS_H8500HMS_DIR_TRUE='#'
5408 HAVE_LIBC_SYS_H8500HMS_DIR_FALSE=
5410 if test "${sys_dir}" = m88kbug; then
5411 HAVE_LIBC_SYS_M88KBUG_DIR_TRUE=
5412 HAVE_LIBC_SYS_M88KBUG_DIR_FALSE='#'
5413 else
5414 HAVE_LIBC_SYS_M88KBUG_DIR_TRUE='#'
5415 HAVE_LIBC_SYS_M88KBUG_DIR_FALSE=
5417 if test "${sys_dir}" = mmixware; then
5418 HAVE_LIBC_SYS_MMIXWARE_DIR_TRUE=
5419 HAVE_LIBC_SYS_MMIXWARE_DIR_FALSE='#'
5420 else
5421 HAVE_LIBC_SYS_MMIXWARE_DIR_TRUE='#'
5422 HAVE_LIBC_SYS_MMIXWARE_DIR_FALSE=
5424 if test "${sys_dir}" = netware; then
5425 HAVE_LIBC_SYS_NETWARE_DIR_TRUE=
5426 HAVE_LIBC_SYS_NETWARE_DIR_FALSE='#'
5427 else
5428 HAVE_LIBC_SYS_NETWARE_DIR_TRUE='#'
5429 HAVE_LIBC_SYS_NETWARE_DIR_FALSE=
5431 if test "${sys_dir}" = or1k; then
5432 HAVE_LIBC_SYS_OR1K_DIR_TRUE=
5433 HAVE_LIBC_SYS_OR1K_DIR_FALSE='#'
5434 else
5435 HAVE_LIBC_SYS_OR1K_DIR_TRUE='#'
5436 HAVE_LIBC_SYS_OR1K_DIR_FALSE=
5438 if test "${sys_dir}" = rdos; then
5439 HAVE_LIBC_SYS_RDOS_DIR_TRUE=
5440 HAVE_LIBC_SYS_RDOS_DIR_FALSE='#'
5441 else
5442 HAVE_LIBC_SYS_RDOS_DIR_TRUE='#'
5443 HAVE_LIBC_SYS_RDOS_DIR_FALSE=
5445 if test "${sys_dir}" = rtems; then
5446 HAVE_LIBC_SYS_RTEMS_DIR_TRUE=
5447 HAVE_LIBC_SYS_RTEMS_DIR_FALSE='#'
5448 else
5449 HAVE_LIBC_SYS_RTEMS_DIR_TRUE='#'
5450 HAVE_LIBC_SYS_RTEMS_DIR_FALSE=
5452 if test "${sys_dir}" = sh; then
5453 HAVE_LIBC_SYS_SH_DIR_TRUE=
5454 HAVE_LIBC_SYS_SH_DIR_FALSE='#'
5455 else
5456 HAVE_LIBC_SYS_SH_DIR_TRUE='#'
5457 HAVE_LIBC_SYS_SH_DIR_FALSE=
5459 if test "${sys_dir}" = sysmec; then
5460 HAVE_LIBC_SYS_SYSMEC_DIR_TRUE=
5461 HAVE_LIBC_SYS_SYSMEC_DIR_FALSE='#'
5462 else
5463 HAVE_LIBC_SYS_SYSMEC_DIR_TRUE='#'
5464 HAVE_LIBC_SYS_SYSMEC_DIR_FALSE=
5466 if test "${sys_dir}" = sysnec810; then
5467 HAVE_LIBC_SYS_SYSNEC810_DIR_TRUE=
5468 HAVE_LIBC_SYS_SYSNEC810_DIR_FALSE='#'
5469 else
5470 HAVE_LIBC_SYS_SYSNEC810_DIR_TRUE='#'
5471 HAVE_LIBC_SYS_SYSNEC810_DIR_FALSE=
5473 if test "${sys_dir}" = sysnecv850; then
5474 HAVE_LIBC_SYS_SYSNECV850_DIR_TRUE=
5475 HAVE_LIBC_SYS_SYSNECV850_DIR_FALSE='#'
5476 else
5477 HAVE_LIBC_SYS_SYSNECV850_DIR_TRUE='#'
5478 HAVE_LIBC_SYS_SYSNECV850_DIR_FALSE=
5480 if test "${sys_dir}" = sysvi386; then
5481 HAVE_LIBC_SYS_SYSVI386_DIR_TRUE=
5482 HAVE_LIBC_SYS_SYSVI386_DIR_FALSE='#'
5483 else
5484 HAVE_LIBC_SYS_SYSVI386_DIR_TRUE='#'
5485 HAVE_LIBC_SYS_SYSVI386_DIR_FALSE=
5487 if test "${sys_dir}" = sysvnecv70; then
5488 HAVE_LIBC_SYS_SYSVNECV70_DIR_TRUE=
5489 HAVE_LIBC_SYS_SYSVNECV70_DIR_FALSE='#'
5490 else
5491 HAVE_LIBC_SYS_SYSVNECV70_DIR_TRUE='#'
5492 HAVE_LIBC_SYS_SYSVNECV70_DIR_FALSE=
5494 if test "${sys_dir}" = tic80; then
5495 HAVE_LIBC_SYS_TIC80_DIR_TRUE=
5496 HAVE_LIBC_SYS_TIC80_DIR_FALSE='#'
5497 else
5498 HAVE_LIBC_SYS_TIC80_DIR_TRUE='#'
5499 HAVE_LIBC_SYS_TIC80_DIR_FALSE=
5501 if test "${sys_dir}" = tirtos; then
5502 HAVE_LIBC_SYS_TIRTOS_DIR_TRUE=
5503 HAVE_LIBC_SYS_TIRTOS_DIR_FALSE='#'
5504 else
5505 HAVE_LIBC_SYS_TIRTOS_DIR_TRUE='#'
5506 HAVE_LIBC_SYS_TIRTOS_DIR_FALSE=
5508 if test "${sys_dir}" = w65; then
5509 HAVE_LIBC_SYS_W65_DIR_TRUE=
5510 HAVE_LIBC_SYS_W65_DIR_FALSE='#'
5511 else
5512 HAVE_LIBC_SYS_W65_DIR_TRUE='#'
5513 HAVE_LIBC_SYS_W65_DIR_FALSE=
5515 if test "${sys_dir}" = z8ksim; then
5516 HAVE_LIBC_SYS_Z8KSIM_DIR_TRUE=
5517 HAVE_LIBC_SYS_Z8KSIM_DIR_FALSE='#'
5518 else
5519 HAVE_LIBC_SYS_Z8KSIM_DIR_TRUE='#'
5520 HAVE_LIBC_SYS_Z8KSIM_DIR_FALSE=
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double" >&5
5526 $as_echo_n "checking for long double... " >&6; }
5527 if ${ac_cv_type_long_double+:} false; then :
5528 $as_echo_n "(cached) " >&6
5529 else
5530 if test "$GCC" = yes; then
5531 ac_cv_type_long_double=yes
5532 else
5533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5534 /* end confdefs.h. */
5535 /* The Stardent Vistra knows sizeof (long double), but does
5536 not support it. */
5537 long double foo = 0.0L;
5539 main ()
5541 static int test_array [1 - 2 * !(/* On Ultrix 4.3 cc, long double is 4 and double is 8. */
5542 sizeof (double) <= sizeof (long double))];
5543 test_array [0] = 0;
5544 return test_array [0];
5547 return 0;
5549 _ACEOF
5550 if ac_fn_c_try_compile "$LINENO"; then :
5551 ac_cv_type_long_double=yes
5552 else
5553 ac_cv_type_long_double=no
5555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_double" >&5
5559 $as_echo "$ac_cv_type_long_double" >&6; }
5560 if test $ac_cv_type_long_double = yes; then
5562 $as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
5566 if test x"$ac_cv_type_long_double" = x"yes"; then
5567 HAVE_LONG_DOUBLE_TRUE=
5568 HAVE_LONG_DOUBLE_FALSE='#'
5569 else
5570 HAVE_LONG_DOUBLE_TRUE='#'
5571 HAVE_LONG_DOUBLE_FALSE=
5575 if test x${newlib_iconv} != x; then
5576 ENABLE_NEWLIB_ICONV_TRUE=
5577 ENABLE_NEWLIB_ICONV_FALSE='#'
5578 else
5579 ENABLE_NEWLIB_ICONV_TRUE='#'
5580 ENABLE_NEWLIB_ICONV_FALSE=
5584 if test "${machine_dir}" = "nds32"; then
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nds32 V3M ISA" >&5
5587 $as_echo_n "checking for nds32 V3M ISA... " >&6; }
5588 if ${newlib_cv_nds32_isa_v3m+:} false; then :
5589 $as_echo_n "(cached) " >&6
5590 else
5591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5592 /* end confdefs.h. */
5593 #ifdef __NDS32_ISA_V3M__
5594 # error "This is nds32_isa_v3m."
5595 #endif
5598 main ()
5602 return 0;
5604 _ACEOF
5605 if ac_fn_c_try_cpp "$LINENO"; then :
5606 newlib_cv_nds32_isa_v3m="no"
5607 else
5608 newlib_cv_nds32_isa_v3m="yes"
5610 rm -f conftest.err conftest.i conftest.$ac_ext
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $newlib_cv_nds32_isa_v3m" >&5
5613 $as_echo "$newlib_cv_nds32_isa_v3m" >&6; }
5616 if test "$newlib_cv_nds32_isa_v3m" = "yes"; then
5617 IS_NDS32_ISA_V3M_TRUE=
5618 IS_NDS32_ISA_V3M_FALSE='#'
5619 else
5620 IS_NDS32_ISA_V3M_TRUE='#'
5621 IS_NDS32_ISA_V3M_FALSE=
5625 HAVE_POWERPC_ALTIVEC=no
5626 HAVE_POWERPC_SPE=no
5627 if test "${machine_dir}" = "powerpc"; then
5628 case $host in
5629 powerpc*-*altivec*) HAVE_POWERPC_ALTIVEC=yes ;;
5630 powerpc*-*spe*) HAVE_POWERPC_SPE=yes ;;
5631 esac
5633 if test "$HAVE_POWERPC_ALTIVEC" = yes; then
5634 HAVE_POWERPC_ALTIVEC_TRUE=
5635 HAVE_POWERPC_ALTIVEC_FALSE='#'
5636 else
5637 HAVE_POWERPC_ALTIVEC_TRUE='#'
5638 HAVE_POWERPC_ALTIVEC_FALSE=
5641 if test "$HAVE_POWERPC_SPE" = yes; then
5642 HAVE_POWERPC_SPE_TRUE=
5643 HAVE_POWERPC_SPE_FALSE='#'
5644 else
5645 HAVE_POWERPC_SPE_TRUE='#'
5646 HAVE_POWERPC_SPE_FALSE=
5650 if test "${machine_dir}" = "sh"; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SH5 (64-bit)" >&5
5652 $as_echo_n "checking for SH5 (64-bit)... " >&6; }
5653 if ${newlib_cv_sh64+:} false; then :
5654 $as_echo_n "(cached) " >&6
5655 else
5656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5657 /* end confdefs.h. */
5658 #if !defined(__SH5__)
5659 # error "not SH5"
5660 #endif
5663 main ()
5667 return 0;
5669 _ACEOF
5670 if ac_fn_c_try_cpp "$LINENO"; then :
5671 newlib_cv_sh64=yes
5672 else
5673 newlib_cv_sh64=no
5675 rm -f conftest.err conftest.i conftest.$ac_ext
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $newlib_cv_sh64" >&5
5678 $as_echo "$newlib_cv_sh64" >&6; }
5681 if test "$newlib_cv_sh64" = yes; then
5682 SH64_TRUE=
5683 SH64_FALSE='#'
5684 else
5685 SH64_TRUE='#'
5686 SH64_FALSE=
5690 if test "${machine_dir}" = "spu"; then
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports __ea" >&5
5692 $as_echo_n "checking whether the compiler supports __ea... " >&6; }
5693 if ${newlib_cv_spu_compiler_has_ea+:} false; then :
5694 $as_echo_n "(cached) " >&6
5695 else
5696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5697 /* end confdefs.h. */
5698 #if !defined (__EA32__) && !defined (__EA64__)
5699 # error "__ea not supported"
5700 #endif
5703 main ()
5707 return 0;
5709 _ACEOF
5710 if ac_fn_c_try_cpp "$LINENO"; then :
5711 newlib_cv_spu_compiler_has_ea=yes
5712 else
5713 newlib_cv_spu_compiler_has_ea=no
5715 rm -f conftest.err conftest.i conftest.$ac_ext
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $newlib_cv_spu_compiler_has_ea" >&5
5718 $as_echo "$newlib_cv_spu_compiler_has_ea" >&6; }
5720 if test "$newlib_cv_spu_compiler_has_ea" = yes; then
5721 HAVE_SPU_EA_TRUE=
5722 HAVE_SPU_EA_FALSE='#'
5723 else
5724 HAVE_SPU_EA_TRUE='#'
5725 HAVE_SPU_EA_FALSE=
5729 if echo $CC | grep mfix-esp32-psram-cache-issue >/dev/null 2>&1; then
5730 XTENSA_ESP32_PSRAM_CACHE_FIX_TRUE=
5731 XTENSA_ESP32_PSRAM_CACHE_FIX_FALSE='#'
5732 else
5733 XTENSA_ESP32_PSRAM_CACHE_FIX_TRUE='#'
5734 XTENSA_ESP32_PSRAM_CACHE_FIX_FALSE=
5739 if test "${machine_dir}" = aarch64; then
5740 HAVE_LIBC_MACHINE_AARCH64_TRUE=
5741 HAVE_LIBC_MACHINE_AARCH64_FALSE='#'
5742 else
5743 HAVE_LIBC_MACHINE_AARCH64_TRUE='#'
5744 HAVE_LIBC_MACHINE_AARCH64_FALSE=
5746 if test "${machine_dir}" = amdgcn; then
5747 HAVE_LIBC_MACHINE_AMDGCN_TRUE=
5748 HAVE_LIBC_MACHINE_AMDGCN_FALSE='#'
5749 else
5750 HAVE_LIBC_MACHINE_AMDGCN_TRUE='#'
5751 HAVE_LIBC_MACHINE_AMDGCN_FALSE=
5753 if test "${machine_dir}" = arc; then
5754 HAVE_LIBC_MACHINE_ARC_TRUE=
5755 HAVE_LIBC_MACHINE_ARC_FALSE='#'
5756 else
5757 HAVE_LIBC_MACHINE_ARC_TRUE='#'
5758 HAVE_LIBC_MACHINE_ARC_FALSE=
5760 if test "${machine_dir}" = arc64; then
5761 HAVE_LIBC_MACHINE_ARC64_TRUE=
5762 HAVE_LIBC_MACHINE_ARC64_FALSE='#'
5763 else
5764 HAVE_LIBC_MACHINE_ARC64_TRUE='#'
5765 HAVE_LIBC_MACHINE_ARC64_FALSE=
5767 if test "${machine_dir}" = arm; then
5768 HAVE_LIBC_MACHINE_ARM_TRUE=
5769 HAVE_LIBC_MACHINE_ARM_FALSE='#'
5770 else
5771 HAVE_LIBC_MACHINE_ARM_TRUE='#'
5772 HAVE_LIBC_MACHINE_ARM_FALSE=
5774 if test "${machine_dir}" = bfin; then
5775 HAVE_LIBC_MACHINE_BFIN_TRUE=
5776 HAVE_LIBC_MACHINE_BFIN_FALSE='#'
5777 else
5778 HAVE_LIBC_MACHINE_BFIN_TRUE='#'
5779 HAVE_LIBC_MACHINE_BFIN_FALSE=
5781 if test "${machine_dir}" = cr16; then
5782 HAVE_LIBC_MACHINE_CR16_TRUE=
5783 HAVE_LIBC_MACHINE_CR16_FALSE='#'
5784 else
5785 HAVE_LIBC_MACHINE_CR16_TRUE='#'
5786 HAVE_LIBC_MACHINE_CR16_FALSE=
5788 if test "${machine_dir}" = cris; then
5789 HAVE_LIBC_MACHINE_CRIS_TRUE=
5790 HAVE_LIBC_MACHINE_CRIS_FALSE='#'
5791 else
5792 HAVE_LIBC_MACHINE_CRIS_TRUE='#'
5793 HAVE_LIBC_MACHINE_CRIS_FALSE=
5795 if test "${machine_dir}" = crx; then
5796 HAVE_LIBC_MACHINE_CRX_TRUE=
5797 HAVE_LIBC_MACHINE_CRX_FALSE='#'
5798 else
5799 HAVE_LIBC_MACHINE_CRX_TRUE='#'
5800 HAVE_LIBC_MACHINE_CRX_FALSE=
5802 if test "${machine_dir}" = csky; then
5803 HAVE_LIBC_MACHINE_CSKY_TRUE=
5804 HAVE_LIBC_MACHINE_CSKY_FALSE='#'
5805 else
5806 HAVE_LIBC_MACHINE_CSKY_TRUE='#'
5807 HAVE_LIBC_MACHINE_CSKY_FALSE=
5809 if test "${machine_dir}" = d10v; then
5810 HAVE_LIBC_MACHINE_D10V_TRUE=
5811 HAVE_LIBC_MACHINE_D10V_FALSE='#'
5812 else
5813 HAVE_LIBC_MACHINE_D10V_TRUE='#'
5814 HAVE_LIBC_MACHINE_D10V_FALSE=
5816 if test "${machine_dir}" = d30v; then
5817 HAVE_LIBC_MACHINE_D30V_TRUE=
5818 HAVE_LIBC_MACHINE_D30V_FALSE='#'
5819 else
5820 HAVE_LIBC_MACHINE_D30V_TRUE='#'
5821 HAVE_LIBC_MACHINE_D30V_FALSE=
5823 if test "${machine_dir}" = epiphany; then
5824 HAVE_LIBC_MACHINE_EPIPHANY_TRUE=
5825 HAVE_LIBC_MACHINE_EPIPHANY_FALSE='#'
5826 else
5827 HAVE_LIBC_MACHINE_EPIPHANY_TRUE='#'
5828 HAVE_LIBC_MACHINE_EPIPHANY_FALSE=
5830 if test "${machine_dir}" = fr30; then
5831 HAVE_LIBC_MACHINE_FR30_TRUE=
5832 HAVE_LIBC_MACHINE_FR30_FALSE='#'
5833 else
5834 HAVE_LIBC_MACHINE_FR30_TRUE='#'
5835 HAVE_LIBC_MACHINE_FR30_FALSE=
5837 if test "${machine_dir}" = frv; then
5838 HAVE_LIBC_MACHINE_FRV_TRUE=
5839 HAVE_LIBC_MACHINE_FRV_FALSE='#'
5840 else
5841 HAVE_LIBC_MACHINE_FRV_TRUE='#'
5842 HAVE_LIBC_MACHINE_FRV_FALSE=
5844 if test "${machine_dir}" = ft32; then
5845 HAVE_LIBC_MACHINE_FT32_TRUE=
5846 HAVE_LIBC_MACHINE_FT32_FALSE='#'
5847 else
5848 HAVE_LIBC_MACHINE_FT32_TRUE='#'
5849 HAVE_LIBC_MACHINE_FT32_FALSE=
5851 if test "${machine_dir}" = h8300; then
5852 HAVE_LIBC_MACHINE_H8300_TRUE=
5853 HAVE_LIBC_MACHINE_H8300_FALSE='#'
5854 else
5855 HAVE_LIBC_MACHINE_H8300_TRUE='#'
5856 HAVE_LIBC_MACHINE_H8300_FALSE=
5858 if test "${machine_dir}" = h8500; then
5859 HAVE_LIBC_MACHINE_H8500_TRUE=
5860 HAVE_LIBC_MACHINE_H8500_FALSE='#'
5861 else
5862 HAVE_LIBC_MACHINE_H8500_TRUE='#'
5863 HAVE_LIBC_MACHINE_H8500_FALSE=
5865 if test "${machine_dir}" = hppa; then
5866 HAVE_LIBC_MACHINE_HPPA_TRUE=
5867 HAVE_LIBC_MACHINE_HPPA_FALSE='#'
5868 else
5869 HAVE_LIBC_MACHINE_HPPA_TRUE='#'
5870 HAVE_LIBC_MACHINE_HPPA_FALSE=
5872 if test "${machine_dir}" = i386; then
5873 HAVE_LIBC_MACHINE_I386_TRUE=
5874 HAVE_LIBC_MACHINE_I386_FALSE='#'
5875 else
5876 HAVE_LIBC_MACHINE_I386_TRUE='#'
5877 HAVE_LIBC_MACHINE_I386_FALSE=
5879 if test "${machine_dir}" = i960; then
5880 HAVE_LIBC_MACHINE_I960_TRUE=
5881 HAVE_LIBC_MACHINE_I960_FALSE='#'
5882 else
5883 HAVE_LIBC_MACHINE_I960_TRUE='#'
5884 HAVE_LIBC_MACHINE_I960_FALSE=
5886 if test "${machine_dir}" = iq2000; then
5887 HAVE_LIBC_MACHINE_IQ2000_TRUE=
5888 HAVE_LIBC_MACHINE_IQ2000_FALSE='#'
5889 else
5890 HAVE_LIBC_MACHINE_IQ2000_TRUE='#'
5891 HAVE_LIBC_MACHINE_IQ2000_FALSE=
5893 if test "${machine_dir}" = lm32; then
5894 HAVE_LIBC_MACHINE_LM32_TRUE=
5895 HAVE_LIBC_MACHINE_LM32_FALSE='#'
5896 else
5897 HAVE_LIBC_MACHINE_LM32_TRUE='#'
5898 HAVE_LIBC_MACHINE_LM32_FALSE=
5900 if test "${machine_dir}" = m32c; then
5901 HAVE_LIBC_MACHINE_M32C_TRUE=
5902 HAVE_LIBC_MACHINE_M32C_FALSE='#'
5903 else
5904 HAVE_LIBC_MACHINE_M32C_TRUE='#'
5905 HAVE_LIBC_MACHINE_M32C_FALSE=
5907 if test "${machine_dir}" = m32r; then
5908 HAVE_LIBC_MACHINE_M32R_TRUE=
5909 HAVE_LIBC_MACHINE_M32R_FALSE='#'
5910 else
5911 HAVE_LIBC_MACHINE_M32R_TRUE='#'
5912 HAVE_LIBC_MACHINE_M32R_FALSE=
5914 if test "${machine_dir}" = m68hc11; then
5915 HAVE_LIBC_MACHINE_M68HC11_TRUE=
5916 HAVE_LIBC_MACHINE_M68HC11_FALSE='#'
5917 else
5918 HAVE_LIBC_MACHINE_M68HC11_TRUE='#'
5919 HAVE_LIBC_MACHINE_M68HC11_FALSE=
5921 if test "${machine_dir}" = m68k; then
5922 HAVE_LIBC_MACHINE_M68K_TRUE=
5923 HAVE_LIBC_MACHINE_M68K_FALSE='#'
5924 else
5925 HAVE_LIBC_MACHINE_M68K_TRUE='#'
5926 HAVE_LIBC_MACHINE_M68K_FALSE=
5928 if test "${machine_dir}" = m88k; then
5929 HAVE_LIBC_MACHINE_M88K_TRUE=
5930 HAVE_LIBC_MACHINE_M88K_FALSE='#'
5931 else
5932 HAVE_LIBC_MACHINE_M88K_TRUE='#'
5933 HAVE_LIBC_MACHINE_M88K_FALSE=
5935 if test "${machine_dir}" = mep; then
5936 HAVE_LIBC_MACHINE_MEP_TRUE=
5937 HAVE_LIBC_MACHINE_MEP_FALSE='#'
5938 else
5939 HAVE_LIBC_MACHINE_MEP_TRUE='#'
5940 HAVE_LIBC_MACHINE_MEP_FALSE=
5942 if test "${machine_dir}" = microblaze; then
5943 HAVE_LIBC_MACHINE_MICROBLAZE_TRUE=
5944 HAVE_LIBC_MACHINE_MICROBLAZE_FALSE='#'
5945 else
5946 HAVE_LIBC_MACHINE_MICROBLAZE_TRUE='#'
5947 HAVE_LIBC_MACHINE_MICROBLAZE_FALSE=
5949 if test "${machine_dir}" = mips; then
5950 HAVE_LIBC_MACHINE_MIPS_TRUE=
5951 HAVE_LIBC_MACHINE_MIPS_FALSE='#'
5952 else
5953 HAVE_LIBC_MACHINE_MIPS_TRUE='#'
5954 HAVE_LIBC_MACHINE_MIPS_FALSE=
5956 if test "${machine_dir}" = mn10200; then
5957 HAVE_LIBC_MACHINE_MN10200_TRUE=
5958 HAVE_LIBC_MACHINE_MN10200_FALSE='#'
5959 else
5960 HAVE_LIBC_MACHINE_MN10200_TRUE='#'
5961 HAVE_LIBC_MACHINE_MN10200_FALSE=
5963 if test "${machine_dir}" = mn10300; then
5964 HAVE_LIBC_MACHINE_MN10300_TRUE=
5965 HAVE_LIBC_MACHINE_MN10300_FALSE='#'
5966 else
5967 HAVE_LIBC_MACHINE_MN10300_TRUE='#'
5968 HAVE_LIBC_MACHINE_MN10300_FALSE=
5970 if test "${machine_dir}" = moxie; then
5971 HAVE_LIBC_MACHINE_MOXIE_TRUE=
5972 HAVE_LIBC_MACHINE_MOXIE_FALSE='#'
5973 else
5974 HAVE_LIBC_MACHINE_MOXIE_TRUE='#'
5975 HAVE_LIBC_MACHINE_MOXIE_FALSE=
5977 if test "${machine_dir}" = msp430; then
5978 HAVE_LIBC_MACHINE_MSP430_TRUE=
5979 HAVE_LIBC_MACHINE_MSP430_FALSE='#'
5980 else
5981 HAVE_LIBC_MACHINE_MSP430_TRUE='#'
5982 HAVE_LIBC_MACHINE_MSP430_FALSE=
5984 if test "${machine_dir}" = mt; then
5985 HAVE_LIBC_MACHINE_MT_TRUE=
5986 HAVE_LIBC_MACHINE_MT_FALSE='#'
5987 else
5988 HAVE_LIBC_MACHINE_MT_TRUE='#'
5989 HAVE_LIBC_MACHINE_MT_FALSE=
5991 if test "${machine_dir}" = nds32; then
5992 HAVE_LIBC_MACHINE_NDS32_TRUE=
5993 HAVE_LIBC_MACHINE_NDS32_FALSE='#'
5994 else
5995 HAVE_LIBC_MACHINE_NDS32_TRUE='#'
5996 HAVE_LIBC_MACHINE_NDS32_FALSE=
5998 if test "${machine_dir}" = necv70; then
5999 HAVE_LIBC_MACHINE_NECV70_TRUE=
6000 HAVE_LIBC_MACHINE_NECV70_FALSE='#'
6001 else
6002 HAVE_LIBC_MACHINE_NECV70_TRUE='#'
6003 HAVE_LIBC_MACHINE_NECV70_FALSE=
6005 if test "${machine_dir}" = nios2; then
6006 HAVE_LIBC_MACHINE_NIOS2_TRUE=
6007 HAVE_LIBC_MACHINE_NIOS2_FALSE='#'
6008 else
6009 HAVE_LIBC_MACHINE_NIOS2_TRUE='#'
6010 HAVE_LIBC_MACHINE_NIOS2_FALSE=
6012 if test "${machine_dir}" = nvptx; then
6013 HAVE_LIBC_MACHINE_NVPTX_TRUE=
6014 HAVE_LIBC_MACHINE_NVPTX_FALSE='#'
6015 else
6016 HAVE_LIBC_MACHINE_NVPTX_TRUE='#'
6017 HAVE_LIBC_MACHINE_NVPTX_FALSE=
6019 if test "${machine_dir}" = or1k; then
6020 HAVE_LIBC_MACHINE_OR1K_TRUE=
6021 HAVE_LIBC_MACHINE_OR1K_FALSE='#'
6022 else
6023 HAVE_LIBC_MACHINE_OR1K_TRUE='#'
6024 HAVE_LIBC_MACHINE_OR1K_FALSE=
6026 if test "${machine_dir}" = powerpc; then
6027 HAVE_LIBC_MACHINE_POWERPC_TRUE=
6028 HAVE_LIBC_MACHINE_POWERPC_FALSE='#'
6029 else
6030 HAVE_LIBC_MACHINE_POWERPC_TRUE='#'
6031 HAVE_LIBC_MACHINE_POWERPC_FALSE=
6033 if test "${machine_dir}" = pru; then
6034 HAVE_LIBC_MACHINE_PRU_TRUE=
6035 HAVE_LIBC_MACHINE_PRU_FALSE='#'
6036 else
6037 HAVE_LIBC_MACHINE_PRU_TRUE='#'
6038 HAVE_LIBC_MACHINE_PRU_FALSE=
6040 if test "${machine_dir}" = riscv; then
6041 HAVE_LIBC_MACHINE_RISCV_TRUE=
6042 HAVE_LIBC_MACHINE_RISCV_FALSE='#'
6043 else
6044 HAVE_LIBC_MACHINE_RISCV_TRUE='#'
6045 HAVE_LIBC_MACHINE_RISCV_FALSE=
6047 if test "${machine_dir}" = rl78; then
6048 HAVE_LIBC_MACHINE_RL78_TRUE=
6049 HAVE_LIBC_MACHINE_RL78_FALSE='#'
6050 else
6051 HAVE_LIBC_MACHINE_RL78_TRUE='#'
6052 HAVE_LIBC_MACHINE_RL78_FALSE=
6054 if test "${machine_dir}" = rx; then
6055 HAVE_LIBC_MACHINE_RX_TRUE=
6056 HAVE_LIBC_MACHINE_RX_FALSE='#'
6057 else
6058 HAVE_LIBC_MACHINE_RX_TRUE='#'
6059 HAVE_LIBC_MACHINE_RX_FALSE=
6061 if test "${machine_dir}" = sh; then
6062 HAVE_LIBC_MACHINE_SH_TRUE=
6063 HAVE_LIBC_MACHINE_SH_FALSE='#'
6064 else
6065 HAVE_LIBC_MACHINE_SH_TRUE='#'
6066 HAVE_LIBC_MACHINE_SH_FALSE=
6068 if test "${machine_dir}" = sparc; then
6069 HAVE_LIBC_MACHINE_SPARC_TRUE=
6070 HAVE_LIBC_MACHINE_SPARC_FALSE='#'
6071 else
6072 HAVE_LIBC_MACHINE_SPARC_TRUE='#'
6073 HAVE_LIBC_MACHINE_SPARC_FALSE=
6075 if test "${machine_dir}" = spu; then
6076 HAVE_LIBC_MACHINE_SPU_TRUE=
6077 HAVE_LIBC_MACHINE_SPU_FALSE='#'
6078 else
6079 HAVE_LIBC_MACHINE_SPU_TRUE='#'
6080 HAVE_LIBC_MACHINE_SPU_FALSE=
6082 if test "${machine_dir}" = tic4x; then
6083 HAVE_LIBC_MACHINE_TIC4X_TRUE=
6084 HAVE_LIBC_MACHINE_TIC4X_FALSE='#'
6085 else
6086 HAVE_LIBC_MACHINE_TIC4X_TRUE='#'
6087 HAVE_LIBC_MACHINE_TIC4X_FALSE=
6089 if test "${machine_dir}" = tic6x; then
6090 HAVE_LIBC_MACHINE_TIC6X_TRUE=
6091 HAVE_LIBC_MACHINE_TIC6X_FALSE='#'
6092 else
6093 HAVE_LIBC_MACHINE_TIC6X_TRUE='#'
6094 HAVE_LIBC_MACHINE_TIC6X_FALSE=
6096 if test "${machine_dir}" = tic80; then
6097 HAVE_LIBC_MACHINE_TIC80_TRUE=
6098 HAVE_LIBC_MACHINE_TIC80_FALSE='#'
6099 else
6100 HAVE_LIBC_MACHINE_TIC80_TRUE='#'
6101 HAVE_LIBC_MACHINE_TIC80_FALSE=
6103 if test "${machine_dir}" = v850; then
6104 HAVE_LIBC_MACHINE_V850_TRUE=
6105 HAVE_LIBC_MACHINE_V850_FALSE='#'
6106 else
6107 HAVE_LIBC_MACHINE_V850_TRUE='#'
6108 HAVE_LIBC_MACHINE_V850_FALSE=
6110 if test "${machine_dir}" = visium; then
6111 HAVE_LIBC_MACHINE_VISIUM_TRUE=
6112 HAVE_LIBC_MACHINE_VISIUM_FALSE='#'
6113 else
6114 HAVE_LIBC_MACHINE_VISIUM_TRUE='#'
6115 HAVE_LIBC_MACHINE_VISIUM_FALSE=
6117 if test "${machine_dir}" = w65; then
6118 HAVE_LIBC_MACHINE_W65_TRUE=
6119 HAVE_LIBC_MACHINE_W65_FALSE='#'
6120 else
6121 HAVE_LIBC_MACHINE_W65_TRUE='#'
6122 HAVE_LIBC_MACHINE_W65_FALSE=
6124 if test "${machine_dir}" = x86_64; then
6125 HAVE_LIBC_MACHINE_X86_64_TRUE=
6126 HAVE_LIBC_MACHINE_X86_64_FALSE='#'
6127 else
6128 HAVE_LIBC_MACHINE_X86_64_TRUE='#'
6129 HAVE_LIBC_MACHINE_X86_64_FALSE=
6131 if test "${machine_dir}" = xc16x; then
6132 HAVE_LIBC_MACHINE_XC16X_TRUE=
6133 HAVE_LIBC_MACHINE_XC16X_FALSE='#'
6134 else
6135 HAVE_LIBC_MACHINE_XC16X_TRUE='#'
6136 HAVE_LIBC_MACHINE_XC16X_FALSE=
6138 if test "${machine_dir}" = xstormy16; then
6139 HAVE_LIBC_MACHINE_XSTORMY16_TRUE=
6140 HAVE_LIBC_MACHINE_XSTORMY16_FALSE='#'
6141 else
6142 HAVE_LIBC_MACHINE_XSTORMY16_TRUE='#'
6143 HAVE_LIBC_MACHINE_XSTORMY16_FALSE=
6145 if test "${machine_dir}" = xtensa; then
6146 HAVE_LIBC_MACHINE_XTENSA_TRUE=
6147 HAVE_LIBC_MACHINE_XTENSA_FALSE='#'
6148 else
6149 HAVE_LIBC_MACHINE_XTENSA_TRUE='#'
6150 HAVE_LIBC_MACHINE_XTENSA_FALSE=
6152 if test "${machine_dir}" = z8k; then
6153 HAVE_LIBC_MACHINE_Z8K_TRUE=
6154 HAVE_LIBC_MACHINE_Z8K_FALSE='#'
6155 else
6156 HAVE_LIBC_MACHINE_Z8K_TRUE='#'
6157 HAVE_LIBC_MACHINE_Z8K_FALSE=
6161 if test -r "${srcdir}/libc/machine/${machine_dir}/machine/_fpmath.h"; then
6162 HAVE_FPMATH_H_TRUE=
6163 HAVE_FPMATH_H_FALSE='#'
6164 else
6165 HAVE_FPMATH_H_TRUE='#'
6166 HAVE_FPMATH_H_FALSE=
6171 if test "x$mach_add_setjmp" = "xtrue"; then
6172 MACH_ADD_SETJMP_TRUE=
6173 MACH_ADD_SETJMP_FALSE='#'
6174 else
6175 MACH_ADD_SETJMP_TRUE='#'
6176 MACH_ADD_SETJMP_FALSE=
6180 if test "${libm_machine_dir}" = "nds32"; then
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nds32 FPU SP extension" >&5
6182 $as_echo_n "checking for nds32 FPU SP extension... " >&6; }
6183 if ${newlib_cv_nds32_fpu_sp+:} false; then :
6184 $as_echo_n "(cached) " >&6
6185 else
6186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6187 /* end confdefs.h. */
6188 #if (__NDS32_EXT_FPU_SP__)
6189 # error "Has nds32 FPU SP extension support"
6190 #endif
6193 main ()
6197 return 0;
6199 _ACEOF
6200 if ac_fn_c_try_cpp "$LINENO"; then :
6201 newlib_cv_nds32_fpu_sp="no"
6202 else
6203 newlib_cv_nds32_fpu_sp="yes"
6205 rm -f conftest.err conftest.i conftest.$ac_ext
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $newlib_cv_nds32_fpu_sp" >&5
6208 $as_echo "$newlib_cv_nds32_fpu_sp" >&6; }
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nds32 FPU DP extension" >&5
6211 $as_echo_n "checking for nds32 FPU DP extension... " >&6; }
6212 if ${newlib_cv_nds32_fpu_dp+:} false; then :
6213 $as_echo_n "(cached) " >&6
6214 else
6215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6216 /* end confdefs.h. */
6217 #if (__NDS32_EXT_FPU_DP__)
6218 # error "Has nds32 FPU DP extension support"
6219 #endif
6222 main ()
6226 return 0;
6228 _ACEOF
6229 if ac_fn_c_try_cpp "$LINENO"; then :
6230 newlib_cv_nds32_fpu_dp="no"
6231 else
6232 newlib_cv_nds32_fpu_dp="yes"
6234 rm -f conftest.err conftest.i conftest.$ac_ext
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $newlib_cv_nds32_fpu_dp" >&5
6237 $as_echo "$newlib_cv_nds32_fpu_dp" >&6; }
6240 if test "$newlib_cv_nds32_fpu_sp" = "yes"; then
6241 HAS_NDS32_FPU_SP_TRUE=
6242 HAS_NDS32_FPU_SP_FALSE='#'
6243 else
6244 HAS_NDS32_FPU_SP_TRUE='#'
6245 HAS_NDS32_FPU_SP_FALSE=
6248 if test "$newlib_cv_nds32_fpu_dp" = "yes"; then
6249 HAS_NDS32_FPU_DP_TRUE=
6250 HAS_NDS32_FPU_DP_FALSE='#'
6251 else
6252 HAS_NDS32_FPU_DP_TRUE='#'
6253 HAS_NDS32_FPU_DP_FALSE=
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCHAL_HAVE_FP_SQRT" >&5
6258 $as_echo_n "checking for XCHAL_HAVE_FP_SQRT... " >&6; }
6259 if ${newlib_cv_xchal_have_fp_sqrt+:} false; then :
6260 $as_echo_n "(cached) " >&6
6261 else
6262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6263 /* end confdefs.h. */
6264 #define _LIBM
6265 // targ-include does not exist yet, use relative path
6266 #include "../machine/xtensa/include/xtensa/config/core-isa.h"
6267 #if (!XCHAL_HAVE_FP_SQRT)
6268 # error "Have not XCHAL_HAVE_FP_SQRT"
6269 #endif
6272 main ()
6276 return 0;
6278 _ACEOF
6279 if ac_fn_c_try_cpp "$LINENO"; then :
6280 newlib_cv_xchal_have_fp_sqrt="yes"
6281 else
6282 newlib_cv_xchal_have_fp_sqrt="no"
6284 rm -f conftest.err conftest.i conftest.$ac_ext
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $newlib_cv_xchal_have_fp_sqrt" >&5
6287 $as_echo "$newlib_cv_xchal_have_fp_sqrt" >&6; }
6289 if test "$newlib_cv_xchal_have_fp_sqrt" = "yes"; then
6290 XTENSA_XCHAL_HAVE_FP_SQRT_TRUE=
6291 XTENSA_XCHAL_HAVE_FP_SQRT_FALSE='#'
6292 else
6293 XTENSA_XCHAL_HAVE_FP_SQRT_TRUE='#'
6294 XTENSA_XCHAL_HAVE_FP_SQRT_FALSE=
6299 if test "${libm_machine_dir}" = "aarch64"; then
6300 HAVE_LIBM_MACHINE_AARCH64_TRUE=
6301 HAVE_LIBM_MACHINE_AARCH64_FALSE='#'
6302 else
6303 HAVE_LIBM_MACHINE_AARCH64_TRUE='#'
6304 HAVE_LIBM_MACHINE_AARCH64_FALSE=
6307 if test "${libm_machine_dir}" = "amdgcn"; then
6308 HAVE_LIBM_MACHINE_AMDGCN_TRUE=
6309 HAVE_LIBM_MACHINE_AMDGCN_FALSE='#'
6310 else
6311 HAVE_LIBM_MACHINE_AMDGCN_TRUE='#'
6312 HAVE_LIBM_MACHINE_AMDGCN_FALSE=
6315 if test "${libm_machine_dir}" = "arm"; then
6316 HAVE_LIBM_MACHINE_ARM_TRUE=
6317 HAVE_LIBM_MACHINE_ARM_FALSE='#'
6318 else
6319 HAVE_LIBM_MACHINE_ARM_TRUE='#'
6320 HAVE_LIBM_MACHINE_ARM_FALSE=
6323 if test "${libm_machine_dir}" = "i386"; then
6324 HAVE_LIBM_MACHINE_I386_TRUE=
6325 HAVE_LIBM_MACHINE_I386_FALSE='#'
6326 else
6327 HAVE_LIBM_MACHINE_I386_TRUE='#'
6328 HAVE_LIBM_MACHINE_I386_FALSE=
6331 if test "${libm_machine_dir}" = "mips"; then
6332 HAVE_LIBM_MACHINE_MIPS_TRUE=
6333 HAVE_LIBM_MACHINE_MIPS_FALSE='#'
6334 else
6335 HAVE_LIBM_MACHINE_MIPS_TRUE='#'
6336 HAVE_LIBM_MACHINE_MIPS_FALSE=
6339 if test "${libm_machine_dir}" = "nds32"; then
6340 HAVE_LIBM_MACHINE_NDS32_TRUE=
6341 HAVE_LIBM_MACHINE_NDS32_FALSE='#'
6342 else
6343 HAVE_LIBM_MACHINE_NDS32_TRUE='#'
6344 HAVE_LIBM_MACHINE_NDS32_FALSE=
6347 if test "${libm_machine_dir}" = "powerpc"; then
6348 HAVE_LIBM_MACHINE_POWERPC_TRUE=
6349 HAVE_LIBM_MACHINE_POWERPC_FALSE='#'
6350 else
6351 HAVE_LIBM_MACHINE_POWERPC_TRUE='#'
6352 HAVE_LIBM_MACHINE_POWERPC_FALSE=
6355 if test "${libm_machine_dir}" = "pru"; then
6356 HAVE_LIBM_MACHINE_PRU_TRUE=
6357 HAVE_LIBM_MACHINE_PRU_FALSE='#'
6358 else
6359 HAVE_LIBM_MACHINE_PRU_TRUE='#'
6360 HAVE_LIBM_MACHINE_PRU_FALSE=
6363 if test "${libm_machine_dir}" = "sparc"; then
6364 HAVE_LIBM_MACHINE_SPARC_TRUE=
6365 HAVE_LIBM_MACHINE_SPARC_FALSE='#'
6366 else
6367 HAVE_LIBM_MACHINE_SPARC_TRUE='#'
6368 HAVE_LIBM_MACHINE_SPARC_FALSE=
6371 if test "${libm_machine_dir}" = "spu"; then
6372 HAVE_LIBM_MACHINE_SPU_TRUE=
6373 HAVE_LIBM_MACHINE_SPU_FALSE='#'
6374 else
6375 HAVE_LIBM_MACHINE_SPU_TRUE='#'
6376 HAVE_LIBM_MACHINE_SPU_FALSE=
6379 if test "${libm_machine_dir}" = "riscv"; then
6380 HAVE_LIBM_MACHINE_RISCV_TRUE=
6381 HAVE_LIBM_MACHINE_RISCV_FALSE='#'
6382 else
6383 HAVE_LIBM_MACHINE_RISCV_TRUE='#'
6384 HAVE_LIBM_MACHINE_RISCV_FALSE=
6387 if test "${libm_machine_dir}" = "x86_64"; then
6388 HAVE_LIBM_MACHINE_X86_64_TRUE=
6389 HAVE_LIBM_MACHINE_X86_64_FALSE='#'
6390 else
6391 HAVE_LIBM_MACHINE_X86_64_TRUE='#'
6392 HAVE_LIBM_MACHINE_X86_64_FALSE=
6395 if test "${libm_machine_dir}" = "xtensa"; then
6396 HAVE_LIBM_MACHINE_XTENSA_TRUE=
6397 HAVE_LIBM_MACHINE_XTENSA_FALSE='#'
6398 else
6399 HAVE_LIBM_MACHINE_XTENSA_TRUE='#'
6400 HAVE_LIBM_MACHINE_XTENSA_FALSE=
6406 if test -z "${with_multisubdir}"; then
6407 have_multisubdir=no
6408 else
6409 have_multisubdir=yes
6411 if test x$have_multisubdir = xno; then
6412 HAVE_DOC_TRUE=
6413 HAVE_DOC_FALSE='#'
6414 else
6415 HAVE_DOC_TRUE='#'
6416 HAVE_DOC_FALSE=
6420 # Some run-time support libraries provided by GCC (e.g. libgomp) use configure
6421 # checks to detect certain features, e.g. availability of thread-local storage.
6422 # The configure script generates a test program and tries to compile and link
6423 # it. It should use target libraries and startfiles of the build tree if
6424 # available and not random ones from the installation prefix for this
6425 # procedure. The search directories specified by -B are a bit special, see
6426 # for_each_path() in gcc.c of the GCC sources. First a search is performed on
6427 # all search paths with the multilib directory appended (if desired), then a
6428 # second search is performed on demand with the base directory only. For each
6429 # multilib there is a "newlib" subdirectory. This directory is specified by a
6430 # -B option for the support libraries. In order to find the newlib artifacts
6431 # (ctr0.o, libc.a, libg.a and libm.a) they must be located in a proper multilib
6432 # subdirectory withing the build directory.
6433 if test x$have_multisubdir = xyes; then
6434 HAVE_MULTISUBDIR_TRUE=
6435 HAVE_MULTISUBDIR_FALSE='#'
6436 else
6437 HAVE_MULTISUBDIR_TRUE='#'
6438 HAVE_MULTISUBDIR_FALSE=
6442 CRT0=
6443 CRT0_DIR=
6444 if test "x${have_crt0}" = "xyes"; then
6445 CRT0=crt0.o
6446 CRT0_DIR=libc/sys/${sys_dir}/
6448 if test x$have_crt0 = xyes; then
6449 HAVE_CRT0_TRUE=
6450 HAVE_CRT0_FALSE='#'
6451 else
6452 HAVE_CRT0_TRUE='#'
6453 HAVE_CRT0_FALSE=
6459 CRT1=${crt1}
6460 CRT1_DIR=
6461 if test -n "${crt1_dir}"; then
6462 CRT1_DIR=${crt1_dir}/
6467 # Put a plausible default for CC_FOR_BUILD in Makefile.
6468 if test -z "$CC_FOR_BUILD"; then
6469 if test "x$cross_compiling" = "xno"; then
6470 CC_FOR_BUILD='$(CC)'
6471 else
6472 CC_FOR_BUILD=gcc
6477 # Also set EXEEXT_FOR_BUILD.
6478 if test "x$cross_compiling" = "xno"; then
6479 EXEEXT_FOR_BUILD='$(EXEEXT)'
6480 else
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build system executable suffix" >&5
6482 $as_echo_n "checking for build system executable suffix... " >&6; }
6483 if ${newlib_cv_build_exeext+:} false; then :
6484 $as_echo_n "(cached) " >&6
6485 else
6486 cat > ac_c_test.c << 'EOF'
6487 int main() {
6488 /* Nothing needed here */
6491 ${CC_FOR_BUILD} -o ac_c_test am_c_test.c 1>&5 2>&5
6492 newlib_cv_build_exeext=`echo ac_c_test.* | grep -v ac_c_test.c | sed -e s/ac_c_test//`
6493 rm -f ac_c_test*
6494 test x"${newlib_cv_build_exeext}" = x && newlib_cv_build_exeext=no
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $newlib_cv_build_exeext" >&5
6497 $as_echo "$newlib_cv_build_exeext" >&6; }
6498 EXEEXT_FOR_BUILD=""
6499 test x"${newlib_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${newlib_cv_build_exeext}
6504 $as_echo "#define _NEWLIB_VERSION \"4.5.0\"" >>confdefs.h
6507 $as_echo "#define __NEWLIB__ 4" >>confdefs.h
6510 $as_echo "#define __NEWLIB_MINOR__ 5" >>confdefs.h
6513 $as_echo "#define __NEWLIB_PATCHLEVEL__ 0" >>confdefs.h
6516 if test "${newlib_elix_level}" -gt "0"; then
6518 cat >>confdefs.h <<_ACEOF
6519 #define _ELIX_LEVEL ${newlib_elix_level}
6520 _ACEOF
6524 if test "${newlib_reent_check_verify}" = "yes"; then
6526 $as_echo "#define _REENT_CHECK_VERIFY 1" >>confdefs.h
6530 if test "${newlib_io_c99_formats}" = "yes"; then
6532 $as_echo "#define _WANT_IO_C99_FORMATS 1" >>confdefs.h
6536 if test "${newlib_register_fini}" = "yes"; then
6538 $as_echo "#define _WANT_REGISTER_FINI 1" >>confdefs.h
6542 if test "${newlib_io_long_long}" = "yes"; then
6544 $as_echo "#define _WANT_IO_LONG_LONG 1" >>confdefs.h
6548 if test "${newlib_io_long_double}" = "yes"; then
6550 $as_echo "#define _WANT_IO_LONG_DOUBLE 1" >>confdefs.h
6554 if test "${newlib_io_pos_args}" = "yes"; then
6556 $as_echo "#define _WANT_IO_POS_ARGS 1" >>confdefs.h
6560 if test "${newlib_reent_small}" = "yes"; then
6562 $as_echo "#define _WANT_REENT_SMALL 1" >>confdefs.h
6566 if test "${newlib_reent_binary_compat}" = "yes"; then
6568 $as_echo "#define _WANT_REENT_BACKWARD_BINARY_COMPAT 1" >>confdefs.h
6572 if test "${newlib_reent_thread_local}" = "yes"; then
6574 $as_echo "#define _WANT_REENT_THREAD_LOCAL 1" >>confdefs.h
6578 _mb_len_max=1
6579 if test "${newlib_mb}" = "yes"; then
6581 $as_echo "#define _MB_CAPABLE 1" >>confdefs.h
6583 _mb_len_max=8
6586 cat >>confdefs.h <<_ACEOF
6587 #define _MB_LEN_MAX $_mb_len_max
6588 _ACEOF
6596 if test "${newlib_iconv}" = "yes"; then
6598 $as_echo "#define _ICONV_ENABLED 1" >>confdefs.h
6602 if test "x${newlib_iconv_external_ccs}" = "xyes"; then
6603 if test "x${newlib_iconv}" = "x"; then
6604 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
6607 $as_echo "#define _ICONV_ENABLE_EXTERNAL_CCS 1" >>confdefs.h
6611 if test "${newlib_atexit_dynamic_alloc}" = "yes"; then
6613 $as_echo "#define _ATEXIT_DYNAMIC_ALLOC 1" >>confdefs.h
6617 if test "${newlib_fvwrite_in_streamio}" = "yes"; then
6619 $as_echo "#define _FVWRITE_IN_STREAMIO 1" >>confdefs.h
6623 if test "${newlib_fseek_optimization}" = "yes"; then
6625 $as_echo "#define _FSEEK_OPTIMIZATION 1" >>confdefs.h
6629 if test "${newlib_wide_orient}" = "yes"; then
6631 $as_echo "#define _WIDE_ORIENT 1" >>confdefs.h
6635 if test "${newlib_nano_malloc}" = "yes"; then
6637 $as_echo "#define _NANO_MALLOC 1" >>confdefs.h
6641 if test "${newlib_unbuf_stream_opt}" = "yes"; then
6643 $as_echo "#define _UNBUF_STREAM_OPT 1" >>confdefs.h
6647 if test "${lite_exit}" = "yes"; then
6649 $as_echo "#define _LITE_EXIT 1" >>confdefs.h
6653 if test "${newlib_nano_formatted_io}" = "yes"; then
6655 $as_echo "#define _NANO_FORMATTED_IO 1" >>confdefs.h
6659 if test "${newlib_retargetable_locking}" = "yes"; then
6661 $as_echo "#define _RETARGETABLE_LOCKING 1" >>confdefs.h
6665 if test "${newlib_long_time_t}" = "yes"; then
6667 $as_echo "#define _WANT_USE_LONG_TIME_T 1" >>confdefs.h
6671 if test "${newlib_use_gdtoa}" = "yes"; then
6673 $as_echo "#define _WANT_USE_GDTOA 1" >>confdefs.h
6678 if test "x${iconv_encodings}" != "x" \
6679 || test "x${iconv_to_encodings}" != "x" \
6680 || test "x${iconv_from_encodings}" != "x"; then
6681 if test "x${newlib_iconv}" = "x"; then
6682 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
6685 iconv_encodings=`echo "${iconv_encodings}" | sed -e 's/,/ /g' -e 's/-/_/g' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
6686 iconv_to_encodings=`echo "${iconv_to_encodings}" | sed -e 's/,/ /g' -e 's/-/_/g' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
6687 iconv_from_encodings=`echo "${iconv_from_encodings}" | sed -e 's/,/ /g' -e 's/-/_/g' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
6689 available_encodings=`cat "${srcdir}/libc/iconv/encoding.aliases" | sed -e '/^#.*/d'`
6692 iconv_encodings1="${iconv_encodings}"
6693 iconv_encodings=""
6694 for encoding in ${iconv_encodings1}; do
6695 result=`echo "${available_encodings}" | grep -e "\(^\| \)${encoding}\( \|\$\)"`
6696 if test $? != "0"; then
6697 as_fn_error $? "${encoding} is not supported - see ${srcdir}/libc/iconv/encoding.aliases file for the list of available encodings" "$LINENO" 5
6699 encoding1=`echo "${result}" | sed -e 's/\(^[^ ]*\).*$/\1/'`
6700 iconv_encodings="${iconv_encodings} ${encoding1}"
6701 done
6702 for encoding in ${iconv_encodings}; do
6703 opt=_ICONV_TO_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6704 eval "$opt=1"
6705 opt=_ICONV_FROM_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6706 eval "$opt=1"
6707 done
6709 iconv_encodings1="${iconv_to_encodings}"
6710 iconv_to_encodings=""
6711 for encoding in ${iconv_encodings1}; do
6712 result=`echo "${available_encodings}" | grep -e "\(^\| \)${encoding}\( \|\$\)"`
6713 if test $? != "0"; then
6714 as_fn_error $? "${encoding} is not supported - see ${srcdir}/libc/iconv/encoding.aliases file for the list of available encodings" "$LINENO" 5
6716 encoding1=`echo "${result}" | sed -e 's/\(^[^ ]*\).*$/\1/'`
6717 iconv_to_encodings="${iconv_to_encodings} ${encoding1}"
6718 done
6719 for encoding in ${iconv_to_encodings}; do
6720 opt=_ICONV_TO_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6721 eval "$opt=1"
6722 done
6724 iconv_encodings1="${iconv_from_encodings}"
6725 iconv_from_encodings=""
6726 for encoding in ${iconv_encodings1}; do
6727 result=`echo "${available_encodings}" | grep -e "\(^\| \)${encoding}\( \|\$\)"`
6728 if test $? != "0"; then
6729 as_fn_error $? "${encoding} is not supported - see ${srcdir}/libc/iconv/encoding.aliases file for the list of available encodings" "$LINENO" 5
6731 encoding1=`echo "${result}" | sed -e 's/\(^[^ ]*\).*$/\1/'`
6732 iconv_from_encodings="${iconv_from_encodings} ${encoding1}"
6733 done
6734 for encoding in ${iconv_from_encodings}; do
6735 opt=_ICONV_FROM_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6736 eval "$opt=1"
6737 done
6739 if test "$_ICONV_TO_ENCODING_BIG5" = 1; then
6741 $as_echo "#define _ICONV_TO_ENCODING_BIG5 1" >>confdefs.h
6744 if test "$_ICONV_FROM_ENCODING_BIG5" = 1; then
6746 $as_echo "#define _ICONV_FROM_ENCODING_BIG5 1" >>confdefs.h
6749 if test "$_ICONV_TO_ENCODING_CP775" = 1; then
6751 $as_echo "#define _ICONV_TO_ENCODING_CP775 1" >>confdefs.h
6754 if test "$_ICONV_FROM_ENCODING_CP775" = 1; then
6756 $as_echo "#define _ICONV_FROM_ENCODING_CP775 1" >>confdefs.h
6759 if test "$_ICONV_TO_ENCODING_CP850" = 1; then
6761 $as_echo "#define _ICONV_TO_ENCODING_CP850 1" >>confdefs.h
6764 if test "$_ICONV_FROM_ENCODING_CP850" = 1; then
6766 $as_echo "#define _ICONV_FROM_ENCODING_CP850 1" >>confdefs.h
6769 if test "$_ICONV_TO_ENCODING_CP852" = 1; then
6771 $as_echo "#define _ICONV_TO_ENCODING_CP852 1" >>confdefs.h
6774 if test "$_ICONV_FROM_ENCODING_CP852" = 1; then
6776 $as_echo "#define _ICONV_FROM_ENCODING_CP852 1" >>confdefs.h
6779 if test "$_ICONV_TO_ENCODING_CP855" = 1; then
6781 $as_echo "#define _ICONV_TO_ENCODING_CP855 1" >>confdefs.h
6784 if test "$_ICONV_FROM_ENCODING_CP855" = 1; then
6786 $as_echo "#define _ICONV_FROM_ENCODING_CP855 1" >>confdefs.h
6789 if test "$_ICONV_TO_ENCODING_CP866" = 1; then
6791 $as_echo "#define _ICONV_TO_ENCODING_CP866 1" >>confdefs.h
6794 if test "$_ICONV_FROM_ENCODING_CP866" = 1; then
6796 $as_echo "#define _ICONV_FROM_ENCODING_CP866 1" >>confdefs.h
6799 if test "$_ICONV_TO_ENCODING_EUC_JP" = 1; then
6801 $as_echo "#define _ICONV_TO_ENCODING_EUC_JP 1" >>confdefs.h
6804 if test "$_ICONV_FROM_ENCODING_EUC_JP" = 1; then
6806 $as_echo "#define _ICONV_FROM_ENCODING_EUC_JP 1" >>confdefs.h
6809 if test "$_ICONV_TO_ENCODING_EUC_KR" = 1; then
6811 $as_echo "#define _ICONV_TO_ENCODING_EUC_KR 1" >>confdefs.h
6814 if test "$_ICONV_FROM_ENCODING_EUC_KR" = 1; then
6816 $as_echo "#define _ICONV_FROM_ENCODING_EUC_KR 1" >>confdefs.h
6819 if test "$_ICONV_TO_ENCODING_EUC_TW" = 1; then
6821 $as_echo "#define _ICONV_TO_ENCODING_EUC_TW 1" >>confdefs.h
6824 if test "$_ICONV_FROM_ENCODING_EUC_TW" = 1; then
6826 $as_echo "#define _ICONV_FROM_ENCODING_EUC_TW 1" >>confdefs.h
6829 if test "$_ICONV_TO_ENCODING_ISO_8859_1" = 1; then
6831 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_1 1" >>confdefs.h
6834 if test "$_ICONV_FROM_ENCODING_ISO_8859_1" = 1; then
6836 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_1 1" >>confdefs.h
6839 if test "$_ICONV_TO_ENCODING_ISO_8859_10" = 1; then
6841 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_10 1" >>confdefs.h
6844 if test "$_ICONV_FROM_ENCODING_ISO_8859_10" = 1; then
6846 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_10 1" >>confdefs.h
6849 if test "$_ICONV_TO_ENCODING_ISO_8859_11" = 1; then
6851 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_11 1" >>confdefs.h
6854 if test "$_ICONV_FROM_ENCODING_ISO_8859_11" = 1; then
6856 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_11 1" >>confdefs.h
6859 if test "$_ICONV_TO_ENCODING_ISO_8859_13" = 1; then
6861 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_13 1" >>confdefs.h
6864 if test "$_ICONV_FROM_ENCODING_ISO_8859_13" = 1; then
6866 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_13 1" >>confdefs.h
6869 if test "$_ICONV_TO_ENCODING_ISO_8859_14" = 1; then
6871 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_14 1" >>confdefs.h
6874 if test "$_ICONV_FROM_ENCODING_ISO_8859_14" = 1; then
6876 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_14 1" >>confdefs.h
6879 if test "$_ICONV_TO_ENCODING_ISO_8859_15" = 1; then
6881 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_15 1" >>confdefs.h
6884 if test "$_ICONV_FROM_ENCODING_ISO_8859_15" = 1; then
6886 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_15 1" >>confdefs.h
6889 if test "$_ICONV_TO_ENCODING_ISO_8859_2" = 1; then
6891 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_2 1" >>confdefs.h
6894 if test "$_ICONV_FROM_ENCODING_ISO_8859_2" = 1; then
6896 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_2 1" >>confdefs.h
6899 if test "$_ICONV_TO_ENCODING_ISO_8859_3" = 1; then
6901 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_3 1" >>confdefs.h
6904 if test "$_ICONV_FROM_ENCODING_ISO_8859_3" = 1; then
6906 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_3 1" >>confdefs.h
6909 if test "$_ICONV_TO_ENCODING_ISO_8859_4" = 1; then
6911 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_4 1" >>confdefs.h
6914 if test "$_ICONV_FROM_ENCODING_ISO_8859_4" = 1; then
6916 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_4 1" >>confdefs.h
6919 if test "$_ICONV_TO_ENCODING_ISO_8859_5" = 1; then
6921 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_5 1" >>confdefs.h
6924 if test "$_ICONV_FROM_ENCODING_ISO_8859_5" = 1; then
6926 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_5 1" >>confdefs.h
6929 if test "$_ICONV_TO_ENCODING_ISO_8859_6" = 1; then
6931 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_6 1" >>confdefs.h
6934 if test "$_ICONV_FROM_ENCODING_ISO_8859_6" = 1; then
6936 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_6 1" >>confdefs.h
6939 if test "$_ICONV_TO_ENCODING_ISO_8859_7" = 1; then
6941 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_7 1" >>confdefs.h
6944 if test "$_ICONV_FROM_ENCODING_ISO_8859_7" = 1; then
6946 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_7 1" >>confdefs.h
6949 if test "$_ICONV_TO_ENCODING_ISO_8859_8" = 1; then
6951 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_8 1" >>confdefs.h
6954 if test "$_ICONV_FROM_ENCODING_ISO_8859_8" = 1; then
6956 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_8 1" >>confdefs.h
6959 if test "$_ICONV_TO_ENCODING_ISO_8859_9" = 1; then
6961 $as_echo "#define _ICONV_TO_ENCODING_ISO_8859_9 1" >>confdefs.h
6964 if test "$_ICONV_FROM_ENCODING_ISO_8859_9" = 1; then
6966 $as_echo "#define _ICONV_FROM_ENCODING_ISO_8859_9 1" >>confdefs.h
6969 if test "$_ICONV_TO_ENCODING_ISO_IR_111" = 1; then
6971 $as_echo "#define _ICONV_TO_ENCODING_ISO_IR_111 1" >>confdefs.h
6974 if test "$_ICONV_FROM_ENCODING_ISO_IR_111" = 1; then
6976 $as_echo "#define _ICONV_FROM_ENCODING_ISO_IR_111 1" >>confdefs.h
6979 if test "$_ICONV_TO_ENCODING_KOI8_R" = 1; then
6981 $as_echo "#define _ICONV_TO_ENCODING_KOI8_R 1" >>confdefs.h
6984 if test "$_ICONV_FROM_ENCODING_KOI8_R" = 1; then
6986 $as_echo "#define _ICONV_FROM_ENCODING_KOI8_R 1" >>confdefs.h
6989 if test "$_ICONV_TO_ENCODING_KOI8_RU" = 1; then
6991 $as_echo "#define _ICONV_TO_ENCODING_KOI8_RU 1" >>confdefs.h
6994 if test "$_ICONV_FROM_ENCODING_KOI8_RU" = 1; then
6996 $as_echo "#define _ICONV_FROM_ENCODING_KOI8_RU 1" >>confdefs.h
6999 if test "$_ICONV_TO_ENCODING_KOI8_U" = 1; then
7001 $as_echo "#define _ICONV_TO_ENCODING_KOI8_U 1" >>confdefs.h
7004 if test "$_ICONV_FROM_ENCODING_KOI8_U" = 1; then
7006 $as_echo "#define _ICONV_FROM_ENCODING_KOI8_U 1" >>confdefs.h
7009 if test "$_ICONV_TO_ENCODING_KOI8_UNI" = 1; then
7011 $as_echo "#define _ICONV_TO_ENCODING_KOI8_UNI 1" >>confdefs.h
7014 if test "$_ICONV_FROM_ENCODING_KOI8_UNI" = 1; then
7016 $as_echo "#define _ICONV_FROM_ENCODING_KOI8_UNI 1" >>confdefs.h
7019 if test "$_ICONV_TO_ENCODING_UCS_2" = 1; then
7021 $as_echo "#define _ICONV_TO_ENCODING_UCS_2 1" >>confdefs.h
7024 if test "$_ICONV_FROM_ENCODING_UCS_2" = 1; then
7026 $as_echo "#define _ICONV_FROM_ENCODING_UCS_2 1" >>confdefs.h
7029 if test "$_ICONV_TO_ENCODING_UCS_2_INTERNAL" = 1; then
7031 $as_echo "#define _ICONV_TO_ENCODING_UCS_2_INTERNAL 1" >>confdefs.h
7034 if test "$_ICONV_FROM_ENCODING_UCS_2_INTERNAL" = 1; then
7036 $as_echo "#define _ICONV_FROM_ENCODING_UCS_2_INTERNAL 1" >>confdefs.h
7039 if test "$_ICONV_TO_ENCODING_UCS_2BE" = 1; then
7041 $as_echo "#define _ICONV_TO_ENCODING_UCS_2BE 1" >>confdefs.h
7044 if test "$_ICONV_FROM_ENCODING_UCS_2BE" = 1; then
7046 $as_echo "#define _ICONV_FROM_ENCODING_UCS_2BE 1" >>confdefs.h
7049 if test "$_ICONV_TO_ENCODING_UCS_2LE" = 1; then
7051 $as_echo "#define _ICONV_TO_ENCODING_UCS_2LE 1" >>confdefs.h
7054 if test "$_ICONV_FROM_ENCODING_UCS_2LE" = 1; then
7056 $as_echo "#define _ICONV_FROM_ENCODING_UCS_2LE 1" >>confdefs.h
7059 if test "$_ICONV_TO_ENCODING_UCS_4" = 1; then
7061 $as_echo "#define _ICONV_TO_ENCODING_UCS_4 1" >>confdefs.h
7064 if test "$_ICONV_FROM_ENCODING_UCS_4" = 1; then
7066 $as_echo "#define _ICONV_FROM_ENCODING_UCS_4 1" >>confdefs.h
7069 if test "$_ICONV_TO_ENCODING_UCS_4_INTERNAL" = 1; then
7071 $as_echo "#define _ICONV_TO_ENCODING_UCS_4_INTERNAL 1" >>confdefs.h
7074 if test "$_ICONV_FROM_ENCODING_UCS_4_INTERNAL" = 1; then
7076 $as_echo "#define _ICONV_FROM_ENCODING_UCS_4_INTERNAL 1" >>confdefs.h
7079 if test "$_ICONV_TO_ENCODING_UCS_4BE" = 1; then
7081 $as_echo "#define _ICONV_TO_ENCODING_UCS_4BE 1" >>confdefs.h
7084 if test "$_ICONV_FROM_ENCODING_UCS_4BE" = 1; then
7086 $as_echo "#define _ICONV_FROM_ENCODING_UCS_4BE 1" >>confdefs.h
7089 if test "$_ICONV_TO_ENCODING_UCS_4LE" = 1; then
7091 $as_echo "#define _ICONV_TO_ENCODING_UCS_4LE 1" >>confdefs.h
7094 if test "$_ICONV_FROM_ENCODING_UCS_4LE" = 1; then
7096 $as_echo "#define _ICONV_FROM_ENCODING_UCS_4LE 1" >>confdefs.h
7099 if test "$_ICONV_TO_ENCODING_US_ASCII" = 1; then
7101 $as_echo "#define _ICONV_TO_ENCODING_US_ASCII 1" >>confdefs.h
7104 if test "$_ICONV_FROM_ENCODING_US_ASCII" = 1; then
7106 $as_echo "#define _ICONV_FROM_ENCODING_US_ASCII 1" >>confdefs.h
7109 if test "$_ICONV_TO_ENCODING_UTF_16" = 1; then
7111 $as_echo "#define _ICONV_TO_ENCODING_UTF_16 1" >>confdefs.h
7114 if test "$_ICONV_FROM_ENCODING_UTF_16" = 1; then
7116 $as_echo "#define _ICONV_FROM_ENCODING_UTF_16 1" >>confdefs.h
7119 if test "$_ICONV_TO_ENCODING_UTF_16BE" = 1; then
7121 $as_echo "#define _ICONV_TO_ENCODING_UTF_16BE 1" >>confdefs.h
7124 if test "$_ICONV_FROM_ENCODING_UTF_16BE" = 1; then
7126 $as_echo "#define _ICONV_FROM_ENCODING_UTF_16BE 1" >>confdefs.h
7129 if test "$_ICONV_TO_ENCODING_UTF_16LE" = 1; then
7131 $as_echo "#define _ICONV_TO_ENCODING_UTF_16LE 1" >>confdefs.h
7134 if test "$_ICONV_FROM_ENCODING_UTF_16LE" = 1; then
7136 $as_echo "#define _ICONV_FROM_ENCODING_UTF_16LE 1" >>confdefs.h
7139 if test "$_ICONV_TO_ENCODING_UTF_8" = 1; then
7141 $as_echo "#define _ICONV_TO_ENCODING_UTF_8 1" >>confdefs.h
7144 if test "$_ICONV_FROM_ENCODING_UTF_8" = 1; then
7146 $as_echo "#define _ICONV_FROM_ENCODING_UTF_8 1" >>confdefs.h
7149 if test "$_ICONV_TO_ENCODING_WIN_1250" = 1; then
7151 $as_echo "#define _ICONV_TO_ENCODING_WIN_1250 1" >>confdefs.h
7154 if test "$_ICONV_FROM_ENCODING_WIN_1250" = 1; then
7156 $as_echo "#define _ICONV_FROM_ENCODING_WIN_1250 1" >>confdefs.h
7159 if test "$_ICONV_TO_ENCODING_WIN_1251" = 1; then
7161 $as_echo "#define _ICONV_TO_ENCODING_WIN_1251 1" >>confdefs.h
7164 if test "$_ICONV_FROM_ENCODING_WIN_1251" = 1; then
7166 $as_echo "#define _ICONV_FROM_ENCODING_WIN_1251 1" >>confdefs.h
7169 if test "$_ICONV_TO_ENCODING_WIN_1252" = 1; then
7171 $as_echo "#define _ICONV_TO_ENCODING_WIN_1252 1" >>confdefs.h
7174 if test "$_ICONV_FROM_ENCODING_WIN_1252" = 1; then
7176 $as_echo "#define _ICONV_FROM_ENCODING_WIN_1252 1" >>confdefs.h
7179 if test "$_ICONV_TO_ENCODING_WIN_1253" = 1; then
7181 $as_echo "#define _ICONV_TO_ENCODING_WIN_1253 1" >>confdefs.h
7184 if test "$_ICONV_FROM_ENCODING_WIN_1253" = 1; then
7186 $as_echo "#define _ICONV_FROM_ENCODING_WIN_1253 1" >>confdefs.h
7189 if test "$_ICONV_TO_ENCODING_WIN_1254" = 1; then
7191 $as_echo "#define _ICONV_TO_ENCODING_WIN_1254 1" >>confdefs.h
7194 if test "$_ICONV_FROM_ENCODING_WIN_1254" = 1; then
7196 $as_echo "#define _ICONV_FROM_ENCODING_WIN_1254 1" >>confdefs.h
7199 if test "$_ICONV_TO_ENCODING_WIN_1255" = 1; then
7201 $as_echo "#define _ICONV_TO_ENCODING_WIN_1255 1" >>confdefs.h
7204 if test "$_ICONV_FROM_ENCODING_WIN_1255" = 1; then
7206 $as_echo "#define _ICONV_FROM_ENCODING_WIN_1255 1" >>confdefs.h
7209 if test "$_ICONV_TO_ENCODING_WIN_1256" = 1; then
7211 $as_echo "#define _ICONV_TO_ENCODING_WIN_1256 1" >>confdefs.h
7214 if test "$_ICONV_FROM_ENCODING_WIN_1256" = 1; then
7216 $as_echo "#define _ICONV_FROM_ENCODING_WIN_1256 1" >>confdefs.h
7219 if test "$_ICONV_TO_ENCODING_WIN_1257" = 1; then
7221 $as_echo "#define _ICONV_TO_ENCODING_WIN_1257 1" >>confdefs.h
7224 if test "$_ICONV_FROM_ENCODING_WIN_1257" = 1; then
7226 $as_echo "#define _ICONV_FROM_ENCODING_WIN_1257 1" >>confdefs.h
7229 if test "$_ICONV_TO_ENCODING_WIN_1258" = 1; then
7231 $as_echo "#define _ICONV_TO_ENCODING_WIN_1258 1" >>confdefs.h
7234 if test "$_ICONV_FROM_ENCODING_WIN_1258" = 1; then
7236 $as_echo "#define _ICONV_FROM_ENCODING_WIN_1258 1" >>confdefs.h
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .preinit_array/.init_array/.fini_array support" >&5
7242 $as_echo_n "checking for .preinit_array/.init_array/.fini_array support... " >&6; }
7243 if ${newlib_cv_initfinit_array+:} false; then :
7244 $as_echo_n "(cached) " >&6
7245 else
7246 cat > conftest.c <<EOF
7247 int _start (void) { return 0; }
7248 int __start (void) { return 0; }
7249 int foo (void) { return 1; }
7250 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
7252 if { ac_try='${CC} $CFLAGS $CPPFLAGS -c -o conftest conftest.c
7253 1>&5'
7254 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
7255 (eval $ac_try) 2>&5
7256 ac_status=$?
7257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7258 test $ac_status = 0; }; }
7259 then
7260 if ${READELF} -S conftest | grep -e INIT_ARRAY > /dev/null; then
7261 newlib_cv_initfinit_array=yes
7262 else
7263 newlib_cv_initfinit_array=no
7265 else
7266 newlib_cv_initfinit_array=no
7268 rm -f conftest*
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $newlib_cv_initfinit_array" >&5
7271 $as_echo "$newlib_cv_initfinit_array" >&6; }
7272 if test $newlib_cv_initfinit_array = yes; then
7274 $as_echo "#define _HAVE_INITFINI_ARRAY 1" >>confdefs.h
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fno-tree-loop-distribute-patterns with \
7279 __attribute__ ((__optimize__))" >&5
7280 $as_echo_n "checking if $CC accepts -fno-tree-loop-distribute-patterns with \
7281 __attribute__ ((__optimize__))... " >&6; }
7282 if ${newlib_cv_cc_loop_to_function+:} false; then :
7283 $as_echo_n "(cached) " >&6
7284 else
7285 cat > conftest.c <<EOF
7286 void
7287 __attribute__ ((__optimize__ ("-fno-tree-loop-distribute-patterns")))
7288 foo (void) {}
7290 newlib_cv_cc_loop_to_function=no
7291 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -c
7292 -fno-tree-loop-distribute-patterns conftest.c'
7293 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
7294 (eval $ac_try) 2>&5
7295 ac_status=$?
7296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7297 test $ac_status = 0; }; }
7298 then
7299 newlib_cv_cc_loop_to_function=yes
7301 rm -f conftest*
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $newlib_cv_cc_loop_to_function" >&5
7304 $as_echo "$newlib_cv_cc_loop_to_function" >&6; }
7305 if test $newlib_cv_cc_loop_to_function = yes; then
7307 $as_echo "#define _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1" >>confdefs.h
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double" >&5
7313 $as_echo_n "checking for long double... " >&6; }
7314 if ${ac_cv_type_long_double+:} false; then :
7315 $as_echo_n "(cached) " >&6
7316 else
7317 if test "$GCC" = yes; then
7318 ac_cv_type_long_double=yes
7319 else
7320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7321 /* end confdefs.h. */
7322 /* The Stardent Vistra knows sizeof (long double), but does
7323 not support it. */
7324 long double foo = 0.0L;
7326 main ()
7328 static int test_array [1 - 2 * !(/* On Ultrix 4.3 cc, long double is 4 and double is 8. */
7329 sizeof (double) <= sizeof (long double))];
7330 test_array [0] = 0;
7331 return test_array [0];
7334 return 0;
7336 _ACEOF
7337 if ac_fn_c_try_compile "$LINENO"; then :
7338 ac_cv_type_long_double=yes
7339 else
7340 ac_cv_type_long_double=no
7342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_double" >&5
7346 $as_echo "$ac_cv_type_long_double" >&6; }
7347 if test $ac_cv_type_long_double = yes; then
7349 $as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
7353 if test $ac_cv_type_long_double = yes; then
7355 $as_echo "#define _HAVE_LONG_DOUBLE 1" >>confdefs.h
7358 if test x"$ac_cv_type_long_double" = x"yes"; then
7359 HAVE_LONG_DOUBLE_TRUE=
7360 HAVE_LONG_DOUBLE_FALSE='#'
7361 else
7362 HAVE_LONG_DOUBLE_TRUE='#'
7363 HAVE_LONG_DOUBLE_FALSE=
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether long double equals double" >&5
7368 $as_echo_n "checking whether long double equals double... " >&6; }
7369 if ${newlib_cv_ldbl_eq_dbl+:} false; then :
7370 $as_echo_n "(cached) " >&6
7371 else
7372 cat > conftest.c <<EOF
7373 #include <float.h>
7374 #if DBL_MANT_DIG == LDBL_MANT_DIG && LDBL_MIN_EXP == DBL_MIN_EXP && \
7375 LDBL_MAX_EXP == DBL_MAX_EXP
7376 #define _LDBL_EQ_DBL
7377 #else
7378 #error "LDBL != DBL"
7379 #endif
7381 if { ac_try='${CC} $CFLAGS $CPPFLAGS -c -o conftest.o conftest.c
7382 1>&5'
7383 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
7384 (eval $ac_try) 2>&5
7385 ac_status=$?
7386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7387 test $ac_status = 0; }; }
7388 then
7389 newlib_cv_ldbl_eq_dbl=yes;
7390 else
7391 newlib_cv_ldbl_eq_dbl=no;
7393 rm -f conftest*
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $newlib_cv_ldbl_eq_dbl" >&5
7396 $as_echo "$newlib_cv_ldbl_eq_dbl" >&6; }
7397 if test $newlib_cv_ldbl_eq_dbl = yes; then
7399 $as_echo "#define _LDBL_EQ_DBL 1" >>confdefs.h
7403 ac_config_files="$ac_config_files Makefile"
7405 cat >confcache <<\_ACEOF
7406 # This file is a shell script that caches the results of configure
7407 # tests run on this system so they can be shared between configure
7408 # scripts and configure runs, see configure's option --config-cache.
7409 # It is not useful on other systems. If it contains results you don't
7410 # want to keep, you may remove or edit it.
7412 # config.status only pays attention to the cache file if you give it
7413 # the --recheck option to rerun configure.
7415 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7416 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7417 # following values.
7419 _ACEOF
7421 # The following way of writing the cache mishandles newlines in values,
7422 # but we know of no workaround that is simple, portable, and efficient.
7423 # So, we kill variables containing newlines.
7424 # Ultrix sh set writes to stderr and can't be redirected directly,
7425 # and sets the high bit in the cache file unless we assign to the vars.
7427 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7428 eval ac_val=\$$ac_var
7429 case $ac_val in #(
7430 *${as_nl}*)
7431 case $ac_var in #(
7432 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7433 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7434 esac
7435 case $ac_var in #(
7436 _ | IFS | as_nl) ;; #(
7437 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7438 *) { eval $ac_var=; unset $ac_var;} ;;
7439 esac ;;
7440 esac
7441 done
7443 (set) 2>&1 |
7444 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7445 *${as_nl}ac_space=\ *)
7446 # `set' does not quote correctly, so add quotes: double-quote
7447 # substitution turns \\\\ into \\, and sed turns \\ into \.
7448 sed -n \
7449 "s/'/'\\\\''/g;
7450 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7451 ;; #(
7453 # `set' quotes correctly as required by POSIX, so do not add quotes.
7454 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7456 esac |
7457 sort
7459 sed '
7460 /^ac_cv_env_/b end
7461 t clear
7462 :clear
7463 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7464 t end
7465 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7466 :end' >>confcache
7467 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7468 if test -w "$cache_file"; then
7469 if test "x$cache_file" != "x/dev/null"; then
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7471 $as_echo "$as_me: updating cache $cache_file" >&6;}
7472 if test ! -f "$cache_file" || test -h "$cache_file"; then
7473 cat confcache >"$cache_file"
7474 else
7475 case $cache_file in #(
7476 */* | ?:*)
7477 mv -f confcache "$cache_file"$$ &&
7478 mv -f "$cache_file"$$ "$cache_file" ;; #(
7480 mv -f confcache "$cache_file" ;;
7481 esac
7484 else
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7486 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7489 rm -f confcache
7491 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7492 # Let make expand exec_prefix.
7493 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7495 DEFS=-DHAVE_CONFIG_H
7497 ac_libobjs=
7498 ac_ltlibobjs=
7500 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7501 # 1. Remove the extension, and $U if already installed.
7502 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7503 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7504 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7505 # will be set to the directory where LIBOBJS objects are built.
7506 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7507 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7508 done
7509 LIBOBJS=$ac_libobjs
7511 LTLIBOBJS=$ac_ltlibobjs
7514 if test -z "${NEWLIB_NANO_MALLOC_TRUE}" && test -z "${NEWLIB_NANO_MALLOC_FALSE}"; then
7515 as_fn_error $? "conditional \"NEWLIB_NANO_MALLOC\" was never defined.
7516 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7518 if test -z "${NEWLIB_NANO_FORMATTED_IO_TRUE}" && test -z "${NEWLIB_NANO_FORMATTED_IO_FALSE}"; then
7519 as_fn_error $? "conditional \"NEWLIB_NANO_FORMATTED_IO\" was never defined.
7520 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7522 if test -z "${NEWLIB_RETARGETABLE_LOCKING_TRUE}" && test -z "${NEWLIB_RETARGETABLE_LOCKING_FALSE}"; then
7523 as_fn_error $? "conditional \"NEWLIB_RETARGETABLE_LOCKING\" was never defined.
7524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7526 if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
7527 as_fn_error $? "conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
7528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
7531 $as_echo_n "checking that generated files are newer than configure... " >&6; }
7532 if test -n "$am_sleep_pid"; then
7533 # Hide warnings about reused PIDs.
7534 wait $am_sleep_pid 2>/dev/null
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
7537 $as_echo "done" >&6; }
7538 if test -n "$EXEEXT"; then
7539 am__EXEEXT_TRUE=
7540 am__EXEEXT_FALSE='#'
7541 else
7542 am__EXEEXT_TRUE='#'
7543 am__EXEEXT_FALSE=
7546 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7547 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
7548 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7550 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7551 as_fn_error $? "conditional \"AMDEP\" was never defined.
7552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7554 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7555 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7556 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7558 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
7559 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
7560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7562 if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
7563 as_fn_error $? "conditional \"ELIX_LEVEL_0\" was never defined.
7564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7566 if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
7567 as_fn_error $? "conditional \"ELIX_LEVEL_1\" was never defined.
7568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7570 if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
7571 as_fn_error $? "conditional \"ELIX_LEVEL_2\" was never defined.
7572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7574 if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
7575 as_fn_error $? "conditional \"ELIX_LEVEL_3\" was never defined.
7576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7578 if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
7579 as_fn_error $? "conditional \"ELIX_LEVEL_4\" was never defined.
7580 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7582 if test -z "${NEWLIB_HW_FP_TRUE}" && test -z "${NEWLIB_HW_FP_FALSE}"; then
7583 as_fn_error $? "conditional \"NEWLIB_HW_FP\" was never defined.
7584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7586 if test -z "${HAVE_SIGNAL_DIR_TRUE}" && test -z "${HAVE_SIGNAL_DIR_FALSE}"; then
7587 as_fn_error $? "conditional \"HAVE_SIGNAL_DIR\" was never defined.
7588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7590 if test -z "${HAVE_STDIO_DIR_TRUE}" && test -z "${HAVE_STDIO_DIR_FALSE}"; then
7591 as_fn_error $? "conditional \"HAVE_STDIO_DIR\" was never defined.
7592 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7594 if test -z "${HAVE_STDIO64_DIR_TRUE}" && test -z "${HAVE_STDIO64_DIR_FALSE}"; then
7595 as_fn_error $? "conditional \"HAVE_STDIO64_DIR\" was never defined.
7596 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7598 if test -z "${HAVE_POSIX_DIR_TRUE}" && test -z "${HAVE_POSIX_DIR_FALSE}"; then
7599 as_fn_error $? "conditional \"HAVE_POSIX_DIR\" was never defined.
7600 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7602 if test -z "${HAVE_XDR_DIR_TRUE}" && test -z "${HAVE_XDR_DIR_FALSE}"; then
7603 as_fn_error $? "conditional \"HAVE_XDR_DIR\" was never defined.
7604 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7606 if test -z "${HAVE_SYSCALL_DIR_TRUE}" && test -z "${HAVE_SYSCALL_DIR_FALSE}"; then
7607 as_fn_error $? "conditional \"HAVE_SYSCALL_DIR\" was never defined.
7608 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7610 if test -z "${HAVE_UNIX_DIR_TRUE}" && test -z "${HAVE_UNIX_DIR_FALSE}"; then
7611 as_fn_error $? "conditional \"HAVE_UNIX_DIR\" was never defined.
7612 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7614 if test -z "${HAVE_LIBC_SYS_A29KHIF_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_A29KHIF_DIR_FALSE}"; then
7615 as_fn_error $? "conditional \"HAVE_LIBC_SYS_A29KHIF_DIR\" was never defined.
7616 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7618 if test -z "${HAVE_LIBC_SYS_AMDGCN_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_AMDGCN_DIR_FALSE}"; then
7619 as_fn_error $? "conditional \"HAVE_LIBC_SYS_AMDGCN_DIR\" was never defined.
7620 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7622 if test -z "${HAVE_LIBC_SYS_ARM_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_ARM_DIR_FALSE}"; then
7623 as_fn_error $? "conditional \"HAVE_LIBC_SYS_ARM_DIR\" was never defined.
7624 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7626 if test -z "${HAVE_LIBC_SYS_D10V_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_D10V_DIR_FALSE}"; then
7627 as_fn_error $? "conditional \"HAVE_LIBC_SYS_D10V_DIR\" was never defined.
7628 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7630 if test -z "${HAVE_LIBC_SYS_EPIPHANY_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_EPIPHANY_DIR_FALSE}"; then
7631 as_fn_error $? "conditional \"HAVE_LIBC_SYS_EPIPHANY_DIR\" was never defined.
7632 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7634 if test -z "${HAVE_LIBC_SYS_H8300HMS_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_H8300HMS_DIR_FALSE}"; then
7635 as_fn_error $? "conditional \"HAVE_LIBC_SYS_H8300HMS_DIR\" was never defined.
7636 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7638 if test -z "${HAVE_LIBC_SYS_H8500HMS_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_H8500HMS_DIR_FALSE}"; then
7639 as_fn_error $? "conditional \"HAVE_LIBC_SYS_H8500HMS_DIR\" was never defined.
7640 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7642 if test -z "${HAVE_LIBC_SYS_M88KBUG_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_M88KBUG_DIR_FALSE}"; then
7643 as_fn_error $? "conditional \"HAVE_LIBC_SYS_M88KBUG_DIR\" was never defined.
7644 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7646 if test -z "${HAVE_LIBC_SYS_MMIXWARE_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_MMIXWARE_DIR_FALSE}"; then
7647 as_fn_error $? "conditional \"HAVE_LIBC_SYS_MMIXWARE_DIR\" was never defined.
7648 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7650 if test -z "${HAVE_LIBC_SYS_NETWARE_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_NETWARE_DIR_FALSE}"; then
7651 as_fn_error $? "conditional \"HAVE_LIBC_SYS_NETWARE_DIR\" was never defined.
7652 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7654 if test -z "${HAVE_LIBC_SYS_OR1K_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_OR1K_DIR_FALSE}"; then
7655 as_fn_error $? "conditional \"HAVE_LIBC_SYS_OR1K_DIR\" was never defined.
7656 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7658 if test -z "${HAVE_LIBC_SYS_RDOS_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_RDOS_DIR_FALSE}"; then
7659 as_fn_error $? "conditional \"HAVE_LIBC_SYS_RDOS_DIR\" was never defined.
7660 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7662 if test -z "${HAVE_LIBC_SYS_RTEMS_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_RTEMS_DIR_FALSE}"; then
7663 as_fn_error $? "conditional \"HAVE_LIBC_SYS_RTEMS_DIR\" was never defined.
7664 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7666 if test -z "${HAVE_LIBC_SYS_SH_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_SH_DIR_FALSE}"; then
7667 as_fn_error $? "conditional \"HAVE_LIBC_SYS_SH_DIR\" was never defined.
7668 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7670 if test -z "${HAVE_LIBC_SYS_SYSMEC_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_SYSMEC_DIR_FALSE}"; then
7671 as_fn_error $? "conditional \"HAVE_LIBC_SYS_SYSMEC_DIR\" was never defined.
7672 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7674 if test -z "${HAVE_LIBC_SYS_SYSNEC810_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_SYSNEC810_DIR_FALSE}"; then
7675 as_fn_error $? "conditional \"HAVE_LIBC_SYS_SYSNEC810_DIR\" was never defined.
7676 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7678 if test -z "${HAVE_LIBC_SYS_SYSNECV850_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_SYSNECV850_DIR_FALSE}"; then
7679 as_fn_error $? "conditional \"HAVE_LIBC_SYS_SYSNECV850_DIR\" was never defined.
7680 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7682 if test -z "${HAVE_LIBC_SYS_SYSVI386_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_SYSVI386_DIR_FALSE}"; then
7683 as_fn_error $? "conditional \"HAVE_LIBC_SYS_SYSVI386_DIR\" was never defined.
7684 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7686 if test -z "${HAVE_LIBC_SYS_SYSVNECV70_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_SYSVNECV70_DIR_FALSE}"; then
7687 as_fn_error $? "conditional \"HAVE_LIBC_SYS_SYSVNECV70_DIR\" was never defined.
7688 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7690 if test -z "${HAVE_LIBC_SYS_TIC80_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_TIC80_DIR_FALSE}"; then
7691 as_fn_error $? "conditional \"HAVE_LIBC_SYS_TIC80_DIR\" was never defined.
7692 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7694 if test -z "${HAVE_LIBC_SYS_TIRTOS_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_TIRTOS_DIR_FALSE}"; then
7695 as_fn_error $? "conditional \"HAVE_LIBC_SYS_TIRTOS_DIR\" was never defined.
7696 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7698 if test -z "${HAVE_LIBC_SYS_W65_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_W65_DIR_FALSE}"; then
7699 as_fn_error $? "conditional \"HAVE_LIBC_SYS_W65_DIR\" was never defined.
7700 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7702 if test -z "${HAVE_LIBC_SYS_Z8KSIM_DIR_TRUE}" && test -z "${HAVE_LIBC_SYS_Z8KSIM_DIR_FALSE}"; then
7703 as_fn_error $? "conditional \"HAVE_LIBC_SYS_Z8KSIM_DIR\" was never defined.
7704 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7706 if test -z "${HAVE_LONG_DOUBLE_TRUE}" && test -z "${HAVE_LONG_DOUBLE_FALSE}"; then
7707 as_fn_error $? "conditional \"HAVE_LONG_DOUBLE\" was never defined.
7708 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7710 if test -z "${ENABLE_NEWLIB_ICONV_TRUE}" && test -z "${ENABLE_NEWLIB_ICONV_FALSE}"; then
7711 as_fn_error $? "conditional \"ENABLE_NEWLIB_ICONV\" was never defined.
7712 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7714 if test -z "${IS_NDS32_ISA_V3M_TRUE}" && test -z "${IS_NDS32_ISA_V3M_FALSE}"; then
7715 as_fn_error $? "conditional \"IS_NDS32_ISA_V3M\" was never defined.
7716 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7718 if test -z "${HAVE_POWERPC_ALTIVEC_TRUE}" && test -z "${HAVE_POWERPC_ALTIVEC_FALSE}"; then
7719 as_fn_error $? "conditional \"HAVE_POWERPC_ALTIVEC\" was never defined.
7720 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7722 if test -z "${HAVE_POWERPC_SPE_TRUE}" && test -z "${HAVE_POWERPC_SPE_FALSE}"; then
7723 as_fn_error $? "conditional \"HAVE_POWERPC_SPE\" was never defined.
7724 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7726 if test -z "${SH64_TRUE}" && test -z "${SH64_FALSE}"; then
7727 as_fn_error $? "conditional \"SH64\" was never defined.
7728 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7730 if test -z "${HAVE_SPU_EA_TRUE}" && test -z "${HAVE_SPU_EA_FALSE}"; then
7731 as_fn_error $? "conditional \"HAVE_SPU_EA\" was never defined.
7732 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7734 if test -z "${XTENSA_ESP32_PSRAM_CACHE_FIX_TRUE}" && test -z "${XTENSA_ESP32_PSRAM_CACHE_FIX_FALSE}"; then
7735 as_fn_error $? "conditional \"XTENSA_ESP32_PSRAM_CACHE_FIX\" was never defined.
7736 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7738 if test -z "${HAVE_LIBC_MACHINE_AARCH64_TRUE}" && test -z "${HAVE_LIBC_MACHINE_AARCH64_FALSE}"; then
7739 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_AARCH64\" was never defined.
7740 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7742 if test -z "${HAVE_LIBC_MACHINE_AMDGCN_TRUE}" && test -z "${HAVE_LIBC_MACHINE_AMDGCN_FALSE}"; then
7743 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_AMDGCN\" was never defined.
7744 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7746 if test -z "${HAVE_LIBC_MACHINE_ARC_TRUE}" && test -z "${HAVE_LIBC_MACHINE_ARC_FALSE}"; then
7747 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_ARC\" was never defined.
7748 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7750 if test -z "${HAVE_LIBC_MACHINE_ARC64_TRUE}" && test -z "${HAVE_LIBC_MACHINE_ARC64_FALSE}"; then
7751 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_ARC64\" was never defined.
7752 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7754 if test -z "${HAVE_LIBC_MACHINE_ARM_TRUE}" && test -z "${HAVE_LIBC_MACHINE_ARM_FALSE}"; then
7755 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_ARM\" was never defined.
7756 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7758 if test -z "${HAVE_LIBC_MACHINE_BFIN_TRUE}" && test -z "${HAVE_LIBC_MACHINE_BFIN_FALSE}"; then
7759 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_BFIN\" was never defined.
7760 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7762 if test -z "${HAVE_LIBC_MACHINE_CR16_TRUE}" && test -z "${HAVE_LIBC_MACHINE_CR16_FALSE}"; then
7763 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_CR16\" was never defined.
7764 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7766 if test -z "${HAVE_LIBC_MACHINE_CRIS_TRUE}" && test -z "${HAVE_LIBC_MACHINE_CRIS_FALSE}"; then
7767 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_CRIS\" was never defined.
7768 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7770 if test -z "${HAVE_LIBC_MACHINE_CRX_TRUE}" && test -z "${HAVE_LIBC_MACHINE_CRX_FALSE}"; then
7771 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_CRX\" was never defined.
7772 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7774 if test -z "${HAVE_LIBC_MACHINE_CSKY_TRUE}" && test -z "${HAVE_LIBC_MACHINE_CSKY_FALSE}"; then
7775 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_CSKY\" was never defined.
7776 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7778 if test -z "${HAVE_LIBC_MACHINE_D10V_TRUE}" && test -z "${HAVE_LIBC_MACHINE_D10V_FALSE}"; then
7779 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_D10V\" was never defined.
7780 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7782 if test -z "${HAVE_LIBC_MACHINE_D30V_TRUE}" && test -z "${HAVE_LIBC_MACHINE_D30V_FALSE}"; then
7783 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_D30V\" was never defined.
7784 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7786 if test -z "${HAVE_LIBC_MACHINE_EPIPHANY_TRUE}" && test -z "${HAVE_LIBC_MACHINE_EPIPHANY_FALSE}"; then
7787 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_EPIPHANY\" was never defined.
7788 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7790 if test -z "${HAVE_LIBC_MACHINE_FR30_TRUE}" && test -z "${HAVE_LIBC_MACHINE_FR30_FALSE}"; then
7791 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_FR30\" was never defined.
7792 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7794 if test -z "${HAVE_LIBC_MACHINE_FRV_TRUE}" && test -z "${HAVE_LIBC_MACHINE_FRV_FALSE}"; then
7795 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_FRV\" was never defined.
7796 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7798 if test -z "${HAVE_LIBC_MACHINE_FT32_TRUE}" && test -z "${HAVE_LIBC_MACHINE_FT32_FALSE}"; then
7799 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_FT32\" was never defined.
7800 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7802 if test -z "${HAVE_LIBC_MACHINE_H8300_TRUE}" && test -z "${HAVE_LIBC_MACHINE_H8300_FALSE}"; then
7803 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_H8300\" was never defined.
7804 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7806 if test -z "${HAVE_LIBC_MACHINE_H8500_TRUE}" && test -z "${HAVE_LIBC_MACHINE_H8500_FALSE}"; then
7807 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_H8500\" was never defined.
7808 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7810 if test -z "${HAVE_LIBC_MACHINE_HPPA_TRUE}" && test -z "${HAVE_LIBC_MACHINE_HPPA_FALSE}"; then
7811 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_HPPA\" was never defined.
7812 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7814 if test -z "${HAVE_LIBC_MACHINE_I386_TRUE}" && test -z "${HAVE_LIBC_MACHINE_I386_FALSE}"; then
7815 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_I386\" was never defined.
7816 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7818 if test -z "${HAVE_LIBC_MACHINE_I960_TRUE}" && test -z "${HAVE_LIBC_MACHINE_I960_FALSE}"; then
7819 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_I960\" was never defined.
7820 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7822 if test -z "${HAVE_LIBC_MACHINE_IQ2000_TRUE}" && test -z "${HAVE_LIBC_MACHINE_IQ2000_FALSE}"; then
7823 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_IQ2000\" was never defined.
7824 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7826 if test -z "${HAVE_LIBC_MACHINE_LM32_TRUE}" && test -z "${HAVE_LIBC_MACHINE_LM32_FALSE}"; then
7827 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_LM32\" was never defined.
7828 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7830 if test -z "${HAVE_LIBC_MACHINE_M32C_TRUE}" && test -z "${HAVE_LIBC_MACHINE_M32C_FALSE}"; then
7831 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_M32C\" was never defined.
7832 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7834 if test -z "${HAVE_LIBC_MACHINE_M32R_TRUE}" && test -z "${HAVE_LIBC_MACHINE_M32R_FALSE}"; then
7835 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_M32R\" was never defined.
7836 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7838 if test -z "${HAVE_LIBC_MACHINE_M68HC11_TRUE}" && test -z "${HAVE_LIBC_MACHINE_M68HC11_FALSE}"; then
7839 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_M68HC11\" was never defined.
7840 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7842 if test -z "${HAVE_LIBC_MACHINE_M68K_TRUE}" && test -z "${HAVE_LIBC_MACHINE_M68K_FALSE}"; then
7843 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_M68K\" was never defined.
7844 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7846 if test -z "${HAVE_LIBC_MACHINE_M88K_TRUE}" && test -z "${HAVE_LIBC_MACHINE_M88K_FALSE}"; then
7847 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_M88K\" was never defined.
7848 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7850 if test -z "${HAVE_LIBC_MACHINE_MEP_TRUE}" && test -z "${HAVE_LIBC_MACHINE_MEP_FALSE}"; then
7851 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_MEP\" was never defined.
7852 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7854 if test -z "${HAVE_LIBC_MACHINE_MICROBLAZE_TRUE}" && test -z "${HAVE_LIBC_MACHINE_MICROBLAZE_FALSE}"; then
7855 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_MICROBLAZE\" was never defined.
7856 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7858 if test -z "${HAVE_LIBC_MACHINE_MIPS_TRUE}" && test -z "${HAVE_LIBC_MACHINE_MIPS_FALSE}"; then
7859 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_MIPS\" was never defined.
7860 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7862 if test -z "${HAVE_LIBC_MACHINE_MN10200_TRUE}" && test -z "${HAVE_LIBC_MACHINE_MN10200_FALSE}"; then
7863 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_MN10200\" was never defined.
7864 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7866 if test -z "${HAVE_LIBC_MACHINE_MN10300_TRUE}" && test -z "${HAVE_LIBC_MACHINE_MN10300_FALSE}"; then
7867 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_MN10300\" was never defined.
7868 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7870 if test -z "${HAVE_LIBC_MACHINE_MOXIE_TRUE}" && test -z "${HAVE_LIBC_MACHINE_MOXIE_FALSE}"; then
7871 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_MOXIE\" was never defined.
7872 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7874 if test -z "${HAVE_LIBC_MACHINE_MSP430_TRUE}" && test -z "${HAVE_LIBC_MACHINE_MSP430_FALSE}"; then
7875 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_MSP430\" was never defined.
7876 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7878 if test -z "${HAVE_LIBC_MACHINE_MT_TRUE}" && test -z "${HAVE_LIBC_MACHINE_MT_FALSE}"; then
7879 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_MT\" was never defined.
7880 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7882 if test -z "${HAVE_LIBC_MACHINE_NDS32_TRUE}" && test -z "${HAVE_LIBC_MACHINE_NDS32_FALSE}"; then
7883 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_NDS32\" was never defined.
7884 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7886 if test -z "${HAVE_LIBC_MACHINE_NECV70_TRUE}" && test -z "${HAVE_LIBC_MACHINE_NECV70_FALSE}"; then
7887 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_NECV70\" was never defined.
7888 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7890 if test -z "${HAVE_LIBC_MACHINE_NIOS2_TRUE}" && test -z "${HAVE_LIBC_MACHINE_NIOS2_FALSE}"; then
7891 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_NIOS2\" was never defined.
7892 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7894 if test -z "${HAVE_LIBC_MACHINE_NVPTX_TRUE}" && test -z "${HAVE_LIBC_MACHINE_NVPTX_FALSE}"; then
7895 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_NVPTX\" was never defined.
7896 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7898 if test -z "${HAVE_LIBC_MACHINE_OR1K_TRUE}" && test -z "${HAVE_LIBC_MACHINE_OR1K_FALSE}"; then
7899 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_OR1K\" was never defined.
7900 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7902 if test -z "${HAVE_LIBC_MACHINE_POWERPC_TRUE}" && test -z "${HAVE_LIBC_MACHINE_POWERPC_FALSE}"; then
7903 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_POWERPC\" was never defined.
7904 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7906 if test -z "${HAVE_LIBC_MACHINE_PRU_TRUE}" && test -z "${HAVE_LIBC_MACHINE_PRU_FALSE}"; then
7907 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_PRU\" was never defined.
7908 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7910 if test -z "${HAVE_LIBC_MACHINE_RISCV_TRUE}" && test -z "${HAVE_LIBC_MACHINE_RISCV_FALSE}"; then
7911 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_RISCV\" was never defined.
7912 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7914 if test -z "${HAVE_LIBC_MACHINE_RL78_TRUE}" && test -z "${HAVE_LIBC_MACHINE_RL78_FALSE}"; then
7915 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_RL78\" was never defined.
7916 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7918 if test -z "${HAVE_LIBC_MACHINE_RX_TRUE}" && test -z "${HAVE_LIBC_MACHINE_RX_FALSE}"; then
7919 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_RX\" was never defined.
7920 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7922 if test -z "${HAVE_LIBC_MACHINE_SH_TRUE}" && test -z "${HAVE_LIBC_MACHINE_SH_FALSE}"; then
7923 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_SH\" was never defined.
7924 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7926 if test -z "${HAVE_LIBC_MACHINE_SPARC_TRUE}" && test -z "${HAVE_LIBC_MACHINE_SPARC_FALSE}"; then
7927 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_SPARC\" was never defined.
7928 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7930 if test -z "${HAVE_LIBC_MACHINE_SPU_TRUE}" && test -z "${HAVE_LIBC_MACHINE_SPU_FALSE}"; then
7931 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_SPU\" was never defined.
7932 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7934 if test -z "${HAVE_LIBC_MACHINE_TIC4X_TRUE}" && test -z "${HAVE_LIBC_MACHINE_TIC4X_FALSE}"; then
7935 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_TIC4X\" was never defined.
7936 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7938 if test -z "${HAVE_LIBC_MACHINE_TIC6X_TRUE}" && test -z "${HAVE_LIBC_MACHINE_TIC6X_FALSE}"; then
7939 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_TIC6X\" was never defined.
7940 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7942 if test -z "${HAVE_LIBC_MACHINE_TIC80_TRUE}" && test -z "${HAVE_LIBC_MACHINE_TIC80_FALSE}"; then
7943 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_TIC80\" was never defined.
7944 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7946 if test -z "${HAVE_LIBC_MACHINE_V850_TRUE}" && test -z "${HAVE_LIBC_MACHINE_V850_FALSE}"; then
7947 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_V850\" was never defined.
7948 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7950 if test -z "${HAVE_LIBC_MACHINE_VISIUM_TRUE}" && test -z "${HAVE_LIBC_MACHINE_VISIUM_FALSE}"; then
7951 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_VISIUM\" was never defined.
7952 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7954 if test -z "${HAVE_LIBC_MACHINE_W65_TRUE}" && test -z "${HAVE_LIBC_MACHINE_W65_FALSE}"; then
7955 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_W65\" was never defined.
7956 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7958 if test -z "${HAVE_LIBC_MACHINE_X86_64_TRUE}" && test -z "${HAVE_LIBC_MACHINE_X86_64_FALSE}"; then
7959 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_X86_64\" was never defined.
7960 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7962 if test -z "${HAVE_LIBC_MACHINE_XC16X_TRUE}" && test -z "${HAVE_LIBC_MACHINE_XC16X_FALSE}"; then
7963 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_XC16X\" was never defined.
7964 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7966 if test -z "${HAVE_LIBC_MACHINE_XSTORMY16_TRUE}" && test -z "${HAVE_LIBC_MACHINE_XSTORMY16_FALSE}"; then
7967 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_XSTORMY16\" was never defined.
7968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7970 if test -z "${HAVE_LIBC_MACHINE_XTENSA_TRUE}" && test -z "${HAVE_LIBC_MACHINE_XTENSA_FALSE}"; then
7971 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_XTENSA\" was never defined.
7972 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7974 if test -z "${HAVE_LIBC_MACHINE_Z8K_TRUE}" && test -z "${HAVE_LIBC_MACHINE_Z8K_FALSE}"; then
7975 as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_Z8K\" was never defined.
7976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7978 if test -z "${HAVE_FPMATH_H_TRUE}" && test -z "${HAVE_FPMATH_H_FALSE}"; then
7979 as_fn_error $? "conditional \"HAVE_FPMATH_H\" was never defined.
7980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7982 if test -z "${MACH_ADD_SETJMP_TRUE}" && test -z "${MACH_ADD_SETJMP_FALSE}"; then
7983 as_fn_error $? "conditional \"MACH_ADD_SETJMP\" was never defined.
7984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7986 if test -z "${HAS_NDS32_FPU_SP_TRUE}" && test -z "${HAS_NDS32_FPU_SP_FALSE}"; then
7987 as_fn_error $? "conditional \"HAS_NDS32_FPU_SP\" was never defined.
7988 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7990 if test -z "${HAS_NDS32_FPU_DP_TRUE}" && test -z "${HAS_NDS32_FPU_DP_FALSE}"; then
7991 as_fn_error $? "conditional \"HAS_NDS32_FPU_DP\" was never defined.
7992 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7994 if test -z "${XTENSA_XCHAL_HAVE_FP_SQRT_TRUE}" && test -z "${XTENSA_XCHAL_HAVE_FP_SQRT_FALSE}"; then
7995 as_fn_error $? "conditional \"XTENSA_XCHAL_HAVE_FP_SQRT\" was never defined.
7996 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7998 if test -z "${HAVE_LIBM_MACHINE_AARCH64_TRUE}" && test -z "${HAVE_LIBM_MACHINE_AARCH64_FALSE}"; then
7999 as_fn_error $? "conditional \"HAVE_LIBM_MACHINE_AARCH64\" was never defined.
8000 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8002 if test -z "${HAVE_LIBM_MACHINE_AMDGCN_TRUE}" && test -z "${HAVE_LIBM_MACHINE_AMDGCN_FALSE}"; then
8003 as_fn_error $? "conditional \"HAVE_LIBM_MACHINE_AMDGCN\" was never defined.
8004 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8006 if test -z "${HAVE_LIBM_MACHINE_ARM_TRUE}" && test -z "${HAVE_LIBM_MACHINE_ARM_FALSE}"; then
8007 as_fn_error $? "conditional \"HAVE_LIBM_MACHINE_ARM\" was never defined.
8008 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8010 if test -z "${HAVE_LIBM_MACHINE_I386_TRUE}" && test -z "${HAVE_LIBM_MACHINE_I386_FALSE}"; then
8011 as_fn_error $? "conditional \"HAVE_LIBM_MACHINE_I386\" was never defined.
8012 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8014 if test -z "${HAVE_LIBM_MACHINE_MIPS_TRUE}" && test -z "${HAVE_LIBM_MACHINE_MIPS_FALSE}"; then
8015 as_fn_error $? "conditional \"HAVE_LIBM_MACHINE_MIPS\" was never defined.
8016 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8018 if test -z "${HAVE_LIBM_MACHINE_NDS32_TRUE}" && test -z "${HAVE_LIBM_MACHINE_NDS32_FALSE}"; then
8019 as_fn_error $? "conditional \"HAVE_LIBM_MACHINE_NDS32\" was never defined.
8020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8022 if test -z "${HAVE_LIBM_MACHINE_POWERPC_TRUE}" && test -z "${HAVE_LIBM_MACHINE_POWERPC_FALSE}"; then
8023 as_fn_error $? "conditional \"HAVE_LIBM_MACHINE_POWERPC\" was never defined.
8024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8026 if test -z "${HAVE_LIBM_MACHINE_PRU_TRUE}" && test -z "${HAVE_LIBM_MACHINE_PRU_FALSE}"; then
8027 as_fn_error $? "conditional \"HAVE_LIBM_MACHINE_PRU\" was never defined.
8028 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8030 if test -z "${HAVE_LIBM_MACHINE_SPARC_TRUE}" && test -z "${HAVE_LIBM_MACHINE_SPARC_FALSE}"; then
8031 as_fn_error $? "conditional \"HAVE_LIBM_MACHINE_SPARC\" was never defined.
8032 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8034 if test -z "${HAVE_LIBM_MACHINE_SPU_TRUE}" && test -z "${HAVE_LIBM_MACHINE_SPU_FALSE}"; then
8035 as_fn_error $? "conditional \"HAVE_LIBM_MACHINE_SPU\" was never defined.
8036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8038 if test -z "${HAVE_LIBM_MACHINE_RISCV_TRUE}" && test -z "${HAVE_LIBM_MACHINE_RISCV_FALSE}"; then
8039 as_fn_error $? "conditional \"HAVE_LIBM_MACHINE_RISCV\" was never defined.
8040 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8042 if test -z "${HAVE_LIBM_MACHINE_X86_64_TRUE}" && test -z "${HAVE_LIBM_MACHINE_X86_64_FALSE}"; then
8043 as_fn_error $? "conditional \"HAVE_LIBM_MACHINE_X86_64\" was never defined.
8044 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8046 if test -z "${HAVE_LIBM_MACHINE_XTENSA_TRUE}" && test -z "${HAVE_LIBM_MACHINE_XTENSA_FALSE}"; then
8047 as_fn_error $? "conditional \"HAVE_LIBM_MACHINE_XTENSA\" was never defined.
8048 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8050 if test -z "${HAVE_DOC_TRUE}" && test -z "${HAVE_DOC_FALSE}"; then
8051 as_fn_error $? "conditional \"HAVE_DOC\" was never defined.
8052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8054 if test -z "${HAVE_MULTISUBDIR_TRUE}" && test -z "${HAVE_MULTISUBDIR_FALSE}"; then
8055 as_fn_error $? "conditional \"HAVE_MULTISUBDIR\" was never defined.
8056 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8058 if test -z "${HAVE_CRT0_TRUE}" && test -z "${HAVE_CRT0_FALSE}"; then
8059 as_fn_error $? "conditional \"HAVE_CRT0\" was never defined.
8060 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8062 if test -z "${HAVE_LONG_DOUBLE_TRUE}" && test -z "${HAVE_LONG_DOUBLE_FALSE}"; then
8063 as_fn_error $? "conditional \"HAVE_LONG_DOUBLE\" was never defined.
8064 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8067 : "${CONFIG_STATUS=./config.status}"
8068 ac_write_fail=0
8069 ac_clean_files_save=$ac_clean_files
8070 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8072 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8073 as_write_fail=0
8074 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8075 #! $SHELL
8076 # Generated by $as_me.
8077 # Run this file to recreate the current configuration.
8078 # Compiler output produced by configure, useful for debugging
8079 # configure, is in config.log if it exists.
8081 debug=false
8082 ac_cs_recheck=false
8083 ac_cs_silent=false
8085 SHELL=\${CONFIG_SHELL-$SHELL}
8086 export SHELL
8087 _ASEOF
8088 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8089 ## -------------------- ##
8090 ## M4sh Initialization. ##
8091 ## -------------------- ##
8093 # Be more Bourne compatible
8094 DUALCASE=1; export DUALCASE # for MKS sh
8095 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8096 emulate sh
8097 NULLCMD=:
8098 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8099 # is contrary to our usage. Disable this feature.
8100 alias -g '${1+"$@"}'='"$@"'
8101 setopt NO_GLOB_SUBST
8102 else
8103 case `(set -o) 2>/dev/null` in #(
8104 *posix*) :
8105 set -o posix ;; #(
8106 *) :
8108 esac
8112 as_nl='
8114 export as_nl
8115 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8116 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8117 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8118 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8119 # Prefer a ksh shell builtin over an external printf program on Solaris,
8120 # but without wasting forks for bash or zsh.
8121 if test -z "$BASH_VERSION$ZSH_VERSION" \
8122 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8123 as_echo='print -r --'
8124 as_echo_n='print -rn --'
8125 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8126 as_echo='printf %s\n'
8127 as_echo_n='printf %s'
8128 else
8129 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8130 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8131 as_echo_n='/usr/ucb/echo -n'
8132 else
8133 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8134 as_echo_n_body='eval
8135 arg=$1;
8136 case $arg in #(
8137 *"$as_nl"*)
8138 expr "X$arg" : "X\\(.*\\)$as_nl";
8139 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8140 esac;
8141 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8143 export as_echo_n_body
8144 as_echo_n='sh -c $as_echo_n_body as_echo'
8146 export as_echo_body
8147 as_echo='sh -c $as_echo_body as_echo'
8150 # The user is always right.
8151 if test "${PATH_SEPARATOR+set}" != set; then
8152 PATH_SEPARATOR=:
8153 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8154 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8155 PATH_SEPARATOR=';'
8160 # IFS
8161 # We need space, tab and new line, in precisely that order. Quoting is
8162 # there to prevent editors from complaining about space-tab.
8163 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8164 # splitting by setting IFS to empty value.)
8165 IFS=" "" $as_nl"
8167 # Find who we are. Look in the path if we contain no directory separator.
8168 as_myself=
8169 case $0 in #((
8170 *[\\/]* ) as_myself=$0 ;;
8171 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8172 for as_dir in $PATH
8174 IFS=$as_save_IFS
8175 test -z "$as_dir" && as_dir=.
8176 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8177 done
8178 IFS=$as_save_IFS
8181 esac
8182 # We did not find ourselves, most probably we were run as `sh COMMAND'
8183 # in which case we are not to be found in the path.
8184 if test "x$as_myself" = x; then
8185 as_myself=$0
8187 if test ! -f "$as_myself"; then
8188 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8189 exit 1
8192 # Unset variables that we do not need and which cause bugs (e.g. in
8193 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8194 # suppresses any "Segmentation fault" message there. '((' could
8195 # trigger a bug in pdksh 5.2.14.
8196 for as_var in BASH_ENV ENV MAIL MAILPATH
8197 do eval test x\${$as_var+set} = xset \
8198 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8199 done
8200 PS1='$ '
8201 PS2='> '
8202 PS4='+ '
8204 # NLS nuisances.
8205 LC_ALL=C
8206 export LC_ALL
8207 LANGUAGE=C
8208 export LANGUAGE
8210 # CDPATH.
8211 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8214 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8215 # ----------------------------------------
8216 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8217 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8218 # script with STATUS, using 1 if that was 0.
8219 as_fn_error ()
8221 as_status=$1; test $as_status -eq 0 && as_status=1
8222 if test "$4"; then
8223 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8224 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8226 $as_echo "$as_me: error: $2" >&2
8227 as_fn_exit $as_status
8228 } # as_fn_error
8231 # as_fn_set_status STATUS
8232 # -----------------------
8233 # Set $? to STATUS, without forking.
8234 as_fn_set_status ()
8236 return $1
8237 } # as_fn_set_status
8239 # as_fn_exit STATUS
8240 # -----------------
8241 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8242 as_fn_exit ()
8244 set +e
8245 as_fn_set_status $1
8246 exit $1
8247 } # as_fn_exit
8249 # as_fn_unset VAR
8250 # ---------------
8251 # Portably unset VAR.
8252 as_fn_unset ()
8254 { eval $1=; unset $1;}
8256 as_unset=as_fn_unset
8257 # as_fn_append VAR VALUE
8258 # ----------------------
8259 # Append the text in VALUE to the end of the definition contained in VAR. Take
8260 # advantage of any shell optimizations that allow amortized linear growth over
8261 # repeated appends, instead of the typical quadratic growth present in naive
8262 # implementations.
8263 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8264 eval 'as_fn_append ()
8266 eval $1+=\$2
8268 else
8269 as_fn_append ()
8271 eval $1=\$$1\$2
8273 fi # as_fn_append
8275 # as_fn_arith ARG...
8276 # ------------------
8277 # Perform arithmetic evaluation on the ARGs, and store the result in the
8278 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8279 # must be portable across $(()) and expr.
8280 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8281 eval 'as_fn_arith ()
8283 as_val=$(( $* ))
8285 else
8286 as_fn_arith ()
8288 as_val=`expr "$@" || test $? -eq 1`
8290 fi # as_fn_arith
8293 if expr a : '\(a\)' >/dev/null 2>&1 &&
8294 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8295 as_expr=expr
8296 else
8297 as_expr=false
8300 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8301 as_basename=basename
8302 else
8303 as_basename=false
8306 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8307 as_dirname=dirname
8308 else
8309 as_dirname=false
8312 as_me=`$as_basename -- "$0" ||
8313 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8314 X"$0" : 'X\(//\)$' \| \
8315 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8316 $as_echo X/"$0" |
8317 sed '/^.*\/\([^/][^/]*\)\/*$/{
8318 s//\1/
8321 /^X\/\(\/\/\)$/{
8322 s//\1/
8325 /^X\/\(\/\).*/{
8326 s//\1/
8329 s/.*/./; q'`
8331 # Avoid depending upon Character Ranges.
8332 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8333 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8334 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8335 as_cr_digits='0123456789'
8336 as_cr_alnum=$as_cr_Letters$as_cr_digits
8338 ECHO_C= ECHO_N= ECHO_T=
8339 case `echo -n x` in #(((((
8340 -n*)
8341 case `echo 'xy\c'` in
8342 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8343 xy) ECHO_C='\c';;
8344 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8345 ECHO_T=' ';;
8346 esac;;
8348 ECHO_N='-n';;
8349 esac
8351 rm -f conf$$ conf$$.exe conf$$.file
8352 if test -d conf$$.dir; then
8353 rm -f conf$$.dir/conf$$.file
8354 else
8355 rm -f conf$$.dir
8356 mkdir conf$$.dir 2>/dev/null
8358 if (echo >conf$$.file) 2>/dev/null; then
8359 if ln -s conf$$.file conf$$ 2>/dev/null; then
8360 as_ln_s='ln -s'
8361 # ... but there are two gotchas:
8362 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8363 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8364 # In both cases, we have to default to `cp -pR'.
8365 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8366 as_ln_s='cp -pR'
8367 elif ln conf$$.file conf$$ 2>/dev/null; then
8368 as_ln_s=ln
8369 else
8370 as_ln_s='cp -pR'
8372 else
8373 as_ln_s='cp -pR'
8375 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8376 rmdir conf$$.dir 2>/dev/null
8379 # as_fn_mkdir_p
8380 # -------------
8381 # Create "$as_dir" as a directory, including parents if necessary.
8382 as_fn_mkdir_p ()
8385 case $as_dir in #(
8386 -*) as_dir=./$as_dir;;
8387 esac
8388 test -d "$as_dir" || eval $as_mkdir_p || {
8389 as_dirs=
8390 while :; do
8391 case $as_dir in #(
8392 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8393 *) as_qdir=$as_dir;;
8394 esac
8395 as_dirs="'$as_qdir' $as_dirs"
8396 as_dir=`$as_dirname -- "$as_dir" ||
8397 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8398 X"$as_dir" : 'X\(//\)[^/]' \| \
8399 X"$as_dir" : 'X\(//\)$' \| \
8400 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8401 $as_echo X"$as_dir" |
8402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8403 s//\1/
8406 /^X\(\/\/\)[^/].*/{
8407 s//\1/
8410 /^X\(\/\/\)$/{
8411 s//\1/
8414 /^X\(\/\).*/{
8415 s//\1/
8418 s/.*/./; q'`
8419 test -d "$as_dir" && break
8420 done
8421 test -z "$as_dirs" || eval "mkdir $as_dirs"
8422 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8425 } # as_fn_mkdir_p
8426 if mkdir -p . 2>/dev/null; then
8427 as_mkdir_p='mkdir -p "$as_dir"'
8428 else
8429 test -d ./-p && rmdir ./-p
8430 as_mkdir_p=false
8434 # as_fn_executable_p FILE
8435 # -----------------------
8436 # Test if FILE is an executable regular file.
8437 as_fn_executable_p ()
8439 test -f "$1" && test -x "$1"
8440 } # as_fn_executable_p
8441 as_test_x='test -x'
8442 as_executable_p=as_fn_executable_p
8444 # Sed expression to map a string onto a valid CPP name.
8445 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8447 # Sed expression to map a string onto a valid variable name.
8448 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8451 exec 6>&1
8452 ## ----------------------------------- ##
8453 ## Main body of $CONFIG_STATUS script. ##
8454 ## ----------------------------------- ##
8455 _ASEOF
8456 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8458 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8459 # Save the log message, to keep $0 and so on meaningful, and to
8460 # report actual input values of CONFIG_FILES etc. instead of their
8461 # values after options handling.
8462 ac_log="
8463 This file was extended by newlib $as_me 4.5.0, which was
8464 generated by GNU Autoconf 2.69. Invocation command line was
8466 CONFIG_FILES = $CONFIG_FILES
8467 CONFIG_HEADERS = $CONFIG_HEADERS
8468 CONFIG_LINKS = $CONFIG_LINKS
8469 CONFIG_COMMANDS = $CONFIG_COMMANDS
8470 $ $0 $@
8472 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8475 _ACEOF
8477 case $ac_config_files in *"
8478 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8479 esac
8481 case $ac_config_headers in *"
8482 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8483 esac
8486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8487 # Files that config.status was made for.
8488 config_files="$ac_config_files"
8489 config_headers="$ac_config_headers"
8490 config_commands="$ac_config_commands"
8492 _ACEOF
8494 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8495 ac_cs_usage="\
8496 \`$as_me' instantiates files and other configuration actions
8497 from templates according to the current configuration. Unless the files
8498 and actions are specified as TAGs, all are instantiated by default.
8500 Usage: $0 [OPTION]... [TAG]...
8502 -h, --help print this help, then exit
8503 -V, --version print version number and configuration settings, then exit
8504 --config print configuration, then exit
8505 -q, --quiet, --silent
8506 do not print progress messages
8507 -d, --debug don't remove temporary files
8508 --recheck update $as_me by reconfiguring in the same conditions
8509 --file=FILE[:TEMPLATE]
8510 instantiate the configuration file FILE
8511 --header=FILE[:TEMPLATE]
8512 instantiate the configuration header FILE
8514 Configuration files:
8515 $config_files
8517 Configuration headers:
8518 $config_headers
8520 Configuration commands:
8521 $config_commands
8523 Report bugs to the package provider."
8525 _ACEOF
8526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8527 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8528 ac_cs_version="\\
8529 newlib config.status 4.5.0
8530 configured by $0, generated by GNU Autoconf 2.69,
8531 with options \\"\$ac_cs_config\\"
8533 Copyright (C) 2012 Free Software Foundation, Inc.
8534 This config.status script is free software; the Free Software Foundation
8535 gives unlimited permission to copy, distribute and modify it."
8537 ac_pwd='$ac_pwd'
8538 srcdir='$srcdir'
8539 INSTALL='$INSTALL'
8540 MKDIR_P='$MKDIR_P'
8541 AWK='$AWK'
8542 test -n "\$AWK" || AWK=awk
8543 _ACEOF
8545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8546 # The default lists apply if the user does not specify any file.
8547 ac_need_defaults=:
8548 while test $# != 0
8550 case $1 in
8551 --*=?*)
8552 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8553 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8554 ac_shift=:
8556 --*=)
8557 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8558 ac_optarg=
8559 ac_shift=:
8562 ac_option=$1
8563 ac_optarg=$2
8564 ac_shift=shift
8566 esac
8568 case $ac_option in
8569 # Handling of the options.
8570 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8571 ac_cs_recheck=: ;;
8572 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8573 $as_echo "$ac_cs_version"; exit ;;
8574 --config | --confi | --conf | --con | --co | --c )
8575 $as_echo "$ac_cs_config"; exit ;;
8576 --debug | --debu | --deb | --de | --d | -d )
8577 debug=: ;;
8578 --file | --fil | --fi | --f )
8579 $ac_shift
8580 case $ac_optarg in
8581 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8582 '') as_fn_error $? "missing file argument" ;;
8583 esac
8584 as_fn_append CONFIG_FILES " '$ac_optarg'"
8585 ac_need_defaults=false;;
8586 --header | --heade | --head | --hea )
8587 $ac_shift
8588 case $ac_optarg in
8589 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8590 esac
8591 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8592 ac_need_defaults=false;;
8593 --he | --h)
8594 # Conflict between --help and --header
8595 as_fn_error $? "ambiguous option: \`$1'
8596 Try \`$0 --help' for more information.";;
8597 --help | --hel | -h )
8598 $as_echo "$ac_cs_usage"; exit ;;
8599 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8600 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8601 ac_cs_silent=: ;;
8603 # This is an error.
8604 -*) as_fn_error $? "unrecognized option: \`$1'
8605 Try \`$0 --help' for more information." ;;
8607 *) as_fn_append ac_config_targets " $1"
8608 ac_need_defaults=false ;;
8610 esac
8611 shift
8612 done
8614 ac_configure_extra_args=
8616 if $ac_cs_silent; then
8617 exec 6>/dev/null
8618 ac_configure_extra_args="$ac_configure_extra_args --silent"
8621 _ACEOF
8622 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8623 if \$ac_cs_recheck; then
8624 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8625 shift
8626 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8627 CONFIG_SHELL='$SHELL'
8628 export CONFIG_SHELL
8629 exec "\$@"
8632 _ACEOF
8633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8634 exec 5>>config.log
8636 echo
8637 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8638 ## Running $as_me. ##
8639 _ASBOX
8640 $as_echo "$ac_log"
8641 } >&5
8643 _ACEOF
8644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8646 # INIT-COMMANDS
8649 srcdir="$srcdir"
8650 host="$host"
8651 target="$target"
8652 with_multisubdir="$with_multisubdir"
8653 with_multisrctop="$with_multisrctop"
8654 with_target_subdir="$with_target_subdir"
8655 ac_configure_args="${multilib_arg} ${ac_configure_args}"
8656 multi_basedir="$multi_basedir"
8657 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
8658 CC="$CC"
8659 CXX="$CXX"
8660 GFORTRAN="$GFORTRAN"
8661 GCJ="$GCJ"
8662 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8664 _ACEOF
8666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8668 # Handling of arguments.
8669 for ac_config_target in $ac_config_targets
8671 case $ac_config_target in
8672 "newlib.h") CONFIG_HEADERS="$CONFIG_HEADERS newlib.h:newlib.hin" ;;
8673 "_newlib_version.h") CONFIG_HEADERS="$CONFIG_HEADERS _newlib_version.h:_newlib_version.hin" ;;
8674 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
8675 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8676 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8678 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8679 esac
8680 done
8683 # If the user did not use the arguments to specify the items to instantiate,
8684 # then the envvar interface is used. Set only those that are not.
8685 # We use the long form for the default assignment because of an extremely
8686 # bizarre bug on SunOS 4.1.3.
8687 if $ac_need_defaults; then
8688 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8689 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8690 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8693 # Have a temporary directory for convenience. Make it in the build tree
8694 # simply because there is no reason against having it here, and in addition,
8695 # creating and moving files from /tmp can sometimes cause problems.
8696 # Hook for its removal unless debugging.
8697 # Note that there is a small window in which the directory will not be cleaned:
8698 # after its creation but before its name has been assigned to `$tmp'.
8699 $debug ||
8701 tmp= ac_tmp=
8702 trap 'exit_status=$?
8703 : "${ac_tmp:=$tmp}"
8704 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8706 trap 'as_fn_exit 1' 1 2 13 15
8708 # Create a (secure) tmp directory for tmp files.
8711 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8712 test -d "$tmp"
8713 } ||
8715 tmp=./conf$$-$RANDOM
8716 (umask 077 && mkdir "$tmp")
8717 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8718 ac_tmp=$tmp
8720 # Set up the scripts for CONFIG_FILES section.
8721 # No need to generate them if there are no CONFIG_FILES.
8722 # This happens for instance with `./config.status config.h'.
8723 if test -n "$CONFIG_FILES"; then
8726 ac_cr=`echo X | tr X '\015'`
8727 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8728 # But we know of no other shell where ac_cr would be empty at this
8729 # point, so we can use a bashism as a fallback.
8730 if test "x$ac_cr" = x; then
8731 eval ac_cr=\$\'\\r\'
8733 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8734 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8735 ac_cs_awk_cr='\\r'
8736 else
8737 ac_cs_awk_cr=$ac_cr
8740 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8741 _ACEOF
8745 echo "cat >conf$$subs.awk <<_ACEOF" &&
8746 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8747 echo "_ACEOF"
8748 } >conf$$subs.sh ||
8749 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8750 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8751 ac_delim='%!_!# '
8752 for ac_last_try in false false false false false :; do
8753 . ./conf$$subs.sh ||
8754 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8756 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8757 if test $ac_delim_n = $ac_delim_num; then
8758 break
8759 elif $ac_last_try; then
8760 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8761 else
8762 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8764 done
8765 rm -f conf$$subs.sh
8767 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8768 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8769 _ACEOF
8770 sed -n '
8772 s/^/S["/; s/!.*/"]=/
8775 s/^[^!]*!//
8776 :repl
8777 t repl
8778 s/'"$ac_delim"'$//
8779 t delim
8782 s/\(.\{148\}\)..*/\1/
8783 t more1
8784 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8787 b repl
8788 :more1
8789 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8792 s/.\{148\}//
8793 t nl
8794 :delim
8796 s/\(.\{148\}\)..*/\1/
8797 t more2
8798 s/["\\]/\\&/g; s/^/"/; s/$/"/
8801 :more2
8802 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8805 s/.\{148\}//
8806 t delim
8807 ' <conf$$subs.awk | sed '
8808 /^[^""]/{
8810 s/\n//
8812 ' >>$CONFIG_STATUS || ac_write_fail=1
8813 rm -f conf$$subs.awk
8814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8815 _ACAWK
8816 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8817 for (key in S) S_is_set[key] = 1
8818 FS = "\a"
8822 line = $ 0
8823 nfields = split(line, field, "@")
8824 substed = 0
8825 len = length(field[1])
8826 for (i = 2; i < nfields; i++) {
8827 key = field[i]
8828 keylen = length(key)
8829 if (S_is_set[key]) {
8830 value = S[key]
8831 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8832 len += length(value) + length(field[++i])
8833 substed = 1
8834 } else
8835 len += 1 + keylen
8838 print line
8841 _ACAWK
8842 _ACEOF
8843 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8844 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8845 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8846 else
8848 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8849 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8850 _ACEOF
8852 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8853 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8854 # trailing colons and then remove the whole line if VPATH becomes empty
8855 # (actually we leave an empty line to preserve line numbers).
8856 if test "x$srcdir" = x.; then
8857 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8859 s///
8860 s/^/:/
8861 s/[ ]*$/:/
8862 s/:\$(srcdir):/:/g
8863 s/:\${srcdir}:/:/g
8864 s/:@srcdir@:/:/g
8865 s/^:*//
8866 s/:*$//
8868 s/\(=[ ]*\).*/\1/
8870 s/\n//
8871 s/^[^=]*=[ ]*$//
8875 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8876 fi # test -n "$CONFIG_FILES"
8878 # Set up the scripts for CONFIG_HEADERS section.
8879 # No need to generate them if there are no CONFIG_HEADERS.
8880 # This happens for instance with `./config.status Makefile'.
8881 if test -n "$CONFIG_HEADERS"; then
8882 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
8883 BEGIN {
8884 _ACEOF
8886 # Transform confdefs.h into an awk script `defines.awk', embedded as
8887 # here-document in config.status, that substitutes the proper values into
8888 # config.h.in to produce config.h.
8890 # Create a delimiter string that does not exist in confdefs.h, to ease
8891 # handling of long lines.
8892 ac_delim='%!_!# '
8893 for ac_last_try in false false :; do
8894 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
8895 if test -z "$ac_tt"; then
8896 break
8897 elif $ac_last_try; then
8898 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8899 else
8900 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8902 done
8904 # For the awk script, D is an array of macro values keyed by name,
8905 # likewise P contains macro parameters if any. Preserve backslash
8906 # newline sequences.
8908 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8909 sed -n '
8910 s/.\{148\}/&'"$ac_delim"'/g
8911 t rset
8912 :rset
8913 s/^[ ]*#[ ]*define[ ][ ]*/ /
8914 t def
8916 :def
8917 s/\\$//
8918 t bsnl
8919 s/["\\]/\\&/g
8920 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8921 D["\1"]=" \3"/p
8922 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8924 :bsnl
8925 s/["\\]/\\&/g
8926 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8927 D["\1"]=" \3\\\\\\n"\\/p
8928 t cont
8929 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8930 t cont
8932 :cont
8934 s/.\{148\}/&'"$ac_delim"'/g
8935 t clear
8936 :clear
8937 s/\\$//
8938 t bsnlc
8939 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8941 :bsnlc
8942 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8943 b cont
8944 ' <confdefs.h | sed '
8945 s/'"$ac_delim"'/"\\\
8946 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8949 for (key in D) D_is_set[key] = 1
8950 FS = "\a"
8952 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8953 line = \$ 0
8954 split(line, arg, " ")
8955 if (arg[1] == "#") {
8956 defundef = arg[2]
8957 mac1 = arg[3]
8958 } else {
8959 defundef = substr(arg[1], 2)
8960 mac1 = arg[2]
8962 split(mac1, mac2, "(") #)
8963 macro = mac2[1]
8964 prefix = substr(line, 1, index(line, defundef) - 1)
8965 if (D_is_set[macro]) {
8966 # Preserve the white space surrounding the "#".
8967 print prefix "define", macro P[macro] D[macro]
8968 next
8969 } else {
8970 # Replace #undef with comments. This is necessary, for example,
8971 # in the case of _POSIX_SOURCE, which is predefined and required
8972 # on some systems where configure will not decide to define it.
8973 if (defundef == "undef") {
8974 print "/*", prefix defundef, macro, "*/"
8975 next
8979 { print }
8980 _ACAWK
8981 _ACEOF
8982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8983 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8984 fi # test -n "$CONFIG_HEADERS"
8987 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8988 shift
8989 for ac_tag
8991 case $ac_tag in
8992 :[FHLC]) ac_mode=$ac_tag; continue;;
8993 esac
8994 case $ac_mode$ac_tag in
8995 :[FHL]*:*);;
8996 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8997 :[FH]-) ac_tag=-:-;;
8998 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8999 esac
9000 ac_save_IFS=$IFS
9001 IFS=:
9002 set x $ac_tag
9003 IFS=$ac_save_IFS
9004 shift
9005 ac_file=$1
9006 shift
9008 case $ac_mode in
9009 :L) ac_source=$1;;
9010 :[FH])
9011 ac_file_inputs=
9012 for ac_f
9014 case $ac_f in
9015 -) ac_f="$ac_tmp/stdin";;
9016 *) # Look for the file first in the build tree, then in the source tree
9017 # (if the path is not absolute). The absolute path cannot be DOS-style,
9018 # because $ac_f cannot contain `:'.
9019 test -f "$ac_f" ||
9020 case $ac_f in
9021 [\\/$]*) false;;
9022 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9023 esac ||
9024 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9025 esac
9026 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9027 as_fn_append ac_file_inputs " '$ac_f'"
9028 done
9030 # Let's still pretend it is `configure' which instantiates (i.e., don't
9031 # use $as_me), people would be surprised to read:
9032 # /* config.h. Generated by config.status. */
9033 configure_input='Generated from '`
9034 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9035 `' by configure.'
9036 if test x"$ac_file" != x-; then
9037 configure_input="$ac_file. $configure_input"
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9039 $as_echo "$as_me: creating $ac_file" >&6;}
9041 # Neutralize special characters interpreted by sed in replacement strings.
9042 case $configure_input in #(
9043 *\&* | *\|* | *\\* )
9044 ac_sed_conf_input=`$as_echo "$configure_input" |
9045 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9046 *) ac_sed_conf_input=$configure_input;;
9047 esac
9049 case $ac_tag in
9050 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9051 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9052 esac
9054 esac
9056 ac_dir=`$as_dirname -- "$ac_file" ||
9057 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9058 X"$ac_file" : 'X\(//\)[^/]' \| \
9059 X"$ac_file" : 'X\(//\)$' \| \
9060 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9061 $as_echo X"$ac_file" |
9062 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9063 s//\1/
9066 /^X\(\/\/\)[^/].*/{
9067 s//\1/
9070 /^X\(\/\/\)$/{
9071 s//\1/
9074 /^X\(\/\).*/{
9075 s//\1/
9078 s/.*/./; q'`
9079 as_dir="$ac_dir"; as_fn_mkdir_p
9080 ac_builddir=.
9082 case "$ac_dir" in
9083 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9085 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9086 # A ".." for each directory in $ac_dir_suffix.
9087 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9088 case $ac_top_builddir_sub in
9089 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9090 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9091 esac ;;
9092 esac
9093 ac_abs_top_builddir=$ac_pwd
9094 ac_abs_builddir=$ac_pwd$ac_dir_suffix
9095 # for backward compatibility:
9096 ac_top_builddir=$ac_top_build_prefix
9098 case $srcdir in
9099 .) # We are building in place.
9100 ac_srcdir=.
9101 ac_top_srcdir=$ac_top_builddir_sub
9102 ac_abs_top_srcdir=$ac_pwd ;;
9103 [\\/]* | ?:[\\/]* ) # Absolute name.
9104 ac_srcdir=$srcdir$ac_dir_suffix;
9105 ac_top_srcdir=$srcdir
9106 ac_abs_top_srcdir=$srcdir ;;
9107 *) # Relative name.
9108 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9109 ac_top_srcdir=$ac_top_build_prefix$srcdir
9110 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9111 esac
9112 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9115 case $ac_mode in
9118 # CONFIG_FILE
9121 case $INSTALL in
9122 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9123 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9124 esac
9125 ac_MKDIR_P=$MKDIR_P
9126 case $MKDIR_P in
9127 [\\/$]* | ?:[\\/]* ) ;;
9128 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9129 esac
9130 _ACEOF
9132 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9133 # If the template does not know about datarootdir, expand it.
9134 # FIXME: This hack should be removed a few years after 2.60.
9135 ac_datarootdir_hack=; ac_datarootdir_seen=
9136 ac_sed_dataroot='
9137 /datarootdir/ {
9141 /@datadir@/p
9142 /@docdir@/p
9143 /@infodir@/p
9144 /@localedir@/p
9145 /@mandir@/p'
9146 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9147 *datarootdir*) ac_datarootdir_seen=yes;;
9148 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9150 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9151 _ACEOF
9152 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9153 ac_datarootdir_hack='
9154 s&@datadir@&$datadir&g
9155 s&@docdir@&$docdir&g
9156 s&@infodir@&$infodir&g
9157 s&@localedir@&$localedir&g
9158 s&@mandir@&$mandir&g
9159 s&\\\${datarootdir}&$datarootdir&g' ;;
9160 esac
9161 _ACEOF
9163 # Neutralize VPATH when `$srcdir' = `.'.
9164 # Shell code in configure.ac might set extrasub.
9165 # FIXME: do we really want to maintain this feature?
9166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9167 ac_sed_extra="$ac_vpsub
9168 $extrasub
9169 _ACEOF
9170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9172 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9173 s|@configure_input@|$ac_sed_conf_input|;t t
9174 s&@top_builddir@&$ac_top_builddir_sub&;t t
9175 s&@top_build_prefix@&$ac_top_build_prefix&;t t
9176 s&@srcdir@&$ac_srcdir&;t t
9177 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9178 s&@top_srcdir@&$ac_top_srcdir&;t t
9179 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9180 s&@builddir@&$ac_builddir&;t t
9181 s&@abs_builddir@&$ac_abs_builddir&;t t
9182 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9183 s&@INSTALL@&$ac_INSTALL&;t t
9184 s&@MKDIR_P@&$ac_MKDIR_P&;t t
9185 $ac_datarootdir_hack
9187 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9188 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9190 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9191 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9192 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9193 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9195 which seems to be undefined. Please make sure it is defined" >&5
9196 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9197 which seems to be undefined. Please make sure it is defined" >&2;}
9199 rm -f "$ac_tmp/stdin"
9200 case $ac_file in
9201 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9202 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9203 esac \
9204 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9208 # CONFIG_HEADER
9210 if test x"$ac_file" != x-; then
9212 $as_echo "/* $configure_input */" \
9213 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9214 } >"$ac_tmp/config.h" \
9215 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9216 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9218 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9219 else
9220 rm -f "$ac_file"
9221 mv "$ac_tmp/config.h" "$ac_file" \
9222 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9224 else
9225 $as_echo "/* $configure_input */" \
9226 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9227 || as_fn_error $? "could not create -" "$LINENO" 5
9229 # Compute "$ac_file"'s index in $config_headers.
9230 _am_arg="$ac_file"
9231 _am_stamp_count=1
9232 for _am_header in $config_headers :; do
9233 case $_am_header in
9234 $_am_arg | $_am_arg:* )
9235 break ;;
9237 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9238 esac
9239 done
9240 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9241 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9242 X"$_am_arg" : 'X\(//\)[^/]' \| \
9243 X"$_am_arg" : 'X\(//\)$' \| \
9244 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9245 $as_echo X"$_am_arg" |
9246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9247 s//\1/
9250 /^X\(\/\/\)[^/].*/{
9251 s//\1/
9254 /^X\(\/\/\)$/{
9255 s//\1/
9258 /^X\(\/\).*/{
9259 s//\1/
9262 s/.*/./; q'`/stamp-h$_am_stamp_count
9265 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9266 $as_echo "$as_me: executing $ac_file commands" >&6;}
9268 esac
9271 case $ac_file$ac_mode in
9272 "newlib.h":H) sed -i.tmp -E -e '/^#define [^_]/d' -e '/^\/\* #undef [^_]/d' -e '/_NEWLIB_VERSION|__NEWLIB_(MINOR|PATCHLEVEL)__|__NEWLIB__/d' newlib.h && rm -f newlib.h.tmp ;;
9273 "default-1":C)
9274 # Only add multilib support code if we just rebuilt the top-level
9275 # Makefile.
9276 case " $CONFIG_FILES " in
9277 *" Makefile "*)
9278 ac_file=Makefile . ${multi_basedir}/config-ml.in
9280 esac ;;
9281 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
9282 # Older Autoconf quotes --file arguments for eval, but not when files
9283 # are listed without --file. Let's play safe and only enable the eval
9284 # if we detect the quoting.
9285 case $CONFIG_FILES in
9286 *\'*) eval set x "$CONFIG_FILES" ;;
9287 *) set x $CONFIG_FILES ;;
9288 esac
9289 shift
9290 for mf
9292 # Strip MF so we end up with the name of the file.
9293 mf=`echo "$mf" | sed -e 's/:.*$//'`
9294 # Check whether this is an Automake generated Makefile or not.
9295 # We used to match only the files named 'Makefile.in', but
9296 # some people rename them; so instead we look at the file content.
9297 # Grep'ing the first line is not enough: some people post-process
9298 # each Makefile.in and add a new line on top of each file to say so.
9299 # Grep'ing the whole file is not good either: AIX grep has a line
9300 # limit of 2048, but all sed's we know have understand at least 4000.
9301 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9302 dirpart=`$as_dirname -- "$mf" ||
9303 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9304 X"$mf" : 'X\(//\)[^/]' \| \
9305 X"$mf" : 'X\(//\)$' \| \
9306 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9307 $as_echo X"$mf" |
9308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9309 s//\1/
9312 /^X\(\/\/\)[^/].*/{
9313 s//\1/
9316 /^X\(\/\/\)$/{
9317 s//\1/
9320 /^X\(\/\).*/{
9321 s//\1/
9324 s/.*/./; q'`
9325 else
9326 continue
9328 # Extract the definition of DEPDIR, am__include, and am__quote
9329 # from the Makefile without running 'make'.
9330 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9331 test -z "$DEPDIR" && continue
9332 am__include=`sed -n 's/^am__include = //p' < "$mf"`
9333 test -z "$am__include" && continue
9334 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9335 # Find all dependency output files, they are included files with
9336 # $(DEPDIR) in their names. We invoke sed twice because it is the
9337 # simplest approach to changing $(DEPDIR) to its actual value in the
9338 # expansion.
9339 for file in `sed -n "
9340 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9341 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
9342 # Make sure the directory exists.
9343 test -f "$dirpart/$file" && continue
9344 fdir=`$as_dirname -- "$file" ||
9345 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9346 X"$file" : 'X\(//\)[^/]' \| \
9347 X"$file" : 'X\(//\)$' \| \
9348 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9349 $as_echo X"$file" |
9350 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9351 s//\1/
9354 /^X\(\/\/\)[^/].*/{
9355 s//\1/
9358 /^X\(\/\/\)$/{
9359 s//\1/
9362 /^X\(\/\).*/{
9363 s//\1/
9366 s/.*/./; q'`
9367 as_dir=$dirpart/$fdir; as_fn_mkdir_p
9368 # echo "creating $dirpart/$file"
9369 echo '# dummy' > "$dirpart/$file"
9370 done
9371 done
9375 esac
9376 done # for ac_tag
9379 as_fn_exit 0
9380 _ACEOF
9381 ac_clean_files=$ac_clean_files_save
9383 test $ac_write_fail = 0 ||
9384 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9387 # configure is writing to config.log, and then calls config.status.
9388 # config.status does its own redirection, appending to config.log.
9389 # Unfortunately, on DOS this fails, as config.log is still kept open
9390 # by configure, so config.status won't be able to write to it; its
9391 # output is simply discarded. So we exec the FD to /dev/null,
9392 # effectively closing config.log, so it can be properly (re)opened and
9393 # appended to by config.status. When coming back to configure, we
9394 # need to make the FD available again.
9395 if test "$no_create" != yes; then
9396 ac_cs_success=:
9397 ac_config_status_args=
9398 test "$silent" = yes &&
9399 ac_config_status_args="$ac_config_status_args --quiet"
9400 exec 5>/dev/null
9401 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9402 exec 5>>config.log
9403 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9404 # would make configure fail if this is the last instruction.
9405 $ac_cs_success || as_fn_exit 1
9407 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9409 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}