2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
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 :
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+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
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
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 ||
:
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.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
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
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 :
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+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
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; }
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 :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || 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 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="mmakefile"
586 # Factoring default headers for most tests.
587 ac_includes_default
="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
623 ac_subst_vars
='LTLIBOBJS
627 aros_host_x11_ldflags
639 target_binutils_version
641 ignore_undefined_symbols
653 gcc_default_float_abi
657 aros_nesting_supervisor
668 crosstools_cxx_target
672 aros_kernel_isa_flags
673 aros_optimization_cflags
676 aros_target_strip_flags
684 aros_kernel_objcflags
710 aros_target_cc_includes
726 aros_target_bootloader
756 host_stat_h__unused_used
757 aros_amigaos_compliance
765 aros_target_toolchain
774 kernel_cflags_iquote_end
776 host_cflags_iquote_end
779 aros_target_nostdlib_ldflags
780 aros_target_detach_ldflags
781 aros_target_nix_ldflags
782 aros_target_nostartup_ldflags
783 aros_target_nostdinc_cflags
822 arosconfig_use_libpngconfig
908 program_transform_name
921 enable_option_checking
932 with_kernel_gcc_version
935 enable_target_variant
942 enable_amigaos_compliance
943 with_kernel_toolchain_prefix
944 with_elf_toolchain_prefix
947 with_aros_toolchain_install
948 with_binutils_version
962 enable_palm_debug_hack
964 enable_nesting_supervisor
976 ac_precious_vars
='build_alias
992 # Initialize some variables set by options.
994 ac_init_version
=false
995 ac_unrecognized_opts
=
997 # The variables have the same names as the options, with
998 # dashes changed to underlines.
1006 program_transform_name
=s
,x
,x
,
1014 # Installation directory options.
1015 # These are left unexpanded so users can "make install exec_prefix=/foo"
1016 # and all the variables that are supposed to be based on exec_prefix
1017 # by default will actually change.
1018 # Use braces instead of parens because sh, perl, etc. also accept them.
1019 # (The list follows the same order as the GNU Coding Standards.)
1020 bindir
='${exec_prefix}/bin'
1021 sbindir
='${exec_prefix}/sbin'
1022 libexecdir
='${exec_prefix}/libexec'
1023 datarootdir
='${prefix}/share'
1024 datadir
='${datarootdir}'
1025 sysconfdir
='${prefix}/etc'
1026 sharedstatedir
='${prefix}/com'
1027 localstatedir
='${prefix}/var'
1028 runstatedir
='${localstatedir}/run'
1029 includedir
='${prefix}/include'
1030 oldincludedir
='/usr/include'
1031 docdir
='${datarootdir}/doc/${PACKAGE}'
1032 infodir
='${datarootdir}/info'
1037 libdir
='${exec_prefix}/lib'
1038 localedir
='${datarootdir}/locale'
1039 mandir
='${datarootdir}/man'
1045 # If the previous option needs an argument, assign it.
1046 if test -n "$ac_prev"; then
1047 eval $ac_prev=\
$ac_option
1053 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1058 # Accept the important Cygnus configure options, so we can diagnose typos.
1060 case $ac_dashdash$ac_option in
1064 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1066 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1067 bindir
=$ac_optarg ;;
1069 -build |
--build |
--buil |
--bui |
--bu)
1070 ac_prev
=build_alias
;;
1071 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1072 build_alias
=$ac_optarg ;;
1074 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1075 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1076 ac_prev
=cache_file
;;
1077 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1078 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1079 cache_file
=$ac_optarg ;;
1081 --config-cache |
-C)
1082 cache_file
=config.cache
;;
1084 -datadir |
--datadir |
--datadi |
--datad)
1086 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1087 datadir
=$ac_optarg ;;
1089 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1090 |
--dataroo |
--dataro |
--datar)
1091 ac_prev
=datarootdir
;;
1092 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1093 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1094 datarootdir
=$ac_optarg ;;
1096 -disable-* |
--disable-*)
1097 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1100 as_fn_error $?
"invalid feature name: $ac_useropt"
1101 ac_useropt_orig
=$ac_useropt
1102 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1103 case $ac_user_opts in
1105 "enable_
$ac_useropt"
1107 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1108 ac_unrecognized_sep
=', ';;
1110 eval enable_
$ac_useropt=no
;;
1112 -docdir |
--docdir |
--docdi |
--doc |
--do)
1114 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1115 docdir
=$ac_optarg ;;
1117 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1119 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1120 dvidir
=$ac_optarg ;;
1122 -enable-* |
--enable-*)
1123 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1124 # Reject names that are not valid shell variable names.
1125 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1126 as_fn_error $?
"invalid feature name: $ac_useropt"
1127 ac_useropt_orig
=$ac_useropt
1128 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1129 case $ac_user_opts in
1131 "enable_
$ac_useropt"
1133 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1134 ac_unrecognized_sep
=', ';;
1136 eval enable_
$ac_useropt=\
$ac_optarg ;;
1138 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1139 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1140 |
--exec |
--exe |
--ex)
1141 ac_prev
=exec_prefix
;;
1142 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1143 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1144 |
--exec=* |
--exe=* |
--ex=*)
1145 exec_prefix
=$ac_optarg ;;
1147 -gas |
--gas |
--ga |
--g)
1148 # Obsolete; use --with-gas.
1151 -help |
--help |
--hel |
--he |
-h)
1152 ac_init_help
=long
;;
1153 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1154 ac_init_help
=recursive
;;
1155 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1156 ac_init_help
=short
;;
1158 -host |
--host |
--hos |
--ho)
1159 ac_prev
=host_alias
;;
1160 -host=* |
--host=* |
--hos=* |
--ho=*)
1161 host_alias
=$ac_optarg ;;
1163 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1165 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1167 htmldir
=$ac_optarg ;;
1169 -includedir |
--includedir |
--includedi |
--included |
--include \
1170 |
--includ |
--inclu |
--incl |
--inc)
1171 ac_prev
=includedir
;;
1172 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1173 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1174 includedir
=$ac_optarg ;;
1176 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1178 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1179 infodir
=$ac_optarg ;;
1181 -libdir |
--libdir |
--libdi |
--libd)
1183 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1184 libdir
=$ac_optarg ;;
1186 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1187 |
--libexe |
--libex |
--libe)
1188 ac_prev
=libexecdir
;;
1189 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1190 |
--libexe=* |
--libex=* |
--libe=*)
1191 libexecdir
=$ac_optarg ;;
1193 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1194 ac_prev
=localedir
;;
1195 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1196 localedir
=$ac_optarg ;;
1198 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1199 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1200 ac_prev
=localstatedir
;;
1201 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1202 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1203 localstatedir
=$ac_optarg ;;
1205 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1207 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1208 mandir
=$ac_optarg ;;
1210 -nfp |
--nfp |
--nf)
1211 # Obsolete; use --without-fp.
1214 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1215 |
--no-cr |
--no-c |
-n)
1218 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1219 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1222 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1223 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1224 |
--oldin |
--oldi |
--old |
--ol |
--o)
1225 ac_prev
=oldincludedir
;;
1226 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1227 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1228 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1229 oldincludedir
=$ac_optarg ;;
1231 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1233 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1234 prefix
=$ac_optarg ;;
1236 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1237 |
--program-pre |
--program-pr |
--program-p)
1238 ac_prev
=program_prefix
;;
1239 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1240 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1241 program_prefix
=$ac_optarg ;;
1243 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1244 |
--program-suf |
--program-su |
--program-s)
1245 ac_prev
=program_suffix
;;
1246 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1247 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1248 program_suffix
=$ac_optarg ;;
1250 -program-transform-name |
--program-transform-name \
1251 |
--program-transform-nam |
--program-transform-na \
1252 |
--program-transform-n |
--program-transform- \
1253 |
--program-transform |
--program-transfor \
1254 |
--program-transfo |
--program-transf \
1255 |
--program-trans |
--program-tran \
1256 |
--progr-tra |
--program-tr |
--program-t)
1257 ac_prev
=program_transform_name
;;
1258 -program-transform-name=* |
--program-transform-name=* \
1259 |
--program-transform-nam=* |
--program-transform-na=* \
1260 |
--program-transform-n=* |
--program-transform-=* \
1261 |
--program-transform=* |
--program-transfor=* \
1262 |
--program-transfo=* |
--program-transf=* \
1263 |
--program-trans=* |
--program-tran=* \
1264 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1265 program_transform_name
=$ac_optarg ;;
1267 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1269 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1270 pdfdir
=$ac_optarg ;;
1272 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1274 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1277 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1278 |
-silent |
--silent |
--silen |
--sile |
--sil)
1281 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1282 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1283 |
--run |
--ru |
--r)
1284 ac_prev
=runstatedir
;;
1285 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1286 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1287 |
--run=* |
--ru=* |
--r=*)
1288 runstatedir
=$ac_optarg ;;
1290 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1292 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1294 sbindir
=$ac_optarg ;;
1296 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1297 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1298 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1300 ac_prev
=sharedstatedir
;;
1301 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1302 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1303 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1305 sharedstatedir
=$ac_optarg ;;
1307 -site |
--site |
--sit)
1309 -site=* |
--site=* |
--sit=*)
1312 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1314 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1315 srcdir
=$ac_optarg ;;
1317 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1318 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1319 ac_prev
=sysconfdir
;;
1320 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1321 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1322 sysconfdir
=$ac_optarg ;;
1324 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1325 ac_prev
=target_alias
;;
1326 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1327 target_alias
=$ac_optarg ;;
1329 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1332 -version |
--version |
--versio |
--versi |
--vers |
-V)
1333 ac_init_version
=: ;;
1336 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1337 # Reject names that are not valid shell variable names.
1338 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1339 as_fn_error $?
"invalid package name: $ac_useropt"
1340 ac_useropt_orig
=$ac_useropt
1341 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1342 case $ac_user_opts in
1346 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1347 ac_unrecognized_sep
=', ';;
1349 eval with_
$ac_useropt=\
$ac_optarg ;;
1351 -without-* |
--without-*)
1352 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1353 # Reject names that are not valid shell variable names.
1354 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1355 as_fn_error $?
"invalid package name: $ac_useropt"
1356 ac_useropt_orig
=$ac_useropt
1357 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1358 case $ac_user_opts in
1362 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1363 ac_unrecognized_sep
=', ';;
1365 eval with_
$ac_useropt=no
;;
1368 # Obsolete; use --with-x.
1371 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1372 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1373 ac_prev
=x_includes
;;
1374 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1375 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1376 x_includes
=$ac_optarg ;;
1378 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1379 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1380 ac_prev
=x_libraries
;;
1381 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1382 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1383 x_libraries
=$ac_optarg ;;
1385 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1386 Try \`$0 --help' for more information"
1390 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1391 # Reject names that are not valid shell variable names.
1392 case $ac_envvar in #(
1393 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1394 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1396 eval $ac_envvar=\
$ac_optarg
1397 export $ac_envvar ;;
1400 # FIXME: should be removed in autoconf 3.0.
1401 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1402 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1403 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1404 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1410 if test -n "$ac_prev"; then
1411 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1412 as_fn_error $?
"missing argument to $ac_option"
1415 if test -n "$ac_unrecognized_opts"; then
1416 case $enable_option_checking in
1418 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1419 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1423 # Check all directory arguments for consistency.
1424 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1425 datadir sysconfdir sharedstatedir localstatedir includedir \
1426 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1427 libdir localedir mandir runstatedir
1429 eval ac_val
=\$
$ac_var
1430 # Remove trailing slashes.
1433 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1434 eval $ac_var=\
$ac_val;;
1436 # Be sure to have absolute directory names.
1438 [\\/$
]* | ?
:[\\/]* ) continue;;
1439 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1441 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1444 # There might be people who depend on the old broken behavior: `$host'
1445 # used to hold the argument of --host etc.
1446 # FIXME: To remove some day.
1449 target
=$target_alias
1451 # FIXME: To remove some day.
1452 if test "x$host_alias" != x
; then
1453 if test "x$build_alias" = x
; then
1454 cross_compiling
=maybe
1455 elif test "x$build_alias" != "x$host_alias"; then
1461 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1463 test "$silent" = yes && exec 6>/dev
/null
1466 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1467 ac_ls_di
=`ls -di .` &&
1468 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1469 as_fn_error $?
"working directory cannot be determined"
1470 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1471 as_fn_error $?
"pwd does not report name of working directory"
1474 # Find the source files, if location was not specified.
1475 if test -z "$srcdir"; then
1476 ac_srcdir_defaulted
=yes
1477 # Try the directory containing this script, then the parent directory.
1478 ac_confdir
=`$as_dirname -- "$as_myself" ||
1479 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1480 X"$as_myself" : 'X\(//\)[^/]' \| \
1481 X"$as_myself" : 'X\(//\)$' \| \
1482 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1483 $as_echo X"$as_myself" |
1484 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1502 if test ! -r "$srcdir/$ac_unique_file"; then
1506 ac_srcdir_defaulted
=no
1508 if test ! -r "$srcdir/$ac_unique_file"; then
1509 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1510 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1512 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1514 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1516 # When building in place, set srcdir=.
1517 if test "$ac_abs_confdir" = "$ac_pwd"; then
1520 # Remove unnecessary trailing slashes from srcdir.
1521 # Double slashes in file names in object file debugging info
1522 # mess up M-x gdb in Emacs.
1524 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1526 for ac_var
in $ac_precious_vars; do
1527 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1528 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1529 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1530 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1534 # Report the --help message.
1536 if test "$ac_init_help" = "long"; then
1537 # Omit some internal or obsolete options to make the list less imposing.
1538 # This message is too long to be a string in the A/UX 3.1 sh.
1540 \`configure' configures this package to adapt to many kinds of systems.
1542 Usage: $0 [OPTION]... [VAR=VALUE]...
1544 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1545 VAR=VALUE. See below for descriptions of some of the useful variables.
1547 Defaults for the options are specified in brackets.
1550 -h, --help display this help and exit
1551 --help=short display options specific to this package
1552 --help=recursive display the short help of all the included packages
1553 -V, --version display version information and exit
1554 -q, --quiet, --silent do not print \`checking ...' messages
1555 --cache-file=FILE cache test results in FILE [disabled]
1556 -C, --config-cache alias for \`--cache-file=config.cache'
1557 -n, --no-create do not create output files
1558 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1560 Installation directories:
1561 --prefix=PREFIX install architecture-independent files in PREFIX
1562 [$ac_default_prefix]
1563 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1566 By default, \`make install' will install all the files in
1567 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1568 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1569 for instance \`--prefix=\$HOME'.
1571 For better control, use the options below.
1573 Fine tuning of the installation directories:
1574 --bindir=DIR user executables [EPREFIX/bin]
1575 --sbindir=DIR system admin executables [EPREFIX/sbin]
1576 --libexecdir=DIR program executables [EPREFIX/libexec]
1577 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1578 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1579 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1580 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1581 --libdir=DIR object code libraries [EPREFIX/lib]
1582 --includedir=DIR C header files [PREFIX/include]
1583 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1584 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1585 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1586 --infodir=DIR info documentation [DATAROOTDIR/info]
1587 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1588 --mandir=DIR man documentation [DATAROOTDIR/man]
1589 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1590 --htmldir=DIR html documentation [DOCDIR]
1591 --dvidir=DIR dvi documentation [DOCDIR]
1592 --pdfdir=DIR pdf documentation [DOCDIR]
1593 --psdir=DIR ps documentation [DOCDIR]
1599 --x-includes=DIR X include files are
in DIR
1600 --x-libraries=DIR X library files are
in DIR
1603 --build=BUILD configure
for building on BUILD
[guessed
]
1604 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1608 if test -n "$ac_init_help"; then
1613 --disable-option-checking ignore unrecognized
--enable/--with options
1614 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1615 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1616 --disable-libpng-config disable libpng-config
test and configuration
1617 --enable-lto=yes|no Enable link
time optimizations
if the target
1618 compiler supports them
(default
=no
)
1619 --enable-coverage=yes|no
1620 Enable coverage instrumentation
if the target
1621 compiler supports it
(default
=no
)
1622 --enable-build-type=TYPE
1623 Select the build
type. Available types are
:
1624 personal
, nightly
, snapshot
, milestone
, release. Do
1625 NOT use this option unless you know what you are
1626 doing
! (default
=personal
)
1627 --enable-debug=list Enable different types of debug. Commas or
1628 whitespaces can be used to separate the items
in the
1629 list. Available types of debug are
: all
, none
,
1630 messages
, stack
, mungwall
, modules
, symbols. If no
1631 list is provided
then "all" is assumed.
1633 --enable-distcc Use distcc as a front end to the compiler
1635 --enable-ccache Use ccache as a front end to the compiler
1637 --enable-target-variant=NAME
1638 Enable a specific target variant
(default
=none
)
1639 --enable-amigaos-compliance=VERSION
1640 Enforce userspace AmigaOS compliance to a specific
1641 KickStart version
(default
=none
).
1642 --disable-crosstools Do not build cross-compiler toolchain
1643 --enable-objc Enable Objectve-C support
(default
=no
)
1644 --enable-java Enable Java support
(default
=no
)
1645 --enable-includes=dir Alternative system include directory
1646 --enable-palm-debug-hack
1647 Enable palm debug output hack
in palm native
1649 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1650 --enable-nesting-supervisor
1651 Enable nesting supervisor support
in unix
1653 --disable-mmu Disable MMU support
(default
=enabled
)
1654 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1655 --enable-x11-shm use X11 shared memory
(default
=auto
)
1656 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1657 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1658 --disable-sdltest Do not try to compile and run a
test SDL program
1659 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1662 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1663 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1664 --with-c-compiler=VERSION
1665 Use specified c compiler
for building AROS
1666 --with-cxx-compiler=VERSION
1667 Use specified c
++ compiler building AROS
1668 --with-toolchain=family Which toolchain family to crosscompile with
1670 --with-kernel-gcc-version=VERSION
1671 Use gcc-VERSION
for building bootstrap
1672 --with-optimization=FLAGS
1673 Use optimization flags FLAGS
(e.g
1674 --with-optimization=-O2).
1675 --with-paranoia=(yes|no|FLAGS
)
1676 Specific compiler warning FLAGS to
enable for
1677 paranoia builds
(default
=-Wall -Werror)
1678 --with-xcode=PATH Specify XCode path
for iOS targets
1679 (default
=/Developer
).
1680 --with-sdk-version=VERSION
1681 Use iOS SDK version VERSION
(default
=4.1).
1682 --with-sdk=PATH Specify Android SDK path
1683 (default
=$default_android_sdk).
1684 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1685 --with-sdk-version=LEVEL
1686 Use Android SDK
for API LEVEL
(default
=12).
1687 --with-ndk-version=LEVEL
1688 Use Android NDK
for API LEVEL
(default
=9).
1689 --with-apk-version=(release|debug
)
1690 Which version of AROSBootstrap.apk to compile.
1691 Release version needs key
for signing
, debug version
1692 will only run
in emulator.
(default
=release
)
1693 --with-kernel-toolchain-prefix=...
1694 Specify crosscompile toolchain prefix
for kernel
1696 --with-elf-toolchain-prefix=...
1697 Specify crosscompile toolchain prefix to wrap
for
1699 --with-aros-toolchain=PREFIX
1700 Specify prebuilt AROS toolchain. Use
yes for default
1702 --with-aros-toolchain-install=DIR
1703 Where to
install or search
for cross tools binaries
1704 --with-binutils-version=VERSION
1705 Use binutils-VERSION
for building AROS
1706 --with-gcc-version=VERSION
1707 Compile gcc-VERSION
for AROS
1708 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1709 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1710 --with-float=<spec
> Specify floating point ABI
1711 (default
=$gcc_default_float_abi).
1712 --with-portssources=DIR Where to download sourcecode
for external ports
1713 --with-bootloader=NAME Use a specific bootloader
1714 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1715 --with-theme=NAME Use a specific GUI Theme
1716 --with-resolution=XRESxYRESxDEPTH
1717 Default resolution of the initial WorkbenchScreen
1718 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1719 --with-x use the X Window System
1720 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1721 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1723 Some influential environment variables
:
1724 CXX C
++ compiler
command
1725 CXXFLAGS C
++ compiler flags
1726 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1727 nonstandard directory
<lib dir
>
1728 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1729 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1730 you have headers
in a nonstandard directory
<include dir
>
1731 CC C compiler
command
1732 CFLAGS C compiler flags
1734 PYTHON the Python interpreter
1735 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1737 Use these variables to override the choices made by
`configure' or to help
1738 it to find libraries and programs with nonstandard names/locations.
1740 Report bugs to the package provider.
1745 if test "$ac_init_help" = "recursive"; then
1746 # If there are subdirs, report their specific --help.
1747 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1748 test -d "$ac_dir" ||
1749 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1754 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1756 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1757 # A ".." for each directory in $ac_dir_suffix.
1758 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1759 case $ac_top_builddir_sub in
1760 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1761 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1764 ac_abs_top_builddir=$ac_pwd
1765 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1766 # for backward compatibility:
1767 ac_top_builddir=$ac_top_build_prefix
1770 .) # We are building in place.
1772 ac_top_srcdir=$ac_top_builddir_sub
1773 ac_abs_top_srcdir=$ac_pwd ;;
1774 [\\/]* | ?:[\\/]* ) # Absolute name.
1775 ac_srcdir=$srcdir$ac_dir_suffix;
1776 ac_top_srcdir=$srcdir
1777 ac_abs_top_srcdir=$srcdir ;;
1779 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1780 ac_top_srcdir=$ac_top_build_prefix$srcdir
1781 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1783 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1785 cd "$ac_dir" || { ac_status=$?; continue; }
1786 # Check for guested configure.
1787 if test -f "$ac_srcdir/configure.gnu"; then
1789 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1790 elif test -f "$ac_srcdir/configure"; then
1792 $SHELL "$ac_srcdir/configure" --help=recursive
1794 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1796 cd "$ac_pwd" || { ac_status=$?; break; }
1800 test -n "$ac_init_help" && exit $ac_status
1801 if $ac_init_version; then
1804 generated by GNU Autoconf 2.69
1806 Copyright (C) 2012 Free Software Foundation, Inc.
1807 This configure script is free software; the Free Software Foundation
1808 gives unlimited permission to copy, distribute and modify it.
1813 ## ------------------------ ##
1814 ## Autoconf initialization. ##
1815 ## ------------------------ ##
1817 # ac_fn_cxx_try_compile LINENO
1818 # ----------------------------
1819 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1820 ac_fn_cxx_try_compile ()
1822 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1823 rm -f conftest.$ac_objext
1824 if { { ac_try="$ac_compile"
1826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1827 *) ac_try_echo
=$ac_try;;
1829 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1830 $as_echo "$ac_try_echo"; } >&5
1831 (eval "$ac_compile") 2>conftest.err
1833 if test -s conftest.err
; then
1834 grep -v '^ *+' conftest.err
>conftest.er1
1835 cat conftest.er1
>&5
1836 mv -f conftest.er1 conftest.err
1838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1839 test $ac_status = 0; } && {
1840 test -z "$ac_cxx_werror_flag" ||
1841 test ! -s conftest.err
1842 } && test -s conftest.
$ac_objext; then :
1845 $as_echo "$as_me: failed program was:" >&5
1846 sed 's/^/| /' conftest.
$ac_ext >&5
1850 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1851 as_fn_set_status
$ac_retval
1853 } # ac_fn_cxx_try_compile
1855 # ac_fn_c_try_compile LINENO
1856 # --------------------------
1857 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1858 ac_fn_c_try_compile
()
1860 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1861 rm -f conftest.
$ac_objext
1862 if { { ac_try
="$ac_compile"
1864 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1865 *) ac_try_echo=$ac_try;;
1867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1868 $as_echo "$ac_try_echo"; } >&5
1869 (eval "$ac_compile") 2>conftest.err
1871 if test -s conftest.err; then
1872 grep -v '^ *+' conftest.err >conftest.er1
1873 cat conftest.er1 >&5
1874 mv -f conftest.er1 conftest.err
1876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1877 test $ac_status = 0; } && {
1878 test -z "$ac_c_werror_flag" ||
1879 test ! -s conftest.err
1880 } && test -s conftest.$ac_objext; then :
1883 $as_echo "$as_me: failed program was:" >&5
1884 sed 's/^/| /' conftest.$ac_ext >&5
1888 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1889 as_fn_set_status $ac_retval
1891 } # ac_fn_c_try_compile
1893 # ac_fn_c_try_cpp LINENO
1894 # ----------------------
1895 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1898 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1899 if { { ac_try="$ac_cpp conftest.$ac_ext"
1901 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1902 *) ac_try_echo
=$ac_try;;
1904 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1905 $as_echo "$ac_try_echo"; } >&5
1906 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1908 if test -s conftest.err
; then
1909 grep -v '^ *+' conftest.err
>conftest.er1
1910 cat conftest.er1
>&5
1911 mv -f conftest.er1 conftest.err
1913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1914 test $ac_status = 0; } > conftest.i
&& {
1915 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1916 test ! -s conftest.err
1920 $as_echo "$as_me: failed program was:" >&5
1921 sed 's/^/| /' conftest.
$ac_ext >&5
1925 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1926 as_fn_set_status
$ac_retval
1930 # ac_fn_c_try_link LINENO
1931 # -----------------------
1932 # Try to link conftest.$ac_ext, and return whether this succeeded.
1935 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1936 rm -f conftest.
$ac_objext conftest
$ac_exeext
1937 if { { ac_try
="$ac_link"
1939 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1940 *) ac_try_echo=$ac_try;;
1942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1943 $as_echo "$ac_try_echo"; } >&5
1944 (eval "$ac_link") 2>conftest.err
1946 if test -s conftest.err; then
1947 grep -v '^ *+' conftest.err >conftest.er1
1948 cat conftest.er1 >&5
1949 mv -f conftest.er1 conftest.err
1951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1952 test $ac_status = 0; } && {
1953 test -z "$ac_c_werror_flag" ||
1954 test ! -s conftest.err
1955 } && test -s conftest$ac_exeext && {
1956 test "$cross_compiling" = yes ||
1957 test -x conftest$ac_exeext
1961 $as_echo "$as_me: failed program was:" >&5
1962 sed 's/^/| /' conftest.$ac_ext >&5
1966 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1967 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1968 # interfere with the next link command; also delete a directory that is
1969 # left behind by Apple's compiler. We do this before executing the actions.
1970 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972 as_fn_set_status $ac_retval
1974 } # ac_fn_c_try_link
1976 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1977 # -------------------------------------------------------
1978 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1979 # the include files in INCLUDES and setting the cache variable VAR
1981 ac_fn_c_check_header_mongrel ()
1983 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1984 if eval \${$3+:} false; then :
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1986 $as_echo_n "checking for $2... " >&6; }
1987 if eval \${$3+:} false; then :
1988 $as_echo_n "(cached) " >&6
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1992 $as_echo "$ac_res" >&6; }
1994 # Is the header compilable?
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1996 $as_echo_n "checking $2 usability... " >&6; }
1997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1998 /* end confdefs.h. */
2002 if ac_fn_c_try_compile "$LINENO"; then :
2003 ac_header_compiler=yes
2005 ac_header_compiler=no
2007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2009 $as_echo "$ac_header_compiler" >&6; }
2011 # Is the header present?
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2013 $as_echo_n "checking $2 presence... " >&6; }
2014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2015 /* end confdefs.h. */
2018 if ac_fn_c_try_cpp "$LINENO"; then :
2019 ac_header_preproc=yes
2021 ac_header_preproc=no
2023 rm -f conftest.err conftest.i conftest.$ac_ext
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2025 $as_echo "$ac_header_preproc" >&6; }
2027 # So? What about this header?
2028 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2031 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2033 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2037 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2039 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2041 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2043 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2045 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2049 $as_echo_n "checking for $2... " >&6; }
2050 if eval \${$3+:} false; then :
2051 $as_echo_n "(cached) " >&6
2053 eval "$3=\$ac_header_compiler"
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2057 $as_echo "$ac_res" >&6; }
2059 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2061 } # ac_fn_c_check_header_mongrel
2063 # ac_fn_c_try_run LINENO
2064 # ----------------------
2065 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2066 # that executables *can* be run.
2069 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2070 if { { ac_try="$ac_link"
2072 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2073 *) ac_try_echo
=$ac_try;;
2075 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2076 $as_echo "$ac_try_echo"; } >&5
2077 (eval "$ac_link") 2>&5
2079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2080 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2081 { { case "(($ac_try" in
2082 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2083 *) ac_try_echo=$ac_try;;
2085 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2086 $as_echo "$ac_try_echo"; } >&5
2087 (eval "$ac_try") 2>&5
2089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2090 test $ac_status = 0; }; }; then :
2093 $as_echo "$as_me: program exited with status $ac_status" >&5
2094 $as_echo "$as_me: failed program was:" >&5
2095 sed 's/^/| /' conftest.$ac_ext >&5
2097 ac_retval=$ac_status
2099 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2100 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2101 as_fn_set_status $ac_retval
2105 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2106 # -------------------------------------------------------
2107 # Tests whether HEADER exists and can be compiled using the include files in
2108 # INCLUDES, setting the cache variable VAR accordingly.
2109 ac_fn_c_check_header_compile ()
2111 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2113 $as_echo_n "checking for $2... " >&6; }
2114 if eval \${$3+:} false; then :
2115 $as_echo_n "(cached) " >&6
2117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2118 /* end confdefs.h. */
2122 if ac_fn_c_try_compile "$LINENO"; then :
2127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2131 $as_echo "$ac_res" >&6; }
2132 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2134 } # ac_fn_c_check_header_compile
2136 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2137 # ----------------------------------------------------
2138 # Tries to find if the field MEMBER exists in type AGGR, after including
2139 # INCLUDES, setting cache variable VAR accordingly.
2140 ac_fn_c_check_member ()
2142 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2144 $as_echo_n "checking for $2.$3... " >&6; }
2145 if eval \${$4+:} false; then :
2146 $as_echo_n "(cached) " >&6
2148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2149 /* end confdefs.h. */
2161 if ac_fn_c_try_compile "$LINENO"; then :
2164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2165 /* end confdefs.h. */
2171 if (sizeof ac_aggr.$3)
2177 if ac_fn_c_try_compile "$LINENO"; then :
2182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2188 $as_echo "$ac_res" >&6; }
2189 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2191 } # ac_fn_c_check_member
2193 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2194 # ---------------------------------------------
2195 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2197 ac_fn_c_check_decl ()
2199 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2200 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2201 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2203 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2204 if eval \${$3+:} false; then :
2205 $as_echo_n "(cached) " >&6
2207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2208 /* end confdefs.h. */
2213 #ifndef $as_decl_name
2215 (void) $as_decl_use;
2217 (void) $as_decl_name;
2225 if ac_fn_c_try_compile "$LINENO"; then :
2230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2234 $as_echo "$ac_res" >&6; }
2235 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2237 } # ac_fn_c_check_decl
2239 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2240 # -------------------------------------------
2241 # Tests whether TYPE exists after having included INCLUDES, setting cache
2242 # variable VAR accordingly.
2243 ac_fn_c_check_type ()
2245 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2247 $as_echo_n "checking for $2... " >&6; }
2248 if eval \${$3+:} false; then :
2249 $as_echo_n "(cached) " >&6
2252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2253 /* end confdefs.h. */
2264 if ac_fn_c_try_compile "$LINENO"; then :
2265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2266 /* end confdefs.h. */
2277 if ac_fn_c_try_compile "$LINENO"; then :
2282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2288 $as_echo "$ac_res" >&6; }
2289 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2291 } # ac_fn_c_check_type
2293 # ac_fn_c_check_func LINENO FUNC VAR
2294 # ----------------------------------
2295 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2296 ac_fn_c_check_func ()
2298 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2300 $as_echo_n "checking for $2... " >&6; }
2301 if eval \${$3+:} false; then :
2302 $as_echo_n "(cached) " >&6
2304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2305 /* end confdefs.h. */
2306 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2308 #define $2 innocuous_$2
2310 /* System header to define __stub macros and hopefully few prototypes,
2311 which can conflict with char $2 (); below.
2312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2313 <limits.h> exists even on freestanding compilers. */
2316 # include <limits.h>
2318 # include <assert.h>
2323 /* Override any GCC internal prototype to avoid an error.
2324 Use char because int might match the return type of a GCC
2325 builtin and then its argument prototype would still apply. */
2330 /* The GNU C library defines this for functions which it implements
2331 to always fail with ENOSYS. Some functions are actually named
2332 something starting with __ and the normal name is an alias. */
2333 #if defined __stub_$2 || defined __stub___$2
2345 if ac_fn_c_try_link "$LINENO"; then :
2350 rm -f core conftest.err conftest.$ac_objext \
2351 conftest$ac_exeext conftest.$ac_ext
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2355 $as_echo "$ac_res" >&6; }
2356 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2358 } # ac_fn_c_check_func
2359 cat >config.log <<_ACEOF
2360 This file contains any messages produced by compilers while
2361 running configure, to aid debugging if configure makes a mistake.
2363 It was created by $as_me, which was
2364 generated by GNU Autoconf 2.69. Invocation command line was
2376 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2377 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2378 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2379 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2380 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2382 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2383 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2385 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2386 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2387 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2388 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2389 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2390 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2391 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2399 test -z "$as_dir" && as_dir=.
2400 $as_echo "PATH: $as_dir"
2416 # Keep a trace of the command line.
2417 # Strip out --no-create and --no-recursion so they do not pile up.
2418 # Strip out --silent because we don't want to record it for future runs.
2419 # Also quote any args containing shell meta-characters.
2420 # Make two passes to allow for proper duplicate-argument suppression.
2424 ac_must_keep_next=false
2430 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2431 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2432 | -silent | --silent | --silen | --sile | --sil)
2435 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2438 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2440 as_fn_append ac_configure_args1 " '$ac_arg'"
2441 if test $ac_must_keep_next = true; then
2442 ac_must_keep_next=false # Got value, back to normal.
2445 *=* | --config-cache | -C | -disable-* | --disable-* \
2446 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2447 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2448 | -with-* | --with-* | -without-* | --without-* | --x)
2449 case "$ac_configure_args0 " in
2450 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2453 -* ) ac_must_keep_next=true ;;
2456 as_fn_append ac_configure_args " '$ac_arg'"
2461 { ac_configure_args0=; unset ac_configure_args0;}
2462 { ac_configure_args1=; unset ac_configure_args1;}
2464 # When interrupted or exit'd, cleanup temporary files, and complete
2465 # config.log. We remove comments because anyway the quotes in there
2466 # would cause problems or look ugly.
2467 # WARNING: Use '\'' to represent an apostrophe within the trap.
2468 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2469 trap 'exit_status=$?
2470 # Save into config.log some information that might help in debugging.
2474 $as_echo "## ---------------- ##
2475 ## Cache variables. ##
2476 ## ---------------- ##"
2478 # The following way of writing the cache mishandles newlines in values,
2480 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2481 eval ac_val=\$$ac_var
2485 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2486 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2489 _ | IFS | as_nl) ;; #(
2490 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2491 *) { eval $ac_var=; unset $ac_var;} ;;
2496 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2497 *${as_nl}ac_space=\ *)
2499 "s/'\''/'\''\\\\'\'''\''/g;
2500 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2503 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2510 $as_echo "## ----------------- ##
2511 ## Output variables. ##
2512 ## ----------------- ##"
2514 for ac_var in $ac_subst_vars
2516 eval ac_val=\$$ac_var
2518 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2520 $as_echo "$ac_var='\''$ac_val'\''"
2524 if test -n "$ac_subst_files"; then
2525 $as_echo "## ------------------- ##
2526 ## File substitutions. ##
2527 ## ------------------- ##"
2529 for ac_var in $ac_subst_files
2531 eval ac_val=\$$ac_var
2533 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2535 $as_echo "$ac_var='\''$ac_val'\''"
2540 if test -s confdefs.h; then
2541 $as_echo "## ----------- ##
2548 test "$ac_signal" != 0 &&
2549 $as_echo "$as_me: caught signal $ac_signal"
2550 $as_echo "$as_me: exit $exit_status"
2552 rm -f core *.core core.conftest.* &&
2553 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2556 for ac_signal in 1 2 13 15; do
2557 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2561 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2562 rm -f -r conftest* confdefs.h
2564 $as_echo "/* confdefs.h */" > confdefs.h
2566 # Predefined preprocessor variables.
2568 cat >>confdefs.h <<_ACEOF
2569 #define PACKAGE_NAME "$PACKAGE_NAME"
2572 cat >>confdefs.h <<_ACEOF
2573 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2576 cat >>confdefs.h <<_ACEOF
2577 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2580 cat >>confdefs.h <<_ACEOF
2581 #define PACKAGE_STRING "$PACKAGE_STRING"
2584 cat >>confdefs.h <<_ACEOF
2585 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2588 cat >>confdefs.h <<_ACEOF
2589 #define PACKAGE_URL "$PACKAGE_URL"
2593 # Let the site file select an alternate cache file if it wants to.
2594 # Prefer an explicitly selected file to automatically selected ones.
2597 if test -n "$CONFIG_SITE"; then
2598 # We do not want a PATH search for config.site.
2599 case $CONFIG_SITE in #((
2600 -*) ac_site_file1=./$CONFIG_SITE;;
2601 */*) ac_site_file1=$CONFIG_SITE;;
2602 *) ac_site_file1=./$CONFIG_SITE;;
2604 elif test "x$prefix" != xNONE; then
2605 ac_site_file1=$prefix/share/config.site
2606 ac_site_file2=$prefix/etc/config.site
2608 ac_site_file1=$ac_default_prefix/share/config.site
2609 ac_site_file2=$ac_default_prefix/etc/config.site
2611 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2613 test "x$ac_site_file" = xNONE && continue
2614 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2616 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2617 sed 's/^/| /' "$ac_site_file" >&5
2619 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2621 as_fn_error $? "failed to load site
script $ac_site_file
2622 See \
`config.log' for more details" "$LINENO" 5; }
2626 if test -r "$cache_file"; then
2627 # Some versions of bash will fail to source /dev/null (special files
2628 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2629 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2631 $as_echo "$as_me: loading cache $cache_file" >&6;}
2633 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2634 *) . "./$cache_file";;
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2639 $as_echo "$as_me: creating cache $cache_file" >&6;}
2643 as_fn_append ac_header_list " stdlib.h"
2644 as_fn_append ac_header_list " unistd.h"
2645 as_fn_append ac_header_list " sys/param.h"
2646 # Check that the precious variables saved in the cache have kept the same
2648 ac_cache_corrupted=false
2649 for ac_var in $ac_precious_vars; do
2650 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2651 eval ac_new_set=\$ac_env_${ac_var}_set
2652 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2653 eval ac_new_val=\$ac_env_${ac_var}_value
2654 case $ac_old_set,$ac_new_set in
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2657 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2658 ac_cache_corrupted=: ;;
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2661 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2662 ac_cache_corrupted=: ;;
2665 if test "x$ac_old_val" != "x$ac_new_val"; then
2666 # differences in whitespace do not lead to failure.
2667 ac_old_val_w=`echo x
$ac_old_val`
2668 ac_new_val_w=`echo x
$ac_new_val`
2669 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2671 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2672 ac_cache_corrupted=:
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2675 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2676 eval $ac_var=\$ac_old_val
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2679 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2681 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2684 # Pass precious variables to config.status.
2685 if test "$ac_new_set" = set; then
2687 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2688 *) ac_arg=$ac_var=$ac_new_val ;;
2690 case " $ac_configure_args " in
2691 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2692 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2696 if $ac_cache_corrupted; then
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2700 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2701 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2703 ## -------------------- ##
2704 ## Main body of script. ##
2705 ## -------------------- ##
2708 ac_cpp='$CPP $CPPFLAGS'
2709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2716 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2717 if test -f "$ac_dir/install-sh"; then
2719 ac_install_sh="$ac_aux_dir/install-sh -c"
2721 elif test -f "$ac_dir/install.sh"; then
2723 ac_install_sh="$ac_aux_dir/install.sh -c"
2725 elif test -f "$ac_dir/shtool"; then
2727 ac_install_sh="$ac_aux_dir/shtool install -c"
2731 if test -z "$ac_aux_dir"; then
2732 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2735 # These three variables are undocumented and unsupported,
2736 # and are intended to be withdrawn in a future Autoconf release.
2737 # They can cause serious problems if a builder's source tree is in a directory
2738 # whose full name contains unusual characters.
2739 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2740 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2741 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2745 # Check what host we are running on.
2746 # If a target is not suggested, we use this one.
2747 # Note that what we call a target, Autoconf calls a host.
2748 # Make sure we can run config.sub.
2749 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2750 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2753 $as_echo_n "checking build system type... " >&6; }
2754 if ${ac_cv_build+:} false; then :
2755 $as_echo_n "(cached) " >&6
2757 ac_build_alias=$build_alias
2758 test "x$ac_build_alias" = x &&
2759 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2760 test "x$ac_build_alias" = x &&
2761 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2762 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2763 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2767 $as_echo "$ac_cv_build" >&6; }
2768 case $ac_cv_build in
2770 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2773 ac_save_IFS=$IFS; IFS='-'
2779 # Remember, the first character of IFS is used to create $*,
2780 # except with old shells:
2783 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2787 $as_echo_n "checking host system type... " >&6; }
2788 if ${ac_cv_host+:} false; then :
2789 $as_echo_n "(cached) " >&6
2791 if test "x$host_alias" = x; then
2792 ac_cv_host=$ac_cv_build
2794 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2795 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2800 $as_echo "$ac_cv_host" >&6; }
2803 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2806 ac_save_IFS=$IFS; IFS='-'
2812 # Remember, the first character of IFS is used to create $*,
2813 # except with old shells:
2816 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2820 # Default versions for the gnu tools we build
2821 default_toolchain_family=`cat ${srcdir}/config
/toolchain_def
`
2822 default_gcc_version=`cat ${srcdir}/config
/gcc_def
`
2823 exp_gcc_version=`cat ${srcdir}/config
/gcc_exp
`
2824 default_binutils_version=`cat ${srcdir}/config
/binutils_def
`
2825 exp_binutils_version=`cat ${srcdir}/config
/binutils_exp
`
2826 default_grub2_version="2.02"
2827 target_grub2_version=$default_grub2_version
2829 # The AROS target is slightly different to the normal GNU style
2830 # format. We don't have the middle part, and we reverse the order
2831 # of the $(CPU) and $(OS) bits.
2833 # Don't strip the version of the target yet, it might be
2834 # useful on some systems.
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2837 $as_echo_n "checking for AROS style target... " >&6; }
2839 if test "$target" = "NONE" ; then
2840 target=$host_os-$host_cpu
2842 if test "$target" = "" ; then
2843 target=$host_os-$host_cpu
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2847 $as_echo "$target" >&6; }
2849 if test "$host_os" = "mingw32" ; then
2853 # Don't know where else to put this...
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2855 $as_echo_n "checking building AROS in... " >&6; }
2856 AROS_BUILDDIR=`${PWDCMD-pwd}`
2857 AROS_BUILDDIR_UNIX=${PWD}
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2859 $as_echo "$AROS_BUILDDIR" >&6; }
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2862 $as_echo_n "checking AROS source in... " >&6; }
2863 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2866 $as_echo "$SRCDIR" >&6; }
2868 # Parse the target field into something useful.
2870 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2871 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2874 # Some debug output, to be removed again.
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2876 $as_echo_n "checking for target system (debug output)... " >&6; }
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2878 $as_echo "$target_os" >&6; }
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2880 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2882 $as_echo "$target_cpu" >&6; }
2884 aros_nominal_width=800
2885 aros_nominal_height=600
2886 aros_nominal_depth=4
2889 default_c_compilers="gcc clang cc"
2891 # Check whether --with-c-compiler was given.
2892 if test "${with_c_compiler+set}" = set; then :
2893 withval=$with_c_compiler; use_c_compiler="$withval"
2898 if test "$use_c_compiler" = ""; then
2899 host_c_compilers="$default_c_compilers"
2901 host_c_compilers="$use_c_compiler"
2905 default_cxx_compilers="g++ clang++ c++"
2907 # Check whether --with-cxx-compiler was given.
2908 if test "${with_cxx_compiler+set}" = set; then :
2909 withval=$with_cxx_compiler; use_cxx_compiler="$withval"
2914 if test "$use_cxx_compiler" = ""; then
2915 host_cxx_compilers="$default_cxx_compilers"
2917 host_cxx_compilers="$use_cxx_compiler"
2918 CXX=$use_cxx_compiler
2922 # The first step is to find the host binaries.
2923 # Check for a compiler.
2924 # Due to a bug in autoconf check for c++ compiler first.
2925 # For mor info see, http://osdir.com/ml/bug-autoconf-gnu/2010-05/msg00001.html.
2927 ac_cpp='$CXXCPP $CPPFLAGS'
2928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2931 if test -z "$CXX"; then
2932 if test -n "$CCC"; then
2935 if test -n "$ac_tool_prefix"; then
2936 for ac_prog in ${host_cxx_compilers}
2938 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2939 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2941 $as_echo_n "checking for $ac_word... " >&6; }
2942 if ${ac_cv_prog_CXX+:} false; then :
2943 $as_echo_n "(cached) " >&6
2945 if test -n "$CXX"; then
2946 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2952 test -z "$as_dir" && as_dir=.
2953 for ac_exec_ext in '' $ac_executable_extensions; do
2954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2955 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2966 if test -n "$CXX"; then
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2968 $as_echo "$CXX" >&6; }
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2971 $as_echo "no" >&6; }
2975 test -n "$CXX" && break
2978 if test -z "$CXX"; then
2980 for ac_prog in ${host_cxx_compilers}
2982 # Extract the first word of "$ac_prog", so it can be a program name with args.
2983 set dummy $ac_prog; ac_word=$2
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2985 $as_echo_n "checking for $ac_word... " >&6; }
2986 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2987 $as_echo_n "(cached) " >&6
2989 if test -n "$ac_ct_CXX"; then
2990 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2996 test -z "$as_dir" && as_dir=.
2997 for ac_exec_ext in '' $ac_executable_extensions; do
2998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2999 ac_cv_prog_ac_ct_CXX="$ac_prog"
3000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3009 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3010 if test -n "$ac_ct_CXX"; then
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3012 $as_echo "$ac_ct_CXX" >&6; }
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3015 $as_echo "no" >&6; }
3019 test -n "$ac_ct_CXX" && break
3022 if test "x$ac_ct_CXX" = x; then
3025 case $cross_compiling:$ac_tool_warned in
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3028 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3029 ac_tool_warned=yes ;;
3037 # Provide some information about the compiler.
3038 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3041 for ac_option in --version -v -V -qversion; do
3042 { { ac_try="$ac_compiler $ac_option >&5"
3044 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3045 *) ac_try_echo
=$ac_try;;
3047 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3048 $as_echo "$ac_try_echo"; } >&5
3049 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3051 if test -s conftest.err
; then
3053 ... rest of stderr output deleted ...
3054 10q' conftest.err
>conftest.er1
3055 cat conftest.er1
>&5
3057 rm -f conftest.er1 conftest.err
3058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3059 test $ac_status = 0; }
3062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3063 /* end confdefs.h. */
3073 ac_clean_files_save
=$ac_clean_files
3074 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3075 # Try to create an executable without -o first, disregard a.out.
3076 # It will help us diagnose broken compilers, and finding out an intuition
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3079 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3080 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3082 # The possible output files:
3083 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3086 for ac_file
in $ac_files
3089 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3090 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3095 if { { ac_try
="$ac_link_default"
3097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3098 *) ac_try_echo=$ac_try;;
3100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3101 $as_echo "$ac_try_echo"; } >&5
3102 (eval "$ac_link_default") 2>&5
3104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3105 test $ac_status = 0; }; then :
3106 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3107 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3108 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3109 # so that the user can short-circuit this test for compilers unknown to
3111 for ac_file in $ac_files ''
3113 test -f "$ac_file" || continue
3115 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3118 # We found the default executable, but exeext='' is most
3122 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3124 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3126 # We set ac_cv_exeext here because the later test for it is not
3127 # safe: cross compilers may not add the suffix if given an `-o'
3128 # argument, so we may need to know it at that point already.
3129 # Even if this section looks crufty: it has the advantage of
3136 test "$ac_cv_exeext" = no && ac_cv_exeext=
3141 if test -z "$ac_file"; then :
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3143 $as_echo "no" >&6; }
3144 $as_echo "$as_me: failed program was:" >&5
3145 sed 's
/^
/|
/' conftest.$ac_ext >&5
3147 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3148 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3149 as_fn_error 77 "C++ compiler cannot create executables
3150 See \`config.log
' for more details" "$LINENO" 5; }
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3153 $as_echo "yes" >&6; }
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3156 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3158 $as_echo "$ac_file" >&6; }
3159 ac_exeext=$ac_cv_exeext
3161 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3162 ac_clean_files=$ac_clean_files_save
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3164 $as_echo_n "checking for suffix of executables... " >&6; }
3165 if { { ac_try="$ac_link"
3167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3168 *) ac_try_echo=$ac_try;;
3170 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3171 $as_echo "$ac_try_echo"; } >&5
3172 (eval "$ac_link") 2>&5
3174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3175 test $ac_status = 0; }; then :
3176 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3177 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3178 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3180 for ac_file
in conftest.exe conftest conftest.
*; do
3181 test -f "$ac_file" ||
continue
3183 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3184 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3190 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3192 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3193 See \`config.log' for more details" "$LINENO" 5; }
3195 rm -f conftest conftest
$ac_cv_exeext
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3197 $as_echo "$ac_cv_exeext" >&6; }
3199 rm -f conftest.
$ac_ext
3200 EXEEXT
=$ac_cv_exeext
3202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3203 /* end confdefs.h. */
3208 FILE *f = fopen ("conftest.out", "w");
3209 return ferror (f) || fclose (f) != 0;
3215 ac_clean_files
="$ac_clean_files conftest.out"
3216 # Check that the compiler produces executables we can run. If not, either
3217 # the compiler is broken, or we cross compile.
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3219 $as_echo_n "checking whether we are cross compiling... " >&6; }
3220 if test "$cross_compiling" != yes; then
3221 { { ac_try
="$ac_link"
3223 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3224 *) ac_try_echo=$ac_try;;
3226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3227 $as_echo "$ac_try_echo"; } >&5
3228 (eval "$ac_link") 2>&5
3230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3231 test $ac_status = 0; }
3232 if { ac_try='./conftest$ac_cv_exeext'
3233 { { case "(($ac_try" in
3234 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3235 *) ac_try_echo
=$ac_try;;
3237 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3238 $as_echo "$ac_try_echo"; } >&5
3239 (eval "$ac_try") 2>&5
3241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3242 test $ac_status = 0; }; }; then
3245 if test "$cross_compiling" = maybe
; then
3248 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3250 as_fn_error $?
"cannot run C++ compiled programs.
3251 If you meant to cross compile, use \`--host'.
3252 See \`config.log' for more details" "$LINENO" 5; }
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3257 $as_echo "$cross_compiling" >&6; }
3259 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3260 ac_clean_files
=$ac_clean_files_save
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3262 $as_echo_n "checking for suffix of object files... " >&6; }
3263 if ${ac_cv_objext+:} false
; then :
3264 $as_echo_n "(cached) " >&6
3266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3267 /* end confdefs.h. */
3277 rm -f conftest.o conftest.obj
3278 if { { ac_try
="$ac_compile"
3280 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3281 *) ac_try_echo=$ac_try;;
3283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3284 $as_echo "$ac_try_echo"; } >&5
3285 (eval "$ac_compile") 2>&5
3287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3288 test $ac_status = 0; }; then :
3289 for ac_file in conftest.o conftest.obj conftest.*; do
3290 test -f "$ac_file" || continue;
3292 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3293 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3298 $as_echo "$as_me: failed program was:" >&5
3299 sed 's/^/| /' conftest.$ac_ext >&5
3301 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3303 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3304 See \
`config.log' for more details" "$LINENO" 5; }
3306 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3309 $as_echo "$ac_cv_objext" >&6; }
3310 OBJEXT=$ac_cv_objext
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3313 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3314 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3315 $as_echo_n "(cached) " >&6
3317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3318 /* end confdefs.h. */
3331 if ac_fn_cxx_try_compile "$LINENO"; then :
3336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3337 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3341 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3342 if test $ac_compiler_gnu = yes; then
3347 ac_test_CXXFLAGS=${CXXFLAGS+set}
3348 ac_save_CXXFLAGS=$CXXFLAGS
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3350 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3351 if ${ac_cv_prog_cxx_g+:} false; then :
3352 $as_echo_n "(cached) " >&6
3354 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3355 ac_cxx_werror_flag=yes
3358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359 /* end confdefs.h. */
3369 if ac_fn_cxx_try_compile "$LINENO"; then :
3370 ac_cv_prog_cxx_g=yes
3373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3374 /* end confdefs.h. */
3384 if ac_fn_cxx_try_compile "$LINENO"; then :
3387 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3390 /* end confdefs.h. */
3400 if ac_fn_cxx_try_compile "$LINENO"; then :
3401 ac_cv_prog_cxx_g=yes
3403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3408 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3411 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3412 if test "$ac_test_CXXFLAGS" = set; then
3413 CXXFLAGS=$ac_save_CXXFLAGS
3414 elif test $ac_cv_prog_cxx_g = yes; then
3415 if test "$GXX" = yes; then
3421 if test "$GXX" = yes; then
3428 ac_cpp='$CPP $CPPFLAGS'
3429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3434 # Extract the first word of "$CXX", so it can be a program name with args.
3435 set dummy $CXX; ac_word=$2
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3437 $as_echo_n "checking for $ac_word... " >&6; }
3438 if ${ac_cv_path_CXX+:} false; then :
3439 $as_echo_n "(cached) " >&6
3443 ac_cv_path_CXX="$CXX" # Let the user override the test with a path.
3446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3450 test -z "$as_dir" && as_dir=.
3451 for ac_exec_ext in '' $ac_executable_extensions; do
3452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3453 ac_cv_path_CXX="$as_dir/$ac_word$ac_exec_ext"
3454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3465 if test -n "$CXX"; then
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3467 $as_echo "$CXX" >&6; }
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3470 $as_echo "no" >&6; }
3475 ac_cpp='$CPP $CPPFLAGS'
3476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3479 if test -n "$ac_tool_prefix"; then
3480 for ac_prog in ${host_c_compilers}
3482 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3483 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3485 $as_echo_n "checking for $ac_word... " >&6; }
3486 if ${ac_cv_prog_CC+:} false; then :
3487 $as_echo_n "(cached) " >&6
3489 if test -n "$CC"; then
3490 ac_cv_prog_CC="$CC" # Let the user override the test.
3492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3496 test -z "$as_dir" && as_dir=.
3497 for ac_exec_ext in '' $ac_executable_extensions; do
3498 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3499 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3510 if test -n "$CC"; then
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3512 $as_echo "$CC" >&6; }
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3515 $as_echo "no" >&6; }
3519 test -n "$CC" && break
3522 if test -z "$CC"; then
3524 for ac_prog in ${host_c_compilers}
3526 # Extract the first word of "$ac_prog", so it can be a program name with args.
3527 set dummy $ac_prog; ac_word=$2
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3529 $as_echo_n "checking for $ac_word... " >&6; }
3530 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3531 $as_echo_n "(cached) " >&6
3533 if test -n "$ac_ct_CC"; then
3534 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3540 test -z "$as_dir" && as_dir=.
3541 for ac_exec_ext in '' $ac_executable_extensions; do
3542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3543 ac_cv_prog_ac_ct_CC="$ac_prog"
3544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3553 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3554 if test -n "$ac_ct_CC"; then
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3556 $as_echo "$ac_ct_CC" >&6; }
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3559 $as_echo "no" >&6; }
3563 test -n "$ac_ct_CC" && break
3566 if test "x$ac_ct_CC" = x; then
3569 case $cross_compiling:$ac_tool_warned in
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3572 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3573 ac_tool_warned=yes ;;
3580 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3582 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3583 See \
`config.log' for more details" "$LINENO" 5; }
3585 # Provide some information about the compiler.
3586 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3589 for ac_option in --version -v -V -qversion; do
3590 { { ac_try="$ac_compiler $ac_option >&5"
3592 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3593 *) ac_try_echo
=$ac_try;;
3595 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3596 $as_echo "$ac_try_echo"; } >&5
3597 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3599 if test -s conftest.err
; then
3601 ... rest of stderr output deleted ...
3602 10q' conftest.err
>conftest.er1
3603 cat conftest.er1
>&5
3605 rm -f conftest.er1 conftest.err
3606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3607 test $ac_status = 0; }
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3611 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3612 if ${ac_cv_c_compiler_gnu+:} false
; then :
3613 $as_echo_n "(cached) " >&6
3615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3616 /* end confdefs.h. */
3629 if ac_fn_c_try_compile
"$LINENO"; then :
3634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3635 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3639 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3640 if test $ac_compiler_gnu = yes; then
3645 ac_test_CFLAGS
=${CFLAGS+set}
3646 ac_save_CFLAGS
=$CFLAGS
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3648 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3649 if ${ac_cv_prog_cc_g+:} false
; then :
3650 $as_echo_n "(cached) " >&6
3652 ac_save_c_werror_flag
=$ac_c_werror_flag
3653 ac_c_werror_flag
=yes
3656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3657 /* end confdefs.h. */
3667 if ac_fn_c_try_compile
"$LINENO"; then :
3671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3672 /* end confdefs.h. */
3682 if ac_fn_c_try_compile
"$LINENO"; then :
3685 ac_c_werror_flag
=$ac_save_c_werror_flag
3687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3688 /* end confdefs.h. */
3698 if ac_fn_c_try_compile
"$LINENO"; then :
3701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3703 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3706 ac_c_werror_flag
=$ac_save_c_werror_flag
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3709 $as_echo "$ac_cv_prog_cc_g" >&6; }
3710 if test "$ac_test_CFLAGS" = set; then
3711 CFLAGS
=$ac_save_CFLAGS
3712 elif test $ac_cv_prog_cc_g = yes; then
3713 if test "$GCC" = yes; then
3719 if test "$GCC" = yes; then
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3726 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3727 if ${ac_cv_prog_cc_c89+:} false
; then :
3728 $as_echo_n "(cached) " >&6
3730 ac_cv_prog_cc_c89
=no
3732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3733 /* end confdefs.h. */
3737 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3738 struct buf { int x; };
3739 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3740 static char *e (p, i)
3746 static char *f (char * (*g) (char **, int), char **p, ...)
3751 s = g (p, va_arg (v,int));
3756 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3757 function prototypes and stuff, but not '\xHH' hex character constants.
3758 These don't provoke an error unfortunately, instead are silently treated
3759 as 'x'. The following induces an error, until -std is added to get
3760 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3761 array size at least. It's necessary to write '\x00'==0 to get something
3762 that's true only with -std. */
3763 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3765 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3766 inside strings and character constants. */
3768 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3770 int test (int i, double x);
3771 struct s1 {int (*f) (int a);};
3772 struct s2 {int (*f) (double a);};
3773 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3779 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3784 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3785 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3787 CC
="$ac_save_CC $ac_arg"
3788 if ac_fn_c_try_compile
"$LINENO"; then :
3789 ac_cv_prog_cc_c89
=$ac_arg
3791 rm -f core conftest.err conftest.
$ac_objext
3792 test "x$ac_cv_prog_cc_c89" != "xno" && break
3794 rm -f conftest.
$ac_ext
3799 case "x$ac_cv_prog_cc_c89" in
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3802 $as_echo "none needed" >&6; } ;;
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3805 $as_echo "unsupported" >&6; } ;;
3807 CC
="$CC $ac_cv_prog_cc_c89"
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3809 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3811 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3816 ac_cpp
='$CPP $CPPFLAGS'
3817 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3818 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3819 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3822 # Extract the first word of "$CC", so it can be a program name with args.
3823 set dummy
$CC; ac_word
=$2
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3825 $as_echo_n "checking for $ac_word... " >&6; }
3826 if ${ac_cv_path_CC+:} false
; then :
3827 $as_echo_n "(cached) " >&6
3831 ac_cv_path_CC
="$CC" # Let the user override the test with a path.
3834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3838 test -z "$as_dir" && as_dir
=.
3839 for ac_exec_ext
in '' $ac_executable_extensions; do
3840 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3841 ac_cv_path_CC
="$as_dir/$ac_word$ac_exec_ext"
3842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3853 if test -n "$CC"; then
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3855 $as_echo "$CC" >&6; }
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3858 $as_echo "no" >&6; }
3862 aros_host_def_cc
="$CC"
3863 case $ac_cv_prog_cc_stdc in #(
3865 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3868 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3869 if ${ac_cv_prog_cc_c99+:} false
; then :
3870 $as_echo_n "(cached) " >&6
3872 ac_cv_prog_cc_c99
=no
3874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3875 /* end confdefs.h. */
3877 #include <stdbool.h>
3882 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3883 #define debug(...) fprintf (stderr, __VA_ARGS__)
3884 #define showlist(...) puts (#__VA_ARGS__)
3885 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3887 test_varargs_macros (void)
3892 debug ("X = %d\n", x);
3893 showlist (The first, second, and third items.);
3894 report (x>y, "x is %d but y is %d", x, y);
3897 // Check long long types.
3898 #define BIG64 18446744073709551615ull
3899 #define BIG32 4294967295ul
3900 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3902 your preprocessor is broken;
3906 your preprocessor is broken;
3908 static long long int bignum = -9223372036854775807LL;
3909 static unsigned long long int ubignum = BIG64;
3911 struct incomplete_array
3919 const wchar_t *name;
3923 typedef const char *ccp;
3926 test_restrict (ccp restrict text)
3928 // See if C++-style comments work.
3929 // Iterate through items via the restricted pointer.
3930 // Also check for declarations in for loops.
3931 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3936 // Check varargs and va_copy.
3938 test_varargs (const char *format, ...)
3941 va_start (args, format);
3943 va_copy (args_copy, args);
3954 str = va_arg (args_copy, const char *);
3957 number = va_arg (args_copy, int);
3960 fnumber = va_arg (args_copy, double);
3975 _Bool success = false;
3978 if (test_restrict ("String literal") == 0)
3980 char *restrict newvar = "Another string";
3983 test_varargs ("s, d' f .", "string", 65, 34.234);
3984 test_varargs_macros ();
3986 // Check flexible array members.
3987 struct incomplete_array *ia =
3988 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3990 for (int i = 0; i < ia->datasize; ++i)
3991 ia->data[i] = i * 1.234;
3993 // Check named initializers.
3994 struct named_init ni = {
3996 .name = L"Test wide string",
3997 .average = 543.34343,
4002 int dynamic_array[ni.number];
4003 dynamic_array[ni.number - 1] = 543;
4005 // work around unused variable warnings
4006 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4007 || dynamic_array[ni.number - 1] != 543);
4013 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4015 CC
="$ac_save_CC $ac_arg"
4016 if ac_fn_c_try_compile
"$LINENO"; then :
4017 ac_cv_prog_cc_c99
=$ac_arg
4019 rm -f core conftest.err conftest.
$ac_objext
4020 test "x$ac_cv_prog_cc_c99" != "xno" && break
4022 rm -f conftest.
$ac_ext
4027 case "x$ac_cv_prog_cc_c99" in
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4030 $as_echo "none needed" >&6; } ;;
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4033 $as_echo "unsupported" >&6; } ;;
4035 CC
="$CC $ac_cv_prog_cc_c99"
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4037 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4039 if test "x$ac_cv_prog_cc_c99" != xno
; then :
4040 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4043 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4044 if ${ac_cv_prog_cc_c89+:} false
; then :
4045 $as_echo_n "(cached) " >&6
4047 ac_cv_prog_cc_c89
=no
4049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4050 /* end confdefs.h. */
4054 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4055 struct buf { int x; };
4056 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4057 static char *e (p, i)
4063 static char *f (char * (*g) (char **, int), char **p, ...)
4068 s = g (p, va_arg (v,int));
4073 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4074 function prototypes and stuff, but not '\xHH' hex character constants.
4075 These don't provoke an error unfortunately, instead are silently treated
4076 as 'x'. The following induces an error, until -std is added to get
4077 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4078 array size at least. It's necessary to write '\x00'==0 to get something
4079 that's true only with -std. */
4080 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4082 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4083 inside strings and character constants. */
4085 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4087 int test (int i, double x);
4088 struct s1 {int (*f) (int a);};
4089 struct s2 {int (*f) (double a);};
4090 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4096 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4101 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4102 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4104 CC
="$ac_save_CC $ac_arg"
4105 if ac_fn_c_try_compile
"$LINENO"; then :
4106 ac_cv_prog_cc_c89
=$ac_arg
4108 rm -f core conftest.err conftest.
$ac_objext
4109 test "x$ac_cv_prog_cc_c89" != "xno" && break
4111 rm -f conftest.
$ac_ext
4116 case "x$ac_cv_prog_cc_c89" in
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4119 $as_echo "none needed" >&6; } ;;
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4122 $as_echo "unsupported" >&6; } ;;
4124 CC
="$CC $ac_cv_prog_cc_c89"
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4126 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4128 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4129 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4131 ac_cv_prog_cc_stdc
=no
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4138 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4139 if ${ac_cv_prog_cc_stdc+:} false
; then :
4140 $as_echo_n "(cached) " >&6
4143 case $ac_cv_prog_cc_stdc in #(
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4146 $as_echo "unsupported" >&6; } ;; #(
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4149 $as_echo "none needed" >&6; } ;; #(
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4152 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4156 ac_cpp
='$CPP $CPPFLAGS'
4157 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4158 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4159 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4161 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4162 # On Suns, sometimes $CPP names a directory.
4163 if test -n "$CPP" && test -d "$CPP"; then
4166 if test -z "$CPP"; then
4167 if ${ac_cv_prog_CPP+:} false
; then :
4168 $as_echo_n "(cached) " >&6
4170 # Double quotes because CPP needs to be expanded
4171 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4174 for ac_c_preproc_warn_flag
in '' yes
4176 # Use a header file that comes with gcc, so configuring glibc
4177 # with a fresh cross-compiler works.
4178 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4179 # <limits.h> exists even on freestanding compilers.
4180 # On the NeXT, cc -E runs the code through the compiler's parser,
4181 # not just through cpp. "Syntax error" is here to catch this case.
4182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4183 /* end confdefs.h. */
4185 # include <limits.h>
4187 # include <assert.h>
4191 if ac_fn_c_try_cpp
"$LINENO"; then :
4194 # Broken: fails on valid input.
4197 rm -f conftest.err conftest.i conftest.
$ac_ext
4199 # OK, works on sane cases. Now check whether nonexistent headers
4200 # can be detected and how.
4201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h. */
4203 #include <ac_nonexistent.h>
4205 if ac_fn_c_try_cpp
"$LINENO"; then :
4206 # Broken: success on invalid input.
4209 # Passes both tests.
4213 rm -f conftest.err conftest.i conftest.
$ac_ext
4216 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4217 rm -f conftest.i conftest.err conftest.
$ac_ext
4218 if $ac_preproc_ok; then :
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4231 $as_echo "$CPP" >&6; }
4233 for ac_c_preproc_warn_flag
in '' yes
4235 # Use a header file that comes with gcc, so configuring glibc
4236 # with a fresh cross-compiler works.
4237 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4238 # <limits.h> exists even on freestanding compilers.
4239 # On the NeXT, cc -E runs the code through the compiler's parser,
4240 # not just through cpp. "Syntax error" is here to catch this case.
4241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4244 # include <limits.h>
4246 # include <assert.h>
4250 if ac_fn_c_try_cpp
"$LINENO"; then :
4253 # Broken: fails on valid input.
4256 rm -f conftest.err conftest.i conftest.
$ac_ext
4258 # OK, works on sane cases. Now check whether nonexistent headers
4259 # can be detected and how.
4260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4261 /* end confdefs.h. */
4262 #include <ac_nonexistent.h>
4264 if ac_fn_c_try_cpp
"$LINENO"; then :
4265 # Broken: success on invalid input.
4268 # Passes both tests.
4272 rm -f conftest.err conftest.i conftest.
$ac_ext
4275 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4276 rm -f conftest.i conftest.err conftest.
$ac_ext
4277 if $ac_preproc_ok; then :
4280 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4282 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4283 See \`config.log' for more details" "$LINENO" 5; }
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
4293 # detect the compiler version
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which toolchain family ${CC} belongs to" >&5
4295 $as_echo_n "checking which toolchain family ${CC} belongs to... " >&6; }
4296 HOST_COMPILER_VERSION
=`"$CC" --version 2>/dev/null`
4297 if test x
"$HOST_COMPILER_VERSION" = "x"; then
4298 HOST_COMPILER_VERSION
=`"$CC" --qversion 2>/dev/null`
4300 if test x
"$HOST_COMPILER_VERSION" = "x"; then
4301 HOST_COMPILER_VERSION
=`"$CC" -V 2>/dev/null`
4304 IS_SUN_COMPILER
=`echo $HOST_COMPILER_VERSION | grep -i -c -E 'Sun C\+\+'`
4305 if test "$IS_SUN_COMPILER" -ne "0"; then
4306 HOST_TOOLCHAIN_PREFIX
=
4307 HOST_TOOLCHAIN_SUFFIX
=
4308 HOST_TOOLCHAIN_FAMILY
=sun
4310 IS_LLVM_COMPILER
=`echo $HOST_COMPILER_VERSION | grep -i -c -E 'LLVM|clang'`
4311 if test "$IS_LLVM_COMPILER" -ne "0"; then
4312 if test "$CC_BASE" != "gcc"; then
4313 HOST_TOOLCHAIN_PREFIX
=llvm-
4314 HOST_TOOLCHAIN_SUFFIX
="`echo $CC_BASE | sed -e \"s|clang||g\"`"
4315 HOST_TOOLCHAIN_FAMILY
=llvm
4320 if test "x$IS_GNU_COMPILER" = "x"; then
4321 IS_GNU_COMPILER
=`echo $HOST_COMPILER_VERSION | grep -i -c -E 'gcc'`
4323 if test "$IS_GNU_COMPILER" -ne "0"; then
4324 HOST_TOOLCHAIN_PREFIX
=
4325 HOST_TOOLCHAIN_SUFFIX
=
4326 HOST_TOOLCHAIN_FAMILY
=gnu
4328 if test x
"$HOST_TOOLCHAIN_FAMILY" = "x"; then
4329 HOST_TOOLCHAIN_FAMILY
=unknown
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HOST_TOOLCHAIN_FAMILY" >&5
4332 $as_echo "$HOST_TOOLCHAIN_FAMILY" >&6; }
4334 # Check for a compatible awk
4335 for ac_prog
in gawk nawk
4337 # Extract the first word of "$ac_prog", so it can be a program name with args.
4338 set dummy
$ac_prog; ac_word
=$2
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4340 $as_echo_n "checking for $ac_word... " >&6; }
4341 if ${ac_cv_prog_AWK+:} false
; then :
4342 $as_echo_n "(cached) " >&6
4344 if test -n "$AWK"; then
4345 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4351 test -z "$as_dir" && as_dir
=.
4352 for ac_exec_ext
in '' $ac_executable_extensions; do
4353 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4354 ac_cv_prog_AWK
="$ac_prog"
4355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4365 if test -n "$AWK"; then
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4367 $as_echo "$AWK" >&6; }
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4370 $as_echo "no" >&6; }
4374 test -n "$AWK" && break
4378 if test "$AWK" = ""; then
4381 if test "$AWK" = "no"; then
4384 if test "$req_avail" = "no"; then
4385 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4387 # Extract the first word of "mmake", so it can be a program name with args.
4388 set dummy mmake
; ac_word
=$2
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4390 $as_echo_n "checking for $ac_word... " >&6; }
4391 if ${ac_cv_prog_MMAKE+:} false
; then :
4392 $as_echo_n "(cached) " >&6
4394 if test -n "$MMAKE"; then
4395 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4401 test -z "$as_dir" && as_dir
=.
4402 for ac_exec_ext
in '' $ac_executable_extensions; do
4403 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4404 ac_cv_prog_MMAKE
="mmake "
4405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4414 MMAKE
=$ac_cv_prog_MMAKE
4415 if test -n "$MMAKE"; then
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4417 $as_echo "$MMAKE" >&6; }
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4420 $as_echo "no" >&6; }
4425 # Perform some default variable assignments. Note all of these will be
4426 # Regenerated from the script, so there is no need to cache them.
4428 aros_build_host
=$host
4429 aros_host_cpp
="$CPP"
4431 aros_host_cxx
="$CXX"
4432 base_ld_name
=${HOST_TOOLCHAIN_PREFIX}ld
${HOST_TOOLCHAIN_SUFFIX}
4433 if test "$HOST_TOOLCHAIN_FAMILY" = "llvm"; then
4434 for ac_prog
in $base_ld_name ld.lld
${HOST_TOOLCHAIN_SUFFIX} ld64.lld${HOST_TOOLCHAIN_SUFFIX} ld-link${HOST_TOOLCHAIN_SUFFIX}.exe ld${HOST_TOOLCHAIN_SUFFIX}
4436 # Extract the first word of "$ac_prog", so it can be a program name with args.
4437 set dummy
$ac_prog; ac_word
=$2
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4439 $as_echo_n "checking for $ac_word... " >&6; }
4440 if ${ac_cv_prog_base_lld_name+:} false
; then :
4441 $as_echo_n "(cached) " >&6
4443 if test -n "$base_lld_name"; then
4444 ac_cv_prog_base_lld_name
="$base_lld_name" # Let the user override the test.
4446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4450 test -z "$as_dir" && as_dir
=.
4451 for ac_exec_ext
in '' $ac_executable_extensions; do
4452 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4453 ac_cv_prog_base_lld_name
="$ac_prog"
4454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4463 base_lld_name
=$ac_cv_prog_base_lld_name
4464 if test -n "$base_lld_name"; then
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $base_lld_name" >&5
4466 $as_echo "$base_lld_name" >&6; }
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4469 $as_echo "no" >&6; }
4473 test -n "$base_lld_name" && break
4476 base_ld_name
=$base_lld_name
4479 if test "$base_ld_name" = ""; then
4482 ac_tool_ld
=$base_ld_name
4484 if test "$GCC" = "yes"; then
4485 aros_gcc_ld
=`$CC -print-prog-name=$ac_tool_ld`
4486 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4487 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4489 $as_echo_n "checking for $ac_word... " >&6; }
4490 if ${ac_cv_path_aros_host_ld+:} false
; then :
4491 $as_echo_n "(cached) " >&6
4493 case $aros_host_ld in
4495 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4499 for as_dir
in `dirname $aros_gcc_ld`
4502 test -z "$as_dir" && as_dir
=.
4503 for ac_exec_ext
in '' $ac_executable_extensions; do
4504 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4505 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4516 aros_host_ld
=$ac_cv_path_aros_host_ld
4517 if test -n "$aros_host_ld"; then
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4519 $as_echo "$aros_host_ld" >&6; }
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4522 $as_echo "no" >&6; }
4527 if test "$aros_host_ld" = ""; then
4528 for ac_prog
in $ac_tool_ld
4530 # Extract the first word of "$ac_prog", so it can be a program name with args.
4531 set dummy
$ac_prog; ac_word
=$2
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4533 $as_echo_n "checking for $ac_word... " >&6; }
4534 if ${ac_cv_path_aros_host_ld+:} false
; then :
4535 $as_echo_n "(cached) " >&6
4537 case $aros_host_ld in
4539 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4546 test -z "$as_dir" && as_dir
=.
4547 for ac_exec_ext
in '' $ac_executable_extensions; do
4548 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4549 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4560 aros_host_ld
=$ac_cv_path_aros_host_ld
4561 if test -n "$aros_host_ld"; then
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4563 $as_echo "$aros_host_ld" >&6; }
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4566 $as_echo "no" >&6; }
4570 test -n "$aros_host_ld" && break
4576 if test "$aros_host_ld" = ""; then
4579 if test "$aros_host_ld" = "no"; then
4582 if test "$req_avail" = "no"; then
4583 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4585 aros_host_make
="make"
4586 aros_host_cflags
="$CFLAGS"
4587 aros_host_cxxflags
="$CXXFLAGS"
4588 aros_host_cppflags
="$CPPFLAGS"
4589 aros_host_ldflags
="$LDFLAGS"
4590 aros_host_debug
="-g -O0"
4591 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4592 aros_host_mkargs
="--no-print-directory"
4593 aros_host_exe_suffix
="$EXEEXT"
4594 aros_host_lib_suffix
=""
4596 # Ignore all compliance, AROS ROMs = 0
4597 # KickStart v1.0 = 30
4598 # KickStart v1.3 = 34
4599 # KickStart v2.0 = 37
4600 # KickStart v3.0 = 39
4601 # KickStart v3.1 = 40
4603 aros_amigaos_compliance
=0
4605 for ac_prog
in aclocal aclocal19 aclocal-1.9
4607 # Extract the first word of "$ac_prog", so it can be a program name with args.
4608 set dummy
$ac_prog; ac_word
=$2
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4610 $as_echo_n "checking for $ac_word... " >&6; }
4611 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4612 $as_echo_n "(cached) " >&6
4614 if test -n "$aros_host_aclocal"; then
4615 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4621 test -z "$as_dir" && as_dir
=.
4622 for ac_exec_ext
in '' $ac_executable_extensions; do
4623 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4624 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4634 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4635 if test -n "$aros_host_aclocal"; then
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4637 $as_echo "$aros_host_aclocal" >&6; }
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4640 $as_echo "no" >&6; }
4644 test -n "$aros_host_aclocal" && break
4647 for ac_prog
in autoconf autoconf259 autoconf253
4649 # Extract the first word of "$ac_prog", so it can be a program name with args.
4650 set dummy
$ac_prog; ac_word
=$2
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4652 $as_echo_n "checking for $ac_word... " >&6; }
4653 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4654 $as_echo_n "(cached) " >&6
4656 if test -n "$aros_host_autoconf"; then
4657 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4663 test -z "$as_dir" && as_dir
=.
4664 for ac_exec_ext
in '' $ac_executable_extensions; do
4665 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4666 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4676 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4677 if test -n "$aros_host_autoconf"; then
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4679 $as_echo "$aros_host_autoconf" >&6; }
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4682 $as_echo "no" >&6; }
4686 test -n "$aros_host_autoconf" && break
4689 for ac_prog
in autoheader autoheader259 autoheader253
4691 # Extract the first word of "$ac_prog", so it can be a program name with args.
4692 set dummy
$ac_prog; ac_word
=$2
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4694 $as_echo_n "checking for $ac_word... " >&6; }
4695 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4696 $as_echo_n "(cached) " >&6
4698 if test -n "$aros_host_autoheader"; then
4699 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4705 test -z "$as_dir" && as_dir
=.
4706 for ac_exec_ext
in '' $ac_executable_extensions; do
4707 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4708 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4718 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4719 if test -n "$aros_host_autoheader"; then
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4721 $as_echo "$aros_host_autoheader" >&6; }
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4724 $as_echo "no" >&6; }
4728 test -n "$aros_host_autoheader" && break
4731 for ac_prog
in automake automake19 automake-1.9
4733 # Extract the first word of "$ac_prog", so it can be a program name with args.
4734 set dummy
$ac_prog; ac_word
=$2
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4736 $as_echo_n "checking for $ac_word... " >&6; }
4737 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4738 $as_echo_n "(cached) " >&6
4740 if test -n "$aros_host_automake"; then
4741 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4747 test -z "$as_dir" && as_dir
=.
4748 for ac_exec_ext
in '' $ac_executable_extensions; do
4749 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4750 ac_cv_prog_aros_host_automake
="$ac_prog"
4751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4760 aros_host_automake
=$ac_cv_prog_aros_host_automake
4761 if test -n "$aros_host_automake"; then
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4763 $as_echo "$aros_host_automake" >&6; }
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4766 $as_echo "no" >&6; }
4770 test -n "$aros_host_automake" && break
4775 if test "$aros_host_aclocal" = ""; then
4778 if test "$aros_host_aclocal" = "no"; then
4781 if test "$req_avail" = "no"; then
4782 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4785 if test "$aros_host_automake" = ""; then
4788 if test "$aros_host_automake" = "no"; then
4791 if test "$req_avail" = "no"; then
4792 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4795 case "$aros_host_cc" in
4797 aros_host_cc_pipe
=""
4800 aros_host_cc_pipe
="-pipe"
4803 aros_host_cc_pipe
=""
4806 aros_host_cc_pipe
=""
4810 aros_kernel_cc_includes
=""
4811 aros_target_cc_includes
=""
4814 # ----------------------------------------------------------------------------------------
4815 # Host-specific defaults
4817 # This is the main host configuration section. It is where the host
4818 # can change the values of any variables it needs to change. We do
4819 # not look at anything that compiles to the target yet, we'll get
4824 aros_host_arch
="aros"
4825 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4828 aros_host_cpu
="i386"
4831 aros_host_cpu
="x86_64"
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4838 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4839 aros_host_cpu
="$host_cpu"
4845 aros_host_arch
="linux"
4846 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4847 android_build_os
="linux-x86"
4848 android_tool
="android"
4849 default_android_sdk
="/opt/android-sdk-linux_x86"
4852 aros_host_cpu
="i386"
4855 aros_host_cpu
="x86_64"
4858 aros_host_cpu
="m68k"
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4868 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4869 aros_host_cpu
="$host_cpu"
4875 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe -I/usr/local/include"
4876 aros_host_make
="gmake"
4877 aros_host_arch
="freebsd"
4878 aros_host_cpu
="i386"
4880 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4884 aros_object_format
="elf_i386"
4888 aros_object_format
="elf_i386_fbsd"
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for macOS SDK files" >&5
4896 $as_echo_n "checking for macOS SDK files... " >&6; }
4897 LOC
=$
( xcode-select
-p )
4898 if test $?
!= 0; then :
4899 as_fn_error $?
"XCode incorrectly configured!
4900 please run 'xcode-select --install' before
4901 re-running configure" "$LINENO" 5
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOC" >&5
4904 $as_echo "$LOC" >&6; }
4905 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4906 aros_host_arch
="darwin"
4908 if [ -z ${SED+x} ]; then SED
="gsed"; fi
4909 android_build_os
="darwin-x86"
4910 android_tool
="android"
4911 default_android_sdk
="/android-sdk-mac_x86"
4914 aros_host_cpu
="i386"
4917 aros_host_cpu
="x86_64"
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4924 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4925 aros_host_cpu
="$host_cpu"
4929 aros_host_ldflags
="$aros_host_ldflags -liconv"
4934 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4935 aros_host_make
="gmake"
4936 aros_host_arch
="dragonfly"
4939 aros_host_cpu
="i386"
4942 aros_host_cpu
="x86_64"
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4946 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4947 aros_host_cpu
="$host_cpu"
4953 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4954 aros_host_make
="gmake"
4955 aros_host_arch
="netbsd"
4958 aros_host_cpu
="i386"
4961 aros_host_cpu
="m68k"
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4965 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4966 aros_host_cpu
="$host_cpu"
4969 aros_host_lib_suffix
=".0.0"
4973 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4974 aros_host_make
="gmake"
4975 aros_host_arch
="openbsd"
4978 aros_host_cpu
="i386"
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4982 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4983 aros_host_cpu
="$host_cpu"
4989 aros_host_arch
="solaris"
4990 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4993 aros_host_cpu
="i386"
4996 aros_host_cpu
="sparc"
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
5000 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
5001 aros_host_cpu
="$host_cpu"
5007 aros_host_arch
="morphos"
5013 aros_host_arch
="amiga"
5019 TOUCH
="/gg/bin/touch"
5022 aros_host_cpu
="m68k"
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
5029 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
5030 aros_host_cpu
="$host_cpu"
5036 aros_host_arch
="cygwin"
5037 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
5039 android_build_os
="windows"
5040 android_tool
="android.bat"
5041 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
5045 aros_host_cpu
="i386"
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
5049 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
5050 aros_host_cpu
="$host_cpu"
5056 aros_host_arch
="mingw32"
5057 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
5059 android_build_os
="windows"
5060 android_tool
="android.bat"
5061 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
5063 libpng_libextra
="-lws2_32"
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
5069 $as_echo_n "checking for Windows native gcc target... " >&6; }
5070 host_cpu
=`gcc -dumpmachine`
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
5072 $as_echo "$host_cpu" >&6; }
5079 aros_host_cpu
="i386"
5083 aros_host_cpu
="i386"
5087 aros_host_cpu
="x86_64"
5088 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
5093 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
5094 aros_host_cpu
="$host_cpu"
5099 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
5103 base_ar_name
=${HOST_TOOLCHAIN_PREFIX}ar${HOST_TOOLCHAIN_SUFFIX}
5104 # Extract the first word of "$base_ar_name", so it can be a program name with args.
5105 set dummy
$base_ar_name; ac_word
=$2
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5107 $as_echo_n "checking for $ac_word... " >&6; }
5108 if ${ac_cv_prog_aros_host_cmd_ar+:} false
; then :
5109 $as_echo_n "(cached) " >&6
5111 if test -n "$aros_host_cmd_ar"; then
5112 ac_cv_prog_aros_host_cmd_ar
="$aros_host_cmd_ar" # Let the user override the test.
5114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5118 test -z "$as_dir" && as_dir
=.
5119 for ac_exec_ext
in '' $ac_executable_extensions; do
5120 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5121 ac_cv_prog_aros_host_cmd_ar
="$base_ar_name cr"
5122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5131 aros_host_cmd_ar
=$ac_cv_prog_aros_host_cmd_ar
5132 if test -n "$aros_host_cmd_ar"; then
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_cmd_ar" >&5
5134 $as_echo "$aros_host_cmd_ar" >&6; }
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5137 $as_echo "no" >&6; }
5141 # Extract the first word of "$aros_host_cmd_ar", so it can be a program name with args.
5142 set dummy
$aros_host_cmd_ar; ac_word
=$2
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5144 $as_echo_n "checking for $ac_word... " >&6; }
5145 if ${ac_cv_path_aros_host_full_ar+:} false
; then :
5146 $as_echo_n "(cached) " >&6
5148 case $aros_host_full_ar in
5150 ac_cv_path_aros_host_full_ar
="$aros_host_full_ar" # Let the user override the test with a path.
5153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5157 test -z "$as_dir" && as_dir
=.
5158 for ac_exec_ext
in '' $ac_executable_extensions; do
5159 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5160 ac_cv_path_aros_host_full_ar
="$as_dir/$ac_word$ac_exec_ext"
5161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5168 test -z "$ac_cv_path_aros_host_full_ar" && ac_cv_path_aros_host_full_ar
="$aros_host_cmd_ar "
5172 aros_host_full_ar
=$ac_cv_path_aros_host_full_ar
5173 if test -n "$aros_host_full_ar"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_full_ar" >&5
5175 $as_echo "$aros_host_full_ar" >&6; }
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5182 aros_host_ar
=`echo $aros_host_cmd_ar | sed -e "s|$base_ar_name|$aros_host_full_ar|g"`
5184 if test "$aros_host_ar" = ""; then
5187 if test "$aros_host_ar" = "no"; then
5190 if test "$req_avail" = "no"; then
5191 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
5193 base_ranlib_name
=${HOST_TOOLCHAIN_PREFIX}ranlib
${HOST_TOOLCHAIN_SUFFIX}
5194 # Extract the first word of "$base_ranlib_name", so it can be a program name with args.
5195 set dummy
$base_ranlib_name; ac_word
=$2
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5197 $as_echo_n "checking for $ac_word... " >&6; }
5198 if ${ac_cv_path_aros_host_ranlib+:} false
; then :
5199 $as_echo_n "(cached) " >&6
5201 case $aros_host_ranlib in
5203 ac_cv_path_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test with a path.
5206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5210 test -z "$as_dir" && as_dir
=.
5211 for ac_exec_ext
in '' $ac_executable_extensions; do
5212 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5213 ac_cv_path_aros_host_ranlib
="$as_dir/$ac_word$ac_exec_ext"
5214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5221 test -z "$ac_cv_path_aros_host_ranlib" && ac_cv_path_aros_host_ranlib
="$base_ranlib_name "
5225 aros_host_ranlib
=$ac_cv_path_aros_host_ranlib
5226 if test -n "$aros_host_ranlib"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
5228 $as_echo "$aros_host_ranlib" >&6; }
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5231 $as_echo "no" >&6; }
5236 if test "$aros_host_ranlib" = ""; then
5239 if test "$aros_host_ranlib" = "no"; then
5242 if test "$req_avail" = "no"; then
5243 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
5245 # Extract the first word of "strip", so it can be a program name with args.
5246 set dummy strip
; ac_word
=$2
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5248 $as_echo_n "checking for $ac_word... " >&6; }
5249 if ${ac_cv_prog_aros_host_strip+:} false
; then :
5250 $as_echo_n "(cached) " >&6
5252 if test -n "$aros_host_strip"; then
5253 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5259 test -z "$as_dir" && as_dir
=.
5260 for ac_exec_ext
in '' $ac_executable_extensions; do
5261 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5262 ac_cv_prog_aros_host_strip
="strip "
5263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5272 aros_host_strip
=$ac_cv_prog_aros_host_strip
5273 if test -n "$aros_host_strip"; then
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5275 $as_echo "$aros_host_strip" >&6; }
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5278 $as_echo "no" >&6; }
5283 if test "$aros_host_strip" = ""; then
5286 if test "$aros_host_strip" = "no"; then
5289 if test "$req_avail" = "no"; then
5290 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5293 # Extract the first word of "rm", so it can be a program name with args.
5294 set dummy
rm; ac_word
=$2
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5296 $as_echo_n "checking for $ac_word... " >&6; }
5297 if ${ac_cv_prog_RM+:} false
; then :
5298 $as_echo_n "(cached) " >&6
5300 if test -n "$RM"; then
5301 ac_cv_prog_RM
="$RM" # Let the user override the test.
5303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5307 test -z "$as_dir" && as_dir
=.
5308 for ac_exec_ext
in '' $ac_executable_extensions; do
5309 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5310 ac_cv_prog_RM
="rm -rf"
5311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5321 if test -n "$RM"; then
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5323 $as_echo "$RM" >&6; }
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5326 $as_echo "no" >&6; }
5331 if test "$RM" = ""; then
5334 if test "$RM" = "no"; then
5337 if test "$req_avail" = "no"; then
5338 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5340 # Extract the first word of "cp", so it can be a program name with args.
5341 set dummy
cp; ac_word
=$2
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5343 $as_echo_n "checking for $ac_word... " >&6; }
5344 if ${ac_cv_prog_CP+:} false
; then :
5345 $as_echo_n "(cached) " >&6
5347 if test -n "$CP"; then
5348 ac_cv_prog_CP
="$CP" # Let the user override the test.
5350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5354 test -z "$as_dir" && as_dir
=.
5355 for ac_exec_ext
in '' $ac_executable_extensions; do
5356 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5368 if test -n "$CP"; then
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5370 $as_echo "$CP" >&6; }
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5373 $as_echo "no" >&6; }
5378 if test "$CP" = ""; then
5381 if test "$CP" = "no"; then
5384 if test "$req_avail" = "no"; then
5385 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5387 # Extract the first word of "mv", so it can be a program name with args.
5388 set dummy
mv; ac_word
=$2
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5390 $as_echo_n "checking for $ac_word... " >&6; }
5391 if ${ac_cv_prog_MV+:} false
; then :
5392 $as_echo_n "(cached) " >&6
5394 if test -n "$MV"; then
5395 ac_cv_prog_MV
="$MV" # Let the user override the test.
5397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5401 test -z "$as_dir" && as_dir
=.
5402 for ac_exec_ext
in '' $ac_executable_extensions; do
5403 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5415 if test -n "$MV"; then
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5417 $as_echo "$MV" >&6; }
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5420 $as_echo "no" >&6; }
5425 if test "$MV" = ""; then
5428 if test "$MV" = "no"; then
5431 if test "$req_avail" = "no"; then
5432 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5434 # Extract the first word of "echo", so it can be a program name with args.
5435 set dummy
echo; ac_word
=$2
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5437 $as_echo_n "checking for $ac_word... " >&6; }
5438 if ${ac_cv_prog_ECHO+:} false
; then :
5439 $as_echo_n "(cached) " >&6
5441 if test -n "$ECHO"; then
5442 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5448 test -z "$as_dir" && as_dir
=.
5449 for ac_exec_ext
in '' $ac_executable_extensions; do
5450 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5451 ac_cv_prog_ECHO
="echo "
5452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5461 ECHO
=$ac_cv_prog_ECHO
5462 if test -n "$ECHO"; then
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5464 $as_echo "$ECHO" >&6; }
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5467 $as_echo "no" >&6; }
5472 if test "$ECHO" = ""; then
5475 if test "$ECHO" = "no"; then
5478 if test "$req_avail" = "no"; then
5479 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5481 # Extract the first word of "mkdir", so it can be a program name with args.
5482 set dummy mkdir
; ac_word
=$2
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5484 $as_echo_n "checking for $ac_word... " >&6; }
5485 if ${ac_cv_prog_MKDIR+:} false
; then :
5486 $as_echo_n "(cached) " >&6
5488 if test -n "$MKDIR"; then
5489 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5495 test -z "$as_dir" && as_dir
=.
5496 for ac_exec_ext
in '' $ac_executable_extensions; do
5497 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5498 ac_cv_prog_MKDIR
="mkdir -p"
5499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5508 MKDIR
=$ac_cv_prog_MKDIR
5509 if test -n "$MKDIR"; then
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5511 $as_echo "$MKDIR" >&6; }
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5514 $as_echo "no" >&6; }
5519 if test "$MKDIR" = ""; then
5522 if test "$MKDIR" = "no"; then
5525 if test "$req_avail" = "no"; then
5526 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5528 # Extract the first word of "touch", so it can be a program name with args.
5529 set dummy
touch; ac_word
=$2
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5531 $as_echo_n "checking for $ac_word... " >&6; }
5532 if ${ac_cv_prog_TOUCH+:} false
; then :
5533 $as_echo_n "(cached) " >&6
5535 if test -n "$TOUCH"; then
5536 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5542 test -z "$as_dir" && as_dir
=.
5543 for ac_exec_ext
in '' $ac_executable_extensions; do
5544 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5545 ac_cv_prog_TOUCH
="touch "
5546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5555 TOUCH
=$ac_cv_prog_TOUCH
5556 if test -n "$TOUCH"; then
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5558 $as_echo "$TOUCH" >&6; }
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5561 $as_echo "no" >&6; }
5566 if test "$TOUCH" = ""; then
5569 if test "$TOUCH" = "no"; then
5572 if test "$req_avail" = "no"; then
5573 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5575 # Extract the first word of "sort", so it can be a program name with args.
5576 set dummy
sort; ac_word
=$2
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5578 $as_echo_n "checking for $ac_word... " >&6; }
5579 if ${ac_cv_prog_SORT+:} false
; then :
5580 $as_echo_n "(cached) " >&6
5582 if test -n "$SORT"; then
5583 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5589 test -z "$as_dir" && as_dir
=.
5590 for ac_exec_ext
in '' $ac_executable_extensions; do
5591 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5592 ac_cv_prog_SORT
="sort "
5593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5602 SORT
=$ac_cv_prog_SORT
5603 if test -n "$SORT"; then
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5605 $as_echo "$SORT" >&6; }
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5608 $as_echo "no" >&6; }
5613 if test "$SORT" = ""; then
5616 if test "$SORT" = "no"; then
5619 if test "$req_avail" = "no"; then
5620 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5622 # Extract the first word of "uniq", so it can be a program name with args.
5623 set dummy
uniq; ac_word
=$2
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625 $as_echo_n "checking for $ac_word... " >&6; }
5626 if ${ac_cv_prog_UNIQ+:} false
; then :
5627 $as_echo_n "(cached) " >&6
5629 if test -n "$UNIQ"; then
5630 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5636 test -z "$as_dir" && as_dir
=.
5637 for ac_exec_ext
in '' $ac_executable_extensions; do
5638 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5639 ac_cv_prog_UNIQ
="uniq "
5640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5649 UNIQ
=$ac_cv_prog_UNIQ
5650 if test -n "$UNIQ"; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5652 $as_echo "$UNIQ" >&6; }
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655 $as_echo "no" >&6; }
5660 if test "$UNIQ" = ""; then
5663 if test "$UNIQ" = "no"; then
5666 if test "$req_avail" = "no"; then
5667 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5669 # Extract the first word of "true", so it can be a program name with args.
5670 set dummy true
; ac_word
=$2
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5672 $as_echo_n "checking for $ac_word... " >&6; }
5673 if ${ac_cv_prog_NOP+:} false
; then :
5674 $as_echo_n "(cached) " >&6
5676 if test -n "$NOP"; then
5677 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5683 test -z "$as_dir" && as_dir
=.
5684 for ac_exec_ext
in '' $ac_executable_extensions; do
5685 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5686 ac_cv_prog_NOP
="true "
5687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5697 if test -n "$NOP"; then
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5699 $as_echo "$NOP" >&6; }
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5702 $as_echo "no" >&6; }
5707 if test "$NOP" = ""; then
5710 if test "$NOP" = "no"; then
5713 if test "$req_avail" = "no"; then
5714 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5716 # Extract the first word of "cat", so it can be a program name with args.
5717 set dummy
cat; ac_word
=$2
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5719 $as_echo_n "checking for $ac_word... " >&6; }
5720 if ${ac_cv_prog_CAT+:} false
; then :
5721 $as_echo_n "(cached) " >&6
5723 if test -n "$CAT"; then
5724 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5730 test -z "$as_dir" && as_dir
=.
5731 for ac_exec_ext
in '' $ac_executable_extensions; do
5732 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5733 ac_cv_prog_CAT
="cat "
5734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5744 if test -n "$CAT"; then
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5746 $as_echo "$CAT" >&6; }
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5749 $as_echo "no" >&6; }
5754 if test "$CAT" = ""; then
5757 if test "$CAT" = "no"; then
5760 if test "$req_avail" = "no"; then
5761 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5763 # Extract the first word of "bison", so it can be a program name with args.
5764 set dummy bison
; ac_word
=$2
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5766 $as_echo_n "checking for $ac_word... " >&6; }
5767 if ${ac_cv_prog_BISON+:} false
; then :
5768 $as_echo_n "(cached) " >&6
5770 if test -n "$BISON"; then
5771 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5777 test -z "$as_dir" && as_dir
=.
5778 for ac_exec_ext
in '' $ac_executable_extensions; do
5779 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5780 ac_cv_prog_BISON
="bison "
5781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5790 BISON
=$ac_cv_prog_BISON
5791 if test -n "$BISON"; then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5793 $as_echo "$BISON" >&6; }
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5796 $as_echo "no" >&6; }
5801 if test "$BISON" = ""; then
5804 if test "$BISON" = "no"; then
5807 if test "$req_avail" = "no"; then
5808 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5810 # Extract the first word of "flex", so it can be a program name with args.
5811 set dummy flex
; ac_word
=$2
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5813 $as_echo_n "checking for $ac_word... " >&6; }
5814 if ${ac_cv_prog_FLEX+:} false
; then :
5815 $as_echo_n "(cached) " >&6
5817 if test -n "$FLEX"; then
5818 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5824 test -z "$as_dir" && as_dir
=.
5825 for ac_exec_ext
in '' $ac_executable_extensions; do
5826 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5827 ac_cv_prog_FLEX
="flex "
5828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5837 FLEX
=$ac_cv_prog_FLEX
5838 if test -n "$FLEX"; then
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5840 $as_echo "$FLEX" >&6; }
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5843 $as_echo "no" >&6; }
5848 if test "$FLEX" = ""; then
5851 if test "$FLEX" = "no"; then
5854 if test "$req_avail" = "no"; then
5855 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $FLEX" >&5
5858 $as_echo_n "checking version of $FLEX... " >&6; }
5859 ax_cv_flex_version
="`$FLEX --version | cut -d\" \" -f2`"
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_flex_version" >&5
5861 $as_echo "$ax_cv_flex_version" >&6; }
5862 # Extract the first word of "pngtopnm", so it can be a program name with args.
5863 set dummy pngtopnm
; ac_word
=$2
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5865 $as_echo_n "checking for $ac_word... " >&6; }
5866 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5867 $as_echo_n "(cached) " >&6
5869 if test -n "$PNGTOPNM"; then
5870 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5876 test -z "$as_dir" && as_dir
=.
5877 for ac_exec_ext
in '' $ac_executable_extensions; do
5878 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5879 ac_cv_prog_PNGTOPNM
="pngtopnm "
5880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5889 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5890 if test -n "$PNGTOPNM"; then
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5892 $as_echo "$PNGTOPNM" >&6; }
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5895 $as_echo "no" >&6; }
5900 if test "$PNGTOPNM" = ""; then
5903 if test "$PNGTOPNM" = "no"; then
5906 if test "$req_avail" = "no"; then
5907 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5909 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5910 set dummy ppmtoilbm
; ac_word
=$2
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5912 $as_echo_n "checking for $ac_word... " >&6; }
5913 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5914 $as_echo_n "(cached) " >&6
5916 if test -n "$PPMTOILBM"; then
5917 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5923 test -z "$as_dir" && as_dir
=.
5924 for ac_exec_ext
in '' $ac_executable_extensions; do
5925 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5926 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5936 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5937 if test -n "$PPMTOILBM"; then
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5939 $as_echo "$PPMTOILBM" >&6; }
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5942 $as_echo "no" >&6; }
5947 if test "$PPMTOILBM" = ""; then
5950 if test "$PPMTOILBM" = "no"; then
5953 if test "$req_avail" = "no"; then
5954 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5956 # Extract the first word of "sed", so it can be a program name with args.
5957 set dummy
sed; ac_word
=$2
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5959 $as_echo_n "checking for $ac_word... " >&6; }
5960 if ${ac_cv_prog_SED+:} false
; then :
5961 $as_echo_n "(cached) " >&6
5963 if test -n "$SED"; then
5964 ac_cv_prog_SED
="$SED" # Let the user override the test.
5966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5970 test -z "$as_dir" && as_dir
=.
5971 for ac_exec_ext
in '' $ac_executable_extensions; do
5972 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5973 ac_cv_prog_SED
="sed "
5974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5984 if test -n "$SED"; then
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5986 $as_echo "$SED" >&6; }
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5989 $as_echo "no" >&6; }
5994 if test "$SED" = ""; then
5997 if test "$SED" = "no"; then
6000 if test "$req_avail" = "no"; then
6001 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
6003 # Extract the first word of "chmod", so it can be a program name with args.
6004 set dummy
chmod; ac_word
=$2
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6006 $as_echo_n "checking for $ac_word... " >&6; }
6007 if ${ac_cv_prog_CHMOD+:} false
; then :
6008 $as_echo_n "(cached) " >&6
6010 if test -n "$CHMOD"; then
6011 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
6013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6017 test -z "$as_dir" && as_dir
=.
6018 for ac_exec_ext
in '' $ac_executable_extensions; do
6019 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6020 ac_cv_prog_CHMOD
="chmod "
6021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6030 CHMOD
=$ac_cv_prog_CHMOD
6031 if test -n "$CHMOD"; then
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
6033 $as_echo "$CHMOD" >&6; }
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6036 $as_echo "no" >&6; }
6041 if test "$CHMOD" = ""; then
6044 if test "$CHMOD" = "no"; then
6047 if test "$req_avail" = "no"; then
6048 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
6050 # Extract the first word of "patch", so it can be a program name with args.
6051 set dummy
patch; ac_word
=$2
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6053 $as_echo_n "checking for $ac_word... " >&6; }
6054 if ${ac_cv_prog_PATCH+:} false
; then :
6055 $as_echo_n "(cached) " >&6
6057 if test -n "$PATCH"; then
6058 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
6060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6064 test -z "$as_dir" && as_dir
=.
6065 for ac_exec_ext
in '' $ac_executable_extensions; do
6066 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6067 ac_cv_prog_PATCH
="patch "
6068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6077 PATCH
=$ac_cv_prog_PATCH
6078 if test -n "$PATCH"; then
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
6080 $as_echo "$PATCH" >&6; }
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6083 $as_echo "no" >&6; }
6088 if test "$PATCH" = ""; then
6091 if test "$PATCH" = "no"; then
6094 if test "$req_avail" = "no"; then
6095 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
6104 if test -n "$PYTHON"; then
6105 # If the user set $PYTHON, use it and don't search something else.
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
6107 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
6109 # split strings by '.' and convert to numeric. Append some zeros
6110 # because we need at least 4 digits for the hex conversion.
6111 # map returns an iterator in Python 3.0 and a list in 2.x
6112 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
6114 # xrange is not present in Python 3.0 and range returns an iterator
6115 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
6116 sys.exit(sys.hexversion < minverhex)"
6117 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
6118 ($PYTHON -c "$prog") >&5 2>&5
6120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6121 (exit $ac_status); }; then :
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6123 $as_echo "yes" >&6; }
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6126 $as_echo "no" >&6; }
6127 as_fn_error $?
"Python interpreter is too old" "$LINENO" 5
6129 am_display_PYTHON
=$PYTHON
6131 # Otherwise, try each interpreter until we find one that satisfies
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
6134 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
6135 if ${am_cv_pathless_PYTHON+:} false
; then :
6136 $as_echo_n "(cached) " >&6
6139 for am_cv_pathless_PYTHON
in python python2 python3 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none
; do
6140 test "$am_cv_pathless_PYTHON" = none
&& break
6142 # split strings by '.' and convert to numeric. Append some zeros
6143 # because we need at least 4 digits for the hex conversion.
6144 # map returns an iterator in Python 3.0 and a list in 2.x
6145 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
6147 # xrange is not present in Python 3.0 and range returns an iterator
6148 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
6149 sys.exit(sys.hexversion < minverhex)"
6150 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
6151 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
6153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154 (exit $ac_status); }; then :
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
6160 $as_echo "$am_cv_pathless_PYTHON" >&6; }
6161 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
6162 if test "$am_cv_pathless_PYTHON" = none
; then
6165 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
6166 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6168 $as_echo_n "checking for $ac_word... " >&6; }
6169 if ${ac_cv_path_PYTHON+:} false
; then :
6170 $as_echo_n "(cached) " >&6
6174 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
6177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6181 test -z "$as_dir" && as_dir
=.
6182 for ac_exec_ext
in '' $ac_executable_extensions; do
6183 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6184 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
6185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6195 PYTHON
=$ac_cv_path_PYTHON
6196 if test -n "$PYTHON"; then
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
6198 $as_echo "$PYTHON" >&6; }
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6201 $as_echo "no" >&6; }
6206 am_display_PYTHON
=$am_cv_pathless_PYTHON
6210 if test "$PYTHON" = :; then
6211 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
6216 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
6217 if ${am_cv_python_version+:} false
; then :
6218 $as_echo_n "(cached) " >&6
6220 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
6223 $as_echo "$am_cv_python_version" >&6; }
6224 PYTHON_VERSION
=$am_cv_python_version
6228 PYTHON_PREFIX
='${prefix}'
6230 PYTHON_EXEC_PREFIX
='${exec_prefix}'
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
6235 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
6236 if ${am_cv_python_platform+:} false
; then :
6237 $as_echo_n "(cached) " >&6
6239 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
6242 $as_echo "$am_cv_python_platform" >&6; }
6243 PYTHON_PLATFORM
=$am_cv_python_platform
6246 # Just factor out some code duplication.
6247 am_python_setup_sysconfig
="\
6249 # Prefer sysconfig over distutils.sysconfig, for better compatibility
6250 # with python 3.x. See automake bug#10227.
6254 can_use_sysconfig = 0
6256 can_use_sysconfig = 1
6257 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
6258 # <https://github.com/pypa/virtualenv/issues/118>
6260 from platform import python_implementation
6261 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
6262 can_use_sysconfig = 0
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
6268 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
6269 if ${am_cv_python_pythondir+:} false
; then :
6270 $as_echo_n "(cached) " >&6
6272 if test "x$prefix" = xNONE
6274 am_py_prefix
=$ac_default_prefix
6276 am_py_prefix
=$prefix
6278 am_cv_python_pythondir
=`$PYTHON -c "
6279 $am_python_setup_sysconfig
6280 if can_use_sysconfig:
6281 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
6283 from distutils import sysconfig
6284 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
6285 sys.stdout.write(sitedir)"`
6286 case $am_cv_python_pythondir in
6288 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
6289 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
6292 case $am_py_prefix in
6295 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
6303 $as_echo "$am_cv_python_pythondir" >&6; }
6304 pythondir
=$am_cv_python_pythondir
6308 pkgpythondir
=\
${pythondir}/$PACKAGE
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
6312 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
6313 if ${am_cv_python_pyexecdir+:} false
; then :
6314 $as_echo_n "(cached) " >&6
6316 if test "x$exec_prefix" = xNONE
6318 am_py_exec_prefix
=$am_py_prefix
6320 am_py_exec_prefix
=$exec_prefix
6322 am_cv_python_pyexecdir
=`$PYTHON -c "
6323 $am_python_setup_sysconfig
6324 if can_use_sysconfig:
6325 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
6327 from distutils import sysconfig
6328 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
6329 sys.stdout.write(sitedir)"`
6330 case $am_cv_python_pyexecdir in
6331 $am_py_exec_prefix*)
6332 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
6333 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
6336 case $am_py_exec_prefix in
6339 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
6347 $as_echo "$am_cv_python_pyexecdir" >&6; }
6348 pyexecdir
=$am_cv_python_pyexecdir
6352 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
6360 # Check whether --enable-libpng-config was given.
6361 if test "${enable_libpng_config+set}" = set; then :
6362 enableval
=$enable_libpng_config;
6365 if test "$enable_libpng_config" != "no"; then
6366 # Extract the first word of "libpng-config", so it can be a program name with args.
6367 set dummy libpng-config
; ac_word
=$2
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6369 $as_echo_n "checking for $ac_word... " >&6; }
6370 if ${ac_cv_prog_arosconfig_use_libpngconfig+:} false
; then :
6371 $as_echo_n "(cached) " >&6
6373 if test -n "$arosconfig_use_libpngconfig"; then
6374 ac_cv_prog_arosconfig_use_libpngconfig
="$arosconfig_use_libpngconfig" # Let the user override the test.
6376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6380 test -z "$as_dir" && as_dir
=.
6381 for ac_exec_ext
in '' $ac_executable_extensions; do
6382 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6383 ac_cv_prog_arosconfig_use_libpngconfig
="yes"
6384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6391 test -z "$ac_cv_prog_arosconfig_use_libpngconfig" && ac_cv_prog_arosconfig_use_libpngconfig
="no"
6394 arosconfig_use_libpngconfig
=$ac_cv_prog_arosconfig_use_libpngconfig
6395 if test -n "$arosconfig_use_libpngconfig"; then
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $arosconfig_use_libpngconfig" >&5
6397 $as_echo "$arosconfig_use_libpngconfig" >&6; }
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6400 $as_echo "no" >&6; }
6405 if test "$arosconfig_use_libpngconfig" = "yes"; then
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libpng-config library" >&5
6407 $as_echo_n "checking libpng-config library... " >&6; }
6408 libpng_incdir
="`libpng-config --cflags`"
6409 libpng_libextra
="$libpng_libextra `libpng-config --ldflags`"
6410 libpng
="`libpng-config --libs`"
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libpng" >&5
6412 $as_echo "$libpng" >&6; }
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
6416 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
6417 if ${ac_cv_lib_png_png_read_png+:} false
; then :
6418 $as_echo_n "(cached) " >&6
6420 ac_check_lib_save_LIBS
=$LIBS
6422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6423 /* end confdefs.h. */
6425 /* Override any GCC internal prototype to avoid an error.
6426 Use char because int might match the return type of a GCC
6427 builtin and then its argument prototype would still apply. */
6431 char png_read_png ();
6435 return png_read_png ();
6440 if ac_fn_c_try_link
"$LINENO"; then :
6441 ac_cv_lib_png_png_read_png
=yes
6443 ac_cv_lib_png_png_read_png
=no
6445 rm -f core conftest.err conftest.
$ac_objext \
6446 conftest
$ac_exeext conftest.
$ac_ext
6447 LIBS
=$ac_check_lib_save_LIBS
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
6450 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
6451 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
6457 if test "$libpng_libextra" != ""; then
6458 if test "$libpng" != "no"; then
6459 libpng_libextra
="$libpng_libextra $libpng"
6464 if test "$libpng" = ""; then
6467 if test "$libpng" = "no"; then
6470 if test "$req_avail" = "no"; then
6471 as_fn_error $?
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
6487 # Check for some includes for the X11 HIDD and the kernel
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6490 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6491 if ${ac_cv_path_GREP+:} false
; then :
6492 $as_echo_n "(cached) " >&6
6494 if test -z "$GREP"; then
6495 ac_path_GREP_found
=false
6496 # Loop through the user's path and test for each of PROGNAME-LIST
6497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6498 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6501 test -z "$as_dir" && as_dir
=.
6502 for ac_prog
in grep ggrep
; do
6503 for ac_exec_ext
in '' $ac_executable_extensions; do
6504 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6505 as_fn_executable_p
"$ac_path_GREP" ||
continue
6506 # Check for GNU ac_path_GREP and select it if it is found.
6507 # Check for GNU $ac_path_GREP
6508 case `"$ac_path_GREP" --version 2>&1` in
6510 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6513 $as_echo_n 0123456789 >"conftest.in"
6516 cat "conftest.in" "conftest.in" >"conftest.tmp"
6517 mv "conftest.tmp" "conftest.in"
6518 cp "conftest.in" "conftest.nl"
6519 $as_echo 'GREP' >> "conftest.nl"
6520 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6521 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6522 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6523 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6524 # Best one so far, save it but keep looking for a better one
6525 ac_cv_path_GREP
="$ac_path_GREP"
6526 ac_path_GREP_max
=$ac_count
6528 # 10*(2^10) chars as input seems more than enough
6529 test $ac_count -gt 10 && break
6531 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6534 $ac_path_GREP_found && break 3
6539 if test -z "$ac_cv_path_GREP"; then
6540 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6543 ac_cv_path_GREP
=$GREP
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6548 $as_echo "$ac_cv_path_GREP" >&6; }
6549 GREP
="$ac_cv_path_GREP"
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6553 $as_echo_n "checking for egrep... " >&6; }
6554 if ${ac_cv_path_EGREP+:} false
; then :
6555 $as_echo_n "(cached) " >&6
6557 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6558 then ac_cv_path_EGREP
="$GREP -E"
6560 if test -z "$EGREP"; then
6561 ac_path_EGREP_found
=false
6562 # Loop through the user's path and test for each of PROGNAME-LIST
6563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6564 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6567 test -z "$as_dir" && as_dir
=.
6568 for ac_prog
in egrep; do
6569 for ac_exec_ext
in '' $ac_executable_extensions; do
6570 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6571 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6572 # Check for GNU ac_path_EGREP and select it if it is found.
6573 # Check for GNU $ac_path_EGREP
6574 case `"$ac_path_EGREP" --version 2>&1` in
6576 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6579 $as_echo_n 0123456789 >"conftest.in"
6582 cat "conftest.in" "conftest.in" >"conftest.tmp"
6583 mv "conftest.tmp" "conftest.in"
6584 cp "conftest.in" "conftest.nl"
6585 $as_echo 'EGREP' >> "conftest.nl"
6586 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6587 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6588 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6589 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6590 # Best one so far, save it but keep looking for a better one
6591 ac_cv_path_EGREP
="$ac_path_EGREP"
6592 ac_path_EGREP_max
=$ac_count
6594 # 10*(2^10) chars as input seems more than enough
6595 test $ac_count -gt 10 && break
6597 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6600 $ac_path_EGREP_found && break 3
6605 if test -z "$ac_cv_path_EGREP"; then
6606 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6609 ac_cv_path_EGREP
=$EGREP
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6615 $as_echo "$ac_cv_path_EGREP" >&6; }
6616 EGREP
="$ac_cv_path_EGREP"
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6620 $as_echo_n "checking for ANSI C header files... " >&6; }
6621 if ${ac_cv_header_stdc+:} false
; then :
6622 $as_echo_n "(cached) " >&6
6624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6625 /* end confdefs.h. */
6639 if ac_fn_c_try_compile
"$LINENO"; then :
6640 ac_cv_header_stdc
=yes
6642 ac_cv_header_stdc
=no
6644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6646 if test $ac_cv_header_stdc = yes; then
6647 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6649 /* end confdefs.h. */
6653 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6654 $EGREP "memchr" >/dev
/null
2>&1; then :
6657 ac_cv_header_stdc
=no
6663 if test $ac_cv_header_stdc = yes; then
6664 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6666 /* end confdefs.h. */
6670 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6671 $EGREP "free" >/dev
/null
2>&1; then :
6674 ac_cv_header_stdc
=no
6680 if test $ac_cv_header_stdc = yes; then
6681 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6682 if test "$cross_compiling" = yes; then :
6685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6686 /* end confdefs.h. */
6689 #if ((' ' & 0x0FF) == 0x020)
6690 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6691 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6693 # define ISLOWER(c) \
6694 (('a' <= (c) && (c) <= 'i') \
6695 || ('j' <= (c) && (c) <= 'r') \
6696 || ('s' <= (c) && (c) <= 'z'))
6697 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6700 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6705 for (i = 0; i < 256; i++)
6706 if (XOR (islower (i), ISLOWER (i))
6707 || toupper (i) != TOUPPER (i))
6712 if ac_fn_c_try_run
"$LINENO"; then :
6715 ac_cv_header_stdc
=no
6717 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6718 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6724 $as_echo "$ac_cv_header_stdc" >&6; }
6725 if test $ac_cv_header_stdc = yes; then
6727 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6731 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6732 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6733 inttypes.h stdint.h unistd.h
6735 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6736 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6738 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6739 cat >>confdefs.h
<<_ACEOF
6740 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6748 for ac_header
in sys
/ipc.h sys
/shm.h \
6749 sys
/mmap.h sys
/mman.h sysexits.h \
6750 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6753 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6754 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6755 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6756 cat >>confdefs.h
<<_ACEOF
6757 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6765 for ac_header
in sys
/mount.h
6767 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6769 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6770 cat >>confdefs.h
<<_ACEOF
6771 #define HAVE_SYS_MOUNT_H 1
6778 for ac_header
in GL
/glx.h
6780 ac_fn_c_check_header_mongrel
"$LINENO" "GL/glx.h" "ac_cv_header_GL_glx_h" "$ac_includes_default"
6781 if test "x$ac_cv_header_GL_glx_h" = xyes
; then :
6782 cat >>confdefs.h
<<_ACEOF
6783 #define HAVE_GL_GLX_H 1
6785 host_feature_glx
=yes
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __unused conflicts with sys/stat.h" >&5
6794 $as_echo_n "checking if __unused conflicts with sys/stat.h... " >&6; }
6795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6796 /* end confdefs.h. */
6798 #define __unused __attribute__((unused))
6799 #include <sys/stat.h>
6809 if ac_fn_c_try_compile
"$LINENO"; then :
6810 host_stat_h__unused_used
=no
6812 host_stat_h__unused_used
=yes
6814 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_stat_h__unused_used" >&5
6816 $as_echo "$host_stat_h__unused_used" >&6; }
6819 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6820 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6822 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6823 if eval \
${$as_ac_Header+:} false
; then :
6824 $as_echo_n "(cached) " >&6
6826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6827 /* end confdefs.h. */
6828 #include <sys/types.h>
6840 if ac_fn_c_try_compile
"$LINENO"; then :
6841 eval "$as_ac_Header=yes"
6843 eval "$as_ac_Header=no"
6845 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6847 eval ac_res
=\$
$as_ac_Header
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6849 $as_echo "$ac_res" >&6; }
6850 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6851 cat >>confdefs.h
<<_ACEOF
6852 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6855 ac_header_dirent
=$ac_hdr; break
6859 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6860 if test $ac_header_dirent = dirent.h
; then
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6862 $as_echo_n "checking for library containing opendir... " >&6; }
6863 if ${ac_cv_search_opendir+:} false
; then :
6864 $as_echo_n "(cached) " >&6
6866 ac_func_search_save_LIBS
=$LIBS
6867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6868 /* end confdefs.h. */
6870 /* Override any GCC internal prototype to avoid an error.
6871 Use char because int might match the return type of a GCC
6872 builtin and then its argument prototype would still apply. */
6885 for ac_lib
in '' dir
; do
6886 if test -z "$ac_lib"; then
6887 ac_res
="none required"
6890 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6892 if ac_fn_c_try_link
"$LINENO"; then :
6893 ac_cv_search_opendir
=$ac_res
6895 rm -f core conftest.err conftest.
$ac_objext \
6897 if ${ac_cv_search_opendir+:} false
; then :
6901 if ${ac_cv_search_opendir+:} false
; then :
6904 ac_cv_search_opendir
=no
6907 LIBS
=$ac_func_search_save_LIBS
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6910 $as_echo "$ac_cv_search_opendir" >&6; }
6911 ac_res
=$ac_cv_search_opendir
6912 if test "$ac_res" != no
; then :
6913 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6919 $as_echo_n "checking for library containing opendir... " >&6; }
6920 if ${ac_cv_search_opendir+:} false
; then :
6921 $as_echo_n "(cached) " >&6
6923 ac_func_search_save_LIBS
=$LIBS
6924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6925 /* end confdefs.h. */
6927 /* Override any GCC internal prototype to avoid an error.
6928 Use char because int might match the return type of a GCC
6929 builtin and then its argument prototype would still apply. */
6942 for ac_lib
in '' x
; do
6943 if test -z "$ac_lib"; then
6944 ac_res
="none required"
6947 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6949 if ac_fn_c_try_link
"$LINENO"; then :
6950 ac_cv_search_opendir
=$ac_res
6952 rm -f core conftest.err conftest.
$ac_objext \
6954 if ${ac_cv_search_opendir+:} false
; then :
6958 if ${ac_cv_search_opendir+:} false
; then :
6961 ac_cv_search_opendir
=no
6964 LIBS
=$ac_func_search_save_LIBS
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6967 $as_echo "$ac_cv_search_opendir" >&6; }
6968 ac_res
=$ac_cv_search_opendir
6969 if test "$ac_res" != no
; then :
6970 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6977 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6978 if ${ac_cv_header_stat_broken+:} false
; then :
6979 $as_echo_n "(cached) " >&6
6981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6982 /* end confdefs.h. */
6983 #include <sys/types.h>
6984 #include <sys/stat.h>
6986 #if defined S_ISBLK && defined S_IFDIR
6987 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6990 #if defined S_ISBLK && defined S_IFCHR
6991 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6994 #if defined S_ISLNK && defined S_IFREG
6995 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6998 #if defined S_ISSOCK && defined S_IFREG
6999 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7003 if ac_fn_c_try_compile
"$LINENO"; then :
7004 ac_cv_header_stat_broken
=no
7006 ac_cv_header_stat_broken
=yes
7008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7011 $as_echo "$ac_cv_header_stat_broken" >&6; }
7012 if test $ac_cv_header_stat_broken = yes; then
7014 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7019 $as_echo_n "checking for ANSI C header files... " >&6; }
7020 if ${ac_cv_header_stdc+:} false
; then :
7021 $as_echo_n "(cached) " >&6
7023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7024 /* end confdefs.h. */
7038 if ac_fn_c_try_compile
"$LINENO"; then :
7039 ac_cv_header_stdc
=yes
7041 ac_cv_header_stdc
=no
7043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7045 if test $ac_cv_header_stdc = yes; then
7046 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7048 /* end confdefs.h. */
7052 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7053 $EGREP "memchr" >/dev
/null
2>&1; then :
7056 ac_cv_header_stdc
=no
7062 if test $ac_cv_header_stdc = yes; then
7063 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7065 /* end confdefs.h. */
7069 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7070 $EGREP "free" >/dev
/null
2>&1; then :
7073 ac_cv_header_stdc
=no
7079 if test $ac_cv_header_stdc = yes; then
7080 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7081 if test "$cross_compiling" = yes; then :
7084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7085 /* end confdefs.h. */
7088 #if ((' ' & 0x0FF) == 0x020)
7089 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7090 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7092 # define ISLOWER(c) \
7093 (('a' <= (c) && (c) <= 'i') \
7094 || ('j' <= (c) && (c) <= 'r') \
7095 || ('s' <= (c) && (c) <= 'z'))
7096 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7099 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7104 for (i = 0; i < 256; i++)
7105 if (XOR (islower (i), ISLOWER (i))
7106 || toupper (i) != TOUPPER (i))
7111 if ac_fn_c_try_run
"$LINENO"; then :
7114 ac_cv_header_stdc
=no
7116 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7117 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7123 $as_echo "$ac_cv_header_stdc" >&6; }
7124 if test $ac_cv_header_stdc = yes; then
7126 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
7131 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
7132 if ${ac_cv_header_sys_wait_h+:} false
; then :
7133 $as_echo_n "(cached) " >&6
7135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7136 /* end confdefs.h. */
7137 #include <sys/types.h>
7138 #include <sys/wait.h>
7140 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
7143 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
7151 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
7156 if ac_fn_c_try_compile
"$LINENO"; then :
7157 ac_cv_header_sys_wait_h
=yes
7159 ac_cv_header_sys_wait_h
=no
7161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
7164 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
7165 if test $ac_cv_header_sys_wait_h = yes; then
7167 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
7172 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
7173 if ${ac_cv_header_time+:} false
; then :
7174 $as_echo_n "(cached) " >&6
7176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7177 /* end confdefs.h. */
7178 #include <sys/types.h>
7179 #include <sys/time.h>
7185 if ((struct tm *) 0)
7191 if ac_fn_c_try_compile
"$LINENO"; then :
7192 ac_cv_header_time
=yes
7194 ac_cv_header_time
=no
7196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
7199 $as_echo "$ac_cv_header_time" >&6; }
7200 if test $ac_cv_header_time = yes; then
7202 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
7206 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
7207 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
7209 cat >>confdefs.h
<<_ACEOF
7210 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
7214 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
7219 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
7220 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
7222 cat >>confdefs.h
<<_ACEOF
7223 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
7227 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
7230 case " $LIBOBJS " in
7231 *" fileblocks.$ac_objext "* ) ;;
7232 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
7239 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
7240 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
7242 cat >>confdefs.h
<<_ACEOF
7243 #define HAVE_STRUCT_STAT_ST_RDEV 1
7247 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
7253 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
7254 if ${ac_cv_struct_tm+:} false
; then :
7255 $as_echo_n "(cached) " >&6
7257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7258 /* end confdefs.h. */
7259 #include <sys/types.h>
7266 int *p = &tm.tm_sec;
7272 if ac_fn_c_try_compile
"$LINENO"; then :
7273 ac_cv_struct_tm
=time.h
7275 ac_cv_struct_tm
=sys
/time.h
7277 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
7280 $as_echo "$ac_cv_struct_tm" >&6; }
7281 if test $ac_cv_struct_tm = sys
/time.h
; then
7283 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
7287 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
7288 #include <$ac_cv_struct_tm>
7291 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
7293 cat >>confdefs.h
<<_ACEOF
7294 #define HAVE_STRUCT_TM_TM_ZONE 1
7300 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
7302 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
7305 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
7307 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
7313 cat >>confdefs.h
<<_ACEOF
7314 #define HAVE_DECL_TZNAME $ac_have_decl
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
7318 $as_echo_n "checking for tzname... " >&6; }
7319 if ${ac_cv_var_tzname+:} false
; then :
7320 $as_echo_n "(cached) " >&6
7322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7323 /* end confdefs.h. */
7325 #if !HAVE_DECL_TZNAME
7326 extern char *tzname[];
7332 return tzname[0][0];
7337 if ac_fn_c_try_link
"$LINENO"; then :
7338 ac_cv_var_tzname
=yes
7342 rm -f core conftest.err conftest.
$ac_objext \
7343 conftest
$ac_exeext conftest.
$ac_ext
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
7346 $as_echo "$ac_cv_var_tzname" >&6; }
7347 if test $ac_cv_var_tzname = yes; then
7349 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
7354 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
7355 if test "x$ac_cv_type_off_t" = xyes
; then :
7359 cat >>confdefs.h
<<_ACEOF
7360 #define off_t long int
7365 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
7366 if test "x$ac_cv_type_pid_t" = xyes
; then :
7370 cat >>confdefs.h
<<_ACEOF
7376 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7377 if test "x$ac_cv_type_size_t" = xyes
; then :
7381 cat >>confdefs.h
<<_ACEOF
7382 #define size_t unsigned int
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
7388 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7389 if ${ac_cv_type_uid_t+:} false
; then :
7390 $as_echo_n "(cached) " >&6
7392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7393 /* end confdefs.h. */
7394 #include <sys/types.h>
7397 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7398 $EGREP "uid_t" >/dev
/null
2>&1; then :
7399 ac_cv_type_uid_t
=yes
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
7407 $as_echo "$ac_cv_type_uid_t" >&6; }
7408 if test $ac_cv_type_uid_t = no
; then
7410 $as_echo "#define uid_t int" >>confdefs.h
7413 $as_echo "#define gid_t int" >>confdefs.h
7418 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
7419 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
7421 cat >>confdefs.h
<<_ACEOF
7422 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7429 # Look for some functions
7430 for ac_func
in getpagesize kqueue statfs statvfs \
7431 clone kse_create rfork_thread thr_create sa_register \
7432 getcontext makecontext setcontext sigaltstack swapcontext
7434 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7435 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7436 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7437 cat >>confdefs.h
<<_ACEOF
7438 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7448 for ac_header
in $ac_header_list
7450 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7451 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7453 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7454 cat >>confdefs.h
<<_ACEOF
7455 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7469 for ac_func
in getpagesize
7471 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
7472 if test "x$ac_cv_func_getpagesize" = xyes
; then :
7473 cat >>confdefs.h
<<_ACEOF
7474 #define HAVE_GETPAGESIZE 1
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
7481 $as_echo_n "checking for working mmap... " >&6; }
7482 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
7483 $as_echo_n "(cached) " >&6
7485 if test "$cross_compiling" = yes; then :
7486 ac_cv_func_mmap_fixed_mapped
=no
7488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7489 /* end confdefs.h. */
7490 $ac_includes_default
7491 /* malloc might have been renamed as rpl_malloc. */
7494 /* Thanks to Mike Haertel and Jim Avera for this test.
7495 Here is a matrix of mmap possibilities:
7496 mmap private not fixed
7497 mmap private fixed at somewhere currently unmapped
7498 mmap private fixed at somewhere already mapped
7499 mmap shared not fixed
7500 mmap shared fixed at somewhere currently unmapped
7501 mmap shared fixed at somewhere already mapped
7502 For private mappings, we should verify that changes cannot be read()
7503 back from the file, nor mmap's back from the file at a different
7504 address. (There have been systems where private was not correctly
7505 implemented like the infamous i386 svr4.0, and systems where the
7506 VM page cache was not coherent with the file system buffer cache
7507 like early versions of FreeBSD and possibly contemporary NetBSD.)
7508 For shared mappings, we should conversely verify that changes get
7509 propagated back to all the places they're supposed to be.
7511 Grep wants private fixed already mapped.
7512 The main things grep needs to know about mmap are:
7513 * does it exist and is it safe to write into the mmap'd area
7514 * how to use it (BSD variants) */
7517 #include <sys/mman.h>
7519 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7523 /* This mess was copied from the GNU getpagesize.h. */
7524 #ifndef HAVE_GETPAGESIZE
7525 # ifdef _SC_PAGESIZE
7526 # define getpagesize() sysconf(_SC_PAGESIZE)
7527 # else /* no _SC_PAGESIZE */
7528 # ifdef HAVE_SYS_PARAM_H
7529 # include <sys/param.h>
7530 # ifdef EXEC_PAGESIZE
7531 # define getpagesize() EXEC_PAGESIZE
7532 # else /* no EXEC_PAGESIZE */
7534 # define getpagesize() NBPG * CLSIZE
7537 # endif /* no CLSIZE */
7538 # else /* no NBPG */
7540 # define getpagesize() NBPC
7541 # else /* no NBPC */
7543 # define getpagesize() PAGESIZE
7544 # endif /* PAGESIZE */
7545 # endif /* no NBPC */
7546 # endif /* no NBPG */
7547 # endif /* no EXEC_PAGESIZE */
7548 # else /* no HAVE_SYS_PARAM_H */
7549 # define getpagesize() 8192 /* punt totally */
7550 # endif /* no HAVE_SYS_PARAM_H */
7551 # endif /* no _SC_PAGESIZE */
7553 #endif /* no HAVE_GETPAGESIZE */
7558 char *data, *data2, *data3;
7563 pagesize = getpagesize ();
7565 /* First, make a file with some known garbage in it. */
7566 data = (char *) malloc (pagesize);
7569 for (i = 0; i < pagesize; ++i)
7570 *(data + i) = rand ();
7572 fd = creat ("conftest.mmap", 0600);
7575 if (write (fd, data, pagesize) != pagesize)
7579 /* Next, check that the tail of a page is zero-filled. File must have
7580 non-zero length, otherwise we risk SIGBUS for entire page. */
7581 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7585 if (write (fd2, cdata2, 1) != 1)
7587 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7588 if (data2 == MAP_FAILED)
7590 for (i = 0; i < pagesize; ++i)
7594 if (munmap (data2, pagesize))
7597 /* Next, try to mmap the file at a fixed address which already has
7598 something else allocated at it. If we can, also make sure that
7599 we see the same garbage. */
7600 fd = open ("conftest.mmap", O_RDWR);
7603 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7604 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7606 for (i = 0; i < pagesize; ++i)
7607 if (*(data + i) != *(data2 + i))
7610 /* Finally, make sure that changes to the mapped area do not
7611 percolate back to the file as seen by read(). (This is a bug on
7612 some variants of i386 svr4.0.) */
7613 for (i = 0; i < pagesize; ++i)
7614 *(data2 + i) = *(data2 + i) + 1;
7615 data3 = (char *) malloc (pagesize);
7618 if (read (fd, data3, pagesize) != pagesize)
7620 for (i = 0; i < pagesize; ++i)
7621 if (*(data + i) != *(data3 + i))
7629 if ac_fn_c_try_run
"$LINENO"; then :
7630 ac_cv_func_mmap_fixed_mapped
=yes
7632 ac_cv_func_mmap_fixed_mapped
=no
7634 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7635 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7640 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7641 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7643 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7646 rm -f conftest.mmap conftest.txt
7649 #-----------------------------------------------------------------------------
7652 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7653 # it switched on by default, and we use the host compiler, so it compiles AROS
7654 # code with this enabled resulting in link failures as we don't have support
7657 # We use two methods to disable it. For the host compiler (used to compile
7658 # some hosted modules), we test to see if the compiler supports stack
7659 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7660 # work on all platforms.
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7664 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7665 save_cflags
="$CFLAGS"
7666 CFLAGS
="$CFLAGS -fno-stack-protector"
7667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7668 /* end confdefs.h. */
7678 if ac_fn_c_try_compile
"$LINENO"; then :
7679 use_no_stack_protector
="yes"
7681 use_no_stack_protector
="no"
7683 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7685 $as_echo "$use_no_stack_protector" >&6; }
7686 if test "x-$use_no_stack_protector" = "x-yes" ; then
7687 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7689 CFLAGS
="$save_cflags"
7691 #-----------------------------------------------------------------------------
7693 # Disable pointer-signedness warnings if the compiler recognises the option
7694 # (this only works for the host compiler at the moment)
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7697 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7698 save_cflags
="$CFLAGS"
7699 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7701 /* end confdefs.h. */
7711 if ac_fn_c_try_compile
"$LINENO"; then :
7712 use_no_sign_warning
="yes"
7714 use_no_sign_warning
="no"
7716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7718 $as_echo "$use_no_sign_warning" >&6; }
7719 if test "x-$use_no_sign_warning" = "x-yes" ; then
7720 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7722 CFLAGS
="$save_cflags"
7724 #-----------------------------------------------------------------------------
7726 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7729 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7730 save_cflags
="$CFLAGS"
7731 CFLAGS
="$CFLAGS -fgnu89-inline"
7732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7733 /* end confdefs.h. */
7743 if ac_fn_c_try_compile
"$LINENO"; then :
7744 use_gnu89_inline
="yes"
7746 use_gnu89_inline
="no"
7748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7750 $as_echo "$use_gnu89_inline" >&6; }
7751 if test "x-$use_gnu89_inline" = "x-yes" ; then
7752 gnu89_inline
="-fgnu89-inline"
7754 CFLAGS
="$save_cflags"
7757 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
7758 # On GCC >= 4.0 -iquote should be used
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
7761 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
7762 CFLAGS
="$CFLAGS -iquote."
7763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7764 /* end confdefs.h. */
7774 if ac_fn_c_try_compile
"$LINENO"; then :
7779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
7781 $as_echo "$has_iquote" >&6; }
7782 if test "x-$has_iquote" = "x-yes" ; then
7783 host_cflags_iquote
=-iquote
7784 host_cflags_iquote_end
=
7786 host_cflags_iquote
=-I
7787 host_cflags_iquote_end
=-I-
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: Performing target configuration..." >&5
7791 $as_echo "$as_me: Performing target configuration..." >&6;}
7796 aros_nowarn_flags
="NOWARN_UNUSED_COMMAND_LINE_ARGUMENT NOWARN_UNKNOWN_WARNING_OPTION NOWARN_POINTER_SIGN NOWARN_PARENTHESES"
7804 aros_kernel_isaflags
=
7805 aros_config_cppflags
=
7807 aros_config_cxxflags
=
7808 aros_config_aflags
="$""(WARN_ALL) -x assembler-with-cpp -c"
7809 aros_config_ldflags
=""
7811 aros_shared_default
=yes
7813 aros_shared_cflags
="-fPIC"
7814 aros_shared_aflags
=""
7815 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7816 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7818 aros_kernel_ar_flags
="cr"
7819 aros_target_ar_flags
="cr"
7820 aros_target_nm_flags
="-C -ul"
7821 aros_target_strip_flags
="--strip-unneeded -R.comment"
7826 aros_target_genmap
="-Wl,-Map -Xlinker"
7828 # Native flavour stuff
7829 aros_serial_debug
="0"
7831 # Palm native flavour stuff
7832 aros_palm_debug_hack
="0"
7834 # Unix flavour stuff
7835 aros_nesting_supervisor
="0"
7837 # Collect-aros stuff: "-ius" to ignore undefined symbols
7838 ignore_undefined_symbols
=""
7840 # Check for X11 by default
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which toolchain family to use ..." >&5
7844 $as_echo_n "checking Which toolchain family to use ...... " >&6; }
7846 # Check whether --with-toolchain was given.
7847 if test "${with_toolchain+set}" = set; then :
7848 withval
=$with_toolchain; aros_toolchain
="$withval"
7850 aros_toolchain
="$default_toolchain_family"
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_toolchain" >&5
7854 $as_echo "$aros_toolchain" >&6; }
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should enable link time optimizations (LTO)" >&5
7858 $as_echo_n "checking if we should enable link time optimizations (LTO)... " >&6; }
7859 # Check whether --enable-lto was given.
7860 if test "${enable_lto+set}" = set; then :
7861 enableval
=$enable_lto; aros_config_lto
="$enableval"
7863 aros_config_lto
="no"
7866 if test "$aros_config_lto" != "no"; then
7867 aros_config_lto
="yes"
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_config_lto" >&5
7870 $as_echo "$aros_config_lto" >&6; }
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should enable coverage instrumentation" >&5
7873 $as_echo_n "checking if we should enable coverage instrumentation... " >&6; }
7874 # Check whether --enable-coverage was given.
7875 if test "${enable_coverage+set}" = set; then :
7876 enableval
=$enable_coverage; aros_config_coverage
="$enableval"
7878 aros_config_coverage
="no"
7881 if test "$aros_config_coverage" != "no"; then
7882 aros_config_coverage
="yes"
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_config_coverage" >&5
7885 $as_echo "$aros_config_coverage" >&6; }
7889 case "$aros_toolchain" in
7891 toolchain_c_compiler
="clang"
7892 toolchain_cxx_compiler
="clang++"
7893 toolchain_cpp_preprocessor
="clang -E"
7894 toolchain_ld
="ld.lld"
7896 toolchain_as
="llvm-as"
7897 toolchain_ar
="llvm-ar"
7898 toolchain_ranlib
="llvm-ranlib"
7899 toolchain_nm
="llvm-nm"
7900 toolchain_strip
="true"
7901 toolchain_objcopy
="llvm-objcopy"
7902 toolchain_objdump
="llvm-objdump"
7906 toolchain_c_compiler
="gcc"
7907 toolchain_cxx_compiler
="g++"
7908 toolchain_cpp_preprocessor
="gcc -E"
7911 if test "$aros_config_lto" != "yes"; then
7914 toolchain_ranlib
="ranlib"
7917 toolchain_ld
="ld.bfd"
7918 toolchain_ar
="gcc-ar"
7919 toolchain_ranlib
="gcc-ranlib"
7920 toolchain_nm
="gcc-nm"
7922 toolchain_strip
="strip"
7923 toolchain_objcopy
="objcopy"
7924 toolchain_objdump
="objdump"
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown toolchain family!\"" >&5
7929 $as_echo "$as_me: WARNING: \"Unknown toolchain family!\"" >&2;}
7930 toolchain_c_compiler
="cc"
7931 toolchain_cxx_compiler
="c++"
7932 toolchain_cpp_preprocessor
="cpp"
7937 toolchain_ranlib
="ranlib"
7939 toolchain_strip
="strip"
7940 toolchain_objcopy
="objcopy"
7941 toolchain_objdump
="objdump"
7945 #-----------------------------------------------------------------------------
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which type of build to do" >&5
7948 $as_echo_n "checking which type of build to do... " >&6; }
7949 # Check whether --enable-build_type was given.
7950 if test "${enable_build_type+set}" = set; then :
7951 enableval
=$enable_build_type; build_type
=$enableval
7953 build_type
="personal"
7957 if test "$build_type" = "nightly"; then
7958 build_type_string
="NIGHTLY"
7959 elif test "$build_type" = "snapshot"; then
7960 build_type_string
="SNAPSHOT"
7961 elif test "$build_type" = "milestone"; then
7962 build_type_string
="MILESTONE"
7963 elif test "$build_type" = "release"; then
7964 build_type_string
="RELEASE"
7966 build_type_string
="PERSONAL"
7967 build_type
="personal"
7970 aros_config_cppflags
="$aros_config_cppflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7973 $as_echo "$build_type" >&6; }
7975 #-----------------------------------------------------------------------------
7976 all_debug_types
="messages stack modules mungwall symbols"
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7979 $as_echo_n "checking which debug types to enable... " >&6; }
7980 # Check whether --enable-debug was given.
7981 if test "${enable_debug+set}" = set; then :
7982 enableval
=$enable_debug; debug
="$enableval"
7988 if test "$debug" = "" -o "$debug" = "no"; then
7990 elif test "$debug" = "yes"; then
7994 if test "$debug" = "all" ; then
7995 debug
="messages stack modules symbols"
7996 for d
in $all_debug_types; do
7997 export aros_
${d}_debug
="1"
8000 for d
in $all_debug_types; do
8001 export aros_
${d}_debug
="0"
8005 if test "$debug" != "none"; then
8006 debug
=`echo $debug | sed s/,/\ /g`
8009 for d2
in $all_debug_types; do
8010 if test "$d2" = "$d"; then
8015 if test "$found" = "0"; then
8016 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
8018 export aros_
${d}_debug
="1"
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
8023 $as_echo "$debug" >&6; }
8025 if test "$aros_messages_debug" = "1"; then
8026 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
8028 aros_messages_debug
=""
8030 if test "$aros_symbols_debug" = "1"; then
8031 aros_symbols_debug
="-g"
8033 aros_symbols_debug
=""
8036 # These are the flags to pass when compiling debugged programs
8037 aros_debug_cppflags
="$aros_messages_debug"
8038 aros_debug_cflags
="$aros_symbols_debug"
8039 aros_debug_cxxflags
=
8040 aros_debug_aflags
=""
8041 aros_debug_ldflags
="$aros_symbols_debug"
8043 #-----------------------------------------------------------------------------
8044 # Checking for distcc and ccache.
8046 # Always apply the transforms in this particular order. Basically you should
8047 # always run 'ccache distcc compiler' in that order for the best performance.
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
8050 $as_echo_n "checking whether to enable distcc... " >&6; }
8051 # Check whether --enable-distcc was given.
8052 if test "${enable_distcc+set}" = set; then :
8053 enableval
=$enable_distcc; distcc
="$enableval"
8058 if test "$distcc" != "" -a "$distcc" != "no"; then
8059 # AC_CHECK_PROG will print out the result in this case
8060 # Extract the first word of "distcc", so it can be a program name with args.
8061 set dummy distcc
; ac_word
=$2
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8063 $as_echo_n "checking for $ac_word... " >&6; }
8064 if ${ac_cv_path_DISTCC+:} false
; then :
8065 $as_echo_n "(cached) " >&6
8069 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
8072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8076 test -z "$as_dir" && as_dir
=.
8077 for ac_exec_ext
in '' $ac_executable_extensions; do
8078 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8079 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
8080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8087 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
8091 DISTCC
=$ac_cv_path_DISTCC
8092 if test -n "$DISTCC"; then
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
8094 $as_echo "$DISTCC" >&6; }
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8097 $as_echo "no" >&6; }
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8103 $as_echo "no" >&6; }
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
8107 $as_echo_n "checking whether to enable ccache... " >&6; }
8108 # Check whether --enable-ccache was given.
8109 if test "${enable_ccache+set}" = set; then :
8110 enableval
=$enable_ccache; ccache
="$enableval"
8115 if test "$ccache" != "" -a "$ccache" != "no"; then
8116 # AC_CHECK_PROG will print out the result in this case
8117 # Extract the first word of "ccache", so it can be a program name with args.
8118 set dummy ccache
; ac_word
=$2
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8120 $as_echo_n "checking for $ac_word... " >&6; }
8121 if ${ac_cv_prog_CCACHE+:} false
; then :
8122 $as_echo_n "(cached) " >&6
8124 if test -n "$CCACHE"; then
8125 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
8127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8131 test -z "$as_dir" && as_dir
=.
8132 for ac_exec_ext
in '' $ac_executable_extensions; do
8133 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8134 ac_cv_prog_CCACHE
="ccache"
8135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8144 CCACHE
=$ac_cv_prog_CCACHE
8145 if test -n "$CCACHE"; then
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
8147 $as_echo "$CCACHE" >&6; }
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8150 $as_echo "no" >&6; }
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8156 $as_echo "no" >&6; }
8159 #-----------------------------------------------------------------------------
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
8161 $as_echo_n "checking what specific host gcc version to use... " >&6; }
8163 # Check whether --with-kernel-gcc-version was given.
8164 if test "${with_kernel_gcc_version+set}" = set; then :
8165 withval
=$with_kernel_gcc_version; kernel_tool_version
="$withval"
8167 kernel_tool_version
=""
8170 if test "$kernel_tool_version" != "" ; then
8171 msg_result
=$kernel_tool_version
8173 msg_result
="default"
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
8176 $as_echo "$msg_result" >&6; }
8178 #-----------------------------------------------------------------------------
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
8180 $as_echo_n "checking what optimization flags to use... " >&6; }
8182 # Check whether --with-optimization was given.
8183 if test "${with_optimization+set}" = set; then :
8184 withval
=$with_optimization; optimization_level
="$withval"
8186 optimization_level
="unknown"
8189 if test "$optimization_level" = "unknown"; then
8190 optimization
="default"
8191 if test "$debug" != "none"; then
8192 optimization_level
="-O0"
8194 optimization_level
="-O2"
8197 optimization
="$optimization_level"
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
8200 $as_echo "$optimization" >&6; }
8202 paranoia_default
=yes
8203 #-----------------------------------------------------------------------------
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which paranoia flags to use" >&5
8205 $as_echo_n "checking which paranoia flags to use... " >&6; }
8207 # Check whether --with-paranoia was given.
8208 if test "${with_paranoia+set}" = set; then :
8209 withval
=$with_paranoia; paranoia_flags
="$withval"
8211 paranoia_flags
="$paranoia_default"
8214 if test "$paranoia_flags" = "no"; then
8215 paranoia_flags
="$""(WARN_ALL) -Werror-implicit-function-declaration"
8218 if test "$paranoia_flags" = "yes"; then
8219 paranoia_flags
="$""(WARN_ALL) $""(WARN_ERROR)"
8221 msg_result
="$paranoia_flags"
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
8224 $as_echo "$msg_result" >&6; }
8225 aros_warn_flags
="$aros_warn_flags $paranoia_flags"
8227 #-----------------------------------------------------------------------------
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
8229 $as_echo_n "checking what target variant to enable... " >&6; }
8230 # Check whether --enable-target_variant was given.
8231 if test "${enable_target_variant+set}" = set; then :
8232 enableval
=$enable_target_variant; target_variant
=$enableval
8237 if test "$target_variant" = ""; then
8238 aros_target_variant
=""
8239 aros_target_suffix
=""
8242 aros_target_variant
="$target_variant"
8243 aros_target_suffix
="-$target_variant"
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
8246 $as_echo "$enableval" >&6; }
8248 #-----------------------------------------------------------------------------
8249 # Target-specific defaults. You can override then on a per-target basis.
8251 # Bootloader name. Currently used by PC target.
8252 target_bootloader
="none"
8256 #-----------------------------------------------------------------------------
8257 # Additional options for some specific targets
8259 case "$aros_target_variant" in
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
8262 $as_echo_n "checking XCode path... " >&6; }
8264 # Check whether --with-xcode was given.
8265 if test "${with_xcode+set}" = set; then :
8266 withval
=$with_xcode; aros_xcode_path
="$withval"
8268 aros_xcode_path
="/Developer"
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
8272 $as_echo "$aros_xcode_path" >&6; }
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
8275 $as_echo_n "checking what iOS SDK version to use... " >&6; }
8277 # Check whether --with-sdk-version was given.
8278 if test "${with_sdk_version+set}" = set; then :
8279 withval
=$with_sdk_version; aros_sdk_version
="$withval"
8281 aros_sdk_version
="4.1"
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
8285 $as_echo "$aros_sdk_version" >&6; }
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
8291 $as_echo_n "checking Android SDK path... " >&6; }
8293 # Check whether --with-sdk was given.
8294 if test "${with_sdk+set}" = set; then :
8295 withval
=$with_sdk; aros_android_sdk
="$withval"
8297 aros_android_sdk
=$default_android_sdk
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
8301 $as_echo "$aros_android_sdk" >&6; }
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
8304 $as_echo_n "checking Android NDK path... " >&6; }
8306 # Check whether --with-ndk was given.
8307 if test "${with_ndk+set}" = set; then :
8308 withval
=$with_ndk; aros_android_ndk
="$withval"
8310 aros_android_ndk
="none"
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
8314 $as_echo "$aros_android_ndk" >&6; }
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
8317 $as_echo_n "checking what Android SDK version to use... " >&6; }
8319 # Check whether --with-sdk-version was given.
8320 if test "${with_sdk_version+set}" = set; then :
8321 withval
=$with_sdk_version; aros_sdk_version
="$withval"
8323 aros_sdk_version
="12"
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
8327 $as_echo "$aros_sdk_version" >&6; }
8329 aros_android_level
=android-
$aros_sdk_version
8330 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
8331 echo "Platform $aros_android_level is not installed in your SDK"
8332 echo "Use --with-sdk-version=<API level number> to select another platform version"
8333 echo "You can check what plaform versions are installed in your SDK"
8334 echo "by examining contents of $aros_android_sdk/platforms directory"
8335 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
8338 export PATH
="$aros_android_sdk/tools:$PATH"
8339 # Extract the first word of "$android_tool", so it can be a program name with args.
8340 set dummy
$android_tool; ac_word
=$2
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8342 $as_echo_n "checking for $ac_word... " >&6; }
8343 if ${ac_cv_path_android_tool+:} false
; then :
8344 $as_echo_n "(cached) " >&6
8346 case $android_tool in
8348 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
8351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8355 test -z "$as_dir" && as_dir
=.
8356 for ac_exec_ext
in '' $ac_executable_extensions; do
8357 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8358 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
8359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8369 android_tool
=$ac_cv_path_android_tool
8370 if test -n "$android_tool"; then
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
8372 $as_echo "$android_tool" >&6; }
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8375 $as_echo "no" >&6; }
8380 if test "$android_tool" = ""; then
8383 if test "$android_tool" = "no"; then
8386 if test "$req_avail" = "no"; then
8387 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
8390 if test "$aros_android_ndk" != "none"; then
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
8392 $as_echo_n "checking what Android NDK version to use... " >&6; }
8394 # Check whether --with-ndk-version was given.
8395 if test "${with_ndk_version+set}" = set; then :
8396 withval
=$with_ndk_version; aros_ndk_version
="$withval"
8398 aros_ndk_version
="9"
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
8402 $as_echo "$aros_ndk_version" >&6; }
8405 # Extract the first word of "ant", so it can be a program name with args.
8406 set dummy ant
; ac_word
=$2
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8408 $as_echo_n "checking for $ac_word... " >&6; }
8409 if ${ac_cv_path_ant+:} false
; then :
8410 $as_echo_n "(cached) " >&6
8414 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
8417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8421 test -z "$as_dir" && as_dir
=.
8422 for ac_exec_ext
in '' $ac_executable_extensions; do
8423 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8424 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
8425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8436 if test -n "$ant"; then
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
8438 $as_echo "$ant" >&6; }
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8441 $as_echo "no" >&6; }
8445 if test "$ant" = ""; then
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
8447 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Build debug or release apk" >&5
8451 $as_echo_n "checking Build debug or release apk... " >&6; }
8453 # Check whether --with-apk-version was given.
8454 if test "${with_apk_version+set}" = set; then :
8455 withval
=$with_apk_version; aros_android_antapk
=$withval
8457 aros_android_antapk
=release
8460 if test $aros_android_antapk != release
-a $aros_android_antapk != debug
; then
8461 as_fn_error $?
"apk-version has to be release or debug" "$LINENO" 5
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_antapk" >&5
8464 $as_echo "$aros_android_antapk" >&6; }
8466 target_extra_cfg
+="$export_newline""# Android$export_newline""AROS_ANDROID_ANTAPK := $aros_android_antapk$export_newline"
8467 host_extra_cfg
+="$export_newline""# Android-specific$export_newline""ANDROID := $android_tool$export_newline""ANT := $ant$export_newline"
8468 aros_target_options
+="$export_newline""# Enable Android Gfx Driver$export_newline""OPT_HOST_ANDROIDGFX := yes$export_newline"
8470 if test "$host_os" = "mingw32"; then
8471 android_tool
="cmd //c $android_tool"
8479 #-----------------------------------------------------------------------------
8480 # External toolchains
8481 kernel_tool_prefix
="none"
8482 aros_tool_prefix
="none"
8483 elf_tool_prefix
="${target_cpu}-elf-"
8485 # Base target cpu ISA configuration switch.
8486 case "$target_cpu" in
8492 m68k_isa_extra
="ISA_MC68000_FLAGS = -march=68000"
8493 m68k_020_isa_extra
="ISA_MC68020_FLAGS = -march=68020"
8494 m68k_030_isa_extra
="ISA_MC68030_FLAGS = -march=68030"
8495 m68k_040_isa_extra
="ISA_MC68040_FLAGS = -march=68040"
8496 m68k_060_isa_extra
="ISA_MC68060_FLAGS = -march=68060"
8497 m68k_ac080_isa_extra
="ISA_AC68080_FLAGS = -march=68040"
8498 m68k_020_ext
="ISA_MC68020_EXT :=020"
8499 m68k_030_ext
="ISA_MC68030_EXT :=030"
8500 m68k_040_ext
="ISA_MC68040_EXT :=040"
8501 m68k_060_ext
="ISA_MC68060_EXT :=060"
8502 m68k_020_cflags
="ISA_MC68020_CFLAGS ="
8503 m68k_030_cflags
="ISA_MC68030_CFLAGS ="
8504 m68k_040_cflags
="ISA_MC68040_CFLAGS ="
8505 m68k_060_cflags
="ISA_MC68060_CFLAGS ="
8506 m68k_020_cppflags
="ISA_MC68020_CPPFLAGS ="
8507 m68k_030_cppflags
="ISA_MC68030_CPPFLAGS ="
8508 m68k_040_cppflags
="ISA_MC68040_CPPFLAGS ="
8509 m68k_060_cppflags
="ISA_MC68060_CPPFLAGS ="
8510 m68k_020_ldflags
="ISA_MC68020_LDFLAGS ="
8511 m68k_030_ldflags
="ISA_MC68030_LDFLAGS ="
8512 m68k_040_ldflags
="ISA_MC68040_LDFLAGS ="
8513 m68k_060_ldflags
="ISA_MC68060_LDFLAGS ="
8516 x86_isa_extra
="ISA_X86_FLAGS = -m32 -march=i486"
8517 x86_64_isa_extra
="ISA_X8664_FLAGS = -mcmodel=large"
8523 # This is the target configuration switch.
8524 case "$target_os" in
8526 aros_target_arch
="linux"
8527 aros_target_family
="unix"
8528 case "$target_cpu" in
8530 aros_target_cpu
="m68k"
8531 aros_object_format
="m68kelf"
8532 aros_flavour
="emulcompat"
8533 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8534 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
8535 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8536 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8537 gcc_target_cpu
="mc68000"
8540 aros_target_cpu
="i386"
8541 aros_object_format
="elf_i386"
8542 aros_flavour
="emulation"
8543 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8544 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8545 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8546 aros_kernel_ldflags
="-Wl,-melf_i386"
8547 aros_nominal_depth
=8
8548 gcc_target_cpu
="i386"
8549 pci_hidd_target
="hidd-pci-linux"
8550 android_tool_dir_prefix
="x86"
8551 android_tool_prefix
="i686-android-linux"
8552 android_ndk_arch
="x86"
8555 aros_target_cpu
="x86_64"
8556 aros_object_format
="elf_x86_64"
8557 aros_flavour
="emulation"
8558 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8559 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8560 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8561 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
8562 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
8563 aros_nominal_depth
=8
8564 pci_hidd_target
="hidd-pci-linux"
8567 aros_target_cpu
="ppc"
8568 aros_object_format
="elf32ppc"
8569 aros_flavour
="emulation"
8570 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8571 aros_nominal_depth
=8
8572 gcc_target_cpu
="ppc"
8575 # Same as powerpc, but I need this for the nightly build to work again.
8576 # Actually, the nightly should be made working with powerpc target.
8577 # That just was too much work for the moment, another week or two.
8579 aros_target_cpu
="ppc"
8580 aros_object_format
="elf32ppc"
8581 aros_flavour
="emulation"
8582 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8583 aros_nominal_depth
=8
8584 gcc_target_cpu
="ppc"
8587 aros_target_cpu
="aarch64"
8588 target_cpu
="aarch64"
8589 aros_object_format
="aarch64elf_aros"
8590 aros_flavour
="emulation"
8591 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8592 gcc_target_cpu
="aarch64"
8593 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8594 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8595 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING)"
8596 aros_c_libs
="$aros_c_libs -laeabi"
8597 gcc_default_float_abi
="hard"
8598 kernel_tool_prefix
="aarch64-linux-gnueabihf-"
8601 aros_target_cpu
="arm"
8603 aros_object_format
="armelf_aros"
8604 aros_flavour
="emulation"
8605 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8606 gcc_target_cpu
="arm"
8607 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8608 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8609 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING)"
8610 aros_c_libs
="$aros_c_libs -laeabi"
8611 gcc_default_float_abi
="hard"
8612 android_tool_dir_prefix
="arm-linux-androideabi"
8613 android_tool_prefix
="arm-linux-androideabi"
8614 android_ndk_arch
="arm"
8615 kernel_tool_prefix
="arm-linux-gnueabihf-"
8618 aros_target_cpu
="arm"
8619 aros_object_format
="armelf_aros"
8620 aros_flavour
="emulation"
8621 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8622 gcc_target_cpu
="arm"
8623 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8624 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8625 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING)"
8626 aros_c_libs
="$aros_c_libs -laeabi"
8627 android_tool_dir_prefix
="arm-linux-androideabi"
8628 android_tool_prefix
="arm-linux-androideabi"
8629 android_ndk_arch
="arm"
8630 kernel_tool_prefix
="arm-linux-gnueabi-"
8633 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
8636 case "$aros_target_variant" in
8639 if test "$android_ndk_arch" = ""; then
8640 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
8643 aros_nominal_width
=320
8644 aros_nominal_height
=480
8645 if test "$aros_android_ndk" = "none"; then
8646 aros_kernel_cflags
="-mandroid"
8647 aros_kernel_ldflags
="-mandroid"
8650 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$kernel_tool_version/prebuilt/$android_build_os/bin:$PATH"
8651 kernel_tool_version
=""
8652 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
8653 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
8654 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
8655 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
8656 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
8659 # Disable implicit PIC mode
8660 aros_config_cflags
="$aros_config_cflags -fno-pic"
8661 kernel_tool_prefix
="$android_tool_prefix-"
8667 aros_target_arch
="pc"
8668 aros_shared_default
="no"
8669 target_bootloader
="grub2"
8670 case "$target_cpu" in
8672 aros_target_cpu
="i386"
8675 if test "$aros_object_format" = "" ; then
8676 aros_object_format
="elf_i386"
8678 aros_flavour
="standalone"
8679 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8680 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8681 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8682 aros_kernel_ldflags
="-Wl,-melf_i386"
8683 aros_nominal_width
=640
8684 aros_nominal_height
=480
8685 gcc_target_cpu
="i386"
8688 PLATFORM_EXECSMP
="#define __AROSPLATFORM_SMP__"
8689 aros_target_cpu
="x86_64"
8691 if test "$aros_object_format" = "" ; then
8692 aros_object_format
="elf_x86_64"
8694 aros_flavour
="standalone"
8695 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8696 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8697 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8698 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_OMIT_FP)"
8699 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_OMIT_FP)"
8700 aros_kernel_ldflags
=""
8701 aros_nominal_width
=640
8702 aros_nominal_height
=480
8703 case "$aros_target_variant" in
8705 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8710 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
8716 aros_target_arch
="prep"
8717 aros_shared_default
="no"
8718 aros_target_cpu
="ppc"
8719 aros_object_format
="elf32ppc"
8720 aros_flavour
="ppcnative"
8721 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8722 aros_kernel_ldflags
=""
8723 aros_nominal_width
=640
8724 aros_nominal_height
=480
8725 gcc_target_cpu
="ppc"
8729 aros_target_arch
="freebsd"
8730 aros_target_family
="unix"
8731 aros_target_cpu
="i386"
8732 aros_flavour
="emulation"
8733 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8734 gcc_target_cpu
="i386"
8736 aros_target_strip_flags
="-x"
8740 aros_target_arch
="darwin"
8741 aros_target_family
="unix"
8742 aros_flavour
="emulation"
8743 case "$target_cpu" in
8745 aros_ios_platform
="iPhoneSimulator"
8746 aros_target_cpu
="i386"
8747 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8748 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8749 aros_kernel_ldflags
=""
8750 aros_macosx_version
="10.4"
8751 aros_nominal_depth
=8
8752 gcc_target_cpu
="i386"
8753 aros_object_format
="elf_i386"
8754 aros_kernel_ar_flags
="-cr"
8755 aros_target_strip_flags
="-x"
8756 kernel_tool_flags
="-m32"
8759 aros_target_cpu
="x86_64"
8760 aros_object_format
="elf_x86_64"
8761 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8762 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8763 aros_macosx_version
="10.6"
8764 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
8765 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
8766 aros_kernel_cflags
="-m64"
8767 aros_kernel_ldflags
="-m64"
8768 aros_nominal_depth
=8
8769 aros_kernel_rs
="$toolchain_ar"
8770 aros_kernel_ar_flags
="-cr"
8771 aros_kernel_ld
="$toolchain_ld"
8772 aros_kernel_as
="$toolchain_as"
8773 aros_kernel_ranlib
="$toolchain_ranlib"
8774 aros_kernel_nm
="$toolchain_nm"
8775 aros_kernel_strip
="strip"
8776 kernel_tool_prefix
="i686-apple-darwin10-"
8779 aros_target_cpu
="ppc"
8780 aros_object_format
="elf32ppc"
8781 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8782 aros_kernel_ldflags
=""
8783 aros_macosx_version
="10.0"
8784 aros_nominal_depth
=8
8785 gcc_target_cpu
="ppc"
8786 aros_kernel_rs
="$toolchain_ar"
8787 aros_kernel_ar_flags
="-cr"
8788 aros_kernel_ld
="$toolchain_ld -arch ppc"
8789 aros_kernel_as
="$toolchain_as -arch ppc"
8790 aros_kernel_ranlib
="$toolchain_ranlib -arch ppc"
8791 aros_kernel_nm
="$toolchain_nm -arch ppc"
8792 aros_kernel_strip
="strip -arch ppc"
8793 kernel_tool_prefix
="powerpc-apple-darwin10-"
8796 aros_ios_platform
="iPhoneOS"
8797 aros_target_cpu
="arm"
8798 aros_object_format
="armelf_aros"
8799 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8800 aros_c_libs
="$aros_c_libs -laeabi"
8801 aros_nominal_depth
=8
8802 gcc_target_cpu
="arm"
8803 aros_kernel_rs
="$toolchain_ar"
8804 aros_kernel_ar_flags
="-cr"
8805 aros_kernel_ld
="$toolchain_ld -arch arm"
8806 aros_kernel_ranlib
="$toolchain_ranlib -arch arm"
8807 kernel_tool_prefix
="arm-apple-darwin10-"
8808 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8811 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8814 case "$aros_target_variant" in
8816 make_extra_targetcfg
="$export_newline""# Apple iOS stuff for gcc$export_newline""IOS_LDFLAGS := -F$""(IOS_SDK_PATH)/System/Library/Frameworks$export_newline"
8817 aros_ios_version
="3.0"
8818 aros_nominal_width
=320
8819 aros_nominal_height
=480
8820 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8821 target_extra_cfg
+="$export_newline""# Apple iOS specific$export_newline""IOS_PLATFORM := $aros_ios_platform$export_newline""IOS_OS_VERSION := $aros_ios_version$export_newline""IOS_SDK_PATH := $aros_ios_sdk$export_newline"
8822 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8823 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8825 # This is here because it may depend on iOS or SDK version
8826 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8827 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8828 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8831 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8832 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8838 aros_target_arch
="dragonfly"
8839 aros_target_family
="unix"
8840 aros_flavour
="emulation"
8841 case "$target_cpu" in
8843 aros_target_cpu
="i386"
8844 aros_object_format
="elf_i386"
8845 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8846 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8849 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
8850 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
8851 aros_target_cpu
="x86_64"
8852 aros_object_format
="elf_x86_64"
8853 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8854 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8857 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8863 aros_target_arch
="netbsd"
8864 aros_target_family
="unix"
8865 case "$target_cpu" in
8867 aros_target_cpu
="m68k"
8868 aros_object_format
="m68kelf"
8869 aros_flavour
="emulcompat"
8870 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8871 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
8872 gcc_target_cpu
="mc68000"
8875 aros_target_cpu
="i386"
8876 aros_object_format
="elf_i386"
8877 aros_flavour
="emulation"
8878 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8879 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8880 aros_nominal_depth
=8
8881 gcc_target_cpu
="i386"
8884 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8887 aros_target_genmap
="-Wl,-M -Xlinker >"
8888 aros_flavour
="emulation"
8889 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8893 aros_target_arch
="openbsd"
8894 aros_target_family
="unix"
8895 case "$target_cpu" in
8897 aros_target_cpu
="i386"
8898 aros_object_format
="elf_i386"
8899 aros_flavour
="emulation"
8900 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8901 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8902 gcc_target_cpu
="i386"
8905 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8908 aros_target_genmap
="-Wl,-M -Xlinker >"
8909 aros_target_nm_flags
="-u"
8910 aros_flavour
="emulation"
8914 aros_target_arch
="solaris"
8915 aros_target_family
="unix"
8916 case "$target_cpu" in
8918 aros_target_cpu
="i386"
8919 aros_object_format
="elf_i386"
8920 aros_flavour
="emulation"
8921 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8922 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8923 aros_nominal_depth
=8
8924 gcc_target_cpu
="i386"
8927 aros_target_cpu
="sparc"
8928 aros_object_format
="elf_sparc"
8929 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8930 gcc_target_cpu
="sparc"
8933 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8936 aros_config_cppflags
="$aros_config_cppflags -D$aros_target_cpu"
8937 aros_flavour
="emulation"
8941 aros_target_arch
="morphos"
8942 aros_shared_default
="no"
8943 aros_target_cpu
="ppc"
8944 aros_object_format
="elf_ppc"
8945 aros_flavour
="nativecompat"
8946 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8947 gcc_target_cpu
="ppc"
8951 aros_target_arch
="sam440"
8952 aros_shared_default
="no"
8953 aros_target_cpu
="ppc"
8954 aros_object_format
="elf32ppc"
8955 aros_flavour
="ppcnative"
8956 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8957 aros_kernel_ldflags
=""
8958 aros_nominal_width
=1024
8959 aros_nominal_height
=768
8960 aros_nominal_depth
=24
8961 aros_isa_flags
="$aros_isa_flags -mcpu=440fp -mno-toc"
8962 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8963 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8964 gcc_target_cpu
="powerpc"
8968 aros_target_arch
="efika"
8969 aros_shared_default
="no"
8970 aros_target_cpu
="arm"
8971 aros_object_format
="armelf_aros"
8972 aros_flavour
="standalone"
8973 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8974 aros_kernel_ldflags
=""
8975 aros_nominal_width
=1024
8976 aros_nominal_height
=600
8977 aros_c_libs
="$aros_c_libs -laeabi"
8978 gcc_default_cpu
="armv7-a"
8979 gcc_default_fpu
="vfpv3"
8980 aros_isa_flags
="$aros_isa_flags -mtune=cortex-a8"
8981 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8982 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8983 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8984 if test "$optimization" = "default"; then
8985 optimization_level
="-Os"
8987 case "$target_cpu" in
8989 gcc_default_float_abi
="hard"
8994 gcc_default_float_abi
="softfp"
8997 as_fn_error $?
"\"Unknown CPU for EfikaMX $target_cpu\"" "$LINENO" 5
9003 aros_target_arch
="chrp"
9004 aros_shared_default
="no"
9005 aros_target_cpu
="ppc"
9006 aros_object_format
="elf32ppc"
9007 aros_flavour
="ppcnative"
9008 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
9009 aros_kernel_ldflags
=""
9010 aros_nominal_width
=640
9011 aros_nominal_height
=480
9012 aros_isa_flags
="$aros_isa_flags -mno-toc"
9013 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
9014 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
9015 gcc_target_cpu
="powerpc"
9016 case "$aros_target_variant" in
9018 aros_isa_flags
="$aros_isa_flags -mcpu=603e"
9019 aros_config_cppflags
="$aros_config_cppflags -DBIG_ENDIAN_OHCI=1"
9025 PLATFORM_EXECSMP
="#define __AROSPLATFORM_SMP__"
9026 aros_flavour
="standalone"
9027 aros_target_arch
="raspi"
9029 aros_shared_default
="no"
9031 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__"
9033 case "$target_cpu" in
9035 aros_target_cpu
="aarch64"
9036 gcc_default_cpu
="aarch64"
9037 aros_object_format
="aarch64elf_aros"
9040 aros_target_cpu
="arm"
9041 gcc_default_cpu
="armv6zk"
9042 gcc_default_cpu_tune
="arm1176jzf-s"
9043 aros_object_format
="armelf_aros"
9044 aros_isa_flags
="$aros_isa_flags -marm"
9045 aros_config_cflags
="$aros_config_cflags"
9046 aros_config_cxxflags
="$aros_config_cxxflags"
9047 aros_config_aflags
="$aros_config_aflags -marm"
9048 aros_kernel_cflags
="$aros_kernel_cflags -marm"
9049 aros_target_mkdep
="$aros_target_mkdep -Darm"
9050 aros_c_libs
="$aros_c_libs -laeabi"
9053 aros_flavour
="standcompat"
9054 aros_target_cpu
="armeb"
9055 gcc_default_float_abi
="hard"
9056 gcc_default_cpu
="armv7ve"
9057 gcc_default_cpu_tune
="cortex-a7"
9058 aros_object_format
="armelfb_aros"
9059 aros_isa_flags
="$aros_isa_flags -marm"
9060 aros_config_cflags
="$aros_config_cflags"
9061 aros_config_cxxflags
="$aros_config_cxxflags"
9062 aros_config_aflags
="$aros_config_aflags -marm"
9063 aros_kernel_cflags
="$aros_kernel_cflags -marm"
9064 aros_target_mkdep
="$aros_target_mkdep -Darm"
9065 aros_c_libs
="$aros_c_libs -laeabi"
9068 aros_target_cpu
="arm"
9069 gcc_default_cpu
="armv6zk"
9070 gcc_default_cpu_tune
="arm1176jzf-s"
9071 aros_object_format
="armelf_aros"
9072 aros_isa_flags
="$aros_isa_flags -marm"
9073 aros_config_cflags
="$aros_config_cflags"
9074 aros_config_cxxflags
="$aros_config_cxxflags"
9075 aros_config_aflags
="$aros_config_aflags -marm"
9076 aros_kernel_cflags
="$aros_kernel_cflags -marm"
9077 aros_target_mkdep
="$aros_target_mkdep -Darm"
9078 aros_c_libs
="$aros_c_libs -laeabi"
9081 as_fn_error $?
"\"Unknown CPU for RasPi $target_cpu\"" "$LINENO" 5
9085 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9086 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9087 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9088 aros_kernel_cflags
="$aros_kernel_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9090 case "$aros_target_variant" in
9092 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
9098 aros_flavour
="standalone"
9099 aros_target_arch
="stm32f7_discovery"
9100 aros_target_cpu
="arm"
9101 aros_target_cpu_mode
="thumb2"
9102 aros_object_format
="armelf_aros"
9103 aros_shared_default
="no"
9105 gcc_default_cpu
="armv7e-m"
9106 gcc_default_cpu_tune
="cortex-m7"
9107 gcc_default_fpu
="fpv5-sp-d16"
9108 gcc_default_float_abi
="hard"
9110 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dthumb"
9114 aros_elf_translate
="$""(ELF2HUNK)"
9115 make_extra_commands
="$export_newline""ELF2HUNK := $""(TOOLDIR)/elf2hunk$""(HOST_EXE_SUFFIX)$export_newline"
9116 aros_target_arch
="amiga"
9117 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
9118 aros_shared_default
="no"
9120 case "$target_cpu" in
9122 # Check whether --enable-amigaos_compliance was given.
9123 if test "${enable_amigaos_compliance+set}" = set; then :
9124 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
9128 aros_target_cpu
="m68k"
9129 aros_object_format
="m68kelf"
9130 aros_flavour
="standcompat"
9131 gcc_target_cpu
="m68000"
9132 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
9133 aros_nowarn_flags
="$aros_nowarn_flags NOWARN_VOLATILE_REGISTER_VAR"
9134 aros_config_cppflags
="$aros_config_cppflags -DNOLIBINLINE"
9135 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_FREESTANDING) $""(CFLAGS_OMIT_FP) $""(CFLAGS_BUILTIN)"
9136 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_FREESTANDING) $""(CFLAGS_OMIT_FP) $""(CFLAGS_BUILTIN)"
9137 if test "$optimization" = "default"; then
9138 optimization_level
="-Os"
9140 aros_config_aflags
="$aros_config_aflags"
9141 aros_target_strip_flags
="-R.comment --strip-debug"
9142 aros_nominal_width
=640
9143 aros_nominal_height
=256
9144 aros_nominal_depth
=2
9148 aros_flavour
="native"
9149 gcc_target_cpu
="ppc"
9152 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
9158 aros_target_arch
="mingw32"
9159 aros_shared_default
="no"
9160 aros_flavour
="emulation"
9161 aros_shared_cflags
=""
9162 need_crosstools
="yes"
9165 case "$target_cpu" in
9167 aros_target_cpu
="i386"
9168 aros_object_format
="elf_i386"
9169 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
9170 aros_isa_flags
="$""(ISA_X86_FLAGS)"
9171 aros_nominal_depth
=8
9172 gcc_target_cpu
="i386"
9174 kernel_tool_prefix
="i386-mingw32-"
9177 aros_target_cpu
="x86_64"
9178 aros_object_format
="elf_x86_64"
9179 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
9180 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
9181 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
9182 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
9183 aros_nominal_depth
=8
9184 kernel_tool_prefix
="x86_64-w64-mingw32-"
9187 aros_target_cpu
="arm"
9188 aros_object_format
="armelf_aros"
9189 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
9190 aros_c_libs
="$aros_c_libs -laeabi"
9191 aros_nominal_depth
=8
9192 gcc_target_cpu
="arm"
9193 gcc_default_float_abi
="soft"
9194 kernel_tool_prefix
="arm-mingw32ce-"
9195 aros_nominal_width
=160
9196 aros_nominal_height
=160
9199 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
9202 if test $host_os = "cygwin"; then
9203 aros_kernel_cflags
="-mno-cygwin"
9207 aros_target_arch
="pp"
9208 aros_shared_default
="no"
9209 case "$target_cpu" in
9211 aros_target_cpu
="m68k"
9212 aros_object_format
="m68kelf"
9213 aros_flavour
="palmnative"
9214 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
9215 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
9216 aros_nominal_width
=160
9217 aros_nominal_height
=160
9218 aros_nominal_depth
=1
9219 aros_target_ar_flags
="cru"
9220 aros_c_libs
="$aros_c_libs -lgcc1"
9221 aros_shared_default
=no
9222 aros_shared_cflags
="-fpic"
9223 aros_shared_aflags
=""
9224 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
9225 aros_kernel_ldflags
="-Wl,-rpath,./lib"
9226 aros_debug_cppflags
="$aros_messages_debug"
9227 aros_debug_cflags
="$aros_symbols_debug"
9228 aros_debug_aflags
=""
9229 aros_debug_ldflags
="$aros_symbols_debug"
9230 aros_mungwall_debug
="0"
9231 aros_modules_debug
="0"
9232 gcc_target_cpu
="mc68000"
9233 ignore_undefined_symbols
="-ius"
9236 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
9242 aros_target_arch
="mac"
9243 aros_shared_default
="no"
9244 case "$target_cpu" in
9246 aros_target_cpu
="m68k"
9247 aros_object_format
="m68kelf"
9248 aros_flavour
="mac68knative"
9249 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
9250 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
9251 aros_nominal_width
=512
9252 aros_nominal_height
=384
9253 aros_nominal_depth
=8
9254 aros_target_ar_flags
="cru"
9255 aros_c_libs
="$aros_c_libs -lgcc1"
9256 aros_shared_default
=no
9257 aros_shared_cflags
="-fpic"
9258 aros_shared_aflags
=""
9259 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
9260 aros_kernel_ldflags
="-Wl,-rpath,./lib"
9261 aros_debug_cppflags
="$aros_messages_debug"
9262 aros_debug_cflags
="$aros_symbols_debug"
9263 aros_debug_aflags
=""
9264 aros_debug_ldflags
="$aros_symbols_debug"
9265 aros_mungwall_debug
="0"
9266 aros_modules_debug
="0"
9267 gcc_target_cpu
="mc68000"
9268 ignore_undefined_symbols
="-ius"
9271 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
9277 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
9281 #-----------------------------------------------------------------------------
9282 crosstools_guess
="yes"
9283 aros_target_toolchain
="no"
9284 aros_kernel_sysroot
=""
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
9287 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
9289 # Check whether --with-kernel-toolchain-prefix was given.
9290 if test "${with_kernel_toolchain_prefix+set}" = set; then :
9291 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
9295 $as_echo "$kernel_tool_prefix" >&6; }
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
9298 $as_echo_n "checking ELF toolchain prefix... " >&6; }
9300 # Check whether --with-elf-toolchain-prefix was given.
9301 if test "${with_elf_toolchain_prefix+set}" = set; then :
9302 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
9303 crosstools_guess
="no"
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
9307 $as_echo "$elf_tool_prefix" >&6; }
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
9310 $as_echo_n "checking AROS toolchain prefix... " >&6; }
9312 # Check whether --with-aros-toolchain was given.
9313 if test "${with_aros_toolchain+set}" = set; then :
9314 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
9315 crosstools_guess
="no"
9318 if test "$aros_tool_prefix" = "yes" ; then
9319 aros_tool_prefix
=$aros_target_cpu-aros-
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
9322 $as_echo "$aros_tool_prefix" >&6; }
9324 #-----------------------------------------------------------------------------
9325 # Checking if we should build crosstools..
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
9327 $as_echo_n "checking whether to build crosstools... " >&6; }
9328 # Check whether --enable-crosstools was given.
9329 if test "${enable_crosstools+set}" = set; then :
9330 enableval
=$enable_crosstools; crosstools
="$enableval"
9332 crosstools
="$crosstools_guess"
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
9336 $as_echo "$crosstools" >&6; }
9338 if test "${crosstools}" = "yes"; then
9339 if test "${crosstools_guess}" = "no"; then
9340 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
9344 if test "${crosstools}" = "yes" ||
test "${crosstools_guess}" = "no"; then
9345 aros_target_toolchain
="yes"
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
9349 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
9351 # Check whether --with-aros-toolchain-install was given.
9352 if test "${with_aros_toolchain_install+set}" = set; then :
9353 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
9356 if test "x$aros_toolchain_install" = "x"; then
9357 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
9359 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
9360 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
9361 if test "$crosstools_guess" = "no" ; then
9362 if test "x-$aros_flavour" != "x-emulation" -a "x-$aros_flavour" != "x-emulcompat" ; then
9363 aros_kernel_sysroot
="$""(TARGET_SYSROOT)"
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
9368 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
9370 #-----------------------------------------------------------------------------
9371 if test "$aros_toolchain" = "gnu" ; then
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target binutils version to use" >&5
9373 $as_echo_n "checking what specific target binutils version to use... " >&6; }
9376 # Check whether --with-binutils-version was given.
9377 if test "${with_binutils_version+set}" = set; then :
9378 withval
=$with_binutils_version; use_binutils_version
="$withval"
9380 use_binutils_version
=""
9383 if test "$use_binutils_version" = ""; then
9384 target_binutils_version
="$default_binutils_version"
9386 target_binutils_version
="$use_binutils_version"
9388 if test "$aros_toolchain" = "gnu" ; then
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_binutils_version" >&5
9390 $as_echo "$target_binutils_version" >&6; }
9394 # Helper to identify gcc version
9397 #-----------------------------------------------------------------------------
9398 if test "$aros_toolchain" = "gnu" ; then
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
9400 $as_echo_n "checking what specific target gcc version to use... " >&6; }
9403 # Check whether --with-gcc-version was given.
9404 if test "${with_gcc_version+set}" = set; then :
9405 withval
=$with_gcc_version; use_gcc_version
="$withval"
9410 if test "$use_gcc_version" = ""; then
9411 if test "${crosstools}" = "no"; then
9412 if test "x$aros_toolchain_install" != "x"; then
9414 target_gcc_version
=""
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
9416 $as_echo_n "checking gcc version... " >&6; }
9417 if ${ax_cv_gcc_version+:} false
; then :
9418 $as_echo_n "(cached) " >&6
9421 ax_cv_gcc_version
="`$AROS_CROSSTOOLSDIR/${aros_tool_prefix}${toolchain_cpp_preprocessor} -dumpversion`"
9422 if test "x$ax_cv_gcc_version" = "x"; then :
9424 ax_cv_gcc_version
=""
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_version" >&5
9430 $as_echo "$ax_cv_gcc_version" >&6; }
9431 target_gcc_version
=$ax_cv_gcc_version
9436 if test "$use_gcc_version" = ""; then
9437 target_gcc_version
="$default_gcc_version"
9440 target_gcc_version
="$use_gcc_version"
9442 if test "$aros_toolchain" = "gnu" ; then
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_gcc_version" >&5
9444 $as_echo "$target_gcc_version" >&6; }
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version string style" >&5
9447 $as_echo_n "checking version string style... " >&6; }
9448 if test "${target_gcc_version#*$'-'}" != "$target_gcc_version" ; then
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: snapshot" >&5
9450 $as_echo "snapshot" >&6; }
9451 GCC_VERSION_MAJOR
=$
(echo $target_gcc_version | cut
-d'-' -f1)
9452 GCC_VERSION_MINOR
=-1
9453 GCC_VERSION_PATCH
=-1
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: release" >&5
9456 $as_echo "release" >&6; }
9457 GCC_VERSION_MAJOR
=$
(echo $target_gcc_version | cut
-d'.' -f1)
9458 GCC_VERSION_MINOR
=$
(echo $target_gcc_version | cut
-d'.' -f2)
9459 GCC_VERSION_PATCH
=$
(echo $target_gcc_version | cut
-d'.' -f3)
9462 gcc_fix_bitfields
="false"
9463 if test "$GCC_VERSION_MAJOR" -gt "4" ; then
9464 gcc_fix_bitfields
="true"
9466 if test "$GCC_VERSION_MAJOR" -gt "3" ; then
9467 if test "$GCC_VERSION_MINOR" -gt "6" ; then
9468 gcc_fix_bitfields
="true"
9473 if test "$gcc_fix_bitfields" = "true" ; then
9474 case "$aros_target_cpu" in
9476 x86_isa_extra
="$x86_isa_extra $""(CFLAGS_NO_MS_BITFIELDS)"
9477 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_MS_BITFIELDS)"
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Objective-C suppport" >&5
9484 $as_echo_n "checking whether to enable Objective-C suppport... " >&6; }
9485 # Check whether --enable-objc was given.
9486 if test "${enable_objc+set}" = set; then :
9487 enableval
=$enable_objc; objc
="$enableval"
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objc" >&5
9493 $as_echo "$objc" >&6; }
9494 if test "x$objc" = "xyes"; then
9497 objc_target
="no-objc"
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Java suppport" >&5
9501 $as_echo_n "checking whether to enable Java suppport... " >&6; }
9502 # Check whether --enable-java was given.
9503 if test "${enable_java+set}" = set; then :
9504 enableval
=$enable_java; java
="$enableval"
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $java" >&5
9510 $as_echo "$java" >&6; }
9511 if test "x$java" != "xno"; then
9514 java_target
="no-java"
9517 spec_obj_format
="-m $aros_object_format"
9518 # Now process extra architecture-specific options.
9519 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
9520 # as well as floating-point ABI.
9521 case "$aros_target_cpu" in
9523 aros_isa_targets
="M68K_ISA_TARGETS :=MC68020 MC68040"
9524 aros_isa_extra
="$aros_isa_extra$export_newline$aros_isa_targets$export_newline"
9525 aros_isa_extra
="$aros_isa_extra$m68k_isa_extra$export_newline$m68k_020_isa_extra$export_newline$m68k_030_isa_extra$export_newline$m68k_040_isa_extra$export_newline$m68k_060_isa_extra$export_newline$m68k_ac080_isa_extra$export_newline"
9526 aros_isa_extra
="$aros_isa_extra$m68k_020_cppflags$export_newline$m68k_030_cppflags$export_newline$m68k_040_cppflags$export_newline$m68k_060_cppflags$export_newline"
9527 aros_isa_extra
="$aros_isa_extra$m68k_020_cflags$export_newline$m68k_030_cflags$export_newline$m68k_040_cflags$export_newline$m68k_060_cflags$export_newline"
9528 aros_isa_extra
="$aros_isa_extra$m68k_020_ldflags$export_newline$m68k_030_ldflags$export_newline$m68k_040_ldflags$export_newline$m68k_060_ldflags$export_newline"
9529 aros_isa_extra
="$aros_isa_extra$m68k_020_ext$export_newline$m68k_030_ext$export_newline$m68k_040_ext$export_newline$m68k_060_ext$export_newline"
9532 aros_isa_extra
="$export_newline$x86_isa_extra$export_newline$x86_64_isa_extra$export_newline"
9533 spec_obj_format
="%{!m32:-m elf_x86_64} %{m32:-m elf_i386}"
9536 if test "$gcc_default_cpu" = ""; then
9537 gcc_default_cpu
="armv6"
9539 if test "$gcc_default_fpu" = ""; then
9540 gcc_default_fpu
="vfp"
9542 if test "$gcc_default_endian" = ""; then
9543 if test "$target_cpu" = "armeb"; then
9544 gcc_default_endian
="big-endian"
9546 gcc_default_endian
="little-endian"
9549 if test "$gcc_default_float_abi" = ""; then
9550 if test "$target_cpu" = "armhf"; then
9551 gcc_default_float_abi
="hard"
9553 gcc_default_float_abi
="softfp"
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
9558 $as_echo_n "checking Which minimum CPU to use... " >&6; }
9560 # Check whether --with-cpu was given.
9561 if test "${with_cpu+set}" = set; then :
9562 withval
=$with_cpu; aros_gcc_cpu
="$withval"
9564 aros_gcc_cpu
=$gcc_default_cpu
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
9568 $as_echo "$aros_gcc_cpu" >&6; }
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
9571 $as_echo_n "checking Which minimum FPU to use... " >&6; }
9573 # Check whether --with-fpu was given.
9574 if test "${with_fpu+set}" = set; then :
9575 withval
=$with_fpu; aros_gcc_fpu
="$withval"
9577 aros_gcc_fpu
=$gcc_default_fpu
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
9581 $as_echo "$aros_gcc_fpu" >&6; }
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
9584 $as_echo_n "checking Which floating point ABI to use... " >&6; }
9586 # Check whether --with-float was given.
9587 if test "${with_float+set}" = set; then :
9588 withval
=$with_float; aros_gcc_float_abi
="$withval"
9590 aros_gcc_float_abi
=$gcc_default_float_abi
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
9594 $as_echo "$aros_gcc_float_abi" >&6; }
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which ARM mode to use" >&5
9597 $as_echo_n "checking Which ARM mode to use... " >&6; }
9598 if test "$aros_target_cpu_mode" = ""; then
9599 aros_target_cpu_mode
="arm32"
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Defaulting to $aros_target_cpu_mode" >&5
9601 $as_echo "Defaulting to $aros_target_cpu_mode" >&6; }
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cpu_mode" >&5
9604 $as_echo "$aros_target_cpu_mode" >&6; }
9607 case "$aros_target_cpu_mode" in
9609 gcc_default_mode
="arm"
9610 aros_isa_flags
="$aros_isa_flags -m$gcc_default_mode -m$gcc_default_endian -mthumb-interwork -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi"
9613 as_fn_error $?
"ARM 64-bit mode is unsupported" "$LINENO" 5
9616 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9619 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9622 gcc_default_mode
="thumb"
9623 # Do not specify -mthumb-interwork as it may add extra code to support arm/thumb interwork
9624 aros_isa_flags
="$aros_isa_flags -m$gcc_default_mode -$gcc_default_endian -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi"
9627 as_fn_error $?
"Unsupported ARM mode specified $aros_target_cpu_mode" "$LINENO" 5
9631 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9632 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9633 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9636 aros_isa_extra
="$x86_isa_extra$export_newline$x86_64_isa_extra$export_newline"
9637 aros_kernel_ldflags
="$aros_kernel_ldflags -m32"
9641 # Some architectures may need custom ELF specs.
9642 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
9643 elf_specs_in
=config
/${aros_object_format}-specs.
in
9645 elf_specs_in
=config
/elf-specs.
in
9648 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
9649 # Since we override specs, we may need to put these defines there
9650 if test "$gcc_target_cpu" != ""; then
9651 gcc_target_cpu
="-D__${gcc_target_cpu}__"
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
9655 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
9657 # Check whether --with-portssources was given.
9658 if test "${with_portssources+set}" = set; then :
9659 withval
=$with_portssources; with_portssrcdir
=$withval
9661 with_portssrcdir
="default"
9664 if test "$with_portssrcdir" = "default"; then
9665 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
9667 AROS_PORTSSRCDIR
="$with_portssrcdir"
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
9670 $as_echo "$AROS_PORTSSRCDIR" >&6; }
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
9673 $as_echo_n "checking which bootloader to use... " >&6; }
9675 # Check whether --with-bootloader was given.
9676 if test "${with_bootloader+set}" = set; then :
9677 withval
=$with_bootloader; target_bootloader
=$withval
9679 target_bootloader
=$target_bootloader
9682 if test "$target_bootloader" = "none"; then
9683 aros_target_bootloader
=""
9685 aros_target_bootloader
="$target_bootloader"
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
9688 $as_echo "$target_bootloader" >&6; }
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
9691 $as_echo_n "checking which icon-set to use... " >&6; }
9693 # Check whether --with-iconset was given.
9694 if test "${with_iconset+set}" = set; then :
9695 withval
=$with_iconset; target_iconset
=$withval
9697 target_iconset
="default"
9700 if test "$target_iconset" = "default"; then
9701 aros_target_iconset
="Gorilla"
9702 target_iconset
="default (Gorilla)"
9704 aros_target_iconset
="$target_iconset"
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
9707 $as_echo "$target_iconset" >&6; }
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
9710 $as_echo_n "checking which GUI Theme to use... " >&6; }
9712 # Check whether --with-theme was given.
9713 if test "${with_theme+set}" = set; then :
9714 withval
=$with_theme; target_guitheme
=$withval
9716 target_guitheme
="default"
9719 if test "$target_guitheme" = "default"; then
9720 aros_target_guitheme
="Ice"
9722 aros_target_guitheme
="$target_guitheme"
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
9725 $as_echo "$aros_target_guitheme" >&6; }
9727 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
9731 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9735 if test "$aros_host_cpu" == "x86_64" ; then
9736 if test "$aros_target_cpu" == "i386" ; then
9741 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9742 if test "$aros_host_arch" != "$aros_target_arch" ; then
9749 if test "$cross_compiling" = "no" ; then
9750 kernel_tool_prefix
=""
9751 if test "$host_cc_elf" = "yes" ; then
9756 if test "$kernel_tool_version" != ""; then
9757 kernel_tool_version
="-$kernel_tool_version"
9760 #######################################################################
9761 ## Compute what toolchains to use, and their paths ##
9762 #######################################################################
9764 # This takes, as input:
9765 # crosstools {yes,no}
9766 # kernel_tool_version {"",[version]}
9767 # target_tool_version {"",[version]}
9768 # kernel_tool_prefix {none,[some-arch-os-]}
9770 # target_tool_prefix ${aros_target_cpu}-aros-
9771 # aros_tool_prefix ${aros_target_cpu}-aros-
9774 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9775 # Where the 'kernel' binaries are located
9776 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9777 # Where the 'target' binaries are located
9778 # (not the symlink farm - that is aros_target_*!)
9781 # if crosstools then
9782 # if kernel_tools_prefix = "no-kernel-prefix-"
9783 # aros_kernel_* = crosstools cc paths
9784 # aros_kernel_cc = elf cc wrapper around crosstools cc
9786 # VALIDATE(${kernel_tools_prefix}*)
9787 # aros_kernel_* = ${kernel_tools_prefix}*
9788 # if ${kernel_tools_prefix}cc is an AROS gcc
9789 # aros_kernel_cc = ${kernel_tools_prefix}cc
9791 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
9795 # orig_target_* = aros built crosstools
9796 # orig_target_cc = elf cc wrapper around crosstools cc
9798 # VALIDATE(${kernel_tools_prefix}*)
9800 # orig_target_* = aros_kernel_*
9801 # if aros_kernel_cc is an AROS gcc
9802 # orig_target_cc = aros_kernel_cc
9804 # orig_target_cc = aros cc wrapper around aros_kernel_cc
9808 if test "$aros_toolchain" = "gnu" ; then
9809 target_tool_prefix
="${aros_target_cpu}-aros-"
9810 elif test "$aros_toolchain" = "llvm" ; then
9811 target_tool_prefix
="bin/"
9814 if test "$kernel_tool_prefix" != "" ; then
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
9816 $as_echo_n "checking which kernel tools... " >&6; }
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
9818 $as_echo "$kernel_tool_prefix" >&6; };
9821 if test "$kernel_tool_prefix" = "none" ; then
9822 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9823 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
9826 if test "x-$aros_flavour" != "x-standalone" -o "x-$aros_flavour" != "x-standcompat" ; then
9827 # Kernel tools required - find them
9828 # Note that 'normally', aros_kernel_* overrides will be
9829 # empty, unless specified in the per-arch sections above.
9831 if test "x$aros_kernel_cpp" = "x"; then
9832 aros_kernel_cpp
=${kernel_tool_prefix}${CPP}
9834 if test "${kernel_tool_version}" != ""; then
9835 if test "$aros_kernel_cpp" != ""; then
9836 ac_prog_args
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9837 ac_prog_cmd
=`expr "X$aros_kernel_cpp" : '^\S*'`
9838 aros_kernel_cpp
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9842 if test "$aros_kernel_cpp" = ""; then
9843 if test "$cross_compiling" = "yes" ; then
9844 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
9845 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9847 $as_echo_n "checking for $ac_word... " >&6; }
9848 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9849 $as_echo_n "(cached) " >&6
9851 case $aros_kernel_cpp in
9853 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9860 test -z "$as_dir" && as_dir
=.
9861 for ac_exec_ext
in '' $ac_executable_extensions; do
9862 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9863 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9874 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9875 if test -n "$aros_kernel_cpp"; then
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9877 $as_echo "$aros_kernel_cpp" >&6; }
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9880 $as_echo "no" >&6; }
9886 if test "" = ""; then
9891 if test "$GCC" = "yes"; then
9892 aros_gcc_cpp
=`$CC -print-prog-name=$ac_tool_cpp`
9893 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
9894 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9896 $as_echo_n "checking for $ac_word... " >&6; }
9897 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9898 $as_echo_n "(cached) " >&6
9900 case $aros_kernel_cpp in
9902 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9906 for as_dir
in `dirname $aros_gcc_cpp`
9909 test -z "$as_dir" && as_dir
=.
9910 for ac_exec_ext
in '' $ac_executable_extensions; do
9911 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9912 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9923 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9924 if test -n "$aros_kernel_cpp"; then
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9926 $as_echo "$aros_kernel_cpp" >&6; }
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9929 $as_echo "no" >&6; }
9934 if test "$aros_kernel_cpp" = ""; then
9935 for ac_prog
in $ac_tool_cpp
9937 # Extract the first word of "$ac_prog", so it can be a program name with args.
9938 set dummy
$ac_prog; ac_word
=$2
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9940 $as_echo_n "checking for $ac_word... " >&6; }
9941 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9942 $as_echo_n "(cached) " >&6
9944 case $aros_kernel_cpp in
9946 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9953 test -z "$as_dir" && as_dir
=.
9954 for ac_exec_ext
in '' $ac_executable_extensions; do
9955 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9956 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9967 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9968 if test -n "$aros_kernel_cpp"; then
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9970 $as_echo "$aros_kernel_cpp" >&6; }
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9973 $as_echo "no" >&6; }
9977 test -n "$aros_kernel_cpp" && break
9984 ac_tool_optarg
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9985 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
9986 set dummy
$aros_kernel_cpp; ac_word
=$2
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9988 $as_echo_n "checking for $ac_word... " >&6; }
9989 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9990 $as_echo_n "(cached) " >&6
9992 case $aros_kernel_cpp in
9994 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10001 test -z "$as_dir" && as_dir
=.
10002 for ac_exec_ext
in '' $ac_executable_extensions; do
10003 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10004 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
10005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10015 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
10016 if test -n "$aros_kernel_cpp"; then
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
10018 $as_echo "$aros_kernel_cpp" >&6; }
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10021 $as_echo "no" >&6; }
10025 aros_kernel_cpp
="$aros_kernel_cpp $ac_tool_optarg"
10029 if test "$aros_kernel_cpp" = ""; then
10032 if test "$aros_kernel_cpp" = "no"; then
10035 if test "$req_avail" = "no"; then
10036 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
10039 if test "x$aros_kernel_cc" = "x"; then
10040 aros_kernel_cc
=${kernel_tool_prefix}${CC}
10042 if test "${kernel_tool_version}" != ""; then
10043 if test "$aros_kernel_cc" != ""; then
10044 ac_prog_args
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
10045 ac_prog_cmd
=`expr "X$aros_kernel_cc" : '^\S*'`
10046 aros_kernel_cc
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
10050 if test "$aros_kernel_cc" = ""; then
10051 if test "$cross_compiling" = "yes" ; then
10052 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
10053 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10055 $as_echo_n "checking for $ac_word... " >&6; }
10056 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
10057 $as_echo_n "(cached) " >&6
10059 case $aros_kernel_cc in
10061 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
10064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10065 for as_dir
in $PATH
10068 test -z "$as_dir" && as_dir
=.
10069 for ac_exec_ext
in '' $ac_executable_extensions; do
10070 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10071 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
10072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10082 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
10083 if test -n "$aros_kernel_cc"; then
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
10085 $as_echo "$aros_kernel_cc" >&6; }
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10088 $as_echo "no" >&6; }
10094 if test "" = ""; then
10099 if test "$GCC" = "yes"; then
10100 aros_gcc_cc
=`$CC -print-prog-name=$ac_tool_cc`
10101 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
10102 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10104 $as_echo_n "checking for $ac_word... " >&6; }
10105 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
10106 $as_echo_n "(cached) " >&6
10108 case $aros_kernel_cc in
10110 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
10113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10114 for as_dir
in `dirname $aros_gcc_cc`
10117 test -z "$as_dir" && as_dir
=.
10118 for ac_exec_ext
in '' $ac_executable_extensions; do
10119 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10120 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
10121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10131 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
10132 if test -n "$aros_kernel_cc"; then
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
10134 $as_echo "$aros_kernel_cc" >&6; }
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10137 $as_echo "no" >&6; }
10142 if test "$aros_kernel_cc" = ""; then
10143 for ac_prog
in $ac_tool_cc
10145 # Extract the first word of "$ac_prog", so it can be a program name with args.
10146 set dummy
$ac_prog; ac_word
=$2
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10148 $as_echo_n "checking for $ac_word... " >&6; }
10149 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
10150 $as_echo_n "(cached) " >&6
10152 case $aros_kernel_cc in
10154 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
10157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10158 for as_dir
in $PATH
10161 test -z "$as_dir" && as_dir
=.
10162 for ac_exec_ext
in '' $ac_executable_extensions; do
10163 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10164 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
10165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10175 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
10176 if test -n "$aros_kernel_cc"; then
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
10178 $as_echo "$aros_kernel_cc" >&6; }
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10181 $as_echo "no" >&6; }
10185 test -n "$aros_kernel_cc" && break
10192 ac_tool_optarg
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
10193 # Extract the first word of "$aros_kernel_cc", so it can be a program name with args.
10194 set dummy
$aros_kernel_cc; ac_word
=$2
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10196 $as_echo_n "checking for $ac_word... " >&6; }
10197 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
10198 $as_echo_n "(cached) " >&6
10200 case $aros_kernel_cc in
10202 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
10205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10206 for as_dir
in $PATH
10209 test -z "$as_dir" && as_dir
=.
10210 for ac_exec_ext
in '' $ac_executable_extensions; do
10211 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10212 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
10213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10223 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
10224 if test -n "$aros_kernel_cc"; then
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
10226 $as_echo "$aros_kernel_cc" >&6; }
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10229 $as_echo "no" >&6; }
10233 aros_kernel_cc
="$aros_kernel_cc $ac_tool_optarg"
10237 if test "$aros_kernel_cc" = ""; then
10240 if test "$aros_kernel_cc" = "no"; then
10243 if test "$req_avail" = "no"; then
10244 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
10247 if test "x$aros_kernel_cxx" = "x"; then
10248 aros_kernel_cxx
=${kernel_tool_prefix}${CXX}
10250 if test "${kernel_tool_version}" != ""; then
10251 if test "$aros_kernel_cxx" != ""; then
10252 ac_prog_args
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
10253 ac_prog_cmd
=`expr "X$aros_kernel_cxx" : '^\S*'`
10254 aros_kernel_cxx
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
10258 if test "$aros_kernel_cxx" = ""; then
10259 if test "$cross_compiling" = "yes" ; then
10260 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
10261 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10263 $as_echo_n "checking for $ac_word... " >&6; }
10264 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10265 $as_echo_n "(cached) " >&6
10267 case $aros_kernel_cxx in
10269 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10273 for as_dir
in $PATH
10276 test -z "$as_dir" && as_dir
=.
10277 for ac_exec_ext
in '' $ac_executable_extensions; do
10278 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10279 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10290 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10291 if test -n "$aros_kernel_cxx"; then
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10293 $as_echo "$aros_kernel_cxx" >&6; }
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10296 $as_echo "no" >&6; }
10302 if test "" = ""; then
10307 if test "$GCC" = "yes"; then
10308 aros_gcc_cxx
=`$CC -print-prog-name=$ac_tool_cxx`
10309 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
10310 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10312 $as_echo_n "checking for $ac_word... " >&6; }
10313 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10314 $as_echo_n "(cached) " >&6
10316 case $aros_kernel_cxx in
10318 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10322 for as_dir
in `dirname $aros_gcc_cxx`
10325 test -z "$as_dir" && as_dir
=.
10326 for ac_exec_ext
in '' $ac_executable_extensions; do
10327 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10328 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10339 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10340 if test -n "$aros_kernel_cxx"; then
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10342 $as_echo "$aros_kernel_cxx" >&6; }
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10345 $as_echo "no" >&6; }
10350 if test "$aros_kernel_cxx" = ""; then
10351 for ac_prog
in $ac_tool_cxx
10353 # Extract the first word of "$ac_prog", so it can be a program name with args.
10354 set dummy
$ac_prog; ac_word
=$2
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10356 $as_echo_n "checking for $ac_word... " >&6; }
10357 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10358 $as_echo_n "(cached) " >&6
10360 case $aros_kernel_cxx in
10362 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10366 for as_dir
in $PATH
10369 test -z "$as_dir" && as_dir
=.
10370 for ac_exec_ext
in '' $ac_executable_extensions; do
10371 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10372 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10383 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10384 if test -n "$aros_kernel_cxx"; then
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10386 $as_echo "$aros_kernel_cxx" >&6; }
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10389 $as_echo "no" >&6; }
10393 test -n "$aros_kernel_cxx" && break
10400 ac_tool_optarg
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
10401 # Extract the first word of "$aros_kernel_cxx", so it can be a program name with args.
10402 set dummy
$aros_kernel_cxx; ac_word
=$2
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10404 $as_echo_n "checking for $ac_word... " >&6; }
10405 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10406 $as_echo_n "(cached) " >&6
10408 case $aros_kernel_cxx in
10410 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10414 for as_dir
in $PATH
10417 test -z "$as_dir" && as_dir
=.
10418 for ac_exec_ext
in '' $ac_executable_extensions; do
10419 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10420 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10431 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10432 if test -n "$aros_kernel_cxx"; then
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10434 $as_echo "$aros_kernel_cxx" >&6; }
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10437 $as_echo "no" >&6; }
10441 aros_kernel_cxx
="$aros_kernel_cxx $ac_tool_optarg"
10444 # If it's set, make sure it's really there
10445 if test "x$aros_kernel_cxx" != "x" ; then
10447 if test "$aros_kernel_cxx" = ""; then
10450 if test "$aros_kernel_cxx" = "no"; then
10453 if test "$req_avail" = "no"; then
10454 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
10457 if test "x$aros_kernel_ld" = "x"; then
10458 aros_kernel_ld
=$aros_host_ld
10461 if test "$aros_kernel_ld" = ""; then
10462 if test "$cross_compiling" = "yes" ; then
10463 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
10464 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10466 $as_echo_n "checking for $ac_word... " >&6; }
10467 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10468 $as_echo_n "(cached) " >&6
10470 case $aros_kernel_ld in
10472 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10476 for as_dir
in $PATH
10479 test -z "$as_dir" && as_dir
=.
10480 for ac_exec_ext
in '' $ac_executable_extensions; do
10481 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10482 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10493 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10494 if test -n "$aros_kernel_ld"; then
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10496 $as_echo "$aros_kernel_ld" >&6; }
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10499 $as_echo "no" >&6; }
10505 if test "" = ""; then
10510 if test "$GCC" = "yes"; then
10511 aros_gcc_ld
=`$CC -print-prog-name=$ac_tool_ld`
10512 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
10513 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10515 $as_echo_n "checking for $ac_word... " >&6; }
10516 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10517 $as_echo_n "(cached) " >&6
10519 case $aros_kernel_ld in
10521 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10525 for as_dir
in `dirname $aros_gcc_ld`
10528 test -z "$as_dir" && as_dir
=.
10529 for ac_exec_ext
in '' $ac_executable_extensions; do
10530 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10531 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10542 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10543 if test -n "$aros_kernel_ld"; then
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10545 $as_echo "$aros_kernel_ld" >&6; }
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10548 $as_echo "no" >&6; }
10553 if test "$aros_kernel_ld" = ""; then
10554 for ac_prog
in $ac_tool_ld
10556 # Extract the first word of "$ac_prog", so it can be a program name with args.
10557 set dummy
$ac_prog; ac_word
=$2
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10559 $as_echo_n "checking for $ac_word... " >&6; }
10560 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10561 $as_echo_n "(cached) " >&6
10563 case $aros_kernel_ld in
10565 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10569 for as_dir
in $PATH
10572 test -z "$as_dir" && as_dir
=.
10573 for ac_exec_ext
in '' $ac_executable_extensions; do
10574 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10575 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10586 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10587 if test -n "$aros_kernel_ld"; then
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10589 $as_echo "$aros_kernel_ld" >&6; }
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10592 $as_echo "no" >&6; }
10596 test -n "$aros_kernel_ld" && break
10603 ac_tool_optarg
=`expr "X$aros_kernel_ld" : '[^ ]* \(.*\)'`
10604 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
10605 set dummy
$aros_kernel_ld; ac_word
=$2
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10607 $as_echo_n "checking for $ac_word... " >&6; }
10608 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10609 $as_echo_n "(cached) " >&6
10611 case $aros_kernel_ld in
10613 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10617 for as_dir
in $PATH
10620 test -z "$as_dir" && as_dir
=.
10621 for ac_exec_ext
in '' $ac_executable_extensions; do
10622 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10623 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10634 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10635 if test -n "$aros_kernel_ld"; then
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10637 $as_echo "$aros_kernel_ld" >&6; }
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10640 $as_echo "no" >&6; }
10644 aros_kernel_ld
="$aros_kernel_ld $ac_tool_optarg"
10648 if test "$aros_kernel_ld" = ""; then
10651 if test "$aros_kernel_ld" = "no"; then
10654 if test "$req_avail" = "no"; then
10655 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10657 if test "x$aros_kernel_as" = "x"; then
10658 aros_kernel_as
=$aros_host_as
10659 if test "x$aros_kernel_as" = "x"; then
10660 aros_kernel_as
=${HOST_TOOLCHAIN_PREFIX}as
${HOST_TOOLCHAIN_SUFFIX}
10664 if test "$aros_kernel_as" = ""; then
10665 if test "$cross_compiling" = "yes" ; then
10666 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
10667 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10669 $as_echo_n "checking for $ac_word... " >&6; }
10670 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10671 $as_echo_n "(cached) " >&6
10673 case $aros_kernel_as in
10675 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10679 for as_dir
in $PATH
10682 test -z "$as_dir" && as_dir
=.
10683 for ac_exec_ext
in '' $ac_executable_extensions; do
10684 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10685 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10696 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10697 if test -n "$aros_kernel_as"; then
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10699 $as_echo "$aros_kernel_as" >&6; }
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10702 $as_echo "no" >&6; }
10708 if test "" = ""; then
10713 if test "$GCC" = "yes"; then
10714 aros_gcc_as
=`$CC -print-prog-name=$ac_tool_as`
10715 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
10716 set dummy
`basename $aros_gcc_as`; ac_word
=$2
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10718 $as_echo_n "checking for $ac_word... " >&6; }
10719 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10720 $as_echo_n "(cached) " >&6
10722 case $aros_kernel_as in
10724 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10728 for as_dir
in `dirname $aros_gcc_as`
10731 test -z "$as_dir" && as_dir
=.
10732 for ac_exec_ext
in '' $ac_executable_extensions; do
10733 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10734 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10745 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10746 if test -n "$aros_kernel_as"; then
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10748 $as_echo "$aros_kernel_as" >&6; }
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10751 $as_echo "no" >&6; }
10756 if test "$aros_kernel_as" = ""; then
10757 for ac_prog
in $ac_tool_as
10759 # Extract the first word of "$ac_prog", so it can be a program name with args.
10760 set dummy
$ac_prog; ac_word
=$2
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10762 $as_echo_n "checking for $ac_word... " >&6; }
10763 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10764 $as_echo_n "(cached) " >&6
10766 case $aros_kernel_as in
10768 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10772 for as_dir
in $PATH
10775 test -z "$as_dir" && as_dir
=.
10776 for ac_exec_ext
in '' $ac_executable_extensions; do
10777 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10778 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10789 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10790 if test -n "$aros_kernel_as"; then
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10792 $as_echo "$aros_kernel_as" >&6; }
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10795 $as_echo "no" >&6; }
10799 test -n "$aros_kernel_as" && break
10806 ac_tool_optarg
=`expr "X$aros_kernel_as" : '[^ ]* \(.*\)'`
10807 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
10808 set dummy
$aros_kernel_as; ac_word
=$2
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10810 $as_echo_n "checking for $ac_word... " >&6; }
10811 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10812 $as_echo_n "(cached) " >&6
10814 case $aros_kernel_as in
10816 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10820 for as_dir
in $PATH
10823 test -z "$as_dir" && as_dir
=.
10824 for ac_exec_ext
in '' $ac_executable_extensions; do
10825 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10826 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10837 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10838 if test -n "$aros_kernel_as"; then
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10840 $as_echo "$aros_kernel_as" >&6; }
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10843 $as_echo "no" >&6; }
10847 aros_kernel_as
="$aros_kernel_as $ac_tool_optarg"
10851 if test "$aros_kernel_as" = ""; then
10854 if test "$aros_kernel_as" = "no"; then
10857 if test "$req_avail" = "no"; then
10858 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
10860 if test "x$aros_kernel_ar" = "x"; then
10861 aros_kernel_ar
=$aros_host_full_ar
10864 if test "$aros_kernel_ar" = ""; then
10865 if test "$cross_compiling" = "yes" ; then
10866 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
10867 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10869 $as_echo_n "checking for $ac_word... " >&6; }
10870 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10871 $as_echo_n "(cached) " >&6
10873 case $aros_kernel_ar in
10875 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10879 for as_dir
in $PATH
10882 test -z "$as_dir" && as_dir
=.
10883 for ac_exec_ext
in '' $ac_executable_extensions; do
10884 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10885 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10896 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10897 if test -n "$aros_kernel_ar"; then
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10899 $as_echo "$aros_kernel_ar" >&6; }
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10902 $as_echo "no" >&6; }
10908 if test "" = ""; then
10913 if test "$GCC" = "yes"; then
10914 aros_gcc_ar
=`$CC -print-prog-name=$ac_tool_ar`
10915 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
10916 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10918 $as_echo_n "checking for $ac_word... " >&6; }
10919 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10920 $as_echo_n "(cached) " >&6
10922 case $aros_kernel_ar in
10924 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10928 for as_dir
in `dirname $aros_gcc_ar`
10931 test -z "$as_dir" && as_dir
=.
10932 for ac_exec_ext
in '' $ac_executable_extensions; do
10933 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10934 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10945 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10946 if test -n "$aros_kernel_ar"; then
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10948 $as_echo "$aros_kernel_ar" >&6; }
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10951 $as_echo "no" >&6; }
10956 if test "$aros_kernel_ar" = ""; then
10957 for ac_prog
in $ac_tool_ar
10959 # Extract the first word of "$ac_prog", so it can be a program name with args.
10960 set dummy
$ac_prog; ac_word
=$2
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10962 $as_echo_n "checking for $ac_word... " >&6; }
10963 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10964 $as_echo_n "(cached) " >&6
10966 case $aros_kernel_ar in
10968 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10972 for as_dir
in $PATH
10975 test -z "$as_dir" && as_dir
=.
10976 for ac_exec_ext
in '' $ac_executable_extensions; do
10977 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10978 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10989 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10990 if test -n "$aros_kernel_ar"; then
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10992 $as_echo "$aros_kernel_ar" >&6; }
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10995 $as_echo "no" >&6; }
10999 test -n "$aros_kernel_ar" && break
11006 ac_tool_optarg
=`expr "X$aros_kernel_ar" : '[^ ]* \(.*\)'`
11007 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
11008 set dummy
$aros_kernel_ar; ac_word
=$2
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11010 $as_echo_n "checking for $ac_word... " >&6; }
11011 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
11012 $as_echo_n "(cached) " >&6
11014 case $aros_kernel_ar in
11016 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
11019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11020 for as_dir
in $PATH
11023 test -z "$as_dir" && as_dir
=.
11024 for ac_exec_ext
in '' $ac_executable_extensions; do
11025 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11026 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
11027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11037 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
11038 if test -n "$aros_kernel_ar"; then
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
11040 $as_echo "$aros_kernel_ar" >&6; }
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11043 $as_echo "no" >&6; }
11047 aros_kernel_ar
="$aros_kernel_ar $ac_tool_optarg"
11051 if test "$aros_kernel_ar" = ""; then
11054 if test "$aros_kernel_ar" = "no"; then
11057 if test "$req_avail" = "no"; then
11058 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11060 if test "x$aros_kernel_ranlib" = "x"; then
11061 aros_kernel_ranlib
=$aros_host_ranlib
11064 if test "$aros_kernel_ranlib" = ""; then
11065 if test "$cross_compiling" = "yes" ; then
11066 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
11067 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11069 $as_echo_n "checking for $ac_word... " >&6; }
11070 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
11071 $as_echo_n "(cached) " >&6
11073 case $aros_kernel_ranlib in
11075 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
11078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11079 for as_dir
in $PATH
11082 test -z "$as_dir" && as_dir
=.
11083 for ac_exec_ext
in '' $ac_executable_extensions; do
11084 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11085 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11096 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
11097 if test -n "$aros_kernel_ranlib"; then
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
11099 $as_echo "$aros_kernel_ranlib" >&6; }
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11102 $as_echo "no" >&6; }
11108 if test "" = ""; then
11109 ac_tool_ranlib
=ranlib
11113 if test "$GCC" = "yes"; then
11114 aros_gcc_ranlib
=`$CC -print-prog-name=$ac_tool_ranlib`
11115 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
11116 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11118 $as_echo_n "checking for $ac_word... " >&6; }
11119 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
11120 $as_echo_n "(cached) " >&6
11122 case $aros_kernel_ranlib in
11124 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
11127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11128 for as_dir
in `dirname $aros_gcc_ranlib`
11131 test -z "$as_dir" && as_dir
=.
11132 for ac_exec_ext
in '' $ac_executable_extensions; do
11133 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11134 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11145 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
11146 if test -n "$aros_kernel_ranlib"; then
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
11148 $as_echo "$aros_kernel_ranlib" >&6; }
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11151 $as_echo "no" >&6; }
11156 if test "$aros_kernel_ranlib" = ""; then
11157 for ac_prog
in $ac_tool_ranlib
11159 # Extract the first word of "$ac_prog", so it can be a program name with args.
11160 set dummy
$ac_prog; ac_word
=$2
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11162 $as_echo_n "checking for $ac_word... " >&6; }
11163 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
11164 $as_echo_n "(cached) " >&6
11166 case $aros_kernel_ranlib in
11168 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
11171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11172 for as_dir
in $PATH
11175 test -z "$as_dir" && as_dir
=.
11176 for ac_exec_ext
in '' $ac_executable_extensions; do
11177 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11178 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11189 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
11190 if test -n "$aros_kernel_ranlib"; then
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
11192 $as_echo "$aros_kernel_ranlib" >&6; }
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11195 $as_echo "no" >&6; }
11199 test -n "$aros_kernel_ranlib" && break
11206 ac_tool_optarg
=`expr "X$aros_kernel_ranlib" : '[^ ]* \(.*\)'`
11207 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
11208 set dummy
$aros_kernel_ranlib; ac_word
=$2
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11210 $as_echo_n "checking for $ac_word... " >&6; }
11211 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
11212 $as_echo_n "(cached) " >&6
11214 case $aros_kernel_ranlib in
11216 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
11219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11220 for as_dir
in $PATH
11223 test -z "$as_dir" && as_dir
=.
11224 for ac_exec_ext
in '' $ac_executable_extensions; do
11225 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11226 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11237 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
11238 if test -n "$aros_kernel_ranlib"; then
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
11240 $as_echo "$aros_kernel_ranlib" >&6; }
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11243 $as_echo "no" >&6; }
11247 aros_kernel_ranlib
="$aros_kernel_ranlib $ac_tool_optarg"
11251 if test "$aros_kernel_ranlib" = ""; then
11254 if test "$aros_kernel_ranlib" = "no"; then
11257 if test "$req_avail" = "no"; then
11258 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
11260 if test "x$aros_kernel_nm" = "x"; then
11261 aros_kernel_nm
=$aros_host_nm
11262 if test "x$aros_kernel_nm" = "x"; then
11263 aros_kernel_nm
=${HOST_TOOLCHAIN_PREFIX}nm
${HOST_TOOLCHAIN_SUFFIX}
11267 if test "$aros_kernel_nm" = ""; then
11268 if test "$cross_compiling" = "yes" ; then
11269 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
11270 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11272 $as_echo_n "checking for $ac_word... " >&6; }
11273 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
11274 $as_echo_n "(cached) " >&6
11276 case $aros_kernel_nm in
11278 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
11281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11282 for as_dir
in $PATH
11285 test -z "$as_dir" && as_dir
=.
11286 for ac_exec_ext
in '' $ac_executable_extensions; do
11287 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11288 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
11289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11299 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
11300 if test -n "$aros_kernel_nm"; then
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
11302 $as_echo "$aros_kernel_nm" >&6; }
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11305 $as_echo "no" >&6; }
11311 if test "" = ""; then
11316 if test "$GCC" = "yes"; then
11317 aros_gcc_nm
=`$CC -print-prog-name=$ac_tool_nm`
11318 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
11319 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11321 $as_echo_n "checking for $ac_word... " >&6; }
11322 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
11323 $as_echo_n "(cached) " >&6
11325 case $aros_kernel_nm in
11327 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
11330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11331 for as_dir
in `dirname $aros_gcc_nm`
11334 test -z "$as_dir" && as_dir
=.
11335 for ac_exec_ext
in '' $ac_executable_extensions; do
11336 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11337 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
11338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11348 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
11349 if test -n "$aros_kernel_nm"; then
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
11351 $as_echo "$aros_kernel_nm" >&6; }
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11354 $as_echo "no" >&6; }
11359 if test "$aros_kernel_nm" = ""; then
11360 for ac_prog
in $ac_tool_nm
11362 # Extract the first word of "$ac_prog", so it can be a program name with args.
11363 set dummy
$ac_prog; ac_word
=$2
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11365 $as_echo_n "checking for $ac_word... " >&6; }
11366 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
11367 $as_echo_n "(cached) " >&6
11369 case $aros_kernel_nm in
11371 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
11374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11375 for as_dir
in $PATH
11378 test -z "$as_dir" && as_dir
=.
11379 for ac_exec_ext
in '' $ac_executable_extensions; do
11380 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11381 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
11382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11392 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
11393 if test -n "$aros_kernel_nm"; then
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
11395 $as_echo "$aros_kernel_nm" >&6; }
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11398 $as_echo "no" >&6; }
11402 test -n "$aros_kernel_nm" && break
11409 ac_tool_optarg
=`expr "X$aros_kernel_nm" : '[^ ]* \(.*\)'`
11410 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
11411 set dummy
$aros_kernel_nm; ac_word
=$2
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11413 $as_echo_n "checking for $ac_word... " >&6; }
11414 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
11415 $as_echo_n "(cached) " >&6
11417 case $aros_kernel_nm in
11419 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
11422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11423 for as_dir
in $PATH
11426 test -z "$as_dir" && as_dir
=.
11427 for ac_exec_ext
in '' $ac_executable_extensions; do
11428 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11429 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
11430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11440 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
11441 if test -n "$aros_kernel_nm"; then
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
11443 $as_echo "$aros_kernel_nm" >&6; }
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11446 $as_echo "no" >&6; }
11450 aros_kernel_nm
="$aros_kernel_nm $ac_tool_optarg"
11454 if test "$aros_kernel_nm" = ""; then
11457 if test "$aros_kernel_nm" = "no"; then
11460 if test "$req_avail" = "no"; then
11461 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
11464 if test "$aros_kernel_strip" = ""; then
11465 if test "$cross_compiling" = "yes" ; then
11466 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
11467 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11469 $as_echo_n "checking for $ac_word... " >&6; }
11470 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11471 $as_echo_n "(cached) " >&6
11473 case $aros_kernel_strip in
11475 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11479 for as_dir
in $PATH
11482 test -z "$as_dir" && as_dir
=.
11483 for ac_exec_ext
in '' $ac_executable_extensions; do
11484 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11485 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11496 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11497 if test -n "$aros_kernel_strip"; then
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11499 $as_echo "$aros_kernel_strip" >&6; }
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11502 $as_echo "no" >&6; }
11508 if test "" = ""; then
11509 ac_tool_strip
=strip
11513 if test "$GCC" = "yes"; then
11514 aros_gcc_strip
=`$CC -print-prog-name=$ac_tool_strip`
11515 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
11516 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11518 $as_echo_n "checking for $ac_word... " >&6; }
11519 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11520 $as_echo_n "(cached) " >&6
11522 case $aros_kernel_strip in
11524 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11528 for as_dir
in `dirname $aros_gcc_strip`
11531 test -z "$as_dir" && as_dir
=.
11532 for ac_exec_ext
in '' $ac_executable_extensions; do
11533 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11534 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11545 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11546 if test -n "$aros_kernel_strip"; then
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11548 $as_echo "$aros_kernel_strip" >&6; }
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11551 $as_echo "no" >&6; }
11556 if test "$aros_kernel_strip" = ""; then
11557 for ac_prog
in $ac_tool_strip
11559 # Extract the first word of "$ac_prog", so it can be a program name with args.
11560 set dummy
$ac_prog; ac_word
=$2
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11562 $as_echo_n "checking for $ac_word... " >&6; }
11563 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11564 $as_echo_n "(cached) " >&6
11566 case $aros_kernel_strip in
11568 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11572 for as_dir
in $PATH
11575 test -z "$as_dir" && as_dir
=.
11576 for ac_exec_ext
in '' $ac_executable_extensions; do
11577 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11578 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11589 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11590 if test -n "$aros_kernel_strip"; then
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11592 $as_echo "$aros_kernel_strip" >&6; }
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11595 $as_echo "no" >&6; }
11599 test -n "$aros_kernel_strip" && break
11606 ac_tool_optarg
=`expr "X$aros_kernel_strip" : '[^ ]* \(.*\)'`
11607 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
11608 set dummy
$aros_kernel_strip; ac_word
=$2
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11610 $as_echo_n "checking for $ac_word... " >&6; }
11611 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11612 $as_echo_n "(cached) " >&6
11614 case $aros_kernel_strip in
11616 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11620 for as_dir
in $PATH
11623 test -z "$as_dir" && as_dir
=.
11624 for ac_exec_ext
in '' $ac_executable_extensions; do
11625 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11626 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11637 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11638 if test -n "$aros_kernel_strip"; then
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11640 $as_echo "$aros_kernel_strip" >&6; }
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11643 $as_echo "no" >&6; }
11647 aros_kernel_strip
="$aros_kernel_strip $ac_tool_optarg"
11651 if test "$aros_kernel_strip" = ""; then
11654 if test "$aros_kernel_strip" = "no"; then
11657 if test "$req_avail" = "no"; then
11658 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
11661 # Objcopy and objdump are not required for the kernel
11662 # toolchain on many architectures.
11663 # So we'll look for them, but not make them strictly required.
11664 if test "x$aros_kernel_objcopy" = "x"; then
11665 aros_kernel_objcopy
=$aros_host_objcopy
11666 if test "x$aros_kernel_objcopy" = "x"; then
11667 aros_kernel_objcopy
=${HOST_TOOLCHAIN_PREFIX}objcopy
${HOST_TOOLCHAIN_SUFFIX}
11671 if test "$aros_kernel_objcopy" = ""; then
11672 if test "$cross_compiling" = "yes" ; then
11673 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
11674 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11676 $as_echo_n "checking for $ac_word... " >&6; }
11677 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11678 $as_echo_n "(cached) " >&6
11680 case $aros_kernel_objcopy in
11682 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11686 for as_dir
in $PATH
11689 test -z "$as_dir" && as_dir
=.
11690 for ac_exec_ext
in '' $ac_executable_extensions; do
11691 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11692 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11703 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11704 if test -n "$aros_kernel_objcopy"; then
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11706 $as_echo "$aros_kernel_objcopy" >&6; }
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11709 $as_echo "no" >&6; }
11715 if test "" = ""; then
11716 ac_tool_objcopy
=objcopy
11720 if test "$GCC" = "yes"; then
11721 aros_gcc_objcopy
=`$CC -print-prog-name=$ac_tool_objcopy`
11722 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
11723 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11725 $as_echo_n "checking for $ac_word... " >&6; }
11726 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11727 $as_echo_n "(cached) " >&6
11729 case $aros_kernel_objcopy in
11731 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11735 for as_dir
in `dirname $aros_gcc_objcopy`
11738 test -z "$as_dir" && as_dir
=.
11739 for ac_exec_ext
in '' $ac_executable_extensions; do
11740 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11741 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11752 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11753 if test -n "$aros_kernel_objcopy"; then
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11755 $as_echo "$aros_kernel_objcopy" >&6; }
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11758 $as_echo "no" >&6; }
11763 if test "$aros_kernel_objcopy" = ""; then
11764 for ac_prog
in $ac_tool_objcopy
11766 # Extract the first word of "$ac_prog", so it can be a program name with args.
11767 set dummy
$ac_prog; ac_word
=$2
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11769 $as_echo_n "checking for $ac_word... " >&6; }
11770 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11771 $as_echo_n "(cached) " >&6
11773 case $aros_kernel_objcopy in
11775 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11779 for as_dir
in $PATH
11782 test -z "$as_dir" && as_dir
=.
11783 for ac_exec_ext
in '' $ac_executable_extensions; do
11784 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11785 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11796 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11797 if test -n "$aros_kernel_objcopy"; then
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11799 $as_echo "$aros_kernel_objcopy" >&6; }
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11802 $as_echo "no" >&6; }
11806 test -n "$aros_kernel_objcopy" && break
11813 ac_tool_optarg
=`expr "X$aros_kernel_objcopy" : '[^ ]* \(.*\)'`
11814 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
11815 set dummy
$aros_kernel_objcopy; ac_word
=$2
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11817 $as_echo_n "checking for $ac_word... " >&6; }
11818 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11819 $as_echo_n "(cached) " >&6
11821 case $aros_kernel_objcopy in
11823 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11827 for as_dir
in $PATH
11830 test -z "$as_dir" && as_dir
=.
11831 for ac_exec_ext
in '' $ac_executable_extensions; do
11832 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11833 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11844 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11845 if test -n "$aros_kernel_objcopy"; then
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11847 $as_echo "$aros_kernel_objcopy" >&6; }
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11850 $as_echo "no" >&6; }
11854 aros_kernel_objcopy
="$aros_kernel_objcopy $ac_tool_optarg"
11857 if test "x$aros_kernel_objdump" = "x"; then
11858 aros_kernel_objdump
=$aros_host_objdump
11859 if test "x$aros_kernel_objdump" = "x"; then
11860 aros_kernel_objdump
=${HOST_TOOLCHAIN_PREFIX}objdump
${HOST_TOOLCHAIN_SUFFIX}
11864 if test "$aros_kernel_objdump" = ""; then
11865 if test "$cross_compiling" = "yes" ; then
11866 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
11867 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11869 $as_echo_n "checking for $ac_word... " >&6; }
11870 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11871 $as_echo_n "(cached) " >&6
11873 case $aros_kernel_objdump in
11875 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11879 for as_dir
in $PATH
11882 test -z "$as_dir" && as_dir
=.
11883 for ac_exec_ext
in '' $ac_executable_extensions; do
11884 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11885 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11896 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11897 if test -n "$aros_kernel_objdump"; then
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11899 $as_echo "$aros_kernel_objdump" >&6; }
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11902 $as_echo "no" >&6; }
11908 if test "" = ""; then
11909 ac_tool_objdump
=objdump
11913 if test "$GCC" = "yes"; then
11914 aros_gcc_objdump
=`$CC -print-prog-name=$ac_tool_objdump`
11915 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
11916 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11918 $as_echo_n "checking for $ac_word... " >&6; }
11919 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11920 $as_echo_n "(cached) " >&6
11922 case $aros_kernel_objdump in
11924 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11928 for as_dir
in `dirname $aros_gcc_objdump`
11931 test -z "$as_dir" && as_dir
=.
11932 for ac_exec_ext
in '' $ac_executable_extensions; do
11933 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11934 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11945 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11946 if test -n "$aros_kernel_objdump"; then
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11948 $as_echo "$aros_kernel_objdump" >&6; }
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11951 $as_echo "no" >&6; }
11956 if test "$aros_kernel_objdump" = ""; then
11957 for ac_prog
in $ac_tool_objdump
11959 # Extract the first word of "$ac_prog", so it can be a program name with args.
11960 set dummy
$ac_prog; ac_word
=$2
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11962 $as_echo_n "checking for $ac_word... " >&6; }
11963 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11964 $as_echo_n "(cached) " >&6
11966 case $aros_kernel_objdump in
11968 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11972 for as_dir
in $PATH
11975 test -z "$as_dir" && as_dir
=.
11976 for ac_exec_ext
in '' $ac_executable_extensions; do
11977 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11978 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11989 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11990 if test -n "$aros_kernel_objdump"; then
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11992 $as_echo "$aros_kernel_objdump" >&6; }
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11995 $as_echo "no" >&6; }
11999 test -n "$aros_kernel_objdump" && break
12006 ac_tool_optarg
=`expr "X$aros_kernel_objdump" : '[^ ]* \(.*\)'`
12007 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
12008 set dummy
$aros_kernel_objdump; ac_word
=$2
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12010 $as_echo_n "checking for $ac_word... " >&6; }
12011 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
12012 $as_echo_n "(cached) " >&6
12014 case $aros_kernel_objdump in
12016 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
12019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12020 for as_dir
in $PATH
12023 test -z "$as_dir" && as_dir
=.
12024 for ac_exec_ext
in '' $ac_executable_extensions; do
12025 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12026 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
12027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12037 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
12038 if test -n "$aros_kernel_objdump"; then
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
12040 $as_echo "$aros_kernel_objdump" >&6; }
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12043 $as_echo "no" >&6; }
12047 aros_kernel_objdump
="$aros_kernel_objdump $ac_tool_optarg"
12050 if test "x${crosstools}" != "xyes" ; then
12052 if test "$aros_kernel_objcopy" = ""; then
12055 if test "$aros_kernel_objcopy" = "no"; then
12058 if test "$req_avail" = "no"; then
12059 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12062 if test "$aros_kernel_objdump" = ""; then
12065 if test "$aros_kernel_objdump" = "no"; then
12068 if test "$req_avail" = "no"; then
12069 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
12076 $as_echo_n "checking which target tools to use... " >&6; }
12077 if test "$aros_target_toolchain" = "yes"; then
12078 if test "$aros_toolchain" = "llvm" ; then
12081 msg_result
=$target_tool_prefix
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
12084 $as_echo "$msg_result" >&6; }
12085 # We are building AROS crosstools
12086 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
12087 orig_target_cc
="${tmp_tool_prefix}${toolchain_c_compiler}${target_tool_version}"
12088 orig_target_cxx
="${tmp_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}"
12089 orig_target_cpp
="${tmp_tool_prefix}${toolchain_cpp_preprocessor}"
12090 orig_target_ld
="${tmp_tool_prefix}${toolchain_ld}"
12091 orig_target_as
="${tmp_tool_prefix}${toolchain_as}"
12092 orig_target_ar
="${tmp_tool_prefix}${toolchain_ar}"
12093 orig_target_ranlib
="${tmp_tool_prefix}${toolchain_ranlib}"
12094 orig_target_nm
="${tmp_tool_prefix}${toolchain_nm}"
12095 orig_target_strip
="${tmp_tool_prefix}${toolchain_strip}"
12096 orig_target_objcopy
="${tmp_tool_prefix}${toolchain_objcopy}"
12097 orig_target_objdump
="${tmp_tool_prefix}${toolchain_objdump}"
12099 # Determine whether AROS or ELF tools should be used
12100 if test "$aros_tool_prefix" = "none"; then
12101 aros_tool_prefix
="${elf_tool_prefix}"
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
12105 $as_echo "$aros_tool_prefix" >&6; }
12106 # We are *not* building AROS crosstools - use the AROS or ELF tools
12108 if test "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" = ""; then
12109 if test "$cross_compiling" = "yes" ; then
12110 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
12111 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12113 $as_echo_n "checking for $ac_word... " >&6; }
12114 if ${ac_cv_path_orig_target_cpp+:} false
; then :
12115 $as_echo_n "(cached) " >&6
12117 case $orig_target_cpp in
12119 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
12122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12123 for as_dir
in $PATH
12126 test -z "$as_dir" && as_dir
=.
12127 for ac_exec_ext
in '' $ac_executable_extensions; do
12128 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12129 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
12130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12140 orig_target_cpp
=$ac_cv_path_orig_target_cpp
12141 if test -n "$orig_target_cpp"; then
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
12143 $as_echo "$orig_target_cpp" >&6; }
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12146 $as_echo "no" >&6; }
12152 if test "" = ""; then
12157 if test "$GCC" = "yes"; then
12158 aros_gcc_cpp
=`$CC -print-prog-name=$ac_tool_cpp`
12159 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
12160 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12162 $as_echo_n "checking for $ac_word... " >&6; }
12163 if ${ac_cv_path_orig_target_cpp+:} false
; then :
12164 $as_echo_n "(cached) " >&6
12166 case $orig_target_cpp in
12168 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
12171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12172 for as_dir
in `dirname $aros_gcc_cpp`
12175 test -z "$as_dir" && as_dir
=.
12176 for ac_exec_ext
in '' $ac_executable_extensions; do
12177 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12178 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
12179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12189 orig_target_cpp
=$ac_cv_path_orig_target_cpp
12190 if test -n "$orig_target_cpp"; then
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
12192 $as_echo "$orig_target_cpp" >&6; }
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12195 $as_echo "no" >&6; }
12200 if test "$orig_target_cpp" = ""; then
12201 for ac_prog
in $ac_tool_cpp
12203 # Extract the first word of "$ac_prog", so it can be a program name with args.
12204 set dummy
$ac_prog; ac_word
=$2
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12206 $as_echo_n "checking for $ac_word... " >&6; }
12207 if ${ac_cv_path_orig_target_cpp+:} false
; then :
12208 $as_echo_n "(cached) " >&6
12210 case $orig_target_cpp in
12212 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
12215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12216 for as_dir
in $PATH
12219 test -z "$as_dir" && as_dir
=.
12220 for ac_exec_ext
in '' $ac_executable_extensions; do
12221 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12222 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
12223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12233 orig_target_cpp
=$ac_cv_path_orig_target_cpp
12234 if test -n "$orig_target_cpp"; then
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
12236 $as_echo "$orig_target_cpp" >&6; }
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12239 $as_echo "no" >&6; }
12243 test -n "$orig_target_cpp" && break
12250 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" : '[^ ]* \(.*\)'`
12251 # Extract the first word of "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}", so it can be a program name with args.
12252 set dummy
${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}; ac_word
=$2
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12254 $as_echo_n "checking for $ac_word... " >&6; }
12255 if ${ac_cv_path_orig_target_cpp+:} false
; then :
12256 $as_echo_n "(cached) " >&6
12258 case $orig_target_cpp in
12260 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
12263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12264 for as_dir
in $PATH
12267 test -z "$as_dir" && as_dir
=.
12268 for ac_exec_ext
in '' $ac_executable_extensions; do
12269 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12270 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
12271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12281 orig_target_cpp
=$ac_cv_path_orig_target_cpp
12282 if test -n "$orig_target_cpp"; then
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
12284 $as_echo "$orig_target_cpp" >&6; }
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12287 $as_echo "no" >&6; }
12291 orig_target_cpp
="$orig_target_cpp $ac_tool_optarg"
12295 if test "$orig_target_cpp" = ""; then
12298 if test "$orig_target_cpp" = "no"; then
12301 if test "$req_avail" = "no"; then
12302 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
12305 if test "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" = ""; then
12306 if test "$cross_compiling" = "yes" ; then
12307 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
12308 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12310 $as_echo_n "checking for $ac_word... " >&6; }
12311 if ${ac_cv_path_orig_target_cc+:} false
; then :
12312 $as_echo_n "(cached) " >&6
12314 case $orig_target_cc in
12316 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
12319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12320 for as_dir
in $PATH
12323 test -z "$as_dir" && as_dir
=.
12324 for ac_exec_ext
in '' $ac_executable_extensions; do
12325 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12326 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
12327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12337 orig_target_cc
=$ac_cv_path_orig_target_cc
12338 if test -n "$orig_target_cc"; then
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
12340 $as_echo "$orig_target_cc" >&6; }
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12343 $as_echo "no" >&6; }
12349 if test "" = ""; then
12354 if test "$GCC" = "yes"; then
12355 aros_gcc_gcc
=`$CC -print-prog-name=$ac_tool_gcc`
12356 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
12357 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12359 $as_echo_n "checking for $ac_word... " >&6; }
12360 if ${ac_cv_path_orig_target_cc+:} false
; then :
12361 $as_echo_n "(cached) " >&6
12363 case $orig_target_cc in
12365 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
12368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12369 for as_dir
in `dirname $aros_gcc_gcc`
12372 test -z "$as_dir" && as_dir
=.
12373 for ac_exec_ext
in '' $ac_executable_extensions; do
12374 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12375 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
12376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12386 orig_target_cc
=$ac_cv_path_orig_target_cc
12387 if test -n "$orig_target_cc"; then
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
12389 $as_echo "$orig_target_cc" >&6; }
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12392 $as_echo "no" >&6; }
12397 if test "$orig_target_cc" = ""; then
12398 for ac_prog
in $ac_tool_gcc
12400 # Extract the first word of "$ac_prog", so it can be a program name with args.
12401 set dummy
$ac_prog; ac_word
=$2
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12403 $as_echo_n "checking for $ac_word... " >&6; }
12404 if ${ac_cv_path_orig_target_cc+:} false
; then :
12405 $as_echo_n "(cached) " >&6
12407 case $orig_target_cc in
12409 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
12412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12413 for as_dir
in $PATH
12416 test -z "$as_dir" && as_dir
=.
12417 for ac_exec_ext
in '' $ac_executable_extensions; do
12418 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12419 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
12420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12430 orig_target_cc
=$ac_cv_path_orig_target_cc
12431 if test -n "$orig_target_cc"; then
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
12433 $as_echo "$orig_target_cc" >&6; }
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12436 $as_echo "no" >&6; }
12440 test -n "$orig_target_cc" && break
12447 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
12448 # Extract the first word of "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}", so it can be a program name with args.
12449 set dummy
${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}; ac_word
=$2
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12451 $as_echo_n "checking for $ac_word... " >&6; }
12452 if ${ac_cv_path_orig_target_cc+:} false
; then :
12453 $as_echo_n "(cached) " >&6
12455 case $orig_target_cc in
12457 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
12460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12461 for as_dir
in $PATH
12464 test -z "$as_dir" && as_dir
=.
12465 for ac_exec_ext
in '' $ac_executable_extensions; do
12466 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12467 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
12468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12478 orig_target_cc
=$ac_cv_path_orig_target_cc
12479 if test -n "$orig_target_cc"; then
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
12481 $as_echo "$orig_target_cc" >&6; }
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12484 $as_echo "no" >&6; }
12488 orig_target_cc
="$orig_target_cc $ac_tool_optarg"
12492 if test "$orig_target_cc" = ""; then
12495 if test "$orig_target_cc" = "no"; then
12498 if test "$req_avail" = "no"; then
12499 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
12502 if test "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" = ""; then
12503 if test "$cross_compiling" = "yes" ; then
12504 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
12505 set dummy
${target_tool_prefix}g
++; ac_word
=$2
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12507 $as_echo_n "checking for $ac_word... " >&6; }
12508 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12509 $as_echo_n "(cached) " >&6
12511 case $orig_target_cxx in
12513 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12517 for as_dir
in $PATH
12520 test -z "$as_dir" && as_dir
=.
12521 for ac_exec_ext
in '' $ac_executable_extensions; do
12522 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12523 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12534 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12535 if test -n "$orig_target_cxx"; then
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12537 $as_echo "$orig_target_cxx" >&6; }
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12540 $as_echo "no" >&6; }
12546 if test "" = ""; then
12551 if test "$GCC" = "yes"; then
12552 aros_gcc_g
++=`$CC -print-prog-name=$ac_tool_g++`
12553 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
12554 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12556 $as_echo_n "checking for $ac_word... " >&6; }
12557 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12558 $as_echo_n "(cached) " >&6
12560 case $orig_target_cxx in
12562 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12566 for as_dir
in `dirname $aros_gcc_g++`
12569 test -z "$as_dir" && as_dir
=.
12570 for ac_exec_ext
in '' $ac_executable_extensions; do
12571 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12572 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12583 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12584 if test -n "$orig_target_cxx"; then
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12586 $as_echo "$orig_target_cxx" >&6; }
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12589 $as_echo "no" >&6; }
12594 if test "$orig_target_cxx" = ""; then
12595 for ac_prog
in $ac_tool_g++
12597 # Extract the first word of "$ac_prog", so it can be a program name with args.
12598 set dummy
$ac_prog; ac_word
=$2
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12600 $as_echo_n "checking for $ac_word... " >&6; }
12601 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12602 $as_echo_n "(cached) " >&6
12604 case $orig_target_cxx in
12606 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12610 for as_dir
in $PATH
12613 test -z "$as_dir" && as_dir
=.
12614 for ac_exec_ext
in '' $ac_executable_extensions; do
12615 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12616 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12627 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12628 if test -n "$orig_target_cxx"; then
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12630 $as_echo "$orig_target_cxx" >&6; }
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12633 $as_echo "no" >&6; }
12637 test -n "$orig_target_cxx" && break
12644 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
12645 # Extract the first word of "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}", so it can be a program name with args.
12646 set dummy
${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}; ac_word
=$2
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12648 $as_echo_n "checking for $ac_word... " >&6; }
12649 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12650 $as_echo_n "(cached) " >&6
12652 case $orig_target_cxx in
12654 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12658 for as_dir
in $PATH
12661 test -z "$as_dir" && as_dir
=.
12662 for ac_exec_ext
in '' $ac_executable_extensions; do
12663 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12664 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12675 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12676 if test -n "$orig_target_cxx"; then
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12678 $as_echo "$orig_target_cxx" >&6; }
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12681 $as_echo "no" >&6; }
12685 orig_target_cxx
="$orig_target_cxx $ac_tool_optarg"
12689 if test "$orig_target_cxx" = ""; then
12692 if test "$orig_target_cxx" = "no"; then
12695 if test "$req_avail" = "no"; then
12696 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
12699 if test "${aros_tool_prefix}${toolchain_ld}" = ""; then
12700 if test "$cross_compiling" = "yes" ; then
12701 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
12702 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12704 $as_echo_n "checking for $ac_word... " >&6; }
12705 if ${ac_cv_path_orig_target_ld+:} false
; then :
12706 $as_echo_n "(cached) " >&6
12708 case $orig_target_ld in
12710 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12714 for as_dir
in $PATH
12717 test -z "$as_dir" && as_dir
=.
12718 for ac_exec_ext
in '' $ac_executable_extensions; do
12719 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12720 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12731 orig_target_ld
=$ac_cv_path_orig_target_ld
12732 if test -n "$orig_target_ld"; then
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12734 $as_echo "$orig_target_ld" >&6; }
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12737 $as_echo "no" >&6; }
12743 if test "" = ""; then
12748 if test "$GCC" = "yes"; then
12749 aros_gcc_gcc
=`$CC -print-prog-name=$ac_tool_gcc`
12750 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
12751 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12753 $as_echo_n "checking for $ac_word... " >&6; }
12754 if ${ac_cv_path_orig_target_ld+:} false
; then :
12755 $as_echo_n "(cached) " >&6
12757 case $orig_target_ld in
12759 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12763 for as_dir
in `dirname $aros_gcc_gcc`
12766 test -z "$as_dir" && as_dir
=.
12767 for ac_exec_ext
in '' $ac_executable_extensions; do
12768 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12769 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12780 orig_target_ld
=$ac_cv_path_orig_target_ld
12781 if test -n "$orig_target_ld"; then
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12783 $as_echo "$orig_target_ld" >&6; }
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12786 $as_echo "no" >&6; }
12791 if test "$orig_target_ld" = ""; then
12792 for ac_prog
in $ac_tool_gcc
12794 # Extract the first word of "$ac_prog", so it can be a program name with args.
12795 set dummy
$ac_prog; ac_word
=$2
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12797 $as_echo_n "checking for $ac_word... " >&6; }
12798 if ${ac_cv_path_orig_target_ld+:} false
; then :
12799 $as_echo_n "(cached) " >&6
12801 case $orig_target_ld in
12803 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12807 for as_dir
in $PATH
12810 test -z "$as_dir" && as_dir
=.
12811 for ac_exec_ext
in '' $ac_executable_extensions; do
12812 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12813 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12824 orig_target_ld
=$ac_cv_path_orig_target_ld
12825 if test -n "$orig_target_ld"; then
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12827 $as_echo "$orig_target_ld" >&6; }
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12830 $as_echo "no" >&6; }
12834 test -n "$orig_target_ld" && break
12841 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ld}" : '[^ ]* \(.*\)'`
12842 # Extract the first word of "${aros_tool_prefix}${toolchain_ld}", so it can be a program name with args.
12843 set dummy
${aros_tool_prefix}${toolchain_ld}; ac_word
=$2
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12845 $as_echo_n "checking for $ac_word... " >&6; }
12846 if ${ac_cv_path_orig_target_ld+:} false
; then :
12847 $as_echo_n "(cached) " >&6
12849 case $orig_target_ld in
12851 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12855 for as_dir
in $PATH
12858 test -z "$as_dir" && as_dir
=.
12859 for ac_exec_ext
in '' $ac_executable_extensions; do
12860 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12861 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12872 orig_target_ld
=$ac_cv_path_orig_target_ld
12873 if test -n "$orig_target_ld"; then
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12875 $as_echo "$orig_target_ld" >&6; }
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12878 $as_echo "no" >&6; }
12882 orig_target_ld
="$orig_target_ld $ac_tool_optarg"
12886 if test "$orig_target_ld" = ""; then
12889 if test "$orig_target_ld" = "no"; then
12892 if test "$req_avail" = "no"; then
12893 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
12896 if test "aros_tool_prefix}${toolchain_as}" = ""; then
12897 if test "$cross_compiling" = "yes" ; then
12898 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
12899 set dummy
${target_tool_prefix}as
; ac_word
=$2
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12901 $as_echo_n "checking for $ac_word... " >&6; }
12902 if ${ac_cv_path_orig_target_as+:} false
; then :
12903 $as_echo_n "(cached) " >&6
12905 case $orig_target_as in
12907 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12911 for as_dir
in $PATH
12914 test -z "$as_dir" && as_dir
=.
12915 for ac_exec_ext
in '' $ac_executable_extensions; do
12916 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12917 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12928 orig_target_as
=$ac_cv_path_orig_target_as
12929 if test -n "$orig_target_as"; then
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12931 $as_echo "$orig_target_as" >&6; }
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12934 $as_echo "no" >&6; }
12940 if test "" = ""; then
12945 if test "$GCC" = "yes"; then
12946 aros_gcc_as
=`$CC -print-prog-name=$ac_tool_as`
12947 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
12948 set dummy
`basename $aros_gcc_as`; ac_word
=$2
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12950 $as_echo_n "checking for $ac_word... " >&6; }
12951 if ${ac_cv_path_orig_target_as+:} false
; then :
12952 $as_echo_n "(cached) " >&6
12954 case $orig_target_as in
12956 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12960 for as_dir
in `dirname $aros_gcc_as`
12963 test -z "$as_dir" && as_dir
=.
12964 for ac_exec_ext
in '' $ac_executable_extensions; do
12965 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12966 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12977 orig_target_as
=$ac_cv_path_orig_target_as
12978 if test -n "$orig_target_as"; then
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12980 $as_echo "$orig_target_as" >&6; }
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12983 $as_echo "no" >&6; }
12988 if test "$orig_target_as" = ""; then
12989 for ac_prog
in $ac_tool_as
12991 # Extract the first word of "$ac_prog", so it can be a program name with args.
12992 set dummy
$ac_prog; ac_word
=$2
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12994 $as_echo_n "checking for $ac_word... " >&6; }
12995 if ${ac_cv_path_orig_target_as+:} false
; then :
12996 $as_echo_n "(cached) " >&6
12998 case $orig_target_as in
13000 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
13003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13004 for as_dir
in $PATH
13007 test -z "$as_dir" && as_dir
=.
13008 for ac_exec_ext
in '' $ac_executable_extensions; do
13009 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13010 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
13011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13021 orig_target_as
=$ac_cv_path_orig_target_as
13022 if test -n "$orig_target_as"; then
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
13024 $as_echo "$orig_target_as" >&6; }
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13027 $as_echo "no" >&6; }
13031 test -n "$orig_target_as" && break
13038 ac_tool_optarg
=`expr "Xaros_tool_prefix}${toolchain_as}" : '[^ ]* \(.*\)'`
13039 # Extract the first word of "aros_tool_prefix}${toolchain_as}", so it can be a program name with args.
13040 set dummy aros_tool_prefix
}${toolchain_as}; ac_word
=$2
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13042 $as_echo_n "checking for $ac_word... " >&6; }
13043 if ${ac_cv_path_orig_target_as+:} false
; then :
13044 $as_echo_n "(cached) " >&6
13046 case $orig_target_as in
13048 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
13051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13052 for as_dir
in $PATH
13055 test -z "$as_dir" && as_dir
=.
13056 for ac_exec_ext
in '' $ac_executable_extensions; do
13057 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13058 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
13059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13069 orig_target_as
=$ac_cv_path_orig_target_as
13070 if test -n "$orig_target_as"; then
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
13072 $as_echo "$orig_target_as" >&6; }
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13075 $as_echo "no" >&6; }
13079 orig_target_as
="$orig_target_as $ac_tool_optarg"
13083 if test "$orig_target_as" = ""; then
13086 if test "$orig_target_as" = "no"; then
13089 if test "$req_avail" = "no"; then
13090 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
13093 if test "${aros_tool_prefix}${toolchain_ar}" = ""; then
13094 if test "$cross_compiling" = "yes" ; then
13095 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
13096 set dummy
${target_tool_prefix}ar; ac_word
=$2
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13098 $as_echo_n "checking for $ac_word... " >&6; }
13099 if ${ac_cv_path_orig_target_ar+:} false
; then :
13100 $as_echo_n "(cached) " >&6
13102 case $orig_target_ar in
13104 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
13107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13108 for as_dir
in $PATH
13111 test -z "$as_dir" && as_dir
=.
13112 for ac_exec_ext
in '' $ac_executable_extensions; do
13113 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13114 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
13115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13125 orig_target_ar
=$ac_cv_path_orig_target_ar
13126 if test -n "$orig_target_ar"; then
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
13128 $as_echo "$orig_target_ar" >&6; }
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13131 $as_echo "no" >&6; }
13137 if test "" = ""; then
13142 if test "$GCC" = "yes"; then
13143 aros_gcc_ar
=`$CC -print-prog-name=$ac_tool_ar`
13144 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
13145 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13147 $as_echo_n "checking for $ac_word... " >&6; }
13148 if ${ac_cv_path_orig_target_ar+:} false
; then :
13149 $as_echo_n "(cached) " >&6
13151 case $orig_target_ar in
13153 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
13156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13157 for as_dir
in `dirname $aros_gcc_ar`
13160 test -z "$as_dir" && as_dir
=.
13161 for ac_exec_ext
in '' $ac_executable_extensions; do
13162 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13163 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
13164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13174 orig_target_ar
=$ac_cv_path_orig_target_ar
13175 if test -n "$orig_target_ar"; then
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
13177 $as_echo "$orig_target_ar" >&6; }
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13180 $as_echo "no" >&6; }
13185 if test "$orig_target_ar" = ""; then
13186 for ac_prog
in $ac_tool_ar
13188 # Extract the first word of "$ac_prog", so it can be a program name with args.
13189 set dummy
$ac_prog; ac_word
=$2
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13191 $as_echo_n "checking for $ac_word... " >&6; }
13192 if ${ac_cv_path_orig_target_ar+:} false
; then :
13193 $as_echo_n "(cached) " >&6
13195 case $orig_target_ar in
13197 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
13200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13201 for as_dir
in $PATH
13204 test -z "$as_dir" && as_dir
=.
13205 for ac_exec_ext
in '' $ac_executable_extensions; do
13206 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13207 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
13208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13218 orig_target_ar
=$ac_cv_path_orig_target_ar
13219 if test -n "$orig_target_ar"; then
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
13221 $as_echo "$orig_target_ar" >&6; }
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13224 $as_echo "no" >&6; }
13228 test -n "$orig_target_ar" && break
13235 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ar}" : '[^ ]* \(.*\)'`
13236 # Extract the first word of "${aros_tool_prefix}${toolchain_ar}", so it can be a program name with args.
13237 set dummy
${aros_tool_prefix}${toolchain_ar}; ac_word
=$2
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13239 $as_echo_n "checking for $ac_word... " >&6; }
13240 if ${ac_cv_path_orig_target_ar+:} false
; then :
13241 $as_echo_n "(cached) " >&6
13243 case $orig_target_ar in
13245 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
13248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13249 for as_dir
in $PATH
13252 test -z "$as_dir" && as_dir
=.
13253 for ac_exec_ext
in '' $ac_executable_extensions; do
13254 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13255 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
13256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13266 orig_target_ar
=$ac_cv_path_orig_target_ar
13267 if test -n "$orig_target_ar"; then
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
13269 $as_echo "$orig_target_ar" >&6; }
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13272 $as_echo "no" >&6; }
13276 orig_target_ar
="$orig_target_ar $ac_tool_optarg"
13280 if test "$orig_target_ar" = ""; then
13283 if test "$orig_target_ar" = "no"; then
13286 if test "$req_avail" = "no"; then
13287 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
13290 if test "${aros_tool_prefix}${toolchain_ranlib}" = ""; then
13291 if test "$cross_compiling" = "yes" ; then
13292 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
13293 set dummy
${target_tool_prefix}ar; ac_word
=$2
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13295 $as_echo_n "checking for $ac_word... " >&6; }
13296 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
13297 $as_echo_n "(cached) " >&6
13299 case $orig_target_ranlib in
13301 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
13304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13305 for as_dir
in $PATH
13308 test -z "$as_dir" && as_dir
=.
13309 for ac_exec_ext
in '' $ac_executable_extensions; do
13310 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13311 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
13312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13322 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
13323 if test -n "$orig_target_ranlib"; then
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
13325 $as_echo "$orig_target_ranlib" >&6; }
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13328 $as_echo "no" >&6; }
13334 if test "" = ""; then
13339 if test "$GCC" = "yes"; then
13340 aros_gcc_ar
=`$CC -print-prog-name=$ac_tool_ar`
13341 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
13342 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13344 $as_echo_n "checking for $ac_word... " >&6; }
13345 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
13346 $as_echo_n "(cached) " >&6
13348 case $orig_target_ranlib in
13350 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
13353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13354 for as_dir
in `dirname $aros_gcc_ar`
13357 test -z "$as_dir" && as_dir
=.
13358 for ac_exec_ext
in '' $ac_executable_extensions; do
13359 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13360 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
13361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13371 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
13372 if test -n "$orig_target_ranlib"; then
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
13374 $as_echo "$orig_target_ranlib" >&6; }
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13377 $as_echo "no" >&6; }
13382 if test "$orig_target_ranlib" = ""; then
13383 for ac_prog
in $ac_tool_ar
13385 # Extract the first word of "$ac_prog", so it can be a program name with args.
13386 set dummy
$ac_prog; ac_word
=$2
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13388 $as_echo_n "checking for $ac_word... " >&6; }
13389 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
13390 $as_echo_n "(cached) " >&6
13392 case $orig_target_ranlib in
13394 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
13397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13398 for as_dir
in $PATH
13401 test -z "$as_dir" && as_dir
=.
13402 for ac_exec_ext
in '' $ac_executable_extensions; do
13403 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13404 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
13405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13415 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
13416 if test -n "$orig_target_ranlib"; then
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
13418 $as_echo "$orig_target_ranlib" >&6; }
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13421 $as_echo "no" >&6; }
13425 test -n "$orig_target_ranlib" && break
13432 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ranlib}" : '[^ ]* \(.*\)'`
13433 # Extract the first word of "${aros_tool_prefix}${toolchain_ranlib}", so it can be a program name with args.
13434 set dummy
${aros_tool_prefix}${toolchain_ranlib}; ac_word
=$2
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13436 $as_echo_n "checking for $ac_word... " >&6; }
13437 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
13438 $as_echo_n "(cached) " >&6
13440 case $orig_target_ranlib in
13442 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
13445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13446 for as_dir
in $PATH
13449 test -z "$as_dir" && as_dir
=.
13450 for ac_exec_ext
in '' $ac_executable_extensions; do
13451 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13452 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
13453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13463 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
13464 if test -n "$orig_target_ranlib"; then
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
13466 $as_echo "$orig_target_ranlib" >&6; }
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13469 $as_echo "no" >&6; }
13473 orig_target_ranlib
="$orig_target_ranlib $ac_tool_optarg"
13477 if test "$orig_target_ranlib" = ""; then
13480 if test "$orig_target_ranlib" = "no"; then
13483 if test "$req_avail" = "no"; then
13484 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
13487 if test "${aros_tool_prefix}${toolchain_nm}" = ""; then
13488 if test "$cross_compiling" = "yes" ; then
13489 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
13490 set dummy
${target_tool_prefix}nm
; ac_word
=$2
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13492 $as_echo_n "checking for $ac_word... " >&6; }
13493 if ${ac_cv_path_orig_target_nm+:} false
; then :
13494 $as_echo_n "(cached) " >&6
13496 case $orig_target_nm in
13498 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13502 for as_dir
in $PATH
13505 test -z "$as_dir" && as_dir
=.
13506 for ac_exec_ext
in '' $ac_executable_extensions; do
13507 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13508 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13519 orig_target_nm
=$ac_cv_path_orig_target_nm
13520 if test -n "$orig_target_nm"; then
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13522 $as_echo "$orig_target_nm" >&6; }
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13525 $as_echo "no" >&6; }
13531 if test "" = ""; then
13536 if test "$GCC" = "yes"; then
13537 aros_gcc_nm
=`$CC -print-prog-name=$ac_tool_nm`
13538 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
13539 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13541 $as_echo_n "checking for $ac_word... " >&6; }
13542 if ${ac_cv_path_orig_target_nm+:} false
; then :
13543 $as_echo_n "(cached) " >&6
13545 case $orig_target_nm in
13547 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13551 for as_dir
in `dirname $aros_gcc_nm`
13554 test -z "$as_dir" && as_dir
=.
13555 for ac_exec_ext
in '' $ac_executable_extensions; do
13556 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13557 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13568 orig_target_nm
=$ac_cv_path_orig_target_nm
13569 if test -n "$orig_target_nm"; then
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13571 $as_echo "$orig_target_nm" >&6; }
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13574 $as_echo "no" >&6; }
13579 if test "$orig_target_nm" = ""; then
13580 for ac_prog
in $ac_tool_nm
13582 # Extract the first word of "$ac_prog", so it can be a program name with args.
13583 set dummy
$ac_prog; ac_word
=$2
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13585 $as_echo_n "checking for $ac_word... " >&6; }
13586 if ${ac_cv_path_orig_target_nm+:} false
; then :
13587 $as_echo_n "(cached) " >&6
13589 case $orig_target_nm in
13591 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13595 for as_dir
in $PATH
13598 test -z "$as_dir" && as_dir
=.
13599 for ac_exec_ext
in '' $ac_executable_extensions; do
13600 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13601 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13612 orig_target_nm
=$ac_cv_path_orig_target_nm
13613 if test -n "$orig_target_nm"; then
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13615 $as_echo "$orig_target_nm" >&6; }
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13618 $as_echo "no" >&6; }
13622 test -n "$orig_target_nm" && break
13629 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_nm}" : '[^ ]* \(.*\)'`
13630 # Extract the first word of "${aros_tool_prefix}${toolchain_nm}", so it can be a program name with args.
13631 set dummy
${aros_tool_prefix}${toolchain_nm}; ac_word
=$2
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13633 $as_echo_n "checking for $ac_word... " >&6; }
13634 if ${ac_cv_path_orig_target_nm+:} false
; then :
13635 $as_echo_n "(cached) " >&6
13637 case $orig_target_nm in
13639 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13643 for as_dir
in $PATH
13646 test -z "$as_dir" && as_dir
=.
13647 for ac_exec_ext
in '' $ac_executable_extensions; do
13648 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13649 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13660 orig_target_nm
=$ac_cv_path_orig_target_nm
13661 if test -n "$orig_target_nm"; then
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13663 $as_echo "$orig_target_nm" >&6; }
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13666 $as_echo "no" >&6; }
13670 orig_target_nm
="$orig_target_nm $ac_tool_optarg"
13674 if test "$orig_target_nm" = ""; then
13677 if test "$orig_target_nm" = "no"; then
13680 if test "$req_avail" = "no"; then
13681 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
13684 if test "${aros_tool_prefix}${toolchain_strip}" = ""; then
13685 if test "$cross_compiling" = "yes" ; then
13686 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
13687 set dummy
${target_tool_prefix}strip
; ac_word
=$2
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13689 $as_echo_n "checking for $ac_word... " >&6; }
13690 if ${ac_cv_path_orig_target_strip+:} false
; then :
13691 $as_echo_n "(cached) " >&6
13693 case $orig_target_strip in
13695 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13699 for as_dir
in $PATH
13702 test -z "$as_dir" && as_dir
=.
13703 for ac_exec_ext
in '' $ac_executable_extensions; do
13704 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13705 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13716 orig_target_strip
=$ac_cv_path_orig_target_strip
13717 if test -n "$orig_target_strip"; then
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13719 $as_echo "$orig_target_strip" >&6; }
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13722 $as_echo "no" >&6; }
13728 if test "" = ""; then
13729 ac_tool_strip
=strip
13733 if test "$GCC" = "yes"; then
13734 aros_gcc_strip
=`$CC -print-prog-name=$ac_tool_strip`
13735 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
13736 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13738 $as_echo_n "checking for $ac_word... " >&6; }
13739 if ${ac_cv_path_orig_target_strip+:} false
; then :
13740 $as_echo_n "(cached) " >&6
13742 case $orig_target_strip in
13744 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13748 for as_dir
in `dirname $aros_gcc_strip`
13751 test -z "$as_dir" && as_dir
=.
13752 for ac_exec_ext
in '' $ac_executable_extensions; do
13753 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13754 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13765 orig_target_strip
=$ac_cv_path_orig_target_strip
13766 if test -n "$orig_target_strip"; then
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13768 $as_echo "$orig_target_strip" >&6; }
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13771 $as_echo "no" >&6; }
13776 if test "$orig_target_strip" = ""; then
13777 for ac_prog
in $ac_tool_strip
13779 # Extract the first word of "$ac_prog", so it can be a program name with args.
13780 set dummy
$ac_prog; ac_word
=$2
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13782 $as_echo_n "checking for $ac_word... " >&6; }
13783 if ${ac_cv_path_orig_target_strip+:} false
; then :
13784 $as_echo_n "(cached) " >&6
13786 case $orig_target_strip in
13788 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13792 for as_dir
in $PATH
13795 test -z "$as_dir" && as_dir
=.
13796 for ac_exec_ext
in '' $ac_executable_extensions; do
13797 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13798 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13809 orig_target_strip
=$ac_cv_path_orig_target_strip
13810 if test -n "$orig_target_strip"; then
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13812 $as_echo "$orig_target_strip" >&6; }
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13815 $as_echo "no" >&6; }
13819 test -n "$orig_target_strip" && break
13826 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_strip}" : '[^ ]* \(.*\)'`
13827 # Extract the first word of "${aros_tool_prefix}${toolchain_strip}", so it can be a program name with args.
13828 set dummy
${aros_tool_prefix}${toolchain_strip}; ac_word
=$2
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13830 $as_echo_n "checking for $ac_word... " >&6; }
13831 if ${ac_cv_path_orig_target_strip+:} false
; then :
13832 $as_echo_n "(cached) " >&6
13834 case $orig_target_strip in
13836 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13840 for as_dir
in $PATH
13843 test -z "$as_dir" && as_dir
=.
13844 for ac_exec_ext
in '' $ac_executable_extensions; do
13845 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13846 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13857 orig_target_strip
=$ac_cv_path_orig_target_strip
13858 if test -n "$orig_target_strip"; then
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13860 $as_echo "$orig_target_strip" >&6; }
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13863 $as_echo "no" >&6; }
13867 orig_target_strip
="$orig_target_strip $ac_tool_optarg"
13871 if test "$orig_target_strip" = ""; then
13874 if test "$orig_target_strip" = "no"; then
13877 if test "$req_avail" = "no"; then
13878 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
13881 if test "${aros_tool_prefix}${toolchain_objcopy}" = ""; then
13882 if test "$cross_compiling" = "yes" ; then
13883 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
13884 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13886 $as_echo_n "checking for $ac_word... " >&6; }
13887 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13888 $as_echo_n "(cached) " >&6
13890 case $orig_target_objcopy in
13892 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13896 for as_dir
in $PATH
13899 test -z "$as_dir" && as_dir
=.
13900 for ac_exec_ext
in '' $ac_executable_extensions; do
13901 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13902 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13913 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13914 if test -n "$orig_target_objcopy"; then
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13916 $as_echo "$orig_target_objcopy" >&6; }
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13919 $as_echo "no" >&6; }
13925 if test "" = ""; then
13926 ac_tool_objcopy
=objcopy
13930 if test "$GCC" = "yes"; then
13931 aros_gcc_objcopy
=`$CC -print-prog-name=$ac_tool_objcopy`
13932 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
13933 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13935 $as_echo_n "checking for $ac_word... " >&6; }
13936 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13937 $as_echo_n "(cached) " >&6
13939 case $orig_target_objcopy in
13941 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13945 for as_dir
in `dirname $aros_gcc_objcopy`
13948 test -z "$as_dir" && as_dir
=.
13949 for ac_exec_ext
in '' $ac_executable_extensions; do
13950 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13951 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13962 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13963 if test -n "$orig_target_objcopy"; then
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13965 $as_echo "$orig_target_objcopy" >&6; }
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13968 $as_echo "no" >&6; }
13973 if test "$orig_target_objcopy" = ""; then
13974 for ac_prog
in $ac_tool_objcopy
13976 # Extract the first word of "$ac_prog", so it can be a program name with args.
13977 set dummy
$ac_prog; ac_word
=$2
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13979 $as_echo_n "checking for $ac_word... " >&6; }
13980 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13981 $as_echo_n "(cached) " >&6
13983 case $orig_target_objcopy in
13985 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13989 for as_dir
in $PATH
13992 test -z "$as_dir" && as_dir
=.
13993 for ac_exec_ext
in '' $ac_executable_extensions; do
13994 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13995 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14006 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
14007 if test -n "$orig_target_objcopy"; then
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
14009 $as_echo "$orig_target_objcopy" >&6; }
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14012 $as_echo "no" >&6; }
14016 test -n "$orig_target_objcopy" && break
14023 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objcopy}" : '[^ ]* \(.*\)'`
14024 # Extract the first word of "${aros_tool_prefix}${toolchain_objcopy}", so it can be a program name with args.
14025 set dummy
${aros_tool_prefix}${toolchain_objcopy}; ac_word
=$2
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14027 $as_echo_n "checking for $ac_word... " >&6; }
14028 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
14029 $as_echo_n "(cached) " >&6
14031 case $orig_target_objcopy in
14033 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
14036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14037 for as_dir
in $PATH
14040 test -z "$as_dir" && as_dir
=.
14041 for ac_exec_ext
in '' $ac_executable_extensions; do
14042 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14043 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
14044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14054 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
14055 if test -n "$orig_target_objcopy"; then
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
14057 $as_echo "$orig_target_objcopy" >&6; }
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14060 $as_echo "no" >&6; }
14064 orig_target_objcopy
="$orig_target_objcopy $ac_tool_optarg"
14068 if test "$orig_target_objcopy" = ""; then
14071 if test "$orig_target_objcopy" = "no"; then
14074 if test "$req_avail" = "no"; then
14075 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
14078 if test "${aros_tool_prefix}${toolchain_objdump}" = ""; then
14079 if test "$cross_compiling" = "yes" ; then
14080 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
14081 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14083 $as_echo_n "checking for $ac_word... " >&6; }
14084 if ${ac_cv_path_orig_target_objdump+:} false
; then :
14085 $as_echo_n "(cached) " >&6
14087 case $orig_target_objdump in
14089 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
14092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14093 for as_dir
in $PATH
14096 test -z "$as_dir" && as_dir
=.
14097 for ac_exec_ext
in '' $ac_executable_extensions; do
14098 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14099 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
14100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14110 orig_target_objdump
=$ac_cv_path_orig_target_objdump
14111 if test -n "$orig_target_objdump"; then
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
14113 $as_echo "$orig_target_objdump" >&6; }
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14116 $as_echo "no" >&6; }
14122 if test "" = ""; then
14123 ac_tool_objdump
=objdump
14127 if test "$GCC" = "yes"; then
14128 aros_gcc_objdump
=`$CC -print-prog-name=$ac_tool_objdump`
14129 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
14130 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14132 $as_echo_n "checking for $ac_word... " >&6; }
14133 if ${ac_cv_path_orig_target_objdump+:} false
; then :
14134 $as_echo_n "(cached) " >&6
14136 case $orig_target_objdump in
14138 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
14141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14142 for as_dir
in `dirname $aros_gcc_objdump`
14145 test -z "$as_dir" && as_dir
=.
14146 for ac_exec_ext
in '' $ac_executable_extensions; do
14147 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14148 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
14149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14159 orig_target_objdump
=$ac_cv_path_orig_target_objdump
14160 if test -n "$orig_target_objdump"; then
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
14162 $as_echo "$orig_target_objdump" >&6; }
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14165 $as_echo "no" >&6; }
14170 if test "$orig_target_objdump" = ""; then
14171 for ac_prog
in $ac_tool_objdump
14173 # Extract the first word of "$ac_prog", so it can be a program name with args.
14174 set dummy
$ac_prog; ac_word
=$2
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14176 $as_echo_n "checking for $ac_word... " >&6; }
14177 if ${ac_cv_path_orig_target_objdump+:} false
; then :
14178 $as_echo_n "(cached) " >&6
14180 case $orig_target_objdump in
14182 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
14185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14186 for as_dir
in $PATH
14189 test -z "$as_dir" && as_dir
=.
14190 for ac_exec_ext
in '' $ac_executable_extensions; do
14191 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14192 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
14193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14203 orig_target_objdump
=$ac_cv_path_orig_target_objdump
14204 if test -n "$orig_target_objdump"; then
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
14206 $as_echo "$orig_target_objdump" >&6; }
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14209 $as_echo "no" >&6; }
14213 test -n "$orig_target_objdump" && break
14220 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objdump}" : '[^ ]* \(.*\)'`
14221 # Extract the first word of "${aros_tool_prefix}${toolchain_objdump}", so it can be a program name with args.
14222 set dummy
${aros_tool_prefix}${toolchain_objdump}; ac_word
=$2
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14224 $as_echo_n "checking for $ac_word... " >&6; }
14225 if ${ac_cv_path_orig_target_objdump+:} false
; then :
14226 $as_echo_n "(cached) " >&6
14228 case $orig_target_objdump in
14230 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
14233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14234 for as_dir
in $PATH
14237 test -z "$as_dir" && as_dir
=.
14238 for ac_exec_ext
in '' $ac_executable_extensions; do
14239 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14240 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
14241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14251 orig_target_objdump
=$ac_cv_path_orig_target_objdump
14252 if test -n "$orig_target_objdump"; then
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
14254 $as_echo "$orig_target_objdump" >&6; }
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14257 $as_echo "no" >&6; }
14261 orig_target_objdump
="$orig_target_objdump $ac_tool_optarg"
14265 if test "$orig_target_objdump" = ""; then
14268 if test "$orig_target_objdump" = "no"; then
14271 if test "$req_avail" = "no"; then
14272 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
14276 if test "$kernel_tool_prefix" = "none" ; then
14277 # No kernel tools specified
14278 # Assume kernel tools == target tools with ELF wrapper
14279 aros_kernel_cc
=$orig_target_cc
14280 aros_kernel_cxx
=$orig_target_cxx
14281 aros_kernel_cpp
=$orig_target_cpp
14282 aros_kernel_ld
=$orig_target_ld
14283 aros_kernel_as
=$orig_target_as
14284 aros_kernel_ar
=$orig_target_ar
14285 aros_kernel_ranlib
=$orig_target_ranlib
14286 aros_kernel_nm
=$orig_target_nm
14287 aros_kernel_strip
=$orig_target_strip
14288 aros_kernel_objcopy
=$orig_target_objcopy
14289 aros_kernel_objdump
=$orig_target_objdump
14290 aros_kernel_isa_flags
=$aros_isa_flags
14291 use_kernel_cc_wrapper
=yes
14294 # At this point, all aros_kernel_* and aros_target_*
14295 # tools should be set up correctly
14297 CC
="$aros_kernel_cc $kernel_tool_flags"
14298 CPP
="$aros_kernel_cpp"
14300 #-----------------------------------------------------------------------------
14302 # Find all the tools we need to compile. This could be cross-compiling
14303 # though! If that is the case we use the GNU form of the target and
14304 # simply add this to the front of the binary name. This is rather simple,
14305 # but it should work under most circumstances.
14307 # The default tools are to use the same as the host, but only if the
14308 # host and target CPU are the same. With GCC this is normally enough.
14312 aros_shared_ld
="$aros_host_ld"
14314 aros_target_mkdep
="$aros_host_mkdep"
14316 # The default tools executables to be linked to.
14317 if test "$rescomp" != ""; then
14318 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
14319 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14321 $as_echo_n "checking for $ac_word... " >&6; }
14322 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
14323 $as_echo_n "(cached) " >&6
14325 case $aros_kernel_rescomp in
14327 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
14330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14331 for as_dir
in $PATH
14334 test -z "$as_dir" && as_dir
=.
14335 for ac_exec_ext
in '' $ac_executable_extensions; do
14336 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14337 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
14338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14348 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
14349 if test -n "$aros_kernel_rescomp"; then
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
14351 $as_echo "$aros_kernel_rescomp" >&6; }
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14354 $as_echo "no" >&6; }
14359 if test "$aros_kernel_rescomp" = ""; then
14362 if test "$aros_kernel_rescomp" = "no"; then
14365 if test "$req_avail" = "no"; then
14366 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
14370 # Set up the sources for the symlink farm
14371 if test "$crosstools" = "yes"; then
14372 crosstools_target
=tools-crosstools
14375 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
14376 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
14378 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/host/config"
14379 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
14380 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Developer/include/aros"
14381 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
14382 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
14383 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
14384 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
14386 # aros_cc_pre is a variable that is added to the front of the compiler name
14387 # in the generated aros-gcc shell script. We need this to enable the cache
14388 # to work across cleaned builds. Also, support DISTCC using the correct
14389 # environment variable.
14392 if test "x${DISTCC}" != "x" ; then
14393 if test "x${CCACHE}" != "x" ; then
14394 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
14396 aros_cc_pre
="${DISTCC} "
14399 if test "x${CCACHE}" != "x" ; then
14400 aros_cc_pre
="${CCACHE} "
14404 aros_target_nostdinc_cflags
=-nostdinc
14406 aros_target_nostartup_ldflags
=-nostartfiles
14408 aros_target_nix_ldflags
=-nix
14410 aros_target_detach_ldflags
=-detach
14412 aros_target_nostdlib_ldflags
=-nostdlib
14415 aros_target_cc_path
=
14419 if test "$aros_target_toolchain" != "yes"; then
14420 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
14421 if test "$GCC" = "yes"; then
14422 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
14425 # We do not know which c compiler version we are going to build and what we need to know
14426 # here is different for different versions so this will be set later during the
14427 # build of crosstools.
14428 if test "$aros_toolchain" = "gnu" ; then
14429 prefix
="$AROS_CROSSTOOLSDIR/${aros_target_cpu}-aros-"
14430 elif test "$aros_toolchain" = "llvm" ; then
14431 prefix
="$AROS_CROSSTOOLSDIR/bin/"
14433 aros_target_cc_path
=@aros_target_cc_path@
14435 aros_target_cpp
="${prefix}${toolchain_cpp_preprocessor}"
14436 aros_target_cc
="${prefix}${toolchain_c_compiler}"
14437 aros_target_cxx
="${prefix}${toolchain_cxx_compiler}"
14438 aros_target_as
="${prefix}${toolchain_as}"
14439 if test "${use_ld_wrapper}" = "yes"; then
14440 aros_target_ld
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${aros_ld}"
14442 aros_target_ld
="${prefix}${toolchain_ld}"
14444 aros_toolchain_ld
="${prefix}${toolchain_ld}"
14446 aros_target_ar
="${prefix}${toolchain_ar} $aros_target_ar_flags"
14447 aros_target_objcopy
="${prefix}${toolchain_objcopy}"
14448 aros_target_objdump
="${prefix}${toolchain_objdump}"
14449 aros_target_ranlib
="${prefix}${toolchain_ranlib} $aros_target_ranlib_flags"
14450 aros_target_nm
="${prefix}${toolchain_nm} $aros_target_nm_flags"
14451 aros_target_strip
="${prefix}${toolchain_strip}"
14452 aros_plain_nm
="${prefix}${toolchain_nm}"
14453 aros_plain_ar
="${prefix}${toolchain_ar}"
14455 # Check whether --enable-includes was given.
14456 if test "${enable_includes+set}" = set; then :
14457 enableval
=$enable_includes; aros_target_incl
=$enable_includes
14459 aros_target_incl
=no
14463 if test "x$aros_target_incl" = "xno"; then
14464 if test "x$test_kernel_cc" != "xno"; then
14465 aros_target_incl
=`$aros_kernel_cc -print-sysroot 2>/dev/null`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
14471 if test "x$aros_kernel_includes" = "x"; then
14472 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
14473 if test "x$aros_target_incl" != "x"; then
14474 aros_kernel_includes
="-isystem $aros_target_incl"
14479 if test "x$test_kernel_cc" != "xno"; then
14480 if test "$aros_kernel_includes" != "" ; then
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
14482 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
14483 if test "$aros_kernel_cc_includes" = "" ; then
14484 # Try to guess where the directory is.
14485 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
14486 if test -d $aros_kernel_cc_includes; then
14487 # Check if there is also an include-fixed directory and add it
14488 # to kernel compiler's include path as it may contain some of
14489 # the headers we need.
14490 if test -d "$aros_kernel_cc_includes"-fixed; then
14491 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
14493 # Check for specific includes directory. Needed for Ubuntu 11.10 and Debian
14494 if test -d "/usr/include/${aros_target_cpu}-linux-gnu"; then
14495 aros_kernel_cc_includes
+=" -isystem /usr/include/${aros_target_cpu}-linux-gnu"
14498 # The directory doesn't exist, we need to do some more work.
14499 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
14501 # These are the headers we're looking for.
14502 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
14503 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
14507 for h
in $headers; do
14508 # Which other headers are needed by each of the above?
14509 deps
=$
(echo "#include <$h>" | \
14510 $aros_kernel_cc -E -M - 2>/dev
/null | \
14511 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
14513 # Copy all the needed headers to a directory beneath gendir.
14516 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
14517 sed -n "s,^.*/include\(/.*\),\1,p")
14518 ! test -d $dir && mkdir
-p $dir
14519 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
14525 $as_echo "$aros_kernel_cc_includes" >&6; }
14526 # Adding -nostdinc to kernel includes as they are always used together.
14527 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
14531 if test "$crosstools" != "yes"; then
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
14533 $as_echo_n "checking for the target compiler's include path... " >&6; }
14534 if test "$aros_target_cc_includes" = "" ; then
14535 #try to guess where the directory is
14536 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
14537 if ! test -d $aros_target_cc_includes; then
14538 #the directory doesn't exist, we need to do some more work
14539 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
14541 #these are the headers we're looking for
14542 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
14543 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
14547 for h
in $headers; do
14548 #which other headers each of the above headers needs?
14549 deps
=$
(echo "#include <$h>" | \
14550 $orig_target_cc -E -M - 2>/dev
/null | \
14551 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
14553 #copy all the needed headers to a directory beneath gendir
14556 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
14557 sed -n "s,^.*/include\(/.*\),\1,p")
14558 ! test -d $dir && mkdir
-p $dir
14559 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
14565 $as_echo "$aros_target_cc_includes" >&6; }
14567 # We do not know which c compiler version we are going to build and what we need to know
14568 # here is different for different versions so this will be set later during the
14569 # build of crosstools.
14570 aros_target_cc_includes
=@aros_target_cc_includes@
14574 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
14575 # On GCC >= 4.0 -iquote should be used
14579 save_cflags
="$CFLAGS"
14580 if test "x$test_kernel_cc" != "xno"; then
14582 kernel_cflags_iquote
=$host_cflags_iquote
14583 kernel_cflags_iquote_end
=$host_cflags_iquote_end
14584 if test "x-$cross_compiling" = "x-yes"; then
14585 CC
="$aros_kernel_cc"
14586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
14587 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
14588 if test "x-$crosstools" != "x-yes"; then
14589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14590 /* end confdefs.h. */
14600 if ac_fn_c_try_compile
"$LINENO"; then :
14601 use_no_stack_protector
="yes"
14603 use_no_stack_protector
="no"
14605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14607 # we do know it is supported for the smallest version of gcc we are going to build
14608 # we assume it's also supported by later versions
14609 use_no_stack_protector
=yes
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
14612 $as_echo "$use_no_stack_protector" >&6; }
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
14614 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
14615 if test "x-$crosstools" != "x-yes"; then
14616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14617 /* end confdefs.h. */
14627 if ac_fn_c_try_compile
"$LINENO"; then :
14632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14634 # we do know it is supported for the smallest version of gcc we are going to build
14635 # we assume it's also supported by later versions
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
14639 $as_echo "$has_iquote" >&6; }
14640 if test "x-$has_iquote" = "x-yes" ; then
14641 kernel_cflags_iquote
=-iquote
14642 kernel_cflags_iquote_end
=
14644 kernel_cflags_iquote
=-I
14645 kernel_cflags_iquote_end
=-I-
14648 if test "x-$use_no_stack_protector" = "x-yes" ; then
14649 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
14652 #-----------------------------------------------------------------------------
14654 # Check if we can explicitly choose older version of symbol hashing
14656 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
14657 CC
="$aros_kernel_cc"
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
14659 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
14660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14661 /* end confdefs.h. */
14671 if ac_fn_c_try_link
"$LINENO"; then :
14672 use_hash_style
="yes"
14674 use_hash_style
="no"
14676 rm -f core conftest.err conftest.
$ac_objext \
14677 conftest
$ac_exeext conftest.
$ac_ext
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
14679 $as_echo "$use_hash_style" >&6; }
14680 if test "x-$use_hash_style" = "x-yes" ; then
14681 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
14684 kernel_cflags_iquote
="$""(CFLAGS_IQUOTE)"
14685 kernel_cflags_iquote_end
="$""(CFLAGS_IQUOTE_END)"
14688 CFLAGS
="$save_cflags"
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
14697 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
14699 # Check whether --with-resolution was given.
14700 if test "${with_resolution+set}" = set; then :
14701 withval
=$with_resolution; resolution
=$withval
14706 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
14707 if test "$resolution" = "yes" ; then
14710 if test "$resolution" = "no" ; then
14713 if test "$resolution" != "none" ; then
14714 aros_nominal_width
=`echo $resolution | cut -d'x' -f1`
14715 aros_nominal_height
=`echo $resolution | cut -d'x' -f2`
14716 aros_nominal_depth
=`echo $resolution | cut -d'x' -f3`
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&5
14719 $as_echo "$aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&6; }
14720 aros_cv_nominal_width
=$aros_nominal_width
14721 aros_cv_nominal_height
=$aros_nominal_height
14722 aros_cv_nominal_depth
=$aros_nominal_depth
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether serial debug is enabled" >&5
14725 $as_echo_n "checking whether serial debug is enabled... " >&6; }
14727 # Check whether --with-serial-debug was given.
14728 if test "${with_serial_debug+set}" = set; then :
14729 withval
=$with_serial_debug; serial_debug
=$withval
14734 if test "$aros_serial_debug" = 0 ; then
14735 serial_debug_forced
=""
14736 if test "$serial_debug" = "yes" ; then
14739 if test "$serial_debug" = "no" ; then
14740 serial_debug
="none"
14743 serial_debug_forced
="(forced)"
14744 serial_debug
=$aros_serial_debug
14746 if test "$serial_debug" != "none" ; then
14747 aros_serial_debug
=$serial_debug
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
14749 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14752 $as_echo "no" >&6; }
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether palm debug hack is enabled" >&5
14756 $as_echo_n "checking whether palm debug hack is enabled... " >&6; }
14757 # Check whether --enable-palm_debug_hack was given.
14758 if test "${enable_palm_debug_hack+set}" = set; then :
14759 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
14761 palm_debug_hack
="no"
14764 if test "$palm_debug_hack" = "yes" ; then
14765 aros_palm_debug_hack
="1"
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
14768 $as_echo "$palm_debug_hack" >&6; }
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usb3.0 code is enabled" >&5
14771 $as_echo_n "checking whether usb3.0 code is enabled... " >&6; }
14772 # Check whether --enable-usb30_code was given.
14773 if test "${enable_usb30_code+set}" = set; then :
14774 enableval
=$enable_usb30_code; usb30_code
="yes"
14779 if test "$usb30_code" = "yes" ; then
14780 aros_config_cppflags
="$aros_config_cppflags -DAROS_USB30_CODE"
14781 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
14784 $as_echo "$usb30_code" >&6; }
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether nesting supervisor support is enabled" >&5
14787 $as_echo_n "checking whether nesting supervisor support is enabled... " >&6; }
14788 # Check whether --enable-nesting_supervisor was given.
14789 if test "${enable_nesting_supervisor+set}" = set; then :
14790 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
14792 nesting_supervisor
="no"
14795 if test "$nesting_supervisor" = "yes" ; then
14796 aros_nesting_supervisor
="1"
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
14799 $as_echo "$nesting_supervisor" >&6; }
14801 if test "$aros_enable_mmu" = "" ; then
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MMU support is enabled" >&5
14803 $as_echo_n "checking whether MMU support is enabled... " >&6; }
14804 # Check whether --enable-mmu was given.
14805 if test "${enable_mmu+set}" = set; then :
14806 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
14808 aros_enable_mmu
="yes"
14811 if test "$aros_enable_mmu" = "" ; then
14812 aros_enable_mmu
="yes"
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
14815 $as_echo "$aros_enable_mmu" >&6; }
14817 if test "$aros_enable_mmu" = "no" ; then
14818 aros_enable_mmu
="0"
14820 aros_enable_mmu
="1"
14824 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
14826 if test "x-$need_dlopen" != "x-no" ; then
14829 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
14830 if test "x$ac_cv_func_dlopen" = xyes
; then :
14836 if test "x-$have_dl" = "x-no" ; then
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14838 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14839 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14840 $as_echo_n "(cached) " >&6
14842 ac_check_lib_save_LIBS
=$LIBS
14844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14845 /* end confdefs.h. */
14847 /* Override any GCC internal prototype to avoid an error.
14848 Use char because int might match the return type of a GCC
14849 builtin and then its argument prototype would still apply. */
14862 if ac_fn_c_try_link
"$LINENO"; then :
14863 ac_cv_lib_dl_dlopen
=yes
14865 ac_cv_lib_dl_dlopen
=no
14867 rm -f core conftest.err conftest.
$ac_objext \
14868 conftest
$ac_exeext conftest.
$ac_ext
14869 LIBS
=$ac_check_lib_save_LIBS
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14872 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14873 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14875 aros_host_ldflags
="$aros_host_ldflags -ldl"
14881 if test "x-$have_dl" = "x-no" ; then
14882 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
14888 # Check whether --enable-x11_hidd was given.
14889 if test "${enable_x11_hidd+set}" = set; then :
14890 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
14892 x11_hidd
="$need_x11"
14895 case "x-$x11_hidd" in
14896 x-yes|x-no|x-auto
) ;;
14897 *) x11_hidd
="$need_x11" ;;
14902 if test "x-$x11_hidd" != "x-no" ; then
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
14905 $as_echo_n "checking for X... " >&6; }
14908 # Check whether --with-x was given.
14909 if test "${with_x+set}" = set; then :
14913 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
14914 if test "x$with_x" = xno
; then
14915 # The user explicitly disabled X.
14918 case $x_includes,$x_libraries in #(
14919 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
14920 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
14921 $as_echo_n "(cached) " >&6
14923 # One or both of the vars are not set, and there is no cached value.
14924 ac_x_includes
=no ac_x_libraries
=no
14925 rm -f -r conftest.dir
14926 if mkdir conftest.dir
; then
14928 cat >Imakefile
<<'_ACEOF'
14930 @echo incroot='${INCROOT}'
14932 @echo usrlibdir='${USRLIBDIR}'
14934 @echo libdir='${LIBDIR}'
14936 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
14937 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14938 for ac_var
in incroot usrlibdir libdir
; do
14939 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14941 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14942 for ac_extension
in a so sl dylib la dll
; do
14943 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14944 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14945 ac_im_usrlibdir
=$ac_im_libdir; break
14948 # Screen out bogus values from the imake configuration. They are
14949 # bogus both because they are the default anyway, and because
14950 # using them would break gcc on systems where it needs fixed includes.
14951 case $ac_im_incroot in
14952 /usr
/include
) ac_x_includes
= ;;
14953 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
14955 case $ac_im_usrlibdir in
14956 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
14957 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
14961 rm -f -r conftest.dir
14964 # Standard set of common directories for X headers.
14965 # Check X11 before X11Rn because it is often a symlink to the current release.
14979 /usr/local/X11/include
14980 /usr/local/X11R7/include
14981 /usr/local/X11R6/include
14982 /usr/local/X11R5/include
14983 /usr/local/X11R4/include
14985 /usr/local/include/X11
14986 /usr/local/include/X11R7
14987 /usr/local/include/X11R6
14988 /usr/local/include/X11R5
14989 /usr/local/include/X11R4
14993 /usr/XFree86/include/X11
14997 /usr/unsupported/include
14998 /usr/athena/include
14999 /usr/local/x11r5/include
15000 /usr/lpp/Xamples/include
15002 /usr/openwin/include
15003 /usr/openwin/share/include'
15005 if test "$ac_x_includes" = no
; then
15006 # Guess where to find include files, by looking for Xlib.h.
15007 # First, try using that file with no special directory specified.
15008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15009 /* end confdefs.h. */
15010 #include <X11/Xlib.h>
15012 if ac_fn_c_try_cpp
"$LINENO"; then :
15013 # We can compile using X headers with no special include directory.
15016 for ac_dir
in $ac_x_header_dirs; do
15017 if test -r "$ac_dir/X11/Xlib.h"; then
15018 ac_x_includes
=$ac_dir
15023 rm -f conftest.err conftest.i conftest.
$ac_ext
15024 fi # $ac_x_includes = no
15026 if test "$ac_x_libraries" = no
; then
15027 # Check for the libraries.
15028 # See if we find them without any special options.
15029 # Don't add to $LIBS permanently.
15032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15033 /* end confdefs.h. */
15034 #include <X11/Xlib.h>
15043 if ac_fn_c_try_link
"$LINENO"; then :
15045 # We can link X programs with no special library path.
15049 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
15051 # Don't even attempt the hair of trying to link an X program!
15052 for ac_extension
in a so sl dylib la dll
; do
15053 if test -r "$ac_dir/libX11.$ac_extension"; then
15054 ac_x_libraries
=$ac_dir
15060 rm -f core conftest.err conftest.
$ac_objext \
15061 conftest
$ac_exeext conftest.
$ac_ext
15062 fi # $ac_x_libraries = no
15064 case $ac_x_includes,$ac_x_libraries in #(
15065 no
,* |
*,no |
*\'*)
15066 # Didn't find X, or a directory has "'" in its name.
15067 ac_cv_have_x
="have_x=no";; #(
15069 # Record where we found X for the cache.
15070 ac_cv_have_x
="have_x=yes\
15071 ac_x_includes='$ac_x_includes'\
15072 ac_x_libraries='$ac_x_libraries'"
15078 eval "$ac_cv_have_x"
15081 if test "$have_x" != yes; then
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
15083 $as_echo "$have_x" >&6; }
15086 # If each of the values was on the command line, it overrides each guess.
15087 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
15088 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
15089 # Update the cache value to reflect the command line values.
15090 ac_cv_have_x
="have_x=yes\
15091 ac_x_includes='$x_includes'\
15092 ac_x_libraries='$x_libraries'"
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
15094 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
15098 if test -n "$x_includes"; then
15099 X_CFLAGS
="$X_CFLAGS -I$x_includes"
15102 if test -n "$x_libraries"; then
15103 X_LIBS
="$X_LIBS -L$x_libraries"
15106 if test "x-$no_x" = "x-yes" ; then
15108 if test "x-$x11_hidd" != "x-auto" ; then
15109 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
15113 aros_target_options
+="$export_newline""# Enable X11 Gfx Driver$export_newline""OPT_HOST_X11GFX := yes$export_newline"
15114 if test "x-$host_feature_glx" != "x-no" ; then
15115 aros_target_options
+="$export_newline""# Enable X11 HostGL 3D Passthrough$export_newline""OPT_HOST_X11_HOSTGL := yes$export_newline"
15119 aros_host_x11_cflags
="$X_CFLAGS"
15120 aros_host_x11_ldflags
="$X_LIBS -lX11"
15122 # Check whether --enable-x11_shm was given.
15123 if test "${enable_x11_shm+set}" = set; then :
15124 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
15126 x11_hidd_shm
="auto"
15129 case "x-$x11_hidd_shm" in
15130 x-yes|x-no|x-auto
) ;;
15131 *) x11_hidd_shm
="auto" ;;
15136 if test "x-$x11_hidd_shm" != "x-no" ; then
15138 for ac_header
in sys
/ipc.h
15140 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
15141 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
15142 cat >>confdefs.h
<<_ACEOF
15143 #define HAVE_SYS_IPC_H 1
15150 for ac_header
in sys
/shm.h
15152 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
15153 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
15154 cat >>confdefs.h
<<_ACEOF
15155 #define HAVE_SYS_SHM_H 1
15163 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
15165 save_cflags
="$CFLAGS"
15166 save_ldflags
="$LDFLAGS"
15167 CFLAGS
="$CFLAGS $X_CFLAGS"
15168 LDFLAGS
="$LDFLAGS $X_LIBS"
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
15170 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
15171 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
15172 $as_echo_n "(cached) " >&6
15174 ac_check_lib_save_LIBS
=$LIBS
15175 LIBS
="-lXext $LIBS"
15176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15177 /* end confdefs.h. */
15179 /* Override any GCC internal prototype to avoid an error.
15180 Use char because int might match the return type of a GCC
15181 builtin and then its argument prototype would still apply. */
15185 char XShmQueryExtension ();
15189 return XShmQueryExtension ();
15194 if ac_fn_c_try_link
"$LINENO"; then :
15195 ac_cv_lib_Xext_XShmQueryExtension
=yes
15197 ac_cv_lib_Xext_XShmQueryExtension
=no
15199 rm -f core conftest.err conftest.
$ac_objext \
15200 conftest
$ac_exeext conftest.
$ac_ext
15201 LIBS
=$ac_check_lib_save_LIBS
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
15204 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
15205 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
15209 CFLAGS
="$save_cflags"
15210 LDFLAGS
="$save_ldflags"
15214 if test "x-$have_xshm" = "x-yes" ; then
15215 DO_XSHM_SUPPORT
="1"
15216 elif test "x-$x11_hidd_shm" = "x-yes" ; then
15217 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
15219 DO_XSHM_SUPPORT
="0"
15223 # Check whether --enable-x11_vidmode was given.
15224 if test "${enable_x11_vidmode+set}" = set; then :
15225 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
15227 x11_hidd_vidmode
="auto"
15230 case "x-$x11_hidd_vidmode" in
15231 x-yes|x-no|x-auto
) ;;
15232 *) x11_hidd_vidmode
="auto" ;;
15237 if test "x-$x11_hidd_vidmode" != "x-no" ; then
15239 save_cflags
="$CFLAGS"
15240 save_ldflags
="$LDFLAGS"
15241 CFLAGS
="$CFLAGS $X_CFLAGS"
15242 LDFLAGS
="$LDFLAGS $X_LIBS"
15243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
15244 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
15245 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
15246 $as_echo_n "(cached) " >&6
15248 ac_check_lib_save_LIBS
=$LIBS
15249 LIBS
="-lXxf86vm $LIBS"
15250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15251 /* end confdefs.h. */
15253 /* Override any GCC internal prototype to avoid an error.
15254 Use char because int might match the return type of a GCC
15255 builtin and then its argument prototype would still apply. */
15259 char XF86VidModeQueryExtension ();
15263 return XF86VidModeQueryExtension ();
15268 if ac_fn_c_try_link
"$LINENO"; then :
15269 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
15271 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
15273 rm -f core conftest.err conftest.
$ac_objext \
15274 conftest
$ac_exeext conftest.
$ac_ext
15275 LIBS
=$ac_check_lib_save_LIBS
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
15278 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
15279 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
15283 CFLAGS
="$save_cflags"
15284 LDFLAGS
="$save_ldflags"
15287 if test "x-$have_vidmode" = "x-yes" ; then
15288 DO_VIDMODE_SUPPORT
="1"
15289 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
15290 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
15292 DO_VIDMODE_SUPPORT
="0"
15297 # Check whether --enable-sdl_hidd was given.
15298 if test "${enable_sdl_hidd+set}" = set; then :
15299 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
15304 case "x-$sdl_hidd" in
15305 x-yes|x-no|x-auto
) ;;
15306 *) sdl_hidd
="auto" ;;
15309 if test "x-$sdl_hidd" != "x-no" ; then
15313 # Check whether --with-sdl-prefix was given.
15314 if test "${with_sdl_prefix+set}" = set; then :
15315 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
15321 # Check whether --with-sdl-exec-prefix was given.
15322 if test "${with_sdl_exec_prefix+set}" = set; then :
15323 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
15328 # Check whether --enable-sdltest was given.
15329 if test "${enable_sdltest+set}" = set; then :
15330 enableval
=$enable_sdltest;
15336 if test x
$sdl_exec_prefix != x
; then
15337 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
15338 if test x
${SDL_CONFIG+set} != xset
; then
15339 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
15342 if test x
$sdl_prefix != x
; then
15343 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
15344 if test x
${SDL_CONFIG+set} != xset
; then
15345 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
15349 as_save_PATH
="$PATH"
15350 if test "x$prefix" != xNONE
; then
15351 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
15353 # Extract the first word of "sdl-config", so it can be a program name with args.
15354 set dummy sdl-config
; ac_word
=$2
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15356 $as_echo_n "checking for $ac_word... " >&6; }
15357 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
15358 $as_echo_n "(cached) " >&6
15360 case $SDL_CONFIG in
15362 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
15365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15366 for as_dir
in $PATH
15369 test -z "$as_dir" && as_dir
=.
15370 for ac_exec_ext
in '' $ac_executable_extensions; do
15371 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15372 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15380 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
15384 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
15385 if test -n "$SDL_CONFIG"; then
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
15387 $as_echo "$SDL_CONFIG" >&6; }
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15390 $as_echo "no" >&6; }
15394 PATH
="$as_save_PATH"
15395 min_sdl_version
=$SDL_VERSION
15396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
15397 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
15399 if test "$SDL_CONFIG" = "no" ; then
15402 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
15403 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
15405 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
15406 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
15407 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
15408 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
15409 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
15410 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
15411 if test "x$enable_sdltest" = "xyes" ; then
15412 ac_save_CFLAGS
="$CFLAGS"
15413 ac_save_CXXFLAGS
="$CXXFLAGS"
15414 ac_save_LIBS
="$LIBS"
15415 CFLAGS
="$CFLAGS $SDL_CFLAGS"
15416 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
15417 LIBS
="$LIBS $SDL_LIBS"
15419 if test "$cross_compiling" = yes; then :
15420 echo $ac_n "cross compiling; assumed OK... $ac_c"
15422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15423 /* end confdefs.h. */
15426 #include <stdlib.h>
15427 #include <string.h>
15431 my_strdup (char *str)
15437 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
15438 strcpy (new_str, str);
15446 int main (int argc, char *argv[])
15448 int major, minor, micro;
15451 /* This hangs on some systems (?)
15452 system ("touch conf.sdltest");
15454 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
15456 /* HP/UX 9 (%@#!) writes to sscanf strings */
15457 tmp_version = my_strdup("$min_sdl_version");
15458 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
15459 printf("%s, bad version string\n", "$min_sdl_version");
15463 if (($sdl_major_version > major) ||
15464 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
15465 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
15471 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
15472 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
15473 printf("*** best to upgrade to the required version.\n");
15474 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
15475 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
15476 printf("*** config.cache before re-running configure\n");
15483 if ac_fn_c_try_run
"$LINENO"; then :
15488 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15489 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15492 CFLAGS
="$ac_save_CFLAGS"
15493 CXXFLAGS
="$ac_save_CXXFLAGS"
15494 LIBS
="$ac_save_LIBS"
15497 if test "x$no_sdl" = x
; then
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15499 $as_echo "yes" >&6; }
15502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15503 $as_echo "no" >&6; }
15504 if test "$SDL_CONFIG" = "no" ; then
15505 echo "*** The sdl-config script installed by SDL could not be found"
15506 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
15507 echo "*** your path, or set the SDL_CONFIG environment variable to the"
15508 echo "*** full path to sdl-config."
15510 if test -f conf.sdltest
; then
15513 echo "*** Could not run SDL test program, checking why..."
15514 CFLAGS
="$CFLAGS $SDL_CFLAGS"
15515 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
15516 LIBS
="$LIBS $SDL_LIBS"
15517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15518 /* end confdefs.h. */
15523 int main(int argc, char *argv[])
15526 #define main K_and_R_C_main
15536 if ac_fn_c_try_link
"$LINENO"; then :
15537 echo "*** The test program compiled, but did not run. This usually means"
15538 echo "*** that the run-time linker is not finding SDL or finding the wrong"
15539 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
15540 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
15541 echo "*** to the installed location Also, make sure you have run ldconfig if that"
15542 echo "*** is required on your system"
15544 echo "*** If you have an old version installed, it is best to remove it, although"
15545 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
15547 echo "*** The test program failed to compile or link. See the file config.log for the"
15548 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
15549 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
15550 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
15552 rm -f core conftest.err conftest.
$ac_objext \
15553 conftest
$ac_exeext conftest.
$ac_ext
15554 CFLAGS
="$ac_save_CFLAGS"
15555 CXXFLAGS
="$ac_save_CXXFLAGS"
15556 LIBS
="$ac_save_LIBS"
15568 if test "x-$have_sdl" != "x-yes" ; then
15570 if test "x-$sdl_hidd" != "x-auto" ; then
15571 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
15575 aros_target_options
+="$export_newline""# Enable SDL Gfx Driver$export_newline""OPT_HOST_SDLGFX := yes$export_newline"
15576 aros_host_sdl_cflags
=$SDL_CFLAGS
15577 aros_host_sdl_libs
=$SDL_LIBS
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether building of dbus.library is enabled" >&5
15585 $as_echo_n "checking whether building of dbus.library is enabled... " >&6; }
15586 # Check whether --enable-dbus was given.
15587 if test "${enable_dbus+set}" = set; then :
15588 enableval
=$enable_dbus; dbus
="yes"
15593 if test "$dbus" = "yes" ; then
15595 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
15596 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
15597 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
15598 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
15603 $as_echo "$dbus" >&6; }
15605 if test "$use_kernel_cc_wrapper" = "yes" ; then
15606 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-${toolchain_c_compiler}"
15609 aros_kernel_cppflags
=$aros_config_cppflags
15610 aros_optimization_cflags
="$optimization_level"
15611 if test "$optimization" = "default"; then
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default optimization level to use" >&5
15613 $as_echo_n "checking default optimization level to use... " >&6; }
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization_level" >&5
15615 $as_echo "$optimization_level" >&6; }
15618 if ! test "$gcc_default_cpu" = "" ; then
15619 target_extra_cfg
+="$export_newline""# ARM gcc default target$export_newline""GCC_DEFAULT_CPU := $gcc_default_cpu$export_newline""GCC_DEFAULT_FPU := $gcc_default_fpu$export_newline""GCC_DEFAULT_FLOAT_ABI := $gcc_default_float_abi$export_newline""GCC_DEFAULT_MODE := $gcc_default_mode$export_newline"
15622 if test "$use_libatomic" = "yes" ; then
15623 aros_cxx_libs
="$aros_cxx_libs -latomic"
15641 # Compatability with other Amiga-like operating systems
15644 # Host Related ###########################
15676 # Target Related #########################
15770 # Native version related
15778 # Bootloader related
15781 # Unix/Hosted version related
15784 # ARM default GCC target related
15791 # Palm native version related
15794 # Apple iOS related
15811 # Collect-aros stuff: "-ius" to ignore undefined symbols
15814 # C compiler related
15819 #ObjC compiler related
15847 case "$aros_flavour" in
15848 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
15849 aros_flavour
="emulation" ;;
15850 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
15851 aros_flavour
="emulation" ;;
15852 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
15853 aros_flavour
="standalone";;
15854 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15855 aros_flavour
="standalone";;
15856 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
15857 aros_flavour
="native" ;;
15858 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
15859 aros_flavour
="native" ;;
15860 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
15861 aros_flavour
="linklib" ;;
15862 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15863 aros_flavour
="palmnative" ;;
15864 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15865 aros_flavour
="mac68knative" ;;
15866 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15867 aros_flavour
="ppcnative" ;;
15870 if test ! -d ${aros_inc_dir} ; then
15871 ${MKDIR} ${aros_inc_dir}
15873 if test ! -d ${aros_geninc_dir} ; then
15874 ${MKDIR} ${aros_geninc_dir}
15876 if test ! -d ${aros_hostcfg_dir} ; then
15877 ${MKDIR} ${aros_hostcfg_dir}
15879 if test ! -d ${aros_targetcfg_dir} ; then
15880 ${MKDIR} ${aros_targetcfg_dir}
15882 if test ! -d ${aros_tools_dir} ; then
15883 ${MKDIR} ${aros_tools_dir}
15885 if test ! -d ${aros_scripts_dir} ; then
15886 ${MKDIR} ${aros_scripts_dir}
15889 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
15892 # Generic build tools (metamake, etc)
15893 ac_config_commands
="$ac_config_commands genmf-executable-support"
15895 ac_config_files
="$ac_config_files Makefile config/make.cfg ${aros_inc_dir}/config.h:config/config.h.in ${aros_geninc_dir}/config.h:config/config.h.in ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in ${aros_targetcfg_dir}/build.cfg:config/build.cfg.in mmake.config compiler/include/geninc.cfg:compiler/include/geninc.cfg.in ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname:scripts/uname.in tools/collect-aros/env.h"
15899 ac_config_commands
="$ac_config_commands binutils-support"
15901 if test "${use_ld_wrapper}" = "yes"; then
15902 ac_config_files
="$ac_config_files ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${aros_ld}:scripts/aros-ld.in"
15905 # Bare Elf support script and spec
15906 if test "${use_kernel_cc_wrapper}" = "yes"; then
15907 ac_config_commands
="$ac_config_commands elf-compiler-support"
15909 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/elf-specs:${elf_specs_in} ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc:scripts/elf-gcc.in"
15913 # Host compiler support scripts and spec
15914 if test "${aros_target_toolchain}" = "no"; then
15915 ac_config_commands
="$ac_config_commands host-compiler-wrapper-support"
15917 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/specs:config/specs.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${toolchain_cpp_preprocessor}:scripts/aros-${toolchain_cpp_preprocessor}.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${toolchain_c_compiler}:scripts/aros-${toolchain_c_compiler}.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${toolchain_cxx_compiler}:scripts/aros-${toolchain_cxx_compiler}.in"
15922 if test "$aros_target_variant" == "android"; then
15923 ac_config_files
="$ac_config_files ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in"
15928 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in"
15931 cat >confcache
<<\_ACEOF
15932 # This file is a shell script that caches the results of configure
15933 # tests run on this system so they can be shared between configure
15934 # scripts and configure runs, see configure's option --config-cache.
15935 # It is not useful on other systems. If it contains results you don't
15936 # want to keep, you may remove or edit it.
15938 # config.status only pays attention to the cache file if you give it
15939 # the --recheck option to rerun configure.
15941 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15942 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15943 # following values.
15947 # The following way of writing the cache mishandles newlines in values,
15948 # but we know of no workaround that is simple, portable, and efficient.
15949 # So, we kill variables containing newlines.
15950 # Ultrix sh set writes to stderr and can't be redirected directly,
15951 # and sets the high bit in the cache file unless we assign to the vars.
15953 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15954 eval ac_val
=\$
$ac_var
15958 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15959 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15962 _ | IFS | as_nl
) ;; #(
15963 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15964 *) { eval $ac_var=; unset $ac_var;} ;;
15970 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15971 *${as_nl}ac_space
=\
*)
15972 # `set' does not quote correctly, so add quotes: double-quote
15973 # substitution turns \\\\ into \\, and sed turns \\ into \.
15976 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15979 # `set' quotes correctly as required by POSIX, so do not add quotes.
15980 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15989 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15991 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15993 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15994 if test -w "$cache_file"; then
15995 if test "x$cache_file" != "x/dev/null"; then
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15997 $as_echo "$as_me: updating cache $cache_file" >&6;}
15998 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15999 cat confcache
>"$cache_file"
16001 case $cache_file in #(
16003 mv -f confcache
"$cache_file"$$
&&
16004 mv -f "$cache_file"$$
"$cache_file" ;; #(
16006 mv -f confcache
"$cache_file" ;;
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16012 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16017 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16018 # Let make expand exec_prefix.
16019 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16021 DEFS
=-DHAVE_CONFIG_H
16026 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16027 # 1. Remove the extension, and $U if already installed.
16028 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16029 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16030 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16031 # will be set to the directory where LIBOBJS objects are built.
16032 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16033 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16035 LIBOBJS
=$ac_libobjs
16037 LTLIBOBJS
=$ac_ltlibobjs
16041 : "${CONFIG_STATUS=./config.status}"
16043 ac_clean_files_save
=$ac_clean_files
16044 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16046 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16048 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16050 # Generated by $as_me.
16051 # Run this file to recreate the current configuration.
16052 # Compiler output produced by configure, useful for debugging
16053 # configure, is in config.log if it exists.
16056 ac_cs_recheck=false
16059 SHELL=\${CONFIG_SHELL-$SHELL}
16062 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16063 ## -------------------- ##
16064 ## M4sh Initialization. ##
16065 ## -------------------- ##
16067 # Be more Bourne compatible
16068 DUALCASE
=1; export DUALCASE
# for MKS sh
16069 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16072 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16073 # is contrary to our usage. Disable this feature.
16074 alias -g '${1+"$@"}'='"$@"'
16075 setopt NO_GLOB_SUBST
16077 case `(set -o) 2>/dev/null` in #(
16089 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16090 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16091 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16092 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16093 # Prefer a ksh shell builtin over an external printf program on Solaris,
16094 # but without wasting forks for bash or zsh.
16095 if test -z "$BASH_VERSION$ZSH_VERSION" \
16096 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16097 as_echo='print
-r --'
16098 as_echo_n='print
-rn --'
16099 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16100 as_echo='printf %s
\n'
16101 as_echo_n='printf %s
'
16103 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16104 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16105 as_echo_n='/usr
/ucb
/echo -n'
16107 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16108 as_echo_n_body='eval
16112 expr "X$arg" : "X\\(.*\\)$as_nl";
16113 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16115 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16117 export as_echo_n_body
16118 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16120 export as_echo_body
16121 as_echo='sh
-c $as_echo_body as_echo
'
16124 # The user is always right.
16125 if test "${PATH_SEPARATOR+set}" != set; then
16127 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16128 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16135 # We need space, tab and new line, in precisely that order. Quoting is
16136 # there to prevent editors from complaining about space-tab.
16137 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16138 # splitting by setting IFS to empty value.)
16141 # Find who we are. Look in the path if we contain no directory separator.
16144 *[\\/]* ) as_myself=$0 ;;
16145 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16146 for as_dir in $PATH
16149 test -z "$as_dir" && as_dir=.
16150 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16156 # We did not find ourselves, most probably we were run as `sh COMMAND'
16157 # in which case we are not to be found in the path.
16158 if test "x$as_myself" = x
; then
16161 if test ! -f "$as_myself"; then
16162 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16166 # Unset variables that we do not need and which cause bugs (e.g. in
16167 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16168 # suppresses any "Segmentation fault" message there. '((' could
16169 # trigger a bug in pdksh 5.2.14.
16170 for as_var
in BASH_ENV ENV MAIL MAILPATH
16171 do eval test x\
${$as_var+set} = xset \
16172 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16185 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16188 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16189 # ----------------------------------------
16190 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16191 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16192 # script with STATUS, using 1 if that was 0.
16195 as_status
=$1; test $as_status -eq 0 && as_status
=1
16197 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16198 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16200 $as_echo "$as_me: error: $2" >&2
16201 as_fn_exit
$as_status
16205 # as_fn_set_status STATUS
16206 # -----------------------
16207 # Set $? to STATUS, without forking.
16208 as_fn_set_status
()
16211 } # as_fn_set_status
16213 # as_fn_exit STATUS
16214 # -----------------
16215 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16219 as_fn_set_status
$1
16225 # Portably unset VAR.
16228 { eval $1=; unset $1;}
16230 as_unset
=as_fn_unset
16231 # as_fn_append VAR VALUE
16232 # ----------------------
16233 # Append the text in VALUE to the end of the definition contained in VAR. Take
16234 # advantage of any shell optimizations that allow amortized linear growth over
16235 # repeated appends, instead of the typical quadratic growth present in naive
16237 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16238 eval 'as_fn_append ()
16249 # as_fn_arith ARG...
16250 # ------------------
16251 # Perform arithmetic evaluation on the ARGs, and store the result in the
16252 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16253 # must be portable across $(()) and expr.
16254 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16255 eval 'as_fn_arith ()
16262 as_val
=`expr "$@" || test $? -eq 1`
16267 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16268 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16274 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16275 as_basename
=basename
16280 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16286 as_me
=`$as_basename -- "$0" ||
16287 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16288 X"$0" : 'X\(//\)$' \| \
16289 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16291 sed '/^.*\/\([^/][^/]*\)\/*$/{
16305 # Avoid depending upon Character Ranges.
16306 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16307 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16308 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16309 as_cr_digits
='0123456789'
16310 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16312 ECHO_C
= ECHO_N
= ECHO_T
=
16313 case `echo -n x` in #(((((
16315 case `echo 'xy\c'` in
16316 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16318 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16325 rm -f conf$$ conf$$.exe conf$$.
file
16326 if test -d conf$$.dir
; then
16327 rm -f conf$$.dir
/conf$$.
file
16330 mkdir conf$$.dir
2>/dev
/null
16332 if (echo >conf$$.
file) 2>/dev
/null
; then
16333 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16335 # ... but there are two gotchas:
16336 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16337 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16338 # In both cases, we have to default to `cp -pR'.
16339 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16341 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16349 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16350 rmdir conf$$.dir
2>/dev
/null
16355 # Create "$as_dir" as a directory, including parents if necessary.
16360 -*) as_dir
=.
/$as_dir;;
16362 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16366 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16367 *) as_qdir
=$as_dir;;
16369 as_dirs
="'$as_qdir' $as_dirs"
16370 as_dir
=`$as_dirname -- "$as_dir" ||
16371 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16372 X"$as_dir" : 'X\(//\)[^/]' \| \
16373 X"$as_dir" : 'X\(//\)$' \| \
16374 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16375 $as_echo X"$as_dir" |
16376 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16380 /^X\(\/\/\)[^/].*/{
16393 test -d "$as_dir" && break
16395 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16396 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16400 if mkdir
-p .
2>/dev
/null
; then
16401 as_mkdir_p
='mkdir -p "$as_dir"'
16403 test -d .
/-p && rmdir .
/-p
16408 # as_fn_executable_p FILE
16409 # -----------------------
16410 # Test if FILE is an executable regular file.
16411 as_fn_executable_p
()
16413 test -f "$1" && test -x "$1"
16414 } # as_fn_executable_p
16415 as_test_x
='test -x'
16416 as_executable_p
=as_fn_executable_p
16418 # Sed expression to map a string onto a valid CPP name.
16419 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16421 # Sed expression to map a string onto a valid variable name.
16422 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16426 ## ----------------------------------- ##
16427 ## Main body of $CONFIG_STATUS script. ##
16428 ## ----------------------------------- ##
16430 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16432 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16433 # Save the log message, to keep $0 and so on meaningful, and to
16434 # report actual input values of CONFIG_FILES etc. instead of their
16435 # values after options handling.
16437 This file was extended by $as_me, which was
16438 generated by GNU Autoconf 2.69. Invocation command line was
16440 CONFIG_FILES = $CONFIG_FILES
16441 CONFIG_HEADERS = $CONFIG_HEADERS
16442 CONFIG_LINKS = $CONFIG_LINKS
16443 CONFIG_COMMANDS = $CONFIG_COMMANDS
16446 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16451 case $ac_config_files in *"
16452 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16455 case $ac_config_headers in *"
16456 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16460 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16461 # Files that config.status was made for.
16462 config_files="$ac_config_files"
16463 config_headers="$ac_config_headers"
16464 config_commands="$ac_config_commands"
16468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16470 \`$as_me' instantiates files and other configuration actions
16471 from templates according to the current configuration. Unless the files
16472 and actions are specified as TAGs, all are instantiated by default.
16474 Usage: $0 [OPTION]... [TAG]...
16476 -h, --help print this help, then exit
16477 -V, --version print version number and configuration settings, then exit
16478 --config print configuration, then exit
16479 -q, --quiet, --silent
16480 do not print progress messages
16481 -d, --debug don't remove temporary files
16482 --recheck update $as_me by reconfiguring in the same conditions
16483 --file=FILE[:TEMPLATE]
16484 instantiate the configuration file FILE
16485 --header=FILE[:TEMPLATE]
16486 instantiate the configuration header FILE
16488 Configuration files:
16491 Configuration headers:
16494 Configuration commands:
16497 Report bugs to the package provider."
16500 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16501 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16504 configured by $0, generated by GNU Autoconf 2.69,
16505 with options \\"\$ac_cs_config\\"
16507 Copyright (C) 2012 Free Software Foundation, Inc.
16508 This config.status script is free software; the Free Software Foundation
16509 gives unlimited permission to copy, distribute and modify it."
16513 test -n "\$AWK" || AWK=awk
16516 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16517 # The default lists apply if the user does not specify any file.
16523 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16524 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16528 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16540 # Handling of the options.
16541 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16543 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16544 $as_echo "$ac_cs_version"; exit ;;
16545 --config |
--confi |
--conf |
--con |
--co |
--c )
16546 $as_echo "$ac_cs_config"; exit ;;
16547 --debug |
--debu |
--deb |
--de |
--d |
-d )
16549 --file |
--fil |
--fi |
--f )
16552 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16553 '') as_fn_error $?
"missing file argument" ;;
16555 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16556 ac_need_defaults
=false
;;
16557 --header |
--heade |
--head |
--hea )
16560 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16562 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16563 ac_need_defaults
=false
;;
16565 # Conflict between --help and --header
16566 as_fn_error $?
"ambiguous option: \`$1'
16567 Try \`$0 --help' for more information.";;
16568 --help |
--hel |
-h )
16569 $as_echo "$ac_cs_usage"; exit ;;
16570 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16571 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16574 # This is an error.
16575 -*) as_fn_error $?
"unrecognized option: \`$1'
16576 Try \`$0 --help' for more information." ;;
16578 *) as_fn_append ac_config_targets
" $1"
16579 ac_need_defaults
=false
;;
16585 ac_configure_extra_args
=
16587 if $ac_cs_silent; then
16589 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16593 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16594 if \$ac_cs_recheck; then
16595 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16597 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16598 CONFIG_SHELL='$SHELL'
16599 export CONFIG_SHELL
16604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16608 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16609 ## Running $as_me. ##
16615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16620 AROS_CROSSTOOLSDIR=${AROS_CROSSTOOLSDIR}
16621 aros_tools_dir=${aros_tools_dir}
16625 aros_host_exe_suffix=${aros_host_exe_suffix}
16626 aros_tools_dir=${aros_tools_dir}
16627 aros_target_cpu=${aros_target_cpu}
16628 aros_target_arch=${aros_target_arch}
16629 aros_target_suffix=${aros_target_suffix}
16630 orig_target_nm=${orig_target_nm}
16631 orig_target_as=${orig_target_as}
16632 orig_target_ar=${orig_target_ar}
16633 orig_target_ranlib=${orig_target_ranlib}
16634 orig_target_objdump=${orig_target_objdump}
16635 orig_target_objcopy=${orig_target_objcopy}
16636 orig_target_strip=${orig_target_strip}
16637 aros_kernel_ld=${aros_kernel_ld}
16641 aros_host_exe_suffix=${aros_host_exe_suffix}
16642 aros_tools_dir=${aros_tools_dir}
16643 aros_target_cpu=${aros_target_cpu}
16644 aros_target_arch=${aros_target_arch}
16645 aros_target_suffix=${aros_target_suffix}
16646 aros_kernel_ld=${aros_kernel_ld}
16650 aros_host_exe_suffix=${aros_host_exe_suffix}
16651 aros_tools_dir=${aros_tools_dir}
16652 aros_target_cpu=${aros_target_cpu}
16653 aros_target_arch=${aros_target_arch}
16654 aros_target_suffix=${aros_target_suffix}
16660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16662 # Handling of arguments.
16663 for ac_config_target
in $ac_config_targets
16665 case $ac_config_target in
16666 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
16667 "genmf-executable-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf-executable-support" ;;
16668 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16669 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
16670 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
16671 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
16672 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
16673 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
16674 "${aros_targetcfg_dir}/build.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/build.cfg:config/build.cfg.in" ;;
16675 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
16676 "compiler/include/geninc.cfg") CONFIG_FILES
="$CONFIG_FILES compiler/include/geninc.cfg:compiler/include/geninc.cfg.in" ;;
16677 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
16678 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
16679 "${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname") CONFIG_FILES="$CONFIG_FILES ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname:scripts/uname.in" ;;
16680 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
16681 "binutils-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS binutils-support" ;;
16682 "${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${aros_ld}") CONFIG_FILES="$CONFIG_FILES ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${aros_ld}:scripts/aros-ld.in" ;;
16683 "elf-compiler-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS elf-compiler-support" ;;
16684 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
16685 "${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc") CONFIG_FILES="$CONFIG_FILES ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc:scripts/elf-gcc.in" ;;
16686 "host-compiler-wrapper-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS host-compiler-wrapper-support" ;;
16687 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
16688 "${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${toolchain_cpp_preprocessor}") CONFIG_FILES="$CONFIG_FILES ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${toolchain_cpp_preprocessor}:scripts/aros-${toolchain_cpp_preprocessor}.in" ;;
16689 "${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${toolchain_c_compiler}") CONFIG_FILES="$CONFIG_FILES ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${toolchain_c_compiler}:scripts/aros-${toolchain_c_compiler}.in" ;;
16690 "${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${toolchain_cxx_compiler}") CONFIG_FILES="$CONFIG_FILES ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${toolchain_cxx_compiler}:scripts/aros-${toolchain_cxx_compiler}.in" ;;
16691 "${aros_gendir}/arch/all-android/bootstrap/app/default.properties") CONFIG_FILES
="$CONFIG_FILES ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in" ;;
16692 "${aros_targetcfg_dir}/conf.cmake") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in" ;;
16694 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16699 # If the user did not use the arguments to specify the items to instantiate,
16700 # then the envvar interface is used. Set only those that are not.
16701 # We use the long form for the default assignment because of an extremely
16702 # bizarre bug on SunOS 4.1.3.
16703 if $ac_need_defaults; then
16704 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16705 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16706 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16709 # Have a temporary directory for convenience. Make it in the build tree
16710 # simply because there is no reason against having it here, and in addition,
16711 # creating and moving files from /tmp can sometimes cause problems.
16712 # Hook for its removal unless debugging.
16713 # Note that there is a small window in which the directory will not be cleaned:
16714 # after its creation but before its name has been assigned to `$tmp'.
16718 trap 'exit_status=$?
16719 : "${ac_tmp:=$tmp}"
16720 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16722 trap 'as_fn_exit 1' 1 2 13 15
16724 # Create a (secure) tmp directory for tmp files.
16727 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16731 tmp
=.
/conf$$
-$RANDOM
16732 (umask 077 && mkdir
"$tmp")
16733 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16736 # Set up the scripts for CONFIG_FILES section.
16737 # No need to generate them if there are no CONFIG_FILES.
16738 # This happens for instance with `./config.status config.h'.
16739 if test -n "$CONFIG_FILES"; then
16742 ac_cr
=`echo X | tr X '\015'`
16743 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16744 # But we know of no other shell where ac_cr would be empty at this
16745 # point, so we can use a bashism as a fallback.
16746 if test "x$ac_cr" = x
; then
16747 eval ac_cr
=\$
\'\\r
\'
16749 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16750 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16753 ac_cs_awk_cr
=$ac_cr
16756 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16761 echo "cat >conf$$subs.awk <<_ACEOF" &&
16762 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16764 } >conf$$subs.sh ||
16765 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16766 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16768 for ac_last_try in false false false false false :; do
16769 . ./conf$$subs.sh ||
16770 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16772 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16773 if test $ac_delim_n = $ac_delim_num; then
16775 elif $ac_last_try; then
16776 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16778 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16781 rm -f conf$$subs.sh
16783 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16784 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16788 s/^/S["/; s
/!.
*/"]=/
16798 s/\(.\{148\}\)..*/\1/
16800 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16805 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16812 s/\(.\{148\}\)..*/\1/
16814 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16818 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16823 ' <conf$$subs.awk | sed '
16828 ' >>$CONFIG_STATUS || ac_write_fail=1
16829 rm -f conf$$subs.awk
16830 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16832 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16833 for (key in S) S_is_set[key] = 1
16839 nfields = split(line, field, "@
")
16841 len = length(field[1])
16842 for (i = 2; i < nfields; i++) {
16844 keylen = length(key)
16845 if (S_is_set[key]) {
16847 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16848 len += length(value) + length(field[++i])
16859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16860 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16861 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16864 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16865 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16868 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16869 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16870 # trailing colons and then remove the whole line if VPATH becomes empty
16871 # (actually we leave an empty line to preserve line numbers).
16872 if test "x
$srcdir" = x.; then
16873 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16892 fi # test -n "$CONFIG_FILES"
16894 # Set up the scripts for CONFIG_HEADERS section.
16895 # No need to generate them if there are no CONFIG_HEADERS.
16896 # This happens for instance with `./config.status Makefile'.
16897 if test -n "$CONFIG_HEADERS"; then
16898 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16902 # Transform confdefs.h into an awk script `defines.awk', embedded as
16903 # here-document in config.status, that substitutes the proper values into
16904 # config.h.in to produce config.h.
16906 # Create a delimiter string that does not exist in confdefs.h, to ease
16907 # handling of long lines.
16909 for ac_last_try in false false :; do
16910 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16911 if test -z "$ac_tt"; then
16913 elif $ac_last_try; then
16914 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16916 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16920 # For the awk script, D is an array of macro values keyed by name,
16921 # likewise P contains macro parameters if any. Preserve backslash
16922 # newline sequences.
16924 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16926 s/.\{148\}/&'"$ac_delim"'/g
16929 s/^[ ]*#[ ]*define[ ][ ]*/ /
16936 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16938 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16942 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16943 D["\
1"]=" \
3\\\\\\n
"\\/p
16945 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16950 s/.\{148\}/&'"$ac_delim"'/g
16955 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16958 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16960 ' <confdefs.h | sed '
16961 s/'"$ac_delim"'/"\\\
16962 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16964 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16965 for (key in D) D_is_set[key] = 1
16968 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16970 split(line, arg, " ")
16971 if (arg[1] == "#") {
16975 defundef
= substr
(arg
[1], 2)
16978 split(mac1
, mac2
, "(") #)
16980 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16981 if (D_is_set
[macro
]) {
16982 # Preserve the white space surrounding the "#".
16983 print prefix
"define", macro P
[macro
] D
[macro
]
16986 # Replace #undef with comments. This is necessary, for example,
16987 # in the case of _POSIX_SOURCE, which is predefined and required
16988 # on some systems where configure will not decide to define it.
16989 if (defundef
== "undef") {
16990 print
"/*", prefix defundef
, macro
, "*/"
16998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16999 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17000 fi # test -n "$CONFIG_HEADERS"
17003 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17008 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17010 case $ac_mode$ac_tag in
17012 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17013 :[FH
]-) ac_tag
=-:-;;
17014 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17031 -) ac_f
="$ac_tmp/stdin";;
17032 *) # Look for the file first in the build tree, then in the source tree
17033 # (if the path is not absolute). The absolute path cannot be DOS-style,
17034 # because $ac_f cannot contain `:'.
17038 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17040 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17042 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17043 as_fn_append ac_file_inputs
" '$ac_f'"
17046 # Let's still pretend it is `configure' which instantiates (i.e., don't
17047 # use $as_me), people would be surprised to read:
17048 # /* config.h. Generated by config.status. */
17049 configure_input
='Generated from '`
17050 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17052 if test x
"$ac_file" != x-
; then
17053 configure_input
="$ac_file. $configure_input"
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17055 $as_echo "$as_me: creating $ac_file" >&6;}
17057 # Neutralize special characters interpreted by sed in replacement strings.
17058 case $configure_input in #(
17059 *\
&* |
*\|
* |
*\\* )
17060 ac_sed_conf_input
=`$as_echo "$configure_input" |
17061 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17062 *) ac_sed_conf_input
=$configure_input;;
17066 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17067 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17072 ac_dir
=`$as_dirname -- "$ac_file" ||
17073 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17074 X"$ac_file" : 'X\(//\)[^/]' \| \
17075 X"$ac_file" : 'X\(//\)$' \| \
17076 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17077 $as_echo X"$ac_file" |
17078 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17082 /^X\(\/\/\)[^/].*/{
17095 as_dir
="$ac_dir"; as_fn_mkdir_p
17099 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17101 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17102 # A ".." for each directory in $ac_dir_suffix.
17103 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17104 case $ac_top_builddir_sub in
17105 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17106 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17109 ac_abs_top_builddir
=$ac_pwd
17110 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17111 # for backward compatibility:
17112 ac_top_builddir
=$ac_top_build_prefix
17115 .
) # We are building in place.
17117 ac_top_srcdir
=$ac_top_builddir_sub
17118 ac_abs_top_srcdir
=$ac_pwd ;;
17119 [\\/]* | ?
:[\\/]* ) # Absolute name.
17120 ac_srcdir
=$srcdir$ac_dir_suffix;
17121 ac_top_srcdir
=$srcdir
17122 ac_abs_top_srcdir
=$srcdir ;;
17123 *) # Relative name.
17124 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17125 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17126 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17128 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17140 # If the template does not know about datarootdir, expand it.
17141 # FIXME: This hack should be removed a few years after 2.60.
17142 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17153 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17154 *datarootdir
*) ac_datarootdir_seen
=yes;;
17155 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17157 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17160 ac_datarootdir_hack='
17161 s&@datadir@&$datadir&g
17162 s&@docdir@&$docdir&g
17163 s&@infodir@&$infodir&g
17164 s&@localedir@&$localedir&g
17165 s&@mandir@&$mandir&g
17166 s&\\\${datarootdir}&$datarootdir&g' ;;
17170 # Neutralize VPATH when `$srcdir' = `.'.
17171 # Shell code in configure.ac might set extrasub.
17172 # FIXME: do we really want to maintain this feature?
17173 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17174 ac_sed_extra="$ac_vpsub
17177 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17179 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17180 s|@configure_input@|
$ac_sed_conf_input|
;t t
17181 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17182 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17183 s
&@srcdir@
&$ac_srcdir&;t t
17184 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17185 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17186 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17187 s
&@builddir@
&$ac_builddir&;t t
17188 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17189 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17190 $ac_datarootdir_hack
17192 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
17193 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17195 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17196 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17197 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17198 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17200 which seems to be undefined. Please make sure it is defined" >&5
17201 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17202 which seems to be undefined. Please make sure it is defined" >&2;}
17204 rm -f "$ac_tmp/stdin"
17206 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17207 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17209 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17215 if test x"$ac_file" != x-; then
17217 $as_echo "/* $configure_input */" \
17218 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17219 } >"$ac_tmp/config.h" \
17220 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17221 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17223 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17226 mv "$ac_tmp/config.h" "$ac_file" \
17227 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17230 $as_echo "/* $configure_input */" \
17231 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17232 || as_fn_error $? "could not create -" "$LINENO" 5
17236 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17237 $as_echo "$as_me: executing $ac_file commands" >&6;}
17242 case $ac_file$ac_mode in
17243 "genmf-executable-support":C)
17244 chmod a+x ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname
17245 chmod a+x ${aros_tools_dir}/genmf.py
17247 "binutils-support":C)
17248 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
17250 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
17252 chmod a+x ${prefix2}-ld
17254 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
17255 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
17256 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
17257 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
17258 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
17259 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
17260 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
17262 "elf-compiler-support":C)
17263 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
17265 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
17267 chmod a+x ${prefix2}-gcc
17269 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix2}-ld$aros_host_exe_suffix
17271 "host-compiler-wrapper-support":C)
17272 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
17274 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
17276 chmod a+x ${prefix2}-${toolchain_c_compiler} ${prefix2}-${toolchain_cxx_compiler} ${prefix2}-${toolchain_cpp_preprocessor}
17285 ac_clean_files=$ac_clean_files_save
17287 test $ac_write_fail = 0 ||
17288 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17291 # configure is writing to config.log, and then calls config.status.
17292 # config.status does its own redirection, appending to config.log.
17293 # Unfortunately, on DOS this fails, as config.log is still kept open
17294 # by configure, so config.status won't be able to
write to it
; its
17295 # output is simply discarded. So we exec the FD to /dev/null,
17296 # effectively closing config.log, so it can be properly (re)opened and
17297 # appended to by config.status. When coming back to configure, we
17298 # need to make the FD available again.
17299 if test "$no_create" != yes; then
17301 ac_config_status_args
=
17302 test "$silent" = yes &&
17303 ac_config_status_args
="$ac_config_status_args --quiet"
17305 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17307 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17308 # would make configure fail if this is the last instruction.
17309 $ac_cs_success || as_fn_exit
1
17311 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17313 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17318 #XXX compatability...
17319 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
17321 if test -n "$aros_shared_cflags" ; then
17322 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
17323 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg